Reminds me of the anime "Psycho Pass". It's set in the not-so-distant future where everyone is monitored and assigned a "crime coefficient". Without giving too much away, the system starts to show its weaknesses when a criminal is able to murder people and commit crimes without being detected by the system.