PHPackages                             alairock/quip-test - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. alairock/quip-test

AbandonedLibrary[Testing &amp; Quality](/categories/testing)

alairock/quip-test
==================

An Implementation of the multi-armed bandit test. (See: http://stevehanov.ca/blog/index.php?id=132)

1.0.3(10y ago)431MITPHP

Since Aug 21Pushed 10y agoCompare

[ Source](https://github.com/alairock/QuipTest)[ Packagist](https://packagist.org/packages/alairock/quip-test)[ RSS](/packages/alairock-quip-test/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

QuipTest
========

[](#quiptest)

The multi armed bandit as a PHP Component [(See this article for background)](http://stevehanov.ca/blog/index.php?id=132)

**Better** testing than A/B testing!

Background
----------

[](#background)

There is a fundemental flaw with standard A/B testing. The biggest thing is that tests are final. Compare **A**. Compare **B**. After 1000 tests **A** might be proven to be more successful with 300/500. **B** failed with 240/500.

You go with option **A**, and that is the end of the story.

Had you done 10,000 tests, the results might have been different. **A** fails 3,000/5,000 to **B** 3,500/5,000. And 6 months down the road, it might flop back to A.

QuipTest will let you plug in dynamic, evolving tests, to any part of your application.

Installation
------------

[](#installation)

#### Composer

[](#composer)

```
$ composer require "alairock/quip-test":"dev-master"

```

#### Redis Server (Required)

[](#redis-server-required)

- Standalone [Installation](http://redis.io/topics/quickstart)
- Redis Server with Docker:

    `docker run -d --name redis-server -p 6379:6379 redis`

Documentation
-------------

[](#documentation)

For a basic example of a working test, see the [index](https://github.com/alairock/QuipTest/blob/master/index.php).

#### Autoload

[](#autoload)

Be sure to include your composer autoload file, if you are not already, or your framework is not supporting it. Ideally you would put the autoload file in a place that cascades into all areas of your application that will require a component. ([Composer](https://getcomposer.org/doc/01-basic-usage.md))

#### Initation the test.

[](#initation-the-test)

```
