File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2727 };
2828
2929 const effortWeights = {
30- "effort:high": 10,
31- "effort:medium": 5,
32- "effort:low": 2
30+ "size/l": 9,
31+ "size/m": 4,
32+ "size/s": 1,
33+ "size/xl": 18
3334 };
3435
3536 const issue = context.payload.issue;
5859 finalScore = Math.round((reach * impact) / effort);
5960 } else {
6061 // Fallback to default values if labels are missing
61- const defaultReach = reach || 50 ; // default to medium-low reach
62+ const defaultReach = reach || 75 ; // default to medium reach
6263 const defaultImpact = impact || 75; // default to low impact
63- const defaultEffort = effort || 5 ; // default to medium effort
64+ const defaultEffort = effort || 4 ; // default to medium effort
6465 finalScore = Math.round((defaultReach * defaultImpact) / defaultEffort);
6566 }
6667
You can’t perform that action at this time.
0 commit comments