How the score is computed
The score is deterministic: it sums the weight of each selected option across multiple-choice questions. Other question types (text, numeric, boolean, date) do not contribute to the score. An option with no weight contributes 0; unanswered questions contribute 0.Risk bands (score_class)
Bands are defined by each protocol: a name, a[min, max] range, and, optionally, a cadence adjustment (freq_override) for the next call. There is no fixed set of bands — each protocol defines its own. On publish, the bands must be contiguous, non-overlapping, start at 0, and cover the whole possible score range.
If a protocol defines no bands, the questionnaire stores the score without classifying it (score-only mode).
Risk and trend

run.previous_score variable exposes the previous call’s score for use within the flow.