gh#130 a trailing empty assistant turn does not hide the answer

Tests › tests/unit/api/final_text_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/api/final_text_test.cpp:31 · its file's page

What it checks (5)

  1. CHECK(text == "BRULE-028 limits returns to 3.") observes extract_final_text via text
  2. CHECK(final_text_or_reason(convo).rfind("(no response", 0) != 0) observes final_text_or_reason
  3. CHECK(text.find("sop-005-module-compliance.md") != std::string::npos) observes extract_final_text via text
  4. CHECK(extract_final_text(convo) == "hello") observes extract_final_text
  5. CHECK(extract_final_text(convo) == "fresh") observes extract_final_text

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#130 a trailing empty assistant turn does not hide the answer→WHEN→extract_final_text→final_text_or_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.

gh#130 a trailing empty assistant turn does not hide the answer · 5 checksfinal_text_or_reasonREQ-API-012 · inferred
Also reaches 1 requirement

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