Closed ariannab closed 6 years ago
Comments such as the following ones are not translated by Toradocu:
Comment: the space dimension is outside the allowed range of [1 40]. Expected condition: args[0]<1||args[0]>40 Actual condition:
args[0]<1||args[0]>40
Comment: if the probability of success is not in the range [0, 1]. Expected condition: args[1]>=0&&args[1]<=1 Actual condition:
args[1]>=0&&args[1]<=1
Toradocu has already a partial solution for translating ranges: the patterns must be improved.
Fixed via #195.
Comments such as the following ones are not translated by Toradocu:
Comment: the space dimension is outside the allowed range of [1 40]. Expected condition:
args[0]<1||args[0]>40
Actual condition:Comment: if the probability of success is not in the range [0, 1]. Expected condition:
args[1]>=0&&args[1]<=1
Actual condition:Toradocu has already a partial solution for translating ranges: the patterns must be improved.