Relationship Edgeir
A typed connection between two ConceptNodes — related, prerequisite_of, depends_on, foundation_of, implements, contradicts, gap, and more.
Edges encode the structure the explorer navigates. Keeping raw weight (count) separate from confidence (model score) prevents the SDK's score>1.0 bug.
Where it appears
- compiler/ir.py
- All graph views
Descend
Dependencies
- —
Foundations
Historical evolution
Extends upstream knowledge-graph edges with explicit pedagogical + foundation types.
Implementation details
ir.py RelationshipEdge: source, target, type, weight (raw count, NOT confidence), confidence ([0,1]), rationale, source.
Sources
- [compiler/ir.py] compiler/ir.py
- [docs/INTERMEDIATE_REPRESENTATION.md] docs/INTERMEDIATE_REPRESENTATION.md
- [compiler/ir.py] compiler/ir.py
- [docs/INTERMEDIATE_REPRESENTATION.md] docs/INTERMEDIATE_REPRESENTATION.md