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 |
|---|---|---|---|---|---|
30f256e2c1dd66fd1f1af5730bfb7c21fb6d1b8a | diff --git a/src/feat/agents/host/host_agent.py b/src/feat/agents/host/host_agent.py
index <HASH>..<HASH> 100644
--- a/src/feat/agents/host/host_agent.py
+++ b/src/feat/agents/host/host_agent.py
@@ -57,6 +57,16 @@ class HostedPartner(agent.BasePartner):
def on_restarted(self, agent):
agent.call_next(age... | Host agent raises and resolves alerts when static agents are dying/getting resterted. | f3at_feat | train | py |
df8b5978044d3c83c97240d0505f2006bdad6051 | diff --git a/eiostream.js b/eiostream.js
index <HASH>..<HASH> 100644
--- a/eiostream.js
+++ b/eiostream.js
@@ -14,8 +14,7 @@ function EngineStream(socket) {
// forwarding write
stream.write = socket.write.bind(socket)
- // circular of request so it can be parsed for cookies, etc.
- stream.req = socket... | Update eiostream.js | Raynos_engine.io-stream | train | js |
1d62936b016d46dc7b791c09794ca42a24343afb | diff --git a/lib/fastlane/actions/ensure_xcode_version.rb b/lib/fastlane/actions/ensure_xcode_version.rb
index <HASH>..<HASH> 100644
--- a/lib/fastlane/actions/ensure_xcode_version.rb
+++ b/lib/fastlane/actions/ensure_xcode_version.rb
@@ -12,7 +12,7 @@ module Fastlane
versions_match = selected_version == "Xc... | Mention xcode_select as a way to resolve the mismatch of Xcode versions | fastlane_fastlane | train | rb |
72abcd4e9156fe38f562d68182b501065948b10f | diff --git a/app_namespace/tests/tests.py b/app_namespace/tests/tests.py
index <HASH>..<HASH> 100644
--- a/app_namespace/tests/tests.py
+++ b/app_namespace/tests/tests.py
@@ -132,3 +132,27 @@ class LoaderTestCase(TestCase):
self.assertTrue(mark in template_namespace)
self.assertTrue(mark_title in te... | Add a test for being sure about the {{ block.super }} behavior | Fantomas42_django-app-namespace-template-loader | train | py |
133f1048e88d6147a0c78b2e38af60a007a1fe0a | diff --git a/msk/repo_action.py b/msk/repo_action.py
index <HASH>..<HASH> 100644
--- a/msk/repo_action.py
+++ b/msk/repo_action.py
@@ -81,7 +81,7 @@ class SkillData(GlobalContext):
default_branch = self.repo_git.symbolic_ref('refs/remotes/origin/HEAD')
self.repo_git.reset(default_branch, hard=True)
... | Change skill branch naming convention to not use slashes
If a branch called either `add` or `upgrade` exists, it will cause errors | MycroftAI_mycroft-skills-kit | train | py |
b3db9dfd249996b4d6d89c401e5f85a052fd594c | diff --git a/mapclassify/classifiers.py b/mapclassify/classifiers.py
index <HASH>..<HASH> 100644
--- a/mapclassify/classifiers.py
+++ b/mapclassify/classifiers.py
@@ -2355,7 +2355,6 @@ class UserDefined(MapClassifier):
legend=legend,
legend_kwds=legend_kwds,
classification_kwds={"... | BUG: fmt belongs to legend_kwds, no longer stand-alone | pysal_mapclassify | train | py |
99b06f8bce894796b27045c4aea626c62290d78d | diff --git a/msgpong_test.go b/msgpong_test.go
index <HASH>..<HASH> 100644
--- a/msgpong_test.go
+++ b/msgpong_test.go
@@ -99,7 +99,7 @@ func TestPongBIP0031(t *testing.T) {
readmsg := btcwire.NewMsgPong(0)
err = readmsg.BtcDecode(&buf, pver)
if err == nil {
- t.Errorf("decode of MsgPong succeeded when it should... | Add format specifier in pong test error output.
The error message did not have a format specifier even though it was
passing an argument to show. Found by go vet. | btcsuite_btcd | train | go |
da6bdd317295863645bd8cdbd0d4a0f8f3d3c06b | diff --git a/lib/sprockets/sass_cache_store.rb b/lib/sprockets/sass_cache_store.rb
index <HASH>..<HASH> 100644
--- a/lib/sprockets/sass_cache_store.rb
+++ b/lib/sprockets/sass_cache_store.rb
@@ -9,11 +9,11 @@ module Sprockets
end
def _store(key, version, sha, contents)
- environment.cache_set(key, {:ve... | Prepend sass/ to key | rails_sprockets | train | rb |
db684ad0dd7f568ec263ebbb081b3959713fff51 | diff --git a/tools/run_tests/xds_k8s_test_driver/tests/affinity_test.py b/tools/run_tests/xds_k8s_test_driver/tests/affinity_test.py
index <HASH>..<HASH> 100644
--- a/tools/run_tests/xds_k8s_test_driver/tests/affinity_test.py
+++ b/tools/run_tests/xds_k8s_test_driver/tests/affinity_test.py
@@ -45,10 +45,14 @@ class Aff... | [xDS interop] Fix the affinity test support range (#<I>) | grpc_grpc | train | py |
aa5002df2f70f07a8016028eab3eab5b561c987e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ with open('README') as f:
setup(
name='Flask-Table',
packages=['flask_table'],
- version='0.3.0',
+ version='0.3.1',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
... | Bump to version <I> | plumdog_flask_table | train | py |
7c05a16bb84c6093422fa344f7dfad4a77a66441 | diff --git a/publishable/config/voyager_dummy.php b/publishable/config/voyager_dummy.php
index <HASH>..<HASH> 100644
--- a/publishable/config/voyager_dummy.php
+++ b/publishable/config/voyager_dummy.php
@@ -42,7 +42,7 @@ return [
*/
'models' => [
- //'namespace' => 'App\\',
+ //'namespace' => ... | Update voyager_dummy.php (#<I>)
default model route while creating bread | the-control-group_voyager | train | php |
5678abdc4eb4c220dc0e613a640328654b7dcc1a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,7 @@ files = [
'pyontutils/ilx_utils.py',
'pyontutils/namespaces.py',
'pyontutils/necromancy.py',
+ 'pyontutils/neurons/__init__.py',
'pyontutils/neurons/core.py',
'pyontutils/neurons/lang... | setup.py added missing __init__.py for neurons | tgbugs_pyontutils | train | py |
665c6f6112d13def7d48b04f20e03d05c940d124 | diff --git a/src/test/java/com/stripe/StripeTest.java b/src/test/java/com/stripe/StripeTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/stripe/StripeTest.java
+++ b/src/test/java/com/stripe/StripeTest.java
@@ -1286,16 +1286,6 @@ public class StripeTest {
assertEquals(transfers.size(), 1);
}
- @Test(... | Delete TransferReversalCreate test
The test asserted stripe functionality, but the tests should assert
that the bindings interact with Stripe correctly. | stripe_stripe-java | train | java |
ddf4673ce8b89dc7a207c015ec9a3c9ec047290b | diff --git a/tests/inttests/lib/KushkiIntTest.php b/tests/inttests/lib/KushkiIntTest.php
index <HASH>..<HASH> 100644
--- a/tests/inttests/lib/KushkiIntTest.php
+++ b/tests/inttests/lib/KushkiIntTest.php
@@ -144,7 +144,7 @@ class KushkiIntTest extends \PHPUnit_Framework_TestCase {
$token = $tokenTransaction->ge... | [KV-<I>] Refactor | Kushki_kushki-php | train | php |
2aa163828a743a377f9aac8a079e3ca987f6a775 | diff --git a/yfinance/utils.py b/yfinance/utils.py
index <HASH>..<HASH> 100644
--- a/yfinance/utils.py
+++ b/yfinance/utils.py
@@ -44,7 +44,8 @@ def empty_df(index=[]):
def get_json(url, proxy=None, session=None):
session = session or _requests
- html = session.get(url=url, proxies=proxy).text
+ headers ... | Add headers to session
Add headers to session | ranaroussi_fix-yahoo-finance | train | py |
4a36e9159a99778674d71679198abf6e90173126 | diff --git a/plenum/test/waits.py b/plenum/test/waits.py
index <HASH>..<HASH> 100644
--- a/plenum/test/waits.py
+++ b/plenum/test/waits.py
@@ -76,7 +76,7 @@ def expectedPoolInterconnectionTime(nodeCount):
# TODO check actual state
# multiply by 2 because we need to re-create connections which can be done on a... | [INDY-<I>] Radical increase checkConnected timeout | hyperledger_indy-plenum | train | py |
f0a0222328287a00d4ecf1a3d655e118f3ddc0e2 | diff --git a/src/models/Core.js b/src/models/Core.js
index <HASH>..<HASH> 100644
--- a/src/models/Core.js
+++ b/src/models/Core.js
@@ -141,6 +141,10 @@ export class Parameter extends Immutable.Record({
}
_inferType(type) {
+ if (!type) {
+ return null
+ }
+
if (type.match(/... | fixed a minor bug on type infer | luckymarmot_API-Flow | train | js |
cb2970396378a51e16f9deff78cf1699219dfb15 | diff --git a/src/editor/index.js b/src/editor/index.js
index <HASH>..<HASH> 100644
--- a/src/editor/index.js
+++ b/src/editor/index.js
@@ -312,6 +312,22 @@ module.exports = config => {
},
/**
+ * Get stylable entity from the selected component.
+ * If you select the component without classes the ent... | Add getSelectedToStyle to the editor API | artf_grapesjs | train | js |
e0eb6d4b18b62aeb757b24edb6ed966a8f72a889 | diff --git a/src/main/java/com/klarna/hiverunner/builder/HiveShellBase.java b/src/main/java/com/klarna/hiverunner/builder/HiveShellBase.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/klarna/hiverunner/builder/HiveShellBase.java
+++ b/src/main/java/com/klarna/hiverunner/builder/HiveShellBase.java
@@ -337,8 +33... | Better error message when resource file is outside of test dir | klarna_HiveRunner | train | java |
4d26589f6d37d9fe6e7a65eedaf19e4fbf9bcded | diff --git a/src/k8s/statefulSet.js b/src/k8s/statefulSet.js
index <HASH>..<HASH> 100644
--- a/src/k8s/statefulSet.js
+++ b/src/k8s/statefulSet.js
@@ -66,7 +66,7 @@ function checkStatefulSet (client, namespace, name, outcome, resolve, wait) {
}, ms)
}
-function createStatefulSet (client, statefulSet) {
+function ... | fix: added deletes param to createStatefulSet | npm-wharf_hikaru | train | js |
4d16c443de74793bf413f08d427dce6ac3ec9461 | diff --git a/isort/finders.py b/isort/finders.py
index <HASH>..<HASH> 100644
--- a/isort/finders.py
+++ b/isort/finders.py
@@ -265,7 +265,7 @@ class ReqsBaseFinder(BaseFinder):
Flask-RESTFul -> flask_restful
"""
if self.mapping:
- name = self.mapping.get(name, name)
+ ... | Bug fix for #<I>
Bug fix for improper handling of packages with - (dash) in name | timothycrosley_isort | train | py |
9d13ac00849d88faa2ac5c64d23c90cc40055a76 | diff --git a/core/server/master/src/main/java/alluxio/master/file/FileSystemMasterClientRestServiceHandler.java b/core/server/master/src/main/java/alluxio/master/file/FileSystemMasterClientRestServiceHandler.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/file/FileSystemMasterClie... | replace anonymous type with lambda (#<I>) | Alluxio_alluxio | train | java |
7308cdc89dd3eec2949a976ff1f32c07051e5733 | diff --git a/basic_auth.go b/basic_auth.go
index <HASH>..<HASH> 100644
--- a/basic_auth.go
+++ b/basic_auth.go
@@ -53,9 +53,9 @@ func (b *basicAuth) authenticate(r *http.Request) bool {
return false
}
- // In simple mode, prevent authentication with empty credentials if User or
- // Password is not set.
- if b.o... | [bugfix] Allow empty passwords again. Reverts part of <I>e9a2b<I>. | goji_httpauth | train | go |
0af8c2574ece0228d545cdf0ea865169d0b13757 | diff --git a/syntax/tokens.go b/syntax/tokens.go
index <HASH>..<HASH> 100644
--- a/syntax/tokens.go
+++ b/syntax/tokens.go
@@ -318,8 +318,8 @@ const (
TsGtr
AndTest = BinTestOperator(andAnd)
OrTest = BinTestOperator(orOr)
- // TODO(mvdan): == is a pattern match, not a comparison; use a
- // more appropriate na... | syntax: TsEqual TODO for <I> also affects TsNequal | mvdan_sh | train | go |
de269f969bfd64b78f7c2ec67655db65962f0a63 | diff --git a/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php b/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php
+++ b/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php
@@ -404,6 +404,10... | Void return types shouldn’t magically become null ones | vimeo_psalm | train | php |
8475487c0651678ca550168386c796f33bf43f07 | diff --git a/interfaces/HtmlRequestInterface.php b/interfaces/HtmlRequestInterface.php
index <HASH>..<HASH> 100644
--- a/interfaces/HtmlRequestInterface.php
+++ b/interfaces/HtmlRequestInterface.php
@@ -93,7 +93,7 @@ interface HtmlRequestInterface extends LogAwareObjectInterface{
* Redirect to generated internal ... | Fix request intereface and controller to allow module select on page redirect. | mpf-soft_mpf | train | php,php |
872f79947f58bbff422d1eac102696fa84ab8116 | diff --git a/lib/nrser/core_ext/hash.rb b/lib/nrser/core_ext/hash.rb
index <HASH>..<HASH> 100644
--- a/lib/nrser/core_ext/hash.rb
+++ b/lib/nrser/core_ext/hash.rb
@@ -19,6 +19,9 @@ class Hash
def str_keys! *args, █ stringify_keys! *args, █ end
def str_keys *args, █ stringify_keys *args, &bl... | Fix {Hash#to_options} method alias (ActiveSupport's fault this time) | nrser_nrser.rb | train | rb |
6188e0c231c4c7435f5a54e017b9ac95b53791fc | diff --git a/EventListener/DisallowedExtensionValidationListener.php b/EventListener/DisallowedExtensionValidationListener.php
index <HASH>..<HASH> 100644
--- a/EventListener/DisallowedExtensionValidationListener.php
+++ b/EventListener/DisallowedExtensionValidationListener.php
@@ -18,4 +18,4 @@ class DisallowedExtensi... | Added newline in ValidationListener. | 1up-lab_OneupUploaderBundle | train | php |
5eebf02e5f05b92a9fc52decff3e0ebea19f0011 | diff --git a/server/server_test.go b/server/server_test.go
index <HASH>..<HASH> 100644
--- a/server/server_test.go
+++ b/server/server_test.go
@@ -104,7 +104,8 @@ func RunServerWithConfig(configFile string) (srv *Server, opts *Options) {
func TestVersionMatchesTag(t *testing.T) {
tag := os.Getenv("TRAVIS_TAG")
- i... | Fixed TestVersionMatchesTag test
When no tag was set, os.Getenv("TRAVIS_TAG") would return empty string.
Travis now set TRAVIS_TAG to `''`. So check for both. | nats-io_gnatsd | train | go |
10c23ff69de2dd1a5b074ac0dc841aa3b01c06a6 | diff --git a/src/main/java/com/lazerycode/jmeter/testrunner/TestManager.java b/src/main/java/com/lazerycode/jmeter/testrunner/TestManager.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/lazerycode/jmeter/testrunner/TestManager.java
+++ b/src/main/java/com/lazerycode/jmeter/testrunner/TestManager.java
@@ -94,6 ... | Remove date_time suffix from path when generating html report
Add logging
This closes #<I> | jmeter-maven-plugin_jmeter-maven-plugin | train | java |
a60729c901d53dc3c1688706c4c22904d720cbb6 | diff --git a/lib/gcli/ui/inputter.js b/lib/gcli/ui/inputter.js
index <HASH>..<HASH> 100644
--- a/lib/gcli/ui/inputter.js
+++ b/lib/gcli/ui/inputter.js
@@ -355,6 +355,9 @@ Inputter.prototype.onKeyUp = function(ev) {
this._caretChange = Caret.TO_ARG_END;
var inputState = this.getInputState();
this._p... | Bug <I> (updown): Prevent completion error
this._choice == null is valid, but not when we want to complete
the default choice. | joewalker_gcli | train | js |
010b17db40e1dd35e81d2126028e922ee16c7d01 | diff --git a/src/Pool.php b/src/Pool.php
index <HASH>..<HASH> 100644
--- a/src/Pool.php
+++ b/src/Pool.php
@@ -52,9 +52,9 @@ class Pool implements FutureInterface
private $isRealized = false;
/**
- * The option values for 'before', 'after', and 'error' can be a callable,
- * an associative array con... | Corrects event docs for Pool constructor.
* Changes "after" to "complete"
* Adds missing "end" event | guzzle_guzzle | train | php |
84b7af363f7f1b297322ef7b47055f11d9b353c3 | diff --git a/regions/shapes/__init__.py b/regions/shapes/__init__.py
index <HASH>..<HASH> 100644
--- a/regions/shapes/__init__.py
+++ b/regions/shapes/__init__.py
@@ -3,5 +3,6 @@
"""
from .circle import *
from .ellipse import *
+from .point import *
from .polygon import *
from .rectangle import * | Add missing include for point.py | astropy_regions | train | py |
9207a5005d7248e04f40e3e63dbef40a7faa66ab | diff --git a/src/share/classes/com/sun/source/util/AbstractTypeProcessor.java b/src/share/classes/com/sun/source/util/AbstractTypeProcessor.java
index <HASH>..<HASH> 100644
--- a/src/share/classes/com/sun/source/util/AbstractTypeProcessor.java
+++ b/src/share/classes/com/sun/source/util/AbstractTypeProcessor.java
@@ -2... | Undo the previous commit. The reportDeferredDiagnostics is actually necessary to report the additional errors found by the type checkers. | wmdietl_jsr308-langtools | train | java |
c4c1f4b05badc7f6006ce39306b14c0a532a05e4 | diff --git a/src/Parser.php b/src/Parser.php
index <HASH>..<HASH> 100644
--- a/src/Parser.php
+++ b/src/Parser.php
@@ -60,6 +60,10 @@ class Parser {
{
case 'curl':
$this->c->get($url);
+ if(isset($this->c->error_code) && !empty($this->c->error_code))... | get returns fail when response code diferent from <I> | iWedmak_laravel-5-extra-curl | train | php |
fae4c7ca7d9a60c873ca0e608918df345cecce2f | diff --git a/python/sparknlp/embeddings.py b/python/sparknlp/embeddings.py
index <HASH>..<HASH> 100644
--- a/python/sparknlp/embeddings.py
+++ b/python/sparknlp/embeddings.py
@@ -7,6 +7,12 @@ import threading
import time
import sparknlp.pretrained as _pretrained
+
+# DONT REMOVE THIS IMPORT
+from sparknlp.annotator... | [skip travis] import word embedding models as embeddings for jvm compatibility | JohnSnowLabs_spark-nlp | train | py |
6e5e934131c1b61b00e8acfd73c81af5f8e64b3d | diff --git a/scapy.py b/scapy.py
index <HASH>..<HASH> 100755
--- a/scapy.py
+++ b/scapy.py
@@ -3611,10 +3611,15 @@ class Packet(Gen):
return f[attr]
return self.payload.getfieldval(attr)
+ def getfield_and_val(self, attr):
+ for f in self.fields, self.overloaded_fields, self.de... | Fixed bug in Packet.__getattr__()
The search for the field value was done recursively while the
field object search was only local. This prevented i2h() to be called
when the asked field was not in the first layer. | secdev_scapy | train | py |
3dede7b4f3fd3ab603402693e2b559cc93e70a4d | diff --git a/packages/material-ui/src/Table/Table.js b/packages/material-ui/src/Table/Table.js
index <HASH>..<HASH> 100644
--- a/packages/material-ui/src/Table/Table.js
+++ b/packages/material-ui/src/Table/Table.js
@@ -10,7 +10,6 @@ export const styles = theme => ({
width: '100%',
borderCollapse: 'collapse',
... | [Table] Remove overflow (#<I>)
The overflow hidden style is preventing the sticky position to work.
I can't think of a good motivation for having this style by default.
Let's remove it. | mui-org_material-ui | train | js |
9b242005fa7fa99c7d0432921de93a83d22c9e34 | diff --git a/src/array/concatMap.js b/src/array/concatMap.js
index <HASH>..<HASH> 100644
--- a/src/array/concatMap.js
+++ b/src/array/concatMap.js
@@ -11,6 +11,7 @@ import curry from '../function/curry'
* @return {Array} A newly created array of the concated values
* @example
* concatMap(x => [x, x], [1, 2, 3]) /... | Upgraded concatMaps tests/docs | dhershman1_kyanite | train | js,js |
771015b5c7bb6d45855540da625105be31128619 | diff --git a/spec/ruby-lint/file_scanner_spec.rb b/spec/ruby-lint/file_scanner_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ruby-lint/file_scanner_spec.rb
+++ b/spec/ruby-lint/file_scanner_spec.rb
@@ -23,6 +23,12 @@ describe RubyLint::FileScanner do
scanner.directories.include?(app).should == false
end
+ e... | Test for globbing files in a single directory. | YorickPeterse_ruby-lint | train | rb |
ff0e02480c151a0781a42398db12ac682070323f | diff --git a/src/PatternLab/InstallerUtil.php b/src/PatternLab/InstallerUtil.php
index <HASH>..<HASH> 100644
--- a/src/PatternLab/InstallerUtil.php
+++ b/src/PatternLab/InstallerUtil.php
@@ -503,9 +503,13 @@ class InstallerUtil {
// see if the package has a listener
self::scanForListener($pathBase);
- //... | handle setting needed config options based upon package type | pattern-lab_patternlab-php-core | train | php |
33dd8d52288907335c438a19322470f0022f56c6 | diff --git a/cohorts/plot.py b/cohorts/plot.py
index <HASH>..<HASH> 100644
--- a/cohorts/plot.py
+++ b/cohorts/plot.py
@@ -18,7 +18,7 @@ from scipy.stats import mannwhitneyu, fisher_exact
import seaborn as sb
import pandas as pd
-def stripboxplot(x, y, data):
+def stripboxplot(x, y, data, **kwargs):
"""
O... | Allow for custom jitter/etc. in stripboxplot | hammerlab_cohorts | train | py |
871316c9677a0ad2b85e965e8f9987025a69bf49 | diff --git a/pyghmi/util/webclient.py b/pyghmi/util/webclient.py
index <HASH>..<HASH> 100644
--- a/pyghmi/util/webclient.py
+++ b/pyghmi/util/webclient.py
@@ -162,7 +162,7 @@ class SecureHTTPConnection(httplib.HTTPConnection, object):
def grab_json_response(self, url, data=None, referer=None, headers=None):
... | Correct mistake with refactoring JSON calls
The arguments were incorrect.
Change-Id: If<I>c6d<I>b<I>bf<I>b<I>a<I>ad<I>de<I> | openstack_pyghmi | train | py |
58fda24be8ff472d7eb78b910b3587594ed46064 | diff --git a/ChildNode/replaceWith.js b/ChildNode/replaceWith.js
index <HASH>..<HASH> 100644
--- a/ChildNode/replaceWith.js
+++ b/ChildNode/replaceWith.js
@@ -15,7 +15,7 @@ function ReplaceWith(Ele) {
}
parent.insertBefore(this.previousSibling, arguments[i]);
}
- if (firstIsNode) parent.replaceChild(this,... | Fixes issue with replaceWith, it was replacing in reverse | subhaze_fbow | train | js |
5b3e971c5ce3b3f9f546c2546bc93ef4c6d651b5 | diff --git a/src/structures/Message.js b/src/structures/Message.js
index <HASH>..<HASH> 100644
--- a/src/structures/Message.js
+++ b/src/structures/Message.js
@@ -159,7 +159,7 @@ class Message {
const clone = Util.cloneObject(this);
this._edits.unshift(clone);
- this.editedTimestamp = data.edited_timesta... | Message.editedTimestamp should be a number (#<I>) | discordjs_discord.js | train | js |
b30fcc26a2a31514b6dedebb82c8fb8765aba7bc | diff --git a/devices/titan_products.js b/devices/titan_products.js
index <HASH>..<HASH> 100644
--- a/devices/titan_products.js
+++ b/devices/titan_products.js
@@ -10,11 +10,12 @@ module.exports = [
vendor: 'Titan Products',
description: 'Room CO2, humidity & temperature sensor',
fromZigbee: [... | Fix TPZRCO2HT-Z3 battery reporting (#<I>)
Koenkk/zigbee2mqtt#<I> | Koenkk_zigbee-shepherd-converters | train | js |
46dd393ad15524de0ba15557e7cd3c4d691a3491 | diff --git a/cid.go b/cid.go
index <HASH>..<HASH> 100644
--- a/cid.go
+++ b/cid.go
@@ -404,10 +404,15 @@ func (c *Cid) UnmarshalJSON(b []byte) error {
obj := struct {
CidTarget string `json:"/"`
}{}
- err := json.Unmarshal(b, &obj)
+ objptr := &obj
+ err := json.Unmarshal(b, &objptr)
if err != nil {
return ... | Handel undefined Cid is JSON representation. | ipfs_go-cid | train | go |
05db172b88ccc5302f5d465680f80c06093891bd | diff --git a/fixsvgstack.jquery.js b/fixsvgstack.jquery.js
index <HASH>..<HASH> 100644
--- a/fixsvgstack.jquery.js
+++ b/fixsvgstack.jquery.js
@@ -6,7 +6,7 @@
// The fix is for webkit browsers only
// [https://bugs.webkit.org/show_bug.cgi?id=91790]()
- if(!$.browser.webkit) {
+ if(!(/WebKit/.test(navigator.us... | compatibility with jQuery <I>
$.browser was removed from jquery in <I> - as this
fix is for webkit browsers only there is no chance
to use $.support | preciousforever_SVG-Stacker | train | js |
360a8058d9713b1ec14ccb93b5834bcf8d3ea6d9 | diff --git a/core-bundle/src/Resources/contao/classes/Backend.php b/core-bundle/src/Resources/contao/classes/Backend.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/classes/Backend.php
+++ b/core-bundle/src/Resources/contao/classes/Backend.php
@@ -347,7 +347,11 @@ abstract class Backend extends C... | Fix another E_WARNING issue (see #<I>)
Description
-----------
We should maybe keep this PR open and see what else we find. 😄
Commits
-------
a<I>af<I> Fix another E_WARNING issue | contao_contao | train | php |
28ae55a3ce1ada4e1bcac57357bc69244887121d | diff --git a/spec/unit/sql/postgres_spec.rb b/spec/unit/sql/postgres_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/sql/postgres_spec.rb
+++ b/spec/unit/sql/postgres_spec.rb
@@ -19,7 +19,7 @@ describe "Postgres Extensions" do
end
it 'should create a table object from the name' do
- table = mock('SQLite3... | Get rid of SQLite3 mentions int the postgres specs | datamapper_dm-migrations | train | rb |
468cc57297754b3ae6bc52d959e55b868612eb11 | diff --git a/admin/cli/install.php b/admin/cli/install.php
index <HASH>..<HASH> 100644
--- a/admin/cli/install.php
+++ b/admin/cli/install.php
@@ -164,6 +164,7 @@ require_once($CFG->libdir.'/moodlelib.php');
require_once($CFG->libdir.'/deprecatedlib.php');
require_once($CFG->libdir.'/adminlib.php');
require_once($CF... | MDL-<I> cache: Added missing include and fixed old lang manager setting | moodle_moodle | train | php,php |
5cf03d3ad8cb5aad5df1462a52c1d8d595a323c2 | diff --git a/tests/test.attachments.js b/tests/test.attachments.js
index <HASH>..<HASH> 100644
--- a/tests/test.attachments.js
+++ b/tests/test.attachments.js
@@ -119,11 +119,10 @@ adapters.map(function(adapter) {
});
asyncTest("Testing with invalid docs", function() {
- var invalidDoc = {'_id': '_invalid', ... | (#<I>) - Use Blobs for attachments: update Test
Update test saving an attachment together with an invalid doc.
Now receives error. | pouchdb_pouchdb | train | js |
ecf2371ebbe2d7c603a3216244d4ebf1272a0b51 | diff --git a/lib/custom/tests/MW/View/Engine/TwigTest.php b/lib/custom/tests/MW/View/Engine/TwigTest.php
index <HASH>..<HASH> 100644
--- a/lib/custom/tests/MW/View/Engine/TwigTest.php
+++ b/lib/custom/tests/MW/View/Engine/TwigTest.php
@@ -21,7 +21,7 @@ class TwigTest extends \PHPUnit\Framework\TestCase
}
$this-... | Adapt tests for new Twig versions | aimeos_ai-twig | train | php |
d09a87b814bdce2b2b913fd1a01be69a8b12532c | diff --git a/src/drivers/webextension/js/inject.js b/src/drivers/webextension/js/inject.js
index <HASH>..<HASH> 100644
--- a/src/drivers/webextension/js/inject.js
+++ b/src/drivers/webextension/js/inject.js
@@ -19,7 +19,7 @@
.split('.')
.reduce(
(value, method) =>
- ... | Fix error in console need to check type before call hasOwnProperty
Look at this <URL> | AliasIO_Wappalyzer | train | js |
eb6a93c0f0195dbb81f1e6931b3244c72d9ce376 | diff --git a/python/ray/tests/py3_test.py b/python/ray/tests/py3_test.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/py3_test.py
+++ b/python/ray/tests/py3_test.py
@@ -96,6 +96,7 @@ def test_args_intertwined(ray_start_regular):
test_function(local_method, actor_method)
ray.get(remote_test_function.remo... | [hotfix] fix lint (#<I>) | ray-project_ray | train | py,py |
cf037c302a380f97110b027f47d4a13a3c80b8a2 | diff --git a/src/runtime.js b/src/runtime.js
index <HASH>..<HASH> 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -207,7 +207,7 @@ function suppressValue(val, autoescape) {
val = (val !== undefined && val !== null) ? val : '';
if(autoescape && !(val instanceof SafeString)) {
- val = lib.escape(''... | use toString instead of shorthand casting | mozilla_nunjucks | train | js |
824f9755fbea855a4c0a5d34bdb28dcd0213bffc | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/inject/MoreThanOneScopeAnnotationOnClass.java b/core/src/main/java/com/google/errorprone/bugpatterns/inject/MoreThanOneScopeAnnotationOnClass.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/inject/MoreThanOneSc... | Allow MoreThanOneScopeAnnotationOnClass as an alternate name to
address InjectMoreThanOneScopeAnnotationOnClass.
MOE_MIGRATED_REVID=<I> | google_error-prone | train | java |
2b201eb0e370f9948beb165799ff7741e8e9dd24 | diff --git a/kie-api/src/main/java/org/kie/api/KieServices.java b/kie-api/src/main/java/org/kie/api/KieServices.java
index <HASH>..<HASH> 100644
--- a/kie-api/src/main/java/org/kie/api/KieServices.java
+++ b/kie-api/src/main/java/org/kie/api/KieServices.java
@@ -27,6 +27,7 @@ import org.kie.api.io.KieResources;
import... | allow to create a new Environment from KieServices | kiegroup_drools | train | java |
b16dfde9086acdc40d59920de32ff52f525a29fa | diff --git a/tooling/vis/cfg-visualization.js b/tooling/vis/cfg-visualization.js
index <HASH>..<HASH> 100644
--- a/tooling/vis/cfg-visualization.js
+++ b/tooling/vis/cfg-visualization.js
@@ -40,10 +40,10 @@
network.destroy();
}
- var visGraph = generateNodesAndEdges(controlFlowGra... | Resolves a timing problem with destroying the visjs network graph | mariusschulz_styx | train | js |
e572482ce6b269e603d2ddd4d06998eda9b5a16d | diff --git a/test/reader_test.rb b/test/reader_test.rb
index <HASH>..<HASH> 100644
--- a/test/reader_test.rb
+++ b/test/reader_test.rb
@@ -303,7 +303,7 @@ class ReaderTest < Minitest::Test
def test_read_after_close
reader = Reader.new(fixture("valid/valid_mono_pcm_16_44100.wav"))
- buffer = reader.read(102... | Avoiding unnecessary variable assignment to avoid warning | jstrait_wavefile | train | rb |
fc956e084a967ddb451707a595dcdcfbc4de3f78 | diff --git a/python/ray/serve/utils.py b/python/ray/serve/utils.py
index <HASH>..<HASH> 100644
--- a/python/ray/serve/utils.py
+++ b/python/ray/serve/utils.py
@@ -399,7 +399,10 @@ class MockImportedBackend:
} for _ in range(len(batch))]
async def other_method(self, batch):
- return [await request... | [Hotfix] Lint (#<I>) | ray-project_ray | train | py |
30a288d5a07789b443bd84f198d8baefb5bbda67 | diff --git a/fft/fft.go b/fft/fft.go
index <HASH>..<HASH> 100644
--- a/fft/fft.go
+++ b/fft/fft.go
@@ -195,9 +195,11 @@ func radix2FFT(x []complex128) []complex128 {
for n := 0; n < blocks; n++ {
nb := n * stage
for j := 0; j < s_2; j++ {
- w_n := r[j+nb+s_2] * factors[blocks*j]
- t[j+nb] = r[j+nb... | Only compute indexes once - small speedup | mjibson_go-dsp | train | go |
02a27cfc3586d682e1031d1b4f9464e12440464e | diff --git a/molgenis-omx-protocolviewer/src/main/webapp/js/protocolviewer.js b/molgenis-omx-protocolviewer/src/main/webapp/js/protocolviewer.js
index <HASH>..<HASH> 100644
--- a/molgenis-omx-protocolviewer/src/main/webapp/js/protocolviewer.js
+++ b/molgenis-omx-protocolviewer/src/main/webapp/js/protocolviewer.js
@@ -1... | only show spinner for recursive (=expensive) server calls | molgenis_molgenis | train | js |
f1140031de2e57db2471d6cc0ef544c154012953 | diff --git a/src/Serializer/SerializerAbstract.php b/src/Serializer/SerializerAbstract.php
index <HASH>..<HASH> 100644
--- a/src/Serializer/SerializerAbstract.php
+++ b/src/Serializer/SerializerAbstract.php
@@ -15,7 +15,7 @@ use League\Fractal\Pagination\CursorInterface;
use League\Fractal\Pagination\PaginatorInterfac... | Added Serializer interface to SerializerAbstract | thephpleague_fractal | train | php |
777520eb2638b007749760a69e23eaa885c5c251 | diff --git a/symphony/content/content.systemextensions.php b/symphony/content/content.systemextensions.php
index <HASH>..<HASH> 100755
--- a/symphony/content/content.systemextensions.php
+++ b/symphony/content/content.systemextensions.php
@@ -41,6 +41,8 @@
$td3 = Widget::TableData($about['version']);
... | Commas are no longer wrapped in a span element (see previous commit) | symphonycms_symphony-2 | train | php |
3ce9295f31e7c0afb2a1b29e9c6742fb8fafadac | diff --git a/arcana/repository/xnat.py b/arcana/repository/xnat.py
index <HASH>..<HASH> 100644
--- a/arcana/repository/xnat.py
+++ b/arcana/repository/xnat.py
@@ -70,6 +70,7 @@ class XnatRepo(Repository):
DERIVED_FROM_FIELD = '__derived_from__'
PROV_SCAN = '__prov__'
PROV_RESOURCE = 'PROV'
+ depth = 2... | added fixed depth of XNAT repository as 2 | MonashBI_arcana | train | py |
a684dd010a6470aba2d3137ec17b2128af2e249d | diff --git a/app/publisher/zip.go b/app/publisher/zip.go
index <HASH>..<HASH> 100644
--- a/app/publisher/zip.go
+++ b/app/publisher/zip.go
@@ -265,11 +265,12 @@ func (zh *zipHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
http.Error(rw, "Server error", http.StatusInternalServerError)
return
}... | app/publisher: add zip download file times
Change-Id: I2a<I>a<I>d2a<I>ca3b<I>fbc<I>b8b<I> | perkeep_perkeep | train | go |
b44c4c28b3bd6eca3037a61c72b6b73141472d10 | diff --git a/packages/availity-workflow/scripts/start.js b/packages/availity-workflow/scripts/start.js
index <HASH>..<HASH> 100644
--- a/packages/availity-workflow/scripts/start.js
+++ b/packages/availity-workflow/scripts/start.js
@@ -139,15 +139,9 @@ function web() {
const percent = Math.round(percentage * 10... | fix the percentage calculation for webpack progress | Availity_availity-workflow | train | js |
1f1bf3304054f630e1c460d64af51edcfa543955 | diff --git a/test/unit/lookup_test.rb b/test/unit/lookup_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/lookup_test.rb
+++ b/test/unit/lookup_test.rb
@@ -12,10 +12,10 @@ class LookupTest < GeocoderTestCase
end
def test_search_returns_empty_array_when_no_results
- silence_warnings do
- Geocoder::Loo... | Be more specific about silencing warnings. | alexreisner_geocoder | train | rb |
3dcd4d186c15a298e9e428fff3a0ae0652701adb | diff --git a/Block/MediaBlockService.php b/Block/MediaBlockService.php
index <HASH>..<HASH> 100644
--- a/Block/MediaBlockService.php
+++ b/Block/MediaBlockService.php
@@ -101,6 +101,11 @@ class MediaBlockService extends BaseBlockService
public function buildEditForm(FormMapper $formMapper, BlockInterface $block)
... | Load the media in buildform | sonata-project_SonataMediaBundle | train | php |
4481e98564181ecf1c3e110d5d578f74efc7d7fa | diff --git a/contrib/distributed_rails_event_store/postgresql_queue/lib/postgresql_queue.rb b/contrib/distributed_rails_event_store/postgresql_queue/lib/postgresql_queue.rb
index <HASH>..<HASH> 100644
--- a/contrib/distributed_rails_event_store/postgresql_queue/lib/postgresql_queue.rb
+++ b/contrib/distributed_rails_ev... | Handle a failing situation
when we were missing 1 record in "eis"
because it was in a named stream.
I think this whole solution requires some changes to properly handle
linked events.
We should get all EventInStream between after..eisid_last
instead of eisid_first..eisid_last because there can be
another IDs there f... | RailsEventStore_rails_event_store | train | rb |
f07c5d5bb9cb806147dd5f24f15a946ccbf43577 | diff --git a/tests/try_with.js b/tests/try_with.js
index <HASH>..<HASH> 100644
--- a/tests/try_with.js
+++ b/tests/try_with.js
@@ -45,4 +45,23 @@ describe('tryWith', function(){
},
function(reason){test_finished(reason ? reason : new Error('tryWith callback rejected!'));});
});
+
+ it('should immediately fail ... | Added a test case which checks whether the newly-added critical error checking in tryWith works as expected (i.e. rejects despite the strategy's decision). | rkaw92_esdf | train | js |
200d27fa65cf61e170cc5deccb69110e80dd3034 | diff --git a/src/main/java/com/codeborne/selenide/impl/AbstractSelenideElement.java b/src/main/java/com/codeborne/selenide/impl/AbstractSelenideElement.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/codeborne/selenide/impl/AbstractSelenideElement.java
+++ b/src/main/java/com/codeborne/selenide/impl/AbstractSe... | make it compilable with Java 6 | selenide_selenide | train | java |
c282aef314aa11f605b45e16dd27ae849f31d682 | diff --git a/test/helper.rb b/test/helper.rb
index <HASH>..<HASH> 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -13,7 +13,7 @@ class TestSlim < MiniTest::Unit::TestCase
end
def teardown
- String.send(:remove_method, :html_safe?) if String.method_defined?(:html_safe?)
+ String.send(:undef_method, :ht... | Undefine the method more cleanly. | slim-template_slim | train | rb |
e3c1c0c86c1d5c3e60588c2fdc2739afd81e0109 | diff --git a/src/consumer/runner.js b/src/consumer/runner.js
index <HASH>..<HASH> 100644
--- a/src/consumer/runner.js
+++ b/src/consumer/runner.js
@@ -113,6 +113,18 @@ module.exports = class Runner extends EventEmitter {
continue
}
+ if (e.type === 'UNKNOWN_MEMBER_ID') {
+ this.log... | fix: handle unknown_member_id from offsetCommit | tulios_kafkajs | train | js |
6eaaf752496aa813087888bc2eb4c81b3cb15bf2 | diff --git a/tests/test_cli.py b/tests/test_cli.py
index <HASH>..<HASH> 100755
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -68,4 +68,11 @@ def test_convert_command(from_path, to_path, from_format, to_format):
mwtabfiles_study_ids_set = set(mwf.study_id for mwf in mwtabfiles_list)
mwtabfiles_analysis_id... | Begins adding unit test for download commandline method. | MoseleyBioinformaticsLab_mwtab | train | py |
38e536e4706e77c67849a0ef71a5c924f5919b88 | diff --git a/internal/client/client.go b/internal/client/client.go
index <HASH>..<HASH> 100644
--- a/internal/client/client.go
+++ b/internal/client/client.go
@@ -2,7 +2,6 @@
package client
import (
- "fmt"
"os"
"github.com/goreleaser/goreleaser/pkg/config"
@@ -31,5 +30,5 @@ func New(ctx *context.Context) (Cl... | Fixed token required if release is disabled #<I> (#<I>) | goreleaser_goreleaser | train | go |
7b3597d1ddc5c486bf8f1c6f6dd3bc20ac2230f8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
+import os
import pypandoc
try:
@@ -9,14 +10,17 @@ except ImportError:
use_setuptools()
from setuptools import setup
-readme = pypandoc.convert_file('README.md', 'rst')
-ch... | setup.py: handle missing readme/changelog files
This is the case when running tests under tox. | packethost_packet-python | train | py |
1a79ab365194b27f24c491ca55969ab8f6af1740 | diff --git a/wurlitzer.py b/wurlitzer.py
index <HASH>..<HASH> 100644
--- a/wurlitzer.py
+++ b/wurlitzer.py
@@ -210,9 +210,9 @@ class Wurlitzer(object):
data = os.read(fd, 1024)
if not data:
# pipe closed, stop polling it
- os.clos... | closing socket descriptor after removing from array and unregistering from poller | minrk_wurlitzer | train | py |
c25373bb63881dcb5bdb6976e9edfb7a99836d6d | diff --git a/app/controllers/securities_controller.py b/app/controllers/securities_controller.py
index <HASH>..<HASH> 100644
--- a/app/controllers/securities_controller.py
+++ b/app/controllers/securities_controller.py
@@ -115,10 +115,9 @@ def __get_model_for_details(
# Profit/loss
model.profit_loss = model... | correcting the unrealized gains/loss % calc | MisterY_gnucash-portfolio | train | py |
b7f5db6be5174d0fd74d36a0b97b7518a5e67aad | diff --git a/pifpaf/drivers/gnocchi.py b/pifpaf/drivers/gnocchi.py
index <HASH>..<HASH> 100644
--- a/pifpaf/drivers/gnocchi.py
+++ b/pifpaf/drivers/gnocchi.py
@@ -87,7 +87,7 @@ url = %s""" % (self.tempdir, self.port, pg.url))
self.putenv("GNOCCHI_PORT", str(self.port))
self.putenv("URL", "gnocchi://lo... | gnocchi: fix a regression on variable names
These ones should not be prefixed. | jd_pifpaf | train | py |
fb02112a63f534b4d3bd0723b940478079bed5b8 | diff --git a/core-bundle/src/Resources/contao/drivers/DC_Table.php b/core-bundle/src/Resources/contao/drivers/DC_Table.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/drivers/DC_Table.php
+++ b/core-bundle/src/Resources/contao/drivers/DC_Table.php
@@ -4302,7 +4302,7 @@ Backend.makeParentViewSorta... | [Core] the callback is now named "panel_callback" | contao_contao | train | php |
8364e52c9d59cbc68f7b94ca5f7f6299ff174a3d | diff --git a/marabunta/parser.py b/marabunta/parser.py
index <HASH>..<HASH> 100644
--- a/marabunta/parser.py
+++ b/marabunta/parser.py
@@ -14,7 +14,7 @@ YAML_EXAMPLE = u"""
migration:
options:
# --workers=0 --stop-after-init are automatically added
- install_command: odoo.py
+ install_command: odoo
... | Update docstring to use odoo command instead of odoo.py | camptocamp_marabunta | train | py |
d43af22b2b449b74dd15c4d6ed41734baa2be33b | diff --git a/command/agent/config.go b/command/agent/config.go
index <HASH>..<HASH> 100644
--- a/command/agent/config.go
+++ b/command/agent/config.go
@@ -602,6 +602,9 @@ func (a *AdvertiseAddrs) Merge(b *AdvertiseAddrs) *AdvertiseAddrs {
if b.Serf != "" {
result.Serf = b.Serf
}
+ if b.HTTP != "" {
+ result.HTT... | Merging the value of http advertise addr if user is providing one | hashicorp_nomad | train | go |
7359360fbc7177d5e8a0653a46b8f0987d19b8cc | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,7 @@ setup(
],
license='License :: OSI Approved :: MIT License',
keywords='design-by-contract precondition postcondition validation',
- packages=find_packages(exclude=['tests']),
+ packages=find_... | Excluded all tests from package (#<I>)
The test directories tests_* are erronously included in the package. With this patch they are excluded in the package building.
Fixes #<I>. | Parquery_icontract | train | py |
3efff3311b52222b7d06bf63ce97f8a42572bc06 | diff --git a/arthur/_version.py b/arthur/_version.py
index <HASH>..<HASH> 100644
--- a/arthur/_version.py
+++ b/arthur/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.1.0"
+__version__ = "0.1.1" | Update version number to <I> | chaoss_grimoirelab-kingarthur | train | py |
2412fe641ada51fd2192b0e1cf81d8d74b9aefeb | diff --git a/tests/lib/screenshot-testing/support/diff-viewer.js b/tests/lib/screenshot-testing/support/diff-viewer.js
index <HASH>..<HASH> 100644
--- a/tests/lib/screenshot-testing/support/diff-viewer.js
+++ b/tests/lib/screenshot-testing/support/diff-viewer.js
@@ -69,7 +69,7 @@ DiffViewerGenerator.prototype.generate ... | github changed their URLs to githubusercontent.com | matomo-org_matomo | train | js |
6f58fbd4eded5dc2ac5400f23e601c7db51326db | diff --git a/fmn/lib/models.py b/fmn/lib/models.py
index <HASH>..<HASH> 100644
--- a/fmn/lib/models.py
+++ b/fmn/lib/models.py
@@ -350,7 +350,9 @@ class Preference(BASE):
batch_count = sa.Column(sa.Integer, nullable=True)
# Hold the state of start/stop commands to the irc bot and others.
- enabled = sa.C... | Disable messaging out of the box. | fedora-infra_fmn.lib | train | py |
09c63449b767c19bdc8a8ddff16002b2d118346e | diff --git a/django_extensions/management/commands/find_template.py b/django_extensions/management/commands/find_template.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/find_template.py
+++ b/django_extensions/management/commands/find_template.py
@@ -19,4 +19,4 @@ class Command(LabelCommand)... | change print into self.stdout | django-extensions_django-extensions | train | py |
3de0fc6a45a12e7db6a4ff07e262c1c11d5fb82b | diff --git a/lib/github3.js b/lib/github3.js
index <HASH>..<HASH> 100644
--- a/lib/github3.js
+++ b/lib/github3.js
@@ -235,5 +235,15 @@ github3.getForks = function (repo,name,callback) {
this._get('/repos/'+name+'/'+repo+'/forks',callback)
}
+/*
+ Repository Watchers
+ @class github3
+ @method getWatchers
+*/
... | added method/test to retrieve list of people watching a repository | edwardhotchkiss_github3 | train | js,js |
0c481071d39d32f4ef5d6098104e17854e387d8e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -107,45 +107,8 @@ function start (params = {}) {
serverClose('SIGINT')
})
- /**
- * A list of promises which listen to different
- * events in the application which need to resolved
- * until the server is ful... | Removed code after discussion with Emil, we don’t believe this is used and it is a bit strange | KTH_kth-node-server | train | js |
e2b56d0a09143bfbd54862baf603bd9c1ffdb369 | diff --git a/storage/sql/config.go b/storage/sql/config.go
index <HASH>..<HASH> 100644
--- a/storage/sql/config.go
+++ b/storage/sql/config.go
@@ -242,6 +242,10 @@ func (s *MySQL) open(logger log.Logger) (*conn, error) {
if s.Host[0] != '/' {
cfg.Net = "tcp"
cfg.Addr = s.Host
+
+ if s.Port != 0 {
+ cfg.... | fix(storage/mysql): add missing port to the address | dexidp_dex | train | go |
784dd48486fc4772ff659590edf661f3c0a87fa9 | diff --git a/Auth.php b/Auth.php
index <HASH>..<HASH> 100644
--- a/Auth.php
+++ b/Auth.php
@@ -980,6 +980,14 @@ class Auth
return $return;
}
+ $zxcvbn = new Zxcvbn();
+
+ if ($zxcvbn->passwordStrength($password)['score'] < intval($this->config->password_min_score)) {
+ ... | Added a password strength check to resetPass | PHPAuth_PHPAuth | train | php |
de73747a946b735e0ab0feb5d9f35749fd7578b2 | diff --git a/lxd/network/network.go b/lxd/network/network.go
index <HASH>..<HASH> 100644
--- a/lxd/network/network.go
+++ b/lxd/network/network.go
@@ -283,6 +283,20 @@ func (n *Network) setup(oldConfig map[string]string) error {
}
}
+ // Enable VLAN filtering for Linux bridges.
+ if n.config["bridge.driver"] != ... | lxd/network: Enable VLAN filtering for managed Linux bridges
Sets default PVID to 1. | lxc_lxd | train | go |
e81677a56b54c88e9b9d873738f3f13599917b72 | diff --git a/bigtable-client-core-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/async/BulkMutation.java b/bigtable-client-core-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/async/BulkMutation.java
index <HASH>..<HASH> 100644
--- a/bigtable-client-core-parent/bigtabl... | Increasing the staleness timeout to 7 minutes. (#<I>) | googleapis_cloud-bigtable-client | train | java |
95f9a35e1a24040772dd71cb460f008a21810e1f | diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py
index <HASH>..<HASH> 100644
--- a/salt/modules/iptables.py
+++ b/salt/modules/iptables.py
@@ -116,6 +116,20 @@ def set_policy(table='filter', chain=None, policy=None):
return out
+def save(filename):
+ '''
+ Save the current in-memory rules... | Add the ability to save rules to disk | saltstack_salt | train | py |
bae20c135c6d7634756ddbad3a8729f8dd67ebf6 | diff --git a/src/LaravelRepositoriesServiceProvider.php b/src/LaravelRepositoriesServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/LaravelRepositoriesServiceProvider.php
+++ b/src/LaravelRepositoriesServiceProvider.php
@@ -6,10 +6,19 @@ use Illuminate\Support\ServiceProvider;
use Saritasa\LaravelRepositories\R... | Change type of implementation of IRepositoryFactory in DI container to singleton.
Improve package provider documentation. | Saritasa_php-laravel-repositories | train | php |
f7ea6cf0d7dec4e8a7a595ce53ec827878fa554d | diff --git a/cnxpublishing/tests/test_db.py b/cnxpublishing/tests/test_db.py
index <HASH>..<HASH> 100644
--- a/cnxpublishing/tests/test_db.py
+++ b/cnxpublishing/tests/test_db.py
@@ -1077,7 +1077,7 @@ INSERT INTO modules
VALUES
(1, 'Module', 'referenced module',
DEFAULT, DEFAULT, 1, 1,
- 0, 'admin', 'log', NULL, NU... | Change tests to insert DEFAULT stateid instead of NULL | openstax_cnx-publishing | train | py |
77fa0c93b82f22675e147c4b7e6e371aa882e354 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -115,10 +115,15 @@ describe('loads', function () {
/* istanbul ignore next */
.on('error', function (err) {
throw err;
+ })
+ /* istanbul ignore next */
+ .on('timeout', function (err) {
+ throw err;... | [test] Test that everything is cleared on `end` | unshiftio_loads | train | js |
487541e1778dd6c57f6fcb0a482a02e1bcd5f25d | diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -25,11 +25,18 @@ def client_token(client):
def clean_response(response):
"""Remove a few info from the response before writing cassettes."""
- if not isinstance(response, dict):
- return response
... | test: make clean response work with tornado client | browniebroke_deezer-python | train | py |
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.