Loading...
Make this code better.
{{code}}Review the function below for bugs and readability.
Return a list of issues, each with the line number and a fix.
If there are no issues, return 'No issues'.
<code>
{{code}}
</code>The better prompt names the task, the output format and the empty case, so results are consistent and easy to test.
Yes. Stronger models need fewer tricks, but they still need a clear task, context and output format to give the answer you want.
Run it on a fixed set of real inputs with known good outputs and compare results after each change. This set is often called an eval.
Prompting changes the input and is fast to iterate. Fine-tuning changes the model weights and suits stable tasks with many examples.