docs(tasks): promote develop to main — clear stale task_safe links#374
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release-train promotion. Contains PR #373 (docs-only: removes dead
task_safe_n_to_1*references fromtask_multi.qmd+ regenerates stale freezes). No version-bumping commits → semantic-release cuts no release; docs.yml redeploys the cleaned site.🤖 Generated with Claude Code