Giter Club home page Giter Club logo

excos's Introduction

Excos - .NET feature management and experimentation

This library aims to provide experiment configuration framework on top of Microsoft.Extensions.Options.Contextual (source) and guide you through the steps to set up experiments in your application.

I got inspired to start working on this after writing a blog post on experimentation.

excos - groups of people appointed or elected as the decision-making body of an organization

Package Version
Excos.Options NuGet version (Excos.Options)
Excos.Options.GrowthBook NuGet version (Excos.Options.GrowthBook)

Usage

See Usage for more details and unit tests for code samples.

services.ConfigureExcos<MyOptions>("MySection");
services.ConfigureExcosFeatures("Features");

var contextualOptions = provider.GetRequiredService<IContextualOptions<MyOptions>>();
var options = await contextualOptions.GetAsync(new MyContext { UserId = "deadbeef" }, default);
// options.MyValue

Roadmap

  1. ✔️Experiment data model implementation and contextual options loader. With options based provider.
  2. ✔️Extension methods for fluent experiment setup (over options provider).
  3. EF Core based provider.
  4. ✔️GrowthBook integration (configuration provider + experiments provider).

Check out the GrowthBook integration guide.

excos's People

Contributors

manio143 avatar

Watchers

 avatar

excos's Issues

Two-level randomization (1-select population, 2-split across variants)

While reading the paper [1] I saw that there's a potential for an experiment re-run currently not exactly supported by Excos.

  1. Let's take 10% of users into an experiment
  2. 50/50 control and treatment
  3. Run experiment
  4. Now we want to use the same users, but re-randomize the variant assignment

Currently the first part would be achieved with a Feature config with two variants at [0;0.05) and [0.05;0.1). To change randomization we need to alter the salt, but that will re-randomize the entire population, choosing a different set of 10% users.

To address it we need a feature level population constraint.
I've already added variant-level salts to support GrowthBook, so they can be reused to execute re-randomization with the selected user group at a feature level.

Unleash integration

There's an open-source feature toggle system called Unleash with a C# SDK which exposes the configuration of the toggles to the user. Thus we can integrate Excos with it. More research is needed to design such integration, as again the abstraction works a bit differently.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.