data-driven safety analysis