Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_context_injector_selector_wiring
Tests reference — tests/knowledge_graph/test_context_injector_selector_wiring.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_context_injector_selector_wiring.py
source · 6 tests · 228 lines
W8.5 wiring tests: ContextInjector.inject_for_task consumes the SPEC-106
Covers: core.base.traces, kernel.pipeline_kg, knowledge_graph.context_injector
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_inject_for_task_routes_through_selector |
55 | Seed a canonical Function --TRACES_TO--> RequirementItem pair, link |
| function | test_inject_for_task_debug_k1_and_tested_by_signal |
109 | DEBUG uses a tighter k=1 radius and TESTED_BY is a ranking SIGNAL only |
| function | test_inject_for_task_unavailable_driver_records_reason |
149 | |
| function | test_inject_for_subject_mapped_subject_reaches_inject_for_task |
184 | |
| function | test_subject_task_type_get_none_keeps_inject_legacy_path |
204 | Exercises the exact pipeline_kg.py dispatch expression |
| function | test_inject_for_subject_subject_outside_inject_subjects_is_a_noop |
217 | A subject outside INJECT_SUBJECTS never even reaches the |