{
  "version": 4,
  "program": "bounded_read_continuation_v4",
  "title": "Continue an apparently cut-off Python source read",
  "kind": "conditional-gross-replay-estimate-not-measured-savings",
  "policy": {
    "minSourceLines": 10,
    "maxSourceLines": 250,
    "nextAdditionalLines": 100,
    "overlapLines": 1,
    "maxOutputBytes": 16000,
    "maxContinuations": 1,
    "requiresRegisteredRepository": true,
    "requiresRegularUnchangedFileNoSymlinks": true,
    "requiresContentBeyondPriorWindow": true
  },
  "trajectories": 2498,
  "issues": 500,
  "denominator": {
    "calls": 129846,
    "callsWithUsage": 129846,
    "inputTokens": 3201225688,
    "inputTokensReportedCalls": 129846,
    "outputTokens": 42377608,
    "outputTokensReportedCalls": 129846,
    "totalTokens": 3243603296,
    "totalTokensReportedCalls": 129846,
    "cachedInputTokens": 2498865874,
    "cachedInputTokensReportedCalls": 121228,
    "cacheCreationInputTokens": 31547900,
    "cacheCreationInputTokensReportedCalls": 40589,
    "reasoningOutputTokens": 23075825,
    "reasoningOutputTokensReportedCalls": 129846,
    "sourceReportedCostSum": 1344.591070199989,
    "callsWithReportedCost": 129846
  },
  "proposals": 12335,
  "matchedCalls": 38,
  "unmatchedExactProposals": 12297,
  "matchedIssues": 36,
  "matchedUsage": {
    "calls": 38,
    "callsWithUsage": 38,
    "inputTokens": 515742,
    "inputTokensReportedCalls": 38,
    "outputTokens": 2592,
    "outputTokensReportedCalls": 38,
    "totalTokens": 518334,
    "totalTokensReportedCalls": 38,
    "cachedInputTokens": 356098,
    "cachedInputTokensReportedCalls": 36,
    "cacheCreationInputTokens": 10620,
    "cacheCreationInputTokensReportedCalls": 9,
    "reasoningOutputTokens": 576,
    "reasoningOutputTokensReportedCalls": 38,
    "sourceReportedCostSum": 0.30480796,
    "callsWithReportedCost": 38
  },
  "matchPercent": 0.3080664775030401,
  "callPercent": 0.029265437518290898,
  "tokenPercent": 0.015980190938861348,
  "matchesWithReasoningOrProse": 25,
  "coverageOnly": {
    "matchedCalls": 489,
    "matchedIssues": 238,
    "matchedUsage": {
      "calls": 489,
      "callsWithUsage": 489,
      "inputTokens": 12097799,
      "inputTokensReportedCalls": 489,
      "outputTokens": 67489,
      "outputTokensReportedCalls": 489,
      "totalTokens": 12165288,
      "totalTokensReportedCalls": 489,
      "cachedInputTokens": 9009863,
      "cachedInputTokensReportedCalls": 410,
      "cacheCreationInputTokens": 91501,
      "cacheCreationInputTokensReportedCalls": 102,
      "reasoningOutputTokens": 39385,
      "reasoningOutputTokensReportedCalls": 489,
      "sourceReportedCostSum": 4.1962107899999985,
      "callsWithReportedCost": 489
    },
    "excludedFromExactTotal": true
  },
  "diagnostics": {
    "nextReadDiffers": 11381,
    "adjacentChainExcluded": 49,
    "nextNotSingletonObservedBash": 378
  },
  "cohorts": {
    "deepseek32": {
      "trajectories": 500,
      "issues": 500,
      "denominator": {
        "calls": 43683,
        "callsWithUsage": 43683,
        "inputTokens": 1177730550,
        "inputTokensReportedCalls": 43683,
        "outputTokens": 13441973,
        "outputTokensReportedCalls": 43683,
        "totalTokens": 1191172523,
        "totalTokensReportedCalls": 43683,
        "cachedInputTokens": 798975703,
        "cachedInputTokensReportedCalls": 43683,
        "cacheCreationInputTokens": 0,
        "cacheCreationInputTokensReportedCalls": 0,
        "reasoningOutputTokens": 7941114,
        "reasoningOutputTokensReportedCalls": 43683,
        "sourceReportedCostSum": 223.9232482499986,
        "callsWithReportedCost": 43683
      },
      "proposals": 4046,
      "matchedCalls": 6,
      "unmatchedExactProposals": 4040,
      "matchedIssues": 6,
      "matchedUsage": {
        "calls": 6,
        "callsWithUsage": 6,
        "inputTokens": 71413,
        "inputTokensReportedCalls": 6,
        "outputTokens": 473,
        "outputTokensReportedCalls": 6,
        "totalTokens": 71886,
        "totalTokensReportedCalls": 6,
        "cachedInputTokens": 26876,
        "cachedInputTokensReportedCalls": 6,
        "cacheCreationInputTokens": 0,
        "cacheCreationInputTokensReportedCalls": 0,
        "reasoningOutputTokens": 106,
        "reasoningOutputTokensReportedCalls": 6,
        "sourceReportedCostSum": 0.015790759999999997,
        "callsWithReportedCost": 6
      },
      "matchPercent": 0.14829461196243204,
      "callPercent": 0.013735320376347778,
      "tokenPercent": 0.006034894073862045,
      "matchesWithReasoningOrProse": 6,
      "coverageOnly": {
        "matchedCalls": 113,
        "matchedIssues": 84,
        "matchedUsage": {
          "calls": 113,
          "callsWithUsage": 113,
          "inputTokens": 3029712,
          "inputTokensReportedCalls": 113,
          "outputTokens": 21488,
          "outputTokensReportedCalls": 113,
          "totalTokens": 3051200,
          "totalTokensReportedCalls": 113,
          "cachedInputTokens": 2263202,
          "cachedInputTokensReportedCalls": 113,
          "cacheCreationInputTokens": 0,
          "cacheCreationInputTokensReportedCalls": 0,
          "reasoningOutputTokens": 14393,
          "reasoningOutputTokensReportedCalls": 113,
          "sourceReportedCostSum": 0.5469383399999999,
          "callsWithReportedCost": 113
        },
        "excludedFromExactTotal": true
      },
      "diagnostics": {
        "nextReadDiffers": 3918,
        "adjacentChainExcluded": 7,
        "nextNotSingletonObservedBash": 2
      }
    },
    "gemini3flash": {
      "trajectories": 498,
      "issues": 498,
      "denominator": {
        "calls": 28054,
        "callsWithUsage": 28054,
        "inputTokens": 847926935,
        "inputTokensReportedCalls": 28054,
        "outputTokens": 10071357,
        "outputTokensReportedCalls": 28054,
        "totalTokens": 857998292,
        "totalTokensReportedCalls": 28054,
        "cachedInputTokens": 613767718,
        "cachedInputTokensReportedCalls": 19436,
        "cacheCreationInputTokens": 0,
        "cacheCreationInputTokensReportedCalls": 0,
        "reasoningOutputTokens": 7549905,
        "reasoningOutputTokensReportedCalls": 28054,
        "sourceReportedCostSum": 177.98206539999973,
        "callsWithReportedCost": 28054
      },
      "proposals": 2708,
      "matchedCalls": 3,
      "unmatchedExactProposals": 2705,
      "matchedIssues": 3,
      "matchedUsage": {
        "calls": 3,
        "callsWithUsage": 3,
        "inputTokens": 41106,
        "inputTokensReportedCalls": 3,
        "outputTokens": 160,
        "outputTokensReportedCalls": 3,
        "totalTokens": 41266,
        "totalTokensReportedCalls": 3,
        "cachedInputTokens": 8565,
        "cachedInputTokensReportedCalls": 1,
        "cacheCreationInputTokens": 0,
        "cacheCreationInputTokensReportedCalls": 0,
        "reasoningOutputTokens": 58,
        "reasoningOutputTokensReportedCalls": 3,
        "sourceReportedCostSum": 0.01717875,
        "callsWithReportedCost": 3
      },
      "matchPercent": 0.11078286558345643,
      "callPercent": 0.01069366222285592,
      "tokenPercent": 0.004809566683846032,
      "matchesWithReasoningOrProse": 3,
      "coverageOnly": {
        "matchedCalls": 188,
        "matchedIssues": 120,
        "matchedUsage": {
          "calls": 188,
          "callsWithUsage": 188,
          "inputTokens": 4961144,
          "inputTokensReportedCalls": 188,
          "outputTokens": 19880,
          "outputTokensReportedCalls": 188,
          "totalTokens": 4981024,
          "totalTokensReportedCalls": 188,
          "cachedInputTokens": 3097084,
          "cachedInputTokensReportedCalls": 109,
          "cacheCreationInputTokens": 0,
          "cacheCreationInputTokensReportedCalls": 0,
          "reasoningOutputTokens": 13160,
          "reasoningOutputTokensReportedCalls": 188,
          "sourceReportedCostSum": 1.1465242000000002,
          "callsWithReportedCost": 188
        },
        "excludedFromExactTotal": true
      },
      "diagnostics": {
        "nextReadDiffers": 2477,
        "adjacentChainExcluded": 30,
        "nextNotSingletonObservedBash": 10
      }
    },
    "gpt52": {
      "trajectories": 500,
      "issues": 500,
      "denominator": {
        "calls": 17520,
        "callsWithUsage": 17520,
        "inputTokens": 322598043,
        "inputTokensReportedCalls": 17520,
        "outputTokens": 6692906,
        "outputTokensReportedCalls": 17520,
        "totalTokens": 329290949,
        "totalTokensReportedCalls": 17520,
        "cachedInputTokens": 267596032,
        "cachedInputTokensReportedCalls": 17520,
        "cacheCreationInputTokens": 0,
        "cacheCreationInputTokensReportedCalls": 0,
        "reasoningOutputTokens": 4871131,
        "reasoningOutputTokensReportedCalls": 17520,
        "sourceReportedCostSum": 236.78350885000094,
        "callsWithReportedCost": 17520
      },
      "proposals": 2250,
      "matchedCalls": 20,
      "unmatchedExactProposals": 2230,
      "matchedIssues": 20,
      "matchedUsage": {
        "calls": 20,
        "callsWithUsage": 20,
        "inputTokens": 273629,
        "inputTokensReportedCalls": 20,
        "outputTokens": 966,
        "outputTokensReportedCalls": 20,
        "totalTokens": 274595,
        "totalTokensReportedCalls": 20,
        "cachedInputTokens": 201728,
        "cachedInputTokensReportedCalls": 20,
        "cacheCreationInputTokens": 0,
        "cacheCreationInputTokensReportedCalls": 0,
        "reasoningOutputTokens": 183,
        "reasoningOutputTokensReportedCalls": 20,
        "sourceReportedCostSum": 0.17465314999999998,
        "callsWithReportedCost": 20
      },
      "matchPercent": 0.8888888888888888,
      "callPercent": 0.1141552511415525,
      "tokenPercent": 0.08338978062831602,
      "matchesWithReasoningOrProse": 7,
      "coverageOnly": {
        "matchedCalls": 86,
        "matchedIssues": 61,
        "matchedUsage": {
          "calls": 86,
          "callsWithUsage": 86,
          "inputTokens": 2186978,
          "inputTokensReportedCalls": 86,
          "outputTokens": 7588,
          "outputTokensReportedCalls": 86,
          "totalTokens": 2194566,
          "totalTokensReportedCalls": 86,
          "cachedInputTokens": 1821568,
          "cachedInputTokensReportedCalls": 86,
          "cacheCreationInputTokens": 0,
          "cacheCreationInputTokensReportedCalls": 0,
          "reasoningOutputTokens": 4180,
          "reasoningOutputTokensReportedCalls": 86,
          "sourceReportedCostSum": 1.0644738999999999,
          "callsWithReportedCost": 86
        },
        "excludedFromExactTotal": true
      },
      "diagnostics": {
        "nextReadDiffers": 2126,
        "nextNotSingletonObservedBash": 15,
        "adjacentChainExcluded": 3
      }
    },
    "opus45": {
      "trajectories": 500,
      "issues": 500,
      "denominator": {
        "calls": 16446,
        "callsWithUsage": 16446,
        "inputTokens": 330622219,
        "inputTokensReportedCalls": 16446,
        "outputTokens": 4806100,
        "outputTokensReportedCalls": 16446,
        "totalTokens": 335428319,
        "totalTokensReportedCalls": 16446,
        "cachedInputTokens": 314095302,
        "cachedInputTokensReportedCalls": 16446,
        "cacheCreationInputTokens": 13695410,
        "cacheCreationInputTokensReportedCalls": 16446,
        "reasoningOutputTokens": 1193410,
        "reasoningOutputTokensReportedCalls": 16446,
        "sourceReportedCostSum": 376.95399849999967,
        "callsWithReportedCost": 16446
      },
      "proposals": 1310,
      "matchedCalls": 1,
      "unmatchedExactProposals": 1309,
      "matchedIssues": 1,
      "matchedUsage": {
        "calls": 1,
        "callsWithUsage": 1,
        "inputTokens": 8996,
        "inputTokensReportedCalls": 1,
        "outputTokens": 194,
        "outputTokensReportedCalls": 1,
        "totalTokens": 9190,
        "totalTokensReportedCalls": 1,
        "cachedInputTokens": 7728,
        "cachedInputTokensReportedCalls": 1,
        "cacheCreationInputTokens": 1260,
        "cacheCreationInputTokensReportedCalls": 1,
        "reasoningOutputTokens": 84,
        "reasoningOutputTokensReportedCalls": 1,
        "sourceReportedCostSum": 0.016628999999999998,
        "callsWithReportedCost": 1
      },
      "matchPercent": 0.07633587786259542,
      "callPercent": 0.0060805058980907215,
      "tokenPercent": 0.0027397805967599295,
      "matchesWithReasoningOrProse": 1,
      "coverageOnly": {
        "matchedCalls": 32,
        "matchedIssues": 31,
        "matchedUsage": {
          "calls": 32,
          "callsWithUsage": 32,
          "inputTokens": 569258,
          "inputTokensReportedCalls": 32,
          "outputTokens": 7226,
          "outputTokensReportedCalls": 32,
          "totalTokens": 576484,
          "totalTokensReportedCalls": 32,
          "cachedInputTokens": 533867,
          "cachedInputTokensReportedCalls": 32,
          "cacheCreationInputTokens": 35135,
          "cacheCreationInputTokensReportedCalls": 32,
          "reasoningOutputTokens": 3530,
          "reasoningOutputTokensReportedCalls": 32,
          "sourceReportedCostSum": 0.66845725,
          "callsWithReportedCost": 32
        },
        "excludedFromExactTotal": true
      },
      "diagnostics": {
        "nextReadDiffers": 1079,
        "nextNotSingletonObservedBash": 198
      }
    },
    "sonnet45": {
      "trajectories": 500,
      "issues": 500,
      "denominator": {
        "calls": 24143,
        "callsWithUsage": 24143,
        "inputTokens": 522347941,
        "inputTokensReportedCalls": 24143,
        "outputTokens": 7365272,
        "outputTokensReportedCalls": 24143,
        "totalTokens": 529713213,
        "totalTokensReportedCalls": 24143,
        "cachedInputTokens": 504431119,
        "cachedInputTokensReportedCalls": 24143,
        "cacheCreationInputTokens": 17852490,
        "cacheCreationInputTokensReportedCalls": 24143,
        "reasoningOutputTokens": 1520265,
        "reasoningOutputTokensReportedCalls": 24143,
        "sourceReportedCostSum": 328.9482491999996,
        "callsWithReportedCost": 24143
      },
      "proposals": 2021,
      "matchedCalls": 8,
      "unmatchedExactProposals": 2013,
      "matchedIssues": 8,
      "matchedUsage": {
        "calls": 8,
        "callsWithUsage": 8,
        "inputTokens": 120598,
        "inputTokensReportedCalls": 8,
        "outputTokens": 799,
        "outputTokensReportedCalls": 8,
        "totalTokens": 121397,
        "totalTokensReportedCalls": 8,
        "cachedInputTokens": 111201,
        "cachedInputTokensReportedCalls": 8,
        "cacheCreationInputTokens": 9360,
        "cacheCreationInputTokensReportedCalls": 8,
        "reasoningOutputTokens": 145,
        "reasoningOutputTokensReportedCalls": 8,
        "sourceReportedCostSum": 0.0805563,
        "callsWithReportedCost": 8
      },
      "matchPercent": 0.3958436417615042,
      "callPercent": 0.03313589860415027,
      "tokenPercent": 0.022917495169220935,
      "matchesWithReasoningOrProse": 8,
      "coverageOnly": {
        "matchedCalls": 70,
        "matchedIssues": 58,
        "matchedUsage": {
          "calls": 70,
          "callsWithUsage": 70,
          "inputTokens": 1350707,
          "inputTokensReportedCalls": 70,
          "outputTokens": 11307,
          "outputTokensReportedCalls": 70,
          "totalTokens": 1362014,
          "totalTokensReportedCalls": 70,
          "cachedInputTokens": 1294142,
          "cachedInputTokensReportedCalls": 70,
          "cacheCreationInputTokens": 56366,
          "cacheCreationInputTokensReportedCalls": 70,
          "reasoningOutputTokens": 4122,
          "reasoningOutputTokensReportedCalls": 70,
          "sourceReportedCostSum": 0.7698171,
          "callsWithReportedCost": 70
        },
        "excludedFromExactTotal": true
      },
      "diagnostics": {
        "nextReadDiffers": 1781,
        "nextNotSingletonObservedBash": 153,
        "adjacentChainExcluded": 9
      }
    }
  },
  "byPartition": {
    "discovery": {
      "trajectories": 484,
      "issues": 97,
      "denominator": {
        "calls": 24158,
        "callsWithUsage": 24158,
        "inputTokens": 573984641,
        "inputTokensReportedCalls": 24158,
        "outputTokens": 8010454,
        "outputTokensReportedCalls": 24158,
        "totalTokens": 581995095,
        "totalTokensReportedCalls": 24158,
        "cachedInputTokens": 440339396,
        "cachedInputTokensReportedCalls": 22502,
        "cacheCreationInputTokens": 5773511,
        "cacheCreationInputTokensReportedCalls": 7347,
        "reasoningOutputTokens": 4345227,
        "reasoningOutputTokensReportedCalls": 24158,
        "sourceReportedCostSum": 244.4874665399989,
        "callsWithReportedCost": 24158
      },
      "proposals": 2323,
      "matchedCalls": 14,
      "unmatchedExactProposals": 2309,
      "matchedIssues": 14,
      "matchedUsage": {
        "calls": 14,
        "callsWithUsage": 14,
        "inputTokens": 166755,
        "inputTokensReportedCalls": 14,
        "outputTokens": 1003,
        "outputTokensReportedCalls": 14,
        "totalTokens": 167758,
        "totalTokensReportedCalls": 14,
        "cachedInputTokens": 142932,
        "cachedInputTokensReportedCalls": 14,
        "cacheCreationInputTokens": 4940,
        "cacheCreationInputTokensReportedCalls": 4,
        "reasoningOutputTokens": 242,
        "reasoningOutputTokensReportedCalls": 14,
        "sourceReportedCostSum": 0.08855468,
        "callsWithReportedCost": 14
      },
      "matchPercent": 0.6026689625484287,
      "callPercent": 0.05795181720341088,
      "tokenPercent": 0.028824641554753998,
      "matchesWithReasoningOrProse": 9,
      "coverageOnly": {
        "matchedCalls": 77,
        "matchedIssues": 47,
        "matchedUsage": {
          "calls": 77,
          "callsWithUsage": 77,
          "inputTokens": 1753433,
          "inputTokensReportedCalls": 77,
          "outputTokens": 9986,
          "outputTokensReportedCalls": 77,
          "totalTokens": 1763419,
          "totalTokensReportedCalls": 77,
          "cachedInputTokens": 1228750,
          "cachedInputTokensReportedCalls": 64,
          "cacheCreationInputTokens": 10126,
          "cacheCreationInputTokensReportedCalls": 10,
          "reasoningOutputTokens": 6243,
          "reasoningOutputTokensReportedCalls": 77,
          "sourceReportedCostSum": 0.60852826,
          "callsWithReportedCost": 77
        },
        "excludedFromExactTotal": true
      },
      "diagnostics": {
        "nextReadDiffers": 2171,
        "adjacentChainExcluded": 8,
        "nextNotSingletonObservedBash": 53
      }
    },
    "validation": {
      "trajectories": 2014,
      "issues": 403,
      "denominator": {
        "calls": 105688,
        "callsWithUsage": 105688,
        "inputTokens": 2627241047,
        "inputTokensReportedCalls": 105688,
        "outputTokens": 34367154,
        "outputTokensReportedCalls": 105688,
        "totalTokens": 2661608201,
        "totalTokensReportedCalls": 105688,
        "cachedInputTokens": 2058526478,
        "cachedInputTokensReportedCalls": 98726,
        "cacheCreationInputTokens": 25774389,
        "cacheCreationInputTokensReportedCalls": 33242,
        "reasoningOutputTokens": 18730598,
        "reasoningOutputTokensReportedCalls": 105688,
        "sourceReportedCostSum": 1100.1036036599905,
        "callsWithReportedCost": 105688
      },
      "proposals": 10012,
      "matchedCalls": 24,
      "unmatchedExactProposals": 9988,
      "matchedIssues": 22,
      "matchedUsage": {
        "calls": 24,
        "callsWithUsage": 24,
        "inputTokens": 348987,
        "inputTokensReportedCalls": 24,
        "outputTokens": 1589,
        "outputTokensReportedCalls": 24,
        "totalTokens": 350576,
        "totalTokensReportedCalls": 24,
        "cachedInputTokens": 213166,
        "cachedInputTokensReportedCalls": 22,
        "cacheCreationInputTokens": 5680,
        "cacheCreationInputTokensReportedCalls": 5,
        "reasoningOutputTokens": 334,
        "reasoningOutputTokensReportedCalls": 24,
        "sourceReportedCostSum": 0.21625328,
        "callsWithReportedCost": 24
      },
      "matchPercent": 0.23971234518577705,
      "callPercent": 0.02270834910302021,
      "tokenPercent": 0.013171585504894527,
      "matchesWithReasoningOrProse": 16,
      "coverageOnly": {
        "matchedCalls": 412,
        "matchedIssues": 191,
        "matchedUsage": {
          "calls": 412,
          "callsWithUsage": 412,
          "inputTokens": 10344366,
          "inputTokensReportedCalls": 412,
          "outputTokens": 57503,
          "outputTokensReportedCalls": 412,
          "totalTokens": 10401869,
          "totalTokensReportedCalls": 412,
          "cachedInputTokens": 7781113,
          "cachedInputTokensReportedCalls": 346,
          "cacheCreationInputTokens": 81375,
          "cacheCreationInputTokensReportedCalls": 92,
          "reasoningOutputTokens": 33142,
          "reasoningOutputTokensReportedCalls": 412,
          "sourceReportedCostSum": 3.5876825300000004,
          "callsWithReportedCost": 412
        },
        "excludedFromExactTotal": true
      },
      "diagnostics": {
        "nextReadDiffers": 9210,
        "adjacentChainExcluded": 41,
        "nextNotSingletonObservedBash": 325
      }
    }
  },
  "partitionMethod": "SHA256('autotoken-v4:'+instance_id)%5==0 discovery; others validation; same issue grouped across models",
  "selectionNote": "Discovery-only scan favored one-line-overlap and fixed100-line continuation over adjacent or repeated-window rules. Policy frozen before validation. Earlier project use means this is not untouched external validation.",
  "limitations": [
    "Filled source window ending in indentation is evidence of a possible cut-off, not proof of incomplete code or file continuation.",
    "Runtime must verify registered repository, regular file/no symlinks, unchanged state and content beyond prior end. Historical filesystem state is not reconstructed.",
    "One continuation only; overlapping/dependent adjacent substitutions are excluded.",
    "Only whole singleton next model responses with one aligned successful bounded read result count. Bundles and multitool responses excluded.",
    "Exact means same file/start/end; canonical quoting and absolute/relative file spelling are normalized.",
    "Coverage-only reads may fit a larger returned window but added-context token cost and output-cap feasibility are unknown, so excluded from exact totals.",
    "Recorded usage belongs to original calls; saved usage is a conditional gross estimate before routing, program, false-positive and downstream cache costs.",
    "Removing a response may discard needed reasoning. Task quality and net savings untested.",
    "Cache and reasoning counts are subsets of input/output totals, never added again.",
    "No recorded command executed and no paid inference."
  ],
  "sourceManifestSha256": "73cccd8079f5c3150015207a7d102f1a4409c7996f0ea9ae1305f1b45239247b",
  "plannerSha256": "7cafcc3d7c0be6a16dcb68ef07c17b929e72bf2475f539783c0f31d9f5fb5c22"
}
