{ "id": "734d6579-c07d-47a8-9ae2-13339795476b", "snapshot": "gimp", "instruction": "Could you fill the background layer with green color, leaving the object layer as is?", "source": "https://www.youtube.com/watch?v=LX-S1CX1HUI", "config": [ { "type": "download", "parameters": { "files": [ { "url": "https://drive.google.com/uc?export=download&id=18r4e9FqlMqqD1ltiHRixZkE_Jc865wgb", "path": "/home/user/Desktop/white_background_with_object.xcf" }, { "url": "https://drive.google.com/uc?export=download&id=1D9rLa3XDEk5warlI0jVxcbixyr8SQm_C", "path": "/home/user/Desktop/white_background_with_object.png" } ] } }, { "type": "launch", "parameters": { "command": [ "gimp", "/home/user/Desktop/white_background_with_object.xcf" ] } } ], "trajectory": "trajectories/", "related_apps": [ "gimp" ], "evaluator": { "postconfig": [ { "type": "execute", "parameters": { "command": [ "python3", "-c", "import pyautogui; pyautogui.hotkey([\"shift\", \"ctrl\", \"e\"]);" ] } }, { "type": "sleep", "parameters": { "seconds": 0.5 } }, { "type": "execute", "parameters": { "command": [ "python3", "-c", "import pyautogui; pyautogui.write(\"green_background_with_object\");pyautogui.press([\"enter\"]);" ] } }, { "type": "sleep", "parameters": { "seconds": 2 } }, { "type": "execute", "parameters": { "command": [ "python3", "-c", "import pyautogui; pyautogui.press([\"enter\"]);" ] } }, { "type": "sleep", "parameters": { "seconds": 5 } } ], "func": "check_green_background", "expected": { "type": "vm_file", "path": "/home/user/Desktop/white_background_with_object.png", "dest": "white_background_with_object.png" }, "result": { "type": "vm_file", "path": "/home/user/Desktop/green_background_with_object.png", "dest": "green_background_with_object.png" } } }