Skip to content

feat(schema): review_status + review_reason catalog columns - #67

Merged
timtreis merged 1 commit into
mainfrom
feat/catalog-review-status
Nov 3, 2026
Merged

timtreis merged 1 commit into
mainfrom
feat/catalog-review-status

Conversation

@timtreis

@timtreis timtreis commented Nov 3, 2026

Copy link
Copy Markdown
Member

Two nullable string columns for the live-but-flagged review marker (keep-live/flag/triage). review_status='under_review' when the dataset's candidate has a substantive metadata-correctness review reason (disease/tissue/organism/panel/TMA/relabel/…), else null; review_reason carries the reason text. The engine cut derives them from the current candidate via a frozen rule, so clearing the reason drops the marker at the next cut. Bare needs_review flags and provenance-only notes get no marker. Pairs with the engine cut PR.

Two nullable string columns for the live-but-flagged review marker (Tim's ruling:
keep live, flag, triage). review_status is 'under_review' when the dataset's
candidate carries a substantive metadata-correctness review reason, else null;
review_reason carries the reason text. Derived by the engine cut from the current
candidate (a frozen rule), so clearing the reason drops the marker at the next cut.
Bare needs_review flags and provenance-only notes get no marker.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 spatialdata-db | 🛠️ Build #35618566 | 📁 Comparing 2198aca against latest (fa5eb20)

  🔍 Preview build  

1 file changed
± reference/catalog-columns.html

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.67%. Comparing base (fa5eb20) to head (2198aca).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  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 7170bfe into main Nov 3, 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