Skip to content

de_sh: backfill 2023-2025; per-edition column names, German date, decimal-comma area - #227

Merged
m-mohr merged 1 commit into
mainfrom
de-sh
Sep 8, 2026
Merged

de_sh: backfill 2023-2025; per-edition column names, German date, decimal-comma area#227
m-mohr merged 1 commit into
mainfrom
de-sh

Conversation

@m-mohr

@m-mohr m-mohr commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This one is cherry-picked from #223 and merges into main instead.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The 2023-specific aliases and archive handling lack dedicated regression coverage.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Backfills DE-SH conversion for 2023–2025 with edition-specific formats.

Changes:

  • Normalizes edition-specific columns and archive contents.
  • Parses German dates and decimal-comma areas.
  • Adds required-output-column checks.
File summaries
File Description
tests/test_convert.py Adds required DE-SH output-field assertions.
fiboa_cli/datasets/de_sh.py Implements edition-specific conversion and parsing fixes.
CHANGELOG.md Documents the converter fixes.
Review details
  • Files reviewed: 3/4 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +53 to +56
# 2023; flgesamt (gross) equals flnetto (net) in all 198,614 rows
"flident": "FLIK",
"flgesamt": "Flaeche",
"hbn": "HBN",
Comment thread tests/test_convert.py
Comment on lines +110 to +112
expected_columns = {
"de_sh": ("determination:datetime", "metrics:area", "flik", "hbn", "id"),
}
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.

4 participants