mirrored 10 minutes ago
0
TimothyxxxFix a bug in multiple apps example 6f0fe4f
{
  "id": "a82b78bb-7fde-4cb3-94a4-035baf10bcf0",
  "snapshot": "libreoffice_calc",
  "instruction": "I'm really enjoying this paper. Could you please locate the personal webpages of the initial author and the last three authors? Please include them in a browser bookmark folder titled 'Liked Authors.'",
  "source": "authors",
  "config": [
    {
      "type": "launch",
      "parameters": {
        "command": [
          "google-chrome",
          "--remote-debugging-port=1337"
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "socat",
          "tcp-listen:9222,fork",
          "tcp:localhost:1337"
        ]
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 2
      }
    },
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1IlJ8kU5MlR6OqJHchsSUJzLCmcrG-8N7&export=download&authuser=0&confirm=t&uuid=d2a1810f-edea-4bfd-9d79-e668b9f11876&at=APZUnTVv_eqtC86YzkEU8_jIhC9W:1709522229162",
            "path": "/home/user/Desktop/2206.08853.pdf"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/2206.08853.pdf"
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 2
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.hotkey('f11'); time.sleep(0.5); pyautogui.click(960, 540); time.sleep(0.5); pyautogui.scroll(-20)"
        ]
      }
    }
  ],
  "trajectory": "trajectories/a82b78bb-7fde-4cb3-94a4-035baf10bcf0",
  "related_apps": [
    "chrome",
    "pdf"
  ],
  "evaluator": {
    "func": "is_expected_bookmarks",
    "result": {
      "type": "bookmarks"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "liked_authors_websites_urls",
        "names": [
          "Liked Authors"
        ],
        "urls": [
          ["https://jimfan.me/", "https://research.nvidia.com/person/linxi-jim-fan"],
          ["https://research.nvidia.com/person/de-an-huang", "https://ai.stanford.edu/~dahuang/"],
          ["https://yukezhu.me/", "https://www.cs.utexas.edu/people/faculty-researchers/yuke-zhu", "https://experts.utexas.edu/yuke_zhu", "https://research.nvidia.com/person/yuke-zhu"],
          ["http://tensorlab.cms.caltech.edu/users/anima/", "https://www.eas.caltech.edu/people/anima"]
        ]
      }
    }
  }
}