stackmuncher / stm_app

This software engineer profile builder turns your code into a detailed list of skills for an online directory of software developers.
https://stackmuncher.com
GNU Affero General Public License v3.0
22 stars 1 forks source link

ProjectOverview merge is too approximate #47

Open rimutaka opened 2 years ago

rimutaka commented 2 years ago

A dev may make commits to the same project under different identities. STM produces individual reports for every contributor and then merges them. It result in the same files being counted multiple time during the merge.

The problem came to head when multiple ProjectOverview records started appearing for the same project in dev profiles.

I added a merge to make sure the same project is not listed twice in the profile by merging multiple ProjectOverview records. By that time a lot of useful info is lost and it is impossible to tell if the numbers from the overviews should be added, swapped or left intact. There is just not enough info.

Solution

  1. Build a combined list of objects for all git identities
  2. Process the object
  3. Produce a combined contributor report without a need for merging