SECV-bench-Public / README.md
rufimelo's picture
Add public CWE subsets (20 samples per CWE) of vulnerability dataset
ca923ab verified
metadata
dataset_info:
  features:
    - name: vuln_id
      dtype: string
    - name: cwe_id
      dtype: string
    - name: score
      dtype: float64
    - name: chain
      dtype: string
    - name: dataset
      dtype: string
    - name: summary
      dtype: string
    - name: published_date
      dtype: string
    - name: chain_len
      dtype: int64
    - name: project
      dtype: string
    - name: commit_href
      dtype: string
    - name: commit_sha
      dtype: string
    - name: patch
      dtype: string
    - name: chain_ord
      dtype: string
    - name: before_first_fix_commit
      dtype: string
    - name: last_fix_commit
      dtype: string
    - name: chain_ord_pos
      dtype: int64
    - name: commit_datetime
      dtype: string
    - name: message
      dtype: string
    - name: author
      dtype: string
    - name: comments
      dtype: string
    - name: stats
      dtype: string
    - name: files
      list:
        - name: additions
          dtype: int64
        - name: changes
          dtype: int64
        - name: deletions
          dtype: int64
        - name: patch
          dtype: string
        - name: path
          dtype: string
        - name: raw_url
          dtype: string
        - name: status
          dtype: string
    - name: prior_version
      dtype: string
    - name: after_version
      dtype: string
    - name: file_extension
      dtype: string
    - name: cwe
      dtype: string
    - name: vuln_commit_shas
      dtype: string
    - name: file_paths
      list: string
    - name: file_paths_str
      dtype: string
    - name: num_files
      dtype: int64
  splits:
    - name: cwe_400
      num_bytes: 179565
      num_examples: 45
    - name: cwe_20
      num_bytes: 122904
      num_examples: 31
    - name: cwe_79
      num_bytes: 520946
      num_examples: 102
    - name: cwe_22
      num_bytes: 179929
      num_examples: 40
    - name: all_cwes
      num_bytes: 1003344
      num_examples: 218
  download_size: 1181263
  dataset_size: 2006688
configs:
  - config_name: default
    data_files:
      - split: cwe_400
        path: data/cwe_400-*
      - split: cwe_20
        path: data/cwe_20-*
      - split: cwe_79
        path: data/cwe_79-*
      - split: cwe_22
        path: data/cwe_22-*
      - split: all_cwes
        path: data/all_cwes-*