{
    "kind": "process",
    "format_version": 1,
    "name": "robust-sweep-v1",
    "description": "Sweep with trials-deflation, gate on positive expectancy, then walk-forward confirm.",
    "pipeline": [
        {
            "select": "argmax",
            "block": "std::sweep",
            "deflate": true,
            "metric": "sqn"
        },
        { "block": "std::gate", "all": [ { "cmp": "gt", "metric": "expectancy_r", "value": 0 } ] },
        {
            "block": "std::walk_forward",
            "folds": 4,
            "in_sample_bars": 5000,
            "out_of_sample_bars": 1000,
            "metric": "sqn",
            "select": "argmax"
        }
    ]
}
