A non-transitory computer-readable medium storing instructions that, when executed by a processor, perform a method of using a machine learning model to verify slide and block quality for testing, the method comprising:
- receiving a collection of one or more digital images, the collection associated with a tissue block and corresponding to an instance, at a digital storage device;
- applying a machine learning model to the collection to identify a presence or an absence of an attribute, the attribute comprising necrosis or tumor;
- determining an amount or a percentage of tissue with the attribute from a digital image in the collection that indicates the presence of the attribute;
- and
- outputting a quality score corresponding to the determined amount or percentage.