Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/04d9aeaf-7bed-4024-bedb-e10e6f00eb7f.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

95 lines
2.0 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": "style",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"props": [
"font_name",
"font_color",
"font_bold",
"font_italic",
"font_underline",
"bgcolor"
]
},
{
"type": "sheet_data",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
}
]
}
}
}