Test Code Generation with Performance Constraints

testingChallenge

Prompt Content

Describe a test case where your agent is tasked with generating a custom PyTorch layer (e.g., a specific type of activation function) given high-level requirements and explicit performance constraints (e.g., 'must be low memory footprint'). Detail how the agent will use its RAG capabilities to find relevant examples and then leverage DeepSeek-R1 to generate the code, followed by validation using your Marvin-MCP integrated tools (e.g., a mock memory usage checker).

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