83 lines
1.8 KiB
JSON
83 lines
1.8 KiB
JSON
{
|
|
"id": "04d9aeaf-7bed-4024-bedb-e10e6f00eb7f",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "In a new sheet with 4 headers \"Year\", \"CA changes\", \"FA changes\", and \"OA changes\", calculate the annual changes for the Current Assets, Fixed Assets, and Other Assets columns. Set the results as percentage type.",
|
|
"source": "SheetCopilot@168",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?id=135XDfozh5XmO9juDVf_o1mtDEfeQV8wO&export=download",
|
|
"path": "/home/user/SmallBalanceSheet.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/SmallBalanceSheet.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/04d9aeaf-7bed-4024-bedb-e10e6f00eb7f",
|
|
"related_apps": [
|
|
"libreoffice_calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "SmallBalanceSheet.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=1S-T05POFWvfynU7Y7IO6qly1bHFmuDsE&export=download",
|
|
"dest": "4_SmallBalanceSheet_gt1.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/SmallBalanceSheet.xlsx",
|
|
"dest": "SmallBalanceSheet.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": "RNSheet2",
|
|
"sheet_idx1": "ENSheet2"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|