Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/96042ca2-6ea0-461c-8ba8-81efdc07bbf5.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

101 lines
2.0 KiB
JSON

{
"id": "96042ca2-6ea0-461c-8ba8-81efdc07bbf5",
"snapshot": "libreoffice_calc",
"instruction": "Sort the data by the Date column in an ascending order. Then summarize the total roll numbers for each date in a new sheet. Then create a line chart in the new sheet that displays the trend over time.",
"source": "SheetCopilot@142",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1qSoApRNbONzv1wUHLq_jujgKB65bmwgx&export=download",
"path": "/home/user/PricingTable.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/PricingTable.xlsx"
}
}
],
"trajectory": "trajectories/96042ca2-6ea0-461c-8ba8-81efdc07bbf5",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "PricingTable.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=12dmUZiWmBtq8pzsnKCnZKqIGjISRzSAj&export=download",
"dest": "8_PricingTable_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/PricingTable.xlsx",
"dest": "PricingTable.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"
]
},
{
"type": "sheet_data",
"sheet_idx0": 1,
"sheet_idx1": "EI1"
}
]
}
}
}