A new study at a container terminal uses machine learning to predict pre-clearance requirements and dwell times. Researchers cleaned cargo descriptions and deduplicated consignee records to improve feature quality. These models identify which containers need handling before release. This allows terminal operators to reduce unproductive moves through better strategic planning.