Upload folder using huggingface_hub
Browse files- README.md +99 -0
- data/test.jsonl +0 -0
README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: NAPEval Spreadsheet Trajectories
|
| 6 |
+
size_categories:
|
| 7 |
+
- n<1K
|
| 8 |
+
tags:
|
| 9 |
+
- spreadsheets
|
| 10 |
+
- excel
|
| 11 |
+
- next-action-prediction
|
| 12 |
+
- autocomplete
|
| 13 |
+
- symbolic
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: default
|
| 16 |
+
data_files:
|
| 17 |
+
- split: test
|
| 18 |
+
path: data/test.jsonl
|
| 19 |
+
dataset_info:
|
| 20 |
+
features:
|
| 21 |
+
- name: name
|
| 22 |
+
dtype: string
|
| 23 |
+
- name: operations
|
| 24 |
+
sequence: string
|
| 25 |
+
- name: num_operations
|
| 26 |
+
dtype: int64
|
| 27 |
+
splits:
|
| 28 |
+
- name: test
|
| 29 |
+
num_examples: 52
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
# NAPEval Spreadsheet Trajectories
|
| 33 |
+
|
| 34 |
+
Benchmark trajectories for **predictive auto-completion in spreadsheets**. Each
|
| 35 |
+
record is one spreadsheet-building session represented as an *ordered* sequence
|
| 36 |
+
of symbolic cell operations. Given a prefix of a trajectory, the task is to
|
| 37 |
+
predict the next operation(s) the user will perform.
|
| 38 |
+
|
| 39 |
+
This is the evaluation data for the
|
| 40 |
+
[`next_action_pred_eval`](https://github.com/napeval/next_action_pred_eval)
|
| 41 |
+
framework. See the [project page](https://napeval.github.io) and
|
| 42 |
+
[paper](https://arxiv.org/abs/2606.13802).
|
| 43 |
+
|
| 44 |
+
## Dataset summary
|
| 45 |
+
|
| 46 |
+
- **52 trajectories** (single `test` split — this is an evaluation benchmark).
|
| 47 |
+
- **11907 total operations**; per-trajectory length ranges 35–821.
|
| 48 |
+
- **23 operation types**: `ALIGN_HORIZONTAL`, `ALIGN_VERTICAL`, `AUTOFILL`, `BORDER_ALL`, `BORDER_BOTTOM`, `BORDER_INSIDE_VERTICAL`, `BORDER_LEFT`, `BORDER_OUTSIDE`, `BORDER_RIGHT`, `BORDER_TOP`, `FILL_COLOR`, `FONT_BOLD`, `FONT_COLOR`, `FONT_ITALIC`, `FONT_NAME`, `FONT_SIZE`, `FONT_UNDERLINE`, `INPUT`, `MERGE`, `NUMBER_FORMAT`, `PASTE_FROM`, `TEXT_ORIENTATION`, `WRAP_TEXT`.
|
| 49 |
+
|
| 50 |
+
## Fields
|
| 51 |
+
|
| 52 |
+
| Field | Type | Description |
|
| 53 |
+
|---|---|---|
|
| 54 |
+
| `name` | string | Trajectory id (stable, anonymised). |
|
| 55 |
+
| `operations` | list[string] | Ordered editing history; each entry is one symbolic operation. |
|
| 56 |
+
| `num_operations` | int | Convenience length of `operations`. |
|
| 57 |
+
|
| 58 |
+
## The symbolic DSL
|
| 59 |
+
|
| 60 |
+
Every spreadsheet edit is a pipe-delimited string:
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
OPERATION_TYPE | Sheet!Range | value
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
Examples:
|
| 67 |
+
|
| 68 |
+
| Symbolic string | Meaning |
|
| 69 |
+
|---|---|
|
| 70 |
+
| `INPUT \| Sheet1!A1 \| "Title"` | Set A1 to a string value |
|
| 71 |
+
| `INPUT \| Sheet1!A1:B2 \| [[1, 2], [3, 4]]` | Bulk-input a 2×2 block |
|
| 72 |
+
| `FONT_BOLD \| Sheet1!A5 \| True` | Bold A5 |
|
| 73 |
+
| `MERGE \| Sheet1!A1:G1 \| true` | Merge a range |
|
| 74 |
+
| `BORDER_TOP \| Sheet1!A8:G8 \| Thin, Continuous, #000000` | Top border on a row |
|
| 75 |
+
|
| 76 |
+
The canonical parsing/serialisation logic lives in the framework's
|
| 77 |
+
`core/operations/` module.
|
| 78 |
+
|
| 79 |
+
## Usage
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
from datasets import load_dataset
|
| 83 |
+
|
| 84 |
+
ds = load_dataset("Tej-a55/napeval", split="test")
|
| 85 |
+
print(ds[0]["name"], ds[0]["num_operations"])
|
| 86 |
+
prefix = ds[0]["operations"][:10] # history fed to a solver
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
## What is *not* here
|
| 90 |
+
|
| 91 |
+
The GitHub repository additionally ships per-trajectory raw artifacts under
|
| 92 |
+
`data/raw/<id>/` (`spreadsheet.xlsx`, a rendered `sheet_image.png`,
|
| 93 |
+
`predictable_state.json` annotations, and an `operations.txt` mirror). These are
|
| 94 |
+
supplementary and are **not** required to run the benchmark, so they are omitted
|
| 95 |
+
from this dataset.
|
| 96 |
+
|
| 97 |
+
## License
|
| 98 |
+
|
| 99 |
+
[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
data/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|