Download nodes/arbiter/grammar.gf from tailot/codex-python: direct link, hf CLI and curl.
- Browser
- Download file 683 Bytes
-
https://huggingface.co/datasets/tailot/codex-python/resolve/main/nodes/arbiter/grammar.gf
- Command line
-
hf download hf://datasets/tailot/codex-python/nodes/arbiter/grammar.gf
-
curl -L -o grammar.gf https://huggingface.co/datasets/tailot/codex-python/resolve/main/nodes/arbiter/grammar.gf
683 Bytes
| -- Node arbiter (to planner): applies lingologos_codex.decision.decide without adding evidence. | |
| -- NOTE: this specification has not been compiled with the GF toolchain in the authoring environment. | |
| abstract PythonArbiter = { | |
| cat | |
| Outcome ; Verdict ; Reason ; | |
| fun | |
| Rule : Verdict -> Reason -> Outcome ; | |
| Verified : Verdict ; | |
| SingleProver : Verdict ; | |
| Unknown : Verdict ; | |
| ReasonCode : String -> Reason ; | |
| } | |
| concrete PythonArbiterEng of PythonArbiter = { | |
| lincat | |
| Outcome, Verdict, Reason = Str ; | |
| lin | |
| Rule v r = v ++ "because" ++ r ; | |
| Verified = "VERIFIED" ; | |
| SingleProver = "SINGLE_PROVER" ; | |
| Unknown = "UNKNOWN" ; | |
| ReasonCode s = s.s ; | |
| } | |