I tried https://www.patrick-wied.at/projects/heatmap-keyboard/ and pasted in a large Python file - https://raw.githubusercontent.com/biopython/biopython/refs/heads/master/Bio/SeqIO/__init__.py - so a good scattering of numbers and punctuation.
This clearly shows the left shift key being used on QWERTY layout - or anything else using this same basic shape:

[I guess you are assuming left-shift for any punctuation requiring shift - although many people might be using right-shift some of the time.]
However, switching to any of the ErgoDex layouts, shift does not get highlighted:

[The use of the quote key is interesting here - lots of Python strings using double-quote in this example which would be shift+' on a US layout, shift+2 on my UK keyboard.]
I tried https://www.patrick-wied.at/projects/heatmap-keyboard/ and pasted in a large Python file - https://raw.githubusercontent.com/biopython/biopython/refs/heads/master/Bio/SeqIO/__init__.py - so a good scattering of numbers and punctuation.
This clearly shows the left shift key being used on QWERTY layout - or anything else using this same basic shape:
[I guess you are assuming left-shift for any punctuation requiring shift - although many people might be using right-shift some of the time.]
However, switching to any of the ErgoDex layouts, shift does not get highlighted:
[The use of the quote key is interesting here - lots of Python strings using double-quote in this example which would be shift+' on a US layout, shift+2 on my UK keyboard.]