Repository navigation
fix(config): warn about ignored case judge fields - #403
Merged
Merged
Conversation
A case-level judge block with no type was replaced by the eval judge, so its rules, timeout and other fields were ignored and validate passed. ResolveJudgePlan, used by both validate and run, now reports "case judge.type is required when overriding the eval judge", the same check it already made when the eval configures a judges list.
karanb192
requested review from
JHWang-1997,
hittyt and
zpzjzj
as code owners
November 13, 2026 10:40
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. |
Collaborator
|
I suggest preserving backward compatibility in this PR:
Defaulting |
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 16, 2026
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.
Summary
When a case has a non-empty
judgeblock withouttype, skill-up keeps using the eval judge and ignores the case's judge fields.validateandrunnow warn about those ignored fields while preserving that fallback behavior.For example,
judge: {timeout_seconds: 30}produces a warning and continues using the eval judge's timeout. Settingtypeexplicitly applies the case override.Details
judgeslist.Test plan
Checked after merging current main, using Go 1.26.10 and the pinned lint tools:
make verifymake testmake e2enpm run docs:buildRegression tests load case YAML and verify warnings and resolved judge settings for rules, timeouts, zero values, empty and null fields, omitted and empty blocks, YAML merges, and typed overrides. Separate cases verify that eval-level
judgeslist validation is unchanged.