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 |
|---|---|---|---|---|---|---|---|---|
10071450 | <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);
}... | 0 | Remove unused getReducer function | 13 | .js | js | bsd-2-clause | jlongster/transducers.js |
10071451 | <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)

[ | 4 | .rb | rb | mit | splitrb/split |
10071461 | <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
... | 5 | Allow configuration of how often winning alternatives are recalculated (#501) | 4 | .rb | rb | mit | splitrb/split |
10071462 | <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
... | 5 | Allow configuration of how often winning alternatives are recalculated (#501) | 4 | .rb | rb | mit | splitrb/split |
10071463 | <NME> button.js
<BEF> ADDFILE
<MSG> chore(smButton): Added generic sm-button directive
<DFF> @@ -0,0 +1,55 @@
+(function() {
+'use strict';
+
+angular
+ .module('semantic.ui.elements.button', [])
+
+ .directive('smButton', smButton);
+
+ function smButton(ariaHelper) {
+ return {
+ restrict:'E',
+ repl... | 55 | chore(smButton): Added generic sm-button directive | 0 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10071464 | <NME> button.js
<BEF> ADDFILE
<MSG> chore(smButton): Added generic sm-button directive
<DFF> @@ -0,0 +1,55 @@
+(function() {
+'use strict';
+
+angular
+ .module('semantic.ui.elements.button', [])
+
+ .directive('smButton', smButton);
+
+ function smButton(ariaHelper) {
+ return {
+ restrict:'E',
+ repl... | 55 | chore(smButton): Added generic sm-button directive | 0 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10071465 | <NME> button.js
<BEF> ADDFILE
<MSG> chore(smButton): Added generic sm-button directive
<DFF> @@ -0,0 +1,55 @@
+(function() {
+'use strict';
+
+angular
+ .module('semantic.ui.elements.button', [])
+
+ .directive('smButton', smButton);
+
+ function smButton(ariaHelper) {
+ return {
+ restrict:'E',
+ repl... | 55 | chore(smButton): Added generic sm-button directive | 0 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10071466 | <NME> .gitignore
<BEF> .idea
*.html.js
.DS_Store
.grunt
/node_modules
/dist
*-SNAPSHOT*
typings
npm-debug.log
.vscode
<MSG> Merge pull request #57 from HackedByChinese/ignore-js
chore(project): ignore js and map files in src
<DFF> @@ -7,4 +7,6 @@
*-SNAPSHOT*
typings
npm-debug.log
-.vscode
\ No newline at end of fi... | 3 | Merge pull request #57 from HackedByChinese/ignore-js | 1 | gitignore | mit | Semantic-Org/Semantic-UI-Angular | |
10071467 | <NME> .gitignore
<BEF> .idea
*.html.js
.DS_Store
.grunt
/node_modules
/dist
*-SNAPSHOT*
typings
npm-debug.log
.vscode
<MSG> Merge pull request #57 from HackedByChinese/ignore-js
chore(project): ignore js and map files in src
<DFF> @@ -7,4 +7,6 @@
*-SNAPSHOT*
typings
npm-debug.log
-.vscode
\ No newline at end of fi... | 3 | Merge pull request #57 from HackedByChinese/ignore-js | 1 | gitignore | mit | Semantic-Org/Semantic-UI-Angular | |
10071468 | <NME> .gitignore
<BEF> .idea
*.html.js
.DS_Store
.grunt
/node_modules
/dist
*-SNAPSHOT*
typings
npm-debug.log
.vscode
<MSG> Merge pull request #57 from HackedByChinese/ignore-js
chore(project): ignore js and map files in src
<DFF> @@ -7,4 +7,6 @@
*-SNAPSHOT*
typings
npm-debug.log
-.vscode
\ No newline at end of fi... | 3 | Merge pull request #57 from HackedByChinese/ignore-js | 1 | gitignore | mit | Semantic-Org/Semantic-UI-Angular | |
10071469 | <NME> index.ts
<BEF> import { AbbreviationNode, Repeater } from '@emmetio/abbreviation';
import { Container } from '../utils';
import { Config } from '../../config';
import { resolveImplicitTag } from '../implicit-tag';
import latin from './latin.json';
import ru from './russian.json';
import sp from './spanish.json';
... | 1 | Fixed number of words in Lorem Ipsum generator | 1 | .ts | ts | mit | emmetio/emmet |
10071470 | <NME> index.ts
<BEF> import { AbbreviationNode, Repeater } from '@emmetio/abbreviation';
import { Container } from '../utils';
import { Config } from '../../config';
import { resolveImplicitTag } from '../implicit-tag';
import latin from './latin.json';
import ru from './russian.json';
import sp from './spanish.json';
... | 1 | Fixed number of words in Lorem Ipsum generator | 1 | .ts | ts | mit | emmetio/emmet |
10071471 | <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 ... | 3 | Merge pull request #213 from jonashuckestein/master | 3 | .rb | rb | mit | splitrb/split |
10071472 | <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 ... | 3 | Merge pull request #213 from jonashuckestein/master | 3 | .rb | rb | mit | splitrb/split |
10071473 | <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 ... | 3 | Merge pull request #213 from jonashuckestein/master | 3 | .rb | rb | mit | splitrb/split |
10071474 | <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)

[ {
+ 'use strict';
+
+ var $scope, $compile;
+
+ beforeEach(module('semantic.ui.elements.divider'));
+
+ beforeEach(... | 25 | Merge pull request #6 from Semantic-Org/feat-sm-divider | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10071478 | <NME> divider.spec.js
<BEF> ADDFILE
<MSG> Merge pull request #6 from Semantic-Org/feat-sm-divider
sm-divider directive
<DFF> @@ -0,0 +1,25 @@
+describe('Semantic-UI: Elements - smDivider', function() {
+ 'use strict';
+
+ var $scope, $compile;
+
+ beforeEach(module('semantic.ui.elements.divider'));
+
+ beforeEach(... | 25 | Merge pull request #6 from Semantic-Org/feat-sm-divider | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10071479 | <NME> divider.spec.js
<BEF> ADDFILE
<MSG> Merge pull request #6 from Semantic-Org/feat-sm-divider
sm-divider directive
<DFF> @@ -0,0 +1,25 @@
+describe('Semantic-UI: Elements - smDivider', function() {
+ 'use strict';
+
+ var $scope, $compile;
+
+ beforeEach(module('semantic.ui.elements.divider'));
+
+ beforeEach(... | 25 | Merge pull request #6 from Semantic-Org/feat-sm-divider | 0 | .js | spec | mit | Semantic-Org/Semantic-UI-Angular |
10071480 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternatives
def initialize(name, options = {})
options = {
:resettable => true,
}.merge(options)
@name = name.to_s
Split.ca... | 5 | Split#initialize: Extract DEFAULT_OPTIONS | 3 | .rb | rb | mit | splitrb/split |
10071481 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternatives
def initialize(name, options = {})
options = {
:resettable => true,
}.merge(options)
@name = name.to_s
Split.ca... | 5 | Split#initialize: Extract DEFAULT_OPTIONS | 3 | .rb | rb | mit | splitrb/split |
10071482 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternatives
def initialize(name, options = {})
options = {
:resettable => true,
}.merge(options)
@name = name.to_s
Split.ca... | 5 | Split#initialize: Extract DEFAULT_OPTIONS | 3 | .rb | rb | mit | splitrb/split |
10071483 | <NME> index.ts
<BEF> import Scanner from '@emmetio/scanner';
import consumeRepeat from './repeat';
import element from './element';
import { EMAbbreviation, EMElement, EMGroup, EMNode } from './ast';
import { Chars } from './utils';
export { parse, tokenize, getToken, convert };
export * from './tokenizer/tokens';
exp... | 2 | Minor code refactoring | 2 | .ts | ts | mit | emmetio/emmet |
10071484 | <NME> index.ts
<BEF> import Scanner from '@emmetio/scanner';
import consumeRepeat from './repeat';
import element from './element';
import { EMAbbreviation, EMElement, EMGroup, EMNode } from './ast';
import { Chars } from './utils';
export { parse, tokenize, getToken, convert };
export * from './tokenizer/tokens';
exp... | 2 | Minor code refactoring | 2 | .ts | ts | mit | emmetio/emmet |
10071485 | <NME> tests.py
<BEF> import unittest
import StringIO
from djangopypi.views import parse_distutils_request
from djangopypi.models import Project, Classifier
from django.test.client import Client
from django.core.urlresolvers import reverse
from django.contrib.auth.models import User
def create_post_data(action):
da... | 37 | Added tests for user registration | 8 | .py | py | bsd-3-clause | ask/chishop |
10071486 | <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)

[
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... | 7 | Merge pull request #693 from ursm/lex | 7 | .gemspec | gemspec | mit | splitrb/split |
10071493 | <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... | 7 | Merge pull request #693 from ursm/lex | 7 | .gemspec | gemspec | mit | splitrb/split |
10071494 | <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... | 7 | Merge pull request #693 from ursm/lex | 7 | .gemspec | gemspec | mit | splitrb/split |
10071495 | <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
... | 14 | Convert legacy sets of alternative names to lists | 2 | .rb | rb | mit | splitrb/split |
10071496 | <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
... | 14 | Convert legacy sets of alternative names to lists | 2 | .rb | rb | mit | splitrb/split |
10071497 | <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
... | 14 | Convert legacy sets of alternative names to lists | 2 | .rb | rb | mit | splitrb/split |
10071498 | <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
lambda... | 4 | Merge pull request #156 from fenelon/master | 0 | .rb | rb | mit | splitrb/split |
10071499 | <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
lambda... | 4 | Merge pull request #156 from fenelon/master | 0 | .rb | rb | mit | splitrb/split |
10071500 | <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
lambda... | 4 | Merge pull request #156 from fenelon/master | 0 | .rb | rb | mit | splitrb/split |
10071501 | <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... | 25 | Revise specs for #next_alternative | 18 | .rb | rb | mit | splitrb/split |
10071502 | <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... | 25 | Revise specs for #next_alternative | 18 | .rb | rb | mit | splitrb/split |
10071503 | <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... | 25 | Revise specs for #next_alternative | 18 | .rb | rb | mit | splitrb/split |
10071504 | <NME> index.ts
<BEF> import Scanner, { isAlphaWord, isAlpha, isNumber, isAlphaNumericWord, isSpace } from '@emmetio/scanner';
import { AllTokens, Literal, OperatorType, NumberValue, ColorValue, WhiteSpace, Operator, Bracket, StringValue, Field } from './tokens';
import { Chars } from './utils';
export * from './tokens... | 3 | Minor code refactoring | 3 | .ts | ts | mit | emmetio/emmet |
10071505 | <NME> index.ts
<BEF> import Scanner, { isAlphaWord, isAlpha, isNumber, isAlphaNumericWord, isSpace } from '@emmetio/scanner';
import { AllTokens, Literal, OperatorType, NumberValue, ColorValue, WhiteSpace, Operator, Bracket, StringValue, Field } from './tokens';
import { Chars } from './utils';
export * from './tokens... | 3 | Minor code refactoring | 3 | .ts | ts | mit | emmetio/emmet |
10071506 | <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... | 14 | Namespace override param (#398) | 8 | .rb | rb | mit | splitrb/split |
10071507 | <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... | 14 | Namespace override param (#398) | 8 | .rb | rb | mit | splitrb/split |
10071508 | <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... | 14 | Namespace override param (#398) | 8 | .rb | rb | mit | splitrb/split |
10071509 | <NME> karma.conf.js
<BEF> module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
// lis... | 1 | chore(bower.json): Added angular-mocks | 0 | .js | conf | mit | Semantic-Org/Semantic-UI-Angular |
10071510 | <NME> karma.conf.js
<BEF> module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
// lis... | 1 | chore(bower.json): Added angular-mocks | 0 | .js | conf | mit | Semantic-Org/Semantic-UI-Angular |
10071511 | <NME> karma.conf.js
<BEF> module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
// lis... | 1 | chore(bower.json): Added angular-mocks | 0 | .js | conf | mit | Semantic-Org/Semantic-UI-Angular |
10071512 | <NME> CHANGELOG.md
<BEF> ## 2.2.0 (November 11th, 2016)
Features:
- Remove dependency on Redis::Namespace (@bschaeffer, #425)
- Removes metadata key when it updated to nil (@andrehjr, #633)
- Force experiment does not count for metrics (@andrehjr, #637)
- Fix cleanup_old_versions! misbehaviour (@serggl, #661)
Featur... | 2 | CHANGELOG: Mention that 2.2.0 is backwards incompatible (#471) | 0 | .md | md | mit | splitrb/split |
10071513 | <NME> CHANGELOG.md
<BEF> ## 2.2.0 (November 11th, 2016)
Features:
- Remove dependency on Redis::Namespace (@bschaeffer, #425)
- Removes metadata key when it updated to nil (@andrehjr, #633)
- Force experiment does not count for metrics (@andrehjr, #637)
- Fix cleanup_old_versions! misbehaviour (@serggl, #661)
Featur... | 2 | CHANGELOG: Mention that 2.2.0 is backwards incompatible (#471) | 0 | .md | md | mit | splitrb/split |
10071514 | <NME> CHANGELOG.md
<BEF> ## 2.2.0 (November 11th, 2016)
Features:
- Remove dependency on Redis::Namespace (@bschaeffer, #425)
- Removes metadata key when it updated to nil (@andrehjr, #633)
- Force experiment does not count for metrics (@andrehjr, #637)
- Fix cleanup_old_versions! misbehaviour (@serggl, #661)
Featur... | 2 | CHANGELOG: Mention that 2.2.0 is backwards incompatible (#471) | 0 | .md | md | mit | splitrb/split |
10071515 | <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
... | 13 | Use Experiment#set_alternatives_and_options to DRY code | 9 | .rb | rb | mit | splitrb/split |
10071516 | <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
... | 13 | Use Experiment#set_alternatives_and_options to DRY code | 9 | .rb | rb | mit | splitrb/split |
10071517 | <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
... | 13 | Use Experiment#set_alternatives_and_options to DRY code | 9 | .rb | rb | mit | splitrb/split |
10071518 | <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... | 21 | Added metadata to experiment. A scoped partial of the metadata is available for the Trial | 0 | .rb | rb | mit | splitrb/split |
10071519 | <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... | 21 | Added metadata to experiment. A scoped partial of the metadata is available for the Trial | 0 | .rb | rb | mit | splitrb/split |
10071520 | <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... | 21 | Added metadata to experiment. A scoped partial of the metadata is available for the Trial | 0 | .rb | rb | mit | splitrb/split |
10071521 | <NME> whiplash_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Algorithms::Whiplash do
it "should return an algorithm" do
experiment = Split::ExperimentCatalog.find_or_create("link_color", { "blue" => 1 }, { "red" => 1 })
expect(Split::Algorithms::Whiplash.choose_alternativ... | 2 | Merge pull request #206 from mittel/remve_white_space | 2 | .rb | rb | mit | splitrb/split |
10071522 | <NME> whiplash_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Algorithms::Whiplash do
it "should return an algorithm" do
experiment = Split::ExperimentCatalog.find_or_create("link_color", { "blue" => 1 }, { "red" => 1 })
expect(Split::Algorithms::Whiplash.choose_alternativ... | 2 | Merge pull request #206 from mittel/remve_white_space | 2 | .rb | rb | mit | splitrb/split |
10071523 | <NME> whiplash_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Algorithms::Whiplash do
it "should return an algorithm" do
experiment = Split::ExperimentCatalog.find_or_create("link_color", { "blue" => 1 }, { "red" => 1 })
expect(Split::Algorithms::Whiplash.choose_alternativ... | 2 | Merge pull request #206 from mittel/remve_white_space | 2 | .rb | rb | mit | splitrb/split |
10071524 | <NME> README
<BEF> =========================================
ChiShop/DjangoPyPI
=========================================
:Version: 0.1
Installation
============
Install dependencies::
$ python bootstrap.py --distribute
$ ./bin/buildout
Initial configuration
---------------------
::
$ $EDITOR chishop/s... | 2 | Fix error in README (register without -r attempts pypi.python.org). | 2 | README | bsd-3-clause | ask/chishop | |
10071525 | <NME> models.py
<BEF> import os
from django.conf import settings
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.models import User
OS_NAMES = (
("aix", "AIX"),
("beos", "BeOS"),
("debian", "Debian Linux"),
("dos", "DOS"),
... | 7 | Merge branch 'runeh/master' | 3 | .py | py | bsd-3-clause | ask/chishop |
10071526 | <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... | 9 | Merge pull request #209 from wimdu/starting_tests_manually | 0 | .rb | rb | mit | splitrb/split |
10071527 | <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... | 9 | Merge pull request #209 from wimdu/starting_tests_manually | 0 | .rb | rb | mit | splitrb/split |
10071528 | <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... | 9 | Merge pull request #209 from wimdu/starting_tests_manually | 0 | .rb | rb | mit | splitrb/split |
10071529 | <NME> AUTHORS
<BEF> Ask Solem <askh@opera.com>
Rune Halvorsen <runeh@opera.com>
Russell Sim <russell.sim@gmail.com>
Hugo Lopes Tavares <hltbra@gmail.com>
Sverre Johansen <sverre.johansen@gmail.com>
Bo Shi <bs@alum.mit.edu>
Carl Meyer <carl@dirtcircle.com>
Vinícius das Chagas Silva <vinimaster@gmail.com>
Vanderson Mota ... | 1 | Added Brian Rosner to AUTHORS | 0 | AUTHORS | bsd-3-clause | ask/chishop | |
10071530 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
include Split::DashboardHelpers
it 'should handle very small numbers' do
confidence_level(Complex(2e-18, -0.03)).should eql('No Change')
end
end
end
expect(confidence_leve... | 9 | Merge pull request #50 from elliotcm/master | 1 | .rb | rb | mit | splitrb/split |
10071531 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
include Split::DashboardHelpers
it 'should handle very small numbers' do
confidence_level(Complex(2e-18, -0.03)).should eql('No Change')
end
end
end
expect(confidence_leve... | 9 | Merge pull request #50 from elliotcm/master | 1 | .rb | rb | mit | splitrb/split |
10071532 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
include Split::DashboardHelpers
it 'should handle very small numbers' do
confidence_level(Complex(2e-18, -0.03)).should eql('No Change')
end
end
end
expect(confidence_leve... | 9 | Merge pull request #50 from elliotcm/master | 1 | .rb | rb | mit | splitrb/split |
10071533 | <NME> README
<BEF> =========================================
ChiShop/DjangoPyPI
=========================================
:Version: 0.1
Installation
============
Install dependencies::
$ python bootstrap.py --distribute
$ ./bin/buildout
Initial configuration
---------------------
::
$ $EDITOR chishop/s... | 13 | updated documentation to make it clearer | 6 | README | bsd-3-clause | ask/chishop | |
10071534 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
include Split::DashboardHelpers
describe Split::DashboardHelpers do
describe "confidence_level" do
it "should handle very small numbers" do
expect(confidence_level(Complex(2e-18, -0... | 1 | Merge pull request #248 from lucaspolonio/patch-1 | 1 | .rb | rb | mit | splitrb/split |
10071535 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
include Split::DashboardHelpers
describe Split::DashboardHelpers do
describe "confidence_level" do
it "should handle very small numbers" do
expect(confidence_level(Complex(2e-18, -0... | 1 | Merge pull request #248 from lucaspolonio/patch-1 | 1 | .rb | rb | mit | splitrb/split |
10071536 | <NME> dashboard_helpers_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/dashboard/helpers"
include Split::DashboardHelpers
describe Split::DashboardHelpers do
describe "confidence_level" do
it "should handle very small numbers" do
expect(confidence_level(Complex(2e-18, -0... | 1 | Merge pull request #248 from lucaspolonio/patch-1 | 1 | .rb | rb | mit | splitrb/split |
10071537 | <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 elb health check to exclusion list | 0 | .rb | rb | mit | splitrb/split |
10071538 | <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 elb health check to exclusion list | 0 | .rb | rb | mit | splitrb/split |
10071539 | <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 elb health check to exclusion list | 0 | .rb | rb | mit | splitrb/split |
10071540 | <NME> split.rb
<BEF> # frozen_string_literal: true
require "redis"
require "split/algorithms"
require "split/algorithms/block_randomization"
require "split/algorithms/weighted_sample"
require "split/algorithms/whiplash"
require "split/alternative"
require "split/cache"
require "split/configuration"
require "split/enc... | 1 | Merge pull request #293 from openit-lib/master | 1 | .rb | rb | mit | splitrb/split |
10071541 | <NME> split.rb
<BEF> # frozen_string_literal: true
require "redis"
require "split/algorithms"
require "split/algorithms/block_randomization"
require "split/algorithms/weighted_sample"
require "split/algorithms/whiplash"
require "split/alternative"
require "split/cache"
require "split/configuration"
require "split/enc... | 1 | Merge pull request #293 from openit-lib/master | 1 | .rb | rb | mit | splitrb/split |
10071542 | <NME> split.rb
<BEF> # frozen_string_literal: true
require "redis"
require "split/algorithms"
require "split/algorithms/block_randomization"
require "split/algorithms/weighted_sample"
require "split/algorithms/whiplash"
require "split/alternative"
require "split/cache"
require "split/configuration"
require "split/enc... | 1 | Merge pull request #293 from openit-lib/master | 1 | .rb | rb | mit | splitrb/split |
10071543 | <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 | Merge pull request #607 from splitrb/drop-ruby-1-9-3-support | 2 | .gemspec | gemspec | mit | splitrb/split |
10071544 | <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 | Merge pull request #607 from splitrb/drop-ruby-1-9-3-support | 2 | .gemspec | gemspec | mit | splitrb/split |
10071545 | <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 | Merge pull request #607 from splitrb/drop-ruby-1-9-3-support | 2 | .gemspec | gemspec | mit | splitrb/split |
10071546 | <NME> README.md
<BEF> jQuery Meow
===========
A plugin to provide Growl-like notifications. Will support bindings for various jQuery events and ability to 'meow' the content of a bound element (e.g. a Rails flash on load) or a message passed as an argument (e.g. button clicks).
## Usage example
```javascript
var opt... | 3 | Add Coderwall endorse button | 1 | .md | md | mit | zacstewart/Meow |
10071547 | <NME> README.md
<BEF> jQuery Meow
===========
A plugin to provide Growl-like notifications. Will support bindings for various jQuery events and ability to 'meow' the content of a bound element (e.g. a Rails flash on load) or a message passed as an argument (e.g. button clicks).
## Usage example
```javascript
var opt... | 3 | Add Coderwall endorse button | 1 | .md | md | mit | zacstewart/Meow |
10071548 | <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... | 7 | Merge pull request #260 from WhitehawkVentures/master | 4 | .rb | rb | mit | splitrb/split |
10071549 | <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... | 7 | Merge pull request #260 from WhitehawkVentures/master | 4 | .rb | rb | mit | splitrb/split |