Skip to content

test(roadmap): add a false premise case to the verify golden set - #4434

Merged
dan-petty merged 5 commits into
mainfrom
test/3431-add-a-false-premise-case-to
Nov 11, 2026
Merged

dan-petty merged 5 commits into
mainfrom
test/3431-add-a-false-premise-case-to

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

The golden set of the verification pass has no plan whose design restates a rule of a file that the plan cites and gets the restatement wrong. The pass can therefore miss a false_premise defect of that shape, and no case scores the miss. The plan of PR #3408 is an example: its design said that the existing missing_path type names a code change that needs a file the plan does not change, while the cited src/devops_cli/ai/tasks/roadmap_stage_verify.md defined the type only for a file that does not exist and that no earlier group creates. The pass read the prompt and reported no finding. This change adds that plan, before the author corrected the design, as a case of the golden set. A pass that reports no false_premise finding for this case fails it.

The case joins half B of the fixed split of the screen eval. A split made again over all 57 cases would move 42 other cases to the other half, and the screen cuts were fitted on the recorded halves. The tests of the case start no git and do not skip on the state of the host: the quote test reads the plan and a source tree under tmp_path, and the score test checks the case out from stage_repo.

Closes #3431

Change: openspec/changes/archive/2026-11-10-3431-add-a-false-premise-case-to/

@dan-petty dan-petty added type/test Type test: a new or changed test scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 10, 2026
@dan-petty
dan-petty force-pushed the test/3431-add-a-false-premise-case-to branch from 14431b5 to 82e3086 Compare November 10, 2026 23:20
… no git

The new case joins half B of the fixed split, the smaller half and the half that `halves` gives it. A split made again over all 57 cases moves 42 other cases to the other half, and the screen cuts were fitted on the recorded halves. The counts of the whole set go to 57 cases and 318 labelled defects.

The quote test reads the plan of the case and a source tree under `tmp_path`, and the score test checks the case out from `stage_repo`. Neither test starts git in the repository or skips on the state of the host.
The `pull_request_body` of the case is now the body that the stage job wrote with the plan of PR #3408. The later body said that the change widens `missing_path`, which is the corrected premise, and the pass reads the whole plan. The match test calls `matched_defects` and starts no git. The guide gives the oracle of the screen in the past tense with its run of #4343.
@dan-petty
dan-petty force-pushed the test/3431-add-a-false-premise-case-to branch from 82e3086 to c92175c Compare November 11, 2026 02:16
@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 02:22
@dan-petty
dan-petty enabled auto-merge (squash) November 11, 2026 02:22
@dan-petty
dan-petty merged commit 6cf78e7 into main Nov 11, 2026
32 of 33 checks passed
@dan-petty
dan-petty deleted the test/3431-add-a-false-premise-case-to branch November 11, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(roadmap): Add a false_premise case to the verify golden set

1 participant