Oh believe me the developers know all about it, and to be honest they’ve already done an incredible job. Automatically translating code from Python to JS at all is a tremendous achievement given how different the two languages are. Everything else in the builder is just a representation that can be compiled into any language that they’ve programmed those objects into, so it’s not trying to directly translate python into javascript, but code elements are pure python code, so translating them procedurally without making you write out python code and javascript code separately and manually? Sure, doing it better would be nice, but from the perspective of someone who has manually coded whole experiments from scratch in both languages, doing it at all is very impressive.
Also I think I know how to fix it. Try moving the code to “every frame” instead of “begin routine”. I’ve seen other people say that skipping trials only works if the skip code is in the “every frame” tab.