gh#144: max_sessions == 1 preserves the warm-keep prefill shape

Tests › tests/model/test_gh144_no_regression_single_session.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_gh144_no_regression_single_session.cpp:79 · its file's page

What it checks (10)

  1. REQUIRE_FALSE(gguf.empty()) observes test_gguf via gguf
  2. REQUIRE(fs::is_regular_file(gguf)) observes test_gguf via gguf
  3. REQUIRE(backend.load(cfg)) observes load
  4. REQUIRE(backend.activate()) observes activate
  5. REQUIRE(params.session_key.empty()) not attributed
  6. REQUIRE(prefill.size() == kTurns) not attributed
  7. CHECK(prefill[0] > 0) not attributed
  8. CHECK(prefill[i] <= prefill[1] + 8) not attributed
  9. CHECK(prefill[kTurns - 1] < cumulative) not attributed
  10. CHECK_FALSE(outputs[i].empty()) not attributed

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

gh#144: max_sessions == 1 preserves the warm-keep prefill shape→test_gguf→REQUIRE→load→activate→filler→WHEN→generate→last_prefill_tokens→deactivate→unload

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.

gh#144: max_sessions == 1 preserves the warm-keep prefill shape · 10 checksWHENfailure_detailREQ-API-012 · inferredunloadREQ-INFER-002 · inferred
Also reaches 2 requirements

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