
Two AI Jobs, One Messy Log: Keep Every Run in Its Own Lane
Reproduce a concurrent run-ID mix-up, then keep task-local event labels with Python ContextVar. Includes ten tests, cancellation cleanup and a child-task inheritance check.
BY JASON EAD
Original guides and analysis about coding tools, models, GitHub projects, agents, and creative AI workflows.

Reproduce a concurrent run-ID mix-up, then keep task-local event labels with Python ContextVar. Includes ten tests, cancellation cleanup and a child-task inheritance check.

Build an uncropped, labeled contact sheet and source manifest for campaign candidates. A tested local Pillow workflow keeps creative reviews tied to the right files.

Make decimal input and rounding stages explicit in an AI quote handoff. Reproduce the one-cent policy difference and 13 runtime tests before adapting the calculation.

Find intended files that ordinary Git status can omit. Reproduce indexed, ignored, untracked and missing handoff states with seven isolated checks.

Catch duplicate lookup keys and unmatched accounts before a data join multiplies your AI workflow records. Reproduce the pandas example with 12 runtime tests.

Measure, normalize and re-measure a saved WAV with FFmpeg. Reproduce a two-pass audio drill with five real checks before adapting it to your promo workflow.

Audit missing model-evaluation grades before trusting a perfect score. Reproduce a CSV coverage report with 11 tests and explicit denominators.

Reproduce a passing thin test suite, an F821 finding and a real NameError, then repair the code and test the missing behavior before accepting a coding task.

Build a local SQLite FTS5 procedure-search baseline. Reproduce useful keyword hits and a revealing synonym miss before comparing more complex retrieval.

Reject duplicate JSON keys before a default parser silently keeps the last value. Test nested and escaped duplicates, non-finite values and the raw-text boundary.

Check the exported video, not just the progress bar. Test dimensions, pixel shape, duration and required audio, then decode selected streams before handoff.

Catch repeated and nonexistent local times before an AI-assisted request reaches a calendar. Build a tested New York conversion boundary with explicit human choices.

Reproduce a stale uv lockfile, see why frozen can run the old dependency, and give your coding assistant a consistency check it can prove.

Include human review time when comparing AI workflows. Use a tested decimal calculator and a task-trial record, with clearly fictional inputs and no model-performance claims.

Inspect parsed CSV cells for suspicious prefixes before spreadsheet delivery. Includes a tested text-only review gate, false-positive examples and clear limits.

Use a repeatable business test and Git bisect to locate an injected quote-calculation regression in a disposable four-commit repository.

Package a draft-only business reply skill with clear stopping points, source-backed review packets and five boundary tests before enabling delivery.

Build a tested Jinja rendering boundary that rejects missing report fields, escapes HTML text and keeps human approval separate from delivery.