IME rcoers is absolutely right. The higher up the food chain, usually the more professional they are.
No offense meant to small town cops, but I live in what used to be a smaller town and next to me are towns with just a "constable" so I do deal with them. And I have a few family members that are deputies, and friends that are IPD. A close friend of the family was a former ISP "Director" or whatever his title was, he was the top dog.
The small towns then up to the city cops its a 50/50 at best dealing with an officer that exercises common sense in the extreme situations. Again, no offense, just my take. They are also usually the less expierenced too. Our County sheriffs (Morgan) are pretty good and easy to deal with, and most are into and have a good general gun knowledge.
My wife worked as the court clerk years ago and I knew every town cop back then and most of the areas ISP and MCS and we can tell you some stories. Mooresville was known for some "Keystone Cops" back then. Squad cars run off into ponds, lost sidearms etc..... But having said that, some of them were really good to, but maybe because we knew them also. And my family owns a few businesses in town and maybe thats worth something too.
Once a "new" officer in town pulled my bro-in-law and I over after seeing his pistol as he got in my truck. It was a full felony stop after two other cars joined in. You know, over the loud speaker, hands out the window, back up to me and then lay down. They were so nervous and kept asking where the safeties were, we both had Glocks and I also had a snub revolver. It was late '80s and they had probably never seen a Glock before. They still carried S&W wheelguns. And I was fresh out the service and may have had a little attitude also.
They had a good laugh when one of the later arriving officers seen it was me and they told my wife about it and elaborated that I had "burglery tools" in the truck.
Anyhow, I usually breathe easier when its a County or State level officer that I have to explain things to and show my CCW.