Files
sci-gui-agent-benchmark/evaluation_examples/examples/Windows/excel/4188d3a4-077d-46b7-9c86-23e1a036f6c1.json
2024-03-21 15:49:54 +08:00

87 lines
2.0 KiB
JSON

{
"id": "4188d3a4-077d-46b7-9c86-23e1a036f6c1",
"snapshot": "excel",
"instruction": "Help me freeze the range A1:B1 on this sheet to keep the headers always visible",
"source": "https://www.libreofficehelp.com/freeze-unfreeze-rows-columns-ranges-calc/",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1pHuXBQicCKbPEiPk3PNlF0zacNwZ18B2&export=download&authuser=0&confirm=t&uuid=32e06ec7-ea8b-4e49-98ae-594b095dec9a&at=APZUnTW7mV2ifx2jLKi4-2wHMPIW:1710921676387",
"path": "c:\\users\\chenj\\Freeze_row_column.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "c:\\users\\chenj\\Freeze_row_column.xlsx"
}
}
],
"trajectory": "trajectories/4188d3a4-077d-46b7-9c86-23e1a036f6c1",
"related_apps": [
"excel"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "Freeze_row_column - Excel",
"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",
"result": {
"type": "vm_file",
"path": "c:\\users\\chenj\\Freeze_row_column.xlsx",
"dest": "Freeze_row_column.xlsx"
},
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=1_bqrHZuowhYMtfO7mZLwOJ8SZwzluwng&export=download&authuser=0&confirm=t&uuid=f0d030f2-cc0e-42e0-ab72-ed4e14f7dafd&at=APZUnTXjt4eBKQothOWJoAZFkZK-:1710921727198",
"dest": "Freeze_row_column_gold.xlsx"
},
"options": {
"rules": [
{
"type": "freeze",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
},
{
"type": "sheet_data",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
}
]
}
}
}