Skip to content

About

Portfolio of data-driven optimisation projects using SQL and Python for supplier pricing strategy, markup rules improvement in SaaS, and supply chain efficiency in the automotive industry.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

180 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Operations-Analytics-Portfolio

Featured Projects

Project 1. Automated JIT Logistics & Routing Optimisation

Project Overview

This project digitises the complex manual planning process used for Just-In-Time (JIT) parts delivery in high-precision manufacturing. By translating Toyota-style Industrial Engineering (IE) logic into a Python-based optimisation engine, I developed a tool that determines minimum lead times, optimises fleet size, and generates precise delivery schedules to maintain a synchronised flow while preventing traffic congestion.

While modelled on automotive assembly line constraints, specifically the balance between Takt Time and lineside space, the underlying logic is industry-agnostic. It is designed to optimise high-frequency internal micro-logistics: the time-critical delivery cycles required to feed continuous production or extraction processes in mining, large-scale warehousing, and regional supply chains."

Problem Statement (Operational Planning Bottleneck)

In high-volume JIT environments, designing synchronised routes that minimise operational cost is a highly iterative and time-intensive process. Because a planner must manually simulate the dynamic interactions between Takt Time, container volumes, and physical path constraints, even minor changes to production variables require a total recalculation of the logistics network.

Without the computational speed of a digital optimisation tool, the planning lead time is significantly prolonged. This delay limits the operation's ability to respond to real-time changes and increases the risk of:

  • Delayed production and shipment
  • Operational Chaos:
    • Traffic Congestion: Difficulty in precisely phasing vehicle departures to avoid simultaneous arrivals in unidirectional (one-way) aisles.
    • Inventory Imbalance: The challenge of perfectly aligning replenishment cycles with consumption rates, leading to lineside overflows or critical stock-outs.

Key Objectives

  • Resource Optimisation: Determine the fewest number of drivers/vehicles required to meet the production beat (Takt Time).

  • Synchronised Release: Time the departure of each delivery to prevent "traffic jams" in unidirectional paths.

  • Inventory Minimisation: Maintain the minimum stock at both the warehouse and the lineside to support continuous flow.

  • Path Constraints: If delivering in a unidirectional path, strictly follow one-way traffic rules.

Project 2. SaaS Supplier Pricing Optimisation

Project Overview
Data-driven optimisation project for a B2B SaaS platform in the automotive parts industry.

The platform connects smash repairers (purchasers) with OEM and Aftermarket parts suppliers. Repairers use the platform to request quotes and source parts, while suppliers list parts and fulfil orders. The SaaS company earns revenue primarily through a clip % (take-rate / commission) on the value of parts sold through the platform. Suppliers operate under a tiered membership model that influences their effective take-rate and platform benefits.

Problem Statement
The business needed to review and optimise its pricing model to improve revenue while maintaining supplier retention. Using recent monthly transactional data, the key challenge was to understand how different supplier tiers and clip % (take-rates) affect order volume, GMV, credits, and overall platform economics.

Key Objectives

  • Analyse monthly invoice revenue (full commission roll-up)
  • Understand supplier tier (Gold vs Blue) performance and effective clip % (take-rate)
  • Measure order volume, Gross Merchandise Value (GMV), credit values, and other volume metrics
  • Identify opportunities for pricing adjustments and tier reclassification

Methodology Used

  • Explored and mapped a large normalised relational database schema to understand relationships across orders, invoices, payments, and supplier tiers
  • Designed and implemented efficient monthly aggregation queries to surface key operational attributes of the supplier.
  • Constructed a composite index and normalised individual metrics to enable consistent cross-supplier comparison
  • Applied K-means clustering using the elbow method to determine the optimal number of clusters to segment suppliers into distinct behavioural groups ("supplier DNA") based on order patterns, GMV, credit behaviour, and take-rate response
  • Quantified key differences in supplier behaviour, performance, and profitability across pricing tiers and take-rates

Tech Used

  • MySQL: Time-based grouping, multi-table joins, and revenue calculations on normalised tables
  • Python: Pandas for data transformation, Scikit-learn (K-means clustering with elbow method), Plotly for visualisation and trend analysis

Results & Recommendations

  • Developed multiple pricing reclassification options and uplift strategies, including:
    • Tier-specific clip % adjustments based on supplier behavioural segments
    • Dynamic take-rate bands instead of a single fixed rate per tier
    • Targeted pricing logic to improve supplier retention while protecting overall platform revenue
  • Delivered a clean, executive-ready monthly dataset with clear, data-backed recommendations for pricing adjustments and estimated potential revenue uplift scenarios
  • Translated complex database outputs into stakeholder-friendly insights and visualisations to support strategic decision-making

Status: Completed – generalised queries, synthetic dataset, and insights available

Confidentiality Note
The SQL queries and Python scripts in this project closely reflect the logic and approach I used in the real analysis. Table names, column names, and all data have been generalised and replaced with synthetic examples to protect confidentiality. The original work was performed on a private production database.

→ View Full Project Details

Project 3. Insurer Markup Ruleset Optimisation

Project Overview

Data-driven optimisation project for a B2B SaaS platform in the automotive parts industry.

The platform enables smash repair workshops (purchasers) to source automotive parts from OEM, aftermarket, recycled, and reconditioned suppliers. Workshops apply configurable markup rulesets to determine the final sell price to insurers or walk-in customers. These rules operate at both the client level (standard/default markups with custom overrides) and the insurer level (specific markups by part type). The effective markup flows through quoting, supplier pricing selection, purchase orders, and automated invoice posting.

Problem Statement Active smash repair workshops were frequently manually editing markup rules in the platform. This caused undercharging or overcharging of insurers and customers, friction and approval delays, higher rework rates, longer lead times for repairs, and increased dependency on support team training.

Root Causes

  • New repairers were automatically assigned a legacy “Standard” ruleset during onboarding
  • Estimators regularly performed manual overrides on sell prices instead of using configured rules

Key Objectives

  • Identify which smash repair shops were performing frequent manual edits/overrides
  • Understand how often custom overrides were actually occurring in practice
  • Identify gaps in pricing method rulesets when used with different insurers

Methodology Used

  • Explored and mapped the complex normalised relational database schema linking repairer's price method configurations, insurer mappings, and invoice posting tables
  • Performed exploratory data analysis and data preparation (cleaning and shaping dataframes)
  • Designed and implemented robust aggregation queries to calculate real-world effective markups and quantify override impact

Tech Used

  • MySQL: Multi-table joins across normalised schema, conditional aggregation, and time-based analysis
  • Excel Power Pivot for reporting and visualisation

Results & Recommendations

  • Created clear visibility into standard/default markups versus actual effective markups
  • Identified and proposed Top 5 insurers and specific ruleset baselines based on reach and quote volumes that could serve as new default baselines
  • Recommended a targeted list of smash repairers for the pilot program to test the new baseline ruleset

Status: Completed – generalised queries, synthetic dataset, and insights available

→ View Full Project Details

Confidentiality Note
The SQL queries in this project closely reflect the logic and approach I used in the real analysis. Table names, column names, and all data have been generalised and replaced with synthetic examples to protect confidentiality. The original work was performed on a private production database.

About

Portfolio of data-driven optimisation projects using SQL and Python for supplier pricing strategy, markup rules improvement in SaaS, and supply chain efficiency in the automotive industry.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages