TuringLang / TuringLang/DynamicPPL.jl
Remove `NoDist` in favour of `fix`.
Open
Nobody has claimed this yet.
breaking-change
modelling-syntax
- Dominant language
- Julia
- Stars
- 286
- Forks
- 41
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 34
Description
can be removed without regression now that we have fix(model, (var=...)). The semantics of NoDist and fix are identical, while fix is more compositional and avoids hardcoding fixed variable information in model specification.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/distribution_wrappers.jl at the linked NoDist definition and search the repository for its remaining references. Replace the old usage with the existing fix(model, (var=...)) approach, remove NoDist, and run the project’s tests to confirm there is no regression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- machine-learning
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100