def flotify(result, num=<NUM_LIT:50>):
results = list(TestResult.objects.filter(test=result.test, site=result.site)[:num])<EOL>results.reverse()<EOL>return [[get_timestamp(result.run_date), result.duration/<NUM_LIT:1000>] for result in results]<EOL>
Return a list of (timestamp, duration) sets for test result.