def METHOD_NAME(obj):
    try:
        if "text" in obj:
            obj["text"] = re.sub(r"/tmp/compiler-explorer-[^/]+", "/tmp", obj["text"])
        return obj
    except:
        print("Issues with obj '{}'".format(obj))
        raise