# ModelRunJudgeOptions

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.modelrunjudgeoptions/
> Summary: ModelRunJudgeOptions: Options for the built-in model-based judge (Tracon.ModelRunJudge).

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Core.dll</code></div>

Options for the built-in model-based judge ([Tracon.ModelRunJudge](/api/tracon/)).

```csharp
public sealed class ModelRunJudgeOptions
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.modelrunjudgeoptions/">ModelRunJudgeOptions</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

Values do not come from a configuration section. Since [ModelBinding](/api/tracon.modelbinding/)
is a nested type, this project configures it in code through
[TraconOnlineEvaluationBuilderExtensions.AddModelRunJudge](/api/tracon.tracononlineevaluationbuilderextensions/#Tracon_TraconOnlineEvaluationBuilderExtensions_AddModelRunJudge_Tracon_ITraconBuilder_System_Action_Tracon_ModelRunJudgeOptions__).

## Constructors

### <a id="Tracon_ModelRunJudgeOptions__ctor"></a> ModelRunJudgeOptions\(\)

```csharp
public ModelRunJudgeOptions()
```

## Properties

### <a id="Tracon_ModelRunJudgeOptions_Criteria"></a> Criteria

The scoring criteria. They form the prompt body.

```csharp
public IList<string> Criteria { get; }
```

#### Property Value

 [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist\-1)<[string](https://learn.microsoft.com/dotnet/api/system.string)\>

### <a id="Tracon_ModelRunJudgeOptions_Instructions"></a> Instructions

Additional instructions for the judge.

```csharp
public string? Instructions { get; set; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_ModelRunJudgeOptions_Model"></a> Model

The judge model.

```csharp
public required ModelBinding Model { get; set; }
```

#### Property Value

 [ModelBinding](/api/tracon.modelbinding/)

#### Remarks

Select this separately from the measured agent model. A lower-cost model is
sufficient and reduces cost. The same model would systematically bias scoring
of its own output, so this is required and has no default.
