Learning Graph Quality Metrics Report¶
Overview¶
- Total Concepts: 387
- Foundational Concepts (no prerequisites, other concepts depend on them): 1
- Terminal Nodes (nothing depends on them, but have prerequisites): 203
- Orphaned Nodes (completely disconnected, no edges): 0
- Concepts with Dependencies: 386
- Average Dependencies per Concept: 1.52
Graph Structure Validation¶
- Valid DAG Structure: ✅ Yes
- Self-Dependencies: None detected ✅
- Cycles Detected: 0
Foundational Concepts¶
These concepts have no prerequisites:
- 1: Psychology as a Science
Dependency Chain Analysis¶
- Maximum Dependency Chain Length: 14
Longest Learning Path:¶
- Psychology as a Science (ID: 1)
- Central Nervous System (ID: 10)
- Neuron Structure (ID: 18)
- All-or-None Principle (ID: 24)
- Neural Transmission (ID: 23)
- Resting Potential (ID: 25)
- Depolarization (ID: 26)
- Action Potential (ID: 27)
- Neurotransmitters (ID: 31)
- Hormones and Behavior (ID: 40)
- Adrenaline (Epinephrine) (ID: 41)
- Fight-Flight-Freeze Response (ID: 303)
- Panic Disorder (ID: 335)
- Culture-Bound Anxiety Disorders (ID: 338)
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: 203 (52.5% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 5: Twin Studies
- 6: Family Studies
- 7: Adoption Studies
- 9: Natural Selection
- 15: Somatic Nervous System
- 17: Reflex Arc
- 19: Glial Cells
- 28: Refractory Period
- 30: Synaptic Threshold
- 34: Norepinephrine
- 35: Glutamate
- 37: Endorphins
- 38: Acetylcholine
- 39: Substance P
- 47: Agonists
- 48: Antagonists
- 49: Reuptake Inhibitors
- 50: Stimulants
- 51: Depressants
- 52: Hallucinogens
...and 183 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 | 312 | Defining Psychological Disorders | 24 |
| 2 | 1 | Psychology as a Science | 23 |
| 3 | 2 | Scientific Method in Psychology | 23 |
| 4 | 10 | Central Nervous System | 15 |
| 5 | 31 | Neurotransmitters | 15 |
| 6 | 313 | DSM Classification System | 15 |
| 7 | 169 | Developmental Psychology Themes | 14 |
| 8 | 83 | Absolute Threshold | 13 |
| 9 | 248 | Social Norms | 12 |
| 10 | 231 | Attribution Theory | 11 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 1 |
| 1 | 209 |
| 2 | 155 |
| 3 | 20 |
| 4 | 2 |
Recommendations¶
- ℹ️ High terminal node percentage (52.5%): Consider if some terminal concepts should be prerequisites for advanced concepts
- ✅ DAG structure verified: Graph supports valid learning progressions
Report generated by learning-graph-reports/analyze_graph.py