pymc-devs / pymc-devs/pymc-examples

Deprecated pm.ConstantData and pm.MutableData are used throughout examples

Open
#811 0 comments 0 reactions 0 assignees View on GitHub

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.

See GitHub search results.

Expected output

N/A

Proposed solution

Update all examples in this repo in a single PR.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.