Skip to content

Better progress indicators (feature request & design discussion) #422

Description

@mike-lawrence

At present, progress is indicated by simply printing the stdout of cmdstan, which is somewhat difficult to parse visually and spams the console with lots of lines.

Better would be a one-line-per-chain format with some indication of the progress on that chain as well as some timing information (estimate time left, with time elapsed being common and on it's own line) and where the line content is overwritten rather than advancing to new lines. I've actually implemented this but ended up having a lot of difficulty getting things to be guaranteed to look pretty across UIs, mostly related to the various UIs not reporting their console widths (or changes thereto) accurately. An alternative that I've also implemented is to put all info on one line (getting rid of space-taking progress bars) and that works but I find it a bit less aesthetically appealing. Similarly, if we used the jobs feature in RStudio, that would come with progress indicators but they would be limited in how much info they could include.

It think we might want a solution that could acommodate even more info (i.e. if the during-sampling diagnostics FR is implemented), so I wonder if something using html (shiny?) might make sense?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions