Locked Replay & Live Sandbox Evals
Turns real failures into regression tests and runs locked held-out benchmarks under strict dollar caps.
You tweak a prompt to fix 1 bug and accidentally break 12 things that used to work.
Every change is scored on pass rate, pass^k consistency, and cost growth against locked unseen cases.
What It Does (In Plain English)
Evals supports two testing modes: (1) **Shadow Replay** — replays real captured production runs against recorded tool outputs at near-zero risk; and (2) **Live Sandbox Trials** — runs real candidate tasks in an isolated draft workspace under a mandatory cost cap. Operators can one-way lock heldOut suites so agents can never game or edit the exam.
Real-World Example
- 1Operator captures a rated-down run into a replay suite (
neusym eval capture). - 2Operator creates a one-way locked held-out trial suite (
neusym eval configure --held-out --lock). - 3
neusym eval runorneusym eval trial-startproves whether the new version actually beats the baseline.
When Should You Turn It On?
Add at Level 1 (review) to test prompts, skills, rules, and models systematically.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-evals@0.1.0"
kitConfigs:
evals:
autoCaptureSuite: rated-down
recordLiveCalls: trueKits It Works With
Technical Details & Configuration Options (13 settings)
| Package | @neusym/kit-evals |
|---|---|
| Provides Ports | evals@1 |
| Requires Ports | tasks@1 |
| Optional Ports | secrets@1diagnostics@1model@1budget@1artifacts@1scheduler@1skills@1rules@1model-router@1constraints@1 |
| Publishes Events | eval.completed |
| Owned DB Collections | eval_suiteseval_caseseval_trial_caseseval_runseval_bindingseval_recordings |
Configuration Options (kitConfigs.evals)
| Setting | Type | Default | Description |
|---|---|---|---|
autoCaptureSuite | string | "" | — |
maxRepeats | integer | 10 | — |
liveReadsOnMiss | boolean | false | — |
recordLiveCalls | boolean | true | Record what each live tool execution returned (redacted), so the run can be captured as a case. Only for runs whose capture is content. |
recordingRetentionDays | integer | 30 | Default age in days past which pruneRecordings deletes a live run's tool recording (captured cases keep their own copy). |
judgeCooldownMs | integer | 0 | Minimum interval per case between repeated model-judge evaluations. |
maxJudgeCallsPerRun | integer | 100 | Maximum number of model-judge calls permitted in a single eval suite run. |
judgeEstimatedCostPerCallUsd | number | 0.002 | Estimated USD cost per model-judge invocation for previewSuiteCost. |
costRegressionRatio | number | 1.2 | Default candidate/baseline cost or token ratio above which cost increases are flagged. |
autoCaptureScorerFeedback | boolean | false | When false (default), implicit scorer feedback does not feed autoCaptureSuite unless a person or enabled policy backs it. |
trialRole | string | "eval" | Worker role assigned to live sandbox trial tasks started by startTrialRun (routed to a draft-level evaluation workspace). |
verifyRole | string | "verifier" | Default worker role assigned to post-run verification tasks declared by a trial case's check.verify. |
trialDeadlineMs | integer | 3600000 | Default deadline in milliseconds for asynchronous trial runs started by startTrialRun. |