--- dataset_info: features: - name: repo dtype: string - name: instance_id dtype: string - name: base_commit dtype: string - name: patch dtype: string - name: test_patch dtype: string - name: problem_statement dtype: string - name: requirements dtype: string - name: interface dtype: string - name: repo_language dtype: string - name: fail_to_pass dtype: string - name: pass_to_pass dtype: string - name: issue_specificity dtype: string - name: issue_categories dtype: string splits: - name: dev num_bytes: 4783179 num_examples: 225 - name: test num_bytes: 44121927 num_examples: 2294 - name: train num_bytes: 367610377 num_examples: 19008 download_size: 120086340 dataset_size: 416515483 configs: - config_name: default data_files: - split: dev path: data/dev-* - split: test path: data/test-* - split: train path: data/train-* --- # Dataset Card for Software Repository Patch Dataset ## Dataset Summary This dataset contains software repository patches and associated metadata for automated program repair and code analysis research. The dataset includes patch information, test cases, problem statements, requirements, interface specifications, and various metadata fields across multiple programming languages and repositories. ## Dataset Structure ### Data Instances An example datum contains: ```json { "repo": "repository_name", "instance_id": "unique_identifier_65_to_120_chars", "base_commit": "40_char_git_commit_hash", "patch": "code_patch_diff_1.44k_to_180k_chars", "test_patch": "test_cases_325_to_322k_chars", "problem_statement": "issue_description_419_to_8.04k_chars", "requirements": "project_dependencies_124_to_6.7k_chars", "interface": "api_specifications_1_to_12.2k_chars", "repo_language": "programming_language", "fail_to_pass": "tests_that_should_pass_after_patch_10_to_155k_chars", "pass_to_pass": "tests_that_should_continue_passing_2_to_532k_chars", "issue_specificity": "specificity_level_12_to_77_chars", "issue_categories": "issue_type_categories_and_tags" } ``` ## Data Fields repo (string): Repository identifier - one of 11 repository classes instance_id (string): Unique identifier for each instance (65-120 characters) base_commit (string): Git commit hash of the base version (40 characters) patch (string): The actual code patch/diff (1.44k - 180k characters) test_patch (string): Test cases related to the patch (325 - 322k characters) problem_statement (string): Description of the issue being addressed (419 - 8.04k characters) requirements (string): Project requirements or dependencies (124 - 6.7k characters, may be null) interface (string): API or interface specifications (1 - 12.2k characters, may be null) repo_language (string): Programming language of the repository - one of 4 language classes fail_to_pass (string): Test cases that should pass after patch application (10 - 155k characters) pass_to_pass (string): Test cases that should continue passing (2 - 532k characters) issue_specificity (string): Specificity level of the issue (12-77 characters) issue_categories (string): Categories or tags for the issue type