Skip to content

Fix numerical validation and tiler stride - #676

Open
mikemikimike wants to merge 1 commit into
open-edge-platform:masterfrom
mikemikimike:codex/issue-675-numerical-validation
Open

mikemikimike wants to merge 1 commit into
open-edge-platform:masterfrom
mikemikimike:codex/issue-675-numerical-validation

Conversation

@mikemikimike

Copy link
Copy Markdown

Summary

  • Validate explicit numeric zero values against choices and bounds while preserving None and integer inputs for float parameters.
  • Report the configured maximum in maximum-bound validation errors.
  • Reject tiling configurations that produce a stride smaller than one pixel.

Tests

  • uv run --locked pytest tests/unit --cov in model_api (1309 passed, 100% coverage).
  • uv run --locked --group tests pytest tests/unit --cov in model_converter (494 passed, 94.5% coverage).
  • uv run --locked pytest --data=./data tests/functional in model_api (48 passed).

Fixes #675

#675

@mikemikimike
mikemikimike requested a review from a team as a code owner November 28, 2026 18:35
@github-actions github-actions Bot added tests Related to tests python python related changes labels Nov 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python related changes tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NumericalValue.validate skips every check for 0, and tiles_overlap=1.0 passes validation but crashes the tiler

1 participant