Skip to content

Fix/assignment library content progress #24

Open
choeying-10 wants to merge 2 commits into
ulmo1-migrationfrom
fix/assignment-library-content-progress
Open

Fix/assignment library content progress #24
choeying-10 wants to merge 2 commits into
ulmo1-migrationfrom
fix/assignment-library-content-progress

Conversation

@choeying-10

Copy link
Copy Markdown

Summary

  • Restores assignment progress counting for unit tests that wrap MCQs in library_content, where subsection completion stays at 0.0 on the blocks API.
  • Prefer LMS course_progress (assignments_completed / total_assignments_count) for the Assignments tab and Home assignment-card X/Y bars (Sumac-style).
  • Treat per-assignment green checks as complete when all descendant PROBLEM blocks are 1.0, with fallback MCQ rollup if LMS progress is missing.
  • Scope is Assignments tab + Home assignment card only (All / Videos / lesson drill-down unchanged).

@choeying-10 choeying-10 self-assigned this Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants