Mining Ethical Concerns from Open-Source Project Repositories

dc.contributor.authorLi, Ruixuan
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerFotrousi, Farnaz
dc.contributor.supervisorInayat, Irum
dc.date.accessioned2026-07-08T12:15:05Z
dc.date.issued2026
dc.date.submitted
dc.description.abstractIn the process of open-source software development, ethical concerns arise when development decisions involve conflicting values or the interests of stakeholders. Although previous research has identified certain ethical issues in open-source repositories, such as license violations and incorrect attribution, broader ethical issues remain under-researched. This study employs a mixed-methods approach to examine these issues. In the first phase, the researcher conducted an inductive thematic analysis of 134 comments from GitHub issues and pull requests from multiple open source repositories, identifying 18 types of ethical issues and grouping these issues into six themes. The researcher used Cohen’s kappa and Fleiss’ kappa coefficients to assess inter-rater reliability, and the results indicated substantial agreement. In the second phase, the researcher trained supervised machine learning classifiers using a labeled dataset containing 3,084 comments to enable automatic detection of these types of comments. The best-performing binary classifier achieved a macro F1 score of 0.68 in cross-validation, and the theme-level classifier achieved 0.79. External validation on an unseen repository (ansible/ansible) yielded a binary macro-F1 of 0.75 and a restricted theme-level macro-F1 of 0.53. In the third phase, the classifier trained in the RQ2 phase was applied to 54,605 comments. These comments were collected from five repositories over a 36-month period. The results of the third-phase analysis indicate that ethical concerns are a persistent feature of the open-source development process. Furthermore, significant governance events can lead to a measurable short-term increase in the expression of ethical concerns, and the findings suggest that ethical concern frequency may be more closely associated with structural community factors than with short-term activity fluctuations.
dc.identifier.coursecodeDATX05
dc.identifier.urihttps://hdl.handle.net/20.500.12380/311941
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectethics in software engineering, open-source software, mining software repositories, thematic analysis, text classification, machine learning
dc.titleMining Ethical Concerns from Open-Source Project Repositories
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 26-100 RL.pdf
Size:
3.73 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Size:
2.35 KB
Format:
Item-specific license agreed upon to submission
Description: