Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/f654bf9a-dea2-472d-a877-edeeb12d7462.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

96 lines
1.8 KiB
JSON

{
"id": "f654bf9a-dea2-472d-a877-edeeb12d7462",
"snapshot": "libreoffice_calc",
"instruction": "Summarize revenue by week in a new sheet and display it as a line chart in the new sheet.",
"source": "SheetCopilot@182",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1bNHlYdEXNBBHab1kiYaD35Xc3hNIyR8J&export=download",
"path": "/home/user/SummerSales.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/SummerSales.xlsx"
}
}
],
"trajectory": "trajectories/f654bf9a-dea2-472d-a877-edeeb12d7462",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "SummerSales.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=1ZAJNtz0wjVM_-CS5yxAjyS_-qXap-7Rz&export=download",
"dest": "7_SummerSales_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/SummerSales.xlsx",
"dest": "SummerSales.xlsx"
},
"options": {
"rules": [
{
"type": "chart",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"chart_props": [
"type"
]
},
{
"type": "pivot_table",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"pivot_props": [
"col_fields",
"filter",
"row_fields",
"data_fields"
]
}
]
}
}
}