Skip to content

Add fix and unfix functions for parameter fixing and unfixing#109

Merged
yebai merged 4 commits into
mainfrom
sunxd/add_fix
Oct 27, 2024
Merged

Add fix and unfix functions for parameter fixing and unfixing#109
yebai merged 4 commits into
mainfrom
sunxd/add_fix

Conversation

@sunxd3
Copy link
Copy Markdown
Member

@sunxd3 sunxd3 commented Oct 25, 2024

This PR add the fix and unfix (https://turinglang.org/DynamicPPL.jl/dev/api/#DynamicPPL.fix) functions piloted in DynamicPPL.

These functions are very useful for functions like predict (ref #81).

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.02%. Comparing base (b342b3d) to head (3785256).
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   84.82%   86.02%   +1.19%     
==========================================
  Files           3        2       -1     
  Lines         145      229      +84     
==========================================
+ Hits          123      197      +74     
- Misses         22       32      +10     

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

Comment thread src/abstractprobprog.jl Outdated
@yebai yebai merged commit cc6439e into main Oct 27, 2024
@yebai yebai deleted the sunxd/add_fix branch October 27, 2024 19:45
@yebai
Copy link
Copy Markdown
Member

yebai commented Oct 27, 2024

Thanks @sunxd3, @penelopeysm!

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.

4 participants