Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/28047f4a-d877-4bea-95f7-e42b1c919957.json
David Chang 807818c9a2 ver Feb20thv2
corrected several SheetCopilot tasks
fixed load_charts
2024-02-20 23:29:13 +08:00

97 lines
1.8 KiB
JSON

{
"id": "28047f4a-d877-4bea-95f7-e42b1c919957",
"snapshot": "libreoffice_calc",
"instruction": "Summarize the sales for each product and illustrate it with a bar chart in a new sheet (Sheet2).",
"source": "SheetCopilot@108",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1ydRPxPp5Cy1RIpURMwbgxE0ieAvCgQgC&export=download",
"path": "/home/user/Invoices.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/Invoices.xlsx"
}
}
],
"trajectory": "trajectories/28047f4a-d877-4bea-95f7-e42b1c919957",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "Invoices.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": 2.0
}
}
],
"func": "compare_table",
"expected": {
"type": "cloud_file",
"path": "https://drive.google.com/uc?id=1y-MObA1CgcDBM8KLU-9n546E7ZQbouQJ&export=download",
"dest": "12_Invoices_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/Invoices.xlsx",
"dest": "Invoices.xlsx"
},
"options": {
"rules": [
{
"type": "chart",
"sheet_idx0": "RNSheet2",
"sheet_idx1": "ENSheet2",
"chart_props": [
"type"
]
},
{
"type": "pivot_table",
"sheet_idx0": "RNSheet2",
"sheet_idx1": "ENSheet2",
"pivot_props": [
"col_fields",
"filter",
"row_fields",
"data_fields"
]
}
]
}
}
}