Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/5d353deb-c4b0-4126-a99e-5490817b48cb.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

97 lines
2.0 KiB
JSON

{
"id": "5d353deb-c4b0-4126-a99e-5490817b48cb",
"snapshot": "libreoffice_calc",
"instruction": "Create a summary table in a new sheet named \"Indicator Summary\" showing the values summed over all countries of each indicator from the years 2010 to 2013. Then, create a clustered bar chart in this sheet to visualize the table with the legends at the bottom",
"source": "SheetCopilot@32",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1v2Hfrd5fE2JG7H_ED6NbtC8G7hd8aOrM&export=download",
"path": "/home/user/EasyGDPBreakdown.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/EasyGDPBreakdown.xlsx"
}
}
],
"trajectory": "trajectories/5d353deb-c4b0-4126-a99e-5490817b48cb",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "EasyGDPBreakdown.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=1HOOwYo4Z6DOxz6SKBIgqL_YFll_eSikS&export=download",
"dest": "9_EasyGDPBreakdown_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/EasyGDPBreakdown.xlsx",
"dest": "EasyGDPBreakdown.xlsx"
},
"options": {
"rules": [
{
"type": "chart",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"chart_props": [
"type",
"legend"
]
},
{
"type": "pivot_table",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"pivot_props": [
"col_fields",
"filter",
"row_fields",
"data_fields"
]
}
]
}
}
}