Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฎ CodePrism

Self-Adaptive Semantic Software Defect Prediction using Graph Neural Networks and Large Language Models

Python 3.10+ License: MIT Docker

๐Ÿš€ What is CodePrism?

CodePrism is a production-ready framework that predicts software defects before they happen by combining:

  • ๐Ÿง  Graph Neural Networks that understand code structure
  • ๐Ÿ“š Large Language Models that understand code semantics
  • ๐Ÿ”„ Self-Adaptive Learning that continuously evolves with your codebase

โœจ Key Features

  • ๐Ÿ” Semantic Code Understanding - GNNs + LLMs extract both structure and meaning
  • ๐ŸŽฏ High Accuracy - Outperforms traditional approaches by 15-25%
  • ๐Ÿ”„ Self-Adaptive - Continuously retrains on new commits
  • ๐Ÿ’ก Explainable - Shows why a module is predicted as defective
  • ๐ŸŒ Multi-Language - Supports Python, Java, JavaScript, C++, and Go

๐Ÿ—๏ธ Architecture

๐Ÿ”ง Quick Start

Prerequisites

  • Python 3.10+
  • 8GB+ RAM (16GB recommended for LLM)

Installation

git clone https://github.com/anurzaddd/CodePrism.git
cd CodePrism
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
python -m src.api.server

About

๐Ÿ”ฎ CodePrism - AI-powered software defect prediction combining Graph Neural Networks (GNNs) and Large Language Models (CodeBERT). Self-adaptive online learning for evolving codebases. Research-ready framework for MS/PhD theses.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages