Repository navigation
docs: cover shared/tie, pool, and varying on the composed approach page - #27
Merged
Merged
Conversation
Add coverage of three ComposedDistributions v0.1.1 features the composed approach page did not describe: complete pooling with shared/tie, partial pooling with pool inside uncertain, and non-stationary leaves with varying, instantiate, and Context. All API verified against the registered v0.1.1. Closes #20 Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
Split the run-on pool sentence and use a consistent :group label in the generic signature and the worked example. Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
📄 Site preview builtThe rendered site for this PR is available as the site-preview artifact on this run. Download it and open |
seabbs
approved these changes
Aug 13, 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.
What
Adds coverage of three ComposedDistributions features that the composed-distributions approach page did not describe, weaving them into the existing structure rather than restructuring it.
shared/tie— complete pooling. New "Tie a parameter across branches" section.shared(:name, leaf)is the leaf-local spelling andtie(tree, paths...; name = :name)is the tree-level spelling of the same tie, giving one value everywhere a name appears.pool— partial pooling. Added to the existing "Uncertainty in the parameters themselves" section, framingshared/tie(complete) →pool(partial) → independentuncertainspecs (none) as a pooling spectrum.pool(:group, population)is a spec passed touncertainas a keyword.varying— non-stationary leaves. New "Non-stationary leaves" section coveringvarying,has_varying,instantiate, andContext.tieto the "Parameters and edits" verb list under "Four layers" to keep it representative.Verification
All API named in the new prose was verified against the registered ComposedDistributions v0.1.1 by running each call in a fresh project with the registered packages.
thresholdwas deliberately avoided as it is not exported in v0.1.1.Closes #20
This was opened by a bot. Please ping @seabbs for any questions.