Automatic prediction of source code contribution type