evaluating-code-models

Evaluate code generation models with pass@k metrics across HumanEval, MBPP, and MultiPL-E benchmarks.

1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/informatico-madrid/Architect-Expert-Gap-Forge --skill evaluating-code-models-informatico-madrid
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: evaluating-code-models
Source: https://github.com/informatico-madrid/Architect-Expert-Gap-Forge/tree/main/.github/skills/bigcode-evaluation-harness
Command: npx skills add https://github.com/informatico-madrid/Architect-Expert-Gap-Forge --skill evaluating-code-models-informatico-madrid

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bigcode-evaluation-harness, transformers, accelerate, datasets, and includes references (resource) components.

What problem does it solve?

This Skill provides a standardized framework for evaluating the performance of code generation models across a wide array of benchmarks and metrics.

Core Features & Use Cases

  • Multi-Benchmark Support: Evaluate models on HumanEval, MBPP, MultiPL-E, and over 15 other benchmarks.
  • Pass@k Metrics: Measure functional correctness using industry-standard pass@k metrics.
  • Multi-Language Evaluation: Test code generation capabilities in 18 different programming languages.
  • Use Case: You are developing a new code generation model and need to compare its performance against existing state-of-the-art models on standard benchmarks like HumanEval and MBPP.

Quick Start

Use the evaluating-code-models skill to benchmark the 'bigcode/starcoder2-7b' model on the HumanEval task.

Frequently Asked Questions about evaluating-code-models

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

FAQPage Schema
How do I evaluate code generation models using HumanEval and MBPP benchmarks?▼

To evaluate code generation models, this Skill uses the BigCode Evaluation Harness to test models against benchmarks like HumanEval and MBPP, measuring functional correctness with pass@k metrics to provide detailed performance analysis.

What benchmarks are supported for benchmarking code generation models?▼

Benchmarking code generation models supports over 15 benchmarks including HumanEval, MBPP, and MultiPL-E, enabling multi-language evaluation across 18 different programming languages using the BigCode Evaluation Harness.

Do I need to install transformers and accelerate to measure pass@k metrics?▼

Yes, measuring pass@k metrics requires installing dependencies like transformers, accelerate, and datasets, which provide the necessary environment for running the BigCode Evaluation Harness and loading models for evaluation.

Can I run multi-language evaluation for code models across different programming languages?▼

Yes, you can run multi-language evaluation for code models across 18 different programming languages using the MultiPL-E benchmark within the BigCode Evaluation Harness to measure functional correctness.

What is the best way to compare my code generation model against state-of-the-art models?▼

The best way to compare code generation models is using a standardized evaluation framework that calculates pass@k metrics on benchmarks like HumanEval and MBPP, ensuring consistent performance analysis against state-of-the-art models.

How does the pass@k metric work when evaluating code generation models?▼

The pass@k metric measures functional correctness by calculating the probability that at least one of k generated code samples passes the test cases for a given problem, providing an industry-standard evaluation of code generation models.