AI Copilot for Equipment Inspection Deferral
Aramco AI Hackathon · Middle East Corrosion Conference · Top 20
An AI copilot that judges whether an equipment inspection can be safely postponed. It pairs a Random Forest (about 92% test accuracy) with an API 580/581 risk engine and a plain-language assistant, built in under 48 hours.
Hackathon build, demo available on request

Key Metrics
Problem
Inspection teams decide which scheduled inspections can be safely postponed. The records exist, but there was no fast way to turn them into a clear risk call. A risky deferral could look the same as a safe one until something failed.
My Role
Team lead for a 5-person team, with under 48 hours on the clock. I built the React Router dashboard (risk heatmaps, asset views, analytics) and integrated the FastAPI prediction service. Inspectors could go from data to risk to a decision in one UI.
Approach
We engineered 150+ features from 1,000+ inspection records and trained a Random Forest classifier. Only 15% of the records were approvals, so we balanced the classes with SMOTE: test accuracy went from 88.5% without it to 91.5% with it. Predictions ship through FastAPI. A risk engine based on API 580/581 scores each asset from 0 to 25 and keeps the dashboard usable if the model service drops.
Tradeoffs
Classical ML beat a heavier neural net for this timeframe: we could train, debug, and explain it in hours. The formula fallback gives up some prediction quality to keep the dashboard usable, which was the right call with judges clicking live. We cut scope to heatmaps, assets, deferrals, and the assistant instead of a full maintenance system.
FIG. 04 · MY LANE
data → risk → action
01 · Data
Inspection records
Features from 1000+ rows
02 · Risk
FastAPI + Random Forest
Score · hybrid fallback
03 · Action
One React dashboard
Heatmaps · assets · alerts
Fail soft
If the model service drops, the UI keeps a degraded path. A blank screen loses the demo faster than a softer score.
Outcomes
- Top 20 teams at the Aramco AI Hackathon
- About 92% test accuracy on 1,000+ inspection records
- Built in under 48 hours, with a dashboard that stays usable when the model service is down

