Skip to content

Commit 1aff128

Browse files
Merge pull request #1411 from corbitsdev/cl-evals-wire
feat(evals): wire @corbits/evals and add dispatch-routing eval
2 parents c63783c + 6ae164b commit 1aff128

7 files changed

Lines changed: 721 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ worktrees
2525
evals/capability/results/*
2626
!evals/capability/results/baseline-0286.json
2727
evals/public/results/*
28+
evals/prompts/dispatch-routing/last.json
2829
local-harness-bench/
2930
subagents/
3031

‎bun.lock‎

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Dispatch routing eval
2+
3+
```sh
4+
bun scripts/eval-prompts-dispatch.ts
5+
# or
6+
bun run eval:prompts-dispatch
7+
```
8+
9+
Local Ollama by default. Override with `EVAL_OLLAMA_URL` and `EVAL_MODEL`:
10+
11+
```sh
12+
EVAL_MODEL=tev1:0.8b bun scripts/eval-prompts-dispatch.ts
13+
EVAL_OLLAMA_URL=http://localhost:11434 EVAL_MODEL=qwen3:0.6b bun scripts/eval-prompts-dispatch.ts
14+
```
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{"name":"map-retry-backoff","input":"Where does the repo handle retry backoff? Find every call site and sketch the flow between them.","expect":{"route":"explorer","decoys":["coder","planner"]}}
2+
{"name":"plan-offline-mode","input":"We need offline mode. Write a build plan with phases, risks, and acceptance criteria.","expect":{"route":"planner","decoys":["coder","explorer"]}}
3+
{"name":"fix-token-refresh","input":"There's a bug in the login flow: the token refresh silently fails. Fix it and add a regression test.","expect":{"route":"coder","decoys":["explorer","reviewer"]}}
4+
{"name":"review-ship-diff","input":"Review the attached diff for correctness and edge cases before we ship it.","expect":{"route":"reviewer","decoys":["coder"]}}
5+
{"name":"design-settings-cramped","input":"The settings screen looks cramped. Update the design tokens and spacing rules.","expect":{"route":"designer","decoys":["coder","explorer"]}}
6+
{"name":"doc-storage-layer","input":"Write the architecture doc for the new storage layer, covering the write path and failure modes.","expect":{"route":"shakespeare","decoys":["explorer","planner"]}}
7+
{"name":"audit-permissions-boundary","input":"Audit the new permissions boundary for trust issues and secret exposure.","expect":{"route":"warden","decoys":["reviewer"]}}
8+
{"name":"probe-latency-percentiles","input":"Measure latency percentiles for the new model endpoint across 200 requests and report the distribution.","expect":{"route":"prober","decoys":["qa-lead","reviewer"]}}
9+
{"name":"qa-onboarding-run","input":"Run the CLI through the onboarding flow end to end and show it works with a pass/fail record.","expect":{"route":"qa-lead","decoys":["prober","coder"]}}

‎package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"check": "bun run lint && bun run typecheck && bun run check:dead-exports && bun run build && bun run check:projects-dir-guard",
4242
"start": "bun run build && bun ./dist/index.js",
4343
"eval:capability": "bun scripts/eval-capability.ts",
44+
"eval:prompts-dispatch": "bun scripts/eval-prompts-dispatch.ts",
4445
"eval:public-swe-one": "bun scripts/eval-public-swe-one.ts",
4546
"tui:smoke": "bun ./src/tui/smoke.ts"
4647
},
@@ -116,6 +117,7 @@
116117
"@corbits/code-agent-explorer": "workspace:*"
117118
},
118119
"devDependencies": {
120+
"@corbits/evals": "^0.1.1",
119121
"@intx/inference-testing": "0.3.0",
120122
"@types/bun": "1.4.3",
121123
"knip": "^6.41.0",

0 commit comments

Comments
 (0)