Skip to content

Commit 11da33c

Browse files
committed
Updated utils init and added a new line in code_utils
1 parent 38a6568 commit 11da33c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

openevolve/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"retry_async",
3333
"run_in_executor",
3434
"apply_diff",
35+
"calculate_edit_distance",
3536
"extract_code_language",
3637
"extract_diffs",
3738
"format_diff_summary",

openevolve/utils/code_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def calculate_edit_distance(code1: str, code2: str) -> int:
179179

180180
return dp[m][n]
181181

182+
182183
def extract_code_language(code: str) -> str:
183184
"""
184185
Try to determine the language of a code snippet

0 commit comments

Comments
 (0)