I think average to average docs do make more than devs. There's just mountains less stress and earlier pay days in comp sci, and arguably better lifetime salary when you compound savings from a younger age- but of course this varies depending on location, spending habits etc. anyhow I wasn't trying to debate that - just wanted to clarify average as opposed to 'base', which sounded to me like it was meant to be some low number that most doctors make more than, when in fact it's an average.
Academia in medicine is rarely a 100% teaching role. Usually most are 80/20 or 70/30 with respect to clinical versus teaching/research duties. The occasional power researcher will end up completely nonclinical but its the exception.
People take the academic paycut because of a sense of pride of being at an institution, more job security , and good malpractice coverage and other benefits, and enjoy the perks of teaching and research. But on a day to day basis there is still a lot of clinical responsibility , their job doesn't actually differ *that* much from a physician out in practice , atleast in that respect