I would like to make a suggestion for some new functionality for this script. I don't imagine it will be particularly simple, but I suspect this script is the place to add it and you're the man with the skills to do it.
I'm sure many editors have come across the occasional "corrupt junction": where all the geometry and turn restrictions are correct, yet Waze still will not route correctly through the junction. The solution is to note the current turn restrictions; pull each segment (including the last) away from the junction node allowing it to disappear; rejoin the segments again; move the node back to it's original location; restore the turn restrictions.
The first part of my request is a way to automate this procedure. It wouldn't be done very often and should probably not be made easy
to do (to discourage people doing it when there's no point). Perhaps only accessible through a button on the left-hand panel or an unusual key combo (ctrl+shift+Q perhaps) with a confirmation pop-up before rebuilding the junction.
The second part concerns actually identifying these nodes. I don't even know if it's possible to identify that a node is corrupt in this manner. We may well have to provide you with examples to look at.
If it is
detectable, then the above methods suggested for user access to fixing it would not be necessary: the script could simply fix the node as part of it's normal fix operation.