Repository navigation
Land #217 (exact DuckDB counts) on main, and fix the Wald tail #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
eab3a51
fix(analysis): restore differential method integrations
hyperpolymath 526d7f4
Merge remote-tracking branch 'origin/main' into arena/dd990535-metama…
hyperpolymath 875aac5
fix(ci): check references at their embedded precision
hyperpolymath 9f49f53
ci: surface validated-statistics test failures
hyperpolymath 631ec2e
Merge remote-tracking branch 'origin/main' into arena/dd990535-metama…
hyperpolymath 1079b77
fix: repair DOI module parsing and syntax gate
hyperpolymath a5d6976
Merge branch 'main' into arena/dd990535-metamanifold-webui
hyperpolymath bc7c21e
Merge remote-tracking branch 'origin/main' into arena/dd990535-metama…
hyperpolymath b49c676
Merge remote-tracking branch 'origin/main' into arena/dd990535-metama…
hyperpolymath 8bc3b7a
fix(stats): aggregate DuckDB counts exactly
hyperpolymath 9d66d47
fix(stats): preserve JSON integer token validation
hyperpolymath 5dad736
test(stats): distinguish zero counts from zero totals
hyperpolymath a412bee
fix(cladistics): repair phylogeny and route integration
hyperpolymath d5f8060
fix(cladistics): align grafting and subtree diversity
hyperpolymath 307c9c6
Update .github/workflows/ci.yml
hyperpolymath 1268cb0
fix(stats): preserve byte-backed request bodies for integer token val…
coderabbitai[bot] 3101441
Merge PR #217 into the current main line
hyperpolymath cc5852b
Merge origin/main (#222) into the resolution
hyperpolymath fe57d8e
fix(compositional): compute the Wald tail without a missing import
hyperpolymath 0cb9f37
fix(cladistics): count each active edge once in a proposed tree
hyperpolymath 8de1d0b
test(differential): make the all-filtered case reachable
hyperpolymath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When an accepted drag-and-drop proposal has an active internal child, this addition puts that child's incoming branch into
rk.subtree_pd, but the parent still addsrk.branch_length + rk.subtree_pdat line 1820. Consequently every active non-root internal edge is counted twice in the proposed tree—for example, a 0.3 internal branch with a 0.1 tip branch contributes 0.7 at the root instead of 0.4—corrupting the displayed and persisted subtree PD. The recursion needs one consistent invariant: either childsubtree_pdincludes its incoming branch and parents add only that value, or parents remain responsible for adding child branches.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct — and now fixed in
0cb9f37. The addition at the node and the parent'srk.branch_length + rk.subtree_pdwere two conventions in one pass, so every active non-root internal edge was counted twice.subtree_pdis now node-local throughout, which is the conventionclade_faith_pdalready uses in the build path: a leaf puts its own branch into the value it returns, and the parent adds onlyrk.subtree_pd. Verified by running both recursions over 800 random trees — the patched form agrees withclade_faith_pdexactly, the previous form disagreed on 409 of them.