{
  "schema_version": 1,
  "kind": "constructed exact arithmetic",
  "generated": "2026-11-19",
  "method": "c_new=(1-alpha)*c_old+alpha*sample; priority=frequency*class_cost",
  "units": {
    "frequency": "accesses/s",
    "class_cost": "ms/fill",
    "priority": "ms/s"
  },
  "assumptions": [
    "Two equal-size evaluated residents, not a full cache or global minimum.",
    "Frequencies and resident identities remain fixed during the update.",
    "The new fill observation belongs to another object in A's class.",
    "Weight 1/4 is illustrative, not inferred from the author prototype.",
    "Scores are estimated cost-weighted frequencies, not measured saved time."
  ],
  "inputs": {
    "frequencies": {
      "A": "2",
      "B": "1"
    },
    "initial_costs": {
      "A": "8",
      "B": "20"
    },
    "new_sample_A": "32",
    "new_sample_weight": "1/4"
  },
  "updated_cost_A": "14",
  "before": {
    "scores": {
      "A": "16",
      "B": "20"
    },
    "lowest": [
      "A"
    ]
  },
  "after": {
    "scores": {
      "A": "28",
      "B": "20"
    },
    "lowest": [
      "B"
    ]
  },
  "paper": "https://www.usenix.org/system/files/conference/atc17/atc17-blankstein.pdf",
  "code": "https://hesela.dev/research/cache-cost-class/model.py"
}
