Learning Graph Quality Metrics Report¶
Overview¶
- Total Concepts: 57
- 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: 56
- Average Dependencies per Concept: 1.34
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)
- Family Member Roles (ID: 12)
- Healthy Relationships (ID: 14)
- Bullying (ID: 28)
- Effects Of Bullying And Exclusion (ID: 30)
- Kindness And Respect For All Abilities (ID: 31)
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 (33.3% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 2: Hunger And Fullness Signals
- 6: Nutrition Label
- 9: Beverages For Physical Activity
- 11: Food Preparation Methods
- 17: Asking For Help With Body Changes
- 23: Effects Of Mental Health Challenges
- 25: Empathy In Friendships
- 31: Kindness And Respect For All Abilities
- 34: Dressing For Weather
- 36: Why Germ Prevention Practices Work
- 38: Risks Of Sharing Personal Information
- 40: Evaluating Safety Behaviors
- 42: Practicing Safety Procedures
- 44: Identifying Trusted Adults
- 45: Right To Personal Boundaries
- 52: Communication In Decision-Making
- 53: I-Statement
- 55: Determining Need For Assistance
- 57: Identifying Relevant Health Topics
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 | 22 |
| 2 | 14 | Healthy Relationships | 4 |
| 3 | 18 | Resilience | 4 |
| 4 | 33 | Benefits Of Physical Activity | 3 |
| 5 | 43 | Trusted Adult | 3 |
| 6 | 49 | Verbal Communication | 3 |
| 7 | 24 | Empathy | 2 |
| 8 | 41 | Safety Procedures | 2 |
| 9 | 46 | Influences On Health Behavior | 2 |
| 10 | 50 | Nonverbal Communication | 2 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 1 |
| 1 | 41 |
| 2 | 11 |
| 3 | 4 |
Recommendations¶
- ✅ Terminal node percentage (33.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