Repository navigation
OpenPVA 2.4.0: Ergonomic Authoring Front-End, Static Formula Compiler & Cookbook - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Delivers OpenPVA 2.4.0 (Track B, Cycle 4 — designed and stress-tested across Claude Fable 5.2, OpenAI Codex GPT-6.2 Astra, and Google Gemini 4 Carbon under Gemini 4 Neon adviser verification):
R/model.R,R/formula.R,R/model_audit.R,R/rates.R):pva_model()separating parameter-evidence tables (unit,source, explicittype), tabular vital-rate schedules ("0","1-2","2+",sex = "All", optionalbystrata, all-female CSV"F" -> FALSEhandling), initial cohort tables (cohort_population()), and centralised customfieldsdefaults from an ordered, copy-on-modifystep_*()pipeline (15 explicit native-aligned step verbs includingstep_process()escape hatch, GAPPS-stylewhen/enabledmodifiers, anduses =tracking for opaque user callbacks).~formula AST compiler (codetools) generating plainOpenPVA-scoped closures with zero runtimeeval()/list2env(), zero.GlobalEnvcapture on--vanillaPSOCK workers, automaticrequiresinference, runtime logical-to-numeric probability coercion, and fail-fast compile-time diagnostics.R/ensemble.R,R/scenario.R):run_pva_ensemble()acceptsbuild = <pva_model>or a named structural model list (design$model) withseed_by = TRUE, upfront row-by-row validation, per-member PSOCK dispatch (avoidingO(N^2)payload resending), and per-membercache_dirfingerprinting.compile_scenario(validation = c("strict", "fast"))propagates the execution default cleanly while always running compile-time preflight.R/model_audit.R,R/lifecycle.R,R/process.R):describe_model()(with optionallife_table_metrics()check) anddescribe_parameters()(S3method(print, pva_parameters)) report base vs overridden parameter values, consuming steps, unused parameters, and disambiguatedevidence.*columns.v2.3.0native lifecycle & grizzly parity (autumn_harvestremainsmanagement).vignettes/cookbook.Rmd,README.md,site/,docs/,man/):litedown::vignettemodel-building cookbook (all 3 vignettes fuse in ~18 s), cleardevtools/remotes/pakGitHub installation instructions inREADME.md, fixedrosetta.Rmdrequires, honest uncertainty wording inworkflow.Rmd, updateddocs/for-agents.md,docs/vision_and_scope.md,docs/reference/public_api.md,site/_litedown.yml, and regeneratedman/*.Rd(82exports,18S3 methods).Independent Verification
Rscript --vanilla scripts/build_rd.R: ZERO DIFF (22Rd files,82exports)Rscript --vanilla scripts/run_tests.R:3,640passed,0failed/skipped/warnings/errors (woodhen/model.R,grizzly/model.R, and all 23 baseline tests untouched)Rscript --vanilla scripts/check_r_floor.R: PASS on bothR 4.6.2and liveR 4.1.0(--vanillaPSOCK + fork parity)Rscript --vanilla scripts/build_site.R: PASS (8HTML pages includingdoc/cookbook.html)v2.3.0parity: 11/11 BYTE-IDENTICALR CMD check --as-cran --no-manual OpenPVA_2.4.0.tar.gz:0 errors, 0 warnings, 1 NOTE(New submissiononly)(CRAN upload remains intentionally held pending human review of
OpenPVA 2.1.1.)