Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,7 @@ def load_answer_sheet(filepath: str = "answer_sheet.json") -> Dict[str, str]:
|
|
| 107 |
return {}
|
| 108 |
|
| 109 |
|
| 110 |
-
def check_answer_correctness(submitted: str, correct: str) ->
|
| 111 |
"""
|
| 112 |
Check if submitted answer matches correct answer with fuzzy matching
|
| 113 |
Returns: (is_correct, feedback_message)
|
|
|
|
| 107 |
return {}
|
| 108 |
|
| 109 |
|
| 110 |
+
def check_answer_correctness(submitted: str, correct: str) -> tuple[bool, str]:
|
| 111 |
"""
|
| 112 |
Check if submitted answer matches correct answer with fuzzy matching
|
| 113 |
Returns: (is_correct, feedback_message)
|