Skip to contentমূল লেখায় যান

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, বা মূল পেপার।

See the roadmap of this moduleএই মডিউলের রোডম্যাপ দেখুন

0 of 47 topics done47টির মধ্যে 0টি টপিক সম্পন্ন

Topicsটপিকসমূহ

Part 1পার্ট 1 · Phase 1 — Foundations

  1. 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.

  2. Tokens, Probabilities, and Temperature

    How an LLM turns text into tokens, what temperature actually changes, and how the two decide what a tester sees.

  3. 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.

  4. 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.

  5. Prompt Testing

    Break a working prompt on purpose: edge cases, ambiguity, adversarial inputs, and how to document what you found.

  6. 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.

  7. Your First Eval with Promptfoo

    Set up Promptfoo, write a YAML config, define test cases, run the eval, and read the result.

  8. 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.

  9. DeepEval: Pytest for LLMs

    Write LLM tests as Pytest functions with DeepEval metrics, run them, and read the Confident AI dashboard.

  10. Hallucination Detection

    Build a hallucination test suite: factual accuracy, grounding checks, cross-reference validation, and the temperature effect.

  11. 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.

  12. RAG Testing Fundamentals

    Test a RAG pipeline end to end: retrieval quality, precision and recall, end-to-end faithfulness, and the four failure modes.

  13. Testing LLM APIs

    Test OpenAI, Anthropic, and Gemini endpoints: the request shape, the errors, the rate limits, the streaming, and the response times.

  14. Chatbot UI Testing with Playwright

    Test the chat interface: sending, streaming, history, the empty state, and the long input that breaks the layout.

  15. Testing LangChain Chains

    Test a LangChain chain component by component and end to end, and use LangSmith traces to see which step failed.

  16. 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.

  17. 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.

  18. 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.

  19. Guardrails, Output Validation, and Bias Testing

    Implement output validation with Guardrails AI, safety filtering with NeMo, and test for bias, toxicity, and data leakage.

  20. 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.

  21. 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.

  22. 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.

  23. 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.

  24. 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.

  25. 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.

  26. 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

  1. Advanced RAG Failure Modes

    Break a RAG system on purpose: contradictory documents, duplicates, multi-hop questions, stale content, and cross-language retrieval.

  2. Chunking and Embedding Strategy Testing

    Test the choices that decide retrieval quality before it starts: chunk size, overlap, and which embedding model you use.

  3. 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.

  4. Vector Database Fundamentals

    Set up ChromaDB and Qdrant, ingest documents, query with different similarity metrics, and know what the database actually does.

  5. Vector Database Quality and Performance

    Test retrieval accuracy at scale and the performance envelope: duplicates, load, index rebuilds, and drift.

  6. Multi-Turn Conversation Testing

    Test a chatbot that remembers: context retention across turns, topic switching, contradictions, and conversation reset.

  7. Virtual Assistant Testing

    Test intent classification, the fallback path, and the human handoff: the three places a virtual assistant breaks.

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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?

  13. Synthetic Data Generation with DSPy

    Generate test questions from your own knowledge base, verify the answers, and turn the result into a golden dataset.

  14. Production Observability

    Instrument a live RAG app, build the alerts that matter, and catch model drift, hallucination spikes, and silent model updates.

  15. Model Drift and A/B Testing

    Detect drift, compare two models in production safely, and know when a difference is real rather than noise.

  16. 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.

  17. 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.

  18. 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.

  19. 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.

  20. 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.

  21. 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.