ver Dec26thv2

implemented _load_charts and compare_with_charts according to codes in
openpyxl
This commit is contained in:
David Chang
2023-12-26 20:59:19 +08:00
parent a6b6022ecb
commit fe0a59583a
3 changed files with 137 additions and 16 deletions

View File

@@ -26,6 +26,7 @@
"libreoffice calc"
],
"evaluator": {
"func": "compare_with_sparklines",
"expected": {
"type": "cloud_file",
"path": "https://101.43.24.67/s/t7pgJxNoAGFQWEM/download/OrderId_Month_Chart_gold.xlsx",

View File

@@ -0,0 +1,42 @@
{
"id": "347ef137-7eeb-4c80-a3bb-0951f26a8aff",
"snapshot": "libreoffice_calc",
"instruction": "Could you create two column charts of per-month costs for me using statistics in the form?",
"source": "https://www.youtube.com/watch?v=bgO40-CjYNY",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://101.43.24.67/s/s7aAngonFwaygHr/download/Create_column_charts_using_statistics.xlsx",
"path": "/home/david/Create_column_charts_using_statistics.xlsx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/david/Create_column_charts_using_statistics.xlsx"
}
}
],
"trajectory": "trajectories/347ef137-7eeb-4c80-a3bb-0951f26a8aff",
"related_apps": [
"libreoffice_calc"
],
"evaluator": {
"func": "compare_with_charts",
"result": {
"type": "vm_file",
"path": "/home/david/Create_column_charts_using_statistics.xlsx",
"dest": "Create_column_charts_using_statistics.xlsx"
},
"expected": {
"type": "cloud_file",
"path": "https://101.43.24.67/s/SLL4CgyMiyre3Ss/download/Create_column_charts_using_statistics_gold.xlsx",
"dest": "Create_column_charts_using_statistics_gold.xlsx"
}
}
}