---
title: ScorerData
seo:
  title: ScorerData — Python SDK
  description: The result from a single scorer for one example. (Python SDK)
description: The result from a single scorer for one example.
---

Each `ScoringResult` contains a list of `ScorerData` -- one per scorer
that was run. Inspect `value` for the scorer's output.

## Attributes

| Prop | Type | Default | Description |
| - | - | - | - |
| `name?` | `str` | - | Scorer name (e.g. "faithfulness"). |
| `value?` | `Optional[Union[str, float]]` | `None` | The scorer result. Binary scorers use "Yes" or "No"; categorical scorers use their selected category. |
| `score_type?` | `Optional[str]` | `None` | Result type returned by the scorer. |
| `minimum_score_range?` | `float` | `0` | Lower bound of the scoring scale. |
| `maximum_score_range?` | `float` | `1` | Upper bound of the scoring scale. |
| `evaluation_model?` | `Optional[str]` | `None` | The LLM used to produce the score. |
| `error?` | `Optional[str]` | `None` | Error message if scoring failed. |
| `additional_metadata?` | `Dict[str, Any]` | `field(default_factory=dict)` | Extra metadata from the scorer. |
| `id?` | `Optional[str]` | `None` | Unique identifier for this result. |
| `success?` | `Optional[bool]` | `None` | Outcome of a client-side pass condition for the row this scorer result belongs to. None when no pass condition was evaluated. |

***

## to\_dict()

Serialize to a dictionary, omitting None fields.

```python
def to_dict() -> Dict[str, Any]:
```

### Returns

`Dict[str, Any]`
