fix(pipeline): annual DAG never builds the official KS4 national mart #54

Merged
tudor merged 1 commits from fix/annual-dag-ks4-national-selector into main 2026-07-17 13:28:08 +00:00
Owner

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.ai/code/session_0146VHeLAWjDVE2B5uU67jCB

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
tudor added 1 commit 2026-07-17 13:15:11 +00:00
fix(pipeline): build stg_ees_ks4_national in the annual EES DAG
PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 1m5s
PR Checks / Backend Smoke (pull_request) Successful in 7s
PR Checks / Build Backend (no push) (pull_request) Successful in 11s
PR Checks / Build Frontend (no push) (pull_request) Successful in 49s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 37s
PR Checks / AI Code Review (Claude) (pull_request) Successful in 17s
79246edc22
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

🤖 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.

## 🤖 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 main 2026-07-17 13:28:08 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tudor/school_compare#54