Repository navigation
refactor(testing): cut the per-language property pages from testing:write as the pilot - #16395
Conversation
… cut Write three cases from the per-language property pages' lines: wr-property-dependent-input (draw the shared value first, no discarded draws), wr-property-past-bug (the reported input as a fixed @example on the property) and wr-ts-async-property-marked (an awaited fc.asyncProperty that carries the audit's property marker, so rule-recomputed-derived reports nothing). Every grader is deterministic with must-pass and must-fail samples. Rename wr-python-loads-python-reference to wr-python-idempotence-property and grade the test it writes (a @given property stating idempotence) instead of which reference page it read. Rename wr-go-loads-no-reference to wr-go-uses-project-library and drop its no-read grader. These cases are frozen here, before the cut, for the two-version compare. Refs: #15709 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
Register the generic resolution text's testing carrier row in scripts/shared-copies.txt and generate its copy at plugins/testing/reference/ecosystem-resolution.md, so the property guide can resolve the property library from the consumer repository. Refs: #15709 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
…rite Delete context/property/python.md, typescript.md and csharp.md (87 lines), the language routing table and the pointer to the Hypothesis team's command. The property library now comes from the consumer repository in every language, by the steps in the plugin's synced ecosystem-resolution copy; one line names the audit adapters' property_markers and the extend key. Edit the Trail of Bits upstream record's property-based-testing row, drop the deleted page's docs-anchor baseline row, and drop the deleted C# page from the landscape record's CsCheck edge. Refs: #15709 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
The testing carrier makes reference/ecosystem-resolution.md byte-identical in two plugins, so the cross-plugin source registry lists the cluster and names sync-shared-copies.sh as its drift check. Refs: #15709 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
…g-write-property-pages-pilot
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review: PR #16395, removing the per-language property pages from
|
|
claude-review reviewed Code review: refactor(testing): cut the per-language property pages from testing:write (pilot)I read the whole diff: all 34 listed files, plus the deletions and renames. The cut holds together: I found no blocking issues and one advisory finding. What I checked
Finding (advisory)
Not applicable
Author-claimed, not checked by me. The eval results, the sync-check pass ("All 905 registered copies match"), the lint and link checks, and the 79.76 USD eval spend are all stated in the PR body. I did not run any of them. No adversarial verifier subagents ran on this review. Verifier dropped 0 of 1 candidates. |
|
The pr-verify verifier failed head What it wrote (26 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
Closes #15709
Summary
Problem:
/testing:writeshipped three per-language property-testing pages, so its property guidance was only as wide as the languages someone had written a page for. Intent: this is the pilot that proves the cutting route before any other cut depends on it./testing:writeno longer ships per-language property pages or a routing table. Its property guidance applies to every language through the testing plugin's synced copy of the generic ecosystem-resolution text. The eval record is below: the two-version compare shows no loss on both models, and the sensitivity control did not move the score. Thedo-not-mergelabel this PR opened with was removed once that record was in.Fix
property_markersand theextendkey.The issue counts 17 testing write cases; 18 exist, so the compare covers all 18 plus the 3 new ones.
Sensitivity control: predicted outcome (written before the first paid batch)
This pull request deletes three whole pages (
skills/write/context/property/python.md,typescript.mdandcsharp.md), so its proof is a sensitivity control (the whole-page clause in/evals:plugin-eval's reading-results reference, "Detection control"). The control replaces the three pages with plausible but wrong versions, keeps every other file, and runs that copy beside a before copy onsonnet, 3 runs per side, over the property cases the ceiling check keeps. It moves the score when the noise report calls acase drop, or when the mean case score falls by 0.15 or more.Prediction: the wrong pages move the score, by the registered test (a
case drop, or a mean fall of 0.15 or more). The expected route is acase dropin one or more ofwr-property-dependent-input,wr-property-past-bugandwr-ts-async-property-marked; a move by either part of the test, in any case, confirms the prediction.Evidence for the prediction:
context/property.md, whose "Language references" section says to identify the language of the code under test and read only its page. Five of the seven property cases are Python or TypeScript repositories, so a run that follows the route readspython.mdortypescript.md.context/property.mditself, which both copies keep, states the right rule for dependent inputs and fixed examples, so a run that reads both may follow the guide over the page. And the ceiling check may drop those three cases if the model passes them without the plugin.Confidence: low. No run on record shows whether a property case reads its language page. The prediction rests on the routing instruction and on where the graders look, not on a measurement. If the ceiling check drops all three cases above, the control is likely not to move the score, because no remaining case grades what the wrong pages change.
What each outcome means (fixed by #15709 before any run):
Observed outcome: the wrong pages did not move the score. The prediction was wrong. Over the 6 property cases the ceiling check kept, on sonnet, 3 runs per side: before mean 0.861, wrong-page mean 0.843, a fall of 0.019 against the 0.15 bar, and no case drop. 7 of the 18 wrong-page runs read a wrong page. The control is small: 6 cases at 3 runs a side, with a 95% interval on the change of -0.12 to +0.08, so a real fall under that size would not show; and one grader moved (
read-propertyonwr-round-trip-propertypassed 3 of 3 before and 1 of 3 with the wrong pages). This cut does not rest on the control alone: the two-version compare below shows no loss, which is what the cut would have shipped on had the control moved the score. By the meaning fixed before any run, the model ignores the page, and this result is the evidence for this cut; each later whole-page cut still runs its own control.Two-version compare (20 cases, 3 runs per side, margin 0.05): no loss on both models, no case drop, every file valid.
On sonnet the interval's lower end sits at the margin in the registered reading (runs where the skill loaded); the all-runs reading printed beside it falls just below the margin. The verdict is judged on the registered reading.
Verification
The eval case validator reports no failure on the testing suite; the shared-copy sync check passes ("All 905 registered copies match their canonical sources."). Both run again by the session that opened this PR.
The carrier bump check, both changelog fragment checks, the changed-skills check, markdownlint, the offline link check and the pre-push checks pass.
Dogfooding step: the eval run in this repository, registered before any run in three stages: a ceiling check (7 property cases with and without the plugin, sonnet), the two-version compare (21 cases less any the ceiling check drops, sonnet and opus, 3 runs per side, margin 0.05), and the sensitivity control above. 318 runs were made against the issue's budget of 340 (the ceiling check dropped one case,
wr-ts-async-property-marked, which scored 1.000 without the plugin). Every batch was valid, with no usage-limit stop and no rerun; 79.76 USD list price in all.The runs measured head da23783. Main was merged in afterwards with no conflict. That merge brought two one-line rewordings of the
/tdd:principlespointer intoskills/write/SKILL.mdandskills/write/context/write.md; they are main's change, sit on both sides of this PR's diff, and no eval case file changed. This PR's own change is what was measured.Left out: the issue's two measuring runs, which were not needed; a rerun at the merged head.
Related
Remaining
🤖 Generated with Claude Code