-
Notifications
You must be signed in to change notification settings - Fork 1
feat(llm): add evidence-gated model evaluation pipeline (#2710) #2740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
80d805d
feat(llm): tier-based slots + cost floor in model selection (#2710)
stranske 7d01e86
Build evidence-gated verifier model pilot
codex-automation bda6143
Route model pilot through shared API client
codex-automation 04dd410
Harden model evaluation network paths
codex-automation 4eae982
Keep consumer model helpers aligned
codex-automation 584a437
Close model evaluation evidence gaps
codex-automation 0ee4842
chore(codex-autofix): apply updates (PR #2740)
github-actions[bot] 0d80d90
Remove unrelated autofix telemetry update
codex-automation f122c9b
Sync consumer API client helper
codex-automation 1169d5a
chore(codex-autofix): apply updates (PR #2740)
github-actions[bot] 30ca94d
Keep autofix telemetry out of PR scope
codex-automation 71bb3ae
Fail closed on unresolved model profiles
codex-automation 2b575bc
chore(codex-autofix): apply updates (PR #2740)
github-actions[bot] 49e9dcd
Stop abandoned Gate runs from dispatching autofix
codex-automation 7e51a1c
chore: sync consumer templates
github-actions[bot] 1181153
Trigger final checks after template sync
codex-automation File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: Maint 78 Model Evaluation Pilot | ||
|
|
||
| on: | ||
| workflow_dispatch: {} | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| models: read | ||
|
|
||
| jobs: | ||
| pilot: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 120 | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7 | ||
| - name: Run paired 30-case pilot | ||
| env: | ||
| # Cross-repo read token; github.token is scoped to Workflows only. | ||
| GH_TOKEN: ${{ secrets.OWNER_PR_PAT }} | ||
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
| CLAUDE_API_STRANSKE: ${{ secrets.CLAUDE_API_STRANSKE }} | ||
| run: | | ||
| uv run --extra dev python tools/run_model_eval_pilot.py --output pilot-results.json | ||
| - name: Summarize pilot | ||
| if: always() | ||
| run: | | ||
| { | ||
| echo '## Verifier model pilot' | ||
| echo 'The pilot narrows candidates only; approval still requires the 75-case corpus.' | ||
| echo '```json' | ||
| jq '{schema, corpus_version, rows:(.results|length), | ||
| errors:([.results[]|select(.schema_valid == false)]|length)}' \ | ||
| pilot-results.json | ||
| echo '```' | ||
| } >> "$GITHUB_STEP_SUMMARY" | ||
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 | ||
| if: always() | ||
| with: | ||
| name: verifier-model-pilot-${{ github.run_id }} | ||
| path: | | ||
| pilot-results.json | ||
| if-no-files-found: error |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,20 @@ | ||
| { | ||
| "purpose": "Auxiliary judge/evaluator slots only; do not treat these as coding-worker execution profiles.", | ||
| "purpose": "Auxiliary judge/evaluator provider preferences. Model versions resolve from explicit, reviewed registry decisions.", | ||
| "slots": [ | ||
| { | ||
| "name": "slot1", | ||
| "provider": "openai", | ||
| "model": "gpt-5.4" | ||
| "profile": "verifier-balanced" | ||
| }, | ||
|
stranske marked this conversation as resolved.
|
||
| { | ||
| "name": "slot2", | ||
| "provider": "anthropic", | ||
| "quality_tier": "T5" | ||
| "profile": "verifier-balanced" | ||
| }, | ||
| { | ||
| "name": "slot3", | ||
| "provider": "github-models", | ||
| "model": "codex-mini-latest" | ||
| "profile": "verifier-balanced" | ||
| } | ||
| ] | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "candidates": [ | ||
| {"provider":"openai","model_id":"gpt-5.4","role":"incumbent"}, | ||
| {"provider":"openai","model_id":"gpt-5.6-terra","role":"candidate"}, | ||
| {"provider":"openai","model_id":"gpt-5.6-sol","role":"candidate"}, | ||
| {"provider":"anthropic","model_id":"claude-opus-4-6","role":"incumbent"}, | ||
| {"provider":"anthropic","model_id":"claude-sonnet-4-6","role":"candidate"}, | ||
| {"provider":"github-models","model_id":"codex-mini-latest","role":"incumbent"} | ||
| ] | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| { | ||
| "schema": "workflows-verifier-pilot-corpus/v1", | ||
| "corpus_version": "verifier-balanced-pilot-2026-07-12", | ||
| "purpose": "Paired 30-case pilot used to narrow model candidates before the 75-case approval benchmark.", | ||
| "adjudication_rule": "PASS requires durable completion disposition; NON_PASS requires a verifier-driven follow-up or unresolved completion gap.", | ||
| "cases": [ | ||
| {"case_id":"workflows-2744","repo":"stranske/Workflows","pr":2744,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"workflows-2746","repo":"stranske/Workflows","pr":2746,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"workflows-2747","repo":"stranske/Workflows","pr":2747,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"pension-704","repo":"stranske/Pension-Data","pr":704,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"pension-702","repo":"stranske/Pension-Data","pr":702,"expected_verdict":"PASS","category":"stale-verifier-claim"}, | ||
| {"case_id":"workflows-2755","repo":"stranske/Workflows","pr":2755,"expected_verdict":"NON_PASS","category":"follow-up-required"}, | ||
| {"case_id":"workflows-2756","repo":"stranske/Workflows","pr":2756,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"workflows-2757","repo":"stranske/Workflows","pr":2757,"expected_verdict":"PASS","category":"review-thread-debt"}, | ||
| {"case_id":"pension-708","repo":"stranske/Pension-Data","pr":708,"expected_verdict":"PASS","category":"stale-verifier-claim"}, | ||
| {"case_id":"pension-711","repo":"stranske/Pension-Data","pr":711,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"pension-712","repo":"stranske/Pension-Data","pr":712,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"pension-713","repo":"stranske/Pension-Data","pr":713,"expected_verdict":"PASS","category":"stale-verifier-claim"}, | ||
| {"case_id":"pension-714","repo":"stranske/Pension-Data","pr":714,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"manager-1408","repo":"stranske/Manager-Database","pr":1408,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"manager-1411","repo":"stranske/Manager-Database","pr":1411,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"manager-1407","repo":"stranske/Manager-Database","pr":1407,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"manager-1412","repo":"stranske/Manager-Database","pr":1412,"expected_verdict":"PASS","category":"review-thread-debt"}, | ||
| {"case_id":"fine-art-237","repo":"stranske/Fine-Art-Archive","pr":237,"expected_verdict":"NON_PASS","category":"follow-up-required"}, | ||
| {"case_id":"fine-art-244","repo":"stranske/Fine-Art-Archive","pr":244,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"fine-art-255","repo":"stranske/Fine-Art-Archive","pr":255,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"fine-art-256","repo":"stranske/Fine-Art-Archive","pr":256,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"fine-art-257","repo":"stranske/Fine-Art-Archive","pr":257,"expected_verdict":"NON_PASS","category":"follow-up-required"}, | ||
| {"case_id":"inv-man-768","repo":"stranske/Inv-Man-Intake","pr":768,"expected_verdict":"PASS","category":"stale-verifier-claim"}, | ||
| {"case_id":"inv-man-781","repo":"stranske/Inv-Man-Intake","pr":781,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"inv-man-778","repo":"stranske/Inv-Man-Intake","pr":778,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"inv-man-776","repo":"stranske/Inv-Man-Intake","pr":776,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"inv-man-774","repo":"stranske/Inv-Man-Intake","pr":774,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"trip-1494","repo":"stranske/trip-planner","pr":1494,"expected_verdict":"PASS","category":"stale-verifier-claim"}, | ||
| {"case_id":"lms-393","repo":"stranske/learning-management-system","pr":393,"expected_verdict":"PASS","category":"clean-pass"}, | ||
| {"case_id":"workflows-2403","repo":"stranske/Workflows","pr":2403,"expected_verdict":"NON_PASS","category":"missing-acceptance-criterion"} | ||
| ] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.