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 |
|---|---|---|---|---|---|
1d283e260907c21058af5369e4392f355356e8a9 | diff --git a/lib/zendesk/resources/ticket.rb b/lib/zendesk/resources/ticket.rb
index <HASH>..<HASH> 100644
--- a/lib/zendesk/resources/ticket.rb
+++ b/lib/zendesk/resources/ticket.rb
@@ -1,5 +1,6 @@
module Zendesk
class TicketField < Resource; end
+ class Audit < DataResource; end
class TicketComment < Data; en... | add audit as a dataresource | zendesk_zendesk_api_client_rb | train | rb |
b462eef898ed0ead627f829c4e5bbd80c5f42f5d | diff --git a/fabric_webbuilders/base.py b/fabric_webbuilders/base.py
index <HASH>..<HASH> 100644
--- a/fabric_webbuilders/base.py
+++ b/fabric_webbuilders/base.py
@@ -25,7 +25,7 @@ from git import Repo
from fabric.colors import yellow
from fabric.colors import green
-from fabric.context_managers import lcd
+from fa... | really change working directory, don't use lcd() (which just prefixes every command, which is not the same) | mathiasertl_fabric-webbuilders | train | py |
eb514741c956f48e9bd32cca8dc4a165b469e9d6 | diff --git a/src/Offer/DefaultOfferEditingService.php b/src/Offer/DefaultOfferEditingService.php
index <HASH>..<HASH> 100644
--- a/src/Offer/DefaultOfferEditingService.php
+++ b/src/Offer/DefaultOfferEditingService.php
@@ -319,8 +319,6 @@ class DefaultOfferEditingService implements OfferEditingServiceInterface
*/... | III-<I>: Remove guardId when deleting place or event
The guardId will throw a DocumentGoneException when the document has already been deleted. We just want to give notification to the user with http code <I> and a command id. | cultuurnet_udb3-php | train | php |
7ca1c57be5dd3e587454a488205bd1272ac863c7 | diff --git a/src/main/java/org/fest/assertions/api/android/os/BundleAssert.java b/src/main/java/org/fest/assertions/api/android/os/BundleAssert.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/fest/assertions/api/android/os/BundleAssert.java
+++ b/src/main/java/org/fest/assertions/api/android/os/BundleAssert.ja... | Missing string format arg added. | square_assertj-android | train | java |
158b4986db8990e23f1b55cdae65ce2caab16b9f | diff --git a/scout/server/blueprints/variants/views.py b/scout/server/blueprints/variants/views.py
index <HASH>..<HASH> 100644
--- a/scout/server/blueprints/variants/views.py
+++ b/scout/server/blueprints/variants/views.py
@@ -28,6 +28,7 @@ def variants(institute_id, case_name):
# update status of case if vistit... | flash message to user about activating case | Clinical-Genomics_scout | train | py |
6111ef7a1628abaf662e581174e0eefae05e1a91 | diff --git a/scene.js b/scene.js
index <HASH>..<HASH> 100644
--- a/scene.js
+++ b/scene.js
@@ -337,6 +337,7 @@ function createScene(options) {
var numPick = pickBuffers.length
var numObjs = objects.length
var prevObj = selection.object
+
selection.distance = Infinity
selection.mouse[0] = x
... | modif scene is rotation definition:
- determine that scene is rotating if both current
and prev buttons are pressed | gl-vis_gl-plot3d | train | js |
8b4e1075a29071c4e81774b4e8dc93e1d55ed936 | diff --git a/pyipmi/interfaces/ipmbdev.py b/pyipmi/interfaces/ipmbdev.py
index <HASH>..<HASH> 100644
--- a/pyipmi/interfaces/ipmbdev.py
+++ b/pyipmi/interfaces/ipmbdev.py
@@ -14,14 +14,14 @@ class IPMBDev(object):
NAME = 'ipmbdev'
- def __init__(self, slave_address=0x20, port=0):
+ def __init__(self, sla... | interfaces/ipmb: change port parameter from number to full device path | kontron_python-ipmi | train | py |
3c3216f308fbcb843b20f05fe237c64bb6cb4459 | diff --git a/controller/jobs/src/Controller/Jobs/Catalog/Index/Rebuild/Default.php b/controller/jobs/src/Controller/Jobs/Catalog/Index/Rebuild/Default.php
index <HASH>..<HASH> 100644
--- a/controller/jobs/src/Controller/Jobs/Catalog/Index/Rebuild/Default.php
+++ b/controller/jobs/src/Controller/Jobs/Catalog/Index/Rebui... | Removes language and currency to enforce managers returning all texts and prices during index rebuild | Arcavias_arcavias-core | train | php |
58592a4d7300ec5cf9f13052fc0cced597e45d13 | diff --git a/aws-sdk-core/lib/seahorse/client/param_converter.rb b/aws-sdk-core/lib/seahorse/client/param_converter.rb
index <HASH>..<HASH> 100644
--- a/aws-sdk-core/lib/seahorse/client/param_converter.rb
+++ b/aws-sdk-core/lib/seahorse/client/param_converter.rb
@@ -2,11 +2,13 @@ require 'stringio'
require 'date'
req... | Patching thread-safety issue with param converter.
This bug was exposed by the multipart-upload abstraction
unit tests. | aws_aws-sdk-ruby | train | rb |
3a9017f73811a85576d9a940e54289f42d047ff6 | diff --git a/spec/server/tessen_spec.rb b/spec/server/tessen_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/server/tessen_spec.rb
+++ b/spec/server/tessen_spec.rb
@@ -89,12 +89,12 @@ describe "Sensu::Server::Tessen" do
@tessen.redis = setup_redis
@tessen.create_data do |data|
expect(data).to be_k... | fixed tessen spec for renamed data keys | sensu_sensu | train | rb |
3c309f06d46ea211ad6f329fe000ad2d23ef00c9 | diff --git a/tests/TestCase.php b/tests/TestCase.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -13,7 +13,6 @@ declare(strict_types=1);
namespace ArkEcosystem\Tests\Client;
-use GuzzleHttp\Client;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7... | style: Apply fixes from StyleCI (#<I>) | ArkEcosystem_php-client | train | php |
fbd52ef67737d485c426ecb46d1b6df11c2247c3 | diff --git a/lib/Field.php b/lib/Field.php
index <HASH>..<HASH> 100644
--- a/lib/Field.php
+++ b/lib/Field.php
@@ -129,6 +129,9 @@ class Field extends AbstractModel {
// OBSOLETE
// TODO: refactor this!
function refModel($m){
+ if($m=='Model_Filestore_File'){
+ return $this->add('filest... | Better handling of Model_Filestotre_File compatibility | atk4_atk4 | train | php |
5cc63d8aba44956c852dbe4f682b3840f338c356 | diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -658,11 +658,10 @@ class Starmap(object):
task_no += 1
if task_no == 1: # first time
self.progress... | Make sure that task_info is stored always | gem_oq-engine | train | py |
e11eaa1f6c8a2b9735787ec9cedd38fc0491c88d | diff --git a/lib/smpp/base.rb b/lib/smpp/base.rb
index <HASH>..<HASH> 100644
--- a/lib/smpp/base.rb
+++ b/lib/smpp/base.rb
@@ -18,7 +18,6 @@ module Smpp
@config = config
@data = ""
@delegate = delegate
- @pdr_storage = pdr_storage={}
# Array of un-acked MT message IDs indexed by seque... | Remove pdr_storage hash as it is just leaking
The pdr_storage hash used to be passed in by client implementations if they wished to override this behavior.
It is now more sensible for clients to manage message_id to mt_message_id mappings on their own. This code should have been removed.
As it is now it is simply leak... | raykrueger_ruby-smpp | train | rb |
ec50a73c4eaa744f3f67b1e3d775054d9316371b | diff --git a/lib/puppet/module_tool.rb b/lib/puppet/module_tool.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/module_tool.rb
+++ b/lib/puppet/module_tool.rb
@@ -132,7 +132,7 @@ module Puppet
options[:target_dir] = face_environment.full_modulepath.first
# Default false to retain backward compatibility ... | (PUP-<I>) Ensure that option :strict_semver is propagated correctly
Prior to this commit, the method `Puppet::ModuleTool#set_default_options`
would set the `:strict_semver` option to `false` even though it had
already been assigned a value. This commit ensures that the given value
is retained and adds tests to assert ... | puppetlabs_puppet | train | rb,rb |
28149944ad95867522597e59a3a7ea4b1758ccf7 | diff --git a/netty/src/test/java/io/grpc/netty/WriteBufferingAndExceptionHandlerTest.java b/netty/src/test/java/io/grpc/netty/WriteBufferingAndExceptionHandlerTest.java
index <HASH>..<HASH> 100644
--- a/netty/src/test/java/io/grpc/netty/WriteBufferingAndExceptionHandlerTest.java
+++ b/netty/src/test/java/io/grpc/netty/... | netty: Deflake WriteBufferingAndExceptionHandlerTest
It appears the problem is that server.close() was missing sync(), so the
event loop was still processing the closure when the next test started.
This change is more aggressive than it needs to be, but should make it
less bug-prone.
Fixes #<I> | grpc_grpc-java | train | java |
23036cd8bdce3c882766b80b3c384132a2132020 | diff --git a/nestcheck/data_processing.py b/nestcheck/data_processing.py
index <HASH>..<HASH> 100644
--- a/nestcheck/data_processing.py
+++ b/nestcheck/data_processing.py
@@ -506,11 +506,11 @@ def get_birth_inds(birth_logl_arr, logl_arr, **kwargs):
try:
inds_to_use = sample_less_than_condi... | edited error raising to ensure compatibility with python2 | ejhigson_nestcheck | train | py |
9f9156d89d346a57ca46ac02e1a89ac944729dca | diff --git a/openid/extensions/pape.py b/openid/extensions/pape.py
index <HASH>..<HASH> 100644
--- a/openid/extensions/pape.py
+++ b/openid/extensions/pape.py
@@ -27,7 +27,7 @@ AUTH_MULTI_FACTOR = \
AUTH_PHISHING_RESISTANT = \
'http://schemas.openid.net/pape/policies/2007/06/phishing-resistant'
-TIME_VALIDATOR ... | [project @ Include string begin and end in PAPE time validating regexp] | openid_python-openid | train | py |
7426a4ec9a3d633aeee5da22a57541abef19c2b9 | diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/ldap/LdapMockMvcTests.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/ldap/LdapMockMvcTests.java
index <HASH>..<HASH> 100644
--- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/ldap/LdapMockMvcTests.java
+++ b/uaa/src/test/java/org/clo... | Consolidate afterClass annotations to one | cloudfoundry_uaa | train | java |
188ca10b1a1bf181379a825abec5c1753f894960 | diff --git a/lib/model/sorter/non-indexed.js b/lib/model/sorter/non-indexed.js
index <HASH>..<HASH> 100644
--- a/lib/model/sorter/non-indexed.js
+++ b/lib/model/sorter/non-indexed.js
@@ -128,11 +128,17 @@ class NonIndexedSorter extends Transform {
if ( this.ascending ) {
collector.sort( ( left, right ) => {
- ... | fixing issue in non-indexed sorter not appending every record lacking property used for sorting | hitchyjs_odem | train | js |
9f356990adcfd54c29660c42b48dfeef387e00f5 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -795,6 +795,20 @@ InternetRelayChat.prototype._checkChannel = function(channel) {
}
};
+InternetRelayChat.prototype.userHasMode = function(channel, nick, mode) {
+ var chan = this.channels[channel];
+ if(!chan) {
+ ... | Added userHasMode method | DoctorMcKay_node-internet-relay-chat | train | js |
139b9b859cad1adbe4df131dc4a603d0434bd249 | diff --git a/src/Data/Repositories/Session.php b/src/Data/Repositories/Session.php
index <HASH>..<HASH> 100644
--- a/src/Data/Repositories/Session.php
+++ b/src/Data/Repositories/Session.php
@@ -58,16 +58,17 @@ class Session extends Repository {
$this->checkSessionUuid();
}
- private function session... | Fix Same uuid for different user of same device | antonioribeiro_tracker | train | php |
f643bddbc8076bd838bc53c71d88a735aa45e653 | diff --git a/Plugin/Backend/OrderAfterInvoice.php b/Plugin/Backend/OrderAfterInvoice.php
index <HASH>..<HASH> 100644
--- a/Plugin/Backend/OrderAfterInvoice.php
+++ b/Plugin/Backend/OrderAfterInvoice.php
@@ -52,8 +52,16 @@ class OrderAfterInvoice
public function aroundCheck(State $subject, callable $proceed, Orde... | Fixed order after invoice to work with other payment methods. | checkout_checkout-magento2-plugin | train | php |
1ca2a5377fe88b6736a50c0c7408c87517df288a | diff --git a/textract/parsers/pdf_parser.py b/textract/parsers/pdf_parser.py
index <HASH>..<HASH> 100644
--- a/textract/parsers/pdf_parser.py
+++ b/textract/parsers/pdf_parser.py
@@ -1,13 +1,23 @@
from ..shell import run
-from ..exceptions import UnknownMethod
+from ..exceptions import UnknownMethod, ShellError
-d... | added sensible fallback to pdfminer (a python package) for pdf_parser | deanmalmgren_textract | train | py |
65b3375cebd09111fa01a6aadfb29489b0ec85fd | diff --git a/src/main/java/water/H2O.java b/src/main/java/water/H2O.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/H2O.java
+++ b/src/main/java/water/H2O.java
@@ -958,6 +958,7 @@ public final class H2O {
DEFAULT_PORT = OPT_ARGS.baseport;
}
SINGLE_PRECISION = OPT_ARGS.single_precision != nul... | PUB-<I>: Log whether -single_precision was specified. | h2oai_h2o-2 | train | java |
b509d4c400fcf19094ae854adca5d8b900724d20 | diff --git a/pyecore/ecore.py b/pyecore/ecore.py
index <HASH>..<HASH> 100644
--- a/pyecore/ecore.py
+++ b/pyecore/ecore.py
@@ -186,10 +186,10 @@ class EObject(ENotifer, metaclass=Metasubinstance):
@property
def eResource(self):
- if self.eContainer():
- with ignored(AttributeError):
- ... | Update "eResource" method on EObject | pyecore_pyecore | train | py |
6f8cc46f47180b1f9e2aa4ad7cda301389b4241a | diff --git a/rados/conn.go b/rados/conn.go
index <HASH>..<HASH> 100644
--- a/rados/conn.go
+++ b/rados/conn.go
@@ -262,10 +262,8 @@ func (c *Conn) DeletePool(name string) error {
// MonCommand sends a command to one of the monitors
func (c *Conn) MonCommand(args []byte) (buffer []byte, info string, err error) {
- a... | rados/conn: Fix passing of Go allocated pointer to CGO function in MonCommand(), which panics Go <I>.
Addresses issue #<I>. | ceph_go-ceph | train | go |
65c1b8f225fc9eb1c5c4ef025de58eedd784b390 | diff --git a/lib/CommandLineEditor.js b/lib/CommandLineEditor.js
index <HASH>..<HASH> 100644
--- a/lib/CommandLineEditor.js
+++ b/lib/CommandLineEditor.js
@@ -7,11 +7,13 @@ class CommandLineEditor {
* @param {array} opts.resolvedImports
*/
constructor(lines, opts) {
+ const resolvedImports = opts.resolved... | Pretend like we have destructuring in CommandLineEditor
This DRYs up the code just a little bit. | Galooshi_import-js | train | js |
206cd73059415fd917f3d001e402c98abb427a0d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -180,7 +180,7 @@ exports.astNodeVisitor = {
const moduleId = path.relative(path.join(process.cwd(), moduleRoot), rel).replace(/\.js$/, '');
if (getModuleInfo(moduleId, parser)) {
... | replace local identifiers after collecting all | openlayers_jsdoc-plugin-typescript | train | js |
9a8392318599e8f49b0ea9a2548da2cbf31d20f5 | diff --git a/src/pybel/constants.py b/src/pybel/constants.py
index <HASH>..<HASH> 100644
--- a/src/pybel/constants.py
+++ b/src/pybel/constants.py
@@ -99,8 +99,8 @@ HAS_PRODUCT = 'hasProduct'
HAS_COMPONENT = 'hasComponent'
HAS_VARIANT = 'hasVariant'
HAS_MEMBER = 'hasMember'
-TRANSCRIBED_TO = 'transcribedTo'
-TRANSLA... | Hints for people who can't remember the central dogma
It can’t just be me…
[skip ci] | pybel_pybel | train | py |
279632e18c3dd83d5309e7d2b2c26526627c0b3e | diff --git a/test/unit/services/amazon_mws_test.rb b/test/unit/services/amazon_mws_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/services/amazon_mws_test.rb
+++ b/test/unit/services/amazon_mws_test.rb
@@ -337,6 +337,17 @@ class AmazonMarketplaceWebServiceTest < Minitest::Test
assert_equal 5259, response.stoc... | Add a test to ensure xml is built with expected skus | Shopify_active_fulfillment | train | rb |
3f0953d19de3676ea82e642659fc96d90690e34d | diff --git a/allennlp/modules/token_embedders/bert_token_embedder.py b/allennlp/modules/token_embedders/bert_token_embedder.py
index <HASH>..<HASH> 100644
--- a/allennlp/modules/token_embedders/bert_token_embedder.py
+++ b/allennlp/modules/token_embedders/bert_token_embedder.py
@@ -117,7 +117,7 @@ class PretrainedBertE... | change mislabeled variable in description (#<I>)
the required parameter "pretrained_model" was mislabeled as "pretrained_model_name" in the documentation | allenai_allennlp | train | py |
ac222d69eba91e3e3cba3f4bc1d6b5afadc5d6b7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -12,8 +12,14 @@ import os
import sys
+try:
+ import pypandoc
+ readme = pypandoc.convert('README.md', 'rst')
+except (IOError, ImportError):
+ readme = ''
+
+
package = 'tapioca_twitter'
-readme = open('README.r... | updating setup.py to support md readme | vintasoftware_tapioca-twitter | train | py,py |
e5a617c2edc38b95b9d5dedb374fed18940cf814 | diff --git a/src/main/java/com/hubspot/jinjava/lib/fn/eager/EagerMacroFunction.java b/src/main/java/com/hubspot/jinjava/lib/fn/eager/EagerMacroFunction.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hubspot/jinjava/lib/fn/eager/EagerMacroFunction.java
+++ b/src/main/java/com/hubspot/jinjava/lib/fn/eager/Eager... | Fix breaking condition in while loop to prevent NPE | HubSpot_jinjava | train | java |
7348a176d1199156aa13f84beaa5cb41725ec722 | diff --git a/aioodbc/cursor.py b/aioodbc/cursor.py
index <HASH>..<HASH> 100644
--- a/aioodbc/cursor.py
+++ b/aioodbc/cursor.py
@@ -299,10 +299,10 @@ class Cursor:
return fut
if PY_352:
- async def __aiter__(self):
+ def __aiter__(self):
return self
else:
- def __ai... | Fixed __aiter__ to not be awaitable
PEP <I> states that for Python <I> and later __aiter__ should not be async and just return the iterator directly. | aio-libs_aioodbc | train | py |
a68b4e0f6ad629503b431e445619adc8e4ec8f4c | diff --git a/src/ContaoManager/Plugin.php b/src/ContaoManager/Plugin.php
index <HASH>..<HASH> 100644
--- a/src/ContaoManager/Plugin.php
+++ b/src/ContaoManager/Plugin.php
@@ -44,7 +44,8 @@ class Plugin implements BundlePluginInterface
ContaoCoreBundle::class,
ContaoMana... | Set replace by contao manager plugin | contao-community-alliance_dependency-container | train | php |
a133dced6063038498de53aa0bdfe2fefdff0b1a | diff --git a/functions.php b/functions.php
index <HASH>..<HASH> 100644
--- a/functions.php
+++ b/functions.php
@@ -20,6 +20,7 @@ class StarterSite extends TimberSite {
add_theme_support( 'post-formats' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'menus' );
+ add_theme_support( 'html5', array... | Added theme support for HTML5 features; fixes #<I> | timber_starter-theme | train | php |
653762883fb697c9939b7774ab74711dd8e9f052 | diff --git a/src/main/java/io/github/bonigarcia/wdm/Server.java b/src/main/java/io/github/bonigarcia/wdm/Server.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/bonigarcia/wdm/Server.java
+++ b/src/main/java/io/github/bonigarcia/wdm/Server.java
@@ -118,6 +118,7 @@ public class Server {
// Resol... | Avoid auto check in server mode by default | bonigarcia_webdrivermanager | train | java |
bbe1fe6cef1bc992fb82e336b948434ef00804e1 | diff --git a/src/views/StackView/StackViewStyleInterpolator.js b/src/views/StackView/StackViewStyleInterpolator.js
index <HASH>..<HASH> 100644
--- a/src/views/StackView/StackViewStyleInterpolator.js
+++ b/src/views/StackView/StackViewStyleInterpolator.js
@@ -125,8 +125,8 @@ function forFadeFromBottomAndroid(props) {
... | Prevent previous screen fade out on push/pop on Android | react-navigation_stack | train | js |
574d4e3776427e4576c73004f02efe89cd1cd0dd | diff --git a/library/CM/MongoDb/Client.php b/library/CM/MongoDb/Client.php
index <HASH>..<HASH> 100644
--- a/library/CM/MongoDb/Client.php
+++ b/library/CM/MongoDb/Client.php
@@ -28,9 +28,10 @@ class CM_MongoDb_Client {
* @return array|bool
* @throws CM_MongoDb_Exception
*/
- public function insert... | enable direct array-expressions to be passed to mongo::insert() instead of only variables | cargomedia_cm | train | php |
177e97f4e0f6256914ce7a4885e08de931639b1f | diff --git a/Client/DriverFactory.php b/Client/DriverFactory.php
index <HASH>..<HASH> 100644
--- a/Client/DriverFactory.php
+++ b/Client/DriverFactory.php
@@ -1,8 +1,7 @@
<?php
namespace Oro\Component\MessageQueue\Client;
-use OroPro\Component\MessageQueue\Client\AmqpDriver;
-use OroPro\Component\MessageQueue\Trans... | BAP-<I>: Move Amqp related code to OroPro namespace but keep the namepspace Oro
- move amqp to platform-enterprise
- change namespace from OroPro to Oro | oroinc_OroMessageQueueComponent | train | php |
ed3201f37acc66c79896a9b7a6d4b5562487936c | diff --git a/src/pyctools/components/qt/qtdisplay.py b/src/pyctools/components/qt/qtdisplay.py
index <HASH>..<HASH> 100644
--- a/src/pyctools/components/qt/qtdisplay.py
+++ b/src/pyctools/components/qt/qtdisplay.py
@@ -17,6 +17,15 @@
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
+"""Si... | Add note about using my guild fork | jim-easterbrook_pyctools | train | py |
8fb95f587da1e154d0c8854a9a06e7ff2b59fa62 | diff --git a/src/main/java/com/pastdev/jsch/nio/file/UnixSshFileSystemProvider.java b/src/main/java/com/pastdev/jsch/nio/file/UnixSshFileSystemProvider.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/pastdev/jsch/nio/file/UnixSshFileSystemProvider.java
+++ b/src/main/java/com/pastdev/jsch/nio/file/UnixSshFileS... | Fixed a bug when reading a ByteBuffer
The buffer was not filled as much as possible | lucastheisen_jsch-nio | train | java |
54ebb431b899b9553ae703b3fde76831b12f622a | diff --git a/lxd/project/project_test.go b/lxd/project/project_test.go
index <HASH>..<HASH> 100644
--- a/lxd/project/project_test.go
+++ b/lxd/project/project_test.go
@@ -6,7 +6,7 @@ import (
"github.com/lxc/lxd/lxd/project"
)
-func ExamplePrefix() {
+func ExampleInstance() {
prefixed := project.Instance(project... | lxd/project/project/test: Updates for project.Instance rename | lxc_lxd | train | go |
ba8fcfa919ec4d5cf7250b99c39c1026f4c5315d | diff --git a/bottle_session.py b/bottle_session.py
index <HASH>..<HASH> 100644
--- a/bottle_session.py
+++ b/bottle_session.py
@@ -19,7 +19,7 @@ from bottle import request
from bottle import response
import uuid
-__version__ = '0.7'
+__version__ = '0.8'
try:
from Crypto.Random import get_random_bytes
@@ -90... | Update version number and fix mistake of python version number for compatibility with new inspect methods. | devries_bottle-session | train | py |
58c25beeb62039d0702dee3ed033c204debd18ca | diff --git a/lib/plugins/index.js b/lib/plugins/index.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/index.js
+++ b/lib/plugins/index.js
@@ -19,7 +19,11 @@ module.exports = (context, pluginsPath) => {
if (isPlainObject(plugin)) {
Object.entries(plugin).forEach(([type, func]) => {
... | fix: fix logs for plugins loaded with `plugins` option | semantic-release_semantic-release | train | js |
57a1d3c23b18cd6bf661b383bc6eeb1d5405dea1 | diff --git a/source/rafcon/statemachine/states/state.py b/source/rafcon/statemachine/states/state.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/statemachine/states/state.py
+++ b/source/rafcon/statemachine/states/state.py
@@ -802,16 +802,10 @@ class State(Observable, YAMLObject, JSONObject, Hashable):
... | Fix issues introduced by f<I>a<I>d | DLR-RM_RAFCON | train | py |
e0cecf8b9017be178bea3f3776ceb928cbee1d87 | diff --git a/SingularityService/src/main/java/com/hubspot/singularity/resources/StaticCatchallResource.java b/SingularityService/src/main/java/com/hubspot/singularity/resources/StaticCatchallResource.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/resources/StaticCatchall... | Fix appRoot for catchall resource. | HubSpot_Singularity | train | java |
bcf041692b90b6202e8c9b517333a5a0f4e6c1c4 | diff --git a/jOOX/src/main/java/org/joox/Impl.java b/jOOX/src/main/java/org/joox/Impl.java
index <HASH>..<HASH> 100644
--- a/jOOX/src/main/java/org/joox/Impl.java
+++ b/jOOX/src/main/java/org/joox/Impl.java
@@ -1996,9 +1996,10 @@ class Impl implements Match {
Impl result = new Impl(document, namespaces);
... | Fixed bug. We need to copy elements before we start sorting. | jOOQ_jOOX | train | java |
56da9d53f8d245b2125d683938977fec1e1dd0f3 | diff --git a/zipline/core/monitor.py b/zipline/core/monitor.py
index <HASH>..<HASH> 100644
--- a/zipline/core/monitor.py
+++ b/zipline/core/monitor.py
@@ -105,7 +105,8 @@ class Controller(object):
self.context = self.zmq.Context()
self.zmq_poller = self.zmq.Poller
- log.warning... | Fixed other stray logging statement. | quantopian_zipline | train | py |
60b917b0deaab6879dc0b176b8df76279dc93727 | diff --git a/lib/interactive_rspec.rb b/lib/interactive_rspec.rb
index <HASH>..<HASH> 100644
--- a/lib/interactive_rspec.rb
+++ b/lib/interactive_rspec.rb
@@ -59,12 +59,20 @@ module InteractiveRspec
def self.run_specs(specs)
# to avoid auto_run at_exit
RSpec::Core::Runner.instance_variable_set '@autorun_di... | spec parameter for irspec method can be fuzzy_match
e.g.
spec/models/user => spec/models/user_spec.rb
models/user => spec/models/user_spec.rb
models => spec/models/**/*_spec.rb | amatsuda_interactive_rspec | train | rb |
6ab27e4afa51f56b2de03b5e62f5ab45edeec701 | diff --git a/index/scorch/scorch.go b/index/scorch/scorch.go
index <HASH>..<HASH> 100644
--- a/index/scorch/scorch.go
+++ b/index/scorch/scorch.go
@@ -79,6 +79,10 @@ func NewScorch(storeName string, config map[string]interface{}, analysisQueue *i
if ok {
rv.readOnly = ro
}
+ // hack for now to disable safe batch... | quick hack to disable safe batches in fts | blevesearch_bleve | train | go |
d877fdc4ba66df2dc05a757d082570dd99019cef | diff --git a/lib/write_xlsx/workbook.rb b/lib/write_xlsx/workbook.rb
index <HASH>..<HASH> 100644
--- a/lib/write_xlsx/workbook.rb
+++ b/lib/write_xlsx/workbook.rb
@@ -1195,7 +1195,7 @@ module Writexlsx
@worksheets.first.select if @activesheet == 0
# Set the active sheet.
- @worksheets.each { |sheet... | Workbook#store_workbook : remove loop when setting the active sheet. | cxn03651_write_xlsx | train | rb |
03a4150be9254f4472842fe8383171a71b0f039b | diff --git a/src/main/java/org/sql2o/Query.java b/src/main/java/org/sql2o/Query.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/sql2o/Query.java
+++ b/src/main/java/org/sql2o/Query.java
@@ -283,7 +283,7 @@ public class Query {
});
}
catch(SQLException ex){
- throw ... | added better error message, when executeAndFetch fails. | aaberg_sql2o | train | java |
15b0ceeb7cd278bb0c2fcf9af19247acf12f9e09 | diff --git a/src/Leevel/Console/Application.php b/src/Leevel/Console/Application.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Console/Application.php
+++ b/src/Leevel/Console/Application.php
@@ -79,8 +79,6 @@ class Application extends SymfonyApplication
/**
* 返回应用容器.
- *
- * @return \Leevel\Di\... | chore(console): fix for phpstan level 3 | hunzhiwange_framework | train | php |
1083a3f5c648e87464e25815779690eed1fb3296 | diff --git a/core/src/main/java/hudson/model/Queue.java b/core/src/main/java/hudson/model/Queue.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/Queue.java
+++ b/core/src/main/java/hudson/model/Queue.java
@@ -1567,8 +1567,15 @@ public class Queue extends ResourceController implements Saveable {
... | JENKINS-<I>: Queue.maintain - tolerate misbehaving sorter.sortBuildableItems()
Any plugin that implements the sort step could throw an exception which would break
the maintain() step. As sorting is really an optional step, it really should not be fatal.
Instead, we wrap the step in a try block, log it, and move on wi... | jenkinsci_jenkins | train | java |
0968e9784f673f860de0827e5085157dd3e0e4e6 | diff --git a/core/http/src/main/java/org/trellisldp/http/TrellisHttpResource.java b/core/http/src/main/java/org/trellisldp/http/TrellisHttpResource.java
index <HASH>..<HASH> 100644
--- a/core/http/src/main/java/org/trellisldp/http/TrellisHttpResource.java
+++ b/core/http/src/main/java/org/trellisldp/http/TrellisHttpRes... | Add a little logging for exceptions | trellis-ldp_trellis | train | java |
77258c1a7e62af61793253b04b1d81e653c3659e | diff --git a/lib/protocol/constants.js b/lib/protocol/constants.js
index <HASH>..<HASH> 100644
--- a/lib/protocol/constants.js
+++ b/lib/protocol/constants.js
@@ -105,6 +105,8 @@ const SUPPORTED_CIPHER = DEFAULT_CIPHER.concat([
'aes128-cbc',
'blowfish-cbc',
'3des-cbc',
+ 'aes128-gcm',
+ 'aes256-gcm',
//... | protocol/constants: re-add non-OpenSSH variants of 'aes<I>-gcm' and 'aes<I>-gcm' to supported ciphers | mscdex_ssh2 | train | js,js |
f649a71b74f8b87cee2e81873be65f8675114684 | diff --git a/src/Bridges/NetteDI/DIRepositoryFinder.php b/src/Bridges/NetteDI/DIRepositoryFinder.php
index <HASH>..<HASH> 100644
--- a/src/Bridges/NetteDI/DIRepositoryFinder.php
+++ b/src/Bridges/NetteDI/DIRepositoryFinder.php
@@ -41,6 +41,7 @@ class DIRepositoryFinder implements IRepositoryFinder
$repositories = []... | bridge/nette: recastring service name to string as it may be a numeric-string [closes #<I>] | nextras_orm | train | php |
4f2eab9cdc32c3c5fcd032f10afa209120c9fc1d | diff --git a/rinoh/text.py b/rinoh/text.py
index <HASH>..<HASH> 100644
--- a/rinoh/text.py
+++ b/rinoh/text.py
@@ -36,6 +36,7 @@ Some characters with special properties and are represented by special classes:
"""
import re
+import unicodedata
from .dimension import PT
from .font.style import MEDIUM, UPRIGHT, NO... | Be more verbose about the no-break space | brechtm_rinohtype | train | py |
f572b5ce11fcb80131478d34ddde49ba2147c22f | diff --git a/bundle/QueryType/QueryExecutor.php b/bundle/QueryType/QueryExecutor.php
index <HASH>..<HASH> 100644
--- a/bundle/QueryType/QueryExecutor.php
+++ b/bundle/QueryType/QueryExecutor.php
@@ -93,8 +93,10 @@ final class QueryExecutor
'page' => $queryDefinition->page,
];
+ $params = ... | Fix overriding all params, not just QueryType params | netgen_ezplatform-site-api | train | php |
f345320a0f958ccad63c3aab5e0b4136bc475720 | diff --git a/Controller/ShareNewsItemHandler.php b/Controller/ShareNewsItemHandler.php
index <HASH>..<HASH> 100755
--- a/Controller/ShareNewsItemHandler.php
+++ b/Controller/ShareNewsItemHandler.php
@@ -12,6 +12,7 @@ namespace CampaignChain\Activity\LinkedInBundle\Controller;
use CampaignChain\Channel\LinkedInBundle... | CE-<I> remember to user url sanitizer | CampaignChain_activity-linkedin | train | php |
2d1e73e3c266f01f93069204c853cd42fcb73f0b | diff --git a/seriously/test/tests.py b/seriously/test/tests.py
index <HASH>..<HASH> 100755
--- a/seriously/test/tests.py
+++ b/seriously/test/tests.py
@@ -335,7 +335,7 @@ class MathTests(SeriousTest):
self.assert_serious('[1+2j,2+1j]Σ', [3+3j])
self.assert_serious('[1+2j,2+1j]π', [5j])
self.a... | use closeness test on rms | Mego_Seriously | train | py,py |
a9824bc2259ea7cb455091ab5245b3b6186fb819 | diff --git a/lib/vtor_checks.py b/lib/vtor_checks.py
index <HASH>..<HASH> 100755
--- a/lib/vtor_checks.py
+++ b/lib/vtor_checks.py
@@ -24,7 +24,7 @@ def sigStrToKwArgsDict(checkFuncSig):
argParts = [x.strip() for x in argParts]
retval = {}
for argPair in argParts:
- argSpl = argPair.split('=')
+ ... | for #<I>; fixed bug in sigStrToKwArgsDict() - the value of an arg (keyval in returned dict) was being cut short if it contained an equals sign; there were no known uses of this yet but it will be important to embedded code in .cfgspc triggers
git-svn-id: <URL> | spacetelescope_stsci.tools | train | py |
2068042f055b73dbbb5548e8830737040ddb7963 | diff --git a/packages/mathjax/src/node.js b/packages/mathjax/src/node.js
index <HASH>..<HASH> 100644
--- a/packages/mathjax/src/node.js
+++ b/packages/mathjax/src/node.js
@@ -15,6 +15,7 @@ type Props = {
class Node extends React.Component<Props, *> {
script: ?HTMLScriptElement;
+ nodeRef: React.ElementRef<*>;
... | migrate to createRef API (#<I>) | nteract_nteract | train | js |
b9a92c81b97af7890f50e3cafc8f0402ccf2f1bb | diff --git a/shortmomi/affinity_rules.py b/shortmomi/affinity_rules.py
index <HASH>..<HASH> 100644
--- a/shortmomi/affinity_rules.py
+++ b/shortmomi/affinity_rules.py
@@ -27,7 +27,7 @@ def get_affinity_rules(cluster, search_criteria):
for rule in cluster.configuration.rule:
# Keys are unique
if r... | Return a list, no matter the type of input (key/name) | pschmitt_shortmomi | train | py |
ae8ee53e8a717cc8d69ae238afd3e1e6d06ad90a | diff --git a/src/Valkyrja/Console/Commands/CacheAllCommand.php b/src/Valkyrja/Console/Commands/CacheAllCommand.php
index <HASH>..<HASH> 100644
--- a/src/Valkyrja/Console/Commands/CacheAllCommand.php
+++ b/src/Valkyrja/Console/Commands/CacheAllCommand.php
@@ -56,6 +56,9 @@ class CacheAllCommand extends CommandHandler
... | Fixing cache all command's sync. | valkyrjaio_valkyrja | train | php |
e4fe216bddb1d93dc153876f6336231ceb1a602a | diff --git a/spec/jekyll-relative-links/generator_spec.rb b/spec/jekyll-relative-links/generator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/jekyll-relative-links/generator_spec.rb
+++ b/spec/jekyll-relative-links/generator_spec.rb
@@ -83,6 +83,11 @@ RSpec.describe JekyllRelativeLinks::Generator do
expect(pag... | Add it "handles links with escaped nested square brackets" to generator_spec | benbalter_jekyll-relative-links | train | rb |
886ae5cdc07de403cd4235907345f511c11bc6d0 | diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -46,6 +46,9 @@ var SPDYProxy = function(options) {
// write out headers to handle redirects
res.writeHead(rres.statusCode, '', rres.headers);
rres.pipe(res);
+
+ // Res could not w... | server: terminate connection when on socket close | igrigorik_node-spdyproxy | train | js |
5c2e19ab238fb4e8ba6ed96b217e8597789d12f1 | diff --git a/modules/@apostrophecms/storybook/index.js b/modules/@apostrophecms/storybook/index.js
index <HASH>..<HASH> 100644
--- a/modules/@apostrophecms/storybook/index.js
+++ b/modules/@apostrophecms/storybook/index.js
@@ -69,7 +69,7 @@ module.exports = {
// https://github.com/ueberdosis/tiptap/issues/760
... | new regex for sniping aposrichtexteditor from loading up during storybook | apostrophecms_apostrophe | train | js |
82757342c5361630c05ee1571ba29a089d515f25 | diff --git a/visidata/vdtui.py b/visidata/vdtui.py
index <HASH>..<HASH> 100755
--- a/visidata/vdtui.py
+++ b/visidata/vdtui.py
@@ -2208,7 +2208,7 @@ class SubrowColumn(Column):
def recalc(self, sheet=None):
Column.recalc(self, sheet)
- self.origcol.recalc(sheet)
+ self.origcol.recalc() # ... | [cache] bugfix for exp-digits; forwarded recalc on SubrowColumn needs to let origcol keep its sheet | saulpw_visidata | train | py |
1e5d76360319ee6cb3b875b962e0c6146ee67966 | diff --git a/src/Formatter/Formatter.php b/src/Formatter/Formatter.php
index <HASH>..<HASH> 100755
--- a/src/Formatter/Formatter.php
+++ b/src/Formatter/Formatter.php
@@ -12,10 +12,13 @@ class Formatter
*/
public function fill($payload)
{
+ $response = array();
+
$payload = $this->determ... | added the response field to the returned message payload to conform with previous version return | au-research_ANDS-DOI-Service | train | php,php |
1f892bbce95cf5437aaafa1e8b4ffc21b1e38516 | diff --git a/holoviews/plotting/bokeh/plot.py b/holoviews/plotting/bokeh/plot.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/plot.py
+++ b/holoviews/plotting/bokeh/plot.py
@@ -3,7 +3,7 @@ import numpy as np
import param
-from bokeh.models import (ColumnDataSource, VBox, HBox, Column, Row, Div)
+from... | Replaced deprecated VBox and HBox imports (#<I>) | pyviz_holoviews | train | py |
326c33bd1eed0b15731e29a4a489bb38d8f4c801 | diff --git a/devices/ikea.js b/devices/ikea.js
index <HASH>..<HASH> 100644
--- a/devices/ikea.js
+++ b/devices/ikea.js
@@ -99,12 +99,19 @@ module.exports = [
},
{
zigbeeModel: ['TRADFRI bulb E27 opal 470lm', 'TRADFRI bulb E27 W opal 470lm', 'TRADFRIbulbT120E27WSopal470lm'],
- model: 'LED1937T5... | Add LED<I>T5_E<I> (#<I>)
* Add support for E<I> version of LED<I>T5
Based on original E<I>
* Update ikea.js | Koenkk_zigbee-shepherd-converters | train | js |
4beaa9b839c3ab0574a18174018adae109212c0e | diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/buffered_logger.rb
+++ b/activesupport/lib/active_support/buffered_logger.rb
@@ -107,6 +107,11 @@ Automatic directory creation for '#{... | Try to keep people from calling the deprecated flush method. | rails_rails | train | rb |
648d4c96b7b21a36c3f2aff70dd1520dbb31c740 | diff --git a/lib/middleware/static.js b/lib/middleware/static.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/static.js
+++ b/lib/middleware/static.js
@@ -9,14 +9,18 @@
module.exports = function (config) {
config = config || {};
return function (req, res, next) {
+ var active = true;
res.__.sendFile(... | Give up control when next() is called | firebase_superstatic | train | js |
316ddd8d384d0b9cf872b19713a6c806187b340e | diff --git a/test/java/src/test/java/ghostdriver/BaseTest.java b/test/java/src/test/java/ghostdriver/BaseTest.java
index <HASH>..<HASH> 100644
--- a/test/java/src/test/java/ghostdriver/BaseTest.java
+++ b/test/java/src/test/java/ghostdriver/BaseTest.java
@@ -106,7 +106,7 @@ public abstract class BaseTest {
// ... | Compilation error on BaseTest; setting to 'String' type in initialisation | detro_ghostdriver | train | java |
af0a501a744e5151e0256047e0218b635b52e0c2 | diff --git a/generators/app/templates/tasks/karma.js b/generators/app/templates/tasks/karma.js
index <HASH>..<HASH> 100644
--- a/generators/app/templates/tasks/karma.js
+++ b/generators/app/templates/tasks/karma.js
@@ -34,7 +34,7 @@ module.exports = {
},
// Plugin unit tests
- plugin: {
+ 'back-office': {
... | commands: rename karma:plugin
karma:plugin of the generated plugin has been
renamed into karma:back-office. | veo-labs_openveo-plugin-generator | train | js |
ba8b6d5e81bf9d47c5972a714f4ca574a4fe12e9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -48,6 +48,10 @@ FCM.getFCMToken = () => {
return RNFIRMessaging.getFCMToken();
};
+FCM.deleteInstanceId = () =>{
+ return RNFIRMessaging.deleteInstanceId();
+};
+
FCM.getAPNSToken = () => {
if (Platform.OS === 'ios'... | included delete instance function on index.js | evollu_react-native-fcm | train | js |
5cea6624d39ae5f49823553d479e743ff18a8717 | diff --git a/infer.js b/infer.js
index <HASH>..<HASH> 100644
--- a/infer.js
+++ b/infer.js
@@ -362,6 +362,10 @@
}
};
Obj.prototype.gatherProperties = function(prefix, out) {
+ // 'hasOwnProperty' and such are usually just noise, leave them
+ // out when no prefix is provided.
+ if (this == cx.protos... | New approach to hiding Object.prototype props | ternjs_tern | train | js |
e7bf5889d9c303e97d7f35067d4faef94fe5486f | diff --git a/git_repo/repo.py b/git_repo/repo.py
index <HASH>..<HASH> 100644
--- a/git_repo/repo.py
+++ b/git_repo/repo.py
@@ -337,9 +337,10 @@ class GitRepoRunner(KeywordArgumentParser):
def do_clone(self, service=None, repo_path=None):
service = service or self.get_service(lookup_repository=False)
... | Allow cloning into exisiting empty directories | guyzmo_git-repo | train | py |
0fb1c6a8021a13ccd66b1e473be6aacf288c4ec8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -45,14 +45,15 @@ setup(
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
- 'Development Status :: 4 - Beta',
+ 'Develo... | Cleaning up setup
- removing 'six' dependency
- re-classifying as 'stable'
- adding 'Education' as intended audience | urschrei_pyzotero | train | py |
21dd84cd21e5a74d0d3bb6a4b4f911c1bd5b17e5 | diff --git a/numina/array/wavecalib/__main__.py b/numina/array/wavecalib/__main__.py
index <HASH>..<HASH> 100644
--- a/numina/array/wavecalib/__main__.py
+++ b/numina/array/wavecalib/__main__.py
@@ -654,8 +654,8 @@ def main(args=None):
fxpeaks=fxpeaks,
poly_degree_wfit=args.degree,
wv_master=... | Fix error when the user does not provide wvmin and wvmax | guaix-ucm_numina | train | py |
2f3e18e1c76a440ba5ddb720e21c0db2fd12bbbd | diff --git a/npn-boot/src/main/java/sun/security/ssl/Handshaker.java b/npn-boot/src/main/java/sun/security/ssl/Handshaker.java
index <HASH>..<HASH> 100644
--- a/npn-boot/src/main/java/sun/security/ssl/Handshaker.java
+++ b/npn-boot/src/main/java/sun/security/ssl/Handshaker.java
@@ -1085,7 +1085,6 @@ abstract class Hand... | Incorporated jdk7u9-b<I> changes. | jetty-project_jetty-npn | train | java |
9166a3c062cb988a9d0a92ff9e74c2635c98b62a | diff --git a/src/services/localeService.js b/src/services/localeService.js
index <HASH>..<HASH> 100644
--- a/src/services/localeService.js
+++ b/src/services/localeService.js
@@ -6,25 +6,32 @@ angular
'use strict';
- var localeData = $window.cc.Lang;
-
var self = {};
- self.getTran... | feat(localeService): make service configurable and add option to fail silently | sofa_angular-sofa-template-code | train | js |
bcb4369cc49bab830445195b96e52ca18a2a343f | diff --git a/src/Message/AIMAuthorizeRequest.php b/src/Message/AIMAuthorizeRequest.php
index <HASH>..<HASH> 100644
--- a/src/Message/AIMAuthorizeRequest.php
+++ b/src/Message/AIMAuthorizeRequest.php
@@ -17,8 +17,10 @@ class AIMAuthorizeRequest extends AIMAbstractRequest
$data = $this->getBaseData();
$... | Issue <I> move order of billTo and customerIp elements in AIM authorisation. | thephpleague_omnipay-authorizenet | train | php |
7f89594da9d286f91cd9379586c204cb7d5b1d7f | diff --git a/test/test-core.js b/test/test-core.js
index <HASH>..<HASH> 100644
--- a/test/test-core.js
+++ b/test/test-core.js
@@ -17,6 +17,23 @@ function compose ( test ) {
});
}
+
+function concat ( test ) {
+ var
+ promise_one = promix.next('bar'),
+ promise_two = promix.next('wat');
+
+ test.expect(1);
+ pro... | Adding a new unit test for the promix.concat() utility method. | pachet_promix | train | js |
21461ab0313ef40c2055be9fecbf86a7c99f6519 | diff --git a/gae/model/model.go b/gae/model/model.go
index <HASH>..<HASH> 100644
--- a/gae/model/model.go
+++ b/gae/model/model.go
@@ -3,9 +3,12 @@ package model
import (
"appengine"
"appengine/datastore"
+ "crypto/md5"
goerrors "errors"
+ "fmt"
"github.com/knightso/base/errors"
"github.com/qedus/nds"
+ "io"... | added AddHashPrefix func.
It's to avoid tab split. | knightso_base | train | go |
3492affab4035de59eefc1cfc67f4ac918b06d6d | diff --git a/dist/csob-client.php b/dist/csob-client.php
index <HASH>..<HASH> 100644
--- a/dist/csob-client.php
+++ b/dist/csob-client.php
@@ -1045,6 +1045,8 @@ class Client {
$string = implode("|", $responseWithoutSignature);
+ $this->writeToTraceLog("String for verifying signature: \"" . $string . "\", using ... | Added logging of signature verification base for better debugging | ondrakoupil_csob | train | php,php |
14b9a87bb4659c9e5a728897916c6379b9613a46 | diff --git a/hagelslag/processing/EnsembleProducts.py b/hagelslag/processing/EnsembleProducts.py
index <HASH>..<HASH> 100644
--- a/hagelslag/processing/EnsembleProducts.py
+++ b/hagelslag/processing/EnsembleProducts.py
@@ -156,7 +156,7 @@ class MachineLearningEnsembleProducts(EnsembleProducts):
del... | Edited MachineLearningEnsembleProducts to extract mean of sampled hail sizes for neighborhood probabilities. | djgagne_hagelslag | train | py |
6c1bbf918d2ef3d25c800ede60828f7e94a0b7cf | diff --git a/cmd/gateway/s3/gateway-s3.go b/cmd/gateway/s3/gateway-s3.go
index <HASH>..<HASH> 100644
--- a/cmd/gateway/s3/gateway-s3.go
+++ b/cmd/gateway/s3/gateway-s3.go
@@ -601,7 +601,7 @@ func (l *s3Objects) CompleteMultipartUpload(ctx context.Context, bucket string,
return oi, minio.ErrorRespToObjectError(err, ... | do not add quotes around etag, if already present (#<I>) | minio_minio | train | go |
5bbeaa5a62bd02a23cfa83566136cf787dd6f776 | diff --git a/refextract/references/config.py b/refextract/references/config.py
index <HASH>..<HASH> 100644
--- a/refextract/references/config.py
+++ b/refextract/references/config.py
@@ -37,7 +37,6 @@ except ImportError:
import pkg_resources
# Version number:
-CFG_PATH_GFILE = os.environ.get('CFG_PATH_GFILE', which... | global: remove CFG_PATH_GFILE
Since commit <I>f0ccfb we don't depend anymore from the ``file`` utility,
so this configuration variable is no longer needed. | inspirehep_refextract | train | py,py |
de24514dde3c865658c272c90aff1d6bb5d80dd0 | diff --git a/src/components/Editor/Footer.js b/src/components/Editor/Footer.js
index <HASH>..<HASH> 100644
--- a/src/components/Editor/Footer.js
+++ b/src/components/Editor/Footer.js
@@ -5,6 +5,9 @@
// @flow
import React, { PureComponent } from "react";
import { connect } from "react-redux";
+import { isOriginalId }... | [Footer] Don't show mapped source footer link when source is original (#<I>) | firefox-devtools_debugger | train | js |
4282eac06737e21243d0657964d31c4e5b443ebd | diff --git a/common/src/test/java/io/druid/timeline/VersionedIntervalTimelineTest.java b/common/src/test/java/io/druid/timeline/VersionedIntervalTimelineTest.java
index <HASH>..<HASH> 100644
--- a/common/src/test/java/io/druid/timeline/VersionedIntervalTimelineTest.java
+++ b/common/src/test/java/io/druid/timeline/Vers... | Add missing timeline test for VersionedIntervalTimelineTest | apache_incubator-druid | train | java |
f138b900d99dafb85eee1372880084ce59e8356f | diff --git a/src/test/java/com/fatboyindustrial/gsonjavatime/InstantConverterTest.java b/src/test/java/com/fatboyindustrial/gsonjavatime/InstantConverterTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/fatboyindustrial/gsonjavatime/InstantConverterTest.java
+++ b/src/test/java/com/fatboyindustrial/gsonjava... | Example of test that actually fails if the appropriate converter is not
registered | gkopff_gson-javatime-serialisers | train | java |
8b6137c2cca9ad7817c3293542bcda3b3ef2f3a4 | diff --git a/tests/functional_tests/test_providers.py b/tests/functional_tests/test_providers.py
index <HASH>..<HASH> 100644
--- a/tests/functional_tests/test_providers.py
+++ b/tests/functional_tests/test_providers.py
@@ -41,7 +41,6 @@ PROVIDERS = sorted([(k, v) for k, v in fixtures.ASSEMBLED_CONFIG.items()
PROVIDERS... | The expected value of the content should contain test is now casted to str. | authomatic_authomatic | train | py |
1edcad02478b1cf9cceea2a8ceb6b71073792892 | diff --git a/pvserver.js b/pvserver.js
index <HASH>..<HASH> 100755
--- a/pvserver.js
+++ b/pvserver.js
@@ -1,6 +1,8 @@
"use strict";
-/*globals Buffer: true, require: true, module: true */
+/* jshint strict: true */
+/* jshint node: true */
+/* jshint unused: true */
var prom = require('bluebird');
var qs = requ... | Added proper jshint directives. | pVelocity_pvserver | train | js,js |
363e75b6987edb4dc65815dadb1f9bf00396fe2b | diff --git a/lib/perpetuity/postgres.rb b/lib/perpetuity/postgres.rb
index <HASH>..<HASH> 100644
--- a/lib/perpetuity/postgres.rb
+++ b/lib/perpetuity/postgres.rb
@@ -57,7 +57,7 @@ module Perpetuity
end
def find klass, id
- retrieve klass, query { |o| o.id == id }.to_db
+ retrieve(klass, query { |... | Move `first` call to `find` | jgaskins_perpetuity-postgres | train | rb |
baf2b1f9d5da5e461ee858d689defe6584761f5b | diff --git a/src/Adapter.php b/src/Adapter.php
index <HASH>..<HASH> 100644
--- a/src/Adapter.php
+++ b/src/Adapter.php
@@ -532,6 +532,10 @@ class Adapter
return $this->doBeginTransaction();
}
+ /**
+ * @param bool $hasCaughtException
+ * @return bool
+ */
protected function doBeginTr... | Add doc block for protected begin transaction method | phlib_db | train | php |
be46e4fe0cc1451e3f4266ec923ee51edf4fcd45 | diff --git a/idxmap/doc.go b/idxmap/doc.go
index <HASH>..<HASH> 100644
--- a/idxmap/doc.go
+++ b/idxmap/doc.go
@@ -16,7 +16,7 @@
// - write & lookup data by indexes
// - index data using multiple indexes
// - watch data changes in the map
-// - create local cache data of key value store (such as ETCD).
+// - create ... | Update doc.go
minor edits (grammar & typos) | ligato_cn-infra | train | 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.