Dataset Viewer
Auto-converted to Parquet Duplicate
pair_key
stringlengths
49
98
query_model
stringclasses
1 value
solution_model
stringclasses
2 values
status
stringclasses
1 value
api_name
stringlengths
14
63
workbook
stringlengths
30
33
focus
stringclasses
20 values
query
stringlengths
51
2.01k
reasoning
stringlengths
129
711
expected_answer
stringlengths
1
4.13k
query_solution_code
stringlengths
134
9.62k
solution_wb_dir
stringclasses
0 values
gold_wb
stringlengths
88
88
gold_stdout
stringlengths
2
149k
timestamp
stringlengths
32
32
artifact
stringclasses
8 values
index
int64
0
401k
num_passed
int64
0
2
num_total
int64
5
5
consistency_attempts
int64
1
8
easy_attempts
int64
0
2
pass_rate
float64
0
0.4
candidates
listlengths
5
5
id
stringlengths
64
64
input_workbook
stringlengths
40
43
input_sha256
stringclasses
814 values
gold_sha256
stringlengths
64
64
input_archive
stringclasses
1 value
output_archive
stringclasses
1 value
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1009-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1009-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On the Utilities sheet, create a clustered column chart comparing the monthly customer charges for Small Commercial and Medium Commercial. Title it “Monthly Customer Charge Comparison,” name the chart “CommercialRateComparison,” hide the legend, and place it from G4 to N18.
The Small Commercial and Medium Commercial labels are in nonadjacent cells B4 and E4, while their monthly customer charges are in B6 and E6. Creating a chart from these separated cells requires adding a series and explicitly assigning its categories and values.
Utilities contains a clustered column chart named "CommercialRateComparison" positioned at G4:N18, titled "Monthly Customer Charge Comparison", with no legend and one series named "Monthly Customer Charge" whose categories are ["Small Commercial", "Medium Commercial"] and values are [7.5, 110].
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const charts = sheet.charts; const oldChart = charts.getItemOrNullObject("CommercialRateComparison"); oldChart.load("isNullObject"); await context.sync(); if (!oldChart.isNullObject) { oldChart.delete()...
null
outputs/train/84128436c7ec4d4b1b1fa8aa1f4d04c250826466cb23142f9956c50bf2eee874/gold.xlsx
Utilities contains a clustered column chart named "CommercialRateComparison" positioned at G4:N18, titled "Monthly Customer Charge Comparison", with no legend and one series named "Monthly Customer Charge" whose categories are ["Small Commercial", "Medium Commercial"] and values are [7.5, 110].
2026-09-08T09:01:28.791684+00:00
Chart
672
2
5
1
0
0.4
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n const charts = sheet.charts;\n\n // Replace any existing chart with the requested name.\n const existing = charts.getItemOrNullObject(\"CommercialRateComparison\");\n existing.load(\"isNull...
84128436c7ec4d4b1b1fa8aa1f4d04c250826466cb23142f9956c50bf2eee874
workbooks/Backward_EnronFuse.1009-File.xlsx
606e05d965ed602272c59e288dd16cceb459220812ef14788a0f47a71d79a5b1
f1b7c503714b784989f10ca3813f3a2bbcd4e33a86d14bccaf1d8db324390adb
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.100-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.100-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
Create a line chart on Sheet1 comparing Debt service/fixed pmt and O&M across periods 1 through 9. Name the chart FixedCostsByPeriod, title it “Fixed Costs by Period,” and place it from O3 to W18.
The periods 1–9 and the two complete fixed-cost rows are split across three nonadjacent blocks on Sheet1. A new line chart can combine those blocks into continuous nine-point series by explicitly adding each series and assigning its category and value arrays.
Sheet1 contains a new line chart named "FixedCostsByPeriod" positioned from O3 to W18, titled "Fixed Costs by Period", with categories [1,2,3,4,5,6,7,8,9] and two series: "Debt service/fixed pmt" = [40,40,40,40,40,40,40,40,40] and "O&M" = [9,9,9,9,9,9,9,9,9].
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Sheet1"); const periodRanges = [ sheet.getRange("C5:E5"), sheet.getRange("G5:I5"), sheet.getRange("K5:M5") ]; const debtRanges = [ sheet.getRange("C9:E9"), sheet.getRange("G9:I9"), sheet.getRange("K9...
null
outputs/train/ad7cdd5b51d9981eecc73c45304de23fab9f9ab5fcb0bd7dea3657bb35a5127b/gold.xlsx
Sheet1 contains a new line chart named "FixedCostsByPeriod" positioned from O3 to W18, titled "Fixed Costs by Period", with categories [1,2,3,4,5,6,7,8,9] and two series: "Debt service/fixed pmt" = [40,40,40,40,40,40,40,40,40] and "O&M" = [9,9,9,9,9,9,9,9,9].
2026-09-08T09:02:42.717592+00:00
Chart
162
2
5
2
0
0.4
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Sheet1\");\n\n // Build a compact, contiguous source range for the nine periods.\n const source = sheet.getRange(\"X3:Z12\");\n source.values = [\n [\"Period\", \"Debt service/fixed pmt\", \"O&M\"],\n ...
ad7cdd5b51d9981eecc73c45304de23fab9f9ab5fcb0bd7dea3657bb35a5127b
workbooks/Backward_EnronFuse.100-File.xlsx
bb15777d4b212871792d084734e1093dc2f200c6dd55ee282ec32cfbe91ad37b
771245ec26d14e84c47d607b7f6b71ff726b78f6fe1c8e912ca177a9770364ca
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartCollection.add::Backward_EnronFuse.1010-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartCollection.add
Backward_EnronFuse.1010-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Utilities, create a horizontal clustered bar chart that directly compares the Monthly Customer Charge for Small Commercial (B4/B6) and Medium Commercial (E4/E6), without adding a helper table. Title it “Monthly Customer Charge Comparison,” show value labels, hide the legend, set the value axis from 0 to 120 in incre...
The two commercial classes and their monthly customer charges are stored in nonadjacent cells (labels B4/E4 and values B6/E6). Creating one clean series directly from those dispersed cells, without a helper table, requires adding a chart and explicitly defining its category and value references.
Utilities contains a new clustered bar chart named "MonthlyCustomerChargeChart" at G4:N18, titled "Monthly Customer Charge Comparison", with one series whose categories are Small Commercial and Medium Commercial and whose values are 7.5 and 110, respectively; value labels are shown, the legend is hidden, and the value ...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); // Add the chart from the row containing the two dispersed numeric values. const chart = sheet.charts.add( Excel.ChartType.barClustered, sheet.getRange("B6:E6"), Excel.ChartSeriesBy.rows ); chart...
null
outputs/train/1662f124951a51627e9160477c4252bf37c9782f8c0473300c98647b84f80ab9/gold.xlsx
Utilities contains a new clustered bar chart named "MonthlyCustomerChargeChart" at G4:N18, titled "Monthly Customer Charge Comparison", with one series whose categories are Small Commercial and Medium Commercial and whose values are 7.5 and 110, respectively; value labels are shown, the legend is hidden, and the value ...
2026-09-08T09:03:56.386485+00:00
Chart
772
2
5
2
1
0.4
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n const charts = sheet.charts;\n\n const oldChart = charts.getItemOrNullObject(\"MonthlyCustomerChargeComparison\");\n oldChart.load(\"isNullObject\");\n await context.sync();\n if (!oldChar...
1662f124951a51627e9160477c4252bf37c9782f8c0473300c98647b84f80ab9
workbooks/Backward_EnronFuse.1010-File.xlsx
606e05d965ed602272c59e288dd16cceb459220812ef14788a0f47a71d79a5b1
846b5d1203ba0ffda2a0f04d745d91a89fe0d4d3cf034d44f94f94e559663e02
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartTrendlineCollection.add::Backward_EnronFuse.1011-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartTrendlineCollection.add
Backward_EnronFuse.1011-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
Using the Small Commercial and Medium Commercial charges on the Utilities sheet, compare their estimated monthly bills assuming demand never exceeds 25 kW. Build a table for 0, 1,000, 2,000, 3,000, 4,000, and 5,000 kWh plus the exact break-even usage, then create an XY scatter chart titled “Commercial Bill Break-Even” ...
The Utilities sheet provides the fixed monthly charges in B6/E6 and energy rates in B11/E11. Calculating the exact intersection, inserting it among usage scenarios, charting both resulting bill series, and adding a linear trendline to each makes the task difficult while remaining grounded in the workbook. The code uses...
Utilities!G4:I11 contains [["Monthly kWh","Small Commercial Bill","Medium Commercial Bill"],[0,7.5,110],[1000,51.5,133.2],[2000,95.5,156.4],[3000,139.5,179.6],[4000,183.5,202.8],[4927.884615384615,224.32692307692307,224.32692307692307],[5000,227.5,226]]; Utilities!K4:K5 contains [["Break-even kWh"],[4927.884615384615]]...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const smallMonthlyCell = sheet.getRange("B6"); const mediumMonthlyCell = sheet.getRange("E6"); const smallRateCell = sheet.getRange("B11"); const mediumRateCell = sheet.getRange("E11"); smallMonthlyCell.lo...
null
outputs/train/840d31972dba6deed57c42699739928fbe56680767ca1cb3e77f7fe217737697/gold.xlsx
Utilities!G4:I11 contains [["Monthly kWh","Small Commercial Bill","Medium Commercial Bill"],[0,7.5,110],[1000,51.5,133.2],[2000,95.5,156.4],[3000,139.5,179.6],[4000,183.5,202.8],[4927.884615384615,224.32692307692307,224.32692307692307],[5000,227.5,226]]; Utilities!K4:K5 contains [["Break-even kWh"],[4927.884615384615]]...
2026-09-08T09:04:53.949073+00:00
Chart
826
2
5
3
1
0.4
[ { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n\n // Remove a prior output chart/table if this task is rerun.\n const oldChart = sheet.charts.getItemOrNul...
840d31972dba6deed57c42699739928fbe56680767ca1cb3e77f7fe217737697
workbooks/Backward_EnronFuse.1011-File.xlsx
e11e7e7508c852ed664d77a85c42141c7dcbbddd555640964b25bd97d8c9949a
18ea9a98ecd32e1c7bc004959dcc48a745adb854a7f7c0bcfd81cc4ed0bd504f
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1004-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1004-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Sheet1, replace any existing chart named `RevenueExpenseTrend` with a line chart named exactly `RevenueExpenseTrend` at exactly `M3:U18`. Use only the 12 monthly dates in `A4:A15`, Revenue in `H4:H15`, and Expense in `I4:I15`—do not include headers, totals, or blank rows. Configure exactly two series: Revenue as a s...
The monthly dates are in A4:A15, while Revenue and Expense are separated into H4:H15 and I4:I15. Creating the chart from Revenue first and explicitly adding Expense exercises the series collection API; the exact axis, series, naming, replacement, and positioning requirements require substantial configuration beyond a b...
Sheet1 contains exactly one chart named "RevenueExpenseTrend", anchored at M3:U18 and titled "Revenue vs Expense by Month". It has exactly two series using categories A4:A15: Revenue uses H4:H15 and is a solid #4472C4 line; Expense uses I4:I15 and is a dashed #ED7D31 line. The legend is at the bottom. The category axis...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Sheet1"); const charts = sheet.charts; // Ensure rerunning the task replaces, rather than duplicates, the named chart. const existingChart = charts.getItemOrNullObject("RevenueExpenseTrend"); existingChart.load("isNullObj...
null
outputs/train/65d5760abe32e8e0036cd7affcfe5f3c16c380535f6901e9ab4bd144e7050fa4/gold.xlsx
Sheet1 contains exactly one chart named "RevenueExpenseTrend", anchored at M3:U18 and titled "Revenue vs Expense by Month". It has exactly two series using categories A4:A15: Revenue uses H4:H15 and is a solid #4472C4 line; Expense uses I4:I15 and is a dashed #ED7D31 line. The legend is at the bottom. The category axis...
2026-09-08T09:06:03.731074+00:00
Chart
417
0
5
2
1
0
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Sheet1\");\n const existing = sheet.charts.getItemOrNullObject(\"RevenueExpenseTrend\");\n existing.load(\"isNullObject\");\n await context.sync();\n if (!existing.isNullObject) {\n existing.delete();\n...
65d5760abe32e8e0036cd7affcfe5f3c16c380535f6901e9ab4bd144e7050fa4
workbooks/Backward_EnronFuse.1004-File.xlsx
07214646d79ba7d7d3bcc66fff50330037178324aabbae295515ff69342b5f6a
9ccc4b26bccae045f76226bab595c1d2c2b5fe73fe118099d1b118e0ef72e6ab
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1017-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1017-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On the Utilities sheet, create a clustered column chart comparing the Energy Charge rates for Small Commercial and Medium Commercial. Title it “Commercial Energy Charge Comparison” and place it from G4 to N18.
The two energy-charge rates are stored in nonadjacent cells, Utilities!B11 and Utilities!E11. Creating the chart with a manually added series allows those values to be plotted together under the customer categories from B4 and E4.
Utilities contains a clustered column chart named “CommercialEnergyChargeComparison” positioned at G4:N18, titled “Commercial Energy Charge Comparison”, with one series named “Energy Charge ($/kWh)”: Small Commercial = 0.044 and Medium Commercial = 0.0232.
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); // Make the operation repeatable by removing a prior chart with this name. const existingChart = sheet.charts.getItemOrNullObject("CommercialEnergyChargeComparison"); existingChart.load("isNullObject"); await...
null
outputs/train/fc6d0f3ce8481fdb4b84cea8c96f30fcf146b96961319ef428accd274fd62cde/gold.xlsx
Utilities contains a clustered column chart named “CommercialEnergyChargeComparison” positioned at G4:N18, titled “Commercial Energy Charge Comparison”, with one series named “Energy Charge ($/kWh)”: Small Commercial = 0.044 and Medium Commercial = 0.0232.
2026-09-08T09:07:26.104445+00:00
Chart
1,131
2
5
1
0
0.4
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n\n // Remove an existing chart with the requested title/name if this is rerun.\n const charts = sheet.charts;\n charts.load(\"items/name\");\n await context.sync();\n for (const existing of...
fc6d0f3ce8481fdb4b84cea8c96f30fcf146b96961319ef428accd274fd62cde
workbooks/Backward_EnronFuse.1017-File.xlsx
4c1a3874872fa952ef6c79c47402afaec8192782bc5a990ff2f7187b06ea6640
8835eaeac00a11625e9183d1e614397455e5810b2b019c6a9baad913a1f75006
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1008-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1008-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Utilities, create a visible monthly-bill scenario table in G4:J8 and a clustered column chart over L4:T20. Use these exact headers: G4 “Energy Usage (kWh)”, H4 “Scenario Label”, I4 linked to B4, and J4 linked to E4. Enter 0, 500, 1000, and 2000 in G5:G8. In H5:H8, use formulas linked to A6 and A11 to display “0 kWh ...
The visible table derives scenario labels and monthly bills from Utilities!A6, A11, B6, B11, E6, and E11. The chart series are added with SERIES formulas referencing that table, so they contain no hard-coded chart values. To avoid leaving the chart with zero series, the replacement series are added before the automatic...
Utilities!G4:J8 contains headers [Energy Usage (kWh), Scenario Label, Small Commercial, Medium Commercial]. Its four scenarios display Small Commercial bills [$7.50, $29.50, $51.50, $95.50] and Medium Commercial bills [$110.00, $121.60, $133.20, $156.40]. H5:H8 contains formulas linked to A6 and A11 and displays [0 kWh...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); // Remove only a prior copy of the requested chart, if one exists. const priorChart = sheet.charts.getItemOrNullObject("CommercialBillScenarios"); priorChart.load("isNullObject"); await context.sync(); if (...
null
outputs/train/8dcaca89329337626a28f39addf73661e07cd354de75188c86f97d8651ba9e9d/gold.xlsx
Utilities!G4:J8 contains headers [Energy Usage (kWh), Scenario Label, Small Commercial, Medium Commercial]. Its four scenarios display Small Commercial bills [$7.50, $29.50, $51.50, $95.50] and Medium Commercial bills [$110.00, $121.60, $133.20, $156.40]. H5:H8 contains formulas linked to A6 and A11 and displays [0 kWh...
2026-09-08T09:08:08.041681+00:00
Chart
621
0
5
3
1
0
[ { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, ...
8dcaca89329337626a28f39addf73661e07cd354de75188c86f97d8651ba9e9d
workbooks/Backward_EnronFuse.1008-File.xlsx
82754f7aadf6651438cf922fd85b38962c85536dd2daaacc249303a35a443db8
965280307ad39be2e2bfa041f00cc904ef1326b2d9a0e7e804bf368a4b1ce33d
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartCollection.add::Backward_EnronFuse.1014-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartCollection.add
Backward_EnronFuse.1014-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On the Utilities sheet, find the section labeled “Example 1)” within the used data and locate its Peak and Total rows. Confirm both corresponding amounts are numeric, then create a clustered column chart linked to those source cells. The chart must be named exactly Example1PeakTotalChart, use the two metric names as ca...
The revised solution uses only plain JavaScript syntax. It searches the Utilities used range for the Example 1 section, validates the numeric Peak and Total values, derives linked category and value formulas, removes only duplicate charts with the target name, and explicitly applies all chart formatting and accessibili...
Utilities contains exactly one chart named Example1PeakTotalChart at G4:N18, with all unrelated charts preserved. It is a clustered column chart titled “Example 1 Peak and Total” with exactly one series named “Example 1”, category formula ='Utilities'!$B$16:$B$17, value formula ='Utilities'!$C$16:$C$17, categories Peak...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const used = sheet.getUsedRange(); used.load(["values", "rowIndex", "columnIndex", "rowCount", "columnCount"]); await context.sync(); const values = used.values; const normalize = (value) => String(value ==...
null
outputs/train/657b929d9ef0c7ab281462aa9453152c31472a78e0b843a62a82aa5524c485e5/gold.xlsx
Utilities contains exactly one chart named Example1PeakTotalChart at G4:N18, with all unrelated charts preserved. It is a clustered column chart titled “Example 1 Peak and Total” with exactly one series named “Example 1”, category formula ='Utilities'!$B$16:$B$17, value formula ='Utilities'!$C$16:$C$17, categories Peak...
2026-09-08T09:08:12.792298+00:00
Chart
976
0
5
4
2
0
[ { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, ...
657b929d9ef0c7ab281462aa9453152c31472a78e0b843a62a82aa5524c485e5
workbooks/Backward_EnronFuse.1014-File.xlsx
3987ca7fe061a1715f566af4cab3dc093c8c38603954144abd47f784647056dd
cbf34086d73ce70fe0b1d3bbbe87165d717d68c419f0c7b24b2404a82969f839
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartTrendlineCollection.add::Backward_EnronFuse.1012-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartTrendlineCollection.add
Backward_EnronFuse.1012-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Utilities, build a Medium Commercial monthly-charge sensitivity chart using the tariff information already on the sheet. Find the Medium Commercial demand threshold and per-kW excess charge from its Demand Charge entry, its Energy Charge rate, and the Peak and Total usage in the block labeled “Example 1).” In G21:H2...
The revised solution uses only runtime-valid JavaScript while retaining the harder workbook interpretation: it locates the Medium Commercial tariff and Example 1 inputs by their labels, derives a sensitivity table, creates an idempotent single-series XY chart, and adds exactly one linear trendline.
Utilities!G21:H25 contains [["Peak kW","Projected charge"],[25,165.6016],[27.44,174.3856],[30,183.6016],[35,201.6016]], with G22:G25 formatted "0.00" and H22:H25 formatted "$#,##0.00". Utilities contains exactly one chart named "Example1TrendChart" positioned at G4:N18: an XY scatter chart with one marker-only series n...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const used = sheet.getUsedRange(); used.load(["values", "rowIndex", "columnIndex"]); await context.sync(); const values = used.values; const baseRow = used.rowIndex; const baseColumn = used.columnIndex; ...
null
outputs/train/40a01c097350c53a15c68dc14a279c3b445159d762fbaeca3f0b5102e07b052b/gold.xlsx
Utilities!G21:H25 contains [["Peak kW","Projected charge"],[25,165.6016],[27.44,174.3856],[30,183.6016],[35,201.6016]], with G22:G25 formatted "0.00" and H22:H25 formatted "$#,##0.00". Utilities contains exactly one chart named "Example1TrendChart" positioned at G4:N18: an XY scatter chart with one marker-only series n...
2026-09-08T09:09:08.829153+00:00
Chart
877
2
5
4
2
0.4
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n\n // Read the tariff and Example 1 inputs already present on the sheet.\n const demandEntry = sheet.getRange(\"E8\");\n const energyRateCell = sheet.getRange(\"E11\");\n const examplePeakCe...
40a01c097350c53a15c68dc14a279c3b445159d762fbaeca3f0b5102e07b052b
workbooks/Backward_EnronFuse.1012-File.xlsx
f6bd2f656676322767d7734bb328d7e8d90efd107b8c9a966e30e492f3b70a64
b8051fccaadee074c646dffb61494506be8410a145019b0c985cb0b7b1b4f38d
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1018-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1018-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
Create a chart-only comparison on the Utilities sheet without adding or rearranging worksheet data. Use Small Commercial and Medium Commercial as the categories, show Monthly Customer Charge as clustered columns on the primary axis, and show Energy Charge as a line with markers on the secondary axis. Display values on ...
The two tariff classes are stored as nonadjacent headings in B4 and E4, while their fixed and usage charges are in B6/E6 and B11/E11. A custom combo chart requires adding separately constructed series so the much smaller energy rates can use a secondary axis rather than being visually flattened by the monthly charges.
Utilities contains a new combo chart named "CommercialTariffRateProfile" at G4:N20 titled "Commercial Tariff Rate Profile", with categories ["Small Commercial", "Medium Commercial"], primary-axis clustered-column series "Monthly Customer Charge" = [7.5, 110], secondary-axis line-with-markers series "Energy Charge" = [0...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const classHeadings = sheet.getRanges("B4,E4"); const monthlyChargeCells = sheet.getRanges("B6,E6"); const energyChargeCells = sheet.getRanges("B11,E11"); const monthlyLabelCell = sheet.getRange("A6"); cons...
null
outputs/train/965e4ad85620b67e6c8bc4a2146bb1509717872b0ff81cba651d4b1d44516c06/gold.xlsx
Utilities contains a new combo chart named "CommercialTariffRateProfile" at G4:N20 titled "Commercial Tariff Rate Profile", with categories ["Small Commercial", "Medium Commercial"], primary-axis clustered-column series "Monthly Customer Charge" = [7.5, 110], secondary-axis line-with-markers series "Energy Charge" = [0...
2026-09-08T09:09:52.253015+00:00
Chart
1,182
2
5
2
1
0.4
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n\n // Create the chart from an existing cell only as a host, then replace its series.\n const chart = sheet.charts.add(Excel.ChartType.columnClustered, sheet.getRange(\"B6\"));\n chart.name =...
965e4ad85620b67e6c8bc4a2146bb1509717872b0ff81cba651d4b1d44516c06
workbooks/Backward_EnronFuse.1018-File.xlsx
2dadcb3bba19b5d353ae7a13a51f78270ad68495d5d6d402ebbbd69603388749
18ff18d5c8e8c31ce7017d738efbe2cd69c501834b29ed793aad47935298154d
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1016-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1016-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
Create a combo chart on Utilities using Small Commercial and Medium Commercial as the two categories from B4 and E4. Plot their Monthly Customer Charge values from B6 and E6 as clustered columns on the primary axis, and their Energy Charge values from B11 and E11 as a line with markers on the secondary axis. Name the c...
The four rates are split across nonadjacent Small and Medium Commercial columns and differ greatly in scale. Building a combo chart requires explicitly adding the monthly-charge and energy-charge series, assigning different chart types, and placing the energy-rate series on the secondary axis.
Utilities!G4:N18 contains a combo chart named "Commercial Rate Structure" titled "Commercial Rate Structure Comparison", with categories ["Small Commercial", "Medium Commercial"], primary-axis clustered-column series "Monthly Customer Charge" = [7.5, 110], secondary-axis line-with-markers series "Energy Charge" = [0.04...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const smallHeader = sheet.getRange("B4"); const mediumHeader = sheet.getRange("E4"); const smallMonthly = sheet.getRange("B6"); const mediumMonthly = sheet.getRange("E6"); const smallEnergy = sheet.getRange...
null
outputs/train/40cfd34af56fa6cd010452f00720d53f220494fa9b6cf2873351afdf33e05b84/gold.xlsx
Utilities!G4:N18 contains a combo chart named "Commercial Rate Structure" titled "Commercial Rate Structure Comparison", with categories ["Small Commercial", "Medium Commercial"], primary-axis clustered-column series "Monthly Customer Charge" = [7.5, 110], secondary-axis line-with-markers series "Energy Charge" = [0.04...
2026-09-08T09:10:04.249008+00:00
Chart
1,080
2
5
3
1
0.4
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n const charts = sheet.charts;\n charts.load(\"items/name\");\n const inputs = sheet.getRange(\"B4:E11\");\n inputs.load(\"values\");\n await context.sync();\n\n for (const c of charts.item...
40cfd34af56fa6cd010452f00720d53f220494fa9b6cf2873351afdf33e05b84
workbooks/Backward_EnronFuse.1016-File.xlsx
3987ca7fe061a1715f566af4cab3dc093c8c38603954144abd47f784647056dd
3b6fe68d3d2fc67293529ba4e9702a3cb46af945d9c5f5659ad196747c5a3327
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1010-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1010-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Utilities, create a formula-linked comparison block in G25:J27. In G25:J25 enter “Charge Type”, “Small Commercial”, “Medium Commercial”, and “Geometric Mean Benchmark”. Use “Monthly Customer Charge” and “Energy Charge” in G26:G27. H26:I27 must use absolute-reference formulas linked to B6, E6, B11, and E11, and J26:J...
The raw charges are in nonadjacent cells B6, E6, B11, and E11. A formula-linked table can feed the two column series, while an adjacent GEOMEAN formula provides a scale-neutral benchmark that must be added as a third series and changed to a line. A logarithmic axis is appropriate because the values range from 0.0232 to...
Utilities!G25:J27 contains headers ["Charge Type","Small Commercial","Medium Commercial","Geometric Mean Benchmark"], row labels ["Monthly Customer Charge","Energy Charge"], H26="=$B$6" yielding 7.5, I26="=$E$6" yielding 110, H27="=$B$11" yielding 0.044, I27="=$E$11" yielding 0.0232, J26="=GEOMEAN(H26:I26)" yielding ap...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const block = sheet.getRange("G25:J27"); block.formulas = [ ["Charge Type", "Small Commercial", "Medium Commercial", "Geometric Mean Benchmark"], ["Monthly Customer Charge", "=$B$6", "=$E$6", "=GEOMEAN(H2...
null
outputs/train/584537eadba071160f11643acf13f794a40d681fdad97f42bc328c79719339dd/gold.xlsx
Utilities!G25:J27 contains headers ["Charge Type","Small Commercial","Medium Commercial","Geometric Mean Benchmark"], row labels ["Monthly Customer Charge","Energy Charge"], H26="=$B$6" yielding 7.5, I26="=$E$6" yielding 110, H27="=$B$11" yielding 0.044, I27="=$E$11" yielding 0.0232, J26="=GEOMEAN(H26:I26)" yielding ap...
2026-09-08T09:11:07.411006+00:00
Chart
774
2
5
4
2
0.4
[ { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n\n const block = sheet.getRange(\"G25:J27\");\n block.values = [\n [\"Charge Type\", \"Small Commercial\...
584537eadba071160f11643acf13f794a40d681fdad97f42bc328c79719339dd
workbooks/Backward_EnronFuse.1010-File.xlsx
606e05d965ed602272c59e288dd16cceb459220812ef14788a0f47a71d79a5b1
f7d1f0e8957eedb3217f85d7f57e97fe3c3e7f60177381a2d075d2037af3a548
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartTrendlineCollection.add::Backward_EnronFuse.1010-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartTrendlineCollection.add
Backward_EnronFuse.1010-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Utilities, create a linked break-even analysis using the customer charges in B6 and E6 and energy charges in B11 and E11, ignoring the Medium Commercial demand charge. Build a scenario table with Usage (kWh), Small Commercial Bill, Medium Commercial Bill, and Lower-Cost Class. Include 1,000, 3,000, and 5,000 kWh plu...
The break-even point is the intersection of two linear bill equations based on B6/B11 and E6/E11. The corrected code propagates row-relative formulas with copyFrom, explicitly constructs all three chart series from their required X/Y ranges, and verifies that both bill series received a linear trendline.
Utilities!G4:J8 displays [["Usage (kWh)","Small Commercial Bill","Medium Commercial Bill","Lower-Cost Class"],[1000.00,51.50,133.20,"Small Commercial"],[3000.00,139.50,179.60,"Small Commercial"],[4927.88,224.33,224.33,"Equal"],[5000.00,227.50,226.00,"Medium Commercial"]]. G7 contains =($E$6-$B$6)/($B$11-$E$11). Utiliti...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); // Create the linked scenario analysis. sheet.getRange("G4:J4").values = [[ "Usage (kWh)", "Small Commercial Bill", "Medium Commercial Bill", "Lower-Cost Class" ]]; sheet.getRange("G5").value...
null
outputs/train/f19ebc9ba4948aa3d67dda5c71cc4507956044bc21d8a13820563d493a08fa63/gold.xlsx
Utilities!G4:J8 displays [["Usage (kWh)","Small Commercial Bill","Medium Commercial Bill","Lower-Cost Class"],[1000.00,51.50,133.20,"Small Commercial"],[3000.00,139.50,179.60,"Small Commercial"],[4927.88,224.33,224.33,"Equal"],[5000.00,227.50,226.00,"Medium Commercial"]]. G7 contains =($E$6-$B$6)/($B$11-$E$11). Utiliti...
2026-09-08T09:11:11.264989+00:00
Chart
775
0
5
4
2
0
[ { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, ...
f19ebc9ba4948aa3d67dda5c71cc4507956044bc21d8a13820563d493a08fa63
workbooks/Backward_EnronFuse.1010-File.xlsx
606e05d965ed602272c59e288dd16cceb459220812ef14788a0f47a71d79a5b1
77f13f42557aa646cf1a486c40d70391c43e2783247804f7565d8e9dfab5a02d
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartTrendlineCollection.add::Backward_EnronFuse.103-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartTrendlineCollection.add
Backward_EnronFuse.103-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Sheet1, create a line chart showing O&M in $/kw-yr for periods 1 through 9, add a linear trendline, title it “O&M Cost Trend,” and place it to the right of the existing data.
The O&M row on Sheet1 contains a constant value of 9 for periods 1–9. A new line chart can use those actual period/value pairs, and the chart series’ trendline collection can add the requested linear trendline.
Sheet1 contains a line-marker chart named "OM_Cost_Trend" at O3:W18, titled "O&M Cost Trend", with categories [1,2,3,4,5,6,7,8,9], one series named "O&M" containing [9,9,9,9,9,9,9,9,9], and one linear trendline.
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Sheet1"); const chart = sheet.charts.add( Excel.ChartType.lineMarkers, sheet.getRange("A10:M10"), Excel.ChartSeriesBy.rows ); chart.name = "OM_Cost_Trend"; chart.setPosition("O3", "W18"); chart.title.text =...
null
outputs/train/594aa7c26e5addf7a64113ceceebfcc2eb58222e73e8623815b967c21c92bc97/gold.xlsx
Sheet1 contains a line-marker chart named "OM_Cost_Trend" at O3:W18, titled "O&M Cost Trend", with categories [1,2,3,4,5,6,7,8,9], one series named "O&M" containing [9,9,9,9,9,9,9,9,9], and one linear trendline.
2026-09-08T09:12:35.162708+00:00
Chart
1,846
0
5
1
0
0
[ { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Sheet1\");\n\n // Build a compact chart source to the right of the existing data, linked to the original O&M row.\n const source = sheet.getRange(\"O3:P12\");\n source.values = [\n [\"Period\", \"O&M ($/...
594aa7c26e5addf7a64113ceceebfcc2eb58222e73e8623815b967c21c92bc97
workbooks/Backward_EnronFuse.103-File.xlsx
bb15777d4b212871792d084734e1093dc2f200c6dd55ee282ec32cfbe91ad37b
3e3383c8b93bb0f938e029898cbf5d8f77a1c4c132fb354eb6f1f386be9ebc10
workbooks/inputs.zip
workbooks/train_outputs.zip
Excel.ChartSeriesCollection.add::Backward_EnronFuse.1021-File.xlsx
Gpt56Reasoning
Gpt56Reasoning
hard_saved
Excel.ChartSeriesCollection.add
Backward_EnronFuse.1021-File.xlsx
Generate a realistic query that requires creating a new Chart in the workbook, grounded in its actual contents.
On Utilities, build a demand-charge sensitivity chart for the Medium Commercial plan. Plot the demand charge at peak demands of 20, 25, 27.44, 30, and 35 kW using the rule that only demand above 25 kW is charged at $3.60 per kW. Add a vertical series marking the 25 kW threshold and a separate one-point series highlight...
The Utilities sheet gives Medium Commercial demand pricing of $3.60 per kW above 25 kW and Example 1's peak demand of 27.44 kW, whose existing demand-charge formula evaluates to $8.784. A scatter chart with a modeled charge curve, a vertical threshold, and a separately added actual-example series makes the task substan...
Utilities!G4:H9 = [["Peak Demand (kW)","Modeled Demand Charge ($)"],[20,0],[25,0],[27.44,8.784],[30,18],[35,36]]; chart "MediumCommercialDemandSensitivity" at K4:S18 is an XY scatter-lines chart titled "Medium Commercial Demand Charge Sensitivity" with series "Modeled Demand Charge" using X values [20,25,27.44,30,35] a...
await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getItem("Utilities"); const examplePeakCell = sheet.getRange("C16"); const exampleDemandChargeCell = sheet.getRange("E16"); examplePeakCell.load("values"); exampleDemandChargeCell.load("values"); const oldChart = sheet.charts.ge...
null
outputs/train/f46bd1eb8973aa99b391fb15f06a3fc3e45307b5ff61b4c0ab3399837faf7d08/gold.xlsx
Utilities!G4:H9 = [["Peak Demand (kW)","Modeled Demand Charge ($)"],[20,0],[25,0],[27.44,8.784],[30,18],[35,36]]; chart "MediumCommercialDemandSensitivity" at K4:S18 is an XY scatter-lines chart titled "Medium Commercial Demand Charge Sensitivity" with series "Modeled Demand Charge" using X values [20,25,27.44,30,35] a...
2026-09-08T09:12:38.241750+00:00
Chart
1,386
1
5
2
1
0.2
[ { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "", "success": false, "attempts": 3, "stdout": null }, { "code": "await Excel.run(async (context) => {\n const sheet = context.workbook.worksheets.getItem(\"Utilities\");\n\n // Build the sensiti...
f46bd1eb8973aa99b391fb15f06a3fc3e45307b5ff61b4c0ab3399837faf7d08
workbooks/Backward_EnronFuse.1021-File.xlsx
024756f5ca383361d80e3bff359d54fc5772fd4c9ad8f394e917d874407fce7c
2678bcb38cc6e93be8b24bc5e415dacddd15e625637b931f248e90bb70f8c338
workbooks/inputs.zip
workbooks/train_outputs.zip
End of preview. Expand in Data Studio

XLGym

XLGym contains natural-language spreadsheet tasks paired with Office.js reference programs, input and reference-output workbooks, and recorded candidate outcomes.

Splits

Split Tasks Input filenames Distinct input byte contents Target APIs
train 20,482 1,722 814 1,287
bench 200 126 122 82
Artifact Train Bench
Chart 3,520 25
ConditionalFormat 3,512 25
Filter 1,686 25
Formula 3,517 25
Hyperlink 191 25
PivotTable 3,500 25
Sort 1,068 25
Table 3,488 25

Load the records

After publication:

from datasets import load_dataset

dataset = load_dataset("prose-ms/xlgym")
train = dataset["train"]
bench = dataset["bench"]

The same package can be loaded before publication without contacting the Hub:

dataset = load_dataset(
    "parquet",
    data_files={
        "train": r"data\train.parquet",
        "bench": r"data\bench.parquet",
    },
)

The data files contain metadata and paths, not embedded XLSX bytes.

Download and extract workbooks

Three ZIP archives avoid publishing tens of thousands of individual files:

Archive Contents
workbooks/inputs.zip 1,848 referenced input workbook filenames across both splits
workbooks/train_outputs.zip 20,482 reference-output workbooks
workbooks/bench_outputs.zip 200 reference-output workbooks and 1,000 candidate outputs

Archive members are relative to a common extraction root. Their paths match input_workbook, gold_wb, and solution_wb_dir in each record.

from pathlib import Path
from zipfile import ZipFile
from huggingface_hub import snapshot_download

local = Path(snapshot_download(
    "prose-ms/xlgym",
    repo_type="dataset",
    allow_patterns=["data/*", "workbooks/*", "*.json", "*.md", "LICENSE", "SHA256SUMS"],
))
books = Path("xlgym_workbooks")
for name in ("inputs.zip", "train_outputs.zip", "bench_outputs.zip"):
    with ZipFile(local / "workbooks" / name) as archive:
        archive.extractall(books)

row = bench[0]
input_path = books / row["input_workbook"]
reference_path = books / row["gold_wb"]

For benchmark-only use, omit train_outputs.zip. XLSX files are already compressed; the ZIP archives use stored entries. workbook_manifest.json contains SHA-256 checksums and byte sizes for every member. SHA256SUMS covers the package files.

Training candidates retain code, execution-success flags, attempt counts and stdout, but their output workbooks are intentionally not bundled.

Record fields

See SCHEMA.md for the full contract. Core fields include:

  • query: task given to a solver.
  • input_workbook: input workbook path after archive extraction.
  • query_solution_code: historical reference Office.js program.
  • expected_answer: author-proposed expected result.
  • gold_wb, gold_stdout: saved reference workbook and execution output.
  • artifact, api_name: generation labels, not proof that a particular API is necessary or actually used.
  • candidates, pass_rate: historical candidate attempts and grading outcomes.

When evaluating solvers, provide only the query, input workbook and the context your protocol permits. Do not expose reference code, expected answers, reference outputs, candidate solutions or author rationale as solver input. The benchmark includes these fields for evaluation and inspection, not training.

Generation and grading

Tasks were mined from API/workbook pairs over EnronFUSE workbooks. An author proposed a query, expected answer and reference program. Consistency checking and candidate-solution testing could trigger revisions. The historical pipeline supplied API information to candidate solvers; this release should not be described as an API-blind mining experiment.

The retained label records at most two passes among five candidates: pass_rate is 0.0, 0.2 or 0.4. Candidate execution and model-based grading are part of this measurement. Exact historical protocol revisions are not fully pinned per record.

These scores are not intrinsic task-difficulty measurements or independent correctness certificates. Known historical limitations include incomplete workbook evidence, output-policy conflicts, reference-only grading constraints, and an extraction issue that could omit cell differences after context building. Later pilot corrections did not retroactively regenerate or reverify these rows.

This export preserves the recorded supervision and labels rather than silently relabeling them. Reference and candidate code should be inspected and executed only in an appropriately isolated environment. Running Office.js requires a compatible Excel environment; the dataset itself does not include a portable Excel runtime or a standalone grading service.

Provenance and limitations

  • Source package: historical xlgymv2_22k; original bench200 is named bench here.
  • No task filtering, resampling, or validation holdout was applied during this packaging step.
  • Added fields provide stable identifiers, portable archive paths and workbook hashes. Source text, programs and candidate outcomes are preserved.
  • Only referenced workbooks are included. Intermediate query-evolution traces, raw logs, credentials, unrelated source trees and pilot runs are not bundled.
  • Original workbooks and generated text may contain names, addresses or other source-corpus content; they should not be assumed anonymized.
  • The intended use is spreadsheet-agent research. Review supervision quality for applications requiring reliable correctness.

License

This dataset is licensed under the Community Data License Agreement - Permissive, Version 2.0 (CDLA-Permissive-2.0). See LICENSE for the complete terms. When sharing the data, include the license text.

Downloads last month
-