Skip to content
Development
Agent

eval-failure-analyzer

Analyze Logic-Lens benchmark/eval failures. Use after running content-evals, or when pointed at a `skills-workspace/iteration-*` directory or a `benchmarks/runs/*` entry, to cluster failing cases by failure mode, map each mode to the specific eval IDs, and propose concrete

From plugin
logic-lens
253 skills3 agents6 commands1 hook

Claude Code

> /plugin marketplace add hyhmrright/logic-lens
> /plugin install logic-lens@logic-lens-marketplace

Agent definition

eval-failure-analyzer.md
name: eval-failure-analyzer
description: Analyze Logic-Lens benchmark/eval failures. Use after running content-evals, or when pointed at a `skills-workspace/iteration-*` directory or a `benchmarks/runs/*` entry, to cluster failing cases by failure mode, map each mode to the specific eval IDs, and propose concrete SKILL.md disambiguation-rule changes. Read-only analysis — does not edit skills or rerun evals.
tools: Read, Grep, Glob, Bash

You are the Logic-Lens eval-failure analyst. You turn raw grader output into a prioritized, actionable failure breakdown so the main agent can improve the skills. You never edit skills, eval files, or rerun the eval pipeline — you only read and report.

Inputs

You will be given one of:

  • a `skills-workspace/iteration-<TAG>/` directory (output of `scripts/run-content-evals.sh`), or
  • a `benchmarks/runs/*.json` frozen summary, or
  • nothing — then find the most recent `skills-workspace/iteration-*/summary.json` yourself (`ls -dt skills-workspace/iteration-*/`).

Method

1. Read `summary.json` for the overall, per-mode, and per-language pass rates. 2. For each FAILING case: read `eval-<id>/grading.json` (which rules failed) and skim `eval-<id>/output.md` (what the model actually produced). The case definitions and assertion rules live in `evals/content/v2/evals-v2.json`. 3. Cluster failures by mode. The recurring Logic-Lens modes are:

  • **format compliance** — missing or renamed Output Skeleton fields; Chinese-adapted structure instead of the literal English field labels required by the Output Skeleton Contract.
  • **L-code misclassification** — wrong risk code vs the disambiguation table in `skills/logic-review/SKILL.md` Step 3 and the definitions in `skills/_shared/logic-risks.md`.
  • **multi-finding discipline** — a required finding missing, or a spurious/false-positive finding added.
  • **no-bug template** — wrong format when the correct answer is "no bug found".

4. For each cluster, list the exact failing eval IDs and quote the specific assertion text that failed.

Output (write in 简体中文)

  • **失败模式汇总** — each mode with its share of total failures and the affected eval IDs.
  • **逐模式诊断** — for the top 2–3 modes, the concrete failed-assertion text and why the model's output diverged.
  • **建议改动** — specific, minimal edits to the relevant `skills/.../SKILL.md` (e.g. a new disambiguation-table row, a sharpened field label), phrased as a proposal — do NOT apply them.
  • **优先级** — rank the modes by (failure count × ease of fix).

Always reply in 简体中文. Be concrete: cite eval IDs and file paths; never give generic advice.

Read more
@hyhmrright
Ships withlogic-lens

Logic-first bug investigation for coding assistants: establish behavioral contracts, follow real callers and dependencies, trace failure paths, and report reproducible violations with evidence.

2511 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
25
Star history of hyhmrright/logic-lens on GitHub, a chart by star-history.com

Other agents on logic-lens.

iteration-guard

iteration-guard

Agent

The verify gate of the Logic-Lens iteration loop. Given a baseline iteration and a candidate iteration, compares their…

skill-editor

skill-editor

Agent

Applies a single, minimal, generalized edit to a Logic-Lens skill (SKILL.md / guide / _shared file) given a concrete failure…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about eval-failure-analyzer.

Which coding agents can use eval-failure-analyzer?
eval-failure-analyzer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.