-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ingest all data for commit_activity.json & compute total_commits base…
…d on it (#888) * refactored code to use all-time commit activity to surface data for total_commits and commit activity * Updated code to fix test errors on PR * Refactored code to resolve backend test failures * Refactored code to fix indentiation difference * Refactored code changes with Draga's feedback * Addressed code review feedback * Refactored code to not use array indices to access row data and instead initialize data as a dictionary using the field/header names to access data * Modified import statement & refactored code to use column names from table generated from sql query directly for processing and logic * Used constant variable defined as input value in test_activity_dashboard.py * Refactored code to get rid of _is_valid_limit method since it is only being used once in get_metricd_for_plugin
- Loading branch information
Showing
3 changed files
with
37 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters