File size: 1,583 Bytes
e25ceea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
license: other
pretty_name: FxBench
size_categories:
- n<1K
task_categories:
- text-generation
tags:
- spreadsheets
- excel
- formula-completion
---

# FxBench

FxBench is a spreadsheet formula-completion benchmark. Each row contains
one target formula and the corresponding workbook snapshot needed to solve it.

## Dataset contents

This release contains 503 examples.

Columns in the Hugging Face Parquet split:

| Column | Type | Description |
| --- | --- | --- |
| `id` | string | Public example ID in the form `fxbench-{i}`. |
| `function` | string | Primary Excel function for the target formula. |
| `formula` | string | Ground-truth Excel formula. Empty for `ABSTAIN` rows where no formula response is expected. |
| `target_cell` | string | Cell address where the formula belongs. |
| `target_sheet` | string | Worksheet containing the target cell. |
| `workbook` | binary | XLSX workbook snapshot bytes. |

The auxiliary `metadata.jsonl` manifest contains scalar public metadata only; workbook bytes are in the Parquet split.
The loadable split is `data/train-00000-of-00001.parquet` and stores the `workbook` column as XLSX bytes.

Workbook bytes are sanitized before export to remove document properties,
classification-label metadata, custom properties, comment/person metadata, and
local path markers while preserving workbook sheets and links.

## Loading

```python
from datasets import load_dataset

ds = load_dataset("<your-namespace>/<your-dataset-repo>", split="train")
row = ds[0]

with open(f"{row['id']}.xlsx", "wb") as f:
    f.write(row["workbook"])
```