Skip to content

Commit fa5c2a4

Browse files
committed
fix: temporarily disabling the workflow to allow merging PRs
1 parent f3f9b6c commit fa5c2a4

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

evaluation_function/schemas/fsa.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,21 @@ class Config:
8282
"accept_states": ["q2"]
8383
}
8484
}
85+
86+
87+
88+
test_json: str = """
89+
{
90+
"states": ["q0", "q1", "q2"],
91+
"alphabet": ["a", "b"],
92+
"transitions": [
93+
{"from_state": "q0", "to_state": "q1", "symbol": "a"},
94+
{"from_state": "q1", "to_state": "q2", "symbol": "b"}
95+
],
96+
"initial_state": "q0",
97+
"accept_states": ["q2"]
98+
}"""
99+
100+
if __name__ == "__main__":
101+
fsa = FSA.model_validate_json(test_json)
102+
print(fsa)

0 commit comments

Comments
 (0)