Skip to content
Back to skills

Human Eval Cost Eval

ASecurity

This evaluation probes the accuracy-cost tradeoff of AI coding agents by measuring how often generated solutions pass test cases relative to the actual inference cost required. It highlights whether complex agent architectures provide genuine performance gains over simple retry baselines when compute expenses are accounted for. Use when the user wants to benchmark on HumanEval, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythonapiperformance

Works with

  • api

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill human-eval-cost-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Human Eval Cost Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Human Eval Cost Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-human-eval-cost-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-human-eval-cost-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: human-eval-cost-eval
description: This evaluation probes the accuracy-cost tradeoff of AI coding agents by measuring how often generated solutions pass test cases relative to the actual inference cost required. It highlights whether complex agent architectures provide genuine performance gains over simple retry baselines when compute expenses are accounted for. Use when the user wants to benchmark on HumanEval, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2407.01502
  bibtex_key: [REDACTED]
  confidence: high
---

# human-eval-cost-eval

> AI Agents That Matter — Kapoor et al. (2024) (arXiv:2407.01502, 2024)

## What this evaluates

This evaluation probes the accuracy-cost tradeoff of AI coding agents by measuring how often generated solutions pass test cases relative to the actual inference cost required. It highlights whether complex agent architectures provide genuine performance gains over simple retry baselines when compute expenses are accounted for.

## Datasets

- **HumanEval** — total 164; splits: test (164)

## Metrics

- `accuracy` **(primary)** — range: [0, 1]
  - Fraction of problems where at least one generated solution passes all provided test cases.
- `cost` — range: other
  - Total dollar expenditure for all model API calls and inference steps across all retries and problems.

## Input / output format

**Input**: Problem description and example test cases from the modified HumanEval benchmark.

**Output**: Generated Python code solution for the problem.

## Scoring recipe

```python
total_cost = 0
correct_count = 0
for problem in problems:
    for attempt in range(max_retries):
        code = model.generate(problem)
        total_cost += get_api_cost(code)
        if run_tests(code, problem.test_cases):
            correct_count += 1
            break
accuracy = correct_count / len(problems)
```

## Common pitfalls

- Ignoring inference cost when comparing agent architectures, leading to false claims of SOTA performance.
- Using compute proxies (e.g., token count) instead of actual dollar costs for cost reporting.
- Failing to test against simple retry baselines that can match complex agent accuracy at a fraction of the cost.

## Evidence (verbatim from paper)

> We run each agent five times and report the mean accuracy and the mean total cost on the 164 HumanEval problems.

## Citation

```bibtex
@misc{kapoor2024aiagents,
  title={AI Agents That Matter},
  author={Kapoor et al. (2024)},
  year={2024},
  note={arXiv:2407.01502}
}
```

- arXiv: 2407.01502

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.