enforce use of double in calculateTaskImportance