DecayCollectorStrategy

class DecayCollectorStrategy constructor(retireBelow: Double, retireDecayK: Double = 2.0) : CollectorStrategy

A CollectorStrategy that marks propositions whose decayed confidence has fallen below a staleness threshold.

Rather than deleting anything directly, it reports a MarkReason.Stale mark and leaves the actual decision to the sweep phase — which by default soft-transitions the proposition to STALE rather than removing it.

Stateless and read-only: the same candidates always produce the same marks, and the repository is never consulted (the candidate set comes from the runner).

Constructors

Link copied to clipboard
constructor(retireBelow: Double, retireDecayK: Double = 2.0)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun mark(candidates: List<Proposition>, repository: PropositionRepository, contextId: <Error class: unknown class>): List<PropositionMark>

Inspect candidates and report which should be collected.