Spaces:
Running on Zero
Running on Zero
Label the mean-shift baseline in Studio CSV exports
#7
by rpinho1 - opened
I replayed seven saved CellGemma Studio runs over local HTTP in Chrome. All 629 CSV rows carried a per-cell mean-shift baseline under the header global_mean_log_expr. I rebuilt every value from the public control and shift files. The baseline is the selected cell's untreated log expression plus the shipped gene-level mean shift, clipped at zero. For example, a K562 LTB row with untreated log expression 0 and shift 0.041876 exports 0.0420.
I renamed the header to mean_shift_baseline_log_expr and verified that all 629 data rows were identical. The regression test fails on main and passes with the updated header. Run it with node tests/test_csv_baseline.cjs from the Space checkout.
🤖 Generated with Claude Code