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 |
|---|---|---|---|---|---|
08b33d383004b5cf1de1b13c8480af511596dfca | diff --git a/lib/feed2email/cli.rb b/lib/feed2email/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/feed2email/cli.rb
+++ b/lib/feed2email/cli.rb
@@ -50,7 +50,7 @@ module Feed2Email
exported = open(path, "w") do |f|
uris = Feed.by_smallest_id.select_map(:uri)
- if OPMLWriter.new(uris).export(f) > ... | Rename OPMLWriter#export to #write | agorf_feed2email | train | rb,rb |
0128dd43f2fe265c06da23fd55055fa99d3a59c7 | diff --git a/desktop/ui/src/main/java/org/datacleaner/widgets/visualization/JobGraphKeyListener.java b/desktop/ui/src/main/java/org/datacleaner/widgets/visualization/JobGraphKeyListener.java
index <HASH>..<HASH> 100644
--- a/desktop/ui/src/main/java/org/datacleaner/widgets/visualization/JobGraphKeyListener.java
+++ b/d... | Corrected rename shortcut from F4 to F2 | datacleaner_DataCleaner | train | java |
745b8300f0f67ab359bc9a0caef8bdaa92f7c45c | diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpContentDecoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpContentDecoder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/netty/handler/codec/http/HttpContentDecoder.java
+++ b/src/main/java/org/jboss/netty/handler/codec/ht... | Do not decode when the content is empty | netty_netty | train | java |
4a6c9557e9ad71ad599a8b2a172e31433fb68d31 | diff --git a/lxd/instance/drivers/driver_qemu_templates.go b/lxd/instance/drivers/driver_qemu_templates.go
index <HASH>..<HASH> 100644
--- a/lxd/instance/drivers/driver_qemu_templates.go
+++ b/lxd/instance/drivers/driver_qemu_templates.go
@@ -319,7 +319,6 @@ wait = "off"
`))
var qemuDriveFirmware = template.Must(te... | lxd/instance/drivers/driver/qemu/templates: Removes duplicated arch check in qemuDriveFirmware
This is done inside LXD now. | lxc_lxd | train | go |
a53bd880d1b319c73c32aa69a4d75f04965cf7af | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -65,7 +65,6 @@ Cardboard.prototype.bboxQuery = function(input, layer, callback) {
res = res.map(function(r) {
return r.items.map(function(i){
- i.val = geobuf.geobufToFeature(i.val);
... | parse geobuf features after the set is unique | mapbox_cardboard | train | js |
786163a7cb97ffde43c92cbbca1493dac257b310 | diff --git a/user/view.php b/user/view.php
index <HASH>..<HASH> 100644
--- a/user/view.php
+++ b/user/view.php
@@ -341,6 +341,11 @@ if (!isset($hiddenfields['mycourses'])) {
}
}
+require_once($CFG->libdir . '/badgeslib.php');
+if (!empty($CFG->enablebadges) && !empty($CFG->badges_allowcoursebadges)) {
+ prof... | MDL-<I> badges Add badges to the user short profile page. | moodle_moodle | train | php |
3f0de9ef6b454ab9572aad0de4624c602e9e230b | diff --git a/src/ICal/ICal.php b/src/ICal/ICal.php
index <HASH>..<HASH> 100644
--- a/src/ICal/ICal.php
+++ b/src/ICal/ICal.php
@@ -1077,8 +1077,8 @@ class ICal
* Returns a sorted array of the events in a given range,
* or false if no events exist in the range.
*
- * Events will be returned if they... | Permit `eventsFromRange` to be given the same date for start and end of range
This will then return all events that start on that date | u01jmg3_ics-parser | train | php |
605cc217f5da6a359139fad18041c66764c2e32f | diff --git a/compiler/natives/src/syscall/syscall.go b/compiler/natives/src/syscall/syscall.go
index <HASH>..<HASH> 100644
--- a/compiler/natives/src/syscall/syscall.go
+++ b/compiler/natives/src/syscall/syscall.go
@@ -49,6 +49,10 @@ func use(p unsafe.Pointer) {
// no-op
}
+func Exit(code int) {
+ Syscall(SYS_EXIT... | compiler/natives/src/syscall: Provide implementation of Exit.
syscall.Exit implementation has been removed upstream. In Go <I>, it's
provided via runtime.exit. We can't do that, so just implement
syscall.Exit ourselves as it was previously implemented.
Related to <URL> | gopherjs_gopherjs | train | go |
28b307c42795eb42cbfc8ac9f4f82b4f4f647fb4 | diff --git a/gwpy/signal/spectral/_ui.py b/gwpy/signal/spectral/_ui.py
index <HASH>..<HASH> 100644
--- a/gwpy/signal/spectral/_ui.py
+++ b/gwpy/signal/spectral/_ui.py
@@ -220,7 +220,7 @@ def _normalize_window(window, nfft, library, dtype):
window = canonical_name(window)
if isinstance(window, string_types... | gwpy.signal: fix handling of array windows
need to pass through arrays untouched, not ignore them entirely | gwpy_gwpy | train | py |
164173753d50055334ef2f5ab5c058f5a6f37721 | diff --git a/extensions/angoose-mongoose.js b/extensions/angoose-mongoose.js
index <HASH>..<HASH> 100644
--- a/extensions/angoose-mongoose.js
+++ b/extensions/angoose-mongoose.js
@@ -72,6 +72,7 @@ function postResolveTarget(next, invocation){
Object.keys(schema.paths).forEach(function(path){
//var p... | skipping fields starting with _ when merging | tjworks_angoose | train | js |
433985bfee240834520de92e66ba28df95105489 | diff --git a/lib/fog/openstack.rb b/lib/fog/openstack.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/openstack.rb
+++ b/lib/fog/openstack.rb
@@ -200,6 +200,13 @@ module Fog
Fog::JSON.decode(response.body)
end
+
+ # CGI.escape, but without special treatment on spaces
+ def self.escape(str,extra_exc... | [openstack|storage] Added OpenStack.escape utility method
Required by OpenStack Storage service. | fog_fog | train | rb |
bda4504c1ffaa4f938b6f870cac59ca195ec5161 | diff --git a/sdcclient/_secure.py b/sdcclient/_secure.py
index <HASH>..<HASH> 100644
--- a/sdcclient/_secure.py
+++ b/sdcclient/_secure.py
@@ -1342,7 +1342,7 @@ class SdSecureClient(_SdcCommon):
A JSON object containing the details of each profile.
'''
- url = "{url}/api/profiling/v1/secu... | Fix profiling endpoint (#<I>) | draios_python-sdc-client | train | py |
ab64499911184faee11147bc1c88dd2616e848ab | diff --git a/activerecord/test/cases/timestamp_test.rb b/activerecord/test/cases/timestamp_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/timestamp_test.rb
+++ b/activerecord/test/cases/timestamp_test.rb
@@ -93,6 +93,7 @@ class TimestampTest < ActiveRecord::TestCase
owner = pet.owner
owne... | reload the owner model after update | rails_rails | train | rb |
4c135e69d60ed1c7526e866c9aae71af477a79f5 | diff --git a/src/Framework/Dispatcher.php b/src/Framework/Dispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Framework/Dispatcher.php
+++ b/src/Framework/Dispatcher.php
@@ -87,7 +87,6 @@ class Dispatcher
}
// And check again, now that we might have a magic template path
- $renderedContent =... | renderedContent doesn't need to be set to null | devvoh_parable | train | php |
df453ed8746df67747450e76866f705b9ad02b9d | diff --git a/ghost/admin/app/components/gh-launch-wizard/set-pricing.js b/ghost/admin/app/components/gh-launch-wizard/set-pricing.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/app/components/gh-launch-wizard/set-pricing.js
+++ b/ghost/admin/app/components/gh-launch-wizard/set-pricing.js
@@ -1,5 +1,5 @@
import Compo... | Fixed pricing step error due to renamed file
no issue
- `gh-members-lab-setting` was renamed to `gh-members-payments-setting` | TryGhost_Ghost | train | js |
00bb87eb5ffb2af997f41513832e27e7f23eb809 | diff --git a/src/closure-compiler-plugin.js b/src/closure-compiler-plugin.js
index <HASH>..<HASH> 100644
--- a/src/closure-compiler-plugin.js
+++ b/src/closure-compiler-plugin.js
@@ -1394,7 +1394,7 @@ ClosureCompilerPlugin.DEFAULT_FLAGS_AGGRESSIVE_BUNDLE = {
module_resolution: 'WEBPACK',
rename_prefix_namespace: ... | fix: STRICT is undefined | webpack-contrib_closure-webpack-plugin | train | js |
f9e7d47bc9aa8249b8c39ce62659499087989384 | diff --git a/javascript/GridField.js b/javascript/GridField.js
index <HASH>..<HASH> 100644
--- a/javascript/GridField.js
+++ b/javascript/GridField.js
@@ -22,6 +22,14 @@
if(window.location.search) {
ajaxOpts.data = window.location.search.replace(/^\?/, '') + '&' + $.param(ajaxOpts.data);
}
+
+ //... | BUG fix listview not working with IE9
To reproduce:
1. Using IE9, go to demo.silverstripe.com
2. login
3. go to Pages
4. switch to listview
5. expand pages to get to one with pagination (e.g. Pages > Features > Listview)
6. go to next page
Expected: you go to the next page
Actual: it jumps you back to the ... | silverstripe_silverstripe-framework | train | js |
19a726f76894a8df1f37c3e5192f4d6696634052 | diff --git a/simulator/container.go b/simulator/container.go
index <HASH>..<HASH> 100644
--- a/simulator/container.go
+++ b/simulator/container.go
@@ -132,6 +132,7 @@ func (c *container) start(vm *VirtualMachine) {
}
run := append([]string{"docker", "run", "-d", "--name", vm.Name}, env...)
+ run = append(run, "--... | Pass vm.Config.Uuid into the "VM" container via an env var
E.g. for passing it through to a Kubernetes cloud-provider.
The var is VMX_CONFIG_UUID. | vmware_govmomi | train | go |
9c75ae568b9a1a3ff7be0c95a24c60a7230a3a0e | diff --git a/pymzn/mzn/output.py b/pymzn/mzn/output.py
index <HASH>..<HASH> 100644
--- a/pymzn/mzn/output.py
+++ b/pymzn/mzn/output.py
@@ -67,18 +67,18 @@ class Solutions:
return self._solns[key]
def __repr__(self):
- if self._keep:
+ if self._keep and self.status < 2:
self._f... | output: better str and repr for Solutions | paolodragone_pymzn | train | py |
a2f08e67ed7c82fc1686d4a79de3c6efc248e6e9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ import setuptools
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
- import multiprocessing # noqa: F401
+ import m... | Updated from global requirements
Change-Id: Id9d<I>a3f<I>f<I>cdba3f<I>c<I>aa | openstack_horizon | train | py |
6a087a01656b3e8f6ba2e87b40b0611519b75c2b | diff --git a/src/components/tabs/js/tabsController.js b/src/components/tabs/js/tabsController.js
index <HASH>..<HASH> 100644
--- a/src/components/tabs/js/tabsController.js
+++ b/src/components/tabs/js/tabsController.js
@@ -56,8 +56,8 @@ function MdTabsController($scope, $element, $mdUtil, $timeout) {
// Select t... | fix(tabs): factors `me-active` attribute into selection logic to prevent unnecessary `md-on-select` calls
Closes #<I>. | angular_material | train | js |
f69dbecc38e04cd4d158afb273921ca7b75c7cba | diff --git a/transformers/configuration_utils.py b/transformers/configuration_utils.py
index <HASH>..<HASH> 100644
--- a/transformers/configuration_utils.py
+++ b/transformers/configuration_utils.py
@@ -58,6 +58,8 @@ class PretrainedConfig(object):
self.use_bfloat16 = kwargs.pop('use_bfloat16', False)
... | Expose classification labels mapping (and reverse) in model config. | huggingface_pytorch-pretrained-BERT | train | py |
c0504c148736ebe373705db6ca7f6a414b0e513d | diff --git a/test/handshake.js b/test/handshake.js
index <HASH>..<HASH> 100644
--- a/test/handshake.js
+++ b/test/handshake.js
@@ -8,11 +8,12 @@ var tape = require('tape')
var handshake = require('../')
function agreement (cb) {
- var stream = handshake()
+ var stream = handshake(cb)
var shake = stream.handsha... | test that cb is not called twice | pull-stream_pull-handshake | train | js |
d298815816ceefebfb08130152f5fc7246e3bfe4 | diff --git a/kernel/setup/ezsetuptypes.php b/kernel/setup/ezsetuptypes.php
index <HASH>..<HASH> 100644
--- a/kernel/setup/ezsetuptypes.php
+++ b/kernel/setup/ezsetuptypes.php
@@ -1709,7 +1709,7 @@ function eZSetupForumRoles( &$roles, $siteType, $parameters )
function eZSetupShopRoles( &$roles, $siteType, $parameters... | - Fixed: Used 'shop' as addon name but 'products' was the correct one.
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
478f7586a02aa4b5ce67d8c241e5a1d2dbbdc800 | diff --git a/lib/axp209.js b/lib/axp209.js
index <HASH>..<HASH> 100644
--- a/lib/axp209.js
+++ b/lib/axp209.js
@@ -14,6 +14,7 @@ function AXP209(bus, address) {
this._i2c = new I2C(bus, address);
this._reads = {};
+ this._readInProgress = {};
}
util.inherits(AXP209, events.EventEmitter);
@@ -39,19 +40,27 @... | AXP<I>: check if a read is in progress before attempting to read | sandeepmistry_node-chip-io | train | js |
6d750a169b75e3ff63113494d8affc8397bc587c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(
],
extras_require={
'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'],
- 'test': ['pytest>=6', 'pytest-cov'],
+ 'test': ['pytest>=7', 'pytest-cov'],
'd... | bump pytest to >= 7 | xflr6_concepts | train | py |
0cc7152f17f7dbf0bef3f66da1c2b40d97ea8ff7 | diff --git a/chrome/src/java/org/openqa/selenium/chrome/ChromeBinary.java b/chrome/src/java/org/openqa/selenium/chrome/ChromeBinary.java
index <HASH>..<HASH> 100644
--- a/chrome/src/java/org/openqa/selenium/chrome/ChromeBinary.java
+++ b/chrome/src/java/org/openqa/selenium/chrome/ChromeBinary.java
@@ -27,7 +27,8 @@ pub... | SimonStewart: Disabling the first run check in the chrome driver
r<I> | SeleniumHQ_selenium | train | java |
b4fc5ef17f45fd6bd792c0a7ed19e7913c24b2a2 | diff --git a/DomHandler/Wsdl/Tag/TagDocumentation.php b/DomHandler/Wsdl/Tag/TagDocumentation.php
index <HASH>..<HASH> 100755
--- a/DomHandler/Wsdl/Tag/TagDocumentation.php
+++ b/DomHandler/Wsdl/Tag/TagDocumentation.php
@@ -29,6 +29,17 @@ class TagDocumentation extends AbstractTag
return $enumerationTag... | add a workaround to be able to return the right tag object | WsdlToPhp_PackageGenerator | train | php |
50a5b79282bf6f57549eec0341e49ce8af840640 | diff --git a/examples/hello_world.rb b/examples/hello_world.rb
index <HASH>..<HASH> 100644
--- a/examples/hello_world.rb
+++ b/examples/hello_world.rb
@@ -5,7 +5,7 @@ require 'reel'
addr, port = '127.0.0.1', 1234
puts "*** Starting server on #{addr}:#{port}"
-Reel::Server.new(addr, port) do |connection|
+Reel::Serv... | Ugh, hello world example was broken :( | celluloid_reel | train | rb |
fae0e279bc644107ee9882480ca44ac7fb781017 | diff --git a/trollimage/xrimage.py b/trollimage/xrimage.py
index <HASH>..<HASH> 100644
--- a/trollimage/xrimage.py
+++ b/trollimage/xrimage.py
@@ -104,6 +104,7 @@ class RIOFile(object):
def close(self):
if not self._closed:
if self.overviews:
+ logger.debug('Building overviews ... | Add log message to print out when building overviews | pytroll_trollimage | train | py |
a24d0ab68b46c17f5b734905dbe05b3159ce15e4 | diff --git a/client/components/domains/use-my-domain/utilities/get-option-info.js b/client/components/domains/use-my-domain/utilities/get-option-info.js
index <HASH>..<HASH> 100644
--- a/client/components/domains/use-my-domain/utilities/get-option-info.js
+++ b/client/components/domains/use-my-domain/utilities/get-opti... | Only show recommended badge for transfers when it makes sense (#<I>) | Automattic_wp-calypso | train | js,js |
d5387c11d472c63f83ac33cf945988c0f0f12f7e | diff --git a/spec/eo_time_spec.rb b/spec/eo_time_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/eo_time_spec.rb
+++ b/spec/eo_time_spec.rb
@@ -516,6 +516,17 @@ describe EtOrbi::EoTime do
describe '.make' do
+ it 'accepts a EtOrbi::EoTime' do
+
+ expect(
+ EtOrbi::EoTime.make(
+ EtOrbi::Eo... | Add spec for .make vs EoTime instance | floraison_et-orbi | train | rb |
d793e4dcb0e54f2d9efbe642a4239dc854a0c766 | diff --git a/modin/pandas/dataframe.py b/modin/pandas/dataframe.py
index <HASH>..<HASH> 100644
--- a/modin/pandas/dataframe.py
+++ b/modin/pandas/dataframe.py
@@ -2944,7 +2944,17 @@ class DataFrame(object):
limit=None,
tolerance=None,
):
- if level is not None:
+ if (
+ l... | Fix issue with MultiIndex in reindex (#<I>)
* Defaulting to pandas
* Reported in #<I> | modin-project_modin | train | py |
2a6069e6fca1307698ac360302ccac684a986177 | diff --git a/lib/adapter.js b/lib/adapter.js
index <HASH>..<HASH> 100644
--- a/lib/adapter.js
+++ b/lib/adapter.js
@@ -720,8 +720,8 @@ function doChanges(api, opts, promise, callback) {
if (newPromise && typeof newPromise.cancel === 'function') {
var cancel = promise.cancel;
promise.cancel = function () {
... | (#<I>) - On cancel, call changes complete last | pouchdb_pouchdb | train | js |
dbcf92b2a11bc3027384ffe229825b8f0dd294e7 | diff --git a/tools/licensescheck.py b/tools/licensescheck.py
index <HASH>..<HASH> 100644
--- a/tools/licensescheck.py
+++ b/tools/licensescheck.py
@@ -23,7 +23,6 @@ prunelist = ('hsqldb19b3',
'deploymentfile',
'xml',
'helloworld',
- 'CSVReader.java',
'... | As part of ENG-<I>, remove the exception for CSVReader.java, as it's now gone from the Auction example. | VoltDB_voltdb | train | py |
fcf15d90b100e2e459c72d0bbf765e62cf38c077 | diff --git a/includes/Connector.class.php b/includes/Connector.class.php
index <HASH>..<HASH> 100644
--- a/includes/Connector.class.php
+++ b/includes/Connector.class.php
@@ -27,7 +27,7 @@ class AC_Connector {
}
public function credentials_test() {
- $test_url = "{$this->url}&api_action=group_view&api_output=... | credentials_test would always fail for non-"Admin" Group users | ActiveCampaign_activecampaign-api-php | train | php |
1c7a144dfb7a17bc9dacd060059eb9e9fe41c982 | diff --git a/src/Modal.js b/src/Modal.js
index <HASH>..<HASH> 100644
--- a/src/Modal.js
+++ b/src/Modal.js
@@ -4,7 +4,6 @@ import ownerDocument from 'dom-helpers/ownerDocument';
import canUseDOM from 'dom-helpers/util/inDOM';
import getScrollbarSize from 'dom-helpers/util/scrollbarSize';
import pick from 'lodash-com... | chore: use spread instead of lodash merge | react-bootstrap_react-bootstrap | train | js |
ac9e381aff6af04616f14a30d7f9bfeed2ee9f53 | diff --git a/spec/listen/multi_listener_spec.rb b/spec/listen/multi_listener_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/listen/multi_listener_spec.rb
+++ b/spec/listen/multi_listener_spec.rb
@@ -22,7 +22,10 @@ describe Listen::MultiListener do
end
context 'with custom options' do
- subject { descri... | Fix specs on <I> implementations of ruby | guard_listen | train | rb |
755995e02c099c6f8c9598d122164c9bfd9d493a | diff --git a/src/Detail/FileConversion/Client/Response/BaseResponse.php b/src/Detail/FileConversion/Client/Response/BaseResponse.php
index <HASH>..<HASH> 100644
--- a/src/Detail/FileConversion/Client/Response/BaseResponse.php
+++ b/src/Detail/FileConversion/Client/Response/BaseResponse.php
@@ -75,7 +75,7 @@ abstract cl... | Fixed bug when creation exception because of parsing error | detailnet_dfw-fileconversion | train | php |
07752765cb338b92db19c2869b9ed44d9505047b | diff --git a/client/js/Panels/SnapEditor/SnapEditorControl.js b/client/js/Panels/SnapEditor/SnapEditorControl.js
index <HASH>..<HASH> 100644
--- a/client/js/Panels/SnapEditor/SnapEditorControl.js
+++ b/client/js/Panels/SnapEditor/SnapEditorControl.js
@@ -895,8 +895,16 @@ console.log("Object changed to " + nodeId);
... | Added removal of event listeners on destroy
Former-commit-id: a<I>ea2a7e0a<I>e1f0f<I>d7b5ab<I>d<I>f1f0fd | webgme_webgme-engine | train | js |
8fb8f24d0acb42ce512b9b5a8737e51b847e6015 | diff --git a/openpnm/physics/Basic.py b/openpnm/physics/Basic.py
index <HASH>..<HASH> 100644
--- a/openpnm/physics/Basic.py
+++ b/openpnm/physics/Basic.py
@@ -57,7 +57,5 @@ class Basic(GenericPhysics):
model=mods.hydraulic_conductance.generic_hydraulic)
self.add_model(propname='throat.d... | Remove ad_diff conductance from Basic physics | PMEAL_OpenPNM | train | py |
b4a202a5a0c5459f72acb672197b0ad57b3413d4 | diff --git a/src/java/voldemort/client/protocol/admin/AdminClient.java b/src/java/voldemort/client/protocol/admin/AdminClient.java
index <HASH>..<HASH> 100644
--- a/src/java/voldemort/client/protocol/admin/AdminClient.java
+++ b/src/java/voldemort/client/protocol/admin/AdminClient.java
@@ -857,11 +857,12 @@ public clas... | Fix for a potential issue: exception in AsyncOperation never re-thrown. | voldemort_voldemort | train | java |
e1fd2b34f35facc619136b359b8d0ca0f23e4522 | diff --git a/docs/src/routes/examples/alluvialChart/components/Tick.js b/docs/src/routes/examples/alluvialChart/components/Tick.js
index <HASH>..<HASH> 100644
--- a/docs/src/routes/examples/alluvialChart/components/Tick.js
+++ b/docs/src/routes/examples/alluvialChart/components/Tick.js
@@ -76,7 +76,7 @@ class Tick exte... | bump ticks left to fix Edge/IE bug | sghall_resonance | train | js |
dd1830f5fd1759c952085112240f61704d051d25 | diff --git a/lib/sanford-protocol/test/fake_socket.rb b/lib/sanford-protocol/test/fake_socket.rb
index <HASH>..<HASH> 100644
--- a/lib/sanford-protocol/test/fake_socket.rb
+++ b/lib/sanford-protocol/test/fake_socket.rb
@@ -40,7 +40,7 @@ module Sanford::Protocol::Test
# Socket methods -- requied by Sanford::Protoco... | FakeSocket return empty string `""` when in stream is empty
This is more congruent with how a TCP socket behaves if there is
nothing to be read. It will return an empty string, so the fake
socket should do the same. | redding_sanford-protocol | train | rb |
3fd9b69f2fb179405773f03d33c68a00f3a1ca4a | diff --git a/ineffassign.go b/ineffassign.go
index <HASH>..<HASH> 100644
--- a/ineffassign.go
+++ b/ineffassign.go
@@ -509,6 +509,12 @@ func (s *branchStack) get(lbl *ast.Ident) *branch {
return br
}
}
+
+ // Guard against invalid code (break/continue outside of loop).
+ if lbl == nil {
+ return &branch{}
+ }... | Guard against invalid code (break/continue outside of loop).
Fixes #<I> | gordonklaus_ineffassign | train | go |
46d08cef9831faa431c3487fb1879b3188371c23 | diff --git a/Validator/ErrorElement.php b/Validator/ErrorElement.php
index <HASH>..<HASH> 100644
--- a/Validator/ErrorElement.php
+++ b/Validator/ErrorElement.php
@@ -199,13 +199,7 @@ class ErrorElement
$message = isset($message[0]) ? $message[0] : 'error';
}
- if (method_exists($this-... | <I> BC fix for addViolation() method | sonata-project_SonataAdminBundle | train | php |
7af3801d4f67db49867f1ca8077277a01ded48b1 | diff --git a/src/Zephyrus/Database/Brokers/ListBroker.php b/src/Zephyrus/Database/Brokers/ListBroker.php
index <HASH>..<HASH> 100644
--- a/src/Zephyrus/Database/Brokers/ListBroker.php
+++ b/src/Zephyrus/Database/Brokers/ListBroker.php
@@ -81,6 +81,39 @@ abstract class ListBroker extends DatabaseBroker
}
/**... | feat: add helper methods in ListBroker to apply filters | dadajuice_zephyrus | train | php |
3e7f1d276abf015d3df355ead77c9bdb8ae3f68e | diff --git a/src/pakit.js b/src/pakit.js
index <HASH>..<HASH> 100644
--- a/src/pakit.js
+++ b/src/pakit.js
@@ -38,7 +38,10 @@ var defaultLoaderOptions = {
}
},
"eslint": {
- eslint: eslint
+ eslint: eslint,
+ options: {
+ cwd: cwd
+ }
}
}; | setting cwd in eslint to make sure things are executed from the expected directory | MiguelCastillo_pakit | train | js |
69d22732212c7963f6e2ad561e623004130b5b74 | diff --git a/app/controllers/agents_controller.rb b/app/controllers/agents_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/agents_controller.rb
+++ b/app/controllers/agents_controller.rb
@@ -37,6 +37,7 @@ class AgentsController < ApplicationController
:default_schedule => @agent.default_schedul... | Add can_control_other_agents to the response hash of type_details. | huginn_huginn | train | rb |
c8c06100de6d2d14b4569243fa045480654bdd02 | diff --git a/io/eolearn/io/processing_api.py b/io/eolearn/io/processing_api.py
index <HASH>..<HASH> 100644
--- a/io/eolearn/io/processing_api.py
+++ b/io/eolearn/io/processing_api.py
@@ -122,14 +122,14 @@ class SentinelHubInputBase(EOTask):
""" Add any additional meta data to the eopatch
"""
+
Proc... | Removed the ProcApiType from SentinelHubInput Task | sentinel-hub_eo-learn | train | py |
15eb6c325fe72513a7a455d59e8e2f4c59bf5ebf | diff --git a/src/withInitAction.js b/src/withInitAction.js
index <HASH>..<HASH> 100644
--- a/src/withInitAction.js
+++ b/src/withInitAction.js
@@ -160,14 +160,6 @@ export default (p1, p2, p3) => {
};
}
- componentWillMount() {
- const { initValues, prepareKey } = this.props.__componentInit... | Remove willMount since it's deprecated | mediamonks_react-redux-component-init | train | js |
44e75f5eab3c9d9df344f6f914f1dee289d46749 | diff --git a/spec/savon/request_spec.rb b/spec/savon/request_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/savon/request_spec.rb
+++ b/spec/savon/request_spec.rb
@@ -116,6 +116,34 @@ describe Savon::WSDLRequest do
new_wsdl_request.build
end
end
+
+ describe "basic auth" do
+ it "is set whe... | Spec tests for HTTP auth in WSDLRequest | savonrb_savon | train | rb |
3aff805e1dbc72329bc25ed36b0155b3cb868f11 | diff --git a/pkg/cmd/rc.go b/pkg/cmd/rc.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/rc.go
+++ b/pkg/cmd/rc.go
@@ -57,6 +57,7 @@ func removeContainer(req *containerRemoveRequest) {
items, next, err := c.Items(stow.NoPrefix, cursor, 50)
term.ExitOnError(err)
for _, item := range items {
+ term.Warningln("... | Print removed item when deleting container. | appscode_osm | train | go |
2d14485f1b67701711422873315c87a4623dd006 | diff --git a/src/Material.php b/src/Material.php
index <HASH>..<HASH> 100644
--- a/src/Material.php
+++ b/src/Material.php
@@ -28,7 +28,8 @@ class Material extends Field
? intval($field->Value) : 0;
$renderer->view($this->defaultView)
- ->set('deleteController', url_build($ren... | Remove id in the cloned module | samsonos_cms_input_material | train | php |
1e1e6b3263c635a8c98834326d9255aa1c604954 | diff --git a/lib/mobility/backend.rb b/lib/mobility/backend.rb
index <HASH>..<HASH> 100644
--- a/lib/mobility/backend.rb
+++ b/lib/mobility/backend.rb
@@ -76,6 +76,7 @@ On top of this, a backend will normally:
# Extend included class with +setup+ method
def self.included(base)
base.extend(Setup)
+ ... | Split ClassMethods from Setup | shioyama_mobility | train | rb |
21ec8722f554760a60391d328c20281cf2964f3e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -63,13 +63,15 @@ Backpack.prototype.clear = function(callback) {
Backpack.prototype.writeBitmap = function(bitmap, callback) {
var self = this;
+
bitmap.forEach(function(row, index) {
- rowValue = parseInt(row.join... | Fix one off error in bitmap
The bitmap was showing up on the module with everything shifted
one to the right. In order to fix this I found the by taking the
right-most digit and moving it to the left most before writing
eveything works as expected.
[#1]
Amos King @adkron <<EMAIL>> | BinaryNoggin_backpack-ht16k33 | train | js |
e918226ca15351a2cdab5a9772ac400004161441 | diff --git a/stage1/gc/gc.go b/stage1/gc/gc.go
index <HASH>..<HASH> 100644
--- a/stage1/gc/gc.go
+++ b/stage1/gc/gc.go
@@ -123,6 +123,14 @@ func (c dirsByLength) Less(i, j int) bool { return len(c[i]) < len(c[j]) }
func (c dirsByLength) Swap(i, j int) { c[i], c[j] = c[j], c[i] }
func cleanupCgroups() error {
+... | gc: do not clean up cgroups with cgroup-v2 | rkt_rkt | train | go |
59718d830efdbb4c8bccac592d3ecb8e4300c16e | diff --git a/src/js/FormModel.js b/src/js/FormModel.js
index <HASH>..<HASH> 100644
--- a/src/js/FormModel.js
+++ b/src/js/FormModel.js
@@ -31,7 +31,7 @@ define( [ 'xpath', 'jquery', 'enketo-js/plugins', 'enketo-js/extend', 'jquery.xp
this.xml = $.parseXML( dataStr );
} catch ( e ) {
c... | happify jshint | enketo_enketo-core | train | js |
91e74feaf36a61a44b071ea3b240cbcb2d4cdda3 | diff --git a/salt/utils/schedule.py b/salt/utils/schedule.py
index <HASH>..<HASH> 100644
--- a/salt/utils/schedule.py
+++ b/salt/utils/schedule.py
@@ -867,7 +867,7 @@ class Schedule(object):
if isinstance(data['when'], list):
_when = []
for i in data['when']:
-... | Added sanity check: is 'pillar' in self.opts
This fixes an exception that is thrown when using the 'when' clause in a
master scheduler. The master does not appear to create a 'pillar' entry
in self.opts | saltstack_salt | train | py |
4adf11f82de726331a5c6ee867a31c8fb6ffddaa | diff --git a/spyder/plugins/editor/extensions/snippets.py b/spyder/plugins/editor/extensions/snippets.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor/extensions/snippets.py
+++ b/spyder/plugins/editor/extensions/snippets.py
@@ -363,7 +363,7 @@ class SnippetsExtension(EditorExtension):
self._remo... | Editor: Catch error in snippets extension | spyder-ide_spyder | train | py |
580dd72adb639396c53f07f6126999718dc818e5 | diff --git a/jmock2/src/org/jmock/internal/matcher/MethodMatcher.java b/jmock2/src/org/jmock/internal/matcher/MethodMatcher.java
index <HASH>..<HASH> 100644
--- a/jmock2/src/org/jmock/internal/matcher/MethodMatcher.java
+++ b/jmock2/src/org/jmock/internal/matcher/MethodMatcher.java
@@ -15,7 +15,7 @@ public class Method... | fix for JMOCK-<I> | jmock-developers_jmock-library | train | java |
97c461c1c97ad1841b7da9c00331c0e9b12b0bc1 | diff --git a/index.test.js b/index.test.js
index <HASH>..<HASH> 100644
--- a/index.test.js
+++ b/index.test.js
@@ -194,3 +194,10 @@ it('works within @define-mixin', () => {
'@define-mixin a $b { color: $b; width: 1 }'
)
})
+
+it('works inside function-like declarations', () => {
+ run(
+ '$a: 1; $b: 2; a{ ... | Add unit test for function-like syntax (#<I>) | postcss_postcss-simple-vars | train | js |
6fd381cdde42068dc4fa5cb12561373868d1363d | diff --git a/test/promised-read.js b/test/promised-read.js
index <HASH>..<HASH> 100644
--- a/test/promised-read.js
+++ b/test/promised-read.js
@@ -641,6 +641,18 @@ function describePromisedReadWith(PassThrough) {
});
});
+ it('does strict equality checks for marker in objectMode', function() {
+ v... | Specify readTo strict equality checks in objectMode
This is the behavior of .indexOf, make sure we follow it. | kevinoid_promised-read | train | js |
a4c17dfb19b1c1bfe1e380da72b1364f31cfd7a9 | diff --git a/_pytest/assertion/rewrite.py b/_pytest/assertion/rewrite.py
index <HASH>..<HASH> 100644
--- a/_pytest/assertion/rewrite.py
+++ b/_pytest/assertion/rewrite.py
@@ -41,6 +41,7 @@ class AssertionRewritingHook(object):
def __init__(self):
self.session = None
self.modules = {}
+ sel... | Register the AssertionRewritingHook loader with pkg_resources; fixes #<I>. | vmalloc_dessert | train | py |
aff3e88cf4baa30f83b4c43692c9083eb3697ee3 | diff --git a/lib/ruby-bbcode/tag_collection.rb b/lib/ruby-bbcode/tag_collection.rb
index <HASH>..<HASH> 100644
--- a/lib/ruby-bbcode/tag_collection.rb
+++ b/lib/ruby-bbcode/tag_collection.rb
@@ -104,7 +104,8 @@ module RubyBBCode
@errors = ["Closing tag [/#{@ti[:tag]}] does match [#{parent_tag}]"]
... | substituted .nil? for .blank? and all tests pass, now there's no dependency on rails. | veger_ruby-bbcode | train | rb |
db240018c6c962d5222e57372184b841281e1c8b | diff --git a/sharding-core/sharding-core-parse/sharding-core-parse-common/src/test/java/org/apache/shardingsphere/core/parse/filler/common/dml/PredicateUtilsTest.java b/sharding-core/sharding-core-parse/sharding-core-parse-common/src/test/java/org/apache/shardingsphere/core/parse/filler/common/dml/PredicateUtilsTest.ja... | Changed test to meet refactored class | apache_incubator-shardingsphere | train | java |
613b585f4d0c665ab8b52f13b46399da371de850 | diff --git a/pb.go b/pb.go
index <HASH>..<HASH> 100644
--- a/pb.go
+++ b/pb.go
@@ -95,6 +95,8 @@ type ProgressBar struct {
Empty string
Current string
CurrentN string
+
+ AlwaysUpdate bool
}
// Start print
@@ -352,7 +354,7 @@ func (pb *ProgressBar) GetWidth() int {
// Write the current state of the progr... | Add toggle for always updating, regardless of whether progress has changed
Useful for progress bars that will have changing prefixes or postfixes, even when their progress has reached a static state (e.g. <I>%) | cheggaaa_pb | train | go |
c0bde4e92c1da26e206bfbcb8308bd9a5f037659 | diff --git a/daemon/container_operations_unix.go b/daemon/container_operations_unix.go
index <HASH>..<HASH> 100644
--- a/daemon/container_operations_unix.go
+++ b/daemon/container_operations_unix.go
@@ -711,15 +711,17 @@ func (daemon *Daemon) DisconnectFromNetwork(container *container.Container, n li
return runconfi... | Fix network disconnect does not save the config to disk | moby_moby | train | go |
4550aa491622af96b410c927993d7295935c5f23 | diff --git a/src/request/import/ImportWords.js b/src/request/import/ImportWords.js
index <HASH>..<HASH> 100644
--- a/src/request/import/ImportWords.js
+++ b/src/request/import/ImportWords.js
@@ -58,6 +58,7 @@ class ImportWords {
recoveryWords.on(RecoveryWords.Events.COMPLETE, () => { $wordsConfirm.disabled = f... | Force-disable RecoveryWords "continue" button
When going back to path-selection after already entering valid recovery words, and re-selecting to enter Recovery Words, then the ImportWords class is reloaded and all components are re-initialized. The button stayed enabled, however, which allowed a user to continue past ... | nimiq_keyguard-next | train | js |
fc1413da0aabc4852e574ca21d4f8b8801297fab | diff --git a/tests/Api/CustomersTest.php b/tests/Api/CustomersTest.php
index <HASH>..<HASH> 100644
--- a/tests/Api/CustomersTest.php
+++ b/tests/Api/CustomersTest.php
@@ -65,6 +65,29 @@ class CustomersTest extends FunctionalTestCase
}
/** @test */
+ public function it_can_update_the_default_card_of_an_ex... | chore: Add test to verify if the default card of a customer can be updated. | cartalyst_stripe | train | php |
ca84c63feadf413547c9eaaf2e37e15c2ebc5254 | diff --git a/TurboCommons-Php/src/main/php/utils/NumericUtils.php b/TurboCommons-Php/src/main/php/utils/NumericUtils.php
index <HASH>..<HASH> 100644
--- a/TurboCommons-Php/src/main/php/utils/NumericUtils.php
+++ b/TurboCommons-Php/src/main/php/utils/NumericUtils.php
@@ -29,7 +29,7 @@ class NumericUtils {
*/
... | Php: Minor performance improvements on NumericUtils | edertone_TurboCommons | train | php |
75620b42d632cc673926e82d276f87e3f5018f7e | diff --git a/schema_salad/schema.py b/schema_salad/schema.py
index <HASH>..<HASH> 100644
--- a/schema_salad/schema.py
+++ b/schema_salad/schema.py
@@ -129,7 +129,10 @@ def load_schema(schema_ref):
return document_loader, avsc_names, schema_metadata
def load_and_validate(document_loader, avsc_names, document, st... | load_and_validate handles already-loaded document dicts. | common-workflow-language_schema_salad | train | py |
044f0ea01c22798fade425791245516810eb3509 | diff --git a/src/Configuration.php b/src/Configuration.php
index <HASH>..<HASH> 100644
--- a/src/Configuration.php
+++ b/src/Configuration.php
@@ -510,7 +510,39 @@ class Configuration implements
* @Accessor(setter="setBlackListings", getter="getBlackListings")
*/
protected $blackListings = array();
- ... | PAC-<I>: integrate new config to read data from api | techdivision_import-configuration-jms | train | php |
34d0f4921f345401302f2c8f02dab3d179b781fd | diff --git a/tests/example/tests.py b/tests/example/tests.py
index <HASH>..<HASH> 100644
--- a/tests/example/tests.py
+++ b/tests/example/tests.py
@@ -58,8 +58,8 @@ class EndpointTests(BaseTest):
"""Test the ad-hoc echo endpoint."""
resp, content = self.post('/ajax/example/echo.json',
{'n... | Fix tests to work with new payload format. | joestump_django-ajax | train | py |
864b1a1b40cfcf389d05e12c05a0447ba4e6e779 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,7 @@ setup(
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
- install_requires=["cryptography", "requests"],
+ install_requires=["cryptography<=3.0", ... | use cryptography<=<I> until bug fixed | openid_JWTConnect-Python-CryptoJWT | train | py |
0c03b8e98267f7d6ab85ebdc88013e91450f8c24 | diff --git a/src/Repositories/Character/CharacterRepository.php b/src/Repositories/Character/CharacterRepository.php
index <HASH>..<HASH> 100644
--- a/src/Repositories/Character/CharacterRepository.php
+++ b/src/Repositories/Character/CharacterRepository.php
@@ -774,11 +774,16 @@ trait CharacterRepository
* Get t... | Modify timeline method to retrive one specific message | eveseat_services | train | php |
fd20ee480705c2406e7bf9ee7a7e8276853d4cd8 | diff --git a/src/main/java/com/relativitas/maven/plugins/formatter/FormatterMojo.java b/src/main/java/com/relativitas/maven/plugins/formatter/FormatterMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/relativitas/maven/plugins/formatter/FormatterMojo.java
+++ b/src/main/java/com/relativitas/maven/plugins/fo... | Removed temporary system out used for testing | revelc_formatter-maven-plugin | train | java |
47a308b2e3b7270094a5b64349105c4db6c71bb3 | diff --git a/redirector/main.go b/redirector/main.go
index <HASH>..<HASH> 100644
--- a/redirector/main.go
+++ b/redirector/main.go
@@ -296,7 +296,7 @@ func main() {
options = append(options, fuse.ReadOnly())
if runtime.GOOS == "darwin" {
options = append(options, fuse.OSXFUSELocations(kbfusePath))
- options = a... | redirector: fix volume name
This shows up when browsing the root disk of the local computer in
Finder, and it's confusing if it says "keybase-redirector".
"keybase-redirector" will still show up in `mount` though.
Issue: KBFS-<I> | keybase_client | train | go |
149287492825d42c06b219fbb7fc41b902ada609 | diff --git a/src/main/java/com/googlecode/lanterna/TextCharacter.java b/src/main/java/com/googlecode/lanterna/TextCharacter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/TextCharacter.java
+++ b/src/main/java/com/googlecode/lanterna/TextCharacter.java
@@ -98,7 +98,7 @@ public class TextCh... | We have to copy the enumset to ensure it's never modified. | mabe02_lanterna | train | java |
53b9f5f2c98d113c13d019e98a2d18d2c574072b | diff --git a/config/cache_provider.go b/config/cache_provider.go
index <HASH>..<HASH> 100644
--- a/config/cache_provider.go
+++ b/config/cache_provider.go
@@ -72,6 +72,7 @@ func (p *cachedProvider) Get(key string) Value {
}
v := p.Provider.Get(key)
+ v.provider = p
p.Lock()
p.cache[key] = v
p.Unlock()
diff ... | Cached Provider value should point to cached provider (#<I>) | uber-go_fx | train | go,go |
3f6df8fbc792a31758d4e67a6c2c6ee1c092d10b | diff --git a/wayback-core/src/main/java/org/archive/wayback/archivalurl/requestparser/ReplayRequestParser.java b/wayback-core/src/main/java/org/archive/wayback/archivalurl/requestparser/ReplayRequestParser.java
index <HASH>..<HASH> 100644
--- a/wayback-core/src/main/java/org/archive/wayback/archivalurl/requestparser/Re... | BUGFIX (unreported): fix to recent change in parser/fixup interaction which set endDate to the date of request, prevented forward-in-time redirects for embedded/click-thru replay requests.
git-svn-id: <URL> | iipc_openwayback | train | java |
ea1c8bc7eaa2085e9d1defc5f8a86409cf786764 | diff --git a/test/functional/ft_20_storage_participant.rb b/test/functional/ft_20_storage_participant.rb
index <HASH>..<HASH> 100644
--- a/test/functional/ft_20_storage_participant.rb
+++ b/test/functional/ft_20_storage_participant.rb
@@ -83,10 +83,13 @@ class FtStorageParticipantTest < Test::Unit::TestCase
wfid =... | ft_<I> wait for the two workitems | jmettraux_ruote | train | rb |
3042262c450debdf21e87acb4a5fe069c282014b | diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/data.rb
+++ b/lib/discordrb/data.rb
@@ -544,7 +544,7 @@ module Discordrb
end
end
- # This class is a special variant of User that represents the bot's user profile (things like email addresses and the a... | Change the Profile doc comment to no longer refer to the email | meew0_discordrb | train | rb |
25e3a3182781210d51e6ce69d4711b85e547b0f1 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -234,6 +234,11 @@ html_static_path = ['_static']
# implements a search results scorer. If empty, the default will be used.
html_search_scorer = '_static/scorer.js'
+html_js_files = [
+ 'custom.js',
+ 'cop... | Use html_js_files instead of the old approach to add JS files. | Rapptz_discord.py | train | py |
051303752af07aaa250c77114c729af3e6085c81 | diff --git a/python/thunder/util/load.py b/python/thunder/util/load.py
index <HASH>..<HASH> 100644
--- a/python/thunder/util/load.py
+++ b/python/thunder/util/load.py
@@ -4,7 +4,7 @@ Utilities for loading and preprocessing data
import pyspark
-from numpy import array, mean, cumprod, append, mod, ceil, size
+from n... | Added linear and nonlinear (polynomial) detrending for preprocessing | thunder-project_thunder | train | py |
f67088155c92d9e730e0b69aeb533c60120d5d52 | diff --git a/Generator/Plugin.php b/Generator/Plugin.php
index <HASH>..<HASH> 100644
--- a/Generator/Plugin.php
+++ b/Generator/Plugin.php
@@ -169,14 +169,15 @@ class Plugin extends PHPClassFileWithInjection {
// Put the parent definitions after ours.
$data_definition += parent::componentDataDefinition();
-... | Fixed class docblock for overriding plugin class. | drupal-code-builder_drupal-code-builder | train | php |
d12fc1d6defac33a530228419735d5c65f708be8 | diff --git a/src/main/java/org/gitlab/api/GitlabAPI.java b/src/main/java/org/gitlab/api/GitlabAPI.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/gitlab/api/GitlabAPI.java
+++ b/src/main/java/org/gitlab/api/GitlabAPI.java
@@ -1995,7 +1995,7 @@ public class GitlabAPI {
public List<GitlabCommit> getCommit... | The pagination argument was ignored (#<I>) | timols_java-gitlab-api | train | java |
5b53effbe989ad81bb4d94fd53329235c80d6385 | diff --git a/nanoget/version.py b/nanoget/version.py
index <HASH>..<HASH> 100644
--- a/nanoget/version.py
+++ b/nanoget/version.py
@@ -1 +1 @@
-__version__ = "0.10.3"
+__version__ = "0.10.4" | bumping version to <I> | wdecoster_nanoget | train | py |
604854a3cd33a396c66145984b7f406d79b69d7a | diff --git a/spec/braintree_web_drop_in_spec.rb b/spec/braintree_web_drop_in_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/braintree_web_drop_in_spec.rb
+++ b/spec/braintree_web_drop_in_spec.rb
@@ -92,7 +92,7 @@ describe "Drop-in" do
expect(page).to have_content("Visa")
end
- it "PayPal" do
+ it "P... | Increase retries around paypal tests (#<I>) | braintree_braintree-web-drop-in | train | rb,rb |
52bff6cb957ccf6db28127aee66bc193c4c11592 | diff --git a/stanza/models/tokenization/utils.py b/stanza/models/tokenization/utils.py
index <HASH>..<HASH> 100644
--- a/stanza/models/tokenization/utils.py
+++ b/stanza/models/tokenization/utils.py
@@ -225,8 +225,9 @@ def output_predictions(output_file, trainer, data_generator, vocab, mwt_dict, ma
... | This should be faster for Chinese or any other skip_newline language | stanfordnlp_stanza | train | py |
c6c1f43b01fcfc6fbea280bb34f8b441f86f6ffa | diff --git a/git-trunk/config/config.go b/git-trunk/config/config.go
index <HASH>..<HASH> 100644
--- a/git-trunk/config/config.go
+++ b/git-trunk/config/config.go
@@ -13,7 +13,7 @@ import (
"github.com/salsita/SalsaFlow/git-trunk/git"
// Other
- "gopkg.in/yaml.v1"
+ "gopkg.in/yaml.v2"
)
const ( | config: Upgrade to yaml.v2 package | salsaflow_salsaflow | train | go |
c96127a4910d3eb041a01309b045c7457b82a19d | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -436,7 +436,7 @@ func (c *Client) receiveData() ([]byte, error) {
return nil, errors.New("not connected")
}
- done := make(chan recv)
+ done := make(chan recv, 1)
go func() {
msg, err := session.Recv()
diff -... | kite: make done channels bufferred to avoid potential leaks | koding_kite | train | go,go |
ca8473400d5b51607314f1ab79dac996b9ce3559 | diff --git a/framework/behaviors/BlameableBehavior.php b/framework/behaviors/BlameableBehavior.php
index <HASH>..<HASH> 100644
--- a/framework/behaviors/BlameableBehavior.php
+++ b/framework/behaviors/BlameableBehavior.php
@@ -102,9 +102,12 @@ class BlameableBehavior extends AttributeBehavior
protected function ge... | fix bugs of BlameableBehavior in console application. In console application, \yii\console\Application doesn't have `getUser()` method. Use BlameableBehavior in console application will cause an exception. | yiisoft_yii-core | train | php |
0b07f603c0a3062cec9e804e340df16a88d5a12d | diff --git a/lib/carlo.js b/lib/carlo.js
index <HASH>..<HASH> 100644
--- a/lib/carlo.js
+++ b/lib/carlo.js
@@ -92,6 +92,11 @@ class App extends EventEmitter {
* @return {!Promise}
*/
load(uri) {
+ if (!this.www_.size) {
+ this.page_.close();
+ throw new Error('Please call app.serveFolder(__dirna... | fix(server): throw an error if page is navigated w/o serveFolder call | GoogleChromeLabs_carlo | train | js |
953a7757b1c01a7d72ee756ce07db97e436b6d59 | diff --git a/lib/chef/cookbook/chefignore.rb b/lib/chef/cookbook/chefignore.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/cookbook/chefignore.rb
+++ b/lib/chef/cookbook/chefignore.rb
@@ -43,7 +43,8 @@ class Chef
def parse_ignore_file
ignore_globs = []
- if File.exist?(@ignore_file) && File.read... | Be more specific: check file? || symlink? instead of just directory? | chef_chef | train | rb |
510e8f649b71147ef5b29047cb84dc30756899c5 | diff --git a/core/TritonAgent/Request.js b/core/TritonAgent/Request.js
index <HASH>..<HASH> 100644
--- a/core/TritonAgent/Request.js
+++ b/core/TritonAgent/Request.js
@@ -63,8 +63,7 @@ Request.prototype.urlPath = function (urlPath) {
Request.prototype.query = function (queryParams) {
if (typeof queryParams === 'un... | Throw exception in Request.query rather than log a warning | redfin_react-server | train | js |
46029afebed2a33a9859edddab4b07f3664a24aa | diff --git a/pnc/utils.py b/pnc/utils.py
index <HASH>..<HASH> 100644
--- a/pnc/utils.py
+++ b/pnc/utils.py
@@ -23,15 +23,18 @@ def pretty_format_response(function, input_json):
:return:
"""
if function is None:
- if type(input_json) is list:
- for item in input_json:
- _r... | add old method for now so no backward compat is needed | project-ncl_pnc-cli | train | py |
703be269356b3d748bc927c1e06137ef6707d10f | diff --git a/queue/queue.go b/queue/queue.go
index <HASH>..<HASH> 100644
--- a/queue/queue.go
+++ b/queue/queue.go
@@ -1,9 +1,11 @@
package queue
import (
+ "log"
"runtime"
"sync"
"sync/atomic"
+ "time"
)
type waiters []*sema
@@ -240,8 +242,14 @@ func ExecuteInParallel(q *Queue, fn func(interface{})) {
... | Switched numcpus to be runtime.NumCPUS() - 1 as this as proven to provide the best performance. | Workiva_go-datastructures | train | go |
54e01501d0ee836a42c6279c68fc86b03a84488f | diff --git a/spec/integration/e2e_spec.rb b/spec/integration/e2e_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/e2e_spec.rb
+++ b/spec/integration/e2e_spec.rb
@@ -18,7 +18,7 @@ describe 'Pacto' do
it 'verifies the contract against a producer' do
contract = Pacto.build_contracts(contract_path, ... | eq is diffable, be_empty is not | thoughtworks_pacto | train | rb |
09b3a9913d171e6486d6eda3dcb368f82c983ee6 | diff --git a/src/Models/User/UserDataProviderInterface.php b/src/Models/User/UserDataProviderInterface.php
index <HASH>..<HASH> 100644
--- a/src/Models/User/UserDataProviderInterface.php
+++ b/src/Models/User/UserDataProviderInterface.php
@@ -11,6 +11,9 @@ interface UserDataProviderInterface
* frontend or cached ... | Added return type ?array to UserDataProviderInterface::data() method
The change should make cached data smaller since a lot of data providers
don't need to provide any user data, but they were still cached as an
empty array into the user data cache (Redis).
remp/crm#<I> | remp2020_crm-application-module | train | php,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.