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 |
|---|---|---|---|---|---|
fa2c51cebdabaa2fcfc00abd11ab169ffd95317f | diff --git a/classes/Ergo.php b/classes/Ergo.php
index <HASH>..<HASH> 100644
--- a/classes/Ergo.php
+++ b/classes/Ergo.php
@@ -82,11 +82,7 @@ class Ergo
*/
static function __callStatic($method, $arguments)
{
- if(!method_exists(self::application(), $method))
- throw new \InvalidArgumentException("Application ... | Removed method existance check in Ergo static dispatch | 99designs_ergo | train | php |
7844af5f040e2eefb3066e439563e2222a696760 | diff --git a/SailsRest.js b/SailsRest.js
index <HASH>..<HASH> 100644
--- a/SailsRest.js
+++ b/SailsRest.js
@@ -218,7 +218,7 @@ module.exports = (function() {
responseErrorCode = res && /^(4|5)\d+$/.test(res.statusCode.toString());
if (err && ( res === undefined || res === null || responseErrorCo... | fix: RestError causes a 'TypeError: Converting circular structure to JSON' when Sails tries to stringify it. | zohararad_sails-rest | train | js |
29ffce48ef987bf177846ebfd69fd6f685ebda28 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -75,17 +75,15 @@ module.exports = exports = function NumberLong (mongoose) {
});
}
- Long.prototype.$conditionalHandlers = {
- '$lt' : handleSingle
- , '$lte': handleSingle
- , '$gt' : han... | fix: don't overwrite mongoose schematype handlers | mongoosejs_mongoose-long | train | js |
fdf8869a73064004dbdca94735ea2453c8b97540 | diff --git a/src/Utility/Security.php b/src/Utility/Security.php
index <HASH>..<HASH> 100644
--- a/src/Utility/Security.php
+++ b/src/Utility/Security.php
@@ -122,7 +122,7 @@ class Security
E_USER_WARNING
);
$bytes = '';
- while ($bytes < $length) {
+ while (strlen($bytes) <... | Use strlen() as comparing strings to integers is not going to work. | cakephp_cakephp | train | php |
a63befac71e5a9b9557cbdd2465a4fa07ae756ff | diff --git a/src/OAuth2/GrantType/JWTBearer.php b/src/OAuth2/GrantType/JWTBearer.php
index <HASH>..<HASH> 100644
--- a/src/OAuth2/GrantType/JWTBearer.php
+++ b/src/OAuth2/GrantType/JWTBearer.php
@@ -17,10 +17,8 @@ class OAuth2_GrantType_JWTBearer implements OAuth2_GrantTypeInterface, OAuth2_Re
*
* @param OA... | Formatted php docblocks. | bshaffer_oauth2-server-php | train | php |
c1d29118585d3d00f9095b1ca78763adcfb4f8ad | diff --git a/acos_client/v30/slb/virtual_port.py b/acos_client/v30/slb/virtual_port.py
index <HASH>..<HASH> 100644
--- a/acos_client/v30/slb/virtual_port.py
+++ b/acos_client/v30/slb/virtual_port.py
@@ -150,11 +150,9 @@ class VirtualPort(base.BaseV30):
params["port"]["conn-limit"] = conn_limit
... | Bug resolution for single L7policy delete scenario | a10networks_acos-client | train | py |
22fa36e8709df183bc2c6d70d4a32af477359074 | diff --git a/redis/client.py b/redis/client.py
index <HASH>..<HASH> 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -29,13 +29,15 @@ EMPTY_RESPONSE = 'EMPTY_RESPONSE'
def list_or_args(keys, args):
- # returns a single list combining keys and args
+ # returns a single new list combining keys and args
... | list_or_args should always create a new list | andymccurdy_redis-py | train | py |
7802eba976cc663e98bbb6df805433d878ca9fc6 | diff --git a/parserutils/elements.py b/parserutils/elements.py
index <HASH>..<HASH> 100644
--- a/parserutils/elements.py
+++ b/parserutils/elements.py
@@ -897,7 +897,8 @@ def string_to_element(element_as_string, include_namespaces=False):
# Let cElementTree handle the error
return fromstring(element_a... | Fix Python 2 compliance when converting binary content to element. | consbio_parserutils | train | py,py |
febf287c111a0bbf37dc38651e416baf70e94189 | diff --git a/python/unitytrainers/ppo/trainer.py b/python/unitytrainers/ppo/trainer.py
index <HASH>..<HASH> 100755
--- a/python/unitytrainers/ppo/trainer.py
+++ b/python/unitytrainers/ppo/trainer.py
@@ -71,7 +71,7 @@ class PPOTrainer(Trainer):
m_size=self.m_size,
... | [fixing encoding_size] | Unity-Technologies_ml-agents | train | py |
1c7fc643a17a23f7e3a77716e167ea2c4c7e9e1d | diff --git a/scdl/scdl.py b/scdl/scdl.py
index <HASH>..<HASH> 100755
--- a/scdl/scdl.py
+++ b/scdl/scdl.py
@@ -284,7 +284,8 @@ def download_playlist(playlist):
"""
global offset
invalid_chars = '\/:*?|<>"'
- playlist_name = playlist['title'].encode('utf-8', 'ignore').decode('utf-8')
+ playlist_name... | [FIX] Decode playlist name | flyingrub_scdl | train | py |
1c65f08f2730938d178899502076e677b9901c99 | diff --git a/src/org/kefirsf/bb/DomConfigurationFactory.java b/src/org/kefirsf/bb/DomConfigurationFactory.java
index <HASH>..<HASH> 100644
--- a/src/org/kefirsf/bb/DomConfigurationFactory.java
+++ b/src/org/kefirsf/bb/DomConfigurationFactory.java
@@ -50,6 +50,7 @@ public class DomConfigurationFactory {
private sta... | Junk tag as constant in DomConfigurationFactory | kefirfromperm_kefirbb | train | java |
38e5a00302188fa4af34cd354b3da0ab7d7d41c2 | diff --git a/public/javascripts/system_template.js b/public/javascripts/system_template.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/system_template.js
+++ b/public/javascripts/system_template.js
@@ -32,7 +32,7 @@ KT.templates = function() {
$("#tree_loading").css("z-index", 300);
$.ajax({
... | Fix for not loading system template detail
Extra slash prevented system template detail to load. | Katello_katello | train | js |
6ed218e90019e1a3830ffe0a9d40df9cdb9277bc | diff --git a/src/jobs/OptimizeJob.php b/src/jobs/OptimizeJob.php
index <HASH>..<HASH> 100644
--- a/src/jobs/OptimizeJob.php
+++ b/src/jobs/OptimizeJob.php
@@ -2,6 +2,7 @@
namespace aelvan\imager\jobs;
+use aelvan\imager\exceptions\ImagerException;
use Craft;
use craft\queue\BaseJob;
@@ -35,6 +36,7 @@ class Opt... | Optimize job now throws an error if it fails to upload to external storage. | aelvan_Imager-Craft | train | php |
2287b97e98d796853787b3b9b4a8d8af6578786e | diff --git a/Tests/DataGrid/OrderDataGridTest.php b/Tests/DataGrid/OrderDataGridTest.php
index <HASH>..<HASH> 100755
--- a/Tests/DataGrid/OrderDataGridTest.php
+++ b/Tests/DataGrid/OrderDataGridTest.php
@@ -35,7 +35,7 @@ class OrderDataGridTest extends AbstractDataGridTestCase
'shippingTotal',
... | Changed column name in order data grid test
(cherry picked from commit <I>dfb8df1c<I>d<I>ac<I>b<I>b<I>ee<I>) | WellCommerce_WishlistBundle | train | php |
76d9ada494deea05977bc554bc4292bbfdc65ef8 | diff --git a/client.js b/client.js
index <HASH>..<HASH> 100644
--- a/client.js
+++ b/client.js
@@ -108,12 +108,14 @@ function call(config, verb, payload, options) {
return promise;
}
-var ZSSClient = function(configuration) {
+function ZSSClient(configuration) {
var config = _.defaults(configuration, defaults)... | refator client constructor and avoid using this | micro-toolkit_zmq-service-suite-client-js | train | js |
1dd5b61e17ac7a37ee3e15db1c80f191e50a4e75 | diff --git a/src/Symfony/Components/DependencyInjection/Dumper/PhpDumper.php b/src/Symfony/Components/DependencyInjection/Dumper/PhpDumper.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Components/DependencyInjection/Dumper/PhpDumper.php
+++ b/src/Symfony/Components/DependencyInjection/Dumper/PhpDumper.php
@@ -87,7 ... | [DependencyInjection] added a check for the class name when dumping a container to PHP | symfony_symfony | train | php |
eedbff2ba59f34147b45238e6ac18ad3db2282cc | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -18,7 +18,7 @@ async function main() {
const templateDir = args[0];
const templateDirStats = await afs.stat(templateDir).catch(() => null);
- if (templateDir === null || !templateDirStats.isDirectory())
+ if (templateDir... | Fix error and stopped deleting target directory | OpenByteDev_directory-template | train | js |
5a540bc2b058795150adac8192202238b53b6bf5 | diff --git a/lib/podio/models/comment.rb b/lib/podio/models/comment.rb
index <HASH>..<HASH> 100644
--- a/lib/podio/models/comment.rb
+++ b/lib/podio/models/comment.rb
@@ -6,9 +6,12 @@ class Podio::Comment < ActivePodio::Base
property :created_on, :datetime
property :files, :array # when outputting comments
pro... | Added embed properties on comment model. | podio_podio-rb | train | rb |
82cf886c7fcb2d7eac54cc2faa830351b6beec1c | diff --git a/cleverhans/picklable_model.py b/cleverhans/picklable_model.py
index <HASH>..<HASH> 100644
--- a/cleverhans/picklable_model.py
+++ b/cleverhans/picklable_model.py
@@ -630,7 +630,8 @@ class ResidualWithGroupNorm(Layer):
sublayers = [self.conv1, self.conv2, self.gn1, self.gn2]
params = []
... | fix bug in ResidualWithGroupNorm.get_params | tensorflow_cleverhans | train | py |
8dfb4495def9cd6bf2be8d6fe1abc0592677496d | diff --git a/test/core/test_dag.py b/test/core/test_dag.py
index <HASH>..<HASH> 100644
--- a/test/core/test_dag.py
+++ b/test/core/test_dag.py
@@ -61,8 +61,10 @@ class TestDAG(unittest.TestCase):
out = StringIO()
dag.write_dot(out)
dot = out.getvalue()
- self.assertEqual(so... | Try to fix test under windows with a different version of pydot | vatlab_SoS | train | py |
e6cc66a38a037d4770c5c95c4f9f3f0186e1557a | diff --git a/generators/generator-constants.js b/generators/generator-constants.js
index <HASH>..<HASH> 100644
--- a/generators/generator-constants.js
+++ b/generators/generator-constants.js
@@ -29,7 +29,7 @@ const DOCKER_CASSANDRA = 'cassandra:3.11.3';
const DOCKER_MSSQL = 'microsoft/mssql-server-linux:latest';
cons... | Upgrade memcached version to <I>-alpine | jhipster_generator-jhipster | train | js |
65e746751299b8898b5dc7b81806e64614a13479 | diff --git a/src/Helper.php b/src/Helper.php
index <HASH>..<HASH> 100644
--- a/src/Helper.php
+++ b/src/Helper.php
@@ -35,7 +35,7 @@ class Helper {
/**
* @var array
*/
- protected $availableImageSets = ['404', 'mm', 'identicon', 'monsterid', 'wavata', 'retro', 'blank'];
+ protected $availableImageSets = ['404',... | Made the package defer, fixed wavatar | kevindierkx_gravatar-helper | train | php,php |
0bc71460112872cb761e692436d5ecb25ca2a263 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ except ImportError:
setup(
name='bebop',
- version='0.0.5',
+ version='0.0.6',
description='Solr object mapping and schema generation without all the XML',
author='Al Barrentine',
url=... | [version] Cutting a release <I> for bugfix | albarrentine_bebop | train | py |
2649ca446a11e8da7c5103bac205030989a3a70b | diff --git a/src/main/python/rlbot/version.py b/src/main/python/rlbot/version.py
index <HASH>..<HASH> 100644
--- a/src/main/python/rlbot/version.py
+++ b/src/main/python/rlbot/version.py
@@ -3,9 +3,20 @@
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://sta... | Bumping version to <I> with release notes. (#<I>) | RLBot_RLBot | train | py |
bea2332aea2fad7030019ab70bc2d553552c43c4 | diff --git a/master/buildbot/worker/latent.py b/master/buildbot/worker/latent.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/worker/latent.py
+++ b/master/buildbot/worker/latent.py
@@ -341,7 +341,8 @@ class AbstractLatentWorker(AbstractWorker):
if self.state == States.NOT_SUBSTANTIATED:
retu... | latent: Handle INSUBSTANTIATING_SUBSTANTIATING during insubstantiate() | buildbot_buildbot | train | py |
985dad5f4f4e47a48c22e04e6136fad750d364b3 | diff --git a/src/main/java/mil/nga/geopackage/db/GeoPackageCoreConnection.java b/src/main/java/mil/nga/geopackage/db/GeoPackageCoreConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/mil/nga/geopackage/db/GeoPackageCoreConnection.java
+++ b/src/main/java/mil/nga/geopackage/db/GeoPackageCoreConnection.java
@... | insert map of values method no longer needed on core connection | ngageoint_geopackage-core-java | train | java |
bbe29094115963d860e8184f5b3d89e67ebc44f1 | diff --git a/src/main/java/examples/TryWithResources.java b/src/main/java/examples/TryWithResources.java
index <HASH>..<HASH> 100644
--- a/src/main/java/examples/TryWithResources.java
+++ b/src/main/java/examples/TryWithResources.java
@@ -1,5 +1,6 @@
package examples;
+import javax.net.SocketFactory;
import me.legr... | Updated example for removed connect() methods | GideonLeGrange_mikrotik-java | train | java |
d8bd0907073a736895aa93652d2c3ed1545bca64 | diff --git a/freshdesk/v2/api.py b/freshdesk/v2/api.py
index <HASH>..<HASH> 100644
--- a/freshdesk/v2/api.py
+++ b/freshdesk/v2/api.py
@@ -181,12 +181,23 @@ class CommentAPI(object):
def __init__(self, api):
self._api = api
- def list_comments(self, ticket_id):
- url = "tickets/%d/conversation... | Add support for retreiving paginated data for list_comments() method (#<I>)
Closes #<I> | sjkingo_python-freshdesk | train | py |
1cbbc87a903d3475531b7614ccb810f5429281c3 | diff --git a/src/Two/FacebookProvider.php b/src/Two/FacebookProvider.php
index <HASH>..<HASH> 100644
--- a/src/Two/FacebookProvider.php
+++ b/src/Two/FacebookProvider.php
@@ -95,8 +95,12 @@ class FacebookProvider extends AbstractProvider implements ProviderInterface
{
$avatarUrl = $this->graphUrl.'/'.$thi... | First/last name not always set for Facebook | laravel_socialite | train | php |
ad99399fd37e700a8199d9ba542862fd4b47c889 | diff --git a/docroot/modules/custom/ymca_retention/js/my-progress.js b/docroot/modules/custom/ymca_retention/js/my-progress.js
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/ymca_retention/js/my-progress.js
+++ b/docroot/modules/custom/ymca_retention/js/my-progress.js
@@ -173,6 +173,9 @@
self.todayIn... | [YMCA-<I>] read tip link open "ENTER PRIZE DRAWING", click on "redeem bonus" add new bonus to drupal member | ymcatwincities_openy | train | js,php |
da4caba9c77d21c326fdef09e941ef63232cac0e | diff --git a/cablemap.core/cablemap/core/constants.py b/cablemap.core/cablemap/core/constants.py
index <HASH>..<HASH> 100644
--- a/cablemap.core/cablemap/core/constants.py
+++ b/cablemap.core/cablemap/core/constants.py
@@ -230,7 +230,7 @@ MALFORMED_CABLE_IDS = {
u'06MINSI225': u'06MINSK225',
u'06MADRID002583Z... | Fixed canonicalized id | heuer_cablemap | train | py |
d437f245ac428d2c7e7ec1669d003c2dc4878325 | diff --git a/example.js b/example.js
index <HASH>..<HASH> 100644
--- a/example.js
+++ b/example.js
@@ -5,7 +5,7 @@ var _ = require('underscore');
var exampleHost = function () {
- var doc = xml.doc(xml.elt('bands'));
+ var doc = xml.doc(xml.elt('doc'));
var host = new dual.Host();
host.action('ge... | Switch around example to something more supportable. | plediii_dual-protocol | train | js |
3185637dd57c7243de45a591104d1c57804a0dd2 | diff --git a/moment.js b/moment.js
index <HASH>..<HASH> 100644
--- a/moment.js
+++ b/moment.js
@@ -80,7 +80,7 @@
currentMinutes = date.getMinutes(),
currentSeconds = date.getSeconds(),
currentZone = date.getTimezoneOffset(),
- charactersToReplace = /(\\)?(Mo|MM?M?M?|Do|... | Adding escape blocks `[escaped]`
This is equivalent to escaping each character | moment_moment | train | js |
c8fc266040fa3072697795654a995a48bc8badf4 | diff --git a/lime/submodular_pick.py b/lime/submodular_pick.py
index <HASH>..<HASH> 100644
--- a/lime/submodular_pick.py
+++ b/lime/submodular_pick.py
@@ -37,7 +37,7 @@ class SubmodularPick(object):
method == 'sample' will sample the data uniformly at
random. The sample... | Update submodular_pick.py | marcotcr_lime | train | py |
3333b28040c5432b72c4daa9f245518d99013881 | diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java
index <HASH>..<HASH> 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/az... | NPE prevention in VM.capture() | Azure_azure-sdk-for-java | train | java |
7a6d730b5633ada7ebb76a44c3b888043f6a1944 | diff --git a/lib/pincers/http/client.rb b/lib/pincers/http/client.rb
index <HASH>..<HASH> 100644
--- a/lib/pincers/http/client.rb
+++ b/lib/pincers/http/client.rb
@@ -78,7 +78,7 @@ module Pincers::Http
end
def absolute_uri_for(_url)
- uri = Utils.parse_uri(_url)
+ uri = _url.is_a?(URI) ? _url : Ut... | feat(http.client): enables absolute_uri_for to receive an URI | platanus_pincers | train | rb,rb |
0ff0b5b85b09a4f113e977134148e4007c995788 | diff --git a/readable.js b/readable.js
index <HASH>..<HASH> 100644
--- a/readable.js
+++ b/readable.js
@@ -1 +1,6 @@
-module.exports = require("./lib/_stream_readable.js")
+exports = module.exports = require('./lib/_stream_readable.js');
+exports.Readable = exports;
+exports.Writable = require('./lib/_stream_writable.j... | Exports more like require('stream') in <I> | calvinmetcalf_io-stream | train | js |
d6d457a35bbc6e6b6c588ea2a988f86a03fbec58 | diff --git a/OpenPNM/Physics/models/hydraulic_conductance.py b/OpenPNM/Physics/models/hydraulic_conductance.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Physics/models/hydraulic_conductance.py
+++ b/OpenPNM/Physics/models/hydraulic_conductance.py
@@ -43,7 +43,10 @@ def hagen_poiseuille(physics,
plen2 = lengths... | Minor change to the half-pore length | PMEAL_OpenPNM | train | py |
e8c435f7142805bb1b67921cd0c465fe66cb00db | diff --git a/asv/plugins/mercurial.py b/asv/plugins/mercurial.py
index <HASH>..<HASH> 100644
--- a/asv/plugins/mercurial.py
+++ b/asv/plugins/mercurial.py
@@ -10,7 +10,10 @@ from __future__ import (absolute_import, division, print_function,
import os
import re
-import hglib
+try:
+ import hglib
+except ImportErr... | Add hglib as optional dependency. | airspeed-velocity_asv | train | py,py |
b288f775628d3dea249004355f0534ec04b9e561 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,7 @@ for m in ('multiprocessing', 'billiard'):
pass
from setuptools import setup, find_packages
+import sys
dev_requires = [
'flake8>=1.6,<2.0', | Don't forget to import sys. | getsentry_raven-python | train | py |
6e5913a30eece960b5f3af6da22a6b4ba6f2ec01 | diff --git a/src/main/transformers.js b/src/main/transformers.js
index <HASH>..<HASH> 100644
--- a/src/main/transformers.js
+++ b/src/main/transformers.js
@@ -100,7 +100,7 @@ export function getErrorTransformer(response) {
headerInfo.amzBucketRegion = response.headersSent ? response.getHeader('x-amz-bucket-region') ... | Handle non-XML errors from the proxy. (#<I>)
fixes #<I> | minio_minio-js | train | js |
4f1ba90805adb4d0808a45f97730fb4295e8affb | diff --git a/lib/cequel/record/record_set.rb b/lib/cequel/record/record_set.rb
index <HASH>..<HASH> 100644
--- a/lib/cequel/record/record_set.rb
+++ b/lib/cequel/record/record_set.rb
@@ -226,8 +226,7 @@ module Cequel
# Try to order results by the first clustering column. Fall back to partition key if none exis... | Order by column has to be a clustering column
RecordSet will fail fast if you try to reverse a record set that isn't scoped
to a single partition. | cequel_cequel | train | rb |
3fe0559684703ab35c7a6fcd701fe529f50a7a33 | diff --git a/crispy/quanty/hamiltonian.py b/crispy/quanty/hamiltonian.py
index <HASH>..<HASH> 100644
--- a/crispy/quanty/hamiltonian.py
+++ b/crispy/quanty/hamiltonian.py
@@ -405,7 +405,7 @@ class MagneticFieldTerm(HamiltonianTerm):
for parameterName in ("Bx", "By", "Bz"):
HamiltonianParam... | Uncheck the magnetic field term by default | mretegan_crispy | train | py |
835b8796e475a349156e0714d26abee219b8e5da | diff --git a/core/service/src/main/java/com/camunda/fox/platform/impl/service/ProcessEngineController.java b/core/service/src/main/java/com/camunda/fox/platform/impl/service/ProcessEngineController.java
index <HASH>..<HASH> 100644
--- a/core/service/src/main/java/com/camunda/fox/platform/impl/service/ProcessEngineContr... | HEMERA-<I>: added isIdentityUsed Property to fox schema generation | camunda_camunda-bpm-platform | train | java |
21ba16132d685cd2a898add016c28cb0a1585658 | diff --git a/bootstrap/bootstrap.go b/bootstrap/bootstrap.go
index <HASH>..<HASH> 100644
--- a/bootstrap/bootstrap.go
+++ b/bootstrap/bootstrap.go
@@ -2,6 +2,7 @@ package bootstrap
import (
"encoding/json"
+ "errors"
"fmt"
"os"
"reflect"
@@ -97,6 +98,10 @@ func Run(manifest []byte, ch chan<- *StepInfo, minHo... | bootstrap: Don’t allow bootstrap with min-hosts=2
Running a two-node cluster is not a good idea as etcd tends to break in
unexpected ways and the cluster is not highly available. | flynn_flynn | train | go |
9c95e667f326675430ffc9456ee29b4fb8f9c47d | diff --git a/lib/kamerling/server/udp.rb b/lib/kamerling/server/udp.rb
index <HASH>..<HASH> 100644
--- a/lib/kamerling/server/udp.rb
+++ b/lib/kamerling/server/udp.rb
@@ -2,16 +2,18 @@ module Kamerling class Server::UDP
def initialize handler: Handler.new, host: '127.0.0.1',
logger: Logger.new('/de... | Server::UDP: move binding to #start | chastell_kamerling | train | rb |
9719b5966a9bb2afe781e7d0963856b93a410fe8 | diff --git a/ipuz/__init__.py b/ipuz/__init__.py
index <HASH>..<HASH> 100644
--- a/ipuz/__init__.py
+++ b/ipuz/__init__.py
@@ -226,9 +226,9 @@ def read(data):
def write(data, callback_name=None, json_only=False):
- if callback_name is None:
- callback_name = "ipuz"
json_string = json.dumps(data)
... | Minor reordering to make function more logical | svisser_ipuz | train | py |
196cbb2482387963ab6dc36e21705336f01c8f2f | diff --git a/src/jukedj/__init__.py b/src/jukedj/__init__.py
index <HASH>..<HASH> 100644
--- a/src/jukedj/__init__.py
+++ b/src/jukedj/__init__.py
@@ -1,3 +1,3 @@
__author__ = 'David Zuber'
__email__ = 'zuber.david@gmx.de'
-__version__ = '0.1.0'
\ No newline at end of file
+__version__ = '1.0.0' | Bumped version number to <I> | JukeboxPipeline_jukedj | train | py |
6996d9869a419cf78bea41ed583428b4ff0e2b65 | diff --git a/ashley/src/ashley/core/Entity.java b/ashley/src/ashley/core/Entity.java
index <HASH>..<HASH> 100644
--- a/ashley/src/ashley/core/Entity.java
+++ b/ashley/src/ashley/core/Entity.java
@@ -106,6 +106,15 @@ public class Entity {
}
/**
+ * Quick way of checking whether an entity has a component or not
+... | Adds Entity#HasComponnt to not have to check the componentBits manually | libgdx_ashley | train | java |
0cca94b41971e6b788f220ceb9967643f69577a4 | diff --git a/tests/unit/core/oxmoduleTest.php b/tests/unit/core/oxmoduleTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/core/oxmoduleTest.php
+++ b/tests/unit/core/oxmoduleTest.php
@@ -68,7 +68,7 @@ class Unit_Core_oxmoduleTest extends OxidTestCase
'extend' => array(
'o... | changed 'true' to true cause it matters on server. | OXID-eSales_oxideshop_ce | train | php |
43f1475131a929536b08e4095c67630cace6ca2d | diff --git a/distutils/_msvccompiler.py b/distutils/_msvccompiler.py
index <HASH>..<HASH> 100644
--- a/distutils/_msvccompiler.py
+++ b/distutils/_msvccompiler.py
@@ -527,7 +527,7 @@ class MSVCCompiler(CCompiler) :
return
warnings.warn(
"Fallback spawn triggered. Please update distuti... | Use mock.patch.dict to patch os.environ | pypa_setuptools | train | py |
a30bc901a14da93a3cacee557df3bfaf76d468b7 | diff --git a/src/DaybreakStudios/Common/DateTime/TimeComparator.php b/src/DaybreakStudios/Common/DateTime/TimeComparator.php
index <HASH>..<HASH> 100644
--- a/src/DaybreakStudios/Common/DateTime/TimeComparator.php
+++ b/src/DaybreakStudios/Common/DateTime/TimeComparator.php
@@ -24,6 +24,8 @@
->setDate(2015, 01, 01... | Need to be more careful when deleting lines | LartTyler_PHP-DaybreakCommons | train | php |
42005959fe3091bdfd0910ec4e3e8062d91489e8 | diff --git a/packer/build.go b/packer/build.go
index <HASH>..<HASH> 100644
--- a/packer/build.go
+++ b/packer/build.go
@@ -161,6 +161,12 @@ func (b *coreBuild) Run(ui Ui, cache Cache) ([]Artifact, error) {
return nil, err
}
+ // If there was no result, don't worry about running post-processors
+ // because there... | packer: Don't run post-processors if artifact is nil | hashicorp_packer | train | go |
668a2e97bef9d022cc13fd6d4a412cd45f65f131 | diff --git a/scriptworker/utils.py b/scriptworker/utils.py
index <HASH>..<HASH> 100644
--- a/scriptworker/utils.py
+++ b/scriptworker/utils.py
@@ -8,6 +8,7 @@ import logging
import os
import shutil
from taskcluster.utils import calculateSleepTime
+# from taskcluster.client import createTemporaryCredentials
from scr... | stub to create temp creds | mozilla-releng_scriptworker | train | py |
39d17870ff57f4da79f82382ed4a48cc4f9ce6fb | diff --git a/spec/providers/coreIntegration/udpsocket.integration.src.js b/spec/providers/coreIntegration/udpsocket.integration.src.js
index <HASH>..<HASH> 100644
--- a/spec/providers/coreIntegration/udpsocket.integration.src.js
+++ b/spec/providers/coreIntegration/udpsocket.integration.src.js
@@ -31,7 +31,8 @@ module.... | Update comment to indicate node.js's observed behavior. | freedomjs_freedom | train | js |
0fa9a8929c8a55d1b624479cead2bb960ada7cfd | diff --git a/les/txrelay.go b/les/txrelay.go
index <HASH>..<HASH> 100644
--- a/les/txrelay.go
+++ b/les/txrelay.go
@@ -110,7 +110,6 @@ func (self *LesTxRelay) send(txs types.Transactions, count int) {
for p, list := range sendTo {
cost := p.GetRequestCost(SendTxMsg, len(list))
go func(p *peer, list types.Transa... | les: fixed transaction sending deadlock (#<I>) | ethereum_go-ethereum | train | go |
759d0d45f6caf10721d594ba883cb71b84707d1d | diff --git a/data/crud/src/LosCrudModule/Entity/Entity.php b/data/crud/src/LosCrudModule/Entity/Entity.php
index <HASH>..<HASH> 100644
--- a/data/crud/src/LosCrudModule/Entity/Entity.php
+++ b/data/crud/src/LosCrudModule/Entity/Entity.php
@@ -2,15 +2,15 @@
namespace __MODULENAME__\Entity;
use Doctrine\ORM\Mapping a... | Changing annotation label to be standard with the rest of the module | Lansoweb_LosBase | train | php |
9de6809b1b20ac42ab6d4618511c195ae89eb51b | diff --git a/phe/command_line.py b/phe/command_line.py
index <HASH>..<HASH> 100755
--- a/phe/command_line.py
+++ b/phe/command_line.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-
+from __future__ import print_function
import datetime
import json | Support older version of Python in CLI tool. #<I> | n1analytics_python-paillier | train | py |
4cab32f46e27b9ce2615615c4116d71c73b1d3e3 | diff --git a/bot.go b/bot.go
index <HASH>..<HASH> 100644
--- a/bot.go
+++ b/bot.go
@@ -296,6 +296,13 @@ func (b *Bot) incomingUpdate(upd *Update) {
}
if upd.ChannelPost != nil {
+ m := upd.ChannelPost
+
+ if m.PinnedMessage != nil {
+ b.handle(OnPinned, m)
+ return
+ }
+
b.handle(OnChannelPost, upd.Chan... | Fire OnPinned for channel post (closes #<I>) | tucnak_telebot | train | go |
93ca0d148765193c6cfd27bdec37495338e78e18 | diff --git a/org.eclipse.xtext/src/org/eclipse/xtext/serializer/analysis/SerializationContext.java b/org.eclipse.xtext/src/org/eclipse/xtext/serializer/analysis/SerializationContext.java
index <HASH>..<HASH> 100644
--- a/org.eclipse.xtext/src/org/eclipse/xtext/serializer/analysis/SerializationContext.java
+++ b/org.ecl... | [serializer/performance] fixed broken hashCode() function
'parameterValues' was usually emptySet()
so parameterValues.hashCode() returned 0
which caused this hashCode() method to return 0
nothing but collisions when used as key in maps! duh! | eclipse_xtext-core | train | java |
146bf8386a50bbfa6b23b686ac399b467ea3f047 | diff --git a/Resources/public/module/pm-table/js/pm-table.js b/Resources/public/module/pm-table/js/pm-table.js
index <HASH>..<HASH> 100755
--- a/Resources/public/module/pm-table/js/pm-table.js
+++ b/Resources/public/module/pm-table/js/pm-table.js
@@ -2,7 +2,7 @@
$.fn.pmTable = function (options) {
var s... | allow table-scrollable container in pm-table | pmdevelopment_tool-bundle | train | js |
cab1eec9b05c1b62e9b49b1b7c448c9015383aeb | diff --git a/lib/components/app/batch-routing-panel.js b/lib/components/app/batch-routing-panel.js
index <HASH>..<HASH> 100644
--- a/lib/components/app/batch-routing-panel.js
+++ b/lib/components/app/batch-routing-panel.js
@@ -53,7 +53,6 @@ class BatchRoutingPanel extends Component {
!activeSearch && showUse... | refactor(batch-routing-panel): remove mobile view TODO | opentripplanner_otp-react-redux | train | js |
a28c77ae6384e4c4b31f216ff06d53ef16af062a | diff --git a/lib/waterline/utils/query/private/normalize-sort-clause.js b/lib/waterline/utils/query/private/normalize-sort-clause.js
index <HASH>..<HASH> 100644
--- a/lib/waterline/utils/query/private/normalize-sort-clause.js
+++ b/lib/waterline/utils/query/private/normalize-sort-clause.js
@@ -178,7 +178,18 @@ module.e... | Stir in a little magic to this soul food. If sort clause is specified like .sort('name'), then assume an ASC sort direction instead of crying foul and acting like a robot. | balderdashy_waterline | train | js |
2e34933164b911a1976e0bb0a9bd82836ae11654 | diff --git a/tests/VCR/VCRTest.php b/tests/VCR/VCRTest.php
index <HASH>..<HASH> 100644
--- a/tests/VCR/VCRTest.php
+++ b/tests/VCR/VCRTest.php
@@ -73,7 +73,6 @@ class VCRTest extends \PHPUnit_Framework_TestCase
public function testInsertMultipleCassettes()
{
- $this->markTestSkipped();
VCR::... | Cleanup: Enabled skipped test. | php-vcr_php-vcr | train | php |
82ac5ee60df50835f7a94b234d2044f0d370bf64 | diff --git a/src_logic/config/config.profiler.js b/src_logic/config/config.profiler.js
index <HASH>..<HASH> 100644
--- a/src_logic/config/config.profiler.js
+++ b/src_logic/config/config.profiler.js
@@ -135,7 +135,7 @@ exports = module.exports = function (config) {
//可选配置参数
optional: {... | default does not display the root node in memory analysis | hyj1991_easy-monitor | train | js |
6cf0a04760dca818055d0ecf96c2286e275f0615 | diff --git a/angr/knowledge_plugins/cfg/cfg_node.py b/angr/knowledge_plugins/cfg/cfg_node.py
index <HASH>..<HASH> 100644
--- a/angr/knowledge_plugins/cfg/cfg_node.py
+++ b/angr/knowledge_plugins/cfg/cfg_node.py
@@ -150,7 +150,7 @@ class CFGNode(Serializable):
:return: Generator yielding xrefs to this CFGNod... | Fix the issue when checking the type of a CFG. (#<I>) | angr_angr | train | py |
e8ddbc5c119816cbdb15c70f42875fe857e59e57 | diff --git a/src/client/index.js b/src/client/index.js
index <HASH>..<HASH> 100644
--- a/src/client/index.js
+++ b/src/client/index.js
@@ -355,6 +355,22 @@ function BroadcastChannel (name = 'nextauth.message') {
}
}
+
+
+// Some methods are exported with more than one name. This provides some
+// flexibility over... | fix(build): export aliases from client (#<I>) | iaincollins_next-auth | train | js |
79c5cff7f4f22d2ff1be339df88df31b37d8f47c | diff --git a/jbpm-human-task/jbpm-human-task-jpa/src/main/java/org/jbpm/services/task/persistence/TaskTransactionInterceptor.java b/jbpm-human-task/jbpm-human-task-jpa/src/main/java/org/jbpm/services/task/persistence/TaskTransactionInterceptor.java
index <HASH>..<HASH> 100644
--- a/jbpm-human-task/jbpm-human-task-jpa/s... | JBPM-<I> - Make HumanTask transaction interceptor thread safe | kiegroup_jbpm | train | java |
053af95294304f6a1e698191de31cb00c922e665 | diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index <HASH>..<HASH> 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -883,7 +883,8 @@ var testHtml = function(valueObj) {
equals( div.children().length, 2, "Make sure two child nodes exist." );
equals( div.children().childr... | Adapt the nbsp entity test for Opera (output isn't as important as the fact that it's getting converted. | jquery_jquery | train | js |
3914bb21dd1e69a910bf643359bb3c80415dcd1d | diff --git a/views/templates/hook/index.php b/views/templates/hook/index.php
index <HASH>..<HASH> 100644
--- a/views/templates/hook/index.php
+++ b/views/templates/hook/index.php
@@ -1,11 +1,12 @@
<?php
/**
- * 2007-2020 PrestaShop SA and Contributors
+ * Copyright since 2007 PrestaShop SA and Contributors
+ * Presta... | Update license header file views/templates/hook/index.php | PrestaShop_ps_checkpayment | train | php |
b3e05a3b5abf1e06b6f58450db074cc37466dc06 | diff --git a/spec/unit/morpher/evaluator/transformer/domain/attribute_hash_spec.rb b/spec/unit/morpher/evaluator/transformer/domain/attribute_hash_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/morpher/evaluator/transformer/domain/attribute_hash_spec.rb
+++ b/spec/unit/morpher/evaluator/transformer/domain/attribut... | Nuke useless attr_writers from attribute_hash_spec | mbj_morpher | train | rb |
188972e4a468a2efedaf5a7ed2e1f21fd7b5961c | diff --git a/holoviews/plotting/hooks.py b/holoviews/plotting/hooks.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/hooks.py
+++ b/holoviews/plotting/hooks.py
@@ -8,7 +8,7 @@ except:
plugins = None
import param
-from ..ipython.magics import OutputMagic
+
from ..core import NdOverlay, Overlay
from ..el... | Inlined ipython import in plotting/hooks.py | pyviz_holoviews | train | py |
399678e09d9f284bbe4885c96e19a684414e4e67 | diff --git a/src/util/action-stack.js b/src/util/action-stack.js
index <HASH>..<HASH> 100644
--- a/src/util/action-stack.js
+++ b/src/util/action-stack.js
@@ -1,5 +1,6 @@
var ios = require('../platforms/ios'),
wp7 = require('../platforms/wp7'),
+ wp8 = require('../platforms/wp8'),
fs = require('fs');
f... | Fix in action-stack for wp8 | apache_cordova-plugman | train | js |
e7eded1ef647a4e140d80deb6c45c0a32f3832b8 | diff --git a/cmd/ipfs/util/ulimit.go b/cmd/ipfs/util/ulimit.go
index <HASH>..<HASH> 100644
--- a/cmd/ipfs/util/ulimit.go
+++ b/cmd/ipfs/util/ulimit.go
@@ -22,7 +22,7 @@ var (
)
// maxFds is the maximum number of file descriptors that go-ipfs
-// can use. The default value is 1024. This can be overwritten by the
+//... | fix: ulimit docs mistake
License: MIT | ipfs_go-ipfs | train | go |
51fe76c4aa84f81435b3111d6a2026059dda9388 | diff --git a/src/boilerplate.js b/src/boilerplate.js
index <HASH>..<HASH> 100644
--- a/src/boilerplate.js
+++ b/src/boilerplate.js
@@ -48,7 +48,7 @@ function askQuestions() {
.then(categories => [
{ name: 'name', message: 'Project name', default: process.cwd() | split('/') | last },
{... | Default title to 'Untitled | rung-tools_rung-cli | train | js |
b27d78db0fbda8a8177753a704692c9cbc655916 | diff --git a/src/ClassBasedTextGeneratorProxy.php b/src/ClassBasedTextGeneratorProxy.php
index <HASH>..<HASH> 100644
--- a/src/ClassBasedTextGeneratorProxy.php
+++ b/src/ClassBasedTextGeneratorProxy.php
@@ -9,9 +9,9 @@
namespace lukaszmakuch\TextGenerator;
-use lukaszmakuch\TextGenerator\Exception\UnableToGetText;... | added doc of class based text generator proxy | lukaszmakuch_text-generator | train | php |
e6edb102cda9148a7480fbb8f878924c12e929c2 | diff --git a/src/InkTabBarMixin.js b/src/InkTabBarMixin.js
index <HASH>..<HASH> 100755
--- a/src/InkTabBarMixin.js
+++ b/src/InkTabBarMixin.js
@@ -56,7 +56,13 @@ function componentDidUpdate(component, init) {
if (tabBarPosition === 'top' || tabBarPosition === 'bottom') {
let left = tabOffset.left - containe... | fix: ink bar too long in development (#<I>)
happened when using style-loader
close ant-design/ant-design#<I>
close ant-design/ant-design#<I>
close ant-design/ant-design#<I>
close ant-tool/atool-doc#<I>
close dvajs/dva#<I> | react-component_tabs | train | js |
c625a60286b01097e25cbd7d2590e2651c28b4be | diff --git a/packages/nexrender-core/src/tasks/script.js b/packages/nexrender-core/src/tasks/script.js
index <HASH>..<HASH> 100644
--- a/packages/nexrender-core/src/tasks/script.js
+++ b/packages/nexrender-core/src/tasks/script.js
@@ -3,7 +3,12 @@ const path = require('path')
const script = require('../assets/nexren... | changed encoder to handle additional sequences #<I> | inlife_nexrender | train | js |
99bc1abe11ae84b435df32fe3deb6799c7891619 | diff --git a/spec/helper_spec.rb b/spec/helper_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/helper_spec.rb
+++ b/spec/helper_spec.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
describe Bugsnag::Helpers do | Encode as utf8 | bugsnag_bugsnag-ruby | train | rb |
c99717f5cef4c82ac622fd93efc9374fb7c13486 | diff --git a/webserver/src/main/java/fi/iki/elonen/SimpleWebServer.java b/webserver/src/main/java/fi/iki/elonen/SimpleWebServer.java
index <HASH>..<HASH> 100644
--- a/webserver/src/main/java/fi/iki/elonen/SimpleWebServer.java
+++ b/webserver/src/main/java/fi/iki/elonen/SimpleWebServer.java
@@ -74,17 +74,17 @@ public cl... | extend the try catch to cover also not found resources #<I> | NanoHttpd_nanohttpd | train | java |
fc61178600fc15526e3cb2fb601512bd8c423754 | diff --git a/ci/ext.py b/ci/ext.py
index <HASH>..<HASH> 100644
--- a/ci/ext.py
+++ b/ci/ext.py
@@ -265,6 +265,9 @@ def build_extension(cmd, verbosity=3):
ext.compiler.add_compiler_flag("-std=c++11")
# "-stdlib=libc++" (clang ???)
ext.compiler.add_compiler_flag("-fPIC")
+ # -pthread is... | Add -pthread compile/link flag (#<I>) | h2oai_datatable | train | py |
1edcc50ee1d51bb7b5d1c13d10a4a4f7d5942af9 | diff --git a/generators/deployment/index.js b/generators/deployment/index.js
index <HASH>..<HASH> 100644
--- a/generators/deployment/index.js
+++ b/generators/deployment/index.js
@@ -111,7 +111,7 @@ module.exports = class extends Generator {
_configureSwift() {
this.manifestConfig.buildpack = 'swift_buildpack';
... | fix: use bluemix.name for launch command on Swift | ibm-developer_generator-ibm-cloud-enablement | train | js |
b6e893e8fb0ff03b879f495a13a1f300f8521693 | diff --git a/tests/test_gitpuller.py b/tests/test_gitpuller.py
index <HASH>..<HASH> 100644
--- a/tests/test_gitpuller.py
+++ b/tests/test_gitpuller.py
@@ -231,7 +231,7 @@ def test_reset_file():
@pytest.fixture(scope='module')
def long_remote():
- with Remote() as remote, Pusher(remote) as pusher:
+ with Remot... | tests: rename long_remote implicit pusher/remote to not conflict with defaults
Since creating a long_remote implicitly creates git repositories with
names that conflict with the defaults, it's easy for tests to create
repositories that conflict with that file path. Using more arbitrary
names reduces the likelihood of ... | jupyterhub_nbgitpuller | train | py |
4aacd8a089ce9ee3ba6a4614f203ada2d61f1f30 | diff --git a/src/geshi/php.php b/src/geshi/php.php
index <HASH>..<HASH> 100644
--- a/src/geshi/php.php
+++ b/src/geshi/php.php
@@ -90,15 +90,15 @@ $language_data = array(
'as','break','case','continue','default','do','else','elseif',
'endfor','endforeach','endif','endswitch','endwhile','for',
... | add: Add support for more constructs for PHP
This adds support for `implements`, `trait` and `yield`. | GeSHi_geshi-1.0 | train | php |
6b3798e80b7ae031e91e2875e0b878225a15739f | diff --git a/robosuite/utils/control_utils.py b/robosuite/utils/control_utils.py
index <HASH>..<HASH> 100644
--- a/robosuite/utils/control_utils.py
+++ b/robosuite/utils/control_utils.py
@@ -290,6 +290,9 @@ class RingBuffer(Buffer):
self.dim = dim
self.length = length
+ # Variable so that ini... | fix ringbuffer so it is accurate even during warmstart | StanfordVL_robosuite | train | py |
b02295d5b1ba1aada5e5c740d39710c7c43ddc93 | diff --git a/src/main/java/org/mythtv/services/utils/ArticleCleaner.java b/src/main/java/org/mythtv/services/utils/ArticleCleaner.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mythtv/services/utils/ArticleCleaner.java
+++ b/src/main/java/org/mythtv/services/utils/ArticleCleaner.java
@@ -25,7 +25,7 @@ package... | fixed issue with article 'AN' and words like 'ANIMAL', etc. | MythTV-Clients_MythTV-Service-API | train | java |
ead34222516233600fd4fbb6785fc78de24b49e8 | diff --git a/public/js/make-api.js b/public/js/make-api.js
index <HASH>..<HASH> 100644
--- a/public/js/make-api.js
+++ b/public/js/make-api.js
@@ -81,7 +81,11 @@
}
};
},
- tags: function( tagOptions ) {
+ tags: function( options ) {
+ var tagOptions = {
+ ... | [#<I>] Tag search can accept a string, object or array now... | mozilla_MakeAPI | train | js |
ea2ebfb2c52668960cbdd74fc9e899cef057fc66 | diff --git a/lib/utils/txhelper.js b/lib/utils/txhelper.js
index <HASH>..<HASH> 100644
--- a/lib/utils/txhelper.js
+++ b/lib/utils/txhelper.js
@@ -29,11 +29,12 @@ module.exports = {
data: utils.toBuffer(json.input)
});
- // Remove all padding and make it easily comparible.
- var to = utils.bufferToI... | avoid bufferToInt in txhelper.fromJSON
can overflow if input is > <I> bits, which was causing tests to fail when
used with ethereumjs-util 5.x | trufflesuite_ganache-core | train | js |
bd0a585b383be6ac0eacf30891bab8dcc5088cd7 | diff --git a/library/SimplePie/IRI.php b/library/SimplePie/IRI.php
index <HASH>..<HASH> 100644
--- a/library/SimplePie/IRI.php
+++ b/library/SimplePie/IRI.php
@@ -390,8 +390,8 @@ class SimplePie_IRI
}
else
{
- trigger_error('This should never happen', E_USER_ERROR);
- die;
+ // This can occur when a para... | Ensure "this should never happen" doesn't
Fixes #<I> | simplepie_simplepie | train | php |
18ee990f4e2dfb91c7516d1bf16ee22065b6f35c | diff --git a/get.go b/get.go
index <HASH>..<HASH> 100644
--- a/get.go
+++ b/get.go
@@ -18,6 +18,8 @@ import (
"os/exec"
"regexp"
"syscall"
+
+ cleanhttp "github.com/hashicorp/go-cleanhttp"
)
// Getter defines the interface that schemes must implement to download
@@ -50,7 +52,10 @@ var Getters map[string]Gette... | use cleanhttp.DefaultClient in HttpGetter
Make the default client getter.Get use a new http.Client provided by
cleanhttp. This will prevent other package imports from inadvertently
modifying the Client being used by go-getter. | hashicorp_go-getter | train | go |
877359ccf5edd3c85427d389b7ecd5a49c7f0e70 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,7 @@ install_requires=['numpy>=1.9',
'fastcluster',
'dedupe-hcluster',
'categorical-distance',
+ 'future',
'rlr',
... | add future.. wow, how did I miss that | dedupeio_dedupe | train | py |
7d59730fcbd20fc0f229822798119c192a898f44 | diff --git a/lib/spinning_cursor.rb b/lib/spinning_cursor.rb
index <HASH>..<HASH> 100644
--- a/lib/spinning_cursor.rb
+++ b/lib/spinning_cursor.rb
@@ -43,7 +43,7 @@ module SpinningCursor
begin
@curs.kill
# Wait for the cursor to die -- can cause problems otherwise
- while @curs.alive? ; end
+ ... | Sleep while waiting with @curs.alive?
This reads better (for me) and saves cpu time.
And... perhaps with a better code structure it's possible to completely get rid of this "waiting" thing. | prydonius_spinning_cursor | train | rb |
2bf2f27a02087af58bdf19091f5f06d5f605844b | diff --git a/presto-orc/src/main/java/com/facebook/presto/orc/AbstractOrcDataSource.java b/presto-orc/src/main/java/com/facebook/presto/orc/AbstractOrcDataSource.java
index <HASH>..<HASH> 100644
--- a/presto-orc/src/main/java/com/facebook/presto/orc/AbstractOrcDataSource.java
+++ b/presto-orc/src/main/java/com/facebook... | Fix missing throw in AbstractOrcDataSource | prestodb_presto | train | java |
b58d2e3a73377a1df7634253b6090205c2f0e63e | diff --git a/test/lib/filelist_test.rb b/test/lib/filelist_test.rb
index <HASH>..<HASH> 100644
--- a/test/lib/filelist_test.rb
+++ b/test/lib/filelist_test.rb
@@ -324,7 +324,7 @@ class TestFileList < Test::Unit::TestCase
end
def test_egrep_returns_0_if_no_matches
- files = FileList['test/lib/*_test.rb']
+ ... | Updated test for egrep | ruby_rake | train | rb |
063ca2d70846307867e3efd2373c4b371212f146 | diff --git a/src/Symfony/Component/Console/Helper/Table.php b/src/Symfony/Component/Console/Helper/Table.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Console/Helper/Table.php
+++ b/src/Symfony/Component/Console/Helper/Table.php
@@ -565,7 +565,7 @@ class Table
/**
* Calculates columns widths.
... | Fix broken table generation
In 2c<I>e8afc8f4b2d6d<I>b<I>dbfb<I>b<I>eac<I> the code was optimised but
the order of method calls was incorrect, leading to several errors in
the test suite.
Not all the tests related to table generation got fixed, but at least
the component is not broken anymore.
Fixes <URL> | symfony_symfony | train | php |
c3806e71d9556ce417d3eeee8f4903ef6720bb43 | diff --git a/docs/ext_argparse.py b/docs/ext_argparse.py
index <HASH>..<HASH> 100644
--- a/docs/ext_argparse.py
+++ b/docs/ext_argparse.py
@@ -25,6 +25,7 @@ _option_line_re = re.compile(r"^(?!\s{2}|Example: )(.+)$", re.MULTILINE)
_option_re = re.compile(r"(?:^|(?<=\s))(--\w[\w-]*\w)\b")
_prog_re = re.compile(r"%\(pro... | docs: make cross-link to "metadata variables" in cli docs | streamlink_streamlink | train | py |
514d2b039c4e49388a55be3f1de458189c1b49a7 | diff --git a/twitterbot/twitter_bot.py b/twitterbot/twitter_bot.py
index <HASH>..<HASH> 100644
--- a/twitterbot/twitter_bot.py
+++ b/twitterbot/twitter_bot.py
@@ -51,6 +51,7 @@ class TwitterBot(object):
sentence = self.mongo.sentences.find().limit(1).skip(index)[0]
message = sentence['sentence']
... | Use different indexes for sentence and word. | jessamynsmith_twitterbot | train | py |
b4277a9397a9ba37139ef4424dc08f94bae0fbc1 | diff --git a/rpc_differ/rpc_differ.py b/rpc_differ/rpc_differ.py
index <HASH>..<HASH> 100644
--- a/rpc_differ/rpc_differ.py
+++ b/rpc_differ/rpc_differ.py
@@ -235,7 +235,7 @@ def run_rpc_differ():
role_yaml_latest = osa_differ.get_roles(rpc_repo_dir, rpc_new_commit)
# Generate the role report.
- report_r... | Added newline before RPC and OSA role titles
This is to fix formatting issues when converting the
RST output to Markdown.
Fixes <URL> | rcbops_rpc_differ | train | py |
3e1ad0f3c5ce43ac2a66881d6243f0105bd3830d | diff --git a/Document/Index/ArticleIndexer.php b/Document/Index/ArticleIndexer.php
index <HASH>..<HASH> 100644
--- a/Document/Index/ArticleIndexer.php
+++ b/Document/Index/ArticleIndexer.php
@@ -155,7 +155,7 @@ class ArticleIndexer implements IndexerInterface
$typeTranslationKey = $this->typeConfiguration[$t... | Changed translation domain from backend to admin (#<I>) | sulu_SuluArticleBundle | train | php |
319914180f1171669308a5fc5637768576402220 | diff --git a/phy/cluster/manual/gui.py b/phy/cluster/manual/gui.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/gui.py
+++ b/phy/cluster/manual/gui.py
@@ -359,6 +359,13 @@ class ClusterManualGUI(BaseGUI):
# actions. This allows for better before/after comparisons.
if up.added:
sel... | Fixed cluster selection in wizard after group change. | kwikteam_phy | 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.