Skip to content

Standardized benchmark harness that scores code models on HumanEval, MBPP, and 18-language MultiPL-E with pass@k metrics.

CCM score
61 of 100
skills.sh installs
1.1K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Python function-completion benchmarks, multi-language MultiPL-E tasks, instruction-tuned evaluation, and model comparison workflows
  • Includes main.py runs via accelerate launch with flags for temperature, n_samples, quantization, and JSON metric output
  • Enforces explicit --allow_code_execution opt-in and offers a Docker image to run generated code in isolation
  • Designed for researchers benchmarking code models or reproducing BigCode and HuggingFace leaderboard results

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill evaluating-code-models -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

BigCode Evaluation Harness - Code Model Benchmarking

Quick Start

BigCode Evaluation Harness evaluates code generation models across 15+ benchmarks including HumanEval, MBPP, and MultiPL-E (18 languages).

Installation:

git clone https://github.com/bigcode-project/bigcode-evaluation-harness.git
cd bigcode-evaluation-harness
pip install -e .
accelerate config

Evaluate on HumanEval:

accelerate launch main.py \
  --model bigcode/starcoder2-7b \
  --tasks humaneval \
  --max_length_generation 512 \
  --temperature 0.2 \
  --n_samples 20 \
  --batch_size 10 \
  --allow_code_execution \
  --save_generations

View available tasks:

python -c "from bigcode_eval.tasks import ALL_TASKS; print(ALL_TASKS)"

Common Workflows

Workflow 1: Standard Code Benchmark Evaluation

Evaluate model on core code benchmarks (HumanEval, MBPP, HumanEval+).

Checklist:

Code Benchmark Evaluation:
- [ ] Step 1: Choose benchmark suite
- [ ] Step 2: Configure model and generation
- [ ] Step 3: Run evaluation with code execution
- [ ] Step 4: Analyze pass@k results

Step 1: Choose benchmark suite

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI Agents & LLM Apps, Research & Academic, Testing & QA
First seen
Jun 3, 2026

Questions

What does the evaluating-code-models skill do?

The evaluating-code-models skill benchmarks code generation models across HumanEval, MBPP, MultiPL-E and more than 15 benchmarks using pass@k metrics. It is aimed at developers who want to measure code generation quality or compare the coding abilities of models.

How do I install the evaluating-code-models skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill evaluating-code-models -y in a project to install it. Once installed, the agent can run the BigCode evaluation harness against a model and report pass@k results.

What does evaluating-code-models need before I can use it?

The evaluating-code-models skill relies on the bigcode-evaluation-harness, transformers 4.25.1 or later, accelerate 0.13.2 or later and datasets 2.6.1 or later. Its SKILL.md also expects the harness to be cloned and installed with pip, and accelerate to be configured.

Which languages can the evaluating-code-models skill test?

The evaluating-code-models skill covers MultiPL-E, which translates HumanEval and MBPP into 18 languages including Python, JavaScript, Java, C++, Go and Rust. Its multi-language workflow runs generation on the host and execution inside a Docker container.

Where does the evaluating-code-models skill sit in its category?

The evaluating-code-models skill is in the AI Agents & LLM Apps category on Claude Marketplaces. It focuses on code generation benchmarking, which sets it apart from general LLM benchmark skills in the same category.

More from orchestra-research/ai-research-skills

All 92

Similar to Evaluating Code Models

More AI Agents & LLM Apps