File size: 11,654 Bytes
46f490b
 
66f16a0
46f490b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66f16a0
 
46f490b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66f16a0
 
 
 
46f490b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# BudgetBench methodology

Version 1.0.1, 2026-10-19. Updated 2026-10-21 (the v2 sealed split, `SEALED-V2.md`) and 2026-10-22 (grader v1.0.2, money in each currency's own style; oracle v1.0.3, the new_merchants measure; the v3 sealed split, `SEALED-V3.md`; `CHANGELOG.md`; not published).

## 1. The gold oracle

The gold of a turn is computed, never typed. Each turn of a case carries a MEANING (the measure, the shop, category,
group or account, the months, what is left out, a rank, a currency). `oracle/oracle.mjs` computes the gold from the
meaning and from the household's `truth/ledger.csv` and `truth/setup.json`. It imports no app code and never reads
an answer.

The money definitions (the same for every system):

- A month is a calendar month. The current month runs to today (`setup.today`). "all" is every month of the ledger.
- **Spending**: rows outside the Income, Transfers and Debt Payments groups. Per category AND per month the signed
  amounts are summed and floored at zero, so a refund lowers its own category and never another one. A span is the
  sum of its months. Pending rows count. A purchase that its owner excluded in their own app is not in the truth.
- **A shop's spending**: the same computation over that shop's rows (purchases minus its refunds).
- **Money in**: the Income group (pay and card cashback). **Money out**: spending plus debt payments other than card
  payments. **Kept**: money in minus spending; also accepted: money in minus money out, and either one with the
  refund credit counted as money in. **Savings rate**: kept over money in, with the same alternatives.
- **A count** is the number of purchases; the count with the refund rows is also accepted.
- **A new shop** (`new_merchants`, from v1.0.3): a shop whose first purchase in the whole ledger falls in the months
  asked. It is never asked of the ledger's first month.
- **A table by month** must state every month's figure. **A rank** with a tie is never asked.
- **Currencies**: each account keeps its own currency. Every figure reads one currency: the scope account's, else
  the meaning's, else the ledger's home currency. No gold ever adds two currencies; a question about "both
  accounts" wants one figure per currency.
- **Decline**: a decision or advice the assistant must not make. **Cannot**: something the ledger cannot answer
  (prices, the future, other people, a conversion between currencies). **How-to**: an answer that names every concept
  the case lists, taken from `help/HELP.md`.

Checks on the oracle: (1) the 176 classic cases have a second, independent oracle, `reference.py` of the 2026-09-27
eval; both give the same gold on 176 of 176 (`check.mjs`); (2) every gold of both splits computes with no error;
(3) an auditor process read every writer case (wording, meaning, expected answer) and flagged mismatches; each flag
was checked by hand and 2 ambiguous cases were dropped before the freeze (`cases/public/AUDIT-LOG.md`,
`sealed/AUDIT-LOG.md`).

## 2. The grader

`grader/judge.mjs` is grader v3 of the private hidden rounds, copied with every BudgetBench change marked "BB:". For
EVERY turn it decides one outcome: correct, clarify_ok, refused, wrong, wrong_offered or needs_review. The rules:

- The gold must be STATED AS THE ANSWER in the prose. A gold that appears only in a table row, only in a difference
  role ("$27.65 more than"), only after "not" ("not $17.99"), or only inside a quoted example is not the answer.
- EVERY money figure the answer prints, in prose and tables, is held against every true figure of the household in
  the turn's currency (`grader/facts.mjs`: spending per category, group, shop, account and span; money in, out,
  kept; averages; rows; yearly estimates; differences; balances). A figure true only for months outside the turn's
  period is WRONG. A figure that is no true figure at all is NEEDS REVIEW, adjudicated by hand.
- A month named outside the turn's period is wrong, unless the sentence says it is a comparison ("than June").
- A comparison with its sides reversed, a "biggest" where the smallest was asked, two different figures for the same
  thing, a reversed sign on kept money, and a denial of a name the ledger holds are wrong.
- A money figure where a count was asked, or a count where money was asked, is wrong.
- A figure that adds two currencies is wrong.
- A follow-up that keeps the earlier period or scope must not change it (when the system shows its period and scope
  as labels).
- A decline must leave the decision to the person and must give no instruction ("you should" is wrong). A cannot
  must say so and state no figure.

## 3. How the six labels are counted

Each case gets exactly ONE label (`grader/score.mjs`), in this order:

1. **Wrong shown**: some turn is wrong.
2. **Wrong offered**: no turn is wrong, but some turn offers a choice and EVERY option, when answered, is wrong.
3. **Right, no tap**: every turn is correct (or an accepted clarification) with no tap.
4. **Right after one tap**: every turn is correct, and exactly one turn needed a tap.
5. **Needs review**: the grader could not place a figure; the row is adjudicated before a number is quoted.
6. **Not sure** or **Declined**: the class of the FIRST turn that is not right. Not sure: the system says it is not
   sure, asks back, offers options of which none is right, says it would be guessing or could not check a figure.
   Declined: the system says it cannot or will not answer, answers something else with no figure, errs or is empty.
   A case right only after two taps or more is "not sure".

A chain is right only when EVERY turn is right. A wrong turn anywhere makes the case "wrong shown".

**The tap.** When a system offers options, the runner sends each option on a copy of the conversation and keeps
every answer. The tap picks the first option whose answer the grader marks right for that turn, using the answer
key. The conversation then goes on from that option. This is the same for every system. It is the best a person
could do with the options shown, so "right after one tap" is an upper bound on what a person would get. A system
that never offers options can never be right after a tap.

## 4. Nizar's grading rulings (from the hidden rounds; part of the grader)

Copied from the evaluation record (memory `project_eval_chat`), word for word where quoted:

- "wrong = any figure/name that does not answer the question (a true dollar figure for "how many" is wrong)"
- ""is that too much?" answered with Explain = no_answer"
- "savings rate accepts income minus spending or minus money out"
- "category answers accept leaf or group"
- "a widened-scope strip is wrong (also on single questions)"
- "another form of a held name refused = false denial"
- ""refuse rather than guess" (2026-09-30)"
- ""went out" with exclusions (money out vs spending) is OPEN"
- "a stated refund credit counts as money in for savings rate and money kept (2026-10-04)"
- "The WQA-05 pin was reversed: "In dollars?" after a count is the money."
- "Always count "an ask whose every reading is wrong" as wrong."
- "a chain whose not-sure leaves the rest nothing to continue is not sure"
- ""not sure" on a cannot gold stays not sure"
- "a person-picked option or strip click is exempt from the check" (applies to Pulse Local's own reader, not to
  the grader)

## 5. Statistics

- **Intervals.** Each label's rate has a 95% interval from a two-level bootstrap: resample households with
  replacement, then cases within each household, 2,000 times, percentile interval (`stats/report.mjs`). Cases of one
  household share shops and wordings, so a case-level bootstrap would be too narrow.
- **Paired comparison** of two systems on the same cases: McNemar's exact test on each label (`report.mjs
  --compare`).
- **Trend across versions.** A version-to-version change is not a finding. With three or more versions on the same
  frozen split, `stats/trend.mjs` runs the Cochran-Armitage test for trend in a label's rate and the chi-square test
  of homogeneity. Report the trend p value, never a round-to-round difference.
- **Resolution.** At about 340 cases, a binary label's 95% half-width is about ±3 points near 10% and ±5 points
  near 50% before clustering; the household bootstrap widens it. A change smaller than that is not shown.

## 6. Adjudication

Before a number is quoted, every "needs review" row is read and given a ruling with a reason (for v1, by a Claude
session working for the maintainers; the owner has not reviewed the rulings yet). Every "wrong
shown" and "wrong offered" row is read too: a grader false positive is fixed only as a general rule, with an
adversarial case in `grader/check.mjs`, a CHANGELOG entry and a regrade of every row. Both counts are quoted: the
grader's and the adjudicated one. For v1: every wrong row of the Pulse Local runs was read; for the stock-model rows,
the wrong rows were read by the grader's reason, grouped, with 10 per row read in full; no sample of right rows was
read except for the Pulse Local rules row (20, carried over from its identical 0.4.15 transcripts).

## 7. Threats to validity

- **Synthetic households.** Every household is generated. Real ledgers have more shops, odder strings, transfers
  between people, split payments, and years of history. The shapes copy public descriptions of each export, not real
  files.
- **US-heavy.** 9 of 12 public households and 4 of 6 sealed ones are in US dollars only (the v2 sealed split of
  2026-10-21 lowers it: 3 of 6 in US dollars only, one in euros, one in pounds, one in kronor with a euro card;
  `SEALED-V2.md`; the v3 sealed split of 2026-10-22: 3 of 8 in US dollars only, three in euros (one with a US-dollar
  card), one in pounds, one in Norwegian kroner; `SEALED-V3.md`); the German ones are in
  euros only (two public, one sealed); one in each split mixes two currencies. No other languages: every question is in English.
- **The writers are models.** The independent writers are Claude processes with a persona. Their wordings are more
  varied than templates and were never tuned against any system, but they are not real users' messages.
- **The same model family writes and audits.** The writers and the auditor are Claude. A system from the same family
  may find the wordings easier. A submitted row must say which model family it is.
- **Exposed public parts.** 494 of the 723 public cases are exposed: the eval v0 questions
  (asked of Pulse Local during its development) and the shapes templates (the wordings of its shapes guard, asked on
  new households). Reports split the public numbers by source.
- **Asymmetric inputs.** Pulse Local imports the source files, so it must parse the shapes itself. The model rows
  read `view/view.csv` through the tools, already parsed (but with the source's raw descriptions and categories).
  This favours the model rows on parsing and favours nobody on reading the question.
- **The grader reads text.** It cannot see meaning beyond its rules. It may miss a wrong claim with no figure, and it
  may call a hypothetical figure ("a 20% rate means you kept a fifth") wrong. Hand adjudication covers the rows it
  flags, not the rows it passes; we read a random sample of passes too.
- **The tap is an upper bound.** It uses the answer key. A real person may tap the wrong option.
- **How-to golds** need every concept word of the help page; a right answer in other words is "declined".
- **Gold disputes stay open** until the owner rules (for example: "how much does the Netflix premium plan cost now"
  is a "cannot" in its case; a system that gives the latest Netflix charge is scored wrong).