Cody

David Verrelli

54
Rank
14
Badges
10000
Score
101 – 150 of 2,638

David Verrelli submitted a Comment to Problem 43546. Slope of the line passing through two points

Link from Peng Liu's comment has been down for several days. However the advice is still valid: Test Suites should include at least four test cases — although more are often necessary to prevent hard-coded workarounds.

on 8 Jul 2018

David Verrelli submitted a Comment to Problem 43166. Probabilities - Balls and urns - 02

Agree with John D'Errico that the Problem Statement is ambiguous. For the record, based on case 5 of the Test Suite, it must be the _observed_ number of red balls that is to be computed.

on 7 Jul 2018

David Verrelli submitted a Comment to Problem 43283. Subtract integers and add doubles

Also, Problem Statement is inconsistent with Test Suite (and Solution Template). It should say: "Create a function that subtracts b from a" (not "a from b").

on 6 Jul 2018

David Verrelli submitted a Comment to Problem 43283. Subtract integers and add doubles

Too many clues are given in the Solution Template.

on 6 Jul 2018

David Verrelli liked Solution 1576522

on 6 Jul 2018

David Verrelli submitted a Comment to Solution 1396533

Cf, Problem 337.

on 5 Jul 2018

David Verrelli submitted a Comment to Problem 44386. Circumscribed Pentagon?

Hi, goc3. Nice problem. I have one piece of feedback. I anticipated in a "Cody5:Hard" problem that the pentagon & circle couldn't be assumed to have the same centre if it weren't stated in the problem, but roughly they do seem to share a centre in the present Test Suite. If that is the case, then I suggest either explicitly mentioning it in the Problem Statement, or else adding more test cases where the shapes don't share a centre. An example of the latter would be a tiny circle centred midway along one of the edges of a large pentagon (correct answer 2, but would probably be misclassified if centres assumed equal). Regards, DIV

on 5 Jul 2018

David Verrelli submitted a Comment to Problem 43298. Calculate area of sector

No challenge if players can just COPY-AND-PASTE the formula from the Problem Statement! There should also be more test cases (minimum of four).

on 5 Jul 2018

David Verrelli submitted a Comment to Problem 43325. Count given word x in text.

The phrasing of the Problem Statement is not correct. The string "When you finish ..., you will be told .... You can then .... You can also ...." contains FOUR instances of the WORD "you". "You", "YOU" and "you" are all examples of the _word_ "you". The Problem Statement should say that the player must find occurrences of the provided text-pattern of the same case within the given text.

on 5 Jul 2018

101 – 150 of 2,638