Guide

Scoring

Comflyant can compute a form's score — a plain sum or mean of its integer answers. It is a bare number, and that's deliberate.

A bare number, never interpreted

A score is a straightforward aggregate of the answers to a template's scorable questions. Comflyant never interprets it — no severity bands, thresholds, risk flags, or recommendations. Interpretation is a clinical judgement for the controller (you), never for us.

This is not a limitation we're apologising for — it's a design boundary that keeps Comflyant a data processor and not a regulated medical device. We capture and surface responses; you decide what they mean. See our trust & security page.

How a score is computed

Scoring is configured per template version. When enabled, each scorable question contributes a number, and the configuration decides how they combine:

  • Aggregation — sum (add the contributions) or mean (their average).
  • Null handling — require_all (don't produce a score unless every scorable question is answered, since a partial aggregate would mislead) or ignore_missing (aggregate over only what was answered).

Each question type contributes in the obvious way: a number or scale answer is its value; a yes/no is 1 or 0; a choice question (when its option values are numeric) contributes the picked value. These are the exact rules the server applies.

Reading the result

A completed form carries two fields:

score
The computed aggregate, or null when no score was produced.
score_status
computed — a score is present; not_scored — scoring is enabled but no score could be computed (e.g. require_all and a scorable answer is missing); null — scoring is disabled for this template.

The same score / score_status are included in the form.completed webhook payload, so you get them without a follow-up read.

The authoritative, field-by-field meaning of score, score_status, and the scoring config (aggregation, null_handling) lives in the API reference — those descriptions are generated from the schema the server uses, so this guide can stay about the concept while the details never drift.