GatorCogitate / cogitate_tool

Tool to analyze contributions when working in a team.
5 stars 13 forks source link

Multiple json files #76

Closed noorbuchi closed 4 years ago

noorbuchi commented 4 years ago

This pull request refactors the data collection module to work with two json files, one for storing the raw data, and the other for storing the calculated metrics. It also adds functions that directly retrieve/calculate data and writes it on the appropriate json file. It uses optional parameters to facilitate testing while allowing for default parameters. Please let me know if additional changes are needed. All necessary checks are passing and test cases have been modified to work with this change.

codecov-io commented 4 years ago

Codecov Report

Merging #76 into master will decrease coverage by 7.70%. The diff coverage is 29.41%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
- Coverage   71.94%   64.23%   -7.71%     
==========================================
  Files           2        2              
  Lines         139      137       -2     
  Branches       23       24       +1     
==========================================
- Hits          100       88      -12     
- Misses         36       46      +10     
  Partials        3        3              
Impacted Files Coverage Δ
src/data_collection.py 62.29% <29.41%> (-8.68%) :arrow_down: