Ad
  • Custom User Avatar

    To pass tests, I have added time.sleep(0.1) in my function to avoid the error.
    With 3 attempts, 2 are ok. Maybe time.sleep(0.2) would be better.

  • Custom User Avatar

    i have deployed a quick-fix that should allow the kata to be solveable again in Python, though it is probably not a long-term solution. I have reduced the number of random tests and added some delay in-between requests.

  • Custom User Avatar

    I have narrowed down the cause of the bug. It seems that Wikidata lowered their allowed request rate. The test suite makes too many requests with too short a delay between them. As a result, wikidata responds with the error code 429 (Too Many Requests). As there is then no JSON response to parse when that occurs, the error cascade shown above is triggered. By deleting some of the fixed tests and calling time.sleep() with a reasonable delay between random tests, the error no longer occurs.

  • Custom User Avatar

    yup same
    such a good problem but unsolveable