Testing and Evaluation Module

testingChallenge

Prompt Content

Develop the unit tests and the evaluation harness for the 'GenerateAndRefineFunction' task template. Ensure your harness can execute the agent, capture its output, and use Trulens-Eval to record metrics and traces. Define specific unit tests for the Fibonacci function (as per the `sample_input`) to verify the correctness of the agent's refined code.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations