gh#108 (v2.10.3) MTP + streaming without a grammar still streams

Tests › tests/model/test_gh108_mtp_stream_grammar.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_gh108_mtp_stream_grammar.cpp:192 · its file's page

What it checks (5)

  1. REQUIRE(r.error_code == 0) observes generate_streaming via r
  2. REQUIRE(r.n_drafted > 0) observes generate_streaming via r
  3. REQUIRE(cap.token_count > 0) not attributed
  4. CHECK(cap.text == r.content) observes generate_streaming via r
  5. CHECK(cap.text.find("<|channel") == 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#108 (v2.10.3) MTP + streaming without a grammar still streams→configure_mtp_tier→init_orchestrator→push→generate_streaming→REQUIRE→on_token

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#108 (v2.10.3) MTP + streaming without a grammar still streams · 5 checksgenerate_streaming… 7 calls …entropic_versionREQ-ABI-001 · inferredgenerate_streaming… 9 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredgenerate_streaming… 9 calls …entropic_last_errorREQ-API-003 · inferredinit_orchestratorREQ-API-004 · inferredgenerate_streaming… 9 calls …entropic_session_bind_workspaceREQ-API-005 · inferredgenerate_streaming… 9 calls …entropic_last_errorREQ-API-007 · inferredgenerate_streaming… 7 calls …entropic_versionREQ-API-008 · inferredgenerate_streaming… 10 calls …claim_exclusiveREQ-API-009 · inferredgenerate_streaming… 9 calls …handle_askREQ-API-012 · inferredinit_orchestratorREQ-API-013 · inferredgenerate_streaming… 5 calls …dispatchREQ-BRIDGE-001 · inferredconfigure_mtp_tierload_test_configload_configREQ-CFG-001 · inferred

and 36 more requirement paths, listed below.

Also reaches 65 requirements

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