Provide callback for chain progress
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Summary:
In order to interact programmatically with rstan, e.g., to provide progress bars, it would be nice if rstan() accepts a callback function which runs every time a chain updates.
Description:
In order to create progress indicators in programs building on rstan, currently it is neccessary to capture and parse the stdout. See, for example this repo. This is quite hacky, and in my opinion a callback would be a much nicer solution.
Contributor guide
No contributing guide indexed for this repository
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
Read the rstan() interface and the existing chain-progress/stdout behavior described in the issue; first determine where chain updates can be observed. Done means rstan() exposes a documented callback that runs on each chain update, supporting programmatic progress indicators without requiring stdout parsing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100