chienmy / SBR_Experiment

Security bug report identification via active learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SBR_Experiment

The purpose of this experiment is to find unlabelled security bugs among thousands of bug reports via active learning and ranking. This experiment simulates the review process under the specified SBR(Security Bugs Report) recall rate.

Structure

  • encoder/: Different method to transform words into vectors
  • model/: Training different models and predict the probability of SBR
  • experiment/: Experiments to run
  • RQ*.py: Runner

Configure

All configurations are in BaseExperiment class, and we use ExperimentFactory to build its instance from a list of configurations dictionary.

Running

pip install numpy pandas sklearn alive_progress
python3 RQ*.py

About

Security bug report identification via active learning


Languages

Language:Python 100.0%