92 lines
2.2 KiB
JSON
92 lines
2.2 KiB
JSON
{
|
|
"id": "5b5434c6-560c-47a1-a89f-929c688448f5",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "I would like you to extract a breakdown of the data and place it into a new sheet. The requirements are as follows: (1) Keep only \"Gross Domestic Product (GDP)\" from the IndicatorName field, (2) I don't need the data from 2000 to 2002. In the new sheet, create a stacked area chart to display the GDP growth against the years for the countries whose 2013 GDP ranked top 10 (do not delete other countries' data). Display the legends as the top 10 country names on the right and set the chart title as \"Top 10 GDP",
|
|
"source": "SheetCopilot@24",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?id=1v2Hfrd5fE2JG7H_ED6NbtC8G7hd8aOrM&export=download",
|
|
"path": "/home/user/EasyGDPBreakdown.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/EasyGDPBreakdown.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/5b5434c6-560c-47a1-a89f-929c688448f5",
|
|
"related_apps": [
|
|
"libreoffice_calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "EasyGDPBreakdown.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=17jnaMdPBh6jXr231QAJGQS9j2QI19KWA&export=download",
|
|
"dest": "1_EasyGDPBreakdown_gt1.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/EasyGDPBreakdown.xlsx",
|
|
"dest": "EasyGDPBreakdown.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
},
|
|
{
|
|
"type": "chart",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0",
|
|
"chart_props": [
|
|
"type",
|
|
"legend",
|
|
"title"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |