Move sheetcopilot examples into libreoffice calc folder
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"id": "f13c9e86-3d6d-475f-b2bc-9557fe355236",
|
||||
"snapshot": "libreoffice_calc",
|
||||
"instruction": "Calculate the gross profits for all years. Copy the Year, Sales, and Gross Profit columns to a new sheet and then plot a clustered column chart displaying the sales and profits vs. the years. Set the X and Y-axis titles as \"Year\" and \"Amount\" respectively.",
|
||||
"source": "SheetCopilot@96",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?id=1im3XRe64ka2wjlBDkKcpek_1fzC8fP9U&export=download",
|
||||
"path": "/home/user/IncomeStatement2.xlsx"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"parameters": {
|
||||
"path": "/home/user/IncomeStatement2.xlsx"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/f13c9e86-3d6d-475f-b2bc-9557fe355236",
|
||||
"related_apps": [
|
||||
"libreoffice_calc"
|
||||
],
|
||||
"evaluator": {
|
||||
"postconfig": [
|
||||
{
|
||||
"type": "activate_window",
|
||||
"parameters": {
|
||||
"window_name": "IncomeStatement2.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=1yeSyR89nw6aYLXfsb1xUB94pOzK0z7VK&export=download",
|
||||
"dest": "9_IncomeStatement2_gt1.xlsx"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/IncomeStatement2.xlsx",
|
||||
"dest": "IncomeStatement2.xlsx"
|
||||
},
|
||||
"options": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "sheet_data",
|
||||
"sheet_idx0": 0,
|
||||
"sheet_idx1": "EI0"
|
||||
},
|
||||
{
|
||||
"type": "chart",
|
||||
"sheet_idx0": 0,
|
||||
"sheet_idx1": "EI0",
|
||||
"chart_props": [
|
||||
"xtitle",
|
||||
"ytitle",
|
||||
"type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "sheet_data",
|
||||
"sheet_idx0": 1,
|
||||
"sheet_idx1": "EI1"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user