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

Implement traffic light feedback #155

Open
lkeegan opened this issue Nov 11, 2024 · 0 comments
Open

Implement traffic light feedback #155

lkeegan opened this issue Nov 11, 2024 · 0 comments
Labels

Comments

@lkeegan
Copy link
Member

lkeegan commented Nov 11, 2024

We have the required data now (see #54) to calculate the traffic light feedback for each milestone group:

  • for each milestone group
    • for age range (child age +/- e.g. 6m) calculate s_bar + sigma of scores
    • calculate average score of child s
    • green if s > s_bar - sigma
    • yellow if s_bar - 2sigma < s < s_bar - sigma
    • red if s < s_bar - 2sigma

The details (how many sigma, what age range) may change but the overall scheme is now clear.

Should add logic to do this to the backend, plus endpoint to return a set of these traffic light feedbacks, one for each completed MilestoneAnswerSession, to be displayed in the frontend

@lkeegan lkeegan added enhancement New feature or request frontend backend labels Nov 11, 2024
@lkeegan lkeegan added this to the Minimal Viable Product milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant