You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Baseline | Previous bucket | Training period average |
146
145
146
+
### How severity levels work
147
+
148
+
This test has built-in dual severity using dbt's `warn_if` / `error_if` config. You do **not** need to set `config.severity` yourself. The behavior is:
149
+
150
+
- Change exceeds `warn_threshold_percent` but not `error_threshold_percent` → **dbt warning**
- Change is below `warn_threshold_percent` → **pass**
153
+
154
+
For example, with `warn_threshold_percent: 3` and `error_threshold_percent: 8`:
155
+
- A 2% drop → pass
156
+
- A 5% drop → warning
157
+
- A 10% drop → error
158
+
159
+
<Warning>
160
+
Do not set `config.severity: error` on this test. That would override the built-in dual severity and turn all warnings into errors, defeating the purpose of having separate thresholds.
161
+
</Warning>
162
+
147
163
### Notes
148
164
149
165
- The `warn_threshold_percent` must be less than or equal to `error_threshold_percent`
0 commit comments