)]}'
{
  "commit": "aabf229a123c7fb3f2c8f7c4fea4f9b407769448",
  "tree": "67c9f5e08c198df6488486d5ec8eaf6a324b26b0",
  "parents": [
    "00a070f9ef7590005e2971abb660af37ba901319"
  ],
  "author": {
    "name": "Laramie Leavitt",
    "email": "lar@google.com",
    "time": "Sun Nov 15 22:49:52 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 25 12:46:13 2026 -0800"
  },
  "message": "Fix numerical stability and float-to-int overflow UB in zipf_distribution.\n\nExtreme parameter regimes in `absl::zipf_distribution` previously suffered from\nundefined behavior, infinite rejection loops, or severe bias:\n* Casting 64-bit `k` bounds above `2^53` directly to `double` rounded up to\n  `2^63` or `2^64`, triggering `[conv.fpint]` float-to-int overflow UB or\n  sampling outcomes above `k`; `k \u003e\u003d 2^53` also degraded rejection efficiency\n  to ~50%.\n* Cancellation and overflow/underflow in the unnormalized ZRI integral `h(x)`\n  distorted weights as `q -\u003e 1+` or `v \u003c 1`, hung in infinite loops when `h(x)`\n  underflowed at large `q`, collapsed squeeze thresholds out of `[0, 0.5)`, and\n  double-counted `k \u003d 0` on boundary rounding.\n\nAlso factor the `IntType`-independent ZRI state and transcendental paths out of\nthe header into `zipf_distribution.cc`.\n\nOutput sequences change; `absl::zipf_distribution` does not guarantee\ncross-release stability.\n\nPiperOrigin-RevId: 1022524399\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "407b72a971adceb9702131d1b5081942d169d686",
      "old_mode": 33188,
      "old_path": "CMake/AbseilDll.cmake",
      "new_id": "61236edac1666741272b2928728f7b0777f39442",
      "new_mode": 33188,
      "new_path": "CMake/AbseilDll.cmake"
    },
    {
      "type": "modify",
      "old_id": "e34ba039e9b2c3d7c075c8fa5d9a765b0125df38",
      "old_mode": 33188,
      "old_path": "absl/random/BUILD.bazel",
      "new_id": "89f18c817e75afb8a8c7e5f82907b3fe7931a8c2",
      "new_mode": 33188,
      "new_path": "absl/random/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "224a4775cd7acac881cacca684c7a1da36239e82",
      "old_mode": 33188,
      "old_path": "absl/random/CMakeLists.txt",
      "new_id": "17bcb1d2fea8603a5e107bb42d3e5b1302f52db4",
      "new_mode": 33188,
      "new_path": "absl/random/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "c89388bf4298f762346b234d2c0fdbf4bd50cba4",
      "old_mode": 33188,
      "old_path": "absl/random/benchmarks.cc",
      "new_id": "ebfa94960382960b0132eb7feaee909a7124fe82",
      "new_mode": 33188,
      "new_path": "absl/random/benchmarks.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d048ab75134acb841df9c91875b73f16fa0be7f4",
      "new_mode": 33188,
      "new_path": "absl/random/zipf_distribution.cc"
    },
    {
      "type": "modify",
      "old_id": "50d94108e3827edac5b8af332f5a5ca94d2ada50",
      "old_mode": 33188,
      "old_path": "absl/random/zipf_distribution.h",
      "new_id": "b3c01475c9f871c33f45853c9f3d0d8e642747e5",
      "new_mode": 33188,
      "new_path": "absl/random/zipf_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "fcdf1106a92c1fca8c60110e8bd7b78150072c1c",
      "old_mode": 33188,
      "old_path": "absl/random/zipf_distribution_test.cc",
      "new_id": "a243db31f31ff0d57e0b248dc2b1d9ee2bd2c5a7",
      "new_mode": 33188,
      "new_path": "absl/random/zipf_distribution_test.cc"
    }
  ]
}
