style: fix black and isort formatting

Run black and isort to satisfy pre-commit checks.

Made-with: Cursor
This commit is contained in:
Ritvik19 2026-04-17 14:32:25 +00:00
parent 83fcceb317
commit d6a5a8a9f1
2 changed files with 16 additions and 10 deletions

View file

@ -28,6 +28,7 @@ if TYPE_CHECKING:
# LaTeX normalisation
# ---------------------------------------------------------------------------
def strip_latex(s: str) -> str:
"""Remove common LaTeX wrappers and normalise whitespace.
@ -47,6 +48,7 @@ def strip_latex(s: str) -> str:
# Individual matchers
# ---------------------------------------------------------------------------
def string_match(predicted: str, expected: str) -> float:
"""Case-insensitive exact string comparison after stripping whitespace."""
try:
@ -123,6 +125,7 @@ def _mathrm_to_text(s: str) -> str:
# Full cascade
# ---------------------------------------------------------------------------
def cascade_score(
answer: str,
expected: str,