feat: Migrate OSWorld files to HuggingFace cache with comprehensive documentation

- 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
This commit is contained in:
Timothyxxx
2025-05-28 04:29:37 +08:00
parent a845824f06
commit 34748567a5
317 changed files with 12630 additions and 12008 deletions

View File

@@ -7,8 +7,7 @@
{
"type": "command",
"parameters": {
"command":
"mkdir -p C:\\Users\\User\\Desktop\\snake",
"command": "mkdir -p C:\\Users\\User\\Desktop\\snake",
"shell": true
}
},
@@ -28,19 +27,19 @@
"files": [
{
"path": "C:\\Users\\User\\Desktop\\snake\\food.py",
"url": "https://drive.usercontent.google.com/download?id=1Xkza2CaWyMPwnWiDmlP2lh1mvp6LuIJp&export=download&authuser=0&confirm=t&uuid=4e57edc7-5a7e-4a31-8436-656f3b398804&at=APZUnTWyVtrAaUST2_wI2GSeQrgV:1709303403572"
"url": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/multi_app/26150609-0da3-4a7d-8868-0faf9c5f01bb/food.py"
},
{
"path": "C:\\Users\\User\\Desktop\\snake\\main.py",
"url": "https://drive.usercontent.google.com/download?id=1jcYCRW9quS2aoO4MNbF6UFvca6Z6jO3P&export=download&authuser=0&confirm=t&uuid=a98c6bdc-4acb-43fe-864a-3461276c5ebb&at=APZUnTWQTXYHkJW9XiNgew5Qe3PI:1709303406766"
"url": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/multi_app/26150609-0da3-4a7d-8868-0faf9c5f01bb/main.py"
},
{
"path": "C:\\Users\\User\\Desktop\\snake\\settings.py",
"url": "https://drive.usercontent.google.com/download?id=1aGis8eNKqLM2ZFMIe0sgzaGA-IfTdM_H&export=download&authuser=0&confirm=t&uuid=178f1635-9538-467a-b191-1ecb8e76bc78&at=APZUnTVouOz4zz4wEaYp06nf31_4:1709303409591"
"url": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/multi_app/26150609-0da3-4a7d-8868-0faf9c5f01bb/settings.py"
},
{
"path": "C:\\Users\\User\\Desktop\\snake\\snake.py",
"url": "https://drive.usercontent.google.com/download?id=1-EnaUyWeWmioOrd_S72_JN6xk5qdvJiK&export=download&authuser=0&confirm=t&uuid=6619d298-15a4-42f5-b3df-36f849e17aad&at=APZUnTXT-ko0Bc0uWau_tH3vkFnT:1709303412395"
"url": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/multi_app/26150609-0da3-4a7d-8868-0faf9c5f01bb/snake.py"
}
]
}
@@ -48,7 +47,10 @@
{
"type": "launch",
"parameters": {
"command":["C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\code.exe", "C:\\Users\\User\\Desktop\\snake"]
"command": [
"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\code.exe",
"C:\\Users\\User\\Desktop\\snake"
]
}
}
],
@@ -78,7 +80,7 @@
},
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=1rLhp5cAS93uwCdZlikQse656Tf1Ut0Xc&export=download&authuser=0&confirm=t&uuid=6bb19b05-6832-4093-9441-634b9d0ba476&at=APZUnTVBJ1h-GgRmXMW_iagvZV1A:1709447052264",
"path": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/multi_app/26150609-0da3-4a7d-8868-0faf9c5f01bb/test.py",
"dest": "test_suite.py"
}
}