Print a message when a survey item response is rejected from database import due to an invalid likert score

This commit is contained in:
Nelson Jovel 2022-04-15 12:49:03 -07:00
parent d4413f6886
commit 2d945fb696
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# Decision record 8
# Capture information about rejected survey item responses
## Status
Completed
## Context
The script to import survey item responses was previously silently rejecting values outside of the likert score range of 1-5. This led to situations where the average scores on google sheets did not match the average likert score on the site. The google sheets score was averaging invalid likert scores where the site was not.
## Decision
Now instead of silently rejecting invalid values we print any values we rejected.
## Consequences
This change should make it clearer when some data is being filtered from upload to the database