ledgr_sweep_filter() evaluates every completed sweep candidate against
every criterion in a ledgr_business_objective(). It returns eligibility
evidence, not a selected candidate. Ineligible candidates remain in the
default table, candidate order remains sweep order, and no ranking,
promotion, persistence, or identity mutation occurs.
Value
A ledgr_sweep_filter_result object with tear_down and metadata.
as_tibble() and print() expose the complete tear-down table, including
failed criteria and ineligible candidates.
Details
This function is not a replacement for dplyr::filter(). Its result is a
long candidate-by-criterion audit table. ledgr_candidate(),
ledgr_promote(), and walk-forward selection reject that result explicitly.
Examples
if (FALSE) { # \dontrun{
objective <- ledgr_business_objective(
ledgr_objective_max_drawdown(0.20),
ledgr_objective_min_trades(30)
)
evidence <- ledgr_sweep_filter(sweep, objective)
as_tibble(evidence)
} # }