{
  "protocol": "AI answers over company data, drug labels round: questions about public US drug labels, with and without the label sections",
  "declared_at": "2026-11-02",
  "status": "Frozen before any model call on a study question. Earlier rounds, their files and results are unchanged.",
  "question": "On questions whose answer is written in a public drug label, how much does supplying the relevant label sections change each model's accuracy, and how often does each model state a wrong yes or no with and without them? Each model is compared with itself; models are not ranked.",
  "data": {
    "source": "openFDA drug label API (https://api.fda.gov/drug/label.json), downloaded once through druglabels/fetch.py",
    "openfda_last_updated": "2026-10-30",
    "frame": "druglabels/frame.py",
    "draw": "druglabels/sample.py (rules 1 to 6)",
    "labels": 20,
    "firewall_dropped": 0,
    "terms": "openFDA terms: public domain under CC0 unless marked; attribution requested, not required"
  },
  "questions": {
    "count": 104,
    "templates": {
      "interactions": 40,
      "contraindications": 26,
      "ingredients": 38
    },
    "yes_keys": 52,
    "file": "druglabels/data/questions.json",
    "key_rule": "\"yes\" when any listed word, or its plural, appears in the named section of the placeholder text as a whole word, ignoring case; otherwise \"no\" (druglabels/questions.py mentions)."
  },
  "arms": {
    "closed": "The label is named; no label text is supplied.",
    "sections": "The contraindications, drug interactions and description sections are supplied as documentation.",
    "system_text": "You answer questions about one US prescription drug label (the prescribing information). A section of the label mentions a term when the term, or its plural, appears anywhere in that section as a word, in any context. Answer \"yes\" or \"no\". If you cannot tell from what you have, answer \"cannot_tell\". Use no tools, commands or files; answer from this message alone. Reply with one JSON object and nothing else, with no markdown: {\"answer\": \"yes\"}, {\"answer\": \"no\"} or {\"answer\": \"cannot_tell\"}.",
    "schema": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "answer"
      ],
      "properties": {
        "answer": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "cannot_tell"
          ]
        }
      }
    },
    "same_in_both": "The system text, the label identity line, the question and the answer format."
  },
  "models": [
    {
      "model": "claude-sonnet-5-5",
      "label": "Claude Sonnet 5.5",
      "harness": "api",
      "surface": "the model provider's API, one request per run",
      "settings": "max_tokens 1024, thinking off between tool calls (between_tools), effort medium, strict answer schema (round 1 settings)",
      "prices_usd_per_million": {
        "input": 2.0,
        "output": 10.0
      }
    },
    {
      "model": "claude-haiku-5-5",
      "label": "Claude Haiku 5.5",
      "harness": "api",
      "surface": "the model provider's API, one request per run",
      "settings": "max_tokens 1024, thinking disabled, effort medium, strict answer schema (round 1 settings)",
      "prices_usd_per_million": {
        "input": 0.1,
        "output": 0.5
      }
    },
    {
      "model": "gpt-6.1-sol",
      "label": "GPT-6.1 Sol",
      "harness": "codex",
      "surface": "codex exec (Codex CLI 0.166.0, ChatGPT plan)",
      "reasoning_effort": "medium"
    },
    {
      "model": "gpt-6-luna",
      "label": "GPT-6 Luna",
      "harness": "codex",
      "surface": "codex exec (Codex CLI 0.166.0, ChatGPT plan)",
      "reasoning_effort": "medium"
    },
    {
      "model": "gemini-3.8-flash-medium",
      "label": "Gemini 3.8 Flash",
      "harness": "agy",
      "surface": "agy print mode (Antigravity CLI 1.2.11, the CLI's own sign-in)",
      "effort": "medium (part of the model id)"
    }
  ],
  "model_reporting": "Each model is reported on its own and never pooled. The harnesses differ (one API request, or an agent CLI with its own system prompt), so harness and model are mixed in every comparison between models; the with and without comparison is made within each model.",
  "harnesses": {
    "api": "aieval/providers.py request code from round 1, settings in the private run settings file pinned below.",
    "codex": "codex exec, clean CODEX_HOME holding only a copy of the CLI login (connectors/agents.py clean_codex_home), --ephemeral, --ignore-user-config, --ignore-rules, read-only sandbox, web search off, --output-schema with the answer schema, run from an empty folder, prompt on stdin.",
    "agy": "agy print mode (-p), --output-format json, --json-schema with the answer schema, --print-timeout 270s, --disable-slash-commands, run from an empty folder with no folder added, never --dangerously-skip-permissions, HOME a fresh folder holding only a copy of the CLI login token."
  },
  "runs": {
    "per_question_arm_model": 3,
    "total_per_model": 624,
    "order": "Run index outer, then questions in file order, arms alternating first by question.",
    "stopping": "If a CLI quota or login error stops a model, its completed runs are kept and reported with how many runs each question got; because the run index is outer, every question gets its first run before any second run."
  },
  "pilot": {
    "design": "The first 2 questions of each template in file order, both arms, one run, every model",
    "cache": "druglabels/pilot-cache/",
    "use": "Cost projection and a harness check only; never scored.",
    "projection_rule": "For each Claude model, projected cost = mean pilot cost per run x runs per model. If recorded spend plus both projections passes stop_usd, collection stops and is reported."
  },
  "scoring": {
    "module": "druglabels/score.py",
    "outcomes": [
      "correct",
      "wrong (a yes or no that differs from the key)",
      "cannot_tell",
      "no_answer (error after one rerun, cut off, or no parsable answer)"
    ],
    "accuracy": "Share correct; every other outcome counts as not correct."
  },
  "method_failures": "provider_error or cut_off runs get one declared rerun (--rerun-errors); a run still failing is no_answer.",
  "analysis": {
    "module": "druglabels/analyze.py",
    "interval": "Label-clustered percentile bootstrap, 10,000 replicates, seed 7; paired by label for differences.",
    "templates": "Described per template, not tested."
  },
  "predictions": [
    {
      "id": "P1",
      "text": "With the label sections, every model answers at least 90% of questions correctly."
    },
    {
      "id": "P2",
      "text": "Without label text, every model answers between 40% and 75% of questions correctly."
    },
    {
      "id": "P3",
      "text": "For every model, accuracy with the sections minus accuracy without is between +15 and +55 percentage points, and its interval lies above zero."
    },
    {
      "id": "P4",
      "text": "Without label text, the ingredient questions are every model's least accurate template."
    },
    {
      "id": "P5",
      "text": "Without label text, every model states a wrong yes or no on at least 10% of questions."
    },
    {
      "id": "P6",
      "text": "With the label sections, every model states a wrong yes or no on at most 5% of questions."
    }
  ],
  "prediction_rule": "Each prediction is held when it holds for every model, missed otherwise, untestable if a model has no results; per-model verdicts are reported too. None is a safe bet: P1 and P6 rest on the answer being in the supplied text, which makes them likely but not certain.",
  "budget": {
    "cap_usd": 20.0,
    "stop_usd": 18.0,
    "scope": "Every paid call of this round to the Claude models: pilot, final and reruns.",
    "rule": "Before every request: recorded cost (usage-based, or the full reservation when unknown) plus open reservations plus this request's worst-case reservation must stay at or below stop_usd.",
    "cli_models": "Through the CLIs' own plans; no per-token charge."
  },
  "retries": {
    "retry_on_http": [
      429,
      500,
      502,
      503,
      504,
      529
    ],
    "waits_seconds": [
      5,
      20
    ],
    "rule": "A provider or transport error is retried at most twice; no answer content was received, so a retry cannot select among answers."
  },
  "outputs": {
    "cache": "druglabels/cache/",
    "results": "druglabels/results/",
    "page": "drug-labels.html"
  },
  "file_sha256": {
    "DESIGN-labels.md": "24b156f41870f398bbe487598cf177e1d3a3c01708bd6d9e35a13bb46298a417",
    "druglabels/__init__.py": "804be70bd67624333f5d7c9c5508d74bb7286f2cafb76d117b5ca6f6c39e2ae9",
    "druglabels/frame.py": "048206bfa68e980903086da5c39cc63c521c34e156d5ffa180df8478226c31f1",
    "druglabels/fetch.py": "0dad86879adbcbd26bb6379689c9be3eef015953868dc28ca00ab4c2ded0063b",
    "druglabels/sample.py": "c065aa545ceedddad6ee2536607d7aa6a4e55204836c7a8d060eb38fac6a01d5",
    "druglabels/questions.py": "561f04b0728c4e7c4778b99f49a3e4299649c9689a41c26701826ad567845bdb",
    "druglabels/prompts.py": "dae8cec248545f4cd939c815b53fc34ea58b8bd1710ce28f53a3093a7e74520a",
    "druglabels/collect_api.py": "795207e74f64eb8b746f7401d40ba569f9c07b6e5acc562bcd90f02eda57be33",
    "druglabels/collect_cli.py": "a308fa540dd0bb4249bfa879073ad14f48a852b3d8ec01c93befc039c384e4fb",
    "druglabels/score.py": "6d120545219112683f8da590416511212127f3985d55edbe339c0b533f3915ab",
    "druglabels/analyze.py": "e7fb1585b235dc7d6daa0bde4173085f1a8c8df350f3911c0d9c354b34da496b",
    "druglabels/freeze.py": "328de1492d4096e1f0aab46968bd765e24ec4fd28f53903a5eb06380147040c9",
    "druglabels/data/sample.json": "51131b8f2ffe35955681097ca7d14c47a71194df44ef6e3a05abe71a903fae5a",
    "druglabels/data/questions.json": "a3656ab60b0dd8c301a1c247cef8b1c3b7406fafafbfd5e9c78facb7a0cee9ea",
    "druglabels/data/screen.json": "584254c98bbdc7e019d043075b2ba994ed0f9b9089591899da8aaf54901975fe",
    "druglabels/data/download-record.json": "53d26ca83edf98cb08372a41cc43a23da8d119daf8dc14464d51fb42d99657d6",
    "aieval/providers.py": "b8217ab96752fe152b508cb5f4e91eedcec4a751c14e1d5c22753fbc20192d68"
  },
  "private_file_sha256": {
    "_private/druglabels/run-settings.json": "52b0f93c8e986a5902b7735a51078d2931e5a7a07ca9f27ab720c7d7ecfa0c61"
  }
}
