WELL: Applying Bug Detectors to Bug Localization via Weakly Supervised Learning