Filed from a read-only UX/product audit of main. Not urgent — batching under nice-to-have. Companion to the AI-grading-timeout bug filed separately.
Quick win: the instructor report already exists, it's just not wired up
deeptutor/multi_user/gradebook.py has a complete, tested build_instructor_report with CSV export, live at GET /instructor/report[/export] (router.py:889-920). A repo-wide search finds zero frontend references to it. An instructor teaching several course units currently has no UI to see a report the backend already produces — this is a pure "add a button" fix, no new engineering.
Polish
- The gradebook table (
web/app/(admin)/admin/course-units/[courseUnitId]/gradebook/page.tsx) has no search, sort, or filter, unlike the richer StudentDashboard component already built and used elsewhere in admin (StudentDashboard.tsx:81-104).
- No score is visually flagged as low or failing — every cell renders in the same muted color (
gradebook/page.tsx:152-159).
Suggested fix
- Add a button/page that calls the existing
/instructor/report endpoint.
- Reuse (or adapt)
StudentDashboard's search/filter/sort pattern for the gradebook table.
- Add a simple color/pill treatment for scores below a threshold.
Filed from a read-only UX/product audit of
main. Not urgent — batching undernice-to-have. Companion to the AI-grading-timeout bug filed separately.Quick win: the instructor report already exists, it's just not wired up
deeptutor/multi_user/gradebook.pyhas a complete, testedbuild_instructor_reportwith CSV export, live atGET /instructor/report[/export](router.py:889-920). A repo-wide search finds zero frontend references to it. An instructor teaching several course units currently has no UI to see a report the backend already produces — this is a pure "add a button" fix, no new engineering.Polish
web/app/(admin)/admin/course-units/[courseUnitId]/gradebook/page.tsx) has no search, sort, or filter, unlike the richerStudentDashboardcomponent already built and used elsewhere in admin (StudentDashboard.tsx:81-104).gradebook/page.tsx:152-159).Suggested fix
/instructor/reportendpoint.StudentDashboard's search/filter/sort pattern for the gradebook table.