Skip to content

Commit 8243ea7

Browse files
committed
marker negative metrics
Signed-off-by: lishengbao <lishengbao147@gmail.com>
1 parent 99d94b1 commit 8243ea7

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

metrics-models/productivity/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Metrics Name | Definition | Threshold | Weight
4444
--- | --- | --- | ---
4545
[Updated Issues Count](./community-service-and-support.md#updated_issues_count) | Determine the number of issues updated in the last 90 days. | 2000 | 19.721%
4646
[Close PR Count](./community-service-and-support.md#close_pr_count) |The number of PR accepted and declined in the last 90 days.| 4500 | 19.721%
47-
[Issue First Response](./community-service-and-support.md#issue_first_response) |Average/Median first comments response (in days) for new issues created in the last 90 days. This excludes bot responses,, the creator's own comment, or an action assigned by the issue. If the issue has been unanswered, the first response time is not counted.| 15 | 14.372%
48-
[Bug Issue Open Time](./community-service-and-support.md#bug_issue_open_time) | Average/Median time (days) that bug issues have been opened for issues created in the last 90 days.|60|12.876%
49-
[PR Open Time](./community-service-and-support.md#pr_open_time) |Average/Median processing time (days) for new change requests created in the last 90 days, including closed/accepted change requests and unresolved change requests.|30|12.876%
47+
[Issue First Response](./community-service-and-support.md#issue_first_response) |Average/Median first comments response (in days) for new issues created in the last 90 days. This excludes bot responses,, the creator's own comment, or an action assigned by the issue. If the issue has been unanswered, the first response time is not counted.| 15 | -14.372%
48+
[Bug Issue Open Time](./community-service-and-support.md#bug_issue_open_time) | Average/Median time (days) that bug issues have been opened for issues created in the last 90 days.|60|-12.876%
49+
[PR Open Time](./community-service-and-support.md#pr_open_time) |Average/Median processing time (days) for new change requests created in the last 90 days, including closed/accepted change requests and unresolved change requests.|30|-12.876%
5050
[Issue Comment Frequency](./community-service-and-support.md#issue-comment-frequency) |Determine the average number of comments per issue created in the last 90 days.|5|10.217%
5151
[Code Review Count](./community-service-and-support.md#code-review-count) |Determine the average number of review comments per pull request created in the last 90 days|8| 10.217%

metrics-models/productivity/community-service-and-support.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ The more code you contribute, the more PR requests you need to close (accept or
3333
### Issue First Response
3434

3535
* Definition: Average/Median first comments response (in days) for new issues created in the last 90 days. This excludes bot responses,, the creator's own comment, or an action assigned by the issue. If the issue has been unanswered, the first response time is not counted.
36-
* Weight: 14.372%
36+
* Weight: -14.372%
3737
* Threshold: 15 days
3838

3939
We use this indicator to sense "Community temperature". And for contributors who join the community, if their questions are answered in a timely manner by the community, there's a good chance that they would be retained and continue to contribute to the community (according to [Mozilla Research](https://docs.google.com/presentation/d/1hsJLv1ieSqtXBzd5YZusY-mB8e1VJzaeOmh8Q4VeMio/edit#slide=id.g43d857af8_0177)) . At the same time, we found that more and more robots have been used to assist with Issue processing in recent years, so we eliminated robot interference and focused on human replies.
4040

4141
### Bug Issue Open Time
4242

4343
* Definition: Average/Median time (days) that bug issues have been opened for issues created in the last 90 days.
44-
* Weight: 12.88%
44+
* Weight: -12.88%
4545
* Threshold: 60 days
4646
* Note: Issue that labeled by Bugs.
4747

@@ -50,7 +50,7 @@ The Bug type Issue represents how efficiently the community handles issues that
5050
### PR Open Time
5151

5252
* Definition: Average/Median processing time (days) for new change requests created in the last 90 days, including closed/accepted change requests and unresolved change requests.
53-
* Weight: 12.88%
53+
* Weight: -12.88%
5454
* Threshold: 30 days
5555

5656
We are seeking for the change request fast close, including code merged or rejected. Otherwise the longer it takes for a change request to be resolved, the greater the risk that merge-conflict will occur, while other change requests that depend on it will also be stalled.
@@ -95,9 +95,9 @@ Metrics Name | Eigenvector | Weight
9595
--- | --- | ---
9696
Updated Issues Count| 1.380 | 19.721%
9797
Close PR Count | 1.380 | 19.721%
98-
Issue First Response | 1.006 | 14.372%
99-
Bug Issue Open Time | 0.901 | 12.876%
100-
PR Open Time | 0.901 | 12.876%
98+
Issue First Response | 1.006 | -14.372%
99+
Bug Issue Open Time | 0.901 | -12.876%
100+
PR Open Time | 0.901 | -12.876%
101101
Comment Frequency | 0.715 | 10.217%
102102
Code Review Count | 0.715 | 10.217%
103103

metrics-models/robustness/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Metrics Name | Definition | Threshold | Weight
1818
--- | --- | --- | ---
1919
[Contributor Count](./activity.md#contributor-count) | Determine how many active code commit authors, pr authors, review participants, issue authors, and issue comments participants there are in the past 90 days | 2000 | 18.009%
2020
[Commit frequency](./activity.md#commit-frequency) |Determine the average number of commits per week in the past 90 days.| 1000 | 18.009%
21-
[Updated Since](./activity.md#updated-since) |Determine the average time per repository since the repository was last updated (in months).| 0.25 | 12.742%
21+
[Updated Since](./activity.md#updated-since) |Determine the average time per repository since the repository was last updated (in months).| 0.25 | -12.742%
2222
[Org Count](./activity.md#organization-count) | Number of organizations to which active code contributors belong in the past 90 days. |10|11.501%
2323
[Created Since](./activity.md#created-since) |Determine how long a repository has existed since it was created (in months).|120|7.768%
2424
[Issue Comment Frequency](./activity.md#issue-comment-frequency) |Determine the average number of comments per issue created in the last 90 days.|5|7.768%

metrics-models/robustness/activity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ As an outcome indicator of this model, it identifies the sustainability and quan
3434

3535
## Updated Since
3636
* Definition: Determine the average time per repository since the repository was last updated (in months).
37-
* Weight: 12.74%
37+
* Weight: -12.74%
3838
* Threshold: 0.25 months
3939

4040
This metric is used to indicate how often the project is updated. It identifies good communities for development collaboration and management, and makes frequent iterative and incremental development to promote continuous improvement in software quality. But the industr domains of a software project also determines that the frequency of its iterations is not always as high as possible, some Linux distribution projects, for example, exhibit a very typical pattern of code iterations with periodic release planning. Here we focus on the trend of the project during each cycle, and the relative results compared with the projects belong to the similar domains.
@@ -138,7 +138,7 @@ Metrics Name | Eigenvector | Weight
138138
--- | --- | ---
139139
Contributor Count | 2.341 | 18.009%
140140
Commit frequency | 2.341 | 18.009%
141-
Updated Since | 1.657 | 12.742%
141+
Updated Since | 1.657 | -12.742%
142142
Org Count | 1.495 | 11.501%
143143
~~Created Since~~ | 1.010 | 7.768%
144144
Comment Frequency | 1.010 | 7.768%

0 commit comments

Comments
 (0)