Calmcode - sleep: counting the effect

Counting the Effect

1 2 3 4 5 6 7 8 9

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()