AI/ML testing · 47 topicsAI/ML testing · 47টি টপিক
AI and ML TestingAI ও ML টেস্টিং
An AI system does not have one right answer, so the tester cannot check the output alone. This module covers the whole job: what the model is doing, how to break it on purpose, how to score it automatically, and how to keep the score from falling.একটা AI সিস্টেমের একটাই সঠিক উত্তর নেই, তাই টেস্টার শুধু আউটপুট দেখে চেক করতে পারেন না। এই মডিউলে পুরো কাজটা আছে: মডেল আসলে কী করছে, কীভাবে ইচ্ছাকৃতভাবে ভাঙবেন, কীভাবে স্বয়ংক্রিয়ভাবে স্কোর দেবেন, আর স্কোর যেন কমে না পড়ে।
The topics follow the syllabus of the AI & ML Testing Professional Course (QodeBench — Journey to Automation): 17 course modules and 47 sessions, Phase 1 Foundations first, then Phase 2 Mastery. The text of each page is the tutorial's own. Every fact links to an official source, such as the tool's documentation, OWASP, NIST, or the original paper.টপিকগুলো AI & ML Testing Professional Course (QodeBench — Journey to Automation)-এর সিলেবাস অনুযায়ী: ১৭টি কোর্স মডিউল আর ৪৭টি সেশন, আগে Phase 1 Foundations তারপর Phase 2 Mastery। প্রতিটি পেজের লেখা টিউটোরিয়ালের নিজস্ব। প্রতিটি তথ্য একটা অফিসিয়াল সোর্সে লিংক করা, যেমন টুলের ডকুমেন্টেশন, OWASP, NIST, বা মূল পেপার।
0 of 47 topics done47টির মধ্যে 0টি টপিক সম্পন্ন
Topicsটপিকসমূহ
Part 1পার্ট 1 · Phase 1 — Foundations
AI and ML for Testers
What changes when the thing under test is a model: the three kinds of learning, where a model fits in a product, and why testing it needs different checks.
Tokens, Probabilities, and Temperature
How an LLM turns text into tokens, what temperature actually changes, and how the two decide what a tester sees.
AI Application Architectures
Map an AI feature into its layers, find the test point at each one, and know when to reach for fine-tuning, RAG, or a better prompt.
Prompt Engineering Fundamentals
How to write a prompt that works: the parts, the few-shot examples, chain of thought, and why a non-English prompt breaks more often.
Prompt Testing
Break a working prompt on purpose: edge cases, ambiguity, adversarial inputs, and how to document what you found.
Structured Outputs and Validation
Test JSON mode, function calling, and tool use: the schema check, the field that hallucinates, and the schema the model keeps breaking.
Your First Eval with Promptfoo
Set up Promptfoo, write a YAML config, define test cases, run the eval, and read the result.
Advanced Assertions and LLM-as-Judge
The assertion types that carry a quality suite: regex, semantic similarity, llm-rubric, and how to keep a judge from drifting.
DeepEval: Pytest for LLMs
Write LLM tests as Pytest functions with DeepEval metrics, run them, and read the Confident AI dashboard.
Hallucination Detection
Build a hallucination test suite: factual accuracy, grounding checks, cross-reference validation, and the temperature effect.
Model Comparison and Regression Testing
Build a golden dataset, run it across several models, track scores over time, and catch what a model upgrade silently broke.
RAG Testing Fundamentals
Test a RAG pipeline end to end: retrieval quality, precision and recall, end-to-end faithfulness, and the four failure modes.
Testing LLM APIs
Test OpenAI, Anthropic, and Gemini endpoints: the request shape, the errors, the rate limits, the streaming, and the response times.
Chatbot UI Testing with Playwright
Test the chat interface: sending, streaming, history, the empty state, and the long input that breaks the layout.
Testing LangChain Chains
Test a LangChain chain component by component and end to end, and use LangSmith traces to see which step failed.
Testing LangGraph Agents
Test a multi-step agent: the decision at each node, the tool it picks, the arguments it passes, loop detection, and error recovery.
OWASP Top 10 for LLMs
Walk through the ten risks, what each one looks like, and how to test for it: prompt injection, data leakage, and the rest.
Red Teaming with Promptfoo and Giskard
Run automated attack probes against a chatbot, map the findings to OWASP, and compare what two different tools catch.
Guardrails, Output Validation, and Bias Testing
Implement output validation with Guardrails AI, safety filtering with NeMo, and test for bias, toxicity, and data leakage.
AI Test Strategy and Planning
Write a test plan for an AI feature: the scope, the test types, the tools, the metrics, and the risk assessment, before anything breaks.
AI Quality Metrics and Reporting
Build a quality dashboard from eval results: hallucination rate, faithfulness, latency P95, and cost per session, in a report a non-tester can read.
AI Observability and Production Monitoring
Set up tracing with Arize Phoenix and LangFuse, and know why a clean eval run does not mean a clean production system.
Capstone Project Setup: Build the AI App to Test
Build a customer support RAG chatbot with LangChain and ChromaDB, loaded with FAQ documents and deployed as an API, as the target for the rest of the capstone.
Capstone Test Pipeline: Eval, Red Team, and UI, Together
Write the full test suite for the capstone app: a Promptfoo eval, DeepEval hallucination tests, red teaming, a Giskard scan, and Playwright UI tests, traced with LangFuse.
CI/CD Integration and Capstone Presentation
Put the capstone's test pipeline into GitHub Actions on every pull request, build a quality dashboard, and present the results.
AI Testing Career Kit: Resume, Portfolio, and Interviews
Turn the capstone into a resume line, a portfolio, and interview practice: what to highlight, and where to go deeper on general interview prep.
Part 2পার্ট 2 · Phase 2 — Mastery
Advanced RAG Failure Modes
Break a RAG system on purpose: contradictory documents, duplicates, multi-hop questions, stale content, and cross-language retrieval.
Chunking and Embedding Strategy Testing
Test the choices that decide retrieval quality before it starts: chunk size, overlap, and which embedding model you use.
RAG Test Automation at Scale: Synthetic Data and Regression
Auto-generate hundreds of RAG test questions with Giskard RAGET, build a regression suite that runs on every knowledge base update, and gate the deploy on it.
Vector Database Fundamentals
Set up ChromaDB and Qdrant, ingest documents, query with different similarity metrics, and know what the database actually does.
Vector Database Quality and Performance
Test retrieval accuracy at scale and the performance envelope: duplicates, load, index rebuilds, and drift.
Multi-Turn Conversation Testing
Test a chatbot that remembers: context retention across turns, topic switching, contradictions, and conversation reset.
Virtual Assistant Testing
Test intent classification, the fallback path, and the human handoff: the three places a virtual assistant breaks.
Agent Architecture: What You Are Testing
Map an agent's decision tree before you test it: the nodes, the tools, the state, and where the test points are.
Agent Decision Testing
Test the two decisions an agent makes: which tool to call, and what to pass to it. The second one breaks more often.
Multi-Agent Systems Testing
Test a team of agents: the handoff between them, the collaboration, the failure cascade, and the cost of the whole chain.
Multi-Modal Model Testing
Test a model that reads images and documents: OCR accuracy, field extraction, chart reading, and the hallucinations that come with pixels.
Fine-Tuned Model Testing
Test a fine-tuned model: did the task improve, what did it forget, and how do you compare it with the base model?
Synthetic Data Generation with DSPy
Generate test questions from your own knowledge base, verify the answers, and turn the result into a golden dataset.
Production Observability
Instrument a live RAG app, build the alerts that matter, and catch model drift, hallucination spikes, and silent model updates.
Model Drift and A/B Testing
Detect drift, compare two models in production safely, and know when a difference is real rather than noise.
Load Testing AI Systems
Load test an LLM endpoint: throughput, time to first token, tokens per second, rate limits, and the quality cost of load.
CI/CD Eval Pipelines
Put the evals in the pipeline: a quality gate that blocks the merge, a cost gate, and the PR report that shows the numbers.
Advanced Capstone Setup: A Production RAG Application with an Agent Layer
Build a multi-source RAG application with an agent that can search docs, check order status, and escalate to a human, deployed with conversation history.
Advanced Capstone: A Comprehensive Test Suite
Build RAG eval with Ragas (50+ cases across four metrics), agent decision tests, multi-turn conversation tests, a DSPy-generated dataset, and a Giskard red team run.
Advanced Capstone: Production Pipeline and Monitoring
Wire the test suite into a CI/CD quality gate, deploy LangFuse tracing and Arize Phoenix continuous evaluation, and build cost monitoring and an A/B framework.
Advanced Capstone Presentation: Demo Day
Present the complete project to the cohort and guest reviewers: architecture, test strategy, results, vulnerabilities, metrics, and the CI/CD pipeline, then a peer review.