-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌱 Add probe support for contributors metrics (#3460)
* 🌱 Add probe support for contributors metrics Signed-off-by: AdamKorcz <[email protected]> * fix lint issues Signed-off-by: AdamKorcz <[email protected]> * change 'contributorsWith' to 'contributorsFrom' Signed-off-by: AdamKorcz <[email protected]> * change remediation difficulty Signed-off-by: AdamKorcz <[email protected]> * fix nits Signed-off-by: AdamKorcz <[email protected]> * Updates to checks and checks/evaluation Signed-off-by: AdamKorcz <[email protected]> * fix tests like in #3409 Signed-off-by: AdamKorcz <[email protected]> * fix raw test Signed-off-by: AdamKorcz <[email protected]> * Update description in def.yml Signed-off-by: AdamKorcz <[email protected]> * move logic out of utils Signed-off-by: AdamKorcz <[email protected]> * add comment to consolidate unit test validation Signed-off-by: AdamKorcz <[email protected]> * change a couple of t.Fatal to t.Error Signed-off-by: AdamKorcz <[email protected]> * un-remove comment Signed-off-by: AdamKorcz <[email protected]> * remove map Signed-off-by: AdamKorcz <[email protected]> * fix typo Signed-off-by: AdamKorcz <[email protected]> * remove lint comment Signed-off-by: AdamKorcz <[email protected]> * fix incorrect -1/0 scoring Signed-off-by: AdamKorcz <[email protected]> * Do not specify 'Github' in def.yml Signed-off-by: AdamKorcz <[email protected]> * do not mention 'which companies' in def.yml Signed-off-by: AdamKorcz <[email protected]> * Rename tests Signed-off-by: AdamKorcz <[email protected]> * Use getRawResults and uncomment logging statement Signed-off-by: AdamKorcz <[email protected]> * Define return values of probe better Signed-off-by: AdamKorcz <[email protected]> * Use proportional score instead of min score Signed-off-by: AdamKorcz <[email protected]> * revert changed scoring Signed-off-by: AdamKorcz <[email protected]> * fix incorrect function name Signed-off-by: AdamKorcz <[email protected]> * remove utility function that finds non-positive outcomes Signed-off-by: AdamKorcz <[email protected]> * rebase with latest upstream main and fix linter issues Signed-off-by: AdamKorcz <[email protected]> * Log findings in one statements except a logging statements per finding Signed-off-by: AdamKorcz <[email protected]> * redefine conditional logic Signed-off-by: AdamKorcz <[email protected]> * rebase Signed-off-by: AdamKorcz <[email protected]> * remove unused function Signed-off-by: AdamKorcz <[email protected]> --------- Signed-off-by: AdamKorcz <[email protected]>
- Loading branch information
Showing
10 changed files
with
419 additions
and
157 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
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
Oops, something went wrong.