83 lines
1.7 KiB
JSON
83 lines
1.7 KiB
JSON
{
|
|
"id": "42e0a640-4f19-4b28-973d-729602b5a4a7",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Compute the sum of \"Revenue\" and \"Total Expenses\" and put the results under two columns named \"Total Revenue\" and \"Total Expenses\" of a new sheet",
|
|
"source": "SheetCopilot@122",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?id=1VoEpRbXGxxrxIp-a2iGPqgVPQNdswQB-&export=download",
|
|
"path": "/home/user/NetIncome.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/NetIncome.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/42e0a640-4f19-4b28-973d-729602b5a4a7",
|
|
"related_apps": [
|
|
"libreoffice_calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "NetIncome.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=1gYnzmQWbNzOJPXpfjyqUj36DXn7m9oUE&export=download",
|
|
"dest": "2_NetIncome_gt1.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/NetIncome.xlsx",
|
|
"dest": "NetIncome.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": "RNSheet2",
|
|
"sheet_idx1": "ENSheet2"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|