Nineteen out of nineteen.
The number arrived last week in a research note about the 2026 US midterm elections: since 1950, every twelve-month window following a midterm has produced a positive return for the S&P 500. The headline put a 95% probability in front of it. Two paragraphs down, the same note mentioned 1938 β a losing year β and 1946, which it called flat.
I did what I do with whitepapers. I opened a terminal.
Monthly total returns, 1938 through 2022. Twenty-two midterm elections. A dummy for the election year, a second dummy for year three of the presidential cycle. The regression did not fail loudly. It failed quietly, the way most broken things do. Correlation between the two variables: 0.97.
Two regressors. One dataset. Zero ability to separate them.
That is the entire finding, and it has almost nothing to do with politics. It has everything to do with how crypto sells numbers.
The mechanical reason is boring, which is why it gets skipped. US midterm elections are fixed in year two of a presidential term. A twelve-month window measured from election day spends ten of its twelve months inside year three. The midterm dummy and the year-three dummy are not two variables. They are one variable wearing two name tags.
Which means every sentence of the form "midterms cause X" is unfalsifiable inside that model. You cannot run the counterfactual. There has never been a midterm election outside year two, and there never will be. The coefficient is unidentifiable. What the study actually measured is the third-year effect, relabeled for an audience that wanted a story about politics.
Then the arithmetic, which is where it gets interesting. Any rolling twelve-month window on US equities is positive roughly 65β70% of the time. Nineteen consecutive hits at a 65% base rate has a probability near 0.03%. At a 75% base rate, 0.4%. At 80%, 1.4%.
So there are two explanations. Either the true win rate exceeds 90%, or the window was not drawn at random. The second is far more likely, and the note's own numbers say so. A perfect track record is evidence about the sampling frame, not evidence about the asset. Nineteen for nineteen is a bug report on the methodology.
And the note never told me what the window was. Election day to election day? Calendar year? December to December? Price return or total return? Dividends add roughly two points a year, so 15% becomes 17% β not a rounding error once it compounds. Its "weakest year: 1986, +1%" is the tell. Black Monday is October 1987. Shift that window by four weeks and the result swings from +1% to something ugly. A conclusion that fragile was never a conclusion. It was a screenshot.
I have watched this exact failure mode for nine years in crypto, and the bull market has made it worse rather than better, because euphoria pays for the mistake.
Take the halving cycle. Bitcoin's issuance schedule is deterministic, which is one of the few things in this industry that is exactly as advertised. So the post-halving twelve-month window is fixed by code, not by an analyst's optimism. That part is honest. The problem is that n = 3. Four, if you count 2012 generously. Four observations, all positive, against a base rate of roughly 70β75% for any twelve-month BTC window. Four hits at 70% comes out to 0.24. One in four people who flip four coins see four heads. That is not an edge. That is the coin.
I made this mistake myself, early. In 2017 I built a rolling-window backtest on ZRX keyed to the ICO calendar β pre-announcement to listing, listing to thirty days β and the hit rate looked like a physical constant. Then I shifted every window by two weeks and watched the edge dissolve. That was the same month I finished stripping the 0x exchange contract down to its Solidity and found three integer overflow paths that eight weeks of tokenomics slides had never had to survive. I stopped reading tokenomics. The whitepaper describes intent. The code describes behavior. A backtest describes neither β it describes the analyst.
Survivorship bias is structurally worse in crypto than in equities, and almost nobody prices it. Equity index providers exclude dead companies and everyone knows the rule. Token dashboards exclude dead tokens and nobody checks. So when a report tells you "92% of tokens launched on this chain in 2024 retained liquidity past ninety days," the denominator is not the launch set. It is the set someone still bothers to index. The gap between those two sets is where the losses live, and the gap is not random β it correlates with exactly the tokens that would have wrecked the statistic.
I learned that one in 2021 on an ERC-721 contract. Generative art, a clone of a famous collection, floor price climbing daily. I read the mint function instead of the roadmap. No access control on the owner mint path β arbitrary token creation, treasury drainable in a single transaction. I wrote the simulation in about a hundred lines of Python, published it on GitHub, and watched developers read it while buyers did not. The floor climbed for another three weeks. The exploit never needed to be clever. It needed the audience to be looking at a different number. The ledger remembers what the wallet forgets.
Which brings back the substitution error, the one the midterm note committed in its headline. Frequency is not probability. "95% of observed instances were up" is a claim about a sample that has already closed. "There is a 95% chance the next one is up" is a claim about a distribution you cannot see. The two get swapped because the swap costs nothing and audiences rarely bill for it. Crypto does this with yield. A 400% APY is a frequency β it describes what a pool paid over some trailing window, under some liquidity condition, before some emissions taper. It is not an expected return. It is a photograph of a party that has already ended.
When I audited Curve's stablecoin swap mechanics in 2020, I re-derived the invariant from first principles rather than trusting the paper. The discrepancy was not in the economics. It was arithmetic: a precision loss in the amplification coefficient that only bit during high volatility, patched in 0.1.3 after I sent the writeup. The pool's advertised figures were never wrong. They were sampled in conditions that excluded the one condition that mattered. Mathematical elegance does not guarantee security. It guarantees the failure will look tidy.
The identifiability trap shows up again in security marketing. "Audited by three top firms, zero exploits in two years." Those facts are collinear with TVL under fifty million. Small pools do not get attacked because the payoff does not clear the cost. The clean record measures the attack surface, not the code. In 2022 I spent three weeks on an opcode-level trace of a liquidation contract with a spotless audit history and a missing mutex. External call, state write, external call β I walked the stack instruction by instruction until the reentrancy path was visible. The audit was not wrong. It was scoped to functions that were not the ones being drained. Uniswap V4's hooks turned the DEX into composable Lego and pushed the real risk surface three layers deeper, into code that most teams composing on top of it will never read. Code is law, but bugs are the human exception.
The note had one more habit worth naming, because crypto repeats it weekly. It used drawdown as a quality metric β "the pullback was only half the historical average, therefore this cycle is stronger." Drawdown measures realized volatility. It says nothing about forward expected return, and low-volatility regimes regress with a reliability that should embarrass anyone using them as a signal. Translated into crypto: "our TVL drawdown was half the sector average, therefore the protocol is more robust." No. It means fewer holders tried to leave yet.
Same with the note's strongest verifiable claim β returns are independent of which party wins. Probably true. Also never tested, because the note never ran a grouped sample. Crypto has a direct analogue: every protocol that calls itself chain-agnostic or market-neutral and then shows you a single-regime backtest. Asserted. Never conditioned.
Window selection is the most under-audited decision in on-chain analytics, and it is almost always invisible in the final chart. "TVL grew 400%" means nothing until you know the starting trough β which was, in most 2023β2025 decks I have been shown, chosen after the data was in hand. I now ask every dashboard one question: what happens to this number if the window starts ninety days earlier? Almost nobody has run it. The ones who have usually shipped a longer lookback, because a longer lookback is the only honest one.
The discipline that fixes all of this is unglamorous and takes an afternoon. Pull the full series, not the window. Compute the base rate for every rolling period of the same length. Then ask whether the conditioned subset is distinguishable from the unconditioned population. In the midterm case it is not β base rate 65β70%, sample 22, conditioning variable collinear with time. In the halving case it is not either, at n = 3. In the security case the conditioning variable is TVL, not code quality, and nobody controls for it.
Here is the part that unsettles me more than the bad arithmetic. The returns in that note were real. Nobody fabricated eighty-four years of index data. The distortion happened in exactly two places β the choice of window, and the name printed on the coefficient β and both were made by someone who almost certainly believed they were being rigorous.
That is where the attack surface moved. Not the contract. The dataset.
Part of 2026 went into auditing a protocol built for AI agents executing DeFi strategies autonomously. The vulnerability was not in the settlement logic. It was temporal β a race condition in oracle input validation that an agent could exploit inside a high-frequency window. I built a formal verification model for those temporal inconsistencies and the core team adopted it. But a model only catches what you ask it to catch. An agent trained on a window-selected dataset inherits the window's bias and executes it thousands of times a day, at machine speed, with no analyst in the loop to notice that the edge was never there to begin with.
The backtest is a contract too, and nobody audits it.
A reentrancy bug at least leaves a call stack you can read. A bad sampler leaves a spreadsheet, and the spreadsheet looks confident.
Election day is November 3, 2026. Watch what happens to the narrative in the four weeks after β not to the market, to the story. If the year closes green, that note gets cited as prophecy. If it closes red, the window quietly changes and the 95% migrates to a footnote.
Somewhere this week a pitch deck is being written with its own nineteen for nineteen in it. Before you read slide two, ask the only question that matters.
What was the window?