97 lines
2.0 KiB
JSON
97 lines
2.0 KiB
JSON
{
|
|
"id": "b6e9778c-11b3-455f-b720-655048787484",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Summarize the revenue sum for each product in a new sheet and plot a pie chart that displays the summarized data. Show the product names as the legend on the right and revenues as the outside-end data labels.",
|
|
"source": "SheetCopilot@60",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?id=1I29YyV7zFdNqbsQw0SWD9pDuLz3oHlge&export=download",
|
|
"path": "/home/user/EntireSummerSales.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/EntireSummerSales.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/b6e9778c-11b3-455f-b720-655048787484",
|
|
"related_apps": [
|
|
"libreoffice_calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "EntireSummerSales.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=1Dt26i2GhgJrPaHvCp11L842Ofjj8qpf5&export=download",
|
|
"dest": "11_EntireSummerSales_gt1.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/EntireSummerSales.xlsx",
|
|
"dest": "EntireSummerSales.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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |