Gago.SlowClap 1.2.0

dotnet add package Gago.SlowClap --version 1.2.0
NuGet\Install-Package Gago.SlowClap -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gago.SlowClap" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Gago.SlowClap --version 1.2.0
#r "nuget: Gago.SlowClap, 1.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Gago.SlowClap as a Cake Addin
#addin nuget:?package=Gago.SlowClap&version=1.2.0

// Install Gago.SlowClap as a Cake Tool
#tool nuget:?package=Gago.SlowClap&version=1.2.0

slowclap

The SlowClap A/B library is a small library designed to make implementing A/B tests in C# applications easier. It can also be used to gradually introduce new features into the application in order to detect any problems as soon as possible. Library is thread-safe.

Installation

To get started with SlowClap, install the NuGet package using the following command:

dotnet add package Gago.SlowClap

Example usage

// Create an experiment with variants
var experiment = new Experiment("ButtonColorTest")
    .AddVariant("RedButton", 50)
    .AddVariant("BlueButton", 50);

// The first argument is the name of the variant, and the second represents the weight (positive integer).
// Based on this setting, we can control the probability of each variant occurring in the calculations.

// Perform random assignment
var randomVariant = experiment.ChooseRandomVariant();

// Or perform consistent assignment based on user ID (or other information stable for the user)
var userId = "user123";
var consistentVariant = experiment.ChooseConsistentVariant(userId);

Future ideas

  • Lifecycle management - Implement features for dynamically starting, pausing, and stopping experiments, allowing for more flexible experiment management.
  • Targeting and segmentation - Within experiments, investigate features for segmenting user groups and targeting specific demographics or user attributes.
  • Statistical Analysis (Advanced) - Improve statistical analysis capabilities to provide deeper insights into experiment results.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • 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 Downloads Last updated
1.2.0 205 11/2/2023
1.1.0 87 11/1/2023
1.0.0 92 10/30/2023