Skip to content

Normalize EVMbench scores at the nanoeval boundary - #158

Open
sylvesterkaczmarek wants to merge 2 commits into
openai:mainfrom
sylvesterkaczmarek:fix-evmbench-normalize-nanoeval-score
Open

Normalize EVMbench scores at the nanoeval boundary#158
sylvesterkaczmarek wants to merge 2 commits into
openai:mainfrom
sylvesterkaczmarek:fix-evmbench-normalize-nanoeval-score

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Summary

  • normalize EVMbenchGrade.score to score / max_score
  • keep raw EVMbench score and max score unchanged in evmbench_result
  • mark the wrapper grade continuous and handle zero-max-score results safely

Nanoeval defines FinalResult.correct as grade.score == 1. EVMbench currently puts its raw count/point score in that wrapper field, so a perfect result such as 4/4 is treated as incorrect because 4 != 1.

The raw benchmark metrics already live in evmbench_result.score and evmbench_result.max_score. Normalizing only the nanoeval wrapper preserves those values while restoring the intended generic correctness behavior for logging and progress reporting.

Regression coverage checks perfect, partial, and zero-max-score cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant