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 |
|---|---|---|---|---|---|
29527696912dd320fb43d4ae8b7c27cc21fbefaa | diff --git a/ding0/examples/example_analyze_single_grid_district.py b/ding0/examples/example_analyze_single_grid_district.py
index <HASH>..<HASH> 100644
--- a/ding0/examples/example_analyze_single_grid_district.py
+++ b/ding0/examples/example_analyze_single_grid_district.py
@@ -49,9 +49,9 @@ def example_stats(filename,... | Fixed working of dataframe hist plotting using series hist plotting | openego_ding0 | train | py |
231e96bab48f5e07307dd4dc1a7c677e47e25e6f | diff --git a/zetta.js b/zetta.js
index <HASH>..<HASH> 100644
--- a/zetta.js
+++ b/zetta.js
@@ -277,6 +277,7 @@ Zetta.prototype._cleanupPeers = function(callback) {
this.peerRegistry.find({ match: function() { return true; } }, function(err, results) {
if(err) {
callback(err);
+ return;
}
... | Added a return statement to halt execution per adam. | zettajs_zetta | train | js |
d0e70e0b70a1d8ac029c89df3de2958bca1202a4 | diff --git a/forgetful-bench.py b/forgetful-bench.py
index <HASH>..<HASH> 100755
--- a/forgetful-bench.py
+++ b/forgetful-bench.py
@@ -114,7 +114,7 @@ def histo(l):
print '\t\t%2i, %10.9f, %i' % (i, float(l[i]) / count, l[i])
# Now we'll print out some interesting stats
-stats = client.stats.get('testing', ... | Forgot to update forgetful-bench for the interface change. | seomoz_qless-py | train | py |
63014386c54daea62602366ac8ebef9fce8e3edf | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index <HASH>..<HASH> 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -35,7 +35,6 @@ from pandas.util._decorators import Appender, Substitution, doc
from pandas.core.dtypes.cast import (
find_common_t... | REF: remove unnecessary maybe_cast_result (#<I>) | pandas-dev_pandas | train | py |
ba0c036fd9add8997f3342825298d666e79a3452 | diff --git a/glue/ligolw/table.py b/glue/ligolw/table.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/table.py
+++ b/glue/ligolw/table.py
@@ -422,6 +422,8 @@ class RowBuilder(object):
def __init__(self, rowtype, attributes):
self.rowtype = rowtype
self.attributes = tuple(attributes)
+ if len(self.attributes) ... | Check that rows get at least one attribute. | gwastro_pycbc-glue | train | py |
0a552a8f4105a52cc4a5ba096a680287639ab4f3 | diff --git a/src/papi-loader.php b/src/papi-loader.php
index <HASH>..<HASH> 100644
--- a/src/papi-loader.php
+++ b/src/papi-loader.php
@@ -182,6 +182,7 @@ final class Papi_Loader extends Papi_Core_Container {
'core/post.php',
'core/io.php',
'core/property.php',
+ 'core/slug.php',
'core/tabs.php',
... | Load slug lib file | wp-papi_papi | train | php |
4aa17935b2e79d78995d789115d799804fa7ae29 | diff --git a/lib/graphql/tracing/appoptics_tracing.rb b/lib/graphql/tracing/appoptics_tracing.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/tracing/appoptics_tracing.rb
+++ b/lib/graphql/tracing/appoptics_tracing.rb
@@ -57,6 +57,14 @@ module GraphQL
def platform_field_key(type, field)
"graphql.#{type... | Update appoptics_tracing.rb
Adding missing methods required by PlatformTracing base class | rmosolgo_graphql-ruby | train | rb |
6eaa3cc8bf05fe8bbb9817d7ef274b7d98c87606 | diff --git a/tests/server_commands.py b/tests/server_commands.py
index <HASH>..<HASH> 100644
--- a/tests/server_commands.py
+++ b/tests/server_commands.py
@@ -1354,6 +1354,13 @@ class ServerCommandsTestCase(unittest.TestCase):
self.assertRaises(redis.ResponseError, self.client.hincrby, 'a', 'a3')
def te... | hincrbyfloat is <I> only | andymccurdy_redis-py | train | py |
9c42c4206968510987a1d689464452a50c194f53 | diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php
index <HASH>..<HASH> 100644
--- a/www/saml2/idp/SSOService.php
+++ b/www/saml2/idp/SSOService.php
@@ -191,7 +191,11 @@ if($needAuth && !$isPassive) {
'?RequestID=' . urlencode($authId);
$authurl = '/' . $config->getBaseURL() . $idpmetadata['a... | Adding AuthId and protocol as parameter to login modules when logging in with SAML <I> | simplesamlphp_saml2 | train | php |
4fea5dc0936874056ac246e9bd23de2c99778a74 | diff --git a/value.go b/value.go
index <HASH>..<HASH> 100644
--- a/value.go
+++ b/value.go
@@ -226,7 +226,9 @@ func (vlog *valueLog) rewrite(f *logFile) error {
moved++
// This new entry only contains the key, and a pointer to the value.
ne := new(Entry)
- ne.meta = 0 // Remove all bits. Different keyspac... | fix(GC): Set bits correctly for moved keys (#<I>)
When keys are moved because of the GC, we were removing the
bitDiscardEarlierVersions and other bits. Only the transaction markers
should be removed and all the other bits should be kept. | dgraph-io_badger | train | go |
fdfbc4210a4bdf0b97052555a0fc0642a353b3c3 | diff --git a/libs/verysimple/Phreeze/Phreezer.php b/libs/verysimple/Phreeze/Phreezer.php
index <HASH>..<HASH> 100644
--- a/libs/verysimple/Phreeze/Phreezer.php
+++ b/libs/verysimple/Phreeze/Phreezer.php
@@ -381,6 +381,7 @@ class Phreezer extends Observable
require_once("DataSet.php");
$ds = new DataSet($this, $o... | set UnableToCache property to false when executing cacheable queries | jasonhinkle_phreeze | train | php |
604f0a80254f39f449ef3aeb577cd06c24aff925 | diff --git a/logger.js b/logger.js
index <HASH>..<HASH> 100644
--- a/logger.js
+++ b/logger.js
@@ -103,7 +103,7 @@ function reqIdGenFactory (func) {
var maxInt = 2147483647
var nextReqId = 0
return function genReqId (req) {
- return req.id || (nextReqId = (nextReqId % maxInt) + 1)
+ return req.id || (nex... | Because maxInt is 2^<I> -1, using a boolean mask to force loop of requestId is faster than modulus by 7x on my Macbook Pro | pinojs_pino-http | train | js |
3c5f83c14a979c72aebc0f392c18cf3438710265 | diff --git a/src/Expression.php b/src/Expression.php
index <HASH>..<HASH> 100644
--- a/src/Expression.php
+++ b/src/Expression.php
@@ -37,7 +37,7 @@ class Expression implements \ArrayAccess, \IteratorAggregate
*
* @var string
*/
- protected $paramBase = ':a';
+ protected $paramBase = 'a';
... | Fix situations where we have more than <I> parameters
PHP cycles ':a' after ':z' but 'aa' comes after 'z'. | atk4_dsql | train | php |
c5b7cd0ecb7ee536ebab17c891e7aff328721af2 | diff --git a/test/fixtures/active_record.rb b/test/fixtures/active_record.rb
index <HASH>..<HASH> 100644
--- a/test/fixtures/active_record.rb
+++ b/test/fixtures/active_record.rb
@@ -1,9 +1,5 @@
require 'active_record'
-require 'jsonapi/resource_controller'
-require 'jsonapi/resource'
-require 'jsonapi/exceptions'
-re... | Cleanup `require` statements | cerebris_jsonapi-resources | train | rb |
a6df10a63d7ff1449aedf869980d27187e6bf9f3 | diff --git a/app.js b/app.js
index <HASH>..<HASH> 100644
--- a/app.js
+++ b/app.js
@@ -6,9 +6,17 @@ var express = require('express')
, io = require('socket.io').listen(server)
, arDrone = require('ar-drone')
, arDroneConstants = require('ar-drone/lib/constants')
- , config = require('./config')
;
+// Fet... | Added a proper check for existing config file | eschnou_ardrone-webflight | train | js |
646fbea561ce5319d888780c20f0c0f03b8daad3 | diff --git a/test/data/testrunner.js b/test/data/testrunner.js
index <HASH>..<HASH> 100644
--- a/test/data/testrunner.js
+++ b/test/data/testrunner.js
@@ -1,5 +1,16 @@
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
+// jQuery-specific QUnit.reset
+(function() {
+ var reset = QUnit.reset;
... | Moving jQuery-core specific resets from QUnit to core. | jquery_jquery | train | js |
f95880580820d17c62d41834d2a9a714013813fa | diff --git a/lib/utils/cache-browser.js b/lib/utils/cache-browser.js
index <HASH>..<HASH> 100644
--- a/lib/utils/cache-browser.js
+++ b/lib/utils/cache-browser.js
@@ -6,10 +6,11 @@ import md5 from './md5';
import configDefault from '../config-default.js';
if (typeof self === 'undefined') {
- throw 'IndexedDB is av... | fix issue #<I>
so can be used with react-native | keen_keen-tracking.js | train | js |
38ad57c1e90f982a2715c350ce3994c4f4d5c0e7 | diff --git a/rxjava-core/src/main/java/rx/observables/Observable.java b/rxjava-core/src/main/java/rx/observables/Observable.java
index <HASH>..<HASH> 100644
--- a/rxjava-core/src/main/java/rx/observables/Observable.java
+++ b/rxjava-core/src/main/java/rx/observables/Observable.java
@@ -24,6 +24,7 @@ import java.util.Li... | adding more details about how the toObservable behaves. | ReactiveX_RxJava | train | java |
8a1718e33f1a46f888cc0994819d58beb01ba0dd | diff --git a/src/main/java/net/dv8tion/jda/api/entities/MessageEmbed.java b/src/main/java/net/dv8tion/jda/api/entities/MessageEmbed.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/dv8tion/jda/api/entities/MessageEmbed.java
+++ b/src/main/java/net/dv8tion/jda/api/entities/MessageEmbed.java
@@ -398,7 +398,7 @@ p... | Ignore alpha when comparing colors in MessageEmbed (#<I>) | DV8FromTheWorld_JDA | train | java |
4ac9ef0f3c591acc66be0242b716bcdb360517dc | diff --git a/test/helpers.py b/test/helpers.py
index <HASH>..<HASH> 100644
--- a/test/helpers.py
+++ b/test/helpers.py
@@ -1,4 +1,5 @@
"""Helper functions for the tests."""
+# pylint: disable=invalid-name
import contextlib
import os
@@ -14,8 +15,7 @@ def expectedFailureForVersion(major, minor):
"A decorator t... | Fix some warnings in test helpers | scheibler_khard | train | py |
cf851d082a65919bc586d48d1ea39f835212f97a | diff --git a/src/Resolvers/QueryAdapter.php b/src/Resolvers/QueryAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Resolvers/QueryAdapter.php
+++ b/src/Resolvers/QueryAdapter.php
@@ -114,4 +114,24 @@ class QueryAdapter extends \CatLab\Charon\Resolvers\QueryAdapter
$queryBuilder->orderBy($this->getQualifiedNa... | Implement method to count records from query builder. | CatLabInteractive_charon-laravel | train | php |
23d277476a396088633d0cb2ef8d3be5c3557953 | diff --git a/railties/guides/w3c_validator.rb b/railties/guides/w3c_validator.rb
index <HASH>..<HASH> 100644
--- a/railties/guides/w3c_validator.rb
+++ b/railties/guides/w3c_validator.rb
@@ -55,6 +55,7 @@ module RailsGuides
private
def guides_to_validate
guides = Dir["./guides/output/*.html"]
+ gu... | Ignore file guides/output/layout.html on W3C validations | rails_rails | train | rb |
27540c00b468eb9e879990d70c611d5f7823409b | diff --git a/src/Mouf/Html/Renderer/Twig/MoufTwigEnvironment.php b/src/Mouf/Html/Renderer/Twig/MoufTwigEnvironment.php
index <HASH>..<HASH> 100644
--- a/src/Mouf/Html/Renderer/Twig/MoufTwigEnvironment.php
+++ b/src/Mouf/Html/Renderer/Twig/MoufTwigEnvironment.php
@@ -113,4 +113,15 @@ class MoufTwigEnvironment extends \T... | Override writeCacheFile in order to use umask | thecodingmachine_html.renderer.twig-extensions | train | php |
09559f4f97c9769ab61442f888cee01c1c8c0c91 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,5 +44,5 @@ setup(
test_suite='tests',
# Dependent packages (distributions)
- install_requires=['lxml.html'],
+ install_requires=['lxml'],
) | setup install_requires lxml | robhowley_nhlscrapi | train | py |
1e6edf59b09f3f29187c2e7f3cca1b4d2719f15e | diff --git a/spyder/config/tests/test_manager.py b/spyder/config/tests/test_manager.py
index <HASH>..<HASH> 100644
--- a/spyder/config/tests/test_manager.py
+++ b/spyder/config/tests/test_manager.py
@@ -121,6 +121,8 @@ startup/run_lines =
assert 'max_line_count = 600' not in user_contents
assert 'max_line_cou... | Testing: Restore configuration for dummy external plugin
This was making other tests related to that plugin fail. | spyder-ide_spyder | train | py |
c3242ae09f91672e1b8067c440f9e3990a4fb82a | diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php
index <HASH>..<HASH> 100644
--- a/config/environment/ui-test.php
+++ b/config/environment/ui-test.php
@@ -5,8 +5,17 @@ return array(
'observers.global' => array(
array('Request.dispatch.end', function (&$result) {
- ... | Remove host & port only if test port is defined in config & remove Piwik base path from all output so tests won't change based on machine. | matomo-org_matomo | train | php |
137723a1f553dd420d278238cd7c638ad06a8622 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,8 +17,8 @@ try:
# the default install experience, particularly where a build toolchain is
# required.
extras_requires = {
- "all": ['matplotlib>=1.3.1', 'numpy>=1.8.0', 'pymongo>=3.3'],
- "mlau... | Fix #<I>: mlaunch: psutil dependency missing (#<I>) | rueckstiess_mtools | train | py |
535fb8f8e7c4cddf737994acddc98bcbc538b762 | diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -350,7 +350,9 @@ class SSH(object):
return
hostname = self.opts['tgt'].split('@')[-1]
- needs_expansion = '*' not in ho... | only do reverse dns lookup on ips for salt-ssh
Fixes #<I> | saltstack_salt | train | py |
5bbad7a0091f461f6750b611c6389242d63d66b3 | diff --git a/glitter/pages/forms.py b/glitter/pages/forms.py
index <HASH>..<HASH> 100644
--- a/glitter/pages/forms.py
+++ b/glitter/pages/forms.py
@@ -36,6 +36,6 @@ class PageAdminForm(forms.ModelForm):
class Meta:
model = Page
widgets = {
- 'glitter_app_name': forms.widgets.Select(choic... | Fixed indentation issues in Glitter Apps work
For #<I> | developersociety_django-glitter | train | py |
af5ea9dbc1666ee0b0f42a73e5207a0ba639dad3 | diff --git a/test/unit/card-number.js b/test/unit/card-number.js
index <HASH>..<HASH> 100644
--- a/test/unit/card-number.js
+++ b/test/unit/card-number.js
@@ -79,7 +79,7 @@ describe('number validates', function () {
]);
});
- describe('Mastercard', function () {
+ describe('MasterCard', function () {
t... | Minor: it's "MasterCard", not "Mastercard"
This only appears in this one test file. | braintree_card-validator | train | js |
a686243eab4657729be0c5a02c1d43e5c7fbffe3 | diff --git a/runtime.go b/runtime.go
index <HASH>..<HASH> 100644
--- a/runtime.go
+++ b/runtime.go
@@ -331,7 +331,10 @@ func getSessionOrDefaultCreds() map[string]string {
// Obtain AWS credentials and pass them through to the container runtime via env variables
if sess, err := session.NewSession(); err == nil {
... | Don't set region if not configured in CLI. Fixes #<I> | awslabs_aws-sam-cli | train | go |
c25f4f7b4ada0022b1006848743b2bb9ed34d1d6 | diff --git a/molgenis-dataexplorer/src/main/resources/js/dataexplorer-data.js b/molgenis-dataexplorer/src/main/resources/js/dataexplorer-data.js
index <HASH>..<HASH> 100644
--- a/molgenis-dataexplorer/src/main/resources/js/dataexplorer-data.js
+++ b/molgenis-dataexplorer/src/main/resources/js/dataexplorer-data.js
@@ -3... | removed dm reference form dataexplorer-data.js | molgenis_molgenis | train | js |
fe71a1fbd6fc05e888e8de2467e7d42b0686d020 | diff --git a/minivents.js b/minivents.js
index <HASH>..<HASH> 100644
--- a/minivents.js
+++ b/minivents.js
@@ -16,8 +16,7 @@ function Events(target){
*/
target.off = function(type, func){
list = events[type] || []
- !func && (list.length = 0)
- i = list.length
+ i = func ? list.length ... | optimized and made smaller 'off' method | allouis_minivents | train | js |
1fc52bc98f08c0b5350de3a5c01a833e7996280a | diff --git a/stringbuffer.js b/stringbuffer.js
index <HASH>..<HASH> 100644
--- a/stringbuffer.js
+++ b/stringbuffer.js
@@ -1,4 +1,6 @@
-
+/**
+ * copyright @Lloyd Zhou(lloydzhou@qq.com)
+ */
(function(exports){
exports.StringBuffer = function(){ | using this module both in server and browser | tplite_tplite | train | js |
03ec18e19a071a69fe5a19d81079cefc268e3523 | diff --git a/src/jquery.ez-plus.js b/src/jquery.ez-plus.js
index <HASH>..<HASH> 100644
--- a/src/jquery.ez-plus.js
+++ b/src/jquery.ez-plus.js
@@ -488,7 +488,7 @@ if (typeof Object.create !== 'function') {
if (self.options.scrollZoom) {
- self.zoomContainer.add(self.$elem).bind('mousewhe... | Remove support for deprecated mousewheel event and replace with wheel event.
See: <URL> | igorlino_elevatezoom-plus | train | js |
d5246b2a0b803f0246903a811852b38008f1f9ae | diff --git a/armet/connectors/sqlalchemy/resources.py b/armet/connectors/sqlalchemy/resources.py
index <HASH>..<HASH> 100644
--- a/armet/connectors/sqlalchemy/resources.py
+++ b/armet/connectors/sqlalchemy/resources.py
@@ -65,11 +65,18 @@ def build_segment(model, segment, attr, clean):
# Determine the operator.
... | Apply negation when converting queries. | armet_python-armet | train | py |
727f66775955d23d3eb43ec9d45b5ae8c5091e60 | diff --git a/test/conftest.py b/test/conftest.py
index <HASH>..<HASH> 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -11,7 +11,6 @@ from nameko import memory
memory.patch()
-
def get_connection():
#conn = Connection('amqp://guest:guest@10.11.105.128:5672//platform')
conn = Connection(transport=... | patch eventlet so that it behaves with pytest | nameko_nameko | train | py |
7aeb4496d2c18a94f18a9d24e2fe1aaa5a3140c9 | diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/_version.py
+++ b/grimoire_elk/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.51.0"
+__version__ = "0.52.0" | Update version number to <I> | chaoss_grimoirelab-elk | train | py |
0bf5329431c0666355758e0ac1d26f02ac125a61 | diff --git a/js/woo.js b/js/woo.js
index <HASH>..<HASH> 100644
--- a/js/woo.js
+++ b/js/woo.js
@@ -272,6 +272,9 @@ module.exports = class woo extends Exchange {
const parts = marketId.split ('_');
const marketTypeVal = this.safeStringLower (parts, 0);
const isSpot = marketTypeVal ... | - market-type assignations
- balance comments/examples | ccxt_ccxt | train | js |
6d43fd96c2dc89f5babeb164f32b5cf9a9455569 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -170,10 +170,10 @@ if gsl_version is None:
print('GSL not found: installing without GSL support. ' + _see_msg)
elif gsl_version < ['1', '14']:
- gsl_version = None
print('Warning: GSL version ({0}) is below... | Fix the bug in installation when gsl_version<<I>
If gsl_version=<I> the existing code first assigns None to gsl_version then tries to to do print '.'.join(gsl_version),
while it should be the other way around. | adrn_gala | train | py |
bb50456a653f237ab414ca32e263a573a04bd392 | diff --git a/src/main/java/zmq/ZMQ.java b/src/main/java/zmq/ZMQ.java
index <HASH>..<HASH> 100644
--- a/src/main/java/zmq/ZMQ.java
+++ b/src/main/java/zmq/ZMQ.java
@@ -190,6 +190,7 @@ public class ZMQ {
ByteBuffer buffer = ByteBuffer.allocate (size);
buffer.putInt (event);
buffer.p... | fix missing frame at monitoring
But monitoring will be totally rewritten | zeromq_jeromq | train | java |
c0a93719a30722ed5edfe807cb10ad8596557353 | diff --git a/cassiopeia/dto/requests.py b/cassiopeia/dto/requests.py
index <HASH>..<HASH> 100644
--- a/cassiopeia/dto/requests.py
+++ b/cassiopeia/dto/requests.py
@@ -76,7 +76,7 @@ def get(request, params={}, static=False, include_base=True, tournament=False):
retry_after += int(e.headers["Retry-After"... | minor bugfix; if a tournament call was retried, the parameter to specify that the call is a tournament call was not being set | meraki-analytics_cassiopeia | train | py |
2bdfb97022e0b0dd8ac5219a1db218fef05055da | diff --git a/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java b/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java
+++ b/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java
@@ -3753,11 +3753,12 @@ publi... | Added in a Thread.yield() in a tight while loop | synchronoss_cpo-api | train | java |
6182cbed568631aec5de3fdb20c867d1c7c28e1f | diff --git a/src/lib/resolver.js b/src/lib/resolver.js
index <HASH>..<HASH> 100644
--- a/src/lib/resolver.js
+++ b/src/lib/resolver.js
@@ -90,8 +90,7 @@ function MemberExpression(rc, expr) {
for (let member of entity.traits) {
const [memberKey] = Value(rc, member.key);
- if (key.namespace === memberKey.nam... | Fix keyword matching in MemberExpressions | l20n_l20n.js | train | js |
ec38bf15845fd0488ffa5c66b12d54a49c2b3fbe | diff --git a/installation/installer_test.go b/installation/installer_test.go
index <HASH>..<HASH> 100644
--- a/installation/installer_test.go
+++ b/installation/installer_test.go
@@ -143,8 +143,9 @@ var _ = Describe("Installer", func() {
Expect(fakeExtractor.CleanupCallCount()).To(Equal(1))
- blobstoreID := f... | Clean up of extracted temp blob files, part 2
Fixes a test.
[#<I>](<URL>) | cloudfoundry_bosh-cli | train | go |
037c4f30f34d5a20f8a9fb04c9231bbc718e9ef7 | diff --git a/peer.js b/peer.js
index <HASH>..<HASH> 100644
--- a/peer.js
+++ b/peer.js
@@ -20,6 +20,7 @@
'use strict';
+var assert = require('assert');
var inherits = require('util').inherits;
var EventEmitter = require('events').EventEmitter;
var net = require('net');
@@ -171,14 +172,11 @@ TChannelPeer.prototy... | peer: use asserts for crash-hard programming errors | uber_tchannel-node | train | js |
416d08cffb023f7416e769a56c9673412380e11e | diff --git a/packages/fontkit/src/opentype/OTProcessor.js b/packages/fontkit/src/opentype/OTProcessor.js
index <HASH>..<HASH> 100644
--- a/packages/fontkit/src/opentype/OTProcessor.js
+++ b/packages/fontkit/src/opentype/OTProcessor.js
@@ -335,9 +335,12 @@ export default class OTProcessor {
}
applyContext(table)... | fix: fontkit scoping issue on phase variable (#<I>) | diegomura_react-pdf | train | js |
4c89e12b064fd0be5f598d55732991eae0282143 | diff --git a/src/main/java/org/sejda/io/BufferedCountingChannelWriter.java b/src/main/java/org/sejda/io/BufferedCountingChannelWriter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/sejda/io/BufferedCountingChannelWriter.java
+++ b/src/main/java/org/sejda/io/BufferedCountingChannelWriter.java
@@ -50,7 +50,7 @@... | Safety check to make sure we don't flush on a closed channel | torakiki_sejda-io | train | java |
90c0b38438afcb56044f13b11a426d013d0c8848 | diff --git a/tensorflow_datasets/core/lazy_imports.py b/tensorflow_datasets/core/lazy_imports.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/core/lazy_imports.py
+++ b/tensorflow_datasets/core/lazy_imports.py
@@ -99,6 +99,7 @@ class LazyImporter(object):
def skimage(cls):
_try_import("skimage.color")
... | Activate lazy import for skimage.external.tifffile to read multi-channel tiff files.
PiperOrigin-RevId: <I> | tensorflow_datasets | train | py |
a50c522f869467df6915fb53e2f5aa5886347776 | diff --git a/svgpathtools/path.py b/svgpathtools/path.py
index <HASH>..<HASH> 100644
--- a/svgpathtools/path.py
+++ b/svgpathtools/path.py
@@ -572,7 +572,7 @@ class Line(object):
d = (other_seg.start.imag, other_seg.end.imag)
denom = ((a[1] - a[0])*(d[0] - d[1]) -
(b[1] -... | use np.close to check to check for vanishing denom
Just to offer users some amount of control over the tolerance. | mathandy_svgpathtools | train | py |
79e9e751f5feddea3acefd35c1db6355f4f5d8c5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ def read(fname):
setup(
name='Flask-KVSession',
version='0.5dev',
- url='https://github.com/mbr',
+ url='https://github.com/mbr/flask-kvsession',
license='MIT',
author='Marc Brinkmann'... | Fixed URL in setup.py. | mbr_flask-kvsession | train | py |
938ba7e3bcf1675a21aefc7100c9f7e0683d50f7 | diff --git a/src/DataSources.js b/src/DataSources.js
index <HASH>..<HASH> 100644
--- a/src/DataSources.js
+++ b/src/DataSources.js
@@ -22,13 +22,11 @@ Openphacts.DataSources.prototype.getSources = function(callback) {
_format: "json",
app_id: this.appID,
... | Use the new mechanism for the callback functions | openphacts_ops.js | train | js |
d50af4a6abcd6c0b49b966f465352b9048389d78 | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -2,7 +2,7 @@
import pytest
from six import PY2, text_type as str, with_metaclass
-from tossi import get_particle, postfix_particle as f, registry
+from tossi import get_particle, pick_particle, postfix_particle as f, registry
... | Add test case for pick_particle() first | what-studio_tossi | train | py |
f3c3f90f5a531cbf8c9eb30af93f56e4999e207a | diff --git a/safe/impact_functions/inundation/flood_raster_road/impact_function.py b/safe/impact_functions/inundation/flood_raster_road/impact_function.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/inundation/flood_raster_road/impact_function.py
+++ b/safe/impact_functions/inundation/flood_raster_road/impa... | Fix #<I> *typo only. | inasafe_inasafe | train | py |
aa8a0789a4e1e6556f423a3fc7260a1cff6b05aa | diff --git a/tests/test_deployment.py b/tests/test_deployment.py
index <HASH>..<HASH> 100644
--- a/tests/test_deployment.py
+++ b/tests/test_deployment.py
@@ -329,6 +329,8 @@ class TestSetupExperiment(object):
assert found_in(os.path.join("static", "robots.txt"), dst)
assert found_in(os.path.join("tem... | Verify that new exit templates are copied upon deployment | Dallinger_Dallinger | train | py |
95432746ce75515e593b773531ea437d6aa41faa | diff --git a/lib/api/tooling.js b/lib/api/tooling.js
index <HASH>..<HASH> 100644
--- a/lib/api/tooling.js
+++ b/lib/api/tooling.js
@@ -244,6 +244,18 @@ Tooling.prototype.runTestsAsynchronous = function(classids, callback) {
};
/**
+ * Executes Apex tests synchronously
+ *
+ * @param {Array.<String>} classnames - Co... | Added runTestsSynchronous Support
Added a method to call the tooling API for runTestsSynchronous.
This support the GET call only (not the POST). | jsforce_jsforce | train | js |
e0ababf47495d8a2cf91bb480c30560440aa86ff | diff --git a/src/main/java/com/aoapps/web/framework/WebPage.java b/src/main/java/com/aoapps/web/framework/WebPage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/aoapps/web/framework/WebPage.java
+++ b/src/main/java/com/aoapps/web/framework/WebPage.java
@@ -869,12 +869,12 @@ public abstract class WebPage exten... | Comparing by Class object instead of name
This framework no longer supports dynamically reloading of servlets. | aoindustries_aoweb-framework | train | java |
93b158caad9821fb9719905e117b5ddb9154c41c | diff --git a/test/integration/sudo/passwd.rb b/test/integration/sudo/passwd.rb
index <HASH>..<HASH> 100644
--- a/test/integration/sudo/passwd.rb
+++ b/test/integration/sudo/passwd.rb
@@ -10,8 +10,8 @@ describe 'run_command' do
end
it 'is not running sudo without password' do
- run_as('whoami', { sudo: true }... | adept integration test to changes in command_wrapper
command_wrapper tries to verify the connection (which includes sudo)
using a call to "echo". If this fails, it'll raise an error. This change
is now reflected in the test.
fixes #<I>. | inspec_train | train | rb |
14bf679677ebd4a86b1072f0f99755fa0eb79e96 | diff --git a/lib/simple_enum/enum.rb b/lib/simple_enum/enum.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_enum/enum.rb
+++ b/lib/simple_enum/enum.rb
@@ -1,5 +1,3 @@
-require 'active_support/hash_with_indifferent_access'
-
module SimpleEnum
class Enum
attr_reader :name, :hash, :source, :prefix | SE::Enum does not need to know about HashWIA | lwe_simple_enum | train | rb |
75ca4556c6d983ae974a07da20b80c4ba159dcf0 | diff --git a/pygmsh/built_in/geometry.py b/pygmsh/built_in/geometry.py
index <HASH>..<HASH> 100644
--- a/pygmsh/built_in/geometry.py
+++ b/pygmsh/built_in/geometry.py
@@ -1026,6 +1026,21 @@ class Geometry:
)
return
+ def rotate(self, input_entity, point, angle, axis):
+ """Translates input... | Added rotation to built-in geom | nschloe_pygmsh | train | py |
b151cd9d266c70ad3ead0d2f42f691a60267b370 | diff --git a/Utility/Finder.php b/Utility/Finder.php
index <HASH>..<HASH> 100644
--- a/Utility/Finder.php
+++ b/Utility/Finder.php
@@ -31,7 +31,9 @@ class Finder
{
if(file_exists($this->path))
{
- $files = scandir($this->path, SCANDIR_SORT_ASCENDING);
+ //SCANDIR_SORT_ASCEND... | PHP <I> compatibility fix
Constant SCANDIR_SORT_ASCENDING replaced with 0 | Atlantic18_CoralSiteBundle | train | php |
e2fa63af7b4975a67a96dd1b08b70f7289b8ccdc | diff --git a/MongodbContext.php b/MongodbContext.php
index <HASH>..<HASH> 100644
--- a/MongodbContext.php
+++ b/MongodbContext.php
@@ -114,7 +114,7 @@ class MongodbContext implements Context
*/
public function convertMessage(array $mongodbMessage): MongodbMessage
{
- $mongodbMessageObj = new Mong... | Replaced constructor with owned method createMessage() in MongodbContext. | php-enqueue_mongodb | train | php |
cdb0d3e4d500b4636d09424ad2e6aa587e3208c7 | diff --git a/test/test_commit.rb b/test/test_commit.rb
index <HASH>..<HASH> 100644
--- a/test/test_commit.rb
+++ b/test/test_commit.rb
@@ -165,7 +165,7 @@ class TestCommit < Test::Unit::TestCase
@c = Commit.create(@r, :id => '80f136f500dfdb8c3e8abf4ae716f875f0a1b57f')
patch = @c.to_patch
-
+
assert... | Fixed test that relied on using git <I> | mojombo_grit | train | rb |
cd8f21e216139037e91cf433e86663552bf31132 | diff --git a/lib/anycable/rails/version.rb b/lib/anycable/rails/version.rb
index <HASH>..<HASH> 100644
--- a/lib/anycable/rails/version.rb
+++ b/lib/anycable/rails/version.rb
@@ -2,6 +2,6 @@
module Anycable
module Rails
- VERSION = "0.4.7"
+ VERSION = "0.5.0.rc1"
end
end | Bump anycable-rails to <I>.rc1 | anycable_anycable-rails | train | rb |
623b41445c2c1fc1018c66a072297fcadb1bc217 | diff --git a/zpar/__init__.py b/zpar/__init__.py
index <HASH>..<HASH> 100644
--- a/zpar/__init__.py
+++ b/zpar/__init__.py
@@ -51,6 +51,8 @@ class ZPar(object):
# clean up the CDLL object too so that upon reuse, we get a new one
_ctypes.dlclose(self.libptr._handle)
+ # pretty sure once the ol... | Added comment about libptr garbage collection. | EducationalTestingService_python-zpar | train | py |
7751220ad6a8e213e6f0c08233e72810a05e272d | diff --git a/app/classes/lib.php b/app/classes/lib.php
index <HASH>..<HASH> 100644
--- a/app/classes/lib.php
+++ b/app/classes/lib.php
@@ -808,13 +808,14 @@ function getPaths($original = array() )
$canonicalpath = $currentpath;
}
+ $theme_path = ltrim($theme_path, '/');
// Set the paths
$pa... | theme config file can't be reached if theme_path doesn't begins with '/' in config.yml | bolt_bolt | train | php |
a32fbf63bcb925f88da2f1ff25ddb6e30238df17 | diff --git a/src/MetaModels/Attribute/CombinedValues/CombinedValues.php b/src/MetaModels/Attribute/CombinedValues/CombinedValues.php
index <HASH>..<HASH> 100644
--- a/src/MetaModels/Attribute/CombinedValues/CombinedValues.php
+++ b/src/MetaModels/Attribute/CombinedValues/CombinedValues.php
@@ -35,7 +35,7 @@ class Combi... | Change filed type to text (issue #7) | MetaModels_attribute_combinedvalues | train | php |
47765aab3a7b51a967cccb7cf13abb3ceaea2d20 | diff --git a/src/Joomlatools/Console/Joomla/Application.php b/src/Joomlatools/Console/Joomla/Application.php
index <HASH>..<HASH> 100644
--- a/src/Joomlatools/Console/Joomla/Application.php
+++ b/src/Joomlatools/Console/Joomla/Application.php
@@ -109,11 +109,8 @@ class Application extends JApplicationCli
$... | test #<I>: Push the user into session for all Joomla versions | joomlatools_joomlatools-console | train | php |
43d91ef6943d09478d8e3515a070e625d9db67a0 | diff --git a/defender/tests.py b/defender/tests.py
index <HASH>..<HASH> 100644
--- a/defender/tests.py
+++ b/defender/tests.py
@@ -32,7 +32,7 @@ def mock_get_connection():
# Django >= 1.7 compatibility
try:
- LOGIN_FORM_KEY = '<form action="/admin/" method="post" id="login-form">'
+ LOGIN_FORM_KEY = '<form ac... | Fix tests for Django <I> | kencochrane_django-defender | train | py |
fc0d2d8677983f3e3fa12321d2a1acb323f0aedc | diff --git a/test_rbac.py b/test_rbac.py
index <HASH>..<HASH> 100644
--- a/test_rbac.py
+++ b/test_rbac.py
@@ -131,7 +131,7 @@ def makeapp(with_factory, use_white, before_decorator, after_decorator):
class UseWhiteApplicationUnitTests(unittest.TestCase):
def setUp(self):
- self.app = makeapp(with_factory... | corrected typo - use_white=True | shonenada_flask-rbac | train | py |
af65eec2fc924851e1c5019c0f43f89610b64010 | diff --git a/core/commands2/name.go b/core/commands2/name.go
index <HASH>..<HASH> 100644
--- a/core/commands2/name.go
+++ b/core/commands2/name.go
@@ -20,6 +20,8 @@ type ResolveOutput struct {
Entries []IpnsEntry
}
+var errNotOnline = errors.New("This command must be run in online mode. Try running 'ipfs daemon' f... | core/commands2: Output error when trying to run 'publish' or 'resolve' in offline mode | ipfs_go-ipfs | train | go |
9d521066340d165b3dea4448beb64a9e51efcf6c | diff --git a/src/CollapsibleCard/index.js b/src/CollapsibleCard/index.js
index <HASH>..<HASH> 100644
--- a/src/CollapsibleCard/index.js
+++ b/src/CollapsibleCard/index.js
@@ -35,19 +35,19 @@ export default class CollapsibleCard extends Component {
title,
icon,
openTitleElements,
- noCard = fal... | Added style prop to CollapsibleCard | TeselaGen_teselagen-react-components | train | js |
ed102fb12b354ae6896e7f3d82895aa70bcb07cc | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -76,5 +76,6 @@ setup(
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
... | Add python <I> as classifier | dreipol_djangocms-spa | train | py |
0c6e1e9ff4ba1f210ef72360c290ef46befd27d9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@
from setuptools import setup, find_packages
setup(name = "svg.charts",
- version = "2.0.1",
+ version = "2.0.2",
description = "Python SVG Charting Library",
long_description = open('readme.txt').rea... | Released <I> to include package data
--HG--
extra : convert_revision : svn%3A<I>dc<I>ec-c<I>e-<I>f-a8c6-c1e<I>a<I>e/trunk%<I> | jaraco_svg.charts | train | py |
25c29b61a2503a0d0ebdf90d5926e0c90bd61225 | diff --git a/yarn_api_client/base.py b/yarn_api_client/base.py
index <HASH>..<HASH> 100644
--- a/yarn_api_client/base.py
+++ b/yarn_api_client/base.py
@@ -19,8 +19,12 @@ class Response(object):
:param requests.Response response: Response for call via requests lib
"""
def __init__(self, response):
- ... | Handle responses with empty content (#<I>)
Application submission via the REST API does not return a response
body. This updates ensures that an empty dictionary is returned
in such cases.
Fixes: #<I> | toidi_hadoop-yarn-api-python-client | train | py |
cecab91b3b400612cb164de499a0607f94846279 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -65,7 +65,7 @@ class PyTest(TestCommand):
setup(
name="arctic",
- version="1.79.0",
+ version="1.80.0",
author="Man AHL Technology",
author_email="ManAHLTech@ahl.com",
description=("AHL Research Ve... | Update setup.py version to <I> | manahl_arctic | train | py |
7969e8c12788f0aae3a2f34bbb715671d5cd02fb | diff --git a/web/opensubmit/admin/submission.py b/web/opensubmit/admin/submission.py
index <HASH>..<HASH> 100644
--- a/web/opensubmit/admin/submission.py
+++ b/web/opensubmit/admin/submission.py
@@ -247,6 +247,16 @@ class SubmissionAdmin(ModelAdmin):
subm.save()
setInitialStateAction.short_description... | Allow submission state change to grading unfinished | troeger_opensubmit | train | py |
7092d73aef45b8710e6c75f993669a7ae0110bd3 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -30,7 +30,7 @@ return array(
'label' => 'Tao base',
'description' => 'TAO meta-extension',
'license' => 'GPL-2.0',
- 'version' => '7.4.6',
+ 'version' => '7.4.7',
'author' => 'Open Ass... | Bimp to version <I> | oat-sa_tao-core | train | php,php |
efd8cbb6bd281f16a409205a0d039613f3a3867f | diff --git a/lib/aruba/matchers/rspec_matcher_include_regexp.rb b/lib/aruba/matchers/rspec_matcher_include_regexp.rb
index <HASH>..<HASH> 100644
--- a/lib/aruba/matchers/rspec_matcher_include_regexp.rb
+++ b/lib/aruba/matchers/rspec_matcher_include_regexp.rb
@@ -1,3 +1,21 @@
+# @!method include_regexp(regexp)
+# This... | Added documentation to include_regexp_matcher | cucumber_aruba | train | rb |
ec67ffad460f3b976dee297084e383db3168bb86 | diff --git a/src/Cookies/CookieManager.php b/src/Cookies/CookieManager.php
index <HASH>..<HASH> 100644
--- a/src/Cookies/CookieManager.php
+++ b/src/Cookies/CookieManager.php
@@ -108,15 +108,7 @@ final class CookieManager implements SingletonInterface
bool $secure = null,
bool $httpOnly = true
) ... | - added session and cookie scopes
- easier cookie reader
- unified scope class names
- reduced nesting level by using middleware | spiral_security | train | php |
fcc7271e0af3895fff1c86431554426870d6e891 | diff --git a/test/fakefs_test.rb b/test/fakefs_test.rb
index <HASH>..<HASH> 100644
--- a/test/fakefs_test.rb
+++ b/test/fakefs_test.rb
@@ -981,7 +981,11 @@ class FakeFSTest < Minitest::Test
bad = 'nofile.txt'
File.open(good, 'w') { |f| f.write 'foo' }
username = Etc.getpwuid(Process.uid).name
- groupn... | fix OSX-related 'ArgumentError: can't find group' | fakefs_fakefs | train | rb |
7037bc4dd579c9526dd2d1b4624a4e72b5bf3ca0 | diff --git a/lib/squid/graph.rb b/lib/squid/graph.rb
index <HASH>..<HASH> 100644
--- a/lib/squid/graph.rb
+++ b/lib/squid/graph.rb
@@ -19,20 +19,32 @@ module Squid
private
def draw_graph
- Legend.new(pdf, data.keys).draw if legend
- Grid.new(pdf, labels, left: left).draw if grid
- Baseline.new(... | Better code: Improve Graph#draw_graph | Fullscreen_squid | train | rb |
9a90eb9f9849b6d5d67539b0291861bb2c679ea1 | diff --git a/src/Helpers/LogParser.php b/src/Helpers/LogParser.php
index <HASH>..<HASH> 100644
--- a/src/Helpers/LogParser.php
+++ b/src/Helpers/LogParser.php
@@ -113,6 +113,6 @@ class LogParser
*/
private static function hasLogLevel($heading, $level)
{
- return Str::contains(strtolower($heading)... | bugfix determine the level of the log record | ARCANEDEV_LogViewer | train | php |
69c7eba7336628d3a98d6c36e67baeb52d09b31c | diff --git a/admin/backup.php b/admin/backup.php
index <HASH>..<HASH> 100644
--- a/admin/backup.php
+++ b/admin/backup.php
@@ -18,6 +18,24 @@
/// If data submitted, then process and store.
if ($config = data_submitted()) {
+ //We need to do some weekdays conversions prior to continue
+ $i = 0;
+ ... | Scheduled weekdays are now stored in DB | moodle_moodle | train | php |
9ad520741e4200f9718f7f43bb8cb10979ebe45b | diff --git a/lib/Doctrine/MongoDB/Collection.php b/lib/Doctrine/MongoDB/Collection.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/MongoDB/Collection.php
+++ b/lib/Doctrine/MongoDB/Collection.php
@@ -589,9 +589,9 @@ class Collection
*
* @see http://php.net/manual/en/mongocollection.distinct.php
* @... | Fix $field type documentation for distinct command | doctrine_mongodb | train | php |
71a7591e782e90fcc9026521d7d20b35b6dac8f2 | diff --git a/kubernetes/K8sDeployment.py b/kubernetes/K8sDeployment.py
index <HASH>..<HASH> 100644
--- a/kubernetes/K8sDeployment.py
+++ b/kubernetes/K8sDeployment.py
@@ -324,12 +324,15 @@ class K8sDeployment(K8sObject):
"""
if name is None:
- raise SyntaxError('Deployment: name: [ {0} ] ... | K8sDeployment: newlines for clarity | mnubo_kubernetes-py | train | py |
99f38f965549e41b3ac40562f503c1ce437907be | diff --git a/src/main/java/io/iron/ironmq/QueueModel.java b/src/main/java/io/iron/ironmq/QueueModel.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/iron/ironmq/QueueModel.java
+++ b/src/main/java/io/iron/ironmq/QueueModel.java
@@ -10,7 +10,7 @@ public class QueueModel {
private String project_id;
priv... | Fixed retries_delay issue | iron-io_iron_mq_java | train | java |
93c5337617b84cdf8d744d2cf11bccda9cb3ea0d | diff --git a/src/armet/query.py b/src/armet/query.py
index <HASH>..<HASH> 100644
--- a/src/armet/query.py
+++ b/src/armet/query.py
@@ -215,4 +215,4 @@ def parse(querystring):
# Break up partitions in the querystring
segments = querystring.split(PARAM_SEP)
- return [parse_segment(x) for x in segments]
+ ... | Add the query list to the resource on construction | armet_python-armet | train | py,py |
af4d4c5cc6d0f3e2a7170b91d3e0dc7bc5580b73 | diff --git a/src/jssocials.js b/src/jssocials.js
index <HASH>..<HASH> 100644
--- a/src/jssocials.js
+++ b/src/jssocials.js
@@ -129,6 +129,10 @@
$result.append($shareButton);
+ if(this.showCount) {
+ $result.append(this._createShareCount(share));
+ }
+
r... | Core: Move count outside of share link | tabalinas_jssocials | train | js,js |
70513ff2d89f31711f36427dc4668eff19ca1226 | diff --git a/test/server/worker/simpleworker.spec.js b/test/server/worker/simpleworker.spec.js
index <HASH>..<HASH> 100644
--- a/test/server/worker/simpleworker.spec.js
+++ b/test/server/worker/simpleworker.spec.js
@@ -1259,7 +1259,8 @@ describe('Simple worker', function () {
});
});
- it('should fai... | test: faulty test case (caused termination) skipped
Former-commit-id: <I>d<I>a<I>e<I>a<I>a<I>b0db<I>a3ea<I>f | webgme_webgme-engine | train | js |
48e5b6e2552de0b4df9e40caace83536a6fd9598 | diff --git a/py/test/selenium/webdriver/common/bidi_tests.py b/py/test/selenium/webdriver/common/bidi_tests.py
index <HASH>..<HASH> 100644
--- a/py/test/selenium/webdriver/common/bidi_tests.py
+++ b/py/test/selenium/webdriver/common/bidi_tests.py
@@ -14,6 +14,7 @@
# KIND, either express or implied. See the License fo... | [py] Add Ignored Exception to wait in Bidi Tests | SeleniumHQ_selenium | train | py |
10cd495fd8f9505abdc982cb818e5dd9682d42b5 | diff --git a/lib/puppet/pops/functions/dispatcher.rb b/lib/puppet/pops/functions/dispatcher.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/pops/functions/dispatcher.rb
+++ b/lib/puppet/pops/functions/dispatcher.rb
@@ -49,7 +49,7 @@ class Puppet::Pops::Functions::Dispatcher
add(Puppet::Pops::Functions::Dispatch.ne... | (maint) Fix typo in comment | puppetlabs_puppet | train | rb |
5132007e809fc75ddb166c95a9955f2fd94c5766 | diff --git a/lib/api/streaming.js b/lib/api/streaming.js
index <HASH>..<HASH> 100644
--- a/lib/api/streaming.js
+++ b/lib/api/streaming.js
@@ -129,7 +129,7 @@ Streaming.prototype._getFayeClient = function(channelName) {
this._fayeClients[clientType] = this._createClient(isGeneric);
if (this._fayeClients[clien... | selectTransport is a dispatcher method, not a client method | jsforce_jsforce | train | js |
69096c0f1a74df70383d71ed81464cdf32ea8d8a | diff --git a/lib/faraday/utils.rb b/lib/faraday/utils.rb
index <HASH>..<HASH> 100644
--- a/lib/faraday/utils.rb
+++ b/lib/faraday/utils.rb
@@ -1,4 +1,5 @@
require 'uri'
+require 'thread'
Faraday.require_libs 'parameters'
module Faraday
@@ -17,14 +18,18 @@ module Faraday
self.update hash
end
+ ... | Fix race conditions in Faraday::Utils::Headers
Faraday::Utils::Headers uses a shared 'KeyMap' hash to cache
symbol -> string mappings of HTTP header names. When multiple threads
are writing to the cache, race conditions may occur, as the Hash class
is not thread-safe in Ruby.
This commit adds a mutex to synchronize w... | lostisland_faraday | train | rb |
dd16bcd44f2807fffec22a443d2287eb19c432dd | diff --git a/vyper/parser/global_context.py b/vyper/parser/global_context.py
index <HASH>..<HASH> 100644
--- a/vyper/parser/global_context.py
+++ b/vyper/parser/global_context.py
@@ -49,20 +49,7 @@ class GlobalContext:
# Statements of the form:
# variable_name: type
elif isinstanc... | chore: remove `implements` from global context | ethereum_vyper | train | py |
57ea488b4d6a465766285b974b0b51b842b633ef | diff --git a/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/dto/enums/KrakenEventType.java b/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/dto/enums/KrakenEventType.java
index <HASH>..<HASH> 100644
--- a/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/dto/enums/KrakenEven... | [Kraken] KrakenEventType error
process them | knowm_XChange | train | java |
b84bc29a3ca298d6999b569729331b0020654936 | diff --git a/packages/webdriverio/src/commands/browser/switchWindow.js b/packages/webdriverio/src/commands/browser/switchWindow.js
index <HASH>..<HASH> 100644
--- a/packages/webdriverio/src/commands/browser/switchWindow.js
+++ b/packages/webdriverio/src/commands/browser/switchWindow.js
@@ -15,7 +15,7 @@
browse... | Title changed
The title of Webdriverio page changed. To make the example look more promising, updated it with new title | webdriverio_webdriverio | train | js |
1cf0da80a938172c4797e0be3cf0c1e7374e3bdb | diff --git a/client/image_load.go b/client/image_load.go
index <HASH>..<HASH> 100644
--- a/client/image_load.go
+++ b/client/image_load.go
@@ -10,8 +10,8 @@ import (
)
// ImageLoad loads an image in the docker host from the client host.
-// It's up to the caller to close the io.ReadCloser returned by
-// this funct... | Comments on usage of ImageLoad | docker_engine-api | train | go,go |
b84d85d40a8977341ba56264ff33e5301f9217f8 | diff --git a/bl/file.py b/bl/file.py
index <HASH>..<HASH> 100644
--- a/bl/file.py
+++ b/bl/file.py
@@ -19,6 +19,9 @@ class File(Dict):
def __lt__(self, other):
return self.fn < other.fn
+ def __truediv__(self, other):
+ return File(fn=os.path.join(self.fn, str(other)))
+
def open(self):
... | File() with "/" operator: File or path or str => new File | BlackEarth_bl | train | py |
d01f86dfd7d872b92b094dda8b86a9c8d6ce8333 | diff --git a/drivers/base.drv.js b/drivers/base.drv.js
index <HASH>..<HASH> 100644
--- a/drivers/base.drv.js
+++ b/drivers/base.drv.js
@@ -29,3 +29,12 @@ Entity.prototype._getQuery = function(id) {
var q = {};
return (__.isObject(id)) ? id : (q[this._idName] = id, q);
};
+
+/**
+ * A normalized format for fetchi... | scafold getSchema() method on drivers | thanpolas_entity | 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.