# Reproduction README — ORCA Table 3 (arXiv:2410.13735v3)
Built with ML InternWalk through the mechanism ›
**Verdict: FALSIFIED** — full rationale in `SUBMISSION.md`. This README explains how every number was produced and how to reproduce them from a clean environment. ## 1. Layout ``` SUBMISSION.md verdict, paper-vs-reproduced tables, deviations, mechanism README.md this file environment.txt pinned dependency versions (two environment blocks) code/run_full.py the complete pipeline (v8): QRF + all QRF-based methods + CDSplit/R2CCP hooks code/run_realdata.py base-pipeline module (loaders, QRF, samplers, MILP machinery) — auto-fetched by run_full.py code/neural_driver.py concurrent driver for the CDSplit/R2CCP jobs (v6) code/diag_orca.py ORCA failure-mechanism diagnostic (Q_r vector, transfer gap, concentration) code/compare_leaf50.py leaf=50 vs split=50 analysis (produces results/comparison_leaf50_vs_split50.csv) logs/job_ledger.csv every executed job: name, HF id, URL, duration, status, supersession notes logs/diagnostics_and_smokes.txt development-phase probe/smoke/diagnostic outputs results/full_cpu_{raw,logz}_{blog,fb1,fb2}.csv per-run rows, split=50 QRF, 11 method-configs × 30 runs results/full_leaf50_raw_{blog,fb1,fb2}.csv per-run rows, leaf=50 QRF (confirmation run) results/full_neural_{raw,logz}_{blog,fb1,fb2}.csv per-run rows, CDSplit + R2CCP results/comparison_vs_paper.csv split=50 means vs Table 3 results/comparison_leaf50_vs_split50.csv both QRF settings side by side ``` ## 2. Environment Python 3.12. Pinned dependencies (see `environment.txt`): numpy 2.5.5, pandas 3.1.2, scipy 1.18.1, scikit-learn 1.9.1, quantile-forest 1.5.0, huggingface_hub 2.5.0, cma 4.6.0, gurobipy 14.0.0 (imported by the CRD toolbox), matplotlib 3.11.2. Neural block: torch 2.9.1, torchvision 0.24.1, pytorch-lightning 2.6.6, configargparse 1.10.2, six 1.17.0. Datasets are downloaded automatically from UCI on first use (Blog: archive.ics 304; Fb1/Fb2: archive.ics 363, Variants 1/2). ## 3. Reproduce the experiments ```bash pip install -r requirements.txt # see environment.txt for the two blocks # QRF-based methods (11 method-configs x 30 runs; ~35-75 min per dataset on 2 vCPU): python code/run_full.py --dataset blog --runs 30 --preproc raw --leaf_mode split --out out_blog_split50.csv python code/run_full.py --dataset fb1 --runs 30 --preproc raw --leaf_mode leaf --out out_fb1_leaf50.csv # Neural methods (CDSplit + R2CCP; 30 seeded concurrent workers): python code/neural_driver.py --dataset fb1 --runs 30 --preproc raw --out out_fb1_neural.csv # Diagnostics (Section 6 of SUBMISSION.md): python code/diag_orca.py --dataset fb2 --seed 0 --preproc raw --stage2 milp ``` Flags: `--preproc {raw,logz}` (both reported); `--leaf_mode {split,leaf}` (both reported); `--stage2 {milp,greedy}`; `--shared_draws {1,0}`; `--k_neighbor {5,7}`; `--pcp_threshold {interp,ceil}`; `--seed0` (seeds = seed0 + run_id). In HF Jobs the same script is driven by the `ORCA_ARGS` env variable; results upload automatically when `ORCA_UPLOAD_REPO` is set. `ORCA_SKIP` excludes method-configs (used to split work across CPU/neural jobs); `ORCA_STAGE` tags the output CSV path. ## 4. Where each reported number comes from | Reported number | Source | |---|---| | ORCA/PCP, CQR, CHR, DistSplit, CRD (split=50, raw) | mean ± SE over `status='ok'` rows of `results/full_cpu_raw_{ds}.csv` | | Same methods under leaf=50 | `results/full_leaf50_raw_{ds}.csv` | | log1p sensitivity | `results/full_cpu_logz_{ds}.csv` | | CDSplit, R2CCP | `results/full_neural_{raw,logz}_{ds}.csv` (CDSplit 30/30 everywhere; R2CCP rows are the recorded degenerate outcome of the official code) | | Paper comparison | `results/comparison_vs_paper.csv` and `results/comparison_leaf50_vs_split50.csv` | Every CSV row: dataset, preproc, run_id, method_config, coverage, eff, seconds, status, threshold, quota, tighten/clip flags, sampler, spec, MILP status, y_min/y_max, span, QRF seconds, leaf_mode. Summaries use only `status='ok'` rows; the 30 labeled `crd-ellipse` degenerate-seed rows carry the exception text in `threshold` and are never counted as repetitions. ## 5. Configuration decisions and deviations (each documented in code comments) - Paper-vs-authors'-code conflicts (Stage-2 quota 450 vs 451; eq. (9) literal vs valid 451st-order threshold; tightening; clipping): **paper-literal primary**, authors'-code as a labeled sensitivity — both are columns of every run. - QRF sampler: **both** Algorithm-1 i.i.d. and authors'-repo shared-level draws, per run. - QRF leaf parameter: **both** min_samples_split=50 (paper text) and min_samples_leaf=50 (referenced implementation), per the confirmation run. - Y preprocessing: raw (primary) + log1p (sensitivity) — the paper specifies none. - X standardization: PCP-repo protocol; provably result-neutral for tree models. - Y jitter `Y += 1e-6·N(0,1)` before y_min/y_max: referenced-implementation protocol (required for DCP's CDF at the discrete y-floor). - CRD: all three shape templates; calibration split 250/250 per the toolbox's two-half protocol. - CDSplit MDN: PyTorch reimplementation matching cde-1.0.1 exactly, with the paper's overrides (10 components, dropout 0.2, hidden (100,100), 500 epochs) — cde itself is TF1-era and uninstallable. - R2CCP: official wheel 0.0.8, repository defaults, 500 epochs per the paper. ## 6. Known outcomes to expect - DCP-CQR degenerates to the full observed y-span on all three datasets (the paper's "DCP-CQR hybrid" construction is unspecified anywhere; the faithful plain-DCP port is recorded). - R2CCP produces empty sets (the official code NaN-fails in epoch 0 on this data; recorded as-is). - CRD hull ≡ hyper-rectangle in 1-D (identical numbers); CRD-ellipse errors on some seeds (the toolbox's undefined negative-margin case; labeled rows). - ORCA ≥ PCP in every configuration — this is the submitted finding (verdict FALSIFIED).