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 |
|---|---|---|---|---|---|
24eefab8c7f658cfc0a2eb5a41be30fd9bf9bfce | diff --git a/spec/sample/provides_free_shipping_action_spec.rb b/spec/sample/provides_free_shipping_action_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/sample/provides_free_shipping_action_spec.rb
+++ b/spec/sample/provides_free_shipping_action_spec.rb
@@ -15,7 +15,7 @@ describe ProvidesFreeShippingAction do
end
... | Fix the spec description, order <=<I> should not have free shipping (#<I>) | adomokos_light-service | train | rb |
5ea8026ed8ccfbf4843eccbeeb83bb53f232b6cd | diff --git a/holoviews/core/pprint.py b/holoviews/core/pprint.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/pprint.py
+++ b/holoviews/core/pprint.py
@@ -20,6 +20,8 @@ class PrettyPrinter(object):
tab = ' '
+ type_formatter= ':{type}'
+
@classmethod
def pprint(cls, node):
return c... | Added type formatter to improve customisation of pretty printing | pyviz_holoviews | train | py |
6d036d9e6f77a520fe6ea66af27ab3778348b4fc | diff --git a/src/org/jgroups/protocols/SEQUENCER.java b/src/org/jgroups/protocols/SEQUENCER.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/SEQUENCER.java
+++ b/src/org/jgroups/protocols/SEQUENCER.java
@@ -15,7 +15,8 @@ import java.util.concurrent.atomic.AtomicLong;
/**
- * Implementation of total... | Updated ref to SEQUENCER design doc | belaban_JGroups | train | java |
32031a51a021a8464cc02f963e2279fe789f0ac8 | diff --git a/src/View.js b/src/View.js
index <HASH>..<HASH> 100644
--- a/src/View.js
+++ b/src/View.js
@@ -606,6 +606,10 @@ meta.setView = function(view)
}
}
+ if(view.isActive) {
+ return;
+ }
+
meta.view.detachAll();
meta.view.attach(view);
}; | Don't let to set already active view. | tenjou_meta2d | train | js |
3f57590bb4c8e8bf315f44af8d215253bfc77935 | diff --git a/treeherder/settings/base.py b/treeherder/settings/base.py
index <HASH>..<HASH> 100644
--- a/treeherder/settings/base.py
+++ b/treeherder/settings/base.py
@@ -175,6 +175,7 @@ CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
+
# default value when no tas... | set amqp as the CELERY_RESULT_BACKEND | mozilla_treeherder | train | py |
b1c552c9bf2d2a3d45bb77da24e4f10a2bd114e6 | diff --git a/vm.go b/vm.go
index <HASH>..<HASH> 100644
--- a/vm.go
+++ b/vm.go
@@ -250,8 +250,10 @@ func (s *stash) createBinding(name string) {
if s.names == nil {
s.names = make(map[string]uint32)
}
- s.names[name] = uint32(len(s.names))
- s.values = append(s.values, _undefined)
+ if _, exists := s.names[name]... | Fixed variable mapping in eval() | dop251_goja | train | go,go |
1cc0a0a1837c63f4e46af981e870b85a7c3c7c38 | diff --git a/client/src/auth.js b/client/src/auth.js
index <HASH>..<HASH> 100644
--- a/client/src/auth.js
+++ b/client/src/auth.js
@@ -33,10 +33,10 @@ class FakeStorage {
}
function getStorage() {
- if (window.localStorage === undefined) {
- return new FakeStorage()
- }
try {
+ if (!window || window.loca... | Move check for localStorage (#<I>)
* Move check for localStorage
Fixes #<I>
* Check for window existence first | rethinkdb_horizon | train | js |
e1a1f25d7d2d32990f81eefbafbaf872cccbf946 | diff --git a/django_extensions/templatetags/syntax_color.py b/django_extensions/templatetags/syntax_color.py
index <HASH>..<HASH> 100644
--- a/django_extensions/templatetags/syntax_color.py
+++ b/django_extensions/templatetags/syntax_color.py
@@ -37,13 +37,15 @@ __author__ = 'Will Larson <lethain@gmail.com>'
from djan... | Raise ImproperlyConfigured instead when pygments not found | django-extensions_django-extensions | train | py |
66a0454adb1d408216f8429ef15dd6e75cb8f2f4 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -347,6 +347,13 @@
* Removes a component from an entity. A soft remove (the default) will only
* refrain `.has()` from returning true. Hard will remove all
* associated properties and meth... | Added example to removeComponent doc | craftyjs_Crafty | train | js |
fe62ce513fdaf804b58656bfab0622ee3fadadbe | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -1477,8 +1477,12 @@ class Minion(MinionBase):
channel = salt.transport.Channel.factory(self.opts)
load = salt.utils.event.SaltEvent.unpack(package)[1]
load['tok'] = self.tok
-... | Handle errors sending mine datas to master
Fix for #<I> | saltstack_salt | train | py |
02907aef4bd09fb0b1fb8c2ee28e69914d2c8739 | diff --git a/django_auth_ldap/models.py b/django_auth_ldap/models.py
index <HASH>..<HASH> 100644
--- a/django_auth_ldap/models.py
+++ b/django_auth_ldap/models.py
@@ -1,3 +1,4 @@
+from django.conf import settings
from django.db import models
@@ -26,6 +27,6 @@ class TestProfile(models.Model):
A user profile mo... | 'auth.User' changed to 'settings.AUTH_USER_MODEL' | django-auth-ldap_django-auth-ldap | train | py |
82c90f259ab951ac2be5fbacaf0b909fd99f18bb | diff --git a/lib/file_size_validator.rb b/lib/file_size_validator.rb
index <HASH>..<HASH> 100644
--- a/lib/file_size_validator.rb
+++ b/lib/file_size_validator.rb
@@ -35,7 +35,7 @@ class FileSizeValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
raise(ArgumentError, "A CarrierW... | protects value.size as it raises an exception in carrierwave with fog, this affectively disables file size validation for AWS uploads | wearefine_fae | train | rb |
6e52d809bfbfa4b1669b01345c5e3e59982ec789 | diff --git a/lib/active_admin/form_builder.rb b/lib/active_admin/form_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/form_builder.rb
+++ b/lib/active_admin/form_builder.rb
@@ -55,12 +55,7 @@ module ActiveAdmin
html << template.capture do
form_block = proc do |has_many_form|
- i... | Extract method render_has_many_form. | activeadmin_activeadmin | train | rb |
b87aa3041de0109b7a5370b6694aed2cfb036803 | diff --git a/src/strategies/cached_strategy.js b/src/strategies/cached_strategy.js
index <HASH>..<HASH> 100644
--- a/src/strategies/cached_strategy.js
+++ b/src/strategies/cached_strategy.js
@@ -94,7 +94,11 @@
function flushTransportInfo() {
var storage = Pusher.Util.getLocalStorage();
if (storage && stora... | Wrap localStorage deletion in a try/catch block | pusher_pusher-js | train | js |
f7fa8fcb475a99a580f4f90bb33d24eb2b0b5b3c | diff --git a/contrib/cortexutils/extractor.py b/contrib/cortexutils/extractor.py
index <HASH>..<HASH> 100644
--- a/contrib/cortexutils/extractor.py
+++ b/contrib/cortexutils/extractor.py
@@ -4,6 +4,10 @@ from builtins import str as unicode
import re
+class ExtractionError(Exception):
+ pass
+
+
class Extractor... | Fixes a bug in the extractor which made it return text instead of an emptry string. | TheHive-Project_Cortex-Analyzers | train | py |
62634b20876dac47844f0e1800b5e9fe70d6d233 | diff --git a/controller/src/main/java/org/jboss/as/controller/parsing/CommonXml.java b/controller/src/main/java/org/jboss/as/controller/parsing/CommonXml.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/parsing/CommonXml.java
+++ b/controller/src/main/java/org/jboss/as/controller/... | AS7-<I>: Vault element is not written back
was: <I>c4bf4e<I>c<I>a0e<I>e<I>f2d4cd<I>a<I>f | wildfly_wildfly-core | train | java |
157ad6bcf4903b083b5ec2bcbd4bd5caa02fa988 | diff --git a/src/attributes.js b/src/attributes.js
index <HASH>..<HASH> 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -464,9 +464,7 @@ function getBytesPerValueForGLType(gl, type) {
return 0;
}
-/**
- * tries to get the number of elements from a set of arrays.
- */
+// Tries to get the number of eleme... | Change helper function comment type as to not confuse grunt
/** comment */ was being confused as a docstring and resulting in TS declaration pollution | greggman_twgl.js | train | js |
e69edfffe1fee90f575caf5853809128406b0daf | diff --git a/src/main/java/org/nustaq/serialization/util/FSTInputStream.java b/src/main/java/org/nustaq/serialization/util/FSTInputStream.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/nustaq/serialization/util/FSTInputStream.java
+++ b/src/main/java/org/nustaq/serialization/util/FSTInputStream.java
@@ -29,7 ... | REPORT_READ_FAILS is no longer final | RuedigerMoeller_fast-serialization | train | java |
2aac1b94a2e8a642a59cf01412fd8270c31cfd23 | diff --git a/src/Smalot/Magento/RemoteAdapter.php b/src/Smalot/Magento/RemoteAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Smalot/Magento/RemoteAdapter.php
+++ b/src/Smalot/Magento/RemoteAdapter.php
@@ -84,7 +84,7 @@ class RemoteAdapter implements RemoteAdapterInterface
$this->autoLogin = $autoLogin;
... | Add silent on soapclient constructor
An exception is thrown, that's enought | smalot_magento-client | train | php |
3984c9e63b95a5a0e0e2432b68530d40312207f5 | diff --git a/src/Database/SqlDialectTrait.php b/src/Database/SqlDialectTrait.php
index <HASH>..<HASH> 100644
--- a/src/Database/SqlDialectTrait.php
+++ b/src/Database/SqlDialectTrait.php
@@ -17,6 +17,7 @@ declare(strict_types=1);
namespace Cake\Database;
use Cake\Database\Expression\Comparison;
+use Cake\Database\E... | Add missing "use" decleration and fix test | cakephp_cakephp | train | php,php |
02eef6c3f01b172b10fea6fb9d76e060f291f14a | diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py
index <HASH>..<HASH> 100644
--- a/openupgradelib/openupgrade.py
+++ b/openupgradelib/openupgrade.py
@@ -635,6 +635,12 @@ def rename_models(cr, model_spec):
cr,
'UPDATE mail_message SET model=%s where model=%s', ... | [IMP] rename_models: add mail_message_subtype in rename_models | OCA_openupgradelib | train | py |
d18c632768393c2997c4dfde6a758eb806013a11 | diff --git a/fullfat.js b/fullfat.js
index <HASH>..<HASH> 100644
--- a/fullfat.js
+++ b/fullfat.js
@@ -311,18 +311,25 @@ FullFat.prototype.merge = function(change) {
if (!f.versions[v] || f.versions[v].dist.shasum !== ver.dist.shasum) {
f.versions[v] = s.versions[v]
- if (pass)
- need.push(v)
... | Handle tarballs that aren't called name-version.tgz
This can happen when the version is corrected to a proper SemVer <I>,
especially in cases of older packages with versions like <I>alpha
which should be <I>-alpha | npm_npm-fullfat-registry | train | js |
bf8cd0c92f180157a045c4c2495e409e258648fa | diff --git a/src/main/java/org/dasein/cloud/google/compute/server/ServerSupport.java b/src/main/java/org/dasein/cloud/google/compute/server/ServerSupport.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/google/compute/server/ServerSupport.java
+++ b/src/main/java/org/dasein/cloud/google/compute/ser... | Fix for issue just introduced where terminate a vm fails to clean up its
disk. | dasein-cloud_dasein-cloud-google | train | java |
addca5acf5c381dd3b0d1f8d00670ad7e4c4142c | diff --git a/code/Cropper/GD.php b/code/Cropper/GD.php
index <HASH>..<HASH> 100644
--- a/code/Cropper/GD.php
+++ b/code/Cropper/GD.php
@@ -21,12 +21,7 @@ class GD extends GenericCropper {
if(!$new) {
throw new GD_ResourceException();
}
-
- if ($extension == 'png') {
- imagealphablending($new, false );
- ... | Add new public prepareCanvas method to handle edge cases for certain extensions | willmorgan_silverstripe-cropperfield | train | php |
70d7e654c4a1ddfa810f0cc4cb25bf38c24604f8 | diff --git a/test/elf/helper.rb b/test/elf/helper.rb
index <HASH>..<HASH> 100644
--- a/test/elf/helper.rb
+++ b/test/elf/helper.rb
@@ -15,6 +15,10 @@ module Elf
Vool::VoolCompiler.ruby_to_binary( "class Space;def main(arg);#{@input};end;end" )
writer = Elf::ObjectWriter.new(Risc.machine)
writer.sav... | only check object file creation in efl
remote execution only per request | ruby-x_rubyx | train | rb |
db6346e9bd7ece980257a0f37e895b2ea0faaef3 | diff --git a/tests/unit/test_metadata.py b/tests/unit/test_metadata.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_metadata.py
+++ b/tests/unit/test_metadata.py
@@ -315,12 +315,6 @@ class BytesTokensTest(unittest.TestCase):
self.assertEqual(bytes_token.hash_fn(str(cassandra.metadata.MAX_LONG)), str(cassa... | pass unit test on new BytesToken init; still need to expand tests | datastax_python-driver | train | py |
2edc7c1155181f1a9f80097970943cf5cda7e728 | diff --git a/test/test.typedarray.js b/test/test.typedarray.js
index <HASH>..<HASH> 100644
--- a/test/test.typedarray.js
+++ b/test/test.typedarray.js
@@ -44,7 +44,7 @@ describe( 'typed-array pdf', function tests() {
0.2952232515400824,
0.1697033786940394
]);
-
+console.log( actual, expected );
assert.isT... | [BUILD] remote debug. | distributions-io_weibull-pdf | train | js |
1f6d1b2a340e523033f1a0170ee66f4f90758b8d | diff --git a/src/components/chips/js/chipsController.js b/src/components/chips/js/chipsController.js
index <HASH>..<HASH> 100644
--- a/src/components/chips/js/chipsController.js
+++ b/src/components/chips/js/chipsController.js
@@ -190,7 +190,8 @@ MdChipsCtrl.prototype.init = function() {
this.deRegister.push(
... | fix(chips): md-chip-append-delay of 0 does not get converted to <I> (#<I>)
Fixes #<I> | angular_material | train | js |
76fe2246c96e9981e6ec40d0062b1d8412d3ee37 | diff --git a/flatdict.py b/flatdict.py
index <HASH>..<HASH> 100644
--- a/flatdict.py
+++ b/flatdict.py
@@ -3,7 +3,7 @@ key/value pair mapping of nested dictionaries.
"""
__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>'
-__version__ = '1.1.2'
+__version__ = '1.1.3'
class FlatDict(dict): | Bump the rev for the wheel dist | gmr_flatdict | train | py |
85dd092a8ee7c760c972a45c2cc94289d9155f03 | diff --git a/airflow/www/security.py b/airflow/www/security.py
index <HASH>..<HASH> 100644
--- a/airflow/www/security.py
+++ b/airflow/www/security.py
@@ -362,7 +362,7 @@ class AirflowSecurityManager(SecurityManager, LoggingMixin):
def _has_perm(self, permission_name, view_menu_name):
"""Whether the use... | Make sure perms list isn't None before looking within list (#<I>) | apache_airflow | train | py |
2161dd383efd35dea8628dfed187d38b4317d364 | diff --git a/src/worker.js b/src/worker.js
index <HASH>..<HASH> 100644
--- a/src/worker.js
+++ b/src/worker.js
@@ -23,7 +23,7 @@ export class PoolWorker {
this.currentIndex = this.startIndex
this.limitIndex = limitIndex
}
- activate(): this {
+ activate(): PoolWorker {
this.active = true
return... | :art: Fix a return type in worker | steelbrain_range-pool | train | js |
984e9554cb4622a6fa153843a599cbfa2d69aa99 | diff --git a/odl/operator/operator.py b/odl/operator/operator.py
index <HASH>..<HASH> 100644
--- a/odl/operator/operator.py
+++ b/odl/operator/operator.py
@@ -1642,6 +1642,11 @@ class OperatorRightScalarMult(Operator):
'operator domain {!r}'
''.format(tm... | ENH: Add optimization for OperatorRightScalar mult repeatedly | odlgroup_odl | train | py |
01ab2764bce6f694dd1c7086c9fab8d62ea1ffc0 | diff --git a/java/server/src/org/openqa/selenium/remote/server/DefaultDriverSessions.java b/java/server/src/org/openqa/selenium/remote/server/DefaultDriverSessions.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/selenium/remote/server/DefaultDriverSessions.java
+++ b/java/server/src/org/openqa/seleniu... | Complete Selenium Java Server support for Blink based Opera | SeleniumHQ_selenium | train | java |
e01bf7aebe17c4d8ac6944d6d8505467e4fc33ed | diff --git a/wfdb/plot/plot.py b/wfdb/plot/plot.py
index <HASH>..<HASH> 100644
--- a/wfdb/plot/plot.py
+++ b/wfdb/plot/plot.py
@@ -942,7 +942,7 @@ def plot_wfdb(
ylabel,
record_name,
sig_units,
- ) = get_wfdb_plot_items(
+ ) = _get_wfdb_plot_items(
record=record, annotation=ann... | wfdb.plot.plot: rename get_wfdb_plot_items to _get_wfdb_plot_items.
This function is not in the wfdb module, is not listed in the
documentation, and shouldn't be used by applications directly. | MIT-LCP_wfdb-python | train | py |
5af95a146113b4e7366dfd38a326ffe9d5e3e953 | diff --git a/PyTest/test_suite.py b/PyTest/test_suite.py
index <HASH>..<HASH> 100644
--- a/PyTest/test_suite.py
+++ b/PyTest/test_suite.py
@@ -49,7 +49,7 @@ class TestConnect(TestCase):
with self.assertRaises(BaseException):
connection.execute("Oh Boy!")
-class TestResultSet(TestCase):
+class Te... | added round trip test case delte, insert, select | blue-yonder_turbodbc | train | py |
6aa7ebb8b8a21ca150dc55006b9798f5aeade1da | diff --git a/pysonos/core.py b/pysonos/core.py
index <HASH>..<HASH> 100755
--- a/pysonos/core.py
+++ b/pysonos/core.py
@@ -1290,6 +1290,7 @@ class SoCo(_SocoSingletonBase):
('DesiredLEDState', led_state),
])
+ # pylint: disable=too-many-branches
def get_current_track_info(self):
... | Parse trackinfo from SiriusXM (#<I>) | amelchio_pysonos | train | py |
14460e22d9339a9c32a3cf352d50cf3e32d1d9a1 | diff --git a/source/PageAndMenu.js b/source/PageAndMenu.js
index <HASH>..<HASH> 100644
--- a/source/PageAndMenu.js
+++ b/source/PageAndMenu.js
@@ -45,10 +45,7 @@ export default class PageAndMenu extends Component
{
return (
<Context.Provider value={ this.state }>
- <div
- onTouchStart={ this.hideMenu }
... | <PageAndMenu/> removed `hideMenu()` | catamphetamine_react-responsive-ui | train | js |
dc2f9bd7871b95194095c44a4d74f29ed927acb4 | diff --git a/lib/objects/modules/workspace_commands.rb b/lib/objects/modules/workspace_commands.rb
index <HASH>..<HASH> 100644
--- a/lib/objects/modules/workspace_commands.rb
+++ b/lib/objects/modules/workspace_commands.rb
@@ -87,7 +87,7 @@ module Bcome
raise Bcome::Exception::MethodInvocationRequiresParameter, ... | Now showing ssh connection progress prior to a run | webzakimbo_bcome-kontrol | train | rb |
500805009ba845e3cfe5578ef43e7375275a7c74 | diff --git a/controller/src/main/java/org/jboss/as/controller/PathAddress.java b/controller/src/main/java/org/jboss/as/controller/PathAddress.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/PathAddress.java
+++ b/controller/src/main/java/org/jboss/as/controller/PathAddress.java
@... | Let objects be properties
was: <I>d3ffc<I>aa7bdd<I>eced<I>de<I>e<I>ea<I>e9 | wildfly_wildfly-core | train | java |
03045f7afc7d15be35cbdedaadd590236c81a719 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -29,6 +29,24 @@ var SHIFT_LEFT_32 = (1 << 16) * (1 << 16),
// === READING =================================================================
+Protobuf.prototype.read = function(readField, end) {
+ var buf = this.buf;
+ ... | add read and readMessage functions for some sugar | mapbox_pbf | train | js |
2ff9af09f30dc9657867c221fc46d6874e7bda23 | diff --git a/lib/mtgox/max_bid.rb b/lib/mtgox/max_bid.rb
index <HASH>..<HASH> 100644
--- a/lib/mtgox/max_bid.rb
+++ b/lib/mtgox/max_bid.rb
@@ -12,15 +12,15 @@ module MtGox
end
def up?
- price > previous_price.to_f
+ price.to_f > previous_price.to_f
end
def down?
- price < previous... | Convert both sides to a float | sferik_mtgox | train | rb,rb |
b4b3717591e1d1b43f1fdddca8e1d7437ab2eb59 | diff --git a/galpy/potential/Potential.py b/galpy/potential/Potential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential/Potential.py
+++ b/galpy/potential/Potential.py
@@ -2991,7 +2991,7 @@ def _check_c(Pot,dxdv=False):
"""
Pot= flatten(Pot)
- from galpy.potential import planarPotential
+ from galp... | Add linearPotentials to _check_c Potential function, to allow C checking for C potentials | jobovy_galpy | train | py |
e3c45adc901468472b8f98f74c6731d6d06b6cb6 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
### 0.5.1
+(August 18th, 2016)
+
- [Fix] Fixes `now()` not behaving properly when given a timezone.
- [Fix] Fixes double file opening when getting local timezone. (Thanks to [yggdr](https://gi... | Bumps version to <I> | sdispater_pendulum | train | md,py,py |
58c18cc50bf951d60617de8ba557e519cea64dbc | diff --git a/LiSE/LiSE/proxy.py b/LiSE/LiSE/proxy.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/proxy.py
+++ b/LiSE/LiSE/proxy.py
@@ -1513,7 +1513,6 @@ class CachingProxy(MutableMapping):
self._cache = self._get_state()
self._cache_valid = True
self.engine = engine_proxy
- self.engine... | Don't invalidate the cache anymore, we're too eager now | LogicalDash_LiSE | train | py |
1ef9fc00af1c17e1ea0bb310fad12003ca2cd467 | diff --git a/csv.go b/csv.go
index <HASH>..<HASH> 100644
--- a/csv.go
+++ b/csv.go
@@ -80,20 +80,21 @@ func csvFunc(r *rand.Rand, co *CSVOptions) ([]byte, error) {
}
// If the value is a point get the underlying value of the pointer
- rv := reflect.ValueOf(value)
- if rv.Kind() == reflect.Ptr {
- value... | csv - work in progress | brianvoe_gofakeit | train | go |
c871b932cafdb99fd1138a11cf3d96d5e0a898cd | diff --git a/demands/__init__.py b/demands/__init__.py
index <HASH>..<HASH> 100644
--- a/demands/__init__.py
+++ b/demands/__init__.py
@@ -30,15 +30,14 @@ class HTTPServiceClient(Session):
def __init__(self, url, **kwargs):
super(HTTPServiceClient, self).__init__()
self.url = url
- self._s... | Remove intermediate var user_agent | yola_demands | train | py |
46b415c5f91039bc8cfcfba28a2e74d6f9929a68 | diff --git a/agent/lib/kontena/workers/node_info_worker.rb b/agent/lib/kontena/workers/node_info_worker.rb
index <HASH>..<HASH> 100644
--- a/agent/lib/kontena/workers/node_info_worker.rb
+++ b/agent/lib/kontena/workers/node_info_worker.rb
@@ -58,7 +58,7 @@ module Kontena::Workers
end
def publish_node_info
-... | Moved some log messages to debug level (#<I>)
[Agent] Moved some agent log messages to debug level to reduce log spam | kontena_kontena | train | rb,rb |
a09c1cfeb8e0615c0e1cf92c7798305c815a5200 | diff --git a/tests/test_style_cases.py b/tests/test_style_cases.py
index <HASH>..<HASH> 100644
--- a/tests/test_style_cases.py
+++ b/tests/test_style_cases.py
@@ -61,3 +61,8 @@ def test_styles(filename, tree, style, expected_codes):
checker = _checker(filename, tree, style)
codes = [error.code for error in ch... | Test error case if an unknown style is configured | PyCQA_flake8-import-order | train | py |
39fbe00e6953289dc6914007b29a003cd30381c4 | diff --git a/src/components/connectAdvanced.js b/src/components/connectAdvanced.js
index <HASH>..<HASH> 100644
--- a/src/components/connectAdvanced.js
+++ b/src/components/connectAdvanced.js
@@ -107,6 +107,7 @@ export default function connectAdvanced(
dispatch: this.store.dispatch,
getState: depen... | Add WrappedComponent as one of the option params passed to buildSelector(). Useful if one wanted to build a selector from the component's attributes, such as its propTypes, for example. | reduxjs_react-redux | train | js |
5595a82ee0683df4c502bc8e20c5deec1d463141 | diff --git a/spec/integration/application/apply_spec.rb b/spec/integration/application/apply_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/application/apply_spec.rb
+++ b/spec/integration/application/apply_spec.rb
@@ -131,6 +131,18 @@ end
expect(notices).to include('false')
expect(notices... | (PUP-<I>) Add tests to provoke resource collector load failure
This commit adds two tests that asserts that generated resource types
are loaded in favor of their corresponding ruby types during compile.
One test covers normal resource collections and the other uses a
collection for exported resources. | puppetlabs_puppet | train | rb |
ac855214c47d400226862db4e0a344ca7d4651db | diff --git a/src/main/org/codehaus/groovy/vmplugin/v7/Selector.java b/src/main/org/codehaus/groovy/vmplugin/v7/Selector.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/vmplugin/v7/Selector.java
+++ b/src/main/org/codehaus/groovy/vmplugin/v7/Selector.java
@@ -464,7 +464,7 @@ public abstract class Sel... | in case of null we always have to work on NullObject | apache_groovy | train | java |
1ce72df4fdba131a64914e94ff804173545fba5e | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -210,7 +210,7 @@ export default class Now extends EventEmitter {
}
}
- if (!quiet && deployment.nodeVersion) {
+ if (!quiet && deploymentType === 'npm' && deployment.nodeVersion) {
if... | show `Using Node.js` only for npm deployment type (#<I>) | zeit_now-cli | train | js |
4d24ee924baa6b3749872f416dfd2a40786ae875 | diff --git a/lib/opFns.js b/lib/opFns.js
index <HASH>..<HASH> 100644
--- a/lib/opFns.js
+++ b/lib/opFns.js
@@ -404,14 +404,14 @@ module.exports = {
stateManager.getContractStorage(runState.address, key, function (err, found) {
try {
- if (value.length === 0 && !found) {
+ if (value.length ==... | stateManager - fix contractStorage gas calc | ethereumjs_ethereumjs-vm | train | js |
bfd63a336e94c1fc4966c5a86ac38dfdcfad994e | diff --git a/openquake/nrmllib/hazard/writers.py b/openquake/nrmllib/hazard/writers.py
index <HASH>..<HASH> 100644
--- a/openquake/nrmllib/hazard/writers.py
+++ b/openquake/nrmllib/hazard/writers.py
@@ -452,10 +452,10 @@ class SESXMLWriter(object):
# * bottom right
# * bottom left
for el_name... | hazard/writers:
Fixed a PEP8 indentation issue. | gem_oq-engine | train | py |
9804bbd4f71232f9cbb9c261f4b52e4ee31ae52e | diff --git a/packages/blueprint/lib/BaseController.js b/packages/blueprint/lib/BaseController.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint/lib/BaseController.js
+++ b/packages/blueprint/lib/BaseController.js
@@ -30,7 +30,7 @@ BaseController.prototype.checkSchemaThen = function (schema, then) {
functio... | Add the validation errors to the validation attribute in the details hash | onehilltech_blueprint | train | js |
ecb477952a6a74ce65469f97253bf2b31041fdba | diff --git a/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php b/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php
+++ b/src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV7.php
@@ -45,7 +45,7 @@ trait Const... | Fix wrong check for exporter in ConstraintTrait | symfony_symfony | train | php |
79f0a35da7d4f75bb85d9c04513dd5929e21f75e | diff --git a/src/Intervention/Image/ImageServiceProviderLaravel4.php b/src/Intervention/Image/ImageServiceProviderLaravel4.php
index <HASH>..<HASH> 100755
--- a/src/Intervention/Image/ImageServiceProviderLaravel4.php
+++ b/src/Intervention/Image/ImageServiceProviderLaravel4.php
@@ -96,5 +96,7 @@ class ImageServiceProvi... | Added IoC container alias to enable automatic dependency injection | Intervention_image | train | php,php |
96587d729e8ac663b7accfca87f17de208db7b78 | diff --git a/slither/slithir/operations/low_level_call.py b/slither/slithir/operations/low_level_call.py
index <HASH>..<HASH> 100644
--- a/slither/slithir/operations/low_level_call.py
+++ b/slither/slithir/operations/low_level_call.py
@@ -1,7 +1,7 @@
from slither.slithir.operations.call import Call
from slither.slith... | Use SolidityVariable in LowLevelCall (allow this) | crytic_slither | train | py |
9ae6b255ca8373413eb451afd9e52e21fafbc023 | diff --git a/cdpybio/analysis.py b/cdpybio/analysis.py
index <HASH>..<HASH> 100644
--- a/cdpybio/analysis.py
+++ b/cdpybio/analysis.py
@@ -1,3 +1,5 @@
+import pandas as pd
+
class SVD:
def __init__(self, df, mean_center=True, scale_variance=False):
""" | Bug fix
Needed to import pandas in analysis. | cdeboever3_cdpybio | train | py |
eb4be2bcc8e3c5eb3a33ebd172dfcb10013fc7cb | diff --git a/src/Indigo/Supervisor/Section/FcgiProgramSection.php b/src/Indigo/Supervisor/Section/FcgiProgramSection.php
index <HASH>..<HASH> 100644
--- a/src/Indigo/Supervisor/Section/FcgiProgramSection.php
+++ b/src/Indigo/Supervisor/Section/FcgiProgramSection.php
@@ -8,9 +8,9 @@ class FcgiProgramSection extends Prog... | FcgiProgramSection | supervisorphp_supervisor | train | php |
e2c586d4c357954d6c463e833e96bfda52c7affe | diff --git a/lib/builder-browserify.js b/lib/builder-browserify.js
index <HASH>..<HASH> 100644
--- a/lib/builder-browserify.js
+++ b/lib/builder-browserify.js
@@ -115,7 +115,9 @@ function initBundler (files, config) {
bundler.require(file, { entry: true })
})
- bundler = watchify(bundler)
+ bundler = watchi... | don't watch node_modules (#<I>) | airtap_airtap | train | js,js |
7b04110b14a1039aa30386239e964a3c25a39ec5 | diff --git a/src/Auth/CookieAuthenticate.php b/src/Auth/CookieAuthenticate.php
index <HASH>..<HASH> 100644
--- a/src/Auth/CookieAuthenticate.php
+++ b/src/Auth/CookieAuthenticate.php
@@ -4,6 +4,7 @@ namespace FOC\Authenticate\Auth;
use Cake\Auth\BaseAuthenticate;
use Cake\Controller\ComponentRegistry;
use Cake\Contr... | Fix implemented event function logout
Fix implemented event function logout
s/Event/event
Fix docblock var and event capitaliation | FriendsOfCake_Authenticate | train | php |
03205e490a951cdb72d6d8b91cf60e127f7c3fad | diff --git a/Binary/Loader/GridFSLoader.php b/Binary/Loader/GridFSLoader.php
index <HASH>..<HASH> 100644
--- a/Binary/Loader/GridFSLoader.php
+++ b/Binary/Loader/GridFSLoader.php
@@ -40,6 +40,6 @@ class GridFSLoader implements LoaderInterface
throw new NotLoadableException(sprintf('Source image was not fou... | Fix GridFSLoader
It seems that a previously suggested patch never made it into the repo (cf. issue #<I>) | liip_LiipImagineBundle | train | php |
ebbe2a284208926326967a9a0bb5fa60639ed042 | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index <HASH>..<HASH> 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -2198,6 +2198,8 @@ class DataCol(IndexCol):
table=None,
meta=None,
metadata=None,
+ dtype=None,
+ data=None,
):
super()... | REF: pass dtype and data to pytables IndexCol constructor (#<I>) | pandas-dev_pandas | train | py |
c775dc4b9ebad6cf3b52122a8200b6597cf1086b | diff --git a/taffy.js b/taffy.js
index <HASH>..<HASH> 100644
--- a/taffy.js
+++ b/taffy.js
@@ -1800,6 +1800,7 @@ var TAFFY, exports, T;
});
}
else if ( T.isString( var2 ) || T.isNumber( var2 ) ){
+ re = false;
for ( n = 0; n < var1.length; n++ ){
... | Fix for zero length array checking
A fix for eroneously matches of zero length arrays will when using
'has' to search for strings in an array. | typicaljoe_taffydb | train | js |
a76f5f5ed251456d360d332258bcc4937d1c2494 | diff --git a/proxy/httpproxy/reverse.go b/proxy/httpproxy/reverse.go
index <HASH>..<HASH> 100644
--- a/proxy/httpproxy/reverse.go
+++ b/proxy/httpproxy/reverse.go
@@ -112,9 +112,10 @@ func (p *reverseProxy) ServeHTTP(rw http.ResponseWriter, clientreq *http.Request
closeNotifier, ok := rw.(http.CloseNotifier)
cancel... | httpproxy: fix race on getting close notifier channel
Fixes #<I> | etcd-io_etcd | train | go |
19a0d70820fbd0db57aabb471ab7ef725232597d | diff --git a/tests/Propel/Tests/Generator/Behavior/ConcreteInheritance/ConcreteInheritanceBehaviorTest.php b/tests/Propel/Tests/Generator/Behavior/ConcreteInheritance/ConcreteInheritanceBehaviorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Propel/Tests/Generator/Behavior/ConcreteInheritance/ConcreteInheritanceBehavi... | [Generator] [Tests] Fixed ConcreteInheritance tests | propelorm_Propel2 | train | php |
6dd929d298c969344cb33266c9ec86237e7e0628 | diff --git a/app/controllers/renalware/events/types_controller.rb b/app/controllers/renalware/events/types_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/renalware/events/types_controller.rb
+++ b/app/controllers/renalware/events/types_controller.rb
@@ -11,7 +11,7 @@ module Renalware
end
... | Amended/updated white list events_type params to be consistent in pattern to other similar controllers. | airslie_renalware-core | train | rb |
c21a34c57847690b474f4d40df45ed71b3bd141d | diff --git a/tasks/course.rb b/tasks/course.rb
index <HASH>..<HASH> 100644
--- a/tasks/course.rb
+++ b/tasks/course.rb
@@ -9,7 +9,7 @@ namespace :course do
COURSE_DIR = File.join(STATIC_DIR,'course')
desc "Build the JSON spec file for the course"
- task :specs do
+ task :spec do
File.open(File.join(COURS... | * Renamed the course:specs task to course:spec. | postmodern_spidr | train | rb |
7930d1a129e4834fdb1f32b1541b94b695aecf7a | diff --git a/src/ol/dom/dom.js b/src/ol/dom/dom.js
index <HASH>..<HASH> 100644
--- a/src/ol/dom/dom.js
+++ b/src/ol/dom/dom.js
@@ -140,7 +140,7 @@ ol.dom.setOpacity = function(element, value) {
// Fix to apply filter to absolutely-positioned children element
if (element.currentStyle.zIndex === 'auto') {
- ... | If the map has a background, zIndex=-1 puts the layers behind the background | openlayers_openlayers | train | js |
c776ea413e260dcbe150cc600d1d3f468446fdd0 | diff --git a/src/shiv/bootstrap/__init__.py b/src/shiv/bootstrap/__init__.py
index <HASH>..<HASH> 100644
--- a/src/shiv/bootstrap/__init__.py
+++ b/src/shiv/bootstrap/__init__.py
@@ -102,7 +102,7 @@ def extract_site_packages(archive, target_path, compile_pyc=False, compile_worke
"""
parent = target_path.paren... | Don't delete lock files after release.
If multiple pyz executables are attempting to extract, deleting the lock
file after it's been unlocked causes a race condition where it may not
exist when accessed by a secondary process. | linkedin_shiv | train | py,py |
640f0fcb1bde04d6d2f302bfdf31b5441ae929eb | diff --git a/app/decorators/camaleon_cms/term_taxonomy_decorator.rb b/app/decorators/camaleon_cms/term_taxonomy_decorator.rb
index <HASH>..<HASH> 100644
--- a/app/decorators/camaleon_cms/term_taxonomy_decorator.rb
+++ b/app/decorators/camaleon_cms/term_taxonomy_decorator.rb
@@ -72,6 +72,7 @@ class CamaleonCms::TermTaxo... | added session restriction for taxonomies -> the_edit_link() | owen2345_camaleon-cms | train | rb |
ad2f00df1d0386d9f1e3829ffb941f1717ac158c | diff --git a/pysc2/lib/features.py b/pysc2/lib/features.py
index <HASH>..<HASH> 100644
--- a/pysc2/lib/features.py
+++ b/pysc2/lib/features.py
@@ -197,8 +197,8 @@ class FeatureUnit(enum.IntEnum):
ideal_harvesters = 24
weapon_cooldown = 25
order_length = 26 # If zero, the unit is idle.
- order_id_0 = 27 # Cu... | Add unit features for train/research order progress, and two more orders for a total of four.
PiperOrigin-RevId: <I> | deepmind_pysc2 | train | py |
567baee90d50c81568727b1513f3c82e871e8376 | diff --git a/lib/ruote/storage/fs_storage.rb b/lib/ruote/storage/fs_storage.rb
index <HASH>..<HASH> 100644
--- a/lib/ruote/storage/fs_storage.rb
+++ b/lib/ruote/storage/fs_storage.rb
@@ -22,7 +22,11 @@
# Made in Japan.
#++
-require 'yajl' rescue require 'json'
+begin
+ require 'yajl'
+rescue LoadError
+ require '... | Fixing LoadError rescue. Didn't work on same line. | jmettraux_ruote | train | rb |
0f817d0d9065d853505f64d3e617b2c55e71cb18 | diff --git a/lib/outputlib.php b/lib/outputlib.php
index <HASH>..<HASH> 100644
--- a/lib/outputlib.php
+++ b/lib/outputlib.php
@@ -952,6 +952,7 @@ class theme_config {
// as support for it in browsers is at best quirky.
// When we choose to support SVG in background css we will need to remove ... | MDL-<I> usability: CSS post processing does not cancel SVG use | moodle_moodle | train | php |
3552484b91d8f2f75bc43fdd30fc117dc9df453a | diff --git a/version.php b/version.php
index <HASH>..<HASH> 100644
--- a/version.php
+++ b/version.php
@@ -31,10 +31,10 @@ defined('MOODLE_INTERNAL') || die();
-$version = 2011061700.02; // YYYYMMDD = weekly release date of this DEV branch
+$version = 2011062000.00; // YYYYMMDD ... | on-demand release <I>beta | moodle_moodle | train | php |
e280bcd618ffc1add861fe1eda2640842a4da880 | diff --git a/ui/plugins/controller.js b/ui/plugins/controller.js
index <HASH>..<HASH> 100644
--- a/ui/plugins/controller.js
+++ b/ui/plugins/controller.js
@@ -417,10 +417,15 @@ treeherder.controller('PluginCtrl', [
}
$http.get(url).then(function(... | Bug <I> - Allow specific treeherder instance to be used in backfill (#<I>) r=camd | mozilla_treeherder | train | js |
2ecc8cd162a862f8930076055b1ce91cce3c74ae | diff --git a/src/org/zaproxy/zap/extension/sessions/ExtensionSessionManagement.java b/src/org/zaproxy/zap/extension/sessions/ExtensionSessionManagement.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/extension/sessions/ExtensionSessionManagement.java
+++ b/src/org/zaproxy/zap/extension/sessions/ExtensionSess... | Export context's session management data
Change ExtensionSessionManagement to also export session management data
when exporting the context (not a problem for core implementations which
do not have any data). | zaproxy_zaproxy | train | java |
4a250b3b7062e531955bcad3d017f998e60fe75f | diff --git a/packages/ember-handlebars/tests/handlebars_test.js b/packages/ember-handlebars/tests/handlebars_test.js
index <HASH>..<HASH> 100644
--- a/packages/ember-handlebars/tests/handlebars_test.js
+++ b/packages/ember-handlebars/tests/handlebars_test.js
@@ -876,12 +876,12 @@ test("Child views created using the vie... | Remove old reference to RootResponder | emberjs_ember.js | train | js |
0174c1c0ff56b019c1add45249a25a70fb7acdba | diff --git a/lib/dicom/link.rb b/lib/dicom/link.rb
index <HASH>..<HASH> 100644
--- a/lib/dicom/link.rb
+++ b/lib/dicom/link.rb
@@ -65,11 +65,9 @@ module DICOM
else
logger.error("Timed out while waiting for a release request. Closing the connection.")
end
- stop_session
- else
- ... | Avoid double release on association reject
With the old behaviour we would get a double log entry of release request in DServer when there was an association reject. | dicom_ruby-dicom | train | rb |
d6fa8f0cef2a12c9164cf48c4b936bde621810e5 | diff --git a/chatterbot/trainers.py b/chatterbot/trainers.py
index <HASH>..<HASH> 100644
--- a/chatterbot/trainers.py
+++ b/chatterbot/trainers.py
@@ -328,7 +328,7 @@ class UbuntuCorpusTrainer(Trainer):
for file in glob.iglob(extracted_corpus_path):
self.logger.info('Training from: {}'.format(file... | Open Ubuntu corpus tsv as utf-8 | gunthercox_ChatterBot | train | py |
f54d2f92b96ee47a6ac1b177bdeaccb0dfb9b649 | diff --git a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverConnection.java b/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverConnection.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverConnection.java
+++ b/aeron-driver/src/main/java/u... | [Java] Remove unnecessary initialisation. | real-logic_aeron | train | java |
002aadccb511bda455c883c8ed7d50eba846d95d | diff --git a/cgutils/cgroup.py b/cgutils/cgroup.py
index <HASH>..<HASH> 100644
--- a/cgutils/cgroup.py
+++ b/cgutils/cgroup.py
@@ -574,7 +574,7 @@ class CGroup:
fileops.mkdir(new_path)
new = get_cgroup(new_path)
if set_initparams:
- params = self.subsystem.get_init_parameters(self.... | Fix setting initial values on mkdir
mkdir creates a directory under a subject cgroup itself. So initial
values of the subject have to be used, not ones of a parent of it. | peo3_cgroup-utils | train | py |
2a875f92fa1c75e307b2cb586992b274438f6da5 | diff --git a/future/standard_library/email/_encoded_words.py b/future/standard_library/email/_encoded_words.py
index <HASH>..<HASH> 100644
--- a/future/standard_library/email/_encoded_words.py
+++ b/future/standard_library/email/_encoded_words.py
@@ -113,7 +113,10 @@ def decode_b(encoded):
else:
padded_en... | email._encoded_words: work-around for missing validate kwarg with base<I>.b<I>decode() on Py2.x | PythonCharmers_python-future | train | py |
61423789a10d78a78f50d12f2ce6c66860c7d59b | diff --git a/src/main/java/rx/internal/operators/OnSubscribeCombineLatest.java b/src/main/java/rx/internal/operators/OnSubscribeCombineLatest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/rx/internal/operators/OnSubscribeCombineLatest.java
+++ b/src/main/java/rx/internal/operators/OnSubscribeCombineLatest.java
@... | Slightly cleaner code for onNext from buffer | ReactiveX_RxJava | train | java |
c552ec9ac4e3238d4cd873485108f014725f2cbf | diff --git a/dimod/higherorder/utils.py b/dimod/higherorder/utils.py
index <HASH>..<HASH> 100644
--- a/dimod/higherorder/utils.py
+++ b/dimod/higherorder/utils.py
@@ -150,7 +150,7 @@ def make_quadratic(poly, strength, vartype=None, bqm=None):
bqm.info['reduction'] = {}
# we want to be able to mutate the pol... | Fix typos and minor pep8 issues | dwavesystems_dimod | train | py |
34b31adf5d2c1478465c10d7c53df3708ea057c8 | diff --git a/lib/jrubyfx/jfx_imports.rb b/lib/jrubyfx/jfx_imports.rb
index <HASH>..<HASH> 100644
--- a/lib/jrubyfx/jfx_imports.rb
+++ b/lib/jrubyfx/jfx_imports.rb
@@ -33,7 +33,7 @@ begin
end
# Java 8 (after b75) and above has JavaFX as part of the normal distib, only require it if we are 7 or below
jdk_version ... | More robust check. Also should be jdk9-proof (to the extent that
it will first check that it is jdk8 before checking the build number) | jruby_jrubyfx | train | rb |
5ab3991181997feb6d3f16105d664662d8815c5f | diff --git a/test/vtgatev2_test.py b/test/vtgatev2_test.py
index <HASH>..<HASH> 100755
--- a/test/vtgatev2_test.py
+++ b/test/vtgatev2_test.py
@@ -842,6 +842,7 @@ class TestFailures(unittest.TestCase):
"select 1 from vt_insert_test", {},
KEYSPACE_NAME, 'replica',
keyranges=[self.keyrang... | Testing to make sure some exception was raised. | vitessio_vitess | train | py |
6fd1e320fac44649f202a2c0c891e9b00d62e7bf | diff --git a/src/sos/targets_r.py b/src/sos/targets_r.py
index <HASH>..<HASH> 100644
--- a/src/sos/targets_r.py
+++ b/src/sos/targets_r.py
@@ -93,7 +93,7 @@ class R_library(BaseTarget):
#
if len(glob_wildcards('{repo}@{pkg}', [name])['repo']):
# package is from github
- self._i... | Ensure remotes <I>+ is available for previous patch | vatlab_SoS | train | py |
471bac7ba98dcfb589901e265d21c11414f3369b | diff --git a/src/Service/System/ApiExecutor.php b/src/Service/System/ApiExecutor.php
index <HASH>..<HASH> 100644
--- a/src/Service/System/ApiExecutor.php
+++ b/src/Service/System/ApiExecutor.php
@@ -33,7 +33,7 @@ use PSX\Http\Request;
use PSX\Http\Response;
use PSX\Http\Stream\Stream;
use PSX\Json\Parser;
-use PSX\U... | use uri in api executor | apioo_fusio-impl | train | php |
e582b184507e43f9a9ad3a7a05afcf08164be942 | diff --git a/digitalocean/Metadata.py b/digitalocean/Metadata.py
index <HASH>..<HASH> 100644
--- a/digitalocean/Metadata.py
+++ b/digitalocean/Metadata.py
@@ -25,8 +25,7 @@ class Metadata(BaseAPI):
Customized version of get_data to directly get the data without
using the authentication method.... | Use urljoin() unconditionally
The condition
if "https" not in url:
was meant to check if this is a full URL, but:
- it gives wrong answer for http:// URLs;
- it gives wrong answer for relative URLs that contain string "https" in
the path.
If urljoin() is given a full URL, it returns it unchanged, so the
conditi... | koalalorenzo_python-digitalocean | train | py,py |
1bab356fbc59272d9e17f03e52930cd4574ffa0a | diff --git a/setuptools/__init__.py b/setuptools/__init__.py
index <HASH>..<HASH> 100644
--- a/setuptools/__init__.py
+++ b/setuptools/__init__.py
@@ -1,6 +1,7 @@
"""Extensions to the 'distutils' for large or complex distributions"""
import os
+import sys
import functools
import distutils.core
import distutils.f... | Only apply findall patch on affected Pythons. | pypa_setuptools | train | py |
1c1068f3a968c403b6d3a414f9116070a5861b92 | diff --git a/src/axelitus/Base/DotArr.php b/src/axelitus/Base/DotArr.php
index <HASH>..<HASH> 100644
--- a/src/axelitus/Base/DotArr.php
+++ b/src/axelitus/Base/DotArr.php
@@ -97,6 +97,7 @@ class DotArr
foreach ($keys as $key) {
$return[$key] = static::get($arr, $key, $default);
}
+ ... | Added a line break before the return statements. | axelitus_php-base | train | php |
1bb49824d0de69b5ec194ea5652dbadcc19815c3 | diff --git a/jmock/examples/calculator/src/org/jmock/examples/calculator/InfixParser.java b/jmock/examples/calculator/src/org/jmock/examples/calculator/InfixParser.java
index <HASH>..<HASH> 100644
--- a/jmock/examples/calculator/src/org/jmock/examples/calculator/InfixParser.java
+++ b/jmock/examples/calculator/src/org/... | Corrected the grammar in the javadoc comment | jmock-developers_jmock-library | train | java |
99d0187f924bb9b6df211083c315e49c51df9a19 | diff --git a/py3status/modules/timer.py b/py3status/modules/timer.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/timer.py
+++ b/py3status/modules/timer.py
@@ -100,7 +100,7 @@ class Py3status:
# Hours
hours, t = divmod(t, 3600)
# Minutes
- mins, t = divmod(t, 60)
+ minute... | timer: rename mins to minutes for cleaner docs | ultrabug_py3status | train | py |
91a7edaa5fd016f988a5040fdad5c0361154dc64 | diff --git a/src/effects/Effect.js b/src/effects/Effect.js
index <HASH>..<HASH> 100644
--- a/src/effects/Effect.js
+++ b/src/effects/Effect.js
@@ -115,6 +115,7 @@ export class Effect extends EventDispatcher {
* Call {@link Effect.setChanged} after changing macro definitions.
*
* @type {Map<String, String>}
... | Make defines, uniforms, extensions and blendMode protected | vanruesc_postprocessing | train | js |
c5d955ccd2754750654714f034052f69a683753c | diff --git a/tests/Command/SyncCommandTest.php b/tests/Command/SyncCommandTest.php
index <HASH>..<HASH> 100644
--- a/tests/Command/SyncCommandTest.php
+++ b/tests/Command/SyncCommandTest.php
@@ -7,7 +7,6 @@
namespace lrackwitz\Para\Tests\Command;
use lrackwitz\Para\Command\SyncCommand;
-use lrackwitz\Para\Service\S... | INFRA-<I>: Removed unnecessary dependency. | rackberg_para | train | php |
4301418952f91159b799e2a3e8cedaa75c06810d | diff --git a/lib/determinator/retrieve/routemaster.rb b/lib/determinator/retrieve/routemaster.rb
index <HASH>..<HASH> 100644
--- a/lib/determinator/retrieve/routemaster.rb
+++ b/lib/determinator/retrieve/routemaster.rb
@@ -46,7 +46,7 @@ module Determinator
target_groups: obj.body.target_groups.map { |tg|
... | Fixes fetching constraints from Routemaster | deliveroo_determinator | train | rb,rb |
232599c2058707befe01d589d1487f0361485abc | diff --git a/worker/upgradedatabase/manifold.go b/worker/upgradedatabase/manifold.go
index <HASH>..<HASH> 100644
--- a/worker/upgradedatabase/manifold.go
+++ b/worker/upgradedatabase/manifold.go
@@ -29,7 +29,7 @@ type ManifoldConfig struct {
// Validate returns an error if the manifold config is not valid.
func (cfg ... | Fixes spelling of "empty" in upgradedatabase worker manifold. | juju_juju | train | go |
2f8a591b424df094750b49f336817e6b5bc5e141 | diff --git a/core/src/test/java/org/infinispan/config/parsing/XmlFileParsingTest.java b/core/src/test/java/org/infinispan/config/parsing/XmlFileParsingTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/org/infinispan/config/parsing/XmlFileParsingTest.java
+++ b/core/src/test/java/org/infinispan/config/parsi... | [ISPN-<I>] (Configuration overrides for boolean types getting mixed up) Failing test committed. | infinispan_infinispan | train | java |
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.