gh#90: gemma <|”|> escape on a numeric value keeps string typing

Tests › tests/model/test_gh90_string_typing.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_gh90_string_typing.cpp:30 · its file's page

What it checks (6)

  1. REQUIRE(llama != nullptr) not attributed
  2. REQUIRE(llama->common_chat_parse_reliable()) not attributed
  3. REQUIRE(parsed.tool_calls.size() == 1) not attributed
  4. CHECK(aj.find(R"("grade_level":"3")") != std::string::npos) not attributed
  5. CHECK(aj.find(R"("grade_level":3)") == std::string::npos) not attributed
  6. CHECK(aj.find("Tamsin") != std::string::npos) 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#90: gemma <|\"|> escape on a numeric value keeps string typing→skip_reason_or_default→start_test_log→test_gen_params→make_messages→generate→WHEN→get_backend→REQUIRE→end_test_log

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#90: gemma <|\"|> escape on a numeric value keeps string typing · 6 checksgenerate… 8 calls …entropic_versionREQ-ABI-001 · inferredgenerate… 10 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredgenerate… 10 calls …entropic_last_errorREQ-API-003 · inferredgenerate… 10 calls …entropic_session_bind_workspaceREQ-API-005 · inferredgenerate… 10 calls …entropic_last_errorREQ-API-007 · inferredgenerate… 8 calls …entropic_versionREQ-API-008 · inferredWHENfailure_detailREQ-API-012 · inferredgenerate… 6 calls …dispatchREQ-BRIDGE-001 · inferredgenerate… 3 calls …unloadREQ-INFER-002 · inferredgenerate… 4 calls …generate_mtpREQ-INFER-005 · inferredgenerate… 7 calls …to_common_samplingREQ-INFER-006 · inferredgeneraterefuse_unresolved_tier_grammarREQ-INFER-007 · inferred

and 19 more requirement paths, listed below.

Also reaches 55 requirements

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