Files
ra-h-os/tests/evals/scenarios/create-edge.ts
T
“BeeRad”andClaude Opus 4.5 2f2ef10ec9 sync: bug fixes + eval system from private repo
- Fix chunk_status: pass chunk_status/chunk/metadata to context builder
- Fix vector search: scope by node_id BEFORE similarity search
- Add eval logging system (RAH_EVALS_LOG=1)
- Add eval dashboard at /evals
- Add vitest for testing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:09:25 +11:00

16 lines
521 B
TypeScript

import { Scenario } from '../types';
export const scenario: Scenario = {
id: 'create-edge',
name: 'Create edge between two new nodes',
description: 'Create two nodes and connect them with an edge.',
tools: ['createNode', 'createEdge'],
input: {
message: 'Create nodes titled "Eval Edge A" and "Eval Edge B" (one sentence each), then create an edge from A to B labeled "related".',
},
expect: {
toolsCalledSoft: ['createNode', 'createEdge'],
responseContainsSoft: ['edge', 'connected'],
},
};