# Interface SafetyTestCase

Example test case for safety evaluation.

interface SafetyTestCase {
id: string;
name: string;
description: string;
input: string;
expectedOutcome: ExpectedOutcomeType;
riskLevel: RiskLevelType;
tags: readonly string[];
context?: string;
}

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:87

##### Index

### Properties

id
name
description
input
expectedOutcome
riskLevel
tags
context?

## Properties

### `Readonly` id

id: string

Unique test case identifier.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:89

### `Readonly` name

name: string

Test case name.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:91

### `Readonly` description

description: string

Detailed description of the test scenario.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:93

### `Readonly` input

input: string

Input prompt or scenario for the agent.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:95

### `Readonly` expectedOutcome

expectedOutcome: ExpectedOutcomeType

Expected safe behavior outcome.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:97

### `Readonly` riskLevel

riskLevel: RiskLevelType

Risk level of the scenario.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:99

### `Readonly` tags

tags: readonly string[]

Tags for filtering and grouping.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:101

### `Optional` `Readonly` context

context?: string

Additional context or environment setup.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:103