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): 19
- Orphaned Nodes (completely disconnected, no edges): 0
- Concepts with Dependencies: 54
- Average Dependencies per Concept: 1.33
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)
- Trusted Adult (ID: 39)
- Asking A Trusted Adult (ID: 38)
- Seeking Help (ID: 48)
- Recognizing Need For Help (ID: 52)
- Asking For Help With Choices (ID: 55)
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: 19 (34.5% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 5: Water As A Drink
- 6: Breakfast
- 9: Food Preparation Safety
- 11: Healthy Peer Traits
- 14: Cultural Support Practices
- 15: Signs Of Emotional Struggle
- 19: Caring Relationships
- 23: Kindness And Belonging
- 26: Community Health Practice
- 29: Daily Active Play
- 32: Illness Prevention Action
- 35: Sharing Information Safely
- 37: Unsafe Behavior
- 41: Safety Drill
- 44: Saying No
- 50: Communicating Feelings
- 51: Communicating Needs
- 54: Tracking Health Behaviors
- 55: Asking For Help With Choices
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 | 12 | Feelings | 6 |
| 3 | 24 | Hygiene | 3 |
| 4 | 27 | Physical Activity | 3 |
| 5 | 39 | Trusted Adult | 3 |
| 6 | 7 | Food Safety | 2 |
| 7 | 10 | Peer Relationship | 2 |
| 8 | 17 | Valuing Uniqueness | 2 |
| 9 | 21 | Kindness | 2 |
| 10 | 25 | Personal Care Practice | 2 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 1 |
| 1 | 37 |
| 2 | 16 |
| 3 | 1 |
Recommendations¶
- ✅ Terminal node percentage (34.5%): 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