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

@@ -1,44 +1,44 @@
{
"id": "aa3a8974-2e85-438b-b29e-a64df44deb4b",
"snapshot": "libreoffice_calc",
"instruction": "I'm working on a project and need to resize cells in a spreadsheet to fit onto one page and export to PDF for efficient presentation. Could you help me on this?",
"source": "https://www.quora.com/Libre-Office-Calc-How-do-I-resize-all-cells-in-a-sheet-to-make-them-fit-to-1-page-for-printing-and-exporting-as-PDF",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1O4bw7jEsVdFGeGeSX8hDjsvIbozV38sd&export=download&authuser=0&confirm=t&uuid=b6ceade0-e9c3-47bf-8c40-fef77b5ea1f1&at=APZUnTUUYaEx0Y_lAESeK1DfQZw6:1704179724348",
"path": "/home/user/Resize_Cells_Fit_Page.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/Resize_Cells_Fit_Page.xlsx"
}
}
],
"trajectory": "trajectories/aa3a8974-2e85-438b-b29e-a64df44deb4b",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"func": "check_pdf_pages",
"result": {
"type": "vm_file",
"path": "/home/user/Resize_Cells_Fit_Page.pdf",
"dest": "Resize_Cells_Fit_Page.pdf"
},
"expected": {
"type": "rule",
"rules": {
"relation": "eq",
"ref_value": 1
}
}
}
}
"id": "aa3a8974-2e85-438b-b29e-a64df44deb4b",
"snapshot": "libreoffice_calc",
"instruction": "I'm working on a project and need to resize cells in a spreadsheet to fit onto one page and export to PDF for efficient presentation. Could you help me on this?",
"source": "https://www.quora.com/Libre-Office-Calc-How-do-I-resize-all-cells-in-a-sheet-to-make-them-fit-to-1-page-for-printing-and-exporting-as-PDF",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/aa3a8974-2e85-438b-b29e-a64df44deb4b/Resize_Cells_Fit_Page.xlsx",
"path": "/home/user/Resize_Cells_Fit_Page.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/Resize_Cells_Fit_Page.xlsx"
}
}
],
"trajectory": "trajectories/aa3a8974-2e85-438b-b29e-a64df44deb4b",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"func": "check_pdf_pages",
"result": {
"type": "vm_file",
"path": "/home/user/Resize_Cells_Fit_Page.pdf",
"dest": "Resize_Cells_Fit_Page.pdf"
},
"expected": {
"type": "rule",
"rules": {
"relation": "eq",
"ref_value": 1
}
}
}
}