Skip to content

test: bound weather prediction example#26

Merged
kholdrex merged 1 commit into
mainfrom
test/bound-weather-example
Jun 6, 2026
Merged

test: bound weather prediction example#26
kholdrex merged 1 commit into
mainfrom
test/bound-weather-example

Conversation

@kholdrex
Copy link
Copy Markdown
Member

@kholdrex kholdrex commented Jun 6, 2026

Summary

Bounds the weather prediction example so it remains practical to run as an interactive demo and in regression coverage. The example now uses deterministic synthetic weather data, smaller demo constants, and an explicit training configuration instead of relying on longer defaults.

Changes

  • Add named weather demo constants for dataset size, sequence length, hidden size, prediction window, epoch count, and RNG seed.
  • Generate synthetic weather fixtures from a seeded RNG so repeated demo/test runs are reproducible.
  • Add regression coverage for bounded weather training configuration, preview-window invariants, reproducible data, and generated weather value ranges.

Test plan

  • Rust formatting check passed.
  • Clippy passed with all targets and features.
  • Full test suite passed with all features.
  • Documentation generation completed.
  • Benchmark targets compiled successfully.
  • Independent code review found no blocking findings.

@kholdrex kholdrex merged commit c730dce into main Jun 6, 2026
1 check passed
@kholdrex kholdrex deleted the test/bound-weather-example branch June 6, 2026 19:59
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