CI-REPAIR-BENCH
Overview
CI-REPAIR-BENCH is a benchmark dataset for research on Continuous Integration (CI) failures and automated repair in Python repositories.
The dataset contains 567 CI failure instances collected from 105 real-world GitHub repositories, all written in Python.
Each instance captures a CI workflow failure, its logs, the corresponding code diff, and repository-level metadata.
Dataset Statistics
- Programming language: Python
- Number of repositories: 105
- Number of CI instances: 567
- Domain: Continuous Integration
- Format: Parquet
- Size category: 10M < n < 100M
- Metadata language: English
Data Description
Each row in the dataset represents a CI failure scenario extracted from a GitHub repository.
Main fields
language: Programming language of the repositoryid: Unique identifier of the CI instancerepo_owner: GitHub repository ownerrepo_name: GitHub repository namehead_branch: Branch associated with the CI runworkflow_name: Name of the CI workflowworkflow_filename: CI workflow file nameworkflow_path: Path to the workflow filesha_fail: Commit SHA where the CI failedsha_success: Commit SHA where the CI succeededworkflow: Full CI workflow configurationlogs: CI execution logs capturing failure detailsdiff: Code diff between failing and fixed versionschanged_files: List of files modified in the fixcommit_link: Link to the failing commiterror_type: Categorized CI error type
Example error types
- Code Linting
- Code Formatting
- Dependency Issues
- Package Installation Error
- Test Failure
- Runtime Error
- Syntax Error
- Configuration Error
- Environment Error
- Assertion Error
- Documentation / Docstring Error
- Type Checking Error
Intended Use
This dataset can be used for:
- CI Log Analysis
- Automated Program Repair
- Learning from CI logs and diffs
- Benchmarking CI repair tools
- Empirical software engineering research
How to Use the Dataset
Download from Hugging Face Hub
from huggingface_hub import hf_hub_download
dataset_path = hf_hub_download(
repo_id="ci-benchmark-user/ci-repair-bench",
filename="ci_repair_dataset.parquet",
repo_type="dataset",
token=config.get("HUGGINGFACE_TOKEN")
)