sacredboard
sacredboard copied to clipboard
Deleting an Experiment Run
The user indicates he wants to delete a particular experiment run.
- The user selects the experiment to delete. (by opening its detail view).
- The system shows a delete option in the detail view. (left-bottom under the menu).
- The tells the system to delete the experiment. (clicking on a delete button in the left-bottom)
- The system verifies the intention to delete the experiment. (a confirmation dialog)
- The user confirms his choice.
- The system deletes the run. (invoking DELETE on
/api/run/<id>, which also deletes corresponding metrics, fs.files, and all other related entries). - The system closes the detail view.
- The system removes the run from the table.
Postconditions:
- [x] The run is deleted.
- [x] Related metrics are deleted.
- [ ] Related sources are deleted.
- [ ] Related artifacts are deleted.
Alternative scenarios
-
- The user does not confirm the choice - the run won't be deleted. (Postconditions do not apply)
-
- The run couldn't be deleted. The user is informed with an alert box.