chaoss / augur

Python library and web service for Open Source Software Health and Sustainability metrics & data collection. You can find our documentation and new contributor information easily here: https://oss-augur.readthedocs.io/en/main/ and learn more about Augur at our website https://augurlabs.io
https://oss-augur.readthedocs.io/en/main/
MIT License
589 stars 845 forks source link

Some metrics show up twice in metrics_status #231

Closed parthsharma2 closed 5 years ago

parthsharma2 commented 5 years ago

Describe the bug: Metrics implemented in ghtorrent show up twice in "Metrics Status." The same thing seems to be happening with certain metrics in githubapi. In githuapi certain metrics like "bus factor", "tags", etc. show up twice while metrics like "Lines of code changed" show up once.

To Reproduce: Steps to reproduce the behavior:

  1. Start the Flask server.
  2. Open the web application.
  3. Select "Metric Status" form the navbar.
  4. Select "ghtorrent" as the source.
  5. See the duplicate metrics statuses.

Expected behavior: The metric statuses should show up only once per metric.

Screenshots ghtorrent screenshot 1 ghtorrent screenshot 2 ghtorrent GIF githubapi screenshot

Desktop (please complete the following information):

ccarterlandis commented 5 years ago

I accidentally did this while trying to fix another issue in metrics_status. I'm rolling back metrics status to an earlier version while I try to fix the actual issue.

ccarterlandis commented 5 years ago

Fixed in dev as of this commit.