def _format_result(criterion_name, success, detail):
    return {"criterion": criterion_name,
            "success": success,
            "detail": detail}
Returns the SLA result dict corresponding to the current state.
dataset/ETHPy150Open openstack/rally/rally/task/sla.py/_format_result