SHIFT-RR-30: Apply Bonus for Multi-Trade Participation

http://shift-ontology.org/core#SHIFT-RR-30

Specification only — not yet executable
Description

If an Actor is involved in 5 or more successful trades in the current month, they are tagged as ActiveParticipant and marked eligible for a bonus.

Conditions
  • FlexibilityTrade(?t), (buyerActor or sellerActor)(?t, ?a)
  • tradeStatus(?t, 'Success'), tradeTimestamp(?t) in currentMonth
Result
bonusStatus(?a, 'ActiveParticipant'), eligibleForBonus(?a, true)

View related notes in Knowledge Graph →