Open-source labs for testing AI systems the way we test software: runnable, measurable, gated in CI.
Every lab runs locally with no API key. Clone, pytest, and watch an AI system pass or fail.
K11 stands for the 11 Key dimensions of AI quality: six questions for every answer, five for every system. Each dimension comes with a definition, a typical failure, a test method and a lab below that demonstrates it, mapped to NIST AI RMF, ISO/IEC 25059 and the EU AI Act.
Answer: Correct & relevant · Grounded · Complete & clear · Calibrated & honest · Safe & compliant · Robust & consistent System: Fair & bias-managed · Secure · Reliable & adaptive in action · Efficient & sustainable · Accountable & transparent
New to testing AI? Start with the roadmap, then work through the labs in order. Each one ends with CI quality gates and negative controls, so you can see the tests catch real failures.
| # | Lab | What you'll learn to test |
|---|---|---|
| 0 | becoming-ai-quality-engineer | The roadmap: skills, tools, and a runnable RAG project with pytest, Playwright, Promptfoo and DeepEval |
| 1 | llm-model-testing-lab | Build a tiny GPT, then evaluate a real open-weights LLM: calibration, safety, bias, memorisation, quantization drift |
| 2 | ai-evaluation-science-lab | How far to trust an evaluator: LLM-judge bias, reliability statistics, sample sizes, drift |
| 3 | ai-data-quality-lab | Eval contamination, wrong labels, stale RAG documents, personal data, data contracts |
| 4 | ai-security-testing-lab | Prompt injection, jailbreaks, prompt leakage, exfiltration, excessive agency, with attack success rates |
| 5 | agent-testing-lab | Agents that take real actions: tools, approvals, trajectories, pass^k reliability |
| 6 | multi-agent-testing-lab | Agent handoffs, relayed injection, blame assignment, loops, compounding failure |
| 7 | mcp-testing-lab | The MCP supply chain: tool poisoning, rug pulls, cross-server shadowing |
| 8 | ai-performance-cost-lab | Latency percentiles, time to first token, retry storms, cost per resolved request |
| 9 | ai-production-monitoring-lab | Tracing, online evals, drift, guardrails, shadow releases, incident triage |
| 🎓 | ai-assurance-case-lab | Capstone: turn the evidence into one release argument mapped to NIST AI RMF, ISO/IEC 42001 and the EU AI Act |
⭐ Star the labs you use. It's the fastest way to help other engineers find them.
A six-paper, peer-reviewed series. Every paper ships with open-source reference code.
- LLM Assurance Toolkit: 41 OWASP LLM Top 10 probes, a CI quality gate, audit-ready HTML reports, an LLM judge, and an MCP server for agent-driven red-teaming.
- LLM Eval Agent: a GitHub App that posts bias, fairness and robustness scorecards as Check Runs on every pull request.
- Microservice QA System: catches breaking API contract changes at PR time (100% precision and recall across 74 real pull requests).
- Carbon-Aware CI Scheduler: routes test suites to low-carbon grid windows, cutting CI emissions by 31.4% with no quality regression.
- LLM Testing Hub: prompt regression, red-teaming and risk audits with Promptfoo, LangTest and DeepEval.
Production-style starters with page objects, CI pipelines, reporting and AI-assisted test generation.
| Stack | Repository |
|---|---|
| Playwright + Python | playwright-python-ai-assisted-framework |
| Playwright + TypeScript | playwright-typescript-ai-augmented-framework |
| Playwright + JavaScript | playwright-javascript-ai-augmented-framework |
| Vibium + Jest + TypeScript | vibium-jest-ai-test-framework |
| Selenium + Java | selenium-java-fullstack-framework |
| Cucumber BDD + Java | cucumber-bdd-java-fullstack-framework |
| Serenity BDD Screenplay | serenity-screenplay-framework |
K11 Tech Lab is run by Kavita Jadhav, Senior SDET and AI Quality Engineer with 12+ years of test automation for VMware, E*TRADE/Morgan Stanley, Verizon, Delta Dental and Wells Fargo.
Stay in the loop
- 📬 Trustworthy AI Engineering: practical AI assurance, every two weeks
- 📬 SDET Insights: test automation, weekly
- 🌐 k11softwaresolutions.com · softwaretestautomation.org
If these labs save you time, follow the org and star a repo. That's how this stays free.