mirrored 12 minutes ago
0
Timothyxxxfeat: 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 3474856
{
  "id": "21ab7b40-77c2-4ae6-8321-e00d3a086c73",
  "snapshot": "libreoffice_calc",
  "instruction": "Please calculate the period rate for my data in a new column with header \"Period Rate (%)\", convert the results as number type, and highlight the highest result with green (#00ff00) font.",
  "source": "SheetCopilot@124",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/21ab7b40-77c2-4ae6-8321-e00d3a086c73/PeriodRate.xlsx",
            "path": "/home/user/PeriodRate.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/PeriodRate.xlsx"
      }
    }
  ],
  "trajectory": "trajectories/21ab7b40-77c2-4ae6-8321-e00d3a086c73",
  "related_apps": [
    "libreoffice_calc"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "PeriodRate.xlsx - LibreOffice Calc",
          "strict": true
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python",
            "-c",
            "import pyautogui; pyautogui.hotkey(\"ctrl\", \"s\");"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      }
    ],
    "func": "compare_table",
    "expected": {
      "type": "cloud_file",
      "path": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/21ab7b40-77c2-4ae6-8321-e00d3a086c73/1_PeriodRate_gt1.xlsx",
      "dest": "1_PeriodRate_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/PeriodRate.xlsx",
      "dest": "PeriodRate.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        },
        {
          "type": "style",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "props": [
            "font_color"
          ]
        }
      ]
    }
  }
}