stan-dev / stan-dev/posteriordb

Include explicit stan version in reference posterior computations

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

Nobody has claimed this yet.

Dominant language
Stan
Stars
232
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Now only rstan version is included in the reference posterior. Since pystan might not follow stan versions, we should add an additional slot for stan version in all reference posterior computations.

Current structure:

    "rstan_version": "rstan 2.21.1",
    "r_Makevars": ... 
    "r_version": ...
    "r_session":  ...
    "r_summary_statistic": "posterior R package, version 0.1.2"

Proposed structure:

    "stan_version": "2.21",
    "interface_version": "rstan 2.21.1",
    "r_Makevars": ... 
    "r_version": ...
    "r_session":  ...
    "r_summary_statistic": "posterior R package, version 0.1.2"

Functionality to use:
https://mc-stan.org/rstan/reference/stan_version.html

Contributor guide

No contributing guide indexed for this repository

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 locating the code that builds metadata for reference posterior computations and read how rstan_version is currently populated. Use the linked stan_version functionality to add the separate Stan version and interface version fields, then verify that all reference posterior computations expose the proposed metadata structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.