Skip to main content

Module syntax

Module syntax 

Source
Expand description

Syntax layer: classify sign tuples into named motifs (see heuristics::RoboticsMotif for the typed motif catalogue). Syntax layer โ€” classify residual sign-tuple sequences into named structural motifs from the heuristics bank.

Phase 2 provides a minimal classifier that maps a sign tuple and grammar state to either an exact crate::heuristics::RoboticsMotif match or RoboticsMotif::Unknown. Full motif-pattern recognition (periodic grazing detection, Stribeck-plateau fitting, BPFI harmonic classification, GRF-desync autocorrelation, CoM-drift integration) lands incrementally in Phase 3 alongside the dataset adapters that exercise each motif.

Functionsยง

classify
Classify a sign tuple + grammar state into a named motif.