LabRat 0.0.2

Binaries for the LabRat library.
       Visit https://github.com/tejacques/LabRat for an overview and usage examples.

Install-Package LabRat -Version 0.0.2
dotnet add package LabRat --version 0.0.2
<PackageReference Include="LabRat" Version="0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LabRat --version 0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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]

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.2 605 4/2/2014
0.0.1 386 3/21/2014