)]}'
{
  "commit": "4b1eabeeedbfa06b4ec28476da12ed823c60e5b9",
  "tree": "bf121198e2a8d84e6263c85e0746748ce91c9d8f",
  "parents": [
    "b1fc75d2bc0266b6a171312a90a1d491b12ee32f"
  ],
  "author": {
    "name": "Laramie Leavitt",
    "email": "lar@google.com",
    "time": "Wed Nov 18 08:19:57 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 18 08:21:15 2026 -0800"
  },
  "message": "Fix numerical defects in absl::random_internal test utilities.\n\nStatistical helpers in `chi_square` and `distribution_test_util` suffered from\nlow-precision approximations, unsigned underflow, and catastrophic cancellation\nthat weakened or miscomputed distribution tests:\n* `ChiSquare` subtracted unsigned bucket counts before converting to `double`\n  (wrapping when observed counts were below expected), and legacy polynomial\n  approximations in `chi_square` lost tail precision, overflowed `9 * dof`, or\n  mishandled `p_value \u003e\u003d 1` and non-finite inputs.\n* `BetaIncomplete` and `BetaIncompleteInv` had an inverted `alpha \u003e 0.5`\n  symmetry branch, initial-estimate typos, unguarded `std::fma` calls on\n  targets without hardware FMA, and subnormal/iteration-limit bugs.\n* Tail error-bound helpers (`RequiredSuccessProbability`,\n  `InverseNormalSurvival`, `MaxErrorTolerance`) lost precision in `1 - p` and\n  `erfinv` near boundaries.\n\nPiperOrigin-RevId: 1024689916\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b2c3fa2f87e0eae4e2735f1faea538d21d6b616a",
      "old_mode": 33188,
      "old_path": "absl/random/CMakeLists.txt",
      "new_id": "700c271645a857913549e9f095a9d146a28236a2",
      "new_mode": 33188,
      "new_path": "absl/random/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "481c1c3da32d96d32092e1ef2604ebb84d16337a",
      "old_mode": 33188,
      "old_path": "absl/random/internal/chi_square.cc",
      "new_id": "2dd4a717089ae3752d21152445f2b52d1fc63e61",
      "new_mode": 33188,
      "new_path": "absl/random/internal/chi_square.cc"
    },
    {
      "type": "modify",
      "old_id": "07f4fbe5229825ba2207fbd6d1688c535e5f80a9",
      "old_mode": 33188,
      "old_path": "absl/random/internal/chi_square.h",
      "new_id": "bb0fa81a11effdceacf9b39bd6ee07018031ba6d",
      "new_mode": 33188,
      "new_path": "absl/random/internal/chi_square.h"
    },
    {
      "type": "modify",
      "old_id": "964cd222ad67129d8a753437fc872e57c551fb08",
      "old_mode": 33188,
      "old_path": "absl/random/internal/chi_square_test.cc",
      "new_id": "b91ab6e7570535a2527ddabbd13d045435330c25",
      "new_mode": 33188,
      "new_path": "absl/random/internal/chi_square_test.cc"
    },
    {
      "type": "modify",
      "old_id": "4ae6fcbfd751afaeb140e06fdbf2b82324448d70",
      "old_mode": 33188,
      "old_path": "absl/random/internal/distribution_test_util.cc",
      "new_id": "e34249952fd65dfdba4e40296210d3dc1d92b6dc",
      "new_mode": 33188,
      "new_path": "absl/random/internal/distribution_test_util.cc"
    },
    {
      "type": "modify",
      "old_id": "1189340e3a78329d33b44a7bdd258be509514ae4",
      "old_mode": 33188,
      "old_path": "absl/random/internal/distribution_test_util.h",
      "new_id": "e6e3544c36ca3faaf655c28ff60ee8ce5d7c5d59",
      "new_mode": 33188,
      "new_path": "absl/random/internal/distribution_test_util.h"
    },
    {
      "type": "modify",
      "old_id": "1b66879ffcba12d1c33aad708cf6fbae49f80c0c",
      "old_mode": 33188,
      "old_path": "absl/random/internal/distribution_test_util_test.cc",
      "new_id": "f614e42f0fb6450ebf57e5e9ef725bcf0894e513",
      "new_mode": 33188,
      "new_path": "absl/random/internal/distribution_test_util_test.cc"
    }
  ]
}
