def METHOD_NAME(cls, entity: Entity) -> TestResult:
    """Return the (uniformized) test result of the entity."""
    return cls.UNIFORMIZED_TEST_RESULTS.get(entity["test_result"], entity["test_result"])