Skip to main content

Overview

A verdict is the pass or fail result of one check on one trace: an assertion or a grader. Every verdict carries its reason, and Bitfab, a coding agent, or a person can write one. Reviewing by hand is how you give a check its correct answers. Use it to:
  • Record the right answer on traces before an experiment compares replays against them
  • Check whether a grader agrees with you, by giving verdicts on traces it has not judged
  • Find patterns in the traces that fail
Verdicts are always recorded on one assertion or one grader, never on a whole trace. A trace’s overall result is worked out from its verdicts.

Opening a Trace

Open a trace function’s Traces page and click a trace to open its panel. Traces nobody has judged show a No verdict pill. With the panel closed, ↑ and ↓ (or j and k) move through the list and Enter opens a trace. With the panel open: The panel shows the trace’s span tree, with each span’s input, output, errors, and timing. Its header has previous and next buttons, a picker for the trace’s categories, and a Scenario button that opens the trace’s scenario once one is built.

Recording verdicts

The Verdicts and Assertions toggle in the panel opens the side panel for recording verdicts. Click the active one to close it. The side panel lists one row per check: one per grader when graders apply to the trace, and otherwise one per approved assertion. The strip at the top reads how many checks have a verdict, with a Re-run graders button.
  1. Click + Add verdict on a row.
  2. Choose Pass or Fail.
  3. Optionally say why in the note box.
  4. Click Next grader or Next assertion to move on, or Done on the last row.
Click the selected Pass or Fail again to remove your verdict.

Verdicts that stand

Some verdicts cannot be changed by hand. When you disagree with one of these, fix the check rather than the verdict. Rewrite the assertion so the right answer is clearer, or tighten the grader’s criteria and re-run it. Each grader row has its own Re-run button. An Abstained badge means the judge could not find the evidence for the part of the run the assertion checks. It counts as a fail.

Who wrote a verdict

Each verdict records who wrote it: Bitfab’s judge, a person, or a coding agent. When an assertion has more than one, the judge’s counts first, then a person’s, then a coding agent’s. Your coding agent writes verdicts with save_agent_verdicts, and records yours with save_human_verdicts. See Verdicts on assertions.

Building Evaluation Datasets

Use reviewed traces to build the sets you evaluate against:
  1. Find the traces you want, by name, caller metadata, or replay state. See Searching and filtering.
  2. Ask your coding agent to add them to a dataset.
  3. Write and approve assertions on the ones whose exact answer matters, and attach graders for the properties every trace should have.
  4. Record verdicts on the original traces, so each experiment has something to compare its replays against.

Best Practices

  • Review both passes and failures. A check that only ever sees failures cannot show you when it is too strict.
  • Say why. A note on a verdict is what the next reviewer, or your coding agent, reads to understand it.
  • Fix the check, not the verdict. A verdict that stands is telling you the assertion or grader needs work.
  • Start with the most impactful function. Focus review on the trace function with the highest volume or the most costly failures.