stan-dev / stan-dev/rstan

get_adaptation_info is broken (returns NULL)

Open
#328 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

get_adaptation_info returns NULL

Reproducible Steps:
fit <- stan_demo("eight_schools")
x <- get_adaptation_info(fit)
print(x)
Current Output:

Current output is NULL

Expected Output:

The adaptation info.

RStan Version:

2.11.1

R Version:

3.3.1

Operating System:

OS X 10.11.6

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 with the reported stan_demo("eight_schools") reproduction and trace get_adaptation_info(fit) from that entry point. Compare the returned value with the expected adaptation information and add regression coverage for the reported case. Done means the call no longer returns NULL for this fitted model.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.