[MIRROR] Nerfs GBP gain (#1831)

* Nerfs GBP gain (#55038)

Basically no one ever hits the lower limit and people have fucking bank at this point.

* Nerfs GBP gain

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-11-26 01:14:58 +01:00
committed by GitHub
parent a2db1d0ad4
commit 290a335121

View File

@@ -644,7 +644,7 @@ function get_pr_code_friendliness($payload, $oldbalance = null){
//anything not in this list defaults to 0
$label_values = array(
'Fix' => 2,
'Refactor' => 2,
'Refactor' => 10,
'CI/Tests' => 3,
'Code Improvement' => 1,
'Grammar and Formatting' => 1,
@@ -653,8 +653,8 @@ function get_pr_code_friendliness($payload, $oldbalance = null){
'Logging' => 1,
'Feedback' => 1,
'Performance' => 3,
'Feature' => -1,
'Balance/Rebalance' => -1,
'Feature' => -10,
'Balance/Rebalance' => -8,
'PRB: Reset' => $startingPRBalance - $oldbalance,
);