Skip to content

schema(catalog): add low_obs boolean column - #66

Merged
timtreis merged 1 commit into
mainfrom
feat/low-obs-column
Nov 2, 2026
Merged

timtreis merged 1 commit into
mainfrom
feat/low-obs-column

Conversation

@timtreis

@timtreis timtreis commented Nov 2, 2026

Copy link
Copy Markdown
Member

Adds a nullable boolean low_obs to the catalog schema — a low-N review flag, true when the primary table has <100 observations (spots/cells/bins), null when n_obs is unknown. The engine cut computes it from n_obs (paired engine PR); it is not a per-dataset stored field and requires no re-version of live artifacts. Reach in catalog-2026-11-01: 41 rows (37 SpatialTranscriptomics, 3 MIBI, 1 Merscope) + METABRIC's ~31 once it's live. Test: test_low_obs_column_present_and_typed. 42 schema tests pass.

A low-N review flag: true when the primary table has <100 observations
(spots/cells/bins), null when n_obs is unknown. The cut computes it from n_obs;
no per-dataset stored field, no re-version of live artifacts.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 spatialdata-db | 🛠️ Build #35581176 | 📁 Comparing 0212536 against latest (227778c)

  🔍 Preview build  

1 file changed
± reference/catalog-columns.html

@codecov

codecov Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.67%. Comparing base (227778c) to head (0212536).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   94.67%   94.67%           
=======================================
  Files          22       22           
  Lines        2291     2291           
=======================================
  Hits         2169     2169           
  Misses        122      122           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timtreis
timtreis merged commit fa5eb20 into main Nov 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant