-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
feature requestRequesting a new featureRequesting a new featurep3-nice-to-haveIt should be done this or next sprintIt should be done this or next sprint
Description
It would be useful to be able to filter the results of the dvc metrics diff command based on absolute or relative tolerance.
This type of solution allows, first of all, to filter negligible changes but also, for example, to build jobs on CI that fail if any of the metrics have changed too drastically.
Currently, this can be done with a custom python script, or using AWK:
dvc metrics diff | awk '($5 > ${metrics_absolute_tolerance} || $5 < -${metrics_absolute_tolerance}) {print; should_fail=1} END {exit should_fail}''
Looking forward for your feedback!
### Tasks
Metadata
Metadata
Assignees
Labels
feature requestRequesting a new featureRequesting a new featurep3-nice-to-haveIt should be done this or next sprintIt should be done this or next sprint