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

# Judge Result • Rust AI Agent SDK

> JudgeResult: Result from a judge.

# JudgeResult

> Defined in the [**eval**](../modules/eval) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Result from a judge.

## Fields

| Name         | Type                | Description |
| ------------ | ------------------- | ----------- |
| `score`      | `f64`               | Score       |
| `reasoning`  | `String`            | Reasoning   |
| `passed`     | `bool`              | Pass/fail   |
| `metadata`   | `HashMap&lt;String` | Metadata    |
| `serde_json` | `:Value&gt;`        | Metadata    |

## Methods

### `new`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn new(score: f64, reasoning: impl Into<String>, passed: bool) -> Self
```

Create a new result.

**Parameters:**

| Name        | Type                      |
| ----------- | ------------------------- |
| `score`     | `f64`                     |
| `reasoning` | `impl Into&lt;String&gt;` |
| `passed`    | `bool`                    |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/eval/mod.rs#L724">
  `praisonai/src/eval/mod.rs` at line 724
</Card>
