Repository navigation
validator: a rubric grader for text tasks, and stop and token limits taken from the arena - #151
Merged
Merged
Conversation
…taken from the arena
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.
Text tasks such as Claude Code side jobs can now be scored without new code per task.
rubric_text grader. The rules live in each item's
label.rubric:format: jsonrequires a JSON object; code fences are stripped first.fieldnames the text being judged.equalsandset_equalscompare fields exactly.text_equalscompares plain text.wordsandcharsbound the length.include_anyrequires at least one key term;excludebans strings such as refusals.case: sentenceallows capitals only on the first word, on acronyms, on mixed case words, and on words listed inproper.An item passes when every check passes. The metric is the share of checks passed. A label with no rubric, or a rubric with no checks, raises
GradeError, so a data mistake cannot pass silently.Generation limits from the arena. The model and bare harness runs used
stop=("\n\n", ";")and 256 tokens, which only suit SQL and would cut a summary short. They now readdefinition.generation.stopanddefinition.generation.max_tokens, defaulting to the old SQL values, so sql_gen_s1 is unchanged.First user: the Claude Code asides arena on testnet. The exact session title prompt from Claude Code 2.1.159 maps to a rubric with
format json,field title,words [3, 7]andcase sentence.🤖 Generated with Claude Code