def statistics():
stats = Stats()<EOL>stats.add_result(some_source, True, <NUM_LIT:2>)<EOL>stats.add_result(other_source, True, <NUM_LIT:1>)<EOL>stats.add_result(other_source, True, <NUM_LIT:1>)<EOL>stats.add_result(other_source, False, <NUM_LIT:1>)<EOL>return stats<EOL>
Create a Stats object and fill it up with some results.