Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/9b534cd8-d497-4ca8-8444-82105b87d6f4.json
David Chang ed61404f2b ver Feb19thv4
corrected a series of sheetcopilot task configs
2024-02-19 22:34:09 +08:00

82 lines
1.6 KiB
JSON

{
"id": "9b534cd8-d497-4ca8-8444-82105b87d6f4",
"snapshot": "libreoffice_calc",
"instruction": "Calculate profit for each week in a new column with header \"Profit\". Then format all numbers with Accounting Number Format.",
"source": "SheetCopilot@198",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1gRFurvUFCy-MpU7PQS_rMo9HUk5ZiDRj&export=download",
"path": "/home/user/WeeklySales.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/WeeklySales.xlsx"
}
}
],
"trajectory": "trajectories/9b534cd8-d497-4ca8-8444-82105b87d6f4",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "WeeklySales.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://drive.google.com/uc?id=1w96DtYUzjnsBsBuFUYVK8PabzLUAzoJB&export=download",
"dest": "1_WeeklySales_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/WeeklySales.xlsx",
"dest": "WeeklySales.xlsx"
},
"options": {
"rules": [
{
"type": "sheet_data",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
}
]
}
}
}