)]}'
{
  "commit": "9aeefca16b4277272cb3a60d3f7f48dabe3bb78e",
  "tree": "3f4e1abee705a4ef84193d77fdabd3480ce60348",
  "parents": [
    "cd1496ce5600cacaa10449f288874ed999cb926f"
  ],
  "author": {
    "name": "Laramie Leavitt",
    "email": "lar@google.com",
    "time": "Sun Nov 15 22:58:08 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Nov 30 11:56:15 2026 -0800"
  },
  "message": "Fix overflow, tiny-mean underflow, and cancellation in poisson_distribution.\n\nExtreme means and narrow result types previously broke\n`absl::poisson_distribution`:\n* In Knuth\u0027s product sampler, incrementing the count before testing\n  `exp(-mean)` could overflow narrow signed result types or wrap narrow\n  unsigned counts instead of clamping at `max()`.\n* For `0 \u003c mean \u003c 1.665e-16`, `exp(-mean)` rounded to `\u003e\u003d 1 - 2^-53` (matching\n  the maximum `U[0, 1)` draw), causing the distribution to return `0`\n  identically instead of sampling rare events with probability `mean`.\n* At large means, catastrophic cancellation in log-probability differences and\n  `double` proposal arithmetic degraded accuracy above `mean ~ 1e8` (allowing\n  the supported mean bound to increase from `1e10` to `1e15` once stabilized),\n  and clamping near 64/128-bit `max()` risked float-to-int overflow UB.\n\nOutput sequences change; `absl::poisson_distribution` does not guarantee\ncross-release stability.\n\nPiperOrigin-RevId: 1022528503\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dddb1a1bf45c8ab8126e6a428eb969783caa7bed",
      "old_mode": 33188,
      "old_path": "CMake/AbseilDll.cmake",
      "new_id": "fbd2f8a189a3e7a67b24131c4093f2268c07d30e",
      "new_mode": 33188,
      "new_path": "CMake/AbseilDll.cmake"
    },
    {
      "type": "modify",
      "old_id": "e34ba039e9b2c3d7c075c8fa5d9a765b0125df38",
      "old_mode": 33188,
      "old_path": "absl/random/BUILD.bazel",
      "new_id": "22a217cfd2bd6a23ff237c6626a1a2c0f2a6f2a3",
      "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": "e9b39e69a98dc36ede8703650fa2f8db3b08c41f",
      "new_mode": 33188,
      "new_path": "absl/random/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "8f4f356a110e801e9c70bf2c35cc96fbdecb81c1",
      "old_mode": 33188,
      "old_path": "absl/random/internal/fastmath.h",
      "new_id": "d6170e885dd4049bc42876279ebc32b74f592a0e",
      "new_mode": 33188,
      "new_path": "absl/random/internal/fastmath.h"
    },
    {
      "type": "modify",
      "old_id": "563bb80668147ffc1d6cf46164857cf3cff76d70",
      "old_mode": 33188,
      "old_path": "absl/random/internal/fastmath_test.cc",
      "new_id": "e04629766d9d702270631430eb7dc4c078ab0af8",
      "new_mode": 33188,
      "new_path": "absl/random/internal/fastmath_test.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3ec53aa0bd981a80afb2e5d1d9f9d31a3c14931c",
      "new_mode": 33188,
      "new_path": "absl/random/poisson_distribution.cc"
    },
    {
      "type": "modify",
      "old_id": "16ab7ab0d36f4962faf718b224085120b6253afa",
      "old_mode": 33188,
      "old_path": "absl/random/poisson_distribution.h",
      "new_id": "519940297d309a113b0bbd34d7c4d5e4278e9f39",
      "new_mode": 33188,
      "new_path": "absl/random/poisson_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "4bdcf72f498c04cee65426b5da1c5fe0a9242240",
      "old_mode": 33188,
      "old_path": "absl/random/poisson_distribution_test.cc",
      "new_id": "f00f673c85d4ac9c5f2021e9f62dd2529e6d5f5b",
      "new_mode": 33188,
      "new_path": "absl/random/poisson_distribution_test.cc"
    }
  ]
}
