Back to projects

Pricing & Dealer Analytics

Automotive Parts Dynamic Pricing

汽车配件动态定价与库存

Set SKU-level prices across regions and customer tiers that best meet a business goal — maximize profit, revenue, or clear excess stock — while respecting margin floors, stockout risk, and a human-approval step.

Key Metrics

500 SKUs

× 4 regions × 3 tiers × 104 weeks in the published run (synthetic; generator scales to 3,000)

31 prices

candidate prices simulated per SKU

9 guardrails

margin floor, MAP, tier ladder, approval…

6 modules

bilingual EN / 中文 dashboard

Dynamic Pricing ≠ Price Prediction

The system does not predict “what a part is worth.” It predicts how many units sell at each candidate price, then picks the price that best meets a business goal under constraints.

This part is worth $XAt price $X, expect Y units and $Z profit
Single point estimateCandidate price simulation (current ±15%)
No inventory considerationWeeks of cover, stockout risk, excess clearance
No guardrailsMargin floor, MAP, tier ladder, human approval

Business Problem

Parts retailers manage thousands of SKUs across regions and customer tiers (Retail, Trade, Fleet). Static pricing leaves margin on the table; reactive competitor matching erodes profitability. The system balances margin, inventory health, tier consistency, and competitive positioning.

Modeling Workflow

  1. 1.Synthetic data with exogenous price variation (cost changes, regional tests, tier discounts) so elasticity is estimable, not endogenous
  2. 2.Feature engineering — lag features (1/2/4/13 weeks) within SKU×region×tier, seasonality, price ratios
  3. 3.Demand model — HistGradientBoosting on a strict time split (MAE / RMSE / WAPE / bias); the seasonal-naive baseline in the source repo has a bug (predicts 0), so no baseline improvement is quoted
  4. 4.Elasticity — log-log model on price-test observations, shrunk toward a global prior; range −3.0 to −0.1
  5. 5.Optimization — 4 objectives × 31 candidate prices per SKU, each simulated through the demand model
  6. 6.Guardrails — 9 business rules (margin floor, MAP, tier ladder, stockout protection, rounding, approval)
  7. 7.Backtest — the strategy-comparison module exists in the source repo but its current output is empty, so no backtest result is claimed here

Dashboard — 6 Modules

Executive Overview

Revenue, gross profit, modeled profit lift, demand-model quality, and the recommendation mix.

Elasticity Explorer

Price sensitivity by category × customer tier, with the log-log regression and confidence-shrinkage logic.

SKU Decision Workbench

One part: current vs recommended price, why, the price→units→profit curve, linked inventory action.

Recommendation Queue

Filterable review queue — approve, override price, request replenish/transfer, pause, or note each recommendation; decisions log to a downloadable CSV.

Inventory Control Tower

Stockout risk, excess/obsolete inventory, and recommended replenishment actions.

Methodology & Guardrails

The 9 guardrails, modeling workflow, architecture diagram, and limitations.

Limitations & Honesty

  • Gross-profit lift is a modeled / simulated estimate, not proven business impact — production needs controlled price experiments
  • No real company data; the public demo runs on a representative synthetic sample
  • Predictive importance is not causal elasticity — the two are estimated separately
  • Observed sales during a stockout do not equal true demand; censored periods are flagged rather than treated as zero demand
  • Sparse long-tail SKUs fall back to product-family priors and conservative, rule-based recommendations