Conversation
Revert "Maic"
Huaiyan draft
draft: mAIC for merging
master to huaiyan
…. 2. greedy algorithm added. 3. calculation works for keep_empty_seq. 4 pairs generated in previous iteration are reconsidered for merging. 5. multi-thread works properly. 6. avoid unnecessary warning. Q-mixture model now can be estimated by iteratively adding components from one
…n keep empty sequences
|
Claude Code: PR #127 — "Apply mAIC to PartitionFinder"Author: HuaiyanRen | Branch: huaiyan → master | 36 commits | ~178 additions / ~1,108 deletions across 26 files What It DoesThe stated goal is to integrate marginal AIC (mAIC) into the PartitionFinder merging algorithm — specifically:
In practice, the PR is a snapshot of a development branch that diverged from master ~8 months ago and has not been rebased. The majority of the diff is unintended reversion of features and bug fixes added to master in the interim. Critical Issues (Block Merge)1. Compilation error — ASSSERT typo 2. Memory leak in checkAbsentStates() 3. Mathematically incorrect mAIC for non-reversible models 4. Massive unintended regressions (~1,000 lines of production code removed) The PR inadvertently drops everything added to master while huaiyan was diverged:
Moderate Issues5. checkAbsentStates() semantics changed 6. MixtureFinder initFreqSet() removal 7. Spelling errors introduced
8. CI weakened What Is ValuableThe core mAIC contribution (return-count refactor of checkAbsentStates, per-partition aggregation, enabling mAIC for non-reversible models) is a legitimate and useful addition — it is just buried under a large unintended reversion. VerdictNot ready to merge. The branch needs to be rebased onto current master and submitted as a targeted PR containing only the mAIC-specific changes, retaining all features and bug fixes that master accumulated in the interim. At minimum, the ASSSERT typo and PoMo memory leak must be fixed, and the non-reversible mAIC path needs either a correct mathematical implementation or a restored guard with a clear roadmap comment. |
…n matrix computation (L(x) = Σ_r π(r) · P(r→x|t))
…), for nonrev model (use artificial taxon strategy).
…gnment when applying mAIC within PartitionFinder.
No description provided.