exposure -> bias: rename + re-semantize the unsized strategy output #126
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?
Per the C10 R-reframe (#117, ledger C10): the strategy's primary output is a bias (unsized direction + conviction, f64 in [-1,+1]), not a position fraction. Rename the
Exposurenode/type to bias semantics across aura-std (and examples/tests/wiring); the computation (clamp(signal/scale,-1,+1)) is unchanged, the SEMANTICS change (sizing leaves the strategy, moving downstream to the Sizer). Largely a behaviour-preserving rename; the consuming SimBroker/R-evaluator wiring follows in later Stage-1 issues.Rename tail remaining (cycle-0065 close audit)
The
exposure → biasrename's core landed in cycle 0065 (theBiasnode + its output field, replacingExposure). The tail is deferred (serde-stable / debug-symbol residue), flagged by the close audit as the debt that ages worst if left:RunMetrics.exposure_sign_flipsmetric key → rename tobias_sign_flipswith#[serde(alias = "exposure_sign_flips")]so historicalruns.jsonlstill deserialises (this was spec 0065's secondary change (a), never carried out);SimBrokerexposureinput slot name, theexposure_scalemanifest param key, and the.named("exposure")node instances.Keeping this issue open until the tail is carried through (the architect's recommended next iteration). Non-load-bearing today — the R layer is functionally complete and milestone-fieldtest-green — but
exposure_sign_flipsis a serde-stable on-disk key, so do it with the alias for back-compat. Reference: ledger C10 realization note (cycle 0065).