Repository navigation
Conversation
graceqi-g
requested review from
IsmailMehdi,
helloeve and
prernakakkar-google
as code owners
December 2, 2026 07:07
graceqi-g
added a commit
to graceqi-g/evalbench
that referenced
this pull request
Dec 2, 2026
graceqi-g
force-pushed
the
fix/eval-service-reporting-isolation
branch
from
December 2, 2026 07:20
de38af2 to
bcc97cd
Compare
graceqi-g
force-pushed
the
fix/eval-service-reporting-isolation
branch
from
December 2, 2026 18:44
bcc97cd to
74f91eb
Compare
Collaborator
Author
|
/gcbrun |
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
Split out from #729 per review feedback so
EvalServicereporter isolation can land independently of the BigQuery streaming change._build_reporters,_store_reports): Offloads reporter initialization into_process_results()on the worker thread pool and isolates both initialization and write (store/store_run_stats) errors per reporter. A failing reporter (e.g., BigQuery permission or quota error) no longer blocks healthy reporters (CSV, GCS artifacts) from writing their outputs.Eval()is called withoutsummary_in_response(the default, where the RPC returns onlyjob_id),_process_results(..., fail_on_reporting_errors=True)raisesRuntimeErrorif any configured reporter fails — matchingevalbench.pyCLI behavior — after running all remaining reporters and cleaning up temp files.summary(Evalwithsummary_in_response=True,Interact,AgentInteract) retain their completed evaluation scores and receive an explicitsummary["reporting_errors"]list./tmpcleanup: Wraps JSON temp-file reads intry/finallywithunlink(missing_ok=True)so KubernetesemptyDir/tmpfiles are always cleaned up, including onEmptyEvalResultErroror reporter failure.run_stats.csv) compatibility: Preservesexpected_trialsforwarding and invokesreporter.store_run_stats(run_stats_df)inside_store_reports()'s per-reportertry/except.Verification
PYTHONPATH="$PWD/evalbench:$PWD" SKIP_CLOUD_TESTS=true pytest evalbench/test/eval_service_reporting_test.py evalbench/test/run_stats_test.py evalbench/test/evalbench_test.py evalbench/test/agent_num_trials_test.py -vv(100 passed)pycodestyle evalbench/eval_service.py evalbench/test/eval_service_reporting_test.py --config=.pycodestyle(0 errors)Related: #729 (BigQuery streaming inserts)