-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
Description
Source code: https://github.com/ruby-vietnam/hardcore-rule/tree/master/algorithms/collector
Background
- When starting the algorithm collector, it merges pull requests and add a comment to the weekly report page
Problems
- Sometimes, we need to test or verify features that we only want to check pull request scores and review final comments without merging or add any real comments.
Proposal
- Add a variable environment to declare testing mode, suggestion:
DEBUG_MODE - When
DEBUG_MODE=true, the algorithm collector won't merge and delete any pull requests and add comments to the weekly report page
- Other functions to calculate scores, printing debug console work normally.