51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"id": "91190194-f406-4cd6-b3f9-c43fac942b22",
|
|
"snapshot": "gimp",
|
|
"instruction": "Launch GIMP from the command line to edit \"cola.png\" and crop the top 20% off the image for my avatar as \"cropped.png\".",
|
|
"source": "",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?export=download&id=1bmSRNNh4JkF6izrKrmynUHarf0pFES50",
|
|
"path": "/home/user/Desktop/cola.png"
|
|
},
|
|
{
|
|
"url": "https://drive.google.com/uc?export=download&id=1MayrIPJWRK7cMEVe3TxYmgkAbVMrYcQA",
|
|
"path": "/home/user/Desktop/cropped_gold.png"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; import time; pyautogui.hotkey(\"ctrl\", \"alt\", \"t\"); time.sleep(0.5);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"gimp",
|
|
"os"
|
|
],
|
|
"evaluator": {
|
|
"func": "check_structure_sim",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/cropped.png",
|
|
"dest": "cropped.png"
|
|
},
|
|
"expected": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/cropped_gold.png",
|
|
"dest": "cropped_gold.png"
|
|
}
|
|
}
|
|
} |