{
  "id": "sitebench--claude-sonnet-5-5--2026-10-16",
  "modelSlug": "claude-sonnet-5-5",
  "modelName": "Claude Sonnet 5.5",
  "provider": "Anthropic",
  "bench": "sitebench",
  "benchName": "Sitebench",
  "benchVersion": "v2",
  "rubricVersion": "sitebench@4",
  "promptVersion": "sitebench@2",
  "date": "2026-10-16",
  "overallGrade": "B+",
  "verdict": "hire",
  "verdictReason": "A well-secured, clean veterinary ward tracker with thorough server-side cap enforcement and strong clinical readability, held back slightly by missing board filters and a minor mobile banner layout squish",
  "verdictOverridden": false,
  "effort": "default (Claude Code --model sonnet, default effort settings)",
  "tool": "Claude Code",
  "costUSD": 1.494436,
  "costEstimated": true,
  "url": "https://gruntbench.com/run/sitebench--claude-sonnet-5-5--2026-10-16",
  "verdictExplanation": null,
  "promptTokens": null,
  "completionTokens": null,
  "reasoningTokens": null,
  "latencySeconds": 738,
  "tokensPerSecond": null,
  "firstTryWorks": null,
  "listPrice": null,
  "fixPass": null,
  "scores": [
    {
      "label": "Design",
      "grade": "B+",
      "weight": 0.35,
      "evidence": "Clean typography, scannable patient cards with semantic status badges and highlighted doses/times, and well-executed light and dark themes make the app look like a cohesive clinical product. On 390 px mobile detail views, the sample-ward callout banner flex layout crushes the inline 'Sign in' link and trailing words into narrow vertical columns, and the search input lacks a focus ring in the keyboard probe while two inline links fall below the 44 px target height.",
      "subrows": null
    },
    {
      "label": "Works for the job",
      "grade": "B",
      "weight": 0.25,
      "evidence": "All 10 seeded patients, detail views, practice handover note entry with persistence across reload, dose/time highlighting, search by name/breed/medication/note, and the 10-patient ward cap screen work cleanly on desktop and 390 px mobile. The ward board and handover feed lack status or category filter controls, and patient search does not match on owner names.",
      "subrows": null
    },
    {
      "label": "Security",
      "grade": "A",
      "weight": 0.15,
      "evidence": "Firestore rules enforce strict tenant isolation, role checks, audit-field integrity, and an unbypassable server-side 10-patient slot cap verified by 14 emulator tests and every grader attack probe. No meaningful security weaknesses were found in the rules, client bundle, or seed data.",
      "subrows": null
    },
    {
      "label": "Code",
      "grade": "A-",
      "weight": 0.15,
      "evidence": "The codebase is modular and well-sized (largest file 289 lines), respects all locked contract files without modification, and backs both application logic and security rules with automated tests (13 unit, 14 rules). Work was landed in only 2 git commits rather than smaller milestone commits, and Firebase was bundled into a single 839 kB JS chunk without code splitting.",
      "subrows": null
    },
    {
      "label": "Technical",
      "grade": "B+",
      "weight": 0.1,
      "evidence": "TypeScript compilation, Vite production build, 13 unit tests, 14 Firestore emulator tests, and live deployment all pass with zero runtime or console errors. The production build emits a chunk size warning for the unsplit 839 kB JavaScript bundle, and only email/password authentication is configured.",
      "subrows": null
    }
  ],
  "metrics": [
    {
      "label": "Build time",
      "value": 12.3,
      "unit": "min"
    },
    {
      "label": "Time to first file",
      "value": 2.1,
      "unit": "min"
    },
    {
      "label": "Patients on first load (live site)",
      "value": "10 patient cards",
      "unit": null
    },
    {
      "label": "Visits per patient",
      "value": "19 visits for 10 patients",
      "unit": null
    },
    {
      "label": "Search by name",
      "value": "PASS for name",
      "unit": null
    },
    {
      "label": "Filter",
      "value": "none: no status or feed filter on the board",
      "unit": null
    },
    {
      "label": "Auth set up",
      "value": "Email/password configured by the harness before the run (signUp probe with a 1-character password returns WEAK_PASSWORD). Google not configured (createAuthUri OPERATION_NOT_ALLOWED); README and DEVIATIONS say password only.",
      "unit": null
    },
    {
      "label": "Commits",
      "value": 2,
      "unit": null
    },
    {
      "label": "Tracked files",
      "value": 41,
      "unit": null
    },
    {
      "label": "App and test lines",
      "value": 2103,
      "unit": null
    },
    {
      "label": "Test lines",
      "value": 280,
      "unit": null
    },
    {
      "label": "Largest file",
      "value": "src/pages/PatientFormPage.tsx, 289 lines",
      "unit": null
    },
    {
      "label": "Unit tests",
      "value": "13 pass",
      "unit": null
    },
    {
      "label": "Rules emulator tests",
      "value": "14 pass",
      "unit": null
    },
    {
      "label": "Firestore rules lines",
      "value": 156,
      "unit": null
    },
    {
      "label": "Bundle size",
      "value": 839,
      "unit": "kB"
    },
    {
      "label": "Rules probe: read the demo ward without signing in",
      "value": "allowed (by design: the sample ward is public)",
      "unit": null
    },
    {
      "label": "Rules probe: change the demo ward without signing in",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: change the demo ward while signed in",
      "value": "denied",
      "unit": null
    },
    {
      "label": "feedPostDemo",
      "value": "denied",
      "unit": null
    },
    {
      "label": "selfJoinDemoAsTech",
      "value": "denied",
      "unit": null
    },
    {
      "label": "selfJoinDemoAsOwner",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: read another clinic's patients",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: list clinics",
      "value": "denied",
      "unit": null
    },
    {
      "label": "joinGuessedClinicId",
      "value": "denied",
      "unit": null
    },
    {
      "label": "joinOtherClinicAsOwner",
      "value": "denied",
      "unit": null
    },
    {
      "label": "crossReadViaProfilePointer",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: read another user's profile",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: make your clinic public",
      "value": "denied",
      "unit": null
    },
    {
      "label": "takeOverExistingClinicId",
      "value": "denied",
      "unit": null
    },
    {
      "label": "promoteSelfToOwner",
      "value": "denied",
      "unit": null
    },
    {
      "label": "create11thSlot10",
      "value": "denied",
      "unit": null
    },
    {
      "label": "create11thReuseTakenSlot",
      "value": "denied",
      "unit": null
    },
    {
      "label": "create11thWithoutSlot",
      "value": "denied",
      "unit": null
    },
    {
      "label": "create11thAsDischargedThenEdit",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: reactivate a discharged patient when full",
      "value": "denied",
      "unit": null
    },
    {
      "label": "deleteSlotOfActivePatient",
      "value": "denied",
      "unit": null
    },
    {
      "label": "dischargeKeepingSlot",
      "value": "denied",
      "unit": null
    },
    {
      "label": "moveSlotOnEdit",
      "value": "denied",
      "unit": null
    },
    {
      "label": "spoofUpdatedBy",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: post a note as someone else",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: edit another tech's note",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: delete a feed note",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: delete a patient for good",
      "value": "denied",
      "unit": null
    },
    {
      "label": "twoActiveOneSlot",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: discharge one patient, then admit a new one",
      "value": "allowed (legitimate)",
      "unit": null
    },
    {
      "label": "ownClinicCreate",
      "value": "allowed (legitimate)",
      "unit": null
    },
    {
      "label": "joinWithClinicCode",
      "value": "allowed (legitimate)",
      "unit": null
    },
    {
      "label": "Active patients after all probes",
      "value": "never above 10; 9 at the end with 9 slot docs (the grader discharged one patient before the two-on-one-slot probe, which was denied)",
      "unit": null
    },
    {
      "label": "notes",
      "value": "Same probe intent as the Opus CLI v2 grade, adapted to this schema (clinic id doubles as the team code, slots/{0..9} cap, public demo-ward). The clinic id is the credential to join: 12 random characters from a 31-letter alphabet, and clinics cannot be listed.",
      "unit": null
    },
    {
      "label": "Contract files",
      "value": "unchanged: sizes 17548/4310/13285/1368 and sha256 match before, after and in git HEAD (CONTRACT-CHECK.txt)",
      "unit": null
    },
    {
      "label": "Paid APIs",
      "value": "none (Firebase web config only; dictation is the browser Web Speech API)",
      "unit": null
    },
    {
      "label": "Secrets in git",
      "value": "harness secret-pattern scan before each push: clean; one public Firebase web apiKey as expected; seed account password in git-ignored .seed-password",
      "unit": null
    },
    {
      "label": "Live URL",
      "value": "HTTP 200",
      "unit": null
    },
    {
      "label": "Repository",
      "value": "Private",
      "unit": null
    },
    {
      "label": "Graded commit",
      "value": "c15c53a",
      "unit": null
    }
  ],
  "costBreakdown": [],
  "liveUrl": "https://patient-tracker-sonnet-cli-v2.web.app",
  "repoUrl": null,
  "footnotes": [
    "Graded by a blind panel of two AI reviewers, with Benchy making the final call. Earlier grade: B plus (Hire), from a single grader on the same v4 rubric and the same run files.",
    "Reviewers: GPT-6 Astra and Gemini 4 Argon; Claude Opus 5.5 sat out, because a reviewer never grades its own maker's model. Each rubric row is the median of their grades, then the rubric's weights and caps; Benchy cast no vote.",
    "Same Sitebench v2 prompt and contract files as the Opus CLI pilot, with only names, web config and --model changed.",
    "Ran in Claude Code, default settings, on Ray's Claude Max subscription, so there is no bill; the cost shown is Claude Code's own API-equivalent figure at list prices.",
    "The harness security watch stopped the run once at 10.0 min on a false positive (a Chrome profile folder in the run's scratch home). The rule was narrowed and the same session was resumed 11.2 min later; that downtime is not counted as model time.",
    "Claude Code harness limits: Bash sandboxed with /tmp denied, and headless Chrome could not run after the resume, so the model never saw its own screens.",
    "Cost: Claude Code total_cost_usd for session 1733341f (session-cumulative: Claude Code restored segment 0's usage on resume, so this covers both segments; modelUsage 82,062 output tokens vs 3,061 in the resume segment alone). Not billed: Claude Max subscription. Excludes the alias smoke test ($0.021385 API-equivalent)."
  ],
  "evidence": null,
  "needsReview": false,
  "gradedBy": "panel",
  "scorePoints": 87.75
}