Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Apologies, the individual who translated the Kata into Javascript introduced the problem, and it slipped by when I reviewed it. The issue should now be resolved.
After reviewing the answers I can say, with a high degree of certainty, that sexy_primes(21,27) and sexy_primes(16,22) returns false ie. there is a method in the test casses (which we will call method_x for now) which determines whether or not your answer is correct by doing "Test.assert_equals(sexy_primes(x,y), method_x(x,y))". When testing method_x(21,27) and method_x(16,22), the method returned False for both the Javascript and Python languages.
I reorganized both the python and javascript solutions such that the true_tests and false_tests arrays are combined and shuffled before testing to mitigate hardcoded solutions. This should have fixed the issue.
Marking as resolved.
Tests should be randomized in order of pass or fail or else hardcoded solutions are still very possible! :)
Some test outputs are invalid (21,27 and 16,22 in my case) though the program expects "true" output.