Interview Guides

You're starting work on a pipeline that receives messy real-time records from external systems. The feed is inconsistent, fields may be missing or malformed, and the target is a structured database used by downstream analysts and applications.
Write a program to parse, clean, and ingest a highly unstructured real-time data feed into a structured database format.