{
  "schemaVersion": 1,
  "published": "2026-10-16",
  "evidenceType": "constructed deterministic counterexample",
  "humanPage": "https://hesela.com/analyses/ssd-mapping-cache-hmb/#admission-objective",
  "license": "CC0-1.0 (original code and constructed data only)",
  "codePath": "/research/cache-metrics.mjs",
  "testPath": "/research/cache-metrics.test.mjs",
  "generatorPath": "/research/generate-cache-metrics.mjs",
  "method": "Count request and full-object payload hits against two fixed, initially warm resident sets.",
  "assumptions": [
    "One complete immutable object per request",
    "Same ordered requests and 8 KiB payload limit",
    "Misses bypass the cache; residency never changes",
    "Warm-up, metadata, compression, partial reads and timing excluded",
    "Each miss fetches the full payload once; no coalescing, retries or prefetch"
  ],
  "limits": [
    "No TinyLFU, Caffeine, ARC or size-aware algorithm implementation",
    "Not a paper reproduction, workload recommendation or measured speedup",
    "Exact finite counts, not sampled observations; no confidence interval"
  ],
  "objects": [
    {
      "key": "A",
      "bytes": 1024
    },
    {
      "key": "B",
      "bytes": 1024
    },
    {
      "key": "C",
      "bytes": 8192
    }
  ],
  "requests": [
    "A",
    "B",
    "A",
    "B",
    "C",
    "A",
    "B",
    "A",
    "B",
    "C"
  ],
  "budgetBytes": 8192,
  "examples": [
    {
      "residentKeys": [
        "A",
        "B"
      ],
      "budgetBytes": 8192,
      "occupiedBytes": 2048,
      "requests": 10,
      "hits": 8,
      "misses": 2,
      "requestedBytes": 24576,
      "hitBytes": 8192,
      "backendBytes": 16384,
      "requestHitRatio": 0.8,
      "byteHitRatio": 0.3333333333333333
    },
    {
      "residentKeys": [
        "C"
      ],
      "budgetBytes": 8192,
      "occupiedBytes": 8192,
      "requests": 10,
      "hits": 2,
      "misses": 8,
      "requestedBytes": 24576,
      "hitBytes": 16384,
      "backendBytes": 8192,
      "requestHitRatio": 0.2,
      "byteHitRatio": 0.6666666666666666
    }
  ]
}
