Learning Graph Quality Metrics Report¶
Overview¶
- Total Concepts: 55
- Foundational Concepts (no prerequisites, other concepts depend on them): 1
- Terminal Nodes (nothing depends on them, but have prerequisites): 22
- Orphaned Nodes (completely disconnected, no edges): 0
- Concepts with Dependencies: 54
- Average Dependencies per Concept: 1.17
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: 6
Longest Learning Path:¶
- Health (ID: 1)
- Peer Relationship (ID: 11)
- Types Of Peer Relationships (ID: 12)
- Playful Interaction (ID: 22)
- Teasing (ID: 23)
- Effects Of Teasing (ID: 24)
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: 22 (40.0% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 3: Variety Of Foods
- 4: Food Energy
- 7: Comparing Drink Choices
- 10: Food Handling Safety
- 14: Cultural Coping Practice
- 17: Recognizing Personal Needs
- 19: Healthy Conflict Resolution
- 21: Sharing Feelings With Trusted Adult
- 24: Effects Of Teasing
- 26: Sun And Noise Protection
- 27: Unsafe Chemicals And Water
- 29: Cultural Physical Activity
- 32: Illness Prevention Practice
- 35: Getting Help For Tech Situations
- 36: Encouraging Safe Choices
- 39: Staying Safe Away From Classroom
- 41: Saying No Or Exiting
- 46: Locating Health Helpers
- 48: Active Listening
- 53: Reflecting On Goal Progress
...and 2 more
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 | 21 |
| 2 | 13 | Coping Strategy | 3 |
| 3 | 2 | Food Group Function | 2 |
| 4 | 8 | Food Storage Safety | 2 |
| 5 | 15 | Personal Space | 2 |
| 6 | 18 | Conflict | 2 |
| 7 | 20 | Managing Strong Emotions | 2 |
| 8 | 25 | Environmental Health Risk | 2 |
| 9 | 42 | Influence | 2 |
| 10 | 45 | Health Helper | 2 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 1 |
| 1 | 46 |
| 2 | 7 |
| 3 | 1 |
Recommendations¶
- ✅ Terminal node percentage (40.0%): 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