Spaces:
Running on Zero
Label the untreated reference in Studio charts
The radial canvas caption and the two top-gene bar headings described shifts as "vs baseline." In Studio, untreated expression and the mean-shift baseline are separate quantities. Percentages are computed as 100 * ((1 + predicted normalized expression) / (1 + untreated normalized expression) - 1), so they are relative to the untreated value with a pseudocount of 1. I replayed seven saved bfloat16 MPS completions in Studio over local HTTP in Chrome. A separate NumPy replay built from the raw completions and shipped assets matched all 70 displayed values within 0.07 percentage points of the untreated reference.
Using the mean-shift reference with the same pseudocount, 62 of the 70 values differ by more than one percentage point. In the MYC preset, TXNIP displays +146.8% vs untreated and would be +82.4% vs the mean-shift baseline. This patch changes all three labels to state the untreated reference and the pseudocount of 1. The browser replays reproduced all 70 chart rows byte for byte. The regression test python tests/test_chart_reference.py fails on main and passes with this patch.
🤖 Generated with Claude Code