Summary
If a job is running into a widespread data or processing issue it should be stopped short to avoid wasting resources and time.
E.g. a job with 10,000 images in which for some reason the model is erroring out 9/10 times or where no images can be loaded due an incorrect data path. In such a case it's wasteful to process all 10,000 images.
A criteria along the lines of: if 200 images have been processed and the fail/success ratio is >60% stop.
Implementation Details
Can be implemented in process_nats_pipeline_result()