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 |
|---|---|---|---|---|---|---|---|---|
10072150 | <NME> layout.erb
<BEF> <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<link href="<%= url 'reset.css' %>" media="screen" rel="stylesheet" type="text/css">
<link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css">
<script type="text/javascript... | 2 | Implement naive dashboard filtering by experiment name. | 1 | .erb | erb | mit | splitrb/split |
10072151 | <NME> layout.erb
<BEF> <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<link href="<%= url 'reset.css' %>" media="screen" rel="stylesheet" type="text/css">
<link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css">
<script type="text/javascript... | 2 | Implement naive dashboard filtering by experiment name. | 1 | .erb | erb | mit | splitrb/split |
10072152 | <NME> layout.erb
<BEF> <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<link href="<%= url 'reset.css' %>" media="screen" rel="stylesheet" type="text/css">
<link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css">
<script type="text/javascript... | 2 | Implement naive dashboard filtering by experiment name. | 1 | .erb | erb | mit | splitrb/split |
10072153 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
it "should be initializeable" do
experiment = mock('experiment')
alternative = mock('alternative')
trial = Split::Trial.new(experiment: experiment, alternative: alternative)
trial.experiment.should ==... | 4 | allow experiments to take options on initialization. | 4 | .rb | rb | mit | splitrb/split |
10072154 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
it "should be initializeable" do
experiment = mock('experiment')
alternative = mock('alternative')
trial = Split::Trial.new(experiment: experiment, alternative: alternative)
trial.experiment.should ==... | 4 | allow experiments to take options on initialization. | 4 | .rb | rb | mit | splitrb/split |
10072155 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
it "should be initializeable" do
experiment = mock('experiment')
alternative = mock('alternative')
trial = Split::Trial.new(experiment: experiment, alternative: alternative)
trial.experiment.should ==... | 4 | allow experiments to take options on initialization. | 4 | .rb | rb | mit | splitrb/split |
10072156 | <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... | 23 | Merge pull request #73 from apsoto/ISSUE_72 | 0 | .rb | rb | mit | splitrb/split |
10072157 | <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... | 23 | Merge pull request #73 from apsoto/ISSUE_72 | 0 | .rb | rb | mit | splitrb/split |
10072158 | <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... | 23 | Merge pull request #73 from apsoto/ISSUE_72 | 0 | .rb | rb | mit | splitrb/split |
10072159 | <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... | 1 | allow for single alternative experiments. | 0 | .rb | rb | mit | splitrb/split |
10072160 | <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... | 1 | allow for single alternative experiments. | 0 | .rb | rb | mit | splitrb/split |
10072161 | <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... | 1 | allow for single alternative experiments. | 0 | .rb | rb | mit | splitrb/split |
10072162 | <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)

[ => parser(tokenizer(abbr),... | 7 | Limit character set allowed in abbreviation name | 0 | .ts | ts | mit | emmetio/emmet |
10072169 | <NME> parser.ts
<BEF> import { strictEqual as equal, throws } from 'assert';
import parser from '../src/parser';
import tokenizer from '../src/tokenizer';
import stringify from './assets/stringify';
import { ParserOptions } from '../src';
const parse = (abbr: string, options?: ParserOptions) => parser(tokenizer(abbr),... | 7 | Limit character set allowed in abbreviation name | 0 | .ts | ts | mit | emmetio/emmet |
10072170 | <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 #271 from qpowell/remove-old-version-support | 5 | .gemspec | gemspec | mit | splitrb/split |
10072171 | <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 #271 from qpowell/remove-old-version-support | 5 | .gemspec | gemspec | mit | splitrb/split |
10072172 | <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 #271 from qpowell/remove-old-version-support | 5 | .gemspec | gemspec | mit | splitrb/split |
10072173 | <NME> types.ts
<BEF> ADDFILE
<MSG> Porting abbreviation expander to TypeScript
<DFF> @@ -0,0 +1,192 @@
+export type StringCase = '' | 'lower' | 'upper';
+export type SyntaxType = 'markup' | 'stylesheet';
+
+export interface ProfileOptions {
+ /** String for one-level indentation. For example, `\t` or ` ` (N spaces... | 192 | Porting abbreviation expander to TypeScript | 0 | .ts | ts | mit | emmetio/emmet |
10072174 | <NME> types.ts
<BEF> ADDFILE
<MSG> Porting abbreviation expander to TypeScript
<DFF> @@ -0,0 +1,192 @@
+export type StringCase = '' | 'lower' | 'upper';
+export type SyntaxType = 'markup' | 'stylesheet';
+
+export interface ProfileOptions {
+ /** String for one-level indentation. For example, `\t` or ` ` (N spaces... | 192 | Porting abbreviation expander to TypeScript | 0 | .ts | ts | mit | emmetio/emmet |
10072175 | <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"),
... | 2 | Added uniqueness constraint for project/version Fixed buggy get_release method | 1 | .py | py | bsd-3-clause | ask/chishop |
10072176 | <NME> tests.py
<BEF> ADDFILE
<MSG> Unittest parsing of post data.
<DFF> @@ -0,0 +1,82 @@
+import unittest
+import StringIO
+from djangopypi.views import parse_weird_post_data
+
+def create_post_data(action):
+ data = {
+ ":action": action,
+ "metadata_version": "1.0",
+ "name": "foo... | 82 | Unittest parsing of post data. | 0 | .py | py | bsd-3-clause | ask/chishop |
10072177 | <NME> trial.rb
<BEF> # frozen_string_literal: true
module Split
class Trial
attr_accessor :goals
attr_accessor :experiment
attr_writer :metadata
def initialize(attrs = {})
self.experiment = attrs.delete(:experiment)
self.alternative = attrs.delete(:alternative)
self.metadata = ... | 3 | Fix typo of in `Split::Trial` class variable | 3 | .rb | rb | mit | splitrb/split |
10072178 | <NME> trial.rb
<BEF> # frozen_string_literal: true
module Split
class Trial
attr_accessor :goals
attr_accessor :experiment
attr_writer :metadata
def initialize(attrs = {})
self.experiment = attrs.delete(:experiment)
self.alternative = attrs.delete(:alternative)
self.metadata = ... | 3 | Fix typo of in `Split::Trial` class variable | 3 | .rb | rb | mit | splitrb/split |
10072179 | <NME> trial.rb
<BEF> # frozen_string_literal: true
module Split
class Trial
attr_accessor :goals
attr_accessor :experiment
attr_writer :metadata
def initialize(attrs = {})
self.experiment = attrs.delete(:experiment)
self.alternative = attrs.delete(:alternative)
self.metadata = ... | 3 | Fix typo of in `Split::Trial` class variable | 3 | .rb | rb | mit | splitrb/split |
10072180 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Uset Redis#hmset to keep compatibility with Redis < 4.0 | 2 | .rb | rb | mit | splitrb/split |
10072181 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Uset Redis#hmset to keep compatibility with Redis < 4.0 | 2 | .rb | rb | mit | splitrb/split |
10072182 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Uset Redis#hmset to keep compatibility with Redis < 4.0 | 2 | .rb | rb | mit | splitrb/split |
10072183 | <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 | Edited lib/split/experiment.rb via GitHub | 1 | .rb | rb | mit | splitrb/split |
10072184 | <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 | Edited lib/split/experiment.rb via GitHub | 1 | .rb | rb | mit | splitrb/split |
10072185 | <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 | Edited lib/split/experiment.rb via GitHub | 1 | .rb | rb | mit | splitrb/split |
10072186 | <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)

[,
("beos", "BeOS"),
("debian", "Debian Linux"),
("dos", "DOS"),
... | 13 | moved url generation from the template to the model. | 0 | .py | py | bsd-3-clause | ask/chishop |
10072190 | <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 | Use \A and \z in robot regexp | 1 | .rb | rb | mit | splitrb/split |
10072191 | <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 | Use \A and \z in robot regexp | 1 | .rb | rb | mit | splitrb/split |
10072192 | <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 | Use \A and \z in robot regexp | 1 | .rb | rb | mit | splitrb/split |
10072193 | <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... | 27 | Introduce enable/disable experiment cohorting | 0 | .rb | rb | mit | splitrb/split |
10072194 | <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... | 27 | Introduce enable/disable experiment cohorting | 0 | .rb | rb | mit | splitrb/split |
10072195 | <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... | 27 | Introduce enable/disable experiment cohorting | 0 | .rb | rb | mit | splitrb/split |
10072196 | <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... | 5 | Cleaner dependency code in gemspec | 6 | .gemspec | gemspec | mit | splitrb/split |
10072197 | <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... | 5 | Cleaner dependency code in gemspec | 6 | .gemspec | gemspec | mit | splitrb/split |
10072198 | <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... | 5 | Cleaner dependency code in gemspec | 6 | .gemspec | gemspec | mit | splitrb/split |
10072199 | <NME> split.rb
<BEF> %w[algorithms extensions metric trial experiment alternative helper version configuration persistence exceptions].each do |f|
require "split/#{f}"
end
require "split/experiment_catalog"
require "split/extensions/string"
require "split/goals_collection"
require "split/helper"
require "split/combi... | 11 | Merge pull request #202 from andrew/clean_up_lib | 1 | .rb | rb | mit | splitrb/split |
10072200 | <NME> split.rb
<BEF> %w[algorithms extensions metric trial experiment alternative helper version configuration persistence exceptions].each do |f|
require "split/#{f}"
end
require "split/experiment_catalog"
require "split/extensions/string"
require "split/goals_collection"
require "split/helper"
require "split/combi... | 11 | Merge pull request #202 from andrew/clean_up_lib | 1 | .rb | rb | mit | splitrb/split |
10072201 | <NME> split.rb
<BEF> %w[algorithms extensions metric trial experiment alternative helper version configuration persistence exceptions].each do |f|
require "split/#{f}"
end
require "split/experiment_catalog"
require "split/extensions/string"
require "split/goals_collection"
require "split/helper"
require "split/combi... | 11 | Merge pull request #202 from andrew/clean_up_lib | 1 | .rb | rb | mit | splitrb/split |
10072202 | <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 | Added coveralls.io support | 0 | .gemspec | gemspec | mit | splitrb/split |
10072203 | <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 | Added coveralls.io support | 0 | .gemspec | gemspec | mit | splitrb/split |
10072204 | <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 | Added coveralls.io support | 0 | .gemspec | gemspec | mit | splitrb/split |
10072205 | <NME> encapsulated_helper_spec.rb
<BEF> ADDFILE
<MSG> Merge pull request #257 from afn/no-params
#256 avoiding call to params in EncapsulatedHelper
<DFF> @@ -0,0 +1,24 @@
+require 'spec_helper'
+
+describe Split::EncapsulatedHelper do
+ include Split::EncapsulatedHelper
+
+ before do
+ @persistence_adapter = Spli... | 24 | Merge pull request #257 from afn/no-params | 0 | .rb | rb | mit | splitrb/split |
10072206 | <NME> encapsulated_helper_spec.rb
<BEF> ADDFILE
<MSG> Merge pull request #257 from afn/no-params
#256 avoiding call to params in EncapsulatedHelper
<DFF> @@ -0,0 +1,24 @@
+require 'spec_helper'
+
+describe Split::EncapsulatedHelper do
+ include Split::EncapsulatedHelper
+
+ before do
+ @persistence_adapter = Spli... | 24 | Merge pull request #257 from afn/no-params | 0 | .rb | rb | mit | splitrb/split |
10072207 | <NME> encapsulated_helper_spec.rb
<BEF> ADDFILE
<MSG> Merge pull request #257 from afn/no-params
#256 avoiding call to params in EncapsulatedHelper
<DFF> @@ -0,0 +1,24 @@
+require 'spec_helper'
+
+describe Split::EncapsulatedHelper do
+ include Split::EncapsulatedHelper
+
+ before do
+ @persistence_adapter = Spli... | 24 | Merge pull request #257 from afn/no-params | 0 | .rb | rb | mit | splitrb/split |
10072208 | <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... | 36 | Revert the Trial#complete! public API to support noargs. Also support passing Goals and a single goal | 0 | .rb | rb | mit | splitrb/split |
10072209 | <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... | 36 | Revert the Trial#complete! public API to support noargs. Also support passing Goals and a single goal | 0 | .rb | rb | mit | splitrb/split |
10072210 | <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... | 36 | Revert the Trial#complete! public API to support noargs. Also support passing Goals and a single goal | 0 | .rb | rb | mit | splitrb/split |
10072211 | <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... | 20 | a few more specs. | 1 | .rb | rb | mit | splitrb/split |
10072212 | <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... | 20 | a few more specs. | 1 | .rb | rb | mit | splitrb/split |
10072213 | <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... | 20 | a few more specs. | 1 | .rb | rb | mit | splitrb/split |
10072214 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import pug from '../src/markup/format/pug';
import parse from '../src/markup';
import createConfig from '../src/config';
import { OutputProfileOptions } from '../src/OutputPr... | 41 | Refactored indent-based formatter | 0 | .ts | ts | mit | emmetio/emmet |
10072215 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import pug from '../src/markup/format/pug';
import parse from '../src/markup';
import createConfig from '../src/config';
import { OutputProfileOptions } from '../src/OutputPr... | 41 | Refactored indent-based formatter | 0 | .ts | ts | mit | emmetio/emmet |
10072216 | <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 #211 from iangreenleaf/simplify_goals_spec | 7 | .rb | rb | mit | splitrb/split |
10072217 | <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 #211 from iangreenleaf/simplify_goals_spec | 7 | .rb | rb | mit | splitrb/split |
10072218 | <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 #211 from iangreenleaf/simplify_goals_spec | 7 | .rb | rb | mit | splitrb/split |
10072219 | <NME> version.rb
<BEF> module Split
VERSION = "0.4.5"
end
<MSG> extracted version into separate constants
<DFF> @@ -1,3 +1,6 @@
module Split
- VERSION = "0.4.5"
+ MAJOR = 0
+ MINOR = 4
+ TINY = 5
+ VERSION = [MAJOR, MINOR, TINY].join('.')
end
| 4 | extracted version into separate constants | 1 | .rb | rb | mit | splitrb/split |
10072220 | <NME> version.rb
<BEF> module Split
VERSION = "0.4.5"
end
<MSG> extracted version into separate constants
<DFF> @@ -1,3 +1,6 @@
module Split
- VERSION = "0.4.5"
+ MAJOR = 0
+ MINOR = 4
+ TINY = 5
+ VERSION = [MAJOR, MINOR, TINY].join('.')
end
| 4 | extracted version into separate constants | 1 | .rb | rb | mit | splitrb/split |
10072221 | <NME> version.rb
<BEF> module Split
VERSION = "0.4.5"
end
<MSG> extracted version into separate constants
<DFF> @@ -1,3 +1,6 @@
module Split
- VERSION = "0.4.5"
+ MAJOR = 0
+ MINOR = 4
+ TINY = 5
+ VERSION = [MAJOR, MINOR, TINY].join('.')
end
| 4 | extracted version into separate constants | 1 | .rb | rb | mit | splitrb/split |
10072222 | <NME> webpack.config.js
<BEF> var path = require('path');
var webpack = require('webpack');
var VERSION = require('./package.json').version;
var banner =
'/*!\n' +
' * Semantic-UI AngularJS integration\n' +
' * https://github.com/semantic-org/semantic-ui-angular\n' +
' * @license MIT\n' +
' * v' + VERSION + ... | 2 | chore(project): Add jscs support | 1 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |
10072223 | <NME> webpack.config.js
<BEF> var path = require('path');
var webpack = require('webpack');
var VERSION = require('./package.json').version;
var banner =
'/*!\n' +
' * Semantic-UI AngularJS integration\n' +
' * https://github.com/semantic-org/semantic-ui-angular\n' +
' * @license MIT\n' +
' * v' + VERSION + ... | 2 | chore(project): Add jscs support | 1 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |
10072224 | <NME> webpack.config.js
<BEF> var path = require('path');
var webpack = require('webpack');
var VERSION = require('./package.json').version;
var banner =
'/*!\n' +
' * Semantic-UI AngularJS integration\n' +
' * https://github.com/semantic-org/semantic-ui-angular\n' +
' * @license MIT\n' +
' * v' + VERSION + ... | 2 | chore(project): Add jscs support | 1 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |
10072225 | <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';
type: 'stylesheet',
options: {
'output.field': (index, placeholder) => `\${${index}${... | 93 | More CSS resolver unit tests and fixes | 32 | .ts | ts | mit | emmetio/emmet |
10072226 | <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';
type: 'stylesheet',
options: {
'output.field': (index, placeholder) => `\${${index}${... | 93 | More CSS resolver unit tests and fixes | 32 | .ts | ts | mit | emmetio/emmet |
10072227 | <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... | 4 | Update more rspec old style .should calls | 4 | .rb | rb | mit | splitrb/split |
10072228 | <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... | 4 | Update more rspec old style .should calls | 4 | .rb | rb | mit | splitrb/split |
10072229 | <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... | 4 | Update more rspec old style .should calls | 4 | .rb | rb | mit | splitrb/split |
10072230 | <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... | 7 | Merge pull request #329 from nfm/fix-winning-alternative-caching | 0 | .rb | rb | mit | splitrb/split |
10072231 | <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... | 7 | Merge pull request #329 from nfm/fix-winning-alternative-caching | 0 | .rb | rb | mit | splitrb/split |
10072232 | <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... | 7 | Merge pull request #329 from nfm/fix-winning-alternative-caching | 0 | .rb | rb | mit | splitrb/split |
10072233 | <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;
}
... | 2 | Better indentation and snippet handling | 0 | .ts | ts | mit | emmetio/emmet |
10072234 | <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;
}
... | 2 | Better indentation and snippet handling | 0 | .ts | ts | mit | emmetio/emmet |
10072235 | <NME> _experiment.erb
<BEF> <% unless goal.nil? %>
<% experiment_class = "experiment experiment_with_goal" %>
<% else %>
<% experiment_class = "experiment" %>
<% end %>
<% experiment.calc_winning_alternatives %>
<%
extra_columns = []
experiment.alternatives.each do |alternative|
extra_info = alternative.ex... | 1 | Merge pull request #265 from TrackIF/escape-experiment-names | 1 | .erb | erb | mit | splitrb/split |
10072236 | <NME> _experiment.erb
<BEF> <% unless goal.nil? %>
<% experiment_class = "experiment experiment_with_goal" %>
<% else %>
<% experiment_class = "experiment" %>
<% end %>
<% experiment.calc_winning_alternatives %>
<%
extra_columns = []
experiment.alternatives.each do |alternative|
extra_info = alternative.ex... | 1 | Merge pull request #265 from TrackIF/escape-experiment-names | 1 | .erb | erb | mit | splitrb/split |
10072237 | <NME> _experiment.erb
<BEF> <% unless goal.nil? %>
<% experiment_class = "experiment experiment_with_goal" %>
<% else %>
<% experiment_class = "experiment" %>
<% end %>
<% experiment.calc_winning_alternatives %>
<%
extra_columns = []
experiment.alternatives.each do |alternative|
extra_info = alternative.ex... | 1 | Merge pull request #265 from TrackIF/escape-experiment-names | 1 | .erb | erb | mit | splitrb/split |
10072238 | <NME> FUNDING.yml
<BEF> ADDFILE
<MSG> Create FUNDING.yml
<DFF> @@ -0,0 +1,12 @@
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: # Replace with a single Patreon username
+open_collective: emmet
+ko_fi: # Replace with a sing... | 12 | Create FUNDING.yml | 0 | .yml | github/FUNDING | mit | emmetio/emmet |
10072239 | <NME> FUNDING.yml
<BEF> ADDFILE
<MSG> Create FUNDING.yml
<DFF> @@ -0,0 +1,12 @@
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: # Replace with a single Patreon username
+open_collective: emmet
+ko_fi: # Replace with a sing... | 12 | Create FUNDING.yml | 0 | .yml | github/FUNDING | mit | emmetio/emmet |
10072240 | <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... | 9 | Merge pull request #66 from philnash/philnash/fix-crazy-version-numbers | 0 | .rb | rb | mit | splitrb/split |
10072241 | <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... | 9 | Merge pull request #66 from philnash/philnash/fix-crazy-version-numbers | 0 | .rb | rb | mit | splitrb/split |
10072242 | <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... | 9 | Merge pull request #66 from philnash/philnash/fix-crazy-version-numbers | 0 | .rb | rb | mit | splitrb/split |
10072243 | <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';
// 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... | 7 | Added group option, sends meow to specific container | 1 | .js | meow | mit | zacstewart/Meow |
10072247 | <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... | 7 | Added group option, sends meow to specific container | 1 | .js | meow | mit | zacstewart/Meow |
10072248 | <NME> webpack.config.js
<BEF> var path = require('path');
var webpack = require('webpack');
module.exports = {
context: path.resolve('src'),
devtool: "source-map",
entry: {
'semantic-ui-angular': './index',
'semantic-ui-angular.min': './index'
},
output: {
path: path.resolve('dist'),
filename... | 13 | chore(webpack): Create base webpack.config.js file | 2 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |
10072249 | <NME> webpack.config.js
<BEF> var path = require('path');
var webpack = require('webpack');
module.exports = {
context: path.resolve('src'),
devtool: "source-map",
entry: {
'semantic-ui-angular': './index',
'semantic-ui-angular.min': './index'
},
output: {
path: path.resolve('dist'),
filename... | 13 | chore(webpack): Create base webpack.config.js file | 2 | .js | config | mit | Semantic-Org/Semantic-UI-Angular |