pymc-devs / pymc-devs/pymc-examples
Deprecated pm.ConstantData and pm.MutableData are used throughout examples
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 398
- Forks
- 325
- Avg merge
- 9d 15m
- Merged PRs (30d)
- 1
Description
Notebook title: [multiple notebooks]
Notebook url: [multiple notebooks]
Issue description
Many examples (e.g. How-to: ModelBuilder) contain references to old classes pm.ConstantData and pm.MutableData, which prevent the code from running, unless changed to pm.Data.
Expected output
N/A
Proposed solution
Update all examples in this repo in a single PR.
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 with the GitHub code search results and the referenced examples/howto/model_builder.ipynb notebook to locate pm.ConstantData and pm.MutableData usages across the repository. Update every affected example to use pm.Data, then verify that the changed notebooks no longer contain the deprecated references and can run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100