The annual EES DAG's dbt build --select list didn't include stg_ees_ks4_national+, so yesterday's run loaded the raw data but never rebuilt the staging model or fact_ks4_national_averages — staging still serves the old computed means (A8 38.94 instead of the official 46.0).
One-line fix: add stg_ees_ks4_national+ to the selector.
After merge + deploy: re-trigger school_data_annual_ees (the raw extract will be a no-op refresh; the dbt step will build the official mart). Then the expert's post-DAG verification list applies — England A8 ~46.0 everywhere, and Hessle's A8 chip flipping to "Below England average".
The annual EES DAG's `dbt build --select` list didn't include `stg_ees_ks4_national+`, so yesterday's run loaded the raw data but never rebuilt the staging model or `fact_ks4_national_averages` — staging still serves the old computed means (A8 38.94 instead of the official 46.0).
One-line fix: add `stg_ees_ks4_national+` to the selector.
**After merge + deploy: re-trigger `school_data_annual_ees`** (the raw extract will be a no-op refresh; the dbt step will build the official mart). Then the expert's post-DAG verification list applies — England A8 ~46.0 everywhere, and Hessle's A8 chip flipping to "Below England average".
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB
The DAG's dbt --select list predates the official-KS4-nationals stream,
so the extract loaded raw.ees_ks4_national but the staging model and
fact_ks4_national_averages were never rebuilt — staging kept serving the
old computed means after the DAG run.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB
One-line fix adding stg_ees_ks4_national+ to the dbt build --select list, mirroring the existing stg_ees_ks2_national+ selector so the KS4 national benchmark model gets built in the annual EES DAG. The change is minimal, follows the established pattern in the same command, and doesn't touch any other pipeline logic.
✅ No issues found.
## 🤖 AI Code Review (Claude Code)
One-line fix adding stg_ees_ks4_national+ to the dbt build --select list, mirroring the existing stg_ees_ks2_national+ selector so the KS4 national benchmark model gets built in the annual EES DAG. The change is minimal, follows the established pattern in the same command, and doesn't touch any other pipeline logic.
✅ No issues found.
tudor
merged commit 1004f08daf into main2026-07-17 13:28:08 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The annual EES DAG's
dbt build --selectlist didn't includestg_ees_ks4_national+, so yesterday's run loaded the raw data but never rebuilt the staging model orfact_ks4_national_averages— staging still serves the old computed means (A8 38.94 instead of the official 46.0).One-line fix: add
stg_ees_ks4_national+to the selector.After merge + deploy: re-trigger
school_data_annual_ees(the raw extract will be a no-op refresh; the dbt step will build the official mart). Then the expert's post-DAG verification list applies — England A8 ~46.0 everywhere, and Hessle's A8 chip flipping to "Below England average".🤖 Generated with Claude Code
https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB
🤖 AI Code Review (Claude Code)
One-line fix adding stg_ees_ks4_national+ to the dbt build --select list, mirroring the existing stg_ees_ks2_national+ selector so the KS4 national benchmark model gets built in the annual EES DAG. The change is minimal, follows the established pattern in the same command, and doesn't touch any other pipeline logic.
✅ No issues found.