softwarevis / DependencyVis

0 stars 0 forks source link

Implement AVL algorithm #16

Open srirag-vuppala opened 2 years ago

srirag-vuppala commented 2 years ago

https://github.com/aserg-ufmg/Truck-Factor

bcdasilv commented 2 years ago
TF = 1 (coverage = 30.43%) TF authors (Developer;Files;Percentage): Cameron Toy;76;82.61 

tf_result = {
  tf: 2,
  coverage = 30.43,
  tf_authors = [
    {
      dev: Cameron Toy,
      num_files: 76,
      percentage: 82.61
    },
    {
      dev: Srirag V,
      num_files: 100,
      percentage: 50
    }
  ]
}
bcdasilv commented 2 years ago

Just to summarize what we figured out together in the meeting. The config file was not found. Also, remove the double send in the else block. Improvements: tweak the URL arguments, and return a JSON as exemplified above. For debugging purposes you can still print out on the console the actual trucfactor tool output.