Learning Graph Quality Metrics Report¶
Overview¶
- Total Concepts: 70
- Foundational Concepts (no prerequisites, other concepts depend on them): 1
- Terminal Nodes (nothing depends on them, but have prerequisites): 18
- Orphaned Nodes (completely disconnected, no edges): 0
- Concepts with Dependencies: 69
- Average Dependencies per Concept: 1.29
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)
- Emotions Shape Behavior (ID: 14)
- Restorative Self-Management Strategies (ID: 18)
- Managing Relationships (ID: 20)
- Respecting Peer Boundaries (ID: 22)
- Boundary-Setting (ID: 49)
- Demonstrating Boundary-Setting (ID: 65)
- Health Message Delivery (ID: 70)
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: 18 (25.7% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 2: Cultural Nutrient Approaches
- 7: Comparing Water To Other Drinks
- 11: Unsafe Food Handling Practices
- 17: Health Concern Reporting
- 19: Managing Personal Growth
- 23: Guiding A Peer To Help
- 28: Situations That Influence Emotions
- 31: Preventing Fighting And Violence
- 33: Inclusive Environments
- 40: Responding To Allergic Reactions
- 47: Reporting Online Harm
- 51: Safely Exiting Unsafe Relationships
- 53: Peer Actions During Emergencies
- 54: School-Staff Actions During Emergencies
- 59: Reporting Unsafe Situations
- 62: Identifying Needed Trusted Resources
- 69: Ownership Of Personal Health
- 70: Health Message Delivery
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 | 18 |
| 2 | 16 | Trusted Adult | 7 |
| 3 | 20 | Managing Relationships | 3 |
| 4 | 12 | Family Influence On Decisions | 2 |
| 5 | 13 | Peer Influence On Decisions | 2 |
| 6 | 14 | Emotions Shape Behavior | 2 |
| 7 | 18 | Restorative Self-Management Strategies | 2 |
| 8 | 22 | Respecting Peer Boundaries | 2 |
| 9 | 24 | Equity | 2 |
| 10 | 25 | Belonging | 2 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 1 |
| 1 | 51 |
| 2 | 16 |
| 3 | 2 |
Recommendations¶
- ✅ Terminal node percentage (25.7%): 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