Ai-Engineering
Recent articles
Showing 24 of 53
Zero Trust for AI Model Serving
Applying zero trust architecture to AI systems: securing inference endpoints, model artifact access, training …VCR Pattern for AI API Testing
Record-and-replay pattern for AI API testing: capture real model responses once, replay them in CI for …Unit Testing AI Applications
How to unit test AI codebases effectively: testing prompt templates, output parsers, data validation, chunking …Unit Testing
What unit testing is, how isolation and test doubles work, and assertion patterns relevant to AI application …Testing RAG Systems
How to test Retrieval-Augmented Generation systems: unit testing chunking, integration testing retrieval …Testing Non-Deterministic Systems
Strategies for testing AI systems where the same input produces different outputs: statistical assertions, …Testing LLM Applications
LLM-specific testing strategies: prompt template testing, structured output validation, guardrail …Testing AI Agent Tool Calls
How to test AI agents that use tools: mocking tool responses, testing tool selection logic, error handling, …Test-Driven Development
The TDD red-green-refactor cycle and how it applies to AI application development where outputs are …Test Fixture
What test fixtures are, how they provide predefined data and state for reproducible tests, and fixture …Test Data Management for AI Systems
Managing test data for AI: synthetic data generation, fixture design, golden datasets for regression, data …Statistical Assertion Pattern
A testing pattern for non-deterministic AI outputs: run N times, assert success rate exceeds threshold, use …Software Quality Practices for ML Projects
How to apply software quality practices to ML projects: code coverage for non-model code, quality gates in …Snapshot Testing for AI Systems
Snapshot and golden file testing for AI: capturing expected outputs, managing updates, structural snapshots, …Snapshot Testing
What snapshot testing is, how it captures and compares output snapshots for regression detection, and its …Semantic Assertion Pattern
Asserting AI output correctness via semantic similarity rather than exact string match: embedding-based …Security Scanning in AI/ML CI/CD Pipelines
How to integrate security scanning into AI/ML CI/CD pipelines: dependency scanning, container image analysis, …Sandbox Testing Pattern for AI Agents
Sandboxed execution environments for testing AI agents with real tool access without production side effects: …Retrieval Routing Pattern
Smart routing between multiple knowledge sources based on query intent, selecting the optimal retrieval …Real-Time Feature Computation Pattern
The architectural pattern for computing ML features from event streams: windowed aggregations, stream-table …Rate Limiting for LLM and AI Endpoints
How to implement rate limiting for AI API endpoints: token bucket and sliding window algorithms, per-user and …Progressive Delivery for AI Deployments
Combining feature flags, canary releases, and automated rollback for AI model deployments: AI-specific …Playwright vs Cypress for Testing AI-Powered Web Apps
A detailed comparison of Playwright and Cypress for end-to-end testing of AI applications: architecture, …Playwright Testing Guide for AI Applications
Comprehensive Playwright guide: setup, page objects, selectors, assertions, network interception for mocking …
53 articles in this section. Search for a specific topic.
Open source projects