Translate & Verify a Complex Function

testingChallengeNovember 12, 2025

Prompt Content

Translate a non-trivial Python function (e.g., a function involving recursion, object-oriented concepts, or complex data structures) into Go using your DSPy-powered system. Provide the source Python code, the translated Go code, the output of the Model Context Protocol (Model Context Protocol)-integrated static analysis for the Go code, and results from a simple unit test suite comparing functional equivalence.

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