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 |
|---|---|---|---|---|---|
9a756fb96a25ed7a99cc7b12d4e734c5f6befece | diff --git a/redisson/src/main/java/org/redisson/client/handler/BaseConnectionHandler.java b/redisson/src/main/java/org/redisson/client/handler/BaseConnectionHandler.java
index <HASH>..<HASH> 100644
--- a/redisson/src/main/java/org/redisson/client/handler/BaseConnectionHandler.java
+++ b/redisson/src/main/java/org/redi... | getClientName didn't set properly | redisson_redisson | train | java |
f4bcfde0da3027477734bf71e3de0c4e43536f3e | diff --git a/Eloquent/Builder.php b/Eloquent/Builder.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Builder.php
+++ b/Eloquent/Builder.php
@@ -70,7 +70,7 @@ class Builder {
*/
public function first($columns = array('*'))
{
- return $this->get($columns)->first();
+ return $this->take(1)->get($columns)->first();... | fix first method on eloquent builder. | illuminate_database | train | php |
a7444b6c96232fb9fa4cbe0f704620d7195749a5 | diff --git a/core/src/test/java/com/github/vatbub/common/core/CommonTest.java b/core/src/test/java/com/github/vatbub/common/core/CommonTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/github/vatbub/common/core/CommonTest.java
+++ b/core/src/test/java/com/github/vatbub/common/core/CommonTest.java
@@ -3... | [#<I>] Missed a place were int was still used instead of long | vatbub_common | train | java |
ca3ee138cdff00daf91164749a7f1d3b49731dd7 | diff --git a/lib/jsduck/builtins_registry.rb b/lib/jsduck/builtins_registry.rb
index <HASH>..<HASH> 100644
--- a/lib/jsduck/builtins_registry.rb
+++ b/lib/jsduck/builtins_registry.rb
@@ -21,12 +21,12 @@ module JsDuck
# Loads tags from given dir.
def load_tag_classes(dirname)
- Dir[dirname+"/**/*.rb"].s... | Initialize Tag classes in alphabetic order. | senchalabs_jsduck | train | rb |
5f120d8b8f705c2a9481867edaef3b90185dd211 | diff --git a/library/src/main/java/de/mrapp/android/bottomsheet/view/DraggableView.java b/library/src/main/java/de/mrapp/android/bottomsheet/view/DraggableView.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/de/mrapp/android/bottomsheet/view/DraggableView.java
+++ b/library/src/main/java/de/mrapp/android/b... | A bottom sheet can now be hidden by dragging fast. | michael-rapp_AndroidBottomSheet | train | java |
d327f9a2a602386c1621ec34a81cc917511f67c7 | diff --git a/lib/generators/mangopay/install_generator.rb b/lib/generators/mangopay/install_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/mangopay/install_generator.rb
+++ b/lib/generators/mangopay/install_generator.rb
@@ -12,14 +12,22 @@ module Mangopay
desc 'Installs all the basic configurati... | Now checking the client_id with the regexp ^[a-z0-9_-]{4,<I>}$ before making the request. | Mangopay_mangopay2-ruby-sdk | train | rb |
1ded2240aa8a20e9ccd9836f865b8a7212ec5639 | diff --git a/Treant.js b/Treant.js
index <HASH>..<HASH> 100644
--- a/Treant.js
+++ b/Treant.js
@@ -1011,9 +1011,13 @@
tree.positionTree();
- setTimeout(function() { // set the flag after the animation
- tree.inAnimation = false;
- }, tree.CONFIG.animation.nodeSpeed > tree.CONFIG.animation.co... | Add a callback for onCollapseFinished | fperucic_treant-js | train | js |
11ec972bb67f7fe0a38c1cb02453ec920e4a95fe | diff --git a/dipper/sources/HPOAnnotations.py b/dipper/sources/HPOAnnotations.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/HPOAnnotations.py
+++ b/dipper/sources/HPOAnnotations.py
@@ -197,8 +197,13 @@ class HPOAnnotations(Source):
(db, num, name, qual, pheno_id, publist, eco, onset, freq, w, asp... | HPOAnnotations - check the test_ids instance variable rather than checking the config file (travis does not have access to our private config file) | monarch-initiative_dipper | train | py |
9a77b4bfebcb94a7dc6d8d17df4f6a45e0b9e624 | diff --git a/blockstack_client/subdomains.py b/blockstack_client/subdomains.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/subdomains.py
+++ b/blockstack_client/subdomains.py
@@ -264,6 +264,7 @@ def _build_subdomain_db(domain_fqa, zonefiles):
else:
assert isinstance(zf, (str, unicode))
... | bump dependency on blockstack-zones to support multiple strings in a TXT entry | blockstack_blockstack-core | train | py,py |
a68ed384e064220f69ce0893b0b62819fcdc5234 | diff --git a/src/unity/python/turicreate/toolkits/style_transfer/style_transfer.py b/src/unity/python/turicreate/toolkits/style_transfer/style_transfer.py
index <HASH>..<HASH> 100644
--- a/src/unity/python/turicreate/toolkits/style_transfer/style_transfer.py
+++ b/src/unity/python/turicreate/toolkits/style_transfer/sty... | style transfer toolkit update to calculate iterations based on style images (#<I>)
- updated iterations | apple_turicreate | train | py |
c51088dc19924f937bec719af48459dd475c9545 | diff --git a/core/app/helpers/application_helper.rb b/core/app/helpers/application_helper.rb
index <HASH>..<HASH> 100644
--- a/core/app/helpers/application_helper.rb
+++ b/core/app/helpers/application_helper.rb
@@ -1,5 +1,5 @@
# Methods added to this helper will be available to all templates in the application.
mod... | No, what are you doing?! Stop! Stop, I say! (Fix idiot error.) | refinery_refinerycms | train | rb |
4902cdca0151451db2aefdd7dff646c33acb1725 | diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/ResourceManagerTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/ResourceManagerTest.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/ResourceMan... | [FLINK-<I>] [tests] Harden ResourceManagerTest#testHeartbeatTimeoutWithTaskExecutor
The problem was that we did not on the leader election to complete before sending an
RPC message. | apache_flink | train | java |
b719f1aa0b881f22d78521de6d9b420703cc382d | diff --git a/test/util/test.js b/test/util/test.js
index <HASH>..<HASH> 100644
--- a/test/util/test.js
+++ b/test/util/test.js
@@ -14,7 +14,7 @@ function test(unit) {
assert.deepEqual(values, expected, comment)
done()
} else if (isError(actual)) {
- assert.fail(actual)
+ ... | Fix how test handler reacts on stream errors. | Gozala_reducers | train | js |
56407bfbc67b142481d099d9c23da42eb4a03342 | diff --git a/source/php/Login.php b/source/php/Login.php
index <HASH>..<HASH> 100644
--- a/source/php/Login.php
+++ b/source/php/Login.php
@@ -30,12 +30,12 @@ class Login
*/
public function validateNonce($username)
{
-
- if (isset($_POST['_ad_nonce']) && wp_verify_nonce($_POST['_ad_nonce'], $this... | Only validate nonces on post requests. | helsingborg-stad_active-directory-api-wp-integration | train | php |
e250e93f5d1c27b69c2a5b501b43e13d9fef6bab | diff --git a/lib/cucumber/mappings.rb b/lib/cucumber/mappings.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber/mappings.rb
+++ b/lib/cucumber/mappings.rb
@@ -21,12 +21,12 @@ module Cucumber
end
ruby.hooks_for(:before, scenario).each do |hook|
mapper.before do
- hook.invoke('loca... | #<I>: location mapping for hooks corrected | cucumber_cucumber-ruby | train | rb |
37d749dc4ab084694105e1bf7f5e9095f2246cee | diff --git a/lib/millstone.js b/lib/millstone.js
index <HASH>..<HASH> 100644
--- a/lib/millstone.js
+++ b/lib/millstone.js
@@ -437,6 +437,7 @@ function resolve(options, callback) {
if (!file) return cb();
readExtension(file, function(err, ext) {
+ if (err) console.... | construct datasource path using resolved extension rather than the potentially unknown variable before calling readExtension - closes #<I> | tilemill-project_millstone | train | js |
7024b99190a6eca058d516e2157e4b80bac77992 | diff --git a/lib/permanent_records.rb b/lib/permanent_records.rb
index <HASH>..<HASH> 100644
--- a/lib/permanent_records.rb
+++ b/lib/permanent_records.rb
@@ -82,8 +82,10 @@ module PermanentRecords
end
else
run_callbacks :before_revive
+ attempt_notifying_observers(:before_revive)
... | notify observers about before and after revive callbacks | JackDanger_permanent_records | train | rb |
3b1833e099c62bc05745b16b7560480552fd274b | diff --git a/anyconfig/mergeabledict.py b/anyconfig/mergeabledict.py
index <HASH>..<HASH> 100644
--- a/anyconfig/mergeabledict.py
+++ b/anyconfig/mergeabledict.py
@@ -559,8 +559,11 @@ def create_from(obj=None, ac_ordered=False,
return cls()
opts = dict(ac_ordered=ac_ordered, _ac_ntpl_cls_key=_ac_ntpl_cl... | fix: take care of the case value is None, e.g. JSON's null, in
anyconfig.mergeabledict.create_from. | ssato_python-anyconfig | train | py |
bfc025b1657e5fc3a2ddb2cce7dba8c74097ca45 | diff --git a/generators/generator-constants.js b/generators/generator-constants.js
index <HASH>..<HASH> 100644
--- a/generators/generator-constants.js
+++ b/generators/generator-constants.js
@@ -43,7 +43,7 @@ const HIBERNATE_VERSION = '5.4.33.Final';
const JACOCO_VERSION = '0.8.7';
const KAFKA_VERSION = '5.5.5';
-c... | Update jackson-databind-nullable version to <I> | jhipster_generator-jhipster | train | js |
764298bbd529119a7a72ae8805b2456469901dca | diff --git a/lib/match/runner.rb b/lib/match/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/match/runner.rb
+++ b/lib/match/runner.rb
@@ -75,7 +75,7 @@ module Match
# Install the provisioning profiles
profile = profiles.last
- if params[:force_for_new_devices]
+ if params[:force_for_new_devic... | Don't connect to Dev Portal in readonly mode
Fixes #<I> | fastlane_fastlane | train | rb |
865a9553af18b2c12457bc6d90e69c119c5b58b8 | diff --git a/aeron-client/src/main/java/io/aeron/Image.java b/aeron-client/src/main/java/io/aeron/Image.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/io/aeron/Image.java
+++ b/aeron-client/src/main/java/io/aeron/Image.java
@@ -799,7 +799,7 @@ public class Image
"correlationId=" + correl... | [Java] improve Image toString() information | real-logic_aeron | train | java |
987198a13640c65f0d66b998899961c4196082d9 | diff --git a/lib/gnuplot.rb b/lib/gnuplot.rb
index <HASH>..<HASH> 100644
--- a/lib/gnuplot.rb
+++ b/lib/gnuplot.rb
@@ -182,8 +182,9 @@ module Gnuplot
end
def to_gplot (io = "")
- @sets.each { |var, val| io << "set #{var} #{val}\n" }
-
+ @settings.each do |setting|
+ io << setting.map(... | Fix bug in SPlot.to_gplot implementation. | rdp_ruby_gnuplot | train | rb |
3c0507983eb80e7180de7e00e65f85a3119e2068 | diff --git a/easywebdav/__version__.py b/easywebdav/__version__.py
index <HASH>..<HASH> 100644
--- a/easywebdav/__version__.py
+++ b/easywebdav/__version__.py
@@ -1 +1 @@
-__version__ = "1.0.3"
+__version__ = "1.0.4" | Bumped version to <I> | amnong_easywebdav | train | py |
c4ea909f3c2a694722579c0dc0b7d00e30845bb1 | diff --git a/elytron/src/main/java/org/wildfly/extension/elytron/expression/ElytronExpressionResolver.java b/elytron/src/main/java/org/wildfly/extension/elytron/expression/ElytronExpressionResolver.java
index <HASH>..<HASH> 100644
--- a/elytron/src/main/java/org/wildfly/extension/elytron/expression/ElytronExpressionRes... | [WFCORE-<I>] Use a descriptive error message if the secret key is not available from the credential store. | wildfly_wildfly-core | train | java |
f823e275fee85a2130ca43d8672a08957581aa02 | diff --git a/base/src/main/java/uk/ac/ebi/atlas/species/SpeciesTrader.java b/base/src/main/java/uk/ac/ebi/atlas/species/SpeciesTrader.java
index <HASH>..<HASH> 100644
--- a/base/src/main/java/uk/ac/ebi/atlas/species/SpeciesTrader.java
+++ b/base/src/main/java/uk/ac/ebi/atlas/species/SpeciesTrader.java
@@ -50,6 +50,7 @@... | <I>-<I> url change for displaying ensembl tracks: add logging info to trader | ebi-gene-expression-group_atlas | train | java |
845a45487c3862dffcf0402fbcb1b69764bea7de | diff --git a/horizon/static/horizon/js/horizon.modals.js b/horizon/static/horizon/js/horizon.modals.js
index <HASH>..<HASH> 100644
--- a/horizon/static/horizon/js/horizon.modals.js
+++ b/horizon/static/horizon/js/horizon.modals.js
@@ -95,7 +95,7 @@ horizon.addInitFunction(function() {
data: $form.serialize(),
... | Allow "Working" in spinner to be translatable
"Working" in modal spinner from creating new network
Change-Id: Iecd<I>aa<I>f6a<I>e<I>b3a6df<I>bd<I>
Closes-Bug:<I> | openstack_horizon | train | js |
548fea9fead8839fbc84f6c402c48dae1a7f5c28 | diff --git a/OpenPNM/Base/__Core__.py b/OpenPNM/Base/__Core__.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Base/__Core__.py
+++ b/OpenPNM/Base/__Core__.py
@@ -1415,7 +1415,7 @@ class Core(dict):
def _parse_locations(self, locations):
if locations is None:
- locations = []
+ locatio... | Minor tweak to the _parse_locations method in Core to handle None inputs. | PMEAL_OpenPNM | train | py |
602c52295956cd2fe57d17a1f5c661f2ade48452 | diff --git a/predix/service.py b/predix/service.py
index <HASH>..<HASH> 100644
--- a/predix/service.py
+++ b/predix/service.py
@@ -26,8 +26,8 @@ class Service(object):
"""
If we are in an app context we can authenticate immediately.
"""
- client_id = os.environ.get('PREDIX_APP_CLIENT_I... | auto-authenticate by uaa client env var | PredixDev_predixpy | train | py |
a16a212b84a2367955662d25ea3b039f97a45e84 | diff --git a/src/OmniApp/App.php b/src/OmniApp/App.php
index <HASH>..<HASH> 100644
--- a/src/OmniApp/App.php
+++ b/src/OmniApp/App.php
@@ -150,11 +150,11 @@ class App
*
* @param $key
* @param null $value
- * @param bool $detect_callback
+ * @param bool $no_detect_callback
* @param b... | Change config param detect_callback to no_detect_callback | hfcorriez_pagon | train | php |
384d026eaa6084f3dbb673c6bfd81b78ee49bb83 | diff --git a/spyder/dependencies.py b/spyder/dependencies.py
index <HASH>..<HASH> 100644
--- a/spyder/dependencies.py
+++ b/spyder/dependencies.py
@@ -49,7 +49,7 @@ PANDAS_REQVER = '>=0.13.1'
NUMPY_REQVER = '>=1.7'
SCIPY_REQVER = '>=0.17.0'
PYLS_REQVER = '>=0.28.2;<0.29.0'
-APPLAUNCHSERVICES_REQVER = '>=0.1.6'
+... | Update minimum version number for applaunchservices | spyder-ide_spyder | train | py |
68b80ddacbd9e79d32841178edf804c0ed9889a6 | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -1,6 +1,9 @@
from __future__ import print_function
import sys
+import random
+import unittest
+
if sys.version_info >= (2, 7):
from collections import Counter
else:
@@ -8,8 +11,6 @@ else:
def next(i):
... | Python 2 allows sorting disparate types. Let it I guess? | nicktimko_huffman | train | py |
2e5a499f92e6f7f6dcbf27850549c3b60c64811b | diff --git a/lib/core/plugin/node.rb b/lib/core/plugin/node.rb
index <HASH>..<HASH> 100644
--- a/lib/core/plugin/node.rb
+++ b/lib/core/plugin/node.rb
@@ -401,7 +401,7 @@ class Node < CORL.plugin_class(:nucleon, :base)
})
unless local?
- result = run.node_fact({ :quiet => true })
+ r... | Using the facts node action provider when loading remote facts in the base node plugin. | coralnexus_corl | train | rb |
67115bc06ee388db5b8e70822553db686745097c | diff --git a/lib/rails-api/application/default_rails_four_middleware_stack.rb b/lib/rails-api/application/default_rails_four_middleware_stack.rb
index <HASH>..<HASH> 100644
--- a/lib/rails-api/application/default_rails_four_middleware_stack.rb
+++ b/lib/rails-api/application/default_rails_four_middleware_stack.rb
@@ -9... | Make it work with Ruby <I>
TODO: There are some failing tests yet | rails-api_rails-api | train | rb,rb |
eb5c4450618a345d238ed47bef0a66b6bc6c246f | diff --git a/tests/TestCase/Controller/ArticlesControllerTest.php b/tests/TestCase/Controller/ArticlesControllerTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Controller/ArticlesControllerTest.php
+++ b/tests/TestCase/Controller/ArticlesControllerTest.php
@@ -87,7 +87,10 @@ class ArticlesControllerTest exten... | Flag integration test request as ajax (task #<I>) | QoboLtd_cakephp-search | train | php |
1fbca7c712f3da4b0d95adda6f150e4a4201bb79 | diff --git a/src/sap.ui.core/test/sap/ui/core/qunit/util/testsuite.util.qunit.js b/src/sap.ui.core/test/sap/ui/core/qunit/util/testsuite.util.qunit.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/test/sap/ui/core/qunit/util/testsuite.util.qunit.js
+++ b/src/sap.ui.core/test/sap/ui/core/qunit/util/testsuite.util.qu... | [INTERNAL] testsuite.util.qunit.js: use xx-waitForTheme: "init"
Avoid warnings that the theme has not loaded yet while the tests are
already running.
Change-Id: I4d0e<I>c<I>be<I>e8b<I>de<I>b<I>bbec<I>fe | SAP_openui5 | train | js |
f06a1f4120a1c2a02bfde92bb2acefb98b9439fc | diff --git a/events/forms.py b/events/forms.py
index <HASH>..<HASH> 100644
--- a/events/forms.py
+++ b/events/forms.py
@@ -126,11 +126,6 @@ class EventForm(forms.Form):
class RsvpForm(forms.Form):
''' Form to RSVP or un-RSVP from an event. '''
- rsvp = forms.CharField(
- widget=forms.HiddenInput(),
- ... | Removed the dummy field for rsvp | knagra_farnsworth | train | py |
7740189858cb27618de8d842e2dd2860a3e54679 | diff --git a/src/proxy/models.py b/src/proxy/models.py
index <HASH>..<HASH> 100644
--- a/src/proxy/models.py
+++ b/src/proxy/models.py
@@ -5,6 +5,8 @@ import urllib2
from django.conf import settings
from django.db import models
+from django.db.models.signals import post_save
+from django.dispatch import receiver
... | adding model and signal to user post_save - closes #<I> | colab_colab | train | py |
4ee8f306ae0a9e5cccd7a8283fcf02a6b05213e3 | diff --git a/lib/epuber/compiler.rb b/lib/epuber/compiler.rb
index <HASH>..<HASH> 100644
--- a/lib/epuber/compiler.rb
+++ b/lib/epuber/compiler.rb
@@ -115,7 +115,7 @@ module Epuber
epub_path = File.expand_path(path)
Dir.chdir(@file_resolver.destination_path) do
- new_paths = @file_resolver.packag... | [Compiler] fix typo in method name | epuber-io_epuber | train | rb |
b9a8ca61a5196ae9cef62b0ad62f8760166719a5 | diff --git a/src/DependencyInjection/FOSElasticaExtension.php b/src/DependencyInjection/FOSElasticaExtension.php
index <HASH>..<HASH> 100644
--- a/src/DependencyInjection/FOSElasticaExtension.php
+++ b/src/DependencyInjection/FOSElasticaExtension.php
@@ -152,6 +152,8 @@ class FOSElasticaExtension extends Extension
... | Add autowiring alias for named clients | FriendsOfSymfony_FOSElasticaBundle | train | php |
34d65df37e469148ce6f1794e3a77a051bcfdcb1 | diff --git a/citrination_client/models/data_view.py b/citrination_client/models/data_view.py
index <HASH>..<HASH> 100644
--- a/citrination_client/models/data_view.py
+++ b/citrination_client/models/data_view.py
@@ -1,6 +1,6 @@
class DataView(object):
- def __init__(self, view_id, name, description, column_names, ... | Adding datasets and setting column names to default None in DataView | CitrineInformatics_python-citrination-client | train | py |
ddb6e998f685ae658aa76308f42788c674317918 | diff --git a/test/bm0.rb b/test/bm0.rb
index <HASH>..<HASH> 100644
--- a/test/bm0.rb
+++ b/test/bm0.rb
@@ -10,6 +10,10 @@
$:.unshift('lib')
require 'benchmark'
+
+require 'date'
+require 'fileutils'
+
require 'rubygems'
N = 10_000 | bacon flunks with <I> :( | jmettraux_rufus-tokyo | train | rb |
548aa5aa5ed22e5c393bbb1bbee2fdae52654e5a | diff --git a/src/Codeaken/SshKey/SshPublicKey.php b/src/Codeaken/SshKey/SshPublicKey.php
index <HASH>..<HASH> 100644
--- a/src/Codeaken/SshKey/SshPublicKey.php
+++ b/src/Codeaken/SshKey/SshPublicKey.php
@@ -15,6 +15,13 @@ class SshPublicKey extends SshKey
return new SshPublicKey(SshKey::readFile($filename));
... | Added calculation of fingerprint for the public key | codeaken_sshkey | train | php |
11ed580f0dd2a0b4697ee74c981f2fb2d4fe68fb | diff --git a/andes/main.py b/andes/main.py
index <HASH>..<HASH> 100644
--- a/andes/main.py
+++ b/andes/main.py
@@ -496,12 +496,12 @@ def run(filename, input_path='', verbose=20, mp_verbose=30, ncpu=os.cpu_count(),
if ex_code == 0:
logger.info(f'-> Single process finished in {s0}.')
else:
... | Removed Newton Krylov power flow from test set. | cuihantao_andes | train | py,py |
f681365256092b03d4e75aaafb97108829bd1df9 | diff --git a/examples/userstream.rb b/examples/userstream.rb
index <HASH>..<HASH> 100644
--- a/examples/userstream.rb
+++ b/examples/userstream.rb
@@ -18,7 +18,7 @@ client.on_direct_message do |direct_message|
puts direct_message.text
end
-client.on_timeline_status do |status|
+client.on_timeline_status do |stat... | only use epoll if supported. removes the 'lib/tweetstream/client.rb:<I>: warning: epoll is not supported on this platform' warning on osx. | tweetstream_tweetstream | train | rb,rb |
0a1d4ed2663bf0eee06483e397dd8182330c552f | diff --git a/src/Command/AbstractCommand.php b/src/Command/AbstractCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/AbstractCommand.php
+++ b/src/Command/AbstractCommand.php
@@ -285,11 +285,11 @@ abstract class AbstractCommand
/**
* Gets the InputDefinition attached to this command.
*
- * @return Inp... | The input definition is not nullable | joomla-framework_console | train | php |
9562b05ad715610b731e47a71cff1fa2a61e3717 | diff --git a/multiqc/modules/deeptools/plotProfile.py b/multiqc/modules/deeptools/plotProfile.py
index <HASH>..<HASH> 100644
--- a/multiqc/modules/deeptools/plotProfile.py
+++ b/multiqc/modules/deeptools/plotProfile.py
@@ -142,7 +142,7 @@ class plotProfileMixin:
step = self._int(abs(start / bin_lab... | Handle missing TSS in bin_labels | ewels_MultiQC | train | py |
6dc252d75788193af1871cfab204b02aef8e3325 | diff --git a/src/vivarium/framework/event.py b/src/vivarium/framework/event.py
index <HASH>..<HASH> 100644
--- a/src/vivarium/framework/event.py
+++ b/src/vivarium/framework/event.py
@@ -90,7 +90,7 @@ class _EventChannel:
self.manager = manager
self.listeners = [[] for _ in range(10)]
- def emit(... | Corrections from PR comments: remove '2' from test_proper_access2, make Dict argument default to '{}' versus None | ihmeuw_vivarium | train | py,py |
0fc3d7440327bef5f36f33a5754ec45ab95328e5 | diff --git a/docs/gatsby-config.js b/docs/gatsby-config.js
index <HASH>..<HASH> 100644
--- a/docs/gatsby-config.js
+++ b/docs/gatsby-config.js
@@ -59,11 +59,11 @@ module.exports = {
{
resolve: `@gatsby-contrib/gatsby-plugin-elasticlunr-search`,
options: {
- fields: ["title", "excerpt", "path"]... | docs: update description field name
This field has been renamed. | kiwicom_orbit-components | train | js |
28a9decbb533fa6d3a5c4dcafebc019232b15b33 | diff --git a/src/Mainio/C5/Twig/Factory.php b/src/Mainio/C5/Twig/Factory.php
index <HASH>..<HASH> 100644
--- a/src/Mainio/C5/Twig/Factory.php
+++ b/src/Mainio/C5/Twig/Factory.php
@@ -58,7 +58,7 @@ class Factory
public static function createEnvironment($paths, \Symfony\Component\Translation\Translator $translator, ... | Updated twig bridge path
With newer versions of twig the twig bridge path has changed. | mainio_c5pkg_twig_templates | train | php |
52d27dc9aaa799276a07a89fcf1734c4398fd5a3 | diff --git a/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapLoaderTest.java b/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapLoaderTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapLoaderTest.java
+++ b/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapL... | converted boolean field to AtomicBoolean for MapLoaderTest since it is used multi-threaded | hazelcast_hazelcast | train | java |
2b00c6de4c406170df2993701ccbc01695242702 | diff --git a/src/WP_Export_Query.php b/src/WP_Export_Query.php
index <HASH>..<HASH> 100644
--- a/src/WP_Export_Query.php
+++ b/src/WP_Export_Query.php
@@ -207,7 +207,7 @@ class WP_Export_Query {
return;
}
- if ( false !== $this->filters['with_attachments'] && ( ! $this->filters['post_type'] || ! in_array( 'at... | Fix incorrect condition, unintended change | wp-cli_export-command | train | php |
1456f15af6bbe33366f36256cfae194ab9ab2bd0 | diff --git a/lib/rom/commands/graph.rb b/lib/rom/commands/graph.rb
index <HASH>..<HASH> 100644
--- a/lib/rom/commands/graph.rb
+++ b/lib/rom/commands/graph.rb
@@ -18,6 +18,16 @@ module ROM
alias_method :left, :root
alias_method :right, :nodes
+ # Build a command graph recursively
+ #
+ # ... | Add yard docs for Commangs::Graph.build | rom-rb_rom | train | rb |
ed31cc7bc45525fb525e28353a3e28a3fd62aac8 | diff --git a/pages/example/1.js b/pages/example/1.js
index <HASH>..<HASH> 100644
--- a/pages/example/1.js
+++ b/pages/example/1.js
@@ -24,7 +24,6 @@ class App extends React.Component {
onChange={this.fieldChange}
onValid={() => alert('Submitting...')} // eslint-disable-line no-alert
onInvalid={() =... | Remove unnecessary onValidation prop from examples | vacuumlabs_react-custom-validation | train | js,js |
1c4267214c0921d5c4291bc5b6776b9e06575653 | diff --git a/src/EchoIt/JsonApi/Model.php b/src/EchoIt/JsonApi/Model.php
index <HASH>..<HASH> 100644
--- a/src/EchoIt/JsonApi/Model.php
+++ b/src/EchoIt/JsonApi/Model.php
@@ -82,12 +82,12 @@ class Model extends \Eloquent
}
if ($value instanceof BaseModel) {
- $relations[$relat... | More consistent resource linkage.
Ref: json-api/json-api#<I>
Seems like this PR (linkedRenaming) is an appropriate place to
include this. | egeriis_laravel-jsonapi | train | php |
d6a6d4737a89c6d47cc4454e87a6208da54b9864 | diff --git a/terrabot/util/worlddrawer.py b/terrabot/util/worlddrawer.py
index <HASH>..<HASH> 100644
--- a/terrabot/util/worlddrawer.py
+++ b/terrabot/util/worlddrawer.py
@@ -1,11 +1,13 @@
from PIL import Image, ImageDraw
+from progressbar import *
def draw_world(world):
image = Image.new("RGB", (world.maxX, w... | Added a progressbar to the world drawer | flammified_terrabot | train | py |
8ff7d008ef2fd87940b62b787186ae12a209b91c | diff --git a/lib/handlers/connect.js b/lib/handlers/connect.js
index <HASH>..<HASH> 100644
--- a/lib/handlers/connect.js
+++ b/lib/handlers/connect.js
@@ -75,7 +75,6 @@ function init (client, packet, done) {
doConnack(
{ client: client, returnCode: returnCode, sessionPresent: false },
done.bind(this,... | fix: prevent client connection to be closed when doing connack (#<I>)
* fix: prevent client connection to be closed when doing connack
* test should not call `conn.end()`
* add test empty connection request queue
* refactor code | mcollina_aedes | train | js,js |
6a76fef0ccb1f7916aa13af23b2381af4d922617 | diff --git a/Source/classes/NiceText.js b/Source/classes/NiceText.js
index <HASH>..<HASH> 100644
--- a/Source/classes/NiceText.js
+++ b/Source/classes/NiceText.js
@@ -255,9 +255,15 @@ Garnish.NiceText = Garnish.Base.extend({
destroy: function()
{
this.base();
- this.$hint.remove();
- this.$stage.remove();
- }
... | Prevent NiceText from breaking on init in some cases. | pixelandtonic_garnishjs | train | js |
1e85c22b8c4755c1a049336f59327e95a4e953c2 | diff --git a/lib/pkgcloud/digitalocean/client.js b/lib/pkgcloud/digitalocean/client.js
index <HASH>..<HASH> 100644
--- a/lib/pkgcloud/digitalocean/client.js
+++ b/lib/pkgcloud/digitalocean/client.js
@@ -18,7 +18,7 @@ var utile = require('utile'),
// #### @throws {TypeError} On bad input
//
var Client = exports.Clien... | [api] Set JSON and authentication on DO API calls | pkgcloud_pkgcloud | train | js |
21c7c8bbf73b30792ccdd24a1ed88ae7fb712ed9 | diff --git a/holoviews/plotting/mpl/stats.py b/holoviews/plotting/mpl/stats.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/stats.py
+++ b/holoviews/plotting/mpl/stats.py
@@ -197,7 +197,8 @@ class ViolinPlot(BoxPlot):
label = ','.join([d.pprint_value(v) for d, v in zip(element.kdims, key)])... | Fix Violin matplotlib rendering with non-finite values (#<I>) | pyviz_holoviews | train | py |
66f20fab1b045622a3d4789f014287733f2b6445 | diff --git a/test/dom/home.js b/test/dom/home.js
index <HASH>..<HASH> 100644
--- a/test/dom/home.js
+++ b/test/dom/home.js
@@ -20,13 +20,8 @@ const DOM = new window.DOMParser().parseFromString(HTML, 'text/html');
// We now get the `[router-view]` from the fake DOM.
const VIEW = DOM.querySelector('[router-view]');
-... | :construction: Add Unit Tests | Dogstudio_highway | train | js |
722dbab4211a62795d53f2519767d7c2e7af0884 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -26,7 +26,7 @@
test.equal(1, entries.length);
test.equal('foo', entries[0].name);
- test.ok(entries[0].startTime > 0);
+ test.ok(entries[0].startTime >= 0);
test.don... | startTime may be 0 depending on test framework overhead | nicjansma_usertiming.js | train | js |
14b887605387a5f6103152c52b148fc96e709d4d | diff --git a/src/menus/ClientDetailMenu.php b/src/menus/ClientDetailMenu.php
index <HASH>..<HASH> 100644
--- a/src/menus/ClientDetailMenu.php
+++ b/src/menus/ClientDetailMenu.php
@@ -54,7 +54,7 @@ class ClientDetailMenu extends \hipanel\menus\AbstractDetailMenu
],
[
'label' =>... | Changed icon for two factor authorization from shield to lock | hiqdev_hipanel-module-client | train | php |
1acd0c2193d46eb88b22d4daa7b51afa5c1ae820 | diff --git a/ImagePanel.py b/ImagePanel.py
index <HASH>..<HASH> 100644
--- a/ImagePanel.py
+++ b/ImagePanel.py
@@ -582,7 +582,6 @@ class ImagePanel(Panel.Panel):
self.widget.current_index = 0
ctx = self.__display_layer.drawing_context
ctx.clear()
- self.__repaint_graphi... | Remove unnecessary repaint.
svn r<I> | nion-software_nionswift | train | py,py |
8e073163bca275d181142c2c048c611e4bcc32fb | diff --git a/planner/core/find_best_task.go b/planner/core/find_best_task.go
index <HASH>..<HASH> 100644
--- a/planner/core/find_best_task.go
+++ b/planner/core/find_best_task.go
@@ -698,7 +698,7 @@ func (ds *DataSource) findBestTask(prop *property.PhysicalProperty, planCounter
p: dual,
}, cntPlan, nil
}
-... | planner/core: point get only work on TiKV (#<I>) | pingcap_tidb | train | go |
0037f95ce5b76d314cdb6c1ef147a88c8fbd1131 | diff --git a/blimpy/waterfall.py b/blimpy/waterfall.py
index <HASH>..<HASH> 100755
--- a/blimpy/waterfall.py
+++ b/blimpy/waterfall.py
@@ -575,7 +575,10 @@ def cmd_tool(args=None):
help='Filename output (if not probided, the name will be the same but with apropiate extension).')
parser.add... | don't parse sys args during test suite run
Former-commit-id: 6c9a<I>dee1b<I>ed<I>d<I>ffabb<I>f<I>b8a6 | UCBerkeleySETI_blimpy | train | py,py |
4f0014e75c90497f1464e732b7d0a18d5433867e | diff --git a/pyt/cfg.py b/pyt/cfg.py
index <HASH>..<HASH> 100644
--- a/pyt/cfg.py
+++ b/pyt/cfg.py
@@ -14,7 +14,7 @@ def generate_ast(path):
def print_CFG(CFG):
'''Prints a CFG created by using the CFG class.'''
print(inspect.stack()[1][3])
- for x, n in enumerate(CFG):
+ for x, n in enumerate(CFG.node... | Fixed input for print_CFG
Befor one had to input CFG.nodes now its is just an instance of a CFG class | python-security_pyt | train | py |
3fdb66f8e43c8ed07d5b472bd59d2d012002d607 | diff --git a/src/specktre/colors.py b/src/specktre/colors.py
index <HASH>..<HASH> 100644
--- a/src/specktre/colors.py
+++ b/src/specktre/colors.py
@@ -20,7 +20,7 @@ def random_color(start, end):
d_blue = (start.blue - end.blue)
while True:
chosen_d = random.uniform(0, 1)
- yield Color(
+ ... | Use RGBColor insetad of Color.
Since Color is deprecated, `random_color` generates unnecessary warnings
that clutter user's stderr. | alexwlchan_specktre | train | py |
6e2e48d5d3cbaf1862ffdd4625564b86dc98d120 | diff --git a/testkit-backend/lib/testkit/backend/messages/requests/get_features.rb b/testkit-backend/lib/testkit/backend/messages/requests/get_features.rb
index <HASH>..<HASH> 100644
--- a/testkit-backend/lib/testkit/backend/messages/requests/get_features.rb
+++ b/testkit-backend/lib/testkit/backend/messages/requests/g... | ssl scheme feature (#<I>)
* ssl scheme feature
* comment cleaning | neo4jrb_neo4j-ruby-driver | train | rb |
be2f4daee5b8061b95395b48dd89ad200fb11d88 | diff --git a/src/Statement.php b/src/Statement.php
index <HASH>..<HASH> 100644
--- a/src/Statement.php
+++ b/src/Statement.php
@@ -407,12 +407,11 @@ abstract class Statement
$this->after($parser, $list, $token);
// #223 Here may make a patch, if last is delimiter, back one
- if ($... | Stop instanciating an object to check its class name. | phpmyadmin_sql-parser | train | php |
2ea0276e7b4ea9614961a530382320c49ab626a2 | diff --git a/core/src/main/java/hudson/model/DirectoryBrowserSupport.java b/core/src/main/java/hudson/model/DirectoryBrowserSupport.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/DirectoryBrowserSupport.java
+++ b/core/src/main/java/hudson/model/DirectoryBrowserSupport.java
@@ -284,7 +284,12 @@ ... | [CID-<I>] - Resource leak on fingerprint calculation in DirectoryBrowserSupport
The issue is related to JENKINS-<I>. | jenkinsci_jenkins | train | java |
0110eb4c1841ff6386009168ded1cb3acce80dfd | diff --git a/dataviews/collector.py b/dataviews/collector.py
index <HASH>..<HASH> 100644
--- a/dataviews/collector.py
+++ b/dataviews/collector.py
@@ -410,7 +410,7 @@ class Analysis(Aggregator):
return None
else:
view = self.reference.resolve(viewgroup)
- return self.analys... | Added internal viewgroup buffer to avoid unnecessary repeat analysis | pyviz_holoviews | train | py |
7db563f8f47a941624496d261abdde7fdebdacec | diff --git a/src/VR.js b/src/VR.js
index <HASH>..<HASH> 100644
--- a/src/VR.js
+++ b/src/VR.js
@@ -283,14 +283,16 @@ class VRDisplay extends EventEmitter {
async requestPresent(layers) {
await this.onrequestpresent();
-
+
const [{source: canvas}] = layers;
const context = canvas._context || canv... | Defer vrdisplaypresentchange event in VR.js | exokitxr_exokit | train | js |
d9c1da6b7e6801af395a2d2432ff66b8c481ea96 | diff --git a/src/zgor/ZCanvas.js b/src/zgor/ZCanvas.js
index <HASH>..<HASH> 100644
--- a/src/zgor/ZCanvas.js
+++ b/src/zgor/ZCanvas.js
@@ -360,7 +360,7 @@ zgor.ZCanvas.prototype.setDimensions = function( aWidth, aHeight )
this._element[ "width" ] = this._width = aWidth;
this._element[ "height" ] = this._hei... | added invalidation request to zCanvas' dimensions update method | igorski_zCanvas | train | js |
50ff9a4d78251d844fd2530cc1ebfd9b6d7a93e8 | diff --git a/geoshape/urls.py b/geoshape/urls.py
index <HASH>..<HASH> 100644
--- a/geoshape/urls.py
+++ b/geoshape/urls.py
@@ -4,6 +4,7 @@ from maploom.geonode.urls import urlpatterns as maploom_urls
urlpatterns = patterns('',
(r'^file-service/', include('geoshape.file_service.urls')),
+ ... | Updated geonode urls for tilebundler | ROGUE-JCTD_rogue_geonode | train | py |
346cb4693e3c61988111b2f4cd185c09cefc22f4 | diff --git a/GPy/kern/src/kern.py b/GPy/kern/src/kern.py
index <HASH>..<HASH> 100644
--- a/GPy/kern/src/kern.py
+++ b/GPy/kern/src/kern.py
@@ -70,7 +70,10 @@ class Kern(Parameterized):
@Cache_this(limit=20)
def _slice_X(self, X):
- return X[:, self._all_dims_active]
+ try:
+ return ... | [kern] inner transformation to types, start for the multitype pandas arrays | SheffieldML_GPy | train | py |
2c06001c7301fabb03d2c6826066f099fc09494b | diff --git a/sprd/manager/ExternalApi.js b/sprd/manager/ExternalApi.js
index <HASH>..<HASH> 100644
--- a/sprd/manager/ExternalApi.js
+++ b/sprd/manager/ExternalApi.js
@@ -20,6 +20,7 @@ define(["js/core/Component", "js/core/ExternalInterface", "js/core/Bus", "sprd/m
externalInterface.addCallback("getStartPa... | added supportsSvg to ExternalApi | spreadshirt_rAppid.js-sprd | train | js |
38dc12e5d338ea16e878b5dac0a77fff4b9bf91f | diff --git a/pkg/identity/identity.go b/pkg/identity/identity.go
index <HASH>..<HASH> 100644
--- a/pkg/identity/identity.go
+++ b/pkg/identity/identity.go
@@ -109,6 +109,11 @@ func (id *Identity) StringID() string {
return id.ID.StringID()
}
+// StringID returns the identity identifier as string
+func (id *Identit... | identity: add String() function for Identity
This returns the numeric identity of the Identity as a string. | cilium_cilium | train | go |
9858424c8a35e7de7d9428da843b0d1b58964f4e | diff --git a/src/loaders/WWOBJLoader2.js b/src/loaders/WWOBJLoader2.js
index <HASH>..<HASH> 100644
--- a/src/loaders/WWOBJLoader2.js
+++ b/src/loaders/WWOBJLoader2.js
@@ -13,11 +13,12 @@ THREE.OBJLoader2.WWOBJLoader2 = (function () {
var Validator = THREE.OBJLoader2.prototype._getValidator();
function WWOBJLoad... | WWOBJLoader2: Move version logging to _init() | kaisalmen_WWOBJLoader | train | js |
b27fc96e1e50e9286ede10ebed9fa195cd3be085 | diff --git a/jbot/src/main/java/me/ramswaroop/jbot/core/slack/models/Item.java b/jbot/src/main/java/me/ramswaroop/jbot/core/slack/models/Item.java
index <HASH>..<HASH> 100644
--- a/jbot/src/main/java/me/ramswaroop/jbot/core/slack/models/Item.java
+++ b/jbot/src/main/java/me/ramswaroop/jbot/core/slack/models/Item.java
@... | Missing timestamp field has been added to Item as ts. (#<I>) | rampatra_jbot | train | java |
4f14a4f4f6d96e28d725fe24fb4f19ece2e3bcfa | diff --git a/tests/Adapter/ConfigTest.php b/tests/Adapter/ConfigTest.php
index <HASH>..<HASH> 100644
--- a/tests/Adapter/ConfigTest.php
+++ b/tests/Adapter/ConfigTest.php
@@ -82,7 +82,25 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
];
}
- public function testGetMaximumAttempts()
+ /**
+... | Add test for get maximum attempts method on Config class | phlib_db | train | php |
10660fc0b8f3eee4fa77a7979470d9de4496ee50 | diff --git a/commands/command_filter.go b/commands/command_filter.go
index <HASH>..<HASH> 100644
--- a/commands/command_filter.go
+++ b/commands/command_filter.go
@@ -171,7 +171,13 @@ Scan:
for s.Scan() {
var err error
- switch req := s.Request(); req.Header["command"] {
+ req := s.Request()
+ if req == nil {... | commands/filter: break the scan loop after the final flush | git-lfs_git-lfs | train | go |
e137696f7b1c408f6daa94aa1fe72c2f19abd1cd | diff --git a/test/test_parse.py b/test/test_parse.py
index <HASH>..<HASH> 100644
--- a/test/test_parse.py
+++ b/test/test_parse.py
@@ -12,6 +12,10 @@ from delta import parse
class ParseTest(unittest.TestCase):
+ def test_fails_when_parsing_bogus_duration(self):
+ with self.assertRaisesRegexp(Exception, '... | add missing test to have <I>% coverage | rlgomes_delta | train | py |
91743ce3f5b90c9b8928eece0b25ef52d5f1beb1 | diff --git a/code/editor/FieldEditor.php b/code/editor/FieldEditor.php
index <HASH>..<HASH> 100755
--- a/code/editor/FieldEditor.php
+++ b/code/editor/FieldEditor.php
@@ -49,15 +49,13 @@ class FieldEditor extends FormField {
*/
function Fields() {
Requirements::css("userforms/css/FieldEditor.css");
- Requireme... | BUGFIX: avoid segfault triggered by component call.
BUGFIX: change the ui version to get the sortable working again. | silverstripe_silverstripe-userforms | train | php |
fb91443e7763f8c39094edd0b6668d884b3ed090 | diff --git a/tests/test_multicolor.py b/tests/test_multicolor.py
index <HASH>..<HASH> 100644
--- a/tests/test_multicolor.py
+++ b/tests/test_multicolor.py
@@ -93,7 +93,7 @@ class MulticolorTestCase(unittest.TestCase):
self.assertEqual(len(mc2.colors), 1)
self.assertSetEqual({"blue"}, mc2.colors)
- ... | test case method renaming to compliment method name in Multicolor class | aganezov_bg | train | py |
aa465cd8437326060c3b9c523e45333e33f0d84d | diff --git a/holoviews/element/chart.py b/holoviews/element/chart.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/chart.py
+++ b/holoviews/element/chart.py
@@ -92,7 +92,10 @@ class Chart(Element2D):
clip_stop = data[:, idx] < stop
data = data[np.logical_and(clip_start, clip_stop... | Added support for indexing data in Chart Elements | pyviz_holoviews | train | py |
5e257c70c65c27ab65984e16ad38c67297bc45f1 | diff --git a/master/contrib/github_buildbot.py b/master/contrib/github_buildbot.py
index <HASH>..<HASH> 100755
--- a/master/contrib/github_buildbot.py
+++ b/master/contrib/github_buildbot.py
@@ -5,7 +5,7 @@ github_buildbot.py is based on git_buildbot.py. Last revised on 2014-02-20.
github_buildbot.py will determine th... | remove unnecessary "Buildbot" from "Buildbot worker" | buildbot_buildbot | train | py |
e13048dd5dc0fc1f69eb0e5c9f42efbfcb3bc664 | diff --git a/source/adapter/response.js b/source/adapter/response.js
index <HASH>..<HASH> 100644
--- a/source/adapter/response.js
+++ b/source/adapter/response.js
@@ -3,7 +3,7 @@ module.exports = {
handleResponseCode: function(response) {
var status = parseInt(response.status, 10);
if (status >= ... | Remove incompatible code for <I> | perry-mitchell_webdav-client | train | js |
0e0006644f87ca314155d32b6a6c8e35d21d428e | diff --git a/centinel/primitives/tls.py b/centinel/primitives/tls.py
index <HASH>..<HASH> 100644
--- a/centinel/primitives/tls.py
+++ b/centinel/primitives/tls.py
@@ -6,7 +6,13 @@ import M2Crypto
def get_fingerprint(host, port):
- cert = ssl.get_server_certificate((host, port))
+ try:
+ cert = ssl.get... | added SSLv3 fallback to TLSv1 in TLS primitive, fixes #<I> | iclab_centinel | train | py |
cdbafee3e8dcdeadd9287a4780c1e31f69c0de8f | diff --git a/opentrons/robot/robot.py b/opentrons/robot/robot.py
index <HASH>..<HASH> 100644
--- a/opentrons/robot/robot.py
+++ b/opentrons/robot/robot.py
@@ -701,23 +701,25 @@ class Robot(object, metaclass=Singleton):
mode = 'simulate'
cmd_run_event['mode'] = mode
+ cmd_run_event['name']... | including total commands count within robot run emit | Opentrons_opentrons | train | py |
c1b7c06a9650d866ba412da667cf0b35a5e43471 | diff --git a/integration_tests/blockstack_integration_tests/scenarios/blockstack_client/proxy.py b/integration_tests/blockstack_integration_tests/scenarios/blockstack_client/proxy.py
index <HASH>..<HASH> 100644
--- a/integration_tests/blockstack_integration_tests/scenarios/blockstack_client/proxy.py
+++ b/integration_t... | remove account method from blockstack_client | blockstack_blockstack-core | train | py |
4ba4ff92b5f0412c63b2ad106dabeb913cdc1d20 | diff --git a/lib/after_do.rb b/lib/after_do.rb
index <HASH>..<HASH> 100644
--- a/lib/after_do.rb
+++ b/lib/after_do.rb
@@ -26,7 +26,7 @@ module AfterDo
while current_class.method_defined? method
if current_class.respond_to? :_after_do_callbacks
current_class._after_do_callbacks[type].fetch(method, ... | name prefix for execute_callback method | PragTob_after_do | train | rb |
4afcdc49d14855c0c3a4fd4558d0f81906db3ffb | diff --git a/modules/caddyhttp/caddyauth/caddyauth.go b/modules/caddyhttp/caddyauth/caddyauth.go
index <HASH>..<HASH> 100644
--- a/modules/caddyhttp/caddyauth/caddyauth.go
+++ b/modules/caddyhttp/caddyauth/caddyauth.go
@@ -30,6 +30,11 @@ func init() {
// Authentication is a middleware which provides user authenticatio... | docs: Mention {http.auth.user.id} placeholder in basicauth JSON docs (#<I>) | mholt_caddy | train | go |
1c3569e27ac1b71aad78e6d0186829585df8f4c3 | diff --git a/lib/laundry/payments_gateway/models/response_model.rb b/lib/laundry/payments_gateway/models/response_model.rb
index <HASH>..<HASH> 100644
--- a/lib/laundry/payments_gateway/models/response_model.rb
+++ b/lib/laundry/payments_gateway/models/response_model.rb
@@ -19,8 +19,12 @@ module Laundry
record... | warning for blank clients pt 2 | wilg_laundry | train | rb |
633594623d70e32fcf01ea3bb7fb65daf202e3f6 | diff --git a/web/src/main/java/com/bazaarvoice/emodb/web/migrator/LocalRangeMigrator.java b/web/src/main/java/com/bazaarvoice/emodb/web/migrator/LocalRangeMigrator.java
index <HASH>..<HASH> 100644
--- a/web/src/main/java/com/bazaarvoice/emodb/web/migrator/LocalRangeMigrator.java
+++ b/web/src/main/java/com/bazaarvoice/... | fix typo that will allow migrations to batch | bazaarvoice_emodb | train | java |
0c9c6363bcb89ad6c7c2c6012ad92fcfd7ca8c71 | diff --git a/lib/blocklib.php b/lib/blocklib.php
index <HASH>..<HASH> 100644
--- a/lib/blocklib.php
+++ b/lib/blocklib.php
@@ -176,6 +176,10 @@ function blocks_preferred_width($blockarray, $blockinfos) {
return 0;
}
foreach($blockarray as $blockid) {
+ if($blockid < 0) {
+ // Invisi... | Fix for bug <I>:
Invisible blocks are now not contributing to block column width calculations. | moodle_moodle | train | php |
769658a0ddfe28db337d5fa67997485ce95aa5cc | diff --git a/yabt/builders/python.py b/yabt/builders/python.py
index <HASH>..<HASH> 100644
--- a/yabt/builders/python.py
+++ b/yabt/builders/python.py
@@ -51,7 +51,7 @@ register_builder_sig(
'PythonPackage',
[('package', PT.str),
('version', PT.str, None),
- ('pip', PT.str, 'pip2'),
+ ('pip', PT... | by default use pip and not pip2 so that the default image pip will be used | resonai_ybt | train | py |
063db48e7947674499f4c20cb9b8ba2ce21b3a18 | diff --git a/pyt/reaching_definitions_base.py b/pyt/reaching_definitions_base.py
index <HASH>..<HASH> 100644
--- a/pyt/reaching_definitions_base.py
+++ b/pyt/reaching_definitions_base.py
@@ -16,7 +16,7 @@ class ReachingDefinitionsAnalysisBase(AnalysisBase):
return constraint_join(cfg_node.ingoing)
def a... | [grammar] remove extra the that I left | python-security_pyt | train | py |
ba1c7456b79c67a36cc3625b2a95d3c439f84ea3 | diff --git a/extra/s3_paperclip.rb b/extra/s3_paperclip.rb
index <HASH>..<HASH> 100644
--- a/extra/s3_paperclip.rb
+++ b/extra/s3_paperclip.rb
@@ -74,6 +74,11 @@ module Paperclip
@s3_host_alias
end
+ def content_disposition(style = default_style)
+ cd = @s3_headers[:content_disposition]
+ ... | For the Paperclip plugin, make Content-Disposition more useful by allowing a proc to be given. | megamsys_radosgw-s3 | train | rb |
4503885e8300de2aa08a251ad31912b4ef1f747b | diff --git a/src/Filesystem.php b/src/Filesystem.php
index <HASH>..<HASH> 100644
--- a/src/Filesystem.php
+++ b/src/Filesystem.php
@@ -31,7 +31,7 @@ class Filesystem
public function getContents($filename)
{
- $this->open($filename)->then(function($stream) {
+ return $this->file($filename)->ope... | Used the proper way of opening a file and forcing it into read only mode | reactphp_filesystem | train | php |
ddb2690351a6cbc886e438fd080f7ff3ac1b07ee | diff --git a/lib/easy_app_helper/scripts/common.rb b/lib/easy_app_helper/scripts/common.rb
index <HASH>..<HASH> 100644
--- a/lib/easy_app_helper/scripts/common.rb
+++ b/lib/easy_app_helper/scripts/common.rb
@@ -25,7 +25,7 @@ module EasyAppHelper
def safe_execution
yield if block_given?
rescue => ... | Minor.
Error report on STDERR instead of STDOUT | lbriais_easy_app_helper | train | rb,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.