-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Problem
16 dbt schema models and 21 merge scripts exist but have zero dbt tests.
Proposed Solution
- Add
schema.ymlfiles with column-level tests:not_nullon primary keys and critical columnsuniqueon business_key_hashaccepted_valuesfor categorical columnsrelationshipsbetween silver tables (e.g., heart_rate to personal_info)
- Add custom data tests:
- No future dates
- No negative durations
- Heart rate within physiological range (30-220 bpm)
- Test
dbt testruns clean against dev DuckDB
Acceptance Criteria
- Every silver model has at least 3 dbt tests
-
dbt testpasses on dev database - Custom data quality tests for physiological ranges
Reactions are currently unavailable