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 |
|---|---|---|---|---|---|
ccf365e20a07e91ddf5ad56d2ae5be6ab18633e3 | diff --git a/Container.php b/Container.php
index <HASH>..<HASH> 100644
--- a/Container.php
+++ b/Container.php
@@ -22,6 +22,11 @@ class Container implements \ArrayAccess
protected $objects = array();
/**
+ * Table of generated objects
+ */
+ protected $calcs = array();
+
+ /**
* Table of... | fix several executions on null returns | SugiPHP_Container | train | php |
8184f43e7fb73fdca0bea222f26f57dc20410765 | diff --git a/fireplace/cards/karazhan/collectible.py b/fireplace/cards/karazhan/collectible.py
index <HASH>..<HASH> 100644
--- a/fireplace/cards/karazhan/collectible.py
+++ b/fireplace/cards/karazhan/collectible.py
@@ -15,10 +15,12 @@ class KAR_009:
"Babbling Book"
play = Give(CONTROLLER, RandomSpell())
+class KA... | Implement "Nightbane Templar" with test
KAR_<I> | jleclanche_fireplace | train | py,py |
d06b6d31ce3014f70bb77d5c4b338e96b1849fa5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,4 +25,4 @@ setup(name='arguments',
"Operating System :: POSIX",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System",
- ], requires=['future'])
+ ], r... | devenv
Tuesday <I> May <I> (week:<I> day:<I>), <I>:<I>:<I> | erikdejonge_arguments | train | py |
658720a2b3a139c7df3672371e22d3be3af35074 | diff --git a/spec/moped/session_spec.rb b/spec/moped/session_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/moped/session_spec.rb
+++ b/spec/moped/session_spec.rb
@@ -38,7 +38,7 @@ describe Moped::Session do
end
it "does not modify the original session" do
- other = session.with(database: "other"... | Remove warning: assigned but unused variable. | mongoid_moped | train | rb |
09ac37368bdeb2a43d85f0f070698ca0c67301d0 | diff --git a/src/utils/subscription-registry.js b/src/utils/subscription-registry.js
index <HASH>..<HASH> 100644
--- a/src/utils/subscription-registry.js
+++ b/src/utils/subscription-registry.js
@@ -116,8 +116,9 @@ class SubscriptionRegistry {
}
_onSocketClose (socket) {
- for (const name of this._names.get(... | fix(subscription-registry): silent unsub on close. | deepstreamIO_deepstream.io | train | js |
d07c01d568298e15de85ee8400da158de184fafc | diff --git a/test/spec/core.js b/test/spec/core.js
index <HASH>..<HASH> 100644
--- a/test/spec/core.js
+++ b/test/spec/core.js
@@ -31,6 +31,16 @@ describe('Core:', function() {
}
);
+ it('should use selector w/ string context (context selector)',
+ function(done) {
+ var el = $(util.selector, $('body... | Add test specs.
For Air constructor as function call and Air instance as selector
context (uses first element in underlying DOM array). | socialally_air | train | js,js |
4f48429877a011f9723b7265f30e26e103a32b3c | diff --git a/ext/commonmarker/extconf.rb b/ext/commonmarker/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/commonmarker/extconf.rb
+++ b/ext/commonmarker/extconf.rb
@@ -18,6 +18,7 @@ Dir.chdir(CMARK_BUILD_DIR) do
system 'make'
end
+$LDFLAGS << " #{CMARK_BUILD_DIR}/src/libcmark.#{ext}"
$CFLAGS << " -I#{CMARK_DI... | Include `LDFLAGS` for Linux | gjtorikian_commonmarker | train | rb |
d52bec2681a4d5afd82b723eed9f467545e03567 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -236,11 +236,11 @@ export class Logger {
error(message: string, ...rest: any[]): void {}
/**
- * Sets the level of logging this logger
+ * Sets the level of logging for this logger instance
*
... | fix(logging): relax type on Logger.setLevel() for compatibility with TypeScript | aurelia_logging | train | js |
2e65c057368b1a79c48427416adcb5ea590116e7 | diff --git a/python/src/cm_api/endpoints/types.py b/python/src/cm_api/endpoints/types.py
index <HASH>..<HASH> 100644
--- a/python/src/cm_api/endpoints/types.py
+++ b/python/src/cm_api/endpoints/types.py
@@ -574,7 +574,6 @@ class ApiCommand(BaseApiObject):
def retry(self):
"""
Retry a failed or aborted comm... | [cm-api] OPSAPS-<I> Comment for command retry in the cm_api Python
github needs to be updated.
- Removed the note in the comment/doc "Note: The retry will only work
for ClusterUpgrade command for now". This is not valid anymore and more
commands could become retriable soon. Maintaining a while list here is
not reasona... | cloudera_cm_api | train | py |
053551cf739e3b099fc8b1a37ee85ef94370a156 | diff --git a/lib/fog/core/attributes.rb b/lib/fog/core/attributes.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/core/attributes.rb
+++ b/lib/fog/core/attributes.rb
@@ -186,7 +186,7 @@ module Fog
end
def dup_attributes!
- @attributes = @attributes.dup
+ @attributes = @attributes.dup if @attr... | Only dup @attributes if it's not nil | fog_fog | train | rb |
6be7293a85e401f9937cfb2d1bb5d4df9b35b6d2 | diff --git a/js/src/carousel.js b/js/src/carousel.js
index <HASH>..<HASH> 100644
--- a/js/src/carousel.js
+++ b/js/src/carousel.js
@@ -283,8 +283,8 @@ class Carousel {
if (this._pointerEvent && (originEvent.pointerType === PointerType.TOUCH || originEvent.pointerType === PointerType.PEN)) {
this.touch... | Abandon swipe altogether if more than one touch detected | twbs_bootstrap | train | js |
3fcbc0d09bdc774664271b5e20e8c83c129b8f7c | diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/ClientSplitBrainTest.java b/hazelcast-client/src/test/java/com/hazelcast/client/ClientSplitBrainTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/test/java/com/hazelcast/client/ClientSplitBrainTest.java
+++ b/hazelcast-client/src/test/java/... | fixes #<I>. Test fix. Thread making puts operations quit prematurely. Added catching exceptions of operations happening before merge to prevent it. | hazelcast_hazelcast | train | java |
7749bcb20da5545c1ecd8760c55d5b1b1a4de603 | diff --git a/src/Modal/index.js b/src/Modal/index.js
index <HASH>..<HASH> 100644
--- a/src/Modal/index.js
+++ b/src/Modal/index.js
@@ -619,7 +619,6 @@ export class PureModal extends React.PureComponent<Props & ThemeProps, State> {
size={size}
loaded={loaded}
onScroll={this.handleMobileS... | FIX: Modal close on mobile devices (#<I>) | kiwicom_orbit-components | train | js |
5e5e0f69dc07cf1eadfa5d4a346ceafb13cae5d8 | diff --git a/lib/vagrant/command/ssh.rb b/lib/vagrant/command/ssh.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/command/ssh.rb
+++ b/lib/vagrant/command/ssh.rb
@@ -26,8 +26,8 @@ module Vagrant
with_target_vms(argv[0]) do |vm|
# Basic checks that are required for proper SSH
raise Errors... | `vagrant ssh` works again | hashicorp_vagrant | train | rb |
88204449af2b563b5164565695ab8f133f19e4cd | diff --git a/physical/s3.go b/physical/s3.go
index <HASH>..<HASH> 100644
--- a/physical/s3.go
+++ b/physical/s3.go
@@ -13,6 +13,7 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/credentials"
+ "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds... | physical/s3: update for new AWS API | hashicorp_vault | train | go |
d6ff5e1932fe3f84e827b1400a27157035cecf4f | diff --git a/func_timeout/StoppableThread.py b/func_timeout/StoppableThread.py
index <HASH>..<HASH> 100644
--- a/func_timeout/StoppableThread.py
+++ b/func_timeout/StoppableThread.py
@@ -32,15 +32,16 @@ class JoinThread(threading.Thread):
JoinThread - The workhouse that stops the StoppableThread
'''
- ... | Make StoppableThread.JoinThread have a configurable retry interval (still default 2 seconds). Will attempt to retry stopping thread every this-many seconds | kata198_func_timeout | train | py |
fe97d1566093f5f765c82f209014f3fc00c2e67e | diff --git a/Column.php b/Column.php
index <HASH>..<HASH> 100644
--- a/Column.php
+++ b/Column.php
@@ -417,7 +417,14 @@ abstract class Nada_Column
*/
public function setDefault($default)
{
- if ($this->_default !== $default) {
+ // Since SQL types cannot be completely mapped to PHP types, ... | Fixed comparision of column defaults. | hschletz_NADA | train | php |
f8c9da5e4b32f0350173e38df81f2dad9d92d925 | diff --git a/src/Entities/Project.php b/src/Entities/Project.php
index <HASH>..<HASH> 100644
--- a/src/Entities/Project.php
+++ b/src/Entities/Project.php
@@ -49,6 +49,8 @@ class Project extends ArrayContainer
public function compile()
{
+ // Target Directory is $currentWorkingDirectory . $environmen... | Added a note to remind me | tapestry-cloud_tapestry | train | php |
7fce0ed1ff61a302024ccc65f0375271590aee36 | diff --git a/tests/client_tests.py b/tests/client_tests.py
index <HASH>..<HASH> 100644
--- a/tests/client_tests.py
+++ b/tests/client_tests.py
@@ -12,7 +12,7 @@ import decimal as dec
# Import Homebrew
from bitex.api.api import RESTAPI
-from bitex.http import KrakenHTTP
+from bitex.http import KrakenHTTP, BitstampHT... | added subclasses for kraken and bitstamp tests | Crypto-toolbox_bitex | train | py |
b9abf5f9877c3eb38ad339f63a75b68ef43e6699 | diff --git a/libraries/joomla/application/web.php b/libraries/joomla/application/web.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/application/web.php
+++ b/libraries/joomla/application/web.php
@@ -641,7 +641,7 @@ class JWeb
* @param string $event The event name.
* @param callback $handler Th... | Added chaining support to JWeb::registerEvent. | joomla_joomla-framework | train | php |
96559bd3f09b2f4276615446b160ad9b1c0e1f2d | diff --git a/src/sap.ui.rta/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js b/src/sap.ui.rta/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.rta/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js
+++ b/src/sap.ui.rt... | [INTERNAL][FIX] sap.ui.rta: Fix AdditionalElementsPlugin.isEnabled
The function isEnabled had problems when no actions are available for
this plugin.
Change-Id: I<I>b<I>ea3a5b<I>cad2f<I>a<I>b3d3c3a<I>ece | SAP_openui5 | train | js |
5e76ff97db1223c532fd1a2075f1dfb7c829173b | diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100755
--- a/autopep8.py
+++ b/autopep8.py
@@ -543,6 +543,7 @@ class FixPEP8(object):
ls = None
le = None
for i in range(0, len(logical_start), 1):
+ assert logical_end
x = logical_end[i]
if x[0] ... | Normalize carriage return to line feed
The former does not seem to be interpreted correctly by Python (at least
on Unix). | hhatto_autopep8 | train | py |
8efad7d19ff340e302356f7a91343fbfb54026cb | diff --git a/lib/authorizer/hawk.js b/lib/authorizer/hawk.js
index <HASH>..<HASH> 100644
--- a/lib/authorizer/hawk.js
+++ b/lib/authorizer/hawk.js
@@ -83,14 +83,6 @@ function computeBodyHash (body, algorithm, digestEncoding, contentType, callback
return callback(hash.digest(digestEncoding));
}
- if (... | Removed empty `if` block in Hawk auth computeBodyHash function | postmanlabs_postman-runtime | train | js |
8e2564a70c3d299d05f5583441b59902a7b627f2 | diff --git a/src/static.js b/src/static.js
index <HASH>..<HASH> 100644
--- a/src/static.js
+++ b/src/static.js
@@ -37,7 +37,7 @@ export const exportRoutes = async ({ config, clientStats, cliArguments }) => {
}
// Loop through the props
- Object.values(route.initialProps).forEach(prop => {
+ Ob... | Fix Node 6 support (#<I>) | nozzle_react-static | train | js |
c03d25b97aa0898d2712c8664d28e167b4c6ecd0 | diff --git a/examples/ssr-caching/server.js b/examples/ssr-caching/server.js
index <HASH>..<HASH> 100644
--- a/examples/ssr-caching/server.js
+++ b/examples/ssr-caching/server.js
@@ -9,7 +9,10 @@ const handle = app.getRequestHandler()
// This is where we cache our rendered HTML pages
const ssrCache = new LRUCache({... | Added length calculation for insert of cache rather then default to 1… (#<I>)
* Added length calculation for insert of cache rather then default to 1. changed default cache from <I> to <I>MB
* adjusted for lint | zeit_next.js | train | js |
c1b55b7f0f111e33c7e1d9df82ebf1435a8c1b70 | diff --git a/openid/consumer/discover.py b/openid/consumer/discover.py
index <HASH>..<HASH> 100644
--- a/openid/consumer/discover.py
+++ b/openid/consumer/discover.py
@@ -1,11 +1,17 @@
from urljr import fetchers
+from openid import oidutil
+
# If the Yadis library is available, use it. Otherwise, only use
# old-st... | [project @ Add log message when library is operating without Yadis sup] | openid_python-openid | train | py |
ddd4213fcfaba25a35a5cca6dc63d23243546be8 | diff --git a/lib/browser-sync.js b/lib/browser-sync.js
index <HASH>..<HASH> 100644
--- a/lib/browser-sync.js
+++ b/lib/browser-sync.js
@@ -705,6 +705,15 @@ BrowserSync.prototype.cleanup = function (cb) {
bs.events.removeAllListeners();
}
+ // Close any core file watchers
+ if (bs.watchers) {
+ ... | fix(cleanup): close any watchers registered in options - fixes #<I> | BrowserSync_browser-sync | train | js |
89d7c1eab5eec5dcaf413a23d23e2128d6231cb3 | diff --git a/karaage/common/aaf_rapid_connect.py b/karaage/common/aaf_rapid_connect.py
index <HASH>..<HASH> 100644
--- a/karaage/common/aaf_rapid_connect.py
+++ b/karaage/common/aaf_rapid_connect.py
@@ -32,6 +32,9 @@ def build_login_url(request, entityid=None):
def get_institute_from_token(verified_jwt):
attrs = ... | Ensure we don't accidentally match institute based on empty stringt
Change-Id: I7e<I>bde7df<I>f<I>a6c2cf2fe0a4deae | Karaage-Cluster_karaage | train | py |
7fa073e30f12320bf4d1295921b91dc78d4ea88f | diff --git a/src/PageSpeed/Insights/Service.php b/src/PageSpeed/Insights/Service.php
index <HASH>..<HASH> 100644
--- a/src/PageSpeed/Insights/Service.php
+++ b/src/PageSpeed/Insights/Service.php
@@ -13,14 +13,6 @@ class Service
private $gateway = 'https://www.googleapis.com/pagespeedonline/v2';
/**
- * @return S... | __construct's default behavior is to return the object. | sgrodzicki_pagespeed | train | php |
b8270f334bf9874994c85f3b55655fd1f7e0aad0 | diff --git a/lib/watir-webdriver/version.rb b/lib/watir-webdriver/version.rb
index <HASH>..<HASH> 100644
--- a/lib/watir-webdriver/version.rb
+++ b/lib/watir-webdriver/version.rb
@@ -1,3 +1,3 @@
module Watir
- VERSION = "0.5.7"
+ VERSION = "0.5.8"
end | Bump to version <I> | watir_watir | train | rb |
c9fe442882d7446e63f8536b35bb90d213018b26 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -2,11 +2,11 @@
/* global hexo */
-var ftpsync = require('ftpsync');
+const ftpsync = require('ftpsync');
-hexo.extend.deployer.register('ftpsync', function(args, callback) {
+hexo.extend.deployer.register('ftpsync', (ar... | refactor: es6-fy | hexojs_hexo-deployer-ftpsync | train | js |
b71d8b2a708ecd78c7097de2b32563713ee9943f | diff --git a/src/HttpClient.php b/src/HttpClient.php
index <HASH>..<HASH> 100644
--- a/src/HttpClient.php
+++ b/src/HttpClient.php
@@ -7,7 +7,7 @@ use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
- * Sends one or more PSR-7 Request and returns PSR-7 responses.
+ * Sends a PSR-7 Req... | remove docblock about multiple requests handling
With #<I> being merged the `HttpClient` interface no longer supports
sending multiple requests at once. | php-http_httplug | train | php |
ebca524e961680f0d769247d1be55cfa62164a4e | diff --git a/test/e2e/specs/wp-signup-spec.js b/test/e2e/specs/wp-signup-spec.js
index <HASH>..<HASH> 100644
--- a/test/e2e/specs/wp-signup-spec.js
+++ b/test/e2e/specs/wp-signup-spec.js
@@ -515,7 +515,7 @@ describe( `[${ host }] Sign Up (${ screenSize }, ${ locale })`, function () {
} );
} );
- describe( 'Sign... | Disable signup test failing due to purchase thank you page (#<I>) | Automattic_wp-calypso | train | js |
a401374f999038cd8f1e4b4d29200b24d8b0aa42 | diff --git a/chess/syzygy.py b/chess/syzygy.py
index <HASH>..<HASH> 100644
--- a/chess/syzygy.py
+++ b/chess/syzygy.py
@@ -627,6 +627,7 @@ class Table(object):
if self.data is None:
self.data = mmap.mmap(self.fd, 0, access=mmap.ACCESS_READ)
+ # Micro optimizations for read_ubyte.
... | Micro-optimizations for read_ubyte are still good | niklasf_python-chess | train | py |
35d2082fa2daa41fc0da8dfad9b930be7c4c5b27 | diff --git a/src/GlideConversion.php b/src/GlideConversion.php
index <HASH>..<HASH> 100644
--- a/src/GlideConversion.php
+++ b/src/GlideConversion.php
@@ -128,7 +128,7 @@ final class GlideConversion
unlink($this->conversionResult);
- if ($this->directoryIsEmpty($conversionResultDirectory) && $conver... | Fix permissions issue (#<I>) | spatie_image | train | php |
1de14fb7f616e0bc7413120bb91815170247740d | diff --git a/lib/compile.js b/lib/compile.js
index <HASH>..<HASH> 100644
--- a/lib/compile.js
+++ b/lib/compile.js
@@ -60,7 +60,7 @@ var Pseudos = require("./pseudos.js"),
getChildren = DomUtils.getChildren;
filters.not = function(next, select) {
- var func = compile(select);
+ var func = compileUnsafe(se... | compile: Use `compileUnsafe` in :not | fb55_css-select | train | js |
c1577b9210388e0856cc46739d4df5bdaa79c0e6 | diff --git a/structr-ui/src/main/resources/structr/js/entities.js b/structr-ui/src/main/resources/structr/js/entities.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/entities.js
+++ b/structr-ui/src/main/resources/structr/js/entities.js
@@ -1703,7 +1703,7 @@ var _Entities = {
Command... | Bugfix: Removes old parameter value which was not used anymore but is now expected to be an array | structr_structr | train | js,js |
743d592de608b35e4e34d92dba8f062d3c6fad5a | diff --git a/pmxbot/util.py b/pmxbot/util.py
index <HASH>..<HASH> 100644
--- a/pmxbot/util.py
+++ b/pmxbot/util.py
@@ -32,7 +32,7 @@ def wchoice(d):
Statistically speaking, choices should be .5 a:b
>>> ratio = choices.count('a') / choices.count('b')
- >>> .45 < ratio < .55
+ >>> .4 < ratio < .5
True
"""
tot... | Expand the acceptable range to reduce spurious errors. | yougov_pmxbot | train | py |
71791faf64640c597392ed521c9a58fac4b7cb73 | diff --git a/src/Storage/Field/Sanitiser/Sanitiser.php b/src/Storage/Field/Sanitiser/Sanitiser.php
index <HASH>..<HASH> 100644
--- a/src/Storage/Field/Sanitiser/Sanitiser.php
+++ b/src/Storage/Field/Sanitiser/Sanitiser.php
@@ -41,6 +41,10 @@ class Sanitiser implements SanitiserInterface
? $this->getWyswigA... | Keep from introducing entities if there aren't any. | bolt_bolt | train | php |
8d901d9bb566bd7817f99994088068f0d2603c51 | diff --git a/web/concrete/libraries/request.php b/web/concrete/libraries/request.php
index <HASH>..<HASH> 100644
--- a/web/concrete/libraries/request.php
+++ b/web/concrete/libraries/request.php
@@ -1,5 +1,4 @@
-<?
-defined('C5_EXECUTE') or die("Access Denied.");
+<?php defined('C5_EXECUTE') or die("Access Denied.");
... | When calling Page::getCurrentPage() on the <I> page $currentPage was never set.
Also by not declaring the properties they all become public and we have getter methods for them.
Former-commit-id: ad<I>a<I>b<I>cb<I>a<I>e<I>bd<I>f4d7ae8bd8 | concrete5_concrete5 | train | php |
f6d56441082ed96379d89fc1a637efa29b7565f4 | diff --git a/core/src/test/java/org/bitcoinj/core/PostgresFullPrunedBlockChainTest.java b/core/src/test/java/org/bitcoinj/core/PostgresFullPrunedBlockChainTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/org/bitcoinj/core/PostgresFullPrunedBlockChainTest.java
+++ b/core/src/test/java/org/bitcoinj/core/Pos... | Remind myself how to run the postgres unit tests. | bitcoinj_bitcoinj | train | java |
d32706cf35089851bfd995e05f310e92b4e6fa4f | diff --git a/lib/unexpectedMitm.js b/lib/unexpectedMitm.js
index <HASH>..<HASH> 100644
--- a/lib/unexpectedMitm.js
+++ b/lib/unexpectedMitm.js
@@ -757,7 +757,7 @@ module.exports = {
expect.errorMode = 'nested';
var testFile = filePathWithoutExt + '.js';
- if (process.e... | Use the common var checking function. | unexpectedjs_unexpected-mitm | train | js |
95a6552befccc2d6d9825abf6546720db9aec2e7 | diff --git a/lib/fluent/event.rb b/lib/fluent/event.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/event.rb
+++ b/lib/fluent/event.rb
@@ -35,6 +35,11 @@ module Fluent
size == 0
end
+ # for tests
+ def ==(other)
+ other.is_a?(EventStream) && self.to_msgpack_stream == other.to_msgpack_stream
+ ... | fix to add method for assert_equal | fluent_fluentd | train | rb |
796af2910de7c123e256ee57935f960da770f8b3 | diff --git a/dparse/parser.py b/dparse/parser.py
index <HASH>..<HASH> 100644
--- a/dparse/parser.py
+++ b/dparse/parser.py
@@ -6,7 +6,7 @@ import yaml
from io import StringIO
-from configparser import SafeConfigParser, NoOptionError
+from configparser import ConfigParser, NoOptionError
from .regex import URL_... | Use ConfigParser directly
Apparently SafeConfigParser was renamed to ConfigParser in Python <I>,
and the old SafeConfigParser name was kept for backward compatibility until Python <I>. | pyupio_dparse | train | py |
1933cf987101d9bfcba47f18a7fe37a5f9258446 | diff --git a/bin/propel.php b/bin/propel.php
index <HASH>..<HASH> 100644
--- a/bin/propel.php
+++ b/bin/propel.php
@@ -18,9 +18,10 @@ $finder->files()->name('*.php')->in(__DIR__.'/../src/Propel/Generator/Command')-
$app = new Application('Propel', Propel::VERSION);
+$ns = '\\Propel\\Generator\\Command\\';
+
forea... | optimize loop in propel.php
Don't need to redaclare $ns for every ReflectionClass.
Also avoid concat of '\\' in each iteration. | propelorm_Propel2 | train | php |
b99adc3dce20d3f5175bfc36a41e53cfd09ab94d | diff --git a/modules/geo-layers/src/tile-3d-layer/tile-3d-layer.js b/modules/geo-layers/src/tile-3d-layer/tile-3d-layer.js
index <HASH>..<HASH> 100644
--- a/modules/geo-layers/src/tile-3d-layer/tile-3d-layer.js
+++ b/modules/geo-layers/src/tile-3d-layer/tile-3d-layer.js
@@ -38,7 +38,7 @@ export default class Tile3DLaye... | Tile3DLayer: more reliable isLoaded test (#<I>) | uber_deck.gl | train | js |
8be22411f7be2a28dd3a85343e973fe85186de56 | diff --git a/src/Event/WooCommerce_Events.php b/src/Event/WooCommerce_Events.php
index <HASH>..<HASH> 100644
--- a/src/Event/WooCommerce_Events.php
+++ b/src/Event/WooCommerce_Events.php
@@ -16,6 +16,7 @@ class WooCommerce_Events implements Hook_Event_Config_Interface {
return class_exists( 'WooCommerce' ) ? [
[... | Added WooCommerce loop item event. | Rarst_laps | train | php |
f94cd2813d074f81fe3e96119e0f6de20aca5729 | diff --git a/hugolib/site.go b/hugolib/site.go
index <HASH>..<HASH> 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -505,11 +505,15 @@ func (s *Site) ReBuild(events []fsnotify.Event) error {
}
file, err := s.reReadFile(ev.Name)
+
if err != nil {
- errs <- err
+ jww.ERROR.Println("Error reading file... | Handle errors during rereading properly
Without this fix, any error during rereading would cause Hugo to hang.
Fixes #<I>
Closes #<I> | gohugoio_hugo | train | go |
d875704d577905a1d752ade96c73d6771458d67a | diff --git a/packages/zent/src/tabs/index.js b/packages/zent/src/tabs/index.js
index <HASH>..<HASH> 100644
--- a/packages/zent/src/tabs/index.js
+++ b/packages/zent/src/tabs/index.js
@@ -132,7 +132,8 @@ export default class Tabs extends (PureComponent || Component) {
renderWithPanel() {
let { prefix, className,... | fix: 修复Tabs组件activeKey兼容问题 | youzan_zent | train | js |
a04f8020993568e5677cdbce96e93c82cf6e012f | diff --git a/spacy/scorer.py b/spacy/scorer.py
index <HASH>..<HASH> 100644
--- a/spacy/scorer.py
+++ b/spacy/scorer.py
@@ -231,7 +231,7 @@ class Scorer(object):
"""
if len(doc) != len(gold):
gold = GoldParse.from_annot_tuples(
- doc, tuple(zip(*gold.orig_annot)) + (gold.cat... | Fix GoldParse init when token count differs (#<I>)
Fix the `GoldParse` initialization when the number of tokens has changed
(due to merging subtokens with the parser). | explosion_spaCy | train | py |
4396420401f67965ce0b08313c20958b9ba8363a | diff --git a/datacats/environment.py b/datacats/environment.py
index <HASH>..<HASH> 100644
--- a/datacats/environment.py
+++ b/datacats/environment.py
@@ -752,6 +752,9 @@ class Environment(object):
}
if datapusher:
+ if not inspect_container(self._get_container_name('datapusher')):
+ ... | Throw an error if we can't link datapusher | datacats_datacats | train | py |
e7280bb66ff5adbf2376ead437a6ac5c7d008752 | diff --git a/packages/jsio.js b/packages/jsio.js
index <HASH>..<HASH> 100644
--- a/packages/jsio.js
+++ b/packages/jsio.js
@@ -124,6 +124,16 @@
}
}
+ this.removePath = function(path) {
+ var paths = this.__path.__default__;
+ for(var i = 0, j = paths.length; i < j; ++i) {
+ if (paths[i] == path) {
+ ... | convenience function for removing a path | gameclosure_js.io | train | js |
fd0eb3d904235e8ebf21d6e79d45096d4c9c71bf | diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -133,8 +133,13 @@ module ActiveRec... | Clear up some ivar warnings | rails_rails | train | rb |
8ca1dae64e41a5b607bfcb7024ee5b55aba2a007 | diff --git a/lib/phonology/orthography.rb b/lib/phonology/orthography.rb
index <HASH>..<HASH> 100644
--- a/lib/phonology/orthography.rb
+++ b/lib/phonology/orthography.rb
@@ -85,10 +85,10 @@ module Phonology
def translate(string)
@string = string
@max = array.length
- array.each_index.map do |in... | Return an array of SoundSequence rather than array. | norman_phonology | train | rb |
2927e5fd390eaa7d71a432b51633065c6ca2f9d9 | diff --git a/discord/client.py b/discord/client.py
index <HASH>..<HASH> 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1540,7 +1540,7 @@ class Client:
client should go idle or not.
.. deprecated:: v0.13.0
- Use :meth:`change_status` instead.
+ Use :meth:`change_pres... | Fix URL pointing to better method in Client.change_status | Rapptz_discord.py | train | py |
12b06d66da31ccf0c121e9a2964a69148b0e038a | diff --git a/lib/phusion_passenger/native_support.rb b/lib/phusion_passenger/native_support.rb
index <HASH>..<HASH> 100644
--- a/lib/phusion_passenger/native_support.rb
+++ b/lib/phusion_passenger/native_support.rb
@@ -245,6 +245,7 @@ private
logger.level = Logger::WARN
logger.formatter = proc { |severity, dateti... | When downloading precompiled native_support binaries, don't forget to use the right CA certificate | phusion_passenger | train | rb |
ade6da56b13673b173799e28d18189f85af21c60 | diff --git a/graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/MessageList.java b/graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/MessageList.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog/plugins/views/search/searchtypes/MessageList.... | Persist message list search type's sort option. (#<I>)
Before this change, the `sort` option for a message list search type was
not persisted. This lead to sorting configuration having no effect when
storing a search and executing it, only for the synchronous endpoint.
Fixes #<I>. | Graylog2_graylog2-server | train | java |
8dc097b293768b29dc4b5a9558618e66687ccca6 | diff --git a/client/__init__.py b/client/__init__.py
index <HASH>..<HASH> 100644
--- a/client/__init__.py
+++ b/client/__init__.py
@@ -1,4 +1,4 @@
-__version__ = 'v1.7.3'
+__version__ = 'v1.7.4'
FILE_NAME = 'ok'
diff --git a/client/__main__.py b/client/__main__.py
index <HASH>..<HASH> 100644
--- a/client/__main__.... | use different location for requests/cacert - bumpt to <I> | okpy_ok-client | train | py,py |
187c51d1432acd6495319d57c50fba1e750f1f01 | diff --git a/test/browser/time.js b/test/browser/time.js
index <HASH>..<HASH> 100644
--- a/test/browser/time.js
+++ b/test/browser/time.js
@@ -39,7 +39,7 @@ describe('Date input field with pattern', function () {
var field = document.querySelector('.input-time');
var cleave = new Cleave(field, {
time... | syntax correction (#<I>) | nosir_cleave.js | train | js |
111c56a3f05384a675d64f2d5eb6f0f05033dbe3 | diff --git a/remi/server.py b/remi/server.py
index <HASH>..<HASH> 100644
--- a/remi/server.py
+++ b/remi/server.py
@@ -885,7 +885,7 @@ class StandaloneServer(Server):
def start(main_gui_class, **kwargs):
"""This method starts the webserver with a specific App subclass."""
- debug = kwargs.pop('debug', False)... | Proposal: set debug true if debug flag was used when starting the app | dddomodossola_remi | train | py |
401d0298e257df878b2f945898774359c6ee0b0b | diff --git a/lib/sequel/schema/db_column.rb b/lib/sequel/schema/db_column.rb
index <HASH>..<HASH> 100644
--- a/lib/sequel/schema/db_column.rb
+++ b/lib/sequel/schema/db_column.rb
@@ -14,7 +14,7 @@ module Sequel
INTEGER_TYPES = [:tinyint, :integer, :smallint, :mediumint, :bigint]
# Database column types ... | Change DECIMAL_TYPES. | knaveofdiamonds_sequel_migration_builder | train | rb |
85efa3a2cf110a2bc81cffcadc5056ed93128bed | diff --git a/tools/test.rb b/tools/test.rb
index <HASH>..<HASH> 100644
--- a/tools/test.rb
+++ b/tools/test.rb
@@ -7,11 +7,12 @@ require "rails/test_unit/minitest_plugin"
require "rails/test_unit/line_filtering"
require "active_support/test_case"
-module Rails
+class << Rails
# Necessary to get rerun-snippts wor... | Prevent a redefinition warning when the real Rails.root appears | rails_rails | train | rb |
a509976dd6dbb21b1c7a90ec0619b231b9b5c0d1 | diff --git a/src/bootstrap.php b/src/bootstrap.php
index <HASH>..<HASH> 100644
--- a/src/bootstrap.php
+++ b/src/bootstrap.php
@@ -22,7 +22,15 @@ define('DCG_ROOT', dirname(__DIR__));
* The initialized console application.
*/
function dcg_create_application() {
- $application = new Application('Drupal Code Gene... | Added fallback for application version. | Chi-teck_drupal-code-generator | train | php |
e08e21880a666bb9beca31c9e96c319d35f8c8c0 | diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index <HASH>..<HASH> 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -287,6 +287,8 @@ def test_output_redirection(base_app):
os.remove(filename)
+@pytest.mark.skipif(sys.platform == 'linux',
+ reason="Unit test passes on Ubuntu... | Marked one test to skip on Linux because it fails on the TravisCI Linux containers.
But it works on both Ubuntu <I> and Debian <I>. | python-cmd2_cmd2 | train | py |
5c2470aca6c6d43197bfee1e803f5b901fee1c74 | diff --git a/programs/thellier_gui.py b/programs/thellier_gui.py
index <HASH>..<HASH> 100755
--- a/programs/thellier_gui.py
+++ b/programs/thellier_gui.py
@@ -297,6 +297,7 @@ DESCRIPTION
self.evt_quit = evt_quit
self.close_warning = False
self.parent = parent
+ self.crit_data = {}
... | thellier gui: fix criteria not being saved bug | PmagPy_PmagPy | train | py |
40ce0c6a5fb62c70b81f560fab0ea3eac9991050 | diff --git a/serialization.go b/serialization.go
index <HASH>..<HASH> 100644
--- a/serialization.go
+++ b/serialization.go
@@ -159,7 +159,7 @@ func prepareValues(prefix string, params url.Values, command interface{}) error
switch field.Type {
case reflect.TypeOf(net.IPv4zero):
ip := (net.IP)(val.Byt... | serialization: fail on empty IP, not zero. (#<I>) | exoscale_egoscale | train | go,go |
cd48293ab56fbb9a63f89a18331ea3c88e3f4675 | diff --git a/src/test/java/javascalautils/concurrent/TestFuture.java b/src/test/java/javascalautils/concurrent/TestFuture.java
index <HASH>..<HASH> 100644
--- a/src/test/java/javascalautils/concurrent/TestFuture.java
+++ b/src/test/java/javascalautils/concurrent/TestFuture.java
@@ -31,6 +31,8 @@ import org.junit.Test;
... | Added test cases for Future.apply() taking an Executor | pnerg_java-scala-util | train | java |
9866a877e63789c744dcce73f7bede5a30c5ef65 | diff --git a/anyconfig/mergeabledict.py b/anyconfig/mergeabledict.py
index <HASH>..<HASH> 100644
--- a/anyconfig/mergeabledict.py
+++ b/anyconfig/mergeabledict.py
@@ -4,9 +4,11 @@
#
"""Merge-able dict.
"""
-from anyconfig.compat import iteritems
+from __future__ import absolute_import
+
+from .compat import iteritem... | started to switch to absolute_import from anyconfig.mergeabledict | ssato_python-anyconfig | train | py |
2a49bac65fb7e05cd083e8b445ad2fcfb689ae0a | diff --git a/src/main/java/com/cloudbees/jenkins/Cleaner.java b/src/main/java/com/cloudbees/jenkins/Cleaner.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cloudbees/jenkins/Cleaner.java
+++ b/src/main/java/com/cloudbees/jenkins/Cleaner.java
@@ -52,7 +52,7 @@ public class Cleaner extends PeriodicWork {
... | Address JENKINS-<I> by using getAllIItems instead of getItems | jenkinsci_github-plugin | train | java |
4e603c90ae69bbdc6ff78002f4459831eb9f8cc7 | diff --git a/django_socketio/views.py b/django_socketio/views.py
index <HASH>..<HASH> 100644
--- a/django_socketio/views.py
+++ b/django_socketio/views.py
@@ -21,8 +21,8 @@ def cleanup():
Sends the on_finish signal to any open clients when the server
is unexpectedly stopped.
"""
- for request, socket ... | Fixed invalid args in on_finish event handling. | stephenmcd_django-socketio | train | py |
aee8019b02f0d67cb7f2751c8c179960197619c0 | diff --git a/src/Munee/Request.php b/src/Munee/Request.php
index <HASH>..<HASH> 100644
--- a/src/Munee/Request.php
+++ b/src/Munee/Request.php
@@ -147,7 +147,7 @@ class Request
$this->setRawParam('minify', 'true');
}
- $this->ext = pathinfo($this->rawFiles, PATHINFO_EXTENSION);
+ $... | allow for uppercased asset extensions (such as .JPG) | meenie_munee | train | php |
34b615a8d46a8d4cac90dd17dc7a34a18fc232fb | diff --git a/js/piwik.js b/js/piwik.js
index <HASH>..<HASH> 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -5520,7 +5520,12 @@ if (typeof Piwik !== 'object') {
/**
* Set array of domains to be treated as local. Also supports path, eg '.piwik.org/subsite1'. In this
* c... | added documentation for cookieConfigPath detection | matomo-org_matomo | train | js |
9a4ff51d404bc1e40929a1373fd14fb21efa161e | diff --git a/pytuya/__init__.py b/pytuya/__init__.py
index <HASH>..<HASH> 100644
--- a/pytuya/__init__.py
+++ b/pytuya/__init__.py
@@ -52,7 +52,7 @@ class AESCipher(object):
def encrypt(self, raw):
if Crypto:
raw = self._pad(raw)
- cipher = AES.new(self.key, mode=AES.MODE_ECB, IV='... | Remove IV
Remove IV since it's not needed and breaks when using pycryptodome. Fixes clach<I>/python-tuya#1 | clach04_python-tuya | train | py |
63f95d5f10c20cafab837f6236d5055f1ba45162 | diff --git a/lib/stevenson/template_loader.rb b/lib/stevenson/template_loader.rb
index <HASH>..<HASH> 100644
--- a/lib/stevenson/template_loader.rb
+++ b/lib/stevenson/template_loader.rb
@@ -32,7 +32,14 @@ module Stevenson
# If the template options contain a git url, load the git template and return it
if... | Added Subdirectory Options to Aliases | RootsRated_stevenson | train | rb |
e0fbb276cff5d8fba20c7a7a7865cb9203135315 | diff --git a/reconnect/index.js b/reconnect/index.js
index <HASH>..<HASH> 100644
--- a/reconnect/index.js
+++ b/reconnect/index.js
@@ -119,7 +119,7 @@ export class Reconnect {
nextDelay() {
let base = this.options.minDelay * 2 ** this.attempts
let rand = Math.random()
- let deviation = Math.floor(rand *... | More random reconnect value to avoid backoff | logux_core | train | js |
15f036e22a6c33cd13cd21f28b7566ba383754d5 | diff --git a/sendgrid/message.py b/sendgrid/message.py
index <HASH>..<HASH> 100644
--- a/sendgrid/message.py
+++ b/sendgrid/message.py
@@ -128,11 +128,9 @@ class Mail(SMTPAPIHeader):
def add_attachment_stream(self, name, string):
if sys.version_info < (3, 0) and isinstance(name, unicode):
n... | Small conditional clean-up
The conditional under revision does the same thing for two of three cases. I just got
rid of their separation. | sendgrid_sendgrid-python | train | py |
717ca04aa7b53860fd65b4ce5ca7e7784eb9486e | diff --git a/logger.go b/logger.go
index <HASH>..<HASH> 100644
--- a/logger.go
+++ b/logger.go
@@ -10,7 +10,6 @@ type Logger interface {
Info(msg string, ctx ...interface{})
Warn(msg string, ctx ...interface{})
Error(msg string, ctx ...interface{})
- Crit(msg string, ctx ...interface{})
}
type DiscardLogger s... | Remove Crit from pgx.Logger
Nothing pgx should do should generate a Crit / Fatal error (program
must terminate now). The higher level program should make those
decisions. | jackc_pgx | train | go |
71cd09e8d94ed2123fa5a36e03723baf042cf3a7 | diff --git a/spec/features/mailing_feature_spec.rb b/spec/features/mailing_feature_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/features/mailing_feature_spec.rb
+++ b/spec/features/mailing_feature_spec.rb
@@ -285,10 +285,7 @@ describe 'mailing features' do
expect {
mailing.release
- }.to raise_... | releasing a deleted mailing returns a ResourceNotFound error | infopark_webcrm_sdk | train | rb |
541f30fc978a9d43a38b33779566ab0e999f77fb | diff --git a/src/Composer/Script/DirectoryConfigurator.php b/src/Composer/Script/DirectoryConfigurator.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Script/DirectoryConfigurator.php
+++ b/src/Composer/Script/DirectoryConfigurator.php
@@ -187,20 +187,8 @@ class DirectoryConfigurator
$this->filesystem->... | Fix DirectoryConfigurator for resolving child paths after parents have been moved. | bolt_bolt | train | php |
10e89813322a02b259d052433a861c9c54e0d8cd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ setup(
packages=[
'djangocms_inherit',
'djangocms_inherit.migrations',
- 'djangocms_inherit.migrations_django'
+ 'djangocms_inherit.south_migrations',
],
license='L... | Update setup.py with migration folder changes | divio_djangocms-inherit | train | py |
fc46af8658efede3fff26e4350fa613a4bcdf147 | diff --git a/javascript/entwineline.js b/javascript/entwineline.js
index <HASH>..<HASH> 100644
--- a/javascript/entwineline.js
+++ b/javascript/entwineline.js
@@ -511,7 +511,7 @@ window.Microblog = window.Microblog || {}
$('input[name=action_savepost]').removeAttr('disabled');
$('form.replyForm').find('... | fix(timeline.js) fixed 'fail' method reference, window.SS reference | nyeholt_silverstripe-microblog | train | js,js |
24fcbf4a95b3635c48d7a9858dce2494f109fbd3 | diff --git a/src/java/org/apache/cassandra/db/DBManager.java b/src/java/org/apache/cassandra/db/DBManager.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/db/DBManager.java
+++ b/src/java/org/apache/cassandra/db/DBManager.java
@@ -19,10 +19,7 @@
package org.apache.cassandra.db;
import java.io.... | switch singleton implementation from double-checked-locking to synchronized (code is not performance-sensitive). patch by Edward Ribeiro; reviewed by jbellis for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
61bd969f2c067f22168b5a16ecd960c5839b52f3 | diff --git a/pytds/query.py b/pytds/query.py
index <HASH>..<HASH> 100644
--- a/pytds/query.py
+++ b/pytds/query.py
@@ -70,16 +70,13 @@ def make_param(tds, name, value, output=False):
elif isinstance(value, float):
col_type = SYBFLTN
size = 8
- elif isinstance(value, unicode):
+ elif isinsta... | treat str type as nvarchar instead of binary | denisenkom_pytds | train | py |
1536fda817dad4432b2805ef66ef26aec38da7c0 | diff --git a/lib/puppet/module_tool/applications/uninstaller.rb b/lib/puppet/module_tool/applications/uninstaller.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/module_tool/applications/uninstaller.rb
+++ b/lib/puppet/module_tool/applications/uninstaller.rb
@@ -11,6 +11,7 @@ module Puppet::ModuleTool
@install... | (PUP-<I>) Clean ignore-changes uninstall logic | puppetlabs_puppet | train | rb |
9b5be391ef7c373d4a6e259589779bf771ca03d8 | diff --git a/examples/demo.rb b/examples/demo.rb
index <HASH>..<HASH> 100644
--- a/examples/demo.rb
+++ b/examples/demo.rb
@@ -3,7 +3,12 @@ require 'mongo'
include XGen::Mongo::Driver
-db = Mongo.new.db('ruby-mongo-demo')
+host = ARGV[0] || 'localhost'
+port = ARGV[1] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT
+
... | Added options for host and port to example | mongodb_mongo-ruby-driver | train | rb |
830ad04c1768207e8b05fb9ae9486f3747959047 | diff --git a/concrete/src/Support/Symbol/MetadataGenerator.php b/concrete/src/Support/Symbol/MetadataGenerator.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Support/Symbol/MetadataGenerator.php
+++ b/concrete/src/Support/Symbol/MetadataGenerator.php
@@ -74,6 +74,8 @@ class MetadataGenerator
'',
... | Add standard "Access Denied." message to IDE Symbol files | concrete5_concrete5 | train | php,php |
29529b336ab99ffcc0c4cd33afaf37f611ef0a45 | diff --git a/src/org/jgroups/protocols/relay/RELAY2.java b/src/org/jgroups/protocols/relay/RELAY2.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/relay/RELAY2.java
+++ b/src/org/jgroups/protocols/relay/RELAY2.java
@@ -362,7 +362,7 @@ public class RELAY2 extends Protocol {
Address s... | Only use FTC is max_site_masters is 1 | belaban_JGroups | train | java |
dfa665fbc2ca0afe1c4b167154c162f51e4fdf24 | diff --git a/lib/support/World.js b/lib/support/World.js
index <HASH>..<HASH> 100644
--- a/lib/support/World.js
+++ b/lib/support/World.js
@@ -8,7 +8,9 @@ var chai = require('chai');
var chaiAsPromised = require('chai-as-promised');
var ElementHelper = require('./ElementHelper');
var Transform = require('./Transform... | Remove pageObjectMap from World constructor so that it can be inherited from prototype | ReadyTalk_cukefarm | train | js |
88948831536c656a1d8bb1a04c184b94820e8982 | diff --git a/python/ray/scripts/scripts.py b/python/ray/scripts/scripts.py
index <HASH>..<HASH> 100644
--- a/python/ray/scripts/scripts.py
+++ b/python/ray/scripts/scripts.py
@@ -419,7 +419,7 @@ def stop():
if "/tmp/ray" in server["notebook_dir"]
]
subprocess.call(
- ["kill {} ... | Force kill web UI in ray stop (#<I>) | ray-project_ray | train | py |
fa8eb91c87a4e4aeeb0bef0287dfe7133838972e | diff --git a/lib/shared/registerExports.js b/lib/shared/registerExports.js
index <HASH>..<HASH> 100644
--- a/lib/shared/registerExports.js
+++ b/lib/shared/registerExports.js
@@ -14,7 +14,7 @@ function registerExports(gulpInst, tasks) {
return;
}
- gulpInst.task(taskName, task);
+ gulpInst.task(task... | New: Register tasks by displayName before exported name | gulpjs_gulp-cli | train | js |
d401636fdd43f122249b5c39eb9df172533209b0 | diff --git a/src/MyAnimeList/MalClient.php b/src/MyAnimeList/MalClient.php
index <HASH>..<HASH> 100644
--- a/src/MyAnimeList/MalClient.php
+++ b/src/MyAnimeList/MalClient.php
@@ -404,7 +404,7 @@ class MalClient
{
$crawler = $this->ghoutte->request('GET', $request->getPath());
try {
- $... | Fix people pictures and return only single image size | jikan-me_jikan | train | php,php |
23dc72911fffcfd26fc6721e4554c3b9f482239e | diff --git a/BimServer/src/org/bimserver/database/actions/LoginUserTokenDatabaseAction.java b/BimServer/src/org/bimserver/database/actions/LoginUserTokenDatabaseAction.java
index <HASH>..<HASH> 100644
--- a/BimServer/src/org/bimserver/database/actions/LoginUserTokenDatabaseAction.java
+++ b/BimServer/src/org/bimserver/... | Added sessionTimeOutSeconds | opensourceBIM_BIMserver | train | java |
72f0723efbb4310605b99398d09046f78f294511 | diff --git a/spec/rest-ftp-daemon/features/jobs_spec.rb b/spec/rest-ftp-daemon/features/jobs_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rest-ftp-daemon/features/jobs_spec.rb
+++ b/spec/rest-ftp-daemon/features/jobs_spec.rb
@@ -42,7 +42,7 @@ describe "Jobs", feature: true do
it "assigns a status" do
... | tests: a freshly submitted job could be already in status:preparing ! | bmedici_rest-ftp-daemon | train | rb |
da06519347cb548752c833a283c320fdabcf6603 | diff --git a/params/version.go b/params/version.go
index <HASH>..<HASH> 100644
--- a/params/version.go
+++ b/params/version.go
@@ -21,10 +21,10 @@ import (
)
const (
- VersionMajor = 1 // Major version component of the current release
- VersionMinor = 9 // Minor version component of the current releas... | params: begin <I> release cycle | ethereum_go-ethereum | train | go |
819e2e28085328f7a7c039b267f69ef0e51fa49a | diff --git a/src/Url.php b/src/Url.php
index <HASH>..<HASH> 100644
--- a/src/Url.php
+++ b/src/Url.php
@@ -103,4 +103,4 @@ class Url implements StringInterface
$this->path = isset($urlParts['path']) ? $urlParts['path'] : '';
$this->query = isset($urlParts['query']) ? $urlParts['query'] : '';
}... | <I> - Added newline after closing bracket. | g4code_value-object | train | php |
434a8f3c3a59a8a96c50f8890dd47a273fa00c96 | diff --git a/app/models/field_item.rb b/app/models/field_item.rb
index <HASH>..<HASH> 100644
--- a/app/models/field_item.rb
+++ b/app/models/field_item.rb
@@ -3,6 +3,15 @@ class FieldItem < ActiveRecord::Base
belongs_to :field
belongs_to :content_item
+ before_save :serialize_data
+
+ def serialize_data
+ ... | Add Sanitizer for Tree_field_type values to only track ids of the chosen | cortex-cms_cortex | train | rb |
0d4daa20bfc0bd410262d193b59605db92547bd8 | diff --git a/src/tubeplayer.js b/src/tubeplayer.js
index <HASH>..<HASH> 100644
--- a/src/tubeplayer.js
+++ b/src/tubeplayer.js
@@ -681,7 +681,7 @@
cue: wrap_fn(function(evt, param, p) {
- p.ytplayer.cueVideoById(param, p.opts.preferredQuality);
+ p.ytplayer.cueVideoById(param, 0, p.opts.preferredQuality);
... | Fix for #<I>: 'cue' makes use of 'preferredQuality' | nirvanatikku_jQuery-TubePlayer-Plugin | train | js |
16ed663ede452114a75613be08a427a90033dd5a | diff --git a/pycanlib/CAN.py b/pycanlib/CAN.py
index <HASH>..<HASH> 100644
--- a/pycanlib/CAN.py
+++ b/pycanlib/CAN.py
@@ -871,8 +871,15 @@ class Bus(object):
self.__timer_offset = value
if value < self.__timer_offset: #Check for overflow
- value += 0xFFFFFFFF
- ... | Fixed CAN timestamp overflow on <I>-bit machines | hardbyte_python-can | train | py |
cc2dbeed0aa7bbecbc38b5de8bbbdee5001edfb7 | diff --git a/library/CM/Tools/Generator/Class/Abstract.php b/library/CM/Tools/Generator/Class/Abstract.php
index <HASH>..<HASH> 100644
--- a/library/CM/Tools/Generator/Class/Abstract.php
+++ b/library/CM/Tools/Generator/Class/Abstract.php
@@ -60,6 +60,6 @@ abstract class CM_Tools_Generator_Class_Abstract {
protect... | Remove slash before classname (it's already there after library/) | cargomedia_cm | train | php |
2f856a5563a6ffc4ab2dec0a3cb70e90bc97e70f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -47,7 +47,7 @@ app.get('/', function (req, res, next) {
});
});
-// TODO: Remove this: https://github.com/nick-thompson/pouch-server/issues/1
+// Generate UUIDs
app.get('/_uuids', function (req, res, next) {
var coun... | This is resolved now that Pouch.uuids is a thing | pouchdb_pouchdb-server | train | js |
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.