Skip to content

seldonian-toolkit/Engine

Repository files navigation

Tests

Docs

Engine

This is the source code repository for a framework for creating and running Seldonian algorithms.

Installation

To use the latest stable version:

pip install seldonian-engine

To run this code as a developer, create a virtual environment. Then install the package locally, e.g.

python setup.py develop

or

pip install -e .

If you want to view the parse tree graphs using the built-in tools this library provides, install graphviz onto your system. The Seldonian library uses a Python API for graphviz, and the API requires that graphviz be installed system-wide. This should resolve mysterious error messages like "dot" not found. "dot" is a command line program included with graphviz for rendering the graphs from code.

Testing

To run the unit tests, from the command line do:

pytest

This will automatically run all tests in tests/.

To get more introspection into the tests see the Pytest documentation.

Versioning

The naming of versions of this software adheres to semantic versioning. Pre-release versions use a major version of "0", e.g. "0.0.1" is the very first pre-release version.

About

A library for developing and applying Seldonian algorithms

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages