Skip to content

Experimental Modules ​

sci-form keeps research code separate from the stable surface. That separation is smaller than it used to be: most of the old alpha and beta code is now core, and the historical names remain only as compatibility aliases. This page is the current map.

The three states ​

StateWhat it meansFeature flag
CoreCompiled by default, covered by a cross-library or analytic gate, and part of the stable APInone
Gated researchValidated in a narrower regime but not ready for the stable surfacean explicit alpha-* or beta-* flag
Compatibility aliasThe old path or flag still resolves, but the implementation lives in coreold flag only

What moved to core ​

The following modules cleared their promotion criteria and now live at the top-level paths. The old paths still compile.

Old pathCore pathEvidence
alpha::cgasci_form::cgamotors 3.4e-15 vs Rodrigues + clifford
alpha::sdrsci_form::sdrembedding 7e-15 vs CVXPY/SCS
alpha::edlsci_form::edlworst 2e-14 vs analytic Gouy-Chapman-Stern
experimental-eeqsci_form::charges_eeqcharges 6.9e-12 vs multicharge
experimental-alpbsci_form::solvation_alpbelectrostatic term 3.14 kcal/mol vs tblite
experimental-d4sci_form::dispersionD4(PBE) 6.2e-10 Ha vs dftd4
alpha::gsmsci_form::gsmMüller-Brown barrier 1.6e-3 vs ASE CI-NEB
alpha::kineticssci_form::kineticsEyring 1.9e-16; traces vs SciPy solve_ivp
alpha::periodic_linearsci_form::periodic_lineark-mesh and Bloch phases vs ASE
alpha::dynamics_livesci_form::dynamics_liveUFF forces 3.6e-13 vs RDKit
alpha::render_bridgesci_form::render_bridgeJSON Schema 2020-12 + pack round-trip
beta::kpmsci_form::kpmmoments 3.5e-15; DOS 1.7e-14 vs exact diagonalization
beta::cpmsci_form::cpmLAMMPS fix electrode/conp bilayer comparison
beta::rand_nlasci_form::rand_nlarank-N/4 3.8e-4; N=600 low-rank path 9.6e-4
beta::riemanniansci_form::riemannianprojection 8.2e-12 vs SciPy L-BFGS-B
forcefield::reaxffsci_form::forcefield::reaxffbond orders vs LAMMPS; analytical gradients
scf::obara_saikasci_form::scf::obara_saikaBoys/ERI/Schwarz vs SciPy + libcint

What is still gated ​

Only four research lines remain behind a flag. Each one has a concrete reason, not a vague "not finished" label.

ModuleFlagWhy it stays gated
Kohn-Sham density functional theoryalpha-dftEnergy error is 7.2e-5 Ha vs PySCF (target 1e-5), coulomb_energy is still zero, and the ECP path is not fitted
Machine-learned force fieldalpha-mlffDescriptors and gradients match a NumPy oracle, but there are no trained production weights and no MD17/SPICE benchmark
Mobile Block Hessianbeta-mbhStretch test 1.3e-5 SI; the experimental reference is ±2 cm⁻¹ (Ghysels) and global-minimum integration is not covered
Reaction dynamicsalpha-reaction-dynamicsSelf-consistency only; there is no ASE NEB parity for the full 3D path

Plain-language names ​

The documentation uses the descriptive name first and the short code only when the API requires it.

Short namePlain nameWhere it lives
CGAConformal geometric algebracore cga
GSMGrowing String Methodcore gsm
KPMKernel Polynomial Methodcore kpm
RandNLARandomized numerical linear algebracore rand_nla
MBHMobile Block Hessiangated beta::mbh
CPMConstant Potential Methodcore cpm
EDLElectrical double layercore edl
ALPBAnalytical linearized Poisson-Boltzmanncore solvation_alpb
EEQElectronegativity equalizationcore charges_eeq
SDRSemidefinite relaxationcore sdr
D4Dispersion correction with dynamic C6/C8core dispersion
HTSTHarmonic transition-state theorycore kinetics

Enabling features ​

Core modules need no flag. The aliases below are only for builds that still name the historical feature.

toml
[dependencies]
# Gated research
sci-form = { version = "2.0", features = ["alpha-dft", "alpha-mlff"] }
sci-form = { version = "2.0", features = ["beta-mbh"] }
sci-form = { version = "2.0", features = ["alpha-reaction-dynamics"] }

# Everything + parallel
sci-form = { version = "2.0", features = [
    "alpha-dft", "alpha-mlff", "alpha-reaction-dynamics",
    "beta-mbh", "parallel"
] }

Run the tests ​

The tests/experimental/ suite is aggregated by the experimental_gates target. A command that targets --test regression -- test_<module> matches no test and appears to pass without running anything.

bash
# Gated research modules
cargo test --features alpha-dft,alpha-mlff --lib --test 'alpha_*'
cargo test --features beta-mbh --lib --test 'beta_*'

# The aggregated experimental suite
cargo test --features "beta-mbh alpha-cga alpha-sdr" --test experimental_gates
ModuleFilterTests
ALPB-- test_alpb8
CGA-- test_cga20
CPM-- test_cpm9
D4-- test_d48
EEQ-- test_eeq8
GSM-- test_gsm8
KPM-- test_kpm9
MBH-- test_mbh8
RandNLA-- test_randnla8
Riemannian-- test_riemannian11
SDR-- test_sdr8

The legacy experimental-* names still work (experimental-cga → alpha-cga, experimental-kpm → beta-kpm, and so on), but the modern alpha-* / beta-* names are the ones to use.

Design principles ​

  1. Isolation. Research code does not modify the stable conformer, EHT or force-field paths until it passes its gate.
  2. One flag per line. A gated module compiles only when its flag is on.
  3. Independent tests. Every line has its own oracle or analytic reference.
  4. A promotion is a path move, not a fork. Promoted modules keep a re-export at the old path so downstream code keeps compiling.
  5. Numbers, not adjectives. "Validated" means a named reference, a measured deviation, a confidence region and a recorded limitation. The complete report is in Scientific validation.

Where to read the numbers ​

Released under the MIT License.