Skip to content

v0.2.0 - #2

Merged
Rafnuss merged 9 commits into
mainfrom
dev
Oct 26, 2026
Merged

Rafnuss merged 9 commits into
mainfrom
dev

Conversation

@Rafnuss

@Rafnuss Rafnuss commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

GeoPathSampleR v0.2.0

Main

Minor

Full Changelog: v0.1.0...v0.2.0

Rafnuss and others added 9 commits October 25, 2026 09:46
Evaluate the route prior only on movement-feasible candidates with a
closed-form Gamma log density, split rows once in path_summary(), and
reuse the full diagnostic for the final checkpoint. Outputs are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Pin known periods to the cell of their known location and keep it in
  the structural domain, so a coastal site falling on a water cell no
  longer becomes a uniform land map.
- Floor the route excess at machine epsilon so routes along one grid
  column are not assigned a near-zero prior density.
- Abort when stationary periods are excluded, since each transition is
  modelled as one daily step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Read the position back from the progress bar so jarl's undesirable
operator rule passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A single neighbouring cell now recycles in the arithmetic instead of being
copied to the candidate length and re-gathered. Results are identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A boundary sweep resamples, by Gibbs, the date of every boundary between
consecutive residence segments while keeping both locations. It complements
block updates, which move a segment without changing its dates. Controlled by
boundary_interval (0 keeps the previous sampler).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Supports are sorted, so findInterval() replaces match(), which hashed the
whole support for every period. Results are identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Across the 21 validation tags, boundary sweeps let every tag meet the
convergence criterion (19 without) at about 4% of a site sweep's cost.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.79275% with 39 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
R/path_summary.R 17.85% 23 Missing ⚠️
R/sampling_path.R 92.12% 10 Missing ⚠️
R/sampling_path_prepare.R 75.00% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Rafnuss
Rafnuss marked this pull request as ready for review October 26, 2026 06:09
@Rafnuss
Rafnuss merged commit 6531e9e into main Oct 26, 2026
6 checks passed
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.

2 participants