Skip to content

Support exact Barra study replay and evidenced corporate-action guards - #38

Merged
PureSaber merged 2 commits into
mainfrom
codex/barra-study-execution
Oct 15, 2026
Merged

PureSaber merged 2 commits into
mainfrom
codex/barra-study-execution

Conversation

@PureSaber

@PureSaber PureSaber commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Support the fixed 200-company Barra study with the existing exact QExec ledger. Research runs can record daily snapshots while retaining all orders, fills and fees, cache immutable risk views between ledger mutations, and distinguish an initial build budget from later turnover limits. Input and optimization failures remain explicit and never publish fallback targets.

Corporate-action reconciliation now separates an evidenced exchange adjustment reference from the shareholder's actual cash/share entitlement. Unverified entitlements and unsupported fractional quantities stop an exposed replay after QExec rolls it back; the research runner may separately produce a clearly labelled diagnostic prefix. Default recording, risk-view caching, existing configurations and frozen accounts remain unchanged.

Validation: all six Python 3.10–3.12 Windows/Linux CI jobs passed at commit 19190d6. The Python 3.12 Linux run passed 306 tests with 85.60% total coverage; Ruff, reproducible dependency lock, CodeQL and the existing 97% certification-core branch threshold passed. Tests include exact daily/event and cached/uncached ledger parity, cash flows, rollback, fractional entitlements and input guards. Full study results and model-promotion acceptance are separate from this engineering change.

@PureSaber
PureSaber merged commit e1de729 into main Oct 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant