spatial ability test rebuild in flask