{
 "measurement": "Re-measuring the configured parallel-subagent arm, after finding its configuration figure was double counted",
 "claude_code_version": "2.1.229 (Claude Code)",
 "what_this_corrects": "each-parallel-subagent-costs-20398-tokens reported 'this machine's user-level configuration measures 75,466 tokens (120,160 loaded against 44,694 isolated)'. Both figures were run totals from a TWO-TURN task, and modelUsage sums across API calls, so the difference counts the configuration once per turn. Measured on a single turn the configuration is 37,808, and twice that reproduces the published figure to 0.20%. The derived claim that a subagent re-pays '95% of that configuration' divided by a denominator twice too large; the real ratio is about 2x, so the original understated its own finding.",
 "method": {
  "cells": "trivial (0 files), inline at 1 and 4 files, fanout at 1 and 4 subagents, each in BOTH configuration states, all inside one round before the next begins.",
  "config_size": "loaded minus isolated on a SINGLE-TURN trivial prompt. That is the fix: the original took the same difference across a two-turn run.",
  "inline_control": "The published configured arm had no paired inline control, which is the arm that separates 'per subagent' from 'per unit of work'. It is added here.",
  "controls": {
   "arrival": "Every run must leave exactly N files named agent-<k>.txt on disk; the count is recorded per run and a mismatch is recorded unscored. All 40 runs passed.",
   "flag": "--setting-sources project asserted PRESENT on isolated runs and asserted ABSENT on loaded ones, so the arms cannot silently be the same measurement.",
   "turns": "Recorded per run, because a run total mistaken for a context size is the error being corrected."
  },
  "known_limits": {
   "loaded_fanout_has_spread": "The loaded 4-agent cell ran 616,851 / 616,116 / 616,059 / 552,926. Three cluster tightly and one sits 10% low. Turn counts in that cell vary (7, 7, 10, 6) without tracking context, so turns is not a usable cost proxy for fan-out here.",
   "two_point_slope": "The per-agent slope is still drawn through two agent counts, 1 and 4, exactly as the original was. It is the weakest shape in this corpus and remains so.",
   "one_machine": "37,808 describes one machine's user-scope configuration and transfers to nobody. The 2x-ish multiple and the direction are the transferable parts.",
   "mechanism_unmeasured": "Why the penalty is about twice the configuration rather than once is not measured. A subagent running more than one turn of its own would produce it, but nothing here tests that, and it is not claimed."
  }
 },
 "results": {
  "config_single_turn": 37808,
  "config_as_published": 75466,
  "published_over_measured": 1.996,
  "trivial_isolated": 22406.0,
  "trivial_loaded": 60214.0,
  "fanout_slope_per_agent_isolated": 20749,
  "fanout_slope_per_agent_loaded": 113868,
  "fanout_slope_difference": 93120,
  "difference_over_config": 2.46,
  "inline_slope_per_file_isolated": 310,
  "inline_slope_per_file_loaded": 304,
  "inline_slope_difference": -6,
  "published_isolated_slope": 20398,
  "published_loaded_slope": 92304
 },
 "runs": [
  {
   "kind": "trivial",
   "n": 0,
   "isolated": true,
   "round": 0,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 3.2,
   "context": 22406,
   "turns": 1,
   "cost": 0.067744
  },
  {
   "kind": "trivial",
   "n": 0,
   "isolated": false,
   "round": 0,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 6.6,
   "context": 60214,
   "turns": 1,
   "cost": 0.45045799999999997
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": true,
   "round": 0,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 15.3,
   "context": 87296,
   "turns": 3,
   "cost": 0.18108074999999996
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": false,
   "round": 0,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 22.6,
   "context": 274427,
   "turns": 3,
   "cost": 0.8608962499999999
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": true,
   "round": 0,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 6.0,
   "context": 44733,
   "turns": 2,
   "cost": 0.0862465
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": false,
   "round": 0,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 10.1,
   "context": 120820,
   "turns": 2,
   "cost": 0.488012
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": true,
   "round": 0,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 20.9,
   "context": 149572,
   "turns": 6,
   "cost": 0.28072550000000007
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": false,
   "round": 0,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 33.8,
   "context": 616851,
   "turns": 7,
   "cost": 1.7532524999999997
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": true,
   "round": 0,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 12.6,
   "context": 45665,
   "turns": 5,
   "cost": 0.1078215
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": false,
   "round": 0,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 12.9,
   "context": 121733,
   "turns": 5,
   "cost": 0.508992
  },
  {
   "kind": "trivial",
   "n": 0,
   "isolated": true,
   "round": 1,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 2.8,
   "context": 22406,
   "turns": 1,
   "cost": 0.067749
  },
  {
   "kind": "trivial",
   "n": 0,
   "isolated": false,
   "round": 1,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 6.7,
   "context": 60214,
   "turns": 1,
   "cost": 0.45045799999999997
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": true,
   "round": 1,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 17.1,
   "context": 87476,
   "turns": 3,
   "cost": 0.1499235
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": false,
   "round": 1,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 20.1,
   "context": 274389,
   "turns": 3,
   "cost": 0.825795
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": true,
   "round": 1,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 6.2,
   "context": 44733,
   "turns": 2,
   "cost": 0.0862365
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": false,
   "round": 1,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 12.2,
   "context": 120820,
   "turns": 2,
   "cost": 0.488012
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": true,
   "round": 1,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 21.8,
   "context": 149827,
   "turns": 6,
   "cost": 0.28349599999999997
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": false,
   "round": 1,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 33.0,
   "context": 616116,
   "turns": 7,
   "cost": 1.74492425
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": true,
   "round": 1,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 11.3,
   "context": 45652,
   "turns": 5,
   "cost": 0.1073515
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": false,
   "round": 1,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 13.0,
   "context": 121733,
   "turns": 5,
   "cost": 0.508992
  },
  {
   "kind": "trivial",
   "n": 0,
   "isolated": true,
   "round": 2,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 3.5,
   "context": 22406,
   "turns": 1,
   "cost": 0.06775400000000001
  },
  {
   "kind": "trivial",
   "n": 0,
   "isolated": false,
   "round": 2,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 4.8,
   "context": 60214,
   "turns": 1,
   "cost": 0.45045799999999997
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": true,
   "round": 2,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 21.4,
   "context": 87288,
   "turns": 3,
   "cost": 0.14661149999999998
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": false,
   "round": 2,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 31.3,
   "context": 274537,
   "turns": 3,
   "cost": 0.82798625
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": true,
   "round": 2,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 6.1,
   "context": 44733,
   "turns": 2,
   "cost": 0.0862365
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": false,
   "round": 2,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 10.7,
   "context": 120820,
   "turns": 2,
   "cost": 0.488012
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": true,
   "round": 2,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 22.9,
   "context": 149492,
   "turns": 6,
   "cost": 0.2798550000000001
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": false,
   "round": 2,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 33.4,
   "context": 616059,
   "turns": 10,
   "cost": 1.7528757499999998
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": true,
   "round": 2,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 10.6,
   "context": 45665,
   "turns": 5,
   "cost": 0.1078215
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": false,
   "round": 2,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 11.4,
   "context": 121733,
   "turns": 5,
   "cost": 0.508992
  },
  {
   "kind": "trivial",
   "n": 0,
   "isolated": true,
   "round": 3,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 3.8,
   "context": 22406,
   "turns": 1,
   "cost": 0.06775400000000001
  },
  {
   "kind": "trivial",
   "n": 0,
   "isolated": false,
   "round": 3,
   "status": "ok",
   "files_expected": 0,
   "files_created": 0,
   "wall": 4.6,
   "context": 60214,
   "turns": 1,
   "cost": 0.45045799999999997
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": true,
   "round": 3,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 18.4,
   "context": 87171,
   "turns": 3,
   "cost": 0.14507124999999998
  },
  {
   "kind": "fanout",
   "n": 1,
   "isolated": false,
   "round": 3,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 20.6,
   "context": 274706,
   "turns": 3,
   "cost": 0.8239639999999999
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": true,
   "round": 3,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 6.8,
   "context": 44733,
   "turns": 2,
   "cost": 0.0862365
  },
  {
   "kind": "inline",
   "n": 1,
   "isolated": false,
   "round": 3,
   "status": "ok",
   "files_expected": 1,
   "files_created": 1,
   "wall": 9.2,
   "context": 120820,
   "turns": 2,
   "cost": 0.488012
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": true,
   "round": 3,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 33.0,
   "context": 149504,
   "turns": 6,
   "cost": 0.2802995000000001
  },
  {
   "kind": "fanout",
   "n": 4,
   "isolated": false,
   "round": 3,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 33.5,
   "context": 552926,
   "turns": 6,
   "cost": 1.6977872500000004
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": true,
   "round": 3,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 10.1,
   "context": 45663,
   "turns": 5,
   "cost": 0.10774650000000001
  },
  {
   "kind": "inline",
   "n": 4,
   "isolated": false,
   "round": 3,
   "status": "ok",
   "files_expected": 4,
   "files_created": 4,
   "wall": 12.0,
   "context": 121733,
   "turns": 5,
   "cost": 0.508992
  }
 ]
}