Skip to content

Scope bernco product statewide to dedupe its source fetch#94

Merged
jirhiker merged 1 commit into
mainfrom
chore/bernco-statewide-scope
Jun 29, 2026
Merged

Scope bernco product statewide to dedupe its source fetch#94
jirhiker merged 1 commit into
mainfrom
chore/bernco-statewide-scope

Conversation

@jirhiker

Copy link
Copy Markdown
Member

Follow-up to the cohort-jobs change (#93). The bernco source (BernCoWaterLevelSource) is county-scoped by construction — all its wells are in Bernalillo — so the county_Bernalillo filter on bernco_waterlevels_timeseries was a no-op.

Switching that product to state_NM scope (keeping include: [bernco]) yields identical output but lets it share the statewide bernco source asset instead of unifying bernco a second time under its own scope.

Effect:

  • bernco unifies once; source assets 87 → 86.
  • Removes the singleton Bernalillo cohort — bernco_waterlevels_timeseries joins the waterlevels_timeseries_state_NM cohort; cohort jobs 5 → 4.

Caveat: the county filter was a cheap guard against a stray out-of-county well; removing it trusts the source's construction (low risk — it's county-scoped).

dg check defs clean; 277 offline tests pass.

🤖 Generated with Claude Code

The bernco source is county-scoped by construction (all wells in
Bernalillo), so the county_Bernalillo filter was a no-op. Switching the
bernco product to state_NM scope (keeping include:[bernco]) yields
identical output but lets it share the statewide bernco source asset
instead of unifying bernco a second time under its own scope.

Removes the singleton Bernalillo cohort: bernco_waterlevels_timeseries
now joins the waterlevels_timeseries_state_NM cohort. Source assets
87 -> 86, cohort jobs 5 -> 4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

Your pull request is automatically being deployed to Dagster Cloud.

Location Status Link Updated
die-orchestration View in Cloud Jun 29, 2026 at 03:20 AM (UTC)

@jirhiker jirhiker merged commit 9f2cc8d into main Jun 29, 2026
3 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