Skip to content

feat(efficacy): a self-test check for eight rules that had none - #123

Merged
braboj merged 1 commit into
mainfrom
feat/rule-checks
Nov 4, 2026
Merged

braboj merged 1 commit into
mainfrom
feat/rule-checks

Conversation

@braboj

@braboj braboj commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Eight of the ten rules in #109 now have a self-test check; two are marked untestable, and one stays open.

Rule Check Module
FR-05-04 web tools refused "a trial may not fetch or search the web" harness.py
FR-07-03 harness configuration "ruff and mypy take the harness's configuration, not the trial's" score.py
FR-07-07 lock conflict "a test dependency the lock refuses leaves coverage missing" score.py
FR-08-02 shuffled, map apart three checks on the order and the map's place judge.py
FR-09-05 13 items, every arm "the checklist holds 13 items and reads none as any arm" score.py
FR-10-08 drifted base refused "a base archive with another sha256 is refused" control.py
FR-13-02 generation record "every generated arm's file has its generation record beside it" generate_arm.py
FR-02-07, FR-02-08 Untestable: no script applies them coverage.md
FR-09-06 design probes Still missing: probes.py has no self-test #109 stays open
  • The two score.py ruler checks were shown to fail with their rule removed.
  • judge.py gains judging_order() and unblinding_map(); behaviour unchanged.
  • Trace: 87 checked, 6 untestable, 1 missing.

Part of #109.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xPFWEQr1bipxbbKBRF

Each rule a script already followed now has a check that fails without
it: the web tools refused, ruff and mypy on the harness's configuration,
coverage missing when the lock refuses a test dependency, the judging
order the seed's alone with the map out of the judge's reach, the
checklist's 13 items read alike on every arm, a drifted control base
refused, and a generation record beside every generated arm. The judge's
order and map path move into small functions the check can call.

FR-02-07 and FR-02-08 are marked untestable: no script applies them.
FR-09-06 waits for probes.py to have a self-test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xPFWEQr1bipxbbKBRF
@braboj

braboj commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

Codex review, round 1 (gpt-6-astra, high): no findings.

No actionable regressions were found. The targeted new checks, generator and control self-tests, and pyflakes passed; the full judge self-test was blocked by an environment-dependent process-listing check.

The judge self-test passes in CI on both runners. The loop ends here; ready for the owner's review.

@braboj
braboj merged commit edea33c into main Nov 4, 2026
2 checks passed
@braboj
braboj deleted the feat/rule-checks branch November 4, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant