Skip to content

Batch request without causing errors, enhance guidelines, setup instructions, and notebook formatting - #2

Merged
shackmann merged 13 commits into
mainfrom
stefan/work
Jul 28, 2026
Merged

Batch request without causing errors, enhance guidelines, setup instructions, and notebook formatting#2
shackmann merged 13 commits into
mainfrom
stefan/work

Conversation

@shackmann

@shackmann shackmann commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

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_samples now reads max_sample_count from /healthz (cached on the client) and splits oversized n_samples into capped predict batches before the first call, instead of relying on a rejected predict and INPUT_SIZE_EXCEEDED. Health-less configs still learn the cap from the structured error path.

Transport defaults bump retries (max_attempts 5, max_backoff_seconds 60) in RetryConfig, samples, and docs.

Contributor workflow: task run, install:ripgrep, parallel tests (pytest-xdist, -n auto in Taskfile and pre-commit), Ruff format on notebooks, and a guarded task release:publish (single-tag push + confirmation). AGENTS.md adds task 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.

shackmann added 12 commits July 9, 2026 09:39
- 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
shackmann merged commit d37537a into main Jul 28, 2026
2 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