• ###### Chrono79commented on "The search for Primes! Twin Primes!" kata

n + 2 is outside the range. if n was 12, then yes, the 11-13 pair should be counted.

• ###### Mednoobcommented on "The search for Primes! Twin Primes!" kata

Well, if it's end-inclusive then for input `11` shouldn't it result in `3` instead of `2` since `11 + 2` is also prime?

Anyway, the description is still unclear imo.

• ###### JohanWiltinkcommented on "The search for Primes! Twin Primes!" kata

How does this match with "If n is wrapped by twin primes (n-1 == prime && n+1 == prime) then that should also count even though n+1 is outside the range." ? That sounds end-inclusive ( and even slightly overinclusive, but specified unambiguously nevertheless ).

• ###### KayleighWasTakenresolved a suggestion on "The search for Primes! Twin Primes!" kata

Fixed. JS tests now use identical parameters to Python.

• ###### Mednoobcreated an issue for "The search for Primes! Twin Primes!" kata

Your mission, should you choose to accept it, is to write a function that counts the number of sets of twin primes from 1 to n.

It was not mentioned that the range is end-exclusive.

• ###### JohanWiltinkresolved an issue on "The search for Primes! Twin Primes!" kata

that should have fixed the issue then

• ###### trashy_incelcommented on "The search for Primes! Twin Primes!" kata

the tests are missing `require 'prime'` (which is a standard Ruby module) at the top (they currently rely on the fact that the author's solution does `require` it)

fixed here

• ###### Pale-Vesselcreated an issue for "The search for Primes! Twin Primes!" kata

In Ruby, I seem to have to create an alias for my function called `Prime` before the random tests will run.

• ###### ejini战神resolved an issue on "Happy Numbers" kata

fixed in OP's fork

Approved

• ###### saudiGuycreated a suggestion for "Happy Numbers" kata

python new test framework is required. updated in this fork

• ###### saudiGuycreated an issue for "Happy Numbers" kata

Python :

• The example tests aren't using the test framework, and both test suite and example tests are missing the imports (user's solution + framework).
• ###### Chrono79commented on "The search for Primes! Twin Primes!" kata

Javascript reference solution is too slow to use the same range. Maybe it should be rewritten.

• ###### tolgaersoycommented on "The search for Primes! Twin Primes!" kata

Yes. I solved that kata. I looked my old solution and I solved this kata. I forgetted How can I use fastly prime number calculate method. I remember again. Thank you man. Respect.