Extract. Transform. Read.A newsletter from PipelineToDE Hi past, present or future data professional! Despite crushing autocorrect scenarios, most AI code assistants like CoPilot miss a critical step when helping developers of any experience level: Validation. Arguably, leveraging an AI Agent to validate a code’s quality is on the user. But a surprising amount of experienced programmers are taking the worrying approach of believing an AI’s first “thought” when it comes to code that will ultimately be deployed. I’ve seen this trust betray a peer to the point after they submitted so much AI first thought slop that they were fired. As a long-time AI hold out, I like to think I use it tactfully and, more importantly, skeptically. To help me write more polished code, I recently scribbled a prompt to compel my AI Agent to act like an operating system so it could “run” my code before I actually hit run in my IDE. Feel free to steal it to identify and avoid Python errors. You're an operating system running Python. I want you to run any files I submit. Print the logs included. If there are any errors, you are to log the error and conduct a stack trace. Only print errors. Do not print warnings, as you are to assume warnings are disabled. Based on the operations, approximate a runtime. For any files generated, log a full file path. Once you have found any and all errors, act as Pylance and highlight any variables not being referenced in the script. Conduct this operation for all files submitted. Additionally, print a list of any and all libraries and/or dependencies not being utilized. Make suggestions to combine/consolidate dependencies in the import statements. Finally, act as the Python library black. Clean up and format the final script according to best practices. Summarize your feedback on the runs in the style of a senior developer conducting a pull request (PR) rev Confirm you understand all components of the prompt and ask for clarification before proceeding. Only run the script when I type “run.” A quick breakdown
I also included two Python-specific behaviors that I use frequently within an IDE.
The inclusion of a Senior Developer persona ensures you get an output that mimics a code review and personalizes the interaction as more of a “coding buddy” than a dry code spell check. The code validation prompt above solves one crucial part of the job: Ensuring code quality. But building a job-winning project is about mastering the entire process: from ideation and execution to nailing the interview presentation. I detail this full framework, including the validation prompt and other proven techniques for project execution, in my new ebook, which I’ll be releasing to those on the waitlist next week. Join now for your last chance to gain early access to a comprehensive career resource that will elevate your job candidacy and empower technical development—all for less than 10 USD. Thanks for ingesting, -Zach Quinn |
Reaching 20k+ readers on Medium and nearly 3k learners by email, I draw on my 4 years of experience as a Senior Data Engineer to demystify data science, cloud and programming concepts while sharing job hunt strategies so you can land and excel in data-driven roles. Subscribe for 500 words of actionable advice every Thursday.
Extract. Transform. Read. A newsletter from Pipeline Hi past, present or future data professional! A data science manager recently gave me some blunt, liberating advice over coffee: “If a team lead really cares what cloud technology you know (AWS, GCP, etc.) and doesn’t consider transferable experience… run.” This critical advice, which informs the conclusion of my soon-to-be-released ebook on data engineering project development, cuts to the core of a major problem in data hiring: The...
Extract. Transform. Read. A newsletter from Pipeline Hi past, present, or future data professional! For all of the latest tech trends that come and go, one idea has always persisted in the tech world: Longevity isn’t cool. I say this because I recently hit a professional milestone: 4 years with my current organization. My career trajectory offers a counter-narrative to the “job-hopping is the only way to succeed” mentality. My goal isn't to convince you to be a “lifer,” but to demonstrate...
Extract. Transform. Read. A newsletter from Pipeline Hi past, present or future data professional!The most dramatic dataset in the U.S. right now is labor data. Marred by revisions, official firings and general distrust, when the dust clears, U.S. unemployment hovers around 4%. The tech sector, specifically, ticked up from an all-time low to 3%, with overall jobs and postings decreasing significantly. While 3% is far from the industry’s record 5.7% set earlier this year, it is concerning.Ok....