Psychometric artificial intelligence