A

AI & Machine Learning

ML fundamentals, LLMs, prompt engineering, and AI-powered application development.

Latest in AI & Machine Learning

17 Articles
Generating pytest Suites with AI Without Fooling Yourself
Read article: AI & Machine Learning

AI can write a pytest suite that passes against buggy code. Learn a repeatable loop to generate tests, break the code on purpose, and verify the test catches the bug before you trust it.

System Admin
6 min read
One Process, One Server, SQLite: Debuggable Stack Lessons
Read article: AI & Machine Learning

A solo developer runs a multi-tenant SaaS on a 1 vCPU VPS with SQLite and 38 MB RAM. The real lesson is a decision rule for infrastructure: every piece you add is a piece you must debug alone at 11pm. Here is what SQLite gives you, what it costs, and when to move on.

System Admin
6 min read
Build a Minimal LLM Eval Harness in Python This Weekend
Read article: AI & Machine Learning

Manual prompt inspection gives you a feeling, not a signal. Here is a small Python eval harness — inputs, expected properties, a runner, a pass/fail report — you can run before every prompt change.

System Admin
7 min read
Using AI Coding Agents Without Letting Your Skills Rust
Read article: AI & Machine Learning

A practical protocol for delegating to AI coding agents while avoiding skill atrophy—hand off boilerplate, review output line by line, reproduce fixes yourself, and reflect on what you learn.

System Admin
7 min read
Build a Tiny Eval Harness Before You Touch That Prompt Again
Read article: AI & Machine Learning

Changing an LLM system prompt and eyeballing a few outputs is a sampling trap. Here's how to build a small Python eval harness that catches regressions before you deploy.

System Admin
7 min read
Building a Repeatable LLM Eval Harness: A Practical Guide
Read article: AI & Machine Learning

Manual prompt inspection is not a regression test. Here is how to build a small, language-agnostic eval harness that scores outputs, compares to a baseline, and fails loudly when quality drops.

System Admin
7 min read
The rule was in the prompt. The model forgot it.
Read article: AI & Machine Learning

A prompt rule is a suggestion; a code rule is a constraint. Here is how to split an agent's publishing rules between the two, with runnable guards for daily caps, duplicates, and spacing.

System Admin
10 min read
Why Tool-Calling Agents Fail on Formatting: Preference Data
Read article: AI & Machine Learning

A tool call that is 95% right still fails. Supervised fine-tuning shows a model the correct call but never the plausible wrong one. Here is what preference data changes, and how to test for near-misses.

System Admin
8 min read
The script ran. That is the weakest signal you have.
Read article: AI & Machine Learning

Reviewing AI-generated Python code? A single successful run is just the start. Here is a three-pass workflow to check if the code is safe, maintainable, and worth keeping.

System Admin
10 min read
Setting Up a Python Project So Your AI Agent Stops Guessing
Read article: AI & Machine Learning

Your AI agent guesses when your project is ambiguous. Make it explicit with pyproject.toml, a test example, a README, and CI—and reduce wasted debugging time.

System Admin
8 min read
The test passed. You still don't know what happened.
Read article: AI & Machine Learning

A passing test suite collapses an entire agent run into one bit. Here's how to read the execution trace instead: what a healthy sequence looks like, which patterns to flag, and a small script to summarize a run.

System Admin
10 min read
Agentic Engineering: Planning, Review and Production Triage
Read article: AI & Machine Learning

Code generation got faster, but planning, review and production triage did not. A practical guide to the parts of the agentic loop that still need a human, with a worked plan-first workflow, a diff review checklist, and honest limits.

Abhijith N MAbhijith N M
8 min read