Optimize/argmax axis: pick the best sweep point by a named metric (C12 axis 2) #67
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
C12 names four orchestration axes; only axis 1 (grid sweep) ships. Axis 2 is optimize: over a SweepFamily, select the point that maximizes (or minimizes) a named RunMetrics field. The machinery already exists — aura-registry's
rank_by(lib.rs) ranks reports by metric — so this is a thin layer, not a new execution core.Build
optimize(grid, metric, direction)entry (or a SweepFamily method) returning the winning point and its RunReport.rank_by; do not fork the sweep executor.aura sweep/aura runs rank.Acceptance
Deterministic argmax over a known small grid; ties broken deterministically (document the rule).
Contracts
C12 axis 2, C18 (rank_by). The smallest of the family axes — reuses the existing sweep + registry. Independent of seed/MC/walk-forward, so it can land early.