mirrored 9 minutes ago
0
TimothyxxxFix typos and examples in vscode examples 7af5784
{
  "id": "6ed0a554-cbee-4b44-84ea-fd6c042f4fe1",
  "snapshot": "vscode",
  "instruction": "Please help me add folder \"/home/user/data1\" and folder \"/home/user/data2\" to the current workspace.",
  "source": "https://www.youtube.com/watch?v=B-s71n0dHUk",
  "config": [
    {
      "type": "command",
      "parameters": {
        "command": [
          "mkdir",
          "-p",
          "/home/user/project"
        ]
      }
    },
    {
      "type": "command",
      "parameters": {
        "command": [
          "mkdir",
          "-p",
          "/home/user/data1"
        ]
      }
    },
    {
      "type": "command",
      "parameters": {
        "command": [
          "mkdir",
          "-p",
          "/home/user/data2"
        ]
      }
    },
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1_CzdGGcA70VZnXWbFkxnMCS_HSl2B16A&export=download&authuser=0&confirm=t&uuid=6d08572f-04c6-42ca-8d02-b6adf3f0a271&at=APZUnTU3hL_yPkvSKokYA-Mywj1Z:1706666120779",
            "path": "/home/user/project.code-workspace"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": ["code", "/home/user/project.code-workspace"]
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Visual Studio Code"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "vscode"
  ],
  "evaluator": {
    "func": "check_json_settings",
    "expected": {
      "type": "rule",
      "rules": {
        "expected": {
          "folders": [
            {"path": "project"},
            {"path": "data1"},
            {"path": "data2"}
          ]
        }
      }
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/project.code-workspace",
      "dest": "project.code-workspace"
    }
  }
}