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 5 new columns ({'epsilon_star_conditional', 'priced_product_id', 'support', 'affected_product_id', 'epsilon_star'}) and 14 missing columns ({'market_size_hidden', 'true_counterfactual_units', 'own_delta', 'choice_share_hidden', 'counterfactual_market_size_hidden', 'counterfactual_share_hidden', 'store_id', 'week', 'baseline_units', 'cross_delta', 'product_id', 'effective_own_elasticity_hidden', 'log_price_ratio', 'intervention_id'}).

This happened while the csv dataset builder was generating data using

hf://datasets/jean-jsj/CausalDemand/dev/complex_covariance_probit_endogenous_seed001/hidden/elasticity_truth_hidden.csv (at revision 978adc9a6b9a8da81af8994a49350c59670fdc1c), ['hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/counterfactual_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/counterfactual_truth_single_product_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/counterfactual_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/counterfactual_truth_single_product_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/transactions_train_public.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 1837, 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 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              priced_product_id: string
              affected_product_id: string
              epsilon_star: double
              epsilon_star_conditional: double
              support: bool
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 935
              to
              {'intervention_id': Value('string'), 'product_id': Value('string'), 'store_id': Value('string'), 'week': Value('int64'), 'baseline_units': Value('float64'), 'true_counterfactual_units': Value('float64'), 'log_price_ratio': Value('float64'), 'own_delta': Value('float64'), 'cross_delta': Value('float64'), 'effective_own_elasticity_hidden': Value('float64'), 'choice_share_hidden': Value('float64'), 'counterfactual_share_hidden': Value('float64'), 'market_size_hidden': Value('int64'), 'counterfactual_market_size_hidden': Value('float64')}
              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 1683, 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 1839, 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 5 new columns ({'epsilon_star_conditional', 'priced_product_id', 'support', 'affected_product_id', 'epsilon_star'}) and 14 missing columns ({'market_size_hidden', 'true_counterfactual_units', 'own_delta', 'choice_share_hidden', 'counterfactual_market_size_hidden', 'counterfactual_share_hidden', 'store_id', 'week', 'baseline_units', 'cross_delta', 'product_id', 'effective_own_elasticity_hidden', 'log_price_ratio', 'intervention_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/jean-jsj/CausalDemand/dev/complex_covariance_probit_endogenous_seed001/hidden/elasticity_truth_hidden.csv (at revision 978adc9a6b9a8da81af8994a49350c59670fdc1c), ['hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/counterfactual_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/counterfactual_truth_single_product_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_endogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/counterfactual_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/counterfactual_truth_single_product_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_covariance_probit_exogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_endogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev/complex_log_log_exogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_endogenous_seed001/public/transactions_train_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/hidden/counterfactual_sweep_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/hidden/elasticity_truth_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/hidden/transactions_full_hidden.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/counterfactual_sweep_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/products_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/stores_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/transactions_holdout_context_public.csv', 'hf://datasets/jean-jsj/CausalDemand@978adc9a6b9a8da81af8994a49350c59670fdc1c/dev_mini/complex_log_log_exogenous_seed001/public/transactions_train_public.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.

intervention_id
string
product_id
string
store_id
string
week
int64
baseline_units
float64
true_counterfactual_units
float64
log_price_ratio
float64
own_delta
float64
cross_delta
float64
effective_own_elasticity_hidden
float64
choice_share_hidden
float64
counterfactual_share_hidden
float64
market_size_hidden
int64
counterfactual_market_size_hidden
float64
sweep_single_random_plus10
P001
S0001
1,567
163
162.607353
0
0
0
-2.699387
0.141739
0.141739
1,150
1,147.229793
sweep_single_random_plus10
P002
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P003
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P004
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P005
S0001
1,567
116
116.718162
0
0
0.008584
-2.413793
0.10087
0.101739
1,150
1,147.229793
sweep_single_random_plus10
P006
S0001
1,567
482
484.829287
0
0
0.008265
-1.161826
0.41913
0.422609
1,150
1,147.229793
sweep_single_random_plus10
P007
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P008
S0001
1,567
34
33.918098
0
0
0
-4.117647
0.029565
0.029565
1,150
1,147.229793
sweep_single_random_plus10
P009
S0001
1,567
33
33.918098
0
0
0.029853
-1.212121
0.028696
0.029565
1,150
1,147.229793
sweep_single_random_plus10
P010
S0001
1,567
2
1.995182
0
0
0
-10
0.001739
0.001739
1,150
1,147.229793
sweep_single_random_plus10
P011
S0001
1,567
6
5.985547
0
0
0
0
0.005217
0.005217
1,150
1,147.229793
sweep_single_random_plus10
P012
S0001
1,567
1
0.997591
0
0
0
0
0.00087
0.00087
1,150
1,147.229793
sweep_single_random_plus10
P013
S0001
1,567
78
77.812108
0
0
0
-1.282051
0.067826
0.067826
1,150
1,147.229793
sweep_single_random_plus10
P015
S0001
1,567
7
6.983138
0
0
0
-2.857143
0.006087
0.006087
1,150
1,147.229793
sweep_single_random_plus10
P016
S0001
1,567
2
1.995182
0
0
0
0
0.001739
0.001739
1,150
1,147.229793
sweep_single_random_plus10
P017
S0001
1,567
1
0.997591
0
0
0
0
0.00087
0.00087
1,150
1,147.229793
sweep_single_random_plus10
P018
S0001
1,567
12
11.971093
0
0
0
-1.666667
0.010435
0.010435
1,150
1,147.229793
sweep_single_random_plus10
P019
S0001
1,567
24
23.942187
0
0
0
-4.166667
0.02087
0.02087
1,150
1,147.229793
sweep_single_random_plus10
P021
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P023
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P024
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P025
S0001
1,567
21
14.963867
0.09531
-0.153615
-0.182857
-3.809524
0.018261
0.013043
1,150
1,147.229793
sweep_single_random_plus10
P026
S0001
1,567
47
46.886783
0
0
0
-2.12766
0.04087
0.04087
1,150
1,147.229793
sweep_single_random_plus10
P027
S0001
1,567
1
0.997591
0
0
0
0
0.00087
0.00087
1,150
1,147.229793
sweep_single_random_plus10
P029
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P030
S0001
1,567
1
0.997591
0
0
0
-20
0.00087
0.00087
1,150
1,147.229793
sweep_single_random_plus10
P031
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P032
S0001
1,567
7
6.983138
0
0
0
-2.857143
0.006087
0.006087
1,150
1,147.229793
sweep_single_random_plus10
P033
S0001
1,567
35
34.915689
0
0
0
-5.714286
0.030435
0.030435
1,150
1,147.229793
sweep_single_random_plus10
P034
S0001
1,567
62
61.85065
0
0
0
-3.225806
0.053913
0.053913
1,150
1,147.229793
sweep_single_random_plus10
P037
S0001
1,567
15
14.963867
0
0
0
-4
0.013043
0.013043
1,150
1,147.229793
sweep_single_random_plus10
P040
S0001
1,567
0
0
0
0
0
null
0
0
1,150
1,147.229793
sweep_single_random_plus10
P001
S0002
1,567
13
12.974888
0
0
0
-4.615385
0.448276
0.448276
29
28.943981
sweep_single_random_plus10
P002
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P003
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P005
S0002
1,567
4
3.992273
0
0
0
0
0.137931
0.137931
29
28.943981
sweep_single_random_plus10
P006
S0002
1,567
5
4.990341
0
0
0
0
0.172414
0.172414
29
28.943981
sweep_single_random_plus10
P008
S0002
1,567
2
1.996137
0
0
0
0
0.068966
0.068966
29
28.943981
sweep_single_random_plus10
P009
S0002
1,567
2
1.996137
0
0
0
0
0.068966
0.068966
29
28.943981
sweep_single_random_plus10
P010
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P011
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P012
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P013
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P015
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P018
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P019
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P023
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P025
S0002
1,567
1
0.998068
0.09531
-0.153615
0.153615
0
0.034483
0.034483
29
28.943981
sweep_single_random_plus10
P026
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P027
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P028
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P030
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P032
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P033
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P034
S0002
1,567
1
0.998068
0
0
0
0
0.034483
0.034483
29
28.943981
sweep_single_random_plus10
P036
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P037
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P039
S0002
1,567
1
0.998068
0
0
0
0
0.034483
0.034483
29
28.943981
sweep_single_random_plus10
P040
S0002
1,567
0
0
0
0
0
null
0
0
29
28.943981
sweep_single_random_plus10
P001
S0003
1,567
62
61.815592
0
0
0
-2.580645
0.053866
0.053866
1,151
1,147.576549
sweep_single_random_plus10
P002
S0003
1,567
8
7.976205
0
0
0
0
0.00695
0.00695
1,151
1,147.576549
sweep_single_random_plus10
P003
S0003
1,567
1
0.997026
0
0
0
0
0.000869
0.000869
1,151
1,147.576549
sweep_single_random_plus10
P004
S0003
1,567
2
1.994051
0
0
0
-10
0.001738
0.001738
1,151
1,147.576549
sweep_single_random_plus10
P005
S0003
1,567
384
388.840012
0
0
0.015504
-1.979167
0.333623
0.338836
1,151
1,147.576549
sweep_single_random_plus10
P006
S0003
1,567
321
320.045241
0
0
0
-1.682243
0.278888
0.278888
1,151
1,147.576549
sweep_single_random_plus10
P007
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P009
S0003
1,567
100
99.702567
0
0
0
-1.6
0.086881
0.086881
1,151
1,147.576549
sweep_single_random_plus10
P010
S0003
1,567
1
0.997026
0
0
0
-20
0.000869
0.000869
1,151
1,147.576549
sweep_single_random_plus10
P011
S0003
1,567
10
10.967282
0
0
0.09531
0
0.008688
0.009557
1,151
1,147.576549
sweep_single_random_plus10
P012
S0003
1,567
1
0.997026
0
0
0
0
0.000869
0.000869
1,151
1,147.576549
sweep_single_random_plus10
P013
S0003
1,567
12
11.964308
0
0
0
-3.333333
0.010426
0.010426
1,151
1,147.576549
sweep_single_random_plus10
P015
S0003
1,567
5
4.985128
0
0
0
-4
0.004344
0.004344
1,151
1,147.576549
sweep_single_random_plus10
P016
S0003
1,567
1
0.997026
0
0
0
0
0.000869
0.000869
1,151
1,147.576549
sweep_single_random_plus10
P017
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P018
S0003
1,567
139
139.583594
0
0
0.007168
-1.726619
0.120765
0.121633
1,151
1,147.576549
sweep_single_random_plus10
P019
S0003
1,567
4
4.985128
0
0
0.223144
0
0.003475
0.004344
1,151
1,147.576549
sweep_single_random_plus10
P020
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P021
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P023
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P025
S0003
1,567
30
19.940513
0.09531
-0.168315
-0.23715
-4.666667
0.026064
0.017376
1,151
1,147.576549
sweep_single_random_plus10
P027
S0003
1,567
2
1.994051
0
0
0
-10
0.001738
0.001738
1,151
1,147.576549
sweep_single_random_plus10
P028
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P029
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P030
S0003
1,567
5
4.985128
0
0
0
-8
0.004344
0.004344
1,151
1,147.576549
sweep_single_random_plus10
P032
S0003
1,567
7
6.97918
0
0
0
-5.714286
0.006082
0.006082
1,151
1,147.576549
sweep_single_random_plus10
P033
S0003
1,567
56
56.830463
0
0
0.0177
-1.071429
0.048653
0.049522
1,151
1,147.576549
sweep_single_random_plus10
P036
S0003
1,567
0
0
0
0
0
null
0
0
1,151
1,147.576549
sweep_single_random_plus10
P001
S0004
1,567
20
19.902108
0
0
0
-2
0.069444
0.069444
288
286.590357
sweep_single_random_plus10
P002
S0004
1,567
20
19.902108
0
0
0
0
0.069444
0.069444
288
286.590357
sweep_single_random_plus10
P003
S0004
1,567
0
0
0
0
0
null
0
0
288
286.590357
sweep_single_random_plus10
P004
S0004
1,567
0
0
0
0
0
null
0
0
288
286.590357
sweep_single_random_plus10
P005
S0004
1,567
40
40.799322
0
0
0.024693
-1.5
0.138889
0.142361
288
286.590357
sweep_single_random_plus10
P006
S0004
1,567
21
20.897214
0
0
0
-8.571429
0.072917
0.072917
288
286.590357
sweep_single_random_plus10
P007
S0004
1,567
0
0
0
0
0
null
0
0
288
286.590357
sweep_single_random_plus10
P008
S0004
1,567
2
1.990211
0
0
0
0
0.006944
0.006944
288
286.590357
sweep_single_random_plus10
P009
S0004
1,567
7
7.960843
0
0
0.133531
-2.857143
0.024306
0.027778
288
286.590357
sweep_single_random_plus10
P010
S0004
1,567
0
0
0
0
0
null
0
0
288
286.590357
sweep_single_random_plus10
P011
S0004
1,567
7
6.965738
0
0
0
0
0.024306
0.024306
288
286.590357
sweep_single_random_plus10
P012
S0004
1,567
0
0
0
0
0
null
0
0
288
286.590357
sweep_single_random_plus10
P013
S0004
1,567
0
0
0
0
0
null
0
0
288
286.590357
End of preview.

CausalDemand

Can a model that fits observed demand well still recover causal price response, substitution, and counterfactual outcomes when prices and promotions are endogenous?

CausalDemand pairs synthetic retail scanner panels with marketing-copy product descriptions that carry the true substitution geometry. Demand is simulated from a known data-generating process; in half the cells, promotion depth responds to a hidden demand shock, so estimators that ignore endogeneity fit the observed data well and still get the counterfactuals wrong. True elasticities and counterfactual outcomes are hidden and used only for scoring.

Code, submission format, and scoring harness: https://github.com/jean-jsj/CausalDemand

The 2×2 grid

Axis Values
Demand family log-log demand system / structured random-coefficients discrete choice
Endogeneity off (control) / on (promotion depth responds to a hidden demand shock; cost-based instruments stay valid)

Every cell is the full market — 40 products, 731 stores — and covers 156 weeks: 140 public training weeks plus 16 holdout-context weeks whose prices/promotions are public but whose sales are withheld. The four cells are complex_{log_log,covariance_probit}_{exogenous,endogenous}_seed001 (the complex_ prefix is part of the frozen cell identifiers).

Layout

dev/<cell_slug>/
  public/    # everything a model may consume
    transactions_train_public.csv            # product, store, week, units, dollars,
                                             # price, promo_flag, promo_cost, supply_cost_proxy
    transactions_holdout_context_public.csv  # holdout weeks: prices/promos public, sales withheld
    counterfactual_sweep_context_public.csv  # the 16 scored price interventions
    products_public.csv                      # product_id, product_text, brand_code
    stores_public.csv                        # store_id, market, chain
  hidden/    # DEV SEED ONLY: scoring truth for instant local scoring
    transactions_full_hidden.csv             # Layer-1 truth (holdout sales)
    elasticity_truth_hidden.csv              # Layer-2 truth (J x J elasticities)
    counterfactual_sweep_truth_hidden.csv    # Layer-3 truth (counterfactual demand)
  release/
    MANIFEST.json                            # per-file SHA-256
    scoring_params.json                      # scoring config (family, eval window)
    release_notes.md, DATASHEET.md

Data-access rule: models consume public/ files only. hidden/ exists for local scoring on the dev seed, never as model input. Eval seeds (added later) ship public-only; their truth stays with the maintainer.

A reference/ tree holds the four reference models' submission-format predictions (reference/<model>/<cell_slug>/, one directory per corner of the instruments × text grid); their scores and descriptions live in the GitHub repo's submissions/ directory. A completed datasheet is at DATASHEET.md.

Notes

  • Markets and brand codes are pseudonymized (M01…, B1…), consistently across cells and seeds.
  • The panels are fully synthetic, calibrated to moments of the IRI academic scanner dataset; no real transactions are included.
  • The generating code is withheld during the evaluation phase, with a SHA-256 commitment to the frozen source published in the GitHub repo (released after the evaluation phase).
  • The benchmark's actual-data arm (validity checks on real data) uses the public Dominick's Finer Foods scanner data (Kilts Center, Chicago Booth), downloaded separately — see the GitHub repo.
  • This dataset was previously published under the name CARD; the content is unchanged, and per-cell files keep their original frozen stamps and hashes.

License & citation

Data: CC BY 4.0. Authors: Juwon Hong, Minha Hwang, and Venkatesh Shankar. The associated paper reference will be added upon publication.

@misc{hong2026causaldemand,
  author    = {Hong, Juwon and Hwang, Minha and Shankar, Venkatesh},
  title     = {CausalDemand: A Causal Demand Benchmark},
  year      = {2026},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/jean-jsj/CausalDemand}
}
Downloads last month
63