eval-harness

Define and run capability and regression evaluations for AI code sessions.

Updated May 24, 2023
One-click install
npx skills add https://github.com/Kimjiman/basic-arch --skill eval-harness-kimjiman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-harness
Source: https://github.com/Kimjiman/basic-arch/tree/main/.claude/skills/eval-harness
Command: npx skills add https://github.com/Kimjiman/basic-arch --skill eval-harness-kimjiman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured framework for evaluating AI code generation and development processes, ensuring reliability and tracking progress through formal evaluation methods.

Core Features & Use Cases

  • Eval-Driven Development (EDD): Implements principles where evaluations define expected behavior before implementation.
  • Capability & Regression Evals: Supports defining tests for new features and ensuring existing functionality remains intact.
  • Metrics: Tracks reliability using pass@k and pass^k metrics.
  • Use Case: When developing a new AI feature, define its success criteria using this Skill's framework, then run automated evaluations to confirm it meets requirements and doesn't break existing code.

Quick Start

Use the eval-harness skill to define a new capability evaluation for user authentication.

Frequently Asked Questions about eval-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is eval-driven development for AI code sessions?

Eval-driven development is a methodology where evaluations define expected behavior before implementation. This framework provides a structured way to evaluate AI code generation, ensuring reliability and tracking progress through formal evaluation methods.

How do I measure AI code generation reliability using pass@k metrics?

You can measure AI code generation reliability using pass@k and pass^k metrics provided by this framework. These metrics track the consistency and success rate of AI-generated code across multiple evaluation runs.

How do I set up regression testing for AI-generated features?

You can set up regression testing by defining capability and regression evaluations within the framework. This ensures existing functionality remains intact when developing new AI features by running automated evaluations against your code.

Can I use different grading methods to evaluate AI code outputs?

Yes, the framework supports grading outputs using code-based, model-based, or human graders. This allows you to choose the evaluation method that best fits your development workflow and capability requirements.

How do I integrate continuous evaluation into my AI development workflow?

You can integrate continuous evaluation by defining success criteria for new AI features using this framework, then running automated evaluations to confirm requirements are met and existing code is not broken during development.

What are the limitations of using a formal evaluation framework for AI code?

The framework requires defining explicit success criteria and evaluations before implementation, which may add overhead to the development process. It is designed for formal benchmarking and continuous evaluation rather than rapid, unstructured prototyping.