36 lines
979 B
JSON
36 lines
979 B
JSON
{
|
|
"id": "43c2d64c-bab5-4dcb-a30c-b888321c319a",
|
|
"snapshot": "os",
|
|
"instruction": "Could you please help me create a dir named 'test' in the root directory of current computer?",
|
|
"source": "https://ubuntu.com/tutorials/command-line-for-beginners#4-creating-folders-and-files",
|
|
"config": [
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; import time; pyautogui.click(960, 540); time.sleep(0.5);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"os"
|
|
],
|
|
"evaluator": {
|
|
"func": "exact_match",
|
|
"result": {
|
|
"type": "vm_command_line",
|
|
"command": "[ -d '/test' ] && echo 'Directory exists.' || echo 'Directory does not exist.'",
|
|
"shell": true
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules":{
|
|
"expected": "Directory exists.\n"
|
|
}
|
|
}
|
|
}
|
|
} |