Repository navigation
v10: merge results of separate runs - #651
Draft
bartveneman wants to merge 1 commit into
Draft
bartveneman wants to merge 1 commit into
bartveneman wants to merge 1 commit into
Conversation
commit: |
bartveneman
force-pushed
the
claude/merge-support
branch
from
November 7, 2026 19:08
1246840 to
bc6946a
Compare
bartveneman
changed the base branch from
claude/sleepy-tesla-tu72wq
to
claude/incremental-analyzer
November 7, 2026 19:09
bartveneman
force-pushed
the
claude/incremental-analyzer
branch
from
November 7, 2026 19:15
229c7c0 to
26bf8d5
Compare
bartveneman
force-pushed
the
claude/merge-support
branch
from
November 7, 2026 19:15
bc6946a to
ad94cc5
Compare
Adds merging back on top of the v10 branch: - `merge(a, b)` combines results that were computed independently (workers, one run per page, coverage runs); pass the collectors as a third argument for results that lost their origin - every collector provides a `merge` function: `define_collector(init, merge)`; counters, context counters and defined/used names have `merge_counts`, `merge_context_counts` and `merge_defined_used` - merging results equals adding both inputs to one analyzer, tested for every collector Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
bartveneman
force-pushed
the
claude/incremental-analyzer
branch
from
November 7, 2026 19:25
26bf8d5 to
c9f49a4
Compare
bartveneman
force-pushed
the
claude/merge-support
branch
from
November 7, 2026 19:25
ad94cc5 to
e75bd01
Compare
bartveneman
pushed a commit
that referenced
this pull request
Nov 11, 2026
…documents ./utils/collections and comment handlers (4.2)
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.
Stacked on #647 (base is its branch, so the diff only shows merge support). Split off to keep #647 smaller to review and the package smaller to ship. Opened as a draft on purpose.
What it adds
merge(a, b): combines results that were computed independently (workers, one run per page, coverage runs). Pass the collectors as a third argument for results that lost their origin (e.g. afterstructuredClone).define_collector(init, merge): every collector provides amergefunction for its own result.merge_counts,merge_context_countsandmerge_defined_usedfor custom collectors.create_analyzer().add()(many inputs in one analyzer) stays in #647.How this branch is built
It is #647 plus one commit that reverts "move merge support out of this PR", so merging it later is a clean re-add. Merge #647 first; GitHub will retarget this PR to
mainwhen #647's branch is deleted.Generated by Claude Code