Skip to content

docs(tasks): promote develop to main — clear stale task_safe links#374

Merged
bartzbeielstein merged 5 commits into
mainfrom
develop
Jun 13, 2026
Merged

docs(tasks): promote develop to main — clear stale task_safe links#374
bartzbeielstein merged 5 commits into
mainfrom
develop

Conversation

@bartzbeielstein

Copy link
Copy Markdown
Collaborator

Release-train promotion. Contains PR #373 (docs-only: removes dead task_safe_n_to_1* references from task_multi.qmd + regenerates stale freezes). No version-bumping commits → semantic-release cuts no release; docs.yml redeploys the cleaned site.

🤖 Generated with Claude Code

github-actions Bot and others added 5 commits June 12, 2026 22:56
The task_safe_n_to_1_with_covariates_and_dataframe console task and its
reference page were removed in 20.0.0, but docs/tasks/task_multi.qmd still
imported run_pipeline from it in an executed {python} cell and linked the
removed reference page twice. The cell only rendered because the page was
frozen; it would fail on any re-execution. Removes the dead 'n-to-1 task
entry point' section and the dead 'Where to go next' link, and regenerates
the affected freeze plus the stale n2n_predict_with_covariates_demo10 freeze
(which still carried a removed task_safe_n21_cov_df.qmd link). Full quarto
render is now warning-free.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ix-stale-task-links

docs(tasks): drop stale n-to-1 task wrapper references from task_multi
Resolve the three open code-scanning alerts on the default branch:

- py/uninitialized-local-variable (#211, #212) in
  test_target_corruption.py: `mask` was assigned inside a `try` whose
  `except` called `pytest.fail()`. CodeQL does not model `pytest.fail`
  as NoReturn, so it saw `mask` as possibly-unbound at the trailing
  `assert not mask.any()`. Drop the try/except wrapper and call
  detect_target_corruption directly — a raise already fails the test
  with a full traceback, which is the "must not raise" guarantee these
  cases assert.
- py/import-and-import-from (#213) in test_entsoe_loader.py: the module
  was imported both as `import ... as entsoe_loader` and via
  `from ... import (...)`. Drop the from-import and reference the
  loaders through the module alias. The alias must stay regardless —
  monkeypatch.setattr(entsoe_loader, "get_data_home", ...) patches the
  name in the loader's own namespace, which is where it is looked up.

Test-only change; no shipped behavior affected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ix-codeql-alerts

test(preprocessing,data): fix CodeQL alerts in tests
@bartzbeielstein bartzbeielstein merged commit ea4a1ba into main Jun 13, 2026
22 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