Ad
  • Custom User Avatar

    The task is irrelevant to the tests. In fact, bloom filter isn't even necessary since the kata only asks for a lossy map, and doesn't test the specifics of a bloom filter.

  • Custom User Avatar

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

  • Custom User Avatar

    When the tests "hash_function_control", "register_and_check", "approximate_error_rate", and "overload" succeed, no assertion function (cr_something) are being called. That's why these red triangle appear in the test results. If you want the usual regular green test results for correct solution, you should call at least one assertion function in each test.

    BTW: If you want a literal % in a format string, use %%.

  • Custom User Avatar

    There're so many parsing problems I doubt creating more trivial ones would benefit anybody.

  • Custom User Avatar

    just one test? Is it serious?

  • Custom User Avatar
        'id': 'Jean',                  # the client id is a string of 12 digits
    
        'name': '0612358745',          # name of the client : 2 chars minimum
                                       # and all caps