Skip to content

Skip evaluation checks that have nothing to compare with - #8

Merged
aymanazeem merged 2 commits into
mainfrom
fix/eval-skip-checks
Nov 30, 2026
Merged

aymanazeem merged 2 commits into
mainfrom
fix/eval-skip-checks

Conversation

@aymanazeem

Copy link
Copy Markdown
Owner

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

  • 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, and the dry run says how many would be skipped.
  • The wind question follows the panel. If a wind project's extracted cost is above $300 per kW, the check is that the answer names it. Otherwise the check is that the answer says there is none.
  • The tests check that each cost check passes a right answer as well as failing a wrong one. They also check 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.
  • The README's evaluation paragraph says which checks are skipped and what un-skips them. The Quickstart's "Adding a report" example now runs make extract as well as make embed. The item is removed from future work.

Verification

  • make test: 166 passed, offline (160 on main plus 6 new).
  • Evaluation dry run on the real panel (python -m tests.eval_questions): "6 questions wired" and "4 checks would be skipped, with nothing in the panel to compare with yet."
  • I planted five bugs one at a time, and each made a test fail: dropping the wind filter, a top-project check that always fails, a component check that uses the cheapest project's total, an AF1-236 check wired to a zero total, and the plural used for a single skipped check.

Review

An independent agent reviewed the first commit. The second commit fixes what it found:

  • The pass cases were untested, so a check that always failed would have gone unnoticed.
  • The wind filter was untested.
  • The README said AF1-236's check needs only the report, when it also needs its costs extracted.
  • The skip reason and the wind check's label were worded loosely.

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.

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.
@aymanazeem

Copy link
Copy Markdown
Owner Author

Evidence for 3d0a950

  • CI: run 46521037457 passed checks (3.11) and checks (3.14). The timing API reports 0 billable milliseconds for both jobs.
  • Tests: make test passes offline, 166 tests, on Python 3.13.
  • Dry run: on the real panel, the evaluation prints "6 questions wired" and "4 checks would be skipped, with nothing in the panel to compare with yet."
  • Planted bugs: five, planted one at a time, each made a test fail. They were dropping the wind filter, a top-project check that always fails, a component check that uses the cheapest project's total, an AF1-236 check wired to a zero total, and the plural used for one skipped check.
  • Review: an independent agent reviewed the first commit. The second commit fixes its findings, and I reviewed the full diff again myself.
  • OpenAI: no call was made, and nothing was spent. The paid evaluation hasn't run.

@aymanazeem
aymanazeem merged commit 59bc79a into main Nov 30, 2026
2 checks passed
@aymanazeem
aymanazeem deleted the fix/eval-skip-checks branch November 30, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant