Skip to content
CASE STUDY

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

AI Copilot for Equipment Inspection Deferral
AI Copilot for Equipment Inspection Deferral, screenshot 1 of 8
01/08

Key Metrics

92%
Accuracy
1000+
Records
Top 20
Placement

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

Fail soft

If the model service drops, the UI keeps a degraded path. A blank screen loses the demo faster than a softer score.

Notebooks and spreadsheets out; inspectors stay in one UI end to end.

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

Tech Stack

Want to talk about this project or a similar problem?

Get in touch

Mohammad Al-Sadah · Case study