47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"id": "f918266a-b3e0-4914-865d-4faa564f1aef",
|
|
"snapshot": "vscode",
|
|
"instruction": "Help me get the output of Python code 'calculator.py' on the desktop. Save it as 'log.txt' at the same place with the python file.",
|
|
"source": "GAIA",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=1l09TnSiXo-qOK2UazcIdrT_M6JwTfzq7&export=download&authuser=0&confirm=t&uuid=b9c4fc67-2fdd-4dc5-a84f-9ce0b2031c91&at=APZUnTUSK7Codrqfu6J_Lvy5AlT3:1709366036288",
|
|
"path": "/home/user/Desktop/calculator.zip"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"/bin/bash",
|
|
"-c",
|
|
"unzip /home/user/Desktop/calculator.zip -d /home/user/Desktop/ && rm -rf /home/user/Desktop/calculator.zip"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"vscode",
|
|
"os"
|
|
],
|
|
"evaluator": {
|
|
"func": "compare_text_file",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1-14AgA1nHNL22VD_3QtRzWaMjIBa3RvJ&export=download&authuser=0&confirm=t&uuid=91e2d5bc-a7f0-4abc-9aed-aa8b4956fb45&at=APZUnTU2TksSVngTw6WRJv8wpmoU:1709367652463",
|
|
"dest": "log.txt"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/log.txt",
|
|
"dest": "log.txt"
|
|
}
|
|
}
|
|
} |