{
  "files": [
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 187211,
          "mode": "map",
          "preservation": 79.17,
          "savings_pct": 99.21,
          "tokens": 130
        },
        {
          "latency_us": 7457,
          "mode": "signatures",
          "preservation": 75.0,
          "savings_pct": 99.11,
          "tokens": 146
        },
        {
          "latency_us": 366,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.45,
          "tokens": 15681
        },
        {
          "latency_us": 26540,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.12,
          "tokens": 16392
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.92,
          "tokens": 13
        }
      ],
      "path": "rust/src/cli/dispatch.rs",
      "raw_tokens": 16412
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 9977,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 99.51,
          "tokens": 82
        },
        {
          "latency_us": 9628,
          "mode": "signatures",
          "preservation": 66.67,
          "savings_pct": 99.7,
          "tokens": 49
        },
        {
          "latency_us": 237,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.3,
          "tokens": 16553
        },
        {
          "latency_us": 23070,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 16602
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.92,
          "tokens": 13
        }
      ],
      "path": "rust/src/tool_defs/granular.rs",
      "raw_tokens": 16602
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 8495,
          "mode": "map",
          "preservation": 66.67,
          "savings_pct": 93.79,
          "tokens": 1113
        },
        {
          "latency_us": 8147,
          "mode": "signatures",
          "preservation": 97.62,
          "savings_pct": 91.8,
          "tokens": 1469
        },
        {
          "latency_us": 332,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 3.77,
          "tokens": 17243
        },
        {
          "latency_us": 28732,
          "mode": "entropy",
          "preservation": 97.62,
          "savings_pct": 1.43,
          "tokens": 17661
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.93,
          "tokens": 13
        }
      ],
      "path": "rust/src/core/editor_registry/writers.rs",
      "raw_tokens": 17918
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 801,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 157,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 140,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.24,
          "tokens": 14941
        },
        {
          "latency_us": 25101,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.01,
          "tokens": 14976
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.91,
          "tokens": 13
        }
      ],
      "path": "ARCHITECTURE.md",
      "raw_tokens": 14977
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 6618,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 95.0,
          "tokens": 835
        },
        {
          "latency_us": 6198,
          "mode": "signatures",
          "preservation": 83.72,
          "savings_pct": 95.79,
          "tokens": 703
        },
        {
          "latency_us": 253,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.87,
          "tokens": 15896
        },
        {
          "latency_us": 28704,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.14,
          "tokens": 16686
        },
        {
          "latency_us": 1,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.92,
          "tokens": 13
        }
      ],
      "path": "rust/tests/intensive_benchmarks.rs",
      "raw_tokens": 16710
    },
    {
      "ext": "json",
      "modes": [
        {
          "latency_us": 263,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 273,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 327,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.45,
          "tokens": 14240
        },
        {
          "latency_us": 19716,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 14305
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.91,
          "tokens": 13
        }
      ],
      "path": "website/generated/mcp-tools.json",
      "raw_tokens": 14305
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 6165,
          "mode": "map",
          "preservation": 95.12,
          "savings_pct": 96.83,
          "tokens": 438
        },
        {
          "latency_us": 5868,
          "mode": "signatures",
          "preservation": 85.37,
          "savings_pct": 97.35,
          "tokens": 366
        },
        {
          "latency_us": 260,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.81,
          "tokens": 13136
        },
        {
          "latency_us": 20700,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.5,
          "tokens": 13731
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.91,
          "tokens": 13
        }
      ],
      "path": "rust/src/setup.rs",
      "raw_tokens": 13800
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 5695,
          "mode": "map",
          "preservation": 70.78,
          "savings_pct": 94.18,
          "tokens": 780
        },
        {
          "latency_us": 5457,
          "mode": "signatures",
          "preservation": 98.7,
          "savings_pct": 92.13,
          "tokens": 1055
        },
        {
          "latency_us": 223,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 8.49,
          "tokens": 12262
        },
        {
          "latency_us": 20786,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 13400
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.9,
          "tokens": 13
        }
      ],
      "path": "rust/src/core/config/mod.rs",
      "raw_tokens": 13400
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 6142,
          "mode": "map",
          "preservation": 51.92,
          "savings_pct": 97.29,
          "tokens": 319
        },
        {
          "latency_us": 5898,
          "mode": "signatures",
          "preservation": 86.54,
          "savings_pct": 94.01,
          "tokens": 705
        },
        {
          "latency_us": 253,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.78,
          "tokens": 11210
        },
        {
          "latency_us": 19095,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.21,
          "tokens": 11748
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.89,
          "tokens": 13
        }
      ],
      "path": "rust/src/server/mod.rs",
      "raw_tokens": 11773
    },
    {
      "ext": "css",
      "modes": [
        {
          "latency_us": 181,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 167,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 145,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.4,
          "tokens": 17615
        },
        {
          "latency_us": 22043,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 18049
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.93,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/style.css",
      "raw_tokens": 18049
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 5973,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 94.14,
          "tokens": 694
        },
        {
          "latency_us": 5739,
          "mode": "signatures",
          "preservation": 87.8,
          "savings_pct": 94.54,
          "tokens": 646
        },
        {
          "latency_us": 250,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 3.61,
          "tokens": 11412
        },
        {
          "latency_us": 19294,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.14,
          "tokens": 11823
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.89,
          "tokens": 13
        }
      ],
      "path": "rust/src/tools/ctx_knowledge.rs",
      "raw_tokens": 11840
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 5389,
          "mode": "map",
          "preservation": 84.48,
          "savings_pct": 95.73,
          "tokens": 570
        },
        {
          "latency_us": 5302,
          "mode": "signatures",
          "preservation": 87.93,
          "savings_pct": 95.42,
          "tokens": 611
        },
        {
          "latency_us": 258,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 6.65,
          "tokens": 12459
        },
        {
          "latency_us": 21030,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 13346
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.9,
          "tokens": 13
        }
      ],
      "path": "rust/src/doctor/mod.rs",
      "raw_tokens": 13346
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 94,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 88,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 97,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 15.98,
          "tokens": 11973
        },
        {
          "latency_us": 21903,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 2.22,
          "tokens": 13935
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.91,
          "tokens": 13
        }
      ],
      "path": "docs/IMPLEMENTATION_PROTOCOL.md",
      "raw_tokens": 14251
    },
    {
      "ext": "json",
      "modes": [
        {
          "latency_us": 308,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 300,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 351,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.43,
          "tokens": 15139
        },
        {
          "latency_us": 19486,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 15205
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.91,
          "tokens": 13
        }
      ],
      "path": "benchmark/results/benchmark-results-fixed.json",
      "raw_tokens": 15205
    },
    {
      "ext": "rs",
      "modes": [
        {
          "latency_us": 5515,
          "mode": "map",
          "preservation": 4.72,
          "savings_pct": 99.56,
          "tokens": 55
        },
        {
          "latency_us": 5092,
          "mode": "signatures",
          "preservation": 95.28,
          "savings_pct": 92.68,
          "tokens": 915
        },
        {
          "latency_us": 170,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.56,
          "tokens": 11924
        },
        {
          "latency_us": 18764,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 12494
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.9,
          "tokens": 13
        }
      ],
      "path": "rust/src/shell/compress/tests.rs",
      "raw_tokens": 12494
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 122,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 114,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 113,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.43,
          "tokens": 12483
        },
        {
          "latency_us": 19763,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 1.44,
          "tokens": 12610
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.9,
          "tokens": 13
        }
      ],
      "path": "PROJECT.md",
      "raw_tokens": 12794
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 5106,
          "mode": "map",
          "preservation": 45.45,
          "savings_pct": 99.36,
          "tokens": 78
        },
        {
          "latency_us": 4449,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 98.11,
          "tokens": 229
        },
        {
          "latency_us": 120,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 3.69,
          "tokens": 11691
        },
        {
          "latency_us": 18390,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 12139
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.89,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-context.js",
      "raw_tokens": 12139
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 4077,
          "mode": "map",
          "preservation": 52.63,
          "savings_pct": 98.96,
          "tokens": 126
        },
        {
          "latency_us": 3911,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 97.65,
          "tokens": 284
        },
        {
          "latency_us": 146,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.48,
          "tokens": 11779
        },
        {
          "latency_us": 17676,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.05,
          "tokens": 12073
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.89,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-live.js",
      "raw_tokens": 12079
    },
    {
      "ext": "json",
      "modes": [
        {
          "latency_us": 153,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 147,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 177,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.61,
          "tokens": 16260
        },
        {
          "latency_us": 17765,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 16359
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.92,
          "tokens": 13
        }
      ],
      "path": "package-lock.json",
      "raw_tokens": 16359
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 127,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 99.81,
          "tokens": 18
        },
        {
          "latency_us": 98,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 99.81,
          "tokens": 18
        },
        {
          "latency_us": 122,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 6.66,
          "tokens": 9041
        },
        {
          "latency_us": 15099,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 2.26,
          "tokens": 9467
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.87,
          "tokens": 13
        }
      ],
      "path": "INTERNAL_ARCHITECTURE.md",
      "raw_tokens": 9686
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 87,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 87,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 102,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.27,
          "tokens": 8699
        },
        {
          "latency_us": 13957,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.28,
          "tokens": 9062
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.86,
          "tokens": 13
        }
      ],
      "path": "rust/README.md",
      "raw_tokens": 9087
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 3397,
          "mode": "map",
          "preservation": 28.57,
          "savings_pct": 99.43,
          "tokens": 48
        },
        {
          "latency_us": 3348,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 97.16,
          "tokens": 238
        },
        {
          "latency_us": 129,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 3.9,
          "tokens": 8068
        },
        {
          "latency_us": 13000,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.55,
          "tokens": 8349
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.85,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-overview.js",
      "raw_tokens": 8395
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 3496,
          "mode": "map",
          "preservation": 23.53,
          "savings_pct": 99.44,
          "tokens": 46
        },
        {
          "latency_us": 3311,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 97.17,
          "tokens": 231
        },
        {
          "latency_us": 116,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.71,
          "tokens": 7942
        },
        {
          "latency_us": 12112,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.66,
          "tokens": 8109
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.84,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-graph.js",
      "raw_tokens": 8163
    },
    {
      "ext": "html",
      "modes": [
        {
          "latency_us": 98,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 81,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 91,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.38,
          "tokens": 8450
        },
        {
          "latency_us": 11003,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 8656
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.85,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/index.html",
      "raw_tokens": 8656
    },
    {
      "ext": "ts",
      "modes": [
        {
          "latency_us": 3299,
          "mode": "map",
          "preservation": 65.52,
          "savings_pct": 96.97,
          "tokens": 201
        },
        {
          "latency_us": 3044,
          "mode": "signatures",
          "preservation": 93.1,
          "savings_pct": 94.84,
          "tokens": 342
        },
        {
          "latency_us": 89,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 6.71,
          "tokens": 6187
        },
        {
          "latency_us": 10005,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 6632
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.8,
          "tokens": 13
        }
      ],
      "path": "packages/pi-lean-ctx/extensions/index.ts",
      "raw_tokens": 6632
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 3396,
          "mode": "map",
          "preservation": 25.81,
          "savings_pct": 99.55,
          "tokens": 33
        },
        {
          "latency_us": 3196,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 97.35,
          "tokens": 195
        },
        {
          "latency_us": 116,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.05,
          "tokens": 7213
        },
        {
          "latency_us": 10877,
          "mode": "entropy",
          "preservation": 96.77,
          "savings_pct": 0.05,
          "tokens": 7360
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.82,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-knowledge.js",
      "raw_tokens": 7364
    },
    {
      "ext": "json",
      "modes": [
        {
          "latency_us": 26,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 23,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 32,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.28,
          "tokens": 6322
        },
        {
          "latency_us": 4343,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 6340
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.79,
          "tokens": 13
        }
      ],
      "path": "n8n-workflows/daily-tweets.json",
      "raw_tokens": 6340
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 1513,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 98.8,
          "tokens": 60
        },
        {
          "latency_us": 1390,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 98.8,
          "tokens": 60
        },
        {
          "latency_us": 51,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 7.42,
          "tokens": 4639
        },
        {
          "latency_us": 7621,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 5011
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.74,
          "tokens": 13
        }
      ],
      "path": "n8n-workflows/tweet.js",
      "raw_tokens": 5011
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 2471,
          "mode": "map",
          "preservation": 95.0,
          "savings_pct": 97.47,
          "tokens": 118
        },
        {
          "latency_us": 2059,
          "mode": "signatures",
          "preservation": 85.0,
          "savings_pct": 97.79,
          "tokens": 103
        },
        {
          "latency_us": 79,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 6.54,
          "tokens": 4357
        },
        {
          "latency_us": 7549,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 4662
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.72,
          "tokens": 13
        }
      ],
      "path": "rust/tests/e2e_test.py",
      "raw_tokens": 4662
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 1574,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 96.85,
          "tokens": 141
        },
        {
          "latency_us": 1473,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 96.85,
          "tokens": 141
        },
        {
          "latency_us": 68,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 3.57,
          "tokens": 4316
        },
        {
          "latency_us": 6473,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 4476
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.71,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/lib/shared.js",
      "raw_tokens": 4476
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 1904,
          "mode": "map",
          "preservation": 33.33,
          "savings_pct": 99.27,
          "tokens": 34
        },
        {
          "latency_us": 1844,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 97.11,
          "tokens": 134
        },
        {
          "latency_us": 71,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.48,
          "tokens": 4514
        },
        {
          "latency_us": 6654,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 4629
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.72,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-compression.js",
      "raw_tokens": 4629
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 1895,
          "mode": "map",
          "preservation": 27.27,
          "savings_pct": 99.1,
          "tokens": 40
        },
        {
          "latency_us": 1796,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 95.85,
          "tokens": 185
        },
        {
          "latency_us": 71,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 3.54,
          "tokens": 4304
        },
        {
          "latency_us": 6641,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 1.05,
          "tokens": 4415
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.71,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-remaining.js",
      "raw_tokens": 4462
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 62,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 40,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 39,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.59,
          "tokens": 3836
        },
        {
          "latency_us": 6239,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 2.46,
          "tokens": 3841
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.67,
          "tokens": 13
        }
      ],
      "path": "lean/PAPER.md",
      "raw_tokens": 3938
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 54,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 49,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 52,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 1.75,
          "tokens": 4276
        },
        {
          "latency_us": 6486,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 3.24,
          "tokens": 4211
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.7,
          "tokens": 13
        }
      ],
      "path": "docs/contracts/http-mcp-contract-v1.md",
      "raw_tokens": 4352
    },
    {
      "ext": "js",
      "modes": [
        {
          "latency_us": 1831,
          "mode": "map",
          "preservation": 28.57,
          "savings_pct": 99.4,
          "tokens": 28
        },
        {
          "latency_us": 1933,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 97.15,
          "tokens": 132
        },
        {
          "latency_us": 61,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 3.32,
          "tokens": 4480
        },
        {
          "latency_us": 6702,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 4634
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.72,
          "tokens": 13
        }
      ],
      "path": "rust/src/dashboard/static/components/cockpit-health.js",
      "raw_tokens": 4634
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 36,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 31,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 33,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 1.17,
          "tokens": 4297
        },
        {
          "latency_us": 5859,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.83,
          "tokens": 4312
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.7,
          "tokens": 13
        }
      ],
      "path": "README.md",
      "raw_tokens": 4348
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 30,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 27,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 100.0,
          "tokens": 0
        },
        {
          "latency_us": 29,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 11.24,
          "tokens": 3095
        },
        {
          "latency_us": 5405,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 4.62,
          "tokens": 3326
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.63,
          "tokens": 13
        }
      ],
      "path": "SECURITY.md",
      "raw_tokens": 3487
    },
    {
      "ext": "md",
      "modes": [
        {
          "latency_us": 51,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 98.18,
          "tokens": 63
        },
        {
          "latency_us": 35,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 98.18,
          "tokens": 63
        },
        {
          "latency_us": 34,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 7.26,
          "tokens": 3205
        },
        {
          "latency_us": 5459,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.03,
          "tokens": 3455
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.62,
          "tokens": 13
        }
      ],
      "path": "blog/twir-lean-ctx.md",
      "raw_tokens": 3456
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 1568,
          "mode": "map",
          "preservation": 76.67,
          "savings_pct": 94.95,
          "tokens": 143
        },
        {
          "latency_us": 1240,
          "mode": "signatures",
          "preservation": 73.33,
          "savings_pct": 92.3,
          "tokens": 218
        },
        {
          "latency_us": 53,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.19,
          "tokens": 2771
        },
        {
          "latency_us": 4524,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.04,
          "tokens": 2832
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.54,
          "tokens": 13
        }
      ],
      "path": "discord-bot/bot.py",
      "raw_tokens": 2833
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 1344,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 95.78,
          "tokens": 137
        },
        {
          "latency_us": 1135,
          "mode": "signatures",
          "preservation": 68.75,
          "savings_pct": 96.52,
          "tokens": 113
        },
        {
          "latency_us": 57,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 1.76,
          "tokens": 3189
        },
        {
          "latency_us": 4658,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.09,
          "tokens": 3243
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.6,
          "tokens": 13
        }
      ],
      "path": "lab/tokenizer_bench.py",
      "raw_tokens": 3246
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 1388,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 90.28,
          "tokens": 306
        },
        {
          "latency_us": 1330,
          "mode": "signatures",
          "preservation": 68.0,
          "savings_pct": 91.14,
          "tokens": 279
        },
        {
          "latency_us": 53,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.25,
          "tokens": 3140
        },
        {
          "latency_us": 4568,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.32,
          "tokens": 3138
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.59,
          "tokens": 13
        }
      ],
      "path": "lab/training/distill.py",
      "raw_tokens": 3148
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 1538,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 94.02,
          "tokens": 169
        },
        {
          "latency_us": 1413,
          "mode": "signatures",
          "preservation": 45.0,
          "savings_pct": 95.43,
          "tokens": 129
        },
        {
          "latency_us": 44,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.14,
          "tokens": 2820
        },
        {
          "latency_us": 4161,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.14,
          "tokens": 2820
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.54,
          "tokens": 13
        }
      ],
      "path": "lab/runner.py",
      "raw_tokens": 2824
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 1378,
          "mode": "map",
          "preservation": 95.0,
          "savings_pct": 95.52,
          "tokens": 122
        },
        {
          "latency_us": 1330,
          "mode": "signatures",
          "preservation": 85.0,
          "savings_pct": 96.07,
          "tokens": 107
        },
        {
          "latency_us": 48,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 2.35,
          "tokens": 2662
        },
        {
          "latency_us": 4010,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 2726
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.52,
          "tokens": 13
        }
      ],
      "path": "rust/tests/embedding_download_test.py",
      "raw_tokens": 2726
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 1099,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 90.02,
          "tokens": 245
        },
        {
          "latency_us": 1027,
          "mode": "signatures",
          "preservation": 61.9,
          "savings_pct": 91.29,
          "tokens": 214
        },
        {
          "latency_us": 44,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.69,
          "tokens": 2439
        },
        {
          "latency_us": 3728,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.04,
          "tokens": 2455
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.47,
          "tokens": 13
        }
      ],
      "path": "lab/experiments/attention_maps.py",
      "raw_tokens": 2456
    },
    {
      "ext": "ts",
      "modes": [
        {
          "latency_us": 1402,
          "mode": "map",
          "preservation": 28.57,
          "savings_pct": 97.6,
          "tokens": 58
        },
        {
          "latency_us": 1291,
          "mode": "signatures",
          "preservation": 95.24,
          "savings_pct": 87.94,
          "tokens": 291
        },
        {
          "latency_us": 54,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 5.43,
          "tokens": 2281
        },
        {
          "latency_us": 3867,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 2412
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.46,
          "tokens": 13
        }
      ],
      "path": "packages/pi-lean-ctx/extensions/mcp-bridge.ts",
      "raw_tokens": 2412
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 1351,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 95.82,
          "tokens": 109
        },
        {
          "latency_us": 1444,
          "mode": "signatures",
          "preservation": 50.0,
          "savings_pct": 96.59,
          "tokens": 89
        },
        {
          "latency_us": 39,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.79,
          "tokens": 2485
        },
        {
          "latency_us": 3819,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.04,
          "tokens": 2609
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.5,
          "tokens": 13
        }
      ],
      "path": "lab/experiments/run_attention.py",
      "raw_tokens": 2610
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 993,
          "mode": "map",
          "preservation": 79.17,
          "savings_pct": 92.19,
          "tokens": 172
        },
        {
          "latency_us": 972,
          "mode": "signatures",
          "preservation": 66.67,
          "savings_pct": 90.46,
          "tokens": 210
        },
        {
          "latency_us": 38,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.68,
          "tokens": 2186
        },
        {
          "latency_us": 3382,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.05,
          "tokens": 2200
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.41,
          "tokens": 13
        }
      ],
      "path": "lab/training/line_classifier.py",
      "raw_tokens": 2201
    },
    {
      "ext": "ts",
      "modes": [
        {
          "latency_us": 1292,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 93.18,
          "tokens": 173
        },
        {
          "latency_us": 1215,
          "mode": "signatures",
          "preservation": 100.0,
          "savings_pct": 93.69,
          "tokens": 160
        },
        {
          "latency_us": 39,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 4.02,
          "tokens": 2434
        },
        {
          "latency_us": 3740,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 2.21,
          "tokens": 2480
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.49,
          "tokens": 13
        }
      ],
      "path": "src/core/signature-extractor.ts",
      "raw_tokens": 2536
    },
    {
      "ext": "ts",
      "modes": [
        {
          "latency_us": 1163,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 92.48,
          "tokens": 180
        },
        {
          "latency_us": 1084,
          "mode": "signatures",
          "preservation": 93.33,
          "savings_pct": 93.23,
          "tokens": 162
        },
        {
          "latency_us": 39,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 17.84,
          "tokens": 1967
        },
        {
          "latency_us": 3591,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.0,
          "tokens": 2394
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.46,
          "tokens": 13
        }
      ],
      "path": "src/core/entropy-compressor.ts",
      "raw_tokens": 2394
    },
    {
      "ext": "py",
      "modes": [
        {
          "latency_us": 872,
          "mode": "map",
          "preservation": 100.0,
          "savings_pct": 89.22,
          "tokens": 228
        },
        {
          "latency_us": 801,
          "mode": "signatures",
          "preservation": 73.68,
          "savings_pct": 90.64,
          "tokens": 198
        },
        {
          "latency_us": 38,
          "mode": "aggressive",
          "preservation": 100.0,
          "savings_pct": 0.33,
          "tokens": 2109
        },
        {
          "latency_us": 3068,
          "mode": "entropy",
          "preservation": 100.0,
          "savings_pct": 0.19,
          "tokens": 2112
        },
        {
          "latency_us": 0,
          "mode": "cache_hit",
          "preservation": null,
          "savings_pct": 99.39,
          "tokens": 13
        }
      ],
      "path": "lab/experiments/comprehension.py",
      "raw_tokens": 2116
    }
  ],
  "files_measured": 50,
  "files_scanned": 50,
  "languages": [
    {
      "best_mode": "map",
      "best_mode_tokens": 5016,
      "best_savings_pct": 96.52,
      "count": 10,
      "ext": "rs",
      "total_tokens": 144295
    },
    {
      "best_mode": "signatures",
      "best_mode_tokens": 81,
      "best_savings_pct": 99.9,
      "count": 10,
      "ext": "md",
      "total_tokens": 80376
    },
    {
      "best_mode": "map",
      "best_mode_tokens": 634,
      "best_savings_pct": 99.11,
      "count": 10,
      "ext": "js",
      "total_tokens": 71352
    },
    {
      "best_mode": "aggressive",
      "best_mode_tokens": 51961,
      "best_savings_pct": 0.48,
      "count": 4,
      "ext": "json",
      "total_tokens": 52209
    },
    {
      "best_mode": "signatures",
      "best_mode_tokens": 1660,
      "best_savings_pct": 94.24,
      "count": 10,
      "ext": "py",
      "total_tokens": 28822
    },
    {
      "best_mode": "aggressive",
      "best_mode_tokens": 17615,
      "best_savings_pct": 2.4,
      "count": 1,
      "ext": "css",
      "total_tokens": 18049
    },
    {
      "best_mode": "map",
      "best_mode_tokens": 612,
      "best_savings_pct": 95.62,
      "count": 4,
      "ext": "ts",
      "total_tokens": 13974
    },
    {
      "best_mode": "aggressive",
      "best_mode_tokens": 8450,
      "best_savings_pct": 2.38,
      "count": 1,
      "ext": "html",
      "total_tokens": 8656
    }
  ],
  "mode_summaries": [
    {
      "avg_latency_us": 5980,
      "avg_preservation": 81.16,
      "avg_savings_pct": 97.38,
      "mode": "map",
      "total_compressed_tokens": 8092
    },
    {
      "avg_latency_us": 2250,
      "avg_preservation": 90.47,
      "avg_savings_pct": 96.63,
      "mode": "signatures",
      "total_compressed_tokens": 11190
    },
    {
      "avg_latency_us": 122,
      "avg_preservation": 100.0,
      "avg_savings_pct": 3.91,
      "mode": "aggressive",
      "total_compressed_tokens": 401621
    },
    {
      "avg_latency_us": 12343,
      "avg_preservation": 99.89,
      "avg_savings_pct": 0.51,
      "mode": "entropy",
      "total_compressed_tokens": 415902
    },
    {
      "avg_latency_us": 0,
      "avg_preservation": null,
      "avg_savings_pct": 99.75,
      "mode": "cache_hit",
      "total_compressed_tokens": 650
    }
  ],
  "root": ".",
  "session_simulation": {
    "ccp_cost_usd": 0.2,
    "lean_ccp_tokens": 79924,
    "lean_cost_usd": 0.21,
    "lean_tokens": 84540,
    "raw_cost_usd": 1.5,
    "raw_tokens": 600110
  },
  "total_raw_tokens": 417733,
  "version": "3.6.6"
}
