Skip to content

Commit

Permalink
Correcting final report generated in autograder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gchism94 committed Feb 29, 2024
1 parent 116f9de commit 5b51059
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions jupyterquest/autograder.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ def main():
'total_markdown_cells': len(markdown_cells)
}

# Prepare other_reports if needed, or set to None
other_reports = None # Adjust as needed based on your specific checks

final_report = generate_markdown_report(
code_quality_results,
repo_structure_results,
{
"Code Style Results": code_style_results,
"Commit Analysis Results": commit_analysis_results,
},
notebook_stats=notebook_stats
quality_reports=code_quality_results,
repo_structure_results=repo_structure_results,
notebook_stats=notebook_stats,
other_reports=other_reports # Can be None or a dictionary of other reports
)

# Save the report as a .md file
Expand Down
2 changes: 1 addition & 1 deletion jupyterquest/generate_markdown_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ def save_markdown_report(report_content, file_path):
markdown_report = generate_markdown_report(sample_quality_reports, sample_repo_structure_results, sample_notebook_stats)

report_file_path = "/autograder/autograder_report.md"
save_markdown_report(markdown_report, report_file_path)
save_markdown_report(markdown_report, report_file_path)

0 comments on commit 5b51059

Please sign in to comment.