File size: 683 Bytes
2a9dc4c
339ddd8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- 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 ;
}