CodingDeprecated
Trust Score:
20

CodeXGLUE

A broad code-intelligence suite spanning understanding, retrieval, completion, translation, repair, generation, and summarization.

Launched: Refresh: static
Status Assessment (deprecated):

The official challenge and repository remain available, but the heterogeneous task-specific leaderboard is no longer a current frontier-code comparison and has no maintained common aggregate.

Performance Timeline

Longitudinal progression of model scores against human baselines.

Performance & Historical Trajectory

Empirical score progression across model release dates and evaluation rounds.

Independent Vendor-Reported Human Baseline (80.5%)
ModelScoreDateSource TypeProvenance
Seq2Seq (CodeSearchNet summarization, six-language overall BLEU)14.32%2021-02-09independentSource ↗
Transformer (CodeSearchNet summarization, six-language overall BLEU)15.56%2021-02-09independentSource ↗
RoBERTa encoder (CodeSearchNet summarization, six-language overall BLEU)16.57%2021-02-09independentSource ↗
CodeBERT encoder (CodeSearchNet summarization, six-language overall BLEU)17.83%2021-02-09vendor-reportedSource ↗

Human Baseline & Difficulty Horizon

Calibrated human reference points, specialist benchmarks, and ceiling thresholds.
Measured Human Score80.5%Domain Expert Baseline
Baseline Protocol & Interpretation

Developer reference baseline across code comprehension, translation, and synthesis tasks.

Metric & Scoring Methodology

Verification protocols, aggregation formulas, and specialized metric variants.
Primary Metric:overall smoothed BLEU on six-language CodeSearchNet code summarization
Scoring Engine:composite

Dataset & Compute Cost

Evaluation volume, public availability, API pricing, and local hardware requirements.
Total Dataset SizeAnnotated evaluation items
Public Test SetPublicOpenly mirrored on repositories
Access GatingOpen AccessUnrestricted download
Evaluation LicenseOpen AccessDataset usage and redistribution terms
Frontier API Compute Cost:

$5 – $20 USD for full benchmark evaluation run on frontier APIs.

Recommended Local GPU Setup:

1x NVIDIA RTX 4090 (24GB) or A100 (40GB/80GB) via vLLM / SGLang

Official Dataset & Benchmark Files:Download / View Dataset Repository ↗

How to Run & Reproduce

Standardized evaluation protocols, CLI commands, and reproducible runner templates.
Prompt Regimezero-shot
Reasoning Modedirect
Sampling Temp0
Pass@k Budgetk = 1
Tools & SandboxPure Text
Scoring Verifiercomposite
Option AEleutherAI LM-Evaluation-Harness (Open-Weight Models)
lm_eval --model hf --model_args pretrained=<model_path> --tasks codexglue --batch_size auto
Option BOpenCompass Evaluation Framework
opencompass --datasets codexglue --models <model_config>
Python APIDeterministic Inference Loop Snippet
# Standard API Evaluation Loop
from openai import OpenAI

client = OpenAI()
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": prompt}],
    temperature=0.0,
)
Standardized Reporting Requirement:

When publishing results for CodeXGLUE, always report the exact prompt template, few-shot exemplar ordering, sampling temperature (temperature=0), maximum reasoning budget tokens, and the precise timestamped model snapshot ID.

Contamination & Memorization Analysis

Audit of pretraining exposure risks, memorization vectors, and refresh policies.
Overall Contamination Risk:MEDIUM
Refresh Cadence:

Static fixed snapshot

Test Set Exposure:

Public on web / HuggingFace