Repository navigation
docs(reconcile): the country code is the caller's, not necessarily country_id - #304
Merged
Merged
Conversation
…untry_id The reconcile docstrings, the Reconcile CIC and the README called the injected country value `country_id`. The code groups by whatever integers it is given, and views-models injects GAUL gaul0_code for datafactory ensembles such as chrome_box. The old wording led a sibling session to believe chrome_box reconciles by VIEWS country_id. Wording only; no behaviour change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q77JMFJbxEabjGdAh8jHWA
They were the only jobs without a Python version, so uv took the runner's newest, now 3.14, and the locked pyarrow 19.0.1 has no 3.14 wheel and fails to build. Every PR failed these two jobs regardless of content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q77JMFJbxEabjGdAh8jHWA
Polichinel
added a commit
that referenced
this pull request
Nov 16, 2026
No package behaviour change; no release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q77JMFJbxEabjGdAh8jHWA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The reconciliation docs called the injected country value
country_id. The code groups by whatever integers the caller passes. views-models passes GAULgaul0_codefor datafactory ensembles such aschrome_box, and VIEWScountry_idfor viewser ones. The old wording made a sibling session believechrome_boxreconciles by VIEWS country_id.This changes wording only, in the docstrings of
grouping.py,module.pyandframes.py, indocs/CICs/Reconcile.mdand in the README. Behaviour doesn't change, and no release is needed.The CIC now also says that if the grid-cell table and the country forecast share no codes, reconciliation raises an error. Codes that are shared but mean different countries can't be detected here.
Not changed: ADR-023 (an accepted record), and the
SpatialLevel.CMcolumn labelcountry_id, which is part of the frozen API.Also fixes CI (second commit): the
formatandimportsjobs were the only ones without a Python version, so uv picked the runner's newest, 3.14, and the locked pyarrow 19.0.1 has no 3.14 wheel. Every PR failed them. Both are now pinned to 3.12, like the other jobs pin theirs.Checks: ruff, mypy (default and py3.11), lint-imports, pytest (495 passed, 100% coverage) and validate_docs all pass.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q77JMFJbxEabjGdAh8jHWA