Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/852527e8-1b97-466c-a12f-b6b095df59bc.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

82 lines
1.7 KiB
JSON

{
"id": "852527e8-1b97-466c-a12f-b6b095df59bc",
"snapshot": "libreoffice_calc",
"instruction": "In a new column named \"Week Sales COGS Summary\", concatenate each cell value in Week, Sales, and COGS columns into the pattern \"Week: [Week Value], Sales: [Sales Value], COGS: [COGS Value]\". Do this for all rows.",
"source": "SheetCopilot@206",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1gRFurvUFCy-MpU7PQS_rMo9HUk5ZiDRj&export=download",
"path": "/home/user/WeeklySales.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/WeeklySales.xlsx"
}
}
],
"trajectory": "trajectories/852527e8-1b97-466c-a12f-b6b095df59bc",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "WeeklySales.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=1xJBACBEhTRinZx3kZRMhJa12i468P55u&export=download",
"dest": "9_WeeklySales_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/WeeklySales.xlsx",
"dest": "WeeklySales.xlsx"
},
"options": {
"rules": [
{
"type": "sheet_data",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
}
]
}
}
}