How mah-bin/cognitree works
CogniTree is an adaptive-learning app that turns curriculum prerequisites and quiz distractors into personalized knowledge-gap diagnoses and remediation paths. The main workflow is student exploration, concept selection, quiz response, diagnosis/mastery updates, then a highlighted detour and progress views. The README documents broader capabilities such as misconception blame tags, BFS fallback, fluency tracking, and mastery revocation. Some UI wiring is supported by the SOURCE INDEX; unsampled implementation details and the separate root-level engine are left unconnected where their relationships are not evidenced.
Main entry points: App.jsx App coordinator · CurriculumContext.tsx Curriculum state · Graph.jsx Interactive graph · AnalyticsDashboard.tsx Learning analytics
Components 20
Learning experience
- App coordinator
nodedesign/src/App.jsx - Landing experience
nodedesign/src/components/hero/ScrollHero.jsx - Login modal
nodedesign/src/components/auth/LoginModal.jsx - Curriculum navigation
nodedesign/src/components/panels/CurriculumNav.jsx - Progress controls
nodedesign/src/components/ui/TopBar.jsx - Interactive graph
nodedesign/src/components/graph/Graph.jsx - Concept node view
nodedesign/src/components/nodes/ConceptNode.jsx - Concept insights
nodedesign/src/components/panels/InsightPanel.jsx - Quiz interface
nodedesign/src/components/QuizModal.tsx - Diagnosis panel
nodedesign/src/components/panels/DiagnosticPanel.jsx - Learning analytics
nodedesign/src/components/AnalyticsDashboard.tsx - Path scan animation
nodedesign/src/hooks/useDiagnosticScan.js
Diagnosis and progress
- Curriculum state
nodedesign/src/core/CurriculumContext.tsx - Diagnosis and mastery logic
nodedesign/src/core/graphLogic.ts
Curriculum data
- Graph data adapter
nodedesign/src/data/adapter.js - Demo curriculum data
nodedesign/src/data/mockData.js - Authored curriculum graph
nodedesign/src/core/curriculum_graph.json
Root-level logic
- Root-level logic engine
src/logic/engine.ts - Root curriculum data
src/data/curriculum.json
Other components
- Student
Connections 19
- Student → App coordinator: uses
README.md - App coordinator → Landing experience: renders
nodedesign/src/App.jsx - App coordinator → Login modal: renders
nodedesign/src/App.jsx - App coordinator → Curriculum navigation: renders
nodedesign/src/App.jsx - App coordinator → Progress controls: renders
nodedesign/src/App.jsx - App coordinator → Interactive graph: renders
nodedesign/src/App.jsx - App coordinator → Concept insights: renders
nodedesign/src/App.jsx - App coordinator → Quiz interface: renders
nodedesign/src/App.jsx - App coordinator → Diagnosis panel: renders
nodedesign/src/App.jsx - App coordinator → Learning analytics: renders
nodedesign/src/App.jsx - App coordinator → Path scan animation: runs
nodedesign/src/App.jsx - Interactive graph → Concept node view: renders
nodedesign/src/components/graph/Graph.jsx - Interactive graph → Graph data adapter: maps nodes
nodedesign/src/components/graph/Graph.jsx - Quiz interface → Curriculum state: submits answers
nodedesign/src/components/QuizModal.tsx - Curriculum state → Diagnosis and mastery logic: calls
nodedesign/src/core/CurriculumContext.tsx - Curriculum state → Authored curriculum graph: loads
nodedesign/src/core/CurriculumContext.tsx - Learning analytics → Curriculum state: reads progress
nodedesign/src/components/AnalyticsDashboard.tsx - Learning analytics → Diagnosis and mastery logic: uses signals
nodedesign/src/components/AnalyticsDashboard.tsx - Diagnosis and mastery logic → Curriculum state: updates state
README.md