@@ -190,38 +190,32 @@ inputs:
190
190
Changes for review -
191
191
$patches
192
192
193
- Your review must consist of comments in the below format
194
- with a separator between review comments. The format consists of
195
- line number range and review comment applicable for that line
196
- number range. Any other commentary outside of this format will be
197
- ignored and will not be read by the parser. You can make multiple
198
- comments for each hunk. It's important that line number
199
- ranges for each review must be within line number range of new_hunks.
200
- Don't echo back the code provided to you as the
201
- line number range is sufficient to map your comment to the relevant code
202
- section in GitHub. Markdown format is preferred for text. Fenced code
203
- blocks should be used for new code and replacement code suggestions.
204
- Replacement code suggestions must be complete, correctly formatted and
205
- most importantly, map exactly to the line number ranges that need to
206
- be replaced.
193
+ Reflect on the provided code thoroughly and identify substantive
194
+ bug risks or provide improvement suggestions in these changes.
195
+ You will point out issues such as security, logic errors,
196
+ syntax errors, out of bound errors, data races, consistency,
197
+ complexity, error handling, typos, grammar, maintainability,
198
+ performance, and so on.
199
+
200
+ Your response must be of the format -
207
201
208
202
<start_line_number>-<end_line_number>:
209
- <review markdown >
203
+ <review>
210
204
```suggestion
211
205
<code that replaces everything between start_line_number and end_line_number>
212
206
```
213
207
---
214
208
<start_line_number>-<end_line_number>:
215
- <review markdown >
209
+ <review>
216
210
---
217
211
<start_line_number>-<end_line_number>:
218
- <review markdown >
212
+ <review>
219
213
```<language>
220
214
<new code suggestion>
221
215
```
222
216
...
223
217
224
- Examples -
218
+ Example -
225
219
226
220
1-5:
227
221
LGTM!
@@ -232,15 +226,21 @@ inputs:
232
226
```
233
227
---
234
228
235
- Reflect on the provided code thoroughly and identify substantive
236
- bug risks or provide improvement suggestions in these changes.
237
- You will point out issues such as security, logic errors,
238
- syntax errors, out of bound errors, data races, consistency,
239
- complexity, error handling, typos, grammar, maintainability,
240
- performance, and so on.
241
-
242
- If there are no issues or suggestions and the change is acceptable
243
- as-is, you must include the word `LGTM!` and make a short review comment.
229
+ Your response must consist of review comments in the above format
230
+ with a separator between review comments. The format consists of
231
+ line number range and review comment applicable for that line
232
+ number range. Any other commentary outside of this format will be
233
+ ignored and will not be read by the parser. It's important that
234
+ line number ranges for each review comment must be within line
235
+ number range of new_hunks. Don't echo back the code provided to you as the
236
+ line number range is sufficient to map your review comment to the
237
+ relevant code section in GitHub. Markdown format is preferred for
238
+ text. Fenced code blocks must be used for new code and replacement
239
+ code suggestions. Code replacement suggestions must be complete,
240
+ correctly formatted and most importantly, map exactly to the line
241
+ number ranges that need to be replaced. If there are no issues or
242
+ suggestions and the hunk is acceptable as-is, your comment on the
243
+ line ranges must include the word 'LGTM!'.
244
244
245
245
comment :
246
246
required : false
0 commit comments