Automated hypothesis generation