Utility Bill Decoder

Reproducible results

Generate level1.csv & level2.csv

The same extraction and answering logic as the app, run over the bundled test bills.

Run the solution

up to 10 bills

Cached model responses are reused when available; a cold run can take a minute or two. The full 10-bill run is also available from the CLI:

python -m billdecoder.cli run --input … --template … --out …

What you get

CSV
level1.csv

One JSON object per bill, 18 fields, template order.

CSV
level2.csv

12 grounded answers per bill, 120 rows for the full test set.

Both files are UTF-8, use the supplied column names, and are validated before download.

Extract

One vision pass per bill returns the printed fields plus the history table.

Answer

Q1–Q12 are computed in Python from the bill's own figures and history.

Validate

Templates, row order, one-line JSON and non-empty cells are checked before download.