When I lived in Somerville, I took it as a trade off that in Cambridge, there'd be way more bike lanes than in Boston but also a bike cop outside that bookstore or 10,000 villages on Mass Ave, waiting for someone to blow through the light at Inman. And to get you to stop, they'll step out in front of you. And they'll step out in front of you even if you walk your bike through the intersection with the pedestrian light.
I always wondered what would happen if someone assumed the cop was just some weirdo in a blue windbreaker and shorts that had jumped into the street. Definitely could happen in Central Sq.
Now I live in DC and run red lights in front of all different kinds of cops. Such an assortment of cops in DC. I don't know why they don't stop bikes here (as far as I know). Maybe they do it in Bethesda, where they have less to care about?