testing

Testing Groovy code with assert, Spock, and JUnit.

AI Training Data: Where Datasets Come From and Why They Matter

AI training data is the single biggest reason a model works or quietly falls apart, and this tutorial explains where datasets come from, what a label really is, how bias sneaks in, and why the train/validation/test split is the habit that keeps you honest. If you remember one thing from the whole AI Foundations chapter, make it this: the data you feed a model matters more than the model itself. “Real stupidity beats artificial intelligence every time.” Terry Pratchett, Hogfather ... Read More

FastAPI Capstone: Build, Test, and Ship a Real API

This FastAPI project is the capstone for Part 3: one small but real Application Programming Interface (API) that you build, test, containerize, gate behind CI, and deploy to a public URL. It is a bookmarks service (sign up, log in, save links, list them with pagination), the kind of thing you could actually put your name on and hand to an interviewer. “Code without tests is broken as designed.” Jacob Kaplan-Moss, Django co-creator Last Updated: July 2026 | Tested on: ... Read More

AI-Assisted Coding: Cursor, Claude Code, Copilot Workflow

Since late 2025, some companies hand you an AI assistant in the interview and grade how you drive it. That is how mainstream AI assisted coding has become: the typing is cheap now, and the judgment is the job. This post shows the loop that keeps you safe, spec first, small diffs, verify everything, by extending a real project and catching a planted bug. “Debugging is twice as hard as writing the code in the first place. So if you ... Read More