{
  "schema": "agent-rerun-receipt.v1",
  "record": {
    "id": "20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed",
    "taskId": "retry-after-v1",
    "taskTitle": "Strict HTTP Retry-After parser (synthetic test input)",
    "agent": "aider",
    "requestedModel": "byok/anthropic/claude-haiku-5-5",
    "resolvedModel": "byok/anthropic/claude-haiku-5-5",
    "wallSeconds": 14.012,
    "inputTokens": 1241,
    "outputTokens": 2617,
    "totalTokens": 3858,
    "costUsd": null,
    "energyWh": null,
    "assertionsPassed": 20,
    "assertionsTotal": 20,
    "observedNativeModel": null,
    "modelIdentityStatus": null,
    "modelIdentityEvidence": null,
    "providerResponseModel": null,
    "reasoningEffort": "default",
    "family": "matched-harness",
    "status": "PASS",
    "tier": "cloud/BYOK",
    "diagnosticOnly": false,
    "comparisonEligible": true,
    "cohort": "current-model",
    "resultNote": null,
    "limitations": [
      "Exploratory n=1 synthetic task; not a general coding-agent ranking.",
      "Exploratory arm E; JSON/DuckDB/Neon canonical admission NOT_VERIFIED.",
      "Provider cost estimation returned zero despite positive usage and catalog prices. Cost is unavailable; the separately labelled catalog estimate is not an observed charge."
    ],
    "evidenceFile": "20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed.json",
    "archived": false
  },
  "sourceRecord": {
    "id": "20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed",
    "originalCampaign": "agent_comparison_20261015",
    "rerun": true,
    "correctionOf": null,
    "cohort": "current-model",
    "family": "same-model-harness-rerun",
    "taskId": "retry-after-v1",
    "taskTitle": "Strict HTTP Retry-After parser (synthetic test input)",
    "agent": "aider",
    "requestedModel": "byok/anthropic/claude-haiku-5-5",
    "resolvedModel": "byok/anthropic/claude-haiku-5-5",
    "status": "PASS",
    "wallSeconds": 14.012,
    "inputTokens": 1241,
    "outputTokens": 2617,
    "totalTokens": 3858,
    "costUsd": null,
    "energyWh": null,
    "assertionsPassed": 20,
    "assertionsTotal": 20,
    "observedCodePass": true,
    "exitCode": 0,
    "evidencePaths": [
      "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed"
    ],
    "arm": "E",
    "admission": "NOT_VERIFIED",
    "limitations": [
      "Exploratory n=1 synthetic task; not a general coding-agent ranking.",
      "Exploratory arm E; JSON/DuckDB/Neon canonical admission NOT_VERIFIED.",
      "Provider cost estimation returned zero despite positive usage and catalog prices. Cost is unavailable; the separately labelled catalog estimate is not an observed charge."
    ],
    "freeze": {
      "task_sha256": "6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe",
      "oracle_sha256": "3675736119622cac168d711045426c6678bd08212b9bedf1aab71126a7ef1a76",
      "starter_sha256": "595a2a41e7bfd09ad28045cb3be95f0126d702eb25e6f53c723c0b77c46b44e2",
      "frozen_before_execution_at": 1792154991.377478
    },
    "mutableRuntimeFiles": [
      "budget_ledger.json",
      "0b70e3fb5621438e9821bea736ce9ba6.http.json",
      "0b70e3fb5621438e9821bea736ce9ba6.timing.json",
      "0b70e3fb5621438e9821bea736ce9ba6.response.txt",
      "0b70e3fb5621438e9821bea736ce9ba6.request.json"
    ],
    "terminalBudgetSnapshot": "budget_ledger_at_terminal.json",
    "terminalTransportSnapshot": "terminal_evidence/",
    "rawStatus": "PASS",
    "metadataTransportDiagnosticCount": 0,
    "diagnosticOnly": false,
    "tokenSource": "provider",
    "accountingComplete": true,
    "identityVerified": true,
    "providerCallCount": 1,
    "partialInputTokens": 1241,
    "partialOutputTokens": 2617,
    "partialTotalTokens": 3858,
    "partialEstimatedCostUsd": null,
    "reportedAdditiveReasoningTokens": null,
    "reportedReasoningTokens": null,
    "allCallsReportReasoning": false,
    "tokensPerSecond": 275.335,
    "knownTokensIncludingAdditiveReasoning": 3858,
    "knownTokensIncludingAdditiveReasoningPerSecond": 275.335,
    "generationCensored": false,
    "budgetControls": {
      "schema": "agent_comparison_rerun_policy.v1",
      "temperature": 0,
      "timeout_seconds": 240,
      "per_request_output_tokens": 8192,
      "proxy_shared_max_input_tokens": 160000,
      "proxy_shared_max_output_tokens": 32000,
      "proxy_reservation": "entire request UTF8 bytes +32/message+128; providerusage settled after eachcall; failclosed ifmissing",
      "maximum_input_tokens": 160000,
      "total_token_budget": 400000,
      "max_turns": 24,
      "proxy_read_timeout_seconds": 270,
      "verdict_stream_idle_timeout_seconds": 240,
      "aider_request_timeout_seconds": 240,
      "reasoning": {
        "mode": "default"
      },
      "models": "exact pins, no failover",
      "task_file": "solution.py",
      "hidden_oracle_fed_to_agent": false,
      "producer_location": "outside candidate workspace; candidate read denied",
      "aider_context": "live exact catalog context metadata; history ceiling=min(inputbudget,context/2)",
      "appendix_model_changed": false
    },
    "reasoningEffort": "default",
    "sharedProxyCapsEnforced": true,
    "actualBelowCommonCaps": true,
    "timeoutSeconds": 240,
    "terminalError": null,
    "terminalCompleted": true,
    "agentFailureReason": null,
    "sameGatewayInstance": true,
    "comparisonEligible": true,
    "publicEvidencePath": "artifacts/agent_comparison_completion_repair_20261016/matrix/public_evidence/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed.json",
    "publicEvidenceSha256": "d6336cf93bf29eac81ee59bdc881de128de5e4d5920475308885e33646ad9887",
    "modelSelectionEvidence": "model-selection/selection.json",
    "catalogEstimatedCostUsd": 0.0014325999999999998,
    "catalogCostEstimateSource": "model-selection/selection.json",
    "catalogCostEstimateFormula": "(provider inputTokens * catalog inputUsdPerMtok + provider outputTokens * catalog outputUsdPerMtok) / 1000000; no cache discounts; not a charge receipt",
    "providerReportedCostUsd": 0
  },
  "sourceFile": "artifacts/agent_comparison_completion_repair_20261016/matrix/reviewed-summary.json",
  "sourceFileSha256": "cfdb4bb21c1038588f0951f2cbe4774e077c01691d7e0e53434881d3b9a16419",
  "files": [
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/0b70e3fb5621438e9821bea736ce9ba6.http.json",
      "sha256": "7b7d2ba7da38df349730b844f5a7ee404601546b1255c0860ee52f313dde4f73",
      "bytes": 138
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/0b70e3fb5621438e9821bea736ce9ba6.request.json",
      "sha256": "742a75aa42d486dff5ff63b1653e3bedb2b41a9108576764c67d34537e9514f3",
      "bytes": 4503
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/0b70e3fb5621438e9821bea736ce9ba6.response.txt",
      "sha256": "54c51e6eb8e102bf70ab44e78101c4e4fc508311bf06f4e55f434b60975e8465",
      "bytes": 45637
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/0b70e3fb5621438e9821bea736ce9ba6.timing.json",
      "sha256": "f52d14836e11ae79e048ef26062ea5df3446ab04e143106b52b2bd5e2c7c8516",
      "bytes": 308
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/budget_ledger.json",
      "sha256": "1d45ca157d4a7afa7ecb836f8b2b48944c3f2ef954a89bae31e416ffc76da046",
      "bytes": 118
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/budget_ledger_at_terminal.json",
      "sha256": "1d45ca157d4a7afa7ecb836f8b2b48944c3f2ef954a89bae31e416ffc76da046",
      "bytes": 118
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/freeze.json",
      "sha256": "f187034c6e5a8f10693951ff1e6370e027aae1bcf3c845216ea8b8853bd67d66",
      "bytes": 313,
      "content": "{\n  \"task_sha256\": \"6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe\",\n  \"oracle_sha256\": \"3675736119622cac168d711045426c6678bd08212b9bedf1aab71126a7ef1a76\",\n  \"starter_sha256\": \"595a2a41e7bfd09ad28045cb3be95f0126d702eb25e6f53c723c0b77c46b44e2\",\n  \"frozen_before_execution_at\": 1792154991.377478\n}",
      "contentRedacted": false,
      "publishedContentSha256": "f187034c6e5a8f10693951ff1e6370e027aae1bcf3c845216ea8b8853bd67d66"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/health_after.json",
      "sha256": "b92ac2b9de4ebd8a5a491a26ddd220f6dedecc7e0ded8d52ec6b11a20322cbf2",
      "bytes": 1327
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/health_before.json",
      "sha256": "6bc3023f0328de44442143bcfb7c1da8661da78f00af9a5e3c8f69e4b6b605ef",
      "bytes": 1327
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/invocation.json",
      "sha256": "21bd6e807045c054bde730402cef103ca175625974d0ab0e316b8dbbd9962ca9",
      "bytes": 2047
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/launch.json",
      "sha256": "c5cd7cd48ea43cabd8393d7ceac9edc2effc758ee77bc7e61691662978e14e4b",
      "bytes": 177
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/model_preflight.json",
      "sha256": "ce77084a120ae2e783534287ea25ed1409038f84d8e92324ab2573207069fc07",
      "bytes": 2546
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/oracle.stderr.txt",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0,
      "content": "",
      "contentRedacted": false,
      "publishedContentSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/oracle.stdout.txt",
      "sha256": "5b22a02f39f6be766ee28b0cdfca80c3244449283a14f0786cda512f6659a6fd",
      "bytes": 1582,
      "content": "{\"passed\": 20, \"total\": 20, \"cases\": [{\"input\": \"0\", \"expected\": 0, \"actual\": 0, \"pass\": true}, {\"input\": \" 120\\t\", \"expected\": 120, \"actual\": 120, \"pass\": true}, {\"input\": \"0007\", \"expected\": 7, \"actual\": 7, \"pass\": true}, {\"input\": \"-1\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"+1\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"1.5\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"\\uff11\\uff12\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"\\u0661\\u0662\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": null, \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": 4, \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"Wed, 21 Oct 2015 07:28:00 GMT\", \"expected\": 1, \"actual\": 1, \"pass\": true}, {\"input\": \"Wed, 21 Oct 2015 07:28:01 GMT\", \"expected\": 2, \"actual\": 2, \"pass\": true}, {\"input\": \"Wed, 21 Oct 2015 07:27:00 GMT\", \"expected\": 0, \"actual\": 0, \"pass\": true}, {\"input\": \"Tue, 21 Oct 2015 07:28:00 GMT\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"Wed, 21 Oct 2015 07:28:00 UTC\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"wed, 21 Oct 2015 07:28:00 GMT\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"Wed, 31 Feb 2015 07:28:00 GMT\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"Wed, 21 Oct 2015 07:28:00 GMT trailing\", \"expected\": null, \"actual\": null, \"pass\": true}, {\"input\": \"Wed, 21 Oct 2015 07:28:00 +0000\", \"expected\": null, \"actual\": null, \"pass\": true}]}\n",
      "contentRedacted": false,
      "publishedContentSha256": "5b22a02f39f6be766ee28b0cdfca80c3244449283a14f0786cda512f6659a6fd"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/policy.json",
      "sha256": "e1d7a7f7f022f69dcb3e7fc79a820f84a8425324b888b94cfbc0099cb6f4bec7",
      "bytes": 921,
      "content": "{\n  \"schema\": \"agent_comparison_rerun_policy.v1\",\n  \"temperature\": 0,\n  \"timeout_seconds\": 240,\n  \"per_request_output_tokens\": 8192,\n  \"proxy_shared_max_input_tokens\": 160000,\n  \"proxy_shared_max_output_tokens\": 32000,\n  \"proxy_reservation\": \"entire request UTF8 bytes +32/message+128; providerusage settled after eachcall; failclosed ifmissing\",\n  \"maximum_input_tokens\": 160000,\n  \"total_token_budget\": 400000,\n  \"max_turns\": 24,\n  \"proxy_read_timeout_seconds\": 270,\n  \"verdict_stream_idle_timeout_seconds\": 240,\n  \"aider_request_timeout_seconds\": 240,\n  \"reasoning\": {\n    \"mode\": \"default\"\n  },\n  \"models\": \"exact pins, no failover\",\n  \"task_file\": \"solution.py\",\n  \"hidden_oracle_fed_to_agent\": false,\n  \"producer_location\": \"outside candidate workspace; candidate read denied\",\n  \"aider_context\": \"live exact catalog context metadata; history ceiling=min(inputbudget,context/2)\",\n  \"appendix_model_changed\": false\n}",
      "contentRedacted": false,
      "publishedContentSha256": "e1d7a7f7f022f69dcb3e7fc79a820f84a8425324b888b94cfbc0099cb6f4bec7"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/post-terminal-settlement.json",
      "sha256": "60e2d54bf3765d7d8d562a9832a1196a484096cf303c9c4c325b296196e221a0",
      "bytes": 383
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/product_source.json",
      "sha256": "0619a9b9d337fa5756233d3d46fd5c95c4924a6b0e9491a67a2b9f055f19d489",
      "bytes": 846,
      "content": "{\n  \"head\": \"2b4a2c58091feb69360b7704c8ceee9f1ccffb89\",\n  \"files\": {\n    \"scripts/benchmarks/agent_comparison_rerun_20261016.py\": \"c625b691551051e1f0a3d8dea1fbb3ea6db797578005f86122099572c7acb0b0\",\n    \"tools/verdict-code/verdict_code/agent.py\": \"39a9d2f1bb876c8031a257b1f801b8fb4146afb1b14a5434f12906b378d9d9c0\",\n    \"tools/verdict-code/verdict_code/tools/__init__.py\": \"609350f15bbdec4099405afe9ddddddf7b2caa7d2d03cc53e0276d6ab8d3bd57\",\n    \"tools/verdict-code/verdict_code/main.py\": \"af0a9ac892f38ce9c9fb422bf91facced4e72835ae63e0522b8cf75b1d1605ab\",\n    \"tools/verdict-code/VERSION\": \"361f0472cb741b7864ae144e7abdf93738d129230d117f20c103e1d8ae7bef7c\",\n    \"scripts/benchmarks/agent_comparison_completion_repair_20261016.py\": \"827566af5635ef64554ef1201e9464a9544502d05813b0492020c77eb9ce07fa\"\n  },\n  \"retainedSourceBytes\": \"source_snapshot/\"\n}",
      "contentRedacted": false,
      "publishedContentSha256": "0619a9b9d337fa5756233d3d46fd5c95c4924a6b0e9491a67a2b9f055f19d489"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/prompt.txt",
      "sha256": "6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe",
      "bytes": 837,
      "content": "Synthetic benchmark task: Retry-After parsing. Implement `retry_after(value, now)` in solution.py using only Python standard library. now is an aware UTC datetime. Return a nonnegative integer number of seconds or None for invalid input. Strings containing only ASCII decimal digits after surrounding whitespace return that integer. Otherwise accept an RFC HTTP-date of form `Wed, 21 Oct 2015 07:28:00 GMT`, case sensitive, validated weekday must agree with date. For a valid HTTP date return max(0, ceil((date-now).total_seconds())). Reject non-string inputs, signs, fractions, non-ASCII digits, extra text, and non-GMT timezone names. Do not change any other source file. Hidden tests are unavailable. Write the implementation to disk and finish. Do not install dependencies, access network, use other models, or edit unrelated paths.\n",
      "contentRedacted": false,
      "publishedContentSha256": "6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/result.json",
      "sha256": "bded8a4709f0266655590015f512a49e2d86ba368e482fc844ff4c91ca748c3b",
      "bytes": 5319
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/sandbox.sb",
      "sha256": "7c3cac936267422f015f6fbcd9bd1c53cecabd46c4ac53311d70b36aae268020",
      "bytes": 5843
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/sandbox_preflight.json",
      "sha256": "8415d156075475eba2b82a04636f833e85484020de5e6424f6140cd0ac61390f",
      "bytes": 93
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/source_snapshot/scripts/benchmarks/agent_comparison_completion_repair_20261016.py",
      "sha256": "827566af5635ef64554ef1201e9464a9544502d05813b0492020c77eb9ce07fa",
      "bytes": 13274
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/source_snapshot/scripts/benchmarks/agent_comparison_rerun_20261016.py",
      "sha256": "c625b691551051e1f0a3d8dea1fbb3ea6db797578005f86122099572c7acb0b0",
      "bytes": 38332
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/source_snapshot/tools/verdict-code/VERSION",
      "sha256": "361f0472cb741b7864ae144e7abdf93738d129230d117f20c103e1d8ae7bef7c",
      "bytes": 8
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/source_snapshot/tools/verdict-code/verdict_code/agent.py",
      "sha256": "39a9d2f1bb876c8031a257b1f801b8fb4146afb1b14a5434f12906b378d9d9c0",
      "bytes": 764703
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/source_snapshot/tools/verdict-code/verdict_code/main.py",
      "sha256": "af0a9ac892f38ce9c9fb422bf91facced4e72835ae63e0522b8cf75b1d1605ab",
      "bytes": 625279
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/source_snapshot/tools/verdict-code/verdict_code/tools/__init__.py",
      "sha256": "609350f15bbdec4099405afe9ddddddf7b2caa7d2d03cc53e0276d6ab8d3bd57",
      "bytes": 269877
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/stderr.txt",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/stdout.txt",
      "sha256": "d80a3e1fe1bc3f2795291b39896ecccb0b89f0f8e075f60387652c6caf4c1bda",
      "bytes": 2495
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.http.json",
      "sha256": "7b7d2ba7da38df349730b844f5a7ee404601546b1255c0860ee52f313dde4f73",
      "bytes": 138
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.request.json",
      "sha256": "742a75aa42d486dff5ff63b1653e3bedb2b41a9108576764c67d34537e9514f3",
      "bytes": 4503
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.response.txt",
      "sha256": "54c51e6eb8e102bf70ab44e78101c4e4fc508311bf06f4e55f434b60975e8465",
      "bytes": 45637
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.timing.json",
      "sha256": "f52d14836e11ae79e048ef26062ea5df3446ab04e143106b52b2bd5e2c7c8516",
      "bytes": 308
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/terminal_evidence/budget_ledger.json",
      "sha256": "1d45ca157d4a7afa7ecb836f8b2b48944c3f2ef954a89bae31e416ffc76da046",
      "bytes": 118
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/workspace/aider_model_metadata.json",
      "sha256": "a06144cd17ff156f6422d5f859b72c04d3521db89246bd01098248434b3d91d4",
      "bytes": 197
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/workspace/aider_settings.yml",
      "sha256": "da3afb7e746be5c7272810b6b509eca3c2e1e5938584ccc065fb23f464764927",
      "bytes": 189
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/workspace/chat_history.md",
      "sha256": "315400456bb802c4624e36bdb921cb550414617838888de60b95b4661bc9e146",
      "bytes": 4613
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/workspace/solution.py",
      "sha256": "f3f2ae87efae425212a3b95cb4dd445c3d60178c3117db025cc2ebf6764f87f5",
      "bytes": 1393,
      "content": "import re\nfrom datetime import datetime, timedelta, timezone\n\n_DAYS = (\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\")\n_MONTHS = (\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",\n           \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\")\n\n_DELTA_SECONDS = re.compile(r\"[0-9]+\")\n_HTTP_DATE = re.compile(\n    r\"(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \"\n    r\"([0-9]{2}) \"\n    r\"(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \"\n    r\"([0-9]{4}) \"\n    r\"([0-9]{2}):([0-9]{2}):([0-9]{2}) GMT\"\n)\n\n\ndef retry_after(value, now):\n    \"\"\"Parse an HTTP Retry-After header according to the task contract.\"\"\"\n    if not isinstance(value, str):\n        return None\n\n    stripped = value.strip()\n    if _DELTA_SECONDS.fullmatch(stripped):\n        return int(stripped)\n\n    match = _HTTP_DATE.fullmatch(value)\n    if match is None:\n        return None\n\n    day_name, day, month, year, hour, minute, second = match.groups()\n    try:\n        when = datetime(\n            int(year),\n            _MONTHS.index(month) + 1,\n            int(day),\n            int(hour),\n            int(minute),\n            int(second),\n            tzinfo=timezone.utc,\n        )\n    except ValueError:\n        return None\n\n    if _DAYS[when.weekday()] != day_name:\n        return None\n\n    delta = when - now\n    micros = delta // timedelta(microseconds=1)\n    seconds = -((-micros) // 1_000_000)  # exact ceiling division\n    return max(0, seconds)\n",
      "contentRedacted": false,
      "publishedContentSha256": "f3f2ae87efae425212a3b95cb4dd445c3d60178c3117db025cc2ebf6764f87f5"
    }
  ],
  "disclosure": "Synthetic inputs and observed execution. Original-byte hashes retained; selected source and oracle outputs reproduced. Private provider transcripts remain local.",
  "reviewedEvidence": {
    "provenance": "Synthetic test input; actual installed CLI execution; reviewed public-safe evidence fixture.",
    "runId": "20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed",
    "task": "Synthetic benchmark task: Retry-After parsing. Implement `retry_after(value, now)` in solution.py using only Python standard library. now is an aware UTC datetime. Return a nonnegative integer number of seconds or None for invalid input. Strings containing only ASCII decimal digits after surrounding whitespace return that integer. Otherwise accept an RFC HTTP-date of form `Wed, 21 Oct 2015 07:28:00 GMT`, case sensitive, validated weekday must agree with date. For a valid HTTP date return max(0, ceil((date-now).total_seconds())). Reject non-string inputs, signs, fractions, non-ASCII digits, extra text, and non-GMT timezone names. Do not change any other source file. Hidden tests are unavailable. Write the implementation to disk and finish. Do not install dependencies, access network, use other models, or edit unrelated paths.\n",
    "freeze": {
      "task_sha256": "6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe",
      "oracle_sha256": "3675736119622cac168d711045426c6678bd08212b9bedf1aab71126a7ef1a76",
      "starter_sha256": "595a2a41e7bfd09ad28045cb3be95f0126d702eb25e6f53c723c0b77c46b44e2",
      "frozen_before_execution_at": 1792154991.377478
    },
    "candidateCode": "import re\nfrom datetime import datetime, timedelta, timezone\n\n_DAYS = (\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\")\n_MONTHS = (\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",\n           \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\")\n\n_DELTA_SECONDS = re.compile(r\"[0-9]+\")\n_HTTP_DATE = re.compile(\n    r\"(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \"\n    r\"([0-9]{2}) \"\n    r\"(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \"\n    r\"([0-9]{4}) \"\n    r\"([0-9]{2}):([0-9]{2}):([0-9]{2}) GMT\"\n)\n\n\ndef retry_after(value, now):\n    \"\"\"Parse an HTTP Retry-After header according to the task contract.\"\"\"\n    if not isinstance(value, str):\n        return None\n\n    stripped = value.strip()\n    if _DELTA_SECONDS.fullmatch(stripped):\n        return int(stripped)\n\n    match = _HTTP_DATE.fullmatch(value)\n    if match is None:\n        return None\n\n    day_name, day, month, year, hour, minute, second = match.groups()\n    try:\n        when = datetime(\n            int(year),\n            _MONTHS.index(month) + 1,\n            int(day),\n            int(hour),\n            int(minute),\n            int(second),\n            tzinfo=timezone.utc,\n        )\n    except ValueError:\n        return None\n\n    if _DAYS[when.weekday()] != day_name:\n        return None\n\n    delta = when - now\n    micros = delta // timedelta(microseconds=1)\n    seconds = -((-micros) // 1_000_000)  # exact ceiling division\n    return max(0, seconds)\n",
    "oracle": {
      "passed": 20,
      "total": 20,
      "cases": [
        {
          "input": "0",
          "expected": 0,
          "actual": 0,
          "pass": true
        },
        {
          "input": " 120\t",
          "expected": 120,
          "actual": 120,
          "pass": true
        },
        {
          "input": "0007",
          "expected": 7,
          "actual": 7,
          "pass": true
        },
        {
          "input": "-1",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "+1",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "1.5",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "１２",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "١٢",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": null,
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": 4,
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "Wed, 21 Oct 2015 07:28:00 GMT",
          "expected": 1,
          "actual": 1,
          "pass": true
        },
        {
          "input": "Wed, 21 Oct 2015 07:28:01 GMT",
          "expected": 2,
          "actual": 2,
          "pass": true
        },
        {
          "input": "Wed, 21 Oct 2015 07:27:00 GMT",
          "expected": 0,
          "actual": 0,
          "pass": true
        },
        {
          "input": "Tue, 21 Oct 2015 07:28:00 GMT",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "Wed, 21 Oct 2015 07:28:00 UTC",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "wed, 21 Oct 2015 07:28:00 GMT",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "Wed, 31 Feb 2015 07:28:00 GMT",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "Wed, 21 Oct 2015 07:28:00 GMT trailing",
          "expected": null,
          "actual": null,
          "pass": true
        },
        {
          "input": "Wed, 21 Oct 2015 07:28:00 +0000",
          "expected": null,
          "actual": null,
          "pass": true
        }
      ]
    },
    "providerCalls": [
      {
        "requestEvidence": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed/0b70e3fb5621438e9821bea736ce9ba6.request.json",
        "requestSha256": "742a75aa42d486dff5ff63b1653e3bedb2b41a9108576764c67d34537e9514f3",
        "responseSha256": "54c51e6eb8e102bf70ab44e78101c4e4fc508311bf06f4e55f434b60975e8465",
        "httpStatus": 200,
        "requestedModel": "byok/anthropic/claude-haiku-5-5",
        "resolvedModel": "byok/anthropic/claude-haiku-5-5",
        "backendModel": "anthropic/claude-haiku-5-5",
        "resolutionSource": "explicit_byok_route",
        "generationControls": {
          "max_tokens": 8192,
          "temperature": 0,
          "reasoning_choice": {
            "mode": "default"
          },
          "auto_failover": false,
          "stream": true
        },
        "inputTokens": 1241,
        "outputTokens": 2617,
        "totalTokens": 3858,
        "costUsd": 0.0,
        "energyWh": null,
        "finishReasons": [
          "stop"
        ],
        "additiveReasoningTokens": null,
        "nestedReasoningTokens": null
      }
    ],
    "gatewayBefore": {
      "status": "healthy",
      "service": "local_gateway",
      "mode": "full",
      "port": 6120,
      "timestamp": "2026-10-16T12:49:51.414185+00:00",
      "uptime_seconds": 1000.7252171039581,
      "server_start_time": 1792153990.688971,
      "git_sha": "a5d8f6a1c4fc2bd9144502167f3eaa8461dcfc25",
      "build_time": "2026-10-16T08:32:43-04:00",
      "version": "a5d8f6a1c4fc2bd9144502167f3eaa8461dcfc25",
      "interop_min": 1,
      "interop_max": 1,
      "dependencies": {
        "event_stream": "http://localhost:6102"
      },
      "lightrag": {
        "enabled": true,
        "status": "online",
        "files_indexed": 8020,
        "url": "http://127.0.0.1:6150"
      },
      "cloud_relay": {
        "connected": true,
        "authenticated": true
      },
      "context_status": {
        "summary": "ok",
        "target_context": 65536,
        "providers": [
          {
            "provider": "ollama",
            "status": "ok",
            "actual_context": 131072,
            "target_context": 65536,
            "model": "deepseek-r1:7b"
          },
          {
            "provider": "lmstudio",
            "status": "ok",
            "actual_context": 262144,
            "target_context": 65536,
            "model": "verdict-4-35b-toolterse-v5-mlx"
          },
          {
            "provider": "llamacpp",
            "status": "context_unknown",
            "actual_context": null,
            "target_context": 65536,
            "model": null
          }
        ]
      }
    },
    "gatewayAfter": {
      "status": "healthy",
      "service": "local_gateway",
      "mode": "full",
      "port": 6120,
      "timestamp": "2026-10-16T12:50:05.874906+00:00",
      "uptime_seconds": 1015.1859409809113,
      "server_start_time": 1792153990.688971,
      "git_sha": "a5d8f6a1c4fc2bd9144502167f3eaa8461dcfc25",
      "build_time": "2026-10-16T08:32:43-04:00",
      "version": "a5d8f6a1c4fc2bd9144502167f3eaa8461dcfc25",
      "interop_min": 1,
      "interop_max": 1,
      "dependencies": {
        "event_stream": "http://localhost:6102"
      },
      "lightrag": {
        "enabled": true,
        "status": "online",
        "files_indexed": 8020,
        "url": "http://127.0.0.1:6150"
      },
      "cloud_relay": {
        "connected": true,
        "authenticated": true
      },
      "context_status": {
        "summary": "ok",
        "target_context": 65536,
        "providers": [
          {
            "provider": "ollama",
            "status": "ok",
            "actual_context": 131072,
            "target_context": 65536,
            "model": "deepseek-r1:7b"
          },
          {
            "provider": "lmstudio",
            "status": "ok",
            "actual_context": 262144,
            "target_context": 65536,
            "model": "verdict-4-35b-toolterse-v5-mlx"
          },
          {
            "provider": "llamacpp",
            "status": "context_unknown",
            "actual_context": null,
            "target_context": 65536,
            "model": null
          }
        ]
      }
    },
    "rawArtifacts": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_anthropic_claude-haiku-5-5_7731ed",
    "rawResultSha256": "bded8a4709f0266655590015f512a49e2d86ba368e482fc844ff4c91ca748c3b",
    "rawEvidenceHashes": {
      "health_before.json": "6bc3023f0328de44442143bcfb7c1da8661da78f00af9a5e3c8f69e4b6b605ef",
      "stdout.txt": "d80a3e1fe1bc3f2795291b39896ecccb0b89f0f8e075f60387652c6caf4c1bda",
      "policy.json": "e1d7a7f7f022f69dcb3e7fc79a820f84a8425324b888b94cfbc0099cb6f4bec7",
      "health_after.json": "b92ac2b9de4ebd8a5a491a26ddd220f6dedecc7e0ded8d52ec6b11a20322cbf2",
      "model_preflight.json": "ce77084a120ae2e783534287ea25ed1409038f84d8e92324ab2573207069fc07",
      "sandbox_preflight.json": "8415d156075475eba2b82a04636f833e85484020de5e6424f6140cd0ac61390f",
      "budget_ledger_at_terminal.json": "1d45ca157d4a7afa7ecb836f8b2b48944c3f2ef954a89bae31e416ffc76da046",
      "prompt.txt": "6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe",
      "oracle.stdout.txt": "5b22a02f39f6be766ee28b0cdfca80c3244449283a14f0786cda512f6659a6fd",
      "sandbox.sb": "7c3cac936267422f015f6fbcd9bd1c53cecabd46c4ac53311d70b36aae268020",
      "stderr.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "launch.json": "c5cd7cd48ea43cabd8393d7ceac9edc2effc758ee77bc7e61691662978e14e4b",
      "invocation.json": "21bd6e807045c054bde730402cef103ca175625974d0ab0e316b8dbbd9962ca9",
      "oracle.stderr.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "freeze.json": "f187034c6e5a8f10693951ff1e6370e027aae1bcf3c845216ea8b8853bd67d66",
      "product_source.json": "0619a9b9d337fa5756233d3d46fd5c95c4924a6b0e9491a67a2b9f055f19d489",
      "post-terminal-settlement.json": "60e2d54bf3765d7d8d562a9832a1196a484096cf303c9c4c325b296196e221a0",
      "workspace/aider_model_metadata.json": "a06144cd17ff156f6422d5f859b72c04d3521db89246bd01098248434b3d91d4",
      "workspace/solution.py": "f3f2ae87efae425212a3b95cb4dd445c3d60178c3117db025cc2ebf6764f87f5",
      "workspace/chat_history.md": "315400456bb802c4624e36bdb921cb550414617838888de60b95b4661bc9e146",
      "workspace/aider_settings.yml": "da3afb7e746be5c7272810b6b509eca3c2e1e5938584ccc065fb23f464764927",
      "terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.http.json": "7b7d2ba7da38df349730b844f5a7ee404601546b1255c0860ee52f313dde4f73",
      "terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.timing.json": "f52d14836e11ae79e048ef26062ea5df3446ab04e143106b52b2bd5e2c7c8516",
      "terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.response.txt": "54c51e6eb8e102bf70ab44e78101c4e4fc508311bf06f4e55f434b60975e8465",
      "terminal_evidence/0b70e3fb5621438e9821bea736ce9ba6.request.json": "742a75aa42d486dff5ff63b1653e3bedb2b41a9108576764c67d34537e9514f3",
      "terminal_evidence/budget_ledger.json": "1d45ca157d4a7afa7ecb836f8b2b48944c3f2ef954a89bae31e416ffc76da046",
      "source_snapshot/tools/verdict-code/VERSION": "361f0472cb741b7864ae144e7abdf93738d129230d117f20c103e1d8ae7bef7c",
      "source_snapshot/tools/verdict-code/verdict_code/agent.py": "39a9d2f1bb876c8031a257b1f801b8fb4146afb1b14a5434f12906b378d9d9c0",
      "source_snapshot/tools/verdict-code/verdict_code/main.py": "af0a9ac892f38ce9c9fb422bf91facced4e72835ae63e0522b8cf75b1d1605ab",
      "source_snapshot/tools/verdict-code/verdict_code/tools/__init__.py": "609350f15bbdec4099405afe9ddddddf7b2caa7d2d03cc53e0276d6ab8d3bd57",
      "source_snapshot/scripts/benchmarks/agent_comparison_rerun_20261016.py": "c625b691551051e1f0a3d8dea1fbb3ea6db797578005f86122099572c7acb0b0",
      "source_snapshot/scripts/benchmarks/agent_comparison_completion_repair_20261016.py": "827566af5635ef64554ef1201e9464a9544502d05813b0492020c77eb9ce07fa"
    },
    "productSource": {
      "head": "2b4a2c58091feb69360b7704c8ceee9f1ccffb89",
      "files": {
        "scripts/benchmarks/agent_comparison_rerun_20261016.py": "c625b691551051e1f0a3d8dea1fbb3ea6db797578005f86122099572c7acb0b0",
        "tools/verdict-code/verdict_code/agent.py": "39a9d2f1bb876c8031a257b1f801b8fb4146afb1b14a5434f12906b378d9d9c0",
        "tools/verdict-code/verdict_code/tools/__init__.py": "609350f15bbdec4099405afe9ddddddf7b2caa7d2d03cc53e0276d6ab8d3bd57",
        "tools/verdict-code/verdict_code/main.py": "af0a9ac892f38ce9c9fb422bf91facced4e72835ae63e0522b8cf75b1d1605ab",
        "tools/verdict-code/VERSION": "361f0472cb741b7864ae144e7abdf93738d129230d117f20c103e1d8ae7bef7c",
        "scripts/benchmarks/agent_comparison_completion_repair_20261016.py": "827566af5635ef64554ef1201e9464a9544502d05813b0492020c77eb9ce07fa"
      },
      "retainedSourceBytes": "source_snapshot/"
    },
    "protocol": {
      "schema": "agent_comparison_rerun_policy.v1",
      "temperature": 0,
      "timeout_seconds": 240,
      "per_request_output_tokens": 8192,
      "proxy_shared_max_input_tokens": 160000,
      "proxy_shared_max_output_tokens": 32000,
      "proxy_reservation": "entire request UTF8 bytes +32/message+128; providerusage settled after eachcall; failclosed ifmissing",
      "maximum_input_tokens": 160000,
      "total_token_budget": 400000,
      "max_turns": 24,
      "proxy_read_timeout_seconds": 270,
      "verdict_stream_idle_timeout_seconds": 240,
      "aider_request_timeout_seconds": 240,
      "reasoning": {
        "mode": "default"
      },
      "models": "exact pins, no failover",
      "task_file": "solution.py",
      "hidden_oracle_fed_to_agent": false,
      "producer_location": "outside candidate workspace; candidate read denied",
      "aider_context": "live exact catalog context metadata; history ceiling=min(inputbudget,context/2)",
      "appendix_model_changed": false
    },
    "catalogCostEstimate": {
      "estimatedUsd": 0.0014325999999999998,
      "inputUsdPerMtok": 0.1,
      "outputUsdPerMtok": 0.5,
      "source": "model-selection/selection.json",
      "formula": "(provider inputTokens * catalog inputUsdPerMtok + provider outputTokens * catalog outputUsdPerMtok) / 1000000; no cache discounts; not a charge receipt"
    },
    "providerReportedCostUsd": 0,
    "costAccountingDiagnostic": "Provider cost estimation returned zero despite positive usage and catalog prices. Cost is unavailable; the separately labelled catalog estimate is not an observed charge."
  }
}
