Skip to content
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

Changed process priors into Dicts rather than NamedTuples #73

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

SamuelBrand1
Copy link
Collaborator

@SamuelBrand1 SamuelBrand1 commented Feb 23, 2024

Purpose of PR

As discussed in #72 , it is simpler to reason on expected type of our iterator prior distributions if they are specified as a Dict; that is we know the dictionary must be typed Dict{Symbol,D<:Distribution}.

This PR enforces this standard and updates the default prior constructors and unit tests. Splatting to lower level functions is agnostic to this change.

Closes #72

@SamuelBrand1 SamuelBrand1 self-assigned this Feb 23, 2024
@SamuelBrand1 SamuelBrand1 linked an issue Feb 23, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5cc7265) to head (abca811).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          123       123           
=========================================
  Hits           123       123           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seabbs seabbs force-pushed the 72-replace-named-iterator-for-priors-with-dict-objects branch from abca811 to 0e747e3 Compare February 26, 2024 10:14
@seabbs seabbs enabled auto-merge February 26, 2024 10:14
Copy link
Collaborator

@seabbs seabbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seabbs seabbs merged commit 6fd0d38 into main Feb 26, 2024
5 checks passed
@seabbs seabbs deleted the 72-replace-named-iterator-for-priors-with-dict-objects branch February 26, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace named iterator for priors with Dict objects
3 participants