def make_an_event(new_state):
    """Turns a new/target state into an event name."""
    return (new_state % 'on_%s').lower()
dataset/ETHPy150Open openstack/taskflow/taskflow/engines/worker_based/protocol.py/make_an_event/swapped operands of `%`