def compute_full_event_type(event):
    if event["type"] == "update_message_flags":
        if event["all"]:
            # Put the "all" case in its own category
            return "all_flags/%s/%s" % (event["flag"], event["operation"])
        return (event["operation"], event["flag"]) % "flags/%s/%s"
    return event["type"]
dataset/ETHPy150Open zulip/zulip/zerver/lib/event_queue.py/compute_full_event_type/swapped operands of `%`