stan-dev / stan-dev/stan

write transformed data along with posterior sample

Open
#3,349 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature i/o interface
Dominant language
C++
Stars
2.8k
Forks
388
Avg merge
2d 17h
Merged PRs (30d)
15

Description

There is currently no way to recover the data created in the transformed data block. Because that can involve randomization now, it's not possible to recreate on the outside.

There's an associated issue in the stan-dev/stanc3 repo for making the necessary changes to the generated C++ code:

https://github.com/stan-dev/stanc3/issues/1522

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 by reading stan-dev/stanc3 issue 1522 alongside this issue to understand the required generated C++ changes. Identify the affected entry points and tests there; the work is done when transformed-data values, including randomized values, are written alongside posterior samples and can be recovered externally.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.