@qtsurfer/api-client
    Preparing search index...

    Type Alias WalkForwardRequest

    Opt in to walk-forward validation. Present, the sweep runs as F sequential folds and the result gains a walkForward section; absent, nothing about the sweep changes. Two requests that differ only in this block are two different sweeps and do not deduplicate against each other.

    type WalkForwardRequest = {
        folds: number;
        inSamplePct?: number;
    }
    Index
    folds: number

    How many sequential optimize-then-score windows to run. Two is the minimum for a reason, and it is structural rather than a tuning choice: parameter drift is measured between consecutive fold winners, and a single fold — one train/test split with no sequence — has no consecutive pair to compare, so it would report the strongest possible stability having measured nothing. The upper bound is a server setting (12 by default) and is deliberately not pinned here, since a spec that hardcodes a tunable limit lies the day it is raised. Exceeding it, or exceeding the sweep budget once multiplied by the grid size, is a 400.

    inSamplePct?: number

    Share of the session each fold spends optimizing; the remainder is where its winner is scored. Lower values leave more data to be scored on and, on short sessions, are also what lets the requested fold count tile the data at all.