Revise a Failing Claude Prompt with Regression Tests
Fix a failing Claude prompt step by step: reproduce the gap with pytest, diagnose the cause, revise with clarity, placement, examples and sanitisation, and keep it fixed in…
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Fix a failing Claude prompt step by step: reproduce the gap with pytest, diagnose the cause, revise with clarity, placement, examples and sanitisation, and keep it fixed in…
Build Claude prompt templates, chain prompts into a pipeline and version prompts like code, step by step in Python, with logging that ties every answer to its prompt.
Use Claude extended thinking step by step: adaptive thinking, effort levels, summarized display, passing thinking blocks back, cost, and when reasoning prompts still help.
Learn zero-shot, one-shot and few-shot prompting with Claude step by step: write good examples, wrap them in tags, avoid copying traps and measure the gain in Python.
Learn Claude prompt engineering step by step: clear instructions, context and reasons, roles, XML tags, document placement and output formats, with Python examples.
Use the Claude Message Batches API in Python step by step: create a batch, poll it, read results by custom_id, handle errored and expired items and cut cost…
Make concurrent Claude API calls in Python step by step with AsyncAnthropic, asyncio.gather, a semaphore for rate limits, per-task errors and async streaming.
Handle Claude API errors in Python step by step: the exception classes, which errors to retry, SDK auto-retries, retry-after, timeouts and model fallback.
Send screenshots, PDFs and uploaded files to Claude step by step in Python: base64 images, document blocks, the Files API, limits and the ingestion bugs to avoid.
Stream Claude responses in Python step by step: text_stream, raw SSE events, message_stop vs content_block_stop, detecting max_tokens cut-offs and mid-stream errors.
Choose between Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.2 step by step: prices, context, adaptive thinking, effort levels and a selection checklist.
Claude temperature, top_p and non-determinism step by step: why current models reject sampling parameters, and how to get consistent output you can test.
Take free timed mock tests with answers and explanations.