TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you measure contributions to a coding project?

1 点作者 harshgupta超过 6 年前
I am curious to know what metrics do people use to measure relative contributions to a project. Bare git metrics like Lines of Code, Number of commits seem to be partial (and at worse) dangerous sources of accounting.

2 条评论

aawalton超过 6 年前
Measuring coding contribution is hard. The most robust attribution models calculate the difference between the success of the project with and without the contribution, but in practice, we almost never know how successful the project would have been without the contribution. The closest we can get are isolated A&#x2F;B tests, where we can measure the value of a specific code change in terms of business outcomes.<p>Measuring the volume of changes in any form is problematic, since it’s possible that the programmers who add the most code are actually making the code worse by accumulating technical debt faster than business value (instead of refactoring so that important changes can be made simply).
harshgupta超过 6 年前
I found one measure: Hits of Code<p>It measures the &quot;the amount of times programmers touch the lines&quot;. Source : <a href="https:&#x2F;&#x2F;www.yegor256.com&#x2F;2014&#x2F;11&#x2F;14&#x2F;hits-of-code.html" rel="nofollow">https:&#x2F;&#x2F;www.yegor256.com&#x2F;2014&#x2F;11&#x2F;14&#x2F;hits-of-code.html</a>