LEVEL 3 · ENGINEER

Harness Bench

Compare baseline, error-retry and evidence policies against the same ordered cases and model configuration. Count actual calls, reject incomparable receipts, replay finite recordings or call a configured HTTP model.

4 stages~8 hoursGocore
Load unseen benchmark casesDefine exactly what a correct answer meansRun a harness under a call budgetCompare runs on equal denominators
YOU END UP WITH

Compare baseline, error-retry and evidence policies against the same ordered cases and model configuration. Count actual calls, reject incomparable receipts, replay finite recordings or call a configured HTTP model.

USEFUL FOR
  • Decide whether retries or supplied evidence improve your assistant under a fixed call budget
  • Export reviewable per-call traces with dataset and model receipts
PROJECT OUTLINE

Harness Bench in 4 stages

Compare harness behavior under the same tasks and call budget.

  1. Load unseen benchmark cases

    Freeze the cases before comparing policies.

    starter · ~2 hours · Go

    JSON fieldsCase budgetUnique IDsHeld-out records
  2. Define exactly what a correct answer means

    Define the answer contract before seeing the scores.

    core · ~2 hours · Go

    Normalize whitespaceLowercasePreserve contentExact equality
  3. Run a harness under a call budget

    Spend calls on a policy, not on answer leakage.

    core · ~2 hours · Go

    Prompt-only inputCharge attemptEvaluate answerNamed terminal state
  4. Compare runs on equal denominators

    Prove the runs are comparable before ranking them.

    core · ~2 hours · Go

    Counter invariantsSame dataset sizeStable rankingScoped measurement

Lessons this project uses

All projects · Course catalog · Source on GitHub