hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
83b463cc784a71456d312bce5ed4cf8567dd858d | diff --git a/src/docs/formatter.js b/src/docs/formatter.js
index <HASH>..<HASH> 100644
--- a/src/docs/formatter.js
+++ b/src/docs/formatter.js
@@ -27,6 +27,17 @@ function format(docfile) {
var fqn = tagValues.fqn !== ''? tagValues.fqn: name;
name = tagValues.name !== ''? tagValues.name: name
+ javadoc.fi... | + check for fqn duplication | mchalapuk_hyper-text-slider | train | js |
d32ba9915fafe87d81def4851038ae9c0730f9a8 | diff --git a/lib/chartkick.rb b/lib/chartkick.rb
index <HASH>..<HASH> 100644
--- a/lib/chartkick.rb
+++ b/lib/chartkick.rb
@@ -5,7 +5,7 @@ require "chartkick/version"
require "chartkick/engine" if defined?(Rails)
require "chartkick/sinatra" if defined?(Sinatra)
-if defined?(ActiveSupport)
+if defined?(ActiveSupport... | Prevent exception with semi-loaded ActiveSupport. (#<I>)
Certain gems (eg `sinatra/contrib`) load only those parts of
ActiveSupport they require. This leads to `ActiveSupport` being defined,
but other parts (eg the `on_load`) method not. | ankane_chartkick | train | rb |
cdedd37f1b5ec3f009355928ea3b951775a43490 | diff --git a/test/keep-alive.js b/test/keep-alive.js
index <HASH>..<HASH> 100644
--- a/test/keep-alive.js
+++ b/test/keep-alive.js
@@ -57,15 +57,15 @@ test('supports keep alive disconnections after a pingreq', function (t) {
test('disconnect if a connect does not arrive in time', function (t) {
t.plan(2)
- t.tim... | Extend timeout for TravisCI slowness (#<I>) | mcollina_aedes | train | js |
036cd14ca17d1520e39030a6a0ce7c85ff546922 | diff --git a/Menu/YamlMenuLoader.php b/Menu/YamlMenuLoader.php
index <HASH>..<HASH> 100644
--- a/Menu/YamlMenuLoader.php
+++ b/Menu/YamlMenuLoader.php
@@ -100,7 +100,7 @@ class YamlMenuLoader extends AbstractMenuLoader implements MenuLoaderInterface
$menus = Yaml::parse(file_get_contents($this->kernel->locateR... | bugfix: menu cache is not handling properly | SymfonyId_SymfonyIdAdminBundle | train | php |
66cf09e0ca447c572a7485a4d35b273d02a480c4 | diff --git a/src/Core/Content/Test/Media/ORM/MediaRepositoryTest.php b/src/Core/Content/Test/Media/ORM/MediaRepositoryTest.php
index <HASH>..<HASH> 100644
--- a/src/Core/Content/Test/Media/ORM/MediaRepositoryTest.php
+++ b/src/Core/Content/Test/Media/ORM/MediaRepositoryTest.php
@@ -7,7 +7,7 @@ use Shopware\Core\Content... | Remove occurrence of ORM namespace in MediaRepositoryTest | shopware_platform | train | php |
e56e0bf915d75398b63ad527d6b0fb6160d63a64 | diff --git a/src/ConfigServiceProvider.php b/src/ConfigServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/ConfigServiceProvider.php
+++ b/src/ConfigServiceProvider.php
@@ -2,8 +2,8 @@
namespace Lokhman\Silex\Config;
-use Silex\ServiceProviderInterface;
-use Silex\Application;
+use Pimple\Container;
+use Pim... | Make compatible with Pimple <I> and Silex <I> | lokhman_silex-config | train | php |
9b23678077c27a45f261f2eb85751d2d81438c35 | diff --git a/tests/Tala/Billing/CardSave/GatewayTest.php b/tests/Tala/Billing/CardSave/GatewayTest.php
index <HASH>..<HASH> 100644
--- a/tests/Tala/Billing/CardSave/GatewayTest.php
+++ b/tests/Tala/Billing/CardSave/GatewayTest.php
@@ -22,10 +22,7 @@ class GatewayTest extends \PHPUnit_Framework_TestCase
$this->... | Move default gateway dependencies to factory class | thephpleague_omnipay-cardsave | train | php |
ce8a3ac3e0b366d8cf65c8a195d95c43cbae9a0c | diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_settings.rb b/elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_settings.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_settings.rb
+++ b/elasticsearch-api/lib/elasticsearch/api/actions/c... | [API] Added the `include_defaults` option to the "Get Cluster Settings" API | elastic_elasticsearch-ruby | train | rb |
cb0ff041004d07e7ab1723c11ccbb03371447146 | diff --git a/common/models/traits/TagTrait.php b/common/models/traits/TagTrait.php
index <HASH>..<HASH> 100755
--- a/common/models/traits/TagTrait.php
+++ b/common/models/traits/TagTrait.php
@@ -63,18 +63,27 @@ trait TagTrait {
return $tagsList;
}
- public function getTagNameList() {
+ public function getTagName... | Added active support in method getTagNameList(). | cmsgears_module-core | train | php |
2009a51e1ebeda8d1bdec29ef0d738fb2faa83ec | diff --git a/tasks/jasmine-chromeapp.js b/tasks/jasmine-chromeapp.js
index <HASH>..<HASH> 100644
--- a/tasks/jasmine-chromeapp.js
+++ b/tasks/jasmine-chromeapp.js
@@ -108,14 +108,18 @@ module.exports = function (grunt) {
function startChrome(ctx, next) {
grunt.log.write('Starting Chrome...');
ctx.onMessage... | don't include --no-startup-window on linux | willscott_grunt-jasmine-chromeapp | train | js |
5e6be2f6e836680d4ded5be1a6cc7c7272261680 | diff --git a/sequences/test_settings.py b/sequences/test_settings.py
index <HASH>..<HASH> 100644
--- a/sequences/test_settings.py
+++ b/sequences/test_settings.py
@@ -12,3 +12,5 @@ DATABASES = {
INSTALLED_APPS = ['sequences']
SECRET_KEY = 'whatever'
+
+ROOT_URLCONF = [] | Make test_settings usable with django-admin.
Django chokes when ROOT_URLCONF isn't defined. | aaugustin_django-sequences | train | py |
fd47b60ab24f296bcf88a9ab6eab7a17c11e7e72 | diff --git a/syn/python/b/base.py b/syn/python/b/base.py
index <HASH>..<HASH> 100644
--- a/syn/python/b/base.py
+++ b/syn/python/b/base.py
@@ -409,15 +409,26 @@ class ProgN(Special):
return ret
def value(self, **kwargs):
- from .statements import Assign
- for child in reversed(self._childr... | Working on making ProgN more correct | mbodenhamer_syn | train | py |
2e01d5d26edffef15e9ca0b6d3562d4c2105c7a1 | diff --git a/python/ray/util/client/worker.py b/python/ray/util/client/worker.py
index <HASH>..<HASH> 100644
--- a/python/ray/util/client/worker.py
+++ b/python/ray/util/client/worker.py
@@ -172,7 +172,11 @@ class Worker:
except grpc.RpcError as e:
raise e.details()
if not data.valid:
- ... | Report failed deserialization of errors in Ray client | ray-project_ray | train | py |
d9092f9ad0ccb6c2eee2f8508153401bb8a92cc0 | diff --git a/lib/stateManager.js b/lib/stateManager.js
index <HASH>..<HASH> 100644
--- a/lib/stateManager.js
+++ b/lib/stateManager.js
@@ -124,7 +124,6 @@ proto._lookupStorageTrie = function (address, cb) {
}
var storageTrie = self.trie.copy()
storageTrie.root = account.stateRoot
- self.touched.push(a... | remove redundant push to stateManager.touched | ethereumjs_ethereumjs-vm | train | js |
c269b5db1c5f7ec094e085b37e755c46f26657cf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='frasco',
- version='2.5.2',
+ version='2.6.0',
url='http://github.com/frascoweb/frasco',
license='MIT',
author='Maxime Bouroume... | removed jsmin and cssmin as dependencies | frascoweb_frasco | train | py |
555cfe55766fc383835741f1aab7d03265bfee7e | diff --git a/lib/i18n.rb b/lib/i18n.rb
index <HASH>..<HASH> 100644
--- a/lib/i18n.rb
+++ b/lib/i18n.rb
@@ -268,7 +268,7 @@ module I18n
# "ö" => "oe"
# }
# }
- # )
+ # })
#
# Setting a Proc:
# | Fix typo: function is missing closing parenthesis
Fixes typo for 'store_translations' function - issue #<I> | ruby-i18n_i18n | train | rb |
fc5d6e068e59d6f0648087db509b7c2319507a26 | diff --git a/pointer/smudge.go b/pointer/smudge.go
index <HASH>..<HASH> 100644
--- a/pointer/smudge.go
+++ b/pointer/smudge.go
@@ -49,7 +49,7 @@ func downloadFile(writer io.Writer, ptr *Pointer, mediafile string, cb gitmedia.
}
_, err = gitmedia.CopyWithCallback(mediaFile, reader, ptr.Size, cb)
- if err != nil {
... | Fix reversed logic in error handling, call Accept | git-lfs_git-lfs | train | go |
1915771cf5abd740ce46642af83cfcebeb8e360a | diff --git a/packages/theme-data/src/baseTheme/components/toggle.js b/packages/theme-data/src/baseTheme/components/toggle.js
index <HASH>..<HASH> 100644
--- a/packages/theme-data/src/baseTheme/components/toggle.js
+++ b/packages/theme-data/src/baseTheme/components/toggle.js
@@ -72,7 +72,7 @@ export default {
"toggle... | feat: toggle background color updated
Updated to surface level <I> | Autodesk_hig | train | js |
b48984a4051b9adf43211af10a4c74309ec01376 | diff --git a/core/src/main/java/org/commonjava/aprox/core/expire/AproxScheduleListener.java b/core/src/main/java/org/commonjava/aprox/core/expire/AproxScheduleListener.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/commonjava/aprox/core/expire/AproxScheduleListener.java
+++ b/core/src/main/java/org/commo... | Avoid potential NPE
in case when the trigger is not found by scheduler by the triggerKey. | Commonjava_indy | train | java |
aa225b8605709e1320b7e9b6b8c148bc725abfd1 | diff --git a/elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/saturation/conclusions/ConclusionSourceUnsaturationVisitor.java b/elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/saturation/conclusions/ConclusionSourceUnsaturationVisitor.java
index <HASH>..<HASH> 100644
--- a/elk-reasoner/src/main/java/org/... | renaming engine_ -> writer_ | liveontologies_elk-reasoner | train | java |
76a1a2667a9b7260ef029ff817723a67718e21fa | diff --git a/cslbot/commands/grep.py b/cslbot/commands/grep.py
index <HASH>..<HASH> 100644
--- a/cslbot/commands/grep.py
+++ b/cslbot/commands/grep.py
@@ -21,7 +21,7 @@ from ..helpers.orm import Log
from ..helpers.misc import escape
-@Command(['grep', 'loggrep'], ['config', 'db'])
+@Command(['grep', 'loggrep'], ['... | fwilson is literally terrible | tjcsl_cslbot | train | py |
2d2f9ab04d8d6964df99762f73d329b0e5e57d8a | diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb
index <HASH>..<HASH> 100755
--- a/lib/puppet/node/facts.rb
+++ b/lib/puppet/node/facts.rb
@@ -54,6 +54,14 @@ class Puppet::Node::Facts
strip_internal == other.send(:strip_internal)
end
+ def timestamp=(time)
+ self.values[:_timestamp] = time... | Maint: backport timestamp accessor for facts from <I> branch | puppetlabs_puppet | train | rb |
518ef68a53698f4f1986e21c55e819cfc5da7ae0 | diff --git a/helpers/postgresql.py b/helpers/postgresql.py
index <HASH>..<HASH> 100644
--- a/helpers/postgresql.py
+++ b/helpers/postgresql.py
@@ -17,15 +17,19 @@ logger = logging.getLogger(__name__)
def parseurl(url):
r = urlparse(url)
- return {
+ ret = {
'host': r.hostname,
'port': r.... | Use connect_timeout=3s and statement_timeout=2s everywhere (even for local connections) | zalando_patroni | train | py |
f4b5db36dd3ed8d975636010f82ffe97df98cd91 | diff --git a/uportal-impl/src/main/java/org/jasig/portal/LoginServlet.java b/uportal-impl/src/main/java/org/jasig/portal/LoginServlet.java
index <HASH>..<HASH> 100644
--- a/uportal-impl/src/main/java/org/jasig/portal/LoginServlet.java
+++ b/uportal-impl/src/main/java/org/jasig/portal/LoginServlet.java
@@ -206,7 +206,14... | UP-<I> Don't trim password parameters, since users may legitimately have a password with a leading or trailing space.
git-svn-id: <URL> | Jasig_uPortal | train | java |
3a7146c77bfb88d8e1eacf7c90e93339f807b40c | diff --git a/src/crypto/olmlib.js b/src/crypto/olmlib.js
index <HASH>..<HASH> 100644
--- a/src/crypto/olmlib.js
+++ b/src/crypto/olmlib.js
@@ -295,9 +295,13 @@ export async function ensureOlmSessionsForDevices(
// timeout on this request, let's first log whether that's the root
// cause we're seeing in practi... | Only log claim timeouts when a time was provided
This avoids logging immediately on various code paths (including tests) where no
timeout value is supplied. | matrix-org_matrix-js-sdk | train | js |
d579fbbaeda07c07e34e4bb0aecb33382ae597c4 | diff --git a/addon/-private/data-view/utils/object-at.js b/addon/-private/data-view/utils/object-at.js
index <HASH>..<HASH> 100644
--- a/addon/-private/data-view/utils/object-at.js
+++ b/addon/-private/data-view/utils/object-at.js
@@ -1,10 +1,7 @@
-import Ember from 'ember';
import { assert } from 'vertical-collection... | bugfix(assert): Makes objectAt less restrictive (#<I>) | html-next_vertical-collection | train | js |
8b36fcc89356f4bcf5e98d7d53b2393144921030 | diff --git a/invenio_accounts/context_processors/jwt.py b/invenio_accounts/context_processors/jwt.py
index <HASH>..<HASH> 100644
--- a/invenio_accounts/context_processors/jwt.py
+++ b/invenio_accounts/context_processors/jwt.py
@@ -9,7 +9,7 @@
"""JWT context processors."""
from flask import current_app, render_templ... | dependencies: fix markup removal from jinja2 | inveniosoftware_invenio-accounts | train | py,py |
ee69d67ac4b9d5b5722eb168ca3ed48ed6256cc3 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,10 @@
+require 'simplecov'
require 'coveralls'
-Coveralls.wear!
+
+SimpleCov.formatter = Coveralls::SimpleCov::Formatter
+SimpleCov.start do
+ add_filter '/spec/'
+end
r... | (#<I>) Exclude specs from the overall Coveralls coverage metric. | shantytown_shanty | train | rb |
24085bba0ee197c1bf16ebefd243df7e7b3492c5 | diff --git a/stdeb/util.py b/stdeb/util.py
index <HASH>..<HASH> 100644
--- a/stdeb/util.py
+++ b/stdeb/util.py
@@ -165,7 +165,6 @@ def recursive_hardlink(src,dst):
def debianize_name(name):
"make name acceptable as a Debian (binary) package name"
name = name.replace('_','')
- name = name.replace('.','-')
... | don't change dots to dashes in debian package names
This was suggested by Barry Warsaw in Python issue <I>. | astraw_stdeb | train | py |
99e84f95d4aea7b4b164b9bf8805794fd23f91ee | diff --git a/test/fakefs_test.rb b/test/fakefs_test.rb
index <HASH>..<HASH> 100644
--- a/test/fakefs_test.rb
+++ b/test/fakefs_test.rb
@@ -1292,6 +1292,8 @@ class FakeFSTest < Test::Unit::TestCase
Dir.chdir('/path')
FileSystem.clone(here('subdir'), "/foo")
assert Dir.glob "/foo/*"
+ ensure
+ act_on_r... | cleanup subdir in test when acting on real fs (references <I>bcb8dad<I>b0f9ce<I>d7f<I>fcd<I>a<I>b3) | fakefs_fakefs | train | rb |
916728d8907ab7b41ae04b8b96a39e7bde50f1d1 | diff --git a/lib/conf/tasks/os/windows.js b/lib/conf/tasks/os/windows.js
index <HASH>..<HASH> 100755
--- a/lib/conf/tasks/os/windows.js
+++ b/lib/conf/tasks/os/windows.js
@@ -24,7 +24,7 @@ function remove_firewall_rules(cb) {
var done = function(err) {
if (err) last_error = err;
- --count || cb(err);
+ ... | On second thought, don't let any errors stop the activate process. | prey_prey-node-client | train | js |
3a97f626c17d262e26bf85fdd41bdf501c5b2f65 | diff --git a/classes/PodsUI.php b/classes/PodsUI.php
index <HASH>..<HASH> 100644
--- a/classes/PodsUI.php
+++ b/classes/PodsUI.php
@@ -3668,6 +3668,8 @@ class PodsUI {
if ( isset( $this->restrict[ $action ] ) )
$restrict = (array) $this->restrict[ $action ];
+ pods_debug( $action );
+
... | Fix issue with an embedded get_data call, needs to work slightly differently; for #<I> | pods-framework_pods | train | php |
46d023b77a7183fef0c317405ea6fde1fde67df4 | diff --git a/repository/lib.php b/repository/lib.php
index <HASH>..<HASH> 100644
--- a/repository/lib.php
+++ b/repository/lib.php
@@ -1153,14 +1153,6 @@ abstract class repository implements cacheable_object {
return false;
}
- $pname = null;
- if (is_object($plugin) || is_array($p... | MDL-<I> Repository: $pname, get rid of all the useless code
More details in the Tracker. | moodle_moodle | train | php |
eea6bcffd7c9bae56eef7f5ad5c4febfdf409dd9 | diff --git a/src/Factory.php b/src/Factory.php
index <HASH>..<HASH> 100644
--- a/src/Factory.php
+++ b/src/Factory.php
@@ -80,6 +80,7 @@ class Factory
* @param string $id - Instance ID.
* @param string|CacheProvider $typeOrInstance - Instance type.
* @param array ... | Allow to re-create a cache instance. | ironedgesoftware_cache | train | php |
d4b931a16d59300f2fffafa3d46a5575791d04eb | diff --git a/lib/rules/structure/canonical.js b/lib/rules/structure/canonical.js
index <HASH>..<HASH> 100644
--- a/lib/rules/structure/canonical.js
+++ b/lib/rules/structure/canonical.js
@@ -15,7 +15,7 @@ exports.check = function (sr, done) {
// See https://lists.w3.org/Archives/Public/spec-prod/2017JulSep/0005.ht... | canonical: do nothing before <I>-<I>-<I> | w3c_specberus | train | js |
c5a1c33ed5383671974bf862964c7c279e394c60 | diff --git a/lib/rfd.rb b/lib/rfd.rb
index <HASH>..<HASH> 100644
--- a/lib/rfd.rb
+++ b/lib/rfd.rb
@@ -427,7 +427,7 @@ module Rfd
end
def toggle_mark
- mvwaddstr @row % maxy, 0, current_item.toggle_mark unless %w(. ..).include? current_item.name
+ mvwaddstr @row % maxy, 0, current_item.current_mar... | Separate toggling mark action and mark expression | amatsuda_rfd | train | rb,rb |
fddb34b91ce65be04cc637aeb41ab5ef35b7f7ed | diff --git a/framework/db/Command.php b/framework/db/Command.php
index <HASH>..<HASH> 100644
--- a/framework/db/Command.php
+++ b/framework/db/Command.php
@@ -472,6 +472,13 @@ class Command extends Component
* $connection->createCommand()->update('user', ['status' => 1], 'age > 30')->execute();
* ```
... | added param binding examples for update() and delete()
fixes #<I> | yiisoft_yii2 | train | php |
64845dd10c553b262c169df8da0697f48f8cff30 | diff --git a/js/freeboard/PluginEditor.js b/js/freeboard/PluginEditor.js
index <HASH>..<HASH> 100644
--- a/js/freeboard/PluginEditor.js
+++ b/js/freeboard/PluginEditor.js
@@ -328,12 +328,12 @@ PluginEditor = function(jsEditor, valueEditor)
if(settingDef.required && (_.isUndefined(newSettings.settings[settingDef.... | Fixed a reference to a function that didn't exist | Freeboard_freeboard | train | js |
f458d1235a7f6304f9a96b0b617ba3e1795724d9 | diff --git a/lib/travis/model/log.rb b/lib/travis/model/log.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/log.rb
+++ b/lib/travis/model/log.rb
@@ -40,7 +40,7 @@ class Log < Travis::Model
update_column(:aggregated_at, nil) # TODO why in the world does update_attributes not set aggregated_at to nil?
upd... | Optimize query that is done for clearing log parts
parts.delete_all will first fetch every log part and then do a delete
query for each log part that is retrieved, while
Log::Part.where().delete_all will run a single query to delete every log
part. delete_all does mean that the callbacks are bypassed, but that was
the... | travis-ci_travis-core | train | rb |
775cc7f79a4dbfe0999db573c0638f515b4433b1 | diff --git a/src/stylemark.js b/src/stylemark.js
index <HASH>..<HASH> 100644
--- a/src/stylemark.js
+++ b/src/stylemark.js
@@ -33,7 +33,7 @@ function generate(params) {
options.output = output;
options.match = options.match || defaultMatchExtensions;
options.excludeDir = defaultExcludeDirectories.concat(options.e... | Use root path of config file, not cwd, as the base path | nextbigsoundinc_stylemark | train | js |
ff819d3e5f542f4ecc7a1488d46170f9aaffa1ea | diff --git a/form/form.py b/form/form.py
index <HASH>..<HASH> 100644
--- a/form/form.py
+++ b/form/form.py
@@ -264,7 +264,7 @@ class FormLink(object):
preprocessor variables ("`VAR'"). Note that the communication from FORM
is done in the preprocessor of FORM (i.e., at compile-time), so one may
... | Change FormLink.read() to return a list for multiple results | tueda_python-form | train | py,py |
e1f0b3f9d29e2ce838e3ae7b189644bee247a173 | diff --git a/test/ios-install.js b/test/ios-install.js
index <HASH>..<HASH> 100644
--- a/test/ios-install.js
+++ b/test/ios-install.js
@@ -28,6 +28,7 @@ function moveProjFile(origFile, callback) {
function unlinkIfThere(filepath, cb) {
fs.stat(filepath, function (err, stat) {
if (err) {
+ cb(n... | [test] fixing async problem | apache_cordova-plugman | train | js |
ebc158193ef014a389393fdcb27c4a9062eebd6b | diff --git a/provider/k8s/k8s_discover.go b/provider/k8s/k8s_discover.go
index <HASH>..<HASH> 100644
--- a/provider/k8s/k8s_discover.go
+++ b/provider/k8s/k8s_discover.go
@@ -23,7 +23,7 @@ import (
const (
// AnnotationKeyPort is the annotation name of the field that specifies
// the port name or number to append ... | provider/k8s: change the annotation to be more accurate to style | hashicorp_go-discover | train | go |
2c3e38544388513a341de8aca8e539a45c110813 | diff --git a/tests/tests.js b/tests/tests.js
index <HASH>..<HASH> 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -101,7 +101,7 @@
}
// If $SPLUNK_HOME isn't set, abort the tests
- if (!process.env.hasOwnProperty("SPLUNK_HOME")) {
+ if (!Object.prototype.hasOwnProperty.call(process.env, "SPLUNK_HO... | Fix test script to work w/ node <I>.x
Apparently process.env doesn't have the
hasOwnProperty method, so we need to
invoke it from Object.prototype instead. | splunk_splunk-sdk-javascript | train | js |
737813b9f03fa4f554702bce17bb08884d835ce2 | diff --git a/aeron-archiver/src/test/java/io/aeron/archiver/workloads/ArchiveRecordingLoadTest.java b/aeron-archiver/src/test/java/io/aeron/archiver/workloads/ArchiveRecordingLoadTest.java
index <HASH>..<HASH> 100644
--- a/aeron-archiver/src/test/java/io/aeron/archiver/workloads/ArchiveRecordingLoadTest.java
+++ b/aero... | [Java] Reduce test duration. | real-logic_aeron | train | java |
da4651d93fe935ba2a54920332329aa4881eee5c | diff --git a/lib/sqlite3.js b/lib/sqlite3.js
index <HASH>..<HASH> 100644
--- a/lib/sqlite3.js
+++ b/lib/sqlite3.js
@@ -335,6 +335,9 @@ function buildWhere(conds) {
case 'like':
sqlCond += ' LIKE ';
break;
+ case 'nlike':
+ ... | Adde NOT LIKE operator nlike to sqlite3 adapter | jugglingdb_sqlite3-adapter | train | js |
c090a0f862302b7abc29276eaecea0fb02f47390 | diff --git a/src/component.spec.js b/src/component.spec.js
index <HASH>..<HASH> 100644
--- a/src/component.spec.js
+++ b/src/component.spec.js
@@ -224,6 +224,24 @@ describe('Component', () => {
})
})
+ it('should trigger a callback from rendering a store property', () => {
+ const callback = sinon.stub()
... | Add unit test to trigger component callbacks | Intai_bdux | train | js |
ed8c96f42b8921730c1c3174dd3def4b77c6ff9a | diff --git a/multiqc/modules/fastqc/fastqc.py b/multiqc/modules/fastqc/fastqc.py
index <HASH>..<HASH> 100755
--- a/multiqc/modules/fastqc/fastqc.py
+++ b/multiqc/modules/fastqc/fastqc.py
@@ -571,7 +571,7 @@ class MultiqcModule(BaseMultiqcModule):
log.debug("Couldn't add data for {}, invalid Key".format... | changed plot id, to avoid collision | ewels_MultiQC | train | py |
136d55b57ec79d1a9630f225b9003204dded1f1f | diff --git a/core/settings/__init__.py b/core/settings/__init__.py
index <HASH>..<HASH> 100644
--- a/core/settings/__init__.py
+++ b/core/settings/__init__.py
@@ -161,7 +161,7 @@ INSTALLED_APPS = (
'south',
'crispy_forms',
'custom_user',
- 'stronghold'
+ 'stronghold',
'accounts',
'hosts',... | Resolved error with installed apps list missing comma. | fabric-bolt_fabric-bolt | train | py |
5c49d87b2a44976e9031c1f4f9fd2055d1c6acb3 | diff --git a/squad/frontend/group_settings.py b/squad/frontend/group_settings.py
index <HASH>..<HASH> 100644
--- a/squad/frontend/group_settings.py
+++ b/squad/frontend/group_settings.py
@@ -75,6 +75,8 @@ class DeleteGroupView(GroupViewMixin, FormView):
return {'deletable': self.group}
def form_valid(se... | frontend: group_settings: avoid timeout deleting groups
This will force deleting projects prior to deleting groups.
Hopefully it will not timeout. | Linaro_squad | train | py |
4db11f785c158d1ff56c82572790cd1f4ae8830b | diff --git a/plank/inspector.py b/plank/inspector.py
index <HASH>..<HASH> 100644
--- a/plank/inspector.py
+++ b/plank/inspector.py
@@ -1,5 +1,6 @@
import importlib
import inspect
+from collections import OrderedDict
from .task import Task
@@ -21,7 +22,7 @@ class Inspector(object):
if not self.planks_mod... | Use ordered dict for storing tasks so they are ordered when listing | atbentley_plank | train | py |
f553a16e2e98f8ea437843e9d4579e8053393c30 | diff --git a/client/layout/guided-tours/main-tour.js b/client/layout/guided-tours/main-tour.js
index <HASH>..<HASH> 100644
--- a/client/layout/guided-tours/main-tour.js
+++ b/client/layout/guided-tours/main-tour.js
@@ -1,7 +1,13 @@
+/**
+ * External dependencies
+ */
import React from 'react';
import { translate } fr... | GuidedTours: add missing dependency comments | Automattic_wp-calypso | train | js,js |
22a3d98e7cdee524f81a441039b69481a4134d66 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -205,6 +205,7 @@ var start = function(opts, done) {
});
proc.on('error', done);
debug('forked proc with pid', proc.pid, bin, args);
+ debug('waiting for error or message from forked wo... | :zap: debugging | mongodb-js_runner | train | js |
ce2b797cb61301f3e8b7f21389baa112db7c1f90 | diff --git a/dciclient/v1/api/jobdefinition.py b/dciclient/v1/api/jobdefinition.py
index <HASH>..<HASH> 100644
--- a/dciclient/v1/api/jobdefinition.py
+++ b/dciclient/v1/api/jobdefinition.py
@@ -22,11 +22,13 @@ TABLE_HEADERS = ['id', 'name', 'priority', 'topic_id', 'active', 'comment',
'etag', 'create... | jobdefinition.create(): Allow user to specify active and comment
Currently, when a user uses the jobdefinition.create() method s/he can't
specify neither the active or comment parameter while the API accept
those parameters.
This commit fixes this and allow a user to specify active and comment
parameter during jobdef... | redhat-cip_python-dciclient | train | py |
c011064ff0e168f489322ee679837bf2115780e8 | diff --git a/tests/SerpFetcherTest.php b/tests/SerpFetcherTest.php
index <HASH>..<HASH> 100644
--- a/tests/SerpFetcherTest.php
+++ b/tests/SerpFetcherTest.php
@@ -434,8 +434,8 @@ class SerpFetcherTest extends PHPUnit_Framework_TestCase
$this->assertTrue($bingFetcher->cacheHit("http://www.bing.com/search?q=baz"... | Fix wrong yahooFetcher args. | franzip_serp-fetcher | train | php |
3e2585071d332c82481fc3f6a178efde2aa5d9bd | diff --git a/claripy/backends/backendremote.py b/claripy/backends/backendremote.py
index <HASH>..<HASH> 100644
--- a/claripy/backends/backendremote.py
+++ b/claripy/backends/backendremote.py
@@ -3,7 +3,10 @@ import time
from .solver_backend import SolverBackend
from .backend_z3 import BackendZ3
-from . import remot... | make BackendRemote (and its dependencies) optional | angr_claripy | train | py |
4e9996127a718c173e58f6a7b89a17068d263b05 | diff --git a/lib/dml/simpletest/testdml.php b/lib/dml/simpletest/testdml.php
index <HASH>..<HASH> 100755
--- a/lib/dml/simpletest/testdml.php
+++ b/lib/dml/simpletest/testdml.php
@@ -1585,6 +1585,20 @@ class dml_test extends UnitTestCase {
$this->assertEqual($newblob, $record->onebinary, 'Test "small" BLOB ins... | new test for diagnosing of Postgresql <I> problems with BLOBS | moodle_moodle | train | php |
35a6f6231e482936b7ef7e8fe3dfc790a7beb4ed | diff --git a/tests/extmod/utime_time_ns.py b/tests/extmod/utime_time_ns.py
index <HASH>..<HASH> 100644
--- a/tests/extmod/utime_time_ns.py
+++ b/tests/extmod/utime_time_ns.py
@@ -11,14 +11,14 @@ except (ImportError, AttributeError):
t0 = utime.time_ns()
-utime.sleep_us(1000)
+utime.sleep_us(5000)
t1 = utime.time_... | tests/extmod/utime_time_ns.py: Relax bounds on time_ns measurement.
Some devices have lower precision than 1ms for time_ns() (eg PYBv1.x has
<I>ms resolution of the RTC) so make the test more lenient for them. | micropython_micropython | train | py |
920d339a234879aa77403ff3a2166b8f5edc1b64 | diff --git a/src/OverlayMixin.js b/src/OverlayMixin.js
index <HASH>..<HASH> 100644
--- a/src/OverlayMixin.js
+++ b/src/OverlayMixin.js
@@ -13,9 +13,11 @@ export default = {
componentWillUnmount: function () {
this._unrenderOverlay();
- this.getContainerDOMNode()
- .removeChild(this._overlayTarget);
- ... | Bugfix for unmounting component with OverlayMixin
Should not try to .removeChild when the target div has not been created yet, browser throws NotFoundError. | react-bootstrap_react-bootstrap | train | js |
436f5656c65545fb15f9a19b007bbca310d4b922 | diff --git a/examples/plot_hmm_sampling.py b/examples/plot_hmm_sampling.py
index <HASH>..<HASH> 100644
--- a/examples/plot_hmm_sampling.py
+++ b/examples/plot_hmm_sampling.py
@@ -19,11 +19,11 @@ import matplotlib.pyplot as plt
from hmmlearn import hmm
##############################################################
-... | Update plot_hmm_sampling.py
Corrected some typos. | hmmlearn_hmmlearn | train | py |
47db9cb690c47569ea5e2ac9f78587281fa082d6 | diff --git a/src/discoursegraphs/readwrite/exmaralda.py b/src/discoursegraphs/readwrite/exmaralda.py
index <HASH>..<HASH> 100755
--- a/src/discoursegraphs/readwrite/exmaralda.py
+++ b/src/discoursegraphs/readwrite/exmaralda.py
@@ -151,14 +151,11 @@ class ExmaraldaFile(object):
if span_node_ids:
... | fixed #<I>: exmaralda now exports mmax:sentence events | arne-cl_discoursegraphs | train | py |
c038ab4cccc5fdd8dd45f5399e4808ac9e9cf7b5 | diff --git a/lxc-to-lxd/transfer.go b/lxc-to-lxd/transfer.go
index <HASH>..<HASH> 100644
--- a/lxc-to-lxd/transfer.go
+++ b/lxc-to-lxd/transfer.go
@@ -17,7 +17,7 @@ import (
"github.com/lxc/lxd/shared"
)
-// Send an rsync stream of a path over a websocket
+// Send an rsync stream of a path over a websocket.
func ... | lxc-to-lxd: Ends all comments with a full-stop. | lxc_lxd | train | go |
8cda55ab3f2a0983d5eba67f9addfeff06b82a32 | diff --git a/crosscat/LocalEngine.py b/crosscat/LocalEngine.py
index <HASH>..<HASH> 100644
--- a/crosscat/LocalEngine.py
+++ b/crosscat/LocalEngine.py
@@ -555,7 +555,7 @@ if __name__ == '__main__':
multi_state_mean_test_lls.append(ctu.calc_mean_test_log_likelihoods(M_c, T,
X_L_list, X_D_list, T_te... | BUGFIX: in __main__, update engine.analyze call | probcomp_crosscat | train | py |
213108bcdefa99fa5d7f855d1a39bf80ba237950 | diff --git a/core-bundle/src/Resources/contao/classes/DataContainer.php b/core-bundle/src/Resources/contao/classes/DataContainer.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/classes/DataContainer.php
+++ b/core-bundle/src/Resources/contao/classes/DataContainer.php
@@ -954,7 +954,7 @@ abstract ... | Fix an undefiend array key (see #<I>)
Description
-----------
This fixes the array key "href" being undefined<sup>1</sup> and throwing an ErrorException/Warning.
<sup>1</sup> This is the case when using the "route" param instead of the "href" param (see 3 lines above the change).
Issue introduced in #<I>.
Commits
... | contao_contao | train | php |
0987bd21696bdc4827bc8dcbb5db579dbcb9d99a | diff --git a/src/main/java/org/jfree/svg/SVGGraphics2D.java b/src/main/java/org/jfree/svg/SVGGraphics2D.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfree/svg/SVGGraphics2D.java
+++ b/src/main/java/org/jfree/svg/SVGGraphics2D.java
@@ -740,7 +740,7 @@ public final class SVGGraphics2D extends Graphics2D {
... | Use Math.ceil() for dimensions of GraphicsConfiguration (#<I>) | jfree_jfreesvg | train | java |
35a08ae0ed28b3ebb0a789b5db56221ba845f93a | diff --git a/language/setup.py b/language/setup.py
index <HASH>..<HASH> 100644
--- a/language/setup.py
+++ b/language/setup.py
@@ -55,7 +55,7 @@ REQUIREMENTS = [
setup(
name='google-cloud-language',
- version='0.23.0',
+ version='0.23.1',
description='Python Client for Google Cloud Natural Language',... | Bump language version. (#<I>) | googleapis_google-cloud-python | train | py |
7c9aa4be0f8a1eb6374fb3ed3ce3e2942a2754f6 | diff --git a/drivers/overlay/ov_network.go b/drivers/overlay/ov_network.go
index <HASH>..<HASH> 100644
--- a/drivers/overlay/ov_network.go
+++ b/drivers/overlay/ov_network.go
@@ -545,6 +545,12 @@ func (n *network) watchMiss(nlSock *nl.NetlinkSocket) {
if neigh.IP.To4() == nil {
continue
}
+
+ // Not any ... | Process only misses on IP belonging to network
If a miss notification arrives on a network's miss go routine currently
it is unconditionally processed. This is unnecessary and can be bad if
there are too many misses. This is especially true for hostmode. Fix
this by filtering out misses that doesn't belong to any of t... | docker_libnetwork | train | go |
0b2d3f6fe83906d2334bda1d0396e58fb4245648 | diff --git a/lib/renderers.js b/lib/renderers.js
index <HASH>..<HASH> 100755
--- a/lib/renderers.js
+++ b/lib/renderers.js
@@ -206,10 +206,12 @@ function createCompiler(source, type) {
return Bundler.fromFile(file, type).get;
else {
var fn
- if (source.template)
+ // Some templating engines (such as... | Renderers#createRenderer: switching preference to files first to facilitate relative imports | shippjs_shipp-server | train | js |
30cf16301f02148d6b1bfca02bc267a25fc94608 | diff --git a/components/old-browsers-message/old-browsers-message.js b/components/old-browsers-message/old-browsers-message.js
index <HASH>..<HASH> 100644
--- a/components/old-browsers-message/old-browsers-message.js
+++ b/components/old-browsers-message/old-browsers-message.js
@@ -125,6 +125,10 @@ var WHITE_LIST = {
... | RG-<I> do nothing if old-browser-message was stopped
Former-commit-id: <I>c7ff<I>cba<I>fe7af<I>c<I>b0c8ce | JetBrains_ring-ui | train | js |
26734853e9461c17c8eefb11c535965957bde3be | diff --git a/cell/lrp_test.go b/cell/lrp_test.go
index <HASH>..<HASH> 100644
--- a/cell/lrp_test.go
+++ b/cell/lrp_test.go
@@ -96,7 +96,7 @@ var _ = Describe("LRP", func() {
Context("when properties are present on the desired LRP", func() {
BeforeEach(func() {
- lrp.Properties = map[string]string{
+ lrp.... | LRP and Task Properties changed to NetworkProperties
[#<I>] | cloudfoundry_inigo | train | go,go |
c64158340718c0192e2e83f65081b0d8413f657d | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -30,6 +30,10 @@ class ClosureCompilerPlugin {
this.requestShortener = new RequestShortener(compiler.context);
compiler.plugin('compilation', (compilation) => {
+ if (compilation.compiler.parent... | fix: actually use the option to skip child compilations | webpack-contrib_closure-webpack-plugin | train | js |
7543fabac11baf7088a6e1467a4e7f78692102ee | diff --git a/lib/express/app.js b/lib/express/app.js
index <HASH>..<HASH> 100644
--- a/lib/express/app.js
+++ b/lib/express/app.js
@@ -324,6 +324,24 @@ App.prototype.build = function() {
};
/**
+ * clone
+ *
+ * @return {App}
+ */
+App.prototype.clone = function() {
+ var app = new App(this.appManager, t... | bring back clone method. yay! | BohemiaInteractive_bi-service | train | js |
37c588d237d889caf76ef5280d9874d969551130 | diff --git a/lib/jellyfish/swagger.rb b/lib/jellyfish/swagger.rb
index <HASH>..<HASH> 100644
--- a/lib/jellyfish/swagger.rb
+++ b/lib/jellyfish/swagger.rb
@@ -129,7 +129,7 @@ module Jellyfish
def query_parameters meta
if meta[:parameters]
meta[:parameters].map{ |(name, param)|
- param.merg... | make sure the name is a string | godfat_jellyfish | train | rb |
df87158b8768f0d2631403529a2b739ff4543a86 | diff --git a/resources/views/model/partials/form/strategies/attachment_paperclip_file_uploader.blade.php b/resources/views/model/partials/form/strategies/attachment_paperclip_file_uploader.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/model/partials/form/strategies/attachment_paperclip_file_uploader.blade... | Fixed incorrect script end blade directive for paperclip file uploader strategy | czim_laravel-cms-models | train | php |
23954779bf72d6c08f48b1f77c923738cbff657c | diff --git a/View/Helper/BootstrapHtmlHelper.php b/View/Helper/BootstrapHtmlHelper.php
index <HASH>..<HASH> 100644
--- a/View/Helper/BootstrapHtmlHelper.php
+++ b/View/Helper/BootstrapHtmlHelper.php
@@ -341,7 +341,8 @@ class BootstrapHtmlHelper extends HtmlHelper {
* @return string
*/
public function icon($type, ... | Merge origin/master
Conflicts:
README.md | cakeoven_CakeTwitterBootstrap | train | php |
3ada98a8fbe916fd1684dd844141ec2b0783d2a9 | diff --git a/src/main/java/wyil/util/AbstractTypeReduction.java b/src/main/java/wyil/util/AbstractTypeReduction.java
index <HASH>..<HASH> 100644
--- a/src/main/java/wyil/util/AbstractTypeReduction.java
+++ b/src/main/java/wyil/util/AbstractTypeReduction.java
@@ -92,11 +92,11 @@ public abstract class AbstractTypeReducti... | Bug fix for WyilUtils.isPure()
This method had a trivial bug related to handling of callable types. | Whiley_WhileyCompiler | train | java |
1ad39add7cbd1dfbe12a2df6fa541117fcc3965c | diff --git a/cartoview/templatetags/cartoview_tags.py b/cartoview/templatetags/cartoview_tags.py
index <HASH>..<HASH> 100644
--- a/cartoview/templatetags/cartoview_tags.py
+++ b/cartoview/templatetags/cartoview_tags.py
@@ -3,7 +3,7 @@ from __future__ import (absolute_import, division, print_function,
import json
fr... | add cartoview tag to help app in url reversing | cartologic_cartoview | train | py |
d7e7ae3d99f71fa6b2a4ffcedbb5a1ffbbd8935f | diff --git a/src/viewer.js b/src/viewer.js
index <HASH>..<HASH> 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -94,7 +94,7 @@ class SkinViewer {
this.scene.add(this.playerObject);
// texture loading
- this.skinImg.crossOrigin = "";
+ this.skinImg.crossOrigin = "anonymous";
this.skinImg.onerror = () => c... | change crossOrigin to anonymous, close #<I> | bs-community_skinview3d | train | js |
639c44cf30a5771121398ae456dc492e5881cea4 | diff --git a/lxd/migrate.go b/lxd/migrate.go
index <HASH>..<HASH> 100644
--- a/lxd/migrate.go
+++ b/lxd/migrate.go
@@ -43,7 +43,6 @@ type migrationFields struct {
instance instance.Instance
// storage specific fields
- storage storage
volumeOnly bool
}
@@ -273,7 +272,6 @@ type MigrationSinkArgs struct... | lxd/migrate: Removes old storage type reference | lxc_lxd | train | go |
704666ea25e9abb93c6c8d2e3ae62e6cb0928450 | diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index <HASH>..<HASH> 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -587,7 +587,7 @@ class Cmd(cmd.Cmd):
:param err_color: (optional) color escape to output error with
:param war_color: (optional) color escape to output warning with
"""
- if se... | Only print a traceback if there is one to print | python-cmd2_cmd2 | train | py |
d4b98d8550bbbc87254c9bacb314aee7e9dfeae8 | diff --git a/ratcave/mesh.py b/ratcave/mesh.py
index <HASH>..<HASH> 100644
--- a/ratcave/mesh.py
+++ b/ratcave/mesh.py
@@ -171,9 +171,7 @@ class Mesh(mixins.Picklable):
# Bind Cubemap if mesh is to be rendered with the cubemap.
shader.uniformi('hasCubeMap', int(self.cubemap))
... | removed cubemap code that checks the window and scene--the FBO destination should do that already, and my decision to move to a userdata input will allow us to explicitly send data to the Shader | ratcave_ratcave | train | py |
f1171867ed7835954c62b76c5280c7825cd454b3 | diff --git a/serviceconfig/src/main/java/org/duracloud/serviceconfig/xml/ServiceElementWriter.java b/serviceconfig/src/main/java/org/duracloud/serviceconfig/xml/ServiceElementWriter.java
index <HASH>..<HASH> 100644
--- a/serviceconfig/src/main/java/org/duracloud/serviceconfig/xml/ServiceElementWriter.java
+++ b/service... | fixed a bug in the ServiceElementWriter: now the modeSet name is being populated properly.
git-svn-id: <URL> | duracloud_duracloud | train | java |
287a3a608dfcbcf21d2aa4d91414b3c3f2993fb6 | diff --git a/src/rabird/core/datetime.py b/src/rabird/core/datetime.py
index <HASH>..<HASH> 100644
--- a/src/rabird/core/datetime.py
+++ b/src/rabird/core/datetime.py
@@ -12,6 +12,7 @@ import copy
import abc
import sys
import time
+import six
if sys.platform == 'win32' :
import win32api
@@ -25,7 +26,8 @@... | Fixed differences between class metaclass during python2 and python3 | starofrainnight_rabird.core | train | py |
6217b695841160a618c8e464252f7e4e3776b265 | diff --git a/test/integration/headers_test.rb b/test/integration/headers_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/headers_test.rb
+++ b/test/integration/headers_test.rb
@@ -29,8 +29,8 @@ describe 'A full stack Lotus application' do
it "returns default headers' value" do
get '/'
- re... | Security headers: ensure to not send them to browsers when they aren't set. Ref #<I> | hanami_hanami | train | rb |
b9421fd4c78606d8f1fb7eab1ec170abea312eb1 | diff --git a/utils.go b/utils.go
index <HASH>..<HASH> 100644
--- a/utils.go
+++ b/utils.go
@@ -434,6 +434,8 @@ func createVolumeDir(hostPath, containerSpec, imageSpec, userSpec, permissionSpe
// FIXME: this relies on the underlying container to have /bin/sh that supports
// some advanced shell options. This should ... | put back file globbing to only copy directories only once | control-center_serviced | train | go |
6cf38a266d50c6c9420889cf47395e6bcf30b962 | diff --git a/lib/app/models/open_object_resource.rb b/lib/app/models/open_object_resource.rb
index <HASH>..<HASH> 100644
--- a/lib/app/models/open_object_resource.rb
+++ b/lib/app/models/open_object_resource.rb
@@ -357,6 +357,8 @@ module Ooor
result = self.class.old_wizard_step(wizard_name, [self.id], step, wiza... | implemented log OpenERP v6 utility method | akretion_ooor | train | rb |
9381d823a5758fc98cdb3d3e7abe0a8f6e7f606e | diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -125,9 +125,9 @@ module AbstractController
# ==== Returns
# * <tt>self</tt>
... | Get rid of extra local var that does not add to the logic
There are too many "action name" variables around the process method. | rails_rails | train | rb |
d99d6ae999729b268996f904e073bd6d7833f62b | diff --git a/memcache/bench_test.go b/memcache/bench_test.go
index <HASH>..<HASH> 100644
--- a/memcache/bench_test.go
+++ b/memcache/bench_test.go
@@ -10,6 +10,7 @@ import (
func benchmarkSetGet(b *testing.B, item *Item) {
cmd, c := newUnixServer(b)
key := item.Key
+ b.SetBytes(int64(len(item.Key) + len(item.Value... | Report MB/s in benchmarks | rainycape_memcache | train | go |
cf9606d82de375b70f627535bbead41b69d058d9 | diff --git a/src/module-elasticsuite-catalog-rule/Model/Rule/Condition/Product/SpecialAttribute/ProductType.php b/src/module-elasticsuite-catalog-rule/Model/Rule/Condition/Product/SpecialAttribute/ProductType.php
index <HASH>..<HASH> 100644
--- a/src/module-elasticsuite-catalog-rule/Model/Rule/Condition/Product/Special... | Fixes #<I>, removing typed properties for backward compatibility with php <I> | Smile-SA_elasticsuite | train | php |
658b7f3470b8a9b4792ea3b00b9f659d61224d53 | diff --git a/lib/milestoner/cli.rb b/lib/milestoner/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/milestoner/cli.rb
+++ b/lib/milestoner/cli.rb
@@ -57,6 +57,13 @@ module Milestoner
error base_error.message
end
+ desc "-e, [--edit]", "Edit gem settings in default editor (assumes $EDITOR environment varia... | Added --edit option for editing gem configuration.
- Defaults to local .milestonerrc file (if found),
otherwise it uses the global file (i.e. ~/.milestonerrc). | bkuhlmann_milestoner | train | rb |
e477fc1147b4bfe83a26d4ce818167a1b561b8fc | diff --git a/activesupport/test/test_case_test.rb b/activesupport/test/test_case_test.rb
index <HASH>..<HASH> 100644
--- a/activesupport/test/test_case_test.rb
+++ b/activesupport/test/test_case_test.rb
@@ -12,6 +12,10 @@ module ActiveSupport
def puke(klass, name, e)
@puked << [klass, name, e]
en... | fixing test case test on <I>dev | rails_rails | train | rb |
10908ed92e9ab6ddfffe07097d32613823e0ad12 | diff --git a/spec/models/animal_spec.rb b/spec/models/animal_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/animal_spec.rb
+++ b/spec/models/animal_spec.rb
@@ -7,7 +7,7 @@ describe Animal, :type => :model do
it { expect(Animal.inheritance_column).to eq('species') }
describe "updates to the `inheritan... | Fix test case from ea<I>e8a<I> in conjunction with Protected Attributes | paper-trail-gem_paper_trail | train | rb,rb |
871b060af9583f66b4c77cf20771ca9e50957cfd | diff --git a/redisson/src/main/java/org/redisson/config/PropertiesConvertor.java b/redisson/src/main/java/org/redisson/config/PropertiesConvertor.java
index <HASH>..<HASH> 100644
--- a/redisson/src/main/java/org/redisson/config/PropertiesConvertor.java
+++ b/redisson/src/main/java/org/redisson/config/PropertiesConverto... | Fixed - Quarkus redisson config fails to load in cluster mode with only one node address #<I> | redisson_redisson | train | java |
47de337ccec64a6302fef856709e218f231ee81a | diff --git a/apiserver/provisioner/provisioner_test.go b/apiserver/provisioner/provisioner_test.go
index <HASH>..<HASH> 100644
--- a/apiserver/provisioner/provisioner_test.go
+++ b/apiserver/provisioner/provisioner_test.go
@@ -9,6 +9,7 @@ import (
"github.com/juju/errors"
"github.com/juju/names"
+ jujutesting "gi... | apiserver/provisioner: skip package test under race builder
Unreliable, see LP <I> | juju_juju | train | go |
868d1f84e10924ad56f1aa316003b3b06078c29c | diff --git a/code/model/context/context.php b/code/model/context/context.php
index <HASH>..<HASH> 100644
--- a/code/model/context/context.php
+++ b/code/model/context/context.php
@@ -16,6 +16,16 @@
class KModelContext extends KCommand implements KModelContextInterface
{
/**
+ * Constructor.
+ *
+ * @... | re #<I> - Override ModelContext constructor to only accept an array of attributes | timble_kodekit | train | php |
ce030c2b8e3aa10a9b10f4f2e1c5e66adf0cf665 | diff --git a/app/zephyrus/application/Formatter.php b/app/zephyrus/application/Formatter.php
index <HASH>..<HASH> 100644
--- a/app/zephyrus/application/Formatter.php
+++ b/app/zephyrus/application/Formatter.php
@@ -92,6 +92,23 @@ class Formatter
}
/**
+ * Returns a SEO compatible url based on the specif... | Added formatting method which builds a valid url based on a string (seo) | dadajuice_zephyrus | train | php |
2e351212d187b93e369bb475cdf97570a77affe8 | diff --git a/abilian/web/forms/widgets.py b/abilian/web/forms/widgets.py
index <HASH>..<HASH> 100644
--- a/abilian/web/forms/widgets.py
+++ b/abilian/web/forms/widgets.py
@@ -363,8 +363,8 @@ class SingleView(object):
if field.is_hidden:
continue
- value = field.object_data
- if value... | single view: try to render field if render_empty flags is set
this allows to have widget render something even if actual field value
should be skipped | abilian_abilian-core | train | py |
23968731ad631720c9c34a901cf9fa605f5dd97d | diff --git a/oct2py/core.py b/oct2py/core.py
index <HASH>..<HASH> 100644
--- a/oct2py/core.py
+++ b/oct2py/core.py
@@ -278,7 +278,14 @@ class Oct2Py(object):
self.logger.debug(resp)
if return_ans:
- resp = [l for l in resp.splitlines() if not l.startswith('ans =')]
+ ... | Only replace the last 'ans =' in the text | blink1073_oct2py | train | py |
0be94ab3f591b9b6ba5b3c5702c0701e92b4bc28 | diff --git a/clientconn.go b/clientconn.go
index <HASH>..<HASH> 100644
--- a/clientconn.go
+++ b/clientconn.go
@@ -539,8 +539,9 @@ func (cc *Conn) Wait(ctx context.Context) (transport.ClientTransport, error) {
cc.mu.Unlock()
return nil, ErrClientConnClosing
case cc.state == Ready:
+ ct := cc.transport
... | fix a race between transport creation and wait returning | grpc_grpc-go | train | go |
12a6c9a787cb2e95e417b4984aa21740f04e82df | diff --git a/test/integration_tests/native_packaging_spec.rb b/test/integration_tests/native_packaging_spec.rb
index <HASH>..<HASH> 100644
--- a/test/integration_tests/native_packaging_spec.rb
+++ b/test/integration_tests/native_packaging_spec.rb
@@ -54,7 +54,7 @@ require 'pathname'
# Ensure that the natively inst... | Do not change PATH order, as it changes which ruby is invoked
Append to PATH instead of prefixing, in order to continue to use the same ruby that is running native_packaging_spec.rb | phusion_passenger | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.