Learning Graph Quality Metrics Report¶
Overview¶
- Total Concepts: 133
- Foundational Concepts (no prerequisites, other concepts depend on them): 1
- Terminal Nodes (nothing depends on them, but have prerequisites): 51
- Orphaned Nodes (completely disconnected, no edges): 0
- Concepts with Dependencies: 132
- 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: 8
Longest Learning Path:¶
- Health (ID: 1)
- Relationship Structures (ID: 11)
- Healthy Relationship Characteristics (ID: 12)
- Empathy In Relationships (ID: 38)
- Communication For Conflict Resolution (ID: 39)
- Verbal And Nonverbal Communication (ID: 117)
- Delivering Health Messages To Audiences (ID: 132)
- Reflecting On Health Message Effectiveness (ID: 133)
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: 51 (38.3% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 6: Caffeinated And Energy Drink Effects
- 8: Meal And Snack Planning
- 10: Community Food Access Initiatives
- 14: Romantic Relationships
- 15: Seeking Help About Relationships Or Development
- 23: Preventing Unintended Pregnancy
- 25: Reducing Healthcare Barriers
- 27: Cultural Values Of Respect And Balance
- 30: Consent Versus Coercion
- 41: Emotion Management Strategies
- 42: Indigenous And Traditional Healing Approaches
- 47: Stigma Reduction
- 50: Dementia
- 52: Cultural Sleep Practices
- 54: Moderate And Vigorous Activity
- 55: Muscle-Strengthening Activity
- 56: Bone-Strengthening Activity
- 58: Heimlich Maneuver
- 61: Priority Response Needs
- 63: Hygiene As Disease Prevention
...and 31 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 | 36 |
| 2 | 85 | Alcohol Effects On Developing Body And Brain | 7 |
| 3 | 88 | Cannabis Effects On Developing Body And Brain | 6 |
| 4 | 89 | Illegal Drug Effects On Developing Body And Brain | 6 |
| 5 | 13 | Unhealthy Relationship Characteristics | 4 |
| 6 | 26 | Personal Boundary-Setting | 4 |
| 7 | 28 | Consent | 4 |
| 8 | 39 | Communication For Conflict Resolution | 4 |
| 9 | 86 | Commercial Tobacco Effects On Developing Body And Brain | 4 |
| 10 | 3 | Food Label Analysis | 3 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 1 |
| 1 | 102 |
| 2 | 22 |
| 3 | 4 |
| 4 | 2 |
| 5 | 2 |
Recommendations¶
- ✅ Terminal node percentage (38.3%): 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