File size: 4,047 Bytes
9b71110
5b79e00
9b71110
5b79e00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9b71110
5b79e00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
---
pretty_name: FORGE-Bench (Test Split)
license: cc-by-nc-4.0
language:
- en
task_categories:
- text-generation
tags:
- structured-planning
- assembly-rework
- interlocking-assembly
size_categories:
- 1K<n<10K
configs:
- config_name: default
  data_files:
  - split: test
    path: test.jsonl
---

# FORGE-Bench: Public Test Split

This repository contains the **1,000 public test inputs** for
**FORGE: Fault-Oriented Rework Code Generation for Executable Interlocking Assembly**.
The intended Hugging Face repository is `QLU-LLM/FORGE-Bench`.

The paper describes a benchmark of **4,000 tasks across 26 assemblies**, with
**3,000 training tasks across 21 assemblies** and **1,000 test tasks across 5 held-out assemblies**.
**Only the test split is distributed in this repository.** The paper's full benchmark size
must not be confused with the number of records available here.

## Files

```text
README.md
.gitattributes
test.jsonl
data_types.py
SHA256SUMS.txt
metadata/
  dataset_manifest.json
  assembly_manifest.json
```

| Released split | Records | Assemblies | Reference answers |
|---|---:|---:|---|
| test | 1,000 | 5 | Not included |

No training or validation records are included. No model predictions, experiment results,
human assessment records, LLM judge records, or scoring scripts are included.
This release uses JSONL; no Parquet file is supplied.

## Record format

Each line in `test.jsonl` is one JSON object:

| Field | Type | Meaning |
|---|---|---|
| `id` | string | Original sample identifier |
| `assembly_id` | string | Assembly identifier |
| `split` | string | Always `test` |
| `public_task` | object | Structured task input |

`public_task` contains `task`, `initial_state`, `target_state`, `actual_state`,
`assembly_graph`, `blocking_graph`, `contact_graph`, `constraint_graph`,
`action_space`, `part_catalog`, and `task_public_metadata`.

The supplied action space declares `remove`, `insert`, `reset_pose`, `replace`,
`rotate_translate_to_unlock`, and `translate_rotate_to_lock`.
The JSONL file is a byte-for-byte copy of the existing public test release:
record IDs, ordering, and task contents have not been changed for this organization release.
Some identifiers retain historical version strings; they are preserved for traceability.

## Assembly distribution

| Assembly | Test records |
|---|---:|
| `parametric_helical_gate_11` | 260 |
| `parametric_offset_core_09` | 200 |
| `parametric_pyramid_lock_05` | 170 |
| `parametric_t_lock_07` | 170 |
| `parametric_tower_lock_10` | 200 |
| **Total** | **1,000** |

## Loading

Load locally using the Python standard library, preserving the nested task objects:

```python
import json

with open("test.jsonl", encoding="utf-8") as handle:
    test = [json.loads(line) for line in handle if line.strip()]

assert len(test) == 1000
print(test[0]["id"])
```

After publication, download the original JSONL from the Hub:

```python
import json
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    repo_id="QLU-LLM/FORGE-Bench",
    filename="test.jsonl",
    repo_type="dataset",
)
with open(path, encoding="utf-8") as handle:
    test = [json.loads(line) for line in handle if line.strip()]
```

`data_types.py` also provides a small standard-library JSONL reader.

## Scope and availability

This is a structured-input dataset release. Reference annotations and reference rework
plans are not included, so this repository alone does not provide ground-truth scoring.
The dataset concerns symbolic assembly states and action constraints; it does not
provide a complete continuous-physics simulator.

Some input fields retain asset references such as `assets/*.stl`.
**The referenced STL/FBX assets are not bundled in this repository.**
References such as `constraint_graph.json` identify components of the original task
format; the corresponding graph object is embedded in each record's `public_task`.

## License

CC BY-NC 4.0, consistent with the previously selected dataset license.
See https://creativecommons.org/licenses/by-nc/4.0/ .