Skip to content

fix: graph shows locked section concepts as unstarted#123

Merged
willwearing merged 1 commit into
mainfrom
fix/graph-locked-section-mastery
Apr 12, 2026
Merged

fix: graph shows locked section concepts as unstarted#123
willwearing merged 1 commit into
mainfrom
fix/graph-locked-section-mastery

Conversation

@willwearing
Copy link
Copy Markdown
Owner

Summary

  • Knowledge graph now shows concepts in locked sections as unstarted regardless of diagnostic-determined mastery
  • Raw studentConceptState data untouched — override is only in the graph API response
  • Added getSectionStatesForCourse query for course-level graph
  • 5 new tests covering locked/unlocked/null-section mastery override

Test plan

  • 618/618 backend tests pass
  • Type-checks clean
  • Verified locally: locked section concepts return unstarted in graph response

🤖 Generated with Claude Code

Concepts in locked sections now display as "unstarted" on the knowledge
graph even if the diagnostic set them to in_progress/mastered. Raw
studentConceptState data is preserved — only the graph API response is
adjusted.

Adds getSectionStatesForCourse query and 5 new tests covering locked
section mastery override for both course and academy graph endpoints.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graspful Building Building Preview, Comment Apr 12, 2026 8:56pm

@willwearing willwearing merged commit 63835c5 into main Apr 12, 2026
2 of 3 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.

1 participant