We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba06c28 + 2ef84b6 commit 4d43615Copy full SHA for 4d43615
2 files changed
evaluation_function/evaluation.py
@@ -34,8 +34,9 @@ def evaluation_function(
34
student_fsa_ = FSAFrontend.model_validate(response)
35
expected_fsa_ = FSAFrontend.model_validate(answer)
36
37
- student_fsa = student_fsa_.from_flattened()
38
- expected_fsa = expected_fsa_.from_flattened()
+ # Convert from flattened format to FSA
+ student_fsa = FSAFrontend.from_flattened(student_fsa_.model_dump())
39
+ expected_fsa = FSAFrontend.from_flattened(expected_fsa_.model_dump())
40
41
42
# Get require_minimal from params if present
0 commit comments