lawsynth/crates/lawsynth-dynamics
caelum0x ac68067b17 fix(release): correct crates.io repository URL and gate internal crates from publish
The workspace repository metadata pointed at a 404 (lawsynth/lawsynth instead
of caelum0x/lawsynth). RELEASE.md documents 12 crates plus all services/apps
as explicitly internal for v0.1 (not part of the published surface), but only
lawsynth-integration actually carried `publish = false` — add the missing
flag to the other 16 internal crates/services/apps so a future `cargo
publish` run can't accidentally ship them.

Also fix the two cargo clippy -D warnings failures blocking CI on main since
the 2026-10-12 release-cut merge: lawsynth-information-diffusion's forecast()
needlessly indexes `totals` by a range-loop variable (needless_range_loop)
and exceeds clippy's argument-count lint (too_many_arguments, same pattern
already used elsewhere in the workspace for fixed simulation-contract
surfaces). Verified: cargo fmt --check, cargo clippy --workspace --all-targets
-- -D warnings, and cargo test --workspace (388 suites, 0 failures) all pass
clean; cargo build --locked --release -p lawsynth-cli succeeds.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-15 16:53:00 +03:00
..
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00

lawsynth-dynamics

Dataset-backed system-identification problem definitions. It packages validated continuous, discrete, delayed, controlled, and implicit observation problems and exposes transition extraction and central derivative refinement.

Use

use lawsynth_core::Identifier;
use lawsynth_data::{Dataset, NumericColumn, TimeAxis};
use lawsynth_dynamics::ContinuousProblem;

let data = Dataset::new(TimeAxis::new(vec![0.0, 1.0, 2.0])?,
    vec![NumericColumn::new("x", vec![1.0, 2.0, 4.0])?])?;
let problem = ContinuousProblem::new(data, vec![Identifier::new("x")?])?;
assert_eq!(problem.state().len(), 1);
# Ok::<(), Box<dyn std::error::Error>>(())

Problems preserve the supplied data and state selection. They do not choose a feature library or fit a law; use them as validated inputs to discovery methods.