Learning Graph Quality Metrics Report¶
Overview¶
- Total Concepts: 58
- Foundational Concepts (no prerequisites, other concepts depend on them): 1
- Terminal Nodes (nothing depends on them, but have prerequisites): 15
- Orphaned Nodes (completely disconnected, no edges): 0
- Concepts with Dependencies: 57
- Average Dependencies per Concept: 1.40
Graph Structure Validation¶
- Valid DAG Structure: ✅ Yes
- Self-Dependencies: None detected ✅
- Cycles Detected: 0
Foundational Concepts¶
These concepts have no prerequisites:
- 1: Health
Dependency Chain Analysis¶
- Maximum Dependency Chain Length: 8
Longest Learning Path:¶
- Health (ID: 1)
- Macronutrient (ID: 2)
- Carbohydrates (ID: 3)
- Nutrition Label (ID: 8)
- Balanced Meal Planning (ID: 9)
- Goal Plan Development (ID: 54)
- Identifying Supports And Barriers (ID: 55)
- Constructing A Health Position (ID: 58)
Terminal Nodes Analysis¶
Terminal nodes are concepts that nothing else depends on but have prerequisites. They represent natural endpoints of learning paths — culminating or specialized concepts.
- Total Terminal Nodes: 15 (25.9% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 10: Limiting Caffeinated Drinks
- 12: Effects Of Sugary Foods
- 13: Effects Of Salty Foods
- 14: Food Temperature Safety
- 18: Puberty Across Cultures
- 24: Responding To Teasing And Exclusion
- 25: Responding To Bullying
- 28: Mental Health Changes Over Time
- 36: Non-Infectious Disease
- 39: Cultural Wellness Perspectives
- 44: Setting Boundaries
- 48: Demonstrating Refusal Skills
- 50: Media And Technology Influence
- 56: Tracking Health Behaviors
- 58: Constructing A Health Position
Orphaned Nodes Analysis¶
Orphaned nodes are completely disconnected concepts with no inbound AND no outbound edges. These indicate a quality problem — every concept should connect to the graph.
- Total Orphaned Nodes: 0
✅ No orphaned nodes detected. All concepts are connected to the graph.
Connected Components¶
- Number of Connected Components: 1
✅ All concepts are connected in a single graph.
Indegree Analysis¶
Top 10 concepts that are prerequisites for the most other concepts:
| Rank | Concept ID | Concept Label | Indegree |
|---|---|---|---|
| 1 | 1 | Health | 16 |
| 2 | 16 | Respecting Cultural Differences | 8 |
| 3 | 49 | Influences On Health Behavior | 4 |
| 4 | 2 | Macronutrient | 3 |
| 5 | 7 | Water And Hydration | 3 |
| 6 | 26 | Bias | 3 |
| 7 | 19 | Self-Regulation | 2 |
| 8 | 23 | Managing Emotions | 2 |
| 9 | 27 | Prejudice | 2 |
| 10 | 30 | Trusted Adult | 2 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 1 |
| 1 | 39 |
| 2 | 14 |
| 3 | 3 |
| 4 | 1 |
Recommendations¶
- ✅ Terminal node percentage (25.9%): Within healthy range (5-40%)
- ✅ DAG structure verified: Graph supports valid learning progressions
- ℹ️ Consider adding cross-dependencies: More connections could create richer learning pathways
Report generated by learning-graph-reports/analyze_graph.py