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 |
|---|---|---|---|---|---|
228460d004175ebd539bba641d27773eb955bc40 | diff --git a/pyinfra/operations/server.py b/pyinfra/operations/server.py
index <HASH>..<HASH> 100644
--- a/pyinfra/operations/server.py
+++ b/pyinfra/operations/server.py
@@ -521,6 +521,7 @@ def crontab(
name_comment = '# pyinfra-name={0}'.format(cron_name)
existing_crontab = crontab.get(command)
+ exist... | Fix check for named crontab command changes in `server.crontab` operation. | Fizzadar_pyinfra | train | py |
0b31bbd60a231cf72b5af5a604ee0eea80a3655e | diff --git a/src/Query/LaravelBulkQuery.php b/src/Query/LaravelBulkQuery.php
index <HASH>..<HASH> 100644
--- a/src/Query/LaravelBulkQuery.php
+++ b/src/Query/LaravelBulkQuery.php
@@ -19,9 +19,13 @@ use POData\UriProcessor\ResourcePathProcessor\SegmentParser\KeyDescriptor;
class LaravelBulkQuery
{
+ /** @var Auth... | Flesh out annotations on LaravelBulkQuery | Algo-Web_POData-Laravel | train | php |
e529cd1be1846044b8562e6f09d995633edc6ac8 | diff --git a/definitions/npm/bluebird_v3.x.x/flow_v0.70.x-/bluebird_v3.x.x.js b/definitions/npm/bluebird_v3.x.x/flow_v0.70.x-/bluebird_v3.x.x.js
index <HASH>..<HASH> 100644
--- a/definitions/npm/bluebird_v3.x.x/flow_v0.70.x-/bluebird_v3.x.x.js
+++ b/definitions/npm/bluebird_v3.x.x/flow_v0.70.x-/bluebird_v3.x.x.js
@@ -5... | Expose static class definitions for Bluebird Errors (#<I>)
* Expose static class definitions for Errors
* Fix copy paste syntax typo | flow-typed_flow-typed | train | js |
f618bbba806214b2f6c895212c88243bb28d222d | diff --git a/projects/tests/src/test/java/org/jboss/forge/addon/projects/impl/ProjectFactoryImplTest.java b/projects/tests/src/test/java/org/jboss/forge/addon/projects/impl/ProjectFactoryImplTest.java
index <HASH>..<HASH> 100644
--- a/projects/tests/src/test/java/org/jboss/forge/addon/projects/impl/ProjectFactoryImplTe... | Ignore failing weld behavior for now. | forge_core | train | java |
a9190f6320ee03a330c0dd392c8112f220217bf0 | diff --git a/jsonfield/subclassing.py b/jsonfield/subclassing.py
index <HASH>..<HASH> 100644
--- a/jsonfield/subclassing.py
+++ b/jsonfield/subclassing.py
@@ -32,7 +32,7 @@ class Creator(object):
def __get__(self, obj, type=None):
if obj is None:
- raise AttributeError('Can only be accessed v... | Django <I> compatibility, prevents AttributeError
The code was copied from this old file in Django:
<URL> | dmkoch_django-jsonfield | train | py |
6f03004b5f7c5a1fb81bdcbc1585ae83df37a1dc | diff --git a/cloud_utils/list_instances.py b/cloud_utils/list_instances.py
index <HASH>..<HASH> 100644
--- a/cloud_utils/list_instances.py
+++ b/cloud_utils/list_instances.py
@@ -361,7 +361,7 @@ def get_cloud_from_zone(zone):
def main():
parser = ArgumentParser()
- parser.add_argument('name', nargs='+', help='na... | Fix name handling when fields/projects is being used | google_python-cloud-utils | train | py |
10e8470eea2280a3cc7ab3a083864134b593b381 | diff --git a/spec/Suite/Set.spec.php b/spec/Suite/Set.spec.php
index <HASH>..<HASH> 100644
--- a/spec/Suite/Set.spec.php
+++ b/spec/Suite/Set.spec.php
@@ -39,6 +39,17 @@ describe("Set", function() {
});
+ it("keeps keys for associative arrays", function() {
+
+ $a = [];
+ $b = ... | Keeps keys for associative arrays. | crysalead_set | train | php,php |
bb4997ff5ef2f75a426bcf6fe8740d8b8fbfe87a | diff --git a/src/js/tabris.js b/src/js/tabris.js
index <HASH>..<HASH> 100644
--- a/src/js/tabris.js
+++ b/src/js/tabris.js
@@ -96,7 +96,7 @@
WidgetProxy.prototype = {
get: function( method ) {
- return Tabris._nativeBridge.set( this.id, method );
+ return Tabris._nativeBridge.get( this.id, method );... | "get" on objects will now call "get" on the native bridge. A typo caused it to call "set" which crashed the client. | eclipsesource_tabris-js | train | js |
56be6c7ba209f9ba81edc69e5a2bd55f35c586f0 | diff --git a/salt/modules/win_network.py b/salt/modules/win_network.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_network.py
+++ b/salt/modules/win_network.py
@@ -4,15 +4,9 @@ Module for gathering and managing network information
import datetime
import hashlib
-
-# Import Python libs
import re
import sock... | Drop Py2 and six on salt/modules/win_network.py | saltstack_salt | train | py |
986f5d272289c8421bbd3ce2682c79f287240918 | diff --git a/pgpy/pgp.py b/pgpy/pgp.py
index <HASH>..<HASH> 100644
--- a/pgpy/pgp.py
+++ b/pgpy/pgp.py
@@ -393,7 +393,10 @@ class PGPSignature(Armorable, ParentRef, PGPObject):
_data = bytearray()
if isinstance(subject, six.string_types):
- subject = subject.encode('charmap')
+ ... | try utf-8 first; fall back to charmap if that fails | SecurityInnovation_PGPy | train | py |
ee969ae2a416cfe2ca194f5dbae362536ce2c7f3 | diff --git a/quart/exceptions.py b/quart/exceptions.py
index <HASH>..<HASH> 100644
--- a/quart/exceptions.py
+++ b/quart/exceptions.py
@@ -1,5 +1,5 @@
from http import HTTPStatus
-from typing import Iterable, Optional
+from typing import Iterable, NoReturn, Optional
from .wrappers import Response
@@ -118,7 +118,1... | quart: use NoReturn for abort method
As it currently returns None, mypy think functions that expect a return
value never return. This method only raises Exceptions, so it the ideal
use case for NoReturn which mypy can use to realise it doesn't have to
worry about branches that call this. | pgjones_quart | train | py |
91dcd813d4e261b342911f49a30d995a1a72c1a2 | diff --git a/ansible_vault/api.py b/ansible_vault/api.py
index <HASH>..<HASH> 100644
--- a/ansible_vault/api.py
+++ b/ansible_vault/api.py
@@ -18,6 +18,7 @@ from __future__ import absolute_import
import ansible
import yaml
+import six
try:
from ansible.parsing.vault import VaultLib
except ImportError:
@@ -56... | Update api.py
Decode the bytestring to work with python 3 and not require the user to specify binary on file open | tomoh1r_ansible-vault | train | py |
bf89be77b9a5917b233227e61d4812d7d2ac5567 | diff --git a/src/transformers/data/processors/utils.py b/src/transformers/data/processors/utils.py
index <HASH>..<HASH> 100644
--- a/src/transformers/data/processors/utils.py
+++ b/src/transformers/data/processors/utils.py
@@ -253,7 +253,7 @@ class SingleSentenceClassificationProcessor(DataProcessor):
features... | Improve logging message in the single sentence classification processor | huggingface_pytorch-pretrained-BERT | train | py |
31ab59b4e3391d4af746c23e15990828088ef958 | diff --git a/server/admin/member.js b/server/admin/member.js
index <HASH>..<HASH> 100644
--- a/server/admin/member.js
+++ b/server/admin/member.js
@@ -20,6 +20,7 @@
'use strict';
var errors = require('../../lib/errors.js');
+var Member = require('../../lib/membership/member.js');
var sendJoin = require('../../lib/... | Address Ben's feedback; codify leave | esatterwhite_skyring | train | js |
096031fc68936b3a5274a18b77b293daf4a5a432 | diff --git a/drone/client.go b/drone/client.go
index <HASH>..<HASH> 100644
--- a/drone/client.go
+++ b/drone/client.go
@@ -276,9 +276,9 @@ func (c *client) BuildList(owner, name string, opts ListOptions) ([]*Build, erro
}
// BuildCreate creates a new build by branch or commit.
-func (c *client) BuildCreate(owner, n... | Add in params for BuildCreate | drone_drone-go | train | go |
39908443b8608f4ddb752cd79bb27228ec0bce60 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ HERE = os.path.dirname(__file__)
setup(
name=NAME,
- version='0.0.3',
+ version='0.0.4',
packages=find_packages(),
package_data={'': ['*.txt', '*.rst']},
author='Peter Hudec', | Increased release version to <I>. | authomatic_liveandletdie | train | py |
8c69fd766ae2e98d8128f9a40c164ac2209a5312 | diff --git a/assets/js/components/Navigation/Section.js b/assets/js/components/Navigation/Section.js
index <HASH>..<HASH> 100644
--- a/assets/js/components/Navigation/Section.js
+++ b/assets/js/components/Navigation/Section.js
@@ -10,7 +10,7 @@ class Section {
this.box = new Box(
mainController,
... | Use correct accessor
Solves x-briowser issue with maintaining menu state outside WebKit browsers | nails_module-admin | train | js |
aff70482263e974d764c29f1290c18342ce3e888 | diff --git a/SoftLayer/CLI/image/import.py b/SoftLayer/CLI/image/import.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/CLI/image/import.py
+++ b/SoftLayer/CLI/image/import.py
@@ -60,7 +60,7 @@ def cli(env, name, note, os_code, uri, ibm_api_key, root_key_crn, wrapped_dek,
os_code=os_code,
uri=uri,
... | Merge remote-tracking branch 'origin/master' | softlayer_softlayer-python | train | py,py |
df302b3ee99cdcd12c87357bbd4675b6d0da5768 | diff --git a/src/test/org/openscience/cdk/atomtype/CDKAtomTypeMatcherTest.java b/src/test/org/openscience/cdk/atomtype/CDKAtomTypeMatcherTest.java
index <HASH>..<HASH> 100644
--- a/src/test/org/openscience/cdk/atomtype/CDKAtomTypeMatcherTest.java
+++ b/src/test/org/openscience/cdk/atomtype/CDKAtomTypeMatcherTest.java
@... | Added missing @Test annotation (idiot) | cdk_cdk | train | java |
1ee03eb732fcedc2414d46a21675c45235c4d642 | diff --git a/category_encoders/wrapper.py b/category_encoders/wrapper.py
index <HASH>..<HASH> 100644
--- a/category_encoders/wrapper.py
+++ b/category_encoders/wrapper.py
@@ -4,6 +4,7 @@ from sklearn.base import BaseEstimator, TransformerMixin
from sklearn.model_selection import StratifiedKFold
import category_encode... | Added Numpy import for NestedCVWrapper | scikit-learn-contrib_categorical-encoding | train | py |
90e2158dd740c291632dc3fd32ad506fac3c7ef1 | diff --git a/src/Spy/Timeline/Driver/QueryBuilder/QueryBuilder.php b/src/Spy/Timeline/Driver/QueryBuilder/QueryBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Spy/Timeline/Driver/QueryBuilder/QueryBuilder.php
+++ b/src/Spy/Timeline/Driver/QueryBuilder/QueryBuilder.php
@@ -284,7 +284,7 @@ class QueryBuilder
... | If there is no hash, no requests. | stephpy_timeline | train | php |
037e80a6b43e8811a91f8f8835404183f62d4935 | diff --git a/lib/osc-ruby/osc_types.rb b/lib/osc-ruby/osc_types.rb
index <HASH>..<HASH> 100644
--- a/lib/osc-ruby/osc_types.rb
+++ b/lib/osc-ruby/osc_types.rb
@@ -1,6 +1,6 @@
require File.join( File.dirname( __FILE__ ), "osc_argument" )
- module OSC
+module OSC
class OSCInt32 < OSCArgument
def tag() 'i' end
... | removing warnings "mismatched indentations" | aberant_osc-ruby | train | rb |
732cbf42c4f6f7f8a2a948e38689e4037f32f798 | diff --git a/webapp.js b/webapp.js
index <HASH>..<HASH> 100644
--- a/webapp.js
+++ b/webapp.js
@@ -231,7 +231,7 @@ function registerEvents(emitter) {
logger.log("cloning %s into %s", data.repo_ssh_url, dir)
var msg = "Starting git clone of repo at " + data.repo_ssh_url
striderMessage(msg)
- ... | use --recursive flag with `git clone`.
means we should now pull in any submodules, too.
closes #1 | Strider-CD_strider-simple-runner | train | js |
8e233101210be513a20016933d0c6a2075a418de | diff --git a/src/sap.m/src/sap/m/MultiInput.js b/src/sap.m/src/sap/m/MultiInput.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/MultiInput.js
+++ b/src/sap.m/src/sap/m/MultiInput.js
@@ -910,8 +910,10 @@ sap.ui.define(['jquery.sap.global', './Input', './Token', './library', 'sap/ui/c
if (this.fireEvent("_v... | [INTERNAL] sap.m.MultiInput: Pasting text from excel corrected
Change-Id: I2b<I>da3e0da0b9ed<I>c<I>ce<I>b0e1f<I>e<I>
BCP: <I> | SAP_openui5 | train | js |
90c0365f02cc0a4c1f645a906bdeda24b4eb30e2 | diff --git a/libraries/lithium/console/command/Create.php b/libraries/lithium/console/command/Create.php
index <HASH>..<HASH> 100644
--- a/libraries/lithium/console/command/Create.php
+++ b/libraries/lithium/console/command/Create.php
@@ -16,13 +16,8 @@ use \lithium\util\String;
* The `create` command allows you to r... | Fixing syntax of 'li3 create' examples.
Only fixed those work for me, removed the others. I'll update add/update the others as the are implemented. | UnionOfRAD_framework | train | php |
46a7047611f43f46e4b05bdba66c181a232d4432 | diff --git a/spec/z/dollar_spec.rb b/spec/z/dollar_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/z/dollar_spec.rb
+++ b/spec/z/dollar_spec.rb
@@ -22,7 +22,8 @@ describe 'Flor a-to-z' do
rad = %{
set f.a
"sequence"
- $(f.a)
+ #$(f.a)
+ f.a
1
2
... | simplify / explore z/dollar_spec.rb | floraison_flor | train | rb |
355334a6a53672394b343cba03939d878ffe7806 | diff --git a/src/InfoViz/Native/MutualInformationDiagram/index.js b/src/InfoViz/Native/MutualInformationDiagram/index.js
index <HASH>..<HASH> 100644
--- a/src/InfoViz/Native/MutualInformationDiagram/index.js
+++ b/src/InfoViz/Native/MutualInformationDiagram/index.js
@@ -1,4 +1,4 @@
-/* global document, window */
+/* gl... | fix(MutualInformationDiagram): Lint fixes to allow release build | Kitware_paraviewweb | train | js |
cc55f9de3850f1b28ad81ae2c24c06ff7f570a7c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -87,6 +87,8 @@ setup(
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
+ 'Framework :: Django :: 1.11',
+ 'Framework :: Django :: 2.0',
... | Updates Django Framework versions to setup file
Adds missing Django framework versions to reflect current project support. | aschn_drf-tracking | train | py |
637fe1c0e7339ce0e97d273074aea71f3fd77159 | diff --git a/output/html/assets.php b/output/html/assets.php
index <HASH>..<HASH> 100644
--- a/output/html/assets.php
+++ b/output/html/assets.php
@@ -119,7 +119,7 @@ class QM_Output_Html_Assets extends QM_Output_Html {
}
echo '<td valign="top">' . $script->handle . '<br><span class="qm-info">' . $src . '</span... | List each script and style dependency on a new line. | johnbillion_query-monitor | train | php |
f1736a3f3d20f837ef9f9478693039b4ea322a12 | diff --git a/lib/semverse/constraint.rb b/lib/semverse/constraint.rb
index <HASH>..<HASH> 100644
--- a/lib/semverse/constraint.rb
+++ b/lib/semverse/constraint.rb
@@ -231,6 +231,9 @@ module Semverse
"#<#{self.class.to_s} #{to_s}>"
end
+ # The string representation of this constraint.
+ #
+ # @ret... | Add docs for Constraint#to_s | berkshelf_semverse | train | rb |
f81c58e982fad03ecb9671d22e77d0921aec189f | diff --git a/trunk/mapreduce/src/java/com/marklogic/mapreduce/ForestInputFormat.java b/trunk/mapreduce/src/java/com/marklogic/mapreduce/ForestInputFormat.java
index <HASH>..<HASH> 100644
--- a/trunk/mapreduce/src/java/com/marklogic/mapreduce/ForestInputFormat.java
+++ b/trunk/mapreduce/src/java/com/marklogic/mapreduce/... | Bug:<I> - Allow tree data size to reach end of the file. | marklogic_marklogic-contentpump | train | java |
0e6c1dc38106f7681bd92ec0a0e02164453357c4 | diff --git a/src/main/java/com/j256/ormlite/field/FieldType.java b/src/main/java/com/j256/ormlite/field/FieldType.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/ormlite/field/FieldType.java
+++ b/src/main/java/com/j256/ormlite/field/FieldType.java
@@ -399,6 +399,10 @@ public class FieldType {
return f... | Added getter for table-name. | j256_ormlite-core | train | java |
20ce1fc543e0b0728e3f3f07f3e1eaf12b38d904 | diff --git a/tests/test_syslog_rfc5424_formatter.py b/tests/test_syslog_rfc5424_formatter.py
index <HASH>..<HASH> 100644
--- a/tests/test_syslog_rfc5424_formatter.py
+++ b/tests/test_syslog_rfc5424_formatter.py
@@ -29,11 +29,11 @@ class RFC5424FormatterTestCase(TestCase):
assert f.format(r) == '1 1970-01-01T00... | run non-UTC test in a timezone without DST so that tests work in the winter | EasyPost_syslog-rfc5424-formatter | train | py |
7fd23345c9ad9cc81616b635f6d6a56a1b9ab11a | diff --git a/daemon/kill.go b/daemon/kill.go
index <HASH>..<HASH> 100644
--- a/daemon/kill.go
+++ b/daemon/kill.go
@@ -99,7 +99,19 @@ func (daemon *Daemon) killWithSignal(container *containerpkg.Container, sig int)
if errdefs.IsNotFound(err) {
unpause = false
logrus.WithError(err).WithField("container", cont... | Wait for container exit before forcing handler
This code assumes that we missed an exit event since the container is
still marked as running in Docker but attempts to signal the process in
containerd returns a "process not found" error.
There is a case where the event wasn't missed, just that it hasn't been
processed... | moby_moby | train | go |
438804b64b97a6f686c961ed30c4df6d38a210cd | diff --git a/molgenis-data-validation/src/main/java/org/molgenis/data/validation/meta/AttributeValidator.java b/molgenis-data-validation/src/main/java/org/molgenis/data/validation/meta/AttributeValidator.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-validation/src/main/java/org/molgenis/data/validation/meta/Attr... | Datasource does not need to be postgres | molgenis_molgenis | train | java |
d3ade5050c7f7887a853f6fa19ac8c3edbe4b71c | diff --git a/zipline/transforms/utils.py b/zipline/transforms/utils.py
index <HASH>..<HASH> 100644
--- a/zipline/transforms/utils.py
+++ b/zipline/transforms/utils.py
@@ -136,7 +136,7 @@ class StatefulTransform(object):
# IMPORTANT: Messages may contain pointers that are shared with
# other streams. ... | MAINT: Tune logging of StateTransform start/end to debug.
These log lines are useful for debugging, but a bit spurious
on every algorithm run. | quantopian_zipline | train | py |
2671974715e802c552085e9d406aab26d2d016a8 | diff --git a/src/components/inputnumber/InputNumber.js b/src/components/inputnumber/InputNumber.js
index <HASH>..<HASH> 100644
--- a/src/components/inputnumber/InputNumber.js
+++ b/src/components/inputnumber/InputNumber.js
@@ -788,6 +788,10 @@ export class InputNumber extends Component {
}
validateValue(val... | Fixed #<I> - InputNumber: setting "min" to anything greater than 0 implies "required" | primefaces_primereact | train | js |
cd66c179cb389c395aa0c893da51951bb69be0f1 | diff --git a/salt/modules/nacl.py b/salt/modules/nacl.py
index <HASH>..<HASH> 100644
--- a/salt/modules/nacl.py
+++ b/salt/modules/nacl.py
@@ -93,6 +93,7 @@ multiline encrypted secrets from pillar in a state, use the following format to
creating extra whitespace at the beginning of each line in the cert file:
.. c... | fix broken yaml code block (#<I>) | saltstack_salt | train | py |
17432924516663e27cb02d3a59500802e8d599a3 | diff --git a/src/Udb2UtilityTrait.php b/src/Udb2UtilityTrait.php
index <HASH>..<HASH> 100644
--- a/src/Udb2UtilityTrait.php
+++ b/src/Udb2UtilityTrait.php
@@ -272,9 +272,12 @@ trait Udb2UtilityTrait
/**
* Update the cdb item based on a bookingInfo object.
+ *
+ * @param CultureFeed_Cdb_Item_Event $... | MSS-<I>: Use CultureFeed_Cdb_Item_Event instead of CultureFeed_Cdb_Item_Base, CultureFeed_Cdb_Item_Base does not have any associated booking info | cultuurnet_udb3-udb2-bridge | train | php |
202b636cb6bf8852ab648df46c36202d09ff6efb | diff --git a/views/js/qtiCreator/widgets/interactions/mediaInteraction/states/Question.js b/views/js/qtiCreator/widgets/interactions/mediaInteraction/states/Question.js
index <HASH>..<HASH> 100755
--- a/views/js/qtiCreator/widgets/interactions/mediaInteraction/states/Question.js
+++ b/views/js/qtiCreator/widgets/intera... | add search for aac files in media | oat-sa_extension-tao-itemqti | train | js |
99ec69f7c6efc62468d9095738109e1aacfc7573 | diff --git a/widgets/FoxSliderMain.php b/widgets/FoxSliderMain.php
index <HASH>..<HASH> 100755
--- a/widgets/FoxSliderMain.php
+++ b/widgets/FoxSliderMain.php
@@ -105,7 +105,7 @@ class FoxSliderMain extends \cmsgears\core\common\base\Widget {
if( !isset( $slider ) ) {
- throw new InvalidConfigExceptio... | Updated the widget to show warning instead of exception in case slider does not exist. | foxslider_cmg-plugin | train | php |
fbee1189cbab58c0fa175f3f37f39c8bdc32cea2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,10 +16,9 @@ config = {
'download_url': 'https://github.com/klavinslab/pymbt.git',
'author_email': 'nbolten _at_ gmail',
'version': '0.0.1',
- 'install_requires': ['nose', 'numpy', 'biopython'],
+ 'inst... | Require cython for now | klavinslab_coral | train | py |
2ae06fb088de4ee0bbb8c3bae6de13e1b8a79dfd | diff --git a/gspread/models.py b/gspread/models.py
index <HASH>..<HASH> 100644
--- a/gspread/models.py
+++ b/gspread/models.py
@@ -302,6 +302,14 @@ class Worksheet(object):
return self._title
@property
+ def gid(self):
+ """Gid of a worksheet."""
+ wid = self.id
+ widval = wid[1:... | Added gid property for worksheets | burnash_gspread | train | py |
9b4150663592f35b981bb29a42e29f4e34f9f53c | diff --git a/tests/Balanced/SuiteTest.php b/tests/Balanced/SuiteTest.php
index <HASH>..<HASH> 100644
--- a/tests/Balanced/SuiteTest.php
+++ b/tests/Balanced/SuiteTest.php
@@ -67,7 +67,7 @@ class SuiteTest extends \PHPUnit_Framework_TestCase
'4112344112344113',
null,
12,
- ... | change the expiration date on the card in the tests so they pass | balanced_balanced-php | train | php |
c7b5c1f3b36ecd2503fd6d81deb6af59f068a066 | diff --git a/bootstrap.php b/bootstrap.php
index <HASH>..<HASH> 100644
--- a/bootstrap.php
+++ b/bootstrap.php
@@ -12,9 +12,3 @@ if (!class_exists('Mpay24\Mpay24Autoloader')) {
}
Mpay24\Mpay24Autoloader::register();
-
-if (!class_exists('Mpay24Test\Mpay24Autoloader')) {
- require __DIR__ . '/tests/Mpay24Autoload... | Don't load test classes in bootstrap.php file | mpay24_mpay24-php | train | php |
ac2ff4687e2442de91bc8d066109d2277e3df6fa | diff --git a/src/Harvest/HarvestReports.php b/src/Harvest/HarvestReports.php
index <HASH>..<HASH> 100644
--- a/src/Harvest/HarvestReports.php
+++ b/src/Harvest/HarvestReports.php
@@ -3,6 +3,8 @@
namespace Harvest;
+use Harvest\Model\Range;
+
/**
* HarvestReports
* | Update HarvestReports.php
Fixing HarvestReports namespace issues | gridonic_hapi | train | php |
0a8cf619aa06f4e785aea0b8634e3bc5b9aa23b9 | diff --git a/src/RepositoryInterface.php b/src/RepositoryInterface.php
index <HASH>..<HASH> 100644
--- a/src/RepositoryInterface.php
+++ b/src/RepositoryInterface.php
@@ -27,6 +27,8 @@ interface RepositoryInterface
* Checks out a branch or tag from the repository.
*
* @param string $version
+ *
+ ... | Added return value to RepositoryInterface::checkout | accompli_chrono | train | php |
c1fecd5f1efd8db6a20dd6a29b06709d8b0b13b1 | diff --git a/modules/stores/URLStore.js b/modules/stores/URLStore.js
index <HASH>..<HASH> 100644
--- a/modules/stores/URLStore.js
+++ b/modules/stores/URLStore.js
@@ -56,7 +56,7 @@ var URLStore = {
* Returns the value of the current URL path.
*/
getCurrentPath: function () {
- if (_location === 'history')... | fixed getCurrentPath with disabledHistory | taion_rrtr | train | js |
eb888686e4c63e057039e7a0594de13fe361316f | diff --git a/extension/ezjscore/classes/ezjscpacker.php b/extension/ezjscore/classes/ezjscpacker.php
index <HASH>..<HASH> 100644
--- a/extension/ezjscore/classes/ezjscpacker.php
+++ b/extension/ezjscore/classes/ezjscpacker.php
@@ -493,7 +493,7 @@ class ezjscPacker
*/
static function fixImgPaths( $fileContent... | CSS Compressing was ignoring @2x image path (#<I>)
image path like background-image: url('../images/<EMAIL>'); wasnt replaced during CSS Compressing | ezsystems_ezpublish-legacy | train | php |
63a01e7fbd19d13bc54ab4f2f6c2a59ba8325034 | diff --git a/vaspy/cli/kgen.py b/vaspy/cli/kgen.py
index <HASH>..<HASH> 100644
--- a/vaspy/cli/kgen.py
+++ b/vaspy/cli/kgen.py
@@ -183,7 +183,7 @@ def get_kpoints_from_list(structure, kpt_list, path_labels=None,
for kpt_sublist in kpt_list:
labels = []
for kpt in kpt_sublist:
- ... | Python 3 compatible changes for kgen dictionaries.
`dict.iteritems()` does not exist in Python 3, and is replaced with `dict.items()`.
For backwards compatibility [PEP <I>](<URL>)
suggests `d.iteritems() -> iter(d.items())`. | SMTG-UCL_sumo | train | py |
a90621f1ce2854a0e8181ce280b6be3d729f3083 | diff --git a/angr/analyses/decompiler/structurer.py b/angr/analyses/decompiler/structurer.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/structurer.py
+++ b/angr/analyses/decompiler/structurer.py
@@ -829,8 +829,8 @@ class Structurer(Analysis):
# remove all old nodes and replace them ... | Structurer: Overwrite the array element before eliminating other elements. (#<I>) | angr_angr | train | py |
bdf7e5de92d76ff6dd7cee317ffa43bed8c5d233 | diff --git a/src/transformers/generation_tf_utils.py b/src/transformers/generation_tf_utils.py
index <HASH>..<HASH> 100644
--- a/src/transformers/generation_tf_utils.py
+++ b/src/transformers/generation_tf_utils.py
@@ -177,7 +177,7 @@ class TFGenerationMixin:
tokenizer = AutoTokenizer.from_pretrained('gp... | Remove accidental comment (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
08bec291fd30d8e294ada66bc4579e8bafa95e86 | diff --git a/lib/Cake/tests/cases/libs/controller/components/paginator.test.php b/lib/Cake/tests/cases/libs/controller/components/paginator.test.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/tests/cases/libs/controller/components/paginator.test.php
+++ b/lib/Cake/tests/cases/libs/controller/components/paginator.test.p... | Fixing class importing in paginator test | cakephp_cakephp | train | php |
b89741cc8dcb72a4efece027e64c839df7ce2275 | diff --git a/StubsController.php b/StubsController.php
index <HASH>..<HASH> 100644
--- a/StubsController.php
+++ b/StubsController.php
@@ -4,6 +4,7 @@ namespace bazilio\stubsgenerator;
use yii\console\Controller;
use yii\console\Exception;
+use yii\di\Instance;
class StubsController extends Controller
{
@@ -88,... | Simple support of Instance::of in configuration
see vendor/yiisoft/yii2/di/Container.php::get
$class is string|Instance | bazilio91_yii2-stubs-generator | train | php |
e16f5fc880b8ceab65ebb1846032d901dfe87679 | diff --git a/fastlane/lib/fastlane/version.rb b/fastlane/lib/fastlane/version.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/version.rb
+++ b/fastlane/lib/fastlane/version.rb
@@ -1,4 +1,4 @@
module Fastlane
- VERSION = '1.105.3'.freeze
+ VERSION = '1.106.0'.freeze
DESCRIPTION = "The easiest way to aut... | [fastlane] Version bump (#<I>)
* New `fastlane env` command to print out the fastlane environment
* Docs: describe using next to stop executing a lane (#<I>)
* Update dependencies (#<I>)
* Remove old crash reporter code from fastlane (#<I>) | fastlane_fastlane | train | rb |
96c3ee49a8484337575961a4a4c7b8c4d9257c6c | diff --git a/src/pdfCropMargins/main_pdfCropMargins.py b/src/pdfCropMargins/main_pdfCropMargins.py
index <HASH>..<HASH> 100644
--- a/src/pdfCropMargins/main_pdfCropMargins.py
+++ b/src/pdfCropMargins/main_pdfCropMargins.py
@@ -68,13 +68,23 @@ try:
from PyPDF2 import PdfFileWriter, PdfFileReader
from PyPDF2.ge... | added try both .utils and .errors for PdfReadError import | abarker_pdfCropMargins | train | py |
1a03505176fe58f007c700e647e2e1d383d18923 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -267,6 +267,11 @@ if mo:
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
+install_requires = []
+if sys.version_info < (3, 4):
+ # Backport of Python 3.4 enums to earlier versions
+... | don't install enum<I> on python >= <I> | letmaik_lensfunpy | train | py |
d33b8006f0c2c6176a812aa479237105368865ab | diff --git a/gnsq/protocol.py b/gnsq/protocol.py
index <HASH>..<HASH> 100644
--- a/gnsq/protocol.py
+++ b/gnsq/protocol.py
@@ -44,13 +44,13 @@ CHANNEL_NAME_RE = re.compile(r'^[\.a-zA-Z0-9_-]+(#ephemeral)?$')
def valid_topic_name(topic):
- if not 0 < len(topic) < 33:
+ if not 0 < len(topic) < 65:
ret... | NSQ version <I> and later now can handle <I> char long topic and channel names | wtolson_gnsq | train | py |
294a72d697e100dadd3c03f7c8800b0e934c75db | diff --git a/test/utils.js b/test/utils.js
index <HASH>..<HASH> 100644
--- a/test/utils.js
+++ b/test/utils.js
@@ -1,4 +1,4 @@
-// var co = require('co');
+var fs = require('fs');
var path = require('path');
var test = require('tape').test;
var utils = require('../lib/utils');
@@ -82,6 +82,10 @@ test('utils.write', ... | delete the test file after utils.write test | lukeed_taskr | train | js |
f995efe09ad1c23dcbda6bcde127b6cae1f35110 | diff --git a/webapp/app/main.py b/webapp/app/main.py
index <HASH>..<HASH> 100644
--- a/webapp/app/main.py
+++ b/webapp/app/main.py
@@ -21,7 +21,7 @@ def _unpack(stream):
font = TTFont(BytesIO(stream.read(fontlen)))
yield (desc, font)
-def checkfont(desc, font):
+def check_font(desc, font):
#fam... | fix typo
(issue #<I>) | googlefonts_fontbakery | train | py |
521c5d7d9fe72851699868c17354b8a5352ed5fa | diff --git a/app/models/staypuft/deployment.rb b/app/models/staypuft/deployment.rb
index <HASH>..<HASH> 100644
--- a/app/models/staypuft/deployment.rb
+++ b/app/models/staypuft/deployment.rb
@@ -107,7 +107,6 @@ module Staypuft
return in_progress? ? hostgroup.openstack_hosts : {}
end
-
# Helper method... | minor improvements
- moving #attributes= to abstract class
- removing old unnecessary nil check | theforeman_staypuft | train | rb |
d57c42074f61688080bfeafbe3af9f9c08992a91 | diff --git a/src/main/java/io/fabric8/maven/docker/util/CredentialHelperClient.java b/src/main/java/io/fabric8/maven/docker/util/CredentialHelperClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/fabric8/maven/docker/util/CredentialHelperClient.java
+++ b/src/main/java/io/fabric8/maven/docker/util/Credentia... | fix: Don't reuse a GetCommand as its a one-shot action
Fixes #<I>. | fabric8io_docker-maven-plugin | train | java |
925972ffd87d2544eb2928e7599e96c7985b3c9a | diff --git a/jsfuck.js b/jsfuck.js
index <HASH>..<HASH> 100644
--- a/jsfuck.js
+++ b/jsfuck.js
@@ -91,7 +91,7 @@
'+': '(+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]])+[])[2]',
',': '[[]]["concat"]([][[]])+""',
'-': '(+(.0000000001)+"")[2]',
- '.': '(0)["toFixed"](1)[1]',
+ '.': '(... | Encode full stop in <I> chars | fasttime_JScrewIt | train | js |
81715906ebe742cb86c888d2fe2c01b5ecd1be86 | diff --git a/lib/locators.js b/lib/locators.js
index <HASH>..<HASH> 100644
--- a/lib/locators.js
+++ b/lib/locators.js
@@ -354,7 +354,7 @@ ProtractorBy.prototype.repeater = function(repeatDescriptor) {
* </ul>
*
* @example
- * // Returns the DIV for the dog, but not cat.
+ * // Returns the li for the dog, but not... | chore(docs): Correct comment in locators.js
example is misleading as there is no li which returned by cssContainingText | angular_protractor | train | js |
e43f75187ef7cdec70aeda9dd887f18546c02249 | diff --git a/lamvery/config.py b/lamvery/config.py
index <HASH>..<HASH> 100644
--- a/lamvery/config.py
+++ b/lamvery/config.py
@@ -139,9 +139,6 @@ class Config:
if events is None:
return {'rules': []}
- if 'rules' in events:
- return {'rules': []}
-
if isinstance(event... | Bugfix: Can't read some of the events config | marcy-terui_lamvery | train | py |
79c86fcc70d7e60fd8cf6d67f7392cc40fb7d210 | diff --git a/scs_core/osio/config/project.py b/scs_core/osio/config/project.py
index <HASH>..<HASH> 100644
--- a/scs_core/osio/config/project.py
+++ b/scs_core/osio/config/project.py
@@ -36,6 +36,13 @@ class Project(PersistentJSONable):
# ----------------------------------------------------------------------------... | Enabled channel subscription to osio_mqtt_client. | south-coast-science_scs_core | train | py |
e890a66057ecff72cf0b28ad64e1bf5937170707 | diff --git a/tests/integration/Customer/CustomerUpdateRequestTest.php b/tests/integration/Customer/CustomerUpdateRequestTest.php
index <HASH>..<HASH> 100644
--- a/tests/integration/Customer/CustomerUpdateRequestTest.php
+++ b/tests/integration/Customer/CustomerUpdateRequestTest.php
@@ -60,7 +60,6 @@ class CustomerUpdat... | WIP: adjust where to set the key | commercetools_commercetools-php-sdk | train | php |
28013fb6d6efdccd83dd2f695b8430e8297259e4 | diff --git a/test-complete/src/test/java/com/marklogic/javaclient/TestBulkSearchWithKeyValQueryDef.java b/test-complete/src/test/java/com/marklogic/javaclient/TestBulkSearchWithKeyValQueryDef.java
index <HASH>..<HASH> 100644
--- a/test-complete/src/test/java/com/marklogic/javaclient/TestBulkSearchWithKeyValQueryDef.jav... | test is commented untill we see a resolution in issue <I> | marklogic_java-client-api | train | java |
53a97b129cb742c2f061a97388748a98b24bbcc8 | diff --git a/test/resources/IndexController.php b/test/resources/IndexController.php
index <HASH>..<HASH> 100644
--- a/test/resources/IndexController.php
+++ b/test/resources/IndexController.php
@@ -49,9 +49,7 @@ class IndexController extends AbstractActionController
*/
public function indexAction()
{
-... | Fixed test IndexController, removed accidental service locator get thumbnailer | webino_WebinoImageThumb | train | php |
435500078c85f2558746893b52606bdbdda3bb13 | diff --git a/lib/bolt/version.rb b/lib/bolt/version.rb
index <HASH>..<HASH> 100644
--- a/lib/bolt/version.rb
+++ b/lib/bolt/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Bolt
- VERSION = '2.23.0'
+ VERSION = '2.24.0'
end | (GEM) update bolt version to <I> | puppetlabs_bolt | train | rb |
35824b202f492b243975750fd80345c25f68dbfa | diff --git a/djstripe/models.py b/djstripe/models.py
index <HASH>..<HASH> 100644
--- a/djstripe/models.py
+++ b/djstripe/models.py
@@ -656,10 +656,9 @@ class CurrentSubscription(TimeStampedModel):
return True
-class Invoice(TimeStampedModel):
+class Invoice(StripeObject):
# TODO - needs tests
- s... | Invoice now inherits from StripeObject model. | dj-stripe_dj-stripe | train | py |
cfd5929d44c75e122958423f5a63eb22ad9d60b8 | diff --git a/src/lib/handleKeyEvent.js b/src/lib/handleKeyEvent.js
index <HASH>..<HASH> 100644
--- a/src/lib/handleKeyEvent.js
+++ b/src/lib/handleKeyEvent.js
@@ -36,7 +36,10 @@ export default function handleKeyEvent({
* TODO add a test for this
*/
if (multiselect) {
- ReactResponsiv... | multiselect focus button on tab away | benbowes_react-responsive-select | train | js |
8ede6ef4abe643c243f8a3dbc73697c904a91e26 | diff --git a/src/services/decorators.js b/src/services/decorators.js
index <HASH>..<HASH> 100644
--- a/src/services/decorators.js
+++ b/src/services/decorators.js
@@ -209,8 +209,8 @@ angular.module('schemaForm').provider('schemaFormDecorators',
'ng-if',
ngIf ?
... | Allow access to the modelValue inside a condition
Allowing access to the modelValue from inside a condition would make conditions inside nested loops and from dynamic schemas easier to work with. | json-schema-form_angular-schema-form | train | js |
7790e81793b9b33b775a3a438fe508662f621c04 | diff --git a/luminoso_api/client.py b/luminoso_api/client.py
index <HASH>..<HASH> 100644
--- a/luminoso_api/client.py
+++ b/luminoso_api/client.py
@@ -300,6 +300,13 @@ class LuminosoClient(object):
newclient = LuminosoClient(self._auth, self.root_url, self.root_url)
return newclient.get_raw('/')
+ ... | add keepalive to wait_for | LuminosoInsight_luminoso-api-client-python | train | py |
343a12e76ef5534dd36a1f8686a5b50c1f4303fa | diff --git a/audit.js b/audit.js
index <HASH>..<HASH> 100644
--- a/audit.js
+++ b/audit.js
@@ -245,6 +245,8 @@ function exitHandler(options, err) {
JUnit = new XMLSerializer().serializeToString(dom);
console.log( `Wrote JUnit report to reports/${output}`);
fs.writeFile... | Don't fail in report mode if exit is sucessful. | OSSIndex_auditjs | train | js |
c925e37ab655cb1fa819eef4b28d4afa37abde50 | diff --git a/src/app/Traits/MediaTrait.php b/src/app/Traits/MediaTrait.php
index <HASH>..<HASH> 100755
--- a/src/app/Traits/MediaTrait.php
+++ b/src/app/Traits/MediaTrait.php
@@ -48,7 +48,7 @@ trait MediaTrait{
// uploaded file
$file = $request->file($key);
- $extension = $file->g... | thums were not beinh creaed for images with uppercase extensions | AccioCMS_core | train | php |
f5ed7a89e35b42b6f90477eb62fa04d91fea0c72 | diff --git a/pinax/messages/views.py b/pinax/messages/views.py
index <HASH>..<HASH> 100644
--- a/pinax/messages/views.py
+++ b/pinax/messages/views.py
@@ -97,6 +97,7 @@ class ThreadDeleteView(LoginRequiredMixin, DeleteView):
"""
model = Thread
success_url = "pinax_messages:inbox"
+ template_name = "pi... | Specify template location.
If template is not explicitly specified the Django
template loader looks in the wrong location.
Update version. | pinax_pinax-messages | train | py,py |
b2e96ced67da897a606654fa95bef557600a2c42 | diff --git a/source/application/controllers/admin/article_main.php b/source/application/controllers/admin/article_main.php
index <HASH>..<HASH> 100644
--- a/source/application/controllers/admin/article_main.php
+++ b/source/application/controllers/admin/article_main.php
@@ -456,9 +456,6 @@ class Article_Main extends ox... | Moved EE code to EE code block | OXID-eSales_oxideshop_ce | train | php |
17532b38353d4b002fab0d3372e0eb4f631bf2ee | diff --git a/emir/dataproducts.py b/emir/dataproducts.py
index <HASH>..<HASH> 100644
--- a/emir/dataproducts.py
+++ b/emir/dataproducts.py
@@ -24,7 +24,7 @@ import logging
import pyfits
from numina.recipes import Image
-from emir.instrument.headers import default
+from emir.instrument import EmirImageFactory
_lo... | Headers from ImageFactory | guaix-ucm_pyemir | train | py |
5d7d969324f539fb553fd99db7058fd1cb763d47 | diff --git a/etrago/tools/plot.py b/etrago/tools/plot.py
index <HASH>..<HASH> 100644
--- a/etrago/tools/plot.py
+++ b/etrago/tools/plot.py
@@ -750,6 +750,7 @@ def plot_residual_load(network):
color='red',
label="residual load")
plot.legend()
+ plot.set_ylabel("Residual load in MW")
# sort... | Add y label for residual load plot | openego_eTraGo | train | py |
e8908576d4e6d52b5495a8cceff249178c5641d4 | diff --git a/lib/Doctrine/ODM/MongoDB/SchemaManager.php b/lib/Doctrine/ODM/MongoDB/SchemaManager.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/MongoDB/SchemaManager.php
+++ b/lib/Doctrine/ODM/MongoDB/SchemaManager.php
@@ -146,6 +146,9 @@ class SchemaManager
if ($indexes = $this->getDocumentIndexes($do... | Default index creation to be in the background. | doctrine_mongodb-odm | train | php |
c5c4c400622475b131cd18e5b0854b789f9b8983 | diff --git a/src/components/containers/PanelHeader.js b/src/components/containers/PanelHeader.js
index <HASH>..<HASH> 100644
--- a/src/components/containers/PanelHeader.js
+++ b/src/components/containers/PanelHeader.js
@@ -25,6 +25,7 @@ class PanelHeader extends Component {
hasOpen,
} = this.props;
+ /... | add comment about reusing styles from dropdown | plotly_react-chart-editor | train | js |
08fae77f9b89d38d45f7bd2c880cc702b6a62bbb | diff --git a/app/scripts/constants/ActionTypes.js b/app/scripts/constants/ActionTypes.js
index <HASH>..<HASH> 100644
--- a/app/scripts/constants/ActionTypes.js
+++ b/app/scripts/constants/ActionTypes.js
@@ -1,2 +1 @@
-export const EDIT_COLUMN_CONTENT = 'EDIT_COLUMN_CONTENT'
export const EDIT_WIDGET = 'EDIT_WIDGET'
dif... | [#<I>] add blocks and widgets stores to the index | nossas_bonde-client | train | js,js |
a6c56b99377a881635e68669ddc9a93ced1e1f95 | diff --git a/src/main/java/org/bff/javampd/monitor/StandAloneMonitorThread.java b/src/main/java/org/bff/javampd/monitor/StandAloneMonitorThread.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/bff/javampd/monitor/StandAloneMonitorThread.java
+++ b/src/main/java/org/bff/javampd/monitor/StandAloneMonitorThread.ja... | replace lambda with a method reference | finnyb_javampd | train | java |
27dba655fc8901523641c7390b95fa36910a7ef9 | diff --git a/test/response.test.js b/test/response.test.js
index <HASH>..<HASH> 100644
--- a/test/response.test.js
+++ b/test/response.test.js
@@ -250,7 +250,7 @@ module.exports = {
assert.response(app,
{ url: '/' },
function(res){
- //assert.length(res.headers['set-coo... | Uncommented cookie assertions previously failing | expressjs_express | train | js |
b825ce8c71ad2f2d3c60480188c83feef492558f | diff --git a/poyo/patterns.py b/poyo/patterns.py
index <HASH>..<HASH> 100644
--- a/poyo/patterns.py
+++ b/poyo/patterns.py
@@ -19,7 +19,7 @@ _SIMPLE = _INDENT + _VAR + _BLANK + _VALUE + _INLINE_COMMENT + _OPT_NEWLINE
_LIST_VALUE = (
_BLANK + r"-" + _BLANK +
- r"('.*?'|\".*?\"|[^#]+?)" +
+ r"('.*?'|\".*?\"... | Fix #<I> list pattern is too greedy | hackebrot_poyo | train | py |
9a4bea1eabb905732b556a6cf72227da8ab03e7d | diff --git a/Eloquent/Model.php b/Eloquent/Model.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Model.php
+++ b/Eloquent/Model.php
@@ -1620,6 +1620,19 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt
}
/**
+ * Clone the model into a new, non-existing instance without r... | [9.x] Add replicateQuietly to Model (#<I>)
* Add replicateQuietly method
* Add test for replicateQuietly() | illuminate_database | train | php |
7953bb58733de33bdc693cd7b2d685ab5fa093fe | diff --git a/sham/network/interfaces.py b/sham/network/interfaces.py
index <HASH>..<HASH> 100644
--- a/sham/network/interfaces.py
+++ b/sham/network/interfaces.py
@@ -16,7 +16,7 @@ class NetworkInterface(object):
def root(self):
"""
TODO(rdelinger) rename this as to_xml or something similar
- ... | Fixed an issue with an extra '"' in interfaces.py (issue #2) | rossdylan_sham | train | py |
050a474b6f5e000584bf5a1a8f41e3d9750faf3d | diff --git a/tasks/load-options.js b/tasks/load-options.js
index <HASH>..<HASH> 100644
--- a/tasks/load-options.js
+++ b/tasks/load-options.js
@@ -11,7 +11,18 @@
var requireDirectory = require('require-directory');
module.exports = function(grunt) {
- grunt.initConfig(requireDirectory(module, './grunt/options'));
... | Resolve options expressed as functions. | chriszarate_grunt-load-options | train | js |
1023fa0ca18a89364ad472a2fd7c1663b27bcb61 | diff --git a/pycbc/inference/sampler/cpnest.py b/pycbc/inference/sampler/cpnest.py
index <HASH>..<HASH> 100644
--- a/pycbc/inference/sampler/cpnest.py
+++ b/pycbc/inference/sampler/cpnest.py
@@ -30,6 +30,7 @@ from __future__ import absolute_import
import logging
import os
+import array
import cpnest
import cpnest... | Update cpnest.py (#<I>)
This is my proposed patch for cpnest in #<I> . I leave it here for anyone interested to verify/approve/fix. | gwastro_pycbc | train | py |
e60c70c1a7954e2a9c26cdc89061f480f2e270ff | diff --git a/telethon/utils/tl_utils.py b/telethon/utils/tl_utils.py
index <HASH>..<HASH> 100644
--- a/telethon/utils/tl_utils.py
+++ b/telethon/utils/tl_utils.py
@@ -21,6 +21,8 @@ def get_display_name(entity):
if isinstance(entity, Chat) or isinstance(entity, Channel):
return entity.title
+ return '... | Add more descriptive errors for get_input_peer (#<I>) | LonamiWebs_Telethon | train | py |
d558b2e9311e58e501d920c000fb059007d39bc4 | diff --git a/src/app/http/controllers/HCUsersController.php b/src/app/http/controllers/HCUsersController.php
index <HASH>..<HASH> 100644
--- a/src/app/http/controllers/HCUsersController.php
+++ b/src/app/http/controllers/HCUsersController.php
@@ -152,7 +152,7 @@ class HCUsersController extends HCBaseController
... | Adjusted controller for improved HCBaseController | interactivesolutions_honeycomb-acl | train | php |
0efe264cefbab01c82fa6b927b3f0d34d7b53556 | diff --git a/angr/path_group.py b/angr/path_group.py
index <HASH>..<HASH> 100644
--- a/angr/path_group.py
+++ b/angr/path_group.py
@@ -143,8 +143,9 @@ class PathGroup(ana.Storable):
# Util functions
#
- def copy(self):
- return PathGroup(self._project, stashes=self._copy_stashes(immutable=True), h... | Construct PathGroup with all args in copy | angr_angr | train | py |
815129d35a517346d92aca1b46df84b0f400dbcd | diff --git a/pyrsistent/_pmap.py b/pyrsistent/_pmap.py
index <HASH>..<HASH> 100644
--- a/pyrsistent/_pmap.py
+++ b/pyrsistent/_pmap.py
@@ -91,7 +91,9 @@ class PMap(object):
try:
return self[key]
except KeyError:
- raise AttributeError("PMap has no attribute '{0}'".format(key))
... | Using the class name to make AttributeError on __getattribute__ more informative for PRecords. | tobgu_pyrsistent | train | py,py |
cd4a99eb6f9d7c16b2dfe96a987493bc5d8c2823 | diff --git a/api.js b/api.js
index <HASH>..<HASH> 100644
--- a/api.js
+++ b/api.js
@@ -9,7 +9,7 @@ module.exports = function (route, dynamo) {
var ApiBuilder = require('claudia-api-builder');
var api = new ApiBuilder();
- var lib = require('./index.js');
+ var lib = require('./lib.js');
var root = '/' + ... | added api.js to index.js | muenzer_claudiajs-dynamodb | train | js,js |
5c14d689ea7148cf4a264e7f870f639f7560916d | diff --git a/test/cli/commands/helpers/isCommand.js b/test/cli/commands/helpers/isCommand.js
index <HASH>..<HASH> 100644
--- a/test/cli/commands/helpers/isCommand.js
+++ b/test/cli/commands/helpers/isCommand.js
@@ -26,6 +26,8 @@ describe('cli', () => {
expect(isCommand(commandsObject.meta)('docs'))... | Add function within nested commandgroup to testcase | rocjs_roc | train | js |
4c628ebb636463ee9532a8db6c042d529dd41bee | diff --git a/lib/autoversion.rb b/lib/autoversion.rb
index <HASH>..<HASH> 100644
--- a/lib/autoversion.rb
+++ b/lib/autoversion.rb
@@ -1,3 +1,3 @@
-module AutoVersion
+module Autoversion
end
\ No newline at end of file
diff --git a/lib/autoversion/version.rb b/lib/autoversion/version.rb
index <HASH>..<HASH> 100644
-... | Renamed the module to Autoversion without camelcase to better match the CLI bin name | jpettersson_autoversion | train | rb,rb |
798fb7371a6f9b522f654c6421ef9d154b38f95e | diff --git a/tests/TestDockerComposeTools.py b/tests/TestDockerComposeTools.py
index <HASH>..<HASH> 100644
--- a/tests/TestDockerComposeTools.py
+++ b/tests/TestDockerComposeTools.py
@@ -45,7 +45,10 @@ class TestDockerComposeTools(unittest.TestCase):
def test_f_AddDigestsToImageTags(self):
print('COMPOSE ... | fixed bug in test for py <I> | DIPSAS_DockerBuildSystem | train | py |
001f76559a897e0fdece3640123c6fbc55f2528d | diff --git a/internal/protocol/server_parameters.go b/internal/protocol/server_parameters.go
index <HASH>..<HASH> 100644
--- a/internal/protocol/server_parameters.go
+++ b/internal/protocol/server_parameters.go
@@ -96,7 +96,7 @@ const DefaultHandshakeTimeout = 10 * time.Second
// RetiredConnectionIDDeleteTimeout is ... | reduce the duration we keep the mapping for retired connection IDs alive
This duration only needs to cover typical reordering on the network.
5 seconds should be plenty. | lucas-clemente_quic-go | train | go |
1398e7c054c0db8679f7addbd2b669345b5547c3 | diff --git a/go/vt/vitessdriver/convert.go b/go/vt/vitessdriver/convert.go
index <HASH>..<HASH> 100644
--- a/go/vt/vitessdriver/convert.go
+++ b/go/vt/vitessdriver/convert.go
@@ -31,7 +31,7 @@ type converter struct {
func (cv *converter) ToNative(v sqltypes.Value) (interface{}, error) {
switch v.Type() {
- case sq... | vitessdriver: convert sqltypes.Timestamp to time.Time values
When trying to do a scan into a time.Time type it will fail with error
unsupported Scan, storing driver.Value type []uint8 into type *time.Time
This should remedy this behavior and allow scans into time.Time. | vitessio_vitess | train | go,go |
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.