docs(experiments): the honest-cost restatement and the DCA dip-bonus ablation (#339) - #347
Merged
Merged
Conversation
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.
What & why
Closes #339's measurement checkboxes. Two firsts, one date:
The honest-cost simulate re-run — the first
keel simulateunder per-product slippage (#334, v0.9.0): verdict TRAIN MORE, unchanged, and the correction runs exactly the conservative direction — BTC identical (floor-anchored), XLM 4.7567→4.4435, ADA 1.7638→1.7087, PAXG capped at 50bp. No flattered outlier survived; the TON-class 3.751-on-n=9 result can no longer print at thin-book pricing. This is the measurement that decides #335: the gate opt-in stays precautionary (nothing promotes on thin assets today), with the evidence now on record.The DCA dip-bonus ablation — first-ever coverage of the only unswept rule family, three cells (dip_bonus_pct 0/1/2) through
sim/portfolio_simat keel's real costs over ~5 years of BTC hourly. The pre-registered ordinal expectation was NOT confirmed: cells within 0.65% relative, no monotone direction (1.40742 / 1.40424 / 1.41325). The honest reading is stated: mechanism mismatch (the citation holds cash until threshold dips; the param always buys and scales size) plus single-asset/single-window power. No cell preferred; the live rule stays at 0.Both trials appended to the hash-chained ledger (chain verified clean). Also records the deployment actions: DCA twins re-enabled via
keel rules enable+promote --force(the documented bypass, warnings logged), so the paper pipeline now has an always-firing family. v0.9.0 was cut and deployed first (PR #346; four distributions verified,keel versionsclean, both DBs at schema 10).Tests-first evidence
Measurement PR: the instruments' outputs are quoted verbatim; the ledger rows were appended through
keel.research.ledger.append_trialwithverify_chainreturning []. Gates: 2947 passed / 1 skipped; ruff clean; mypy clean.Gates
uv run ruff check keel tests packages— All checks passed!uv run mypy— Success: no issues found in 238 source filesuv run pytest -q— 2947 passed, 1 skippedScope check