Fix typos in comments for clarity

This commit is contained in:
crStiv 2026-01-20 00:07:50 +02:00 committed by GitHub
parent ee97038408
commit abc9ad3c73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -452,9 +452,9 @@ def grade_stdio(
if stripped_prediction_line == stripped_gt_out_line:
continue
# CASE 2: element-wise comparision
# CASE 2: element-wise comparison
# if there are floating elements
# use `decimal` library for good floating point comparision
# use `decimal` library for good floating point comparison
# otherwise gotcha: np.isclose(50000000000000000, 50000000000000001) = True
# note that we should always be able to convert to decimals