Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 632 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 632 Bytes

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