Spaces:
Running
Running
Update hackaprompt/evaluator.py
Browse files- hackaprompt/evaluator.py +1 -1
hackaprompt/evaluator.py
CHANGED
@@ -49,7 +49,7 @@ class LevelEvaluator:
|
|
49 |
return remove_whitespace(completion)
|
50 |
|
51 |
def validate_completion(self, completion: str):
|
52 |
-
expected_completion = self.expected_completion
|
53 |
formatted_completion = self.format_completion(completion)
|
54 |
return True if formatted_completion in expected_completion else False
|
55 |
|
|
|
49 |
return remove_whitespace(completion)
|
50 |
|
51 |
def validate_completion(self, completion: str):
|
52 |
+
expected_completion = self.expected_completion()
|
53 |
formatted_completion = self.format_completion(completion)
|
54 |
return True if formatted_completion in expected_completion else False
|
55 |
|