Methodological Pitfalls in Predicting Ship Turnaround Time at Brazilian Ports: An Empirical Audit and a Reproducible Pipeline
Eduardo Caruso Barbosa Pacheco, Reynaldo Pereira Martins, Alexandre dos Santos Gualberto, Joao Vitor Souza Germano, Milton Miranda Neto, Francisco Louzada
Key points
From the paper's conclusion- We further document additional methodological flaws, including survivorship bias, undocumented target truncation, and the retention of variables that algebraically reconstruct the target.
Abstract
Two recent studies on ship turnaround time at Brazilian ports report models with R-squared scores above 0.80 on data from the national waterway transportation agency. We audit their published datasets and reveal these results are inflated by structural data leakage. Specifically, 97 percent of berthing events in their random row-level split appear in both training and testing partitions. We demonstrate that a model's R-squared drops from 0.82 to 0.20 when the data is properly split at the berthing level. We further document additional methodological flaws, including survivorship bias, undocumented target truncation, and the retention of variables that algebraically reconstruct the target. To address these issues, we propose a reproducible pipeline that aggregates cargo to the berthing level, utilizes conditional imputation, and represents high-cardinality cargo variables through weighted averages of multilingual sentence embeddings. Evaluating six time targets and thirty seeds, our pipeline reveals that cargo embeddings yield statistically significant improvements on four operational targets, while administrative waiting times remain unaffected. Prior works missed this per-target heterogeneity by conflating genuine signal with leaked identity.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Prediksi Pengiriman Bermasalah PT Lion Express Palembang: Perbandingan Tiga Model KlasifikasiJejak digital Jurnal Ilmiah Multidisiplin · 2026
- Container Ship Loading and Unloading Volume Forecast Based on Route-Terminal Combination Entities: A Case Study of Shenzhen SCCTJournal of Marine Science and Engineering · 2026
- Freight Truck Turnaround Time Prediction at Container Ports Using Transfer LearningJournal of Marine Science and Engineering · 2026
- Lateral risk prediction and influencing factor analysis of container trucks based on trajectory reconstruction dataJournal of Zhejiang University. Science A · 2025
- Operational Characteristics and Technical Efficiency of Major Global Container Ports: The Role of Berth ProductivityApplied Sciences · 2026
- Efficiency, Queueing Pressure, and Input Slack in Major Global Container Ports: A Double-Bootstrap DEA Diagnostic for Resilience-Oriented Port AssessmentJournal of Marine Science and Engineering · 2026