kristian-a's picture
Update README.md
676654a verified
metadata
dataset_info:
  features:
    - name: function
      dtype: string
    - name: severity
      dtype: string
  splits:
    - name: train
      num_bytes: 1327573
      num_examples: 2473
    - name: test
      num_bytes: 237962
      num_examples: 437
  download_size: 670552
  dataset_size: 1565535
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: test
        path: data/test-*
license: mit
task_categories:
  - text-classification
language:
  - en
tags:
  - finance
pretty_name: Severity of Vulnerable Solidity Functions
size_categories:
  - 1K<n<10K

This dataset combines vulnerable functions (scraped from 5 auditting companies: Codehawks, ConsenSys, Cyfrin, Sherlock, Trust Security) and auddited functions with no vulnerabilities (scraped from Etherscan)

The purpose of the dataset is to enable training of classification models to discriminate between the 4 classes: none, low, medium and high.

Field Description
1. function Raw solidity code
2. severity Severity of vulnerability ('none', low, medium, high)

Data Analysis

Additional Info

  • The newline characters are escaped (i.e. \\n)