GloriaGeng commited on
Commit
3660ed8
·
verified ·
1 Parent(s): fc909bb

Add dataset card README with YAML metadata

Browse files
Files changed (1) hide show
  1. README.md +170 -0
README.md ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - job-shop-scheduling
7
+ - operations-research
8
+ - scheduling
9
+ - combinatorial-optimization
10
+ - benchmark
11
+ - multi-agent
12
+ - planning
13
+ task_categories:
14
+ - other
15
+ size_categories:
16
+ - 10M<n<100M
17
+ pretty_name: REALM-Bench JSSP
18
+ dataset_info:
19
+ features:
20
+ - name: tier
21
+ dtype: string
22
+ - name: instances
23
+ dtype: string
24
+ config_name: default
25
+ splits:
26
+ - name: J1
27
+ num_examples: 109
28
+ - name: J2
29
+ num_examples: 109
30
+ - name: J3
31
+ num_examples: 100
32
+ - name: J4
33
+ num_examples: 100
34
+ ---
35
+
36
+ # REALM-Bench — Job Shop Scheduling (JSSP) Dataset
37
+
38
+ This Hugging Face dataset hosts the **clean JSSP benchmark** from [REALM-Bench](https://github.com/genglongling/REALM-Bench): a real-world planning benchmark for LLMs and multi-agent systems ([paper](https://arxiv.org/abs/2502.18836)).
39
+
40
+ All instances use a **single unified JSON schema**, organized into four tiers (**J1–J4**) as four files under `JSSP/`.
41
+
42
+ ## Dataset files
43
+
44
+ | File | Tier | Instances | Description |
45
+ |------|------|-----------|-------------|
46
+ | [`JSSP/J1.json`](JSSP/J1.json) | J1 | 109 | Static benchmarks (DMU, TA, ABZ, SWV, YN) |
47
+ | [`JSSP/J2.json`](JSSP/J2.json) | J2 | 109 | J1 instances + dynamic disruptions |
48
+ | [`JSSP/J3.json`](JSSP/J3.json) | J3 | 100 | Large-scale static (200 jobs × 50 machines) |
49
+ | [`JSSP/J4.json`](JSSP/J4.json) | J4 | 100 | Large-scale + multiple disruptions |
50
+
51
+ **Total: 418 job-shop scheduling instances**
52
+
53
+ ## Problem tiers
54
+
55
+ - **J1** — Classic static JSSP from standard OR benchmarks (minimize makespan).
56
+ - **J2** — Same problems as J1 with disruptions (machine breakdown, power outage, supply delay, etc.); tests reactive replanning.
57
+ - **J3** — Industry-scale static instances (larger job and machine counts).
58
+ - **J4** — J3 scale with multiple simultaneous disruptions; highest difficulty tier.
59
+
60
+ ## Data format
61
+
62
+ Each `J*.json` file has this structure:
63
+
64
+ ```json
65
+ {
66
+ "tier": "J1",
67
+ "format_version": "1.0",
68
+ "description": "Static JSSP benchmarks (DMU, TA, ABZ, SWV, YN)",
69
+ "objective": "minimize_makespan",
70
+ "num_instances": 109,
71
+ "instances": [
72
+ {
73
+ "instance_id": "rcmax_50_20_9",
74
+ "tier": "J1",
75
+ "num_jobs": 50,
76
+ "num_machines": 20,
77
+ "jobs": [
78
+ [
79
+ {"operation": 1, "machine": 19, "processing_time": 64},
80
+ {"operation": 2, "machine": 16, "processing_time": 34}
81
+ ]
82
+ ],
83
+ "disruptions": [],
84
+ "metadata": {
85
+ "source_file": "DMU/rcmax_50_20_9.txt",
86
+ "benchmark": "DMU",
87
+ "objective": "minimize_makespan"
88
+ }
89
+ }
90
+ ]
91
+ }
92
+ ```
93
+
94
+ - **jobs** — Ordered operations per job; **machine** is 1-based; **processing_time** is a positive integer.
95
+ - **disruptions** — Empty for J1/J3; list of events for J2/J4.
96
+
97
+ See [`JSSP/README.md`](JSSP/README.md) for additional field notes.
98
+
99
+ ## Usage
100
+
101
+ ### Download with `huggingface_hub`
102
+
103
+ ```python
104
+ from huggingface_hub import hf_hub_download
105
+ import json
106
+
107
+ path = hf_hub_download(
108
+ repo_id="GloriaGeng/REALM-Bench",
109
+ filename="JSSP/J1.json",
110
+ repo_type="dataset",
111
+ )
112
+ with open(path) as f:
113
+ data = json.load(f)
114
+
115
+ print(f"Tier {data['tier']}: {data['num_instances']} instances")
116
+ for inst in data["instances"][:3]:
117
+ print(inst["instance_id"], inst["num_jobs"], inst["num_machines"])
118
+ ```
119
+
120
+ ### Load all tiers
121
+
122
+ ```python
123
+ from huggingface_hub import hf_hub_download
124
+ import json
125
+
126
+ for tier in ("J1", "J2", "J3", "J4"):
127
+ path = hf_hub_download("GloriaGeng/REALM-Bench", f"JSSP/{tier}.json", repo_type="dataset")
128
+ with open(path) as f:
129
+ d = json.load(f)
130
+ print(tier, d["num_instances"], "instances,", d["objective"])
131
+ ```
132
+
133
+ ### Clone the dataset
134
+
135
+ ```bash
136
+ git clone https://huggingface.co/datasets/GloriaGeng/REALM-Bench
137
+ ```
138
+
139
+ ## Benchmark families (J1 / J2)
140
+
141
+ | Family | Typical size | Source |
142
+ |--------|----------------|--------|
143
+ | DMU | 20×15 – 50×20 | Demirkol, Mehta, Uzsoy |
144
+ | TA | 15×15 – 100×20 | Taillard |
145
+ | ABZ | 20×15 | Adams, Balas, Zawack |
146
+ | SWV | 20×10 – 50×10 | Storer, Vaccari, Van de Velde |
147
+ | YN | 20×20 | Yamada, Nakano |
148
+
149
+ ## Citation
150
+
151
+ If you use this dataset, please cite REALM-Bench:
152
+
153
+ ```bibtex
154
+ @article{realm-bench2025,
155
+ title={REALM-Bench: A Real-World Planning Benchmark for LLMs and Multi-Agent Systems},
156
+ author={},
157
+ journal={arXiv preprint arXiv:2502.18836},
158
+ year={2025}
159
+ }
160
+ ```
161
+
162
+ ## Links
163
+
164
+ - **GitHub:** https://github.com/genglongling/REALM-Bench
165
+ - **Paper:** https://arxiv.org/abs/2502.18836
166
+ - **JSSP subfolder docs:** [JSSP/README.md](JSSP/README.md)
167
+
168
+ ## License
169
+
170
+ Released under the MIT License. Benchmark instance data follows the licensing of the original sources (OR-Library, Taillard, etc.) where applicable.