Optimizing leak detection in open-source platforms with machine learning techniques