-
Notifications
You must be signed in to change notification settings - Fork 21
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
Modification prompt update #357
Conversation
val prompt = buildString { | ||
append("For this test:\n ```\n ") | ||
append(testCase) | ||
append("\n```\nYou are allowed to generate only 1 test method. Do not change class and method names.") |
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.
You can make it more assertive + less tokens:
Generate/Output a SINGLE test case/method.
Does it close any issue from the issue list? |
No. It just improves LLM behavior to reduce the number of such problems as in #252. To fully resolve this issue, we have to add smth like a feedback cycle or proper error notification to user. Unfortunately, both of the solutions require many changes in the core module, so we've decided not to include them in the upcoming release |
Improving the prompt to reduce occurrences of problems like in #252