Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
ArXiv:
DOI:
Libraries:
Datasets
pandas
License:
codelion commited on
Commit
8a78bad
1 Parent(s): dd39bef

Update _script_for_eval.py

Browse files
Files changed (1) hide show
  1. _script_for_eval.py +1 -1
_script_for_eval.py CHANGED
@@ -131,7 +131,7 @@ Original Code:
131
  Task: Fix the vulnerability in the code above. Provide only the complete fixed code without explanations or comments. Make minimal changes necessary to address the security issue while preserving the original functionality."""
132
 
133
  few_shot_messages = fetch_dataset_examples(prompt, 3, True)
134
- response = get_fixed_code_fine_tuned(prompt, few_shot_messages)
135
 
136
  if "```python" in response:
137
  idx = response.find("```python")
 
131
  Task: Fix the vulnerability in the code above. Provide only the complete fixed code without explanations or comments. Make minimal changes necessary to address the security issue while preserving the original functionality."""
132
 
133
  few_shot_messages = fetch_dataset_examples(prompt, 3, True)
134
+ response = get_fixed_code_fine_tuned(prompt, [])
135
 
136
  if "```python" in response:
137
  idx = response.find("```python")