87 lines
1.7 KiB
JSON
87 lines
1.7 KiB
JSON
{
|
|
"id": "12382c62-0cd1-4bf2-bdc8-1d20bf9b2371",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Create a clustered column chart showing the Sales and COGS data for each week in a new sheet. Set the chart title as \"Sales & COGS\".",
|
|
"source": "SheetCopilot@210",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?id=1gRFurvUFCy-MpU7PQS_rMo9HUk5ZiDRj&export=download",
|
|
"path": "/home/user/WeeklySales.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/WeeklySales.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/12382c62-0cd1-4bf2-bdc8-1d20bf9b2371",
|
|
"related_apps": [
|
|
"libreoffice_calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "WeeklySales.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=14DqiKT9DgU5KwXCngD6sYBymBrbvvSlk&export=download",
|
|
"dest": "13_WeeklySales_gt1.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/WeeklySales.xlsx",
|
|
"dest": "WeeklySales.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "chart",
|
|
"sheet_idx0": "RNSheet2",
|
|
"sheet_idx1": "ENSheet2",
|
|
"chart_props": [
|
|
"type",
|
|
"title"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|