I knew that cops can frame people, and in some areas they run wild without any checks to their power, but the incredible productivity of these cops is scary.
(Ironically, if someone would have taken justice into their own hands, they'd have been celebrated as hero martyrs for years.)
As a side note about framings: I think the biggest framing in all history occurred when software errors in a system built by ICL sent sub-postmasters to court and prison in the UK.
By 2022, 736 prosecutions had been identified, 83 convictions had been overturned and more were expected to be quashed. The number of those affected by other types of abuse by the Post Office, torts, breach of contract, coercion etc., has not been tabulated or published.
I think that if society wants to keep police, it has to ensure that it takes a stable personality with functioning ethics and reasonable intellect to get a job there. Becoming a cop should be equivalent to getting a doctor's degree in medicine, with plenty of possibilities for dropping out. The implication would be that cops would be scarce - that sort of society would want to reduce its crime levels via prevention.
Alternatively, a random selection of ordinary people might be chosen to investigate crimes. Lower efficacy, but far less chance of abuse.
As the bare minimum, allegations against the police should be investigated by some other institution - one which gets zero benefit from good relations with cops.