├── .gitignore ├── .ruby-gemset ├── .ruby-version ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── app ├── assets │ ├── javascripts │ │ └── bandit │ │ │ ├── application.js │ │ │ ├── bandit.js │ │ │ ├── highstock.js │ │ │ └── jquery.min.js │ └── stylesheets │ │ └── bandit │ │ ├── application.css │ │ ├── base.css │ │ └── toupee │ │ ├── buttons.css │ │ ├── forms.css │ │ ├── modules.css │ │ ├── reset.css │ │ ├── structure.css │ │ └── typography.css ├── controllers │ └── bandit │ │ ├── application_controller.rb │ │ └── dashboard_controller.rb ├── helpers │ └── bandit │ │ └── application_helper.rb └── views │ ├── bandit │ └── dashboard │ │ ├── _experiment_table.html.erb │ │ ├── index.html.erb │ │ └── show.html.erb │ └── layouts │ └── bandit │ └── application.html.erb ├── bandit.gemspec ├── config └── routes.rb ├── lib ├── bandit.rb ├── bandit │ ├── config.rb │ ├── date_hour.rb │ ├── engine.rb │ ├── exceptions.rb │ ├── experiment.rb │ ├── extensions │ │ ├── array.rb │ │ ├── controller_concerns.rb │ │ ├── string.rb │ │ ├── time.rb │ │ └── view_concerns.rb │ ├── memoizable.rb │ ├── players │ │ ├── base.rb │ │ ├── epsilon_greedy.rb │ │ ├── round_robin.rb │ │ ├── softmax.rb │ │ └── ucb.rb │ ├── storage │ │ ├── base.rb │ │ ├── dalli.rb │ │ ├── memcache.rb │ │ ├── memory.rb │ │ ├── pstore.rb │ │ └── redis.rb │ └── version.rb └── generators │ └── bandit │ ├── USAGE │ ├── install_generator.rb │ └── templates │ ├── bandit.rake │ ├── bandit.rb │ └── bandit.yml ├── players.rdoc ├── test ├── config.yml ├── dalli_storage_test.rb ├── helper.rb ├── memcache_storage_test.rb ├── memory_storage_test.rb ├── pstore_storage_test.rb ├── redis_storage_test.rb ├── storage_test_base.rb └── yamlstore_storage_test.rb └── whybandit.rdoc /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | .bundle 3 | Gemfile.lock 4 | pkg/* 5 | docs/* 6 | -------------------------------------------------------------------------------- /.ruby-gemset: -------------------------------------------------------------------------------- 1 | banditgem 2 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-1.9.3 -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/javascripts/bandit/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/javascripts/bandit/application.js -------------------------------------------------------------------------------- /app/assets/javascripts/bandit/bandit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/javascripts/bandit/bandit.js -------------------------------------------------------------------------------- /app/assets/javascripts/bandit/highstock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/javascripts/bandit/highstock.js -------------------------------------------------------------------------------- /app/assets/javascripts/bandit/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/javascripts/bandit/jquery.min.js -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/application.css -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/base.css -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/toupee/buttons.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/toupee/buttons.css -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/toupee/forms.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/toupee/forms.css -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/toupee/modules.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/toupee/modules.css -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/toupee/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/toupee/reset.css -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/toupee/structure.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/toupee/structure.css -------------------------------------------------------------------------------- /app/assets/stylesheets/bandit/toupee/typography.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/assets/stylesheets/bandit/toupee/typography.css -------------------------------------------------------------------------------- /app/controllers/bandit/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/controllers/bandit/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/bandit/dashboard_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/controllers/bandit/dashboard_controller.rb -------------------------------------------------------------------------------- /app/helpers/bandit/application_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/helpers/bandit/application_helper.rb -------------------------------------------------------------------------------- /app/views/bandit/dashboard/_experiment_table.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/views/bandit/dashboard/_experiment_table.html.erb -------------------------------------------------------------------------------- /app/views/bandit/dashboard/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/views/bandit/dashboard/index.html.erb -------------------------------------------------------------------------------- /app/views/bandit/dashboard/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/views/bandit/dashboard/show.html.erb -------------------------------------------------------------------------------- /app/views/layouts/bandit/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/app/views/layouts/bandit/application.html.erb -------------------------------------------------------------------------------- /bandit.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/bandit.gemspec -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/config/routes.rb -------------------------------------------------------------------------------- /lib/bandit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit.rb -------------------------------------------------------------------------------- /lib/bandit/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/config.rb -------------------------------------------------------------------------------- /lib/bandit/date_hour.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/date_hour.rb -------------------------------------------------------------------------------- /lib/bandit/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/engine.rb -------------------------------------------------------------------------------- /lib/bandit/exceptions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/exceptions.rb -------------------------------------------------------------------------------- /lib/bandit/experiment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/experiment.rb -------------------------------------------------------------------------------- /lib/bandit/extensions/array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/extensions/array.rb -------------------------------------------------------------------------------- /lib/bandit/extensions/controller_concerns.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/extensions/controller_concerns.rb -------------------------------------------------------------------------------- /lib/bandit/extensions/string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/extensions/string.rb -------------------------------------------------------------------------------- /lib/bandit/extensions/time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/extensions/time.rb -------------------------------------------------------------------------------- /lib/bandit/extensions/view_concerns.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/extensions/view_concerns.rb -------------------------------------------------------------------------------- /lib/bandit/memoizable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/memoizable.rb -------------------------------------------------------------------------------- /lib/bandit/players/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/players/base.rb -------------------------------------------------------------------------------- /lib/bandit/players/epsilon_greedy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/players/epsilon_greedy.rb -------------------------------------------------------------------------------- /lib/bandit/players/round_robin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/players/round_robin.rb -------------------------------------------------------------------------------- /lib/bandit/players/softmax.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/players/softmax.rb -------------------------------------------------------------------------------- /lib/bandit/players/ucb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/players/ucb.rb -------------------------------------------------------------------------------- /lib/bandit/storage/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/storage/base.rb -------------------------------------------------------------------------------- /lib/bandit/storage/dalli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/storage/dalli.rb -------------------------------------------------------------------------------- /lib/bandit/storage/memcache.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/storage/memcache.rb -------------------------------------------------------------------------------- /lib/bandit/storage/memory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/storage/memory.rb -------------------------------------------------------------------------------- /lib/bandit/storage/pstore.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/storage/pstore.rb -------------------------------------------------------------------------------- /lib/bandit/storage/redis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/bandit/storage/redis.rb -------------------------------------------------------------------------------- /lib/bandit/version.rb: -------------------------------------------------------------------------------- 1 | module Bandit 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /lib/generators/bandit/USAGE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/generators/bandit/USAGE -------------------------------------------------------------------------------- /lib/generators/bandit/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/generators/bandit/install_generator.rb -------------------------------------------------------------------------------- /lib/generators/bandit/templates/bandit.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/generators/bandit/templates/bandit.rake -------------------------------------------------------------------------------- /lib/generators/bandit/templates/bandit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/generators/bandit/templates/bandit.rb -------------------------------------------------------------------------------- /lib/generators/bandit/templates/bandit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/lib/generators/bandit/templates/bandit.yml -------------------------------------------------------------------------------- /players.rdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/players.rdoc -------------------------------------------------------------------------------- /test/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/config.yml -------------------------------------------------------------------------------- /test/dalli_storage_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/dalli_storage_test.rb -------------------------------------------------------------------------------- /test/helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/helper.rb -------------------------------------------------------------------------------- /test/memcache_storage_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/memcache_storage_test.rb -------------------------------------------------------------------------------- /test/memory_storage_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/memory_storage_test.rb -------------------------------------------------------------------------------- /test/pstore_storage_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/pstore_storage_test.rb -------------------------------------------------------------------------------- /test/redis_storage_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/redis_storage_test.rb -------------------------------------------------------------------------------- /test/storage_test_base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/storage_test_base.rb -------------------------------------------------------------------------------- /test/yamlstore_storage_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/test/yamlstore_storage_test.rb -------------------------------------------------------------------------------- /whybandit.rdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmuller/bandit/HEAD/whybandit.rdoc --------------------------------------------------------------------------------