- Add detailed README for file cache repository - Implement migration script with retry logic and browser simulation - Support automatic file type detection and deduplication - Ensure reliable hosting for OSWorld evaluation files
120 lines
3.1 KiB
JSON
120 lines
3.1 KiB
JSON
{
|
|
"id": "e2392362-125e-4f76-a2ee-524b183a3412",
|
|
"snapshot": "chrome",
|
|
"instruction": "I recently started using the famous personal academic homepage template from academicpages.github.io to build my own personal homepage, and I have cloned it to my local Documents\\Code\\Website folder. According to an online tutorial, I can configure my name and contact information in the _config.yaml file. However, I am not familiar with the YAML file format. Please help me find the sections related to the name and contact information in this file and change them to \"Test Account\" and \"Test@gmail.com\".",
|
|
"source": "authors",
|
|
"config": [
|
|
{
|
|
"type": "command",
|
|
"parameters": {
|
|
"command": "mkdir C:\\Users\\User\\Documents\\Code\\Website",
|
|
"shell": true
|
|
}
|
|
},
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"path": "C:\\Users\\User\\.tmp.7z",
|
|
"url": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/multi_app/e2392362-125e-4f76-a2ee-524b183a3412/academicpages.github.io.7z"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"C:\\Program Files\\7-Zip\\7z.exe",
|
|
"x",
|
|
"-oC:\\Users\\User\\Documents\\Code\\Website",
|
|
"C:\\Users\\User\\.tmp.7z"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
|
|
"--remote-debugging-port=1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": "ncat.exe -k -l 0.0.0.0 9222 --sh-exec \"ncat.exe 127.0.0.1 1337\"",
|
|
"shell": true
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome_open_tabs",
|
|
"parameters": {
|
|
"urls_to_open": [
|
|
"https://academicpages.github.io/"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/e2392362-125e-4f76-a2ee-524b183a3412",
|
|
"related_apps": [
|
|
"chrome",
|
|
"os",
|
|
"vscode"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; import time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"func": "check_json",
|
|
"options": {
|
|
"is_yaml": true
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expect": [
|
|
{
|
|
"key": [
|
|
"name"
|
|
],
|
|
"method": "eq",
|
|
"ref": "Test Account"
|
|
},
|
|
{
|
|
"key": [
|
|
"author",
|
|
"name"
|
|
],
|
|
"method": "eq",
|
|
"ref": "Test Account"
|
|
},
|
|
{
|
|
"key": [
|
|
"author",
|
|
"email"
|
|
],
|
|
"method": "eq",
|
|
"ref": "Test@gmail.com"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\User\\Documents\\Code\\Website\\academicpages.github.io\\_config.yml",
|
|
"dest": "_config.yaml"
|
|
}
|
|
}
|
|
} |