salib-core 0.1.0

Foundational types for salib: Problem, Factor, Distribution, RngState (multi-stream ChaCha20), and bit-deterministic tree reductions.
Documentation

salib-core — foundational types for the salib sensitivity-analysis library.

Owns the experiment-level vocabulary that every other salib crate composes against: [Problem], [Factor], the closed [Distribution] enum, [rng::RngState] (multi-stream ChaCha20 with deterministic salt-derived forking), and the [reduce] primitives ([reduce::tree_sum], [reduce::tree_dot], [reduce::tree_var] and their par_ variants).

Same architectural family as Python's SALib, R's sensitivity, and MATLAB's UQLab.

Determinism

salib-core is the determinism floor every sampler and estimator stands on:

  • [rng::RngState] is a serializable RNG identity. Recording it lets a verifier reconstruct any SA campaign's RNG stream.
  • [reduce] reductions defeat the float-associativity nondeterminism that naive par_iter().sum() over f64 produces under rayon. Bit-identical regardless of thread count.