Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

When Offline Performance Misleads: A Leakage Audit of Completed-Session Features for Cart-Abandonment Prediction

Author 1: Babak Rad Jahanbani Author 2: Ahmet Sayar
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 10 · Published 2026

DOI: 10.14569/IJACSA.2026.0171097

Abstract

Cart-abandonment models are often evaluated on session summaries created only after sessions end. Such tables can violate the information boundary of an intervention-time prediction task and inflate offline performance. This study audits 43,917 cart sessions reconstructed from the public Retail Rocket clickstream dataset. Feature-lineage and arithmetic-closure tests reveal two leakage mechanisms. First, transaction count is exactly recoverable from total, view, and add-to-cart counts. Second, final session age, mean inter-event interval, and recency from the last cart action are computed at a label-dependent completed-session endpoint. A third defect lies in the target: the session-level purchase label conflates the purchase of one item with the abandonment of another, and an item-level check finds this in 1,354 sessions (3.1%). Across five repeated stratified holdouts, XGBoost obtained a receiver operating characteristic area under the curve (ROC-AUC) of 0.9997 with the deterministic count proxy and 0.9947 with the original completed-session features. After the three endpoint-dependent timing variables were removed, ROC-AUC fell to 0.6065. Visitor-grouped and chronological splits reproduce the same pattern. A point-in-time evaluation at the first add-to-cart event, using only information observable at that moment, yields ROC-AUC between 0.57 and 0.65 across four models. These results do not establish a deployable predictor. They show that the near-perfect score described completed sessions rather than the intervention-time task, and they provide a rerunnable audit procedure, summarized as a nine-question checklist, for detecting such problems before model complexity or performance claims are interpreted.

Keywords

How to Cite this Article

Jahanbani, B. R., & Sayar, A. (2026). When Offline Performance Misleads: A Leakage Audit of Completed-Session Features for Cart-Abandonment Prediction. International Journal of Advanced Computer Science and Applications, 17(10). https://doi.org/10.14569/IJACSA.2026.0171097

Jahanbani, Babak Rad, and Ahmet Sayar. "When Offline Performance Misleads: A Leakage Audit of Completed-Session Features for Cart-Abandonment Prediction." International Journal of Advanced Computer Science and Applications, vol. 17, no. 10, 2026, https://doi.org/10.14569/IJACSA.2026.0171097.

@article{Jahanbani2026,
  title     = {When Offline Performance Misleads: A Leakage Audit of Completed-Session Features for Cart-Abandonment Prediction},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {10},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Babak Rad Jahanbani and Ahmet Sayar},
  doi       = {10.14569/IJACSA.2026.0171097},
  url       = {https://doi.org/10.14569/IJACSA.2026.0171097}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 12, December 2026
Paper Submission Due November 25, 2026
Review Notification December 15, 2026
Publication Date December 31, 2026