Stock clearance is based on stock carrying costs. By AI, ML, and Deep Learning (Neural Networks)
The use of the manufacturing industry quality control shop floor historical data with reasons for the product passed on what reasons and rejected on what reasons.