chovanecm / sacredboard

Dashboard for sacred. Monitor and access your past machine learning experiments.
MIT License
184 stars 39 forks source link

Filtering on experiments #8

Closed chovanecm closed 7 years ago

chovanecm commented 7 years ago

As a user, I want to show only experiments that match (or don't match) certain criteria, such as:

Precondition: Sacredboard is running and the user sees the experiment run list

Base Course of Events

  1. The user indicates that the software is to perform filtering of the run list.
  2. The software responds by requesting the name of the experiment config property to be filtered on, the comparison operator and the searched value.
  3. The user inputs the configuration property name and the comparison operator and indicates the type of the searched value (number/string/date).
  4. The software applies the selected filter additionally to other filters that have been possibly applied before and indicates that a new filter condition has been added.

Alternative Paths

  1. In Step 3 the user indicates he does not wish to perform the search based on an experiment run configuration property but based on another property of the experiment (not necessarily in the run config section). The software will allow that. In Step 1, the user indicates that he wants to instantly filter out experiments that have a certain state (e.g. FINISHED and INTERRUPTED). The software must support it without requesting any details about property names.
  2. In Step 3, the user indicates he wants to filter based on an invalid combination of operator and value (e.g. number and "contains"). In this case, the software indicates that the choice is invalid and prevents the user from continuing to the next step.
  3. In Step 1, the user indicates he wants to remove one of the existing filters instead. The software removes the filter of user's choice. All the postconditions apply.

Postconditions

  1. The run list displays only results matching criteria of all the filters applied so far.
  2. The software indicates all the filters applied.
chovanecm commented 7 years ago

@Qwlouse, can you please help me to specify what do you expect from the filters?

Qwlouse commented 7 years ago

This first draft looks ok to me. Some filtering based on the configuration would probably also be nice. But I'll think more about it and discuss it with my colleagues.

chovanecm commented 7 years ago

Precondition: Sacredboard is running and the user sees the experiment run list

Base Course of Events

  1. The user indicates that the software is to perform filtering of the run list.
  2. The software responds by requesting the name of the experiment config property to be filtered on, the comparison operator and the searched value.
  3. The user inputs the configuration property name and the comparison operator and indicates the type of the searched value (number/string/date).
  4. The software applies the selected filter additionally to other filters that have been possibly applied before and indicates that a new filter condition has been added.

Alternative Paths

  1. In Step 3 the user indicates he does not wish to perform the search based on an experiment run configuration property but based on another property of the experiment (not necessarily in the run config section). The software will allow that. In Step 1, the user indicates that he wants to instantly filter out experiments that have a certain state (e.g. FINISHED and INTERRUPTED). The software must support it without requesting any details about property names.
  2. In Step 3, the user indicates he wants to filter based on an invalid combination of operator and value (e.g. number and "contains"). In this case, the software indicates that the choice is invalid and prevents the user from continuing to the next step.
  3. In Step 1, the user indicates he wants to remove one of the existing filters instead. The software removes the filter of user's choice. All the postconditions apply.

Postconditions

  1. The run list displays only results matching criteria of all the filters applied so far.
  2. The software indicates all the filters applied.
chovanecm commented 7 years ago

Closing, additional features are in #34 and #35.