83 lines
1.6 KiB
JSON
83 lines
1.6 KiB
JSON
{
|
|
"id": "1273e544-688f-496b-8d89-3e0f40aa0606",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Copy the \"Revenue\" column along with the header to a new sheet.",
|
|
"source": "SheetCopilot@123",
|
|
"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/1273e544-688f-496b-8d89-3e0f40aa0606",
|
|
"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=1J94ijzCqrop6eoKAelatAEP98FvbsrTU&export=download",
|
|
"dest": "3_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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|