Skip to content

Instantly share code, notes, and snippets.

View alanf's full-sized avatar

Alan Fineberg alanf

View GitHub Profile
@alanf
alanf / experiment_simulation.py
Created April 24, 2011 00:41
use to test concurrent a/b tests
"""
Run a simulation of multiple concurrent A/B tests acting on a number of users.
Reports on the expected vs. the actual results, and raises a warning if the actual results would lead to the wrong conclusion.
Values of interest:
-- number_of_users : active users who may be part of an A/B test
-- number_of_concurrent_experiments: how many random concurrent experiments to generate
-- values in construct_random_experiments(): define a range and distribution for utility and B cohort percentage for each experiment
"""
import random
//
// CCParticleSystemAnimation.m
// TapZoo
//
// Created by alan fineberg on 4/20/11.
// Copyright 2011 Streetview Labs. All rights reserved.
//
#import "CCParticleSystemAnimation.h"
@implementation CCParticleSystemAnimation