Auto translation to js differs from time to time for randint function!

Description of the problem: I have noticed that in one of my experiments the python code of ran=randint(1,6) is the same in the js side of the code component in the builder view but sometimes it’s translated to ran = (Math.floor((Math.random() * ((1 - 0) + 1))) + 0);
Does anybody know why this happens and how can be fixed?

Try ran=randint(1,6)+0 to suppress the buggy auto translation.