-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better replicate ls
output
#284
Comments
This is a really neat solution! A few thoughts:
|
In case it wasn't clear: the reason this is useful is it reduces the number of params that are shown, and makes it clear what you are actually doing in your experiments. Over time params will build up and up, and quite quickly you might have dozens of different params you've changed, which will make the last experiment dozens of rows long. The current algorithm shows params that are different in the displayed list. So, if Replicate showed more recent experiments, it would only show the params you've actually changed recently. These params are probably more relevant to your work, and will make it easier to eyeball what you have done. This isn't possible with There are alternate solutions to this, I think. Maybe we need a different algorithm for determining what params are shown. Maybe this is related to experiment grouping #297, and won't be an issue if experiments are grouped. Anyway -- this is probably a separate piece of work (why I filed it under "additional improvements"!) but just writing this to be clear. |
Why
The usual 2 column terminal table does not work so well for experiment data, because it quickly becomes too wide and doesn't fit.
Specific issues:
How
Some ideas:
tabwriter
does not let us do Make tabwriter work with formatting #67Strawman
Notes:
Additional improvements:
--plain
(as per https://clig.dev/#output ) or--tabular
reverts to current behavior for a tabular view and to pipe to line-based tools. If stdout is a TTY, perhaps this could output in a pager with the correct options such that it doesn't wrap and you can scroll right.replicate ls
gets more verbose in a compounding way because it displays all params used forever. Perhaps a more sensible default would be to display the last 25 experiments, or whatever, andreplicate ls -a
displays all experiments.Showing latest 25 experiments, 1535 in total. Run replicate ls -a to display all experiments.
Related
replicate ls
output is very wide #182The text was updated successfully, but these errors were encountered: