Task completion and penalty calculation works as expected