How computation can predict group conflict