Skip to content

OpenPVA 2.2.0: GAPPS++ core release - #5

Merged
BWBrook merged 1 commit into
mainfrom
openpva-2.2.0
Dec 2, 2026
Merged

BWBrook merged 1 commit into
mainfrom
openpva-2.2.0

Conversation

@BWBrook

@BWBrook BWBrook commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

Implements the OpenPVA 2.2.0 (GAPPS++) core release grounded in the recovered GAPPS II 1.3 archive and developed through a Track B multi-model cycle (independent B1–B3 synthesis, B4 hardening on gpt-6.2-astra, and B5 GO diff audit on Claude Fable 5.2):

  • Pillar 1 — Targeted management & seasonal/cross-interval mating:
    • Successive weighted without-replacement selection across removal_process(), ceiling_process(), and dispersal_process(), with unmet-demand reporting.
    • New assign_process() for typed individual treatments/groups with safe whole-number/NA coercion and custom event names.
    • New mating_process() with male reproductive skew, mating capacities, local mating (by), clear = FALSE staggered mating, and bounded log-arrival sampling.
    • Engine-owned cross-interval sire retention via pva_state(mate_field = ...), preserving departed sires' attributes, kinship (dense and traced), and neutral alleles while referenced by living females (alive = FALSE in newborn_fields).
    • Grizzly example updated to use mating_process().
  • Pillar 2 — Imperfect surveys & management strategy evaluation:
    • New survey_process() (isolated replicate substream 5, preserving caller .Random.seed, Box–Muller normal cache, and R-devel 110407L binom.kind headers) and survey_quota() (rule, field, on_skip = "error", timestamp/staleness checks, detected ids).
  • Pillar 3 — Stochastic demography, genetics & documentation:
    • Individual-level rate callbacks in offspring_sex_bernoulli() and litter_categorical(), qbeta_norm() with upper-tail and boundary guards, life_table_metrics() (pre/post-breeding, finite or plus_group terminal age, stable & cohort generation time), and ema / ema_mcse in summarise_pva().
    • Level-batched traced pedigree propagation in R/ancestry.R (~5.5–8× faster on large/panmictic pedigrees with < 1e-14 oracle agreement).
    • B5 audit follow-ups folded in: pva_population() / add_individuals() strip vector names and reject attributed columns cleanly at construction; survey_processes.Rd documents repeated standalone survey determinism.
    • Updated docs/gapps_heritage.md, docs/literature/gapps_evidence_review.md, docs/design/lifecycle_process_contract.md, docs/reference/public_api.md, vignettes/rosetta.Rmd, NEWS.md, and AGENTS.md.

Verification

  • Local Rscript --vanilla scripts/run_tests.R: 2,916 PASS / 0 FAIL / 0 WARN / 0 SKIP.
  • Local Rscript --vanilla scripts/check_r_floor.R: PASS (serial, fork, and PSOCK parity, RNG restoration).
  • Local _R_CHECK_SYSTEM_CLOCK_=0 R CMD check --as-cran --no-manual OpenPVA_2.2.0.tar.gz: 0 ERRORs, 0 WARNINGs, 1 NOTE (New submission).
  • Release note: CRAN submission is intentionally held pending human review of OpenPVA 2.1.1.

@BWBrook
BWBrook merged commit 6483f4a into main Dec 2, 2026
5 checks passed
@BWBrook
BWBrook deleted the openpva-2.2.0 branch December 2, 2026 01:42
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