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 |
|---|---|---|---|---|---|---|---|---|
10070150 | <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 #627 from splitrb/bump-ruby-support-to-2-5-plus | 1 | .gemspec | gemspec | mit | splitrb/split |
10070151 | <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 #627 from splitrb/bump-ruby-support-to-2-5-plus | 1 | .gemspec | gemspec | mit | splitrb/split |
10070152 | <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 #627 from splitrb/bump-ruby-support-to-2-5-plus | 1 | .gemspec | gemspec | mit | splitrb/split |
10070153 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Fix Style/DefWithParentheses | 1 | .rb | rb | mit | splitrb/split |
10070154 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Fix Style/DefWithParentheses | 1 | .rb | rb | mit | splitrb/split |
10070155 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Fix Style/DefWithParentheses | 1 | .rb | rb | mit | splitrb/split |
10070156 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[ | 16 | .md | md | mit | splitrb/split |
10070157 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[ | 16 | .md | md | mit | splitrb/split |
10070158 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[ | 16 | .md | md | mit | splitrb/split |
10070159 | <NME> split.rb
<BEF> require 'split/experiment'
require 'split/alternative'
require 'split/helper'
require 'split/version'
require 'split/configuration'
require 'split/engine' if defined?(Rails)
require 'redis/namespace'
require "split/algorithms/whiplash"
require "split/alternative"
require "split/cache"
require "spl... | 4 | rolled require statements into iterator | 5 | .rb | rb | mit | splitrb/split |
10070160 | <NME> split.rb
<BEF> require 'split/experiment'
require 'split/alternative'
require 'split/helper'
require 'split/version'
require 'split/configuration'
require 'split/engine' if defined?(Rails)
require 'redis/namespace'
require "split/algorithms/whiplash"
require "split/alternative"
require "split/cache"
require "spl... | 4 | rolled require statements into iterator | 5 | .rb | rb | mit | splitrb/split |
10070161 | <NME> split.rb
<BEF> require 'split/experiment'
require 'split/alternative'
require 'split/helper'
require 'split/version'
require 'split/configuration'
require 'split/engine' if defined?(Rails)
require 'redis/namespace'
require "split/algorithms/whiplash"
require "split/alternative"
require "split/cache"
require "spl... | 4 | rolled require statements into iterator | 5 | .rb | rb | mit | splitrb/split |
10070162 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 6
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Version 0.6.1
<DFF> @@ -1,6 +1,6 @@
module Split
MAJOR = 0
MINOR = 6
- PATCH = 0
+ PATCH = 1
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
| 1 | Version 0.6.1 | 1 | .rb | rb | mit | splitrb/split |
10070163 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 6
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Version 0.6.1
<DFF> @@ -1,6 +1,6 @@
module Split
MAJOR = 0
MINOR = 6
- PATCH = 0
+ PATCH = 1
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
| 1 | Version 0.6.1 | 1 | .rb | rb | mit | splitrb/split |
10070164 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 6
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Version 0.6.1
<DFF> @@ -1,6 +1,6 @@
module Split
MAJOR = 0
MINOR = 6
- PATCH = 0
+ PATCH = 1
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
| 1 | Version 0.6.1 | 1 | .rb | rb | mit | splitrb/split |
10070165 | <NME> buildout.cfg
<BEF> [buildout]
parts = django
find-links = http://bitbucket.org/ubernostrum/django-registration/downloads/django-registration-0.8-alpha-1.tar.gz
unzip = true
eggs = pkginfo
django-registration==0.8-alpha-1
[django]
recipe = djangorecipe
version = 1.1.1
settings = development
eggs = ${buildo... | 1 | Made settings.py default | 1 | .cfg | cfg | bsd-3-clause | ask/chishop |
10070166 | <NME> experiment.rb
<BEF> module Split
class Experiment
attr_accessor :name
attr_accessor :alternatives
attr_accessor :winner
def initialize(name, *alternatives)
@name = name.to_s
@alternatives = alternatives
end
def winner
DEFAULT_OPTIONS = {
resettable: true
}
... | 5 | renamed alternatives accessor on Experiment to alternative_names | 5 | .rb | rb | mit | splitrb/split |
10070167 | <NME> experiment.rb
<BEF> module Split
class Experiment
attr_accessor :name
attr_accessor :alternatives
attr_accessor :winner
def initialize(name, *alternatives)
@name = name.to_s
@alternatives = alternatives
end
def winner
DEFAULT_OPTIONS = {
resettable: true
}
... | 5 | renamed alternatives accessor on Experiment to alternative_names | 5 | .rb | rb | mit | splitrb/split |
10070168 | <NME> experiment.rb
<BEF> module Split
class Experiment
attr_accessor :name
attr_accessor :alternatives
attr_accessor :winner
def initialize(name, *alternatives)
@name = name.to_s
@alternatives = alternatives
end
def winner
DEFAULT_OPTIONS = {
resettable: true
}
... | 5 | renamed alternatives accessor on Experiment to alternative_names | 5 | .rb | rb | mit | splitrb/split |
10070169 | <NME> paginator_spec.rb
<BEF> ADDFILE
<MSG> dashboard/paginator (#518)
<DFF> @@ -0,0 +1,37 @@
+# frozen_string_literal: true
+require 'spec_helper'
+require 'split/dashboard/paginator'
+
+describe Split::DashboardPaginator do
+ context 'when collection is 1..20' do
+ let(:collection) { (1..20).to_a }
+
+ conte... | 37 | dashboard/paginator (#518) | 0 | .rb | rb | mit | splitrb/split |
10070170 | <NME> paginator_spec.rb
<BEF> ADDFILE
<MSG> dashboard/paginator (#518)
<DFF> @@ -0,0 +1,37 @@
+# frozen_string_literal: true
+require 'spec_helper'
+require 'split/dashboard/paginator'
+
+describe Split::DashboardPaginator do
+ context 'when collection is 1..20' do
+ let(:collection) { (1..20).to_a }
+
+ conte... | 37 | dashboard/paginator (#518) | 0 | .rb | rb | mit | splitrb/split |
10070171 | <NME> paginator_spec.rb
<BEF> ADDFILE
<MSG> dashboard/paginator (#518)
<DFF> @@ -0,0 +1,37 @@
+# frozen_string_literal: true
+require 'spec_helper'
+require 'split/dashboard/paginator'
+
+describe Split::DashboardPaginator do
+ context 'when collection is 1..20' do
+ let(:collection) { (1..20).to_a }
+
+ conte... | 37 | dashboard/paginator (#518) | 0 | .rb | rb | mit | splitrb/split |
10070172 | <NME> transducers.js
<BEF>
// basic protocol helpers
var symbolExists = typeof Symbol !== 'undefined';
var protocols = {
iterator: symbolExists ? Symbol.iterator : '@@iterator'
};
function throwProtocolError(name, coll) {
throw new Error("don't know how to " + name + " collection: " +
coll);
}... | 4 | Merge pull request #15 from kevinbeaty/master | 2 | .js | js | bsd-2-clause | jlongster/transducers.js |
10070173 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
describe Multivariate::Helper do
before(:each) do
REDIS.flushall
Multivariate::Helper.current_user = {}
end
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "should no... | 1 | Improved redis configuration by copying from resque | 1 | .rb | rb | mit | splitrb/split |
10070174 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
describe Multivariate::Helper do
before(:each) do
REDIS.flushall
Multivariate::Helper.current_user = {}
end
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "should no... | 1 | Improved redis configuration by copying from resque | 1 | .rb | rb | mit | splitrb/split |
10070175 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
describe Multivariate::Helper do
before(:each) do
REDIS.flushall
Multivariate::Helper.current_user = {}
end
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "should no... | 1 | Improved redis configuration by copying from resque | 1 | .rb | rb | mit | splitrb/split |
10070176 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[ {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "shou... | 1 | Fix failing tests on Rubinius (issue #52) | 1 | .rb | rb | mit | splitrb/split |
10070183 | <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 | Fix failing tests on Rubinius (issue #52) | 1 | .rb | rb | mit | splitrb/split |
10070184 | <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 | Fix failing tests on Rubinius (issue #52) | 1 | .rb | rb | mit | splitrb/split |
10070185 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 1
MINOR = 4
PATCH = 5
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> 144867444998371 dual cookie redis split persistence adapter (#420)
* Use fakeredis for testing
* require fakeredis manually
* Add fakeredis as a dev d... | 2 | 144867444998371 dual cookie redis split persistence adapter (#420) | 2 | .rb | rb | mit | splitrb/split |
10070186 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 1
MINOR = 4
PATCH = 5
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> 144867444998371 dual cookie redis split persistence adapter (#420)
* Use fakeredis for testing
* require fakeredis manually
* Add fakeredis as a dev d... | 2 | 144867444998371 dual cookie redis split persistence adapter (#420) | 2 | .rb | rb | mit | splitrb/split |
10070187 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 1
MINOR = 4
PATCH = 5
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> 144867444998371 dual cookie redis split persistence adapter (#420)
* Use fakeredis for testing
* require fakeredis manually
* Add fakeredis as a dev d... | 2 | 144867444998371 dual cookie redis split persistence adapter (#420) | 2 | .rb | rb | mit | splitrb/split |
10070188 | <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... | 51 | Merge pull request #622 from splitrb/consistent-return-metadata-when-disabled | 21 | .rb | rb | mit | splitrb/split |
10070189 | <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... | 51 | Merge pull request #622 from splitrb/consistent-return-metadata-when-disabled | 21 | .rb | rb | mit | splitrb/split |
10070190 | <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... | 51 | Merge pull request #622 from splitrb/consistent-return-metadata-when-disabled | 21 | .rb | rb | mit | splitrb/split |
10070191 | <NME> dashboard.js
<BEF> function confirmReset() {
var agree=confirm("This will delete all data for this experiment?");
if (agree)
return true;
else
return false;
}
function confirmDelete() {
var agree=confirm("Are you sure you want to delete this experiment and all its data?");
if (agree)
return... | 11 | Merge pull request #188 from andrew/refactor-dashboard-js | 15 | .js | js | mit | splitrb/split |
10070192 | <NME> dashboard.js
<BEF> function confirmReset() {
var agree=confirm("This will delete all data for this experiment?");
if (agree)
return true;
else
return false;
}
function confirmDelete() {
var agree=confirm("Are you sure you want to delete this experiment and all its data?");
if (agree)
return... | 11 | Merge pull request #188 from andrew/refactor-dashboard-js | 15 | .js | js | mit | splitrb/split |
10070193 | <NME> dashboard.js
<BEF> function confirmReset() {
var agree=confirm("This will delete all data for this experiment?");
if (agree)
return true;
else
return false;
}
function confirmDelete() {
var agree=confirm("Are you sure you want to delete this experiment and all its data?");
if (agree)
return... | 11 | Merge pull request #188 from andrew/refactor-dashboard-js | 15 | .js | js | mit | splitrb/split |
10070194 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Merge pull request #374 from andreibondarev/remove_legacy_code | 0 | .rb | rb | mit | splitrb/split |
10070195 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Merge pull request #374 from andreibondarev/remove_legacy_code | 0 | .rb | rb | mit | splitrb/split |
10070196 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Merge pull request #374 from andreibondarev/remove_legacy_code | 0 | .rb | rb | mit | splitrb/split |
10070197 | <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 | Revert "Remove Sinatra Dependency for Split Dashboard" | 0 | .gemspec | gemspec | mit | splitrb/split |
10070198 | <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 | Revert "Remove Sinatra Dependency for Split Dashboard" | 0 | .gemspec | gemspec | mit | splitrb/split |
10070199 | <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 | Revert "Remove Sinatra Dependency for Split Dashboard" | 0 | .gemspec | gemspec | mit | splitrb/split |
10070200 | <NME> encapsulated_helper.rb
<BEF> ADDFILE
<MSG> Add Split::EncapsulatedHelper that you can mix into Rails controllers and models that will only expose ab_test and ab_test_finished
<DFF> @@ -0,0 +1,52 @@
+# Split's helper exposes all kinds of methods we don't want to
+# mix into our model classes.
+#
+# This module exp... | 52 | Add Split::EncapsulatedHelper that you can mix into Rails controllers and models that will only expose ab_test and ab_test_finished | 0 | .rb | rb | mit | splitrb/split |
10070201 | <NME> encapsulated_helper.rb
<BEF> ADDFILE
<MSG> Add Split::EncapsulatedHelper that you can mix into Rails controllers and models that will only expose ab_test and ab_test_finished
<DFF> @@ -0,0 +1,52 @@
+# Split's helper exposes all kinds of methods we don't want to
+# mix into our model classes.
+#
+# This module exp... | 52 | Add Split::EncapsulatedHelper that you can mix into Rails controllers and models that will only expose ab_test and ab_test_finished | 0 | .rb | rb | mit | splitrb/split |
10070202 | <NME> encapsulated_helper.rb
<BEF> ADDFILE
<MSG> Add Split::EncapsulatedHelper that you can mix into Rails controllers and models that will only expose ab_test and ab_test_finished
<DFF> @@ -0,0 +1,52 @@
+# Split's helper exposes all kinds of methods we don't want to
+# mix into our model classes.
+#
+# This module exp... | 52 | Add Split::EncapsulatedHelper that you can mix into Rails controllers and models that will only expose ab_test and ab_test_finished | 0 | .rb | rb | mit | splitrb/split |
10070203 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[ | 0 | .md | md | mit | splitrb/split |
10070204 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[ | 0 | .md | md | mit | splitrb/split |
10070205 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[ | 0 | .md | md | mit | splitrb/split |
10070206 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 1
MINOR = 5
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> v1.6.0
<DFF> @@ -1,7 +1,7 @@
# frozen_string_literal: true
module Split
MAJOR = 1
- MINOR = 5
+ MINOR = 6
PATCH = 0
VERSION = [MAJOR, M... | 1 | v1.6.0 | 1 | .rb | rb | mit | splitrb/split |
10070207 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 1
MINOR = 5
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> v1.6.0
<DFF> @@ -1,7 +1,7 @@
# frozen_string_literal: true
module Split
MAJOR = 1
- MINOR = 5
+ MINOR = 6
PATCH = 0
VERSION = [MAJOR, M... | 1 | v1.6.0 | 1 | .rb | rb | mit | splitrb/split |
10070208 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 1
MINOR = 5
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> v1.6.0
<DFF> @@ -1,7 +1,7 @@
# frozen_string_literal: true
module Split
MAJOR = 1
- MINOR = 5
+ MINOR = 6
PATCH = 0
VERSION = [MAJOR, M... | 1 | v1.6.0 | 1 | .rb | rb | mit | splitrb/split |
10070209 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
describe Split::DashboardHelpers do
describe 'confidence_level' do
it 'should handle very small numbers' do
confidence_level(0.000000000000006).should eql('No Change')
end
end
... | 1 | Fixed dashboard range error | 1 | .rb | rb | mit | splitrb/split |
10070210 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
describe Split::DashboardHelpers do
describe 'confidence_level' do
it 'should handle very small numbers' do
confidence_level(0.000000000000006).should eql('No Change')
end
end
... | 1 | Fixed dashboard range error | 1 | .rb | rb | mit | splitrb/split |
10070211 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
describe Split::DashboardHelpers do
describe 'confidence_level' do
it 'should handle very small numbers' do
confidence_level(0.000000000000006).should eql('No Change')
end
end
... | 1 | Fixed dashboard range error | 1 | .rb | rb | mit | splitrb/split |
10070212 | <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... | 29 | Removes metadata key when it updated to nil | 2 | .rb | rb | mit | splitrb/split |
10070213 | <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... | 29 | Removes metadata key when it updated to nil | 2 | .rb | rb | mit | splitrb/split |
10070214 | <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... | 29 | Removes metadata key when it updated to nil | 2 | .rb | rb | mit | splitrb/split |
10070215 | <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... | 3 | Merge pull request #14 from mjangda/patch-1 | 1 | .js | meow | mit | zacstewart/Meow |
10070216 | <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... | 3 | Merge pull request #14 from mjangda/patch-1 | 1 | .js | meow | mit | zacstewart/Meow |
10070217 | <NME> alternative_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/alternative"
describe Split::Alternative do
let(:alternative) {
Split::Alternative.new("Basket", "basket_text")
}
let(:alternative2) {
Split::Alternative.new("Cart", "basket_text")
}
let!(:experiment... | 12 | Avoid z_score numeric exception for conversion rates >1 (#503) | 0 | .rb | rb | mit | splitrb/split |
10070218 | <NME> alternative_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/alternative"
describe Split::Alternative do
let(:alternative) {
Split::Alternative.new("Basket", "basket_text")
}
let(:alternative2) {
Split::Alternative.new("Cart", "basket_text")
}
let!(:experiment... | 12 | Avoid z_score numeric exception for conversion rates >1 (#503) | 0 | .rb | rb | mit | splitrb/split |
10070219 | <NME> alternative_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/alternative"
describe Split::Alternative do
let(:alternative) {
Split::Alternative.new("Basket", "basket_text")
}
let(:alternative2) {
Split::Alternative.new("Cart", "basket_text")
}
let!(:experiment... | 12 | Avoid z_score numeric exception for conversion rates >1 (#503) | 0 | .rb | rb | mit | splitrb/split |
10070220 | <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 ... | 0 | Merge pull request #631 from splitrb/remove-deprecated-redis-url | 14 | .rb | rb | mit | splitrb/split |
10070221 | <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 ... | 0 | Merge pull request #631 from splitrb/remove-deprecated-redis-url | 14 | .rb | rb | mit | splitrb/split |
10070222 | <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 ... | 0 | Merge pull request #631 from splitrb/remove-deprecated-redis-url | 14 | .rb | rb | mit | splitrb/split |
10070223 | <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 | Merge pull request #664 from joedelia/feature/set-cookie-domain | 0 | .rb | rb | mit | splitrb/split |
10070224 | <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 | Merge pull request #664 from joedelia/feature/set-cookie-domain | 0 | .rb | rb | mit | splitrb/split |
10070225 | <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 | Merge pull request #664 from joedelia/feature/set-cookie-domain | 0 | .rb | rb | mit | splitrb/split |
10070226 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 16 | Deleting an experiment should also increment the version | 7 | .rb | rb | mit | splitrb/split |
10070236 | <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... | 16 | Deleting an experiment should also increment the version | 7 | .rb | rb | mit | splitrb/split |
10070237 | <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... | 16 | Deleting an experiment should also increment the version | 7 | .rb | rb | mit | splitrb/split |
10070238 | <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... | 8 | Delete an experiment | 0 | .rb | rb | mit | splitrb/split |
10070239 | <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... | 8 | Delete an experiment | 0 | .rb | rb | mit | splitrb/split |
10070240 | <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... | 8 | Delete an experiment | 0 | .rb | rb | mit | splitrb/split |
10070241 | <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... | 1 | Refactored deleting specs a little | 0 | .rb | rb | mit | splitrb/split |
10070242 | <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... | 1 | Refactored deleting specs a little | 0 | .rb | rb | mit | splitrb/split |
10070243 | <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... | 1 | Refactored deleting specs a little | 0 | .rb | rb | mit | splitrb/split |
10070244 | <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... | 17 | Written failing test for incorrectly raising the completion count | 0 | .rb | rb | mit | splitrb/split |
10070245 | <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... | 17 | Written failing test for incorrectly raising the completion count | 0 | .rb | rb | mit | splitrb/split |
10070246 | <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... | 17 | Written failing test for incorrectly raising the completion count | 0 | .rb | rb | mit | splitrb/split |
10070247 | <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... | 8 | Merge pull request #331 from ndrisso/bug/show-active-experiments-with-versioning | 0 | .rb | rb | mit | splitrb/split |
10070248 | <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... | 8 | Merge pull request #331 from ndrisso/bug/show-active-experiments-with-versioning | 0 | .rb | rb | mit | splitrb/split |
10070249 | <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... | 8 | Merge pull request #331 from ndrisso/bug/show-active-experiments-with-versioning | 0 | .rb | rb | mit | splitrb/split |