ProjectionEligibilityGate

class ProjectionEligibilityGate constructor(minConfidence: Double = DEFAULT_MIN_PROJECTION_CONFIDENCE) : ExtractionGate

Decides whether a proposition should be projected to downstream representations.

A proposition is excluded from projection (but may still be persisted) when its decay-adjusted effective confidence is below minConfidence or its status is PropositionStatus.CONTRADICTED. Using effective rather than raw confidence keeps the threshold consistent with what the query and decay-collector layers see.

Throws

if minConfidence is outside 0.0..1.0

Constructors

Link copied to clipboard
constructor(minConfidence: Double = DEFAULT_MIN_PROJECTION_CONFIDENCE)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun evaluate(proposition: Proposition, context: GateContext): GateEvaluation

Evaluate a single proposition against this gate's policy.