oss-compass / compass-metrics-model

GNU Affero General Public License v3.0
14 stars 8 forks source link

Back End: Collation of model metrics and enrich metrics(整理模型指标和enrich指标) #36

Closed lishengbao closed 1 year ago

lishengbao commented 1 year ago

Git元数据

MM:
    Created Since
        英文: Determine how long a repository has existed since it was created (in months).
        中文: 确定代码仓自创建以来存在了多长时间 (月份)。
    Commit Frequency
        英文: Determine the average number of commits per week in the past 90 days.
        中文: 过去 90 天内平均每周代码提交次数。
    Is Maintained
        英文: Percentage of weeks with at least one code commit in the past 90 days(single repository). Percentage of code repositories with at least one code commit in the last 30 days(multiple repositories).
        中文: 在过去 90 天内至少提交了一次代码的周百分比 (单仓场景)。在过去 30 天内至少有一次代码提交记录的的代码仓百分比 (多仓场景)。
    Commit PR Linked Ratio
        英文: Determine the percentage of new code commit link pull request in the last 90 days.
        中文: 在过去 90 天内提交的代码链接 PR 的百分比
    Lines of Code Frequency
        英文: Determine the average number of lines touched (lines added plus lines removed) per week in the past 90 days.
        中文: 确定在过去 90 天内平均每周提交的代码行数 (增加行数加上删除行数)。
    Lines Add Of Code Frequency
        英文: Determine the average number of lines touched (lines added) per week in the past 90 days.
        中文: 确定在过去 90 天内平均每周提交的代码行数 (增加行数)。
    Lines Remove Of Code Frequency
        英文: Determine the average number of lines touched (lines removed) per week in the past 90 days.
        中文: 确定在过去 90 天内平均每周提交的代码行数 (删除行数)。
    Updated Since
        英文: Determine the average time per repository since the repository was last updated (in months).
        中文: 确定每个代码仓自上次更新以来的平均时间 (月份),即多久没更新了。
    Org Count
        英文: Number of organizations to which active code contributors belong in the past 90 days
        中文: 过去 90 天内活跃的代码提交者所属组织的数目
    Org Commit Frequency
        英文: Determine the average number of commits with organization affiliation per week in the past 90 days.
        中文: 过去 90 天内平均每周有组织归属的代码提交次数。
    Org Contribution Last
        英文: Total contribution time of all organizations to the community in the past 90 days (weeks).
        中文: 在过去 90 天所有组织向社区有代码贡献的累计时间(周)。
    Commit Count
        英文: Determine the number of commits in the past 90 days.
        中文: 过去 90 天内代码提交次数。
    Commit PR Linked Count
        英文: Determine the number of new code commit link pull request in the last 90 days.
        中文: 在过去 90 天内提交的代码链接 PR 的数量
enrich:
    message
    commit_tags 
    branches 
    time_to_commit_hours
    files  
identity:
    id_git_author_name_list
    id_git_author_email_list
    org_change_date_list
    is_bot
    first_code_commit_date
    code_commit_date_list

Issue相关

MM: 
    Updated Issues Count
        英文: Determine the number of issues updated in the last 90 days.
        中文: 过去90天 Issue 更新的数量。
    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.
        中文: 过去 90 天新建 Issue 首次响应时间的均值和中位数(天)。这不包括机器人响应、创建者自己的评论或 Issue 的分配动作(action)。如果 Issue 一直未被响应,该 Issue 不被算入统计。
    Bug Issue Open Time
        英文: Average/Median time (days) that bug issues have been opened for issues created in the last 90 days.
        中文: 过去 90 天新建的 Bug 类 Issue 处理时间的均值和中位数(天),包含已经关闭的 Issue 以及未解决的 Issue。
    Comment Frequency
        英文: Determine the average number of comments per issue created in the last 90 days.
        中文: 过去90天内新建 Issue 的评论平均数(不包含机器人和 Issue 作者本人评论)。
    Closed Issues Count
        英文: Determine the number of issues closed in the last 90 days.
        中文: 过去 90 天内关闭 Issue 的数量
enrich:
    title
    time_to_close_days
    assignee_login
    time_to_first_attention
    comment_body
identity:
    id_platform_login_name_list
    id_platform_author_name_list
    id_platform_author_email_list
    org_change_date_list
    is_bot
    first_issue_creation_date
    issue_creation_date_list
    first_issue_comments_date
    issue_comments_date_list

Pull Request


MM:
    PR Issue Linked Ratio
        英文: Determine the percentage of new pull request link issues in the last 90 days.
        中文: 过去90天内新建 PR 关联 Issue 的百分比
    Code Review Ratio
        英文: Determine the percentage of code commits with at least one reviewer (not PR creator) in the last 90 days.
        中文: 过去90天内提交代码中,至少包含一名审核者(不是PR 创建者) 的百分比
    Code Merge Ratio
        英文: Determine the percentage of PR Mergers and PR authors who are not the same person in the last 90 days of commits.
        中文: 过去90天提交代码中,PR合并者和PR 作者不属于同一人的百分比。
    Close PR Count
        英文: The number of PR accepted and declined in the last 90 days
        中文: 过去 90 天内合并和拒绝的 PR 数量。
    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.
        中文: 过去90天新建 PR 的处理时间的均值和中位数(天),包含已经关闭的PR以及未解决的 PR
    Code Review Count
        英文: Determine the average number of review comments per pull request created in the last 90 days.
        中文: 过去 90 天内新建 PR 的评论平均数量(不包含机器人和 PR 作者本人评论)。
    PR Time To First Response
        英文: Average/Median first comments response (in days) for new pull request created in the last 90 days. This excludes bot responses, the creator's own comment, or an action assigned by the pull request. If the pull request has been unanswered, the first response time is not counted.
        中文: 过去 90 天新建 PR 首次响应时间的均值和中位数(天)。这不包括机器人响应、创建者自己的评论或 PR 的分配动作(action)。如果 PR 一直未被响应,该 PR 不被算入统计。
    Change Request Closure Ratio
        英文: Measures the ratio between the total number of open change requests and the total number of closed change requests from the beginning to now.
        中文: 从开始到现在 PR 总数与关闭的 PR 数之间的比率。
    Change Request Closure Ratio Recently Period
        英文: Measures the ratio between the total number of open change requests and the total number of closed change requests in the last 90 days.
        中文: 过去 90 天内新建的 PR 总数与关闭的 PR 数之间的比率。
    PR Count
        英文: The number of PR created in the last 90 days.
        中文: 过去90天内新建 PR 数量
    PR Count With Review
        英文: The Number of pr with review in the last 90 days
        中文: 过去 90 天内有审查的 PR 数量
    Total Create Close PR Count
        英文: The number of pr created from the beginning to now and it has been accepted or declined
        中文: 从开始到现在创建的 PR 并且被接受或拒绝的数量
    Total PR Count 
        英文: The number of PR created from the beginning to now
        中文: 从开始到现在新建 PR 数量
    Create Close PR Count
        英文: The number of pr created in the last 90 days and it has been accepted or declined
        中文: 过去 90 天内创建的 PR 并且被接受或拒绝的数量
    Code Merge Count with Non Author
        英文: Determine the Numbers of PR Mergers and PR authors who are not the same person in the last 90 days of commits.
        中文: 过去 90 天内 PR 合并数量(不包含 PR 作者本人合并)
    Code Merge Count
        英文: Determine the Numbers of PR merge in the last 90 days of commits.
        中文: 过去 90 天内 PR 合并数量
    PR Issue Linked Count
        英文: Determine the Numbers of new pull request link issues in the last 90 days.
        中文: 过去90天内新建 PR 关联 Issue 的数量
enrich:
    title
    labels
    time_to_close_days
    time_to_merge_request_response
    comment_body
identity:
    id_platform_login_name_list
    id_platform_author_name_list
    id_platform_author_email_list
    org_change_date_list
    is_bot
    first_pr_creation_date
    pr_creation_date_list
    first_pr_review_date
    pr_review_date_list

Repo相关

MM:
    Recent Releases Count
        英文: Determine the number of releases in the last year.
        中文: 过去12个月版本发布的数量。
    Maintainer Count(未上线)
enrich:
    forks_count 
    subscribers_count
    stargazers_count
    releases.prerelease
identity:
    repo_name
    community

贡献者

MM:
    Code Contributor Count
        英文: Determine how many active pr creators, code reviewers, commit authors there are in the past 90 days.
        中文: 在过去 90 天内有多少活跃的代码提交者、代码审核者和 PR 提交者。
    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.
        中文: 过去 90 天中活跃的代码提交者、Pull Request 作者、代码审查者、Issue 作者和 Issue 评论者的数量。
    Org Contributor Count
        英文: Number of active code contributors with organization affiliation in the past 90 days.
        中文: 过去90天内有组织附属关系的活跃的代码贡献者人数。
    Commit Contributor Count
        英文: Determine how many active code commit authors participants there are in the past 90 days
        中文: 确定在过去 90 天内有多少活跃的代码提交者
    PR Authors Contributor Count
        英文: Determine how many active pr authors participants there are in the past 90 days
        中文: 确定在过去 90 天内有多少活跃的 PR 提交者
    PR Review Contributor Count
        英文: Determine how many active pr review participants there are in the past 90 days
        中文: 确定在过去 90 天内有多少活跃的代码审核者
    Issue Authors Contributor Count
        英文: Determine how many active issue authors participants there are in the past 90 days
        中文: 确定在过去 90 天内有多少活跃的 Issue 作者
    Issue Comments Contributor Count
        英文: Determine how many active issue comments participants there are in the past 90 days
        中文: 确定在过去 90 天内有多少活跃的 Issue 评论者
    Bus Factor

社交关系

MM:
    Meeting Count(未上线)
    Meeting Attendee Count(未上线)
lishengbao commented 1 year ago

/