Repository navigation
Skip evaluation checks that have nothing to compare with - #8
Merged
Merged
Conversation
With no extracted costs, two of the evaluation's checks passed whatever the answer said: naming an empty "top project" and listing an empty ranking in order. Two others were dropped without a word. The wind question also assumed that no wind project has an extracted cost, which stops being true once a wind report is added. - A check whose figures the panel doesn't have yet is now a Skip with its reason. A real run prints it as [skip] and counts it apart from passes and failures. The dry run says how many would be skipped. - The wind question follows the panel: with a wind project above 300 dollars per kW it checks that the answer names it, and otherwise that the answer says there is none. - The README's evaluation paragraph says which checks are skipped and why, and the item is removed from future work. make test passes offline, with three new tests. The evaluation's dry run on the real panel reports that 4 checks would be skipped.
The tests now assert that each cost check passes a right answer as well as failing a wrong one, that the wind check ignores costly projects of other fuels, and that the AF1-236 check compares with an extracted total once there is one. Five planted bugs each now fail a test. The README says the AF1-236 check needs that report's costs extracted, not just the report added, and the Quickstart's example runs make extract. It also explains the wind check. The dry run counts one skipped check in the singular, and the skip reason says "above zero", which is what it tests.
Owner
Author
Evidence for 3d0a950
|
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.
Problem
The evaluation (
make eval) compares some answers with the extracted costs. With none extracted yet, two of its checks passed whatever the answer said (naming an empty "top project", and listing an empty ranking in order), and two others were silently dropped. The wind question also assumed that no wind project has an extracted cost, which stops being true once a wind report is added.What changes
Skipwith its reason. A real run prints it as[skip]and counts it apart from passes and failures, and the dry run says how many would be skipped.make extractas well asmake embed. The item is removed from future work.Verification
make test: 166 passed, offline (160 onmainplus 6 new).python -m tests.eval_questions): "6 questions wired" and "4 checks would be skipped, with nothing in the panel to compare with yet."Review
An independent agent reviewed the first commit. The second commit fixes what it found:
Not checked against OpenAI's live API
The owner has no OpenAI credits yet, so nothing here has run against the real agent: no evaluation question has been put to OpenAI, and no check has been scored on a real answer. Every check was tested offline against hand-written answers. The paid evaluation (
make eval DRY_RUN=false) runs once credits are available.