59 lines
1.9 KiB
JSON
59 lines
1.9 KiB
JSON
{
|
|
"id": "20236825-b5df-46e7-89bf-62e1d640a897",
|
|
"snapshot": "vscode",
|
|
"instruction": "I am currently working on my algorithm practice using the document \"bubble_Sort_tutorial.docx.\" Please assist me in completing the 'bubbleSort' function within the 'bubbleSort.py' file on the Desktop and save the output as 'res.txt' on the Desktop.",
|
|
"source": "authors",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/20236825-b5df-46e7-89bf-62e1d640a897/bubbleSort.zip",
|
|
"path": "/home/user/Desktop/bubbleSort.zip"
|
|
},
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/20236825-b5df-46e7-89bf-62e1d640a897/Bubble_Sort_tutorial.docx",
|
|
"path": "/home/user/Desktop/Bubble_Sort_tutorial.docx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"/bin/bash",
|
|
"-c",
|
|
"unzip /home/user/Desktop/bubbleSort.zip -d /home/user/Desktop/ && rm -rf /home/user/Desktop/bubbleSort.zip"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/Desktop/Bubble_Sort_tutorial.docx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/20236825-b5df-46e7-89bf-62e1d640a897",
|
|
"related_apps": [
|
|
"vscode",
|
|
"libreoffice_writer",
|
|
"os"
|
|
],
|
|
"evaluator": {
|
|
"func": "compare_text_file",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/20236825-b5df-46e7-89bf-62e1d640a897/res.txt",
|
|
"dest": "res_Gold.txt"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/res.txt",
|
|
"dest": "res.txt"
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |