Ad
  • Default User Avatar

    What constitutes a letter? -> elaborated more on that.
    What constitutes a punctuation? -> again, elaborated more on that.
    Description does not mention that stripping the essay and removing unnecessary spaces or their equivalents is required -> I made it so that doesnt happen (to my knowledge).
    No example tests -> I added some (if you consider the tests I added as such).
    Assertion messages exist for a reason, that is to not pollute the namespace with excessive printing, which is bad practices. -> I completely reworked the random tests, it no longer prints anything to the console.
    Also in-accordance with statement right above and issue below, no one is going through that piece of essay for the sake of debugging, so with or without the assertion messages is deemed useless (No wonder Bob is struggling so hard though...) -> This one is on me xd, but I changed the random tests to be shorter and more readable, rather than the long block of text it was before.
    Also also.. string manipulation is a duplicate and has been done to death -> Any suggestions? I usually do not mess with tags. I did not know that "string manipulation" was done to death, so I simply removed it.

  • Default User Avatar

    Yeah, I thought that was going to be an issue like 20 minutes after publishing, but I couldn't really find a computer to change it, so here I am. I fixed it by creating more example tests, short random tests, and some long random tests.

  • Default User Avatar

    Alright, I fixed the random tests. I think the issue was that I made the input for the function global, and I technically accessed it in my solution function. I made the inputs local.

  • Default User Avatar

    Honestly, I am not the best at Lua, so I didn't know that modifying the table instead of creating a new one caused problems. Also, could you give an example of your issue, because a class's stats can sometimes remain the same (as in the example provided).

  • Default User Avatar

    I completely changed the description to be more guiding, I hinted at Math.min() in it.

  • Default User Avatar

    I added a requirement to return the first index if there is more than one occurrence.

  • Default User Avatar

    I added the Object array.

  • Default User Avatar

    I am pretty sure I fixed this, but I am not experienced in creating Katas, so let me know if anything pops up.

  • Default User Avatar

    changed "char end" to "String end"