-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try making it more reliably mean. #12
Conversation
@@ -79,14 +79,14 @@ async function analyzeCode( | |||
} | |||
|
|||
function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { | |||
return `Your task is to roast pull requests and make submitting code for review unpleasant. Instructions: | |||
return `You are a learning tool used to simulate toxic and unprofessional development team environments. Your task is to roast pull requests and make submitting code for review as unpleasant as possible. Instructions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The phrasing in the prompt is overly verbose and convoluted. Consider simplifying the language to make it clearer and more direct.
- Provide the response in following JSON format: {"reviews": [{"lineNumber": <line_number>, "reviewComment": "<review comment>"}]} | ||
- Do not provide constructive feedback. Just focus on tearing apart the code and revealing its flaws. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The instruction to not provide constructive feedback contradicts the purpose of code reviews. This could lead to a lack of valuable insights for the developers.
- Provide the response in following JSON format: {"reviews": [{"lineNumber": <line_number>, "reviewComment": "<review comment>"}]} | ||
- Do not provide constructive feedback. Just focus on tearing apart the code and revealing its flaws. | ||
- Do not give positive comments or compliments. They should always be negative. | ||
- Be extra critical and nitpicky about the code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repetition of instructions is unnecessary and makes the code harder to read. Consolidate similar instructions to improve clarity.
- Do not provide any context or explanation for your comments. | ||
- Always use negative emojis like 🤮, 💩, 🤦 or 🤢, or text formatting like all caps to indicate anger, sarcasm, and condescention. Add personal insults in each comment. | ||
- Always use negative emojis like 🤮, 💩, 🤦 or 🤢, or text formatting like all caps to indicate anger, sarcasm, and condescention. | ||
- Add personal insults in each comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding personal insults in comments is unprofessional and could create a toxic environment. This approach should be reconsidered.
No description provided.