gh#106 observe: QAT thinking-model tool-call structure

Tests › tests/model/test_gh106_qat_thinking.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_gh106_qat_thinking.cpp:20 · its file's page

What it checks (8)

  1. REQUIRE(backend.load(cfg)) observes load
  2. REQUIRE(backend.activate()) observes activate
  3. REQUIRE(captured) observes has_common_chat_params via captured
  4. REQUIRE(gen.error_code == 0) observes generate via gen
  5. REQUIRE(parsed.tool_calls.size() >= 1) observes parse_response via parsed
  6. CHECK(parsed.tool_calls[0].name.find("read_file") != std::string::npos) observes parse_response via parsed
  7. CHECK(parsed.content.find("<|channel>") == std::string::npos) observes parse_response via parsed
  8. CHECK(parsed.content.find("<channel|>") == std::string::npos) observes parse_response via parsed

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#106 observe: QAT thinking-model tool-call structure→model_path→REQUIRE→load→activate→set_active_tools→read_file_tool_json→generate→has_common_chat_params→parse_response→deactivate→unload

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#106 observe: QAT thinking-model tool-call structure · 8 checksunloadREQ-INFER-002 · inferredparse_responseREQ-INFER-009 · inferredparse_responsecoerce_string_typed_argsREQ-INFER-012 · inferred
Also reaches 3 requirements

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