• Custom User Avatar

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

  • Custom User Avatar

    When rounding the answers, ceil, floor, and round all failed a different subset of the tests.

  • Custom User Avatar

    I guess you're thinking about r'\bopen\s*\('? But, it's not safe enough:

    opener = open
    opener("stuff")
    

    would pass the check without problems.

  • Custom User Avatar

    This would actually be quite trivial with a little regex... certainly no AI is necessary.

  • Custom User Avatar

    "why not?", I'd say?

  • Custom User Avatar

    Why use lambdas if you're just going to assign them to names? You may as well use the (more readable) standard def syntax.

  • Custom User Avatar

    Python supports inner functions; you can put eply, mcglothin, and lombardi inside calculate_1RM and avoid cluttering the namespace.

  • Custom User Avatar

    This isn't crucial.

    and it wasn't smart enough to realize that comments aren't executable

    Please, write an AI that will realize that comments are not executable, and I will gladly replace the current anti-cheat with it.

  • Custom User Avatar

    The cheat detection in the Python version is overly sensitive. For instance, I couldn't use the words "open parenthesis" in a comment because it said I couldn't use open(), and it wasn't smart enough to realize that comments aren't executable.