Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
server/python_codeact_env.py
CHANGED
|
@@ -66,7 +66,10 @@ class PythonCodeActEnv(Environment):
|
|
| 66 |
exit_code=0,
|
| 67 |
task_id=task.task_id,
|
| 68 |
difficulty=task.difficulty,
|
| 69 |
-
task_description=
|
|
|
|
|
|
|
|
|
|
| 70 |
code_snippet=format_task_prompt(task),
|
| 71 |
pr_title=task.pr_title,
|
| 72 |
pr_description=task.pr_description,
|
|
@@ -123,7 +126,10 @@ class PythonCodeActEnv(Environment):
|
|
| 123 |
exit_code=0,
|
| 124 |
task_id=task.task_id,
|
| 125 |
difficulty=task.difficulty,
|
| 126 |
-
task_description=
|
|
|
|
|
|
|
|
|
|
| 127 |
code_snippet=format_task_prompt(task),
|
| 128 |
pr_title=task.pr_title,
|
| 129 |
pr_description=task.pr_description,
|
|
|
|
| 66 |
exit_code=0,
|
| 67 |
task_id=task.task_id,
|
| 68 |
difficulty=task.difficulty,
|
| 69 |
+
task_description=(
|
| 70 |
+
"Review this pull request and report the highest-impact issue "
|
| 71 |
+
"with file_path, issue_type, severity, line_number, and evidence."
|
| 72 |
+
),
|
| 73 |
code_snippet=format_task_prompt(task),
|
| 74 |
pr_title=task.pr_title,
|
| 75 |
pr_description=task.pr_description,
|
|
|
|
| 126 |
exit_code=0,
|
| 127 |
task_id=task.task_id,
|
| 128 |
difficulty=task.difficulty,
|
| 129 |
+
task_description=(
|
| 130 |
+
"Review this pull request and report the highest-impact issue "
|
| 131 |
+
"with file_path, issue_type, severity, line_number, and evidence."
|
| 132 |
+
),
|
| 133 |
code_snippet=format_task_prompt(task),
|
| 134 |
pr_title=task.pr_title,
|
| 135 |
pr_description=task.pr_description,
|