atlas

Research map / Large language models / Agents, code and math

DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generation

AAAI 2025 · Large language models › Agents, code and math · approach: Code generation benchmarks · 8 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds DomainEval, an automatically constructed multi-domain code generation benchmark (2454 subjects from GitHub repos, six domains) via test-method matching, and evaluates 12 LLMs showing strong domain gaps (computation high, cryptography and system low).

Problem

Existing code benchmarks like HumanEval and MBPP focus on common coding tasks, leaving LLMs' ability to generate domain-specific code (computation, network, system, cryptography, etc.) under-explored.

Approach

A fully automated, test-guided pipeline that traces tests in GitHub repositories back to function implementations via AST analysis, filters them for executability, significance and difficulty, and generates instructions with an LLM, yielding domain-partitioned benchmark subjects.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase generated samples from 1 to 5LLMs evaluated on DomainEval · DomainEval overallPass@k mean: 53.42% to 59.60%Helped
Increase generated samples from 1 to 5LLMs evaluated on DomainEval · DomainEval across six domainsPass@kHelped
Increase generated samples from 1 to 5LLMs evaluated on DomainEval · DomainEval domain-bias variationstandard deviation: 18.33 to 17.72No clear effect
Increase generated samples from 1 to 5CodeLlama-13b-Instruct · DomainEval domain-bias variationstandard deviation: 19.90 to 20.55Hurt
Fine-tune Llama-2-13b as CodeLlama-13bLlama-2-13b · DomainEval overallPass@5 mean: 46.49% to 57.74%Helped

Surprising findings

Limitations

Experimental setup

Datasets: GitHub repositories with at least 100 stars

Benchmarks: DomainEval

Metrics: Pass@1 Pass@5 standard deviation across domains

Baselines: GPT-3.5-turbo GPT-4o-mini Qwen2-72B-Instruct DeepSeek-Coder-33b-instruct CodeLlama-34b-Instruct Llama-2-13b-chat

Builds on: HumanEval MBPP Pass@k

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy