# LossBench

> Scores money-touching agents on expected operational loss instead of accuracy — the third number, the one the business actually pays. pass^k, verifier-as-oracle ground truth, hash-chained decision ledger.

- Tags: AI, Evals, Backend
- Author: Caio Theodoro (https://caio.theodoro.dev/about.md)
- Canonical HTML: https://caio.theodoro.dev/projects/lossbench
- Source repository: https://github.com/caiotheodoro/lossbench
- Hugging Face: https://huggingface.co/collections/caiotheodoro/lossbench-more-accurate-37x-the-loss-6a8c69807b53da92bf38cd4f

---

Agents that touch money are scored on accuracy and on price. Neither catches the case that ends deployments: one bad decision with an outsized loss. An agent right 99% of the time and wrong once on a six-figure wire is worse than one right 95% of the time and never wrong badly.


Accuracy is the first number. Cost per token is the second. Expected operational loss — severity-weighted, calibrated, auditable — is the third number, and it is the one the business actually pays.


## What is built

- Verifier-as-oracle ground truth — no model inside the scoring loop
- pass^k reliability measurement over full decision trajectories
- Trajectory Proper Score and false-success detection — runs that look successful and are not
- An append-only, hash-chained audit ledger: record, calibrate, decide, escalate, replay
- Verticals: reconciliation, payment repair, settlement risk

The ledger is the point that survives contact with production: a benchmark number you cannot replay is a claim, and a decision you cannot audit is a liability. The Third Number essay is the argument; the repo is the implementation.

---

## Writing about this project

- [The Third Number: Scoring Money-Handling Agents on Expected Loss](https://caio.theodoro.dev/blog/why-lossbench-significant.md)

All projects: https://caio.theodoro.dev/projects.md · About the author: https://caio.theodoro.dev/about.md · Machine-readable index: https://caio.theodoro.dev/llms.txt
