Capability Matrix¶
dag-ml-data supports the replacement of the current nirs4all data pipeline
surface by making data shape, identity and conversion explicit. It does not own
OOF or leakage decisions, but it exposes enough information for dag-ml to
enforce them and can validate externally supplied fold assignments against the
data identities it owns.
Data Surface¶
Capability |
Data contract support |
Enforcement owner |
|---|---|---|
Multisource |
|
|
Repetitions |
|
|
Grouped samples |
group ids exposed through sample relations and schema-level |
|
Augmentation |
augmentation adapters declare output origin ids and optional |
|
Signal type |
|
host loaders detect, |
Shape contracts |
|
providers must refuse materialization when source payload shape violates the contract |
Metadata |
|
bridge maps nirs4all metadata columns and refuses missing/invalid required fields |
Multi-targets |
|
|
Processings |
representation adapters, fit scope, fitted adapter refs |
|
Splits |
identity/group/origin inputs, JSON |
|
Models |
|
controller and |
Refit |
serialized |
|
Branching |
immutable views and source filters |
|
Merging |
alignment, feature join, source join, repetition-preserving broadcast, null-filled missing sources, executable numeric collation contracts |
|
Concatenation |
namespace columns by default, duplicate-column refusal when unnamespaced, presence indicators, output representation |
|
Finetuning |
stateful/supervised adapter declarations |
|
Generation |
serializable adapter params and plugin versions |
|
Tuning |
dry-run shapes and deterministic data plans |
|
Contract Requirements¶
Every source has stable sample identity.
Every representation carries semantic axes.
Every conversion path is explicit, costed, versioned and deterministic.
Lossy/stateful/supervised adapters are opt-in at planning time.
Presence masks and alignment choices are serializable and planned before multi-source joins.
Schema fingerprints are stable under irrelevant ordering changes.
No fold, OOF or prediction partition decision is made in this repo; supplied partition-style fold sets can be validated against relation group/origin boundaries.