Repository navigation
Bench: deepseek-v4-1-flash vs zai-glm-5-3 (dual-MA, three market windows) - #58
Merged
OnePunchMonk merged 3 commits intoDec 3, 2026
Merged
Conversation
…ndows Same unmodified harness and scoring engine; only the proposer changes. Anchor: SPY 2021-12-03..2026-12-02 (search 80% / sealed trailing 20%). New: SPY/QQQ/AAPL/NVDA/XLE/TLT/GLD 2015-01-02..2019-12-30 from yfinance. GLM proposes stronger in-sample picks (mean 0.934 vs 0.662; best 1.216 vs 0.947), but neither model's top pick clears the 0.3 Sharpe gate on the sealed holdout (-0.18 vs -0.19), and on the fresh universe the ranking is a dead heat (mean IS 0.409 vs 0.426). Both models converge on 20/100 and 50/200 regardless of regime prompt. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
A 7-bar daily series cannot support an SMA200, so the 7/30-day span became a holding horizon instead: identical signal rule to the engine, position sampled every H bars and held H bars. H=1 reproduces basic_momentum_backtest exactly. 50 large caps (all listed pre-2015), daily 2015-01-02..2019-12-30, search to 2018-12-28, trailing 20% holdout. Sector-diverse 10 names for the 30-bar run. Across breadth the two proposers tie: 0.388 vs 0.387 at H=7, noise at H=30 on ten names. The anchor's 0.662-vs-0.934 gap does not survive a cross-section. Holding 7 bars instead of 1 costs 0.001 Sharpe and cuts turnover ~7x. Config rankings shift again (100/200 leads H=7), and 34/50 names clear the gate. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compares the two proposer models on the same unmodified harness and scoring engine
(
src.backtest.simple_backtest.basic_momentum_backtest), gates Sharpe 0.3 / DD 0.20.yf.download(..., auto_adjust=True).H=1reproduces the engine exactly — asserted before the bench ran.Headline
Methodology caveat
The harness's in-process planners have no credentials here (
GOOGLE_API_KEY,OPENAI_API_KEY,ANTHROPIC_API_KEYunset;create_planner()returnsFallbackPlanner, which is why every recordedstrategy_runsrow isgeneration_method: grid_search). Both models acted as proposers via Vibesessions pinned to them, as in #56, and the deterministic engine did all scoring. No model was
called over HTTP — this benches the models as proposers, not the provider adapters.
Also: the deepseek set is the one from #56, reproduced bit-for-bit first as a scoring-path check. Each
holdout is graded once; there is no multiplicity correction across ten proposals, two models and three
windows, so no in-sample Sharpe here is a validated score. Protocol C was designed after A and B were
scored, so it is a robustness check rather than a pre-registered test.
Files:
bench/BENCH_TWO_MODEL_DUAL_MA.md,bench/bench_two_model_report.json.Generated by Mistral Vibe.