gh#122: fenced-json block in model output yields a tool call

Tests › tests/unit/inference/interface_factory_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/interface_factory_test.cpp:194 · its file's page

What it checks (4)

  1. REQUIRE(iface.parse_tool_calls( fenced, &cleaned, &calls, iface.backend_data) == 0) observes build_orchestrator_interface via iface
  2. REQUIRE(cleaned != nullptr) not attributed
  3. REQUIRE(calls != nullptr) not attributed
  4. CHECK(std::string(calls) != "[]") 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#122: fenced-json block in model output yields a tool call→initialize→build_orchestrator_interface→REQUIRE→destroy_orchestrator_interface

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#122: fenced-json block in model output yields a tool call · 4 checksbuild_orchestrator_interface… 7 calls …entropic_versionREQ-ABI-001 · inferredbuild_orchestrator_interface… 9 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredbuild_orchestrator_interface… 9 calls …entropic_last_errorREQ-API-003 · inferredbuild_orchestrator_interface… 9 calls …entropic_session_bind_workspaceREQ-API-005 · inferredbuild_orchestrator_interface… 9 calls …entropic_last_errorREQ-API-007 · inferredbuild_orchestrator_interface… 7 calls …entropic_versionREQ-API-008 · inferredbuild_orchestrator_interface… 10 calls …claim_exclusiveREQ-API-009 · inferredbuild_orchestrator_interface… 9 calls …handle_askREQ-API-012 · inferredbuild_orchestrator_interface… 5 calls …dispatchREQ-BRIDGE-001 · inferredinitializeactivate_routerensure_loadedload_and_activateREQ-INFER-002 · inferredbuild_orchestrator_interfaceiface_generate_streamgenerate_streamingREQ-INFER-005 · inferredbuild_orchestrator_interface… 7 calls …to_common_samplingREQ-INFER-006 · inferred

and 22 more requirement paths, listed below.

Also reaches 55 requirements

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