Repository navigation
test(source-control): grade the setup case's team file by the confirmed pattern - #11298
Conversation
…ed pattern The setup-writes-only-confirmed-change case checked only that the team file exists, so a reply that wrote the default convention scored full marks. A regex grader now reads docs/conventions/source-control.yaml for the confirmed ticket-prefixed subject_pattern, and each of the case's four graders gets pass and fail samples. Refs: #7148 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis 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. |
|
claude-review reviewed Eval-only change. It adds a regex grader that checks the team file holds the confirmed ticket-prefixed Regex tracing found one minor issue: a sample marked "pass" is invalid YAML (inline comment below). The change otherwise looks sound. The unclosed-quote, wrong-key, dropped-ticket-number and empty-file fail samples all fail the regex as intended. critical-findings: 1 Findings not posted inline (their lines are not in the diff):
|
|
claude-security-review reviewed No security issues found in this pull request. The change adds one eval grader (
critical-findings: 0 |
Refs: #7148
Summary
The
setup-writes-only-confirmed-changeeval case only checked that the team file exists. A reply that wrote the default convention instead of the one the user confirmed got full marks. A host run of the #7148 paid evals showed the case had no with/without difference until this grader was added.Fix
team-file-holds-confirmed-patternreadsdocs/conventions/source-control.yamland requires the confirmed ticket-prefixedsubject_pattern.validate-cases.pychecks offline.Verification
claude plugin evalon the source-control plugin (Claude Code 2.1.314),--tag babysit-prs babysit-loop setup --runs 3, both arms, subscription login: setup scored 1.00 with the plugin and 0.75 without, in all 3 runs of each arm.validate-cases.py plugins/source-control/evals: no FAIL. Swapping the new grader's pass and fail samples makes it FAIL on every sample, so the samples are checked.scripts/check-affected.sh --testson the committed head: 12 passed, 4 skipped.run-validity.pyverdict for the paid run is INVALID, for reasons outside this change (fix(evals): run-validity's session-started check fails runs whose Bash calls exit non-zero with output #11290, and a with-arm permission denial in the babysit-prs case). Details are in the test(source-control): add eval cases for babysit-prs, babysit-loop and setup #7148 host-run record.Related
ghin the no-plugin arm and in babysit-loop: test(source-control): babysit eval cases reach the real gh in the no-plugin arm and in babysit-loop #11289.🤖 Generated with Claude Code