{
  "schema": "agent-rerun-receipt.v1",
  "record": {
    "id": "20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870",
    "taskId": "retry-after-v1",
    "taskTitle": "Strict HTTP Retry-After parser (synthetic test input)",
    "agent": "aider",
    "requestedModel": "byok/qwen/qwen3.8-flash",
    "resolvedModel": "byok/qwen/qwen3.8-flash",
    "wallSeconds": 220.804,
    "inputTokens": 934,
    "outputTokens": 10463,
    "totalTokens": 11397,
    "costUsd": 0.00505771,
    "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."
    ],
    "evidenceFile": "20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870.json",
    "archived": false
  },
  "sourceRecord": {
    "id": "20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870",
    "originalCampaign": "agent_comparison_20261015",
    "rerun": true,
    "correctionOf": null,
    "cohort": "current-model",
    "family": "current-model-appendix",
    "taskId": "retry-after-v1",
    "taskTitle": "Strict HTTP Retry-After parser (synthetic test input)",
    "agent": "aider",
    "requestedModel": "byok/qwen/qwen3.8-flash",
    "resolvedModel": "byok/qwen/qwen3.8-flash",
    "status": "PASS",
    "wallSeconds": 220.804,
    "inputTokens": 934,
    "outputTokens": 10463,
    "totalTokens": 11397,
    "costUsd": 0.00505771,
    "energyWh": null,
    "assertionsPassed": 20,
    "assertionsTotal": 20,
    "observedCodePass": true,
    "exitCode": 0,
    "evidencePaths": [
      "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870"
    ],
    "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."
    ],
    "freeze": {
      "task_sha256": "6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe",
      "oracle_sha256": "3675736119622cac168d711045426c6678bd08212b9bedf1aab71126a7ef1a76",
      "starter_sha256": "595a2a41e7bfd09ad28045cb3be95f0126d702eb25e6f53c723c0b77c46b44e2",
      "frozen_before_execution_at": 1792154991.377455
    },
    "mutableRuntimeFiles": [
      "budget_ledger.json",
      "d8690b55c3b74896a3259bd3449dd67d.http.json",
      "d8690b55c3b74896a3259bd3449dd67d.request.json",
      "d8690b55c3b74896a3259bd3449dd67d.response.txt",
      "d8690b55c3b74896a3259bd3449dd67d.timing.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": 934,
    "partialOutputTokens": 10463,
    "partialTotalTokens": 11397,
    "partialEstimatedCostUsd": 0.00505771,
    "reportedAdditiveReasoningTokens": null,
    "reportedReasoningTokens": 9814,
    "allCallsReportReasoning": true,
    "tokensPerSecond": 51.616,
    "knownTokensIncludingAdditiveReasoning": 11397,
    "knownTokensIncludingAdditiveReasoningPerSecond": 51.616,
    "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": true
    },
    "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_qwen_qwen3.8-flash_d64870.json",
    "publicEvidenceSha256": "c0c43e89743a639fde40a35e7e4e617cc44aa764bb866abc66223f67561f7700",
    "modelSelectionEvidence": "model-selection/selection.json",
    "catalogEstimatedCostUsd": 0.00505771,
    "catalogCostEstimateSource": "model-selection/selection.json",
    "catalogCostEstimateFormula": "(provider inputTokens * catalog inputUsdPerMtok + provider outputTokens * catalog outputUsdPerMtok) / 1000000; no cache discounts; not a charge receipt"
  },
  "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_qwen_qwen3.8-flash_d64870/budget_ledger.json",
      "sha256": "413d9196de33caef272d5080d6a8611e2eb0d79bb7cb925f27479610efe557b2",
      "bytes": 118
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/budget_ledger_at_terminal.json",
      "sha256": "413d9196de33caef272d5080d6a8611e2eb0d79bb7cb925f27479610efe557b2",
      "bytes": 118
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/d8690b55c3b74896a3259bd3449dd67d.http.json",
      "sha256": "7b7d2ba7da38df349730b844f5a7ee404601546b1255c0860ee52f313dde4f73",
      "bytes": 138
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/d8690b55c3b74896a3259bd3449dd67d.request.json",
      "sha256": "dff63f4ce6de2d1b40003cfcbf795a85e7ef6f34ec0195c7b0649a09ccb5d3f0",
      "bytes": 4495
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/d8690b55c3b74896a3259bd3449dd67d.response.txt",
      "sha256": "be63ae11f8456a19fd87e71d6bdc0efe889cd947c28dd1c0674bdbf6bd83d9ed",
      "bytes": 49865
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/d8690b55c3b74896a3259bd3449dd67d.timing.json",
      "sha256": "7f96f3f2fc0e56150684567a9438cccd2335e20d76a383c5257beb9a29b73ef3",
      "bytes": 309
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/freeze.json",
      "sha256": "061bb5802166bed7d984314f459220eb63260d06c3c3066421eb5bae57683e6b",
      "bytes": 313,
      "content": "{\n  \"task_sha256\": \"6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe\",\n  \"oracle_sha256\": \"3675736119622cac168d711045426c6678bd08212b9bedf1aab71126a7ef1a76\",\n  \"starter_sha256\": \"595a2a41e7bfd09ad28045cb3be95f0126d702eb25e6f53c723c0b77c46b44e2\",\n  \"frozen_before_execution_at\": 1792154991.377455\n}",
      "contentRedacted": false,
      "publishedContentSha256": "061bb5802166bed7d984314f459220eb63260d06c3c3066421eb5bae57683e6b"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/health_after.json",
      "sha256": "c5445dc2e0b79ed87642a09deb77f03f6704cd4eddcdc4618ef9923354bbd4f3",
      "bytes": 1327
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/health_before.json",
      "sha256": "83ae25dc8d55204fd40a22c64f83ca26a81cad406585a37f94f77ec4326ee9a4",
      "bytes": 1327
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/invocation.json",
      "sha256": "be48e46d7f90e96f25df35084802092340710c12ab406c3044ff3bca530192df",
      "bytes": 1998
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/launch.json",
      "sha256": "65cb40b7a2166d4d5b4aa6c32c50e87221b5161b03f786bf1c68464839713af8",
      "bytes": 168
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/model_preflight.json",
      "sha256": "7183c4f9fe5dff10e46562c7c992d7be725eafcc070afd4c51a947c3a46847f8",
      "bytes": 1975
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/oracle.stderr.txt",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0,
      "content": "",
      "contentRedacted": false,
      "publishedContentSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/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_qwen_qwen3.8-flash_d64870/policy.json",
      "sha256": "3163bbcc22b8d5d499225c93837b6be7a119a160855c41ab97209f56c997537d",
      "bytes": 920,
      "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\": true\n}",
      "contentRedacted": false,
      "publishedContentSha256": "3163bbcc22b8d5d499225c93837b6be7a119a160855c41ab97209f56c997537d"
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/post-terminal-settlement.json",
      "sha256": "390a40c6cdeb44f51632033588a5598a7de48e13eb4d9ac2db86fd7f4c6c039e",
      "bytes": 383
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/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_qwen_qwen3.8-flash_d64870/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_qwen_qwen3.8-flash_d64870/result.json",
      "sha256": "d6cc36eeea14c517cc863147e720fce5881a2d2d483f5c594d56edd245de3741",
      "bytes": 5293
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/sandbox.sb",
      "sha256": "1112eb280d51acbb7a656c5fa109ec3e4d8834fe93abde8580dc35046cc6c5ce",
      "bytes": 5691
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/sandbox_preflight.json",
      "sha256": "8415d156075475eba2b82a04636f833e85484020de5e6424f6140cd0ac61390f",
      "bytes": 93
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/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_qwen_qwen3.8-flash_d64870/source_snapshot/scripts/benchmarks/agent_comparison_rerun_20261016.py",
      "sha256": "c625b691551051e1f0a3d8dea1fbb3ea6db797578005f86122099572c7acb0b0",
      "bytes": 38332
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/source_snapshot/tools/verdict-code/VERSION",
      "sha256": "361f0472cb741b7864ae144e7abdf93738d129230d117f20c103e1d8ae7bef7c",
      "bytes": 8
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/source_snapshot/tools/verdict-code/verdict_code/agent.py",
      "sha256": "39a9d2f1bb876c8031a257b1f801b8fb4146afb1b14a5434f12906b378d9d9c0",
      "bytes": 764703
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/source_snapshot/tools/verdict-code/verdict_code/main.py",
      "sha256": "af0a9ac892f38ce9c9fb422bf91facced4e72835ae63e0522b8cf75b1d1605ab",
      "bytes": 625279
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/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_qwen_qwen3.8-flash_d64870/stderr.txt",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/stdout.txt",
      "sha256": "c76f177857d27f1b17dbb88edd589392b323dc38eb2a4776252964053384f207",
      "bytes": 2324
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/terminal_evidence/budget_ledger.json",
      "sha256": "413d9196de33caef272d5080d6a8611e2eb0d79bb7cb925f27479610efe557b2",
      "bytes": 118
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.http.json",
      "sha256": "7b7d2ba7da38df349730b844f5a7ee404601546b1255c0860ee52f313dde4f73",
      "bytes": 138
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.request.json",
      "sha256": "dff63f4ce6de2d1b40003cfcbf795a85e7ef6f34ec0195c7b0649a09ccb5d3f0",
      "bytes": 4495
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.response.txt",
      "sha256": "be63ae11f8456a19fd87e71d6bdc0efe889cd947c28dd1c0674bdbf6bd83d9ed",
      "bytes": 49865
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.timing.json",
      "sha256": "7f96f3f2fc0e56150684567a9438cccd2335e20d76a383c5257beb9a29b73ef3",
      "bytes": 309
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/workspace/aider_model_metadata.json",
      "sha256": "ca6e584ae0ec3f49c5fd105409e1df2658db69ea35dfa0e1f49ae965deca6dbb",
      "bytes": 185
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/workspace/aider_settings.yml",
      "sha256": "34d42aeca49ec38ee9e07ea615a92560d2430d5c460d3dd433745b1b99ac1a4a",
      "bytes": 181
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/workspace/chat_history.md",
      "sha256": "c313280aa8202b728b751fc5c4054b321b990b5c25650c468d8c4ca8fca571c1",
      "bytes": 4409
    },
    {
      "path": "artifacts/agent_comparison_completion_repair_20261016/matrix/20261016T124951Z_aider_byok_qwen_qwen3.8-flash_d64870/workspace/solution.py",
      "sha256": "284b2aaebe83aceb670d58e6c09de64c07363dea48e9651d1649fb46ae380589",
      "bytes": 1995,
      "content": "import re\nfrom datetime import datetime, timedelta, timezone\n\n_WEEKDAYS = (\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\")\n\n_MONTHS = {\n    \"Jan\": 1,\n    \"Feb\": 2,\n    \"Mar\": 3,\n    \"Apr\": 4,\n    \"May\": 5,\n    \"Jun\": 6,\n    \"Jul\": 7,\n    \"Aug\": 8,\n    \"Sep\": 9,\n    \"Oct\": 10,\n    \"Nov\": 11,\n    \"Dec\": 12,\n}\n\n_HTTP_DATE_RE = 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 _ascii_decimal_only(value):\n    return all(\"0\" <= ch <= \"9\" for ch in value)\n\n\ndef _digits_to_int(value):\n    try:\n        return int(value)\n    except ValueError:\n        result = 0\n        chunk_size = 9\n        for i in range(0, len(value), chunk_size):\n            chunk = value[i:i + chunk_size]\n            result = result * (10 ** len(chunk)) + int(chunk)\n        return result\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    value = value.strip()\n    if not value:\n        return None\n\n    if _ascii_decimal_only(value):\n        return _digits_to_int(value)\n\n    match = _HTTP_DATE_RE.fullmatch(value)\n    if match is None:\n        return None\n\n    dow_name, day, month_name, year, hour, minute, second = match.groups()\n\n    try:\n        parsed = datetime(\n            int(year),\n            _MONTHS[month_name],\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 _WEEKDAYS[parsed.weekday()] != dow_name:\n        return None\n\n    try:\n        delta = parsed - now\n    except (TypeError, ValueError, OverflowError):\n        return None\n\n    if delta <= timedelta(0):\n        return 0\n\n    seconds = delta.days * 86400 + delta.seconds\n    if delta.microseconds > 0:\n        seconds += 1\n\n    return seconds\n",
      "contentRedacted": false,
      "publishedContentSha256": "284b2aaebe83aceb670d58e6c09de64c07363dea48e9651d1649fb46ae380589"
    }
  ],
  "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_qwen_qwen3.8-flash_d64870",
    "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.377455
    },
    "candidateCode": "import re\nfrom datetime import datetime, timedelta, timezone\n\n_WEEKDAYS = (\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\")\n\n_MONTHS = {\n    \"Jan\": 1,\n    \"Feb\": 2,\n    \"Mar\": 3,\n    \"Apr\": 4,\n    \"May\": 5,\n    \"Jun\": 6,\n    \"Jul\": 7,\n    \"Aug\": 8,\n    \"Sep\": 9,\n    \"Oct\": 10,\n    \"Nov\": 11,\n    \"Dec\": 12,\n}\n\n_HTTP_DATE_RE = 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 _ascii_decimal_only(value):\n    return all(\"0\" <= ch <= \"9\" for ch in value)\n\n\ndef _digits_to_int(value):\n    try:\n        return int(value)\n    except ValueError:\n        result = 0\n        chunk_size = 9\n        for i in range(0, len(value), chunk_size):\n            chunk = value[i:i + chunk_size]\n            result = result * (10 ** len(chunk)) + int(chunk)\n        return result\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    value = value.strip()\n    if not value:\n        return None\n\n    if _ascii_decimal_only(value):\n        return _digits_to_int(value)\n\n    match = _HTTP_DATE_RE.fullmatch(value)\n    if match is None:\n        return None\n\n    dow_name, day, month_name, year, hour, minute, second = match.groups()\n\n    try:\n        parsed = datetime(\n            int(year),\n            _MONTHS[month_name],\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 _WEEKDAYS[parsed.weekday()] != dow_name:\n        return None\n\n    try:\n        delta = parsed - now\n    except (TypeError, ValueError, OverflowError):\n        return None\n\n    if delta <= timedelta(0):\n        return 0\n\n    seconds = delta.days * 86400 + delta.seconds\n    if delta.microseconds > 0:\n        seconds += 1\n\n    return 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_qwen_qwen3.8-flash_d64870/d8690b55c3b74896a3259bd3449dd67d.request.json",
        "requestSha256": "dff63f4ce6de2d1b40003cfcbf795a85e7ef6f34ec0195c7b0649a09ccb5d3f0",
        "responseSha256": "be63ae11f8456a19fd87e71d6bdc0efe889cd947c28dd1c0674bdbf6bd83d9ed",
        "httpStatus": 200,
        "requestedModel": "byok/qwen/qwen3.8-flash",
        "resolvedModel": "byok/qwen/qwen3.8-flash",
        "backendModel": "qwen/qwen3.8-flash",
        "resolutionSource": "explicit_byok_route",
        "generationControls": {
          "max_tokens": 8192,
          "temperature": 0,
          "reasoning_choice": {
            "mode": "default"
          },
          "auto_failover": false,
          "stream": true
        },
        "inputTokens": 934,
        "outputTokens": 10463,
        "totalTokens": 11397,
        "costUsd": 0.00505771,
        "energyWh": null,
        "finishReasons": [
          "stop"
        ],
        "additiveReasoningTokens": null,
        "nestedReasoningTokens": 9814
      }
    ],
    "gatewayBefore": {
      "status": "healthy",
      "service": "local_gateway",
      "mode": "full",
      "port": 6120,
      "timestamp": "2026-10-16T12:49:51.459470+00:00",
      "uptime_seconds": 1000.7704999446869,
      "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:53:32.757778+00:00",
      "uptime_seconds": 1222.0688099861145,
      "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_qwen_qwen3.8-flash_d64870",
    "rawResultSha256": "d6cc36eeea14c517cc863147e720fce5881a2d2d483f5c594d56edd245de3741",
    "rawEvidenceHashes": {
      "health_before.json": "83ae25dc8d55204fd40a22c64f83ca26a81cad406585a37f94f77ec4326ee9a4",
      "stdout.txt": "c76f177857d27f1b17dbb88edd589392b323dc38eb2a4776252964053384f207",
      "policy.json": "3163bbcc22b8d5d499225c93837b6be7a119a160855c41ab97209f56c997537d",
      "health_after.json": "c5445dc2e0b79ed87642a09deb77f03f6704cd4eddcdc4618ef9923354bbd4f3",
      "model_preflight.json": "7183c4f9fe5dff10e46562c7c992d7be725eafcc070afd4c51a947c3a46847f8",
      "sandbox_preflight.json": "8415d156075475eba2b82a04636f833e85484020de5e6424f6140cd0ac61390f",
      "budget_ledger_at_terminal.json": "413d9196de33caef272d5080d6a8611e2eb0d79bb7cb925f27479610efe557b2",
      "prompt.txt": "6c229fd3a8dda211432b4ff70838fa0cb73b325bc778da52ab0cdd280619a5fe",
      "oracle.stdout.txt": "5b22a02f39f6be766ee28b0cdfca80c3244449283a14f0786cda512f6659a6fd",
      "sandbox.sb": "1112eb280d51acbb7a656c5fa109ec3e4d8834fe93abde8580dc35046cc6c5ce",
      "stderr.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "launch.json": "65cb40b7a2166d4d5b4aa6c32c50e87221b5161b03f786bf1c68464839713af8",
      "invocation.json": "be48e46d7f90e96f25df35084802092340710c12ab406c3044ff3bca530192df",
      "oracle.stderr.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "freeze.json": "061bb5802166bed7d984314f459220eb63260d06c3c3066421eb5bae57683e6b",
      "product_source.json": "0619a9b9d337fa5756233d3d46fd5c95c4924a6b0e9491a67a2b9f055f19d489",
      "post-terminal-settlement.json": "390a40c6cdeb44f51632033588a5598a7de48e13eb4d9ac2db86fd7f4c6c039e",
      "workspace/aider_model_metadata.json": "ca6e584ae0ec3f49c5fd105409e1df2658db69ea35dfa0e1f49ae965deca6dbb",
      "workspace/solution.py": "284b2aaebe83aceb670d58e6c09de64c07363dea48e9651d1649fb46ae380589",
      "workspace/chat_history.md": "c313280aa8202b728b751fc5c4054b321b990b5c25650c468d8c4ca8fca571c1",
      "workspace/aider_settings.yml": "34d42aeca49ec38ee9e07ea615a92560d2430d5c460d3dd433745b1b99ac1a4a",
      "terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.http.json": "7b7d2ba7da38df349730b844f5a7ee404601546b1255c0860ee52f313dde4f73",
      "terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.request.json": "dff63f4ce6de2d1b40003cfcbf795a85e7ef6f34ec0195c7b0649a09ccb5d3f0",
      "terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.response.txt": "be63ae11f8456a19fd87e71d6bdc0efe889cd947c28dd1c0674bdbf6bd83d9ed",
      "terminal_evidence/budget_ledger.json": "413d9196de33caef272d5080d6a8611e2eb0d79bb7cb925f27479610efe557b2",
      "terminal_evidence/d8690b55c3b74896a3259bd3449dd67d.timing.json": "7f96f3f2fc0e56150684567a9438cccd2335e20d76a383c5257beb9a29b73ef3",
      "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": true
    },
    "catalogCostEstimate": {
      "estimatedUsd": 0.00505771,
      "inputUsdPerMtok": 0.15,
      "outputUsdPerMtok": 0.47,
      "source": "model-selection/selection.json",
      "formula": "(provider inputTokens * catalog inputUsdPerMtok + provider outputTokens * catalog outputUsdPerMtok) / 1000000; no cache discounts; not a charge receipt"
    }
  }
}
