Closed Allof02 closed 1 year ago
Apply Strategy design pattern to Excalibur
Excalibur implements BanTool
BanTool regulates that each banning strategy needs to have two banning method: checkAndBanReview & checkAndBanUser.
The specific banning algorithm or threshold will be regulated by specific implementation;
e.g, Excalibur banning strategy regulates Review with >= 10 reports will be banned, User with >= 30 reports will be banned
Apply Strategy design pattern to Excalibur
Excalibur implements BanTool
BanTool regulates that each banning strategy needs to have two banning method: checkAndBanReview & checkAndBanUser.
The specific banning algorithm or threshold will be regulated by specific implementation;
e.g, Excalibur banning strategy regulates Review with >= 10 reports will be banned, User with >= 30 reports will be banned