ver Feb20th

fixed server/main.py
fixed several sheetcopilot tasks
fixed several calc metrics, including float difference of sheet_data and
conditional formatting recognition
This commit is contained in:
David Chang
2024-02-20 17:10:42 +08:00
parent e57d3ef981
commit 96e2c6ee34
7 changed files with 91 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "1954cced-e748-45c4-9c26-9855b97fbc5e",
"snapshot": "libreoffice_calc",
"instruction": "Create a Pivot Table in a new sheet to count how many times each \"Invoice No.\" appears.",
"instruction": "Create a Pivot Table in a new sheet (Sheet2) to count how many times each \"Invoice No.\" appears.",
"source": "SheetCopilot@104",
"config": [
{
@@ -73,8 +73,8 @@
"rules": [
{
"type": "pivot_table",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"sheet_idx0": "RNSheet2",
"sheet_idx1": "ENSheet2",
"pivot_props": [
"col_fields",
"filter",
@@ -85,4 +85,4 @@
]
}
}
}
}

View File

@@ -73,10 +73,10 @@
"rules": [
{
"type": "sheet_data",
"sheet_idx0": 0,
"sheet_idx1": "EI0"
"sheet_idx0": "RNSheet2",
"sheet_idx1": "ENSheet2"
}
]
}
}
}
}

View File

@@ -1,7 +1,7 @@
{
"id": "1de60575-bb6e-4c3d-9e6a-2fa699f9f197",
"snapshot": "libreoffice_calc",
"instruction": "Summarize the total revenue for each promotion type in a new sheet with the promotion names as the column headers.",
"instruction": "Summarize the total revenue for each promotion type in a new sheet (Sheet2) with the promotion names as the column headers.",
"source": "SheetCopilot@55",
"config": [
{
@@ -54,7 +54,7 @@
{
"type": "sleep",
"parameters": {
"seconds": 0.5
"seconds": 3.0
}
}
],
@@ -73,8 +73,8 @@
"rules": [
{
"type": "pivot_table",
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"sheet_idx0": "RNSheet2",
"sheet_idx1": "ENSheet2",
"pivot_props": [
"col_fields",
"filter",
@@ -85,4 +85,4 @@
]
}
}
}
}

View File

@@ -1,7 +1,7 @@
{
"id": "21ab7b40-77c2-4ae6-8321-e00d3a086c73",
"snapshot": "libreoffice_calc",
"instruction": "Please calculate the period rate for my data in a new column with header \"Period Rate (%)\", convert the results as number type, and highlight the highest result as green.",
"instruction": "Please calculate the period rate for my data in a new column with header \"Period Rate (%)\", convert the results as number type, and highlight the highest result with green (#00ff00) font.",
"source": "SheetCopilot@124",
"config": [
{
@@ -81,15 +81,10 @@
"sheet_idx0": 0,
"sheet_idx1": "EI0",
"props": [
"font_bold",
"font_color",
"bgcolor",
"font_name",
"font_italic",
"font_underline"
"font_color"
]
}
]
}
}
}
}