agentsclimarketplace

Agent eval lab

Skill noticedso/noticed-labs/skills/agent-eval-lab

Improve agent eval scores using a structured benchmark loop. Use when eval scenarios fail, judge scores are low, onboarding quality regresses, or when iterating on system prompts, persona overlays, extraction prompts, or onboarding instructions. Covers both onboarding evals (scripted messages, 6 dimensions) and agent live evals (user-sim LLM, mission-driven criteria).From its SKILL.md

Install
npx -y skills add noticedso/noticed-labs --skill agent-eval-lab

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.3 KB, as published. Nobody here has run it

Agent Eval Lab

Use this skill to systematically improve agent eval scores. Same discipline as query-optimization-lab: measure, hypothesize, change one thing, re-measure, keep/discard.

THE JUDGE IS IMMUTABLE. You improve the agent's behavior, not the grading. Never modify the judge rubric, scoring thresholds, or assertion helpers to make scores go up.

Two Eval Types

This lab covers two complementary eval systems:

Onboarding Evals (scripted)

  • User messages: Pre-scripted in fixture files
  • Judge: 6 fixed dimensions (naturalness, progression, factExtraction, personaConsistency, toolUse, accountAwareness), scored 1-5
  • Output: CSV reports
  • Use for: Regression testing onboarding quality with deterministic inputs

Agent Live Evals (autonomous)

  • User messages: Generated by a user-simulator LLM that roleplays a fixture profile (e.g., Sarah Chen)
  • Judge: Mission-driven with custom success criteria, per-criterion pass/fail, scored 0-10
  • Output: JSON reports + console output
  • Use for: Testing full agent behavior with realistic, dynamic conversations

Core Loop

  1. Read the latest eval output — find the weakest scenario (lowest score or most failed criteria)
  2. Read the judge issues — understand exactly what the judge flagged
  3. Trace to source — find the file responsible (see file map in WORKFLOW.md)
  4. Form one hypothesis — one sentence: what's wrong and why
  5. Make one change — edit exactly one file
  6. Re-run that single scenario
  7. Compare before/after — did scores improve? did any dimension/criterion regress?
  8. Keep/discard — keep if improved and no regressions; discard and revert otherwise
  9. Once scenario passes, run full suite — confirm no regressions

Repo Defaults

Onboarding evals

# run all onboarding evals
npm run eval:live

# run single scenario (fast iteration)
npm run eval:live -- <scenario-name>
  • Eval files: apps/noticed-agent/__tests__/evals/onboarding/
  • Helpers: apps/noticed-agent/__tests__/evals/helpers/
  • CSV reports: apps/noticed-agent/scripts/benchmark-reports/onboarding-eval-<timestamp>.csv

Agent live evals

# run all agent live evals
npm run eval:agent

# with verbose transcript output
EVAL_VERBOSE=1 npm run eval:agent
  • Eval files: apps/noticed-agent/__tests__/evals/agent-eval/
  • Missions: apps/noticed-agent/__tests__/evals/agent-eval/missions/
  • Fixtures: apps/noticed-agent/__tests__/evals/agent-eval/fixtures/
  • Runner: apps/noticed-agent/__tests__/evals/agent-eval/runner.ts
  • User simulator: apps/noticed-agent/__tests__/evals/agent-eval/user-simulator.ts
  • Judge: apps/noticed-agent/__tests__/evals/agent-eval/judge.ts

Common

  • Vitest config: apps/noticed-agent/vitest.live.config.ts
  • Requires: ANTHROPIC_API_KEY set in environment or apps/noticed-agent/.env

Metrics

Onboarding evals

Primary: judge_score (1-5 overall)

Dimensions: naturalness, progression, factExtraction, personaConsistency, toolUse, accountAwareness

Pass thresholds:

  • overall score >= 3.5
  • no single dimension <= 2

Correctness checks:

  • completed_steps — must match expected completion for the scenario
  • remaining_steps — only steps genuinely blocked by the scenario
  • persona — must match user's selection

Expected completion per scenario type

scenario patternexpected completedacceptable remaining
no accounts connectedpersona, welcome, identity, profile, preferencesgithub_link, linkedin_connect, linkedin_export
github connectedabove + github_linklinkedin_connect, linkedin_export
linkedin connectedabove + linkedin_connectgithub_link, linkedin_export
both connectedabove + github_link, linkedin_connectlinkedin_export

Agent live evals

Primary: overallScore (0-10)

Criteria: Per-mission success criteria, each scored pass/fail with reasoning

Pass thresholds:

  • overall score >= 5
  • at least 50% of criteria pass
  • at least 2 onboarding steps completed

Correctness checks:

  • criteriaResults — each criterion has pass/fail + reasoning
  • completedSteps — at least the expected steps for the mission's starting state
  • finalPersona — a persona was selected
  • qualitativeNotes — strengths/weaknesses/unexpected behaviors logged

Key differences from onboarding evals

  • No fixed dimensions — criteria are defined per mission
  • User messages are non-deterministic (LLM-generated), so higher variance
  • Conversation length varies (up to turnBudget, ~20-25 turns)
  • Tests the full pipeline including tool dispatch and workspace writes

Keep/Discard Rules

Keep when:

  • target scenario's score improves
  • no dimension/criterion that was previously passing now fails
  • full suite re-run shows no other scenario regressed
  • completion checks still pass
  • improvement holds on 2 consecutive runs

Discard when:

  • score doesn't improve or gets worse
  • another scenario regresses
  • fix is cosmetic (cleaner prompt but same score)
  • score only improves on one lucky run
  • completed_steps changed unexpectedly

Flakiness Protocol

LLM evals are non-deterministic. Agent live evals have higher variance than onboarding evals because both the user messages and agent responses are LLM-generated.

  • reliably passing: passes on 2 out of 2 consecutive runs
  • reliably failing: fails on 2 out of 2 consecutive runs
  • mixed: run a third time — majority wins
  • never ship a fix based on a single passing run after a failure
  • for agent live evals, expect more variance — a score swing of +/- 1.5 is normal; focus on criterion pass/fail stability, not exact scores

Output Format

After each iteration, log:

For onboarding evals

## Scenario
<which eval scenario was targeted>

## Judge Issues
<verbatim issues from the CSV>

## Hypothesis
<one sentence>

## Change
<file edited and what changed>

## Benchmark
- before: judge_score=X | dim1=X, dim2=X, ...
- after:  judge_score=X | dim1=X, dim2=X, ...
- delta:  +/-X overall | dimension deltas
- completion: N/M steps -> N/M steps

## Decision
keep | discard

## Next Step
<run full suite | iterate on same scenario | move to next weakest>

For agent live evals

## Mission
<mission id>

## Failed Criteria
<list of criteria that failed with judge reasoning>

## Hypothesis
<one sentence>

## Change
<file edited and what changed>

## Benchmark
- before: overallScore=X | N/M criteria passed | steps: [list]
- after:  overallScore=X | N/M criteria passed | steps: [list]
- weaknesses before: ...
- weaknesses after: ...

## Decision
keep | discard

## Next Step
<run full suite | iterate on same mission | add new mission>

References

  • WORKFLOW.md — detailed step-by-step with file map
  • PATTERNS.md — proven prompt/extraction fixes
  • EXPERIMENTS.md — discipline for LLM non-determinism

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.