Skip to content

Prepare isolated R glmGamPoi dispersion option for upstream - #187

Merged
hyperpolymath merged 2 commits into
upstream/glmgampoi-rfrom
work/upstream-glmgampoi
Oct 18, 2026
Merged

hyperpolymath merged 2 commits into
upstream/glmgampoi-rfrom
work/upstream-glmgampoi

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Prepared and merged the isolated R glmGamPoi contribution into upstream/glmgampoi-r, without changing fork main. Upstream submission: JoshuaJewell/MetaManifold-WebUI#62, now ready for review after complete CI passed. Issue #37 remains open pending acceptance and merge.

The resulting commit 50f155f is Verified by GitHub, has one parent and is one commit ahead / zero behind current upstream main. Working changes were pushed in two increments before the signed preparation squash.

The change uses R glmGamPoi through RCall, leaves ML as the default, adds twelve required lockfile records with all existing pins preserved, and discloses that trend uncertainty is not propagated and this is not quasi-likelihood testing. It includes the existing config editor/API support, atomic canonical PATCH persistence, inherited PATCH/DELETE validation and regressions.

Validation:

  • Upstream CI run 160: 2,950 Julia assertions passed, five optional phylogeny version probes skipped; 39 frontend tests and Agda proofs passed. Codecov patch passed too.
  • Existing CI bypasses taxonomy classification (CI_SKIP_TAXONOMY=1); phylogeny end-to-end skips without its external tools. Those paths are not claimed as exercised.
  • Local restored-library focus: 666 assertions passed; all glmGamPoi scientific/configuration tests ran. One unrelated vegan runtime test skipped in the focused environment.
  • All 40 scientific dependency package versions verified against pins.
  • Local real HTTP listener: 18 assertions passed.
  • Local frontend: 39 tests, TypeScript checking and production build passed.
  • Tested Julia 1.12.5, R 4.5.0, bun 1.3.10.

Add glmGamPoi 1.22.0 and eleven transitive Bioconductor/CRAN records for
R 4.5.0 / Bioconductor 3.22. Keep every existing lockfile record unchanged.
Include the package in dependency discovery, installer/startup diagnostics,
and both CI package verification lists.

This prepares the R environment for the optional NB dispersion-trend method.
No statistical method or default is changed in this commit.
Keep per-taxon MASS::glm.nb maximum likelihood as the default. For the
optional glmGamPoi setting, fit the shared trend across retained taxa
through RCall, then use fixed-theta MASS negative-binomial Wald models.
Report that trend uncertainty is not propagated and this is not the
quasi-likelihood test. Refuse missing dependencies and unusable fits;
withhold inference at zero dispersion, without falling back to ML.

Add the config option to the API and existing frontend editor. Publish
complete canonical PATCH documents atomically, validating prospective
method/dispersion pairs throughout affected inherited cascades for both
PATCH and DELETE. Test direct R references, invalid trends, missing-package
HTTP responses, inherited updates/deletions and actual HTTP persistence.

Validation so far: 499 Julia assertions passed, 13 optional R paths skipped
before restoring the scientific library; 39 frontend tests, TypeScript and
production build pass. Final restored-library validation follows on this
working branch before upstream submission.
@coderabbitai

coderabbitai Bot commented Oct 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 91b8fbc7-6ed7-410d-a1ce-4cef5ffa79ce

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review October 18, 2026 09:01
@hyperpolymath
hyperpolymath merged commit 50f155f into upstream/glmgampoi-r Oct 18, 2026
3 checks passed
@hyperpolymath
hyperpolymath deleted the work/upstream-glmgampoi branch October 18, 2026 09:01
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T09:05:37.927868Z ecb1b8c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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