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 |
|---|---|---|---|---|---|
1e214504085248b77a41d97e90cc9903cc524005 | diff --git a/entry.go b/entry.go
index <HASH>..<HASH> 100644
--- a/entry.go
+++ b/entry.go
@@ -13,12 +13,17 @@ import (
var bufferPool *sync.Pool
+// regex for validation is external, to reduce compilation overhead
+var matchesLogrus *regexp.Regexp
+
func init() {
bufferPool = &sync.Pool{
New: func() interfa... | push compilation even higher, to reduce to one call | sirupsen_logrus | train | go |
7fc70f35bdd1214bda9c6213d881e9513120a79d | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -384,7 +384,12 @@ class JanusAdapter {
configureSubscriberSdp(originalSdp) {
if (!isH264VideoSupported) {
- return originalSdp;
+ if (navigator.userAgent.indexOf("HeadlessChrome") !== -1) {
... | workaround headless chrome webrtc video support | mozilla_naf-janus-adapter | train | js |
650c6ac9355952f41814d1303164361ef680b6fa | diff --git a/local_settings/base.py b/local_settings/base.py
index <HASH>..<HASH> 100644
--- a/local_settings/base.py
+++ b/local_settings/base.py
@@ -79,10 +79,7 @@ class Base(ColorPrinter):
self.section = section
def _make_parser(self, *args, **kwargs):
- kwargs.setdefault('interpolation', Exte... | Add subclass of ConfigParser
Currently, this doesn't do any customization beyond what we were doing
before, but this is A) a better way to override defaults and B) more-
easily extensible. | PSU-OIT-ARC_django-local-settings | train | py |
12a6992eedccd481fb6c3f91d8726f1019bf56ea | diff --git a/go/vt/tabletserver/queryctl.go b/go/vt/tabletserver/queryctl.go
index <HASH>..<HASH> 100644
--- a/go/vt/tabletserver/queryctl.go
+++ b/go/vt/tabletserver/queryctl.go
@@ -241,10 +241,3 @@ func InitQueryService() {
TxLogger.ServeLogs(*txLogHandler, buildFmter(TxLogger))
RegisterQueryService()
}
-
-// Qu... | custom rule support resturctured | vitessio_vitess | train | go |
ede068ac74c2e6884c4900dc84f9f5b47280f213 | diff --git a/email/views/structure/header.php b/email/views/structure/header.php
index <HASH>..<HASH> 100644
--- a/email/views/structure/header.php
+++ b/email/views/structure/header.php
@@ -250,7 +250,8 @@
<div class="padder">
<?php
- if (nailsEnvironment('not', 'PRODUCTION')) {
+
+ if (\... | Tidying up, removing deprecated function calls | nails_module-email | train | php |
1e8fa503d67098b1441b035c855abe6a9e854ef6 | diff --git a/pale/endpoint.py b/pale/endpoint.py
index <HASH>..<HASH> 100644
--- a/pale/endpoint.py
+++ b/pale/endpoint.py
@@ -188,13 +188,23 @@ class Endpoint(object):
*
*
``_after_response_handler``
- The `_after_response_handlers` are sepcified ... | Implements _finalize_content response handler. | Loudr_pale | train | py |
ac72da9b0e6d15a8c65047ad637222311892bcb1 | diff --git a/server/requirements/requirements.php b/server/requirements/requirements.php
index <HASH>..<HASH> 100644
--- a/server/requirements/requirements.php
+++ b/server/requirements/requirements.php
@@ -6,10 +6,10 @@
/** @var RequirementsChecker $this */
$requirements = array(
array(
- 'name' => 'PHP ... | Bump PHP requirement to <I> for Craft <I> | craftcms_server-check | train | php |
0eb479d8110ccaab0b28af9adde30c8c133bd613 | diff --git a/main/src/main/java/tachyon/web/WebInterfaceBrowseServlet.java b/main/src/main/java/tachyon/web/WebInterfaceBrowseServlet.java
index <HASH>..<HASH> 100644
--- a/main/src/main/java/tachyon/web/WebInterfaceBrowseServlet.java
+++ b/main/src/main/java/tachyon/web/WebInterfaceBrowseServlet.java
@@ -221,6 +221,10... | fix UI: display file may crash due to IOException | Alluxio_alluxio | train | java |
abb5ff8a2c8a77739808df1774004848ab2ecb39 | diff --git a/lib/neo4j/active_node/query/query_proxy_methods.rb b/lib/neo4j/active_node/query/query_proxy_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/neo4j/active_node/query/query_proxy_methods.rb
+++ b/lib/neo4j/active_node/query/query_proxy_methods.rb
@@ -110,10 +110,9 @@ module Neo4j
end
def... | if is cheaper than case, switch in query_proxy_methods | neo4jrb_neo4j | train | rb |
f47a064f269d270e5b82e17135ea5efe9460b9f6 | diff --git a/luigi/server.py b/luigi/server.py
index <HASH>..<HASH> 100644
--- a/luigi/server.py
+++ b/luigi/server.py
@@ -123,7 +123,7 @@ def app(api):
(r'/history/by_id/(.*?)', ByIdHandler, {'api': api}),
(r'/history/by_params/(.*?)', ByParamsHandler, {'api': api})
]
- api_app = tornado.web.... | Disabling gzip compressions since it breaks the browser
Change-Id: Ia2c1a<I>ab6df<I>ece5a<I>c<I>aa<I>b4
Reviewed-on: <URL> | spotify_luigi | train | py |
7c966e745eeb15a0b2e2029a675aedc6d8ff4a35 | diff --git a/src/Core42/Permission/Rbac/AuthorizationService.php b/src/Core42/Permission/Rbac/AuthorizationService.php
index <HASH>..<HASH> 100644
--- a/src/Core42/Permission/Rbac/AuthorizationService.php
+++ b/src/Core42/Permission/Rbac/AuthorizationService.php
@@ -123,6 +123,14 @@ class AuthorizationService
}
... | added getAllRoles for authorizationservice | kiwi-suite_core42 | train | php,php |
d9b7e38bb43d3519715bc359fbca8de5d3625d94 | diff --git a/DataColumn.php b/DataColumn.php
index <HASH>..<HASH> 100644
--- a/DataColumn.php
+++ b/DataColumn.php
@@ -18,7 +18,7 @@ class DataColumn extends \yii\grid\DataColumn
protected function renderDataCellContent($model, $key, $index)
{
$content = parent::renderDataCellContent($model, $key, $i... | Bugfix for incorrectly triggering pjax refreshes when target page also has a grid table | enigmatix_yii2-widgets | train | php |
d3d39d1b74bb0b08ccc61cbf33242dce2937af68 | diff --git a/openid/server/server.py b/openid/server/server.py
index <HASH>..<HASH> 100644
--- a/openid/server/server.py
+++ b/openid/server/server.py
@@ -493,7 +493,8 @@ class CheckIDRequest(OpenIDRequest):
@ivar trust_root: "Are you Frank?" asks the checkid request. "Who wants
to know?" C{trust_root},... | [project @ server.server.CheckIDRequest: mention that trust_root AKA realm in the docstring.] | openid_python-openid | train | py |
aa905f25868f20eccf37b481d9c9041ec87e41c9 | diff --git a/src/Kunstmaan/AdminBundle/Controller/SettingsController.php b/src/Kunstmaan/AdminBundle/Controller/SettingsController.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/AdminBundle/Controller/SettingsController.php
+++ b/src/Kunstmaan/AdminBundle/Controller/SettingsController.php
@@ -42,12 +42,21 @@ class... | Do not crash if version checker throws exception | Kunstmaan_KunstmaanBundlesCMS | train | php |
096dfe582a8b4ec07c9522c387f55c0f70e5d211 | diff --git a/src/Storage/Field/Type/FieldTypeBase.php b/src/Storage/Field/Type/FieldTypeBase.php
index <HASH>..<HASH> 100644
--- a/src/Storage/Field/Type/FieldTypeBase.php
+++ b/src/Storage/Field/Type/FieldTypeBase.php
@@ -77,9 +77,9 @@ abstract class FieldTypeBase implements FieldTypeInterface
$type = $this... | fix the persist to handle non-contenttype fields without default mappings | bolt_bolt | train | php |
ca6a8f02b761f714c0be13ffd1c4dfbf490a1320 | diff --git a/remi/gui.py b/remi/gui.py
index <HASH>..<HASH> 100644
--- a/remi/gui.py
+++ b/remi/gui.py
@@ -3986,7 +3986,7 @@ class FileUploader(Container):
def savepath(self, value):
self._savepath = value
- def __init__(self, savepath='./', multiple_selection_allowed=False, accepted_files='*.*' *ar... | Added missing comma in function declaration | dddomodossola_remi | train | py |
37808fbc5353890cba413f347de37febcd596b21 | diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/ec2.py
+++ b/salt/cloud/clouds/ec2.py
@@ -1818,7 +1818,9 @@ def request_instance(vm_=None, call=None):
if userdata is not None:
try:
- params[spot_prefix + 'UserData'] = base64... | Make sure we pass userdata as bytes to base<I> encoder | saltstack_salt | train | py |
ed4cab65704fb5c1c5f0c1071590ca0a7b3fbf4e | diff --git a/kafka/conn.py b/kafka/conn.py
index <HASH>..<HASH> 100644
--- a/kafka/conn.py
+++ b/kafka/conn.py
@@ -354,7 +354,7 @@ class BrokerConnection(object):
next_lookup = self._next_afi_sockaddr()
if not next_lookup:
self.close(Errors.KafkaConnectionError('DNS failure'))... | Return connection state explicitly after close in connect() (#<I>) | dpkp_kafka-python | train | py |
f93617a9d02ab3d2ec2cfbd40b9f9cedd97a36d0 | diff --git a/honeybadger/__init__.py b/honeybadger/__init__.py
index <HASH>..<HASH> 100644
--- a/honeybadger/__init__.py
+++ b/honeybadger/__init__.py
@@ -14,4 +14,4 @@ from .version import __version__
__all__ = ['honeybadger', '__version__']
honeybadger = Honeybadger()
-sys.excepthook = honeybadger.exception_hook
... | added wrap_excepthook method which wraps allowing us to play nice with other libraries that might use that hook - fixes #<I> | honeybadger-io_honeybadger-python | train | py,py |
aefa94a5cbb1599e63ca5f4528fb3e89efa57fb8 | diff --git a/Kwc/Menu/EditableItems/Model.php b/Kwc/Menu/EditableItems/Model.php
index <HASH>..<HASH> 100644
--- a/Kwc/Menu/EditableItems/Model.php
+++ b/Kwc/Menu/EditableItems/Model.php
@@ -37,12 +37,17 @@ class Kwc_Menu_EditableItems_Model extends Kwf_Model_Abstract
) {
$childPagesCompon... | Menu_EditableItems: getPageOrRoot didn't give category-component but is necessary for menu | koala-framework_koala-framework | train | php |
3851a99f513bd741bc0e9be85fc311c3881d6f0b | diff --git a/siphon/simplewebservice/igra2.py b/siphon/simplewebservice/igra2.py
index <HASH>..<HASH> 100644
--- a/siphon/simplewebservice/igra2.py
+++ b/siphon/simplewebservice/igra2.py
@@ -178,7 +178,10 @@ class IGRAUpperAir:
def _cdec(power=1):
"""Make a function to convert string 'value*10^pow... | corrected bug where na_values were bypassed | Unidata_siphon | train | py |
a96eb135c1a3fbd0f80d0dbef345bc509dfa18a3 | diff --git a/lib/restful_resource/base.rb b/lib/restful_resource/base.rb
index <HASH>..<HASH> 100644
--- a/lib/restful_resource/base.rb
+++ b/lib/restful_resource/base.rb
@@ -68,6 +68,19 @@ module RestfulResource
@action_prefix = action_prefix.to_s
end
+ def self.fetch_all!(conditions={})
+ Enumer... | Method fetch_all! that retrieves all data using multiple requests | carwow_restful_resource | train | rb,rb |
202a030b82a1853b7730babe85614c2848ff1b84 | diff --git a/tests/test_metadata.py b/tests/test_metadata.py
index <HASH>..<HASH> 100644
--- a/tests/test_metadata.py
+++ b/tests/test_metadata.py
@@ -2,6 +2,7 @@ import re
from datetime import datetime, timedelta, timezone
import os
from pathlib import Path
+import sys
import xml.etree.ElementTree as ET
import ... | Skip one of the degenerate xml tests
For Python <I>, naturally. | pikepdf_pikepdf | train | py |
b05956346b093965721943f42875a0d3e655a7de | diff --git a/src/PanelGroup.js b/src/PanelGroup.js
index <HASH>..<HASH> 100644
--- a/src/PanelGroup.js
+++ b/src/PanelGroup.js
@@ -1,3 +1,5 @@
+/* eslint react/prop-types: [1, {ignore: ["children", "className", "bsStyle"]}]*/
+/* BootstrapMixin contains `bsStyle` type validation */
import React, { cloneElement } from ... | Define type for `accordion` property
in PanelGroup.js and disable superfluous warning for `bsStyle`.
BootstrapMixin contains type validation for it. | react-bootstrap_react-bootstrap | train | js |
c81e977941aa5bdbffd4a3eb7743bbd08531e59b | diff --git a/uri.js b/uri.js
index <HASH>..<HASH> 100644
--- a/uri.js
+++ b/uri.js
@@ -82,7 +82,7 @@ function parseUri(uri, callbacks){
return callbacks.ifError("too many question marks");
var address = decodeURIComponent(arrParts[0]);
var query_string = arrParts[1];
- if (!ValidationUtils.isValidAddress(address... | more accurate username checks, add phone number | byteball_ocore | train | js |
79962015ab8d020a390aa4872777efcc727f5440 | diff --git a/tests/oauth2/rfc6749/endpoints/test_error_responses.py b/tests/oauth2/rfc6749/endpoints/test_error_responses.py
index <HASH>..<HASH> 100644
--- a/tests/oauth2/rfc6749/endpoints/test_error_responses.py
+++ b/tests/oauth2/rfc6749/endpoints/test_error_responses.py
@@ -237,7 +237,6 @@ class ErrorResponseTest(T... | confirm_r. is called after auth_client | oauthlib_oauthlib | train | py |
c20f7decd374c1e582fb05d65ba67fa25742354a | diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_client.py
+++ b/tests/unit/test_client.py
@@ -100,7 +100,6 @@ class TestVNCDoToolClient(object):
image.histogram.return_value = [1, 2, 3]
result = cli._expectCompare(image, 5)
... | test_client: update for client bugfixes | sibson_vncdotool | train | py |
29ee67c7e8548391cc197429b91ae1346db472a4 | diff --git a/lib/yard/cli/yardoc.rb b/lib/yard/cli/yardoc.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/cli/yardoc.rb
+++ b/lib/yard/cli/yardoc.rb
@@ -220,8 +220,10 @@ module YARD
@has_markup = false
if defined?(::Encoding) && ::Encoding.respond_to?(:default_external=)
- ::Encoding.default_... | Avoid repeated "warning: setting Encoding.default_internal/external"
Instead of always setting the internal/external encoding to utf8, only
change it when it wasn't already utf8. | lsegal_yard | train | rb |
c1cb26bf67b9ed2db5a7081883b2326eecac285e | diff --git a/test/features/pagecontent/access_checks.js b/test/features/pagecontent/access_checks.js
index <HASH>..<HASH> 100644
--- a/test/features/pagecontent/access_checks.js
+++ b/test/features/pagecontent/access_checks.js
@@ -78,17 +78,25 @@ describe('Access checks', function() {
api = setUpNockRespon... | Modified test to make it more stable | wikimedia_restbase | train | js |
03160a6f12b96156363dfff773d8e892caa1bb15 | diff --git a/python/thunder/regression/regression.py b/python/thunder/regression/regression.py
index <HASH>..<HASH> 100755
--- a/python/thunder/regression/regression.py
+++ b/python/thunder/regression/regression.py
@@ -25,7 +25,7 @@ if not os.path.exists(outputDir) : os.makedirs(outputDir)
# parse data
lines = sc.t... | Added option for mean subtraction preprocessing | thunder-project_thunder | train | py,py |
63451543ac2c0d14e2be8a40e153d456407e3596 | diff --git a/lib/dirty.js b/lib/dirty.js
index <HASH>..<HASH> 100644
--- a/lib/dirty.js
+++ b/lib/dirty.js
@@ -57,7 +57,7 @@ Dirty.prototype.load = function() {
buffer = '',
offset = 0,
read = function() {
- self.file.read(10).addCallback(function(chunk) {
+ self.file.read(16*1024).addCallback(... | Changed load read chunk size to something more sensible | felixge_node-dirty | train | js |
5a3953579bc404e6078f027a713095d4aeac1f82 | diff --git a/imagemounter/__init__.py b/imagemounter/__init__.py
index <HASH>..<HASH> 100644
--- a/imagemounter/__init__.py
+++ b/imagemounter/__init__.py
@@ -1,8 +1,8 @@
from __future__ import print_function
from __future__ import unicode_literals
-__ALL__ = ['Volume', 'Disk', 'ImageParser']
-__version__ = '2.0.0b... | Think I am about ready for a <I> release. No backwards incompatible changes anymore I hope | ralphje_imagemounter | train | py |
6f0fa070689214eb6a123eab99f7bb1bdaba7a8f | diff --git a/src/LayoutNodeManager.js b/src/LayoutNodeManager.js
index <HASH>..<HASH> 100644
--- a/src/LayoutNodeManager.js
+++ b/src/LayoutNodeManager.js
@@ -497,9 +497,16 @@ define(function(require, exports, module) {
return undefined;
}
- // Arrays are not supported here
+ ... | Fixed getting arrays from context due to recent changes | IjzerenHein_famous-flex | train | js |
f06beaeddd02c20b740fe2d4790d6cb8bc0a3253 | diff --git a/tests/Reform/Tests/Validation/Rule/RuleTest.php b/tests/Reform/Tests/Validation/Rule/RuleTest.php
index <HASH>..<HASH> 100644
--- a/tests/Reform/Tests/Validation/Rule/RuleTest.php
+++ b/tests/Reform/Tests/Validation/Rule/RuleTest.php
@@ -21,13 +21,13 @@ abstract class RuleTest extends \PHPUnit_Framework_Te... | Cleanup RuleTest to use more generic variables. | glynnforrest_reform | train | php |
53bfbb55ab0704ec20ec8f4565cf51847b82a753 | diff --git a/query/src/test/java/org/infinispan/query/config/MultipleCachesTest.java b/query/src/test/java/org/infinispan/query/config/MultipleCachesTest.java
index <HASH>..<HASH> 100644
--- a/query/src/test/java/org/infinispan/query/config/MultipleCachesTest.java
+++ b/query/src/test/java/org/infinispan/query/config/M... | ISPN-<I> Additional API changes of Hibernate Search5 | infinispan_infinispan | train | java |
8a288ff3913e1651dc101dba5bd90c007d581e8f | diff --git a/linshareapi/user/shares.py b/linshareapi/user/shares.py
index <HASH>..<HASH> 100644
--- a/linshareapi/user/shares.py
+++ b/linshareapi/user/shares.py
@@ -98,13 +98,17 @@ class Shares2(Shares):
def get_rbu(self):
rbu = ResourceBuilder("shares")
rbu.add_field('secured', e_type=bool)
+ ... | Add missing fields to Shares2 api | fred49_linshare-api | train | py |
745522efd34919aebb11e09f451245e55f650d2b | diff --git a/lib/ronin/network/udp/proxy.rb b/lib/ronin/network/udp/proxy.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/network/udp/proxy.rb
+++ b/lib/ronin/network/udp/proxy.rb
@@ -73,13 +73,13 @@ module Ronin
readable, writtable, errors = IO.select(sockets,nil,sockets)
(errors & server_connec... | Renamed client_for to client_connection_for. | ronin-ruby_ronin-support | train | rb |
f03229b6ccc4e9ee50c0a07dab69f80d69fc8d00 | diff --git a/fbchat_archive_parser/time.py b/fbchat_archive_parser/time.py
index <HASH>..<HASH> 100644
--- a/fbchat_archive_parser/time.py
+++ b/fbchat_archive_parser/time.py
@@ -20,6 +20,7 @@ FACEBOOK_TIMESTAMP_FORMATS = [
("de_de", "dddd, D. MMMM YYYY [um] HH:mm"), # German (Germany)
("nb_no... | Added slovenian-style timestamp | ownaginatious_fbchat-archive-parser | train | py |
473d352065e6bedfdd84742fc1296da5ed27eba9 | diff --git a/biodata-models/src/main/java/org/opencb/biodata/models/variant/annotation/VariantAnnotation.java b/biodata-models/src/main/java/org/opencb/biodata/models/variant/annotation/VariantAnnotation.java
index <HASH>..<HASH> 100644
--- a/biodata-models/src/main/java/org/opencb/biodata/models/variant/annotation/Var... | feature/<I>.x: small changes at VariantAnnotation to ensure compatibility with OpenCGA annotation client | opencb_biodata | train | java |
7b6f607fbb2340994ca55c9bac61d8bcca231461 | diff --git a/synapse/lib/lmdbslab.py b/synapse/lib/lmdbslab.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/lmdbslab.py
+++ b/synapse/lib/lmdbslab.py
@@ -587,7 +587,7 @@ class Slab(s_base.Base):
COMMIT_PERIOD = float(os.environ.get('SYN_SLAB_COMMIT_PERIOD', '0.2'))
# warn if commit takes too long
- WARN... | Change SYN_SLAB_COMMIT_WARN from <I> to <I> (SYN-<I>) (#<I>) | vertexproject_synapse | train | py |
07af97d361163de7b4e0bb49a465a86c86dfd381 | diff --git a/openquake/engine/export/core.py b/openquake/engine/export/core.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/export/core.py
+++ b/openquake/engine/export/core.py
@@ -52,6 +52,7 @@ def export_from_datastore(output_key, calc_id, datadir, target):
:param datadir: directory containing the datastor... | Added a forgotten call to makedirs | gem_oq-engine | train | py |
05eb40c4c784388b21cc42e06d326d20aa81e53d | diff --git a/beaver/transports/base_transport.py b/beaver/transports/base_transport.py
index <HASH>..<HASH> 100644
--- a/beaver/transports/base_transport.py
+++ b/beaver/transports/base_transport.py
@@ -116,6 +116,7 @@ class BaseTransport(object):
def format(self, filename, line, timestamp, **kwargs):
"... | Ensure log lines confirm to utf-8 standard
We've come across cases when certain characters break Beaver transmitting log lines. This PR ensures all log lines correctly conform to UTF-8 when they're formatted for transmission. | python-beaver_python-beaver | train | py |
4c150f6fada796da1f9928e6ece4d76318750c37 | diff --git a/lib/mqtt/client.rb b/lib/mqtt/client.rb
index <HASH>..<HASH> 100644
--- a/lib/mqtt/client.rb
+++ b/lib/mqtt/client.rb
@@ -287,8 +287,11 @@ class MQTT::Client
# If a block is given, then yield and disconnect
if block_given?
- yield(self)
- disconnect
+ begin
+ yield(self)
+... | put "disconnect" inside an "ensure" block
Also includes a spec for this behavior. This will cause the
client to disconnect even in cases where the connect block
raises an exception. | njh_ruby-mqtt | train | rb,rb |
c381192e07fe5d98652937168e01a025da83a597 | diff --git a/spec/javascripts/ui_spec.js b/spec/javascripts/ui_spec.js
index <HASH>..<HASH> 100644
--- a/spec/javascripts/ui_spec.js
+++ b/spec/javascripts/ui_spec.js
@@ -57,4 +57,20 @@ describe("UI testing", function() {
expect(parseFloat(latEl.val())).toBe(40.73);
expect(parseFloat(lngEl.val())).toBe(-73.92... | Test added for blurry-distance metrics (#<I>)
* tweaks
* Test added | publiclab_leaflet-blurred-location | train | js |
78a5a6a7eb964ee55cf16d79b895d6869b8c1cc3 | diff --git a/salt/beacons/diskusage.py b/salt/beacons/diskusage.py
index <HASH>..<HASH> 100644
--- a/salt/beacons/diskusage.py
+++ b/salt/beacons/diskusage.py
@@ -12,9 +12,6 @@ from __future__ import absolute_import
import logging
import re
-# Import Salt libs
-import salt.utils
-
# Import Third Party Libs
try:
... | removing unused import to make lint happy | saltstack_salt | train | py |
89226e3c6bba126f4e36a7b0f88739720b79ef0f | diff --git a/src/commands/dev/index.js b/src/commands/dev/index.js
index <HASH>..<HASH> 100644
--- a/src/commands/dev/index.js
+++ b/src/commands/dev/index.js
@@ -154,8 +154,8 @@ function startDevServer(settings, log) {
env: { ...settings.env, FORCE_COLOR: 'true' },
stdio: settings.stdio || 'inherit'
})
- ... | Dev stdio: Provide a fallback for piping | netlify_cli | train | js |
9e7722ea7fe7d622be2986dd1a1949804c92be8c | diff --git a/test/unit/test_action.rb b/test/unit/test_action.rb
index <HASH>..<HASH> 100644
--- a/test/unit/test_action.rb
+++ b/test/unit/test_action.rb
@@ -9,7 +9,7 @@ end
class ActionTest < Test::Unit::TestCase
- context "A CloudCrowd Job" do
+ context "A CloudCrowd::Action" do
setup do
... | adding a test that ensures that failed attempts to shell out in an Action raise an exception (which in turns marks the WorkUnit as failed) | documentcloud_cloud-crowd | train | rb |
28734001b0d3cffa5a8f6f54e691c427a6e63f1f | diff --git a/library/src/com/sothree/slidinguppanel/SlidingUpPanelLayout.java b/library/src/com/sothree/slidinguppanel/SlidingUpPanelLayout.java
index <HASH>..<HASH> 100644
--- a/library/src/com/sothree/slidinguppanel/SlidingUpPanelLayout.java
+++ b/library/src/com/sothree/slidinguppanel/SlidingUpPanelLayout.java
@@ -1... | Have a default state for mLastNotDraggingSlideState
mLastNotDraggingSlideState is used to store the saved instance state for
the activity, therefore if null will cause the parcel serialization to
fail with a NPE
Fixes #<I>. | umano_AndroidSlidingUpPanel | train | java |
d85082858e50181d10164e1394a7f9b4b7f3908e | diff --git a/github/PullRequest.py b/github/PullRequest.py
index <HASH>..<HASH> 100644
--- a/github/PullRequest.py
+++ b/github/PullRequest.py
@@ -474,16 +474,21 @@ class PullRequest(github.GithubObject.CompletableGithubObject):
"""
return self.get_review_comments()
- def get_review_comments(self... | adding since to PR review comments get (#<I>) | PyGithub_PyGithub | train | py |
86d983dc9a9b4ce9ebf51d26fcb3024a5c11cd48 | diff --git a/lib/Redis.php b/lib/Redis.php
index <HASH>..<HASH> 100644
--- a/lib/Redis.php
+++ b/lib/Redis.php
@@ -140,7 +140,13 @@ class Redis {
}
$this->readWatcher = $this->reactor->onReadable($this->socket, function () {
- $this->onRead();
+ $read = fread($this->socket, 8192);
+
+ if ($read != ... | inlined onRead code
saves a method call per read | amphp_redis | train | php |
0ce0e6de0a91c542ebe8f040052c6573bfe6a517 | diff --git a/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php b/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php
index <HASH>..<HASH> 100644
--- a/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php
+++ b/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php
@@ -44,14 +44,22 @@ class PageRenderer {
private... | Fixed reference to App. Injected the app instance instead and used that. | CoandaCMS_coanda-core | train | php |
0010de2873ebb18c46c347fe051d802b4eceeb4f | diff --git a/GestureHandler.js b/GestureHandler.js
index <HASH>..<HASH> 100644
--- a/GestureHandler.js
+++ b/GestureHandler.js
@@ -660,17 +660,20 @@ function createNativeWrapper(Component, config = {}) {
_refHandler = node => {
// bind native component's methods
- for (let methodName in node) {
- ... | Copy classes methods properly in _refHandler (#<I>)
I noticed some methods missing from the gesture handler wrapped components since updating RN to latest master. It happens because a lot of core components were changed to use classes instead of React.createClass and the logic to copy methods did not handle classes pr... | kmagiera_react-native-gesture-handler | train | js |
c1f990d8c7c01ae9326f51c4108289a8126cb686 | diff --git a/php/HtmlSnippet.php b/php/HtmlSnippet.php
index <HASH>..<HASH> 100644
--- a/php/HtmlSnippet.php
+++ b/php/HtmlSnippet.php
@@ -22,6 +22,9 @@ class HtmlSnippet {
* @param string $content HTML snippet
*/
public function __construct( $content ) {
+ if ( !is_string( $content ) ) {
+ throw new Excepti... | HtmlSnippet: Throw exception if given non-string content
Otherwise we will end up with a PHP fatal error somewhere later when
we try to stringify the HtmlSnippet object. An exception when
constructing it is easier to debug.
Change-Id: Id6e0d<I>a<I>b8f<I>e6ae<I>bb<I>d0e<I>fbc | wikimedia_oojs-ui | train | php |
660e2cd96ca5abc37276d35c4ae3612c6d44785c | diff --git a/spec/definition_spec.rb b/spec/definition_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/definition_spec.rb
+++ b/spec/definition_spec.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/spec_helper.rb'
+require 'spec/spec_helper'
class RoxmlObject
include ROXML
diff --git a/spec/roxml_spec.rb b/s... | Banish File.dirname from specs | Empact_roxml | train | rb,rb,rb |
96bba451ed31a4da1b9a955abc3726dcafe71090 | diff --git a/rapidoid-model/src/main/java/org/rapidoid/model/Model.java b/rapidoid-model/src/main/java/org/rapidoid/model/Model.java
index <HASH>..<HASH> 100644
--- a/rapidoid-model/src/main/java/org/rapidoid/model/Model.java
+++ b/rapidoid-model/src/main/java/org/rapidoid/model/Model.java
@@ -97,7 +97,8 @@ public clas... | Fixed filter for read-only properties. | rapidoid_rapidoid | train | java |
20e52b41b53684e494c4d3971645452422e88275 | diff --git a/common/src/js/core/scripts/selenium-api.js b/common/src/js/core/scripts/selenium-api.js
index <HASH>..<HASH> 100644
--- a/common/src/js/core/scripts/selenium-api.js
+++ b/common/src/js/core/scripts/selenium-api.js
@@ -950,7 +950,7 @@ Selenium.prototype.doOpen = function(url, ignoreResponseCode) {
* @pa... | AdamGoucher - really fixing the ignoring of the extra check on 'open' if there is nothing being passed in. i still think that this needs to be changed at some point to invert the logic so that rather than setting something to ignore that something should be set to turn on
r<I> | SeleniumHQ_selenium | train | js |
23c80fca5738dcf532993306d90b43524ec805d8 | diff --git a/src/test/java/com/buschmais/jqassistant/plugin/yaml/impl/scanner/YAMLFileScannerPluginIT.java b/src/test/java/com/buschmais/jqassistant/plugin/yaml/impl/scanner/YAMLFileScannerPluginIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/buschmais/jqassistant/plugin/yaml/impl/scanner/YAMLFileScannerPlu... | Disabled YAMLFileScannerPluginIT#scanSequenceOfSequencesYAML. The YAML plugin is actually brocken and I consider a total rewrite. | buschmais_jqa-yaml-plugin | train | java |
26e3ab63b1d916c2168d373f9cabbc6d4fdeede9 | diff --git a/pr-tagger.js b/pr-tagger.js
index <HASH>..<HASH> 100755
--- a/pr-tagger.js
+++ b/pr-tagger.js
@@ -50,8 +50,18 @@ if (!semverRegex().test(program.tag)) {
logger.error('Tag not semver compliant: %s', program.tag)
process.exit(1)
}
-if (tags.indexOf(program.tag) === -1) {
+
+const toTagIndex = tags.ind... | Get commits with a PR merge
The PR merge is detected based on the text that GitHub adds to the
commit by default | jcollado_pr-tagger | train | js |
35033c601163d41c7993c8ca3a97d1820f414233 | diff --git a/src/main/java/de/thetaphi/forbiddenapis/CliMain.java b/src/main/java/de/thetaphi/forbiddenapis/CliMain.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/thetaphi/forbiddenapis/CliMain.java
+++ b/src/main/java/de/thetaphi/forbiddenapis/CliMain.java
@@ -54,7 +54,7 @@ public final class CliMain {
pub... | Also suppress warnings in Java 7, not only Eclipse | policeman-tools_forbidden-apis | train | java |
5bf3b0a879d7276ecbde281135e6768f1cecf29b | diff --git a/mike/app_version.py b/mike/app_version.py
index <HASH>..<HASH> 100644
--- a/mike/app_version.py
+++ b/mike/app_version.py
@@ -1 +1 @@
-version = '0.1.1'
+version = '0.2.0.dev0' | Update version to <I>.dev0 | jimporter_mike | train | py |
1a6f4481e380eb3a3fdf95ac3aa6c72d51b910bf | diff --git a/src/FeatureResolve.php b/src/FeatureResolve.php
index <HASH>..<HASH> 100644
--- a/src/FeatureResolve.php
+++ b/src/FeatureResolve.php
@@ -1,7 +1,39 @@
<?php
+namespace KawaiiGherkin;
-class FeatureResolve
+use Symfony\Component\Finder\Finder;
+
+final class FeatureResolve
{
+ /**
+ * @var stri... | Added class to solve feature file/directory | malukenho_kawaii-gherkin | train | php |
85fbeb0bb94b2429bbde831ab39948da20e45f94 | diff --git a/test/test_action.py b/test/test_action.py
index <HASH>..<HASH> 100755
--- a/test/test_action.py
+++ b/test/test_action.py
@@ -111,6 +111,7 @@ class TestAction(ShinkenTest):
self.wait_finished(a)
self.assertEqual(a.output, 'TITI=est en vacance')
+
def test_environment_variables(self... | Add : a test case about the #<I> . Cannot reproduce on <I>, maybe <I> or below will fail. | Alignak-monitoring_alignak | train | py |
a323fa6b93290f6ec3c13630380b713cc63d7d0d | diff --git a/test/org/mockitousage/constructor/CreatingMocksWithConstructorTest.java b/test/org/mockitousage/constructor/CreatingMocksWithConstructorTest.java
index <HASH>..<HASH> 100644
--- a/test/org/mockitousage/constructor/CreatingMocksWithConstructorTest.java
+++ b/test/org/mockitousage/constructor/CreatingMocksWi... | Documented current behavior via a test
Issue #<I> | mockito_mockito | train | java |
b2f2ed35265dc48673c6bc981926b4d7e570feb4 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,8 +15,6 @@
import sys
import os
-import sphinx_rtd_theme
-
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is... | Get rid of import of sphinx_rtd_them in conf.py | IvanMalison_okcupyd | train | py |
2d4e72f1fab6455805c47cab97f13bfe3c348451 | diff --git a/pkg/registry/etcd/etcd.go b/pkg/registry/etcd/etcd.go
index <HASH>..<HASH> 100644
--- a/pkg/registry/etcd/etcd.go
+++ b/pkg/registry/etcd/etcd.go
@@ -347,7 +347,17 @@ func (r *Registry) WatchControllers(ctx api.Context, label, field labels.Selecto
}
match := label.Matches(labels.Set(controller.Labels... | Add some extra checking around a call to list pods. | kubernetes_kubernetes | train | go |
f47d61d9d321a040d4c24eeb0bf1676c8526b21f | diff --git a/lib/librarian/source/git.rb b/lib/librarian/source/git.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian/source/git.rb
+++ b/lib/librarian/source/git.rb
@@ -124,9 +124,8 @@ module Librarian
def cache_key
@cache_key ||= begin
uri_part = uri
- path_part = "/#{path}" if pa... | Improve caching: same git repo/ref and different path = single cached copy. | applicationsonline_librarian | train | rb |
29d434562921eeaa6ce4e41f183962b3ce42ceb1 | diff --git a/Zara4/API/Client.php b/Zara4/API/Client.php
index <HASH>..<HASH> 100644
--- a/Zara4/API/Client.php
+++ b/Zara4/API/Client.php
@@ -67,6 +67,16 @@ class Client {
/**
+ * Get the access token
+ *
+ * @return AccessToken|Communication\AccessToken\ReissuableAccessToken|null
+ */
+ public functio... | Add ability to read access token from client | zara-4_php-sdk | train | php |
7d0423425a857ccc98c6a84c8e0d093bb3b360d0 | diff --git a/src/components/Avatar/Avatar.react.js b/src/components/Avatar/Avatar.react.js
index <HASH>..<HASH> 100644
--- a/src/components/Avatar/Avatar.react.js
+++ b/src/components/Avatar/Avatar.react.js
@@ -5,7 +5,11 @@ import { Icon } from "../";
import cn from "classnames";
import AvatarList from "./AvatarList.... | feat(Avatar): Add mouse and pointer event props | tabler_tabler-react | train | js |
28015f9211e8e3a07f1173e97e252109a2d389dc | diff --git a/openstack_dashboard/dashboards/admin/info/tables.py b/openstack_dashboard/dashboards/admin/info/tables.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/info/tables.py
+++ b/openstack_dashboard/dashboards/admin/info/tables.py
@@ -21,6 +21,10 @@ class QuotaFilterAction(tables.FilterA... | Quotas names fixed Cores->VCPUs, Floating Ips->Floating IPs
Change-Id: I<I>adc<I>fc3aa0dc<I>f6d<I>e<I>ac0c<I>
Fixes: bug #<I> | openstack_horizon | train | py |
c9f55380805e4ad8087170d1119e76d7d0ae71ac | diff --git a/nif_neuron.py b/nif_neuron.py
index <HASH>..<HASH> 100755
--- a/nif_neuron.py
+++ b/nif_neuron.py
@@ -114,7 +114,7 @@ def make_mutually_disjoint(graph, members):
def type_check(tup, types):
return all([type(t) is ty for t, ty in zip(tup, types)])
-def add_types(graph, phenotypes):
+def add_types(gr... | need to have expression covered in add_types as well | tgbugs_pyontutils | train | py |
dee486a81f92e6eb2e842720798a935f74de30fa | diff --git a/openquake/calculators/ucerf_base.py b/openquake/calculators/ucerf_base.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/ucerf_base.py
+++ b/openquake/calculators/ucerf_base.py
@@ -271,13 +271,6 @@ class UCERFSource(BaseSeismicSource):
plane = hdf5[trace + "/RupturePlanes"][:].ast... | Fixed weight [skip hazardlib] | gem_oq-engine | train | py |
b97ae495e4c8c6ac50ff686c050c7f9cd3abaf05 | diff --git a/src/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java b/src/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java
+++ b/src/... | Using Agent as parameterized type for the AuthenticationManager injection point | aerogear_aerogear-unifiedpush-server | train | java |
52ff6df4e90f6d308059cb2ede41ffaec3b1f7bc | diff --git a/dock/plugins/pre_pyrpkg_fetch_artefacts.py b/dock/plugins/pre_pyrpkg_fetch_artefacts.py
index <HASH>..<HASH> 100644
--- a/dock/plugins/pre_pyrpkg_fetch_artefacts.py
+++ b/dock/plugins/pre_pyrpkg_fetch_artefacts.py
@@ -3,6 +3,7 @@ To have everything for a build in dist-git you need to fetch artefacts using ... | pyrpkg sources: print sources file before exec | projectatomic_atomic-reactor | train | py |
c825373971d0ad24e4ca71fd4da88e55e62a6b17 | diff --git a/productmd/__init__.py b/productmd/__init__.py
index <HASH>..<HASH> 100644
--- a/productmd/__init__.py
+++ b/productmd/__init__.py
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (C) 2015 Red Hat, Inc.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms... | Allow importing major classes directly from productmd
This should simplify things for most users: just import productmd module
and Compose (the one for metadata loading), Rpms and Images classes are
directly available as well as ComposeInfo, DiscInfo and TreeInfo. | release-engineering_productmd | train | py |
163e530c0c96c4639fe2fc778f18fba0b0d1642f | diff --git a/ca/django_ca/tests/tests_utils.py b/ca/django_ca/tests/tests_utils.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/tests/tests_utils.py
+++ b/ca/django_ca/tests/tests_utils.py
@@ -345,7 +345,7 @@ class ParseKeyCurveTestCase(TestCase):
self.assertIsInstance(parse_key_curve(), type(ca_settings.CA_... | do not use brainpool, it was added in <I> | mathiasertl_django-ca | train | py |
c01482e1275b2220921877020f5d48ebc78ebb5d | diff --git a/Plugin/ExcludeFilesFromMinification.php b/Plugin/ExcludeFilesFromMinification.php
index <HASH>..<HASH> 100644
--- a/Plugin/ExcludeFilesFromMinification.php
+++ b/Plugin/ExcludeFilesFromMinification.php
@@ -31,15 +31,17 @@ class ExcludeFilesFromMinification
{
/**
* @param Minification $subject
-... | Changed ExcludeFilesFromMinification code to work with Magento versions < <I> | fastly_fastly-magento2 | train | php |
5cb536b57909cbf05c5237845ad6a2c072e567b2 | diff --git a/core/src/main/java/io/undertow/client/http2/Http2ClientConnection.java b/core/src/main/java/io/undertow/client/http2/Http2ClientConnection.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/undertow/client/http2/Http2ClientConnection.java
+++ b/core/src/main/java/io/undertow/client/http2/Http2Cli... | UNDERTOW-<I> Http2ClientConnection.sendRequest should be syncronized to make sure streams arrive in order | undertow-io_undertow | train | java |
d46ca4d78eb7700c3650757350e7bf3e767aebdc | diff --git a/FsContext.php b/FsContext.php
index <HASH>..<HASH> 100644
--- a/FsContext.php
+++ b/FsContext.php
@@ -2,6 +2,7 @@
namespace Enqueue\Fs;
+use Doctrine\ORM\Cache\Lock;
use Interop\Queue\InvalidDestinationException;
use Interop\Queue\PsrContext;
use Interop\Queue\PsrDestination;
@@ -94,6 +95,11 @@ cla... | [fs] Do not throw error on deprecation notice. | php-enqueue_fs | train | php |
e1e774a29223c5fafee139a64411fec416e1fdb4 | diff --git a/command/build_ext.py b/command/build_ext.py
index <HASH>..<HASH> 100644
--- a/command/build_ext.py
+++ b/command/build_ext.py
@@ -278,7 +278,9 @@ class build_ext (Command):
'extra_objects',
'extra_compile_args',
'extra_link_args'):
... | In 'check_extensions_list()': when converting old-style 'buildinfo' dict,
don't assign None to any attributes of the Extension object. | pypa_setuptools | train | py |
b32d8fb75042c4ff26af9d22b260130f91050291 | diff --git a/Entity/CacheRepository.php b/Entity/CacheRepository.php
index <HASH>..<HASH> 100644
--- a/Entity/CacheRepository.php
+++ b/Entity/CacheRepository.php
@@ -149,6 +149,8 @@ class CacheRepository extends CommonRepository
$interval = new \DateInterval('P1M');
}
$oldest->sub($inter... | Switch back to UTC for format output. | TheDMSGroup_mautic-contact-client | train | php |
677df72dda2d3373ba8f59ca8d9c9fab36d3ff9a | diff --git a/cmd/helm/doctor.go b/cmd/helm/doctor.go
index <HASH>..<HASH> 100644
--- a/cmd/helm/doctor.go
+++ b/cmd/helm/doctor.go
@@ -42,7 +42,7 @@ func doctor(c *cli.Context) error {
if client.IsInstalled(runner) {
format.Success("You have everything you need. Go forth my friend!")
} else {
- format.Warning("... | fix(cli): fix 'helm doctor'
Rather than remove 'helm doctor' for MVP, I just fixed the one small bug
that was preventing it from working. | helm_helm | train | go,go |
be254b7942354fb797e5bd4e6ebb50a3c4a7b717 | diff --git a/Kwf/Util/Maintenance/Dispatcher.php b/Kwf/Util/Maintenance/Dispatcher.php
index <HASH>..<HASH> 100644
--- a/Kwf/Util/Maintenance/Dispatcher.php
+++ b/Kwf/Util/Maintenance/Dispatcher.php
@@ -88,6 +88,7 @@ class Kwf_Util_Maintenance_Dispatcher
if (!$e instanceof Kwf_Exception_Abstrac... | Also call ModelObserver::process() after executing minutely/seconds maintenance jobs | koala-framework_koala-framework | train | php |
54fec0878864cf786b6b3711b2dd48798a17ce13 | diff --git a/publish.py b/publish.py
index <HASH>..<HASH> 100755
--- a/publish.py
+++ b/publish.py
@@ -49,7 +49,8 @@ def main():
# create the new tag
check_call(['git', 'tag', tag, '-m', 'Tagged {}'.format(tag)])
# build
- check_call(['python3', 'setup.py', 'sdist', 'bdist_wheel'])
+ check_call(['p... | [9] publish.py creates universal wheel for py2/3 | phodge_homely | train | py |
55904e67028a5914be442ae1f1590ceb1eb938ad | diff --git a/test/serializer_test.rb b/test/serializer_test.rb
index <HASH>..<HASH> 100644
--- a/test/serializer_test.rb
+++ b/test/serializer_test.rb
@@ -49,8 +49,9 @@ class SerializerTest < Test::Unit::TestCase
assert_equal '302', encoded
end
- def test_encode_invalid_file
- encoded = Fewer::Serializer.... | Modify test so that it actually requires the call to compact. | benpickles_fewer | train | rb |
143d9528defea0525277a13082e4e714043bcd7e | diff --git a/src/date-functions.js b/src/date-functions.js
index <HASH>..<HASH> 100644
--- a/src/date-functions.js
+++ b/src/date-functions.js
@@ -403,6 +403,7 @@ Date.patterns = {
ISO8601ShortPattern:"Y-m-d",
ShortDatePattern: "n/j/Y",
FiShortDatePattern: "j.n.Y",
+ FiWeekdayDatePattern: "D j.n.Y",
LongDa... | date pattern for weekdays and finnish date | continuouscalendar_dateutils | train | js |
5516b174901cc6c8028868d0305e96fb5869fe17 | diff --git a/client/src/index.js b/client/src/index.js
index <HASH>..<HASH> 100644
--- a/client/src/index.js
+++ b/client/src/index.js
@@ -188,7 +188,7 @@ function createFS(options) {
// Bail if we're already connected
if(sync.state !== sync.SYNC_DISCONNECTED &&
sync.state !== sync.ERROR) {
- // ... | Fixed #<I> - Error handling for disconnect/connect
MakeDrive.js silently errored if `sync.connect()` was called when already connected, or `sync.disconnect()` was called when no connection existed. | mozilla_makedrive | train | js |
9356abbac14e24014c27824a3e9e275f706f9126 | diff --git a/benchmark.js b/benchmark.js
index <HASH>..<HASH> 100644
--- a/benchmark.js
+++ b/benchmark.js
@@ -23,7 +23,7 @@ function timeit(top, callback) {
var fork = require('child_process').fork;
function bench(name, callback) {
- var cp = fork(__filename, ['baseline']);
+ ... | [bench] finally got the benchmark working :p | AndreasMadsen_trace | train | js |
4b04b822727b64964652485d234f6b8d503b5861 | diff --git a/qiskit/unroll/_dagunroller.py b/qiskit/unroll/_dagunroller.py
index <HASH>..<HASH> 100644
--- a/qiskit/unroll/_dagunroller.py
+++ b/qiskit/unroll/_dagunroller.py
@@ -78,11 +78,12 @@ class DagUnroller(object):
gatedefs.append(Gate(children))
# Walk through the DAG and examine each node... | Handle simulator builtins in dag unroller (#<I>)
This commit fixes an issue in the dag unroller when it encounters
simulator builtin instructions like snapshot(). It doesn't know what
those are so it assumes it's a gate. But since it's not a gate when it
tries to look that up it fails on a KeyError. This fixes that... | Qiskit_qiskit-terra | train | py |
0e8dbd638b8623b67be31a30b139c68bff31862a | diff --git a/src/interactivity/Interactivity.js b/src/interactivity/Interactivity.js
index <HASH>..<HASH> 100644
--- a/src/interactivity/Interactivity.js
+++ b/src/interactivity/Interactivity.js
@@ -154,23 +154,16 @@ export default class Interactivity {
_subscribeToMapEvents (map) {
map.on('mousemove', th... | Refactor to simplify automatic enable & disable in Interactivity | CartoDB_carto-vl | train | js |
eddeeafff4ab430e4ec49d6306646f91ba7a3eb7 | diff --git a/docs/gatsby-config.js b/docs/gatsby-config.js
index <HASH>..<HASH> 100644
--- a/docs/gatsby-config.js
+++ b/docs/gatsby-config.js
@@ -30,7 +30,8 @@ module.exports = {
root: __dirname,
subtitle: 'SDK Resources',
description: 'Documentation for Resources',
- gitRepo: 'availi... | fix: edit on github button working now | Availity_sdk-js | train | js |
58cf1c3a00fbc1c88c994992a5c9ad71a4dfa751 | diff --git a/gxa/src/main/webapp/resources/js/geneQueryTagEditorModule.js b/gxa/src/main/webapp/resources/js/geneQueryTagEditorModule.js
index <HASH>..<HASH> 100644
--- a/gxa/src/main/webapp/resources/js/geneQueryTagEditorModule.js
+++ b/gxa/src/main/webapp/resources/js/geneQueryTagEditorModule.js
@@ -2,6 +2,10 @@
v... | Remove any markup from the selected tag text
The new Solr suggester highlights the matched substrings with <b> | ebi-gene-expression-group_atlas | train | js |
6ada35595a5184ab00d59ae850d1fc8dbddfbac1 | diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/element.py
+++ b/holoviews/plotting/bokeh/element.py
@@ -153,7 +153,7 @@ class ElementPlot(BokehPlot, GenericElementPlot):
return plot
- def _update_plot(self... | Updated signature of _update_plot to show element is not always used | pyviz_holoviews | train | py |
38b60c86c11c9cf0a18ddea78a97505c774c15c8 | diff --git a/jodd-http/src/main/java/jodd/http/HttpBrowser.java b/jodd-http/src/main/java/jodd/http/HttpBrowser.java
index <HASH>..<HASH> 100644
--- a/jodd-http/src/main/java/jodd/http/HttpBrowser.java
+++ b/jodd-http/src/main/java/jodd/http/HttpBrowser.java
@@ -176,7 +176,6 @@ public class HttpBrowser {
if (newCook... | - don't add cookies to the header that have been deleted | oblac_jodd | train | java |
65031f5900782ce70d029d375345ff8212dbcda1 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -107,11 +107,18 @@ if(config.tls){
}
restify.CORS.ALLOW_HEADERS.push('authorization');
+restify.CORS.ALLOW_HEADERS.push('accept');
+restify.CORS.ALLOW_HEADERS.push('sid');
+restify.CORS.ALLOW_HEADERS.push('lang');
+res... | added more CORS logic to support mobile app | octoblu_meshblu | train | js |
94bbd7b6873429d21a0493958a63b0faabcdb619 | diff --git a/test/test_master_slave_connection.py b/test/test_master_slave_connection.py
index <HASH>..<HASH> 100644
--- a/test/test_master_slave_connection.py
+++ b/test/test_master_slave_connection.py
@@ -182,11 +182,11 @@ class TestMasterSlaveConnection(unittest.TestCase):
self.assert_("pymongo_test_mike" i... | Restore two useful asserts before skipping a test that fails due to SERVER-<I> | mongodb_mongo-python-driver | train | py |
5a298d3ad2c86091c3da5094af58d300ef443043 | diff --git a/lang/en_utf8/xmldb.php b/lang/en_utf8/xmldb.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/xmldb.php
+++ b/lang/en_utf8/xmldb.php
@@ -76,6 +76,7 @@ $string['missingvaluesinsentence'] = 'Missing values in sentence';
$string['mustselectonefield'] = 'You must select one field to see field related actions... | Added one new string to explain the signed ints hunting under MySQL. MDL-<I> | moodle_moodle | train | php |
89ef795a8b0315deaa97377205bac3c4a655fb52 | diff --git a/ufork/ufork.py b/ufork/ufork.py
index <HASH>..<HASH> 100644
--- a/ufork/ufork.py
+++ b/ufork/ufork.py
@@ -166,7 +166,7 @@ class Arbiter(object):
log.info('shutting down arbiter '+repr(self)+\
repr(threading.current_thread())+"N:{0} t:{1}".format(os.getpid(),time.time()%1)... | migrating gevent function to use parent_pre_exit to shutdown socket | kurtbrose_ufork | train | py |
f5d3b215660c740e9bdda6071bd3d5dc980cc304 | diff --git a/searx/utils.py b/searx/utils.py
index <HASH>..<HASH> 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -17,17 +17,16 @@ from searx import logger
logger = logger.getChild('utils')
-ua_versions = ('31.0',
- '32.0',
- '33.0',
+ua_versions = ('33.0',
'34.0',
-... | [fix] user agent : the "rv:{version}" was missing (can be a issue with some engine, like flickr) | asciimoo_searx | train | py |
6ee028e60432cd2cd010786bd738b8e8eabb842c | diff --git a/vault/generate_root.go b/vault/generate_root.go
index <HASH>..<HASH> 100644
--- a/vault/generate_root.go
+++ b/vault/generate_root.go
@@ -191,7 +191,7 @@ func (c *Core) GenerateRootUpdate(key []byte, nonce string) (*GenerateRootResult
// Check if we already have this piece
for _, existing := range c.ge... | Return bad request error on providing same key for root generation (#<I>)
Fixes #<I> | hashicorp_vault | train | go |
cda3abccb54284770cb599a10f1d485a4904cbd7 | diff --git a/config/dashboard-plugins/MelisCoreDashboardRecentUserActivityPlugin.config.php b/config/dashboard-plugins/MelisCoreDashboardRecentUserActivityPlugin.config.php
index <HASH>..<HASH> 100644
--- a/config/dashboard-plugins/MelisCoreDashboardRecentUserActivityPlugin.config.php
+++ b/config/dashboard-plugins/Mel... | Dashboard plugin user recent active test function on jscallback removed | melisplatform_melis-core | train | php |
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.