Skip to content

Claude Haiku 5.5 (effort default (no --effort flag) · thinking on) on Monthly regional report from messy orders CSV + shipments JSONL + weekday-only FX table

AClaude Haiku 5.5default · thinking on · Claude Code 2.1.299 (headless -p) · cloud · 2026-10-17 · by @bobsiopener

Trust 80%Fully autonomoussuccess · first try
Estimated cost
$0.0087
Wall time
35s
Human step-ins
0
Outcome
Pass

Compare with other models on this task →

Summary

Exact prompt

# Task: monthly regional order report Inputs: `orders.csv`, `shipments.jsonl`, `fx.csv`. Write `report.py` (Python stdlib only) that reads those three files from the current directory and writes `report.json`, then run it. `report.json` shape: `{"<Region>": {"YYYY-MM": {"orders": int, "revenue_eur": float, "unshipped": int, "late": int}}}` Rules: - Regions are North/South/East/West; the raw data uses many spellings/abbreviations/cases/whitespace (n, NORTH, " North ", E, ...). Normalise to those four names. - Order IDs are case-insensitive (`o-00012` = `O-00012`). Rows that are exact duplicates of an earlier row are dropped. Cancelled orders (any case) are excluded entirely. - `order_date` is ISO `YYYY-MM-DD`, `DD/MM/YYYY`, or `Mon DD YYYY`. The month bucket is the order date's month. - Amounts: USD amounts may have thousands separators (`1,234.50`); EUR amounts may use a decimal comma (`12,50`); GBP is plain. Convert to EUR with `fx.csv` (EUR per 1 unit; EUR itself is 1.0) using the rate on the order date, or if there is none that day (weekends), the most recent earlier date. Round `revenue_eur` to 2 decimals only at the end (sum unrounded values). - `unshipped` = kept orders with no shipment record. `late` = kept orders whose **first** shipment date (UTC date of `shipped_at`) is more than 5 days after the order date. Shipments for unknown orders and blank lines are ignored. `report.py` will also be re-run by the grader on freshly generated data with the same format, so don't hard-code anything. No network.

Many small traps: region aliases, case-insensitive IDs, exact-duplicate rows, three date formats, locale-specific amounts, weekend FX fallback, first-shipment lateness across Z/+00:00, orphan shipments; re-run on fresh data blocks hard-coding. 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. report_exact: every region/month cell in report.json matches the key (counts exact, revenue_eur within 0.01) and no extra cells. 2. fresh_data_exact: the agent's report.py, re-run on a freshly generated dataset (seed 9191), produces an exactly matching report.

Setup notes: Use Case Scout batch 5 case e07-shipments-reconcile (offline fixture). Prepared with batch5/prepare.sh; hidden key/tests kept outside the agent's work dir. Prompt = TASK.md verbatim. Scored with the scout's scorer: `python score.py WORKDIR KEYDIR`. Tools: Read/Write/Edit/Glob/Grep/Bash, web disabled. Single run, no retries. Claude Code's own reported cost for claude-haiku-5.5: $0.008717. Score: 2/2 checks. Cost is an ESTIMATE: measured tokens x pricing.json list price (Claude Pro subscription, nothing billed); input_tokens include cache reads and writes. Single run.

Estimated cost List-price estimate; not actually billed.

Metrics

Estimated cost
$0.0087
Wall time
35s
Human step-ins
0
Turns
8
Model usage
ModelInput tokOutput tokCost
AClaude Haiku 5.5anthropic/claude-haiku-5.5effort default (no --effort flag) · thinking on198,3947,171$0.0087

Reproduce this run

  1. Use the use case prompt on the use case page.
  2. Same setup: Claude Haiku 5.5 (anthropic/claude-haiku-5.5, effort default (no --effort flag) · thinking on) via Claude Code 2.1.299 (headless -p), cloud.
  3. It counts as a success only if it meets every success criterion: 1. report_exact: every region/month cell in report.json matches the key (counts exact, revenue_eur within 0.01) and no extra cells. 2. fresh_data_exact: the agent's report.py, re-run on a freshly generated dataset (seed 9191), produces an exactly matching report.
  4. Log model, tokens, wall time, human step-ins and the evidence log, then submit it as a reproduction. A different model? Submit a head-to-head rerun.

How runs are scored: Methodology.

Was this useful?

⇄ Rerun on another model

Automated checks

Trust 80% comes from these checks (how Trust % works).

Evidence log
[
 {
  "duration_api_ms": 33867,
  "stop_reason": "end_turn",
  "session_id": "[REDACTED]",
  "total_cost_usd": 0.00871747,
  "usage": {
   "input_tokens": 16,
   "cache_creation_input_tokens": 16561,
   "cache_read_input_tokens": 181817,
   "output_tokens": 7171,
   "output_tokens_details": {
    "thinking_tokens": 2020
   },
   "server_tool_use": {
    "web_search_requests": 0,
    "web_fetch_requests": 0
   },
   "service_tier": "standard",
   "cache_creation": {
    "ephemeral_1h_input_tokens": 16561,
    "ephemeral_5m_input_tokens": 0
   },
   "inference_geo": "global",
   "iterations": [
    {
     "input_tokens": 2,
     "output_tokens": 596,
     "cache_read_input_tokens": 28425,
     "cache_creation_input_tokens": 675,
     "cache_creation": {
      "ephemeral_5m_input_tokens": 0,
      "ephemeral_1h_input_tokens": 675
     },
     "type": "message"
    }
   ],
   "speed": "standard",
   "fallback_credit": null
  },
  "modelUsage": {
   "claude-haiku-5-5": {
    "inputTokens": 16,
    "outputTokens": 7171,
    "cacheReadInputTokens": 181817,
    "cacheCreationInputTokens": 16561,
    "webSearchRequests": 0,
    "costUSD": 0.00871747,
    "contextWindow": 1000000,
    "maxOutputTokens": 128000,
    "thinkingTokens": 2020,
    "canonicalModel": "claude-haiku-5-5",
    "provider": "firstParty",
    "costBasis": "list"
   }
  },
  "permission_denials": [],
  "terminal_reason": "completed",
  "fast_mode_state": "off",
  "fast_mode_disabled_reason": "sdk_opt_in_required",
  "subagent_stats": {
   "spawned": 0,
   "requested": {
    "background": 0,
    "foreground": 0,
    "unset": 0
   },
   "started_in_background": 0,
   "max_depth": 0,
   "spawned_by_subagents": 0,
   "completed": 0,
   "failed": 0,
   "killed": {
    "parent": 0,
    "user": 0,
    "system": 0
   },
   "refused": {
    "depth_limit": 0,
    "concurrency_limit": 0,
    "budget": 0
   },
   "by_type": {}
  },
  "safety_stops": 0,
  "is_error": false,
  "num_turns": 8,
  "subtype": "success",
  "api_error_status": null,
  "result": "I wrote `report.py` and ran it. It produced `report.json` covering 709 kept orders across East, North, South and West for 2026-01 to 2026-04.\n\nParsing and rules checked against the raw data:\n- **Duplicates:** 847 CSV rows, 47 of them exact duplicates, leaving 800 unique rows. No order ID appears with conflicting content, so the first-occurrence rule is unambiguous here.\n- **Cancelled:** dropped in any case; the status check ignores surrounding whitespace.\n- **Amounts:** `\"621,01\"` parses to 621.01 (EUR decimal comma), `1,234.50` to 1234.5 (USD thousands separator), and GBP is plain. Values with both separators take the last one as the decimal point.\n- **Dates:** ISO, `DD/MM/YYYY` and `Mon DD YYYY` all parse; month names are matched from a fixed table rather than the locale.\n- **FX:** a rate lookup falls back to the most recent earlier date. The run hit no missing-rate errors.\n- **Shipments:** `+hh:mm` and `Z` timestamps are converted to UTC before taking the date. Only the earliest shipment per order counts for `late`. Blank lines and shipments for unknown orders are ignored.\n\nChoices I made that you may want to change:\n- A lookup with no earlier rate raises an error rather than guessing. This can't happen on the current data, but a fresh dataset could trigger it.\n- Unrecognised region values also raise an error, so a bad row fails loudly instead of being silently miscounted.\n\nI ran it as `python3 -I report.py`, per the untrusted-input guidance. The `-I` flag means the script didn't import anything from the working directory, so the run isn't exposed to planted modules.",
  "ttft_ms": 1826,
  "type": "result",
  "duration_ms": 34613,
  "uuid": "[REDACTED]",
  "ttft_stream_ms": 1670,
  "time_to_request_ms": 364,
  "first_content_frame_ms": 1670,
  "queued_turn_count": 0,
  "result_index": 0
 }
]

Get new runs and ranking changes weekly