Reduce "Malformed Responses" by a minor change in the prompt #346
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change has positive effect on ratio of malformed response.
I discovered it while testing another change, in which I add line numbers to code.
I run the Exercism python benchmarks, consisting of 135 tests, using gpt-4-turbo.
Does this difference justifies a change?
Do you want additional benchmarking?
About performance, I saw minor improvment.
community -> community+change:
I know it doesn't reproduce your results, I guess difference comes from chatgpt randomness.
I counted malformed responses from the chat history, using excel and this script:
https://gist.github.com/omri123/6c0f4a07e3c25ac059e04ddeeaf7f62c