3 ms·
Note that I ripped an equal amount of commit messages per language so the results aren't based on how many projects there are per language. I like how he had t
by kd0amg 16y ago
Note that I ripped an equal amount of commit messages per language so the results aren't based on how many projects there are per language.
I like how he had to tweak the data collection process to make the visualization method fit.
- jamn 16y agoI wouldn't call it to 'tweak' the data collection. He is simply normalizing the results to ignore the differences in language distribution. This is normal and has nothing to do with how you choose to represent it. It would have been meaningless to show any graph or table saying 'Python has the most messages with profanity" if the amount of Python projects is 80% of all the projects out there.
- waqf 16y agoHe is right to normalize the results, but parent's point is that he is wrong to do that by modifying his data collection. He should just collect as many commit messages as possible, then divide the profanity count for each language by the commit message count. Because that has lower standard error [and no more bias] than what he did.
- masklinn 16y agoThat's not the case, that's just his personal choice. He could just as well have gone with %age of swear words per commit which would have made the number of commits per language irrelevant (as long as that number was kept above statistical nonsense) and would have yield the same result.
- scott_s 16y agoThat is not the case. He wanted to compare curse words across languages independent of language popularity. If he did not collect the same amount of data per language, then he would have two variables: number of curse words and number of commits. Then there would be the danger that a more popular language would have far more curse words simply because it has far more commits.
- albedoa 16y agoWhat are you talking about?