Tell a benchmark outage apart from a quality regression - #129
Merged
Conversation
The v0.8.5 release gate blocked on "live report has no scored cases; nothing to compare". Every one of the 70 cases had failed with a provider error, at zero tokens and zero cost, about three minutes after the run started. Nothing in that message names a credential, and the run step itself exited 0, so the only signal that the benchmark never reached the model was an empty report arriving at the comparison step. The live run now exits non-zero when it scores no case, and says that a run which measured nothing is an operational failure rather than a quality result. The comparison reports the same distinction, since whoever reads a blocked release needs to know whether the model got worse or was never called. The credential check now probes the key instead of testing that the variable is non-empty, and rejects one whose remaining credit is below the cost of a single run. A present-but-rejected key previously spent three minutes failing every case before surfacing anything.
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.
The v0.8.5 release gate blocked with "live report has no scored cases; nothing to compare". Every one of the 70 cases had failed with a provider error at zero tokens and zero cost, roughly three minutes in, but the run step exited 0 and nothing in the message named a credential, so the only signal that the benchmark never reached the model was an empty report arriving at the comparison step. The live run now exits non-zero when it scores no case and states that a run which measured nothing is an operational failure rather than a quality result, and the comparison reports the same distinction, because whoever reads a blocked release needs to know whether the model got worse or was never called. The credential step now probes the key rather than testing the variable is non-empty, and rejects one whose remaining credit falls below the cost of a single run.