-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PipReport back to experimental, add pre-generated PipReport parsing (#…
…1201) * revert experiment graduation, bump threads, and enable fast deps * put reqs back * add ability for pip to detect pregenerated reports with a specific naming scheme * better directory handling * improve logging
- Loading branch information
1 parent
dd3f531
commit 024e2a5
Showing
17 changed files
with
10,159 additions
and
36 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
18 changes: 18 additions & 0 deletions
18
src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/PipReportExperiment.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; | ||
|
||
using Microsoft.ComponentDetection.Contracts; | ||
using Microsoft.ComponentDetection.Detectors.Pip; | ||
|
||
/// <summary> | ||
/// Validating the <see cref="PipReportComponentDetector"/>. | ||
/// </summary> | ||
public class PipReportExperiment : IExperimentConfiguration | ||
{ | ||
public string Name => "PipReport"; | ||
|
||
public bool IsInControlGroup(IComponentDetector componentDetector) => componentDetector is PipComponentDetector; | ||
|
||
public bool IsInExperimentGroup(IComponentDetector componentDetector) => componentDetector is PipReportComponentDetector; | ||
|
||
public bool ShouldRecord(IComponentDetector componentDetector, int numComponents) => true; | ||
} |
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.