Skip to content

Validate malformed noul criteria on /v1/systemone - #11

Merged
Mapika merged 1 commit into
Mapika:mainfrom
dajiaohuang:fix-noul-criteria-validation
Sep 24, 2026
Merged

Mapika merged 1 commit into
Mapika:mainfrom
dajiaohuang:fix-noul-criteria-validation

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Rejects malformed noul/bool criteria with a field-specific validation response. Regression tests verify HTTP 422 before forwarding.

Checks: focused suite 44 passed; git diff --check passed. Full suite: 160 passed, 2 skipped; 4 CUDA-related assertion/memory failures remain.

Closes #10.

@Mapika
Mapika merged commit 421c3f0 into Mapika:main Sep 24, 2026
@Mapika

Mapika commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Thank you. Reproduced on b44b4c9, and the fix is right: the spec for noul criteria is a map or null, so rejecting other values with 422 before any forward pass is what we want. Merged; it will be in 1.2.2.

Mapika added a commit that referenced this pull request Sep 24, 2026
…ning exit status

- scripts/train.sh sets pipefail; scripts/run_full.sh writes FULL_RUN_DONE only on success (fixes #14)
- scripts/stage_release.py also stages mps_ops and mps_moe, which the engine loads on MPS
- changelog for #11 and #13, version 1.2.2

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

Malformed noul criteria returns HTTP 500 on /v1/systemone

2 participants