NyayaAI: An Explainable Judicial Delay-Risk Prediction and Similar-Case Retrieval System for Court Administration

Court backlogs in India now run into tens of millions of pending cases, but court staff have very few tools that show which of those cases are likely to drag on, why, and what to look at first. In this paper we present NyayaAI, a web-based decision-support prototype that brings gradient-boosted machine learning, explainable AI and text retrieval together in one workflow. Given a case record, it classifies the delay risk as LOW, MEDIUM or HIGH using an XGBoost classifier, estimates the delay in days with an XGBoost regressor, explains each prediction through SHAP feature contributions, finds similar cases using TF-IDF vectors and cosine similarity, and suggests administrative actions through a set of rules; the Google Gemini API can optionally restate these findings in plain language. The system is built with React, Node.js/Express, FastAPI and MongoDB, and it pulls real judgment records from the Indian Kanoon API. On 600 held-out cases from a synthetic corpus of 3,000 historical cases, the classifier reached 71.7% accuracy with a macro F1-score of 0.724, and the regressor had a mean absolute error of 97.69 days. These numbers should be read with care, since the training labels are synthetic and the procedural fields of the 89 Indian Kanoon records we ingested are derived, not observed. They show that the pipeline works; they do not measure accuracy on real court outcomes. Testing on independently sourced docket data is the most important next step.

Authors

Publication Details

Journal
International Journal for Research in Applied Science and Engineering Technology
Published
2026-11-30
DOI
https://doi.org/10.22214/ijraset.2026.85469
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

NyayaAI: An Explainable Judicial Delay-Risk Prediction and Similar-Case Retrieval System for Court Administration

Rohit Patil, Sanchit Patil, Omkar Shetake, Abhishek Devkatte et al.
2 links
International Journal for Research in Applied Science and Engineering Technology
Artificial Intelligence in Law
article

NyayaAI: An Explainable Judicial Delay-Risk Prediction and Similar-Case Retrieval System for Court Administration

Rohit Patil, Sanchit Patil, Omkar Shetake, Abhishek Devkatte, Ranjit Dhapate, V. V. Mangave
article en

Abstract

Court backlogs in India now run into tens of millions of pending cases, but court staff have very few tools that show which of those cases are likely to drag on, why, and what to look at first. In this paper we present NyayaAI, a web-based decision-support prototype that brings gradient-boosted machine learning, explainable AI and text retrieval together in one workflow. Given a case record, it classifies the delay risk as LOW, MEDIUM or HIGH using an XGBoost classifier, estimates the delay in days with an XGBoost regressor, explains each prediction through SHAP feature contributions, finds similar cases using TF-IDF vectors and cosine similarity, and suggests administrative actions through a set of rules; the Google Gemini API can optionally restate these findings in plain language. The system is built with React, Node.js/Express, FastAPI and MongoDB, and it pulls real judgment records from the Indian Kanoon API. On 600 held-out cases from a synthetic corpus of 3,000 historical cases, the classifier reached 71.7% accuracy with a macro F1-score of 0.724, and the regressor had a mean absolute error of 97.69 days. These numbers should be read with care, since the training labels are synthetic and the procedural fields of the 89 Indian Kanoon records we ingested are derived, not observed. They show that the pipeline works; they do not measure accuracy on real court outcomes. Testing on independently sourced docket data is the most important next step.

International Journal for Research in Applied Science and Engineering TechnologyVol. 14(11)
Peace, justice, and strong institutions
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
NyayaAI: An Explainable Judicial Delay-Risk Prediction and Similar-Case Retrieval System for Court Administration — Rohit Patil, Sanchit Patil, et al. · International Journal for Research in Applied Science and Engineering Technology (2026) | TGRS Research Map | TGRS