Skip to content

Conversation

@eatyourpeas
Copy link
Member

Overview

A user in the server posted that the UK90 BMI response were missing values over 4 y
It is likely that the error was due to old files persisted in the server, since they are not calculated every time a call is made, but only created once on deploy.

However this PR refactors some bits of the create_chart function:

  • it replaces the 2/3 centile cole function which rounds centiles to the nearest 2/3 SDS of cole is requested
  • add some tests for the uk_who chart, especially length of the 0.4th centile of each measurement method and sex

@eatyourpeas eatyourpeas merged commit b5e9249 into live Jan 11, 2025
4 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.

2 participants