Code: 02_ai-engineering-code/multimodel-qa-cascade/ (rewrite-qa.mjs, run.sh, test-providers.sh, README.md, output/sample-one-item.json)
Origin: tradetesttwo/manual/2026-03-03-qa-rewrite-pipeline/
Problem. 2,760+ flagged defects across exam questions, answer explanations, learning assets, and flashcards needed rewriting — fast, cheap, and without trusting any single model's word for "good."
What I built. A content-rewrite engine, run under Claude Code as orchestrator, that fans every item out to three providers in parallel:
localhost:11434) — zero-cost local baseline.codex exec) — highest-quality pass.Total spend: $0 (local + free tiers + login-based, no per-call billing).
The key idea — verify deterministically, decide with a human.
apply-*.sql) using the highest-scoring version.--resume, --dry-run, --skip-ollama, rate-limit handling, preflight test-providers.sh.Why it's the centerpiece for an AI-native role. It's the whole job in one artifact: orchestrating heterogeneous models by cost/speed/quality, refusing to let a model grade itself (deterministic validators), keeping a human in the decision loop, and shipping the result as executable patches.
GG · Applied AI Engineering portfolio · synced to youdontneedmy.help design