Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/c038008d-848a-4e20-abdb-a3e65a71a6cc.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

93 lines
1.9 KiB
JSON

{
"id": "c038008d-848a-4e20-abdb-a3e65a71a6cc",
"snapshot": "libreoffice_calc",
"instruction": "Fill out the rest rows for column B using B2. Create a new sheet named \"Sheet2\" and display the data with a line chart showing column A as X values and column B as Y values with the column headers as axis titles. Set the chat title as \"Acc. Vs. Up Block\".",
"source": "SheetCopilot@149",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1UCgvgMej5ToSyKzLBrn9wm1vz3k3sLvB&export=download",
"path": "/home/user/RampUpAndDown.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/RampUpAndDown.xlsx"
}
}
],
"trajectory": "trajectories/c038008d-848a-4e20-abdb-a3e65a71a6cc",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "RampUpAndDown.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=1rlXuzKlFxFFaDYNaHF163SJwBMGm8UuZ&export=download",
"dest": "5_RampUpAndDown_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/RampUpAndDown.xlsx",
"dest": "RampUpAndDown.xlsx"
},
"options": {
"rules": [
{
"type": "chart",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"chart_props": [
"xtitle",
"ytitle",
"type",
"title"
]
},
{
"type": "sheet_data",
"sheet_idx0": 1,
"sheet_idx1": "EI1"
}
]
}
}
}