Skip to content

Commit

Permalink
Add more keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalchevrel committed Mar 15, 2023
1 parent ccc2e44 commit 28318aa
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions src/pchevrel/BzKarma/Scoring.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,28 @@ class Scoring
'--' => 0,
],
'keywords' => [
'topcrash-startup' => 10,
'topcrash' => 5,
'dataloss' => 3,
'crash' => 1,
'regression' => 1,
'perf' => 1,
'topcrash-startup' => 10,
'topcrash' => 5,
'dataloss' => 3,
'crash' => 2,
'hang' => 2,
'regression' => 2,
'access' => 2,
'site-compat' => 2,
'parity-chrome' => 1,
'parity-edge' => 1,
'parity-safari' => 1,
'perf' => 1,
'perf:animation' => 1,
'perf:frontend' => 1,
'perf:pageload' => 1,
'perf:resource-use' => 1,
'perf:responsiveness' => 1,
'perf:startup' => 1,
'compat' => 1,
'papercut' => 1,
'polish' => 1,
'power' => 1,
],
'duplicates' => 2, // Points for each duplicate
'regressions' => -2, // Negative Points for regressions
Expand All @@ -63,13 +79,13 @@ class Scoring
'---' => 0,
],
'webcompat' => [
'P1' => 5,
'P2' => 4,
'P3' => 3,
'?' => 1,
'P1' => 5,
'P2' => 4,
'P3' => 3,
'?' => 1,
'---' => 0,
],
'cc' => 0.1, // Decimal point for each cc, we round the total value
'cc' => 0.1, // Decimal point for each cc, we round the total value
];

/*
Expand Down

0 comments on commit 28318aa

Please sign in to comment.