stan-dev / stan-dev/stan

Feature request: Add timestamps to sample progress

Open
#3,339 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When running Stan, I like to follow the sampling output progress; for example:

...
Chain [1] Iteration:  500 / 1500 [ 33%]  (Warmup)
Chain [1] Iteration:  501 / 1500 [ 33%]  (Sampling)
...

It would nice if such sampling came with timestamps so that I could get a definitive sense for how long things are taking. Augmenting the above output, perhaps something like:

...
(Wed Sep 21 10:27:52 2011) Chain [1] Iteration:  500 / 1500 [ 33%]  (Warmup)
(Wed Sep 21 12:18:45 2011) Chain [1] Iteration:  501 / 1500 [ 33%]  (Sampling)
...

Does that seem reasonable? (I am new to the Stan development community, so if not I understand.)

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 locating the Stan sampling progress output that produces the iteration and warmup/sampling lines shown in the issue. Confirm how timestamps should be formatted and update the output so each progress line includes one; done means the displayed progress includes timestamps without changing the existing iteration information.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.