test_generate_refuses_a_shortcut_answering_model

Tests › tests/test_acceptance_identity.py

passed Passed in the packaged run.

What this test is for

Why it exists

**THIS IS THE 1.1.0 GAP, NARROWED BY A LATER RULING.** The judge was checked from the first release and the model being GRADED was never asked, so the published grid was judged by `claude-sonnet-4-5-20250929` and answered by `claude-haiku-5-5` with nothing recording it.

Given

  1. FREERTOS = Path(__file__).resolve().parent.parent / "acceptance/targets/freertos/questions.yaml"
  2. spent: list[str] = []
5 more
  1. monkeypatch.setattr(cli, "run_cell", lambda cell, *_a, **_k: spent.append(cell.stem()))
  2. monkeypatch.setattr(cli, "check_revision", lambda *_a, **_k: None)
  3. monkeypatch.setattr(cli, "check_tool_tree", lambda *_a, **_k: None)
  4. out = tmp_path / "answers"
  5. args = cli.argparse.Namespace( rubric=FREERTOS, models=["sonnet"], replicates=1, seed=7, repo=tmp_path / "repo", out=out, mcp_config=None, timeout=60, resume=False, )
→

When

  1. cli.cmd_generate(args)
→

Then

  1. ✓ cli.cmd_generate(args) equals 1
  2. ✓ spent is false

tests/test_acceptance_identity.py:267 · its file's page

What it checks (2)

  1. assert cli.cmd_generate(args) == 1, "a client-resolved shortcut was accepted" observes cmd_generate
  2. assert not spent, f"cells were spent before the refusal: {spent}" 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

test_generate_refuses_a_shortcut_answering_model→cmd_generate

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.

test_generate_refuses_a_shortcut_answering_model · 2 checkscmd_generatetool_identity_substratecompiled_languagesREQ-DDB-PIPE-012 · inferred
Also reaches 1 requirement

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