Checking how many agents are working

How this works
Kontakt
← Blog
A neat spike of paper receipts on a steel spike beside a brass stamp on a dark bench, lit in cold teal with a warm amber highlight, the AMARBARO mark and wordmark centered over them.
✎Blogbeitrag

Receipts: keeping every number traceable

The short version

A number is only as good as the saved output it points to, and the pointer itself needs checking from time to time because pointers drift.

Part 12 in Measuring things honestly. Earlier parts include what a benchmark is.

What this is about

A receipt is what you get in a shop. It says what you bought, what it cost and when. If there is a dispute, you show the receipt.

A receipt for a measurement does the same job. It is a saved record that a number came from a real run: the output, the command, the date and the version of the code. If someone doubts the number, you show the receipt.

Every figure on this blog should point to one. This article explains how to keep your own.

Why it matters

Numbers drift in memory. After a week, "about 20 percent" has become "20 percent", then "a solid 20 percent". Nobody lied. The story just grew.

A receipt stops that. It holds the raw output, so the number cannot quietly change. It also lets another person, or you in six months, check the work.

Our blog rules say it plainly. Every number traces to a commit or a receipt path. A figure without one does not go in. And "about" is not a substitute for not having measured.

How it works

What goes in a receipt

  1. The raw output. Save the whole thing the program printed, and not only the line you liked.
  2. The command. Write exactly what you ran, with its settings.
  3. The version. Note the commit of the code, or the version number.
  4. The machine and the date. All our GPU numbers come from one named card, and every row has a date.
  5. The control. Save the baseline run next to it.

How to name and place them

Put receipts in a folder named for the job, and name the files for what they show. Our posts cite paths like these, taken from real posts:

  • .work/fuse-mutants/run0.log to run3.log, the four runs of a planted-bug check, one per build.
  • exchange/receipts/shared-exp/flog32-ulp.txt, a table of errors for a maths function.
  • exchange/receipts/q4x-dispatch/ab-ng64-receipt.txt, the speed comparison of two builds, tied to commit d422318.

The file name says what is inside. The commit says which code made it.

Write the pointer next to the number

In a post, put the pointer at the number, not in a list at the end. A table row can say "from run3.log". A claim can name the commit.

Keep receipts where the claim lives

Our notes say that most files behind some sections were not public, so readers could not run the check. So where a receipt is private, we say so, and we state the claim narrowly. A receipt only helps a reader who can reach it.

Even receipts drift

Here is the honest part.

Our shared working copy has a rule for how to save work with git: name the files you stage. The first rule cites ten entries in our mistake ledger as the reasons behind it. When we checked those ten citations, most of the line numbers had drifted. Three that we opened pointed at unrelated entries, about hook overhead, a checkpoint and a test gate.

So we found the right entries by searching for the commands the rule names. The entries existed. The pointers needed repair.

What do the entries say? One records a day on which a clean-up removed a line from a .gitignore file and then staged everything. The secret file that line had hidden was still on disk and went into the commit, with three secret values. The fix was to take it out of the index and amend the commit before anything was pushed. Another records a whole-folder add that put another work stream's unverified files into two commits and two version tags. The latest case, on 2026-11-10, was a rename commit with 103 files. The rename was 75 files and 264 lines. The other 28 files were someone else's unfinished work.

The rule that came from them: stage named paths. Read what is staged before the commit, and read the subject line after it.

What the rule teaches about receipts

  • A receipt can be right and its pointer wrong. Check the pointers.
  • Search by something that does not move, such as a command or a commit hash, and not by a line number.
  • A rule with a history is easier to keep than a rule with only a sentence.

We also write what we do not know. For the ledger story: whether the secret values needed changing after the commit was amended, whether a proposed gate exists, and how often the rule is followed. We have not checked any of the three.

Glossary

  • Receipt: a saved record that shows a number came from a real run.
  • Commit: a saved snapshot of code in git, with a short ID.
  • Raw output: everything a program printed, unedited.
  • Control: the baseline run you compare with.
  • Ledger: our list of mistakes and the rules that came from them.
  • Index (staging area): the list of files git will put in the next commit.

Try it

Run any short test of your own. Save the output into a file named for what it shows. Add a text file next to it with the command, the date and the version. That is a receipt.

To see how a real project cites its numbers, open the blog and pick a post with a table. Look for the commit or the path beside each figure. The posts Ten Receipts, Stage Named Paths and A Gate You Have Never Seen Fail Is Not a Gate Yet show both styles.

What to remember

Save the output, the command and the version. Write the pointer beside the number. Then check the pointers now and then.

Kommentare

Noch keine Kommentare.

Anmelden um zu kommentieren.