Reproducibility package for certified fracture-interface bounds for grade–recovery-constrained mineral liberation
Description
This reproducibility package accompanies the manuscript “Certified fracture-interface bounds for grade–recovery-constrained mineral liberation” by Shuchang Zhang and Shaoqi Kong. The study reanalyses existing public mineral-map data; no new experimental observations were collected. The package contains Python calculations, exact rational certificates, feasible product witnesses, numerical results, figure and table generators, and the public source files used in a two-dimensional slag-map reanalysis. The theory establishes geometric interface bounds for specified mineral-mass constraints. The measured input is a released mineral map; the calculated products are computational constructions. All eight unresolved target-wise comparisons and all thirty fixed-budget cases are retained. The upstream source is Ralf Ditscherlein (2026), Supplemental SEM-EDS (MLA) and CT data for “CNN-based 3D characterization and liberation analysis of lithium-bearing slag particles using correlative CT and SEM imaging”, OPARA, doi:10.25532/OPARA-1190, CC BY 4.0; associated article doi:10.3390/app16115609. This package redistributes only the unchanged indexed BMP and Access MDB needed for the calculation, with attribution and hashes. Derived exports, masks, certificates, products and plots are identified in the archive. The authors’ new code, documentation and derived results are released under CC BY 4.0. The ten source particles are an exploratory selection from one image. The archive provides numerical reproducibility and arithmetic certificate checks; it does not provide independent three-dimensional or physical breakage validation. See README.md for the result map, provenance, computational environment and interpretation limits.
Files
Steps to reproduce
1. Download and extract Data and code.zip. Read Liberation/README.md. 2. Install Python and the packages listed in requirements.txt in an appropriate environment. 3. In the Liberation directory run: python reproduce.py --from-export --figures --output run_export 4. This portable route uses the complete archived run-length export and reruns the calculations, witness checks, tables and figures, comparing 26 scientific outputs with the supplied baseline. 5. For full source-database extraction on Windows with PowerShell 7 and the 64-bit Microsoft Access ODBC driver, run: python reproduce.py --figures --output run_database. This route compares 28 outputs. Choose a new output directory each time. 6. For standard-library-only checks of the supplied witnesses run: python code/verify_certificates.py --self-test; python code/verify_refinement.py --self-test; python code/verify_budget.py --self-test. The archive records the tested software environment, commands and logs. The full database route reproduced all 28 scientific outputs byte-for-byte, all seven table sources byte-for-byte and all six paper figures pixel-for-pixel in the recorded environment. Optimizer results can vary across versions; independent arithmetic verifiers and declared case sets define scientific agreement. Allow at least 1 GB free disk space and several GB of RAM.
Institutions
- Taiyuan University of TechnologyShanxi, Taiyuan