{
  "id": "sitebench--deepseek-v4-1-flash-1017--2026-10-28--v2",
  "modelSlug": "deepseek-v4-1-flash-1017",
  "modelName": "DeepSeek V4.1 Flash 1017",
  "provider": "Novita",
  "bench": "sitebench",
  "benchName": "Sitebench",
  "benchVersion": "v2",
  "rubricVersion": "sitebench@4",
  "promptVersion": "sitebench@2",
  "date": "2026-10-28",
  "overallGrade": "C-",
  "verdict": "fire",
  "verdictReason": "A good-looking ward board that ships with only 1 of 10 seeded patients and rules that let any stranger join the clinic and edit patients, so it is a fire",
  "verdictOverridden": false,
  "effort": "default (no reasoning setting sent)",
  "tool": "OpenRouter",
  "costUSD": 0.135217,
  "costEstimated": false,
  "url": "https://gruntbench.com/run/sitebench--deepseek-v4-1-flash-1017--2026-10-28--v2",
  "verdictExplanation": null,
  "promptTokens": 3343817,
  "completionTokens": 120272,
  "reasoningTokens": 43939,
  "latencySeconds": 2016,
  "tokensPerSecond": null,
  "firstTryWorks": true,
  "listPrice": {
    "inputPerM": 0.195,
    "outputPerM": 0.78
  },
  "fixPass": null,
  "scores": [
    {
      "label": "Design",
      "grade": "B",
      "weight": 0.35,
      "evidence": "Looks like a real product, with consistent spacing, clear hierarchy and two well-matched themes. The ward card layout is readable and suited to a shift handover. The banner button breaks badly at 390 px and the header title truncates. The future-dated 'Updated in 4 hours' label is a visible polish bug.",
      "subrows": null
    },
    {
      "label": "Works for the job",
      "grade": "D",
      "weight": 0.25,
      "evidence": "The live site loads on desktop and at 390 px and renders patient data from Firestore. The seed is not present on first load (1 of 10 patients). Search and filter are not visible, so the core v1 browsing flow is largely unverified or missing.",
      "subrows": null
    },
    {
      "label": "Security",
      "grade": "D",
      "weight": 0.15,
      "evidence": "Cross-clinic isolation holds, anonymous writes are denied, and profile clinicId is immutable after creation. Direct cap writes are blocked at 10. Any new account can join the clinic and edit or discharge its patients, which triggers the rubric's hard cap. The server-side cap can be bypassed by first lowering the counter.",
      "subrows": null
    },
    {
      "label": "Code",
      "grade": "C",
      "weight": 0.15,
      "evidence": "The contract files are intact, and small pure helpers have unit tests. There are no commits and no tests for the security rules or the cap, which are where the real bugs are. The bundle is monolithic.",
      "subrows": null
    },
    {
      "label": "Technical",
      "grade": "B+",
      "weight": 0.1,
      "evidence": "The app builds, deploys, and renders successfully in the supplied checks. Dependency audit findings and the bundle warning remain unresolved. Successful probe execution does not mean the security outcomes passed.",
      "subrows": null
    }
  ],
  "metrics": [
    {
      "label": "Build time",
      "value": 33.6,
      "unit": "min"
    },
    {
      "label": "Install (npm ci)",
      "value": "EXIT 0",
      "unit": null
    },
    {
      "label": "Build",
      "value": "EXIT 0",
      "unit": null
    },
    {
      "label": "Unit tests",
      "value": "EXIT 0",
      "unit": null
    },
    {
      "label": "Rules probe: a member adds, edits and discharges a patient in its own clinic",
      "value": "ALLOWED",
      "unit": null
    },
    {
      "label": "Rules probe: change the demo clinic or a private clinic without signing in",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: read or edit another clinic's patients",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: a new account joins the demo clinic, then edits its patients",
      "value": "ALLOWED",
      "unit": null
    },
    {
      "label": "Rules probe: name another clinic in a new profile, then edit it",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: lower the counter, then add an 11th active patient",
      "value": "ALLOWED",
      "unit": null
    },
    {
      "label": "Rules probe: add an 11th active patient directly",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Contract files",
      "value": "files: MATCH",
      "unit": null
    },
    {
      "label": "Live URL",
      "value": "HTTP 200",
      "unit": null
    },
    {
      "label": "Graded commit",
      "value": "none (workspace as left, no git commit)",
      "unit": null
    },
    {
      "label": "API calls",
      "value": 38,
      "unit": null
    },
    {
      "label": "Cached prompt tokens",
      "value": 3195392,
      "unit": null
    }
  ],
  "costBreakdown": [
    {
      "label": "Input tokens at $0.195/M (list price)",
      "usd": 0.028943
    },
    {
      "label": "Cached input tokens at $0.0039/M (list price)",
      "usd": 0.012462
    },
    {
      "label": "Output tokens at $0.78/M (list price)",
      "usd": 0.093812
    }
  ],
  "liveUrl": "https://patient-tracker-grok46.web.app",
  "repoUrl": null,
  "footnotes": [
    "Graded by a blind panel of three AI reviewers, with Benchy making the final call.",
    "Reviewers: Claude Opus 5.5, GPT-6 Astra and Gemini 4 Argon. Each rubric row is the median of their grades, then the rubric's weights and caps; Benchy cast no vote.",
    "Rubric cap applied: Security hole: Overall at most C minus, FIRE; Missing/broken seed or not deployed: FIRE.",
    "Ran through OpenRouter, default settings: no reasoning or effort setting was sent, so the model used its default.",
    "Provider pinned to novita with fallbacks off; every call was served as deepseek/deepseek-v4.1-flash-20261017.",
    "Same Sitebench v2 prompt and contract files as the other v2 runs, through Codex CLI and the OpenRouter metering proxy with a $2 cap (files: MATCH).",
    "38 API calls over 33.6 min; the live URL returned HTTP 200 when graded.",
    "Worked first try means the graded attempt built and deployed without a model retry; it does not mean the earlier harness attempts succeeded. Two harness re-runs (v3 and v4): a nested apply_patch sandbox failure, then a security-watch false positive on a mistyped folder name. This is one more than the usual limit of one re-run; accepted as is and not docked under the standing rule of Oct 29, 2026. The graded attempt then stalled on the model's own seed script, as detailed in the next note; that failure remains in the grade.",
    "Re-run on Oct 28, 2026 after harness fixes (stall rule). The earlier attempts are not published and are not counted in this result's cost or grade. Attempt 3 (re-run v4, security watch loosened for mistyped folder names) was stopped by us at 8:38 AM ET after 34 minutes and 38 calls ($0.135). The model built the app, deployed Hosting and Firestore (the live URL answered HTTP 200 at 8:21 AM ET), then ran its own seed script (scripts/seed-production.mjs, npm run seed) at 8:22 AM ET. The command never returned: the node process sat at 0% CPU with one open connection to Google for 16 minutes and the model made no request after 8:22 AM ET. The live site shows one patient (Luna, the first in the seed list), so the seed stopped partway. The model ran it with no timeout and Codex has none, so the model could not react. No sandbox denial or security-watch stop was logged near it, and the same sandbox let the model create its account and write the first patient, so we rule it the model script (a Firestore client call that never completed, run without a timeout); we cannot show which call hung. Novita served all 38 calls normally. We ended the run with DRAIN and did not retry it. It made no commit.",
    "Billed to OpenRouter credits (not BYOK). costUSD is the amount OpenRouter billed for the model.",
    "The linked repo is empty: the run never pushed a commit to it (graded from the workspace as left, no git commit), so there is no code to read there."
  ],
  "evidence": null,
  "needsReview": false,
  "gradedBy": "panel",
  "scorePoints": 71
}