Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/b6da532f-9c4c-4e47-a302-a2c51972134f.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

88 lines
1.7 KiB
JSON

{
"id": "b6da532f-9c4c-4e47-a302-a2c51972134f",
"snapshot": "libreoffice_calc",
"instruction": "Display the average annual rate corresponding to each period per year in a new sheet named \"Sheet2\".",
"source": "SheetCopilot@126",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1zejyjqheZOyLaYXS2X8ds6QrZCj3P096&export=download",
"path": "/home/user/PeriodRate.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/PeriodRate.xlsx"
}
}
],
"trajectory": "trajectories/b6da532f-9c4c-4e47-a302-a2c51972134f",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "PeriodRate.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=1J-1yO83vTuleYBnF8n6f5ykGju4U1CvS&export=download",
"dest": "3_PeriodRate_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/PeriodRate.xlsx",
"dest": "PeriodRate.xlsx"
},
"options": {
"rules": [
{
"type": "pivot_table",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"pivot_props": [
"col_fields",
"filter",
"row_fields",
"data_fields"
]
}
]
}
}
}