Skip to content

Interface: RuleComparisonResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RuleComparisonResponse

Defined in: src/types/inference.ts:2453

POST /api/v1/inference/rules/compare response. Nothing was written.

backward: RuleComparisonDirection

Defined in: src/types/inference.ts:2455

right ⊒ left.


forward: RuleComparisonDirection

Defined in: src/types/inference.ts:2457

left ⊒ right.


latticeRevision: number

Defined in: src/types/inference.ts:2459

The revision of the tenant lattice both rules were read under.


leftCertainty: number

Defined in: src/types/inference.ts:2461

The left rule’s certainty.


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: number

Defined in: src/types/inference.ts:2466

The work budget each direction ran under.


minimum: number

Defined in: src/types/inference.ts:2468

The declared alpha cut.


policy: string

Defined in: src/types/inference.ts:2470

The relation’s policy, rule-entailment/v1.


relation: RuleComparisonRelation

Defined in: src/types/inference.ts:2472

The relation.


rightCertainty: number

Defined in: src/types/inference.ts:2474

The right rule’s certainty.


rightRule: string

Defined in: src/types/inference.ts:2476

The right rule (rule-compare:right for a statement).