Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 19:53
· 16 commits to main since this release
c164a87

EpiAwareADTools v0.2.0

Diff since v0.1.2

This is a breaking release.

  • Fixed logccdf_ad_safe(::Gamma) returning -Inf in the far right tail, where the stock (non-differentiable) logccdf stays finite; the same issue affected SurvivalDistributions.GeneralizedGamma. A new log-space Gamma survival primitive fixes both, with AD rules across every backend.
  • Fixed _beta_cdf's continued-fraction evaluator returning NaN for widely disparate shape parameters near the boundary of x, and improved its accuracy by raising the default term count.
  • Fixed primal_distribution throwing a MethodError on Truncated and Censored distributions; it now rebuilds them recursively through the public truncated/censored constructors. This also unblocks EpiAware/CensoredDistributions.jl.
  • Added fixed_draw and ad_eltype, a reparameterisation-trick helper pair mirroring the existing primal/primal_distribution tape-strip helpers.
  • Pointed the release notes docs page at GitHub releases instead of NEWS.md.

Merged pull requests:

  • ci(deps): bump the github-actions group with 9 updates (#59) (@dependabot[bot])
  • fix: primal_distribution rebuilds Truncated/Censored via public constructors (#60) (@seabbs-bot)
  • fix: logccdf_ad_safe underflows in the Gamma far right tail (#61) (@seabbs-bot)
  • fix: rescale continued-fraction accumulators to stop beta CDF NaN (#62) (@seabbs-bot)
  • feat: reparameterisation-trick helpers (fixed_draw/ad_eltype) (#63) (@seabbs-bot)
  • docs: point the release notes page at GitHub releases (#64) (@seabbs-bot)
  • chore!: sync with EpiAwarePackageTools main and raise the Julia floor to 1.11 (#69) (@seabbs-bot)
  • ci(deps): bump the github-actions group with 11 updates (#70) (@dependabot[bot])
  • chore(deps): bump the julia-isolated group across 2 directories with 15 updates (#71) (@dependabot[bot])

Closed issues:

  • Widen the AD-safe function family to more continuous families and publish per-family coverage (#36)
  • Reparameterisation-trick helpers for differentiating through a stochastic computation (#38)
  • _beta_cdf continued fraction overflows to NaN for disparate shapes near the x boundary (#42)
  • logccdf_ad_safe loses the far right tail: log1p(-F) underflows where the stock evaluator does not (#47)
  • Point the release-notes docs page at GitHub Releases (#53)
  • primal_distribution has no method for Truncated (#57)
  • primal_distribution(::Truncated) reconstructs via stale 3-float Truncated(...) constructor (MethodError) (#58)