Files
sci-gui-agent-benchmark/evaluation_examples/examples/sheetcopilot/a16d1eb7-941b-4edd-8c08-344213f939ad.json
David Chang c6bd5c9d92 ver Feb19thv3
converted examples from sheetcopilot
2024-02-19 19:43:55 +08:00

96 lines
2.2 KiB
JSON

{
"id": "a16d1eb7-941b-4edd-8c08-344213f939ad",
"snapshot": "libreoffice_calc",
"instruction": "I would like you to extract a breakdown of the data based on three criteria and place it into a new sheet. The criteria are as follows: (1) \"Gross Domestic Product (GDP)\" from the IndicatorName field, (2) only the countries listed in sheet 2 should be included, and (3) Data from 2000 to 2002 are not needed. In the new sheet, create a stacked area chart with title \"GDP Growth\" to display the GDP over time for the listed countries. Finally, freeze the first two columns.",
"source": "SheetCopilot@76",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1vdXYHCk66mZG-03VeKL9saiPkr7ykMZG&export=download",
"path": "/home/user/GDPBreakdown.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/GDPBreakdown.xlsx"
}
}
],
"trajectory": "trajectories/a16d1eb7-941b-4edd-8c08-344213f939ad",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "GDPBreakdown.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_x_aPXel7IzsxkQt0brcicQT2LqoF5M&export=download",
"dest": "1_GDPBreakdown_gt1.xlsx"
},
"result": {
"type": "vm_file",
"path": "/home/user/GDPBreakdown.xlsx",
"dest": "GDPBreakdown.xlsx"
},
"options": {
"rules": [
{
"type": "sheet_data",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
},
{
"type": "chart",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"chart_props": [
"type",
"title"
]
},
{
"type": "freeze",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
}
]
}
}
}