axel3rd / mpg-coach-bot

MPG (Mon Petit Gazon) coach bot, to automate and optimize weekly actions
https://axel3rd.github.io/mpg-coach-bot/
MIT License
21 stars 8 forks source link

Propose to sell players also when recent efficiency focused #237

Closed axel3rd closed 1 year ago

axel3rd commented 1 year ago

Currently, the transaction proposal (transactions.proposal config) for selling players is only activated when efficiency.recent.focus = false :

https://github.com/axel3rd/mpg-coach-bot/blob/fb6414898f4f08194f71c217915e93f549052b2d/src/main/java/org/blondin/mpg/Main.java#L322-L323

Bad on average, it is always relevant when efficiency.recent.focus = true, which is the default value (since v1.6).

=> Should be activated in all cases.

axel3rd commented 1 year ago

Note: Added when the current championship day is > 2, to have a relevant average.