v2.13.0: the load-time refusals need the model, and say so

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:315 · its file's page

What it checks (10)

  1. REQUIRE_FALSE(why.empty()) observes expert_offload_load_refusal via why
  2. CHECK(why.find("no experts") != std::string::npos) observes expert_offload_load_refusal via why
  3. REQUIRE_FALSE(why.empty()) observes expert_offload_load_refusal via why
  4. CHECK(why.find("31") != std::string::npos) observes expert_offload_load_refusal via why
  5. CHECK(why.find("not clamped") != std::string::npos) observes expert_offload_load_refusal via why
  6. CHECK(expert_offload_load_refusal(1, 31, 128).empty()) observes expert_offload_load_refusal
  7. CHECK(expert_offload_load_refusal(18, 31, 128).empty()) observes expert_offload_load_refusal
  8. CHECK(expert_offload_load_refusal(31, 31, 128).empty()) observes expert_offload_load_refusal
  9. CHECK(expert_offload_load_refusal(0, 30, 0).empty()) observes expert_offload_load_refusal
  10. CHECK(expert_offload_load_refusal(-1, 30, 0).empty()) observes expert_offload_load_refusal

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: the load-time refusals need the model, and say so→expert_offload_load_refusal

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: the load-time refusals need the model, and say so · 10 checksexpert_offload_load_refusalREQ-INFER-027 · inferred
Also reaches 1 requirement

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