eval-framework
Evaluation framework using pass@k metrics to measure agent reliability with diff-based eval selection.
- License 许可
- GPL-3.0
- 最近更新
- 2026-04-24
- Stars
- ★ 1
- Forks
- 3
01 前言 Front Matter
- name
- eval-framework
- next
- [ "self-improve" ]
- group
- quality
- workflows
- [ "continuous-improvement" ]
- description
- Evaluation framework using pass@k metrics to measure agent reliability with diff-based eval selection.
- prerequisites
- [ "agent-creator", "test-generator" ]
- user-invocable
- true
03 SKILL.md 正文
Eval Framework
Measure agent reliability using pass@k metrics. Run only the evals affected by the current diff. Track runtime, tokens, error rates, and calling patterns.
Steps
- Define eval tasks as structured test cases with inputs, expected outputs, and pass criteria.
- Calculate pass@k: run the agent k times on the same task, pass if at least one attempt succeeds. New capabilities must achieve pass@3 >= 90%.
- Calculate pass^k: run the agent k times, require all attempts to pass. Regressions must achieve pass^3 = 100% (zero flakiness on previously solved tasks).
- Analyze the git diff to determine which evals are affected. Run only those evals to minimize CI time.
- Track per-eval: wall-clock runtime, input/output token usage, error rates by type (timeout, wrong output, crash).
- Analyze calling patterns to detect anti-patterns: reading the same file repeatedly, unnecessary tool calls, excessive retries.
- Store results historically. Flag evals that alternate pass/fail across runs as flaky and investigate root causes.
- Integrate into CI so evals run automatically on agent code changes.
Anti-Patterns
- Running all 200 evals on every commit regardless of what changed
- Confusing pass@k with pass^k: a flaky eval shows pass@3=100% but pass^3=33%, and the wrong metric is checked
- Not tracking token usage, so a refactor that doubles agent consumption goes undetected
- Writing evals with no clear pass criteria, making results subjective
Validation
- New capability evals achieve pass@3 >= 90%
- Regression evals achieve pass^3 = 100%
- Diff-based selection runs only affected evals, not the full suite
- Flaky evals are detected and flagged within 5 runs
04 同仓库更多 Skills
writer-memory
Agentic memory system for writers - track characters, relationships, scenes, and themes
wiki
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
website-creation
Build production-quality SaaS websites with opinionated design presets. Use when creating any startup website. The user MUST pick a design style before building. Enforces shadcn/ui, Figma design principles, specific CSS values per style, and anti-AI-writing. Load alongside anti-ai-writing skill. LIGHT MODE ONLY.
visual-verdict
Structured visual QA verdict for screenshot-to-reference comparisons
visual-qa-pipeline
Screenshot every page with Playwright, feed to visual QA agent for design evaluation, report results to Slack. Use after every build phase to verify UI matches the chosen design preset. Integrates with the Playwright skill and the website-creation preset system.
verify
Verify that a change really works before you claim completion