Skip to content

Claude Sonnet 5.5 (effort default (no --effort flag) · thinking on) on Share out a restaurant's weekly tip pool by day, with a card-fee deduction, a bar tip-out and points by role

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

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

Compare with other models on this task →

Summary

Exact prompt

# Share out last week's tip pool Inputs: `shifts.csv` (who worked, in which role, for how many hours, per day), `tips.csv` (tips taken per day, cash or card) and `tip-policy.json`. Work out each person's tips for the week 2026-10-12 to 2026-10-18. - The pool is settled separately for each day, using only that day's tips and shifts. - Card tips are reduced by the card processing fee (`card_fee_pct`) before anything else; cash tips are not. - From each day's pool, `bar_share_pct` percent goes to the bartenders who worked that day, split by their hours that day. - The rest of the day's pool is split among servers and bussers in proportion to hours x role points (`points` in the policy). Managers take no tips. - Work exactly; round only the reported figures, to 2 decimals half-up. Write `out/tips.json`: `{"tips": {"<staff_id>": <week total>, ...}, "bar_total": <week total paid to bartenders>, "fees_deducted": <card fees for the week>}`. List everyone who received tips. ## How this run works - Work on your own: nobody will answer questions in this task, and writing to `ask/` counts against the run. - Write only under `out/`. Create `out/` if it is missing. Inputs are synthetic; don't fetch anything from the network. - Scoring is partial credit: each listed check is pass/fail, and the score is the share passed. Numbers are compared to within 0.005 unless the task says otherwise.

Split a week of a restaurant's cash and card tips among staff from the shift log. The pool is settled day by day, card tips lose the processing fee first, the bar takes a fixed share split by bartender hours, the rest is shared by hours weighted by role points, and managers get nothing. Pooling the whole week, skipping the card fee or paying managers each changes someone's tips. 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: daily_pool card_fee bar_tipout points_no_managers

Setup notes: Batch 22 case x04-restaurant-tip-pool (offline, synthetic inputs, seed 518613649). Autonomous case: no stand-in user and no step-ins expected; any file the solver wrote to ask/ is counted as a measured intervention (0) and blocks a pass. Prompt = TASK.md verbatim. Hidden key kept outside the solver's work dir. Scored with the case's scorer (python3 score.py WORKDIR KEYDIR, absolute paths); pass = every check true and no ask/ files. Tools: Read/Write/Edit/Glob/Grep/Bash, web disabled. Single run, no retries. 1-min load average at scoring 0.57 (8 cores). Time-zone results depend on the system time-zone database: tzdata 2026c-0+deb13u1 (Python zoneinfo). Claude Code's own reported cost for claude-sonnet-5.5: $0.068832. Score: 4/4. 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.07
Wall time
18s
Human step-ins
0
Turns
5
Model usage
ModelInput tokOutput tokCost
AClaude Sonnet 5.5anthropic/claude-sonnet-5.5effort default (no --effort flag) · thinking on100,6652,147$0.07

Reproduce this run

  1. Use the use case prompt on the use case page.
  2. Same setup: Claude Sonnet 5.5 (anthropic/claude-sonnet-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: daily_pool card_fee bar_tipout points_no_managers
  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": 17172,
  "stop_reason": "end_turn",
  "session_id": "[REDACTED]",
  "total_cost_usd": 0.0688317,
  "usage": {
   "input_tokens": 10,
   "cache_creation_input_tokens": 9558,
   "cache_read_input_tokens": 91097,
   "output_tokens": 2147,
   "output_tokens_details": {
    "thinking_tokens": 147
   },
   "server_tool_use": {
    "web_search_requests": 0,
    "web_fetch_requests": 0
   },
   "service_tier": "standard",
   "cache_creation": {
    "ephemeral_1h_input_tokens": 9558,
    "ephemeral_5m_input_tokens": 0
   },
   "inference_geo": "global",
   "iterations": [
    {
     "input_tokens": 2,
     "output_tokens": 295,
     "cache_read_input_tokens": 21190,
     "cache_creation_input_tokens": 907,
     "cache_creation": {
      "ephemeral_5m_input_tokens": 0,
      "ephemeral_1h_input_tokens": 907
     },
     "type": "message"
    }
   ],
   "speed": "standard",
   "fallback_credit": null
  },
  "modelUsage": {
   "claude-sonnet-5-5": {
    "inputTokens": 10,
    "outputTokens": 2147,
    "cacheReadInputTokens": 91097,
    "cacheCreationInputTokens": 9558,
    "webSearchRequests": 0,
    "costUSD": 0.0688317,
    "contextWindow": 1000000,
    "maxOutputTokens": 128000,
    "thinkingTokens": 147,
    "canonicalModel": "claude-sonnet-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": 5,
  "subtype": "success",
  "api_error_status": null,
  "result": "I've written `out/tips.json` with each person's tips for 2026-10-12 to 2026-10-18. I haven't cross-checked the figures another way.\n\n- **Totals:** Twelve people received tips (T20\u2013T31), and together they received 7,334.76. Bartenders were paid 880.17 (`bar_total`) and card fees came to 150.30 (`fees_deducted`).\n- **Largest and smallest:** T22 has the largest total at 1,178.60. T31 has the smallest at 229.34.\n- **Method:** I settled each day's pool separately, using exact fractions throughout. I rounded only the reported figures, half-up to 2 decimals, so a person's total is the rounded exact sum, not a sum of rounded daily amounts.\n- **Input data:** The inputs were clean, so I made no corrections. Every day in the week has at least one bartender. Managers received nothing.",
  "ttft_ms": 2471,
  "type": "result",
  "duration_ms": 17577,
  "uuid": "[REDACTED]",
  "ttft_stream_ms": 1640,
  "time_to_request_ms": 233,
  "first_content_frame_ms": 1641,
  "queued_turn_count": 0,
  "result_index": 0
 }
]

Get new runs and ranking changes weekly