Skip to content

Commit f14fa49

Browse files
committed
feat: let all validation function return a ValidationError
1 parent df12009 commit f14fa49

4 files changed

Lines changed: 853 additions & 111 deletions

File tree

evaluation_function/schemas/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .fsa import FSA, Transition
99
from .answer import Answer, TestCase
1010
from .params import Params
11-
from .result import Result, ValidationError, ElementHighlight, FSAFeedback, ErrorCode
11+
from .result import Result, ValidationError, ElementHighlight, FSAFeedback, ErrorCode, StructuralInfo
1212

1313
__all__ = [
1414
# FSA representation
@@ -24,5 +24,6 @@
2424
"ValidationError",
2525
"ElementHighlight",
2626
"ErrorCode",
27+
"StructuralInfo"
2728
"FSAFeedback",
2829
]

evaluation_function/validation/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)