MUSA Graderv0.1.0

API reference · grader/feedback.py · 132 lines

grader.feedback

Student-facing markdown feedback (design.md §30).

Summary

NameKindDescription
build_feedback()functionRender one student's feedback as markdown.
summary_line()functionOne-line status used in tables and logs.
build_class_report()functionMarkdown version of the class overview, for pasting into a course email.

Functions

build_feedback(result: SubmissionResult, assignment_name: str = 'Assignment 1', include_evidence: bool = True) -> str #[source]

Render one student's feedback as markdown.

summary_line(result: SubmissionResult) -> str #[source]

One-line status used in tables and logs.

build_class_report(summary: dict, assignment_name: str) -> str #[source]

Markdown version of the class overview, for pasting into a course email.