Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

marker negative metrics #4

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions metrics-models/productivity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ description: 一个开源生态将投入转化为产出的能力。
| --- | --- | --- | --- |
| [更新 Issue 数量](./community-service-and-support.md#更新-issue-数量) | 过去 90 天 Issue 更新的数量。 | 2000 | 19.721% |
| [关闭 PR 数量](./community-service-and-support.md#关闭-pr-数量) | 过去 90 天内合并和拒绝的 PR 数量。 | 4500 | 19.721% |
| [Issue 首次响应时间](./community-service-and-support.md#issue-首次响应时间) | 过去 90 天新建 Issue 首次响应时间的均值和中位数(天)。这不包括机器人响应、创建者自己的评论或 Issue 的分配动作(action)。如果 Issue 一直未被响应,该 Issue 不被算入统计。 | 15 | 14.372% |
| [Bug 类 Issue 处理时间](./community-service-and-support.md#bug-类-issue-处理时间) | 过去 90 天新建的 Bug 类 Issue 处理时间的均值和中位数(天),包含已经关闭的 Issue 以及未解决的 Issue。 | 60 | 12.876% |
| [PR 处理时间](./community-service-and-support.md#pr-处理时间) | 过去 90 天新建 PR 的处理时间的均值和中位数(天),包含已经关闭的 PR 以及未解决的 PR | 30 | 12.876% |
| [Issue 首次响应时间](./community-service-and-support.md#issue-首次响应时间) | 过去 90 天新建 Issue 首次响应时间的均值和中位数(天)。这不包括机器人响应、创建者自己的评论或 Issue 的分配动作(action)。如果 Issue 一直未被响应,该 Issue 不被算入统计。 | 15 | -14.372% |
| [Bug 类 Issue 处理时间](./community-service-and-support.md#bug-类-issue-处理时间) | 过去 90 天新建的 Bug 类 Issue 处理时间的均值和中位数(天),包含已经关闭的 Issue 以及未解决的 Issue。 | 60 | -12.876% |
| [PR 处理时间](./community-service-and-support.md#pr-处理时间) | 过去 90 天新建 PR 的处理时间的均值和中位数(天),包含已经关闭的 PR 以及未解决的 PR | 30 | -12.876% |
| [Issue 评论频率](./community-service-and-support.md#issue-评论频率) | 过去 90 天内新建 Issue 的评论平均数(不包含机器人和 Issue 作者本人评论)。 | 5 | 10.217% |
| [代码审查评论频率](./community-service-and-support.md#代码审查评论频率) | 过去 90 天内新建 PR 的评论平均数量(不包含机器人和 PR 作者本人评论)。 | 8 | 10.217% |

Expand Down
12 changes: 6 additions & 6 deletions metrics-models/productivity/community-service-and-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ description: 用于评估开发者在贡献过程中,所能直接感知到社
## Issue 首次响应时间

* 定义:过去 90 天新建 Issue 首次响应时间的均值和中位数(天)。这不包括机器人响应、创建者自己的评论或 Issue 的分配动作(action)。如果 Issue 一直未被响应,该 Issue 不被算入统计。
* 权重:14.372%
* 权重:-14.372%
* 阈值:15 天

我们用这项指标来感知“社区温度”,对于加入社区的贡献者来说,他的提问如果能得到社区的及时回复,将会很大几率留存并持续贡献社区([依据Mozilla研究报告](https://docs.google.com/presentation/d/1hsJLv1ieSqtXBzd5YZusY-mB8e1VJzaeOmh8Q4VeMio/edit#slide=id.g43d857af8_0177))。 同时我们发现近年来越来越多的机器人被用来辅助Issue处理,所以我们排除了机器人的干扰,专注人的回复。

## Bug类Issue处理时间

* 定义:过去 90 天新建的 Bug 类 Issue 处理时间的均值和中位数(天),包含已经关闭的 Issue 以及未解决的 Issue。
* 权重:12.88%
* 权重:-12.88%
* 阈值:60 天
* 注:标记为 Bug 类的 Issue。

Expand All @@ -50,7 +50,7 @@ Bug类Issue代表了社区对需要快速解决的Issue的处理效率。我们
## PR 处理时间

* 定义:过去 90 天新建 PR 的处理时间的均值和中位数(天),包含已经关闭的 PR 以及未解决的 PR
* 权重:12.88%
* 权重:-12.88%
* 阈值:30 天

我们追求PR的快速关闭,包括代码合并或拒绝。否则,解决PR请求所需的时间越长,发生合并冲突的风险就越大,而依赖于这个PR代码的其他代码提交请求也将堆积。
Expand Down Expand Up @@ -95,9 +95,9 @@ Bug类Issue代表了社区对需要快速解决的Issue的处理效率。我们
| --- | --- | --- |
| 更新 Issue 数量 | 1.380 | 19.721% |
| 关闭 PR 数量 | 1.380 | 19.721% |
| Issue 首次响应时间 | 1.006 | 14.372% |
| Bug 类 Issue 处理时间 | 0.901 | 12.876% |
| PR 处理时间 | 0.901 | 12.876% |
| Issue 首次响应时间 | 1.006 | -14.372% |
| Bug 类 Issue 处理时间 | 0.901 | -12.876% |
| PR 处理时间 | 0.901 | -12.876% |
| Issue 评论频率 | 0.715 | 10.217% |
| 代码审查评论频率 | 0.715 | 10.217% |

Expand Down
2 changes: 1 addition & 1 deletion metrics-models/robustness/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ description: 生态系统面对内部或者外部冲突自我恢复的能力。
| --- | --- | --- | --- |
| [贡献者数量](./activity.md#贡献者数量) | 定义:过去 90 天中活跃的代码提交者、Pull Request 作者、代码审查者、Issue 作者和 Issue 评论者的数量。 | 2000 | 18.009% |
| [代码提交频率](./activity.md#代码提交频率) | 过去 90 天内平均每周代码提交次数。 | 1000 | 18.009% |
| [更新于](./activity.md#更新于) | 确定每个代码仓自上次更新以来的平均时间 (月份),即多久没更新了。 | 0.25 | 12.742% |
| [更新于](./activity.md#更新于) | 确定每个代码仓自上次更新以来的平均时间 (月份),即多久没更新了。 | 0.25 | -12.742% |
| [组织数量](./activity.md#组织数量) | 过去 90 天内活跃的代码提交者所属组织的数目。| 10 | 11.501% |
| [创建于](./activity.md#创建于) | 确定代码仓自创建以来存在了多长时间 (月份)。 | 120 | 7.768% |
| [Issue 评论频率](./activity.md#Issue-评论频率) | 过去 90 天内新建 Issue 的评论平均数(不包含机器人和 Issue 作者本人评论)。 | 5 | 7.768% |
Expand Down
4 changes: 2 additions & 2 deletions metrics-models/robustness/activity.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ description: 描述一个社区或者项目的活跃程度
## 更新于

* 定义:确定每个代码仓自上次更新以来的平均时间 (月份),即多久没更新了。
* 权重:12.74%
* 权重:-12.74%
* 阈值:0.25 个月

这个指标用来指代该项目的更新频率。它标识开发协作管理优秀的社区,会进行高频率的迭代式开发,以此来促进软件质量得到持续的改进。但是软件项目所属行业和领域不同,也决定了它的迭代频率并不是一味得越高越好,例如一些Linux发行版项目展现了非常典型的伴随版本规划的周期性的代码迭代规律。这里我们关注得是每个周期内该项目的趋势变化,以及与同类型项目相比较而得到的相对性结果。
Expand Down Expand Up @@ -150,7 +150,7 @@ description: 描述一个社区或者项目的活跃程度
| --- | --- | --- |
| 贡献者数量 | 2.341 | 18.009% |
| 代码提交频率 | 2.341 | 18.009% |
| 更新于 | 1.657 | 12.742% |
| 更新于 | 1.657 | -12.742% |
| 组织数量 | 1.495 | 11.501% |
| ~~创建于~~ | 1.010 | 7.768% |
| Issue 评论频率 | 1.010 | 7.768% |
Expand Down