sleep: counting the effect
A university in Italy was doing research on the effect of sleep on programming performance. The question is, where do we draw the line? When is the difference in performance big enough that you can't say that it is due to chance? Also, can't we explain the effect with gpa?
Here's the code we wrote to make the lines;
dict(calc_diff(df)) df_diff.assign(limit=lambda d: d['diff_unit_tests'] < -1.771)['limit'].mean() df_diff.assign(limit=lambda d: d['diff_asserts'] < -1.6857)['limit'].mean() df_diff.assign(limit=lambda d: d['diff_user_stories'] < -1.1142)['limit'].mean()
Feedback? See an issue? Something unclear? Feel free to mention it here.
If you want to be kept up to date, consider signing up for the newsletter.