def stats_evaluation(stats):
statement = stats.get('<STR_LIT>')<EOL>error = stats.get('<STR_LIT:error>', <NUM_LIT:0>)<EOL>warning = stats.get('<STR_LIT>', <NUM_LIT:0>)<EOL>refactor = stats.get('<STR_LIT>', <NUM_LIT:0>)<EOL>convention = stats.get('<STR_LIT>', <NUM_LIT:0>)<EOL>if not statement or statement <= <NUM_LIT:0>:<EOL><INDENT>return None<EOL><DEDENT>malus = float(<NUM_LIT:5> * error + warning + refactor + convention)<EOL>malus_ratio = malus / statement<EOL>return <NUM_LIT> - (malus_ratio * <NUM_LIT:10>)<EOL>
Generate an evaluation for the given pylint ``stats``.