mirrored 17 minutes ago
0
TimothyxxxExamine and load new batch of OS examples from NL2Bash 91bc795
{
  "id": "6f56bf42-85b8-4fbb-8e06-6c44960184ba",
  "snapshot": "os",
  "instruction": "Copies file 'file1' to each of directories 'dir1', 'dir2', 'dir3'.",
  "source": "NL2Bash",
  "trajectory": "trajectories/",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1fQGBoTE40BLoNV_d4KYxbYjKRJdIPDio&export=download&authuser=0&confirm=t&uuid=50f5fff6-4c6b-4ce0-b36e-73f0d4bce8ca&at=APZUnTUA_3uAt14q25NN6dCY5X7e:1708531075515",
            "path": "setup.sh"
          }
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": "chmod +x setup.sh",
        "shell": true
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": "./setup.sh",
        "shell": true
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; time.sleep(0.5); pyautogui.click(960, 540); time.sleep(0.5); pyautogui.hotkey('ctrl', 'alt', 't'); time.sleep(0.5)"
        ]
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Terminal"
      }
    }
  ],
  "related_apps": [
    "os"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "download",
        "parameters": {
          "files": [
            {
              "url": "https://drive.usercontent.google.com/download?id=1BpFAuuH0IHxpWLDF3jaFNxa9QDe_F12D&export=download&authuser=0&confirm=t&uuid=695e8a3c-f354-4e9d-a4c3-e01f149be7be&at=APZUnTVHmmnZVIYLPCbuiQduSZZX:1708531243191",
              "path": "eval.sh"
            }
          ]
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": "chmod +x eval.sh",
          "shell": true
        }
      }
    ],
    "func": "check_include_exclude",
    "result": {
      "type": "vm_command_line",
      "command": "bash eval.sh",
      "shell": true
    },
    "expected": {
      "type": "rule",
      "rules": {
        "include": [
          "Success: file1 exists in dir1.\nSuccess: file1 exists in dir2.\nSuccess: file1 exists in dir3.\n"
        ],
        "exclude": [
        ]
      }
    }
  }
}