v2.14.5: a failed turn is an error carrying only its own text

Tests › tests/model/test_v2145_failed_turn.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_v2145_failed_turn.cpp:76 · its file's page

What it checks (13)

  1. REQUIRE(h != nullptr) not attributed
  2. REQUIRE(h->external_bridge != nullptr) not attributed
  3. CHECK_FALSE(first.is_error) not attributed
  4. CHECK(has_ci(first.text, "paris")) observes has_ci
  5. CHECK(failed.is_error) not attributed
  6. CHECK(failed.text.rfind("error: turn failed", 0) == 0) not attributed
  7. CHECK(failed.text.find("zero_tool_calls_with_explicit_completion") != std::string::npos) not attributed
  8. CHECK(failed.text.find("strict") != std::string::npos) not attributed
  9. CHECK_FALSE(has_ci(failed.text, "paris")) observes has_ci
  10. CHECK(failed.text.find("\"action\"") == std::string::npos) not attributed
  11. CHECK(failed.text.find("Unconfirmed text from this turn") != std::string::npos) not attributed
  12. CHECK_FALSE(third.is_error) not attributed
  13. CHECK(has_ci(third.text, "lighthouse")) observes has_ci

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.14.5: a failed turn is an error carrying only its own text→model_gguf→setup→setup_failure→REQUIRE→has_ci

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.14.5: a failed turn is an error carrying only its own text · 13 checkssetupentropic_createREQ-ABI-001 · inferredsetupentropic_grammar_register_fileREQ-ABI-002 · inferredsetupentropic_createREQ-API-002 · inferredsetupentropic_createREQ-API-003 · inferredsetupentropic_configure_dirREQ-API-004 · inferredsetupentropic_grammar_register_fileREQ-API-005 · inferredsetup… 9 calls …entropic_versionREQ-API-008 · inferredsetup… 4 calls …rewire_observersREQ-API-010 · inferredsetup… 3 calls …init_orchestratorREQ-API-013 · inferredsetup… 3 calls …start_http_listenerREQ-BRIDGE-001 · inferredsetupentropic_configure_dirREQ-CFG-001 · inferredsetupentropic_configure_dirdo_configure_dirload_layeredREQ-CFG-002 · inferred

and 62 more requirement paths, listed below.

Also reaches 79 requirements

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