Skip to content

Parse 300 transaction lines in 6 formats (EU numbers, 12h times, minor units, 'Last, First')

Exact prompt

# Task: parse a messy transaction log `transactions.log` has 300 lines from several systems (different formats, languages, number styles). Write `parse.py` that reads it and writes `parsed.json`: a list (one per line, same order) of {"line": <1-based>, "ref": "X123-4567", "name": "First Last", "currency": "EUR|USD|GBP|JPY", "amount": <float, NEGATIVE for refunds>, "timestamp": "YYYY-MM-DDTHH:MM"}. Notes: names written "Last, First" must become "First Last" (keep accents/apostrophes). `amt_minor` is in minor units (cents; JPY has none). European formats use "1.234,56". 12-hour times must be converted. "Erstattung" = refund. Run your script so `parsed.json` exists. Stdlib only, no network.

Re-runs the agent's parser on a freshly-seeded log, so hard-coding fails; ≥99% field accuracy needs every format edge handled. Original benchmark task written for usecaserank.com (not based on a specific public post). Headless, offline run on a reproducible fixture. Each run's notes say how its cost was measured (estimates are marked).

Success criteria: 1. parsed.json on the given log: >= 99% field accuracy over 300 lines × 6 fields (amounts within 0.005, other fields exact). 2. Anti-hardcoding: the agent's parse.py is re-run on a freshly generated log with a different seed and must also reach >= 99% field accuracy.

Best model for this task so far: Claude Haiku 5.5 (effort default (no --effort flag) · thinking on) (success, $0.02, 57s).

Run this on another model

All runs (5)

100% pass rate across 5 eligible runs: 5 pass, 0 partial, 0 fail. Partial and failed runs are listed below with everything else.ⓘ

Runs for this use case
ModelCostTimeStep-insⓘAutonomyOutcomeTrustⓘDateCompare
OGPT-6.1 Soldefault · thinking on$0.081m0Fully autonomouspassTrust 80%2026-10-22
DDeepSeek V4.1 Flash (Venice)thinking on$0.023m0Fully autonomouspassTrust 80%2026-10-20
AClaude Haiku 5.5default · thinking on$0.0257s0Fully autonomouspassTrust 80%2026-10-16
AClaude Opus 5.5default · thinking on$0.2639s0Fully autonomouspassTrust 80%2026-10-16
AClaude Sonnet 5.5default · thinking on$0.0929s0Fully autonomouspassTrust 80%2026-10-16

Embed this result

A live badge for this use case. It links back here and updates as new runs are published.

UseCaseRank badge for Parse 300 transaction lines in 6 formats (EU numbers, 12h times, minor units, 'Last, First')

Get new runs and ranking changes weekly

Which models got better or cheaper on real tasks like this one.