Also, PCPs are subject to the most metrics/rubrics of any, and all the crap paperwork that any specialist can foist off onto them, they do. Shit rolls downhill, and PCP's are at the bottom
They may stop seeing patients at 5, but they sure as shit aren't done at 5. Most are logging back in even later doing all the "paperwork" they didn't have time to do during the day. Even has a nickname: "pajama time"
Now imagine that happening dozens or hundreds of times over the course of a career.
Unless coders are working on air traffic control or something similarly critical, it's pretty rare for a bug to kill someone.
Same reason why classical engineering fields don't do anything like leetcode, those engineers are actually accredited.