Repository navigation
fix(core): default the judge to gpt-5.6-sol at medium reasoning effort - #222
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
mattrossman
approved these changes
Aug 21, 2026
mattrossman
left a comment
Collaborator
There was a problem hiding this comment.
Sanity checked running claude-code-sonnet-5 × investigate-security-001-public-table and judge still worked as intended
czenko
added a commit
that referenced
this pull request
Aug 21, 2026
) Ref DOCS-1274 ## Problem `build-docs-002-rls-guide` measures whether the RLS guide produces good RLS. Tests are the bonus. The coverage judge graded test *craft*, and it was the eval's only unreliable check. An eval passes only when every check passes, so one bonus check turned the whole doc red while all 40 RLS checks were green. Four runs against the [#49276 preview](supabase/supabase#49276): | Sample | Judge config | Score | Judge verdict on audit | | --- | --- | --- | --- | | 1 | 5.5, high | 43/43 | Correct. Thorough suite, passed it | | 2 | 5.5, high | 42/43 | Correct. `lives_ok` with no state checks | | 3 | 5.6-sol, medium | 41/43 | Correct. Same, plus a broken assertion | The judge was right every time. Its verdict tracked whichever suite the agent wrote that run, which varies. [#222](#222) raising the default model and effort did not change that, because the variance was never in the judge. ## Solution Keep the check. Scope the rubric to what the bonus is worth. The bar is now one assertion against an application table, one allowed case, one denied case, and a role or identity set at least once. Ties go to a pass. Every craft requirement that produced the reds is dropped, and each is named in the rubric as explicitly acceptable: | Was required | Now | | --- | --- | | All six tables, by name | Covering only some is fine | | Allow and deny for each of select, insert, update, delete | One allowed and one denied anywhere | | Allowed write must be shown to change state | `lives_ok` alone is fine | | Both `anon` and `authenticated` | One role is fine | | Switch role and identity per case | At least once | | `using`-filtered row asserted intact | Not required | Renamed to `the pgTAP tests exercise access control on the application tables rather than standing in as placeholders`, since the old name claimed far more than the rubric now asks. ## What it still catches A suite that tests nothing. Eight `select ok(true)` placeholders, assertions that never touch the application's tables, or a suite with no allowed case or no denied case anywhere. That floor is the reason to keep a judge here rather than delete the check. ## Manual testing 1. Confirm the change typechecks and formats. ```bash pnpm typecheck && pnpm biome check evals ``` 2. Label this PR `run-evals-changed` and confirm the coverage check passes on suites that previously failed it. Samples 2 and 3 above are the cases to beat: both were rejected only for `lives_ok` and partial coverage, which the rubric now accepts. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This was referenced Aug 25, 2026
fix(evals): remove synthetic system prompt hints, install skills natively per harness (AI-1034)
#180
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes AI-1112
Problem
judge()defaults togpt-5.5atreasoningEffort: 'low'. Those defaults were set when 5.5 was the newest model. Judging is the part of a scorer that needs the most reasoning, andlowis below OpenAI's recommended starting point ofmedium.Per Matt's note, the fix belongs in the default rather than in per-eval overrides.
Solution
DEFAULT_JUDGE_MODEL:gpt-5.5togpt-5.6-sol.reasoningEffort:lowtomedium.textVerbosityunchanged atlow.Supersedes #220, which set
higheffort as a per-eval override onbuild-docs-002-rls-guide. That PR should close in favor of this one.Manual testing
Confirm the change typechecks and formats.
pnpm typecheck && pnpm biome check packagesDispatch a full refresh from the Actions tab and compare judge-backed checks against the previous nightly. The suites worth watching are the ones whose only judge check is pass/fail on a report, such as
investigate-security-001-public-table.