JOURNAL ARTICLE
LLM Safety as a Quality Gate: Integrating Bias, Fairness, and Robustness Evaluation into CI/CD via GitHub Apps
1 K11 Software Solutions LLC, Texas, United States
International Journal of Engineering and Computer Science · 2025-12-31 · DOI: 10.18535/ijecs.v15i07.5576
1
Reads
1
Downloads
0
Citations
Abstract
This paper presents **LLM Eval Agent**, a production-deployable GitHub App for automating bias, fairness, and robustness evaluation of large language models (LLMs) within the pull request review workflow. Extending the shift-left principle from DevSecOps to LLM safety, the system processes pull request events through GitHub webhooks, executes a configurable five-test evaluation harness using LangTest across multiple model architectures, and reports the results as GitHub Check Runs. When predefined safety thresholds are not satisfied, the system prevents unsafe changes from being merged. The proposed system is evaluated using three SST-2 fine-tuned transformer models: DistilBERT, BERT-base, and RoBERTa. The evaluation covers five test categories related to bias, fairness, and robustness. Experimental results show that all three models achieve strong bias consistency and robustness scores; however, each model fails the fairness gate, with a 0% gender F1 pass rate. This result highlights a systemic limitation in the SST-2 training data that is automatically detected during the pull request workflow. The system further supports confidence scoring, append-only audit logging, longitudinal trend analysis through an API, adversarial red-teaming, and scheduled drift detection. End-to-end validation on a live Railway deployment using PR #4 in the demonstration repository confirmed a 21-second evaluation latency and verified correct block-merge enforcement under both normal and timeout conditions. **Source code:** https://github.com/K11-Software-Solutions/llm-eval-agent-app **Demo repository:** https://github.com/kavitaj11/llm-eval-demo
Full text
Reader not loading? Open the PDF directly.
Cite this publication
Kavita Jadhav (2025). LLM Safety as a Quality Gate: Integrating Bias, Fairness, and Robustness Evaluation into CI/CD via GitHub Apps. International Journal of Engineering and Computer Science. https://doi.org/10.18535/ijecs.v15i07.5576Download .ris (Zotero / Mendeley / EndNote)
Related publications
- Cognitive Supplier Risk Management Systems for Medical Device: AI Framework for Predictive Quality, Compliance, and Supply Chain Resilience
International Journal of Engineering and Computer Science · 2026
- From Numbers to Narratives: A Generative Artificial Intelligence Framework for Automated Risk Report Production in IT Program Portfolio Governance
International Journal of Engineering and Computer Science · 2026
- Design Interactive User-Interface for Tracking Oil Refineries Stages and Operations
International Journal of Engineering and Computer Science · 2026
- Vesicostomy for Renal and Upper Urinary Tract Protection in Children with Neurogenic Bladder: A Comprehensive Review
Studies in Multidisciplinary Medical Research · 2026
- Succession Planning Practices in the Local Government Unit: Its Implementation
International Journal of Scientific Research and Management (IJSRM) · 2026