Ad
  • Custom User Avatar

    Common Lisp translation, please approve / reject.

  • Custom User Avatar

    All languages should use floating point comparison

  • Custom User Avatar

    Ruby 3.0 should be enabled.

  • Custom User Avatar

    the description is far from good...:

    • especially convoluted about the first rule to break ties (why not to say the... "obvious", to make the things clearer?)
    • examples at the end have to be given in code blocks, to make clear what the separators are, when there are ties (=> ", ")
    • the description is actually wrongly worded about the final point of tie breaking:
      • first sub-point clearly tells the ties stands, but doesn't say to actually add "(ties)" at the end of the string (the info must be given there, not after)
      • second subpoint is clearly wrong, because it suggest the tie has to be broken while it actually isn't, on the coding/user side: it's only about adding another suffix to the string. This had to be rewritten properly.
  • Custom User Avatar

    JS:

    • the tests need to use chai.assert.deepEqual, not assertSimilar
    • the sample tests are close to useless, since they provide no case with ties/jump-off
    • no fixed tests in the full test suite
  • Custom User Avatar

    python:

    • the sample tests are close to useless, since they provide no case with ties/jump-off
    • the sample tests should be the same in all languages (to resolve the following point as well)
    • the description is fully doubled for python: that's useless
    • the initial solution in python contains a JS comment (which makes it invalid in python...)
    • no fixed tests in the full test suite.
  • Default User Avatar

    Is there a reason this isn't being tested within some tolerance? I've solved this on Python without issue, except that for ~1-5 random test cases I'm off by 1/1000 which makes the rounding break the other direction(e.g. 0.444 => 0.44 vs 0.445 => 0.45).

  • Default User Avatar

    Considering this is an 8-kyu challenge with no obvious solution, it should utilize the V2 test suite's approximation.

  • Custom User Avatar

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

  • Custom User Avatar

    Need example tests to show what's going on :)