diagnose counting warmup draws
Open
Nobody has claimed this yet.
bug
- Dominant language
- C++
- Stars
- 238
- Forks
- 106
- Avg merge
- 2h 29m
- Merged PRs (30d)
- 6
Description
Summary:
make examples/bernoulli/bernoulli
examples/bernoulli/bernoulli sample save_warmup=1 data file=examples/bernoulli/bernoulli.data.R output file=output.csv
Edit output.csv and add a divergence to the post warmup samples. (here's one: output.csv.txt)
bin/diagnose output.csv
The output will include:
Checking sampler transitions for divergences.
1 of 2000 (0.05%) transitions ended with a divergence.
There is 1 divergence (we added it -- there should be a bunch during warmup), but there are only 1000 post warmup draws.
Current Version:
v2.25.0
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
Run the documented bernoulli build and sampling commands, edit output.csv with the supplied divergence, and execute bin/diagnose output.csv. Trace how bin/diagnose counts transitions and post-warmup draws; done means the report handles warmup divergences consistently and reports the expected post-warmup count.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100