fix: validate NaN/Inf in deserialized trials during journal loading

- Add `CompletedTrial::validate()` checking all f64 fields are finite
- Call validate after deserializing each trial in journal storage
- Make `distribution` and `param` modules public (types already in public fields)
This commit is contained in:
Manuel Raimann
2026-02-12 14:02:24 +01:00
parent 04d822479e
commit c561caaa34
4 changed files with 174 additions and 2 deletions
+2 -2
View File
@@ -107,14 +107,14 @@ macro_rules! trace_debug {
($($arg:tt)*) => {};
}
mod distribution;
pub mod distribution;
mod error;
mod fanova;
mod importance;
mod kde;
pub mod multi_objective;
pub mod objective;
mod param;
pub mod param;
pub mod parameter;
pub mod pareto;
pub mod pruner;