SlopeBench is an open-source Python package for reproducible slope-stability surrogate benchmarking and false-safe diagnostics.
SlopeBench validates sample solver-label data, tracks solver-label provenance, summarizes public benchmark recovery records, evaluates feature-complete transfer cases, runs physical-consistency checks, computes conformal false-safe diagnostics, records negative-transfer warnings, and generates reproducible reports.
- SlopeBench is not a final design tool.
- It does not replace project-specific LEM/FEM analysis.
- It does not provide field validation.
- It does not claim proprietary commercial software validation unless such runs are explicitly supplied by the user.
- It does not certify slope safety.
- It supports reproducible research, audit, teaching, and preliminary screening diagnostics.
python -m pip install -e .slopebench reproduce-sample --out outputs/sample_runslopebench --help
slopebench validate-data
slopebench summarize
slopebench benchmark-recovery
slopebench transfer-check
slopebench physical-check
slopebench conformal
slopebench negative-transfer
slopebench make-report
slopebench reproduce-samplefrom slopebench.data import load_sample_bundle
from slopebench.conformal import conformal_summary
bundle = load_sample_bundle()
metrics = conformal_summary(bundle["conformal"])
print(metrics)Sample data are stored in data/sample/. Metadata and schema files are stored in data/metadata/.
Run python examples/reproduce_sample_results.py or slopebench reproduce-sample.
slopebench benchmark-recovery summarizes counted, rejected, attempted, and feature-complete public benchmark records.
slopebench transfer-check evaluates only records whose required feature schema is complete.
slopebench physical-check reports monotonic perturbation violations and preserves the checked direction.
slopebench conformal computes residual quantiles, empirical coverage, and false-safe rates near FS thresholds.
slopebench negative-transfer reports schema and label-provenance warnings for unrelated tabular data.
slopebench make-report writes Markdown, HTML, and optional DOCX summaries under the output directory.
The repository contains src/, tests/, examples/, docs/, data/sample/, data/metadata/, manuscript/, figures/, tables/, validation/, and outputs/.
python -m pytest tests -qReproducibility archive: https://doi.org/10.5281/zenodo.20516102
Cite the SoftwareX article, CITATION.cff, and the Zenodo archive.
MIT License.
SlopeBench is intended for reproducible research, teaching, audit, and preliminary screening diagnostics. It depends on the quality and completeness of supplied solver-label and benchmark records.
Hongzhi Lu, Universiti Sains Malaysia, Penang, Malaysia. Email: lhz1076277065@gmail.com.