Skip to content

audit-2026-09: realistic cross-framework comparison - #83

Merged
stefan-jansen merged 94 commits into
mainfrom
feat/audit-2026-09-real-strategy-expansion
Sep 5, 2026
Merged

audit-2026-09: realistic cross-framework comparison#83
stefan-jansen merged 94 commits into
mainfrom
feat/audit-2026-09-real-strategy-expansion

Conversation

@stefan-jansen

@stefan-jansen stefan-jansen commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Result\n\n- 17/17 required real-strategy pairs pass across five book-derived workloads\n- eight native-capability exclusions receive no parity credit\n- all 17 passing pairs have one warm-up plus ten isolated engine-call measurements per side\n- synthetic conformance remains separate at 66 required passes and two exclusions\n- the 250-asset synthetic scale workload passes all five engines\n\n## Corrections\n\n- retain complete values, raw differences, digests, versions, inputs, and negative controls\n- compare money after round-half-even to cents, quantity at 1e-5, and prices at 1e-8\n- correct VectorBT automatic call sequencing and LEAN queued-order validation semantics\n- generate README, methodology, profile, guide, and landing-page claims from accepted evidence\n- refresh compatibility and native Zipline evidence\n\n## Verification\n\n- 2,146 tests passed, 14 declared skips, 87.17% coverage\n- Ruff, format, ty, pre-commit, strict MkDocs, and package build passed locally\n- all CI, public parity, compatibility, security, package, and Python 3.12-3.15 qualification checks passed\n- current Chapter 16 notebooks are in stefan-jansen/machine-learning-for-trading#739\n- downstream publication audit is in ml4t/content-marketing#15\n\nThe separate idiomatic performance track was closed as superseded after the user limited performance scope to equivalent engine execution. Public merge and performance-publication treatment remain user decisions.

Centralize immutable framework versions, artifact identities, environment mappings, and scenario membership. Add a validated cross-repository claim inventory for the library, current chapter notebooks, and publication drafts.

Closes ml4t/backtest-dev#2
Serialize both engine outputs, structured exact checks, runtimes, record counts, framework and Python identity, and content-derived provenance. Validate full candidates, reject stale or dirty evidence, and promote accepted results atomically only after the complete matrix passes.

Closes ml4t/backtest-dev#3
Rebuild the complete isolated framework matrix after updating the comparison environments. All 66 required pairs pass and both declared unsupported pairs remain explicit.
Re-execute all 12 required case-study and framework pairs from the frozen bundles against v0.1.4. Every fill, equity, and terminal surface passes the retained comparison policy.
Measure all 12 correctness-passing pairs with one warmup and ten isolated samples per side, retaining engine-only times and deterministic output identities.
@stefan-jansen stefan-jansen added compatibility: affected Has Python, platform, dependency, or cross-library compatibility impact priority: high Material user impact requiring prompt remediation status: accepted Accepted for implementation type: feature New or expanded user-facing behavior labels Sep 3, 2026
@stefan-jansen
stefan-jansen marked this pull request as ready for review September 3, 2026 12:10
Copilot AI lite review requested due to automatic review settings September 3, 2026 12:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@stefan-jansen
stefan-jansen merged commit 0c3de46 into main Sep 5, 2026
39 checks passed
@stefan-jansen
stefan-jansen deleted the feat/audit-2026-09-real-strategy-expansion branch September 5, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility: affected Has Python, platform, dependency, or cross-library compatibility impact priority: high Material user impact requiring prompt remediation status: accepted Accepted for implementation type: feature New or expanded user-facing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants