Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sds-based-validation #233

Merged
merged 10 commits into from
Nov 5, 2024
Merged

Sds-based-validation #233

merged 10 commits into from
Nov 5, 2024

Conversation

eatyourpeas
Copy link
Member

Overview

Deprecates absolute value cut offs for observation_value validations.
Following meetings with Prof Cole and Prof Wright agreed that:
advisory cut offs at ±4 SDS, error cutoff at ±8 (15 for BMI)

Pydantic/FastAPI implementations of these cut offs now also here.

Fixes #232 (where rounding to 4dp failing if None values)

Tests added for all routes including tests for errors / 422 responses

@eatyourpeas eatyourpeas merged commit 911bad7 into live Nov 5, 2024
4 checks passed
@eatyourpeas eatyourpeas deleted the sds-based-validation branch November 5, 2024 22:39
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.

NoneType doesn't define __round__ method
1 participant