> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cybreeze.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Logic and scoring

> Conditional questions and how risk scores are calculated.

Templates support two optional power-ups: **show-if logic** and **answer weighting**.

## Show-if logic

Use this to hide a question unless a prior answer makes it relevant.

**1. Pick the trigger answer**

Open the *parent* question — the one whose answer decides visibility. Make sure it's above the conditional question in the template.

**2. Open the conditional question**

Click it in the builder.

**3. Turn on Show only if…**

Select the parent question. Pick the answer (or answers) that should reveal this question. Save.

**Example.** Parent: *"Do you process customer payment data?"* (yes/no). Conditional child: *"Provide your most recent PCI-DSS attestation."* Hidden unless the vendor answered *yes*.

> [!NOTE]
>
> Logic is evaluated in the vendor-facing form. Hidden questions aren't required and don't show up on submit.

## Answer weighting

Some answers are better than others. Weighting lets you turn a questionnaire into a risk score.

| Type | Weighting support |
| - | - |
| Single select | Per-option score. The selected option's score contributes. |
| Multi select | Per-option score. All selected options' scores sum. |
| Yes / no | Two scores: one for *yes*, one for *no*. |
| Short / long text, file upload | No automatic scoring (manual review only). |

Set scores when editing the question — each option has an optional **score** field.

### How scores roll up

Across the whole assessment:

1. Sum the scores of every weighted answer.
2. Divide by the maximum possible total (the score you'd get picking the worst option on every weighted question).
3. The result is the assessment's **risk score** — a percentage. Higher = riskier.

The score appears:

* On the assessment summary screen after submission.
* On the vendor record, as the result of the latest completed assessment.
* In reports generated from the assessment.

> [!TIP]
>
> **Start without scoring**
>
> Don't bother with weights on day one. Get your questions and templates right first; layer in scoring once you have a feel for what "good" and "bad" look like in real responses.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.