score_test
Score a finished test. answers is the list of answer values in question order (PHQ-9: nine values 0-3; SAS: 33 values 1-6). Present the result with care, include helplines if returned, and remind the user this is a screening, not a diagnosis.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | Yes | phq9 = depression (9 questions), sas = smartphone addiction (33 questions) | |
| locale | No | Language of the questions and result: uk, en, hr, ru, pl. Use the language the user speaks. | uk |
| answers | Yes |