Researchers from the University of Valladolid (Spain) have created a computer model based on neural networks that calculates the probability in Spanish provinces of corruption, as well as the conditions that favor it. This alert system confirms that the probabilities increase when the same party stays in government for more years.