88 lines
1.9 KiB
JSON
88 lines
1.9 KiB
JSON
{
|
|
"id": "035f41ba-6653-43ab-aa63-c86d449d62e5",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Help me fill in the Gross profit column. Then under column A named \"Year_Profit\" in a new sheet, display the Year Column in Sheet 1 as text appended by a \"_\" with the corresponding Gross Profit value.",
|
|
"source": "SheetCopilot@92",
|
|
"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/035f41ba-6653-43ab-aa63-c86d449d62e5",
|
|
"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=15dKrv5l9DpmkiojufioKuvGD1cJzg4Vq&export=download",
|
|
"dest": "5_IncomeStatement2_gt1.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/IncomeStatement2.xlsx",
|
|
"dest": "IncomeStatement2.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": "RNSheet1",
|
|
"sheet_idx1": "ENSheet1"
|
|
},
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": "RNSheet2",
|
|
"sheet_idx1": "ENSheet2"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|