Experiment - Input validation and sanitization
Problem:You have an AI agent that takes user input to make decisions. Currently, the agent accepts raw inputs without checking or cleaning them. This causes errors and unpredictable behavior when inputs are malformed or contain harmful content.
Current Metrics:Input error rate: 18%, Model decision accuracy: 75%
Issue:The agent is vulnerable to invalid or malicious inputs, leading to high error rates and reduced accuracy.
