How so?

Fixed.

• ###### CW2019created an issue for "Pythagorean Triple" kata

Test case for Java seems to suggest that 0 is True while 1 is False

• ###### TheLamiacreated an issue for "Pythagorean Triple" kata

The description and samples suggests that c is the final argument (well, kind of)--but random tests do not have the same happen. At least in Python... but from other comments in other languages?

Perhaps add a sample test case where c is in the first or second spot. With the error being "checking if c is in a weird spot" or something

• ###### Wirekcreated an issue for "Pythagorean Triple" kata

This comment is hidden because it contains spoiler information about the solution

Fixed.

• ###### Angelrinacreated an issue for "Find the Slope" kata

Java sample test cases are still written in wrong syntax.

• ###### 1067511899commented on "Pythagorean Triple" kata

If I know the input integers are not sorted,I can easily solved the problem.
but the kata is confused.

• ###### erichlfcreated an issue for "Pythagorean Triple" kata

In the current c++ version one can pass the attempt portion and fail the sample test portion. I noticed this because there is at least one solution accepted as correct, which is absolutely incorrect. You can check this by simply checking the case a^2 + b^2 = c^2 only.

Fixed

• ###### newshcommented on "Find the Slope" kata

Java test cases still have wrong syntax.

Use

``````  assertEquals("undefined",s.slope(new int[] {-7,2,-7,4}));
assertEquals("5",s.slope(new int[] {10,50,30,150}));
assertEquals("-5",s.slope(new int[] {15,45,12,60}));
assertEquals("6",s.slope(new int[] {10,20,20,80}));
assertEquals("undefined",s.slope(new int[] {-10,6,-10,3}));
``````
• ###### 738gh50fcreated an issue for "Pythagorean Triple" kata

The C++ starting function is erroneously and amusingly called PythagoreanTripe.

• ###### Unnamedcommented on "Pythagorean Triple" kata

I used to have a plain text file with all my solutions for better duplicate search capabilities (searching for solutions themselves with simple regexps) but stopped updating it at some point. Now some solution downloading script could be useful...

• ###### Blind4Basicscommented on "Pythagorean Triple" kata

the real problem about finding the duplicates is rather that the research function on CW is sometimes quite poor...! ;)

• ###### mentalplexcommented on "Pythagorean Triple" kata

This is why I think an agreed upon quality rubric would be helpful.

@Blind4Basics if you can't find the duplicate, I don't think you can raise it as an issue :)

I'd say there are several (many) kata that use `c**2 = a**2 + b**2`. I wouldn't personally count it as a duplicate unless you had to use it in the same way to complete the same task. It would be nice if we could come to an agreed upon standard. See the section on measuring quality in this comment.

Note also, that from a pedagogy perspective, similar and only slightly different tasks are very useful.