Claude Sonnet 5.5 (effort default (no --effort flag) · thinking on) on Extract term, renewal, notice, liability cap and governing law from service contracts with amendments
AClaude Sonnet 5.5default · thinking on · Claude Code 2.1.299 (headless -p) · cloud · 2026-10-20 · by @bobsiopener
- Estimated cost
- $0.05
- Wall time
- 9s
- Human step-ins
- 0
- Outcome
- Pass
Compare with other models on this task →
Summary
Exact prompt
# Extract key terms from a stack of service contracts Input: `contracts/` holds 5-8 plain-text service agreements (synthetic). Some end with one or more amendments. For each contract extract: - term_months: the initial term in months (a term stated in years counts 12 months per year). - auto_renew: true if the agreement renews automatically unless notice is given, false otherwise. - notice_days: days of notice needed to terminate or prevent renewal. - liability_cap_usd: the liability cap in US dollars. When the cap is defined by fees (for example "fees paid in the twelve (12) months preceding the claim"), compute it as monthly_fee_usd x that number of months. - governing_law: the state named in the governing-law clause, as written (e.g. "Delaware"). - Amendments at the end of a contract override the original clause they amend; apply them in order. - Numbers may be written in words, in digits, or both (e.g. "sixty (60) days"). Write `out/contracts.json`: `{"<contract file name without .txt>": {"term_months": <int>, "auto_renew": <bool>, "notice_days": <int>, "liability_cap_usd": <number>, "governing_law": "<state>"}, ...}`. ## 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.
Read 5-8 synthetic service agreements and extract five commercial terms from each. Numbers appear as words, digits or both, some liability caps are defined as a number of months of fees, and signed amendments at the end override earlier clauses. Distractors include other day counts, percentages and a second state named in the notices clause. 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: term_months auto_renew notice_days liability_cap governing_law amendments_applied every_contract_complete
Setup notes: Batch 16 case r04-contract-clauses (offline, synthetic inputs, seed 149425970). 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.09 (8 cores). Claude Code's own reported cost for claude-sonnet-5.5: $0.050875. Score: 7/7. 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.05
- Wall time
- 9s
- Human step-ins
- 0
- Turns
- 3
| Model | Input tok | Output tok | Cost |
|---|---|---|---|
| AClaude Sonnet 5.5anthropic/claude-sonnet-5.5effort default (no --effort flag) · thinking on | 60,266 | 1,102 | $0.05 |
Reproduce this run
- Use the use case prompt on the use case page.
- 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. - It counts as a success only if it meets every success criterion: term_months auto_renew notice_days liability_cap governing_law amendments_applied every_contract_complete
- 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?
Automated checks
Trust 80% comes from these checks (how Trust % works).
- Run date is not in the future : passed
- Model is in the dated pricing table : passed
- Cost recomputed from tokens matches : passed
- Cached tokens are consistent : passed
- Output throughput is plausible : passed
- Autonomy matches step-ins : passed
- Step-ins do not exceed turns : passed
- Retries agree with first-try result : passed
- Evidence log SHA-256 matches : passed
- Evidence log is substantial : passed
Evidence log
[
{
"duration_api_ms": 8070,
"stop_reason": "end_turn",
"session_id": "[REDACTED]",
"total_cost_usd": 0.050874899999999994,
"usage": {
"input_tokens": 6,
"cache_creation_input_tokens": 8671,
"cache_read_input_tokens": 51589,
"output_tokens": 1102,
"output_tokens_details": {
"thinking_tokens": 70
},
"server_tool_use": {
"web_search_requests": 0,
"web_fetch_requests": 0
},
"service_tier": "standard",
"cache_creation": {
"ephemeral_1h_input_tokens": 8671,
"ephemeral_5m_input_tokens": 0
},
"inference_geo": "global",
"iterations": [
{
"input_tokens": 2,
"output_tokens": 522,
"cache_read_input_tokens": 20652,
"cache_creation_input_tokens": 558,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 558
},
"type": "message"
}
],
"speed": "standard",
"fallback_credit": null
},
"modelUsage": {
"claude-sonnet-5-5": {
"inputTokens": 6,
"outputTokens": 1102,
"cacheReadInputTokens": 51589,
"cacheCreationInputTokens": 8671,
"webSearchRequests": 0,
"costUSD": 0.050874899999999994,
"contextWindow": 1000000,
"maxOutputTokens": 128000,
"thinkingTokens": 70,
"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": 3,
"subtype": "success",
"api_error_status": null,
"result": "I wrote `out/contracts.json` with entries for all five contracts in `contracts/`. I didn't run a JSON validity check on the file.\n\n| Contract | term_months | auto_renew | notice_days | liability_cap_usd | governing_law |\n|---|---|---|---|---|---|\n| MSA-1594-A | 12 | true | 60 | 1,000,000 | Colorado |\n| MSA-3201-D | 12 | false | 45 | 2,703.00 | Washington |\n| MSA-4729-E | 12 | true | 90 | 1,350.75 | Texas |\n| MSA-4735-B | 36 | false | 60 | 1,000,000 | Texas |\n| MSA-6141-C | 12 | true | 90 | 50,000 | Colorado |\n\nAmendments changed four of the five contracts:\n- **MSA-3201-D:** the amendment ends automatic renewal. I kept the 45 days of notice from the original clause.\n- **MSA-4729-E:** the amendment changes governing law from California to Texas.\n- **MSA-4735-B:** the amendment extends the term from one year to 36 months.\n- **MSA-6141-C:** the amendment turns automatic renewal on. It says notice works \"as set out in Section 3\", so I used that section's 90 days.\n\nWhere the cap is fee-based, I multiplied the monthly fee by the number of months: $450.50 \u00d7 6 for MSA-3201-D and $450.25 \u00d7 3 for MSA-4729-E.\n\nThe task said to expect 5\u20138 contracts, and the folder has five.",
"ttft_ms": 1720,
"type": "result",
"duration_ms": 8411,
"uuid": "[REDACTED]",
"ttft_stream_ms": 1049,
"time_to_request_ms": 256,
"first_content_frame_ms": 1049,
"queued_turn_count": 0,
"result_index": 0
}
]