Score an assessment
score_assessmentRuns the same deterministic rules engine the website uses for one of the assessments and returns the headline, module scores, flags and the plan. No model is involved: the result is computed from published rules, exactly as a visitor to the site would get. Answers: scale questions take 0 to 3 (worst to best anchor) or "dk" for don't know; single-choice questions take the option value; multi-select questions take an array of option values, e.g. {"CTX-markets": ["eu", "uk"]}. Unknown question ids or invalid values are rejected with an error listing them. Unanswered questions lower confidence rather than the score, and the result carries an "evidence" field: with no scored questions answered the headline is "Not enough answers", and below half confidence the headline is marked provisional. The result is a diagnostic to guide a conversation, not advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | Yes | ||
| answers | Yes | Question id to answer. |