This test case:
8724 < sum([x * x for x in (500, 1000, 90, 250, 25) if x < 100])
#EXPECT:True
does not work in logics-py but it works in logics-js
The problem seems to be with the sum function as the comprehension produces the right result
Here is a screenshot with both cases.

This test case:
does not work in logics-py but it works in logics-js
The problem seems to be with the sum function as the comprehension produces the right result
Here is a screenshot with both cases.