LabRat 0.0.2
dotnet add package LabRat --version 0.0.2
NuGet\Install-Package LabRat -Version 0.0.2
<PackageReference Include="LabRat" Version="0.0.2" />
paket add LabRat --version 0.0.2
#r "nuget: LabRat, 0.0.2"
// Install LabRat as a Cake Addin #addin nuget:?package=LabRat&version=0.0.2 // Install LabRat as a Cake Tool #tool nuget:?package=LabRat&version=0.0.2
Binaries for the LabRat library.
Visit https://github.com/tejacques/LabRat for an overview and usage examples.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version Release Notes:
Version 0.0.2:
- Fix bug #1: LabRat is now thread safe.
Version 0.0.1:
- A/B Experiments on longs by running an MD5 Hash on the long + ExperimentName as bytes. The result modulo the group number is the experiment group for the Id.
- InExperiment Method
- bool InExperiment(long Id, string ExperimentName, uint PercentInExperiment), PercentInExperiment will be in the experiment (consistently by Id)
- bool InExperiment(long Id, string ExperimentName, uint Groups, Func<bool> If), InExperiment if If(group) is true
- RunExperiment Method
- void RunExperiment(long Id, string ExperimentName, uint Groups, Func<bool> If, Action ExperimentGroup, Action ControlGroup), runs ExperimentGroup() if the Id is in the experiment, and runs ControlGroup() otherwise
- void RunExperiment(long Id, string ExperimentName, uint PercentInExperiment, Action ExperimentGroup, Action ControlGroup), runs ExperimentGroup() if the Id is in the experiment, and runs ControlGroup() otherwise
- void RunExperiment(long Id, string ExperimentName, uint Groups, params Action[] ExperimentGroups), runs the corresponding action to the experiment group: ExperimentGroups[group]