Batch request without causing errors, enhance guidelines, setup instructions, and notebook formatting - #2
Merged
Merged
Conversation
…mporary identifiers
…mporary identifiers
…agent instructions
- Updated `.pre-commit-config.yaml` to include Jupyter notebooks in the ruff format hook. - Added a new task `release:publish` in `Taskfile.yaml` to streamline the release process by pushing the release commit and its tag to origin. - Enhanced the README.md with additional task descriptions for `release:publish`. - Refactored multiple notebooks to improve code formatting and readability, including consistent use of double quotes and better error messages. - Added a newline in the bootstrap cell of several notebooks for improved formatting. - Updated test cases to ensure notebooks start with the correct bootstrap cell format.
shackmann
requested review from
DRMetaplectic,
j1z0 and
mariusvilkas
as code owners
July 28, 2026 06:41
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.
Note
Medium Risk
Changes the sample-forecast request path and default HTTP retry behavior for all clients using defaults; release publishing is new but gated with checks.
Overview
forecast_samplesnow readsmax_sample_countfrom/healthz(cached on the client) and splits oversizedn_samplesinto capped predict batches before the first call, instead of relying on a rejected predict andINPUT_SIZE_EXCEEDED. Health-less configs still learn the cap from the structured error path.Transport defaults bump retries (
max_attempts5,max_backoff_seconds60) inRetryConfig, samples, and docs.Contributor workflow:
task run,install:ripgrep, parallel tests (pytest-xdist,-n autoin Taskfile and pre-commit), Ruff format on notebooks, and a guardedtask release:publish(single-tag push + confirmation).AGENTS.mdaddstask run, ripgrep, stricter git rules, and context-before-questions guidance. README covers Docker group membership for license hooks and the separated publish step.Reviewed by Cursor Bugbot for commit efc50e5. Bugbot is set up for automated code reviews on this repo. Configure here.