The Gemma 4 REQUIRED root is rewritten to the f072b10371 shape

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

What it checks (3)

  1. CHECK(entropic::gbnf_root_line(out) == "root ::= start (thought | ) tool-call") observes gbnf_root_line
  2. CHECK(out == pinned_gbnf("root ::= start (thought | ) tool-call")) observes pinned_gbnf
  3. CHECK(entropic::patch_gemma4_required_root(in) == "root ::= start (thought | ) tool-call\nx ::= \"a\"\n") observes patch_gemma4_required_root

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

The Gemma 4 REQUIRED root is rewritten to the f072b10371 shape→pinned_gbnf→WHEN→patch_gemma4_required_root→gbnf_root_line

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.

The Gemma 4 REQUIRED root is rewritten to the f072b10371 shape · 3 checksWHENfailure_detailREQ-API-012 · inferredpatch_gemma4_required_rootREQ-INFER-008 · inferred
Also reaches 2 requirements

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