Analysis of an emotional contagion detection algorithm based on sentiment evaluation

Thumbnail Image



Journal Title

Journal ISSN

Volume Title


University of New Brunswick


Emotional contagion, or the transfer of emotions between individuals, is a well-studied phenomenon in social psychology. In recent years, researchers have become interested in understanding how emotional contagion can impact team dynamics in software development, particularly on GitHub where communication takes place primarily online. In this study, we propose an approach to detect emotional contagion in collaborative software development platform using sentiment analysis tool available in Mathematica. This approach is based on a previously published framework. We collected data from several GitHub repositories and analyzed the emotional content of developers’ comments to identify patterns of emotional contagion. Our findings suggest that emotional contagion exists and the algorithm defined can be used on various data sets. Our method is applied on five GitHub repositories, however the method is general and can be reused for experimental validation.