Real-world test suite¶
This directory is reserved for real-world dataset acceptance tests.
The suite verifies that MPSBoost works on practical datasets and workflows before any 1.x
release. It is separate from unit tests, integration tests, and synthetic benchmarks.
Dataset matrix:
dataset_matrix.pyis the executable S18 dataset matrix.REPORT.mdrecords the current S18 acceptance evidence and open release gates.- Default no-network acceptance currently runs only active built-in datasets.
- Multiclass datasets default to native CPU softmax. MPS multiclass currently uses the explicit staged OvR compatibility path until native MPS softmax kernels are implemented.
Initial dataset targets:
- Iris: small multiclass sanity test.
- Breast Cancer Wisconsin: binary classification baseline.
- Diabetes: small regression sanity test.
- Diabetes advanced objectives: quantile, Poisson, and Tweedie run on positive real targets through the shared native CPU trainer. These checks verify correctness and finite outputs, not objective leaderboard quality.
- Breast Cancer isolation forest: CPU-suitable anomaly scoring with finite path-length scores.
- Diabetes pointwise ranking: query-group validation and finite full-list NDCG.
- California Housing: medium regression baseline.
- Digits: lightweight flattened-image multiclass test.
- MNIST subset: opt-in flattened-image stress test.
- Titanic: missing-value and categorical-feature workflow test.
- Adult Income: larger categorical binary-classification test.
- Covertype subset: larger multiclass throughput test.
- Higgs subset: opt-in large numeric binary-classification performance-boundary test.
Rules:
- Do not mock CPU or MPS backends in this directory.
- Do not commit raw external datasets into the repository or wheel.
- Prefer built-in sklearn datasets for default CI coverage.
- External datasets must be versioned, hash-checked, cached, and reproducible offline.
- Long-running tests must be opt-in and clearly marked.
- Advanced objectives currently share the histogram tree path and use modest CPU acceptance settings; performance claims require a separate end-to-end benchmark before release notes can advertise speedups.
- Isolation forest and pointwise ranking route MPS requests to CPU with a warning because these branch-heavy or latency-sensitive workflows are expected to be faster on CPU than Apple GPU.
- Blocked datasets must stay visible in the matrix instead of being silently replaced by synthetic or binary-subset stand-ins.
Explicit downloads:
python tests/real_world/download_datasets.py california-housing
python tests/real_world/download_datasets.py covertype-subset
python tests/real_world/download_datasets.py mnist-subset
python tests/real_world/download_datasets.py titanic
python tests/real_world/download_datasets.py adult-income
The downloaded files live under ignored tests/real_world/data/, and generated manifests live
under ignored tests/real_world/cache/. Removing those two directories removes the local dataset
artifacts; the downloader does not use a user-global sklearn cache path.
HIGGS is treated as an explicit local-file dataset. Place HIGGS.csv.gz under
tests/real_world/data/higgs/ before running the opt-in HIGGS subset test.