xCodeEval
DatasetFreeDataset by NTU-NLP-sg. 6,96,087 downloads.
Capabilities7 decomposed
multilingual code-to-code translation dataset construction
Medium confidenceProvides 696,087 expert-annotated code translation pairs across multiple programming languages, enabling training of models to translate code semantically between languages while preserving functionality. The dataset uses expert-generated annotations to ensure translation quality and includes both source code and target translations with language-pair coverage, allowing models to learn cross-language code semantics through supervised learning on diverse programming paradigms.
Combines expert-generated annotations with found code sources to create 696K+ translation pairs across 6+ programming languages, using token-classification and text-retrieval task formulations to enable both fine-grained alignment learning and semantic matching — a scale and diversity not matched by earlier code translation datasets
Larger and more diverse than CodeXGLUE's translation subset and includes expert validation of translation quality, whereas most prior datasets rely on automated alignment or single-language-pair focus
code clone detection dataset with multilingual support
Medium confidenceProvides annotated pairs of semantically equivalent code snippets across multiple programming languages, enabling training of models to detect code clones and semantic similarity. The dataset uses expert classification to identify true semantic equivalence versus syntactic similarity, allowing models to learn language-agnostic code representations through contrastive or classification-based approaches on code pairs with varying levels of structural and semantic overlap.
Combines cross-language code pairs with expert-validated semantic equivalence labels, enabling training of language-agnostic clone detectors through token-classification and text-retrieval formulations — most prior clone detection datasets focus on single-language or syntactic similarity
Provides multilingual clone pairs with expert validation, whereas BigCloneBench focuses on Java-only clones and POJ-104 uses only syntactic matching without semantic validation
code search and retrieval dataset with natural language queries
Medium confidenceProvides paired code snippets and natural language descriptions/queries, enabling training of code search models that retrieve relevant code given natural language intent. The dataset uses expert-generated descriptions and found code to create query-code pairs, allowing models to learn the mapping between natural language semantics and code implementation through text-retrieval and feature-extraction tasks on multilingual code.
Combines expert-generated natural language descriptions with found code across multiple languages, using text-retrieval formulations to enable training of semantic code search models — integrates both code-to-code and code-to-language alignment in a single dataset
Larger and more multilingual than CodeSearchNet and includes expert-validated descriptions, whereas CodeSearchNet relies on mined documentation and focuses primarily on English
code question-answering dataset with multilingual code context
Medium confidenceProvides code snippets paired with natural language questions and expert-generated answers about code behavior, enabling training of models to answer questions about code functionality and semantics. The dataset uses question-answering and text-generation task formulations to train models to understand code and generate natural language explanations, supporting both extractive and abstractive answer generation across multiple programming languages.
Combines code snippets with expert-generated question-answer pairs across multiple languages, enabling training of code understanding models through both extractive and abstractive QA formulations — integrates code comprehension with natural language generation in a multilingual context
Broader scope than CoQA (conversational QA on text) applied to code, and more multilingual than CodeQA which focuses primarily on Java and Python
code feature extraction and token classification dataset
Medium confidenceProvides code snippets with expert-generated token-level annotations for semantic features (e.g., variable scope, function calls, data flow), enabling training of models to identify and classify code elements. The dataset uses token-classification and feature-extraction task formulations to train models to understand fine-grained code structure and semantics, supporting both sequence labeling and structured prediction approaches on multilingual code.
Provides token-level semantic annotations across multiple programming languages, enabling training of language-agnostic code understanding models through structured prediction — most prior datasets focus on code-level classification rather than fine-grained token-level semantics
More fine-grained than CodeSearchNet and more multilingual than single-language token classification datasets, enabling training of robust code analyzers across language families
multilingual code representation learning through contrastive pairs
Medium confidenceProvides code pairs with varying degrees of semantic and syntactic similarity across multiple programming languages, enabling training of code embedding models through contrastive learning approaches. The dataset uses both positive pairs (semantically equivalent code) and negative pairs (dissimilar code) to train models to learn language-agnostic code representations that capture semantic similarity while being invariant to syntactic variation and language choice.
Provides expert-validated positive and negative code pairs across multiple languages for contrastive learning, enabling training of language-agnostic code embeddings that capture semantic equivalence — combines scale (696K+ pairs) with multilingual diversity and expert validation
Larger and more diverse than CodeSearchNet's contrastive pairs and includes explicit negative examples, whereas most prior datasets rely on mined or automatically-aligned pairs without expert validation
code-to-text generation dataset for documentation and explanation
Medium confidenceProvides code snippets paired with expert-generated natural language descriptions and documentation, enabling training of models to generate documentation and explanations from code. The dataset uses text-generation task formulations to train models to understand code semantics and produce coherent, accurate natural language descriptions, supporting both abstractive summarization and detailed explanation generation across multiple programming languages.
Combines code snippets with expert-generated natural language descriptions across multiple languages, enabling training of code-to-text models through abstractive and detailed generation formulations — integrates code understanding with natural language generation at scale
More multilingual and larger than CodeSearchNet's code-to-documentation pairs and includes expert-validated descriptions, whereas most prior datasets rely on mined documentation or single-language focus
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with xCodeEval, ranked by overlap. Discovered automatically through the match graph.
CodeSearchNet
6M functions across 6 languages paired with documentation.
xCodeEval
Multilingual code evaluation across 17 languages.
The Stack v2
67 TB permissively licensed code dataset across 600+ languages.
CodeT5
Home of CodeT5: Open Code LLMs for Code Understanding and Generation
StarCoderData
250GB curated code dataset for StarCoder training.
DeepSeek V3
671B MoE model matching GPT-4o at fraction of training cost.
Best For
- ✓ML researchers training code translation models
- ✓Teams building cross-language code migration tools
- ✓Developers evaluating multilingual code LLM performance
- ✓Organizations standardizing legacy codebases across multiple languages
- ✓Security researchers building code plagiarism detection systems
- ✓ML engineers training code embedding models
- ✓Teams managing large polyglot codebases needing deduplication
- ✓Researchers studying code semantics and language-agnostic representations
Known Limitations
- ⚠Expert annotations may reflect specific translation preferences and idioms, not all valid translations
- ⚠Dataset size (696K examples) may be insufficient for training very large models on all language pairs equally
- ⚠Language pair coverage is uneven — some language combinations may have significantly fewer examples than others
- ⚠Annotations are static snapshots and don't capture evolving language features or modern idioms introduced after dataset creation
- ⚠Expert annotations reflect human judgment of equivalence, which may not align with all valid interpretations of 'semantic equivalence'
- ⚠Clone detection focuses on function/method-level granularity; may not capture equivalence at statement or expression level
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
xCodeEval — a dataset on HuggingFace with 6,96,087 downloads
Categories
Alternatives to xCodeEval
Are you the builder of xCodeEval?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →