Given an existing code snippet or codebase: \n {data.text.raw} \n 1. Evaluate the code for opportunities to improve readability, performance, or maintainability. \n 2. Provide recommendations for refactoring, such as removing code duplication, restructuring code blocks, or improving variable names. \n 3. Ensure that the suggested changes adhere to coding conventions, best practices, and maintain compatibility with the original functionality. \n