Skip to content

release: ephemeris + day-type calendar features#348

Merged
bartzbeielstein merged 4 commits into
mainfrom
develop
Jun 8, 2026
Merged

release: ephemeris + day-type calendar features#348
bartzbeielstein merged 4 commits into
mainfrom
develop

Conversation

@bartzbeielstein
Copy link
Copy Markdown
Collaborator

Promotes #347 (feat(calendar): ephemeris solar-geometry + day-type refinement). Expected bump: minor → 19.3.0. All develop CI green. 🤖 Generated with Claude Code

github-actions Bot and others added 4 commits June 8, 2026 16:22
Two opt-in, deterministic, leakage-free calendar feature blocks (default off
→ byte-identical baseline), implementing chapter-16 "adopt next" #1 ephemeris
and #2 day-type.

- get_ephemeris_features (calendar/features.py): continuous solar geometry the
  hour-of-day RBFs only encode implicitly — per-hour solar_elevation, exact
  daylight_duration_h, and signed hours_since_sunrise / hours_to_sunset. Pure
  astral (already a dep), no network, no leakage. Refs xieh18a, lope20a.
- create_day_type_df / get_day_type_features (calendar/holiday.py): is_workday
  plus an integer day_type class (workday/Saturday/Sunday/public-holiday, with
  holiday precedence) from pure calendar arithmetic. Ref ziel18a.
- ConfigMulti: include_ephemeris_features, include_day_type_features; wired in
  BaseTask.build_exogenous_features (steps 4c-bis / 4e), getattr-guarded.

Note: school-holiday-per-Bundesland (also in #2) deferred — needs a bundled
static dataset; tracked as a further step in the KB.

Tests: 13 new (correctness, determinism, seasonal/holiday edge cases). Suite
2412 passed, coverage 72.0%; calendar/features 100%, calendar/holiday 96%.
Docs reference regenerated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…phemeris-day-type-features

feat(calendar): ephemeris solar-geometry features + day-type refinement (#1, #2)
## [19.3.0-rc.1](v19.2.0...v19.3.0-rc.1) (2026-06-08)

### Features

* **calendar:** ephemeris solar-geometry features + day-type refinement ([6bb3359](6bb3359)), closes [#1](#1) [#2](#2) [#2](#2)
@bartzbeielstein bartzbeielstein merged commit db814d4 into main Jun 8, 2026
1 check 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.

2 participants