File size: 5,103 Bytes
3660ed8
aefdc39
3660ed8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aefdc39
 
 
 
 
 
 
 
3660ed8
 
 
 
 
 
 
 
 
 
 
aefdc39
 
 
 
 
 
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
---
license: cc-by-4.0
language:
  - en
tags:
  - job-shop-scheduling
  - operations-research
  - scheduling
  - combinatorial-optimization
  - benchmark
  - multi-agent
  - planning
task_categories:
  - other
size_categories:
  - 10M<n<100M
pretty_name: REALM-Bench JSSP
dataset_info:
  features:
    - name: tier
      dtype: string
    - name: instances
      dtype: string
  config_name: default
  splits:
    - name: J1
      num_examples: 109
    - name: J2
      num_examples: 109
    - name: J3
      num_examples: 100
    - name: J4
      num_examples: 100
---

# REALM-Bench — Job Shop Scheduling (JSSP) Dataset

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)).

All instances use a **single unified JSON schema**, organized into four tiers (**J1–J4**) as four files under `JSSP/`.

## Dataset files

| File | Tier | Instances | Description |
|------|------|-----------|-------------|
| [`JSSP/J1.json`](JSSP/J1.json) | J1 | 109 | Static benchmarks (DMU, TA, ABZ, SWV, YN) |
| [`JSSP/J2.json`](JSSP/J2.json) | J2 | 109 | J1 instances + dynamic disruptions |
| [`JSSP/J3.json`](JSSP/J3.json) | J3 | 100 | Large-scale static (200 jobs × 50 machines) |
| [`JSSP/J4.json`](JSSP/J4.json) | J4 | 100 | Large-scale + multiple disruptions |

**Total: 418 job-shop scheduling instances**

## Problem tiers

- **J1** — Classic static JSSP from standard OR benchmarks (minimize makespan).
- **J2** — Same problems as J1 with disruptions (machine breakdown, power outage, supply delay, etc.); tests reactive replanning.
- **J3** — Industry-scale static instances (larger job and machine counts).
- **J4** — J3 scale with multiple simultaneous disruptions; highest difficulty tier.

## Data format

Each `J*.json` file has this structure:

```json
{
  "tier": "J1",
  "format_version": "1.0",
  "description": "Static JSSP benchmarks (DMU, TA, ABZ, SWV, YN)",
  "objective": "minimize_makespan",
  "num_instances": 109,
  "instances": [
    {
      "instance_id": "rcmax_50_20_9",
      "tier": "J1",
      "num_jobs": 50,
      "num_machines": 20,
      "jobs": [
        [
          {"operation": 1, "machine": 19, "processing_time": 64},
          {"operation": 2, "machine": 16, "processing_time": 34}
        ]
      ],
      "disruptions": [],
      "metadata": {
        "source_file": "DMU/rcmax_50_20_9.txt",
        "benchmark": "DMU",
        "objective": "minimize_makespan"
      }
    }
  ]
}
```

- **jobs** — Ordered operations per job; **machine** is 1-based; **processing_time** is a positive integer.
- **disruptions** — Empty for J1/J3; list of events for J2/J4.

See [`JSSP/README.md`](JSSP/README.md) for additional field notes.

## Usage

### Download with `huggingface_hub`

```python
from huggingface_hub import hf_hub_download
import json

path = hf_hub_download(
    repo_id="GloriaGeng/REALM-Bench",
    filename="JSSP/J1.json",
    repo_type="dataset",
)
with open(path) as f:
    data = json.load(f)

print(f"Tier {data['tier']}: {data['num_instances']} instances")
for inst in data["instances"][:3]:
    print(inst["instance_id"], inst["num_jobs"], inst["num_machines"])
```

### Load all tiers

```python
from huggingface_hub import hf_hub_download
import json

for tier in ("J1", "J2", "J3", "J4"):
    path = hf_hub_download("GloriaGeng/REALM-Bench", f"JSSP/{tier}.json", repo_type="dataset")
    with open(path) as f:
        d = json.load(f)
    print(tier, d["num_instances"], "instances,", d["objective"])
```

### Clone the dataset

```bash
git clone https://huggingface.co/datasets/GloriaGeng/REALM-Bench
```

## Benchmark families (J1 / J2)

| Family | Typical size | Source |
|--------|----------------|--------|
| DMU | 20×15 – 50×20 | Demirkol, Mehta, Uzsoy |
| TA | 15×15 – 100×20 | Taillard |
| ABZ | 20×15 | Adams, Balas, Zawack |
| SWV | 20×10 – 50×10 | Storer, Vaccari, Van de Velde |
| YN | 20×20 | Yamada, Nakano |

## Citation

If you use this dataset, please cite REALM-Bench:

```bibtex
@misc{geng2025realmbenchbenchmarkevaluatingmultiagent,
  title={REALM-Bench: A Benchmark for Evaluating Multi-Agent Systems on Real-world, Dynamic Planning and Scheduling Tasks},
  author={Longling Geng and Edward Y. Chang},
  year={2025},
  eprint={2502.18836},
  archivePrefix={arXiv},
  primaryClass={cs.AI},
  url={https://arxiv.org/abs/2502.18836},
}
```

## Links

- **GitHub:** https://github.com/genglongling/REALM-Bench  
- **Paper:** https://arxiv.org/abs/2502.18836  
- **JSSP subfolder docs:** [JSSP/README.md](JSSP/README.md)

## License

| Component | License |
|-----------|---------|
| **Code** (REALM-Bench repository, evaluation framework) | [MIT](https://opensource.org/licenses/MIT) |
| **Dataset** (this JSSP release on Hugging Face) | [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) |

Benchmark instance data may additionally follow the licensing of original sources (OR-Library, Taillard, etc.) where applicable.