Orchestrator empty-tiers + handoff + observer + accessor coverage¶
Tests › tests/unit/inference/orchestrator_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/inference/orchestrator_test.cpp:642 · its file's page
What it checks (11)
REQUIRE(orch.initialize(cfg))observesinitializeREQUIRE(orch.last_used_tier().empty())observeslast_used_tierREQUIRE(orch.loaded_models().empty())observesloaded_modelsREQUIRE_FALSE(orch.check_speculative_compat().compatible)observescheck_speculative_compatREQUIRE(orch.last_residency_error() == ENTROPIC_OK)observeslast_residency_errorREQUIRE(events == 0)not attributedREQUIRE(orch.can_handoff("lead", "eng"))observescan_handoffREQUIRE_FALSE(orch.can_handoff("lead", "no-such"))observescan_handoffREQUIRE_FALSE(orch.can_handoff("no-source", "lead"))observescan_handoffREQUIRE(j["residency"].is_array())observesresidency_snapshot_jsonviajREQUIRE(j["residency"].empty())observesresidency_snapshot_jsonviaj
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
Orchestrator empty-tiers + handoff + observer + accessor coverage→REQUIRE→initialize→last_used_tier→loaded_models→shutdown→set_speculative_enabled→check_speculative_compat→last_residency_error→clear_last_residency_error→make_placeholder_gguf→set_residency_observer→make_load_failure_config→can_handoff→residency_snapshot_jsonWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 7 requirements
Its run touches their code; that is reach, not proof.
- REQ-INFER-002 inferred
- REQ-INFER-007 inferred
- REQ-INFER-012 inferred
- REQ-INFER-016 inferred
- REQ-INFER-019 inferred
- REQ-INFER-020 inferred
- REQ-INFER-023 inferred