Abstract
The increasing adoption of online developer platforms such as GitHub and Reddit necessitates robust tools for evaluating the professional conduct and ethical behaviour of software developers. Traditional methods of manual review are time-consuming, subjective, and unable to scale to the volume of publicly available data on these platforms. This paper presents EthiScout v2.0, an AI-Based Multi-Platform Developer Ethics and Behavior Analysis System that combines VADER sentiment analysis with a machine learning (ML) classification pipeline to produce a composite Suspicious Score for any candidate. The system is built using Python (Streamlit) for the web interface, GitHub and Reddit public APIs for data collection, VADER for real-time sentiment scoring, and Scikit-learn (Logistic Regression and Naive Bayes with TF-IDF vectorisation) for toxicity classification. A dedicated Training Data module allows users to load Kaggle-compatible datasets, train a model, evaluate its performance with accuracy metrics and a confusion matrix, and run live text predictions. The composite score is computed as a weighted aggregate of GitHub (35%), Reddit (35%), and ML Toxicity (30%) sub-scores. Experimental evaluation on standard toxicity datasets demonstrates classification accuracy of 92.6% with Logistic Regression and 89.3% with Naive Bayes, with live prediction latency under 10 ms.
Keywords
Artificial Intelligence, Developer Ethics, Sentiment Analysis, Toxicity Classification, VADER, Scikit-learn, TFIDF, Logistic Regression, Naive Bayes, Streamlit, GitHub API, Reddit API, Web Application
References
[1] B. Pang and L. Lee, "Opinion Mining and Sentiment Analysis," Foundations and Trends in Information
Retrieval, vol. 2, no. 1-2, pp. 1–135, 2008.
[2] C. J. Hutto and E. Gilbert, "VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social
Media Text," in Proc. 8th Int. AAAI Conf. on Weblogs and Social Media (ICWSM), Ann Arbor, MI, USA,
2014, pp. 216–225.
[3] F. Pedregosa et al., "Scikit-learn: Machine Learning in Python," Journal of Machine Learning Research, vol.
12, pp. 2825–2830, 2011.
[4] GitHub Inc., "GitHub REST API Documentation," 2024. [Online]. Available: https://docs.github.com/en/rest
[5] Reddit Inc., "Reddit API Documentation," 2024. [Online]. Available: https://www.reddit.com/dev/api/
[6] Jigsaw / Google, "Toxic Comment Classification Challenge," Kaggle, 2018. [Online]. Available:
https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge
[7] A. Mullah and Z. Wajdi, "Cyberbullying Classification Dataset," Kaggle, 2021. [Online]. Available:
https://www.kaggle.com/datasets/andrewmvd/cyberbullying-classification
[8] Streamlit Inc., "Streamlit Documentation (v1.32)," 2024. [Online]. Available: https://docs.streamlit.io
[9] T. Chen and C. Guestrin, "XGBoost: A Scalable Tree Boosting System," in Proc. 22nd ACM SIGKDD Int.
Conf. on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 2016, pp. 785–794.
[10] A. Géron, Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd ed., O'Reilly
Media, Sebastopol, CA, 2019, pp. 243–310.
Retrieval, vol. 2, no. 1-2, pp. 1–135, 2008.
[2] C. J. Hutto and E. Gilbert, "VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social
Media Text," in Proc. 8th Int. AAAI Conf. on Weblogs and Social Media (ICWSM), Ann Arbor, MI, USA,
2014, pp. 216–225.
[3] F. Pedregosa et al., "Scikit-learn: Machine Learning in Python," Journal of Machine Learning Research, vol.
12, pp. 2825–2830, 2011.
[4] GitHub Inc., "GitHub REST API Documentation," 2024. [Online]. Available: https://docs.github.com/en/rest
[5] Reddit Inc., "Reddit API Documentation," 2024. [Online]. Available: https://www.reddit.com/dev/api/
[6] Jigsaw / Google, "Toxic Comment Classification Challenge," Kaggle, 2018. [Online]. Available:
https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge
[7] A. Mullah and Z. Wajdi, "Cyberbullying Classification Dataset," Kaggle, 2021. [Online]. Available:
https://www.kaggle.com/datasets/andrewmvd/cyberbullying-classification
[8] Streamlit Inc., "Streamlit Documentation (v1.32)," 2024. [Online]. Available: https://docs.streamlit.io
[9] T. Chen and C. Guestrin, "XGBoost: A Scalable Tree Boosting System," in Proc. 22nd ACM SIGKDD Int.
Conf. on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 2016, pp. 785–794.
[10] A. Géron, Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd ed., O'Reilly
Media, Sebastopol, CA, 2019, pp. 243–310.