Skip to content

Release: tested package, browser dashboard and CI - #2

Merged
digomes87 merged 4 commits into
mainfrom
develop
Oct 11, 2026
Merged

digomes87 merged 4 commits into
mainfrom
develop

Conversation

@digomes87

Copy link
Copy Markdown
Owner

Summary

Promote develop to main:

  • bee_migration package and bee-migration command replacing the flat scripts
  • Browser dashboard in docs/ with live GBIF and Open-Meteo data
  • CI and Pages workflows, Git Flow guide

Details and behaviour changes are in #1.

After merging

  • Set Pages source to "GitHub Actions" so the Pages workflow can deploy
  • Confirm https://digomes87.github.io/Bees/ computes a study
  • Protect main and develop (pull request and CI required)

Replace the flat scripts with a tested package split into climate,
analysis, prediction, evidence, charts and reports, exposed through the
bee-migration command.

- Hold out the most recent years chronologically when scoring models and
  drop the same-year target change from the features, which leaked the
  answer into training
- Compare temperature with bee abundance in later years for lagged
  correlations; the previous code compared the same year for every lag
- Validate observations at the boundary and report a missing data file
  instead of silently falling back to simulated data
- Consolidate packaging, pytest and ruff configuration in pyproject.toml
- Regenerate reports, data and charts with the new pipeline and stop
  tracking trained model files
Run the package inside the page with Pyodide: a visitor picks the seed,
the held-out years and the measurement to forecast, and the study is
computed on their machine and drawn as accessible SVG charts with a table
view for each.

A separate chapter loads observed temperatures from Open-Meteo and bee
occurrence counts from GBIF, parsed by the new bee_migration.sources
module, and states plainly that record locations follow observers as
much as bees.
CI lints and tests the package and the site utilities on pull requests
and pushes to develop and main. Pages builds the package into the site
and deploys it on pushes to main.
Restructure into a tested package and add the browser dashboard
@digomes87
digomes87 merged commit 23e14d5 into main Oct 11, 2026
7 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