datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
code_x_glue_cc_defect_detection
Dataset Card for "code_x_glue_cc_defect_detection"
Dataset Summary
CodeXGLUE Defect-detection dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/Defect-detection
Given a source code, the task is to identify whether it is an insecure code that may attack software systems, such as resource leaks, use-after-free vulnerabilities and DoS attack. We treat the task as binary classification (0/1), where 1 stands for insecure code and 0 for secure… See the full description on the dataset page: https://huggingface.co/datasets/google/code_x_glue_cc_defect_detection.code_x_glue_cc_clone_detection_big_clone_bench
Dataset Card for "code_x_glue_cc_clone_detection_big_clone_bench"
Dataset Summary
CodeXGLUE Clone-detection-BigCloneBench dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/Clone-detection-BigCloneBench
Given two codes as the input, the task is to do binary classification (0/1), where 1 stands for semantic equivalence and 0 for others. Models are evaluated by F1 score.
The dataset we use is BigCloneBench and filtered following the paper… See the full description on the dataset page: https://huggingface.co/datasets/google/code_x_glue_cc_clone_detection_big_clone_bench.willow-surface-code-detection-events
Willow Surface-Code Detection Events (ingested)
Detection events and logical-observable flips derived from Google's Willow
below-threshold surface-code dataset (Zenodo
10.5281/zenodo.13273331), rotated
surface code at distances 3, 5, 7 in X and Z memory.
Each row is one experimental shot. Detection events are derived from the raw
device measurement records with Stim's measurement-to-detector converter, using
the per-shot sweep bits, and validated to reproduce the dataset's… See the full description on the dataset page: https://huggingface.co/datasets/ShayManor/willow-surface-code-detection-events.code_x_glue_cc_clone_detection_poj104
Dataset Card for "code_x_glue_cc_clone_detection_poj_104"
Dataset Summary
CodeXGLUE Clone-detection-POJ-104 dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/Clone-detection-POJ-104
Given a code and a collection of candidates as the input, the task is to return Top K codes with the same semantic. Models are evaluated by MAP score.
We use POJ-104 dataset on this task.
Supported Tasks and Leaderboards
document-retrieval: The… See the full description on the dataset page: https://huggingface.co/datasets/google/code_x_glue_cc_clone_detection_poj104.language_detection_in_codeai-code-detection
Python AI Code Detection
This dataset is based on subsets of:
Rosetta Code dataset, focused exclusively on its Python solutions.
Project CodeNet dataset, using a sample of its Python human solutions.
Summary
Sources: Rosetta Code, Project CodeNet
Language: Python
Samples: Each task includes:
One or more human-written solutions.
One or more AI-generated solutions.
This structure enables comparative studies of AI vs human code, code quality analysis of AI generated… See the full description on the dataset page: https://huggingface.co/datasets/serafeimdossas/ai-code-detection.
