Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Lua translation ! Can someone review it please ?Thanks !
Not enough test cases. My first solution passed "Attempt" (and submitted against my will), even though it resulted in exception in "Test" when I added a test case ("allisonname", "allison")
Python: almost all random tests expect
False
.return False
passed all random tests after a couple of resubmits (see this solution).the formula is incorret.
the correct formula is
BAC% = ((A * 5.14 * r)/W) - 0.015 * H
For what is 'abv' here? It doesn't appear in Formula.
So is the second string guaranteed to contain only letters or there may be special characters too?
This comment is hidden because it contains spoiler information about the solution
Java: no fixed tests for case insensitiveness. (And the random tests rarely generate such cases.)
If
str
andname
are both empty, then the result should betrue
or you should say that they are not empty (str.length and name.length > 0). Sorry for my bad English :)Better to not rely on an
encode
that solvers can get their dirty little fingers on.https://www.codewars.com/kata/reviews/5d2a1c58d6e947000141ff99/groups/5d2a2c430abb7b000159efaa
Define and use your own.
Duplicate of every other "turn math function into a programming function" kata. Should never have been approved.
The actual/expected values should be compared for approximate equality.
Duplicate Kata if I remember correctly