Skip to content

Use vctrs::new_rcrd to safely store sampling information.#35

Merged
kylesnap merged 73 commits into
mainfrom
dev
May 11, 2026
Merged

Use vctrs::new_rcrd to safely store sampling information.#35
kylesnap merged 73 commits into
mainfrom
dev

Conversation

@kylesnap

@kylesnap kylesnap commented May 11, 2026

Copy link
Copy Markdown
Contributor

ernest_run now stores an ernest_rcrd object, which stores information about each point discarded during a nested sampling run. In addition to making future features easier to develop (e.g., merging runs and parallelization), the size of the ernest_run object is now much smaller, and ernest can readily warn if a run produces results that do not meet the ordered likelihood assumption of the nested sampling integrator. [1] [2]

Other changes include:

  • Refactored the core evidence calculation in calculate.ernest_run() to improve clarity and flexibility. Now, if ndraws = 0, the function uses analytical error estimates and normal approximations to simulate log-evidence uncertainty. [1] [2]
  • Rewrote the internal logic for calculating log-volumes and log-weights to operate directly on the new ernest_rcrd format, improving reliability and error handling. [1] [2]
  • Removed the radial parameter from as_draws and visualize. [1] [2]
  • Updated the DESCRIPTION file to add ROpenSci editors as contributors, remove unused dependencies, add new suggested packages (e.g., distributional). [1] [2] [3]

kylesnap added 30 commits March 18, 2026 11:54
kylesnap added 27 commits April 10, 2026 16:48
This reverts commit d430fc7.
This reverts commit b866549.
This reverts commit 5f14dca.
@kylesnap

Copy link
Copy Markdown
Contributor Author

False positive on pkgcheck w/ no website; pulling into main.

@kylesnap
kylesnap merged commit e2ddfd5 into main May 11, 2026
9 of 10 checks passed
@kylesnap
kylesnap deleted the dev branch May 11, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant