Skip to content

Preserve provider errors from failed benchmark grading - #1

Merged
jrh-mann merged 2 commits into
mainfrom
fix/grader-error-details
Sep 15, 2026
Merged

jrh-mann merged 2 commits into
mainfrom
fix/grader-error-details

Conversation

@jrh-mann

Copy link
Copy Markdown
Contributor

When a benchmark grader fails, the auditor currently truncates the exception to 500 characters. A long model request can consume that space and hide the provider error, as happened with all 23 SQAV pilot grader probes.

Follow explicit exception causes and preserve the underlying error message. The failure remains a recoverable tool error so the auditor can record the blocked check.

Validation: all nine grade-tool tests pass, including a regression with a long request wrapper hiding the underlying failure. Changes are limited to error reporting and its existing test.

@jrh-mann
jrh-mann marked this pull request as ready for review September 15, 2026 14:40
@jrh-mann
jrh-mann merged commit a0067b1 into main Sep 15, 2026
1 of 2 checks passed
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