Skip to content

Migrate failure status to enum with list of common failures

Current situation

The status of a failure is either passed or failed, where failure can include a string description. The failures actually fall into several discrete categories based on when the failure occurs in the processing and what algorithm detected it.

Proposed solution

Change failure status to an enum with the categories we detect automatically and potentially a few additional categories only available from manual review. We could include an "other" category with a description to extend the list for additional failures.

This would be useful for manual labeling of failures in the Review Tool.