Similarity is a real-time plagiarism detection platform designed to analyze and compare code submissions efficiently. It integrates an open-source plagiarism detection engine with a scalable backend, optimized to handle high-traffic loads. The system supports real-time processing of 10,000+ code submissions within 30 minutes, leveraging Java, Spring Boot, React, PostgreSQL
With a robust architecture that includes multithreading and concurrent server execution, Similarity ensures fast and accurate plagiarism detection.
-
You will see a list of all users detected for plagiarism in this question.

-
Click on any specific user from the list.
-
The selected user's code will appear on the left, and all the users with matching code will be displayed on the right.

-
Upon clicking the Code button, you will get a Report Solution option, which will redirect you to the LeetCode leaderboard ranking to report the user.

-
Real-time plagiarism detection using JPlag for accurate code similarity analysis.
-
Optimized API processing with high throughput.
-
Efficient report generation through multithreading.
-
Scalable infrastructure using cloud technologies.
-
User-friendly web interface built with React and Tailwind.
-
Secure storage with PostgreSQL and cloud-based databases.
-
Mobile-responsive design for seamless access across devices.
- Backend:
-
Spring Boot – API development and request handling.
-
Spring Data JPA – Simplified database interactions.
-
PostgreSQL – Relational database for efficient data storage.
-
Lombok – Reduces boilerplate code in Java.
-
JPlag – Plagiarism detection engine for analyzing code similarity.
-
src/
├── main/
│ ├── java/
│ │ └── com/backend/similarity/
│ │ ├── controller/
│ │ │ ├── CodesController.java
│ │ │ ├── ContactController.java
│ │ │ ├── QuestionController.java
│ │ │ └── SubmissionsController.java
│ │ ├── dto/
│ │ │ ├── CodeDTO.java
│ │ │ ├── ContactDTO.java
│ │ │ ├── MatchDTO.java
│ │ │ ├── QuestionDTO.java
│ │ │ └── SubmissionDTO.java
│ │ ├── model/
│ │ │ ├── Codes.java
│ │ │ ├── Contest.java
│ │ │ ├── Difficulty.java
│ │ │ ├── Question.java
│ │ │ ├── Results.java
│ │ │ └── ResultsdId.java
│ │ ├── repository/
│ │ │ ├── CodesRepository.java
│ │ │ ├── ContestRepository.java
│ │ │ ├── QuestionRepository.java
│ │ │ └── ResultsRepository.java
│ │ └── service/
│ │ ├── CodesService.java
│ │ ├── ContestService.java
│ │ ├── EmailService.java
│ │ ├── QuestionService.java
│ │ ├── ResultsService.java
│ │ └── SimilarityApplication.java (Main Application Class)
│ └── resources/
│ └── ... (Configuration files, static resources)
-
Predicted Contest Rating: Implement a system to predict users' ratings after each contest based on their performance and similarity analysis.
-
Multi-Platform Support: Extend plagiarism detection to platforms like CodeChef, ensuring a broader impact and wider usability.
-
Verification for Recruiters & Referrers: Introduce an easy-to-use verification system that allows recruiters and referrers to check if a candidate has legitimate contest ratings or has been flagged for plagiarism, along with details on which contests they were involved in.




