Skip to main content

Module sample

Module sample 

Source
Expand description

Lag-aligned sample planning for temporal discovery.

General x/y/z SampleRequest planning lives in sample_request. This module owns the lag-gather hot path (LaggedSamplePlan).

SPDX-License-Identifier: MIT OR Apache-2.0

Structsยง

DropSummary
Rows dropped vs retained when aligning lags.
LagMap
Lag-alignment cache for a regular series of length series_len.
LaggedColumn
One planned lagged column.
LaggedPreparedSample
Borrowed prepared sample (views into a LaggedSampleWorkspace).
LaggedSamplePlan
Reusable plan for gathering a fixed set of lagged columns.
LaggedSampleWorkspace
Caller-owned scratch for repeated LaggedSamplePlan::prepare calls.