v2.13.0: impossible expert-offload combinations are refused loudly

Tests › tests/unit/inference/expert_offload_test.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/unit/inference/expert_offload_test.cpp:255 · its file's page

What it checks (10)

  1. REQUIRE_FALSE(why.empty()) observes expert_offload_conflict_reason via why
  2. CHECK(why.find("cpu_moe_layers") != std::string::npos) observes expert_offload_conflict_reason via why
  3. CHECK(why.find("sentinel") != std::string::npos) observes expert_offload_conflict_reason via why
  4. REQUIRE_FALSE(why.empty()) observes expert_offload_conflict_reason via why
  5. CHECK(why.find("gpu_layers: 0") != std::string::npos) observes expert_offload_conflict_reason via why
  6. REQUIRE_FALSE(why.empty()) observes expert_offload_conflict_reason via why
  7. CHECK(why.find("gpu_layers: auto") != std::string::npos) observes expert_offload_conflict_reason via why
  8. CHECK(why.find("derives the expert split") != std::string::npos) observes expert_offload_conflict_reason via why
  9. CHECK(why.find("let auto choose") != std::string::npos) observes expert_offload_conflict_reason via why
  10. CHECK(expert_offload_conflict_reason(cfg).empty()) observes expert_offload_conflict_reason

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

v2.13.0: impossible expert-offload combinations are refused loudly→expert_offload_conflict_reason

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.

v2.13.0: impossible expert-offload combinations are refused loudly · 10 checksexpert_offload_conflict_reasonREQ-CFG-006 · inferredexpert_offload_conflict_reasonREQ-INFER-027 · inferred
Also reaches 2 requirements

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