From 7364a720a634e122356dad15b34aad22a0dc4e31 Mon Sep 17 00:00:00 2001 From: Danyang Zhang Date: Mon, 4 Aug 2025 12:39:35 +0800 Subject: [PATCH] Calc eval fix (#297) * ver Jun17th updating annotations * ver Jun17th corrected annotation of 1d17 added check for cell merge * ver Jun17th updated several annotations * ver Jun20th fixed set-up config of 2bd59342-0664-4ccb-ba87-79379096cc08 * fix: Enhance instructions in LibreOffice Calc examples for clarity and specificity, including details on using Pivot Tables, column placements, and revenue calculations. * ver Jun21st updating calc evals * ver Jun22nd fixed an impress task * ver Jun22ndv2 adjusted several calc tasks * Clean scalfolds * ver Jul18th added two try-excepts to handle possible formula parsing and calculation failures * ver Jul19th added supports for cellIs and some other new types of conditional formatting for calc evaluation * ver Aug4th updated some instructions * ver Aug4thv2 fixed a typo --------- Co-authored-by: BowenBryanWang Co-authored-by: yuanmengqi --- .../1273e544-688f-496b-8d89-3e0f40aa0606.json | 4 ++-- .../21df9241-f8d7-4509-b7f1-37e501a823f7.json | 4 ++-- .../26a8440e-c166-4c50-aef4-bfb77314b46b.json | 2 +- .../30e3e107-1cfb-46ee-a755-2cd080d7ba6a.json | 4 ++-- .../abed40dc-063f-4598-8ba5-9fe749c0615d.json | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/evaluation_examples/examples/libreoffice_calc/1273e544-688f-496b-8d89-3e0f40aa0606.json b/evaluation_examples/examples/libreoffice_calc/1273e544-688f-496b-8d89-3e0f40aa0606.json index 5b2bba4..c0e2191 100644 --- a/evaluation_examples/examples/libreoffice_calc/1273e544-688f-496b-8d89-3e0f40aa0606.json +++ b/evaluation_examples/examples/libreoffice_calc/1273e544-688f-496b-8d89-3e0f40aa0606.json @@ -1,7 +1,7 @@ { "id": "1273e544-688f-496b-8d89-3e0f40aa0606", "snapshot": "libreoffice_calc", - "instruction": "Copy the \"Revenue\" column along with the header to a new sheet.", + "instruction": "Copy the \"Revenue\" column along with the header to a new sheet named \"Sheet2\".", "source": "SheetCopilot@123", "config": [ { @@ -82,4 +82,4 @@ "proxy": false, "fixed_ip": false, "possibility_of_env_change": "low" -} \ No newline at end of file +} diff --git a/evaluation_examples/examples/libreoffice_calc/21df9241-f8d7-4509-b7f1-37e501a823f7.json b/evaluation_examples/examples/libreoffice_calc/21df9241-f8d7-4509-b7f1-37e501a823f7.json index 585cd78..7896728 100644 --- a/evaluation_examples/examples/libreoffice_calc/21df9241-f8d7-4509-b7f1-37e501a823f7.json +++ b/evaluation_examples/examples/libreoffice_calc/21df9241-f8d7-4509-b7f1-37e501a823f7.json @@ -1,7 +1,7 @@ { "id": "21df9241-f8d7-4509-b7f1-37e501a823f7", "snapshot": "libreoffice_calc", - "instruction": "Change the representation of column \"Parameter\" to show in Millions (M) in Column B and Billions (B) in Column C. Keep one decimal and place a white space between the digits and the unit.", + "instruction": "Change the representation of column \"Parameter\" to show in Millions (M) in Column B and Billions (B) in Column C. The numbers should be rounded to one decimal place, and half should be rounded up. Then remember to place a white space between the digits and the unit.", "source": "https://www.youtube.com/watch?v=p5C4V_AO1UU", "config": [ { @@ -116,4 +116,4 @@ "proxy": false, "fixed_ip": false, "possibility_of_env_change": "low" -} \ No newline at end of file +} diff --git a/evaluation_examples/examples/libreoffice_calc/26a8440e-c166-4c50-aef4-bfb77314b46b.json b/evaluation_examples/examples/libreoffice_calc/26a8440e-c166-4c50-aef4-bfb77314b46b.json index e3122f9..f288414 100644 --- a/evaluation_examples/examples/libreoffice_calc/26a8440e-c166-4c50-aef4-bfb77314b46b.json +++ b/evaluation_examples/examples/libreoffice_calc/26a8440e-c166-4c50-aef4-bfb77314b46b.json @@ -1,7 +1,7 @@ { "id": "26a8440e-c166-4c50-aef4-bfb77314b46b", "snapshot": "libreoffice_calc", - "instruction": "Create a table with two column headers (\"Month\" and \"Total\") in a new sheet to show the total sales for all months.", + "instruction": "Create a table with two column headers (\"Month\" and \"Total\") in a new sheet named \"Sheet2\" to show the total sales for all months.", "source": "SheetCopilot@152", "config": [ { diff --git a/evaluation_examples/examples/libreoffice_calc/30e3e107-1cfb-46ee-a755-2cd080d7ba6a.json b/evaluation_examples/examples/libreoffice_calc/30e3e107-1cfb-46ee-a755-2cd080d7ba6a.json index 26cee5b..4735e3a 100644 --- a/evaluation_examples/examples/libreoffice_calc/30e3e107-1cfb-46ee-a755-2cd080d7ba6a.json +++ b/evaluation_examples/examples/libreoffice_calc/30e3e107-1cfb-46ee-a755-2cd080d7ba6a.json @@ -1,7 +1,7 @@ { "id": "30e3e107-1cfb-46ee-a755-2cd080d7ba6a", "snapshot": "libreoffice_calc", - "instruction": "Please create a new sheet. Merge cells A1:C1 in the new sheet and write \"Demographic Profile\" with blue (#0000ff) fill and bold white text. Then I want to create three pivot tables to show the percentage of Sex, Civil Status , and Highest Educational Attainment. They should be stacked one by one in the new sheet, each separated with a blank line.", + "instruction": "Please create a new sheet. Keep its sheet name as \"Sheet2\". Merge cells A1:C1 in the new sheet and write \"Demographic Profile\" with blue (#0000ff) fill and bold white text. Then I want to create three pivot tables to show the percentage of Sex, Civil Status, and Highest Educational Attainment. They should be stacked one by one in Sheet2, each separated with a blank line.", "source": "SheetCopilot@9", "config": [ { @@ -111,4 +111,4 @@ "proxy": false, "fixed_ip": false, "possibility_of_env_change": "low" -} \ No newline at end of file +} diff --git a/evaluation_examples/examples/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json b/evaluation_examples/examples/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json index ec0a085..58b1637 100644 --- a/evaluation_examples/examples/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json +++ b/evaluation_examples/examples/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json @@ -1,7 +1,7 @@ { "id": "abed40dc-063f-4598-8ba5-9fe749c0615d", "snapshot": "libreoffice_calc", - "instruction": "Check the names in column \"Names with duplicates\" and put the unique ones in column \"Unique Names\". Keep the original order.", + "instruction": "Check the names in column \"Names with duplicates\" and put the unique ones in column \"Unique Names\". Keep the original order of the first occurrences.", "source": "https://help.libreoffice.org/7.6/ro/text/scalc/guide/remove_duplicates.html?&DbPAR=SHARED&System=UNIX", "config": [ { @@ -82,4 +82,4 @@ "proxy": false, "fixed_ip": false, "possibility_of_env_change": "low" -} \ No newline at end of file +}