Skip to main navigation Skip to search Skip to main content

Leakagedetector 2.0: Analyzing Data Leakage in Jupyter-Driven Machine Learning Pipelines

  • Owen Truong
  • , Terrence Zhang
  • , Arnav Marchareddy
  • , Ryan Lee
  • , Jeffery Busold
  • , Michael Socas
  • , Eman Abdullah Alomar

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In software development environments, code quality is crucial. This study aims to assist Machine Learning (ML) engineers in enhancing their code by identifying and correcting Data Leakage issues within their models. Data Leakage occurs when information from the test dataset is inadvertently included in the training data when preparing a data science model, resulting in misleading performance evaluations. ML developers must carefully separate their data into training, evaluation, and test sets to avoid introducing Data Leakage into their code. In this paper, we develop a new Visual Studio Code (VS Code) extension, called leakagedetector, that detects Data Leakage - mainly Overlap, Preprocessing and Multi-test leakage - from Jupyter Notebook files. Beyond detection, we included two correction mechanisms: a conventional approach, known as a quick fix, which manually fixes the leakage, and an LLM-driven approach that guides ML developers toward best practices for building ML pipelines. The plugin and its source code are publicly available on GitHub at https://github.com/SE4AIResearch/DataLeakage_JupyterNotebook_Fall2024. The demonstration video can be found on YouTube: https://youtu.be/7YiYVBiID_8. The website can be found at https://leakage-detector.vercel.app/.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE International Conference on Software Maintenance and Evolution, ICSME 2025
Pages895-899
Number of pages5
ISBN (Electronic)9798331595876
DOIs
StatePublished - 2025
Event41st IEEE International Conference on Software Maintenance and Evolution, ICSME 2025 - Auckland, New Zealand
Duration: 7 Sep 202512 Sep 2025

Publication series

NameProceedings - 2025 IEEE International Conference on Software Maintenance and Evolution, ICSME 2025

Conference

Conference41st IEEE International Conference on Software Maintenance and Evolution, ICSME 2025
Country/TerritoryNew Zealand
CityAuckland
Period7/09/2512/09/25

Keywords

  • data leakage
  • machine learning
  • quality

Fingerprint

Dive into the research topics of 'Leakagedetector 2.0: Analyzing Data Leakage in Jupyter-Driven Machine Learning Pipelines'. Together they form a unique fingerprint.

Cite this