I think you should remove `log10` from the triggers in L30, since this line will render it moot.  You could also modify this line to allow for both forms, but that might be overkill since this change is not intended to be backwards compatible.

More generally, I think this input transformation work should be done outside of this `eval` and closer to where the other transformations are done.  (Maybe around L64?)