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 |
|---|---|---|---|---|---|
dcfb60687843ce775a04763c93c27825656fa64e | diff --git a/lib/middleware.js b/lib/middleware.js
index <HASH>..<HASH> 100644
--- a/lib/middleware.js
+++ b/lib/middleware.js
@@ -43,8 +43,10 @@ module.exports = function(done, app, options) {
app.use(session(_sessionOptions));
var _bodyParserOptions = middlewareOptions('bodyParser', options);
- app.use... | Allow body parsing to be toggled | bigdatr_elephas | train | js |
05361a4d79d0e9b258a733bf8107cc305a9e8167 | diff --git a/classes/Gems/User/ProjectUserDefinition.php b/classes/Gems/User/ProjectUserDefinition.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/User/ProjectUserDefinition.php
+++ b/classes/Gems/User/ProjectUserDefinition.php
@@ -51,7 +51,7 @@ class Gems_User_ProjectUserDefinition extends Gems_User_UserDefinitionA... | Fix for <I>: login as super when no organizations exist | GemsTracker_gemstracker-library | train | php |
7e9f45745281c680259d873b45fbca8aebec97a9 | diff --git a/db/migrate/20131028145652_add_traffic_schema.rb b/db/migrate/20131028145652_add_traffic_schema.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20131028145652_add_traffic_schema.rb
+++ b/db/migrate/20131028145652_add_traffic_schema.rb
@@ -94,7 +94,7 @@ class AddTrafficSchema < Landable::Migration
CRE... | I removed a single space because rubocop. | enova_landable | train | rb |
c20328d8bddcb12f542bfef65889f3a8a655f9bb | diff --git a/raiden/routing.py b/raiden/routing.py
index <HASH>..<HASH> 100644
--- a/raiden/routing.py
+++ b/raiden/routing.py
@@ -125,6 +125,9 @@ def get_best_routes(
if partner_address == previous_address:
continue
+ if channel_state is None:
+ continue
+
if channel.... | Fix routing through unavailable channels
Issue #<I>
[ci integration] | raiden-network_raiden | train | py,py |
881def43e326c36a7870bcc3ba56dc4a006b9a38 | diff --git a/activesupport/lib/active_support/core_ext/date/conversions.rb b/activesupport/lib/active_support/core_ext/date/conversions.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/core_ext/date/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/date/conversions.rb
@@ -79,6 +79,9 @@... | Add (more) documentation to to_time
There's a difference in the results between `Date#to_time(:local)` and
`Date#in_time_zone` but it is subtle and can confuse users (like me :-). | rails_rails | train | rb |
24120cf8dc56fa8fa5d4313da8e86beae7ce7264 | diff --git a/liveboxplaytv/liveboxplaytv.py b/liveboxplaytv/liveboxplaytv.py
index <HASH>..<HASH> 100755
--- a/liveboxplaytv/liveboxplaytv.py
+++ b/liveboxplaytv/liveboxplaytv.py
@@ -19,6 +19,8 @@ class LiveboxPlayTv(object):
from datetime import timedelta
self.hostname = hostname
self.port =... | Attempt a connection right in the constructor and raise an exception in case it fails | pschmitt_python-liveboxplaytv | train | py |
b53772e76a94fa2f17485e2f3c0444ee99a35ace | diff --git a/lib/dew/commands/deploy.rb b/lib/dew/commands/deploy.rb
index <HASH>..<HASH> 100755
--- a/lib/dew/commands/deploy.rb
+++ b/lib/dew/commands/deploy.rb
@@ -173,7 +173,7 @@ class DeployCommand < Clamp::Command
:working_directory => working_directory,
:gamej_proxy => gamej_proxy
... | mktemp needs at least three XXX's in order to correctly create a
temporary file. | playup_dew | train | rb |
f6e60c349b477c75da5b93f4471ea5cbe6d95ef8 | diff --git a/js/aax.js b/js/aax.js
index <HASH>..<HASH> 100644
--- a/js/aax.js
+++ b/js/aax.js
@@ -20,6 +20,7 @@ module.exports = class aax extends Exchange {
'version': 'v2',
'hostname': 'aaxpro.com', // aax.com
'certified': true,
+ 'pro': true,
'has': {
... | aax added to ccxt.pro | ccxt_ccxt | train | js |
67273efdfaf6f06b5c0857612b699f01843daf5d | diff --git a/lib/ArangoDBClient/Autoloader.php b/lib/ArangoDBClient/Autoloader.php
index <HASH>..<HASH> 100644
--- a/lib/ArangoDBClient/Autoloader.php
+++ b/lib/ArangoDBClient/Autoloader.php
@@ -87,7 +87,7 @@ class Autoloader
*/
private static function checkEnvironment()
{
- list($major, $minor) ... | Codestyle + better retrieval of PHPVersion (through constant instead of function call) | arangodb_arangodb-php | train | php,php |
fe947064bf0b4ce514cf3134e157c22fa313c040 | diff --git a/soco/core.py b/soco/core.py
index <HASH>..<HASH> 100755
--- a/soco/core.py
+++ b/soco/core.py
@@ -265,8 +265,10 @@ class SoCo(_SocoSingletonBase):
# better way?
response = requests.get(self.device_description_url).text
tree = XML.fromstring(response.encode('utf-8'))
- self... | Remove 'uid:' from beginning of uid in some cases | amelchio_pysonos | train | py |
e65f875da0fc87d9b10bce7c8de623a0297d63e5 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -26,8 +26,14 @@ NspAdvisoriesClient.prototype.advisories = function (opts, cb) {
if (err) return cb(err)
if (res.statusCode !== 200) return cb(buildError(res, body))
- if (body && body.results) {
- ... | Ensure total offset and count are numbers | alanshaw_nsp-advisories-api | train | js |
b535ad14d9cd5c9f74a5f5db710b6eca833d85db | diff --git a/web/concrete/attributes/address/controller.php b/web/concrete/attributes/address/controller.php
index <HASH>..<HASH> 100644
--- a/web/concrete/attributes/address/controller.php
+++ b/web/concrete/attributes/address/controller.php
@@ -327,13 +327,13 @@ class Controller extends AttributeTypeController
... | fixing issue with address attribute
Former-commit-id: <I>e3c8a<I>a<I>f<I>a<I>d<I>ba<I>e2b<I> | concrete5_concrete5 | train | php |
e89264da962baecd084053cb1e6332c1f803fdb8 | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/ThreadSafety.java b/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/ThreadSafety.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/ThreadSafety.java
+++ b/core/src/main... | Remove threadSafeTypeParameterSetInScope().
Callers are now all built against Error Prone including the new threadSafeTypeParametersInScope() which returns a Set, so we can safely use that method again.
RELNOTES: N/A
-------------
Created by MOE: <URL> | google_error-prone | train | java |
c7996e8dd1fc3e0c0fb7f0f7c51f229d82b410a8 | diff --git a/src/jquery.maskMoney.js b/src/jquery.maskMoney.js
index <HASH>..<HASH> 100644
--- a/src/jquery.maskMoney.js
+++ b/src/jquery.maskMoney.js
@@ -167,7 +167,7 @@
leadingZeros;
// remove initial zeros
- integerPart = integerPart.replace(/^0/g, "... | fixing the regular expression that removes the leading zeroes | plentz_jquery-maskmoney | train | js,js |
76e5a51e63f81547145809805cdfadcc7d2b823b | diff --git a/routing.go b/routing.go
index <HASH>..<HASH> 100644
--- a/routing.go
+++ b/routing.go
@@ -194,7 +194,7 @@ func (dht *IpfsDHT) FindProviders(ctx context.Context, key u.Key) ([]*peer.Peer,
u.DOut("Find providers for: '%s'\n", key)
p := dht.routingTables[0].NearestPeer(kb.ConvertKey(key))
if p == nil {
... | turn logging on by default, also make Provide not fail when no peers connected | libp2p_go-libp2p-kad-dht | train | go |
3419c2b55353cfb6015d4bf2dc2a95ba8c598a2e | diff --git a/tile_generator/config.py b/tile_generator/config.py
index <HASH>..<HASH> 100644
--- a/tile_generator/config.py
+++ b/tile_generator/config.py
@@ -25,6 +25,23 @@ import requests
CONFIG_FILE = "tile.yml"
HISTORY_FILE = "tile-history.yml"
+# The Config object describes exactly what the Tile Generator is g... | Segregated transform() and added documentation for it | cf-platform-eng_tile-generator | train | py |
cb06e138e62b4fb02138467b7b1cf4f8be0f4331 | diff --git a/pyrsistent/_checked_types.py b/pyrsistent/_checked_types.py
index <HASH>..<HASH> 100644
--- a/pyrsistent/_checked_types.py
+++ b/pyrsistent/_checked_types.py
@@ -263,6 +263,7 @@ class CheckedPVector(PythonPVector, CheckedType):
return super(CheckedPVector.Evolver, self).append(elem)
... | Fix #<I> Create list from iterator to avoid exhausting it when checking elements | tobgu_pyrsistent | train | py,py |
f18a23c28463328ac1de255f102837e481031fb6 | diff --git a/tests/integration/modules/sysmod.py b/tests/integration/modules/sysmod.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/sysmod.py
+++ b/tests/integration/modules/sysmod.py
@@ -56,6 +56,7 @@ class SysModuleTest(integration.ModuleCase):
noexample = set()
allow_failure = (
... | Ignore lack of CLI example in deprecated function | saltstack_salt | train | py |
3236a4aea9bc51397df40880411e82c2d5fe2d7d | diff --git a/denonavr/denonavr.py b/denonavr/denonavr.py
index <HASH>..<HASH> 100644
--- a/denonavr/denonavr.py
+++ b/denonavr/denonavr.py
@@ -45,7 +45,7 @@ SOUND_MODE_MAPPING = OrderedDict(
('VIRTUAL', ['VIRTUAL']),
('PURE DIRECT', ['DIRECT']),
('DOLBY DIGITAL', ['DOLBY DIGITAL', 'DOLBY D + DOLBY SUR... | Add 'Dolby Surround' to sound mode mapping | scarface-4711_denonavr | train | py |
7c6d4bedd268ceaa0e3572a21f7c0ab74b9a3c7a | diff --git a/spec/header/ip_spec.rb b/spec/header/ip_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/header/ip_spec.rb
+++ b/spec/header/ip_spec.rb
@@ -216,7 +216,7 @@ module PacketGen
pkt = Packet.gen('IP').add('UDP', sport: 35_535, dport: 65_535, body: body)
Thread.new { sleep 0.1; pkt.ip.to_w('l... | [spec] Ensure 'IP#to_w sends a IP header on wire' spec pass | sdaubert_packetgen | train | rb |
2ec3449fef52f51448b6bcf38e363da89b39b7e5 | diff --git a/tests/integration/eq-test.js b/tests/integration/eq-test.js
index <HASH>..<HASH> 100644
--- a/tests/integration/eq-test.js
+++ b/tests/integration/eq-test.js
@@ -40,6 +40,23 @@ test('equal and same type returns true', function(assert) {
});
});
+test('checks equality for N items', function(assert) {
... | copy N items test from equal to alias eq | kellyselden_ember-awesome-macros | train | js |
122481cd0871c4203ac646a8d19b9df406a957d6 | diff --git a/src/main/com/mongodb/DBTCPConnector.java b/src/main/com/mongodb/DBTCPConnector.java
index <HASH>..<HASH> 100644
--- a/src/main/com/mongodb/DBTCPConnector.java
+++ b/src/main/com/mongodb/DBTCPConnector.java
@@ -115,7 +115,6 @@ public class DBTCPConnector implements DBConnector {
*/
@Override
... | Removed unnecessary checks for a closed MongoClient/DBTCPConnector that caused
some operations to throws IllegalStateException even after completing successfully
JAVA-<I> | mongodb_mongo-java-driver | train | java |
519f05ffe84a5802ac4fcb40da9f4942ee162554 | diff --git a/lib/jira/version.rb b/lib/jira/version.rb
index <HASH>..<HASH> 100644
--- a/lib/jira/version.rb
+++ b/lib/jira/version.rb
@@ -1,3 +1,3 @@
module JIRA
- VERSION = "0.1.1"
+ VERSION = "0.1.2"
end | Incremented version to <I> | sumoheavy_jira-ruby | train | rb |
b86c0bcc3bdd592044e9043d73b7d01d5e3391ee | diff --git a/bin/gulp-dynamic-routing.js b/bin/gulp-dynamic-routing.js
index <HASH>..<HASH> 100644
--- a/bin/gulp-dynamic-routing.js
+++ b/bin/gulp-dynamic-routing.js
@@ -21,7 +21,7 @@ module.exports = function(options) {
if(content.attributes.name) {
file.contents = new Buffer(content.body);
c... | Fixed relative path on gulp plugin | zurb_foundation-apps | train | js |
c7e2367a492b53244568e90be5fc2e4b961522aa | diff --git a/src/Curl.php b/src/Curl.php
index <HASH>..<HASH> 100644
--- a/src/Curl.php
+++ b/src/Curl.php
@@ -212,7 +212,6 @@ class Curl
} else {
$this->dispatcher->execute();
}
-
}
/** | Function closing brace must go on the next line | jyggen_curl | train | php |
47d02f6cd73dc35c25316a032a13bd2f3fac201a | diff --git a/test/support/fixtures/associations/customer.fixture.js b/test/support/fixtures/associations/customer.fixture.js
index <HASH>..<HASH> 100644
--- a/test/support/fixtures/associations/customer.fixture.js
+++ b/test/support/fixtures/associations/customer.fixture.js
@@ -1,7 +1,6 @@
var Collection = require('..... | Minor tweaks to two test fixtures. | balderdashy_waterline | train | js,js |
e12d6fdf8c008b04c9192c3297b644d245a7bcde | diff --git a/hazelcast-client/src/main/java/com/hazelcast/client/connection/nio/ClientConnectionManagerImpl.java b/hazelcast-client/src/main/java/com/hazelcast/client/connection/nio/ClientConnectionManagerImpl.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/main/java/com/hazelcast/client/connection/nio/Clie... | Lazy connection init logging fix
An error during lazy connection initilization
should be logged in finest
fixes #<I> | hazelcast_hazelcast | train | java |
5c0d92dee5bdcc7d569c543d56c64c488d5d2859 | diff --git a/tests/test_devshell.py b/tests/test_devshell.py
index <HASH>..<HASH> 100644
--- a/tests/test_devshell.py
+++ b/tests/test_devshell.py
@@ -44,6 +44,7 @@ class _AuthReferenceServer(threading.Thread):
port = self._socket.getsockname()[1]
os.environ[DEVSHELL_ENV] = str(port)
self._socket.listen(... | Fix spurious EGAIN errors in devshell tests | googleapis_oauth2client | train | py |
3f62a8b970a0e02350f84a83f1af2a957216a1d2 | diff --git a/src/mako/database/midgard/ORM.php b/src/mako/database/midgard/ORM.php
index <HASH>..<HASH> 100644
--- a/src/mako/database/midgard/ORM.php
+++ b/src/mako/database/midgard/ORM.php
@@ -1036,7 +1036,7 @@ abstract class ORM implements JsonSerializable
if($deleted)
{
- $this->isPersisted = $this->ex... | Truly remove the 'exists' property from ORM. | mako-framework_framework | train | php |
140a7c059921727df381a482ce728e300023cfd9 | diff --git a/toolsrc/org/mozilla/javascript/tools/debugger/Main.java b/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
index <HASH>..<HASH> 100644
--- a/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
+++ b/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
@@ -1700,6 +1700,9 @@ class UpdateContext... | Fixing <URL> is
called. Since its a general defect Christopher and I thought we'd report and get
it fixed in the main CVS tree.
... | mozilla_rhino | train | java |
8c6d740ebad45d235e48b40bdb018cb25b1a28de | diff --git a/app/workers/aws_ses_newsletters/newsletters_sender.rb b/app/workers/aws_ses_newsletters/newsletters_sender.rb
index <HASH>..<HASH> 100644
--- a/app/workers/aws_ses_newsletters/newsletters_sender.rb
+++ b/app/workers/aws_ses_newsletters/newsletters_sender.rb
@@ -30,9 +30,10 @@ module AwsSesNewsletters
... | [BUG] replace next by unless in iteration | 10Pines_aws_ses_newsletters | train | rb |
3366c11b7dc3be0286f96c828cd87d10fe2aa931 | diff --git a/src/service/translate.js b/src/service/translate.js
index <HASH>..<HASH> 100644
--- a/src/service/translate.js
+++ b/src/service/translate.js
@@ -228,7 +228,7 @@ function $translate($STORAGE_KEY, $windowProvider, $translateSanitizationProvide
* registered with no language key. Invoking it with a langua... | docs(service): fix typo in param name | angular-translate_angular-translate | train | js |
ea24f098f7ac1f6a4707d6d02ee9250be5c0c450 | diff --git a/lib/messaging/message.rb b/lib/messaging/message.rb
index <HASH>..<HASH> 100644
--- a/lib/messaging/message.rb
+++ b/lib/messaging/message.rb
@@ -24,7 +24,6 @@ module Messaging
def follows?(other_message)
metadata.follows?(other_message.metadata)
end
- alias :precedence? :follows?
... | Remnants of "precedence" are removed | eventide-project_messaging | train | rb,rb |
4774837737aeeddcbe4008ec3e091308850a69bd | diff --git a/molgenis-data/src/main/java/org/molgenis/data/meta/model/EntityTypeMetadata.java b/molgenis-data/src/main/java/org/molgenis/data/meta/model/EntityTypeMetadata.java
index <HASH>..<HASH> 100644
--- a/molgenis-data/src/main/java/org/molgenis/data/meta/model/EntityTypeMetadata.java
+++ b/molgenis-data/src/main... | merge with molgenis/master | molgenis_molgenis | train | java |
aa542ff14184f9cc5f08251d828f462efe0b4d36 | diff --git a/src/Native/NativeState.php b/src/Native/NativeState.php
index <HASH>..<HASH> 100644
--- a/src/Native/NativeState.php
+++ b/src/Native/NativeState.php
@@ -38,6 +38,10 @@ class NativeState {
/** @var bool */
protected $connected = false;
+ // sync the garbage collection cycle
+ // __deconstruct(... | Update NativeState.php
sync garbage collection cycle of KerberosAuth and NativeState | icewind1991_SMB | train | php |
86c033a9fe6d44ec603b72e6dd2f92d0d412d63b | diff --git a/structr-ui/src/main/resources/structr/js/websocket.js b/structr-ui/src/main/resources/structr/js/websocket.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/websocket.js
+++ b/structr-ui/src/main/resources/structr/js/websocket.js
@@ -277,6 +277,11 @@ function wsConnect() {
... | enable sorting by name in files tab of structr-ui | structr_structr | train | js |
f631ec9bfd59f0e8ce1b1ec5fec927945db7a961 | diff --git a/packages/plugin-mercury/src/mercury.js b/packages/plugin-mercury/src/mercury.js
index <HASH>..<HASH> 100644
--- a/packages/plugin-mercury/src/mercury.js
+++ b/packages/plugin-mercury/src/mercury.js
@@ -4,7 +4,7 @@
*/
import {SparkPlugin} from '@ciscospark/spark-core';
-import {deprcate} from 'core-dec... | fix(plugin-mercury): use correct name for deprecated decorator | webex_spark-js-sdk | train | js |
62abfcd2278faa22985fb9722460b37ba59fc051 | diff --git a/Generator/Collection/ComponentCollection.php b/Generator/Collection/ComponentCollection.php
index <HASH>..<HASH> 100644
--- a/Generator/Collection/ComponentCollection.php
+++ b/Generator/Collection/ComponentCollection.php
@@ -511,8 +511,16 @@ class ComponentCollection implements \IteratorAggregate {
*
... | Fixed getClosestRequestingRootComponent() allowing call with the root component. | drupal-code-builder_drupal-code-builder | train | php |
8448e5bf4eed428d496746be5f584176d6e74140 | diff --git a/alot/helper.py b/alot/helper.py
index <HASH>..<HASH> 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -229,7 +229,7 @@ def call_cmd(cmdlist, stdin=None):
out, err, ret = '', '', 0
try:
if stdin:
- proc = subprocess.Popen(args, stdin=subprocess.PIPE,
+ proc = subp... | fix typo in call_cmd helper | pazz_alot | train | py |
c900dee299672c91e90ce426a9f3b94992783c87 | diff --git a/test/letter_tests.py b/test/letter_tests.py
index <HASH>..<HASH> 100644
--- a/test/letter_tests.py
+++ b/test/letter_tests.py
@@ -48,7 +48,23 @@ class Letters(unittest.TestCase):
correct = [True, True, True, True, False, True, True, True, True, True, False, False, False, False, False]
... | added unittest for basic TSCII to UTF8 conversion in direct-lookup cases, and TSCII tables tests, and visual validation manually; game on TSCII | Ezhil-Language-Foundation_open-tamil | train | py |
7f835cbf28bf91b1b19f1d4da46b0ccbdb37b564 | diff --git a/hangups/client.py b/hangups/client.py
index <HASH>..<HASH> 100644
--- a/hangups/client.py
+++ b/hangups/client.py
@@ -16,6 +16,14 @@ from hangups import javascript, longpoll
logger = logging.getLogger(__name__)
+# Set the connection timeout low so we fail fast when there's a network
+# problem.
+CONNE... | Raise request timeout
4 minutes was low enough to occasionally cause long-polling requests to
be disconnected. | tdryer_hangups | train | py |
c64999bab56d1941c4fb2ea42641054fb35490f1 | diff --git a/agents/lib/instance/instance_state.rb b/agents/lib/instance/instance_state.rb
index <HASH>..<HASH> 100644
--- a/agents/lib/instance/instance_state.rb
+++ b/agents/lib/instance/instance_state.rb
@@ -205,7 +205,7 @@ module RightScale
opts = { :agent_identity => @@identity, :state => 'decommissioned', ... | Fix non-nanite agent identity when deleting queues at termination | rightscale_right_link | train | rb |
5981f10bff13809a6cef0704edfec870e1cda3b1 | diff --git a/src/com/esotericsoftware/yamlbeans/tokenizer/Tokenizer.java b/src/com/esotericsoftware/yamlbeans/tokenizer/Tokenizer.java
index <HASH>..<HASH> 100644
--- a/src/com/esotericsoftware/yamlbeans/tokenizer/Tokenizer.java
+++ b/src/com/esotericsoftware/yamlbeans/tokenizer/Tokenizer.java
@@ -590,7 +590,7 @@ publi... | %YAML directive parsing is broken
YAML directive value is parsed as "MAJOR MINOR" but Version expects dot-separated String | EsotericSoftware_yamlbeans | train | java |
5c02ca60b0f88450578adee3a5a80f71f3813167 | diff --git a/src/ossos-pipeline/scripts/OSSOSplot.py b/src/ossos-pipeline/scripts/OSSOSplot.py
index <HASH>..<HASH> 100755
--- a/src/ossos-pipeline/scripts/OSSOSplot.py
+++ b/src/ossos-pipeline/scripts/OSSOSplot.py
@@ -628,8 +628,8 @@ class Plot(Canvas):
(x2, y2) = self.p2c((ccd[2], ccd[3]))
... | Corrected call used when putting down a circular FOV. | OSSOS_MOP | train | py |
09254cadc1a03f623a8c9f619af2579ec318b08b | diff --git a/eachline.js b/eachline.js
index <HASH>..<HASH> 100644
--- a/eachline.js
+++ b/eachline.js
@@ -147,7 +147,7 @@ Transformer.prototype._pushline = function(line, next){
function signaled(data) {
if(sigd) return;
sigd=true;
- xform.push(data, xform.encoding);
+ if(data) xform.push(data, xform.encodin... | node <I> doesn't like it when you push undefined data | williamkapke_node-eachline | train | js |
9380ed910d491e4dd2e0731af03990cd5ae4d26f | diff --git a/spanner/tests/system/test_system.py b/spanner/tests/system/test_system.py
index <HASH>..<HASH> 100644
--- a/spanner/tests/system/test_system.py
+++ b/spanner/tests/system/test_system.py
@@ -520,7 +520,7 @@ class TestSessionAPI(unittest.TestCase, _TestData):
raise CustomException()
@RetryErr... | minor typo (#<I>) | googleapis_google-cloud-python | train | py |
fd3bc084ddeda1889eac245acc4b4f8ed5845b22 | diff --git a/lib/chatrix/room.rb b/lib/chatrix/room.rb
index <HASH>..<HASH> 100644
--- a/lib/chatrix/room.rb
+++ b/lib/chatrix/room.rb
@@ -25,6 +25,14 @@ module Chatrix
@matrix.send_message @id, message
end
+ def send_notice(message)
+ @matrix.send_notice @id, message
+ end
+
+ def send_emot... | Add some helpers for sending messages in rooms | Sharparam_chatrix | train | rb |
a6f0f4b224dec755de0c73ab6192ebefa33a0461 | diff --git a/tornado_json/routes.py b/tornado_json/routes.py
index <HASH>..<HASH> 100644
--- a/tornado_json/routes.py
+++ b/tornado_json/routes.py
@@ -80,7 +80,7 @@ def get_module_routes(
# URL, requesthandler tuple
(
"/{}/{}".format("/".join(module_name.split(".")[1:]),
- ... | Only replace single instance of 'Handler' when constructing route name | hfaran_Tornado-JSON | train | py |
cfd4152c2d2a59545a3d6067dd5ab89c90ee2195 | diff --git a/rqalpha/api.py b/rqalpha/api.py
index <HASH>..<HASH> 100644
--- a/rqalpha/api.py
+++ b/rqalpha/api.py
@@ -33,9 +33,9 @@ from .analyser.order_style import MarketOrder, LimitOrder
__all__ = [
- scheduler.__name__,
- LimitOrder.__name__,
- MarketOrder.__name__
+ 'scheduler',
+ 'LimitOrder'... | revert __all__ definitions | ricequant_rqalpha | train | py |
6efc6ccf4cd7c2275d00d74e30b39678cc15ac63 | diff --git a/db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb b/db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb
+++ b/db/migrate/20171222120314_add_constraint... | Refs #<I> - rules foreign key rollback works | theforeman_foreman_discovery | train | rb |
def7f9990d64d14aa9b8bf768775d961470f2476 | diff --git a/src/Hodor/Database/Driver/YoPdoDriver.php b/src/Hodor/Database/Driver/YoPdoDriver.php
index <HASH>..<HASH> 100644
--- a/src/Hodor/Database/Driver/YoPdoDriver.php
+++ b/src/Hodor/Database/Driver/YoPdoDriver.php
@@ -2,6 +2,7 @@
namespace Hodor\Database\Driver;
+use Generator;
use Lstr\YoPdo\Factory as ... | Eliminate unused variable in DriverTest
Thanks @zacharyrankin. Now I know how to avoid
a loop to process a needless generator. | lightster_hodor | train | php,php |
069a3a3004d06dbcc80d9ed618973a400fd43288 | diff --git a/src/js/pannellum.js b/src/js/pannellum.js
index <HASH>..<HASH> 100644
--- a/src/js/pannellum.js
+++ b/src/js/pannellum.js
@@ -50,6 +50,7 @@ var config,
yawSpeed = 0,
pitchSpeed = 0,
zoomSpeed = 0,
+ rotationStarted = 0,
hotspotsCreated = false;
var defaultConfig = {
@@ -646,9 +647... | Update pannellum.js
Added a JSON config option to stop autorotate after a certain time (counting from when the autorotate started).
The name of the configuration option is `autoRotateStopAfter` and by default is inactive.
That can be useful for when we want the image to autorotate in a interval (between x and y)... | mpetroff_pannellum | train | js |
ff3b76ae804e65c163cb24502a90fa5df73cef4f | diff --git a/test/cli/test_shell.py b/test/cli/test_shell.py
index <HASH>..<HASH> 100644
--- a/test/cli/test_shell.py
+++ b/test/cli/test_shell.py
@@ -11,13 +11,20 @@ def test_helper_module(rabbit_config):
helper.disconnect()
-def test_basic():
+def test_basic(tmpdir):
parser = setup_parser()
args = ... | don't rely on local pystartup | nameko_nameko | train | py |
c52d3467e87afcd76593d793ae47a39024fefd59 | diff --git a/.phan/config.php b/.phan/config.php
index <HASH>..<HASH> 100644
--- a/.phan/config.php
+++ b/.phan/config.php
@@ -37,8 +37,6 @@ return [
'exclude_analysis_directory_list' => [
'vendor/',
'vendor-bin/phpunit/vendor',
- 'build/',
- 'docs/'
],
'quick_mode' => f... | Tweak configuration of Phan. | Aerendir_PHPArrayWriter | train | php |
b5749f348498604d14cc61df2013846e7eda15c8 | diff --git a/endpoints/register.js b/endpoints/register.js
index <HASH>..<HASH> 100644
--- a/endpoints/register.js
+++ b/endpoints/register.js
@@ -36,7 +36,7 @@ class Authentication extends Endpoint {
* Generate new User into db and return credentials to use
*/
async newUser (credentials, req) {
- let ... | refactor: take ip from req.user since that's always assigned | cubic-js_cubic | train | js |
dd119b491858840b545ad363cacdb22a2ee50bbf | diff --git a/Context.js b/Context.js
index <HASH>..<HASH> 100644
--- a/Context.js
+++ b/Context.js
@@ -439,19 +439,19 @@ function Context(gl){
//EXT_sRGB
if (gl.SRGB) {
- this._capts[CAPS_SRGB] = true;
+ this._caps[CAPS_SRGB] = true;
ctx.SRGB = gl.SRGB;
ctx.SRGB_ALPHA ... | Fixed _capts typo in EXT_sRGB support | pex-gl_pex-context | train | js |
4df9680a6fe6608e8a82924f52e51a028a8575e5 | diff --git a/actionpack/lib/action_controller/base/request_forgery_protection.rb b/actionpack/lib/action_controller/base/request_forgery_protection.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/base/request_forgery_protection.rb
+++ b/actionpack/lib/action_controller/base/request_forgery_protect... | Removed reference in documentation of form_authenticity_token to deprecated :secret option of protect_from_forgery | rails_rails | train | rb |
87217a4c8f84101aed8648c00e5b7630ef85020b | diff --git a/android/src/main/java/io/sentry/RNSentryModule.java b/android/src/main/java/io/sentry/RNSentryModule.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/io/sentry/RNSentryModule.java
+++ b/android/src/main/java/io/sentry/RNSentryModule.java
@@ -275,6 +275,10 @@ public class RNSentryModule extends ... | Add environment support to RNSentryModule.java (#<I>) | getsentry_react-native-sentry | train | java |
5d3d7670af9e35ca8b8d2aff39eb92e887504415 | diff --git a/lib/response.rb b/lib/response.rb
index <HASH>..<HASH> 100644
--- a/lib/response.rb
+++ b/lib/response.rb
@@ -44,6 +44,24 @@ module DTK
end
end
+ def data_hash_form(*data_keys)
+ ret = Hash.new
+ unless data = self[DataField]
+ return ret
+ end
+
+ ... | put in method Response#data_hash_form | rich-dtk_dtk-common | train | rb |
d4e92838ce4700d817e0e25b43b2b50656689146 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,13 +23,13 @@ setup(
scripts=['bin/qds.py'],
install_requires=INSTALL_REQUIRES,
long_description=read('README.rst'),
+ python_requires='>=2.7',
classifiers=[
"Environment :: Console",
... | SDK-<I> Drop Support for Python <I> (#<I>) | qubole_qds-sdk-py | train | py |
b63002300281c5c5c78e9d006f8ba56bcc73bb86 | diff --git a/km3pipe/tools.py b/km3pipe/tools.py
index <HASH>..<HASH> 100644
--- a/km3pipe/tools.py
+++ b/km3pipe/tools.py
@@ -103,6 +103,7 @@ def pdg2name(pdg_id):
-15: 'tau+',
16: 'nu_tau',
-16: 'anu_tau',
+ 22: 'photon',
111: 'pi0',
130: 'K0L',
211: 'pi-... | Adds photon to pdg2name | tamasgal_km3pipe | train | py |
df78e983888bb676e48bcaca7821a8d4806e3409 | diff --git a/geoplot/geoplot.py b/geoplot/geoplot.py
index <HASH>..<HASH> 100644
--- a/geoplot/geoplot.py
+++ b/geoplot/geoplot.py
@@ -1816,9 +1816,9 @@ def sankey(*args, projection=None,
ax.plot([origin.x, destination.x], [origin.y, destination.y], transform=path,
linestyle=linestyle,... | Gear up for work on pure matplotlib output. | ResidentMario_geoplot | train | py |
0eb4fbdeeb4061b32ac84db857f4f1f76549950b | diff --git a/intranet/apps/eighth/views/attendance.py b/intranet/apps/eighth/views/attendance.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/eighth/views/attendance.py
+++ b/intranet/apps/eighth/views/attendance.py
@@ -373,7 +373,7 @@ def take_attendance_view(request, scheduled_activity_id):
if request.u... | fix(eighth): order eighth period blocks by block_letter
in addition to date in take attendance view | tjcsl_ion | train | py |
b6fbad4324aa80d153be6d08aaa40f88064ecfbd | diff --git a/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java b/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java
index <HASH>..<HASH> 100644
--- a/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java
+++ b/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java
@@ -1060,... | Document where and how bufferSize setting is used | kevinsawicki_http-request | train | java |
37517145940f187cddd0fbf91817046b72871505 | diff --git a/stacker/plan.py b/stacker/plan.py
index <HASH>..<HASH> 100644
--- a/stacker/plan.py
+++ b/stacker/plan.py
@@ -44,8 +44,9 @@ class Step(object):
self.set_status(SUBMITTED)
def run(self, results):
- self.submit()
- return self._run_func(results, self.stack)
+ if not self.... | Only submit the step if it hasn't been submitted yet | cloudtools_stacker | train | py |
d1ee50466b766f73343534a96d881ce5d59bb578 | diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/svtplay.py
+++ b/lib/svtplay_dl/service/svtplay.py
@@ -110,20 +110,7 @@ class Svtplay(Service, OpenGraphThumbMixin):
if streams:
... | svtplay: use the same dash condition for all dash versions | spaam_svtplay-dl | train | py |
e33e90c3817dcb72103adae2a1d205422dcda17c | diff --git a/lib/schema/profiles/1.3-etalab.js b/lib/schema/profiles/1.3-etalab.js
index <HASH>..<HASH> 100644
--- a/lib/schema/profiles/1.3-etalab.js
+++ b/lib/schema/profiles/1.3-etalab.js
@@ -19,6 +19,7 @@ const errors = [
'row.incoherence_numero',
'row.commune_manquante',
'row.longlat_vides',
+ 'row.longl... | Set severity to new longlat rules | etalab_bal | train | js |
80575a0e5eeba089f123635309f2da78fd8616ad | diff --git a/model/SQLQuery.php b/model/SQLQuery.php
index <HASH>..<HASH> 100644
--- a/model/SQLQuery.php
+++ b/model/SQLQuery.php
@@ -538,6 +538,11 @@ class SQLQuery {
$this->replacementsNew[] = $new;
}
+ public function getFilter() {
+ Deprecation::notice('3.0', 'Please use prepareSelect() instead of getFilte... | MINOR Re-adding getFilter as a deprecated method instead of removing it | silverstripe_silverstripe-framework | train | php |
9c18ab4618d57599b4c830c0256f711faab36748 | diff --git a/lib/lazy_high_charts.rb b/lib/lazy_high_charts.rb
index <HASH>..<HASH> 100644
--- a/lib/lazy_high_charts.rb
+++ b/lib/lazy_high_charts.rb
@@ -4,7 +4,7 @@ require File.join(File.dirname(__FILE__), *%w[lazy_high_charts high_chart])
require File.join(File.dirname(__FILE__), *%w[lazy_high_charts layout_helper... | Add #to_s method to rails version
Needed to work with edge rails | michelson_lazy_high_charts | train | rb |
02eea00b4fba51b3905a4d4bb2e9ebd7a324c853 | diff --git a/packages/sproutcore-handlebars/lib/helpers/binding.js b/packages/sproutcore-handlebars/lib/helpers/binding.js
index <HASH>..<HASH> 100644
--- a/packages/sproutcore-handlebars/lib/helpers/binding.js
+++ b/packages/sproutcore-handlebars/lib/helpers/binding.js
@@ -247,7 +247,7 @@ Handlebars.registerHelper('bi... | Output of bindAttr should not be escaped. | emberjs_ember.js | train | js |
be8e8511fb7e21b1ba3ba7c35ed90ede9bfd584d | diff --git a/lib/haml/exec.rb b/lib/haml/exec.rb
index <HASH>..<HASH> 100644
--- a/lib/haml/exec.rb
+++ b/lib/haml/exec.rb
@@ -58,8 +58,8 @@ module Haml
# SyntaxErrors have weird line reporting
# when there's trailing whitespace,
# which there is for Haml documents.
- return exception.... | Make executables still raise errors even if there's no line number to be found. | sass_ruby-sass | train | rb |
0ecd34f1522c3d298f2fe280d6a05a84a0b291b5 | diff --git a/lib/HAPServer.js b/lib/HAPServer.js
index <HASH>..<HASH> 100644
--- a/lib/HAPServer.js
+++ b/lib/HAPServer.js
@@ -652,6 +652,13 @@ HAPServer.prototype._handleCharacteristics = function(request, response, session
// Extract the query params from the URL which looks like: /characteristics?id=1.9,2.14,..... | Prevent modify characteristic without a secure session | KhaosT_HAP-NodeJS | train | js |
a957ba24ea9194b05efa61f7dc3e5c8c40ebb3b9 | diff --git a/lib/mizuho/generator.rb b/lib/mizuho/generator.rb
index <HASH>..<HASH> 100644
--- a/lib/mizuho/generator.rb
+++ b/lib/mizuho/generator.rb
@@ -63,12 +63,11 @@ private
end
def determine_chapter_and_heading_filenames(chapters)
- preamble_filename = "#{@output_name}.html"
chapters.each_with_index do... | Fix preamble link. When using multi-page output, pad filename numbers with a single zero, for proper sorting order. | FooBarWidget_mizuho | train | rb |
d64d321c2dab21734532d53b4900d8782e614b42 | diff --git a/Vps/Model/Db.php b/Vps/Model/Db.php
index <HASH>..<HASH> 100644
--- a/Vps/Model/Db.php
+++ b/Vps/Model/Db.php
@@ -1037,7 +1037,7 @@ class Vps_Model_Db extends Vps_Model_Abstract
$config = Zend_Registry::get('config');
$ret['mysqlDir'] = '';
- if ($config->server->host == 'vivid-p... | improve mysqlDir hack by checking hostname
this still sucks | koala-framework_koala-framework | train | php |
95916ca819c5025eda049f6646a8407e352db39f | diff --git a/lib/resources.js b/lib/resources.js
index <HASH>..<HASH> 100644
--- a/lib/resources.js
+++ b/lib/resources.js
@@ -171,6 +171,7 @@ BaseResource.prototype = {
} else {
req.write(requestData, 'utf8');
}
+ req.end();
}
}
}; | Send the request after creation
The request was never being sent when using a mocking library (nock).
This forces the request to be sent after being created. | Kloudless_kloudless-node | train | js |
35d86d9eb8e42f8a020859d5a50c1850aa0a48ea | diff --git a/rb/spec/integration/selenium/webdriver/spec_support/guards.rb b/rb/spec/integration/selenium/webdriver/spec_support/guards.rb
index <HASH>..<HASH> 100644
--- a/rb/spec/integration/selenium/webdriver/spec_support/guards.rb
+++ b/rb/spec/integration/selenium/webdriver/spec_support/guards.rb
@@ -11,13 +11,20 ... | JariBakken: Fix spec guards to consider native events.
r<I> | SeleniumHQ_selenium | train | rb |
e3ad4f2da1f8fc82e1d3febbc2602f626bced8a8 | diff --git a/lib/twitter/streaming/client.rb b/lib/twitter/streaming/client.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter/streaming/client.rb
+++ b/lib/twitter/streaming/client.rb
@@ -65,7 +65,8 @@ module Twitter
# @yield [Twitter::Tweet] A stream of tweets.
def site(*args, &block)
arguments =... | Allow user to pass String or Twitter::User to Twitter::Streaming::Client#site | sferik_twitter | train | rb |
520081c93eec6a01c740a148c91f5cf32e81aa0e | diff --git a/lib/webrat/core/elements/link.rb b/lib/webrat/core/elements/link.rb
index <HASH>..<HASH> 100644
--- a/lib/webrat/core/elements/link.rb
+++ b/lib/webrat/core/elements/link.rb
@@ -53,7 +53,7 @@ module Webrat
def authenticity_token
return unless onclick && onclick.include?("s.setAttribute('name', ... | Don't use $LAST_MATCH_INFO since we don't require English.rb, use $~ instead | brynary_webrat | train | rb,rb |
2655eb728a6766bbaef7222aaa1f7ec176c59681 | diff --git a/lib/Doctrine/ODM/CouchDB/Persisters/BasicDocumentPersister.php b/lib/Doctrine/ODM/CouchDB/Persisters/BasicDocumentPersister.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/CouchDB/Persisters/BasicDocumentPersister.php
+++ b/lib/Doctrine/ODM/CouchDB/Persisters/BasicDocumentPersister.php
@@ -131,6 +13... | added a todo to handle the , don't overwrite | doctrine_couchdb-odm | train | php |
26d315ba79a6f1bfe3e33fafd708400fc20372ed | diff --git a/lib/acts_as_tenant/model_extensions.rb b/lib/acts_as_tenant/model_extensions.rb
index <HASH>..<HASH> 100644
--- a/lib/acts_as_tenant/model_extensions.rb
+++ b/lib/acts_as_tenant/model_extensions.rb
@@ -72,8 +72,10 @@ module ActsAsTenant
end
# add validation of associations against... | fix for polymorphic associations for which we can't add automatic validators | ErwinM_acts_as_tenant | train | rb |
3623c6010bbe7358b303e9f99edb7f2a47c6d88c | diff --git a/packages/maniajs-plugin/src/plugin.js b/packages/maniajs-plugin/src/plugin.js
index <HASH>..<HASH> 100644
--- a/packages/maniajs-plugin/src/plugin.js
+++ b/packages/maniajs-plugin/src/plugin.js
@@ -59,23 +59,21 @@ module.exports.default = class extends EventEmitter {
/**
* Inject Core App interface ... | Update plugin interface with new injectable type (object with all props). | ManiaJS_plugins | train | js |
be0550f8082a9d04923a6bfecfa10efedbe29bad | diff --git a/ABBYY/cloud_ocr.py b/ABBYY/cloud_ocr.py
index <HASH>..<HASH> 100755
--- a/ABBYY/cloud_ocr.py
+++ b/ABBYY/cloud_ocr.py
@@ -25,22 +25,22 @@ class CloudOCR:
def processDocument(self, **kwargs):
return self._get('processDocument', **kwargs).pop()
- def processBusinessCard(self, **kwargs):
+ def processB... | Update cloud_ocr.py
file argument is missing from the method signature so it will not work. | samueltc_ABBYY | train | py |
b732c745ceb8db923634009c9bbfc70014301c15 | diff --git a/Classes/Command/InstallCommandController.php b/Classes/Command/InstallCommandController.php
index <HASH>..<HASH> 100644
--- a/Classes/Command/InstallCommandController.php
+++ b/Classes/Command/InstallCommandController.php
@@ -96,6 +96,7 @@ class InstallCommandController extends CommandController {
}
... | [BUGFIX] Re-scan packages for PackageStates generation | TYPO3-Console_TYPO3-Console | train | php |
96cf968e371c464e9d1bdea4994a3c194e4e1e06 | diff --git a/src/Factory/ArrayFactory.php b/src/Factory/ArrayFactory.php
index <HASH>..<HASH> 100644
--- a/src/Factory/ArrayFactory.php
+++ b/src/Factory/ArrayFactory.php
@@ -12,6 +12,8 @@
namespace Cache\AdapterBundle\Factory;
use Cache\Adapter\PHPArray\ArrayCachePool;
+use Cache\Namespaced\NamespacedCachePool;
+u... | Add support for namespaced cache (#<I>)
Add support for namespaced cache | php-cache_adapter-bundle | train | php |
bc852fd459591e45f3c68c24a6fa74a8cba3046f | diff --git a/src/Core/OAuth1Provider.php b/src/Core/OAuth1Provider.php
index <HASH>..<HASH> 100644
--- a/src/Core/OAuth1Provider.php
+++ b/src/Core/OAuth1Provider.php
@@ -75,7 +75,7 @@ abstract class OAuth1Provider extends OAuthProvider implements OAuth1Interface{
* @throws \chillerlan\OAuth\Core\ProviderException
... | :octocat: decompress response | chillerlan_php-oauth-core | train | php |
e6ae787b10b6a484ff684ca4a872987bbce19889 | diff --git a/lib/create.js b/lib/create.js
index <HASH>..<HASH> 100644
--- a/lib/create.js
+++ b/lib/create.js
@@ -145,9 +145,14 @@ module.exports.fetchTemplate = function(options, callback) {
* {Boolean} true if the app template exists locally.
*/
-module.exports.templateExists = function(options) {
- retur... | [#<I>] check to see if config.xml exists in the templateExists method | phonegap_connect-phonegap | train | js |
0ae664b8dbb91fcfec7242eeee781070543bd7bd | diff --git a/mistletoe/core_tokens.py b/mistletoe/core_tokens.py
index <HASH>..<HASH> 100644
--- a/mistletoe/core_tokens.py
+++ b/mistletoe/core_tokens.py
@@ -98,16 +98,16 @@ def process_emphasis(string, stack_bottom, delimiters, matches):
match = MatchObj(start, end, (start+n, end-n, string[start+n:end-n]... | remove delimiters in between if we found a match | miyuchina_mistletoe | train | py |
d767fae51ffcbc7bbba9781b2e522443bdcc34ce | diff --git a/lib/ambry/active_model.rb b/lib/ambry/active_model.rb
index <HASH>..<HASH> 100644
--- a/lib/ambry/active_model.rb
+++ b/lib/ambry/active_model.rb
@@ -117,6 +117,10 @@ module Ambry
def update_attributes(*args)
run_callbacks(:save) { update(*args) }
end
+
+ def to_partial_path
+ ... | Implement partial_path for Active Model <I> | norman_ambry | train | rb,rb |
14a05e24692856b6c6d638fccf89ebe44f768f2b | diff --git a/rapidoid-u/src/main/java/org/rapidoid/util/U.java b/rapidoid-u/src/main/java/org/rapidoid/util/U.java
index <HASH>..<HASH> 100644
--- a/rapidoid-u/src/main/java/org/rapidoid/util/U.java
+++ b/rapidoid-u/src/main/java/org/rapidoid/util/U.java
@@ -2043,7 +2043,17 @@ public class U {
case BOOLEAN:
cas... | Improved text-to-boolean conversion. | rapidoid_rapidoid | train | java |
463cecebdaa5aa5d93066535c51fa5a78b088abb | diff --git a/tests/AssetManagerTest/Service/MimeResolverTest.php b/tests/AssetManagerTest/Service/MimeResolverTest.php
index <HASH>..<HASH> 100644
--- a/tests/AssetManagerTest/Service/MimeResolverTest.php
+++ b/tests/AssetManagerTest/Service/MimeResolverTest.php
@@ -27,6 +27,6 @@ class MimeResolverTest extends PHPUnit_... | Check for mime type and not extension | wshafer_assetmanager-core | train | php |
c3bf54e316267df34dfb8b6d17b98914da20d7c6 | diff --git a/pyoko/manage.py b/pyoko/manage.py
index <HASH>..<HASH> 100644
--- a/pyoko/manage.py
+++ b/pyoko/manage.py
@@ -84,7 +84,7 @@ class FlushDB(Command):
registry = import_module('pyoko.model').model_registry
model_name = self.manager.args.model
if model_name != 'all':
- mod... | added comma separated model list support for flush_db | zetaops_pyoko | train | py |
a3ecf7019558d0574837c36910698be82d54773a | diff --git a/Migrations/Migrator.php b/Migrations/Migrator.php
index <HASH>..<HASH> 100755
--- a/Migrations/Migrator.php
+++ b/Migrations/Migrator.php
@@ -470,7 +470,7 @@ class Migrator
{
$class = $this->getMigrationClass($this->getMigrationName($path));
- if (class_exists($class)) {
+ if ... | [8.x] Allow anonymous and class based migration coexisting (#<I>)
* Update test to fail
* Validate file path | illuminate_database | train | php |
13fe7d884fb56c8b82782c14bcd2f7e2879168d4 | diff --git a/src/Hidden/HiddenJs.js b/src/Hidden/HiddenJs.js
index <HASH>..<HASH> 100644
--- a/src/Hidden/HiddenJs.js
+++ b/src/Hidden/HiddenJs.js
@@ -59,8 +59,8 @@ function HiddenJs(props: Props) {
const breakpointUp = props[`${breakpoint}Up`];
const breakpointDown = props[`${breakpoint}Down`];
if... | [HiddenJs] default isWidthDown is now already inclusive | mui-org_material-ui | train | js |
57c931a0df9af623725b4e2b181e956981f6b702 | diff --git a/src/View/Helper/FormHelper.php b/src/View/Helper/FormHelper.php
index <HASH>..<HASH> 100644
--- a/src/View/Helper/FormHelper.php
+++ b/src/View/Helper/FormHelper.php
@@ -156,7 +156,9 @@ class FormHelper extends Helper
if (array_key_exists('class', $options)) {
$optionsClass = is_array... | Unset class to avoid re-merging. | FriendsOfCake_bootstrap-ui | train | php |
d732aec07ad2a7f9a657660939554dc28f537c05 | diff --git a/src/hypercorn/logging.py b/src/hypercorn/logging.py
index <HASH>..<HASH> 100644
--- a/src/hypercorn/logging.py
+++ b/src/hypercorn/logging.py
@@ -78,17 +78,18 @@ class Logger:
)
self.access_log_format = config.access_log_format
- if config.logconfig_dict is not None:
- ... | base logging config on CONFIG_DEFAULTS in all cases | pgjones_hypercorn | train | py |
ec8f6cac272d18218004a4c58c9099f4dbfb07a9 | diff --git a/jooby/src/main/java/org/jooby/Jooby.java b/jooby/src/main/java/org/jooby/Jooby.java
index <HASH>..<HASH> 100644
--- a/jooby/src/main/java/org/jooby/Jooby.java
+++ b/jooby/src/main/java/org/jooby/Jooby.java
@@ -3198,7 +3198,7 @@ public class Jooby implements Router, LifeCycle, Registry {
logback = co... | Use the common practice to load Logback configuration on classpat. | jooby-project_jooby | train | java |
38dd88551e9a7fec3847c188904ed23e64ec8499 | diff --git a/src/test/java/org/italiangrid/voms/TestVOMSServerInfoStore.java b/src/test/java/org/italiangrid/voms/TestVOMSServerInfoStore.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/italiangrid/voms/TestVOMSServerInfoStore.java
+++ b/src/test/java/org/italiangrid/voms/TestVOMSServerInfoStore.java
@@ -19,7 ... | Updated VOMServerInfo test which broke the continuuous integration
testing. | italiangrid_voms-api-java | train | java |
ed23b5511b240e50ee31fcd993e3f63d03c48fc7 | diff --git a/tests/main_test.py b/tests/main_test.py
index <HASH>..<HASH> 100644
--- a/tests/main_test.py
+++ b/tests/main_test.py
@@ -78,7 +78,7 @@ def comp(path=None, folder=None, file=None, args=[]):
@contextmanager
-def create_dest():
+def using_dest():
"""Makes and removes the dest folder."""
try:
... | Cleans up prisoner and pyston | evhub_coconut | train | py |
4c47f736aa45bc20fd7cd3ee538c39991275f276 | diff --git a/lib/fb_graph2/user.rb b/lib/fb_graph2/user.rb
index <HASH>..<HASH> 100644
--- a/lib/fb_graph2/user.rb
+++ b/lib/fb_graph2/user.rb
@@ -42,7 +42,7 @@ module FbGraph2
raw: [
:about, :bio, :email, :first_name, :gender, :installed, :is_verified, :last_name, :link, :locale,
:middle_name,... | Graph API <I> - User#token_for_business acts as "Identifier for Vendor" on iOS
<URL> | nov_fb_graph2 | train | rb |
5361dae6183701346398c081367d042bc67f041a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,8 +11,10 @@ with io.open('pw/__init__.py', encoding='utf-8') as fp:
version = str(ast.literal_eval(version_code))
# read long description and convert to RST
-long_description = io.open(join(dirname(abspath(__file__... | also supporting python <I> | catch22_pw | train | 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.