Centralize runnable GER40 examples through instrument_spec (deferred from #22) #98
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?
Deferred from #22 (per-instrument pip). The CLI
aura run --realpath now sourcespip from
aura_ingest::instrument_spec(symbol)(a typed vetted lookup). The runnableGER40 examples still bake a
const PIP_SIZE = 1.0literal.This is a consistency cleanup, not a bug fix: GER40/FRA40 quote in index points,
so
1.0is the correct pip — the examples are honest today, just not routed throughthe central metadata channel.
Centralize them: give
ger40_breakout_blueprintapip_sizeparameter (it bakesSimBroker::builder(PIP_SIZE)at breakout_real.rs:252), sourcebuild_harnessandger40_breakout_comparepip frominstrument_spec, dropconst PIP_SIZE. Theblueprint signature change propagates to ~14 call sites across 6 files —
examples/{ger40_breakout_real,sweep,walkforward,compare}.rs and
tests/{ger40_breakout_blueprint,ger40_breakout_world}.rs (the last has a
broker: "sim-optimal(pip_size=1)"pin at :64). All GER40/FRA40 callers pass thelooked-up
1.0, so the change is value-identical and behaviour-preserving (gateddeterminism + blueprint param-space tests stay green).
depends on: #22 (instrument_spec / InstrumentSpec land there)
context: split out so #22 ships the actual CLI-path bug fix without an example-wide
signature refactor; spec-skeptic round-2 flagged the examples as a separable scope.