Skip to content

Commit 7fe745c

Browse files
style
1 parent 41e5845 commit 7fe745c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/genesys/verifier/code_test_verifier.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,12 @@ def computeSum(self, x, y): return x+y
163163
def computeSum(x, y): return x+y
164164
"""
165165

166-
injection = "from typing import List, Dict, Set, Tuple, Union, Optional\n" # often starter code is typed on leetcode
166+
injection = "from typing import List, Dict, Set, Tuple, Union, Optional\n" # often starter has type hints
167167
user_code = injection + user_code
168168

169169
passed_tests = 0
170170
total_tests = len(test_cases)
171171

172-
import uuid
173172
code_filename = f"user_code_{uuid.uuid4().hex}.py"
174173
copy_to_container(container, code_filename, user_code)
175174

0 commit comments

Comments
 (0)