Code Review Prompts (Python/C++)

Anonymous

Can you help me craft a prompt for college application essay polish? The input will be an draft and the output should be a polished essay that will impress the admission officer

Evoke logo
Evoke

To craft an optimized prompt for polishing a college application essay, the task instruction would be focused on enhancing the draft to impress admissions officers. The process involves analyzing key areas where the draft could be improved in terms of clarity, impact, and alignment with admissions criteria. Here's how the instruction could be structured:

<Task Instruction: Revise a draft college application essay to enhance its clarity, impact, and alignment with what admissions officers typically look for. Ensure the revised essay showcases the applicant's strengths, experiences, and aspirations in a compelling and authentic manner.>

<Instruction> "Please revise the provided draft of a college application essay. Your goal is to enhance the essay's clarity, impact, and appeal to college admissions officers. Focus on improving narrative flow, showcasing the applicant's unique strengths and experiences, and aligning the content with common admissions criteria. Ensure that the language is engaging, personal anecdotes are well-integrated, and the essay reflects the applicant's aspirations and qualifications for the college. The final version should be a polished, compelling narrative that stands out in the competitive admissions process." </Instruction> <Edits> - Added focus on narrative flow to ensure the essay reads smoothly. - Emphasized the integration of personal anecdotes to showcase the applicant's unique experiences. - Included a directive to align content with common admissions criteria for a targeted approach. - Stressed the importance of engaging language to captivate the admissions officer's attention. - Ensured that the applicant's aspirations and qualifications are clearly articulated. </Edits>
Anonymous

Can you help me draft a prompt for code review (python)

Evoke logo
Evoke

Certainly, to create an optimized prompt for a Python code review, the task instruction will focus on assessing and improving the code's quality, efficiency, readability, and adherence to best practices. The goal is to provide actionable feedback that enhances the code's overall performance and maintainability. Here's a structured instruction for this task:

<Task Instruction: Review the provided Python code to evaluate and improve its quality, efficiency, readability, and adherence to Python coding best practices. Provide specific feedback and suggestions to optimize the code, ensuring it is well-structured, efficient, and easily maintainable.>

<Instruction> "Please conduct a thorough review of the provided Python code. Your review should focus on evaluating and enhancing the code's quality, efficiency, and readability, ensuring adherence to Python coding best practices. Look for opportunities to refactor the code for improved performance and maintainability. Provide specific, actionable feedback on areas such as variable naming, code structure, use of functions and classes, error handling, and optimization of algorithms. Highlight any potential bugs or inefficiencies and suggest improvements or alternative approaches. The final output should include a detailed review with clear, constructive suggestions for refining the code." </Instruction> <Edits> - Emphasized the assessment of code quality, efficiency, and readability. - Included the need for adherence to Python coding best practices. - Highlighted the importance of actionable feedback for optimization. - Directed attention to key areas like variable naming, structure, and error handling. - Urged the identification of potential bugs and inefficiencies with suggested improvements. </Edits>
Anonymous

That’s perfect! Can you help me craft one for c++ as well

Evoke logo
Evoke

Absolutely! Crafting an optimized prompt for a C++ code review involves focusing on assessing and enhancing the code's functionality, performance, and adherence to C++ best practices. The aim is to provide detailed, constructive feedback that improves the code's efficiency, readability, and maintainability. Here's how the task instruction can be structured:

<Task Instruction: Review the provided C++ code to evaluate and improve its functionality, performance, readability, and adherence to C++ coding best practices. Offer specific feedback and suggestions to optimize the code, ensuring it is efficient, well-structured, and maintainable.>

<Instruction> "Please conduct a comprehensive review of the provided C++ code. Focus on evaluating and enhancing its functionality, performance, and readability, while ensuring adherence to C++ coding best practices. Examine aspects such as memory management, use of pointers and references, object-oriented principles, error handling, and algorithm efficiency. Provide detailed, actionable feedback for improvements, including suggestions for refactoring, optimizing data structures and algorithms, and enhancing code clarity. Identify any areas prone to errors or inefficiencies, and recommend better practices or alternative solutions. The final output should be a thorough review with clear, constructive suggestions for refining and optimizing the C++ code." </Instruction> <Edits> - Focused on key C++ aspects such as memory management, pointers, and object-oriented principles. - Highlighted the importance of evaluating functionality, performance, and readability. - Emphasized adherence to C++ best practices. - Directed the review towards actionable feedback, including refactoring and optimization. - Stressed the identification of error-prone areas and inefficiencies with appropriate recommendations. </Edits>
Anonymous

that's nice! i'm currently also working on my essay for one sociology class, it should be a high quality college level essay, can you help me write a prompt to process the draft input and produce an refined essay as output, to meet the requirements?

Evoke logo
Evoke

Certainly! To create an optimized prompt for refining a sociology class essay draft into a high-quality college-level essay, the task instruction will focus on enhancing the essay's academic rigor, argumentative clarity, and adherence to sociological theories and concepts. The goal is to ensure that the essay meets the high standards expected at the college level, with well-supported arguments and clear, insightful analysis. Here's how the task instruction can be structured:

<Task Instruction: Refine the draft of a sociology class essay to elevate its academic quality, ensuring it aligns with college-level standards. Enhance the clarity of arguments, depth of analysis, and integration of sociological theories and concepts. The revised essay should demonstrate thorough understanding of the topic, present well-supported arguments, and exhibit clear, scholarly writing.>

<Instruction> "Please revise the provided draft of a sociology class essay to meet high college-level standards. Focus on enhancing the academic rigor and clarity of the essay. Ensure that the arguments are well-structured, logically sound, and supported by relevant sociological theories and empirical evidence. Deepen the analysis to reflect a comprehensive understanding of the sociological concepts and perspectives relevant to the topic. Pay attention to the essay's organization, coherence, and scholarly tone. Incorporate appropriate citations and references to support your arguments. The final version should be a refined, insightful essay that demonstrates a high level of critical thinking and understanding of sociology." </Instruction> <Edits> - Emphasized enhancing academic rigor and argumentative clarity. - Stressed the importance of aligning with college-level standards. - Directed focus towards integrating and supporting arguments with sociological theories and evidence. - Highlighted the need for deep analysis and comprehensive understanding of the topic. - Urged attention to organization, coherence, and scholarly tone. - Included the requirement for appropriate citations and scholarly references. </Edits>