Classification runs the router and yields a configured tier

Tests › tests/model/test_tier_routing.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/model/test_tier_routing.cpp:31 · its file's page

What it checks (5)

  1. REQUIRE(load_registry(reg)) observes load_registry
  2. REQUIRE(load_test_config(reg, cfg, routing_config_path())) observes load_test_config
  3. REQUIRE(orch.initialize(cfg)) observes initialize
  4. REQUIRE(classified) not attributed
  5. REQUIRE(kConfigured.count(tier) == 1) observes route via tier

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

Classification runs the router and yields a configured tier→start_test_log→REQUIRE→load_registry→load_test_config→routing_config_path→initialize→WHEN→make_messages→route→last_routing_result→end_test_log

What 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.

Classification runs the router and yields a configured tier · 5 checksWHENfailure_detailREQ-API-012 · inferredload_test_configload_configREQ-CFG-001 · inferredload_test_config… 4 calls …parse_models_configREQ-CFG-002 · inferredload_registryloadREQ-CFG-003 · inferredload_test_config… 5 calls …parse_model_configREQ-CFG-005 · inferredload_test_configload_configREQ-CFG-006 · inferredload_test_configload_configREQ-CFG-007 · inferredload_test_config… 3 calls …resolve_data_dirREQ-CFG-008 · inferredload_test_config… 5 calls …parse_delegation_configREQ-DELEG-005 · inferredinitializeactivate_routerensure_loadedload_and_activateREQ-INFER-002 · inferredinitializeload_bundled_grammarsload_bundledREQ-INFER-007 · inferredinitializecreate_tier_backendscreate_adapterREQ-INFER-012 · inferred

and 7 more requirement paths, listed below.

Also reaches 19 requirements

Its run touches their code; that is reach, not proof.