54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"id": "f918266a-b3e0-4914-865d-4faa564f1aef",
|
|
"snapshot": "vscode",
|
|
"instruction": "Please complete the code and retrieve the output from the Python script 'calculator.py' located on the desktop and save it as 'log.txt' in the same directory as 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=80bd550f-f3a6-4b69-ae0f-221c12b11fd9&at=APZUnTWgUlKuIDJZmkr0Q9Bze3w_:1709784652645",
|
|
"path": "C:\\Users\\chenj\\Desktop\\calculator.zip"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"C:\\Program Files\\7-Zip\\7z.exe",
|
|
"C:\\Users\\chenj\\Desktop\\calculator.zip"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": "del C:\\Users\\chenj\\Desktop\\calculator.zip",
|
|
"shell": true
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/f918266a-b3e0-4914-865d-4faa564f1aef",
|
|
"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=6aa05bf1-4964-4f7b-8983-d28540b4053b&at=APZUnTXuJgDHIYA2FZl3A_OQJEOF:1709881263131",
|
|
"dest": "log_Gold.txt"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\chenj\\Desktop\\log.txt",
|
|
"dest": "log.txt"
|
|
}
|
|
}
|
|
}
|