v2.14.6: a Gemma 4 call span the parser dropped is restored

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

What it checks (8)

  1. REQUIRE(spans.size() == 1) observes gemma4_dropped_tool_spans via spans
  2. CHECK(spans[0] == kPlainQuoteCall) observes gemma4_dropped_tool_spans via spans
  3. CHECK(content.find(kPlainQuoteCall) != std::string::npos) not attributed
  4. CHECK(entropic::gemma4_dropped_tool_spans(raw, raw).empty()) observes gemma4_dropped_tool_spans
  5. CHECK(entropic::gemma4_dropped_tool_spans("hello", "hello").empty()) observes gemma4_dropped_tool_spans
  6. REQUIRE(spans.size() == 1) observes gemma4_dropped_tool_spans via spans
  7. CHECK(spans[0] == cut) observes gemma4_dropped_tool_spans via spans
  8. CHECK(entropic::gemma4_dropped_tool_spans(raw, "").size() == 2) observes gemma4_dropped_tool_spans

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.6: a Gemma 4 call span the parser dropped is restored→WHEN→gemma4_dropped_tool_spans→REQUIRE→restore_dropped_tool_spans

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.6: a Gemma 4 call span the parser dropped is restored · 8 checksWHENfailure_detailREQ-API-012 · inferred
Also reaches 1 requirement

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