"Upholding the law" is such a subjective idea. An officer can uphold the law by running a speed traps and earning the department more money. They could alternatively do difficult investigatory work looking into violent crimes that would deliver more value to the community. If a community is the employer of officers it seems strange that officers would be held accountable to anything besides the needs of the community.
Developers live in a world of scrum, points, and delivering value. I think whoever pays for the officers salary should be the "product owner" of the police department.