You can set early stopping rules for executions and Tasks rom proceeding based on metadata values.
- Create a new execution or Task
- Click on the checkbox "Set stop condition" in the Runtime section
- Define your early stopping rule, for example "when accuracy is greater than 0.9"
- Start your execution
Valohai looks for metadata for the key "accuracy" and as soon as its value is greater than 0.9 the execution will be terminated.