Skip to main content

A library for Sequential Sample Ratio Mismatch (SRM) test.

Project description

Build

ssrm-logo SSRM: A Sequential Sample Ratio Mismatch Test

A package for sequential testing of Sample Ratio Mismatch (SRM).

Contributors:

Installation

We recommend that you use an isolated virtual environment to install and run the code in this repo (See: virtualenv and pyenv)

  1. You can clone the repository from the command-line:
    git clone git@github.com:optimizely/ssrm.git
    
    We highly recommend that you branch off of master and pull in upstream changes regularly.
  2. Install dependencies: Run make install.
    • If you wish to develop in the repo, run make install-dev. Also, see the contributing doc here

    Tip: have a look in the Makefile to learn more about what this, and other make recipes do!

  3. Run tests:
    • make check to run all checks.
    • make test to run unit tests.

Tutorials

We provide a tutorial notebook that walks through an example of running a Sequential SRM test here. Run jupyter lab, and open notebooks/introduction.ipynb.

Documentation

The latest reference documentation is here.

Contributing

See the contributing doc here.

Credits

First-party code (under ssrm_test) is copyright Optimizely, Inc. and contributors, licensed under Apache 2.0.

Additional Code

This software incorporates code from the following open source projects:

numpy https://numpy.org/index.html

scipy https://www.scipy.org/scipylib/index.html

toolz https://github.com/pytoolz/toolz

typing https://github.com/python/typing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssrm_test-0.1.5.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

ssrm_test-0.1.5-py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page