---
title: Risk tab
description: How the instance's total risk score was calculated under the assigned profile.
editUrl: true
head: []
template: doc
sidebar:
  hidden: false
  attrs: {}
pagefind: true
draft: false
---

How Prefactor scored this run under the agent's assigned
[risk profile](/platform/concepts/risk-profile). The score and risk level are
summarised above the tabs; this tab shows what went into them.

## How risk is calculated

Prefactor restates the scoring model for the assigned profile so you can read it
without leaving the page: each span type's score is the sum of
`category weight × action multiplier` across its declared categories and actions,
and the instance total weights each span type's score by how many spans of that
type ran. The thresholds, included categories with their weights, and allowed
actions with their multipliers from the profile are shown alongside.

## Score composition

Prefactor breaks the instance total down by span type. For each span type that
contributed, you get the span type name, the number of spans of that type recorded
for this run, that type's share of all spans, and the points it added to the total.
A summed equation reconciles those contributions with the instance score.

## Related

- [Risk profile](/platform/concepts/risk-profile) — how profiles define weights, multipliers, thresholds, and agreed scope.
- [Agent instance page](/admin-ui/agent-instance) — the risk score summary and the strip above the tabs.
- [Activity tab](/admin-ui/agent-instance/activity) — per-span inspection.