Interface: RuleComparisonResponse
@kortexya/reasoninglayer / RuleComparisonResponse
Interface: RuleComparisonResponse
Section titled “Interface: RuleComparisonResponse”Defined in: src/types/inference.ts:2453
POST /api/v1/inference/rules/compare response. Nothing was written.
Properties
Section titled “Properties”backward
Section titled “backward”backward:
RuleComparisonDirection
Defined in: src/types/inference.ts:2455
right ⊒ left.
forward
Section titled “forward”forward:
RuleComparisonDirection
Defined in: src/types/inference.ts:2457
left ⊒ right.
latticeRevision
Section titled “latticeRevision”latticeRevision:
number
Defined in: src/types/inference.ts:2459
The revision of the tenant lattice both rules were read under.
leftCertainty
Section titled “leftCertainty”leftCertainty:
number
Defined in: src/types/inference.ts:2461
The left rule’s certainty.
leftRule
Section titled “leftRule”leftRule:
string
Defined in: src/types/inference.ts:2464
The left rule (for a statement: the rule it compiled to in the
scratch store, under the minting key rule-compare:left).
maxWork
Section titled “maxWork”maxWork:
number
Defined in: src/types/inference.ts:2466
The work budget each direction ran under.
minimum
Section titled “minimum”minimum:
number
Defined in: src/types/inference.ts:2468
The declared alpha cut.
policy
Section titled “policy”policy:
string
Defined in: src/types/inference.ts:2470
The relation’s policy, rule-entailment/v1.
relation
Section titled “relation”relation:
RuleComparisonRelation
Defined in: src/types/inference.ts:2472
The relation.
rightCertainty
Section titled “rightCertainty”rightCertainty:
number
Defined in: src/types/inference.ts:2474
The right rule’s certainty.
rightRule
Section titled “rightRule”rightRule:
string
Defined in: src/types/inference.ts:2476
The right rule (rule-compare:right for a statement).