Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 304, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 111, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Omnichannel Network and Order Scenarios

Five synthetic omnichannel fulfillment networks (one per demo scenario), each with a central distribution center, two regional warehouses, a supplier hub, a cross-dock, a returns/repair/recycle cluster, 24 stores, a 60-SKU catalog with substitute groups, noisy inventory records, and a day's worth of multi-line customer orders — generated with a fixed random seed for reproducibility.

Scenarios

Key Description
peak_season_surge Demand spikes 65% while picking capacity stays flat
regional_stockout Regional warehouse inventory collapses, forcing ship-from-store
high_return_category_wave Apparel return rate more than doubles
capacity_constrained_dc Central DC picking capacity cut to 35%
green_logistics_push Corporate mandate to weight carbon heavily in allocation

Files

File Contents
manifest.json Index of all scenario files with entity counts
sample_<scenario_key>.json Full network snapshot: nodes, SKUs, inventory, transport links, orders, scenario events

Schema

Each sample_*.json file is a serialized Network object:

{
  "scenario_id": "...",
  "nodes": {"DC1": {"node_id": "...", "node_type": "central_dc", "daily_pick_capacity": 0}},
  "skus": {"SKU0000": {"sku_id": "...", "category": "...", "unit_price": 0.0, "substitute_group": "..."}},
  "inventory": [{"node_id": "...", "sku_id": "...", "on_hand_qty": 0, "accuracy": 0.0}],
  "links": [{"origin_id": "...", "dest_id": "...", "distance_km": 0.0, "ship_mode": "standard"}],
  "orders": [{"order_id": "...", "demand_node_id": "...", "priority_class": "...", "lines": []}],
  "events": [{"event_type": "...", "description": "...", "affected_node_ids": []}]
}

Generation

Regenerate with:

python scripts/build_assets.py
Downloads last month
21

Collection including alirezaaminzadeh/omnitower-network-scenarios