Ad
  • Custom User Avatar

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

  • Custom User Avatar

    The last two tests have invalid answers values, and expect a result. Please either suppress or explain what to do with these invalid values.
    Most solutions pass because they do not process these values at all.
    I would not appreciate a teacher reasoning I don't if it's wrong or right... just forget it. :)

  • Custom User Avatar

    My fault, I delete the comment line very quickly upon starting a new kata... Sorry.
    Thanks!

  • Custom User Avatar

    And, as Insti wrote, the solution checking code is wrong: testing the minimum time without knowning if it is walk or bus time is flawed, check with (14.67, 0.2, 0.37) for example.

  • Custom User Avatar

    Please fix ruby description of predefined speed variables: these are neither

    Constants
    

    as described, nor

    functions
    

    as syntax lets one think, but

    $global_variables
    
  • Custom User Avatar

    Random broken tests:

    Testing for "-6,-5,1-4,-3"
    It should work for random inputs too - Expected: "not consecutive", instead got: "incorrect input"
    Testing for "0-1,0,1,2"
    It should work for random inputs too -  Expected: "not consecutive", instead got: "incorrect input"
    Testing for "-9,1-8,-7,-6"
    It should work for random inputs too -  Expected: "not consecutive", instead got: "incorrect input"
    

    These are invalid inputs.

  • Custom User Avatar

    Tests and description do not match on the time criteria: test fails when song duration equals the specified time.

  • Custom User Avatar

    Actually, it is a global variable with String keys:

    $employees['first_name']
    

    Someone can update Ruby kata description?

  • Custom User Avatar

    Invalid tests occurs sometimes:

    Testing 0 people in line, at least 0.6868284179135593 ahead, no more than 0.7337465434779341 behind:
    At least 0.6868284179135593 people before Vasya -  Expected: -0.6868284179135593, instead got: 0
    

    It seems happening when there is 0 people in line.

  • Custom User Avatar

    Have this be done for Ruby to? Tests demonstrate rounding error accumulation.

  • Custom User Avatar

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

  • Custom User Avatar

    Wrong solution, I did not entirely read the instructions...

  • Custom User Avatar

    It is Ruby.
    For example:

    Testing for cards 9, 4, 5, 5, 5, 5, 8, 7, 7, 7, 1, 4, 1
    Test Passed: Value == 201

  • Custom User Avatar

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

  • Custom User Avatar

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