nestflow-datasets / README.md
itecgo's picture
NestFlow EAAI datasets (v1.0-eaai, anonymized release)
74d52fd
|
Raw History Blame Contribute Delete
6.79 kB
---
license: other
license_name: see-readme
license_link: LICENSE.md
pretty_name: NestFlow data sets (v1.0-eaai)
tags:
- nesting
- irregular-packing
- strip-packing
- cfrp
- manufacturing
---
# NestFlow data sets (v1.0-eaai)
Data behind the NestFlow manuscript (2026, prepared for *Engineering Applications of Artificial Intelligence*): a score-based
placement network for two-dimensional irregular nesting of parts with holes, used together with an exact repair solver under one
acceptance test. This repository holds the part libraries, the training sets, the benchmark boards and the raw records of the
layouts counted in the manuscript. The weights are in `itecgo/nestflow-weights`.
All partner shop identifiers have been removed: the ten production boards are stored under anonymized names `prod_62407.json` through `prod_62418.json`, shop library origins are labeled `shop:batch_a` through `shop:batch_d` and `nas`, and local workstation paths in run manifests and records are replaced with `<repo>/`.
All lengths are millimetres. Nothing here was produced by a generative image model; every file is geometry, a solver output or a
measurement record.
## How the files are stored
Trees of many small JSON files are stored as one `.tar.zst` per source folder (unpack with `zstd -dc X.tar.zst | tar -xf -`).
`PACKS.tsv` lists every file of this repository with its source path in the project, the number of entries and the unpacked
size. `SHA256SUMS.txt` holds the SHA-256 of every file.
| Folder | Content | Role in the manuscript |
|---|---|---|
| `libraries/library_v3.json` | Real-part library of the evaluated model: 998 shapes (540 shop parts, 234 synthetic frames and strips, 224 parts of open hardware projects), with the fields `split` (825 training shapes; 173 unseen), `origin` and `licence` | Section 5; training and Dev sets |
| `libraries/nas_anon_20261108/` | 346 anonymised shop part types from 55 drawings and the script that wrote them (identifiers are hashes; no file, folder, layer or text names) | source of the `nas` shapes of the library |
| `libraries/cfrp_generated/` | 2,009 generated CFRP parts with their shape programs (`*.programs.jsonl`) and the level specification | Appendix C, level 8 |
| `training_real_parts/` | Board definitions (`holed_truth_v197_*`) and teacher layouts of the exact heuristic (`data_v197_*`) of the real-part levels L12R, L13R, L14H, L15P, L16F and RPF, RPH, RPP, RPU, RPU2 (training shapes only); `arrays/` holds the training arrays of the stages (`arrays_h1a.npz` is identical to the `arrays_s6.npz` of the project; its manifest names the levels) | training of the evaluated model (Appendix A) |
| `training_level8_cfrp/` | Level 8 of the earlier prototype: boards of generated CFRP parts with teacher layouts (project name L10) | Appendix C |
| `localiser_heldout/` | Boards `d2`, `d2b` and the arrays used to train the localiser of the repair loop | Section 6 and Appendix D |
| `benchmarks/openframe/` | OpenFrame: parts of open hardware projects with source, commit, file hash and licence per part, and the 20 boards composed from them. **Read `LICENSES_AND_ATTRIBUTION.md` before any reuse** | Section 5 and Appendix C |
| `benchmarks/dev_sets/` | Development boards. `holed_truth_heldout_dev48` is Dev-A and `holed_truth_heldout_dev3` is Dev-B of the manuscript; `dev` and `dev2` are earlier development sets | Section 6 |
| `benchmarks/production_ten_boards_TEST_ONLY/` | The ten production boards of the partner shop (62407, 62409, 62410, 62411, 62412, 62413, 62414, 62416, 62417, 62418) | **test data only**, Section 6 |
| `target_line_TEST_EXPOSED/` | `library_t1.json` and the levels RPT and L17Q to L17Z, which were built **from the parts of the ten production boards** for an exposed upper reference | not used for the evaluated model or any of its ancestors |
| `paper_records/` | `heldout_runs_paper1`: raw records of every run counted in the manuscript (samples, selections, repairs, references); `ten`: audits of the production boards during development; `prototype_frozen_data`: frozen data of the prototype tables and figures | Sections 5 and 6, Appendices |
## Test data and exposure
- The ten production boards are held out: neither the training samples nor the starting weights of the evaluated model (snapshot H6)
contain their orders, parts, layouts or anything derived from them. `training_real_parts/arrays/arrays_h1a.manifest.json` states
the levels of the training arrays.
- Everything under `target_line_TEST_EXPOSED/` contains test parts. Do not mix it into training data of a model that is to be
evaluated on the production boards.
- The production boards were evaluated repeatedly during development; they are held out, not blind.
## The zero-clearance representation and the acceptance
A job states a spacing `g` between parts, an edge distance `e` and a usable range `U = [0, U_L] x [0, U_W]`. Both distances are
absorbed into the geometry: the *virtual part* is the real part grown by `g/2 + delta` (holes shrink by the same amount), simplified
with a tolerance `tau`; the *virtual frame* is the usable range inset by `e - g/2`. A placement of the virtual parts without overlap
inside the virtual frame keeps the real parts at least `g + 2 (delta - tau)` apart. The manuscript uses `delta = 0.6 mm`,
`tau = 0.15 mm` for the network and `delta = 0.06 mm`, `tau = 0.05 mm` for the solver.
A layout is accepted only if, on the original outlines with all holes, (1) every part of the order is placed exactly once in an
allowed orientation, (2) the placed materials do not overlap, (3) every two parts are at least `g` apart and (4) every part lies in
the usable range inset by `e` (arithmetic slack 0.01 mm on the two distances). A layout that passes only after an exact repair is
counted for the repair, not for the model. The records in `paper_records/` store these readings per layout.
## Not included
- Raw drawings of the shop: they are not published.
- Third-party sets used in the manuscript: the sheet-metal benchmark behind the PubSM boards (its repository carries no licence
file), the classical benchmark instances (available from the ESICUP collection and the Sparrow repository) and the dental
data of GFPack++ (available from its authors). The scripts that rebuild our boards from these sources belong to the code of
the manuscript.
## Licence
See `LICENSE.md`. In short: no licence is granted here for the shop-derived shapes (library entries with `licence: private`, the
anonymised shop parts, the production boards and everything built from them); they are shown so that the manuscript can be
checked. Parts of open hardware projects keep their own licences. The terms for the generated parts and for our own records
will be stated with the publication.