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?
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
jobsfeature 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?