Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 3 new columns ({'from_id', 'minutes', 'to_id'}) and 5 missing columns ({'is_peak', 'date', 'weekday', 'day', 'weekday_fa'}).

This happened while the csv dataset builder was generating data using

hf://datasets/AriaAICompany/batch-scenarios/data/changeover.csv (at revision 8588fc28072e372bf5200d315818b74a3491c945), ['hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/calendar.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/changeover.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/compatibility.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/demand.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/documents.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/inventory.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/lines.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/products.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/settings.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/units.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              from_id: string
              to_id: string
              minutes: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 617
              to
              {'day': Value('int64'), 'date': Value('string'), 'weekday': Value('string'), 'weekday_fa': Value('string'), 'is_peak': Value('int64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 3 new columns ({'from_id', 'minutes', 'to_id'}) and 5 missing columns ({'is_peak', 'date', 'weekday', 'day', 'weekday_fa'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/AriaAICompany/batch-scenarios/data/changeover.csv (at revision 8588fc28072e372bf5200d315818b74a3491c945), ['hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/calendar.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/changeover.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/compatibility.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/demand.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/documents.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/inventory.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/lines.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/products.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/settings.csv', 'hf://datasets/AriaAICompany/batch-scenarios@8588fc28072e372bf5200d315818b74a3491c945/data/units.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

day
int64
date
string
weekday
string
weekday_fa
string
is_peak
int64
0
2026-10-05
Monday
دوشنبه
0
1
2026-10-06
Tuesday
سه‌شنبه
0
2
2026-10-07
Wednesday
چهارشنبه
0
3
2026-10-08
Thursday
پنجشنبه
0
4
2026-10-09
Friday
جمعه
1
5
2026-10-10
Saturday
شنبه
1
6
2026-10-11
Sunday
یکشنبه
0
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
0
null
null
null
null
1
null
null
null
null
2
null
null
null
null
3
null
null
null
null
4
null
null
null
null
5
null
null
null
null
6
null
null
null
null
0
null
null
null
null
1
null
null
null
null
2
null
null
null
null
3
null
null
null
null
4
null
null
null
null
5
null
null
null
null
End of preview.

Batch perishable kitchen scenarios

Synthetic 8-product / 2-line dairy and juice week for the Batch lot-sizing demo.

Live Gradio app and organization card: alirezaaminzadeh/batch and AriaAICompany/batch. Collection: Aria AI — Manufacturing.

Generated data, seed 24. Names, demand and CIP minutes are synthetic. Age 0 is same-day production. Opening inventory ages are 1 .. shelf_days-1. Leftover at the last usable age is waste and cannot be issued.

Files

  • data/products.csv
  • data/lines.csv
  • data/demand.csv
  • data/inventory.csv
  • data/compatibility.csv
  • data/changeover.csv
  • data/documents.csv
  • data/calendar.csv
  • data/settings.csv
  • data/units.csv
  • data/sample_preview.json

Horizon

Day 0 is Monday 5 Oct 2026. Time unit for inventory is one calendar day. Line capacity is 16 clock hours.

L-dairy is not juice-compatible. Juice SKUs stay on L-flex. SOP rows in documents.csv are retrieval evidence; they are not executable orders.

License

CC-BY-4.0. Keep the synthetic-data label.

Downloads last month
61

Spaces using AriaAICompany/batch-scenarios 2

Collection including AriaAICompany/batch-scenarios