Repository navigation
edi_kernels 1.0.1 — ZINB boundary-collapse fix, fixed_idx off-by-one
Kernel-level bug fixes in R/EDI/src/*.cpp (commits 831be080, c289adfa, 5e8f4578, 2026-09-03 to 2026-09-07) that came out of the R package's comprehensive-suite testing rounds. The Python bindings compile the same sources, so they inherit these fixes verbatim — this release tracks R/EDI/DESCRIPTION's own 1.0.0 → 1.0.1 bump rather than a .postN packaging-only suffix.
Fixed
fast_zinb/fast_zinb_with_var: zero-inflated negative-binomial fits whose zero-inflation submodel has nothing to explain (no excess zeros in the data) no longer return an arbitrary large-magnitude zero-inflation intercept with a spuriousconverged=True. A new boundary fallback detects the collapse (every observation's zero-inflation linear predictor at or below -10) and refits the reduced plain negative-binomial likelihood with the zero-inflation part switched off. The returnedparamsstay in the full ZINB layout, with the zero-inflation intercept anchored at -10.fast_zinb_with_varresults gain azero_inflation_at_boundarybool (alongside the existingdispersion_at_poisson_boundary) and reportreduced_model = "NegBinNoZI"when that fallback supplied the fit;vcovis computed conditional on the boundary, dropping the unidentified zero-inflation coefficient block before inversion.fast_zinb/fast_zinb_with_varwithfixed_idx/fixed_values: fixed an off-by-one where the caller's zero-based index was handed to a helper expecting one-based indices, which pinned the wrong parameter during the reduced ZIP refit under the dispersion-at-Poisson-boundary fallback.LikelihoodFitResultgained thezero_inflation_at_boundarymember, defaulting tofalsefor every non-ZINB likelihood.
CI
- Dropped the Bullseye/Python 3.9 ARMv7 sdist-parity job from
build-wheels.yml(piwheels now runs only Bookworm/Trixie builders for this package, and Debian 11 left LTS on 2026-08-31). x86/macOS/Windows 3.9 wheels are still built by cibuildwheel.