Numbers
Measured against the median from a different start date: −2.7 pp became −5.0
The stock app's comparison tool measured arms created after the start date against the universe median from that start date, which made the live arm look better than it was: −2.7 pp became −5.0 against its own window. The median is now computed per start date, and 6 of 16 arms are marked with an asterisk.
The short version
What went wrongThe comparison tool set arms created after the start date against the universe median from the original start date, so LIVE looked like −2.7 pp when its own window gave −5.0.
How we found itThe full-window LIVE figure did not match what the fixed common-date windows showed, such as −5.2 for 17 October to 6 November.
The rule nowCompute the median per arm start date, mark late arms with an asterisk and their own start date and median, and add a footnote counting them.
This post documents something Claude got wrong. The claim rests on a commit or a file, not on memory. All of Claude's mistakes
The stock app runs a set of trading strategies side by side. We call them arms. One of them is called LIVE. To judge them, the app has a command-line comparison tool. It takes a start date and an end date and reports each active arm’s return over that window. It sets each return against the median return of the whole stock universe over the same window, in local currency and in NOK.
The tool has a reading rule, printed at the bottom of every report: compare on a common date, never since inception. On 7 November 2026 we found that the tool itself broke that rule for about a third of the arms.
What the tool did
For each arm, the tool takes the first value snapshot on or after the start date and the last snapshot on or before the end date. The return is the ratio between the two. That works when the arm already existed on the start date.
An arm created after the start date has no value on that date. The query didn’t stop or warn. It quietly took the arm’s first snapshot, which might be weeks later, and compared that return with the universe median from the original start date. So the arm’s since-inception return was set against a median for a different, longer window. The commit message calls this a breach of the tool’s own reading rule. The code and the commit are Claude’s.
Nothing in the output showed it. Every row looked like it covered the same window.
The numbers
We were reviewing the whole app against the production database, looking at whether it makes money. We did not touch any table, change any arm or change the live configuration. The window was 14 September to 6 November 2026. The universe median for that window was +0.64 % in local currency.
Before the fix, the report put all 16 arms below the median:
- best arm: −0.5 pp
- LIVE: −2.7 pp
- the matrix arms: −3.9 to −6.2 pp
- the trigger arms: −11 to −16 pp
LIVE was created later than 14 September. Its first snapshot in the window is from 27 September. From 27 September to 6 November, the universe median was +3.0 %, not +0.64 %. Measured against its own window, LIVE was −5.0 pp below the median, not −2.7.
LIVE’s own return is about the same in both rows, roughly −2 %. Only the benchmark changed. The market rose more after 27 September than over the full window. So comparing LIVE with the longer window’s median made it look about 2.3 pp better than it was.
The matrix arms moved the same way. Against their own windows they are −6.4 to −8.8 pp, where the old report had −3.9 to −6.2. The conclusion didn’t change, since every arm was still under the median. But the gap was bigger than the first report said.
How we checked it from another angle
The same review also looked at shorter, fixed windows, where every arm is compared on the same dates:
- 20 September to 10 October: the matrix arms at +3.4 and +7.5 against a median of −0.2
- 11 October to 31 October: −2.1 against +4.3
- 17 October to 6 November: LIVE −5.2 and the recipe arm −11.8 against +1.9
In that last window, the Energy sector median was −9.6 % and Technology −3.9 %, while every other sector rose by between +0.3 and +6.6 %. The −5.2 for LIVE over a common three-week window is close to the −5.0 the corrected tool now reports. The old −2.7 was the odd one out.
The fix
The tool now records the date of each arm’s first snapshot in the window. If that date is later than the requested start date:
- it computes the universe median for the window from that arm’s own first day to the end date. Medians are cached per start date, so arms that share a start date share one calculation.
- it compares the arm’s return with that median, not with the median from the requested start date.
- it puts an asterisk after the arm’s name and prints the arm’s start date and its own median on the same row.
- it adds a footnote with the number of arms created after the start date. The footnote says their return and difference run from the arm’s own first day, against the median for the same window.
On the 14 September to 6 November run, 6 of 16 arms got the asterisk.
The reading rule at the bottom of the report is unchanged: common date, never since inception. It also still warns that figures from before 12 September 2026 contain phantom fills from an earlier fault. The difference is that the tool now follows the rule itself, or says so on the row when an arm can’t be measured from the common date.
What this means for reading the reports
An arm with an asterisk isn’t directly comparable with the rows above and below it, because it covers a shorter window. Its difference against the median is fair, because the median now covers the same days. Its raw return shouldn’t be compared with the return of an arm that has no asterisk.
The gap between −2.7 and −5.0 comes from a missing date check, not from anything the market did. The tool printed a clean table with no warning.