Index / Computing / Software and applications development and analysis
sipser-tasks-v1
eltociear/sipser-tasks-v1
Answer 27 questions on DFA and NFA simulation, regular expressions, CYK parsing and Turing machine execution on invented machines.
Good for
- RL on formal-language reasoning
- original machines that cannot be recalled
Reward
- How it is scored
- Exact match
- Signal
- Pass or fail
Answers are graded exactly against outputs computed by a reference solution that simulates the machines.
How to run it
1. From the cardcopied from the publisher's own instructions
python environments/sipser_env/build_tasks.py --verify
2. Get the filesthe whole repository, to a local folder
hf download eltociear/sipser-tasks-v1 --repo-type dataset --local-dir sipser-tasks-v1
Evidence
Machine languages are cross-checked by brute force up to length 10; the builder verifies 27/27 tasks.
As reported by the publisher. We have not reproduced it.