Skip to content

Work out a veterinary practice's dispensed tablets and charges from weight-based doses, tablet splitting and a wellness-plan discount

Exact prompt

# Work out a veterinary practice's dispensed tablets and charges from weight-based doses, tablet splitting and a wellness-plan discount Inputs: `patients.csv` (patient_id, client_id, species, weight, weight_unit, wellness_plan), `drugs.json` (per drug: mg_per_kg, strength_mg, splittable, unit_price), `prescriptions.csv` (rx_line, patient_id, drug, doses_per_day, days) and `fees.json` (dispensing_fee, plan_pct). All clients and animals are synthetic; amounts are in dollars. These rules are the practice's policy; where `nurse-note.txt` disagrees, the rules win. Rules: - Weight: weight_unit lb converts to kg at 1 lb = 0.45359237 kg (don't round the result). - Dose: dose_mg = mg_per_kg × weight in kg. Tablets per dose = dose_mg / strength_mg rounded to the nearest 0.5 tablet if the drug is splittable, otherwise to the nearest whole tablet (exact halves round up), and never less than 0.5 tablet (splittable) or 1 tablet (not splittable). - Quantity: tablets dispensed = tablets per dose × doses_per_day × days, rounded up to a whole tablet. - Price: medication = tablets dispensed × unit_price. A patient on the wellness plan (wellness_plan yes) gets plan_pct percent off the medication, rounded half-up to the cent; the plan never discounts the dispensing fee. Line total = medication − discount + dispensing_fee. - Write `out/dispensing.json`: `{"lines": {"<rx_line>": {"tablets_per_dose": <number>, "tablets": <whole number>, "medication": <dollars>, "discount": <dollars>, "total": <dollars>}, ...}, "clients": {"<client_id>": <sum of that client's line totals>, ...}}`. ## 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.

Turn a synthetic veterinary practice's prescriptions into dispensed quantities and charges. Some weights are in pounds, doses are weight-based and rounded to whole or half tablets with a minimum, courses are rounded up to whole tablets, and wellness-plan members get a discount on medication but not on the dispensing fee. A nurse's note gets the unit, rounding and discount rules wrong. 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: weight_units dose_rounding quantity plan_pricing client_invoices

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

Run this on another model

All runs (3)

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

Runs for this use case
ModelCostTimeStep-insⓘAutonomyOutcomeTrustⓘDateCompare
AClaude Opus 5.5default · thinking on$0.1220s0Fully autonomouspassTrust 80%2026-10-25
AClaude Haiku 5.5default · thinking on$0.005118s0Fully autonomouspassTrust 80%2026-10-25
AClaude Sonnet 5.5default · thinking on$0.0512s0Fully autonomouspassTrust 80%2026-10-24

Embed this result

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

UseCaseRank badge for Work out a veterinary practice's dispensed tablets and charges from weight-based doses, tablet splitting and a wellness-plan discount

Get new runs and ranking changes weekly

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