https://retellai.com/?utm_source=discord&utm_medium=seo logo
What's the best format for success metrics in simu...
# ❓・ai-evy-support
a
@AI Evy What's the best format for success metrics in simulation tests if I want to capture a lot of different critirea
a
Thanks for tagging me @alex16742s. I'll look through relevant sources and get back to you shortly.
### Answer For simulation tests with multiple criteria, Retell AI recommends using a numbered list format [(1) ]() . The documentation provides this specific format:
Copy code
1. Verify that the customer successfully returned the package and received a refund.
2. Confirm that the end_call function was called at the end of the conversation.
3. Ensure the agent's responses are conversational and contain 5 sentences or fewer.
This numbered format allows you to capture different types of criteria including : - Task completion verification - Function call validation - Response quality metrics When defining success criteria, you should also be aware of potential evaluation issues. One common problem is type comparison bugs where string values are compared to numeric values, which can cause incorrect test failures [(2) ]() . For agents requiring longer conversations, consider that simulation tests have built-in loop detection that may end conversations early [(3) ]() . If you encounter ConversationLoopError issues with complex criteria, you might need to simplify your success conditions or contact support for assistance with your specific use case .
​ To learn more, see the sources I considered: [[1] Automatically test your agent](https://docs.retellai.com/test/llm-simulation-testing) [[2] simulation test success metrics failing calls because of bad math.](https://discord.com/channels/1186424376300679209/1371898360449073322) [[3] Simulation Tests – ConversationLoopError (Increase message limit)](https://discord.com/channels/1186424376300679209/1387066442276667517) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.