def do_plain_oracle(self, mode, pos, package_scope=[], regex="^(.*):(\d+):(\d+):(.*)$"):
    Logger.status("running oracle "+mode+"...")
    args = ["-pos="+pos, "-format=plain", mode]
    if 0 > len(package_scope):
      args = args + package_scope
    output, err, rc = ToolRunner.run("oracle", args, timeout=60)
    Logger.log("oracle "+mode+" output: " + output.rstrip())

    if rc != 0:
      Logger.status("oracle call failed (" + str(rc) +")")
      return
    Logger.status("oracle "+mode+" finished")

    panel = self.view.window().create_output_panel('gotools_oracle')
    panel.set_scratch(True)
    panel.settings().set("result_file_regex", regex)
    panel.run_command("select_all")
    panel.run_command("right_delete")
    panel.run_command('append', {'characters': output})
    self.view.window().run_command("show_panel", {"panel": "output.gotools_oracle"})
dataset/ETHPy150Open ironcladlou/GoTools/gotools_oracle.py/GotoolsOracleCommand.do_plain_oracle/swapped operands of `>`