lawsynth/crates/lawsynth-profile
caelum0x 7a06febeb6 chore(release): inherit repository metadata on all crates
Crates inherited version/license/edition from [workspace.package] but not
`repository`, so every crate published without a repository link. Add
`repository.workspace = true` uniformly, completing the
description+version+license+repository metadata `cargo publish` and crates.io
expect. No build impact.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-06 13:08:47 +03:00
..
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00

lawsynth-profile

Deterministic quality and distribution summaries for numeric datasets. Profiles capture missingness, moments, sampling properties, robust quality flags, pairwise correlation, and bounded delay estimates before discovery changes data.

Use

use lawsynth_core::Identifier;
use lawsynth_data::{Dataset, NumericColumn, TimeAxis};
use lawsynth_profile::profile;

let data = Dataset::new(TimeAxis::new(vec![0.0, 1.0, 2.0])?,
    vec![NumericColumn::new(Identifier::new("signal")?, vec![1.0, 2.0, 3.0])])?;
let report = profile(&data)?;
assert_eq!(report.columns.len(), 1);
# Ok::<(), Box<dyn std::error::Error>>(())

Profiles are descriptive evidence, not causal conclusions. Preserve them with the discovery configuration so later users can see data-quality assumptions.