--- pretty_name: "SCMCE: A Structural Causal Model based Approach for Predictable Cardinality Estimation" --- # SCMCE: A Structural Causal Model based Approach for Predictable Cardinality Estimation Raw datasets, preprocessed datasets, and trained light model snapshots for the SCMCE paper. Code repository: ## Contents - `datasets/imdb/`: raw IMDB CSV files. - `datasets/stats/`: raw STATS CSV files. - `preprocessed_datasets/{imdb,stats}/`: encoded CSV files, column coders, table metadata, tensor tables, and trained model snapshots. The directory layout matches the code repository. The official model snapshots support the reported 5-seed, last-4-epoch ensemble evaluation. Backup models, research scratch files, logs, and partial experiments are not included. ## Download Clone the code repository first, then run these commands from its root directory: ```bash # All artifacts (approximately 23 GB) hf download QQGroup/scmce-artifacts --repo-type dataset --local-dir . # STATS only hf download QQGroup/scmce-artifacts --repo-type dataset --local-dir . \ --include "datasets/stats/*" "preprocessed_datasets/stats/*" # IMDB only hf download QQGroup/scmce-artifacts --repo-type dataset --local-dir . \ --include "datasets/imdb/*" "preprocessed_datasets/imdb/*" ``` Only `datasets/` is needed to run preprocessing from scratch. Download `preprocessed_datasets/` to use the released models directly. ## Integrity `sha256_manifest.csv` records the size and SHA256 digest of every released data, preprocessing, and model file. ## Data Source and Redistribution The IMDB and STATS datasets were **not created by the SCMCE authors**. We obtained them by following the download instructions of the [End-to-End-CardEst-Benchmark](https://github.com/Nathaniel-Han/End-to-End-CardEst-Benchmark). The original and preprocessed dataset files in this repository are redistributed **solely for reproducibility and download convenience** for the SCMCE experiments. We do not claim authorship or ownership of these datasets. All credit remains with the original dataset and benchmark authors, and the datasets remain subject to their original licenses and citation requirements. ## License and Security The SCMCE code is distributed under the MIT License. The original datasets and their derived artifacts remain subject to their respective dataset licenses and citation requirements. Many preprocessing and model artifacts use Python pickle. Pickle can execute code during deserialization; load these files only from a trusted source and with the matching SCMCE code revision.