diff --git a/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs index 2b4fe82a..0901a25b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs @@ -13,7 +13,7 @@ using Microsoft.ComponentDetection.Detectors.Vcpkg.Contracts; using Microsoft.Extensions.Logging; using Newtonsoft.Json; -public class VcpkgComponentDetector : FileComponentDetector, IExperimentalDetector +public class VcpkgComponentDetector : FileComponentDetector { private readonly HashSet projectRoots = new HashSet(); diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/VcpkgExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/VcpkgExperiment.cs deleted file mode 100644 index 55faf717..00000000 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/VcpkgExperiment.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; - -using Microsoft.ComponentDetection.Contracts; -using Microsoft.ComponentDetection.Detectors.Vcpkg; - -/// -/// Validating the . -/// -public class VcpkgExperiment : IExperimentConfiguration -{ - public string Name => "VcpkgDetector"; - - public bool IsInControlGroup(IComponentDetector componentDetector) => false; // There is no baseline, completely new detector - - public bool IsInExperimentGroup(IComponentDetector componentDetector) => componentDetector is VcpkgComponentDetector; - - public bool ShouldRecord(IComponentDetector componentDetector, int numComponents) => true; -} diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs index 182ed884..0d8575fa 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs @@ -62,7 +62,6 @@ public static class ServiceCollectionExtensions services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); - services.AddSingleton(); services.AddSingleton(); services.AddSingleton();