Skip to content

plait-lab/stbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stbench

Benchmarking framework for stsearch a code search tool with support for partial code queries.

Setup

$ pip install -r requirements.txt
$ git submodule update --init --recursive
$ tar xf corpus.tgz  # provided separately

Usage

$ python -m stbench -h

Testing

$ python -m stbench \
    --queries queries/javascript/express/security/injection \
    --corpus corpus/sample.in \
    --results results/sample

Reproduce

$ python -m stbench \
    --queries queries/javascript/express \
    --corpus corpus/complete.in \
    --results results/corpus