Skip to content

Conversation

penelopeysm
Copy link
Member

Currently on breaking, initial_params has to be specified as an AbstractInitStrategy. This PR makes it such that:

  • NamedTuple and AbstractDict{<:VarName} are also allowed, they get wrapped in InitFromParams with an info message encouraging people to upgrade instead;
  • Vector errors with a link to the docs telling people how to upgrade.

Copy link
Contributor

github-actions bot commented Oct 4, 2025

DynamicPPL.jl documentation for PR #1064 is available at:
https://TuringLang.github.io/DynamicPPL.jl/previews/PR1064/

Copy link

codecov bot commented Oct 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.46%. Comparing base (908d402) to head (0795c75).

Additional details and impacted files
@@             Coverage Diff              @@
##           breaking    #1064      +/-   ##
============================================
+ Coverage     82.42%   82.46%   +0.03%     
============================================
  Files            42       42              
  Lines          3812     3820       +8     
============================================
+ Hits           3142     3150       +8     
  Misses          670      670              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@penelopeysm penelopeysm requested a review from mhauru October 4, 2025 18:23
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.

1 participant