OptionaladaptiveOptionaladaptiveEvent count below which adaptive relaxation kicks in. Default 100.
OptionalidleIdle time before a mine fires. Default 60 s.
OptionalminerMiner options.
OptionalminHard floor between mines regardless of idle. Default 5 min.
OptionalnowOptional clock for tests.
OptionalscoringScoring options.
OptionalsetOptional schedule function — replaces setTimeout. Tests pass a fake. Returns a cancel function.
OptionaltopHow many top patterns to emit per fire. Default 5.
Auto-relax thresholds when the action log is sparse so users see suggestions before they've built up weeks of activity.
When fewer than
adaptiveSparseThresholdevents have been logged, the scheduler overridesminer.minOccurrencesto 2 andminer.minSessionsto 1, so a single-session repeat fires. Once the log grows past the threshold, the configured (or default) options apply — suggestions tighten as data gets real.Disable by passing
adaptive: false. Defaulttrue.