def _format_result(criterion_name, success, detail):
    """Returns the SLA result dict corresponding to the current state."""
    return {'criterion': criterion_name, 'success': success, 'detail': detail}
