Skip to content

bug: compare.py hardcodes a divergent second copy of the gauntlet caps #28

Description

@wranngle

What & how to reproduce

compare.py:30-32 (GAUNTLET_CAPS) hardcodes max_drawdown_cap: 25.0 and max_concentration: 0.25, disagreeing with the authoritative risk_gauntlet.py:13-15 (0.30 / 0.20), plus two caps the gauntlet does not have (max_risk_per_trade, min_universe_size). Its docstring admits the duplication was temporary scaffolding while PRs #4/#5 were open; both merged and the promised re-alignment never happened. Two cap tables now disagree inside one repo.

Area

core

Environment

main as of today; compare.py vs risk_gauntlet.py.

Logs / traceback

diff the two literal cap sets; no runtime traceback, silent policy drift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/coreCore / runtimet.bugDefect: existing behavior is wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions