Ad
  • Custom User Avatar

    Done in latest fork

  • Custom User Avatar

    Approved

  • Custom User Avatar

    Fixed in OP's fork

  • Custom User Avatar

    Python: Random tests are vulnerable to input modification

  • Custom User Avatar

    python new test framework is required. updated in this fork

  • Custom User Avatar

    In crystal, the preloaded array should be WORDS

  • Custom User Avatar

    The descrtiption requires a re-wording to fix language-agnostic and long text issues

  • Custom User Avatar
    • Node 18 should be enabled (Refer this and this for more info)
  • Custom User Avatar
    • Python new test framework should be used (Refer this & this for more detail)
  • Custom User Avatar
    • The description for Ruby should state that the preloaded array of words is stored in $words

    • Ruby 3.0 should be enabled (Refer this & this for more detail)

  • Custom User Avatar

    Minor issue/suggestion with python/ruby random tests (probably crystal too): the input array doesn't generate "valid" 5-7-5 haikus:

     Testing for [[34, 27, 24, 44], [65, 46], [48, 21, 74, 36]]        # 11-10-16
     Testing for [[20, 18, 55], [71, 56, 43, 44], [18, 17, 65, 24]]    # 8-20-10
     Testing for [[10, 62, 73], [14, 51, 36, 59], [66, 59, 40]]        # 14-14-15
     etc.
    
  • Custom User Avatar

    yes, it looks like the array used for random tests in Python is not the right one;
    I took the liberty to arrange the words array (cf my former post), and random tests are working fine now !
    Beautiful kata by the way !

  • Custom User Avatar
  • Custom User Avatar

    Here is the right list to work with ! All works fine with it

    words = [ ["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative",
    "watermelon", "controversial", "marijuana"],
    ["like", "a", "tweet", "what", "for", "world", "whale", "one", "last", "sun"],
    ["ocean", "beauty", "tweet", "monster", "yellow", "return", "despair", "flower", "return", "contrast"],
    ["romantic", "curious", "banana", "jealousy", "tactlessly", "remorseful", "follower", "elephant",
    "however", "instagram"],
    ["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative",
    "watermelon", "controversial", "marijuana"],
    ["lackadaisical", "serendipity", "colonoscopy", "dramatically", "parsimonius", "imagination",
    "electricity", "diabolical", "deforestation", "abomination"],
    ["extraterrestrial", "onomatopoeia", "responsibility", "revolutionary", "generalisation",
    "enthusiastically", "biodiversity", "veterinarian", "characteristically", "indefatigable"],
    ["oversimplification", "individuality", "decriminalisation", "compartmentalisation", "anaesthesiologist",
    "industrialisation", "buckminsterfullerene", "irresponsibility", "autobiographical", "utilitarianism"]
    ]

  • Custom User Avatar

    Or is the preloaded code being defined based on the javascript array words? Again sorry, I'm probably making no sense, just trying to understand a little :)

  • Loading more items...