Spaces:
Running on Zero

Clarify which genes the Studio CSV exports

#8
by rpinho1 - opened

The Studio CSV tooltip says the download contains all predicted single-cell gene shifts. The export contains the model-emitted genes recognized by the decoder. I replayed seven saved bfloat16 MPS runs over local HTTP in Chrome and got 89โ€“90 rows per CSV from panels of 18,238 or 19,720 genes. In each run, 7,725โ€“10,265 genes omitted from the CSV had a mean-shift baseline more than 0.001 log-expression units away from untreated. In the Panobinostat replay, for instance, the untreated value for MT-CO3 was 0.7940 and the baseline prediction was 0.5915. The gene was absent from the CSV.

I updated the tooltip to state that mean-shift-only genes are excluded. All seven CSVs matched byte for byte after the change. The regression test, python tests/test_csv_scope.py, fails on main and passes with this fix.

๐Ÿค– Generated with Claude Code

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment