Skip to content

Fix/assignment library content progress #24

Merged
choeying-10 merged 2 commits into
wbc-ulmo1-stagefrom
fix/assignment-library-content-progress
Jul 24, 2026
Merged

Fix/assignment library content progress #24
choeying-10 merged 2 commits into
wbc-ulmo1-stagefrom
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
@choeying-10
choeying-10 changed the base branch from ulmo1-migration to wbc-ulmo1-stage July 24, 2026 05:16
@choeying-10
choeying-10 merged commit e2141c0 into wbc-ulmo1-stage Jul 24, 2026
3 of 5 checks passed
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