gh#136 sanitized model output is always serializable¶
Tests › tests/unit/inference/utf8_ingress_invariant_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/inference/utf8_ingress_invariant_test.cpp:75 · its file's page
What it checks (5)
CHECK_FALSE(dumps_cleanly(raw))observesdumps_cleanlyCHECK(dumps_cleanly(entropic::mcp::sanitize_utf8(raw)))observesdumps_cleanlyCHECK(clean.find("The answer is") != std::string::npos)observessanitize_utf8viacleanCHECK(dumps_cleanly(entropic::mcp::sanitize_utf8(c)))observesdumps_cleanlyCHECK(entropic::mcp::sanitize_utf8(c) == c)observessanitize_utf8
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#136 sanitized model output is always serializable→truncated_codepoint→dumps_cleanly→sanitize_utf8What 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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-SAFE-001 inferred