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 |
|---|---|---|---|---|---|---|---|---|
10071150 | <NME> config.ts
<BEF> import { Abbreviation } from '@emmetio/abbreviation';
import markupSnippets from '../snippets/html.json';
import stylesheetSnippets from '../snippets/css.json';
import xslSnippets from '../snippets/xsl.json';
import pugSnippets from '../snippets/pug.json';
import variables from '../snippets/variab... | 12 | Fix #614 (#615) | 0 | .ts | ts | mit | emmetio/emmet |
10071151 | <NME> config.ts
<BEF> import { Abbreviation } from '@emmetio/abbreviation';
import markupSnippets from '../snippets/html.json';
import stylesheetSnippets from '../snippets/css.json';
import xslSnippets from '../snippets/xsl.json';
import pugSnippets from '../snippets/pug.json';
import variables from '../snippets/variab... | 12 | Fix #614 (#615) | 0 | .ts | ts | mit | emmetio/emmet |
10071152 | <NME> version.rb
<BEF> module Split
VERSION = "0.4.0"
end
VERSION = "4.0.1"
end
<MSG> Version 0.4.1
<DFF> @@ -1,3 +1,3 @@
module Split
- VERSION = "0.4.0"
+ VERSION = "0.4.1"
end
| 1 | Version 0.4.1 | 1 | .rb | rb | mit | splitrb/split |
10071153 | <NME> version.rb
<BEF> module Split
VERSION = "0.4.0"
end
VERSION = "4.0.1"
end
<MSG> Version 0.4.1
<DFF> @@ -1,3 +1,3 @@
module Split
- VERSION = "0.4.0"
+ VERSION = "0.4.1"
end
| 1 | Version 0.4.1 | 1 | .rb | rb | mit | splitrb/split |
10071154 | <NME> version.rb
<BEF> module Split
VERSION = "0.4.0"
end
VERSION = "4.0.1"
end
<MSG> Version 0.4.1
<DFF> @@ -1,3 +1,3 @@
module Split
- VERSION = "0.4.0"
+ VERSION = "0.4.1"
end
| 1 | Version 0.4.1 | 1 | .rb | rb | mit | splitrb/split |
10071155 | <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
end
let(:experiment) {
Sp... | 33 | Merge pull request #219 from vigosan/bug/display-start-button | 10 | .rb | rb | mit | splitrb/split |
10071156 | <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
end
let(:experiment) {
Sp... | 33 | Merge pull request #219 from vigosan/bug/display-start-button | 10 | .rb | rb | mit | splitrb/split |
10071157 | <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
end
let(:experiment) {
Sp... | 33 | Merge pull request #219 from vigosan/bug/display-start-button | 10 | .rb | rb | mit | splitrb/split |
10071158 | <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 ... | 1 | Added YandexBot to bot list | 1 | .rb | rb | mit | splitrb/split |
10071159 | <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 ... | 1 | Added YandexBot to bot list | 1 | .rb | rb | mit | splitrb/split |
10071160 | <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 ... | 1 | Added YandexBot to bot list | 1 | .rb | rb | mit | splitrb/split |
10071161 | <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... | 33 | Merge pull request #45 from ilyakatz/master | 1 | .rb | rb | mit | splitrb/split |
10071162 | <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... | 33 | Merge pull request #45 from ilyakatz/master | 1 | .rb | rb | mit | splitrb/split |
10071163 | <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... | 33 | Merge pull request #45 from ilyakatz/master | 1 | .rb | rb | mit | splitrb/split |
10071164 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

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

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

[ | 1 | .md | md | mit | splitrb/split |
10071167 | <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)

[
end
<MSG> v0.7.2
<DFF> @@ -1,6 +1,6 @@
module Split
MAJOR = 0
MINOR = 7
- PATCH = 1
+ PATCH = 2
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
| 1 | v0.7.2 | 1 | .rb | rb | mit | splitrb/split |
10071171 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 7
PATCH = 1
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> v0.7.2
<DFF> @@ -1,6 +1,6 @@
module Split
MAJOR = 0
MINOR = 7
- PATCH = 1
+ PATCH = 2
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
| 1 | v0.7.2 | 1 | .rb | rb | mit | splitrb/split |
10071172 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 7
PATCH = 1
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> v0.7.2
<DFF> @@ -1,6 +1,6 @@
module Split
MAJOR = 0
MINOR = 7
- PATCH = 1
+ PATCH = 2
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
| 1 | v0.7.2 | 1 | .rb | rb | mit | splitrb/split |
10071173 | <NME> README.md
<BEF> # Split
Split is a rack based ab testing framework designed to work with Rails, Sinatra or any other rack based app.
[](https://codeclimate.com/github/splitrb/split)
[](https://codeclimate.com/github/splitrb/split)
[](https://codeclimate.com/github/splitrb/split)
[ | 0 | .rb | rb | mit | splitrb/split |
10071177 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 1 | Add Facebot crawler to list of bots (#530) | 0 | .rb | rb | mit | splitrb/split |
10071178 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 1 | Add Facebot crawler to list of bots (#530) | 0 | .rb | rb | mit | splitrb/split |
10071179 | <NME> forms.py
<BEF> import os
from django import forms
from django.conf import settings
from djangopypi.models import Project, Classifier, Release
from django.utils.translation import ugettext_lazy as _
class ProjectForm(forms.ModelForm):
class Meta:
model = Project
exclude = ['owner', 'classifie... | 3 | Forgot to import django.conf.settings in forms. | 0 | .py | py | bsd-3-clause | ask/chishop |
10071180 | <NME> buildout.cfg
<BEF> [buildout]
parts = django
find-links = http://bitbucket.org/ubernostrum/django-registration/downloads/django-registration-0.8-alpha-1.tar.gz
eggs = pkginfo
django-registration==0.8-alpha-1
[django]
recipe = djangorecipe
version = 1.1.1
settings = settings
eggs = ${buildout:eggs}
test = ... | 1 | Force buildout to unzip all eggs | 0 | .cfg | cfg | bsd-3-clause | ask/chishop |
10071181 | <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 | Fixed typo | 1 | .md | md | mit | emmetio/emmet |
10071182 | <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 | Fixed typo | 1 | .md | md | mit | emmetio/emmet |
10071183 | <NME> ci.yml
<BEF> name: split
on: [push]
jobs:
test:
strategy:
matrix:
include:
- gemfile: 5.2.gemfile
ruby: 2.5
- gemfile: 5.2.gemfile
ruby: 2.6
- gemfile: 5.2.gemfile
ruby: 2.7
- gemfile: 6.0.gemfile
ruby... | 2 | Need to fix a few things before pushing ruby 3.1 | 2 | .yml | github/workflows/ci | mit | splitrb/split |
10071184 | <NME> ci.yml
<BEF> name: split
on: [push]
jobs:
test:
strategy:
matrix:
include:
- gemfile: 5.2.gemfile
ruby: 2.5
- gemfile: 5.2.gemfile
ruby: 2.6
- gemfile: 5.2.gemfile
ruby: 2.7
- gemfile: 6.0.gemfile
ruby... | 2 | Need to fix a few things before pushing ruby 3.1 | 2 | .yml | github/workflows/ci | mit | splitrb/split |
10071185 | <NME> ci.yml
<BEF> name: split
on: [push]
jobs:
test:
strategy:
matrix:
include:
- gemfile: 5.2.gemfile
ruby: 2.5
- gemfile: 5.2.gemfile
ruby: 2.6
- gemfile: 5.2.gemfile
ruby: 2.7
- gemfile: 6.0.gemfile
ruby... | 2 | Need to fix a few things before pushing ruby 3.1 | 2 | .yml | github/workflows/ci | mit | splitrb/split |
10071186 | <NME> output-stream.ts
<BEF> import { AbbreviationAttribute, AbbreviationNode } from '@emmetio/abbreviation';
import { Config, Options, StringCase } from './config';
export interface OutputStream {
options: Options;
value: string;
level: number;
offset: number;
line: number;
column: number;
}
e... | 25 | Better indentation handling in output | 8 | .ts | ts | mit | emmetio/emmet |
10071187 | <NME> output-stream.ts
<BEF> import { AbbreviationAttribute, AbbreviationNode } from '@emmetio/abbreviation';
import { Config, Options, StringCase } from './config';
export interface OutputStream {
options: Options;
value: string;
level: number;
offset: number;
line: number;
column: number;
}
e... | 25 | Better indentation handling in output | 8 | .ts | ts | mit | emmetio/emmet |
10071188 | <NME> user_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/experiment_catalog"
require "split/experiment"
require "split/user"
describe Split::User do
let(:user_keys) { { "link_color" => "blue" } }
let(:context) { double(session: { split: user_keys }) }
let(:experiment) { Split... | 1 | Fix Layout/EmptyLinesAroundAccessModifier | 3 | .rb | rb | mit | splitrb/split |
10071189 | <NME> user_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/experiment_catalog"
require "split/experiment"
require "split/user"
describe Split::User do
let(:user_keys) { { "link_color" => "blue" } }
let(:context) { double(session: { split: user_keys }) }
let(:experiment) { Split... | 1 | Fix Layout/EmptyLinesAroundAccessModifier | 3 | .rb | rb | mit | splitrb/split |
10071190 | <NME> user_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/experiment_catalog"
require "split/experiment"
require "split/user"
describe Split::User do
let(:user_keys) { { "link_color" => "blue" } }
let(:context) { double(session: { split: user_keys }) }
let(:experiment) { Split... | 1 | Fix Layout/EmptyLinesAroundAccessModifier | 3 | .rb | rb | mit | splitrb/split |
10071191 | <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 | Use a list instead of a set to store alternative names on an experiment to ensure consistent ordering. | 3 | .rb | rb | mit | splitrb/split |
10071192 | <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 | Use a list instead of a set to store alternative names on an experiment to ensure consistent ordering. | 3 | .rb | rb | mit | splitrb/split |
10071193 | <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 | Use a list instead of a set to store alternative names on an experiment to ensure consistent ordering. | 3 | .rb | rb | mit | splitrb/split |
10071194 | <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 ... | 8 | A few more test cases for the bot blocklist | 0 | .rb | rb | mit | splitrb/split |
10071195 | <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 ... | 8 | A few more test cases for the bot blocklist | 0 | .rb | rb | mit | splitrb/split |
10071196 | <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 ... | 8 | A few more test cases for the bot blocklist | 0 | .rb | rb | mit | splitrb/split |
10071197 | <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... | 2 | Add 1.9.3 support back in (#499) | 1 | .gemspec | gemspec | mit | splitrb/split |
10071198 | <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... | 2 | Add 1.9.3 support back in (#499) | 1 | .gemspec | gemspec | mit | splitrb/split |
10071199 | <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... | 2 | Add 1.9.3 support back in (#499) | 1 | .gemspec | gemspec | mit | splitrb/split |
10071200 | <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 | Don't use capture helper from ActionView | 7 | .rb | rb | mit | splitrb/split |
10071201 | <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 | Don't use capture helper from ActionView | 7 | .rb | rb | mit | splitrb/split |
10071202 | <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 | Don't use capture helper from ActionView | 7 | .rb | rb | mit | splitrb/split |
10071203 | <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 |
10071204 | <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 |
10071205 | <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 | Ensure experiements are a Hash when configuring | 2 | .rb | rb | mit | splitrb/split |
10071206 | <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 | Ensure experiements are a Hash when configuring | 2 | .rb | rb | mit | splitrb/split |
10071207 | <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 | Ensure experiements are a Hash when configuring | 2 | .rb | rb | mit | splitrb/split |
10071208 | <NME> index.erb
<BEF> ADDFILE
<MSG> Beginnings of the web interface
<DFF> @@ -0,0 +1,19 @@
+<h1>Multivariate</h1>
+
+<ul>
+ <% @experiments.each do |experiment| %>
+ <li>
+ <h2><%= experiment.name %></h2>
+ <ul>
+ <% experiment.alternatives.each do |alternative| %>
+ <li>
+ <h3>... | 19 | Beginnings of the web interface | 0 | .erb | erb | mit | splitrb/split |
10071209 | <NME> index.erb
<BEF> ADDFILE
<MSG> Beginnings of the web interface
<DFF> @@ -0,0 +1,19 @@
+<h1>Multivariate</h1>
+
+<ul>
+ <% @experiments.each do |experiment| %>
+ <li>
+ <h2><%= experiment.name %></h2>
+ <ul>
+ <% experiment.alternatives.each do |alternative| %>
+ <li>
+ <h3>... | 19 | Beginnings of the web interface | 0 | .erb | erb | mit | splitrb/split |
10071210 | <NME> index.erb
<BEF> ADDFILE
<MSG> Beginnings of the web interface
<DFF> @@ -0,0 +1,19 @@
+<h1>Multivariate</h1>
+
+<ul>
+ <% @experiments.each do |experiment| %>
+ <li>
+ <h2><%= experiment.name %></h2>
+ <ul>
+ <% experiment.alternatives.each do |alternative| %>
+ <li>
+ <h3>... | 19 | Beginnings of the web interface | 0 | .erb | erb | mit | splitrb/split |
10071211 | <NME> zscore.rb
<BEF> # frozen_string_literal: true
module Split
class Zscore
include Math
def self.calculate(p1, n1, p2, n2)
# p_1 = Pa = proportion of users who converted within the experiment split (conversion rate)
# p_2 = Pc = proportion of users who converted within the control split (conv... | 1 | Fix Style/RedundantReturn | 1 | .rb | rb | mit | splitrb/split |
10071212 | <NME> zscore.rb
<BEF> # frozen_string_literal: true
module Split
class Zscore
include Math
def self.calculate(p1, n1, p2, n2)
# p_1 = Pa = proportion of users who converted within the experiment split (conversion rate)
# p_2 = Pc = proportion of users who converted within the control split (conv... | 1 | Fix Style/RedundantReturn | 1 | .rb | rb | mit | splitrb/split |
10071213 | <NME> zscore.rb
<BEF> # frozen_string_literal: true
module Split
class Zscore
include Math
def self.calculate(p1, n1, p2, n2)
# p_1 = Pa = proportion of users who converted within the experiment split (conversion rate)
# p_2 = Pc = proportion of users who converted within the control split (conv... | 1 | Fix Style/RedundantReturn | 1 | .rb | rb | mit | splitrb/split |
10071214 | <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 | Fix Rubocop offense Layout/EmptyLineAfterMagicComment | 0 | .gemspec | gemspec | mit | splitrb/split |
10071215 | <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 | Fix Rubocop offense Layout/EmptyLineAfterMagicComment | 0 | .gemspec | gemspec | mit | splitrb/split |
10071216 | <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 | Fix Rubocop offense Layout/EmptyLineAfterMagicComment | 0 | .gemspec | gemspec | mit | splitrb/split |
10071217 | <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... | 9 | Add uris to metadata section in gemspec | 0 | .gemspec | gemspec | mit | splitrb/split |
10071218 | <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... | 9 | Add uris to metadata section in gemspec | 0 | .gemspec | gemspec | mit | splitrb/split |
10071219 | <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... | 9 | Add uris to metadata section in gemspec | 0 | .gemspec | gemspec | mit | splitrb/split |
10071220 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 1 | Check if experiments responds to #keys instead | 1 | .rb | rb | mit | splitrb/split |
10071221 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 1 | Check if experiments responds to #keys instead | 1 | .rb | rb | mit | splitrb/split |
10071222 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 1 | Check if experiments responds to #keys instead | 1 | .rb | rb | mit | splitrb/split |
10071223 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 5
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Merge pull request #153 from andrew/release/6.0.0
Release 0.6.0
<DFF> @@ -1,6 +1,6 @@
module Split
- MAJOR = 0
- MINOR = 5
- PATCH = 0
+ MAJOR = 0
+ MINOR = 6
+ PATCH = 0
VER... | 3 | Merge pull request #153 from andrew/release/6.0.0 | 3 | .rb | rb | mit | splitrb/split |
10071224 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 5
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Merge pull request #153 from andrew/release/6.0.0
Release 0.6.0
<DFF> @@ -1,6 +1,6 @@
module Split
- MAJOR = 0
- MINOR = 5
- PATCH = 0
+ MAJOR = 0
+ MINOR = 6
+ PATCH = 0
VER... | 3 | Merge pull request #153 from andrew/release/6.0.0 | 3 | .rb | rb | mit | splitrb/split |
10071225 | <NME> version.rb
<BEF> module Split
MAJOR = 0
MINOR = 5
PATCH = 0
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Merge pull request #153 from andrew/release/6.0.0
Release 0.6.0
<DFF> @@ -1,6 +1,6 @@
module Split
- MAJOR = 0
- MINOR = 5
- PATCH = 0
+ MAJOR = 0
+ MINOR = 6
+ PATCH = 0
VER... | 3 | Merge pull request #153 from andrew/release/6.0.0 | 3 | .rb | rb | mit | splitrb/split |
10071226 | <NME> setup.py
<BEF> #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from distutils.command.install_data import in... | 2 | Added new setup.py requirements: pkgutil + django-registration | 0 | .py | py | bsd-3-clause | ask/chishop |
10071227 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
it "should be ini... | 3 | Merge pull request #118 from iangreenleaf/refactoring | 3 | .rb | rb | mit | splitrb/split |
10071228 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
it "should be ini... | 3 | Merge pull request #118 from iangreenleaf/refactoring | 3 | .rb | rb | mit | splitrb/split |
10071229 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
it "should be ini... | 3 | Merge pull request #118 from iangreenleaf/refactoring | 3 | .rb | rb | mit | splitrb/split |
10071230 | <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 #9 from elisehuard/patch-1 | 1 | .rb | rb | mit | splitrb/split |
10071231 | <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 #9 from elisehuard/patch-1 | 1 | .rb | rb | mit | splitrb/split |
10071232 | <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 #9 from elisehuard/patch-1 | 1 | .rb | rb | mit | splitrb/split |
10071233 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 4 | Fix for issue#647 (#652) | 0 | .ts | ts | mit | emmetio/emmet |
10071234 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 4 | Fix for issue#647 (#652) | 0 | .ts | ts | mit | emmetio/emmet |
10071235 | <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... | 3 | Whitespace | 0 | .rb | rb | mit | splitrb/split |
10071236 | <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... | 3 | Whitespace | 0 | .rb | rb | mit | splitrb/split |
10071237 | <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... | 3 | Whitespace | 0 | .rb | rb | mit | splitrb/split |
10071238 | <NME> README.md
<BEF> Semantic-UI-Angular
===================
[](https://gitter.im/Semantic-Org/Semantic-UI-Angular?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status]... | 21 | docs(README): Update README | 1 | .md | md | mit | Semantic-Org/Semantic-UI-Angular |
10071239 | <NME> README.md
<BEF> Semantic-UI-Angular
===================
[](https://gitter.im/Semantic-Org/Semantic-UI-Angular?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status]... | 21 | docs(README): Update README | 1 | .md | md | mit | Semantic-Org/Semantic-UI-Angular |
10071240 | <NME> README.md
<BEF> Semantic-UI-Angular
===================
[](https://gitter.im/Semantic-Org/Semantic-UI-Angular?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status]... | 21 | docs(README): Update README | 1 | .md | md | mit | Semantic-Org/Semantic-UI-Angular |
10071241 | <NME> index.ts
<BEF> import { Name, Value, Repeater, AllTokens, BracketType, Bracket, Operator, OperatorType } from '../tokenizer';
import { TokenScanner, peek, consume, end } from './TokenScanner';
export interface TokenAttribute {
name?: Value[];
value?: Value[];
}
export interface TokenElement {
name?:... | 322 | Token-based parser implementation (WIP) | 12 | .ts | ts | mit | emmetio/emmet |
10071242 | <NME> index.ts
<BEF> import { Name, Value, Repeater, AllTokens, BracketType, Bracket, Operator, OperatorType } from '../tokenizer';
import { TokenScanner, peek, consume, end } from './TokenScanner';
export interface TokenAttribute {
name?: Value[];
value?: Value[];
}
export interface TokenElement {
name?:... | 322 | Token-based parser implementation (WIP) | 12 | .ts | ts | mit | emmetio/emmet |
10071243 | <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... | 2 | allow versions of redis >= 3 | 2 | .gemspec | gemspec | mit | splitrb/split |
10071244 | <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... | 2 | allow versions of redis >= 3 | 2 | .gemspec | gemspec | mit | splitrb/split |
10071245 | <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... | 2 | allow versions of redis >= 3 | 2 | .gemspec | gemspec | mit | splitrb/split |
10071246 | <NME> webpack.config.js
<BEF> ADDFILE
<MSG> Merge pull request #50 from m0t0r/project-restructure
Build new workflow and restructure the project
<DFF> @@ -0,0 +1,48 @@
+var path = require('path');
+var webpack = require('webpack');
+var VERSION = require('./package.json').version;
+
+var banner =
+ '/*!\n' +
+ ' * S... | 48 | Merge pull request #50 from m0t0r/project-restructure | 0 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |
10071247 | <NME> webpack.config.js
<BEF> ADDFILE
<MSG> Merge pull request #50 from m0t0r/project-restructure
Build new workflow and restructure the project
<DFF> @@ -0,0 +1,48 @@
+var path = require('path');
+var webpack = require('webpack');
+var VERSION = require('./package.json').version;
+
+var banner =
+ '/*!\n' +
+ ' * S... | 48 | Merge pull request #50 from m0t0r/project-restructure | 0 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |
10071248 | <NME> webpack.config.js
<BEF> ADDFILE
<MSG> Merge pull request #50 from m0t0r/project-restructure
Build new workflow and restructure the project
<DFF> @@ -0,0 +1,48 @@
+var path = require('path');
+var webpack = require('webpack');
+var VERSION = require('./package.json').version;
+
+var banner =
+ '/*!\n' +
+ ' * S... | 48 | Merge pull request #50 from m0t0r/project-restructure | 0 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |
10071249 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 1 | Support REDIS_PROVIDER variable used in Heroku (#426) | 1 | .rb | rb | mit | splitrb/split |