Meta builder abstraction#1195
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1195 +/- ##
==========================================
+ Coverage 92.46% 92.50% +0.03%
==========================================
Files 77 78 +1
Lines 4701 4711 +10
==========================================
+ Hits 4347 4358 +11
+ Misses 354 353 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Collaborator
Author
|
@audiodude can you review this ? I feel like i'm being blocked by it so we can move forward |
audiodude
requested changes
Jun 15, 2026
audiodude
left a comment
Member
There was a problem hiding this comment.
Sorry for the delay. This is a really good refactor. Most of my comments are getting into the territory of "I'm sure this works, but....". Trying to make sound design decisions and make sure the code is readable and resuable. Thanks!
audiodude
requested changes
Jun 16, 2026
audiodude
left a comment
Member
There was a problem hiding this comment.
Good work refactoring those methods, I think they make more sense now.
62587a6 to
8545797
Compare
audiodude
approved these changes
Jun 16, 2026
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.
Introduces a
MetaBuilderabstraction for builders that reference other builders.New structure:
wp1/selection/abstract_builder.pyAbstractBuilder_as_text()wp1/selection/meta_builder.pyMetaBuilder_builder_model()_builder_label()_reference_label()_is_meta_builder()_dedupe()_fetch_selection_data()wp1/selection/models/combinator.pyBuilder(MetaBuilder)wp1/selection/meta_builder_test.pywp1/selection/models/combinator_test.pyfixes Move metabulider helpers out of CombinatorBuilder #1181