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 |
|---|---|---|---|---|---|
86fd76a43c965111677abba8014f52df62ee7c2a | diff --git a/AlphaTwirl/Counter/GenericKeyComposerB.py b/AlphaTwirl/Counter/GenericKeyComposerB.py
index <HASH>..<HASH> 100755
--- a/AlphaTwirl/Counter/GenericKeyComposerB.py
+++ b/AlphaTwirl/Counter/GenericKeyComposerB.py
@@ -2,7 +2,7 @@
##____________________________________________________________________________... | update the docstring in GenericKeyComposerB | alphatwirl_alphatwirl | train | py |
bb3cfefb5d919accc8f97da8e5995a4ed7dc5f59 | diff --git a/ryu/ofproto/nx_actions.py b/ryu/ofproto/nx_actions.py
index <HASH>..<HASH> 100644
--- a/ryu/ofproto/nx_actions.py
+++ b/ryu/ofproto/nx_actions.py
@@ -28,8 +28,6 @@ from ryu.ofproto.ofproto_parser import StringifyMixin
def generate(ofp_name, ofpp_name):
import sys
- import string
- import func... | ofproto/nx_actions: Flake8 Fixes | osrg_ryu | train | py |
86c7d2d399da3cc939fb21962004aebdccd19ca3 | diff --git a/autotls.go b/autotls.go
index <HASH>..<HASH> 100644
--- a/autotls.go
+++ b/autotls.go
@@ -19,7 +19,17 @@ func RunWithManager(r http.Handler, m *autocert.Manager) error {
Handler: r,
}
- go http.ListenAndServe(":http", m.HTTPHandler(nil))
+ go http.ListenAndServe(":http", m.HTTPHandler(http.Handler... | chore: support http redirect to https (#<I>) | gin-gonic_autotls | train | go |
5dc039ccc0c51d02534863ef0bd40dbbf9954627 | diff --git a/raiden/transfer/state.py b/raiden/transfer/state.py
index <HASH>..<HASH> 100644
--- a/raiden/transfer/state.py
+++ b/raiden/transfer/state.py
@@ -95,7 +95,7 @@ class PaymentNetworkState(State):
__slots__ = (
'address',
- 'tokensidentifiers_to_tokennetworks',
+ 'tokenidentifier... | Remove extra `s` from tokensidentifiers_to_tokennetworks | raiden-network_raiden | train | py |
ab487ef7541874175e65529568ba97755905b3be | diff --git a/hangups/__main__.py b/hangups/__main__.py
index <HASH>..<HASH> 100644
--- a/hangups/__main__.py
+++ b/hangups/__main__.py
@@ -37,8 +37,10 @@ class UserInterface(object):
exit(1)
tornado_loop = urwid.TornadoEventLoop(ioloop.IOLoop.instance())
- self._urwid_loop = urwid.MainLoo... | Disable mouse handling
Fixes copy and paste on chromebook's terminal. | tdryer_hangups | train | py |
363b7e17ebcce00a563b921d3c0d228b6b844c8e | diff --git a/keyring/tests/backends/test_Google.py b/keyring/tests/backends/test_Google.py
index <HASH>..<HASH> 100644
--- a/keyring/tests/backends/test_Google.py
+++ b/keyring/tests/backends/test_Google.py
@@ -2,6 +2,7 @@ import codecs
import base64
import cPickle
+import keyring.py27compat
from ..py30compat impo... | Fix NameError on Python 3 in tests | jaraco_keyring | train | py |
43a3b5d696823d84e5b375bab5178a21b23a3825 | diff --git a/upnpclient/soap.py b/upnpclient/soap.py
index <HASH>..<HASH> 100644
--- a/upnpclient/soap.py
+++ b/upnpclient/soap.py
@@ -102,12 +102,12 @@ class SOAP(object):
# If the body of the error response contains XML then it should be a UPnP error,
# otherwise reraise the HTTPError.
... | Use resp.content in soap client too. | flyte_upnpclient | train | py |
f1f1ab055781bc3735e28e36701b99d473282d86 | diff --git a/endpoints/cinema/index.js b/endpoints/cinema/index.js
index <HASH>..<HASH> 100644
--- a/endpoints/cinema/index.js
+++ b/endpoints/cinema/index.js
@@ -24,7 +24,7 @@ var getMovies = function (req, res, next) {
try {
$ = cheerio.load( body );
} catch (e) {
- exports.logError( e );
+ throw new Er... | Throws a new Error | apis-is_apis | train | js |
00cd1af1a2834c8af92a80afe23d1415df02ecdb | diff --git a/tests/test_model_relations.py b/tests/test_model_relations.py
index <HASH>..<HASH> 100644
--- a/tests/test_model_relations.py
+++ b/tests/test_model_relations.py
@@ -35,15 +35,15 @@ class TestModelRelations:
self.prepare_testbed()
user = User(name='Joe').save()
employee = Employe... | we need to wait a sec to give enough time for riak/solr sync | zetaops_pyoko | train | py |
157680c2d08d1798e7d8689fb5c6d8fa35200111 | diff --git a/worker/uniter/util_test.go b/worker/uniter/util_test.go
index <HASH>..<HASH> 100644
--- a/worker/uniter/util_test.go
+++ b/worker/uniter/util_test.go
@@ -36,6 +36,7 @@ import (
"github.com/juju/juju/core/leadership"
corelease "github.com/juju/juju/core/lease"
"github.com/juju/juju/core/machinelock"
+... | Fixes uniter worker tests for generational charm config. | juju_juju | train | go |
da490c5db59571f863dc7537442789b539292c3a | diff --git a/gardenrunner/gardenrunner.go b/gardenrunner/gardenrunner.go
index <HASH>..<HASH> 100644
--- a/gardenrunner/gardenrunner.go
+++ b/gardenrunner/gardenrunner.go
@@ -140,7 +140,6 @@ func (r *Runner) Run(signals <-chan os.Signal, ready chan<- struct{}) error {
} else { // garden-runc
gardenArgs = appendDef... | Remove garden-runc kawasaki flag
* We need to add this back once the kawasaki dependency hits master of
garden-runc-release | cloudfoundry_inigo | train | go |
f094188780c41d665d08c7aa159968a81ca135ed | diff --git a/searx/search.py b/searx/search.py
index <HASH>..<HASH> 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -414,6 +414,9 @@ class Search(object):
self.categories.remove(category)
if not load_default_categories:
+ if not self.categories:
+ ... | [fix] display categories of the selected engines | asciimoo_searx | train | py |
ae532e43cb0acaffea0fb2541ee696a83dbd0dc8 | diff --git a/bliss/core/seq.py b/bliss/core/seq.py
index <HASH>..<HASH> 100644
--- a/bliss/core/seq.py
+++ b/bliss/core/seq.py
@@ -56,7 +56,7 @@ class Seq (object):
self.pathname = pathname
self.cmddict = cmddict or cmd.getDefaultCmdDict()
self.crc32 = None
- self.seqid = id
+ self.seqid... | Issue #<I>: Update seq.py to more gracefully handle errors | NASA-AMMOS_AIT-Core | train | py |
17173009efb5f757a466b3b7aefd21ba803e251a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import setup
setup(
name='laws',
packages=['laws'],
- version='0.6.2',
+ version='0.6.3',
description='-ls- for AWS EC2 instances',
long_description='https://github.com/c... | Version bumped to <I> | kikulikov_laws | train | py |
b148088436395fb64061d81954c673bf6467abed | diff --git a/src/datatable/main.js b/src/datatable/main.js
index <HASH>..<HASH> 100644
--- a/src/datatable/main.js
+++ b/src/datatable/main.js
@@ -209,6 +209,14 @@ class DataTable extends Relation {
}
/**
+ * Returns index and field details in an object where key is the field name.
+ * @return {Obje... | FSB-<I>: Add field definitions | chartshq_datamodel | train | js,js |
460772aaa6c124b78e9ded0410faf537d13775b5 | diff --git a/src/main/java/com/zandero/rest/data/RouteDefinition.java b/src/main/java/com/zandero/rest/data/RouteDefinition.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/zandero/rest/data/RouteDefinition.java
+++ b/src/main/java/com/zandero/rest/data/RouteDefinition.java
@@ -588,8 +588,13 @@ public class Rou... | Fixed request has body method according to specs | zandero_rest.vertx | train | java |
48763dbda572adf5030b796832e365bc2547252a | diff --git a/src/createRequest.js b/src/createRequest.js
index <HASH>..<HASH> 100644
--- a/src/createRequest.js
+++ b/src/createRequest.js
@@ -105,9 +105,11 @@ var parseFMResponse = function (fmresultset) {
*/
var remapFields = function (fields) {
var obj = {};
- fields.forEach(function (field) {
- ob... | Fixing remaping field function for avoiding error | geistinteractive_fms-js | train | js |
7354c94143d3e64379a8d4672c174bb7e1ac13d4 | diff --git a/packages/vaex-jupyter/vaex/jupyter/_version.py b/packages/vaex-jupyter/vaex/jupyter/_version.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-jupyter/vaex/jupyter/_version.py
+++ b/packages/vaex-jupyter/vaex/jupyter/_version.py
@@ -1,2 +1,2 @@
-__version_tuple__ = (0, 5, 2, "dev.0")
-__version__ = '0.5.2... | Release <I> of vaex-jupyter | vaexio_vaex | train | py,py |
06af5becf5f462ede1a52b3197d3a84a9c47957d | diff --git a/doubles/proxy.py b/doubles/proxy.py
index <HASH>..<HASH> 100644
--- a/doubles/proxy.py
+++ b/doubles/proxy.py
@@ -22,6 +22,3 @@ class Proxy(object):
else:
method_double = self._method_doubles[method_name] = MethodDouble(method_name, self._obj)
return method_double
-
- ... | Remove unused repr for Proxy. | uber_doubles | train | py |
6a58d671d4cb39ba5ab1c7c2b31bcd600b5feb28 | diff --git a/unicum/server.py b/unicum/server.py
index <HASH>..<HASH> 100644
--- a/unicum/server.py
+++ b/unicum/server.py
@@ -111,6 +111,8 @@ class Session(object):
item = dict(zip(keys, values))
elif isinstance(item, list):
item = [_prepickle(i) for i in item]
+ ... | tuples work in _prepickle in server.py | pbrisk_unicum | train | py |
ff4a0a325962f76f0067effaed0bf8b58ab471b2 | diff --git a/lib/metasploit_data_models/active_record_models/host.rb b/lib/metasploit_data_models/active_record_models/host.rb
index <HASH>..<HASH> 100755
--- a/lib/metasploit_data_models/active_record_models/host.rb
+++ b/lib/metasploit_data_models/active_record_models/host.rb
@@ -23,10 +23,11 @@ module MetasploitData... | Attempting to fix issue with hosts search | rapid7_metasploit_data_models | train | rb |
7a08ed319806eb5d2c3d83b4496a11d37a51aec4 | diff --git a/src/Package.php b/src/Package.php
index <HASH>..<HASH> 100644
--- a/src/Package.php
+++ b/src/Package.php
@@ -65,7 +65,8 @@ trait Package
{
try {
$v = self::getPackageVendor();
- } catch (LogicException $vendorException) {}
+ } catch (LogicException $vendorException... | Apply fixes from StyleCI (#5) | CupOfTea696_Package | train | php |
b34f6d22de643a84536c67e5cfb3dad174d49e94 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -83,7 +83,6 @@ function getManifest(server, callback) {
assert('COMMENT' in manifest, 'Comment expected in manifest');
assert('CACHE' in manifest, 'Cache expected in manifest');
assert('N... | Make sure server gets stopped even in error cases. Assert that initial url list is as expected | isaacsimmons_cache-manifest-generator | train | js |
d5556d9edb6a3798a0de24cd8ec5b981b44f004f | diff --git a/src/Http/Requests/Frontarea/RegistrationRequest.php b/src/Http/Requests/Frontarea/RegistrationRequest.php
index <HASH>..<HASH> 100644
--- a/src/Http/Requests/Frontarea/RegistrationRequest.php
+++ b/src/Http/Requests/Frontarea/RegistrationRequest.php
@@ -5,14 +5,14 @@ declare(strict_types=1);
namespace Cor... | Move GenericException to cortex/foundation from rinvex/fort | rinvex_cortex-tenants | train | php |
0edd5157fdb3e7f9eed10c4017f3497720171a54 | diff --git a/lib/fog/libvirt/compute.rb b/lib/fog/libvirt/compute.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/libvirt/compute.rb
+++ b/lib/fog/libvirt/compute.rb
@@ -46,10 +46,10 @@ module Fog
require 'libvirt'
begin
- if options[:libvirt_user] and options[:libvirt_password]
+ ... | Made libvirt username param consistent with other providers libvirt_user -> libvirt_username | fog_fog | train | rb |
622fc3f6d1b3d7df25dfb9a414ad7a394b97d1b8 | diff --git a/src/LabelCollection.php b/src/LabelCollection.php
index <HASH>..<HASH> 100644
--- a/src/LabelCollection.php
+++ b/src/LabelCollection.php
@@ -138,14 +138,9 @@ class LabelCollection implements \Countable
*/
public function filter(callable $filterFunction)
{
- $filteredLabels = [];
- ... | III-<I> Use array_filter inside the filter method of LabelCollection. | cultuurnet_udb3-php | train | php |
5073171308a2bcb2192833c797d5b1c4029cd8b8 | diff --git a/tools/diagnose.py b/tools/diagnose.py
index <HASH>..<HASH> 100644
--- a/tools/diagnose.py
+++ b/tools/diagnose.py
@@ -110,6 +110,8 @@ def check_mxnet():
print('Commit Hash :', ch)
except ImportError:
print('No MXNet installed.')
+ except FileNotFoundError:
+ print('Ha... | fix diagnose if hashtag not found. (#<I>) | apache_incubator-mxnet | train | py |
f589bc18f386b47f9ff64ab4ae526cc4c2a935db | diff --git a/peri/fft.py b/peri/fft.py
index <HASH>..<HASH> 100644
--- a/peri/fft.py
+++ b/peri/fft.py
@@ -100,6 +100,15 @@ if hasfftw:
@atexit.register
def goodbye():
save_wisdom(conf.get_wisdom())
+
+ # need to provide a function which conditionally normalizes the result of
+ # an ifft becaus... | fft: adding fftnorm function so that fftw and numpy normalization are equal | peri-source_peri | train | py |
19226d062a5b4c474d95c33a50a278f6b3246398 | diff --git a/src/Commands/BootpackCreatePackage.php b/src/Commands/BootpackCreatePackage.php
index <HASH>..<HASH> 100644
--- a/src/Commands/BootpackCreatePackage.php
+++ b/src/Commands/BootpackCreatePackage.php
@@ -185,8 +185,8 @@ class BootpackCreatePackage extends Command
$this->comment('Register... | Update BootpackCreatePackage.php | ConsoleTVs_Bootpack | train | php |
23c20ebd6d912fbed60824bfb15d6fabcbd255f1 | diff --git a/test/permissions.js b/test/permissions.js
index <HASH>..<HASH> 100644
--- a/test/permissions.js
+++ b/test/permissions.js
@@ -5,23 +5,21 @@ var access = require('../lib/middleware/access')
var assert = require('assertmessage')
var http = require('http')
-var sandbox
-beforeEach(function (done) {
- if ... | refactor(tests): permissions | florianholzapfel_express-restify-mongoose | train | js |
49051fe57006997596ea898182c41ad91de983a3 | diff --git a/zappa/zappa.py b/zappa/zappa.py
index <HASH>..<HASH> 100644
--- a/zappa/zappa.py
+++ b/zappa/zappa.py
@@ -749,7 +749,7 @@ class Zappa(object):
integration.Credentials = credentials
integration.IntegrationHttpMethod = 'POST'
integration.IntegrationResponses = []
- ... | put passthrough back, add more stack failure cases | Miserlou_Zappa | train | py |
e8e4e72639eb6ab47394e80a4c6f4eed003ee13b | diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/attribute_methods.rb
+++ b/activerecord/lib/active_record/attribute_methods.rb
@@ -150,7 +150,7 @@ module ActiveRecord
BLACKLIS... | Fixed syntax error in RDoc directive | rails_rails | train | rb |
7b7574210ef0d1e25b19f50d782d65dd471d22dd | diff --git a/core/src/main/java/hudson/tasks/MailSender.java b/core/src/main/java/hudson/tasks/MailSender.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/tasks/MailSender.java
+++ b/core/src/main/java/hudson/tasks/MailSender.java
@@ -363,5 +363,5 @@ public class MailSender {
public static boolea... | allowed this to be configured via a system property. Interim solution until we really fix the e-mail notification.
git-svn-id: <URL> | jenkinsci_jenkins | train | java |
1b26e74ff8633ad03bd83e03a1ad47859bd1e283 | diff --git a/src/Persistence/DbRepositoryBase.php b/src/Persistence/DbRepositoryBase.php
index <HASH>..<HASH> 100644
--- a/src/Persistence/DbRepositoryBase.php
+++ b/src/Persistence/DbRepositoryBase.php
@@ -145,14 +145,9 @@ abstract class DbRepositoryBase implements IObjectSetWithLoadCriteriaSupport
$this->v... | Fix issue with loading objects from custom SQL query | dms-org_core | train | php |
32a6f12ee43946200962790931f1b52a3159ee51 | diff --git a/lib/buildpack/packager/package.rb b/lib/buildpack/packager/package.rb
index <HASH>..<HASH> 100644
--- a/lib/buildpack/packager/package.rb
+++ b/lib/buildpack/packager/package.rb
@@ -13,7 +13,7 @@ module Buildpack
def copy_buildpack_to_temp_dir(temp_dir)
FileUtils.cp_r(File.join(options[:roo... | Make symbols and strings both work.
Unclear how to predict which way a given manifest will get read.
[#<I>] | cloudfoundry_buildpack-packager | train | rb |
39b7d98286c6fbce0ba474cddae2d1a48d500fd9 | diff --git a/jquery.i18n.properties.js b/jquery.i18n.properties.js
index <HASH>..<HASH> 100644
--- a/jquery.i18n.properties.js
+++ b/jquery.i18n.properties.js
@@ -254,7 +254,7 @@
/** Language reported by browser, normalized code */
$.i18n.browserLang = function () {
- return normaliseLanguageCode(navigator.l... | Issue <I>: Language detection should use navigator.languages when able
In Chrome / Firefox <I>+ the list of preferred languages is set in
the navigator.languages array, where the primary preferred language is
placed in index 0.
<URL> | jquery-i18n-properties_jquery-i18n-properties | train | js |
4bda41be1658be7672eb200b3ac9116883b275f8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,8 +3,17 @@ import os
import sys
from setuptools import setup, Extension, find_packages
-from Cython.Build import cythonize
+try:
+ from Cython.Build import cythonize
+except ImportError:
+ # note: This is only t... | docs: try to hackaround the installation issues on RTD | swistakm_pyimgui | train | py |
637abcba241a69a1d9a8acf240855a6ed158cb64 | diff --git a/mock/mock.py b/mock/mock.py
index <HASH>..<HASH> 100644
--- a/mock/mock.py
+++ b/mock/mock.py
@@ -357,7 +357,11 @@ class _SentinelObject(object):
return 'sentinel.%s' % self.name
def __reduce__(self):
- return 'sentinel.%s' % self.name
+ return _unpickle_sentinel, (self.name, ... | Serhiy's approach didn't work on Python 2 or <I> | testing-cabal_mock | train | py |
dfcfcf2a6437a3c16219781ca07028df3c786d05 | diff --git a/lib/rules/no-multiple-empty-lines.js b/lib/rules/no-multiple-empty-lines.js
index <HASH>..<HASH> 100644
--- a/lib/rules/no-multiple-empty-lines.js
+++ b/lib/rules/no-multiple-empty-lines.js
@@ -31,7 +31,7 @@ module.exports = function(context) {
lastLocation,
blankCounter =... | Fix: resolve linting issue in (fixes #<I>) | eslint_eslint | train | js |
b60d9d83695ef26e1fb3395707869b6f717851c3 | diff --git a/s2reader/s2reader.py b/s2reader/s2reader.py
index <HASH>..<HASH> 100644
--- a/s2reader/s2reader.py
+++ b/s2reader/s2reader.py
@@ -49,6 +49,12 @@ class SentinelDataSet(object):
if self.is_zip:
self._zipfile = zipfile.ZipFile(self.path, 'r')
self._zip_root = os.path.basenam... | handling different ZIP structure, if SAFE folder is root | ungarj_s2reader | train | py |
e19c75819c85ff73318a01b2d7fda0acb625bece | diff --git a/dcf/creditcurve.py b/dcf/creditcurve.py
index <HASH>..<HASH> 100644
--- a/dcf/creditcurve.py
+++ b/dcf/creditcurve.py
@@ -17,9 +17,24 @@ from interpolation import constant, linear, loglinear, logconstant
class CreditCurve(RateCurve):
""" generic curve for default probabilities (under construction) ... | adding credit curves + unit tests + cast | pbrisk_dcf | train | py |
de3f4e931bddc66205b11ead680515e525d04ec2 | diff --git a/tldap/backend/base.py b/tldap/backend/base.py
index <HASH>..<HASH> 100644
--- a/tldap/backend/base.py
+++ b/tldap/backend/base.py
@@ -165,6 +165,9 @@ class LDAPbase(object):
# Loop over list of search results
for result_item in result_list:
+ # skip searchResRef for now
+ ... | Skip searchResRef results.
We don't support referrals. Yet.
Change-Id: Ieb4a<I>bb<I>b9ae4c5e<I>fbf9d<I>b<I> | Karaage-Cluster_python-tldap | train | py |
61e74d786d55159898776ae565a9f67a2a487f17 | diff --git a/lib/dataflow/nodes/compute_node.rb b/lib/dataflow/nodes/compute_node.rb
index <HASH>..<HASH> 100644
--- a/lib/dataflow/nodes/compute_node.rb
+++ b/lib/dataflow/nodes/compute_node.rb
@@ -221,6 +221,12 @@ module Dataflow
on_computing_started
start_time = Time.now
+ if data_no... | Force the data node to use double buffering when necessary. | Phybbit_dataflow-rb | train | rb |
0adc7003491f9fc0c3bf27a62a70602f18b2a955 | diff --git a/extensions/helper/Number.php b/extensions/helper/Number.php
index <HASH>..<HASH> 100644
--- a/extensions/helper/Number.php
+++ b/extensions/helper/Number.php
@@ -12,7 +12,8 @@
namespace cms_core\extensions\helper;
-use lihtium\core\Environment;
+use lithium\core\Environment;
+use NumberFormatter;
c... | Add missing deps to number helper. | bseries_cms_core | train | php |
91f0f99ca316d51e381ed860236232ed8fa81f49 | diff --git a/core/server/worker/src/main/java/alluxio/worker/block/UnderFileSystemBlockReader.java b/core/server/worker/src/main/java/alluxio/worker/block/UnderFileSystemBlockReader.java
index <HASH>..<HASH> 100644
--- a/core/server/worker/src/main/java/alluxio/worker/block/UnderFileSystemBlockReader.java
+++ b/core/se... | Passing variable name to Preconditions.checkNotNull (#<I>) | Alluxio_alluxio | train | java |
99dd818edcfae3fc36e3ce4ae613ac6636115c92 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,14 +45,14 @@ extras = {
"ml": ["numpy>=1.16,<1.17", "torch==1.0.0"],
"ner": ["sklearn-crfsuite>=0.3.6"],
"ssg": ["ssg>=0.0.6"],
- "thai2fit": ["emoji==0.5.1", "gensim==3.0", "numpy>=1.16,<1.17"],
+ "th... | Move gensim up to <I> | PyThaiNLP_pythainlp | train | py |
4632e6dda27e13439a029a80035448855b580e98 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,6 +22,8 @@ import sys
sys.path.insert(0, os.path.abspath('..'))
+import pypika
+
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal ... | Updated pypika version in docs | kayak_pypika | train | py |
4aa7ec02a0898dc3a430eeddd323237477f22dbb | diff --git a/src/animations/animatedImage/index.js b/src/animations/animatedImage/index.js
index <HASH>..<HASH> 100644
--- a/src/animations/animatedImage/index.js
+++ b/src/animations/animatedImage/index.js
@@ -90,12 +90,13 @@ class AnimatedImage extends BaseComponent {
render() {
const {containerStyle, loader,... | Fixed duplicate testID in AnimatedImage passed by Avatar (#<I>) | wix_react-native-ui-lib | train | js |
2e379d55cad16f086de862bedca2428efdbaa21a | diff --git a/src/defaults.js b/src/defaults.js
index <HASH>..<HASH> 100644
--- a/src/defaults.js
+++ b/src/defaults.js
@@ -44,7 +44,7 @@ module.exports = async (argv = {}) => {
const opts = mixinDeep(
{ project: { name, description: desc } },
defaults,
- { locals: await latestDeps() },
+ { locals: aw... | fix: allow passing settings.pkg | tunnckoCoreLabs_charlike | train | js |
356c0e4ee096c74a46aeaa302d41a8b6309608d7 | diff --git a/ELiDE/ELiDE/calendar/__init__.py b/ELiDE/ELiDE/calendar/__init__.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/calendar/__init__.py
+++ b/ELiDE/ELiDE/calendar/__init__.py
@@ -43,7 +43,6 @@ class CalendarDropMenuButton(CalendarWidget, Button):
self.modalview.add_widget(container)
co... | Delete extraneous whitespace | LogicalDash_LiSE | train | py |
4233bc9e72ba2c9d4134b428da671464856767a4 | diff --git a/failure.go b/failure.go
index <HASH>..<HASH> 100644
--- a/failure.go
+++ b/failure.go
@@ -38,13 +38,18 @@ type FailureRecord struct {
Error string
}
-// Record a failure for the currently running test. Most users will want to use
-// ExpectThat, ExpectEq, etc. instead of this function. Those that do w... | Declared AbortTest too. | jacobsa_ogletest | train | go |
a9884d6dc857e0b5ff2e808be2a56eb7c0d53a54 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1,5 +1,10 @@
-var Strategy = require('./strategy');
+'use strict';
+
+var Strategy = require('./strategy'),
+ ExtractJwt = require('./extract_jwt.js');
+
module.exports = {
- Strategy: Strategy
+ S... | Export the jwt extraction functions. | und3fined_passport-auth-jwt | train | js |
7e544de7de5b97a3e51d80a58d9a23de18d0422e | diff --git a/nomenclate/ui/token_widget.py b/nomenclate/ui/token_widget.py
index <HASH>..<HASH> 100644
--- a/nomenclate/ui/token_widget.py
+++ b/nomenclate/ui/token_widget.py
@@ -12,14 +12,11 @@ print(QtWidgets.__file__)
class CustomCompleter(QtWidgets.QCompleter):
def __init__(self, options, parent=None):
... | Just left Completer showing unfiltered results and moving on. | AndresMWeber_Nomenclate | train | py |
31d86bc07f2e64790a5cc2249ca87f952e36f7c3 | diff --git a/danceschool/core/forms.py b/danceschool/core/forms.py
index <HASH>..<HASH> 100644
--- a/danceschool/core/forms.py
+++ b/danceschool/core/forms.py
@@ -75,7 +75,7 @@ class CheckboxSelectMultipleWithDisabled(CheckboxSelectMultiple):
To make an option part of a separate "override" choice set, add a dictio... | Added renderer option for Django <I>+ compatibility | django-danceschool_django-danceschool | train | py |
88cee059aedd9adc7d36902b41e0d8a476e3efe0 | diff --git a/api/python/quilt3/api.py b/api/python/quilt3/api.py
index <HASH>..<HASH> 100644
--- a/api/python/quilt3/api.py
+++ b/api/python/quilt3/api.py
@@ -25,7 +25,7 @@ def copy(src, dest):
-ApiTelemetry("api.delete_package")
+@ApiTelemetry("api.delete_package")
def delete_package(name, registry=None, top_ha... | Fixed missing @ for decorator (#<I>) | quiltdata_quilt | train | py |
32e0d8697628f148ef515f0319dbdaeb6080764a | diff --git a/lib/Cake/Controller/Component/SecurityComponent.php b/lib/Cake/Controller/Component/SecurityComponent.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Controller/Component/SecurityComponent.php
+++ b/lib/Cake/Controller/Component/SecurityComponent.php
@@ -16,6 +16,8 @@
* @since CakePHP(tm) v 0.10.8... | Fixing sSecurity component tests | cakephp_cakephp | train | php,php |
24499f20e5d7061e2e686c873f9f4edb8f0f7bd8 | diff --git a/src/main/java/com/simpligility/maven/plugins/android/phase08preparepackage/DexMojo.java b/src/main/java/com/simpligility/maven/plugins/android/phase08preparepackage/DexMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/simpligility/maven/plugins/android/phase08preparepackage/DexMojo.java
+++ b/s... | Fix quotes problem with dex and multidex
- see <URL> | simpligility_android-maven-plugin | train | java |
1e4ba6a01db813714e4ba649d14da66d2d1f9473 | diff --git a/lib/graphql/client/hash_with_indifferent_access.rb b/lib/graphql/client/hash_with_indifferent_access.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/client/hash_with_indifferent_access.rb
+++ b/lib/graphql/client/hash_with_indifferent_access.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true
require "acti... | fix bug - missing require forwardable | github_graphql-client | train | rb |
a7d1608903825a4c2d781e5f8f709f26ed1bad03 | diff --git a/tweepy/cursor.py b/tweepy/cursor.py
index <HASH>..<HASH> 100644
--- a/tweepy/cursor.py
+++ b/tweepy/cursor.py
@@ -180,7 +180,7 @@ class PageIterator(BaseIterator):
def __init__(self, method, *args, **kwargs):
BaseIterator.__init__(self, method, *args, **kwargs)
- self.current_page = ... | Start on page 1 for PageIterator | tweepy_tweepy | train | py |
344fc525e0952be4621aad5777088c18844f3edb | diff --git a/lib/model/txproposal.js b/lib/model/txproposal.js
index <HASH>..<HASH> 100644
--- a/lib/model/txproposal.js
+++ b/lib/model/txproposal.js
@@ -169,6 +169,25 @@ TxProposal.prototype.getRawTx = function() {
return t.uncheckedSerialize();
};
+TxProposal.prototype.estimateFee = function(walletN) {
+ // N... | add fee estimation method to txp | bitpay_bitcore-wallet-service | train | js |
e805eff75bdc3b6f6c20e17ea7b226f8ad7afbbc | diff --git a/lib/moodle2cc/canvas/question.rb b/lib/moodle2cc/canvas/question.rb
index <HASH>..<HASH> 100644
--- a/lib/moodle2cc/canvas/question.rb
+++ b/lib/moodle2cc/canvas/question.rb
@@ -115,7 +115,7 @@ module Moodle2CC::Canvas
material = question.text
material = question.content || '' if material.n... | Don't modify question text in place | instructure_moodle2cc | train | rb |
97f69163a65dcf5dfa557e7114e857f5ef03bc8c | diff --git a/python/test/bigdl/dlframes/test_dl_image_transformer.py b/python/test/bigdl/dlframes/test_dl_image_transformer.py
index <HASH>..<HASH> 100644
--- a/python/test/bigdl/dlframes/test_dl_image_transformer.py
+++ b/python/test/bigdl/dlframes/test_dl_image_transformer.py
@@ -49,7 +49,7 @@ class TestDLImageTransf... | [WIP] spark <I> (#<I>)
* spark <I> | intel-analytics_BigDL | train | py |
2e6a49ace961d2fb9bfeba896a328f5ffb7a29d7 | diff --git a/go/libkb/secret_store_file.go b/go/libkb/secret_store_file.go
index <HASH>..<HASH> 100644
--- a/go/libkb/secret_store_file.go
+++ b/go/libkb/secret_store_file.go
@@ -8,6 +8,7 @@ import (
"io/ioutil"
"os"
"path/filepath"
+ "runtime"
)
var ErrSecretForUserNotFound = NotFoundError{Msg: "No secret fo... | Don't run chmod on file ptr in windows. | keybase_client | train | go |
3fcc9fb43800d68057b49e919b4ab39a733d07e8 | diff --git a/lib/transports/polling-jsonp.js b/lib/transports/polling-jsonp.js
index <HASH>..<HASH> 100644
--- a/lib/transports/polling-jsonp.js
+++ b/lib/transports/polling-jsonp.js
@@ -67,6 +67,13 @@ function JSONPPolling (opts) {
// append to query string
this.query.j = this.index;
+
+ // prevent spurious e... | polling-jsonp: prevent spurious errors from being emitted when the window is unloaded | socketio_engine.io-client | train | js |
31f28f53dcdd937a96c131f5f097bfc3e5730d1b | diff --git a/pantsbuild_migration.py b/pantsbuild_migration.py
index <HASH>..<HASH> 100644
--- a/pantsbuild_migration.py
+++ b/pantsbuild_migration.py
@@ -257,7 +257,7 @@ def handle_path(path):
print('PROCESSING: %s' % path)
srcfile = BuildFile(path)
srcfile.process()
- elif path.endswith('.rst'... | Don't try to edit the asc file.
(sapling split of <I>ef3ca<I>cee<I>e9dcaefeb7d1dd3ccd<I>ed5) | pantsbuild_pants | train | py |
91a3939bc1170edc4807bf206021bd240bdf0cc5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ from setuptools import setup
if TkVersion <= 8.5:
- message = "This version of ttkthemes does not support Tk 8.5 and earlier. Please install an earlier version."
+ message = "This version of ttkthemes d... | Fix RuntimeError message upon installation with Tk <I> or earlier (#<I>) | RedFantom_ttkthemes | train | py |
5138a948a263e620de8f662fcd7cebd0e38ffbb3 | diff --git a/DependencyInjection/Compiler/AddDashboardWidgetsPass.php b/DependencyInjection/Compiler/AddDashboardWidgetsPass.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Compiler/AddDashboardWidgetsPass.php
+++ b/DependencyInjection/Compiler/AddDashboardWidgetsPass.php
@@ -25,17 +25,12 @@ class AddDashboar... | Simplify add dashboard widgets compiler pass. | DarvinStudio_DarvinAdminBundle | train | php |
e81bd5a7d092a5a1bbaf1ba6dc2287a9f6b9a130 | diff --git a/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py b/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py
index <HASH>..<HASH> 100644
--- a/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py
+++ b/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py
@@ -140,8 +140,8 @@ c... | Removed printing from PhraseTaggr | estnltk_estnltk | train | py |
e4c738ad4fecd02986f4fce008b9216af8d6f328 | diff --git a/yalla-core.js b/yalla-core.js
index <HASH>..<HASH> 100644
--- a/yalla-core.js
+++ b/yalla-core.js
@@ -222,13 +222,12 @@ var yalla = (function () {
framework.getParentComponent = function(node){
var _node = node;
- while(_node.parentNode){
- var _parentNode = _node.parentNo... | Enrich this object in .trigger. Todo for .bind and expression | yallajs_yalla | train | js |
251c47665253f4acfe1b6df62f8b8e75ef349823 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java b/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java
+++ b/c... | Fixed bug on iterating class records inside a transaction | orientechnologies_orientdb | train | java |
e6ffd52e7225fdce02bb6f419aab3ece5e3f901f | diff --git a/polyaxon/polypod/notebook.py b/polyaxon/polypod/notebook.py
index <HASH>..<HASH> 100644
--- a/polyaxon/polypod/notebook.py
+++ b/polyaxon/polypod/notebook.py
@@ -130,7 +130,7 @@ class NotebookSpawner(ProjectJobSpawner):
"--port={port} "
"--ip=0.0.0.0 "
"--allow-root "... | Remove quote around `allow_origin=*` | polyaxon_polyaxon | train | py |
8fedc0d9e917ca52d199f3940e10aa6b8a31d977 | diff --git a/src/Hint/HintContent.js b/src/Hint/HintContent.js
index <HASH>..<HASH> 100644
--- a/src/Hint/HintContent.js
+++ b/src/Hint/HintContent.js
@@ -50,7 +50,7 @@ const styles = theme => ({
position: 'absolute'
},
left: {
- left: -15,
+ left: -theme.hint.paddings.right,
paddingLeft: theme.hi... | fix: added hint container left and right position | rambler-digital-solutions_rambler-ui | train | js |
4c0cf74bdaa2d2701313b71010cc922959a43635 | diff --git a/src/nu/validator/servlet/Statistics.java b/src/nu/validator/servlet/Statistics.java
index <HASH>..<HASH> 100644
--- a/src/nu/validator/servlet/Statistics.java
+++ b/src/nu/validator/servlet/Statistics.java
@@ -107,8 +107,8 @@ public class Statistics {
"Logic errors in schema stats"), PARSE... | Slightly reword a stats description | validator_validator | train | java |
39195a8e8644528ff1f5fe5de5c192788794d853 | diff --git a/fsquery/fsquery.py b/fsquery/fsquery.py
index <HASH>..<HASH> 100644
--- a/fsquery/fsquery.py
+++ b/fsquery/fsquery.py
@@ -1,6 +1,6 @@
import os
import re
-
+import datetime
from shutil import copyfile
@@ -37,6 +37,14 @@ class FSNode :
def relative(self) :
return self.abs.replace(self.... | added time functions to FSNode | interstar_FSQuery | train | py |
8176d66a5c17fa5468c694f3ff39d367d2f6f370 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
from setuptools import find_packages, setup
import subprocess
-subprocess.call(["apt-get", "install", "libgeos-dev"])
+subprocess.call(["sudo", "apt-get", "install", "libgeos-dev"])
setup(name='dingo',
... | Try libgeos with sudo | openego_ding0 | train | py |
bfe3b917269ba7ad120b73cc11d67749bb750940 | diff --git a/aioauth_client.py b/aioauth_client.py
index <HASH>..<HASH> 100644
--- a/aioauth_client.py
+++ b/aioauth_client.py
@@ -505,7 +505,7 @@ class LichessClient(OAuth2Client):
if self.access_token:
headers['Authorization'] = "Bearer {}".format(self.access_token)
- return self._reque... | Fix TypeError: object tuple can't be used in 'await' expression | klen_aioauth-client | train | py |
b7e50e45cee9b7abf9486bb343a096acc79387df | diff --git a/lib/jazzy/doc_builder.rb b/lib/jazzy/doc_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/jazzy/doc_builder.rb
+++ b/lib/jazzy/doc_builder.rb
@@ -183,7 +183,7 @@ module Jazzy
doc[:structure] = source_module.doc_structure
doc[:module_name] = source_module.name
doc[:author_name] = source... | Fixed bug where "View on GitHub" was always shown | realm_jazzy | train | rb |
82112b9c77164a8961d93cfb49d916d4b4bc4384 | diff --git a/lib/support/chromePerflogParser.js b/lib/support/chromePerflogParser.js
index <HASH>..<HASH> 100644
--- a/lib/support/chromePerflogParser.js
+++ b/lib/support/chromePerflogParser.js
@@ -101,7 +101,15 @@ module.exports = {
entry.time = max(0, blocked) + max(0, dns) + max(0, connect) + send + wait... | Used the delta from requestWillBeSent and requestSent and added it to the startedDateTime of reused connnections | sitespeedio_browsertime | train | js |
217848ca52864b6ad4556d18ba011d041534df01 | diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js
index <HASH>..<HASH> 100644
--- a/spec/api-browser-window-spec.js
+++ b/spec/api-browser-window-spec.js
@@ -82,7 +82,10 @@ describe('browser-window module', function () {
})
afterEach(function () {
- return closeWindow(w).then(fun... | Assert windows are not leaking across tests | electron_electron | train | js |
e8ddaa3cac2440a4521cd61eefc8844ead1186a2 | diff --git a/silverberg/client.py b/silverberg/client.py
index <HASH>..<HASH> 100644
--- a/silverberg/client.py
+++ b/silverberg/client.py
@@ -182,8 +182,11 @@ class CQLClient(object):
prep_query = prepare(query, args)
def _execute(client):
- return client.execute_cql3_query(prep_query,
-... | Query can be cancelled
Cancelling a running query will try to disconnect TCP connection | rackerlabs_silverberg | train | py,py |
901daf44f4a751e3efccb94f6b543e98e7b400b7 | diff --git a/encryption/src/main/java/se/simbio/encryption/Encryption.java b/encryption/src/main/java/se/simbio/encryption/Encryption.java
index <HASH>..<HASH> 100644
--- a/encryption/src/main/java/se/simbio/encryption/Encryption.java
+++ b/encryption/src/main/java/se/simbio/encryption/Encryption.java
@@ -14,6 +14,7 @@... | Add an observation for possibles bugs in KitKat+ if you are supporting olders apis, because the API has change in <I>, to solve this problem, you just need to use the PBKDF2WithHmacSHA1And8bit more details please read <URL> | simbiose_Encryption | train | java |
86ededfe063c361f0481c9e820a9ae605d8a6086 | diff --git a/java/com/couchbase/lite/ApiTest.java b/java/com/couchbase/lite/ApiTest.java
index <HASH>..<HASH> 100644
--- a/java/com/couchbase/lite/ApiTest.java
+++ b/java/com/couchbase/lite/ApiTest.java
@@ -82,7 +82,7 @@ public class ApiTest extends LiteTestCase {
}
boolean readOnly = true;
b... | Remove noReplicator property from ManagerOptions -- no longer needed. | couchbase_couchbase-lite-android | train | java |
9e31852fc78b8d62b68dda1fb57ac5f50cb4bb03 | diff --git a/jaraco/util/string.py b/jaraco/util/string.py
index <HASH>..<HASH> 100644
--- a/jaraco/util/string.py
+++ b/jaraco/util/string.py
@@ -136,7 +136,7 @@ def trim(s):
is common due to indentation and formatting.
>>> trim("\n\tfoo = bar\n\t\tbar = baz\n")
- 'foo = bar\n\tbar = baz'
+ u'foo = bar\n\tba... | Fixed failing doctest (unicode variation) | jaraco_jaraco.text | train | py |
04debd17388623867f413fc701b8b002d02bc2ea | diff --git a/ecs-init/engine/engine.go b/ecs-init/engine/engine.go
index <HASH>..<HASH> 100644
--- a/ecs-init/engine/engine.go
+++ b/ecs-init/engine/engine.go
@@ -261,7 +261,7 @@ func (e *Engine) PostStop() error {
err := e.loopbackRouting.RestoreDefault()
// Ignore error from Remove() as the netfilter might neve... | Fix typo in comment (#<I>) | aws_amazon-ecs-agent | train | go |
405fab15c613bdf142540447eeb1242a474c4c91 | diff --git a/Kwf_js/EyeCandy/Lightbox/Lightbox.js b/Kwf_js/EyeCandy/Lightbox/Lightbox.js
index <HASH>..<HASH> 100644
--- a/Kwf_js/EyeCandy/Lightbox/Lightbox.js
+++ b/Kwf_js/EyeCandy/Lightbox/Lightbox.js
@@ -377,8 +377,14 @@ Kwf.EyeCandy.Lightbox.Styles.CenterBox = Ext.extend(Kwf.EyeCandy.Lightbox.Styles
var xy... | disable animation when re-opening lightbox
it made unintentional animations | koala-framework_koala-framework | train | js |
2ec4bb1a13f857e87fe66b8d28e4f9cdfb049ee1 | diff --git a/lib/vagrant/ui/remote.rb b/lib/vagrant/ui/remote.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/ui/remote.rb
+++ b/lib/vagrant/ui/remote.rb
@@ -12,6 +12,11 @@ module Vagrant
# no-op
end
+ def ask(message, **opts)
+ opts[:style] ||= :detail
+ @client.input(message.gsub... | Add remote override for #ask method | hashicorp_vagrant | train | rb |
c22634fbf81a899f5b5cacb8587aaba885fe60ff | diff --git a/spyder/widgets/sourcecode/base.py b/spyder/widgets/sourcecode/base.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/sourcecode/base.py
+++ b/spyder/widgets/sourcecode/base.py
@@ -55,7 +55,7 @@ class CompletionWidget(QListWidget):
self.setWindowFlags(Qt.SubWindow | Qt.FramelessWindowHint)
... | Editor: Minor fixes after PR #<I> | spyder-ide_spyder | train | py |
fa306e9c734528cbeb3902dce4e7257cd09387f0 | diff --git a/yandextank/plugins/Bfg/worker.py b/yandextank/plugins/Bfg/worker.py
index <HASH>..<HASH> 100644
--- a/yandextank/plugins/Bfg/worker.py
+++ b/yandextank/plugins/Bfg/worker.py
@@ -61,6 +61,15 @@ Gun: {gun.__class__.__name__}
Say the workers to finish their jobs and quit.
"""
self.q... | Update worker.py
Partially solves bfg zombie problem. You need to put os._exit(0) at the end of teardown to make sure instances are dead. | yandex_yandex-tank | train | py |
99b4d77d20df599bd0c3d4a5f87e9d2e0adf1172 | diff --git a/packages/hw-app-btc/src/Btc.js b/packages/hw-app-btc/src/Btc.js
index <HASH>..<HASH> 100644
--- a/packages/hw-app-btc/src/Btc.js
+++ b/packages/hw-app-btc/src/Btc.js
@@ -228,22 +228,25 @@ const tx1 = btc.splitTransaction("01000000014ea60aeac5252c14291d428915bd7ccd1bfc
}
getTrustedInput(
- transp... | getTrustedInput* should not take a transport in param | LedgerHQ_ledgerjs | train | js |
d6df455e9336d1c57554f107fb822341ab076cbf | diff --git a/moa/src/main/java/moa/tasks/EvaluatePrequentialCV.java b/moa/src/main/java/moa/tasks/EvaluatePrequentialCV.java
index <HASH>..<HASH> 100644
--- a/moa/src/main/java/moa/tasks/EvaluatePrequentialCV.java
+++ b/moa/src/main/java/moa/tasks/EvaluatePrequentialCV.java
@@ -93,7 +93,7 @@ public class EvaluatePreque... | Doing the same spelling correction to numFolds in EvaluatePrequentialCV | Waikato_moa | train | java |
f3a080fa96600cff29b540ca5d5a22af2ed2e8dd | diff --git a/src/prop-types/ref.js b/src/prop-types/ref.js
index <HASH>..<HASH> 100644
--- a/src/prop-types/ref.js
+++ b/src/prop-types/ref.js
@@ -1,5 +1,3 @@
import PropTypes from 'prop-types';
-export default PropTypes.shape({
- current: PropTypes.any,
-});
+export default PropTypes.object; | Use Object proptype for refs
Using shape with non-required keys is basically the same as using Object in the first place. And we cannot make the current key required here because at certain points in the component lifecycle it will be null. | juanca_react-aria-components | train | js |
c8d42aa18b7abd75e45e1fccdb04b763d1f5f992 | diff --git a/osmdroid-android/src/main/java/org/osmdroid/views/overlay/ItemizedIconOverlay.java b/osmdroid-android/src/main/java/org/osmdroid/views/overlay/ItemizedIconOverlay.java
index <HASH>..<HASH> 100644
--- a/osmdroid-android/src/main/java/org/osmdroid/views/overlay/ItemizedIconOverlay.java
+++ b/osmdroid-android... | Update issue <I>
Status: ReadyForTesting
Added populate() call to addItem(int, Item) | osmdroid_osmdroid | train | java |
deb2c918ad9713e0436b6bdc5f45647be8caba17 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -121,6 +121,7 @@ gulp.task('conda:build', async () => {
if (os.platform() == 'win32') {
title('installing buildtools (must be running as Administrator)');
await spawnAsync(`npm install --global --produ... | ensure msvs_version is <I> | Lucaszw_microdrop-feedstock | train | js |
30f2104df32e5a8836f708fcf563de1d5a7fec19 | diff --git a/mozilla_django_oidc/auth.py b/mozilla_django_oidc/auth.py
index <HASH>..<HASH> 100644
--- a/mozilla_django_oidc/auth.py
+++ b/mozilla_django_oidc/auth.py
@@ -28,7 +28,7 @@ def default_username_algo(email):
# this protects against data leakage because usernames are often
# treated as public identi... | Replace sh<I> with sha1 in username_algo. | mozilla_mozilla-django-oidc | train | py |
87ce1337e62b1974b27e6a982604cda5f5b157ae | diff --git a/foxpuppet/windows/browser.py b/foxpuppet/windows/browser.py
index <HASH>..<HASH> 100644
--- a/foxpuppet/windows/browser.py
+++ b/foxpuppet/windows/browser.py
@@ -23,7 +23,7 @@ class BrowserWindow(BaseWindow):
"""Returns True if this is a Private Browsing window."""
self.switch_to()
- ... | Switch to class variables for context values (#<I>) | mozilla_FoxPuppet | train | py |
7e34d8d6ab06fcb9055312b0240041a1bfc41ae9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -177,7 +177,7 @@ function processParameter(param,op,path,index,openapi) {
for (var mimetype of consumes) {
result.content[mimetype] = {};
if (param.description) result.content[mimetype].description = param.descripti... | Clone schemas to prevent internal refs in yaml | wework_speccy | train | js |
423a5f59077d7c572ab4430a6a8bd1b8bef712ef | diff --git a/config/initializers/url_for_patch.rb b/config/initializers/url_for_patch.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/url_for_patch.rb
+++ b/config/initializers/url_for_patch.rb
@@ -1,8 +1,8 @@
module ActionDispatch
module Routing
class RouteSet
-
- def url_for_with_storytim... | Fix url_for_patch to work with rails <I> | CultivateLabs_storytime | train | rb |
35a8ba97af977d9f911345632d70b0855bb15bee | diff --git a/src/controllers/HubController.php b/src/controllers/HubController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/HubController.php
+++ b/src/controllers/HubController.php
@@ -31,7 +31,9 @@ class HubController extends CrudController
$action = $event->sender;
... | Added `with_servers` to HubController view | hiqdev_hipanel-module-server | train | php |
454b11039ffba3d5a5d61aff0f27a56cfba37130 | diff --git a/Samba/Connection.php b/Samba/Connection.php
index <HASH>..<HASH> 100644
--- a/Samba/Connection.php
+++ b/Samba/Connection.php
@@ -169,7 +169,7 @@ class sb_Samba_Connection {
public function ls($subdir = '', &$raw = NULL) {
$teststr = str_replace('\\', '-', $subdir);
- $nub = (preg_match('/[-?|\/?... | added support for dashes in filename | surebert_surebert-framework | train | php |
d47e4fe557d4688c5018ee804ce97c00018e2e8d | diff --git a/db/migrate/20150930183738_migrate_content_hosts.rb b/db/migrate/20150930183738_migrate_content_hosts.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20150930183738_migrate_content_hosts.rb
+++ b/db/migrate/20150930183738_migrate_content_hosts.rb
@@ -310,6 +310,8 @@ class MigrateContentHosts < ActiveRecord:... | Fixes #<I> - handle systems with nil uuid on upgrade (#<I>) | Katello_katello | train | rb |
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.