Skip to main content
Monday to Friday, 8:00am to 6:00pm +254 704 621 587 info@mulan.co.ke
Justice & Public Sector

JaliHaki

Predict case duration and manage court backlogs proactively

A machine-learning platform that predicts how long court cases will take, from the day of filing and as they progress, and flags high-risk cases early so courts can manage backlogs before they build up.

JaliHaki screenshot
672,974Cleaned case records used
47Counties represented
0.91ROC-AUC, same-day disposal model
Overview

Why organisations choose JaliHaki

Case backlogs build up quietly: by the time a case is flagged as delayed, months have already been lost. JaliHaki gives courts an early warning. It predicts how long each case is likely to take and classifies it into a risk tier, so registrars and judicial officers can act early.

JaliHaki uses a three-stage machine learning pipeline trained on 672,974 cleaned case records from Kenyan magistrate courts across 47 counties. Stage 0 identifies cases likely to be disposed of on the day of filing (ROC-AUC 0.91). Stage 1 predicts duration using only filing-time information, and Stage 2 refines the prediction as hearings and adjournments happen.

Predictions come with explanations (SHAP), showing which factors drive each estimate, and every case is placed in an empirically derived Low, Medium, High or Critical risk tier. JaliHaki connects to existing case management systems through a secure prediction API.

Key benefits

  • Spot high-risk cases on day one
  • Plan court calendars and resources
  • Reduce backlog proactively
  • Transparent, explainable predictions
  • Evidence for policy and reform
  • Integrates with existing systems

Available on

Web dashboard Prediction REST API

Built with

Python LightGBM CatBoost SHAP MLflow ZenML Flask Laravel Docker
Features

Everything you need, in one platform

Filing-time prediction

Estimate case duration the day a case is filed, using case type, category, court and representation.

Progressive re-prediction

Update the estimate as the case progresses, using hearings held, adjournments and first-mention delay.

Same-day disposal detection

Identify cases likely to be resolved on the filing day, such as pleas and withdrawals.

Risk tiers

Low, Medium, High and Critical tiers derived from the data, to focus attention where it matters.

Explainable results

SHAP explanations show which factors drive each prediction, supporting transparent decisions.

Prediction API

A containerised REST API that integrates with existing case tracking and management systems.

Modules

What's inside JaliHaki

1Prediction engine

  • Stage 0: same-day disposal classifier (LightGBM)
  • Stage 1: filing-time duration model (LightGBM)
  • Stage 2: progression-aware model (CatBoost)
  • Risk tier classification

2Web dashboard

  • Case search and prediction
  • Risk tier overview by court
  • Duration trends and insights
  • Magistrate and registry views

3MLOps

  • Reproducible training pipeline
  • Experiment tracking with MLflow
  • Model explanations with SHAP
  • Containerised Flask API
Who it's for

Built for teams like yours

JaliHaki adapts to organisations of every size, from a single office to a national network.

Judiciary and court administrators
Tribunals
Legal aid organisations
Policy makers and researchers
Client stories

Trusted by teams like yours

“Seeing the likely duration and risk of a case on the day it is filed helps us plan the cause list and follow up on matters before they become part of the backlog.”
Jane Wanjiru Court Administrator, a magistrate court station JaliHaki
“We used to spend two weeks shortlisting for every vacancy. With CareerConnect the CVs are ranked the day the advert closes, and our panel only interviews people who genuinely fit the role.”
Grace Wanjiku Head of Recruitment, Bora Recruitment Solution Ltd CareerConnect
“Rent reconciliation used to take my team three days every month. Now M-Pesa payments match to tenants automatically and the owner statements are ready on the first of the month.”
Stephen Wanyoike Property Manager, a residential property firm in Kilimani RentFlow
“mShop let us start selling online in weeks instead of months. Customers pay with M-Pesa, pick up at the station nearest to them, and we track every order from one dashboard.”
Mary Chepkirui Founder, an online electronics store, Eldoret mShop
“Our members finally know what a shopping trip will cost before they reach the till. SmartCart works even in stores with poor network, which made adoption easy.”
Wycliffe Odhiambo Finance Officer, a staff welfare programme SmartCart
“Mulan Technologies rebuilt our website and customer portal on time and on budget. They explain technical decisions in plain language and their support team actually picks up the phone.”
CuttingEdge Communication Managing Director, a logistics company in Mombasa
FAQ

JaliHaki questions

Anything else you would like to know? Ask us during your demo.

No. JaliHaki is a decision-support tool for planning and case management. It never decides cases or replaces judicial discretion.

Models are trained on anonymised records, and JaliHaki can be deployed entirely within your own infrastructure.

Yes. The pipeline can be retrained on data from other court levels, tribunals or jurisdictions.
Free demo

See JaliHaki in action

A product specialist will walk you through JaliHaki using scenarios from your own organisation, and answer your questions on pricing, set-up and support.

  • Personalised 30–45 minute walkthrough
  • Online or at your office in Nairobi
  • Pricing and deployment options explained
  • No obligation, no pressure

Request a JaliHaki demo

Tell us a little about your organisation and we will tailor the demo to you. It takes about 30–45 minutes, online or at your office.

We only use your details to arrange the demo. No spam.

More products

Explore our other solutions

SmartCart screenshot
Personal Finance & Retail

SmartCart

Plan, budget and track every shopping trip

An offline-first shopping management app that helps households and businesses plan shopping lists, see what a trip will cost before reaching the till, stay within budget...

Android app Web portal
RentFlow screenshot
Real Estate & Property

RentFlow

Your properties. Your tenants. Your income. One platform.

Rental property management software for Kenyan landlords and property managers: automatic invoicing, M-Pesa rent collection and reconciliation, arrears follow-up, mainten...

Web application (SaaS) Tenant portal REST API
Mulan Technologies
Request a Demo +254 704 621 587