Download nodes/adversary/grammar.gf from tailot/codex-python: direct link, hf CLI and curl.
- Browser
- Download file 576 Bytes
-
https://huggingface.co/datasets/tailot/codex-python/resolve/main/nodes/adversary/grammar.gf
- Command line
-
hf download hf://datasets/tailot/codex-python/nodes/adversary/grammar.gf
-
curl -L -o grammar.gf https://huggingface.co/datasets/tailot/codex-python/resolve/main/nodes/adversary/grammar.gf
576 Bytes
| -- Node adversary (to arbiter): runs full Python suite and detects failure loops. | |
| -- NOTE: this specification has not been compiled with the GF toolchain in the authoring environment. | |
| abstract PythonAdversary = { | |
| cat | |
| Check ; Verdict ; | |
| fun | |
| Challenge : Verdict -> Check ; | |
| Confirmed : Verdict ; | |
| Rejected : Verdict ; | |
| Abstain : Verdict ; | |
| } | |
| concrete PythonAdversaryEng of PythonAdversary = { | |
| lincat | |
| Check, Verdict = Str ; | |
| lin | |
| Challenge v = "adversary" ++ v ; | |
| Confirmed = "CONFIRMED" ; | |
| Rejected = "REJECTED" ; | |
| Abstain = "ABSTAIN" ; | |
| } | |