methods2test_meta / README.md
andstor's picture
Upload dataset
e63fd4f verified
metadata
dataset_info:
  - config_name: commit_candidates
    features:
      - name: id
        dtype: string
      - name: commit
        dtype: string
      - name: candidates
        sequence: string
    splits:
      - name: test
        num_bytes: 2832088816
        num_examples: 74779
      - name: validation
        num_bytes: 2126904157
        num_examples: 35033
    download_size: 269555092
    dataset_size: 4958992973
  - config_name: golden_commit
    features:
      - name: id
        dtype: string
      - name: commit
        dtype: string
    splits:
      - name: test
        num_bytes: 3859056
        num_examples: 74779
      - name: validation
        num_bytes: 2094445
        num_examples: 35033
    download_size: 929603
    dataset_size: 5953501
  - config_name: test_status
    features:
      - name: id
        dtype: string
      - name: build_tool
        dtype: string
      - name: status
        dtype: string
    splits:
      - name: test
        num_bytes: 29845349
        num_examples: 74779
    download_size: 730702
    dataset_size: 29845349
configs:
  - config_name: commit_candidates
    data_files:
      - split: test
        path: commit_candidates/test-*
      - split: validation
        path: commit_candidates/validation-*
  - config_name: golden_commit
    data_files:
      - split: test
        path: golden_commit/test-*
      - split: validation
        path: golden_commit/validation-*
  - config_name: test_status
    data_files:
      - split: test
        path: test_status/test-*

Golden commits are found by itterating through commits and picking the last commit where the file contents of the tests and focal class is the same as in methods2test dataset. See dataset_commit.ipynb