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 |
|---|---|---|---|---|---|
8225fbcbfdf9c38e0c271627effd7eab2b29cf88 | diff --git a/src/components/CircularProgress/CircularProgress.js b/src/components/CircularProgress/CircularProgress.js
index <HASH>..<HASH> 100644
--- a/src/components/CircularProgress/CircularProgress.js
+++ b/src/components/CircularProgress/CircularProgress.js
@@ -21,7 +21,7 @@ class CircularProgress extends React.Co... | Added className to circular progress wrapper | weaveworks_ui-components | train | js |
f587d8c840304edaf8bd9621617b1577d282d995 | diff --git a/fernet_fields/fields.py b/fernet_fields/fields.py
index <HASH>..<HASH> 100644
--- a/fernet_fields/fields.py
+++ b/fernet_fields/fields.py
@@ -91,19 +91,19 @@ class EncryptedField(models.Field):
def get_prep_lookup(self):
- """Handles lookups for EncryptedField fields"""
- if self.lookup_name == ... | use same error message as before, simplify get_prep_lookup | orcasgit_django-fernet-fields | train | py |
601a3981d4004fb68dc996ada1a63c653ca41ccf | diff --git a/lib/sbsm/request.rb b/lib/sbsm/request.rb
index <HASH>..<HASH> 100644
--- a/lib/sbsm/request.rb
+++ b/lib/sbsm/request.rb
@@ -80,6 +80,7 @@ module SBSM
'session_path' => '/',
}
if(is_crawler?)
+ sleep 0.5
sid = [ENV['DEFAULT_FLAVOR'], @cgi.params['language'], @cgi.user_... | It appears that Crawlers need to be slowed down somewhat, to prevent DRbServers from being swamped with requests | zdavatz_sbsm | train | rb |
804c60cd8ad8de8c9ba32baa48ea51db38e3b295 | diff --git a/tests/Container/ContainerTest.php b/tests/Container/ContainerTest.php
index <HASH>..<HASH> 100755
--- a/tests/Container/ContainerTest.php
+++ b/tests/Container/ContainerTest.php
@@ -197,6 +197,8 @@ class ContainerContainerTest extends PHPUnit_Framework_TestCase
public function testExtendIsLazyInitia... | Reset test variable
This doesn’t get reset before the test so every time `testExtendIsLazyInitialized` runs after the first time it fails. | laravel_framework | train | php |
2925c859b4b670c31be4c92cad8f3769cce1efb9 | diff --git a/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java b/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java
+++ b/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java
@@ -87,6 +87,8 @@ pub... | Trivial refactoring: extract constants | apache_groovy | train | java |
ae77d82d88424108650cfcfc99b9aa3e52a2cd1e | diff --git a/prometheus/example_timer_gauge_test.go b/prometheus/example_timer_gauge_test.go
index <HASH>..<HASH> 100644
--- a/prometheus/example_timer_gauge_test.go
+++ b/prometheus/example_timer_gauge_test.go
@@ -13,7 +13,11 @@
package prometheus_test
-import "github.com/prometheus/client_golang/prometheus"
+imp... | Fix invalid Timer (gauge) example
The example method is assumed to be used as main() function. As a main()
function doesn't have any return values, the example doesn't compile and
is invalid. | prometheus_client_golang | train | go |
47b5d988e58b0ed747ede2b26563e120c3537fbd | diff --git a/www/src/py_builtin_functions.js b/www/src/py_builtin_functions.js
index <HASH>..<HASH> 100644
--- a/www/src/py_builtin_functions.js
+++ b/www/src/py_builtin_functions.js
@@ -701,7 +701,10 @@ function id(obj) {
}
function __import__(mod_name){
- try {$B.$import(mod_name)}
+ // for issue # 161
+ va... | starter code for issue #<I>, make f_code into a code object that is compatible with co_code | brython-dev_brython | train | js |
3479111da4c6b67a34e9a54708fd113faec9345c | diff --git a/code/DebugBarRequestFilter.php b/code/DebugBarRequestFilter.php
index <HASH>..<HASH> 100644
--- a/code/DebugBarRequestFilter.php
+++ b/code/DebugBarRequestFilter.php
@@ -43,7 +43,11 @@ class DebugBarRequestFilter implements \RequestFilter
SS_HTTPResponse $response, DataMode... | do not include ajax data in the cms | lekoala_silverstripe-debugbar | train | php |
663f7828c77ec32a272e986b444f54373d02728e | diff --git a/lib/monologue/engine.rb b/lib/monologue/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/monologue/engine.rb
+++ b/lib/monologue/engine.rb
@@ -23,7 +23,7 @@ module Monologue
]
end
- initializer 'monologue.configuration', :before => :load_config_initializers do |app|
+ initializer 'monolo... | Fixes #<I>. small refactoring | jipiboily_monologue | train | rb |
8e371539f423be1717d0f7a51feee48b5d9e3788 | diff --git a/lib/outputcomponents.php b/lib/outputcomponents.php
index <HASH>..<HASH> 100644
--- a/lib/outputcomponents.php
+++ b/lib/outputcomponents.php
@@ -2861,7 +2861,11 @@ class custom_menu extends custom_menu_item {
$itemtitle = $itemtext;
break;
... | MDL-<I> custom_menu: Malformed url in custom menu cannot break the platform | moodle_moodle | train | php |
acbcf177f0898cfe29e21ffc72e117abfb6666d9 | diff --git a/mediasync/backends/rackspace_cloudfiles.py b/mediasync/backends/rackspace_cloudfiles.py
index <HASH>..<HASH> 100644
--- a/mediasync/backends/rackspace_cloudfiles.py
+++ b/mediasync/backends/rackspace_cloudfiles.py
@@ -1,5 +1,7 @@
import cloudfiles
+from django.core.exceptions import ImproperlyConfigured... | added checks for CLOUDFILES settings | sunlightlabs_django-mediasync | train | py |
c885903ff2421310d6126fb0c6cdc9cfd9fbca20 | diff --git a/cmd/strelaypoolsrv/main.go b/cmd/strelaypoolsrv/main.go
index <HASH>..<HASH> 100644
--- a/cmd/strelaypoolsrv/main.go
+++ b/cmd/strelaypoolsrv/main.go
@@ -149,7 +149,7 @@ func main() {
}
handler := http.NewServeMux()
- handler.HandleFunc("/", handleRequest)
+ handler.HandleFunc("/endpoint", handleRequ... | Change endpoint URL, as we might want to run some stats pages | syncthing_syncthing | train | go |
e2033a1894451c2b90ab4c43ff1eed0aad3f14ce | diff --git a/src/main/java/org/junit/internal/runners/ParentRunner.java b/src/main/java/org/junit/internal/runners/ParentRunner.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/junit/internal/runners/ParentRunner.java
+++ b/src/main/java/org/junit/internal/runners/ParentRunner.java
@@ -24,7 +24,6 @@ import org.... | Remove caching filtered and sorted results, which led to spooky ordering dependencies in ParentRunner | junit-team_junit4 | train | java |
d472a6054486e0d6a96094d3d211dca05e5f9b3e | diff --git a/tests/unit/jcanvas-layers.js b/tests/unit/jcanvas-layers.js
index <HASH>..<HASH> 100644
--- a/tests/unit/jcanvas-layers.js
+++ b/tests/unit/jcanvas-layers.js
@@ -1,5 +1,4 @@
-module("jCanvas Layers");
-
+/* Internal helpers */
function AtomicCanvas() {
// modeled after QUnit's "Keeping Tests Atomic" coo... | DKS - minor reorganization, preparing for rename | caleb531_jcanvas | train | js |
4df5520e0bed552469aa618e845e4c2265b2b75a | diff --git a/Tests/Util/AdminObjectAclDataTest.php b/Tests/Util/AdminObjectAclDataTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Util/AdminObjectAclDataTest.php
+++ b/Tests/Util/AdminObjectAclDataTest.php
@@ -74,8 +74,6 @@ class AdminObjectAclDataTest extends \PHPUnit_Framework_TestCase
/**
* @group lega... | Remove @deprecated tag
Deprecating a test makes no sense IMO: a test is not meant to be used by
end users in the first place. | sonata-project_SonataAdminBundle | train | php |
22a68997c2aa96b141c3ccba551d1aca39d61bd7 | diff --git a/shared/reducers/chat.js b/shared/reducers/chat.js
index <HASH>..<HASH> 100644
--- a/shared/reducers/chat.js
+++ b/shared/reducers/chat.js
@@ -413,7 +413,7 @@ function reducer (state: Constants.State = initialState, action: Constants.Actio
const existing = oldInbox.findEntry(i => i.get('conversationI... | Delete inbox row if it's blocked or reported | keybase_client | train | js |
da24174fb5965cdfb20c451aee6a3150c7c66061 | diff --git a/lib/net-http2/client.rb b/lib/net-http2/client.rb
index <HASH>..<HASH> 100644
--- a/lib/net-http2/client.rb
+++ b/lib/net-http2/client.rb
@@ -137,7 +137,6 @@ module NetHttp2
socket.hostname = @uri.hostname
socket.connect
- raise "Failed to negotiate #{DRAFT} via NPN" if socket.... | Do not raise error when socket npn protocol is empty.
For instance, APNS does not return npn so this doesn't necessarily need to fail. | ostinelli_net-http2 | train | rb |
ee71dd80507160d9bc65ab9a2c0259fe4df7528a | diff --git a/src/Pux/Mux.php b/src/Pux/Mux.php
index <HASH>..<HASH> 100644
--- a/src/Pux/Mux.php
+++ b/src/Pux/Mux.php
@@ -160,7 +160,7 @@ class Mux
public function sort()
{
- usort($this->routes, ['Pux\\MuxCompiler','sort_routes']);
+ usort($this->routes, array('Pux\\MuxCompiler','sort_route... | Update Mux.php
port to PHP<I> | c9s_Pux | train | php |
f8bfe19a9817ef3108ea39d142b13f60a6cf9c39 | diff --git a/config/src/main/java/org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.java b/config/src/main/java/org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.java
index <HASH>..<HASH> 100644
--- a/config/src/main... | Fix typo in autowiring warning (#<I>)
Fixes a misleading message that warns about
PermissionEvaluator when MethodSecurityExpressionHandler
should be mentioned instead.
Fixes gh-<I> | spring-projects_spring-security | train | java |
fe79172551b58e8ace0a7bdbcc905505befc5a8e | diff --git a/src/Loader/YamlLoader.php b/src/Loader/YamlLoader.php
index <HASH>..<HASH> 100644
--- a/src/Loader/YamlLoader.php
+++ b/src/Loader/YamlLoader.php
@@ -226,6 +226,9 @@ class YamlLoader
if (isset($ruleData['direction'])) {
$rule->setDirection($ruleData['direction']);
... | Support firewall rule comments in YamlLoader | droid-php_droid | train | php |
a6124cdef0ab0ac04eb831e584cec9cf4ff94368 | diff --git a/addon/services/current-user.js b/addon/services/current-user.js
index <HASH>..<HASH> 100644
--- a/addon/services/current-user.js
+++ b/addon/services/current-user.js
@@ -281,7 +281,7 @@ export default Service.extend({
roles.pushObject('SESSION_ADMINISTRATOR');
}
if (await this.isTeachingSe... | Fix role given to session instructors
When someone is teaching in a session they get SESSION_INSTRUCTOR not
COURSE_INSTRUCTOR. So it is written... so it must be done. | ilios_common | train | js |
b1e27f24b0f0420c6aafe2a046d52188d1c5db5f | diff --git a/src/PackageManager.php b/src/PackageManager.php
index <HASH>..<HASH> 100644
--- a/src/PackageManager.php
+++ b/src/PackageManager.php
@@ -207,6 +207,21 @@ abstract class PackageManager
}
/**
+ * Returns if the package manager has nonempty dependency list.
+ * @return bool
+ */
+ ... | optimized to run package manager only if it has dependencies | hiqdev_composer-asset-plugin | train | php,php |
3b691eb510eca3aa599a1c18b4b950278a2600a2 | diff --git a/django_extensions/management/commands/shell_plus.py b/django_extensions/management/commands/shell_plus.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/shell_plus.py
+++ b/django_extensions/management/commands/shell_plus.py
@@ -83,6 +83,8 @@ class Command(NoArgsCommand):
... | check that the model is actually belonging to the app while importing | django-extensions_django-extensions | train | py |
8d41ea5bfd53508160ee852bcb2f6676efa22b0a | diff --git a/fbchat/_client.py b/fbchat/_client.py
index <HASH>..<HASH> 100644
--- a/fbchat/_client.py
+++ b/fbchat/_client.py
@@ -944,8 +944,8 @@ class Client(object):
"""
image_id = str(image_id)
data = {"photo_id": str(image_id)}
- j = self._get(
- "/mercury/attachments/p... | Use POST in Client.fetchImageUrl
Reduces the amount of different request methods we're using.
Not really sure whether this is actually the best option:
- Each request includes `fb_dtsg` and such, so using POST everywhere might be the more secure option?
- But at the same time, the request is more opaque, and harder t... | carpedm20_fbchat | train | py |
9ada2cb76707558dc70a4b034ff4461b5434574e | diff --git a/tensorlayer/layers.py b/tensorlayer/layers.py
index <HASH>..<HASH> 100644
--- a/tensorlayer/layers.py
+++ b/tensorlayer/layers.py
@@ -1924,7 +1924,7 @@ class BatchNormLayer(Layer):
axis = list(range(len(x_shape) - 1))
## 1. beta, gamma
- if tf.__version__ > '0.12' and... | [layers] batch norm for tf <I> | tensorlayer_tensorlayer | train | py |
698c9e2dbdbc35aed588b58f080afbdbfa0c3c04 | diff --git a/src/transformers/generation_tf_utils.py b/src/transformers/generation_tf_utils.py
index <HASH>..<HASH> 100644
--- a/src/transformers/generation_tf_utils.py
+++ b/src/transformers/generation_tf_utils.py
@@ -551,7 +551,7 @@ class TFGenerationMixin:
# unfinished_sents is set to zero if eos in... | Fix typo in comment (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
0d4758cacd7ad1b29da1caeaa22a4b957f07782d | diff --git a/mstate/relation.go b/mstate/relation.go
index <HASH>..<HASH> 100644
--- a/mstate/relation.go
+++ b/mstate/relation.go
@@ -136,12 +136,14 @@ func (r *Relation) ensureLife(life Life) error {
return nil
}
-// Kill makes sure the lifecycle of the relation is at least Dying.
+// Kill sets the relation life... | mstate: better Kill/Die doc | juju_juju | train | go |
973b11acb12638c80152e8cb431b7ce5cd32f46e | diff --git a/amcrest/amcrest.py b/amcrest/amcrest.py
index <HASH>..<HASH> 100644
--- a/amcrest/amcrest.py
+++ b/amcrest/amcrest.py
@@ -34,7 +34,6 @@ class AmcrestCamera(object):
except:
raise
- #data = json.dumps(resp.content.decode('utf-8'))
data = resp.content.decode('utf-8')
... | amcrest: Remove commented code
If we need it back, git log will help.
For now, make pep8 happy. | tchellomello_python-amcrest | train | py |
48d4031ce37afe98ed5aa0cf047b45507bbf97b6 | diff --git a/salt/modules/freebsdpkg.py b/salt/modules/freebsdpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/freebsdpkg.py
+++ b/salt/modules/freebsdpkg.py
@@ -1,4 +1,4 @@
-f'''
+'''
Package support for FreeBSD
''' | spare char snuck into freebsdpkg.py | saltstack_salt | train | py |
c09188ece3268c7b7d5b47d69f80981b2c517d3d | diff --git a/app/models/article.rb b/app/models/article.rb
index <HASH>..<HASH> 100644
--- a/app/models/article.rb
+++ b/app/models/article.rb
@@ -221,7 +221,7 @@ class Article < Content
urls = Array.new
html.gsub(/<a\s+[^>]*>/) do |tag|
if(tag =~ /\bhref=(["']?)([^ >"]+)\1/)
- urls.push($2)
+ ... | Strip all Ping URLs immediately. | publify_publify | train | rb |
ceeab8656af4f78f5e23f269c518935cb3bdf6ca | diff --git a/lib/plugins.js b/lib/plugins.js
index <HASH>..<HASH> 100644
--- a/lib/plugins.js
+++ b/lib/plugins.js
@@ -25,8 +25,14 @@ exports._all = function() {
var config = contents && JSON.parse(contents) || {};
var order = _.union(config.plugins, ['nvm', 'n']);
return order.reduce(function(array, name) {
-... | Loading installed plugins. | wbyoung_avn | train | js |
2db2c32e7025df9bf561e28c5303f7ae5f1bc3b1 | diff --git a/lib/jekyll_figure.rb b/lib/jekyll_figure.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll_figure.rb
+++ b/lib/jekyll_figure.rb
@@ -57,7 +57,7 @@ module Jekyll
"<figure id='figure-#{@@fig_num}'>" +
"<a href='#{img_src}'><img src='#{img_src}' alt='#{caption}'></a>"... | Wrap downloads in brackets instead of parens | lmullen_jekyll_figure | train | rb |
dc2225cb2221b18394b628d2461c40ffa6e58582 | diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -563,7 +563,8 @@ class Instrument(object):
# Create string for other parts Instrument instantiation
out_str = "".join(["pysat.Instrument(platform='", self.pla... | BUG: added tag to Instrument repr
Added a 'tag' output to the Instrument `__repr__`. | rstoneback_pysat | train | py |
5d439816d84a35ff11095cfbcb490714f2644aa5 | diff --git a/src/modrewrite.js b/src/modrewrite.js
index <HASH>..<HASH> 100644
--- a/src/modrewrite.js
+++ b/src/modrewrite.js
@@ -10,9 +10,9 @@ module.exports = function(rules) {
rules = (rules || []).map(function(rule) {
var parts = rule.replace(/\s+|\t+/g, ' ').split(' ');
- var flags = '';
- if(/\[(... | Fixed flag regex to not be too ambitious | tinganho_connect-modrewrite | train | js |
777743cb5da7f481337e49a7282a300c4fcd6bfd | diff --git a/page.js b/page.js
index <HASH>..<HASH> 100644
--- a/page.js
+++ b/page.js
@@ -34,7 +34,9 @@ Query.prototype.page = function (options, callback) {
.skip(options.start)
.limit(options.count)
.execFind(function (err, results) {
- if (err) { return callback(err); }
+ if (err) {
+ return c... | unit tests for analytic model
minor code-refactoring due to the change of device group id on mongo db. added unit tests for analytic model. | PlayNetwork_mongoose-middleware | train | js |
c56e4e395220dcb3977792f4d50cd3d004601648 | diff --git a/host-controller/src/main/java/org/jboss/as/host/controller/operations/HttpManagementAddHandler.java b/host-controller/src/main/java/org/jboss/as/host/controller/operations/HttpManagementAddHandler.java
index <HASH>..<HASH> 100644
--- a/host-controller/src/main/java/org/jboss/as/host/controller/operations/H... | WFCORE-<I>: Show error message when accessing http management console of a slave host controller | wildfly_wildfly-core | train | java |
562e4a93e24014e3eed7ccf07eba48d04fb78cf8 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -59,7 +59,9 @@ module.exports = function (grunt) {
templateOptions: {
template: require('grunt-template-jasmine-nml'),
templateOptions: {
-... | Fixed pathmap for test runner template | michbuett_pro-singulis | train | js |
b27b00a200f907bd048447b8ab762d8f3b101edc | diff --git a/lib/discordrb/api/channel.rb b/lib/discordrb/api/channel.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/api/channel.rb
+++ b/lib/discordrb/api/channel.rb
@@ -78,7 +78,7 @@ module Discordrb::API::Channel
)
rescue RestClient::BadRequest => e
parsed = JSON.parse(e.response.body)
- raise Di... | Update MessageLength Error to reflect API change | meew0_discordrb | train | rb |
e112e98e64e9ad5862ed0aa2419a2f717fcf6cfd | diff --git a/examples/metric_streaming.py b/examples/metric_streaming.py
index <HASH>..<HASH> 100644
--- a/examples/metric_streaming.py
+++ b/examples/metric_streaming.py
@@ -27,10 +27,10 @@ from config_loader import try_load_from_file
from hpOneView.oneview_client import OneViewClient
config = {
- "ip": "172.16... | Edited Metric Streaming example config | HewlettPackard_python-hpOneView | train | py |
5fc6347f7515b87bc35684398b0808afbb7dc87b | diff --git a/PyKCS11/__init__.py b/PyKCS11/__init__.py
index <HASH>..<HASH> 100644
--- a/PyKCS11/__init__.py
+++ b/PyKCS11/__init__.py
@@ -695,7 +695,7 @@ class Session(object):
"""
C_Login
- @param pin: the user's PIN
+ @param pin: the user's PIN or None for CKF_PROTECTED_AUTHENTICATI... | C_Login(): use pin=None to use the pinpad | LudovicRousseau_PyKCS11 | train | py |
61abd50b98de4cd8f6024d77154a0326d16f1db5 | diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py
index <HASH>..<HASH> 100755
--- a/src/transformers/trainer.py
+++ b/src/transformers/trainer.py
@@ -543,7 +543,7 @@ class Trainer:
self.args.output_dir = checkpoint_dir
output_dir = os.path.join(self.args.output_dir, f"{PRE... | Remove use of deprected method in Trainer HP search (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
ce847304b709d4a5a115b01eb97da4f21f54ae59 | diff --git a/simulator/src/test/java/com/hazelcast/simulator/worker/performance/WorkerPerformanceMonitorTest.java b/simulator/src/test/java/com/hazelcast/simulator/worker/performance/WorkerPerformanceMonitorTest.java
index <HASH>..<HASH> 100644
--- a/simulator/src/test/java/com/hazelcast/simulator/worker/performance/Wo... | Fixed racy test in WorkerPerformanceMonitorTest. | hazelcast_hazelcast-simulator | train | java |
76f2d3bb0c92ef7b9107ed27d0403282f54469f8 | diff --git a/src/Leevel/Log/Manager.php b/src/Leevel/Log/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Log/Manager.php
+++ b/src/Leevel/Log/Manager.php
@@ -58,10 +58,10 @@ class Manager extends Managers
*
* @return \Leevel\Log\File
*/
- protected function makeConnectFile(array $options =... | refactor(log): manager connect only support string | hunzhiwange_framework | train | php |
c1d69d93a9cfb98fba0b61758ecb2c04e75d2830 | diff --git a/js/angular/components/modal/modal.js b/js/angular/components/modal/modal.js
index <HASH>..<HASH> 100644
--- a/js/angular/components/modal/modal.js
+++ b/js/angular/components/modal/modal.js
@@ -2,7 +2,10 @@
'use strict';
angular.module('foundation.modal', ['foundation.core'])
- .directive('zfMod... | ModalFactory prototype start | zurb_foundation-apps | train | js |
a14f8ddc3d0151e1638386d769a8e2978ad2c6a3 | diff --git a/Classes/Command/InstallCommandController.php b/Classes/Command/InstallCommandController.php
index <HASH>..<HASH> 100644
--- a/Classes/Command/InstallCommandController.php
+++ b/Classes/Command/InstallCommandController.php
@@ -90,13 +90,13 @@ class InstallCommandController extends CommandController {
} ... | [BUGFIX] Unregister packages before removing the folders | TYPO3-Console_TYPO3-Console | train | php |
b0ea9b41a2fa43f1eae2c83dbc20c42728830322 | diff --git a/ResultSet/ResultSet.php b/ResultSet/ResultSet.php
index <HASH>..<HASH> 100644
--- a/ResultSet/ResultSet.php
+++ b/ResultSet/ResultSet.php
@@ -132,7 +132,7 @@ class ResultSet extends AbstractResultSet
*/
public function current()
{
- $data = (array) $this->zfResultSet->current();
+ ... | Updated resultset to allow retrieval as ArrayObject | belgattitude_soluble-flexstore | train | php |
7af7b72e15517e46853d041735d1421bff362e6f | diff --git a/PyFunceble/cli/__init__.py b/PyFunceble/cli/__init__.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/cli/__init__.py
+++ b/PyFunceble/cli/__init__.py
@@ -369,10 +369,10 @@ def tool(): # pragma: no cover pylint: disable=too-many-branches,too-many-state
dns_control_group.add_argument(
... | 1. Draft rewrite
As @funilrys was a little to fast for me to re-read my suggestions in this [merge](<URL>) , I'll submit some better here :smile: :laughing: | funilrys_PyFunceble | train | py |
9ef37ab2ff671b5cfd5aa78699cbf891dc112899 | diff --git a/spec/fabrication/syntax/make_spec.rb b/spec/fabrication/syntax/make_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/fabrication/syntax/make_spec.rb
+++ b/spec/fabrication/syntax/make_spec.rb
@@ -1,4 +1,5 @@
require 'spec_helper'
+require 'fabrication/syntax/make'
describe Fabrication::Syntax::Make do
... | Include make syntax support in the spec that uses it | paulelliott_fabrication | train | rb,rb |
96cca664377390ce14899f9f4c8964fe8752640b | diff --git a/test/StoragelessSessionTest/Session/DataTest.php b/test/StoragelessSessionTest/Session/DataTest.php
index <HASH>..<HASH> 100644
--- a/test/StoragelessSessionTest/Session/DataTest.php
+++ b/test/StoragelessSessionTest/Session/DataTest.php
@@ -42,4 +42,13 @@ final class DataTest extends PHPUnit_Framework_Tes... | Container is not empty when data is set to it | psr7-sessions_storageless | train | php |
df9936a785e34c898ffd065f17697a0035cf310c | diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py
index <HASH>..<HASH> 100644
--- a/kubespawner/spawner.py
+++ b/kubespawner/spawner.py
@@ -404,7 +404,7 @@ class KubeSpawner(Spawner):
@gen.coroutine
def start(self):
pvc_data = get_pvc_info(self.pvc_name)
- if pvc_data is not None:
+... | Fixed error in if statment for checking if pvc already exists. | jupyterhub_kubespawner | train | py |
cf6352cc0bb8876f7669369034646953025a8ee0 | diff --git a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java
+++ b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java
@@ -1... | A getter for waitAfterScroll | fhoeben_hsac-fitnesse-fixtures | train | java |
5a5ba4add4166fc1ecd06faf85a25db6e352ce61 | diff --git a/src/LouisLam/CRUD/SlimLouisCRUD.php b/src/LouisLam/CRUD/SlimLouisCRUD.php
index <HASH>..<HASH> 100644
--- a/src/LouisLam/CRUD/SlimLouisCRUD.php
+++ b/src/LouisLam/CRUD/SlimLouisCRUD.php
@@ -75,6 +75,7 @@ class SlimLouisCRUD extends LouisCRUD
// Upload function
$this->slim->post("/louislam... | CKEditor image upload path = full path | louislam_louislam-crud | train | php |
6b83e94e4fa3f71d3c86ad1519f0b1b2485cd5b1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -49,6 +49,11 @@ function createTorrent (input, opts, cb) {
if (opts.name === undefined)
throw new Error('Option \'name\' is required when input is not a file')
+ // If there's just one file, allow the name to ... | If there's just one file, allow the name to be set by `opts.name` | webtorrent_create-torrent | train | js |
ff2dcc1cd3b36cb16d04f64be08169e0943c3776 | diff --git a/packages/react-look/modules/api/LookRoot.js b/packages/react-look/modules/api/LookRoot.js
index <HASH>..<HASH> 100644
--- a/packages/react-look/modules/api/LookRoot.js
+++ b/packages/react-look/modules/api/LookRoot.js
@@ -55,17 +55,15 @@ class StyleComponent {
this.el = this.createStyleElement(styleEl... | Only add <style> to <head> when it doesn't exist
Fixes #<I> | rofrischmann_react-look | train | js |
ed75d232c089ee48fe3f1884614fec826d00ff8c | diff --git a/phpsec.class.php b/phpsec.class.php
index <HASH>..<HASH> 100644
--- a/phpsec.class.php
+++ b/phpsec.class.php
@@ -589,6 +589,34 @@ class phpsec {
self::$cik = $_COOKIE[PHPSEC_CIKCOOKIE];
}
}
+
+ /**
+ * Encrypt data returning a serialized array safe for storage in a database
+ * or file... | Prpeared the encrypt / decrypt functions. | phpsec_phpSec | train | php |
350dcd9fffad654f1d05c404c80a9975578f2ef6 | diff --git a/graylog2-server/src/main/java/org/graylog2/shared/security/tls/DefaultTLSProtocolProvider.java b/graylog2-server/src/main/java/org/graylog2/shared/security/tls/DefaultTLSProtocolProvider.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/shared/security/tls/DefaultTLSProtocol... | Fix JDK TLS protocol detection (#<I>)
Previously we only checked the protocols that are enabled by default
instead of checking all available.
This allows the usage of TLS<I> in OpenJDK 8u<I> and later. | Graylog2_graylog2-server | train | java |
18b5acb671d4d3a7772c1d6064aa3c1c3b952682 | diff --git a/lib/expertsender_api/api.rb b/lib/expertsender_api/api.rb
index <HASH>..<HASH> 100644
--- a/lib/expertsender_api/api.rb
+++ b/lib/expertsender_api/api.rb
@@ -21,6 +21,10 @@ module ExpertSenderApi
@subscribers_url = api_endpoint.concat('/Api/Subscribers') unless api_endpoint.nil?
end
+ def ... | Method for adding one subscriber to list | kinderly_expertsender_api | train | rb |
bf30f8f545c54c75cdac2b40a4658916fd04c4d1 | diff --git a/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/DefaultBuildCoordinator.java b/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/DefaultBuildCoordinator.java
index <HASH>..<HASH> 100644
--- a/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/DefaultBuildCoo... | Fire status update event after the status is set. | project-ncl_pnc | train | java |
d63d5ae1ceba4591f2837dff7a9e102dff7e89f2 | diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go
index <HASH>..<HASH> 100644
--- a/modules/caddyhttp/server.go
+++ b/modules/caddyhttp/server.go
@@ -116,7 +116,7 @@ type Server struct {
// Enables H2C ("Cleartext HTTP/2" or "H2 over TCP") support,
// which will serve HTTP/2 over plaintext TC... | caddyhttp: improve grammar of comment for AllowH2C (#<I>) | mholt_caddy | train | go |
1506fd2d5e2408baec3ab15ba0030000fcbc3836 | diff --git a/bcbio/utils.py b/bcbio/utils.py
index <HASH>..<HASH> 100644
--- a/bcbio/utils.py
+++ b/bcbio/utils.py
@@ -7,13 +7,14 @@ import contextlib
import itertools
import functools
import ConfigParser
-
try:
import multiprocessing
from multiprocessing.pool import IMapIterator
except ImportError:
... | Utility function for providing more specific configurations on top of global | bcbio_bcbio-nextgen | train | py |
d5c769c5d84d53fa29989070ec5a87a30b5734b7 | diff --git a/h2o-core/src/main/java/water/api/RequestServer.java b/h2o-core/src/main/java/water/api/RequestServer.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/api/RequestServer.java
+++ b/h2o-core/src/main/java/water/api/RequestServer.java
@@ -166,7 +166,7 @@ public class RequestServer extends Na... | PUBDEV-<I> Changed the URL pattern when downloading a POJO to not consider the '.java' extension as part of the model key. | h2oai_h2o-3 | train | java |
b064d0476dfffae81560655836841a2113172002 | diff --git a/src/Storefront/Theme/Subscriber/FirstRunWizardSubscriber.php b/src/Storefront/Theme/Subscriber/FirstRunWizardSubscriber.php
index <HASH>..<HASH> 100644
--- a/src/Storefront/Theme/Subscriber/FirstRunWizardSubscriber.php
+++ b/src/Storefront/Theme/Subscriber/FirstRunWizardSubscriber.php
@@ -72,7 +72,7 @@ cla... | NTR - Fix theme refresh after frw | shopware_platform | train | php |
8cb720717d659b165e5ff95b80bf58dc5bf39abb | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -16,6 +16,9 @@ module.exports = function (options, pkg, argv, env, cb) {
if (env.BUILD_LEADER === 'YES') {
if (env.BUILD_AGGREGATE_STATUS !== 'others_succeeded') return cb(new SRError('Not publishing ... | feat(condition-travis): tries to delete travis_after_all artifacts | semantic-release_condition-travis | train | js |
1e4feaa7aa96444f2da551af861e8de5ea87c857 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRoughConstants.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRoughConstants.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRoughConstants.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRoughCons... | FindRoughConstants: extends BytecodeScanningDetector (OpcodeStack was
not actually used) | spotbugs_spotbugs | train | java |
fb79137d8ad95907b206097781715efe205683c0 | diff --git a/lib/Widget/Validator/EntityExists.php b/lib/Widget/Validator/EntityExists.php
index <HASH>..<HASH> 100644
--- a/lib/Widget/Validator/EntityExists.php
+++ b/lib/Widget/Validator/EntityExists.php
@@ -11,6 +11,8 @@ namespace Widget\Validator;
/**
* @package Widget
* @author Twin Huang <twinh@y... | added property annotation for entityExists validator | twinh_wei | train | php |
e5e7c74f1dd04dcdc23d73e07875c4da8a4e413a | diff --git a/cli/Valet/Brew.php b/cli/Valet/Brew.php
index <HASH>..<HASH> 100644
--- a/cli/Valet/Brew.php
+++ b/cli/Valet/Brew.php
@@ -259,7 +259,7 @@ class Brew
*/
function restartLinkedPhp()
{
- $this->restartService($this->linkedPhp());
+ $this->restartService($this->getLinkedPhpFormula... | use formula to restart php instead of version | laravel_valet | train | php,php |
0872fb669906bfa1526daeb48f81562a254a930a | diff --git a/lib/handlebars/base.js b/lib/handlebars/base.js
index <HASH>..<HASH> 100644
--- a/lib/handlebars/base.js
+++ b/lib/handlebars/base.js
@@ -88,7 +88,7 @@ Handlebars.registerHelper('unless', function(context, options) {
});
Handlebars.registerHelper('with', function(context, options) {
- return options.f... | block helper "with" should check for empty context | wycats_handlebars.js | train | js |
45e8403d23661c84696575b746885306f52f1786 | diff --git a/lib/Fhaculty/Graph/Algorithm/Weight.php b/lib/Fhaculty/Graph/Algorithm/Weight.php
index <HASH>..<HASH> 100644
--- a/lib/Fhaculty/Graph/Algorithm/Weight.php
+++ b/lib/Fhaculty/Graph/Algorithm/Weight.php
@@ -67,6 +67,8 @@ class Weight extends Base
* minimum weight is often needed because some algorithm... | Fix getting minimum weight for graphs which include null weights | graphp_graph | train | php |
27dbf2a096f109939f59472f24c92991db6d2f82 | diff --git a/test/build/streams.js b/test/build/streams.js
index <HASH>..<HASH> 100644
--- a/test/build/streams.js
+++ b/test/build/streams.js
@@ -26,7 +26,7 @@ describe( 'yielding streams', function() {
var res = yield (0, _fs.createReadStream)( 'index.js' );
(0, _assert2.default)( Buffer.i... | test: Fix streams test for old node builds | novacrazy_bluebird-co | train | js,js |
40410f0485c8566f1c43868cde16e68d5f57eb80 | diff --git a/bika/lims/content/artemplate.py b/bika/lims/content/artemplate.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/artemplate.py
+++ b/bika/lims/content/artemplate.py
@@ -169,6 +169,8 @@ class ARTemplate(BaseContent):
"""
uid = None
if value:
+ # Strip "Lab: " from ... | Strip "Lab: " prefix from lab sample points in AR Template add | senaite_senaite.core | train | py |
39d71bca26ca313533b5496a37e537fe94a70c2c | diff --git a/src/python/pants/backend/python/rules/coverage.py b/src/python/pants/backend/python/rules/coverage.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/python/rules/coverage.py
+++ b/src/python/pants/backend/python/rules/coverage.py
@@ -170,7 +170,7 @@ async def create_coverage_config(coverage: Co... | Properly fix setting a custom coverage config file (#<I>)
Fixes the attempted fix in <URL> | pantsbuild_pants | train | py |
a86cb5ec784e16efbb7175884d5b5a3b3b2ce41f | diff --git a/lib/spidr/agent.rb b/lib/spidr/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/spidr/agent.rb
+++ b/lib/spidr/agent.rb
@@ -591,7 +591,7 @@ module Spidr
header_cookies = @cookies.cookies_for(url.host)
headers['Cookie'] = header_cookies unless header_cookies.empty?
- yield(ses... | Style.
* Technically yield() is faster than block.call, but I'm stubbern with
my coding style. Perhaps in the near future I'll covert all
block.call statements to yield. | postmodern_spidr | train | rb |
83eea551176043c2a1fd54e5cacbdc5ac8659da6 | diff --git a/src/Jobs/Job.php b/src/Jobs/Job.php
index <HASH>..<HASH> 100644
--- a/src/Jobs/Job.php
+++ b/src/Jobs/Job.php
@@ -7,7 +7,6 @@ use Illuminate\Bus\Queueable;
use Illuminate\Support\Facades\App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Queue\InteractsWithQueue;
-use Illuminate\Contracts\Queue... | Just use $this->job directly. | orchestral_tenanti | train | php |
bd4db1c8d9bf2bf7f755e6837a05997c97ad389b | diff --git a/lib/ui/src/components/layout/desktop.js b/lib/ui/src/components/layout/desktop.js
index <HASH>..<HASH> 100644
--- a/lib/ui/src/components/layout/desktop.js
+++ b/lib/ui/src/components/layout/desktop.js
@@ -10,8 +10,8 @@ const Desktop = React.memo(({ Panel, Nav, Preview, Notifications, pages, options
<... | Adjust position of Notifications UI on desktop and mobile | storybooks_storybook | train | js,js |
4c6acd333aafdabde2b1ae712b7383adc2a051b6 | diff --git a/spec/dependency_spy_spec.rb b/spec/dependency_spy_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/dependency_spy_spec.rb
+++ b/spec/dependency_spy_spec.rb
@@ -34,7 +34,7 @@ RSpec.describe DependencySpy::API do
manifests = detected_manifests.select { |m| m.platform == 'npm' }
dependencies... | Update tests with last db fixes | rtfpessoa_dependency_spy | train | rb |
79a20d38608ff28ca464b439b79a2624ee024864 | diff --git a/lib/tools/system-calls.js b/lib/tools/system-calls.js
index <HASH>..<HASH> 100644
--- a/lib/tools/system-calls.js
+++ b/lib/tools/system-calls.js
@@ -9,6 +9,8 @@ import { SubProcess } from 'teen_process';
let systemCallMethods = {};
+const DEFAULT_ADB_EXEC_TIMEOUT = 20000; // in milliseconds
+
system... | mark adb exec timeout a constant variable | appium_appium-adb | train | js |
023da7990ba450b69479259670fde7024e54d5c7 | diff --git a/test/amazon/ecs_test.rb b/test/amazon/ecs_test.rb
index <HASH>..<HASH> 100644
--- a/test/amazon/ecs_test.rb
+++ b/test/amazon/ecs_test.rb
@@ -7,8 +7,8 @@ require File.expand_path(File.dirname(__FILE__) + '/../../lib/amazon/ecs')
class Amazon::EcsTest < Test::Unit::TestCase
- AWS_ACCESS_KEY_ID = ''
- ... | Read AWS_ACCESS_KEY_ID and AWS_SECRET_KEY from environment variables when running test | jugend_amazon-ecs | train | rb |
2295c837d0ff9bd428df75a2dbbe8b9b8fe65898 | diff --git a/lib/debug/ProfilingPlugin.js b/lib/debug/ProfilingPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/debug/ProfilingPlugin.js
+++ b/lib/debug/ProfilingPlugin.js
@@ -416,5 +416,6 @@ const makeNewProfiledTapFn = (
}
};
+// @ts-ignore https://github.com/Microsoft/TypeScript/issues/15647
module.exports = Pr... | Add ts-ignore comments with link to issue
<URL> | webpack_webpack | train | js,js |
d376098afabf936349ee0154dd4c59b1c7381ac3 | diff --git a/mux.go b/mux.go
index <HASH>..<HASH> 100644
--- a/mux.go
+++ b/mux.go
@@ -114,6 +114,7 @@ func (m *Mux) NotFound(handler http.Handler) {
// Register the new route in the router with the provided method and handler
func (m *Mux) register(method string, path string, handler http.Handler) *Route {
r := Ne... | Added method string to route struct | go-zoo_bone | train | go |
667b4e691efa662893cc5d9b84d10faf4142b362 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -60,7 +60,7 @@ const scale = function (value) {
* @param {Boolean} clamp Enables or disables clamping
* @return {Function} Scale function
*/
-function polylinearScale (domain, range, clamp) {
+const polylinea... | Assigning exported function to a variable | elcontraption_polylinear-scale | train | js |
b9313e76f4fed26b2fbfc953e6c3e3de6976616d | diff --git a/src/ol/source/tileimage.js b/src/ol/source/tileimage.js
index <HASH>..<HASH> 100644
--- a/src/ol/source/tileimage.js
+++ b/src/ol/source/tileimage.js
@@ -241,7 +241,7 @@ ol.source.TileImage.prototype.getTile = function(z, x, y, pixelRatio, projection
!this.getProjection() ||
!projection ||
... | Always use source projection loading image tiles
Use the defined source projection despite it being equivalent to the rendering projection to enable using the specified alias code name instead of the code provided by the renderer's projection object. For example: The server only knows the name "EPSG:<I>", which is an a... | openlayers_openlayers | train | js |
8949757013b5b902bcf846636ddae293842bea53 | diff --git a/src/main/java/com/github/davidmoten/rx/UnsubscribeDetector.java b/src/main/java/com/github/davidmoten/rx/UnsubscribeDetector.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/davidmoten/rx/UnsubscribeDetector.java
+++ b/src/main/java/com/github/davidmoten/rx/UnsubscribeDetector.java
@@ -31,8 ... | fix order in UnsubscribeDetector | davidmoten_rxjava-extras | train | java |
0707064954c8724e095e2ba2799a288ae99e2793 | diff --git a/tests/test_memcached_storage.py b/tests/test_memcached_storage.py
index <HASH>..<HASH> 100644
--- a/tests/test_memcached_storage.py
+++ b/tests/test_memcached_storage.py
@@ -181,7 +181,7 @@ async def test_create_new_session_if_key_doesnt_exists_in_memcached(
assert resp.status == 200
-async def te... | fix tests type (#<I>) | aio-libs_aiohttp-session | train | py,py |
364a0e2404f8191017a74a4278a8428b7ed74597 | diff --git a/test/bootstrap.php b/test/bootstrap.php
index <HASH>..<HASH> 100644
--- a/test/bootstrap.php
+++ b/test/bootstrap.php
@@ -2,7 +2,7 @@
require __DIR__ . '/../vendor/autoload.php';
-// Throw an exception when E_ERRORS occur to better debug the problem
+// Throw an exception when E_ERRORs occur to better... | Allow disable warning to exception casts in tests | scrivo_highlight.php | train | php |
e6afce17a96f269a5b8a1ec65fdba9fea0bef31a | diff --git a/engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventListenerDelegate.java b/engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventListenerDelegate.java
index <HASH>..<HASH> 100644
--- a/engine/src/main/java/org/camunda/bpm/application/impl/event/P... | chore(engine): add InvocationContext to ProcessApplicationEventListenerDelegate
related to #CAM-<I> | camunda_camunda-bpm-platform | train | java |
3b8ed4388e5f30a9dc7cbc4d647c193a3e60ade2 | diff --git a/lib/active_scaffold/finder.rb b/lib/active_scaffold/finder.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/finder.rb
+++ b/lib/active_scaffold/finder.rb
@@ -255,7 +255,7 @@ module ActiveScaffold
segments = []
conditions.each do |condition|
unless condition.blank?
- ... | sanitize_sql is protected in Rails 3 | activescaffold_active_scaffold | train | rb |
bb3c54557e3243eaa90afdb2184a413ebb433577 | diff --git a/structr-ui/src/main/java/org/structr/media/ConverterProcess.java b/structr-ui/src/main/java/org/structr/media/ConverterProcess.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/media/ConverterProcess.java
+++ b/structr-ui/src/main/java/org/structr/media/ConverterProcess.java
@@ -7... | Added experimental flag to avconv command line in VideoFile when converting videos. | structr_structr | train | java |
953e0d1d8cadcbeb51fcad58097eb358d095d7dc | diff --git a/trezorlib/tests/device_tests/test_msg_ethereum_getpublickey.py b/trezorlib/tests/device_tests/test_msg_ethereum_getpublickey.py
index <HASH>..<HASH> 100644
--- a/trezorlib/tests/device_tests/test_msg_ethereum_getpublickey.py
+++ b/trezorlib/tests/device_tests/test_msg_ethereum_getpublickey.py
@@ -20,9 +20,... | device_tests: xfail EthereumGetPublicKey on TT (feature is postponed) | trezor_python-trezor | train | py |
032e0998dc98048cda7ff153a29183b5ac79a6f7 | diff --git a/system/HTTP/DownloadResponse.php b/system/HTTP/DownloadResponse.php
index <HASH>..<HASH> 100644
--- a/system/HTTP/DownloadResponse.php
+++ b/system/HTTP/DownloadResponse.php
@@ -412,7 +412,7 @@ class DownloadResponse extends Message implements ResponseInterface
}
/**
- * output donload file text.
+ ... | Typo fix: donload -> download | codeigniter4_CodeIgniter4 | train | php |
9342492e1445c47b02db392ba8430ecb9218fc47 | diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/helper.rb
+++ b/activerecord/test/cases/helper.rb
@@ -2,7 +2,7 @@ require File.expand_path('../../../../load_paths', __FILE__)
require 'config'
-require 'test/unit'
+require ... | require test/unit and sort test order | rails_rails | train | rb,rb |
de010ce3d07c761d8861c912e25fc37ad82b0d62 | diff --git a/django-nova/src/django_nova/views/admin.py b/django-nova/src/django_nova/views/admin.py
index <HASH>..<HASH> 100644
--- a/django-nova/src/django_nova/views/admin.py
+++ b/django-nova/src/django_nova/views/admin.py
@@ -122,11 +122,11 @@ def project_view(request, project_name):
... | adding modify_project to adminclient and fixing typo which caused error on form post | openstack_horizon | train | py |
3988f39c063ca43c6e92f2cf3f6a6e7d27b1868e | diff --git a/pyrtl/wire.py b/pyrtl/wire.py
index <HASH>..<HASH> 100644
--- a/pyrtl/wire.py
+++ b/pyrtl/wire.py
@@ -48,8 +48,8 @@ class WireVector(object):
self.block.add_wirevector(self)
def __str__(self):
- inv_wirevector_map = {value: key for key, value
- in self.block.wirevector_map... | trying to fix this pep8 problem | UCSBarchlab_PyRTL | train | py |
bda0f512825499f20e81d4c906a4621bad80811a | diff --git a/consumer/async_test.go b/consumer/async_test.go
index <HASH>..<HASH> 100644
--- a/consumer/async_test.go
+++ b/consumer/async_test.go
@@ -375,6 +375,26 @@ var _ = Describe("Consumer (Asynchronous)", func() {
Eventually(cnsmr.Closed).Should(BeFalse())
})
+ Context("with multiple connections", func... | Add a test that fails with the solution from #<I>
I wanted to see a more robust solution for #<I>, but I thought it might be helpful to provide a
failing test to show why I want something a bit more robust. | cloudfoundry_noaa | train | go |
341854ab14d8e6c4699c1d444c10fbfca26afe92 | diff --git a/app/Console/Commands/ControllerMakeCommand.php b/app/Console/Commands/ControllerMakeCommand.php
index <HASH>..<HASH> 100644
--- a/app/Console/Commands/ControllerMakeCommand.php
+++ b/app/Console/Commands/ControllerMakeCommand.php
@@ -4,6 +4,7 @@ namespace Atnic\LaravelGenerator\Console\Commands;
use Ill... | Override getOptions, to support L<I> | Atnic_laravel-generator | train | php |
933054682bcecfa6e2ebc1e94fde668d9f969034 | diff --git a/lib/service.js b/lib/service.js
index <HASH>..<HASH> 100644
--- a/lib/service.js
+++ b/lib/service.js
@@ -2,7 +2,7 @@
//- service.js ~~
// ~~ (c) SRW, 24 Nov 2012
-// ~~ last updated 10 Aug 2014
+// ... | Log JSON to a single line for better integration with other programs | qmachine_qm-nodejs | train | js |
b72cd59e61edd31ce8c25ecb3d0966775c49e6f2 | diff --git a/src/main/java/org/dynjs/ir/operands/FloatNumber.java b/src/main/java/org/dynjs/ir/operands/FloatNumber.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dynjs/ir/operands/FloatNumber.java
+++ b/src/main/java/org/dynjs/ir/operands/FloatNumber.java
@@ -17,4 +17,9 @@ public class FloatNumber extends Op... | add more toString() for operands | dynjs_dynjs | train | java,java |
50466c05b68e930a38bf6431106958ee9e819b7c | diff --git a/datajoint/base_relation.py b/datajoint/base_relation.py
index <HASH>..<HASH> 100644
--- a/datajoint/base_relation.py
+++ b/datajoint/base_relation.py
@@ -495,19 +495,11 @@ class Log(BaseRelation):
Instances are callable. Calls log the time and identifying information along with the event.
"""
... | removed copy constructor from dj.Log -- it's unnecessary. | datajoint_datajoint-python | train | py |
83e4e08ba99ff45ed7c3bdd179a423a761bbe1af | diff --git a/salt/engines/libvirt_events.py b/salt/engines/libvirt_events.py
index <HASH>..<HASH> 100644
--- a/salt/engines/libvirt_events.py
+++ b/salt/engines/libvirt_events.py
@@ -63,17 +63,11 @@ A polkit rule like the following one will allow `salt` user to connect to libvir
.. versionadded:: 2019.2.0
"""
-
im... | Drop Py2 and six on salt/engines/libvirt_events.py | saltstack_salt | train | py |
2664b57c9956f5a2ca44dd20f0c6ae227545baba | diff --git a/test/unit/version.test.js b/test/unit/version.test.js
index <HASH>..<HASH> 100644
--- a/test/unit/version.test.js
+++ b/test/unit/version.test.js
@@ -1,11 +1,11 @@
-var expect = require('chai').expect;
+var expect = require('chai').expect,
+ runtimePackage = require('../../package.json'),
+ sandboxPa... | Moved require statements to the top in version.test.js | postmanlabs_postman-runtime | train | js |
8c144710f7e95fddd329ff61c2def9568047e98d | diff --git a/modules/cms/src/helpers/BlockHelper.php b/modules/cms/src/helpers/BlockHelper.php
index <HASH>..<HASH> 100644
--- a/modules/cms/src/helpers/BlockHelper.php
+++ b/modules/cms/src/helpers/BlockHelper.php
@@ -139,6 +139,19 @@ class BlockHelper
* ```php
* 'file' => BlockHelper::FileUpload($this->ge... | Update BlockHelper.php (#<I>)
* Update BlockHelper.php
* Update BlockHelper.php | luyadev_luya | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.