Search is not available for this dataset
id
stringlengths
1
8
text
stringlengths
72
9.81M
addition_count
int64
0
10k
commit_subject
stringlengths
0
3.7k
deletion_count
int64
0
8.43k
file_extension
stringlengths
0
32
lang
stringlengths
1
94
license
stringclasses
10 values
repo_name
stringlengths
9
59
10070450
<NME> configuration_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Configuration do before(:each) { @config = Split::Configuration.new } it "should provide a default value for ignore_ip_addresses" do expect(@config.ignore_ip_addresses).to eq([]) end it "should provide ...
11
Adds config option for cookie domain
0
.rb
rb
mit
splitrb/split
10070451
<NME> configuration_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Configuration do before(:each) { @config = Split::Configuration.new } it "should provide a default value for ignore_ip_addresses" do expect(@config.ignore_ip_addresses).to eq([]) end it "should provide ...
11
Adds config option for cookie domain
0
.rb
rb
mit
splitrb/split
10070452
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.version = Split::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew Nesbitt"] s...
1
Merge pull request #628 from splitrb/bump-minimum-required-redis
2
.gemspec
gemspec
mit
splitrb/split
10070453
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.version = Split::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew Nesbitt"] s...
1
Merge pull request #628 from splitrb/bump-minimum-required-redis
2
.gemspec
gemspec
mit
splitrb/split
10070454
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.version = Split::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew Nesbitt"] s...
1
Merge pull request #628 from splitrb/bump-minimum-required-redis
2
.gemspec
gemspec
mit
splitrb/split
10070455
<NME> README <BEF> ========================================= ChiShop/DjangoPyPI ========================================= :Version: 0.1 Installation ============ Install dependencies:: $ python bootstrap.py --distribute $ ./bin/buildout Initial configuration Initial configuration --------------------- ...
37
cleaned up README, added simple usage example
3
README
bsd-3-clause
ask/chishop
10070456
<NME> jquery.meow.js <BEF> (function ($, window) { 'use strict'; // Meow queue var default_meow_area, meows = { queue: {}, add: function (meow) { this.queue[meow.timestamp] = meow; }, get: function (timestamp) { return this.queue[timestamp]; }, remove: funct...
45
Improve performance
55
.js
meow
mit
zacstewart/Meow
10070457
<NME> jquery.meow.js <BEF> (function ($, window) { 'use strict'; // Meow queue var default_meow_area, meows = { queue: {}, add: function (meow) { this.queue[meow.timestamp] = meow; }, get: function (timestamp) { return this.queue[timestamp]; }, remove: funct...
45
Improve performance
55
.js
meow
mit
zacstewart/Meow
10070458
<NME> version.rb <BEF> module Split VERSION = "0.4.1" end VERSION = "4.0.1" end <MSG> Version 0.4.2 <DFF> @@ -1,3 +1,3 @@ module Split - VERSION = "0.4.1" + VERSION = "0.4.2" end
1
Version 0.4.2
1
.rb
rb
mit
splitrb/split
10070459
<NME> version.rb <BEF> module Split VERSION = "0.4.1" end VERSION = "4.0.1" end <MSG> Version 0.4.2 <DFF> @@ -1,3 +1,3 @@ module Split - VERSION = "0.4.1" + VERSION = "0.4.2" end
1
Version 0.4.2
1
.rb
rb
mit
splitrb/split
10070460
<NME> version.rb <BEF> module Split VERSION = "0.4.1" end VERSION = "4.0.1" end <MSG> Version 0.4.2 <DFF> @@ -1,3 +1,3 @@ module Split - VERSION = "0.4.1" + VERSION = "0.4.2" end
1
Version 0.4.2
1
.rb
rb
mit
splitrb/split
10070461
<NME> experiment_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "time" describe Split::Experiment do def new_experiment(goals = []) Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals) end def alternative(color) Split::Alternative.new(colo...
17
Fix weights for existing experiments.
1
.rb
rb
mit
splitrb/split
10070462
<NME> experiment_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "time" describe Split::Experiment do def new_experiment(goals = []) Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals) end def alternative(color) Split::Alternative.new(colo...
17
Fix weights for existing experiments.
1
.rb
rb
mit
splitrb/split
10070463
<NME> experiment_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "time" describe Split::Experiment do def new_experiment(goals = []) Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals) end def alternative(color) Split::Alternative.new(colo...
17
Fix weights for existing experiments.
1
.rb
rb
mit
splitrb/split
10070464
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 3 MINOR = 3 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Bump version to 3.3.2 <DFF> @@ -2,6 +2,6 @@ module Split MAJOR = 3 MINOR = 3 - PATCH = 1 + PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].joi...
1
Bump version to 3.3.2
1
.rb
rb
mit
splitrb/split
10070465
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 3 MINOR = 3 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Bump version to 3.3.2 <DFF> @@ -2,6 +2,6 @@ module Split MAJOR = 3 MINOR = 3 - PATCH = 1 + PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].joi...
1
Bump version to 3.3.2
1
.rb
rb
mit
splitrb/split
10070466
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 3 MINOR = 3 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Bump version to 3.3.2 <DFF> @@ -2,6 +2,6 @@ module Split MAJOR = 3 MINOR = 3 - PATCH = 1 + PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].joi...
1
Bump version to 3.3.2
1
.rb
rb
mit
splitrb/split
10070467
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
1
Merge pull request #334 from peterylai/readme-typo
1
.md
md
mit
splitrb/split
10070468
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
1
Merge pull request #334 from peterylai/readme-typo
1
.md
md
mit
splitrb/split
10070469
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
1
Merge pull request #334 from peterylai/readme-typo
1
.md
md
mit
splitrb/split
10070470
<NME> spec_helper.rb <BEF> # frozen_string_literal: true ENV["RACK_ENV"] = "test" require 'bundler/setup' require 'split' require 'ostruct' require 'complex' if RUBY_VERSION.match(/1\.8/) Dir['./spec/support/*.rb'].each { |f| require f } require "split" require "ostruct" require "yaml" Dir["./spec/support/*.rb"].eac...
1
require yaml as it is not loaded in 2.0.0-p0 by default
0
.rb
rb
mit
splitrb/split
10070471
<NME> spec_helper.rb <BEF> # frozen_string_literal: true ENV["RACK_ENV"] = "test" require 'bundler/setup' require 'split' require 'ostruct' require 'complex' if RUBY_VERSION.match(/1\.8/) Dir['./spec/support/*.rb'].each { |f| require f } require "split" require "ostruct" require "yaml" Dir["./spec/support/*.rb"].eac...
1
require yaml as it is not loaded in 2.0.0-p0 by default
0
.rb
rb
mit
splitrb/split
10070472
<NME> spec_helper.rb <BEF> # frozen_string_literal: true ENV["RACK_ENV"] = "test" require 'bundler/setup' require 'split' require 'ostruct' require 'complex' if RUBY_VERSION.match(/1\.8/) Dir['./spec/support/*.rb'].each { |f| require f } require "split" require "ostruct" require "yaml" Dir["./spec/support/*.rb"].eac...
1
require yaml as it is not loaded in 2.0.0-p0 by default
0
.rb
rb
mit
splitrb/split
10070473
<NME> configuration_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Configuration do before(:each) { @config = Split::Configuration.new } it "should provide a default value for ignore_ip_addresses" do expect(@config.ignore_ip_addresses).to eq([]) end it "should provide ...
6
Add initial workflow
2
.rb
rb
mit
splitrb/split
10070474
<NME> configuration_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Configuration do before(:each) { @config = Split::Configuration.new } it "should provide a default value for ignore_ip_addresses" do expect(@config.ignore_ip_addresses).to eq([]) end it "should provide ...
6
Add initial workflow
2
.rb
rb
mit
splitrb/split
10070475
<NME> configuration_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::Configuration do before(:each) { @config = Split::Configuration.new } it "should provide a default value for ignore_ip_addresses" do expect(@config.ignore_ip_addresses).to eq([]) end it "should provide ...
6
Add initial workflow
2
.rb
rb
mit
splitrb/split
10070476
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.version = Split::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew Nesbitt"] s...
1
Merge pull request #616 from splitrb/rubystats-for-beta-distribution
1
.gemspec
gemspec
mit
splitrb/split
10070477
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.version = Split::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew Nesbitt"] s...
1
Merge pull request #616 from splitrb/rubystats-for-beta-distribution
1
.gemspec
gemspec
mit
splitrb/split
10070478
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.version = Split::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew Nesbitt"] s...
1
Merge pull request #616 from splitrb/rubystats-for-beta-distribution
1
.gemspec
gemspec
mit
splitrb/split
10070479
<NME> safemarkup.py <BEF> from django import template from django.conf import settings from django.utils.encoding import smart_str, force_unicode from django.utils.safestring import mark_safe register = template.Library() def saferst(value): try: from docutils.core import publish_parts except ImportE...
1
fixed typo causing ReST markup to fail
1
.py
py
bsd-3-clause
ask/chishop
10070480
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" require "split/dashboard" describe Split::Dashboard do include Rack::Test::Methods class TestDashboard < Split::Dashboard include Split::Helper get "/my_experiment" do ab_test(params[:experiment],...
7
Merge pull request #578 from splitrb/dashboard-specs-speed-up
5
.rb
rb
mit
splitrb/split
10070481
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" require "split/dashboard" describe Split::Dashboard do include Rack::Test::Methods class TestDashboard < Split::Dashboard include Split::Helper get "/my_experiment" do ab_test(params[:experiment],...
7
Merge pull request #578 from splitrb/dashboard-specs-speed-up
5
.rb
rb
mit
splitrb/split
10070482
<NME> dashboard_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "rack/test" require "split/dashboard" describe Split::Dashboard do include Rack::Test::Methods class TestDashboard < Split::Dashboard include Split::Helper get "/my_experiment" do ab_test(params[:experiment],...
7
Merge pull request #578 from splitrb/dashboard-specs-speed-up
5
.rb
rb
mit
splitrb/split
10070483
<NME> user.rb <BEF> # frozen_string_literal: true require "forwardable" module Split class User extend Forwardable def_delegators :@user, :keys, :[], :[]=, :delete attr_reader :user def initialize(context, adapter = nil) @user = adapter || Split::Persistence.adapter.new(context) @cleane...
1
Fix Layout/SpaceAfterComma offenses
1
.rb
rb
mit
splitrb/split
10070484
<NME> user.rb <BEF> # frozen_string_literal: true require "forwardable" module Split class User extend Forwardable def_delegators :@user, :keys, :[], :[]=, :delete attr_reader :user def initialize(context, adapter = nil) @user = adapter || Split::Persistence.adapter.new(context) @cleane...
1
Fix Layout/SpaceAfterComma offenses
1
.rb
rb
mit
splitrb/split
10070485
<NME> user.rb <BEF> # frozen_string_literal: true require "forwardable" module Split class User extend Forwardable def_delegators :@user, :keys, :[], :[]=, :delete attr_reader :user def initialize(context, adapter = nil) @user = adapter || Split::Persistence.adapter.new(context) @cleane...
1
Fix Layout/SpaceAfterComma offenses
1
.rb
rb
mit
splitrb/split
10070486
<NME> _experiment.erb <BEF> <div class="experiment"> <h2>Experiment: <%= experiment.name %></h2> <div class='inline-controls'> <form action="<%= url "/reset/#{experiment.name}" %>" method='post' onclick="return confirmReset()"> <input type="submit" value="Reset Data"> <% experiment.calc_winning_alternati...
1
Show version number of experiment on dashboard
1
.erb
erb
mit
splitrb/split
10070487
<NME> _experiment.erb <BEF> <div class="experiment"> <h2>Experiment: <%= experiment.name %></h2> <div class='inline-controls'> <form action="<%= url "/reset/#{experiment.name}" %>" method='post' onclick="return confirmReset()"> <input type="submit" value="Reset Data"> <% experiment.calc_winning_alternati...
1
Show version number of experiment on dashboard
1
.erb
erb
mit
splitrb/split
10070488
<NME> _experiment.erb <BEF> <div class="experiment"> <h2>Experiment: <%= experiment.name %></h2> <div class='inline-controls'> <form action="<%= url "/reset/#{experiment.name}" %>" method='post' onclick="return confirmReset()"> <input type="submit" value="Reset Data"> <% experiment.calc_winning_alternati...
1
Show version number of experiment on dashboard
1
.erb
erb
mit
splitrb/split
10070489
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
2
Remove unused argument of Experiment#write_to_alternatives, closes #311
2
.rb
rb
mit
splitrb/split
10070490
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
2
Remove unused argument of Experiment#write_to_alternatives, closes #311
2
.rb
rb
mit
splitrb/split
10070491
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
2
Remove unused argument of Experiment#write_to_alternatives, closes #311
2
.rb
rb
mit
splitrb/split
10070492
<NME> version.rb <BEF> module Split MAJOR = 0 MINOR = 6 PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Version 0.6.3 <DFF> @@ -1,6 +1,6 @@ module Split MAJOR = 0 MINOR = 6 - PATCH = 2 + PATCH = 3 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
Version 0.6.3
1
.rb
rb
mit
splitrb/split
10070493
<NME> version.rb <BEF> module Split MAJOR = 0 MINOR = 6 PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Version 0.6.3 <DFF> @@ -1,6 +1,6 @@ module Split MAJOR = 0 MINOR = 6 - PATCH = 2 + PATCH = 3 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
Version 0.6.3
1
.rb
rb
mit
splitrb/split
10070494
<NME> version.rb <BEF> module Split MAJOR = 0 MINOR = 6 PATCH = 2 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> Version 0.6.3 <DFF> @@ -1,6 +1,6 @@ module Split MAJOR = 0 MINOR = 6 - PATCH = 2 + PATCH = 3 VERSION = [MAJOR, MINOR, PATCH].join('.') end
1
Version 0.6.3
1
.rb
rb
mit
splitrb/split
10070495
<NME> redis_interface_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::RedisInterface do let(:list_name) { "list_name" } let(:set_name) { "set_name" } let(:interface) { described_class.new } describe "#persist_list" do subject(:persist_list) do interface.persist_lis...
0
Simplify list persistence on RedisInterface
55
.rb
rb
mit
splitrb/split
10070496
<NME> redis_interface_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::RedisInterface do let(:list_name) { "list_name" } let(:set_name) { "set_name" } let(:interface) { described_class.new } describe "#persist_list" do subject(:persist_list) do interface.persist_lis...
0
Simplify list persistence on RedisInterface
55
.rb
rb
mit
splitrb/split
10070497
<NME> redis_interface_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" describe Split::RedisInterface do let(:list_name) { "list_name" } let(:set_name) { "set_name" } let(:interface) { described_class.new } describe "#persist_list" do subject(:persist_list) do interface.persist_lis...
0
Simplify list persistence on RedisInterface
55
.rb
rb
mit
splitrb/split
10070498
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test before(:each) do Split.redis.flushall @session = {} end describe "ab_test" do describe "ab_test" do it "should not raise an error when passed strings for alternative...
8
Allow overriding of alternatives via a url parameter
0
.rb
rb
mit
splitrb/split
10070499
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test before(:each) do Split.redis.flushall @session = {} end describe "ab_test" do describe "ab_test" do it "should not raise an error when passed strings for alternative...
8
Allow overriding of alternatives via a url parameter
0
.rb
rb
mit
splitrb/split
10070500
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test before(:each) do Split.redis.flushall @session = {} end describe "ab_test" do describe "ab_test" do it "should not raise an error when passed strings for alternative...
8
Allow overriding of alternatives via a url parameter
0
.rb
rb
mit
splitrb/split
10070501
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
1
Merge pull request #651 from splitrb/check-if-experiment-is-new-by-catalog
1
.rb
rb
mit
splitrb/split
10070502
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
1
Merge pull request #651 from splitrb/check-if-experiment-is-new-by-catalog
1
.rb
rb
mit
splitrb/split
10070503
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
1
Merge pull request #651 from splitrb/check-if-experiment-is-new-by-catalog
1
.rb
rb
mit
splitrb/split
10070504
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.authors = ["Andrew Nesbitt"] s.licenses = ['MIT'] s.email = ["andrewnez@gmail.com"] s.ho...
1
Updated links to new github org
1
.gemspec
gemspec
mit
splitrb/split
10070505
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.authors = ["Andrew Nesbitt"] s.licenses = ['MIT'] s.email = ["andrewnez@gmail.com"] s.ho...
1
Updated links to new github org
1
.gemspec
gemspec
mit
splitrb/split
10070506
<NME> split.gemspec <BEF> # -*- encoding: utf-8 -*- # frozen_string_literal: true $:.push File.expand_path("../lib", __FILE__) require "split/version" Gem::Specification.new do |s| s.name = "split" s.authors = ["Andrew Nesbitt"] s.licenses = ['MIT'] s.email = ["andrewnez@gmail.com"] s.ho...
1
Updated links to new github org
1
.gemspec
gemspec
mit
splitrb/split
10070507
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
3
replaced InvalidArgument with ArgumentError
3
.rb
rb
mit
splitrb/split
10070508
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
3
replaced InvalidArgument with ArgumentError
3
.rb
rb
mit
splitrb/split
10070509
<NME> experiment.rb <BEF> # frozen_string_literal: true module Split class Experiment attr_accessor :name attr_accessor :goals attr_accessor :alternative_probabilities attr_accessor :metadata attr_reader :alternatives attr_reader :resettable DEFAULT_OPTIONS = { resettable: true ...
3
replaced InvalidArgument with ArgumentError
3
.rb
rb
mit
splitrb/split
10070510
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 3 MINOR = 1 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> v3.2.0 <DFF> @@ -1,7 +1,7 @@ # frozen_string_literal: true module Split MAJOR = 3 - MINOR = 1 - PATCH = 1 + MINOR = 2 + PATCH = 0 VERS...
2
v3.2.0
2
.rb
rb
mit
splitrb/split
10070511
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 3 MINOR = 1 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> v3.2.0 <DFF> @@ -1,7 +1,7 @@ # frozen_string_literal: true module Split MAJOR = 3 - MINOR = 1 - PATCH = 1 + MINOR = 2 + PATCH = 0 VERS...
2
v3.2.0
2
.rb
rb
mit
splitrb/split
10070512
<NME> version.rb <BEF> # frozen_string_literal: true module Split MAJOR = 3 MINOR = 1 PATCH = 1 VERSION = [MAJOR, MINOR, PATCH].join('.') end <MSG> v3.2.0 <DFF> @@ -1,7 +1,7 @@ # frozen_string_literal: true module Split MAJOR = 3 - MINOR = 1 - PATCH = 1 + MINOR = 2 + PATCH = 0 VERS...
2
v3.2.0
2
.rb
rb
mit
splitrb/split
10070513
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test end describe "ab_test" do it "should find or create an experiment from a name" do Multivariate::Helper.ab_test('link_color', 'blue', 'red').should eql('blue') end ...
0
random alternative is random
4
.rb
rb
mit
splitrb/split
10070514
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test end describe "ab_test" do it "should find or create an experiment from a name" do Multivariate::Helper.ab_test('link_color', 'blue', 'red').should eql('blue') end ...
0
random alternative is random
4
.rb
rb
mit
splitrb/split
10070515
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test end describe "ab_test" do it "should find or create an experiment from a name" do Multivariate::Helper.ab_test('link_color', 'blue', 'red').should eql('blue') end ...
0
random alternative is random
4
.rb
rb
mit
splitrb/split
10070516
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper end describe "ab_test" do it "should assign a random alternative to a new user" do ab_test('link_color', 'blue', 'red') ...
12
even random distribution of the experiments
2
.rb
rb
mit
splitrb/split
10070517
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper end describe "ab_test" do it "should assign a random alternative to a new user" do ab_test('link_color', 'blue', 'red') ...
12
even random distribution of the experiments
2
.rb
rb
mit
splitrb/split
10070518
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper end describe "ab_test" do it "should assign a random alternative to a new user" do ab_test('link_color', 'blue', 'red') ...
12
even random distribution of the experiments
2
.rb
rb
mit
splitrb/split
10070519
<NME> spec_helper.rb <BEF> # frozen_string_literal: true ENV["RACK_ENV"] = "test" def session @session ||= {} end require "ostruct" require "yaml" Dir["./spec/support/*.rb"].each { |f| require f } module GlobalSharedContext extend RSpec::SharedContext let(:mock_user) { Split::User.new(double(session: {})) } ...
4
Fixed params overriding test
0
.rb
rb
mit
splitrb/split
10070520
<NME> spec_helper.rb <BEF> # frozen_string_literal: true ENV["RACK_ENV"] = "test" def session @session ||= {} end require "ostruct" require "yaml" Dir["./spec/support/*.rb"].each { |f| require f } module GlobalSharedContext extend RSpec::SharedContext let(:mock_user) { Split::User.new(double(session: {})) } ...
4
Fixed params overriding test
0
.rb
rb
mit
splitrb/split
10070521
<NME> spec_helper.rb <BEF> # frozen_string_literal: true ENV["RACK_ENV"] = "test" def session @session ||= {} end require "ostruct" require "yaml" Dir["./spec/support/*.rb"].each { |f| require f } module GlobalSharedContext extend RSpec::SharedContext let(:mock_user) { Split::User.new(double(session: {})) } ...
4
Fixed params overriding test
0
.rb
rb
mit
splitrb/split
10070522
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
1
Added button to dashboard to mark an alternative as a winner
2
.rb
rb
mit
splitrb/split
10070523
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
1
Added button to dashboard to mark an alternative as a winner
2
.rb
rb
mit
splitrb/split
10070524
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
1
Added button to dashboard to mark an alternative as a winner
2
.rb
rb
mit
splitrb/split
10070525
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
24
Merge pull request #107 from iangreenleaf/alternatives_bug
6
.rb
rb
mit
splitrb/split
10070526
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
24
Merge pull request #107 from iangreenleaf/alternatives_bug
6
.rb
rb
mit
splitrb/split
10070527
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
24
Merge pull request #107 from iangreenleaf/alternatives_bug
6
.rb
rb
mit
splitrb/split
10070528
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
24
Clean up expectations in config specs
6
.rb
rb
mit
splitrb/split
10070529
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
24
Clean up expectations in config specs
6
.rb
rb
mit
splitrb/split
10070530
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
24
Clean up expectations in config specs
6
.rb
rb
mit
splitrb/split
10070531
<NME> experiment_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "time" describe Split::Experiment do def new_experiment(goals = []) Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals) end def alternative(color) Split::Alternative.new(colo...
3
Fixed syntax warning
3
.rb
rb
mit
splitrb/split
10070532
<NME> experiment_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "time" describe Split::Experiment do def new_experiment(goals = []) Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals) end def alternative(color) Split::Alternative.new(colo...
3
Fixed syntax warning
3
.rb
rb
mit
splitrb/split
10070533
<NME> experiment_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "time" describe Split::Experiment do def new_experiment(goals = []) Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals) end def alternative(color) Split::Alternative.new(colo...
3
Fixed syntax warning
3
.rb
rb
mit
splitrb/split
10070534
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
6
Only allow known alternatives as query param overrides
0
.rb
rb
mit
splitrb/split
10070535
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
6
Only allow known alternatives as query param overrides
0
.rb
rb
mit
splitrb/split
10070536
<NME> helper_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" # TODO change some of these tests to use Rack::Test describe Split::Helper do include Split::Helper let(:experiment) { Split::ExperimentCatalog.find_or_create("link_color", "blue", "red") } describe "ab_test" do it "shou...
6
Only allow known alternatives as query param overrides
0
.rb
rb
mit
splitrb/split
10070537
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
7
Document the option `reset_manually` (#534)
0
.md
md
mit
splitrb/split
10070538
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
7
Document the option `reset_manually` (#534)
0
.md
md
mit
splitrb/split
10070539
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
7
Document the option `reset_manually` (#534)
0
.md
md
mit
splitrb/split
10070540
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
2
Merge pull request #366 from hkliya/patch-1
2
.md
md
mit
splitrb/split
10070541
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
2
Merge pull request #366 from hkliya/patch-1
2
.md
md
mit
splitrb/split
10070542
<NME> README.md <BEF> # [Split](https://libraries.io/rubygems/split) [![Gem Version](https://badge.fury.io/rb/split.svg)](http://badge.fury.io/rb/split) ![Build status](https://github.com/splitrb/split/actions/workflows/ci.yml/badge.svg?branch=main) [![Code Climate](https://codeclimate.com/github/splitrb/split/badges/...
2
Merge pull request #366 from hkliya/patch-1
2
.md
md
mit
splitrb/split
10070543
<NME> pagination_helpers_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/dashboard/pagination_helpers" describe Split::DashboardPaginationHelpers do include Split::DashboardPaginationHelpers let(:url) { "/split/" } context 'when params empty' do let(:params) { Hash[] } ...
3
Make dashboard pagination default "per" param configurable (#597)
1
.rb
rb
mit
splitrb/split
10070544
<NME> pagination_helpers_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/dashboard/pagination_helpers" describe Split::DashboardPaginationHelpers do include Split::DashboardPaginationHelpers let(:url) { "/split/" } context 'when params empty' do let(:params) { Hash[] } ...
3
Make dashboard pagination default "per" param configurable (#597)
1
.rb
rb
mit
splitrb/split
10070545
<NME> pagination_helpers_spec.rb <BEF> # frozen_string_literal: true require "spec_helper" require "split/dashboard/pagination_helpers" describe Split::DashboardPaginationHelpers do include Split::DashboardPaginationHelpers let(:url) { "/split/" } context 'when params empty' do let(:params) { Hash[] } ...
3
Make dashboard pagination default "per" param configurable (#597)
1
.rb
rb
mit
splitrb/split
10070546
<NME> README.md <BEF> # Emmet — the essential toolkit for web-developers Emmet is a web-developer’s toolkit for boosting HTML & CSS code writing. With Emmet, you can type expressions (_abbreviations_) similar to CSS selectors and convert them into code fragment with a single keystroke. For example, this abbreviation:...
1
README typos
1
.md
md
mit
emmetio/emmet
10070547
<NME> README.md <BEF> # Emmet — the essential toolkit for web-developers Emmet is a web-developer’s toolkit for boosting HTML & CSS code writing. With Emmet, you can type expressions (_abbreviations_) similar to CSS selectors and convert them into code fragment with a single keystroke. For example, this abbreviation:...
1
README typos
1
.md
md
mit
emmetio/emmet
10070548
<NME> helper.rb <BEF> # frozen_string_literal: true module Split module Helper OVERRIDE_PARAM_NAME = "ab_test" puts 'WARNING: You should always pass the control alternative through as the second argument with any other alternatives as the third because the order of the hash is not preserved in ruby 1.8' ...
6
Allowing arrays to be passed to ab_test
0
.rb
rb
mit
splitrb/split
10070549
<NME> helper.rb <BEF> # frozen_string_literal: true module Split module Helper OVERRIDE_PARAM_NAME = "ab_test" puts 'WARNING: You should always pass the control alternative through as the second argument with any other alternatives as the third because the order of the hash is not preserved in ruby 1.8' ...
6
Allowing arrays to be passed to ab_test
0
.rb
rb
mit
splitrb/split