Learning Graph Quality Metrics Report¶
Overview¶
- Total Concepts: 393
- Foundational Concepts (no prerequisites, other concepts depend on them): 4
- Terminal Nodes (nothing depends on them, but have prerequisites): 86
- Orphaned Nodes (completely disconnected, no edges): 0
- Concepts with Dependencies: 389
- Average Dependencies per Concept: 1.65
Graph Structure Validation¶
- Valid DAG Structure: ✅ Yes
- Self-Dependencies: None detected ✅
- Cycles Detected: 0
Foundational Concepts¶
These concepts have no prerequisites:
- 1: Software Engineering
- 25: Terminal and Command Line
- 55: Large Language Model
- 148: Personal Data
Dependency Chain Analysis¶
- Maximum Dependency Chain Length: 19
Longest Learning Path:¶
- Software Engineering (ID: 1)
- Web Application (ID: 28)
- Client and Server (ID: 29)
- Back-End Server (ID: 31)
- Environment Variable (ID: 106)
- Configuration (ID: 109)
- Environment (ID: 291)
- Production Environment (ID: 294)
- Hosting Platform (ID: 296)
- Deploy (ID: 301)
- Deploy Config in Git (ID: 305)
- Deploy Checklist (ID: 308)
- Readiness Checklist (ID: 386)
- Ready for Real Users (ID: 387)
- Outgrown Good Enough (ID: 388)
- When to Hire an Engineer (ID: 389)
- Engineer Review Request (ID: 390)
- Handover Note (ID: 391)
- Capstone App Review (ID: 393)
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: 86 (21.9% of all concepts)
- Healthy Range: 5-40% of total concepts
Concepts at the end of learning paths:
- 5: Cost of Perfection
- 38: REST API
- 40: React
- 43: Express
- 49: Lock File
- 58: Agent Harness
- 73: Subagent
- 75: Judgment as the Constraint
- 77: Model Selection
- 82: Commit Message
- 93: Merge Conflict
- 95: Private Repository
- 96: Push and Pull
- 102: Stale Branch
- 114: Client-Side Secret Exposure
- 117: Secrets Vault
- 122: Test vs Live Keys
- 125: Identity
- 130: Auth Provider
- 131: Magic Link Sign-In
...and 66 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 | 242 | Automated Test | 12 |
| 2 | 56 | AI Coding Agent | 11 |
| 3 | 31 | Back-End Server | 9 |
| 4 | 81 | Commit | 9 |
| 5 | 173 | Third-Party Service | 9 |
| 6 | 336 | Technical Debt | 9 |
| 7 | 13 | Risk | 8 |
| 8 | 36 | API Endpoint | 8 |
| 9 | 55 | Large Language Model | 8 |
| 10 | 123 | Authentication | 8 |
Outdegree Distribution¶
| Dependencies | Number of Concepts |
|---|---|
| 0 | 4 |
| 1 | 225 |
| 2 | 125 |
| 3 | 22 |
| 4 | 7 |
| 5 | 4 |
| 6 | 1 |
| 7 | 1 |
| 8 | 1 |
| 10 | 2 |
| 11 | 1 |
Recommendations¶
- ✅ Terminal node percentage (21.9%): Within healthy range (5-40%)
- ✅ DAG structure verified: Graph supports valid learning progressions
- ℹ️ Long dependency chains (19): Ensure students can follow extended learning paths
Report generated by learning-graph-reports/analyze_graph.py