Repository navigation
feat: add prbench benchmark - #207
Open
abhinav-pola wants to merge 5 commits into
Open
abhinav-pola wants to merge 5 commits into
abhinav-pola wants to merge 5 commits into
Conversation
Contributor
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
# Conflicts: # src/benchmarks/benchmark-config.ts # src/benchmarks/benchmark-meta.ts # src/benchmarks/registry.ts # src/cli/index.ts
# Conflicts: # src/benchmarks/benchmark-config.ts
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.
TL;DR
Adds
prbench, Scale AI's PRBench, as a Kepler benchmark. The model answers expert finance and legal conversations, and a grader model scores each answer against weighted expert rubric criteria.What changed?
src/benchmarks/prbench/ScaleAI/PRBenchfrom Hugging Face and validates every row.weight_class.mean_clippedandmean_normalized, broken down by split, field, topic and criteria category.graderModel, defaultopenai/gpt-6.2-solat high reasoning effort.subset:all(finance + legal, 1,100 tasks),finance,legal,finance_hardorlegal_hard.Why?
Adds a professional-reasoning (finance and legal) benchmark with expert rubrics.
How to test
The run should report a
prbenchrun-level score block, and each sample's explanation should contain per-criterion grades.Benchmark impact
This adds a new benchmark; no existing benchmark changes. Upstream grades with
openai/o4-mini, which OpenRouter no longer serves, so scores are not directly comparable with the paper. Upstream counts an unparseable grade as "not met". Here, after 3 invalid attempts the whole sample is skipped instead.Reviewer focus
benchmark.tsagainst upstream'sget_clipped_pointsandget_normalized_points.allsubset joins the finance and legal splits indataset.ts.Checklist
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work