An intelligent desktop application that automatically detects conflicting software requirements using SBERT, Named Entity Recognition (NER), and Natural Language Inference (NLI).
ConflictSense is a machine learning-powered desktop application designed to assist System Analysts during Software Requirements Engineering. The system automatically identifies conflicting requirement pairs within Software Requirement Specification (SRS) documents and provides human-readable explanations for each detected conflict.
Unlike traditional approaches that only classify requirement pairs as Conflict or No Conflict, ConflictSense:
SRS Document
│
▼
Preprocessing
│
▼
SBERT Semantic Similarity
│
▼
NER Entity Analysis
│
▼
NLI Contradiction Detection
│
▼
Conflict Classification
│
▼
Explanation Generator
│
▼
ConflictSense Desktop GUI
Uses Named Entity Recognition (spaCy Transformer) to extract:
Entity overlap is calculated using Jaccard Similarity.
Uses Natural Language Inference (DeBERTa Cross Encoder)
Output labels:
Logical contradictions are identified even when requirements share little vocabulary.
The project combines multiple publicly available requirement engineering datasets.
| Dataset | Domain |
|---|---|
| PROMISE_exp | General Software |
| WorldVista EHR | Healthcare |
| OpenCOSS | Safety Critical Systems |
The system detects five categories of requirement conflicts.
ConflictSense/
│
├── data/
│ ├── datasets/
│ ├── processed/
│
├── models/
│ ├── sbert/
│ ├── classifier/
│
├── gui/
│
├── preprocessing/
│
├── detection/
│
├── explainability/
│
├── database/
│
├── outputs/
│
├── main.py
├── requirements.txt
└── README.md
Clone the repository
git clone https://github.com/abdurrahmancce/ConflictSense.git
Move into the project directory
cd ConflictSense
Install dependencies
pip install -r requirements.txt
Run the application
python main.py
| Metric | Score |
|---|---|
| Macro F1 Score | 0.86 |
| Conflict Precision | 0.86 |
| Conflict Recall | 0.81 |
| Duplicate F1 | 0.83 |
| Neutral F1 | 0.92 |
Add screenshots here.
docs/images/home.png
docs/images/results.png
docs/images/explanation.png
Abdur Rahman
Ramiatul Amin Chowdhury
Minhajun Noor Miraj
Course
CCE-3508 — System Analysis, Design and Development Sessional
Department
Computer and Communication Engineering (CCE)
International Islamic University Chittagong (IIUC)
Supervisor
Md. Ziaul Hoque
This project is based on recent research in:
See the Final Project Report for the complete bibliography.
This project is developed for academic and research purposes.
We would like to thank our supervisor, the Department of Computer and Communication Engineering (CCE), and International Islamic University Chittagong (IIUC) for their guidance and support throughout this project.
Abdur Rahman
Email: e241018@ugrad.iiuc.ac.bd
GitHub: https://github.com/abdurrahmancce