Code for QSI's "Hack QSI" test