Assignment of productivity to activity type