Repository navigation
fix(web): jump to real failures, not partial scores - #20
Merged
Merged
Conversation
"Next failure" treated any score below full marks as a failure, so on a continuous benchmark it landed on the same trial as "Next" (93.1/100 counted as a failure while the one invalid trial in the batch sat further along the order). A failure is now a trial that actually failed: invalid or unknown evaluation, a solve run that did not complete, a missing score, or a zero score on a pass / fail benchmark. The benchmark's own score kind is passed in so a zero on a continuous metric is not mistaken for a failure either.
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.
What and why
"Next failure" treated any score below full marks as a failure, so on a continuous benchmark it landed on the same trial as "Next": trial
.2scoring 93.1/100 counted as a failure while the one invalid trial in the batch sat further along the order.A failure is now a trial that actually failed — invalid or unknown evaluation, a solve run that did not complete, a missing score, or a zero score on a pass/fail benchmark. The benchmark's own score kind is passed in, so a zero on a continuous metric is not mistaken for a failure either.
Validation
Checked in Chrome against a real daemon on
/bench/job-7f3a21/trials/job-7f3a21.1:Next failure→.2(score 93.1, valid).Next failure→.7, the only trial withevaluation: invalid(failure: agent_install);Nextstill goes to.2.packages/web/test/conversation.test.tsxnow assertsnextFailureisdrather thanbfor the same fixture, that a valid partial score is not a failure, that a zero is a failure on abinarybenchmark, and that a non-completed solve counts as a failure.pnpm verifypasses on CI (ubuntu-24.04 / Node 24.18): https://github.com/zjunlp/Orbit/actions/runs/45004261755/job/137152234329/procand no Docker, so the daemon suite is CI-only).