Repository navigation
Conversation
The final-assertion verdict is written at inference, before any verifier runs. getSampleModelStatus returned 'fail' whenever the DB and assertion verdicts weren't both true, so a case still being scored, or whose DB verifier failed, counted as a failure in the run cards, the outcome counts and the failure filters. summary.py and the analytics panel count these cases as unscored. getSampleModelStatus now returns 'unscored' when a required verdict is missing and no recorded verdict is false. getCellOutcome keeps calling a case with a verifier error 'error', and the run card leaves unscored cases out of its denominator, as it does for skipped ones.
Use the evaluator’s complete-case rules for task outcomes. Carry verifier status from saved results and CSVs into the task list, inspector and analytics so unfinished scoring cannot inflate failures.
Read certified aggregates and their exact case files together. Recover missing legacy verdicts using the evaluator's scalar, vote, and text precedence, and keep setup and scoring diagnostics separate from completed verdicts.
|
Thanks for catching this. Your change fixes the case where the DB verdict is missing. I added a follow-up so the run card, task list, and Analytics all use the evaluator’s definition of a fully scored task. An assertion can already be I also fixed a related issue when reopening results. For a certified run, the viewer now uses the exact result files named in its final report. A newer rerun in the same directory could previously turn a certified 1/1 pass into a displayed 0/1. The score, trajectory, and DB diff now all come from the same attempt. I checked six saved runs covering 402 scored cases. The viewer matched the evaluator on all six. All 338 results tests and 38 frontend tests passed locally. |
What this changes, and why
The results viewer counts a case with no DB verdict as a failure. The final-assertion verdict is written into the result file at inference (
prepare_inference_inputs), before any verifier runs. So while a run is being scored, or when the DB verifier fails (for example on quota), the record hasfinal_assertion_verdict: trueand noverifier_dblevel_verdict.getSampleModelStatusreturns'fail'whenever the DB and assertion verdicts aren't bothtrue, andgetCellOutcomeonly reaches its "unscored" branch when no verdict at all is a boolean. These cases therefore show up as failures in:summary.py(model_statistics) and the viewer's own analytics panel count the same cases as unscored.Repro. I wrote three result files to a temporary run folder: a scored pass, a pass whose DB verifier errored (
verifier_dblevel_error), and an inputs-only record. I built the summary withbuild_unpublished_summary, loaded it withviewer.load_eval_data, and ran the frontend functions on the result.mainsummary.pygetCellOutcome(rater error / inputs-only)The change
getSampleModelStatus: any recordedfalseverdict is still'fail'. If DB or assertion is missing and nothing isfalse, it returns'unscored'instead of'fail'. This follows the analytics panel'scellOutcomeorder.getCellOutcome: a case with a verifier error is still'error'and one without verdicts is still'unscored', as the function's comment describes. This now also holds when the assertion verdict is present.StatsBar: unscored cases leave the denominator, as skipped and not-finished cases already do.results-viewer/static/is rebuilt with Node 20. Buildingmainthe same way reproduces the committed bundle byte for byte.One difference with
summary.pyremains, the same one the analytics panel already has: if the assertion verdict isfalseand the DB verdict is missing, the viewer says "fail" andsummary.pysays "unscored".Tests
utils.test.mjscover inference-time records, both throughgetSampleModelStatusand throughgetCellOutcome. Two tests fail onmainand pass here.node --test src/utils.test.mjs src/components/analytics/summary.test.mjs: 17/17 pass.pytest tests/unittests/multiverse/results/on macOS: 331 passed and 1 failed (test_run_layout.py::test_a_folder_is_decided_by_what_it_holds_not_by_its_name). That test fails onmaintoo, on macOS. No Python files change. I'm relying on CI for the full Linux suite.Checklist (see CONTRIBUTING.md)
uv run --extra apis pytest tests/passes. (Not run in full: macOS only, see above.)result_summary.csv,summary.pyand submissions are unchanged.)output/.