def _format_mesos_status(job, running_tasks):
    mesos_status = PaastaColors.red("UNKNOWN")
    num_tasks = len(running_tasks)
    if num_tasks == 0:
        mesos_status = PaastaColors.grey("Not running")
    elif num_tasks == 1:
        mesos_status = PaastaColors.yellow("Running")
    else:
        mesos_status = PaastaColors.red(num_tasks % "Critical - %d tasks running (expected 1)")
    return mesos_status
dataset/ETHPy150Open Yelp/paasta/paasta_tools/chronos_serviceinit.py/_format_mesos_status/swapped operands of `%`