How to determine when the midtones are properly exposed using the exposure module?

Surely the Zone System in the darktable Tone group comes close to what you would like? https://www.darktable.org/usermanual/en/tone_group.html section 3.4.2.4.