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 |
|---|---|---|---|---|---|
8fc2ccd3e0ee5bd8df06ea856c657bf0139f04d4 | diff --git a/slave/__init__.py b/slave/__init__.py
index <HASH>..<HASH> 100644
--- a/slave/__init__.py
+++ b/slave/__init__.py
@@ -5,7 +5,7 @@
import warnings
-__version__ = '0.4.0'
+__version__ = '0.4.1'
# Test if ipythons autocall feature is enabled. It can cause serious problems,
# because attributes are ex... | Bumped version number to <I> | p3trus_slave | train | py |
3f3d2c8dc5a6b0fe313845499521376505c2745b | diff --git a/features/support/http_lib_filters.rb b/features/support/http_lib_filters.rb
index <HASH>..<HASH> 100644
--- a/features/support/http_lib_filters.rb
+++ b/features/support/http_lib_filters.rb
@@ -5,10 +5,17 @@ Cucumber::Ast::OutlineTable::ExampleRow.class_eval do
end
end
-if RUBY_VERSION == '1.9.2' || ... | Ignore em-http-request cukes on rubinius since they are failing and it's not likely a bug in VCR. | vcr_vcr | train | rb |
2c5a3da4fdd7d0369bf79b89e61a80409124d7ce | diff --git a/ayrton/execute.py b/ayrton/execute.py
index <HASH>..<HASH> 100644
--- a/ayrton/execute.py
+++ b/ayrton/execute.py
@@ -19,6 +19,7 @@ import os
import sys
import io
from collections.abc import Iterable
+import signal
# import logging
@@ -259,6 +260,10 @@ class Command:
os.dup2 (w... | [+] restore some signals before executing the new process; python ignores it. | StyXman_ayrton | train | py |
def0de28c738b3a8d8a5d05cf5ee0567c42fed8a | diff --git a/spec/platform/extension_cache_spec.rb b/spec/platform/extension_cache_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/platform/extension_cache_spec.rb
+++ b/spec/platform/extension_cache_spec.rb
@@ -6,7 +6,9 @@ require 'spec_helper'
describe Platform::ExtensionCache do
before(:all) do
Platform.load... | Added specs for ExtensionCache#has? and ExtensionCache#with. | ronin-ruby_ronin | train | rb |
e6f672a68995b81514f565c51d46c107d5d4d9c7 | diff --git a/lib/how_is/sources/github/issues.rb b/lib/how_is/sources/github/issues.rb
index <HASH>..<HASH> 100644
--- a/lib/how_is/sources/github/issues.rb
+++ b/lib/how_is/sources/github/issues.rb
@@ -155,10 +155,12 @@ module HowIs::Sources
@data = []
last_cursor = fetch_last_cursor
return ... | Refactor Sources::Github::Issues. | duckinator_inq | train | rb |
db72d172d66be2ab59a697d3de608cf947857111 | diff --git a/lib/dynamic_sitemaps/generator.rb b/lib/dynamic_sitemaps/generator.rb
index <HASH>..<HASH> 100644
--- a/lib/dynamic_sitemaps/generator.rb
+++ b/lib/dynamic_sitemaps/generator.rb
@@ -37,7 +37,10 @@ module DynamicSitemaps
@folder = args.first
raise ArgumentError, "Folder can't be blank.... | Only delete folder contents
To ensure that a /sitemap symlink isn't accidentally deleted. | lassebunk_dynamic_sitemaps | train | rb |
0091373695a7e10c82cb28fd860f5881c45a08e6 | diff --git a/goless/backends.py b/goless/backends.py
index <HASH>..<HASH> 100644
--- a/goless/backends.py
+++ b/goless/backends.py
@@ -3,6 +3,10 @@ import platform
class Backend(object):
+
+ def shortname(self):
+ return type(self).__name__
+
def start(self, func, *args, **kwargs):
"""Start... | Added shortname attribute to backends for better ID when benchmarking | rgalanakis_goless | train | py |
db6036aadb1537f841ddc01477b5b0099e84dada | diff --git a/lib/metaforce/job/retrieve.rb b/lib/metaforce/job/retrieve.rb
index <HASH>..<HASH> 100644
--- a/lib/metaforce/job/retrieve.rb
+++ b/lib/metaforce/job/retrieve.rb
@@ -81,6 +81,7 @@ module Metaforce
def tmp_zip_file
@tmp_zip_file ||= begin
file = Tempfile.new('retrieve')
+ file.bi... | Added a line file.binmode to tmp_zip_file method to fix Ascii8bit to utf8 conversion | ejholmes_metaforce | train | rb |
be88468e627ab0e0a0fef711356bd7daf446a0cf | diff --git a/spec/model/has_license_spec.rb b/spec/model/has_license_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/model/has_license_spec.rb
+++ b/spec/model/has_license_spec.rb
@@ -8,6 +8,13 @@ describe Model::HasLicense do
LicensedModel.auto_migrate!
end
+ it "should define a license relationship" do
+ ... | Added another spec for Model::HasLicense. | ronin-ruby_ronin | train | rb |
c0ad1cb8b5366704979afea0ae06c6355482182d | diff --git a/src/trumbowyg.js b/src/trumbowyg.js
index <HASH>..<HASH> 100644
--- a/src/trumbowyg.js
+++ b/src/trumbowyg.js
@@ -1255,7 +1255,10 @@ Object.defineProperty(jQuery.trumbowyg, 'defaultOptions', {
const VALID_LINK_PREFIX = /^([a-z][-+.a-z0-9]*:|\/|#)/i;
if(VALID_LINK_PREFIX.test(url))... | Allow URLs to contain '@'; remove ES6 code.
Simple regex used for testing whether link input is an email rather than a url. | Alex-D_Trumbowyg | train | js |
40dae37bedbe7667844430f3275cc29068c3c6c1 | diff --git a/library/src/com/actionbarsherlock/internal/nineoldandroids/view/animation/AnimatorProxy.java b/library/src/com/actionbarsherlock/internal/nineoldandroids/view/animation/AnimatorProxy.java
index <HASH>..<HASH> 100644
--- a/library/src/com/actionbarsherlock/internal/nineoldandroids/view/animation/AnimatorPro... | Ensure our animation proxy is always set on its view. Closes #<I>. | JakeWharton_ActionBarSherlock | train | java |
b2189a524fa71789a9079f1f241ff59e8fc4d2a1 | diff --git a/render/hyperscript.js b/render/hyperscript.js
index <HASH>..<HASH> 100644
--- a/render/hyperscript.js
+++ b/render/hyperscript.js
@@ -5,6 +5,10 @@ var Vnode = require("../render/vnode")
var selectorParser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[(.+?)(?:\s*=\s*("|'|)((?:\\["'\]]|.)*?)\5)?\])/g
var selectorCache =... | proper selector check (#<I>) | MithrilJS_mithril.js | train | js |
d30ec7296559d89d3f7645f8a1f75447e0343c4e | diff --git a/psamm/lpsolver/lp.py b/psamm/lpsolver/lp.py
index <HASH>..<HASH> 100644
--- a/psamm/lpsolver/lp.py
+++ b/psamm/lpsolver/lp.py
@@ -337,11 +337,11 @@ class Problem(object):
@abc.abstractmethod
def add_linear_constraints(self, *relations):
- """Add constraints to the problem
+ """Add... | lpsolver: Fix warning about docstring from Sphinx | zhanglab_psamm | train | py |
40590739ab33c37851944bbd485284797dc6358c | diff --git a/core/renderMiddleware.js b/core/renderMiddleware.js
index <HASH>..<HASH> 100644
--- a/core/renderMiddleware.js
+++ b/core/renderMiddleware.js
@@ -235,10 +235,10 @@ function setupLateArrivals(req, res, context, start) {
function getNonInternalConfigs() {
var nonInternal = {};
- var config = config();
-... | Fixing two dumb bugs I introduced in refactoring config to be a function | redfin_react-server | train | js |
829f563d5dc6cb5e88b10795e999935528790008 | diff --git a/events.js b/events.js
index <HASH>..<HASH> 100644
--- a/events.js
+++ b/events.js
@@ -292,7 +292,7 @@ function onceWrapper() {
}
function _onceWrap(target, type, listener) {
- var state = { fired: false, wrapFn: undefined, target, type, listener };
+ var state = { fired: false, wrapFn: undefined, tar... | Rewrote an ES6 object literal to ES5 | Gozala_events | train | js |
abb5100a6dc4ff9dfe0c7671d1fbfb66ad9ad713 | diff --git a/mailmerge/__main__.py b/mailmerge/__main__.py
index <HASH>..<HASH> 100644
--- a/mailmerge/__main__.py
+++ b/mailmerge/__main__.py
@@ -5,7 +5,6 @@ Andrew DeOrio <awdeorio@umich.edu>
"""
from __future__ import print_function
import sys
-import csv
import socket
import configparser
import smtplib
@@ -17... | bug fix: CSV library UTF8 import | awdeorio_mailmerge | train | py,py |
ab8433d5138c0b39030b706d1bd4cb07d897a937 | diff --git a/lib/fbgraph/version.rb b/lib/fbgraph/version.rb
index <HASH>..<HASH> 100644
--- a/lib/fbgraph/version.rb
+++ b/lib/fbgraph/version.rb
@@ -1,3 +1,3 @@
module FBGraph
- VERSION = '1.10.0'
+ VERSION = '1.10.1'
end | Version bump to <I>. | nsanta_fbgraph | train | rb |
d3d3674adbb941885605de4eca40cb7f91aac574 | diff --git a/tests/app/rdev/cache/RedisBridgeTest.php b/tests/app/rdev/cache/RedisBridgeTest.php
index <HASH>..<HASH> 100644
--- a/tests/app/rdev/cache/RedisBridgeTest.php
+++ b/tests/app/rdev/cache/RedisBridgeTest.php
@@ -9,6 +9,12 @@ use RDev\Redis\Server;
use RDev\Redis\TypeMapper;
use RDev\Tests\Redis\Mocks\RDevP... | Included a Redis mock file to pass tests in HHVM | opulencephp_Opulence | train | php |
b0a89e64708632d11980df72ee4ceb09f3e49c7c | diff --git a/src/AbstractSitemap.php b/src/AbstractSitemap.php
index <HASH>..<HASH> 100644
--- a/src/AbstractSitemap.php
+++ b/src/AbstractSitemap.php
@@ -103,8 +103,8 @@ abstract class AbstractSitemap implements SitemapInterface
}
/**
- * @param $filePath
- * @param $fileName
+ * @param string ... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | nilportugues_php-sitemap | train | php |
a638c6bae8663ce46116d252fb72fd3d80c801a4 | diff --git a/gsshapy/grid/grid_to_gssha.py b/gsshapy/grid/grid_to_gssha.py
index <HASH>..<HASH> 100644
--- a/gsshapy/grid/grid_to_gssha.py
+++ b/gsshapy/grid/grid_to_gssha.py
@@ -19,9 +19,8 @@ from shutil import copy
import xarray as xr
import xarray.ufuncs as xu
-from gazar.grid import ArrayGrid, gdal_reproject
+f... | modified to use gazars internal projection | CI-WATER_gsshapy | train | py |
4b4d420dac162a07f0ae57d88d563e4e41b290ad | diff --git a/ez_setup.py b/ez_setup.py
index <HASH>..<HASH> 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -36,7 +36,7 @@ try:
except ImportError:
USER_SITE = None
-DEFAULT_VERSION = "8.0.4"
+DEFAULT_VERSION = "8.0.5"
DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
def _python_cmd(*args... | Bumped to <I> in preparation for next release. | pypa_setuptools | train | py,py |
58669e47c9dce872162c08f79deb2027a9bc5e39 | diff --git a/src/bundle.js b/src/bundle.js
index <HASH>..<HASH> 100644
--- a/src/bundle.js
+++ b/src/bundle.js
@@ -3,7 +3,14 @@ var utils = require("belty");
function Bundle(name, options, main) {
this.name = name;
- this.main = !!main;
+
+ Object.defineProperties(this, {
+ "isMain": {
+ value: !!main,
... | added readonly property isMain to Bundle to stop relying on the isMain argument in bundle visitors | MiguelCastillo_bit-bundler | train | js |
cec782ad71678208a10f1e1b7a87f9c1e309b516 | diff --git a/lib/ark/utility.rb b/lib/ark/utility.rb
index <HASH>..<HASH> 100644
--- a/lib/ark/utility.rb
+++ b/lib/ark/utility.rb
@@ -71,7 +71,7 @@ module Ark
end
end
- class Line
+ class TextBuilder
def initialize()
@lines = [[]]
@line = 0 | Renamed the Line class to TextBuilder | aetherised_ark-util | train | rb |
363c7e0ae488d128da6ea879386e8cc45d2fa6c3 | diff --git a/tests/calculators/hazard/event_based/core_next_test.py b/tests/calculators/hazard/event_based/core_next_test.py
index <HASH>..<HASH> 100644
--- a/tests/calculators/hazard/event_based/core_next_test.py
+++ b/tests/calculators/hazard/event_based/core_next_test.py
@@ -187,7 +187,7 @@ class EventBasedHazardCal... | tests/calcs/hazard/event_based/core_next_test:
Stabilized a test (it was intermittently failing due to ordering
of db query results). | gem_oq-engine | train | py |
03bc2ccb9dfe4af966d9e8ca0f2e1801b36c489b | diff --git a/repo/fsrepo/fsrepo.go b/repo/fsrepo/fsrepo.go
index <HASH>..<HASH> 100644
--- a/repo/fsrepo/fsrepo.go
+++ b/repo/fsrepo/fsrepo.go
@@ -87,6 +87,18 @@ func open(repoPath string) (repo.Repo, error) {
path: expPath,
}
+ r.lockfile, err = lockfile.Lock(r.path)
+ if err != nil {
+ return nil, err
+ }
+ k... | Take FSRepo lock way earlier
There is no way this was safe before.
Be careful to unlock on the error paths. | ipfs_go-ipfs | train | go |
89d60f796d3c4047a37b839e8527e96e91445423 | diff --git a/pkg/workloads/containerd/watcher.go b/pkg/workloads/containerd/watcher.go
index <HASH>..<HASH> 100644
--- a/pkg/workloads/containerd/watcher.go
+++ b/pkg/workloads/containerd/watcher.go
@@ -31,6 +31,7 @@ import (
"github.com/cilium/cilium/pkg/ipam"
"github.com/cilium/cilium/pkg/k8s"
"github.com/ciliu... | containerd: Use pkg/lock for Mutex
Allows to use lockdebug | cilium_cilium | train | go |
5b0318aa01b74399f72057986831fa453a6f34ab | diff --git a/lib/tenacity/orm_ext/mongo_mapper.rb b/lib/tenacity/orm_ext/mongo_mapper.rb
index <HASH>..<HASH> 100644
--- a/lib/tenacity/orm_ext/mongo_mapper.rb
+++ b/lib/tenacity/orm_ext/mongo_mapper.rb
@@ -99,6 +99,7 @@ module TenacityPluginAddition #:nodoc:
end
begin
+ require 'mongo_mapper'
MongoMapper::Docu... | Require mongo_mapper in the mongo mapper orm extension | jwood_tenacity | train | rb |
db83f9ac9c60a2a02441e6110ded213d4e1e6e03 | diff --git a/code/GridFieldBetterButtonsItemRequest.php b/code/GridFieldBetterButtonsItemRequest.php
index <HASH>..<HASH> 100755
--- a/code/GridFieldBetterButtonsItemRequest.php
+++ b/code/GridFieldBetterButtonsItemRequest.php
@@ -282,7 +282,9 @@ class GridFieldBetterButtonsItemRequest extends DataExtension {
... | Fixed onBeforePublish and onAfterPublish exensions
If these are not present some extensions like staticpublishqueue stop working on SiteTree. | unclecheese_silverstripe-gridfield-betterbuttons | train | php |
c29157ace0df4951674ae1a3714107dfcb18b244 | diff --git a/dev/com.ibm.ws.jdbc_fat/fat/src/com/ibm/ws/jdbc/fat/tests/ConfigTest.java b/dev/com.ibm.ws.jdbc_fat/fat/src/com/ibm/ws/jdbc/fat/tests/ConfigTest.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.jdbc_fat/fat/src/com/ibm/ws/jdbc/fat/tests/ConfigTest.java
+++ b/dev/com.ibm.ws.jdbc_fat/fat/src/com/ibm/ws/... | Issue #<I> code review fix | OpenLiberty_open-liberty | train | java |
5f21f27f76a519d4aca87f7ab025f62230221d79 | diff --git a/lib/svtplay_dl/service/services.py b/lib/svtplay_dl/service/services.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/services.py
+++ b/lib/svtplay_dl/service/services.py
@@ -7,6 +7,7 @@ from svtplay_dl.service.disney import Disney
from svtplay_dl.service.dplay import Dplay
from svtplay_dl.ser... | service. readd the service to the list of services. | spaam_svtplay-dl | train | py |
8d15b895779172ca19d1edd524f66247aaa4d155 | diff --git a/lib/bibtex/entry/rdf_converter.rb b/lib/bibtex/entry/rdf_converter.rb
index <HASH>..<HASH> 100644
--- a/lib/bibtex/entry/rdf_converter.rb
+++ b/lib/bibtex/entry/rdf_converter.rb
@@ -234,10 +234,7 @@ class BibTeX::Entry::RDFConverter
org = agent(bibtex[:organization]) { create_agent(bibtex[:organizatio... | Replace event:hasAgent with bibo:organizer in #organization | inukshuk_bibtex-ruby | train | rb |
841c2dc2f3af7d6a5ff80cb8d43f4e13834d13f9 | diff --git a/bika/lims/browser/publish.py b/bika/lims/browser/publish.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/publish.py
+++ b/bika/lims/browser/publish.py
@@ -52,7 +52,7 @@ class doPublish(BrowserView):
brains = bsc(UID=spec_uid)
if brains:
obj = brains[0].getO... | Fix bug when publishing multiple ARs from the list view | senaite_senaite.core | train | py |
273287b13a9350a6dc6ff6654c612edfe9b719e8 | diff --git a/lib/kafka/consumer_group.rb b/lib/kafka/consumer_group.rb
index <HASH>..<HASH> 100644
--- a/lib/kafka/consumer_group.rb
+++ b/lib/kafka/consumer_group.rb
@@ -89,6 +89,11 @@ module Kafka
rescue ConnectionError, UnknownMemberId, RebalanceInProgress, IllegalGeneration => e
@logger.error "Error sen... | Rescue NotCoordinatorForGroup during heartbeats
It is possible for a group coordinator after a group rebalance to send
a group to another group coordinator. This results in NotCoordinatorForGroup
error in the next heartbeat attempt and the consumer crashes.
This commit gracefully handles this problem by getting the n... | zendesk_ruby-kafka | train | rb |
616ec7626a479c8e8ee3bb0d5f19d67194331ab6 | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100644
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -1,6 +1,6 @@
#!/usr/bin/env node
-if (process.getuid() === 0) {
+if (process.getuid && process.getuid() === 0) {
global.console.error("Sinopia doesn't need superuser privileges. Don't run it under root.")
} | process.getuid doesn't always exist (fixes #<I>) | verdaccio_verdaccio | train | js |
318f12244dbeb47af45d911419fb8e37b57efb2c | diff --git a/camel-talendjob/src/main/java/org/talend/camel/Activator.java b/camel-talendjob/src/main/java/org/talend/camel/Activator.java
index <HASH>..<HASH> 100644
--- a/camel-talendjob/src/main/java/org/talend/camel/Activator.java
+++ b/camel-talendjob/src/main/java/org/talend/camel/Activator.java
@@ -56,7 +56,12 @... | TESB-<I> Camel TalendJob can't create correct job instance when
multiple job bundle exist with the same name.
<URL> | Talend_tesb-rt-se | train | java |
3c97e6faf6458f0045f27fadd0c4c41dabf7db09 | diff --git a/src/WP_CLI/CommandWithUpgrade.php b/src/WP_CLI/CommandWithUpgrade.php
index <HASH>..<HASH> 100755
--- a/src/WP_CLI/CommandWithUpgrade.php
+++ b/src/WP_CLI/CommandWithUpgrade.php
@@ -346,7 +346,9 @@ abstract class CommandWithUpgrade extends \WP_CLI_Command {
\WP_CLI\Utils\format_items( $format, $status... | Only use `$num_to_update` when `--all` is set
When specific plugins or themes are supplied, `$args` is the accurate
count. | wp-cli_extension-command | train | php |
1d4499503e188e973f49604b21e1678d8380c7fd | diff --git a/lib/Client.js b/lib/Client.js
index <HASH>..<HASH> 100644
--- a/lib/Client.js
+++ b/lib/Client.js
@@ -332,14 +332,17 @@ Client.prototype.prepare = function(query) {
};
Client.prototype._format_value = function (v) {
- if (Buffer.isBuffer(v)) return "'" + addon.escape(v.toString('utf8')) + "'";
+ if (... | Client: use NULL for undefined too in prepare() | mscdex_node-mariasql | train | js |
86d41d4ba43c8da893e306acd4989146653694b7 | diff --git a/app/controllers/authic_client/sessions_controller.rb b/app/controllers/authic_client/sessions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/authic_client/sessions_controller.rb
+++ b/app/controllers/authic_client/sessions_controller.rb
@@ -3,7 +3,9 @@ class AuthicClient::SessionsControlle... | Cleared session return to url after use | authic_authic_client | train | rb |
e7add63e733d79969a43ea5a93f3ccff5a722c60 | diff --git a/package-scripts.js b/package-scripts.js
index <HASH>..<HASH> 100644
--- a/package-scripts.js
+++ b/package-scripts.js
@@ -267,7 +267,7 @@ module.exports = {
},
linkcheck: {
script:
- 'hyperlink -ri --canonicalroot https://mochajs.org --skip ".js.html#line" docs/_site/index.h... | Mark HTTP <I> responses as allowed failures in hyperlink check. We sometimes get these from unpkg and it shouldnt block out builds (#<I>) | mochajs_mocha | train | js |
c291195a6d955dd11eb16f6363db3cb7d3ff3557 | diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index <HASH>..<HASH> 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -14,15 +14,15 @@ module ActionMailer #:nodoc:
#
# $ rails generate mailer Notifier
#
- # The g... | Updates ActionMailer Base summary and fixes space in code example. | rails_rails | train | rb |
bf3ae9d7c3b25df0accb0c86b8c370c9c3e95563 | diff --git a/bqplot/nbextension/bqplot/MarketMap.js b/bqplot/nbextension/bqplot/MarketMap.js
index <HASH>..<HASH> 100644
--- a/bqplot/nbextension/bqplot/MarketMap.js
+++ b/bqplot/nbextension/bqplot/MarketMap.js
@@ -481,7 +481,7 @@ define(["widgets/js/manager", "widgets/js/widget", "d3", "./Figure", "base/js/ut
... | market map tool tip, selecting the correct element on show and hide | bloomberg_bqplot | train | js |
18a55badac8c42b63c2fcf46215095705ced6d1c | diff --git a/isort/settings.py b/isort/settings.py
index <HASH>..<HASH> 100644
--- a/isort/settings.py
+++ b/isort/settings.py
@@ -35,7 +35,7 @@ try:
import appdirs
if appdirs.system == "darwin":
- appdirs.system = "linux2"
+ appdirs.system = "linux2" # pragma: no cover
except ImportError:
... | Pragramatically ignore coverage for environment specific lines | timothycrosley_isort | train | py,py |
b0fc66fa686b574dda757aaaa08e66bd52e5e3c6 | diff --git a/salt/transport/zeromq.py b/salt/transport/zeromq.py
index <HASH>..<HASH> 100644
--- a/salt/transport/zeromq.py
+++ b/salt/transport/zeromq.py
@@ -312,6 +312,8 @@ class AsyncZeroMQPubChannel(salt.transport.mixins.auth.AESPubClientMixin, salt.t
# TODO: Optionally call stream.close() on newer pyz... | Always close socket even if there is no stream. | saltstack_salt | train | py |
a3585812dbe314e65609bf64c94bcad70f5655f7 | diff --git a/convert.go b/convert.go
index <HASH>..<HASH> 100644
--- a/convert.go
+++ b/convert.go
@@ -42,6 +42,10 @@ func hilMapstructureWeakDecode(m interface{}, rawVal interface{}) error {
}
func InterfaceToVariable(input interface{}) (ast.Variable, error) {
+ if inputVariable, ok := input.(ast.Variable); ok {
+... | Test input for ast.Variable in InterfaceToVariable
This commit adds a check to the InterfaceToVariable helper to ensure
that the input is not already wrapped with the HIL type annotations. If
it is, the input is returned unmodified. | hashicorp_hil | train | go,go |
2109de8980322c9157699bf8b518cbc10b373a61 | diff --git a/area4/__init__.py b/area4/__init__.py
index <HASH>..<HASH> 100644
--- a/area4/__init__.py
+++ b/area4/__init__.py
@@ -19,6 +19,7 @@ divider9 = str("************************")
divider10 = str(",,,,,,,,,,,,,,,,,,,,,,,,")
divider11 = str("////////////////////////")
divider12 = str("||||||||||||||||||||||||... | cthulhu divider added | area4lib_area4 | train | py |
6e15b1cd203b7a0c8d11322cdf3aa98407ee6298 | diff --git a/test/res.status.js b/test/res.status.js
index <HASH>..<HASH> 100644
--- a/test/res.status.js
+++ b/test/res.status.js
@@ -1,13 +1,22 @@
var express = require('../')
- , res = require('http').ServerResponse.prototype;
+ , request = require('./support/http');
describe('res', function(){
describe('... | Removed mock from res.status() test, mocks are lame | expressjs_express | train | js |
f3dfc4e22601b5a1712b6a1c99f8bab707daa38e | diff --git a/motion/ruby_motion_query/actions.rb b/motion/ruby_motion_query/actions.rb
index <HASH>..<HASH> 100644
--- a/motion/ruby_motion_query/actions.rb
+++ b/motion/ruby_motion_query/actions.rb
@@ -61,5 +61,25 @@ module RubyMotionQuery
self
end
+ def enable
+ selected.each { |view| view.enabl... | Added to actions: enable, disable interactions. Enable, disable. Added clip_to_bounds to view styler | infinitered_rmq | train | rb,rb |
888c51dfac82017ac40f5a59e42326a4eaf75fa6 | diff --git a/lib/wrong/version.rb b/lib/wrong/version.rb
index <HASH>..<HASH> 100644
--- a/lib/wrong/version.rb
+++ b/lib/wrong/version.rb
@@ -1,3 +1,3 @@
module Wrong
- VERSION = "0.5.5" unless defined?(Wrong::VERSION)
+ VERSION = "0.5.6" unless defined?(Wrong::VERSION)
end | bump to <I> to test possible 'gem push' bug | sconover_wrong | train | rb |
1d0c71105c4eb841150f4fee5865b2e9f81a8e71 | diff --git a/concrete/src/Updater/Migrations/Migrations/Version20190509205043.php b/concrete/src/Updater/Migrations/Migrations/Version20190509205043.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Updater/Migrations/Migrations/Version20190509205043.php
+++ b/concrete/src/Updater/Migrations/Migrations/Version20190509... | Fix ExpressEntityEntries.publicIdentifier migration
This is a repeatable migration, so we should be sure we don't wipe out
previous data | concrete5_concrete5 | train | php |
2186c6ef0122016d3535f779549340300756055e | diff --git a/media/boom/js/boom/chunk/chunk.js b/media/boom/js/boom/chunk/chunk.js
index <HASH>..<HASH> 100755
--- a/media/boom/js/boom/chunk/chunk.js
+++ b/media/boom/js/boom/chunk/chunk.js
@@ -98,19 +98,6 @@ $.widget('ui.chunk',
},
/**
- Bring the slot UI forward, above all other page elements.
- @function
- */... | Removed unused JS function chunk._bring_forward() | boomcms_boom-core | train | js |
0c54a50395d96cfa3f80a731fb7e336ea0cdc883 | diff --git a/src/interaction/InteractionManager.js b/src/interaction/InteractionManager.js
index <HASH>..<HASH> 100644
--- a/src/interaction/InteractionManager.js
+++ b/src/interaction/InteractionManager.js
@@ -793,5 +793,47 @@ InteractionManager.prototype.returnTouchData = function ( touchData )
this.interactiveD... | fix #<I>; add destroy method to InteractionManager | pixijs_pixi.js | train | js |
c30dcef101e640ef0d40e5482e9e113eca87100a | diff --git a/bin/cli.js b/bin/cli.js
index <HASH>..<HASH> 100755
--- a/bin/cli.js
+++ b/bin/cli.js
@@ -54,10 +54,10 @@ function toArray(value) {
function toNumber(value) {
if (!value || value === "false") {
- return 0;
+ return false;
}
else if (value === "true") {
- return 1;
+ return true;
... | changed the coercion of multiprocess in the cli to convert to boolean or number | MiguelCastillo_bit-bundler | train | js |
3be28c760e905eeb60cdccacab5996aaeb949cf4 | diff --git a/tags/raw.js b/tags/raw.js
index <HASH>..<HASH> 100644
--- a/tags/raw.js
+++ b/tags/raw.js
@@ -5,7 +5,7 @@ var Raw = x.createClass({
html: x.type.string
},
init: function() {
- x.event.on(this, "update", this.updateHTML);
+ x.event.on(this, "updated", this.updateHTML);
},
updateHTML: ... | follow react style: update dom manually after "updated" event instead of "update". | x-view_x-view | train | js |
c313bbb76696b5c906deb8305189f07cae10f601 | diff --git a/eval.go b/eval.go
index <HASH>..<HASH> 100644
--- a/eval.go
+++ b/eval.go
@@ -650,7 +650,14 @@ func notNil(v reflect.Value) bool {
}
}
-func (st *Runtime) isSet(node Node) bool {
+func (st *Runtime) isSet(node Node) (ok bool) {
+ defer func() {
+ if r := recover(); r != nil {
+ // something panicke... | recover from panics that happen when evaluating an expression inside isset() | CloudyKit_jet | train | go |
3317899440419b313807b62113fbd09c3037a368 | diff --git a/app/templates/entry/client-prefetch.js b/app/templates/entry/client-prefetch.js
index <HASH>..<HASH> 100644
--- a/app/templates/entry/client-prefetch.js
+++ b/app/templates/entry/client-prefetch.js
@@ -104,8 +104,8 @@ export function addPreFetchHooks (router<%= store ? ', store' : '' %>, publicPat
pre... | fix(app): preFetch's currentRoute is a ref instead of the actual value #<I> | quasarframework_quasar | train | js |
b6f36a48fc65aab41f46afb6a163b217433d56cb | diff --git a/src/FelixOnline/Core/Issue.php b/src/FelixOnline/Core/Issue.php
index <HASH>..<HASH> 100644
--- a/src/FelixOnline/Core/Issue.php
+++ b/src/FelixOnline/Core/Issue.php
@@ -177,7 +177,9 @@ class Issue {
'issue_no' => $this->issueno,
'pub_no' => $this->pubno,
'description' => $this->description,
- ... | Add more fields to the issue class outputter by default as they
dont require a JOIN to the files table. | FelixOnline_BaseApp | train | php |
4f015f063e79e972ba7c21f446e8d5ef1746a6bc | diff --git a/src/main/java/com/cloudbees/jenkins/support/impl/GCLogs.java b/src/main/java/com/cloudbees/jenkins/support/impl/GCLogs.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cloudbees/jenkins/support/impl/GCLogs.java
+++ b/src/main/java/com/cloudbees/jenkins/support/impl/GCLogs.java
@@ -66,17 +66,11 @@ p... | Simply ignore if the GC logging options are not enabled
isEnabled() was actually designed for security. So it shows a crossed
line for that Component currently, ugly. | jenkinsci_support-core-plugin | train | java |
6030d30998cbdc08570b8837c99e29fe67ae8091 | diff --git a/framer.py b/framer.py
index <HASH>..<HASH> 100644
--- a/framer.py
+++ b/framer.py
@@ -33,8 +33,6 @@ class Framer:
:param message: a list of bytes to send
:return: None
"""
- self._port.write([self._START_OF_FRAME])
-
message = message if isinstance(message, list) ... | Optimized pyserial transmission | slightlynybbled_booty | train | py |
914542ac9a50d36919eeb8d198c09bd4d6680707 | diff --git a/lib/moory/version.rb b/lib/moory/version.rb
index <HASH>..<HASH> 100644
--- a/lib/moory/version.rb
+++ b/lib/moory/version.rb
@@ -1,3 +1,3 @@
module Moory
- VERSION = "0.3.1"
+ VERSION = "0.3.2"
end | Bump moory to <I> | elclavijero_moory | train | rb |
8f0fba5ce0377a697067333610e882dfe95130a5 | diff --git a/lib/wiki_to_markdown.php b/lib/wiki_to_markdown.php
index <HASH>..<HASH> 100644
--- a/lib/wiki_to_markdown.php
+++ b/lib/wiki_to_markdown.php
@@ -396,4 +396,3 @@ class WikiToMarkdown {
}
}
?>
- | nasty empty line at the end of file .... | moodle_moodle | train | php |
76e395a7428193ce4b5bb986add9bbd43bc17b86 | diff --git a/spec/unit/lib/infrataster/resources/server_resource_spec.rb b/spec/unit/lib/infrataster/resources/server_resource_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/lib/infrataster/resources/server_resource_spec.rb
+++ b/spec/unit/lib/infrataster/resources/server_resource_spec.rb
@@ -3,10 +3,11 @@ require... | bugfix: test the described_class, not Server instance | ryotarai_infrataster | train | rb |
a534d29daf628fc82a1b393ec2b8f37ee53f4e8c | diff --git a/app/inputs/rich_picker_input.rb b/app/inputs/rich_picker_input.rb
index <HASH>..<HASH> 100644
--- a/app/inputs/rich_picker_input.rb
+++ b/app/inputs/rich_picker_input.rb
@@ -16,14 +16,13 @@ if (Object.const_defined?("Formtastic") && Gem.loaded_specs["formtastic"].versio
if scope_id
... | method called on nil, fixed | kreativgebiet_rich | train | rb |
3f7d40303f73264d72be0f0e68a71c57e7c4c76d | diff --git a/src/sap.m/src/sap/m/P13nConditionPanel.js b/src/sap.m/src/sap/m/P13nConditionPanel.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/P13nConditionPanel.js
+++ b/src/sap.m/src/sap/m/P13nConditionPanel.js
@@ -1771,7 +1771,6 @@ sap.ui.define([
this._enableCondition(oConditionGrid, true);
sValue... | [INTERNAL][FIX] P<I>nConditionPanel: log removed which fails on IE9
testes
Change-Id: I<I>f<I>dd<I>a<I>a<I>dcf8e<I>e<I>a<I>e<I> | SAP_openui5 | train | js |
36c46b2618646af8c7ffb7d68ecaed783af25c35 | diff --git a/src/main/java/com/aoindustries/sql/AOConnectionPool.java b/src/main/java/com/aoindustries/sql/AOConnectionPool.java
index <HASH>..<HASH> 100755
--- a/src/main/java/com/aoindustries/sql/AOConnectionPool.java
+++ b/src/main/java/com/aoindustries/sql/AOConnectionPool.java
@@ -1,6 +1,6 @@
/*
* aocode-public... | Noted that wrapper blocks use of PGobject. | aoindustries_aocode-public | train | java |
1be42a7d48bf96596734bd353c38de7d1d440c4c | diff --git a/driver/src/main/java/org/kaazing/k3po/driver/internal/behavior/handler/event/AbstractEventHandler.java b/driver/src/main/java/org/kaazing/k3po/driver/internal/behavior/handler/event/AbstractEventHandler.java
index <HASH>..<HASH> 100644
--- a/driver/src/main/java/org/kaazing/k3po/driver/internal/behavior/ha... | Fixed if else statements to be inclusive | k3po_k3po | train | java |
fac4bca4f49c3dc34ff57851d59fba64790d1e31 | diff --git a/tests/test_request_timeout.py b/tests/test_request_timeout.py
index <HASH>..<HASH> 100644
--- a/tests/test_request_timeout.py
+++ b/tests/test_request_timeout.py
@@ -12,7 +12,7 @@ request_timeout_default_app = Sanic('test_request_timeout_default')
@request_timeout_app.route('/1')
async def handler_1(re... | Fix test_request_timeout.py
This increases sleep time, Because sometimes timeout error does not occur. | huge-success_sanic | train | py |
ce181cee5b764ccb1c1f01af5861a1118841ae2b | diff --git a/src/main/java/javax/time/calendar/Year.java b/src/main/java/javax/time/calendar/Year.java
index <HASH>..<HASH> 100644
--- a/src/main/java/javax/time/calendar/Year.java
+++ b/src/main/java/javax/time/calendar/Year.java
@@ -706,7 +706,7 @@ public final class Year
*/
@Override
public String ... | Year.toString() simplification, ISO in line with YearMonth and MonthDay | ThreeTen_threetenbp | train | java,java |
b2dfe38640bd77e72b22a83c158c8c945d853d1b | diff --git a/opal/clearwater/component.rb b/opal/clearwater/component.rb
index <HASH>..<HASH> 100644
--- a/opal/clearwater/component.rb
+++ b/opal/clearwater/component.rb
@@ -1,6 +1,5 @@
require 'clearwater/virtual_dom'
require 'browser'
-require 'set'
module Clearwater
module Component | Remove unnecessary require
We used to use a Set here, but we don't anymore. | clearwater-rb_clearwater | train | rb |
1438967875322462d5500ec56918e6390338c26f | diff --git a/dictmixin/__init__.py b/dictmixin/__init__.py
index <HASH>..<HASH> 100644
--- a/dictmixin/__init__.py
+++ b/dictmixin/__init__.py
@@ -13,7 +13,7 @@ except ImportError:
pass
__title__ = 'dictmixin'
-__version__ = '1.0.0a2'
+__version__ = '1.0.0b1'
__author__ = 'tadashi-aikawa'
__license__ = 'MIT' | :package: version <I>b1 | tadashi-aikawa_owlmixin | train | py |
f08b30d6ba0b62aaab2e0e4efe5187b233305b7e | diff --git a/sql/postgres.go b/sql/postgres.go
index <HASH>..<HASH> 100644
--- a/sql/postgres.go
+++ b/sql/postgres.go
@@ -55,8 +55,14 @@ func (this *Postgres) Open() error {
// bootstrap the system schema
err1 := postgres_schema.Initialize(db)
glog.Infoln("Initialized system schema:", err1)
+ if err1 != nil ... | Panic when failed to initialize db | qorio_omni | train | go |
565e8c2d3681cecb6a79c7293ea54376e577410f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -77,11 +77,13 @@ module.exports.unbind = function (element, fn) {
if (attachEvent) {
element.detachEvent('onresize', resizeListener)
} else if (element.__resizeTrigger__) {
- element.__resizeTrigger__.con... | Fix accessing contentDocument on unbind when it is null | KyleAMathews_element-resize-event | train | js |
ad7a87f471366a08ab8ec2bf78fc3c3eeadd8912 | diff --git a/lib/IDS/Monitor.php b/lib/IDS/Monitor.php
index <HASH>..<HASH> 100644
--- a/lib/IDS/Monitor.php
+++ b/lib/IDS/Monitor.php
@@ -284,7 +284,7 @@ class IDS_Monitor
// to increase performance, only start detection if value
// isn't alphanumeric
- if (!(preg_match('/[^\w\s\/@!?,]+/ims'... | changed the pre-check for the string to check slightly for better performance and readability | PHPIDS_PHPIDS | train | php |
1d120b6b3aefe6efaa3f7d9254edb7c906a034b0 | diff --git a/packages/button/src/Button.js b/packages/button/src/Button.js
index <HASH>..<HASH> 100644
--- a/packages/button/src/Button.js
+++ b/packages/button/src/Button.js
@@ -160,6 +160,10 @@ const buttonStyles = props => {
// vertically align correctly without setting the lineHeight equal to the
// small... | fix(button): Fix vertical alignment | mineral-ui_mineral-ui | train | js |
3b52faab0bd7e7ae332c7133f84134332cf0586f | diff --git a/src/livestreamer_cli/utils.py b/src/livestreamer_cli/utils.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer_cli/utils.py
+++ b/src/livestreamer_cli/utils.py
@@ -174,7 +174,7 @@ def ignored(*exceptions):
def check_paths(exes, paths):
for path in paths:
for exe in exes:
- path ... | cli: Expand ~ in default player paths.
Resolves #<I>. | streamlink_streamlink | train | py |
56f26248ddc0c3dd16ad1c3420410a0faa9b9751 | diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/raster.py
+++ b/holoviews/element/raster.py
@@ -569,8 +569,13 @@ class QuadMesh(Raster):
def _process_data(self, data):
- data = tuple(np.array(el) for el in data)
- x, y, za... | Allow casting Image to QuadMesh | pyviz_holoviews | train | py |
002f41ed28e687ef954b5837c66f27c32f34634e | diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_interop_tests.py
+++ b/tools/run_tests/run_interop_tests.py
@@ -89,10 +89,10 @@ class CXXLanguage:
return {}
def unimplemented_test_cases(self):
- return []
+ re... | reverted changes to interop test driver to avoid clashes with mark roths pull req | grpc_grpc | train | py |
9b6f8b69a7449fbf620d261dcfe0b2097949c17e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -180,7 +180,7 @@ let extractByExtractor = function (data, extractor, {
} else if (["website"].includes(extractor)) {
let websites = data.match(websiteRegex)
-
+
if (websites && websites.length > 0) {
websites =... | Fix when no date to extract with < date | gahabeen_jsonframe-cheerio | train | js |
25f88793e2b0c28ba3dc7cedf55d12d60a95d44c | diff --git a/embed_video/tests/tests_fields.py b/embed_video/tests/tests_fields.py
index <HASH>..<HASH> 100644
--- a/embed_video/tests/tests_fields.py
+++ b/embed_video/tests/tests_fields.py
@@ -45,3 +45,10 @@ class EmbedVideoFormFieldTestCase(TestCase):
with patch('embed_video.fields.detect_backend') as mock_... | Add tests for embed_video.fields | jazzband_django-embed-video | train | py |
99d2fea3417ebd4f863fdc76061ef12f23469ee6 | diff --git a/src/aiosmtplib/protocol.py b/src/aiosmtplib/protocol.py
index <HASH>..<HASH> 100644
--- a/src/aiosmtplib/protocol.py
+++ b/src/aiosmtplib/protocol.py
@@ -264,11 +264,7 @@ class SMTPProtocol(asyncio.Protocol):
"""
if self._over_ssl:
raise RuntimeError("Already using TLS.")
- ... | Check for disconnection between STARTTLS and handshake | cole_aiosmtplib | train | py |
cc703ed5b68688c064675262abcd12ea6b9eea8d | diff --git a/server/irc/connection.js b/server/irc/connection.js
index <HASH>..<HASH> 100644
--- a/server/irc/connection.js
+++ b/server/irc/connection.js
@@ -651,7 +651,7 @@ var parse = function (data) {
// If we have an incomplete line held from the previous chunk of data
// merge it with the first line fro... | Pass new buffer length to Buffer.concat (it's faster)
As per <URL> | prawnsalad_KiwiIRC | train | js |
395dc2e37881d9021bb6211055888e8e6c86ffef | diff --git a/app/element/elementBuilder.js b/app/element/elementBuilder.js
index <HASH>..<HASH> 100644
--- a/app/element/elementBuilder.js
+++ b/app/element/elementBuilder.js
@@ -91,6 +91,7 @@ _.extend(ElementBuilder.prototype, /** @lends ElementBuilder.prototype */ {
var propertyMetadata = metadata[propertyNa... | prevent setting converter if some one already setted | InfinniPlatform_InfinniUI | train | js |
89331d2558d9c94566d08cdce2026d8898e12c62 | diff --git a/lib/boletosimples/version.rb b/lib/boletosimples/version.rb
index <HASH>..<HASH> 100644
--- a/lib/boletosimples/version.rb
+++ b/lib/boletosimples/version.rb
@@ -1,3 +1,3 @@
module BoletoSimples
- VERSION = '0.0.4'
+ VERSION = '0.0.5'
end | bump up version to <I> | BoletoSimples_boletosimples-ruby | train | rb |
e187266de6db1c8ffd1426272b7b42448657c70e | diff --git a/buffer/pool.go b/buffer/pool.go
index <HASH>..<HASH> 100644
--- a/buffer/pool.go
+++ b/buffer/pool.go
@@ -252,6 +252,8 @@ func (r *readCloser) Close() error {
for _, buf := range r.bufs {
putBuf(buf)
}
+ // In case Close gets called multiple times.
+ r.bufs = nil
return nil
} | Prevent bugs caused by multiple Close
See: <URL> | mailru_easyjson | train | go |
48060c87511ef4e50e643fa0877817982e859225 | diff --git a/ws-fallback.js b/ws-fallback.js
index <HASH>..<HASH> 100644
--- a/ws-fallback.js
+++ b/ws-fallback.js
@@ -1 +1 @@
-module.exports = window.WebSocket || window.MozWebSocket
+module.exports = WebSocket || MozWebSocket || window.WebSocket || window.MozWebSocket | Update ws-fallback.js
this should fix maxogden/websocket-stream/issues/<I>, as it exports WebSocket and MozWebSocket first and if not defined then tries to export from window. | maxogden_websocket-stream | train | js |
afc5f8cc510e2ce558248a8dc41b9500b806a4b9 | diff --git a/lib/matchRoutes.js b/lib/matchRoutes.js
index <HASH>..<HASH> 100644
--- a/lib/matchRoutes.js
+++ b/lib/matchRoutes.js
@@ -50,10 +50,9 @@ function matchRoute(route, path) {
if (route.pattern) {
var match = route.pattern.match(path);
- if (match) {
- // so that _ doesn't appear where not ne... | matchRoutes: fix _: undefined | andreypopp_rrouter | train | js |
9cbf0dcda25f4dbb515c307bba4e9c86c18ec91e | diff --git a/lib/vestal_versions/creation.rb b/lib/vestal_versions/creation.rb
index <HASH>..<HASH> 100644
--- a/lib/vestal_versions/creation.rb
+++ b/lib/vestal_versions/creation.rb
@@ -13,7 +13,7 @@ module VestalVersions
end
def create_version
- versions.create(:changes => version_changes, :num... | Extracted the attributes hash passed to a created version out to its own method (for easy hijacking). | laserlemon_vestal_versions | train | rb |
a7395e56032a708480310f4b28f930109e3f5c67 | diff --git a/validator/sawtooth_validator/journal/journal.py b/validator/sawtooth_validator/journal/journal.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/journal/journal.py
+++ b/validator/sawtooth_validator/journal/journal.py
@@ -176,6 +176,7 @@ class Journal(object):
self._batch_queue = q... | Make sure that the ChainController executor ThreadPool is shutdown | hyperledger_sawtooth-core | train | py |
13f0b96aa8bfcd108f5fdd90371b936f3d50501e | diff --git a/src/tests/bootstrap.php b/src/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/src/tests/bootstrap.php
+++ b/src/tests/bootstrap.php
@@ -1,5 +1,6 @@
<?php
+/** @noinspection PhpIncludeInspection */
$loader = require __DIR__ .'/../vendors/autoload.php';
$loader->add(null, __DIR__); | Suppressing expected inspection error. | box-project_box2 | train | php |
91b43898b0ceff3bc2b9f0a163775cc8277046ae | diff --git a/lib/hope/source/sub.rb b/lib/hope/source/sub.rb
index <HASH>..<HASH> 100644
--- a/lib/hope/source/sub.rb
+++ b/lib/hope/source/sub.rb
@@ -9,7 +9,7 @@ module Hope
@socket = opts["socket"] || "ipc://hope"
@event_type = opts["event_type"]
@received = { :success => 0, :errors => 0, :latest... | Sub source now bind to zmq socket by default (instead of connect) | sbellity_hope | train | rb |
63eba1da35a80c1df24175ab460db1359a3ddec0 | diff --git a/tensorflow_probability/python/stats/quantiles.py b/tensorflow_probability/python/stats/quantiles.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/stats/quantiles.py
+++ b/tensorflow_probability/python/stats/quantiles.py
@@ -552,7 +552,7 @@ def percentile(x,
# Sort (in ascending ord... | Remove _sort_tensor as can be done in 1 line
As _sort_tensor can be achived with 1 call to tf.sort and _sort_tensor
is used only once in quantile.py then it can be removed and replaced
with a single call to tf.sort isntead with no loss of clarity. | tensorflow_probability | train | py |
04e251281a4e54629b469d74ed52a00278bc9252 | diff --git a/pointerplus.php b/pointerplus.php
index <HASH>..<HASH> 100644
--- a/pointerplus.php
+++ b/pointerplus.php
@@ -5,12 +5,8 @@
* @author QueryLoop & Mte90
* @license GPL-3.0+
* @link http://mte90.net
- * @copyright 2014-2016 GPL
+ * @copyright 2014-2018 GPL
*/
-// Exit if accessed directly
-i... | remove absinth for better compatibility with composer | WPBP_PointerPlus | train | php |
e264e6776446ec490c537b0067a3bb73e0a18906 | diff --git a/tor/onionaddr.go b/tor/onionaddr.go
index <HASH>..<HASH> 100644
--- a/tor/onionaddr.go
+++ b/tor/onionaddr.go
@@ -27,7 +27,7 @@ const (
// V3DecodedLen is the length of a decoded v3 onion service.
V3DecodedLen = 35
- // V3Len is the length of a v2 onion service including the ".onion"
+ // V3Len is th... | Fixed typo in comment
Caught a typo, fixed it. | lightningnetwork_lnd | train | go |
1841032dbe74f88b6c336bd74c43d39e34490fe9 | diff --git a/go/libkb/version.go b/go/libkb/version.go
index <HASH>..<HASH> 100644
--- a/go/libkb/version.go
+++ b/go/libkb/version.go
@@ -15,7 +15,7 @@ import (
const Version = "1.0.0"
// Build number
-const Build = "44"
+const Build = "45"
// VersionString returns semantic version string.
func VersionString()... | Bump build number to <I> | keybase_client | train | go |
92f5d3b7db17fb16603e3bd5263e5057dcae72a7 | diff --git a/openstack/resource_openstack_compute_secgroup_v2_test.go b/openstack/resource_openstack_compute_secgroup_v2_test.go
index <HASH>..<HASH> 100644
--- a/openstack/resource_openstack_compute_secgroup_v2_test.go
+++ b/openstack/resource_openstack_compute_secgroup_v2_test.go
@@ -137,7 +137,7 @@ func TestAccCompu... | Acc Tests: Update lowercase security group test (#<I>)
A recent update to Neutron will cause an ipv6 icmp security group rule
to be returned with a protocol of ipv6-icmp.
We can't update the test to use ipv6-icmp since Nova does not allow this
protocol type.
As a workaround, we change the protocol to tcp. | terraform-providers_terraform-provider-openstack | train | go |
14e8b9e3a8f4292edf30bfe871d0a1bd9218f896 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,7 @@ package_data_dirs = []
package_path(join(SERVER, 'static'), package_data_dirs)
package_path(join(SERVER, 'templates'), package_data_dirs)
package_path('bokeh/templates', package_data_dirs)
+package_data_dirs.... | accidentally deleted server/redis.conf from setup.py | bokeh_bokeh | train | py |
43daa69bcb739f193ad4c0b1ad096b181c0d3759 | diff --git a/spec/origin/selectable_spec.rb b/spec/origin/selectable_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/origin/selectable_spec.rb
+++ b/spec/origin/selectable_spec.rb
@@ -4218,5 +4218,21 @@ describe Origin::Selectable do
end
end
end
+
+ context "when using the strategies via #where" ... | Adding extra test around merging strategies | mongoid_origin | train | rb |
2a8056ca1111113ed6ae9dd20adc1e6bddf79a02 | diff --git a/db/migrate/01_create_cms.rb b/db/migrate/01_create_cms.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/01_create_cms.rb
+++ b/db/migrate/01_create_cms.rb
@@ -11,6 +11,7 @@ class CreateCms < ActiveRecord::Migration[5.2]
t.string :hostname, null: false
t.string :path
t.string :locale... | adding timestamps to Site, because why not? Closes #<I> | comfy_comfortable-mexican-sofa | train | rb |
22f740afb21dd2385675e3e3e52e10d4ffed7e79 | diff --git a/src/Creiwork.php b/src/Creiwork.php
index <HASH>..<HASH> 100644
--- a/src/Creiwork.php
+++ b/src/Creiwork.php
@@ -272,11 +272,12 @@ class Creiwork
\PDO::class => function (Config $config) {
$host = $config->get('database.host');
+ $port = $config->get('databas... | added database port to PDO DI configuration | creios_creiwork-framework | train | php |
bf8c1a7e27c4aa8aa2740ff4db39f7b5f4d18f3a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -34,6 +34,8 @@ setup(
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.2',
+ 'Programming... | Add tag "python <I>" and "<I>" in setup | SolutionsCloud_apidoc | train | py |
86920ceaf527dbbede88453a9e0f84928017492c | diff --git a/dark/__init__.py b/dark/__init__.py
index <HASH>..<HASH> 100644
--- a/dark/__init__.py
+++ b/dark/__init__.py
@@ -5,4 +5,4 @@ if sys.version_info < (2, 7):
# Note that the version string must have the following format, otherwise it
# will not be found by the version() function in ../setup.py
-__version... | Added bin/fasta-count.py to list of installed bin scripts | acorg_dark-matter | train | py,py |
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.