Skip to content

Commit 8ac779b

Browse files
author
gaetano-guerriero
authored
Merge pull request #3036 from athenianco/edit-tlo-template-names
[DEV-4948] Add TLO template names
2 parents a15ee9c + e38750c commit 8ac779b

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

server/athenian/api/align/goals/templates.py

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,37 +51,27 @@
5151
},
5252
{
5353
"metric": PullRequestMetricID.PR_REVIEW_TIME_BELOW_THRESHOLD_RATIO,
54-
"name": "Review Time",
54+
"name": "Ensure pull requests are reviewed on time",
5555
"metric_params": {"threshold": "172800s"},
5656
},
57-
{
58-
"metric": PullRequestMetricID.PR_WAIT_FIRST_REVIEW_TIME_BELOW_THRESHOLD_RATIO,
59-
"name": "Wait Time for 1st Review",
60-
"metric_params": {"threshold": "21600s"},
61-
},
6257
{
6358
"metric": PullRequestMetricID.PR_SIZE_BELOW_THRESHOLD_RATIO,
64-
"name": "Median PR Size",
59+
"name": "Ensure work is delivered via small pull requests",
6560
"metric_params": {"threshold": 100},
6661
},
67-
{
68-
"metric": PullRequestMetricID.PR_REVIEW_COMMENTS_PER_ABOVE_THRESHOLD_RATIO,
69-
"name": "Review Comments / PR",
70-
"metric_params": {"threshold": 3},
71-
},
7262
{
7363
"metric": PullRequestMetricID.PR_CYCLE_DEPLOYMENT_TIME_BELOW_THRESHOLD_RATIO,
74-
"name": "PR Cycle Time",
64+
"name": "Ensure pull requests are delivered on time",
7565
"metric_params": {"threshold": "432000s"},
7666
},
7767
{
7868
"metric": PullRequestMetricID.PR_OPEN_TIME_BELOW_THRESHOLD_RATIO,
79-
"name": "PR Open Time",
69+
"name": "Ensure pull requests do not stay open for too long",
8070
"metric_params": {"threshold": "259200s"},
8171
},
8272
{
8373
"metric": JIRAMetricID.JIRA_LEAD_TIME_BELOW_THRESHOLD_RATIO,
84-
"name": "Jira Lead Time",
74+
"name": "Ensure rational time to resolve Jira issues",
8575
"metric_params": {"threshold": "432000s"},
8676
},
8777
]

0 commit comments

Comments
 (0)