Skip to content

show: revisiting table format? #6451

@skshetry

Description

@skshetry

Revisit table format for show.

The problem that I see with show is that they:

  1. flow horizontally, which makes it harder to accommodate all the metrics/params they have, making it look like they are only optimized for toy projects.

  2. Assumption that params in different metrics/params are the same and could be compared.
    eg:

     $ dvc metrics show
     Path          avg_prec    new    roc_auc
     scores.json   0.90405     -      0.80802
     metrics.json  0.60405     0.5    0.9608

    I can see the reasoning for different model builds, with similar params/metrics structure, but feels wrong to assume that by default? This makes me even more convinced that it should be vertical, rather than horizontal flow.

  3. Hard to grep, as the parameter name or the metric name, are in the header, rather than in their own row like in metrics diff.

Regarding exp show, I find it overwhelming to see lots of metrics and params, which have also been shared by the users in #5966 and #6271.
Also, it's hard to grep and also flows horizontally (that too in a pager). And, it also includes metadata that might have been best suited for exp list (where we could add executors info in the future too). Anyway, I am not sure what's best here, may need to get inspiration from other tools like keepsake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionrequires active participation to reach a conclusionenhancementEnhances DVCuiuser interface / interaction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions