# EvalCase record

> The EvalCase record of Novior.MentorAgent.Evaluation: One evaluation case (roadmap #10).

- URL: https://docs.mentoragent.net/api/novior-mentoragent-evaluation/evalcase
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent

One evaluation case (roadmap \#10).

## Definition

Namespace: `Novior.MentorAgent.Evaluation`. Package: `Novior.MentorAgent`.

`public sealed record EvalCase : IEquatable<EvalCase>`

```shell
dotnet add package Novior.MentorAgent
```

## Constructors

`public EvalCase(string Input, string? Expectation = null, long? MaxTokens = null)`

One evaluation case (roadmap \#10).

**Parameters**

- `Input`: The user message to send.
- `Expectation`: Optional description of the expected behaviour, used by the LLM judge.
- `MaxTokens`: Optional per-case token budget; the case fails if exceeded.

## Properties

### `Expectation`

`public string? Expectation { get; init; }`

Optional description of the expected behaviour, used by the LLM judge.

### `Input`

`public string Input { get; init; }`

The user message to send.

### `MaxTokens`

`public long? MaxTokens { get; init; }`

Optional per-case token budget; the case fails if exceeded.

---

- Previous: [MemoryEntry record](https://docs.mentoragent.net/api/novior-mentoragent-data/memoryentry.md)
- Next: [MentorEvalOptions class](https://docs.mentoragent.net/api/novior-mentoragent-evaluation/mentorevaloptions.md)
