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 |
|---|---|---|---|---|---|
7142b64791353d80f07a098d2a5b28f942885a0f | diff --git a/plugins/polling-updater.js b/plugins/polling-updater.js
index <HASH>..<HASH> 100644
--- a/plugins/polling-updater.js
+++ b/plugins/polling-updater.js
@@ -43,13 +43,19 @@ const API_BASE_URI = "https://www.mytaglist.com";
* polling endpoint (in milliseconds)
* @default
*/
-const UPDAT... | Prevents wait time from running away during backoff | hlapp_wirelesstags-js | train | js |
2faabbbe927681fbba90ac5eed292c340339bfe2 | diff --git a/src/android/io/branch/BranchSDK.java b/src/android/io/branch/BranchSDK.java
index <HASH>..<HASH> 100644
--- a/src/android/io/branch/BranchSDK.java
+++ b/src/android/io/branch/BranchSDK.java
@@ -6,6 +6,7 @@ import android.util.Log;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.Cor... | [FIX] Missing library and typo | BranchMetrics_cordova-ionic-phonegap-branch-deep-linking | train | java |
89f16fe0c5836e7a7471ef299acccff05333b3a1 | diff --git a/plugins/Referers/Referers.php b/plugins/Referers/Referers.php
index <HASH>..<HASH> 100644
--- a/plugins/Referers/Referers.php
+++ b/plugins/Referers/Referers.php
@@ -139,7 +139,7 @@ class Piwik_Referers extends Piwik_Plugin
FROM ".$archiveProcessing->logTable."
WHERE visit_server_date = ?
... | fixing bug in referer detection, only one URL per referring domain was counted
git-svn-id: <URL> | matomo-org_matomo | train | php |
dff572771d15b86a66e9958944522624d2777090 | diff --git a/trunk/mapreduce/src/java/com/marklogic/mapreduce/utilities/InternalUtilities.java b/trunk/mapreduce/src/java/com/marklogic/mapreduce/utilities/InternalUtilities.java
index <HASH>..<HASH> 100644
--- a/trunk/mapreduce/src/java/com/marklogic/mapreduce/utilities/InternalUtilities.java
+++ b/trunk/mapreduce/src... | bug:<I>
better error msg when mlcp copy to a db without a forest | marklogic_marklogic-contentpump | train | java |
1f460975bb3106898cca101faab3cc9b5b7ee873 | diff --git a/src/ol/renderer/webgl/webglmaprenderer.js b/src/ol/renderer/webgl/webglmaprenderer.js
index <HASH>..<HASH> 100644
--- a/src/ol/renderer/webgl/webglmaprenderer.js
+++ b/src/ol/renderer/webgl/webglmaprenderer.js
@@ -19,7 +19,7 @@ goog.require('ol.renderer.Map');
goog.require('ol.renderer.webgl.FragmentShade... | Port WebGL texture cache to ol.structs.LRUCache | openlayers_openlayers | train | js |
0336455c0d81e7d93b55a9b6248bcb2b3f7f9035 | diff --git a/api/app/suite_test.go b/api/app/suite_test.go
index <HASH>..<HASH> 100644
--- a/api/app/suite_test.go
+++ b/api/app/suite_test.go
@@ -188,6 +188,9 @@ func (s *S) TearDownSuite(c *C) {
func (s *S) SetUpTest(c *C) {
s.createGitosisConf(c)
s.ts = s.mockServer("", "", "", "")
+ called["tenants"] = false
+... | api/app: setting called var to ec2 fake handlers to false in setUpTest | tsuru_tsuru | train | go |
bb5748b85829149f8f2f02e139ad2fa7389d38ff | diff --git a/examples/download_observations.py b/examples/download_observations.py
index <HASH>..<HASH> 100644
--- a/examples/download_observations.py
+++ b/examples/download_observations.py
@@ -3,6 +3,7 @@ from __future__ import unicode_literals, print_function
import sys
import logging
+from pyaavso.formats impor... | Write downloaded observations into a Visual Format file. | zsiciarz_pyaavso | train | py |
97f25c6cde82a594e8f56885f81c7758999b9237 | diff --git a/src/Dev/FocusPointMigrationTask.php b/src/Dev/FocusPointMigrationTask.php
index <HASH>..<HASH> 100644
--- a/src/Dev/FocusPointMigrationTask.php
+++ b/src/Dev/FocusPointMigrationTask.php
@@ -52,10 +52,10 @@ class FocusPointMigrationTask extends MigrationTask
}
DB::get_conn()->withTransac... | Fix migration task throwing SQL error
It seems that the table name shouldn't be prepended to the column in a DROP COLUMN call. | jonom_silverstripe-focuspoint | train | php |
214ef17e4bdfc20d7b50309dbddef9a6406a3ec3 | diff --git a/lib/middleware/lrdd.js b/lib/middleware/lrdd.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/lrdd.js
+++ b/lib/middleware/lrdd.js
@@ -55,8 +55,8 @@ module.exports = function lrdd(fn, options) {
var format = options.format;
if (req.headers) {
- if (req.headers['content-type'... | Fix to use accept header for content negotiation. | jaredhanson_connect-lrdd | train | js |
00a9fb911e6113837c2b7430689ddf6fc8a6b1ff | diff --git a/src/codemod.py b/src/codemod.py
index <HASH>..<HASH> 100755
--- a/src/codemod.py
+++ b/src/codemod.py
@@ -98,9 +98,10 @@ def path_filter(extensions=None, exclude_paths=[]):
if extensions:
if not any(path.endswith('.' + extension) for extension in extensions):
return False
- for excl... | Fix bug in my new exclude paths feature | facebook_codemod | train | py |
6ab4221e16154985e521fa1e2be320eaa44f8564 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -51,6 +51,7 @@ setup(
'crontab==0.20.5',
'seed-services-client==0.31.0',
'drfdocs==0.0.11',
+ 'gevent==1.2.2',
],
classifiers=[
'Development Status :: 4 - Beta', | Add gevent for celery tasks (thanks @KaitCrawford) | praekeltfoundation_seed-scheduler | train | py |
6022bf45bbf07d431935e7511c7e489374b093fa | diff --git a/src/adapters/rubicon.js b/src/adapters/rubicon.js
index <HASH>..<HASH> 100644
--- a/src/adapters/rubicon.js
+++ b/src/adapters/rubicon.js
@@ -32,12 +32,15 @@ var RubiconAdapter = function RubiconAdapter() {
'970x90': 55,
'970x250': 57,
'1000x90': 58,
+ '640x480': 65,
'320x480': 67,
... | Add additional sizes to rubicon size mapping (#<I>)
* Add new rubicon sizes
This commit adds the following sizes to rubicon size map
* '<I>x<I>':<I>
* '<I>x<I>':<I>
* '<I>x<I>':<I>
* codestyle rubicon sizemap | prebid_Prebid.js | train | js |
35f0215707e381293925de04ed1d519b81e60370 | diff --git a/linux/snmp.go b/linux/snmp.go
index <HASH>..<HASH> 100644
--- a/linux/snmp.go
+++ b/linux/snmp.go
@@ -124,7 +124,14 @@ func ReadSnmp(path string) (*Snmp, error) {
protocol := strings.Replace(strings.Fields(lines[i-1])[0], ":", "", -1)
for j, header := range headers {
- statMap[protocol+header] = ... | Snmp values may not exist
The index into values is not always valid which leads to a runtime panic. For now I'm just inserting "UNKNOWN" as the value... if you have a better idea let me know. | c9s_goprocinfo | train | go |
a0083b908d79bb7c070c0996613ac007e7759c9b | diff --git a/lib/repository.js b/lib/repository.js
index <HASH>..<HASH> 100644
--- a/lib/repository.js
+++ b/lib/repository.js
@@ -627,7 +627,6 @@ Repository.prototype.mergeBranches = function(to, from, signature) {
fromBranch.shorthand() +
" into " +
toBranch.shorthand();
- ... | Removed a console.log from lib/repository.js | nodegit_nodegit | train | js |
df2f125d7ac87f2a27d0b6823db6690a07a3206f | diff --git a/lib/matchers/SubstringMatcher.js b/lib/matchers/SubstringMatcher.js
index <HASH>..<HASH> 100644
--- a/lib/matchers/SubstringMatcher.js
+++ b/lib/matchers/SubstringMatcher.js
@@ -1,14 +1,11 @@
'use strict';
var _ = require('lodash-node')
- , TypeSafeMatcher = require('./TypeSafeMatcher')
+ , IsString = ... | Reimplement SubstringMatcher as child of IsString | rluba_hamjest | train | js |
ed9396b385e9f5b262eb0289f69630893b7f72c1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -89,6 +89,7 @@ setup(
version="2019.7.2",
cmdclass={'build_ext': build_ext},
setup_requires=['numpy>=1.14.3', 'setuptools>=18.0'],
+ python_requires='>=3.6',
install_requires=["numpy>=1.14.3", "requests"... | Add minimum Python version to setup.py | materialsproject_pymatgen | train | py |
4bd3af9ad1caf8675d531de63450fa11d0a943de | diff --git a/src/MagicTemplateFactory.php b/src/MagicTemplateFactory.php
index <HASH>..<HASH> 100644
--- a/src/MagicTemplateFactory.php
+++ b/src/MagicTemplateFactory.php
@@ -23,11 +23,15 @@ class MagicTemplateFactory implements ITemplateFactory
/* @var $latte Engine */
$latte = clone $control->getParent()->getTe... | added basePath & baseUri param to MagicTemplate | grape-fluid_magic-control | train | php |
4f2735ffd2074e7719b8b2eee53a2ad9b425a88f | diff --git a/lib/challenger.rb b/lib/challenger.rb
index <HASH>..<HASH> 100644
--- a/lib/challenger.rb
+++ b/lib/challenger.rb
@@ -1,3 +1,5 @@
+require 'rubocop'
+require 'rubocop-rspec'
require 'challenger/rubocop/rule'
require 'challenger/rubocop/todo_reader'
require 'challenger/rubocop/todo_editor'
diff --git a/l... | Summarize each requires to the master module | ryz310_rubocop_challenger | train | rb,rb,rb |
5cb93daa6978f3f54cb55c00b114cfd5ed4fb001 | diff --git a/cleo/commands/command.py b/cleo/commands/command.py
index <HASH>..<HASH> 100644
--- a/cleo/commands/command.py
+++ b/cleo/commands/command.py
@@ -336,7 +336,7 @@ class Command(BaseCommand):
"""
Automatically spin a progress indicator.
"""
- spinner = ProgressIndicator(self... | chore: fix failing lint | sdispater_cleo | train | py |
ae23050d6292737cf6af4878ce8cf85c7fddaf33 | diff --git a/lib/ruby_home/http/controllers/application_controller.rb b/lib/ruby_home/http/controllers/application_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/ruby_home/http/controllers/application_controller.rb
+++ b/lib/ruby_home/http/controllers/application_controller.rb
@@ -8,6 +8,11 @@ module RubyHome
... | Log entire request store in debug mode for each request | karlentwistle_ruby_home | train | rb |
34ac2baaaf6b89d1d0d983970d1bdf90a7af1d0e | diff --git a/app/models/spree/product_import.rb b/app/models/spree/product_import.rb
index <HASH>..<HASH> 100644
--- a/app/models/spree/product_import.rb
+++ b/app/models/spree/product_import.rb
@@ -20,7 +20,7 @@ module Spree
# Meta keywords and description are created on the product model
def import_data!
- ... | uncomment begin/rescue block | ngelx_solidus_import_products | train | rb |
7b772b3e4ac41dee03be923125fdd1b521f810af | diff --git a/trunk/MutabilityDetector/trunk/MutabilityDetector/src/main/java/org/mutabilitydetector/MutabilityReason.java b/trunk/MutabilityDetector/trunk/MutabilityDetector/src/main/java/org/mutabilitydetector/MutabilityReason.java
index <HASH>..<HASH> 100644
--- a/trunk/MutabilityDetector/trunk/MutabilityDetector/src... | Provide a bit more reason about why being subclassable is considered a problem.
git-svn-id: <URL> | MutabilityDetector_MutabilityDetector | train | java |
0832cd16f7de14ff22ced9e0d2489e8ec4c1369d | diff --git a/src/test/org/bson/BSONTest.java b/src/test/org/bson/BSONTest.java
index <HASH>..<HASH> 100644
--- a/src/test/org/bson/BSONTest.java
+++ b/src/test/org/bson/BSONTest.java
@@ -164,18 +164,14 @@ public class BSONTest {
public void testUTF8() {
for (int i = 1; i <= Character.MAX_CODE_POINT; i++) ... | Fixed BSONTest.testUTF8 so that it compiles with Java 6. | mongodb_mongo-java-driver | train | java |
34e48c470dd40e3bc9a38f2318e5bbed40d4dc84 | diff --git a/src/Configuration/FileResolver.php b/src/Configuration/FileResolver.php
index <HASH>..<HASH> 100644
--- a/src/Configuration/FileResolver.php
+++ b/src/Configuration/FileResolver.php
@@ -70,7 +70,7 @@ class FileResolver {
$fullPath = true;
foreach ($path as $pathElement) {
... | Tweaked for unix compat. | OxfordInfoLabs_kinikit-core | train | php |
362c0466e41b0ed073f32f15216f4a734c2e8d04 | diff --git a/qbit-servlet/src/main/java/io/advantageous/qbit/servlet/QBitServletUtil.java b/qbit-servlet/src/main/java/io/advantageous/qbit/servlet/QBitServletUtil.java
index <HASH>..<HASH> 100644
--- a/qbit-servlet/src/main/java/io/advantageous/qbit/servlet/QBitServletUtil.java
+++ b/qbit-servlet/src/main/java/io/adva... | Found and fixed bug with code #<I> | advantageous_qbit | train | java |
92ab27ec3cb00b18b1babbfdd0a2f951e086d882 | diff --git a/src/assessments/seo/subheadingsKeywordAssessment.js b/src/assessments/seo/subheadingsKeywordAssessment.js
index <HASH>..<HASH> 100644
--- a/src/assessments/seo/subheadingsKeywordAssessment.js
+++ b/src/assessments/seo/subheadingsKeywordAssessment.js
@@ -1,8 +1,9 @@
-const AssessmentResult = require( "../..... | Changed requires to imports in subheadingsKeywordAssessment. | Yoast_YoastSEO.js | train | js |
42e5c9b7b51388cf7ef62613150795c00c682bac | diff --git a/js/app.js b/js/app.js
index <HASH>..<HASH> 100644
--- a/js/app.js
+++ b/js/app.js
@@ -1,5 +1,5 @@
/*
- * jQuery File Upload Plugin Angular JS Example 1.1
+ * jQuery File Upload Plugin Angular JS Example 1.1.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2013, Sebastian Tschan
@@ -57... | Define the titleProperty as "name" for the image gallery to display the file name as title. | blueimp_jQuery-File-Upload | train | js |
e2dcdca8b7837fa6deb2d9d2b35d38740f14e8ec | diff --git a/ext.go b/ext.go
index <HASH>..<HASH> 100644
--- a/ext.go
+++ b/ext.go
@@ -105,6 +105,9 @@ type Extender interface {
// Default working implementation of an extender.
type DefaultExtender struct {
EnqueueChan chan<- *CrawlerCommand
+ // TODO : Use a custom http client, intercept redirections, enqueue th... | start thinking about the new Fetch... | PuerkitoBio_gocrawl | train | go |
51946db8da11a16429c1071da21fe11775ecdb76 | diff --git a/scripts/rebuild_specs.js b/scripts/rebuild_specs.js
index <HASH>..<HASH> 100644
--- a/scripts/rebuild_specs.js
+++ b/scripts/rebuild_specs.js
@@ -8,7 +8,7 @@ const ts = require('typescript');
const app = new TypeDoc.Application();
app.bootstrap({
- mode: 'Modules',
+ mode: TypeDoc.SourceFileMode.... | fix: Rebuild specs typechecks | TypeStrong_typedoc | train | js |
c9a62d58368e3ab12e4e45f8054b2f466946f76f | diff --git a/lxd/api_cluster.go b/lxd/api_cluster.go
index <HASH>..<HASH> 100644
--- a/lxd/api_cluster.go
+++ b/lxd/api_cluster.go
@@ -1637,6 +1637,9 @@ func clusterNodeDelete(d *Daemon, r *http.Request) response.Response {
logger.Warn("Failed to sync images")
}
+ requestor := request.CreateRequestor(r)
+ d.Stat... | lxd/api/cluster: handle ClusterMemberRemoved lifecycle event | lxc_lxd | train | go |
ccbd3d588d943e27523b41f478de3840524b7761 | diff --git a/lib/reverse_proxy/client.rb b/lib/reverse_proxy/client.rb
index <HASH>..<HASH> 100644
--- a/lib/reverse_proxy/client.rb
+++ b/lib/reverse_proxy/client.rb
@@ -79,7 +79,7 @@ module ReverseProxy
target_request['Accept-Encoding'] = nil
# Make the request
- Net::HTTP.start(uri.hostname, uri... | Ignore SSL cerificate validation since we're hosting on localhost anyway... | axsuul_rails-reverse-proxy | train | rb |
ce164030d066bd0f234981cb3d78e08188b08a3d | diff --git a/lib/calabash/android/build/resigner.rb b/lib/calabash/android/build/resigner.rb
index <HASH>..<HASH> 100644
--- a/lib/calabash/android/build/resigner.rb
+++ b/lib/calabash/android/build/resigner.rb
@@ -27,7 +27,25 @@ module Calabash
end
def unsign(unsigned_path)
- files_to_remo... | Resigning: Only remove relevant files from META-INF when unsigning | calabash_calabash | train | rb |
bf6376c28a69828cb848c3afb349748f37955009 | diff --git a/grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/resolve/GrailsRepoResolver.java b/grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/resolve/GrailsRepoResolver.java
index <HASH>..<HASH> 100644
--- a/grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/resolve/GrailsRepoResolver.... | removed @Override for interface impl methods | grails_grails-core | train | java |
382c01546e4976656d991cbda8c32e2040fc5e75 | diff --git a/src/getID3/getid3_handler.php b/src/getID3/getid3_handler.php
index <HASH>..<HASH> 100644
--- a/src/getID3/getid3_handler.php
+++ b/src/getID3/getid3_handler.php
@@ -84,7 +84,17 @@ abstract class getid3_handler {
if (!getid3_lib::intValueSupported($pos)) {
throw new getid3_exception('cannot fread('.... | Fixed parsing of non-regular files
- In case the file analyzed is not a regular local file but e.g. a Linux pipe, the parser used to read only the first ~<I>KB of the file. If the total size of all the tags exceeded <I>KB, then some tags could not be parsed. Typically, this prevented parsing the embedded cover art.
- ... | LukasReschke_ID3Parser | train | php |
79eba1e6eca01ab4bef7251e014082b9edcb3c9f | diff --git a/src/Graph.php b/src/Graph.php
index <HASH>..<HASH> 100644
--- a/src/Graph.php
+++ b/src/Graph.php
@@ -3,6 +3,7 @@
namespace Spatie\SchemaOrg;
use ReflectionClass;
+use BadMethodCallException;
use InvalidArgumentException;
/**
@@ -18,6 +19,8 @@ class Graph extends BaseType
if (is_callable([... | throw exception if method does not exist | spatie_schema-org | train | php |
e99cb05516c095fbcb959ee71c0f83139a9e1ad2 | diff --git a/xl-objects.go b/xl-objects.go
index <HASH>..<HASH> 100644
--- a/xl-objects.go
+++ b/xl-objects.go
@@ -176,6 +176,8 @@ func (xl xlObjects) GetObject(bucket, object string, startOffset int64) (io.Read
fileWriter.CloseWithError(err)
return
}
+ // Reset offset to 0 as it would be non-0 only for... | XL/GetObject: offset should be reset to 0 after reading first part. (#<I>) (#<I>) | minio_minio | train | go |
5f65f35b11f3f2a24a4888bb00edbf28b84d94d9 | diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -207,7 +207,8 @@ def create_calculation(model, params):
for param in set(params) - set(calc_fields):
# the following parameters will be remo... | Removed individual_curves from HazardCalculation
Former-commit-id: b4aa<I>fc1e<I>be<I>af<I>ae<I>f<I> | gem_oq-engine | train | py |
793720a189fe24f48bcb1cf1a9a59e89558a3e99 | diff --git a/defender/utils.py b/defender/utils.py
index <HASH>..<HASH> 100644
--- a/defender/utils.py
+++ b/defender/utils.py
@@ -172,6 +172,10 @@ def record_failed_attempt(ip_address, username):
if user_count > config.FAILURE_LIMIT:
block_username(username)
user_block = True
+
+ if config.LO... | Handle evaluating combined IP and username lockouts based on settings | kencochrane_django-defender | train | py |
2e504c3ae75625c6fe0701ed7817fbfd69546cc9 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -21,7 +21,7 @@ const tsConfig = require('./tsconfig.json')
const paths = {
styles: {
- src: ['./assets/styles/**/*.scss'],
+ src: ['./assets/styles/**/*'],
dest: './dist/styles'
... | Remove file extension from glob pattern
All files in the directory are of the same extension, so not
necessary. | GrottoPress_jentil | train | js |
8cb8fff593f1ec0948caee03aecddc27a536a25f | diff --git a/cloudinary-test-common/src/main/java/com/cloudinary/test/AbstractApiTest.java b/cloudinary-test-common/src/main/java/com/cloudinary/test/AbstractApiTest.java
index <HASH>..<HASH> 100644
--- a/cloudinary-test-common/src/main/java/com/cloudinary/test/AbstractApiTest.java
+++ b/cloudinary-test-common/src/main... | Remove test for similarity search (#<I>) | cloudinary_cloudinary_java | train | java |
4afe84d88b23424eacbb741b56e8c36deaf7c63f | diff --git a/servers/src/test/java/tachyon/web/UtilsTest.java b/servers/src/test/java/tachyon/web/UtilsTest.java
index <HASH>..<HASH> 100644
--- a/servers/src/test/java/tachyon/web/UtilsTest.java
+++ b/servers/src/test/java/tachyon/web/UtilsTest.java
@@ -20,6 +20,9 @@ import java.util.concurrent.TimeUnit;
import org.j... | Cleanup of the tachyon.web tests. | Alluxio_alluxio | train | java |
5580efd61381269b67f7db230a58b2ac96274f17 | diff --git a/lib/bureaucrat/formsets.rb b/lib/bureaucrat/formsets.rb
index <HASH>..<HASH> 100644
--- a/lib/bureaucrat/formsets.rb
+++ b/lib/bureaucrat/formsets.rb
@@ -21,7 +21,6 @@ module Bureaucrat
class BaseFormSet
include Utils
- include Validation
include Fields
include Forms
@@ -... | Don't include Validations module on base formset (not needed). Raise the correct type of exception on management_form failure. | tizoc_bureaucrat | train | rb |
108bd65b27198cc2d9bc6aacd4aff0246496f820 | diff --git a/state/settings.go b/state/settings.go
index <HASH>..<HASH> 100644
--- a/state/settings.go
+++ b/state/settings.go
@@ -300,7 +300,7 @@ func readSettingsDocInto(db Database, collection, key string, out interface{}) e
err := settings.FindId(key).One(out)
if err == mgo.ErrNotFound {
- err = errors.NotFo... | Added key and its collection to debug mesage for 'settings not found'. | juju_juju | train | go |
46f7e8ac1102cd3ce43a942df9a6825b16bf47e7 | diff --git a/tests/phpunit/test-setup.php b/tests/phpunit/test-setup.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/test-setup.php
+++ b/tests/phpunit/test-setup.php
@@ -270,7 +270,7 @@ class Extended_CPT_Test_Setup extends Extended_CPT_Test {
try {
register_extended_post_type( 'public_taxonomy' );
$thi... | Update an expected PHPUnit exception name. | johnbillion_extended-cpts | train | php |
abcbfeb6146058fcafef7a2dafce850db758570a | diff --git a/ServiceProvider.php b/ServiceProvider.php
index <HASH>..<HASH> 100755
--- a/ServiceProvider.php
+++ b/ServiceProvider.php
@@ -4,6 +4,7 @@ namespace Illuminate\Support;
use Illuminate\Console\Application as Artisan;
use Illuminate\Contracts\Support\DeferrableProvider;
+use Illuminate\Database\Eloquent\F... | Add loadFactoriesFrom method | illuminate_support | train | php |
fd2ccf20a187e6af02bc275e934be56a559cd360 | diff --git a/pusherclient/__init__.py b/pusherclient/__init__.py
index <HASH>..<HASH> 100755
--- a/pusherclient/__init__.py
+++ b/pusherclient/__init__.py
@@ -11,13 +11,13 @@ except:
import json
-VERSION = "0.1.1"
+VERSION = "0.6.0"
class Pusher(object):
host = "ws.pusherapp.com"
client_id = 'Py... | Bump up protocol version. Bump up minor version. | ekulyk_PythonPusherClient | train | py,py |
672d052d306123668fffb9e9bfe9b82306d0f585 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -297,7 +297,7 @@ function exportInterfaces(obj) {
obj.logger = logger;
obj.getImpExpService = function(callback) {
loadService(function(err, options) {
- callback(err, options.port);
+ call... | feat: Export saz file | avwo_whistle | train | js |
532224efc47009ab817201848367ffcbd4e9a8b4 | diff --git a/lib/stealth/session.rb b/lib/stealth/session.rb
index <HASH>..<HASH> 100644
--- a/lib/stealth/session.rb
+++ b/lib/stealth/session.rb
@@ -74,6 +74,7 @@ module Stealth
else
$redis.set(user_id, session)
end
+ persist_session(key: user_id, value: session)
end
def presen... | DRY session persistence
This allows us to avoid future errors where we fail to respect session_ttl | hellostealth_stealth | train | rb |
8a1a1f600728a7886d57c0abe36772691632c04b | diff --git a/utilities.js b/utilities.js
index <HASH>..<HASH> 100644
--- a/utilities.js
+++ b/utilities.js
@@ -1,8 +1,17 @@
'use strict';
var Utilities = {
+ stripNewLines: function(scssString) {
+ return scssString.replace('\n', '');
+ },
+
+ stripSpaces: function(scssString) {
+ return scssString.replace... | separating out utilities to use with flags eventually | ryanbahniuk_scss-to-json | train | js |
a542ec592c527bd2b708d1de423af4d9ebcd631c | diff --git a/spec/rango/core_ext_spec.rb b/spec/rango/core_ext_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rango/core_ext_spec.rb
+++ b/spec/rango/core_ext_spec.rb
@@ -13,14 +13,22 @@ describe ParamsMixin do
@mash = {key: "value"}.extend(ParamsMixin)
end
- it "should work with strings" do
+ it "s... | Don't fail if key is an object | botanicus_rango | train | rb |
5c8cb293bca387309b9e40fc6b1a96cc8fbd8dfe | diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index <HASH>..<HASH> 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -140,15 +140,15 @@ class User(GitlabObject):
def block(self, **kwargs):
"""Blocks the user."""
url = '/users/%s/block' % self.id
- r = self.gitlab._... | [v4] Update user (un)block HTTP methods | python-gitlab_python-gitlab | train | py |
25602b9ef0b8e77cdde6309c97efc27365f1e5b4 | diff --git a/src/Money.php b/src/Money.php
index <HASH>..<HASH> 100644
--- a/src/Money.php
+++ b/src/Money.php
@@ -138,7 +138,8 @@ final class Money implements JsonSerializable
*/
public function equals(Money $other)
{
- return $this->isSameCurrency($other) && $this->amount === $other->amount;
+ ... | Simplified `Money#equals()` to only check currency equality when amount equality is also non-matching
This moves away a function call that is otherwise repeated very often, and which can lead to a lot
of runtime overhead for no reason.
Instead, we do this comparison only when the amount is the same (direct equality, ... | moneyphp_money | train | php |
6365a1d2fc25963f653852e1bf1364058e323a82 | diff --git a/python/src/pipeline/pipeline.py b/python/src/pipeline/pipeline.py
index <HASH>..<HASH> 100755
--- a/python/src/pipeline/pipeline.py
+++ b/python/src/pipeline/pipeline.py
@@ -40,7 +40,7 @@ import urllib
import uuid
from google.appengine.api import mail
-#from google.appengine.api import files
+from goog... | Restored blobstore code in pipelines | GoogleCloudPlatform_appengine-pipelines | train | py |
2559f9557fe77b7e9c033d2c525fb8310f796144 | diff --git a/src/import/load-costume.js b/src/import/load-costume.js
index <HASH>..<HASH> 100644
--- a/src/import/load-costume.js
+++ b/src/import/load-costume.js
@@ -16,11 +16,12 @@ var log = require('../util/log');
var loadCostume = function (md5ext, costume, runtime) {
if (!runtime.storage) {
log.erro... | Resolve to null on error | LLK_scratch-vm | train | js |
d6f29cc5fde037fee0f4289d91b535f75f7d77f8 | diff --git a/reducer.go b/reducer.go
index <HASH>..<HASH> 100644
--- a/reducer.go
+++ b/reducer.go
@@ -104,9 +104,7 @@ type Chain struct {
}
func NewChain(reducers ...Reducer) *Chain {
- chain := &Chain{
- reducers: reducers,
- }
+ chain := new(Chain)
for _, r := range reducers {
if f, ok := interface{}(r).(F... | fix reducers duplicates, fixes #<I> | satyrius_gonx | train | go,go |
cf5def1cb77b322d71cf01300100388313192ce8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -67,7 +67,6 @@ setup(
'License :: OSI Approved :: ISC License (ISCL)',
'Natural Language :: English',
"Programming Language :: Python :: 2",
- 'Programming Language :: Python :: 2.6',
... | Remove python <I> from setup.py programming languages | igroen_homebrew | train | py |
4f6b9a74968451eef9a6733895aea43e5fa839cd | diff --git a/test/dummy/app/models/comment.rb b/test/dummy/app/models/comment.rb
index <HASH>..<HASH> 100644
--- a/test/dummy/app/models/comment.rb
+++ b/test/dummy/app/models/comment.rb
@@ -1,3 +1,3 @@
class Comment < ActiveRecord::Base
- has_many :likes
+ has_many :likes, as: :likeable
end
diff --git a/test/dummy... | updated has_many entries in models related to polymorphic associations | LunarLogic_pg_morph | train | rb,rb |
d91fbe4285767099f49cc706850b1fbc6861ba10 | diff --git a/lxd/storage/drivers/driver_btrfs_volumes.go b/lxd/storage/drivers/driver_btrfs_volumes.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_btrfs_volumes.go
+++ b/lxd/storage/drivers/driver_btrfs_volumes.go
@@ -881,6 +881,22 @@ func (d *btrfs) CreateVolumeSnapshot(snapVol Volume, op *operations.... | lxd/storage/drivers/driver/btrfs/volumes: Maintain subvolume readonly state in snapshot | lxc_lxd | train | go |
510e9581dc6da66481d8a22b494de4de6adcb85b | diff --git a/spyderlib/plugins/externalconsole.py b/spyderlib/plugins/externalconsole.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/externalconsole.py
+++ b/spyderlib/plugins/externalconsole.py
@@ -951,7 +951,7 @@ class ExternalConsole(SpyderPluginWidget):
tab_icon2 = get_icon('ipython... | External Console: Refactor "create_ipyclient" -> "register_ipyclient" | spyder-ide_spyder | train | py |
ca7fde1720a976ede3a697c0c2c00e71bcb2761c | diff --git a/lib/looseleaf.js b/lib/looseleaf.js
index <HASH>..<HASH> 100644
--- a/lib/looseleaf.js
+++ b/lib/looseleaf.js
@@ -102,7 +102,7 @@ module.exports.init = function(siteDir) {
return conf.sidebar;
},
version: function(req, res) {
- return conf.version;
+ return VERSION;
},
... | fixed version undefined bug in footer.ejs | tnantoka_LooseLeaf | train | js |
bfe96af21129c5daaef2e68f6326b237cef954b7 | diff --git a/actor-sdk/sdk-core/runtime/runtime-se/src/main/java/im/actor/runtime/se/JavaSeThreadingProvider.java b/actor-sdk/sdk-core/runtime/runtime-se/src/main/java/im/actor/runtime/se/JavaSeThreadingProvider.java
index <HASH>..<HASH> 100644
--- a/actor-sdk/sdk-core/runtime/runtime-se/src/main/java/im/actor/runtime/... | fix(runtime): Fixing Java SE compilation error | actorapp_actor-platform | train | java |
e7ac69d6ac50e805334b62bf57a851be9399964c | diff --git a/js/ccex.js b/js/ccex.js
index <HASH>..<HASH> 100644
--- a/js/ccex.js
+++ b/js/ccex.js
@@ -88,13 +88,13 @@ module.exports = class ccex extends Exchange {
base = this.commonCurrencyCode (base);
quote = this.commonCurrencyCode (quote);
let symbol = base + '/' + quote;
- ... | minor edits to ccex | ccxt_ccxt | train | js |
89c70a2277cf1160368811f8cb339424240b3fa2 | diff --git a/spec/nazrin/data_accessor/mongoid_spec.rb b/spec/nazrin/data_accessor/mongoid_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/nazrin/data_accessor/mongoid_spec.rb
+++ b/spec/nazrin/data_accessor/mongoid_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe Nazrin::DataAccessor::Mongoid do
+describe 'Na... | Fixed spec failed in ruby >= <I> | tsuwatch_nazrin | train | rb,rb |
fae1d516b1c9bbadea5ad80d7fe3e5ebb67b1a19 | diff --git a/lib/Websocket/Endpoint.php b/lib/Websocket/Endpoint.php
index <HASH>..<HASH> 100644
--- a/lib/Websocket/Endpoint.php
+++ b/lib/Websocket/Endpoint.php
@@ -1008,7 +1008,7 @@ class Endpoint implements ServerObserver {
if ($ps->isMasked) {
// This is memory hungry but it's ~70x fa... | Woops, wrong length to str_repeat | amphp_http-server | train | php |
f38988c8d80a0f737faf2f8d6850055f9b2ed2dc | diff --git a/pytestsalt/utils.py b/pytestsalt/utils.py
index <HASH>..<HASH> 100644
--- a/pytestsalt/utils.py
+++ b/pytestsalt/utils.py
@@ -305,7 +305,8 @@ class SaltDaemonScriptBase(SaltScriptBase):
self.cli_display_name,
' '.join(proc_args))
- terminal = nb_popen.NonBlockin... | Explicitly pass along the environment to the subprocesses | saltstack_pytest-salt | train | py |
6381d30fa97d48e3928964fcea7f1c3c3b62ec48 | diff --git a/src/Command/GeneratorCommand.php b/src/Command/GeneratorCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/GeneratorCommand.php
+++ b/src/Command/GeneratorCommand.php
@@ -38,6 +38,13 @@ abstract class GeneratorCommand extends ContainerAwareCommand
protected function getSkeletonDirs()
{
+... | #<I> Make module path discoverable to Twig_Environment | hechoendrupal_drupal-console | train | php |
51970aa020d6c8bb3ca761f43c4ad74ba8e6e014 | diff --git a/core/src/com/google/zxing/client/result/VEventResultParser.java b/core/src/com/google/zxing/client/result/VEventResultParser.java
index <HASH>..<HASH> 100644
--- a/core/src/com/google/zxing/client/result/VEventResultParser.java
+++ b/core/src/com/google/zxing/client/result/VEventResultParser.java
@@ -38,10... | Issue <I>: be more lax and don't look for END
git-svn-id: <URL> | zxing_zxing | train | java |
fd88ec82fe7a4d06685398bde24443e87e009599 | diff --git a/durastore/src/main/java/org/duracloud/durastore/aop/IngestAdvice.java b/durastore/src/main/java/org/duracloud/durastore/aop/IngestAdvice.java
index <HASH>..<HASH> 100644
--- a/durastore/src/main/java/org/duracloud/durastore/aop/IngestAdvice.java
+++ b/durastore/src/main/java/org/duracloud/durastore/aop/Ing... | Adds null check in debug print statements (null is a valid parameter value for content checksum, indicating that the checksum is not known and should be computed)
git-svn-id: <URL> | duracloud_management-console | train | java |
270ec045bbb93a3a8eadf9d0759c4b5b6dedc8e4 | diff --git a/oauth2client/client.py b/oauth2client/client.py
index <HASH>..<HASH> 100755
--- a/oauth2client/client.py
+++ b/oauth2client/client.py
@@ -215,6 +215,9 @@ class Credentials(object):
# Add in information we will need later to reconsistitue this instance.
d['_class'] = t.__name__
d['_module'] =... | More bytes vs str handling.
Ensure private key is in bytes.
Ensure dict components are str before creating JSON string. | googleapis_oauth2client | train | py |
7d32c94d5d655642b1a38ce99f01c248edeb70cf | diff --git a/lib/couch-client.js b/lib/couch-client.js
index <HASH>..<HASH> 100644
--- a/lib/couch-client.js
+++ b/lib/couch-client.js
@@ -265,12 +265,18 @@ function CouchClient(url) {
}
function view(view, obj, callback) {
- u.each(u.keys(obj), function(key) {
- obj[key] = JSON.stringify(obj[key]);
-... | No longer required to pass in an object | creationix_couch-client | train | js |
5c55a1df073b0c12059874a9654a771c15e6c4a2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,11 @@
"""LittleChef's setup.py"""
-from distutils.core import setup
+try: from setuptools import setup
+except ImportError: from distutils.core import setup
+import platform
+
+scripts = ['cook']
+if platform.system()... | Use setuptools setup if it is available; add cook.cmd for windows deployments. | tobami_littlechef | train | py |
fd5242e84b514ce1d73068d69eeb9201113a01ba | diff --git a/payu/subcommands/run_cmd.py b/payu/subcommands/run_cmd.py
index <HASH>..<HASH> 100644
--- a/payu/subcommands/run_cmd.py
+++ b/payu/subcommands/run_cmd.py
@@ -134,7 +134,10 @@ def runscript():
if n_runs_per_submit > 1 and subrun < n_runs_per_submit:
expt.counter += 1
expt.... | Add manifest setup for multiple runs in runspersub. | payu-org_payu | train | py |
528dbad4ada7d42623950163f4266e844e9b88eb | diff --git a/test/org/mockito/AnnotationsAreCopiedFromMockedTypeTest.java b/test/org/mockito/AnnotationsAreCopiedFromMockedTypeTest.java
index <HASH>..<HASH> 100644
--- a/test/org/mockito/AnnotationsAreCopiedFromMockedTypeTest.java
+++ b/test/org/mockito/AnnotationsAreCopiedFromMockedTypeTest.java
@@ -60,6 +60,11 @@ pu... | Makes test compatible with earlier JDK version | mockito_mockito | train | java |
da47ae978f2e798cda14bfd9673b18639fb5e77d | diff --git a/plenum/server/node.py b/plenum/server/node.py
index <HASH>..<HASH> 100644
--- a/plenum/server/node.py
+++ b/plenum/server/node.py
@@ -3422,10 +3422,10 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage,
def _process_re_ordered_in_new_view(self, msg: ReOrderedInNewView)... | [INDY-<I>] move primaries setting right after VC | hyperledger_indy-plenum | train | py |
e998e85f6a351f6ea12aea733224f05d676cd299 | diff --git a/rest_framework_swagger/renderers.py b/rest_framework_swagger/renderers.py
index <HASH>..<HASH> 100644
--- a/rest_framework_swagger/renderers.py
+++ b/rest_framework_swagger/renderers.py
@@ -2,6 +2,7 @@ from coreapi.compat import force_bytes
from django.shortcuts import render, resolve_url
from openapi_co... | Do not try to render failed responses
There might be a <I> response because of a missing version header.
Not sure if this is the right approach here, but this resulted in a "<I>
…" message in SwaggerUI instead of a error-<I> html dump.
Related: <URL> | marcgibbons_django-rest-swagger | train | py |
84cd08ec88707f57c699180f6274f0d499f227df | diff --git a/src/internal/ScrollCaptor.js b/src/internal/ScrollCaptor.js
index <HASH>..<HASH> 100644
--- a/src/internal/ScrollCaptor.js
+++ b/src/internal/ScrollCaptor.js
@@ -1,6 +1,7 @@
// @flow
import React, { Component, type Element } from 'react';
+
import NodeResolver from './NodeResolver';
export type Cap... | Fixed crash when the scrollTarget is undefined in ScrollCaptor | JedWatson_react-select | train | js |
a1781e6b227fbec047a094938b23dd6d227e9b5a | diff --git a/lib/chef/version.rb b/lib/chef/version.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/version.rb
+++ b/lib/chef/version.rb
@@ -17,7 +17,7 @@
class Chef
CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
- VERSION = '11.0.0.beta.0'
+ VERSION = '11.0.0.beta.1'
end
# NOTE: the Chef:... | bump to <I>.beta<I> release | chef_chef | train | rb |
ea0f5b8d98de31543a3849ffcff363d8c2923a6d | diff --git a/setup_utils.py b/setup_utils.py
index <HASH>..<HASH> 100755
--- a/setup_utils.py
+++ b/setup_utils.py
@@ -125,7 +125,7 @@ class changelog(Command):
CMDCLASS['changelog'] = changelog
-SETUP_REQUIRES['changelog'] = ('GitPython',)
+SETUP_REQUIRES['changelog'] = ('GitPython>=2.1.8',)
orig_bdist_rpm = C... | setup_utils.py: bump required GitPython
GitPython <I> is required to operate alongside git <I> | gwpy_gwpy | train | py |
43a55203b1465355582745cfc73461de6b99961e | diff --git a/src/Carbon/Lang/it.php b/src/Carbon/Lang/it.php
index <HASH>..<HASH> 100644
--- a/src/Carbon/Lang/it.php
+++ b/src/Carbon/Lang/it.php
@@ -28,4 +28,9 @@ return array(
'from_now' => 'tra :time',
'after' => ':time dopo',
'before' => ':time prima',
+ 'diff_now' => 'proprio ora',
+ 'diff_ye... | Provide diff options for now, yesterday, tomorrow (#<I>) | briannesbitt_Carbon | train | php |
56d62e77966d02efd179b65b7f506c0978871ecc | diff --git a/spec/features/group_maintenance_spec.rb b/spec/features/group_maintenance_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/features/group_maintenance_spec.rb
+++ b/spec/features/group_maintenance_spec.rb
@@ -202,6 +202,8 @@ feature 'Group maintenance' do
within('.editable-fields') do
click_li... | Fix intermittent failure in group parent editing spec | ministryofjustice_peoplefinder | train | rb |
ffcc2aeb34b12ddf484cdcc833fa4ddab580ba2c | diff --git a/mythril/laser/ethereum/instructions.py b/mythril/laser/ethereum/instructions.py
index <HASH>..<HASH> 100644
--- a/mythril/laser/ethereum/instructions.py
+++ b/mythril/laser/ethereum/instructions.py
@@ -967,6 +967,8 @@ class Instruction:
return [global_state]
bytecode = global_state.... | Eliminate 0x in the bytecode while searching for offset | ConsenSys_mythril-classic | train | py |
03e8bbb08df6b194b319e6146ae38eff738d9ab3 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,13 @@
#!/usr/bin/env python
from setuptools import setup
-from aiodocker import __version__
+version = "0.6"
long_description = "AsyncIO Docker bindings"
setup(
name="aiodocker",
- version=__version_... | dont import aiodocker in setup.py as that might break the install if dependencies arent installed | aio-libs_aiodocker | train | py |
826308fc81b41828f00f8996ce767df6169bad4f | diff --git a/hypercube/base_cube.py b/hypercube/base_cube.py
index <HASH>..<HASH> 100644
--- a/hypercube/base_cube.py
+++ b/hypercube/base_cube.py
@@ -113,7 +113,7 @@ class HyperCube(object):
return D
- def register_dimensions(self, dim_list, defaults=True):
+ def register_dimensions(self, dim_list):... | Remove unused kwarg in register_dimensions | ska-sa_hypercube | train | py |
07600261669a4589408e3b8c1e3a08390b2666b9 | diff --git a/src/Shell/GroupShell.php b/src/Shell/GroupShell.php
index <HASH>..<HASH> 100644
--- a/src/Shell/GroupShell.php
+++ b/src/Shell/GroupShell.php
@@ -10,7 +10,8 @@ class GroupShell extends Shell
* {@inheritDoc}
*/
public $tasks = [
- 'Groups.Assign'
+ 'Groups.Assign',
+ 'G... | added import task on Groups console shell (task #<I>) | QoboLtd_cakephp-groups | train | php |
65b64ccfac93d776db88d2a89094be451f2c02fc | diff --git a/lib/gds_api/version.rb b/lib/gds_api/version.rb
index <HASH>..<HASH> 100644
--- a/lib/gds_api/version.rb
+++ b/lib/gds_api/version.rb
@@ -1,3 +1,3 @@
module GdsApi
- VERSION = '2.7.0'
+ VERSION = '2.7.1'
end | Bump patch version to <I> | alphagov_gds-api-adapters | train | rb |
29f199b94c69a91254237e610a6c46e52de1b0f2 | diff --git a/oval/types.go b/oval/types.go
index <HASH>..<HASH> 100644
--- a/oval/types.go
+++ b/oval/types.go
@@ -56,6 +56,7 @@ type Criterion struct {
// Affected : >definitions>definition>metadata>affected
type Affected struct {
+ XMLName xml.Name `xml:"affected"`
Family string `xml:"family,attr"`
Pla... | add XMLName to struct Affected | ymomoi_goval-parser | train | go |
9d791fd4ec96674555a57f2c6e5c6b01d06aafc7 | diff --git a/python/bigdl/dllib/nn/layer.py b/python/bigdl/dllib/nn/layer.py
index <HASH>..<HASH> 100644
--- a/python/bigdl/dllib/nn/layer.py
+++ b/python/bigdl/dllib/nn/layer.py
@@ -728,10 +728,14 @@ class Model(Container):
if jvalue:
self.value = jvalue
self.bigdl_type = bigdl_type
... | Add document for wrap preprocessor and model in one graph and add its python API (#<I>)
* add document for wrap preprocessor and model in one graph and add its python API
* enable junit report for pytest
* fix failed unit test
* fix unit test | intel-analytics_BigDL | train | py |
ff8212caa2b348251b7e29dfa7648d18f9895892 | diff --git a/gnosis/eth/oracles/oracles.py b/gnosis/eth/oracles/oracles.py
index <HASH>..<HASH> 100644
--- a/gnosis/eth/oracles/oracles.py
+++ b/gnosis/eth/oracles/oracles.py
@@ -273,8 +273,8 @@ class UniswapV2Oracle(PriceOracle):
if token_address.lower() > token_address_2.lower():
reserve... | Increase oracle liquidity requirement to 2 token units | gnosis_gnosis-py | train | py |
cc2f31b346da33703f859b83ef7626888b268a4e | diff --git a/wampy/transports/websocket/connection.py b/wampy/transports/websocket/connection.py
index <HASH>..<HASH> 100644
--- a/wampy/transports/websocket/connection.py
+++ b/wampy/transports/websocket/connection.py
@@ -203,7 +203,7 @@ class WampWebSocket(ParseUrlMixin):
frame = ServerFrame(received... | reduce logging level on required bytes | noisyboiler_wampy | train | py |
7d39a2c7cd23c990800671787916751e04720252 | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/slotmanager/SlotManagerImpl.java b/flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/slotmanager/SlotManagerImpl.java
index <HASH>..<HASH> 100755
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanage... | [FLINK-<I>][coordination] Log reception of slot reports only once | apache_flink | train | java |
ec8b9f5cd915453391a47b5aae67c355cd252024 | diff --git a/lib/katello/permissions/activation_key_permissions.rb b/lib/katello/permissions/activation_key_permissions.rb
index <HASH>..<HASH> 100644
--- a/lib/katello/permissions/activation_key_permissions.rb
+++ b/lib/katello/permissions/activation_key_permissions.rb
@@ -4,7 +4,7 @@ Foreman::Plugin.find(:katello).se... | Fixes #<I>,bz<I> - AK available_release perm
Allow acess to available_release if user has permissions to
view_activation_key. | Katello_katello | train | rb |
f2fadc958eb634769a6ed484f54553aee58a1864 | diff --git a/protempa-framework/src/main/java/org/protempa/HandleQueryResultThread.java b/protempa-framework/src/main/java/org/protempa/HandleQueryResultThread.java
index <HASH>..<HASH> 100644
--- a/protempa-framework/src/main/java/org/protempa/HandleQueryResultThread.java
+++ b/protempa-framework/src/main/java/org/pro... | Fix bug where exception in QueryResultsHandler.start() causes job to hang without any reported errors. | eurekaclinical_protempa | train | java |
5b3c91141f23b99ce39f6b6c06c99d0d52b95343 | diff --git a/lib/WebSocket.js b/lib/WebSocket.js
index <HASH>..<HASH> 100644
--- a/lib/WebSocket.js
+++ b/lib/WebSocket.js
@@ -512,7 +512,7 @@ function initAsClient(address, protocols, options) {
protocolVersion: protocolVersion,
host: null,
headers: null,
- protocol: null,
+ protocol: protocols.jo... | Add handling of protocols in initAsClient function
The Sec-WebSocket-Protocol are not included in header.
So far it is possible to override this functionality calling new WebSocket("ws://URL",{protocol:"USER DEFINED PROTOCOL"})
(cherry picked from commit c<I>b<I>feca5cb<I>b1f6e<I>c<I>)
resolves #<I>
resolves #<I>
re... | websockets_ws | train | js |
2fb557bcb1ac0964c0bf37028aed8098581c9d23 | diff --git a/chef-server-slice/app/controllers/openid_consumer.rb b/chef-server-slice/app/controllers/openid_consumer.rb
index <HASH>..<HASH> 100644
--- a/chef-server-slice/app/controllers/openid_consumer.rb
+++ b/chef-server-slice/app/controllers/openid_consumer.rb
@@ -18,13 +18,8 @@
#
require 'pathname'
-
requir... | fixed require for openid couchdb cstore vs. filesystem | chef_chef | train | rb |
eac4aecc3df00f9fd3b0444a5d12d5fd0d6a04d8 | diff --git a/src/transformers/pipelines/automatic_speech_recognition.py b/src/transformers/pipelines/automatic_speech_recognition.py
index <HASH>..<HASH> 100644
--- a/src/transformers/pipelines/automatic_speech_recognition.py
+++ b/src/transformers/pipelines/automatic_speech_recognition.py
@@ -300,12 +300,7 @@ class Au... | Remove old debug code leftover. (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
9cbf60279a145cc46740d2d5049bb85a60c8e73d | diff --git a/lib/tempFileHandler.js b/lib/tempFileHandler.js
index <HASH>..<HASH> 100644
--- a/lib/tempFileHandler.js
+++ b/lib/tempFileHandler.js
@@ -1,7 +1,7 @@
const fs = require('fs');
const path = require('path');
-module.exports.tempFileHandler = function(options, fieldname, filename) {
+module.exports = func... | Update tempFileHandler.js
Assign module.exports directly to the main module function(since it is currenlty only one function which could be used from outside). | richardgirges_express-fileupload | train | js |
6e39f5d44569610cc1de03bdba51671bca8c8e54 | diff --git a/stats/stats.go b/stats/stats.go
index <HASH>..<HASH> 100644
--- a/stats/stats.go
+++ b/stats/stats.go
@@ -17,9 +17,12 @@ const (
type SampleOp int
const (
- OpRead = SampleOp(0)
+ // OpRead read from replica
+ OpRead = SampleOp(0)
+ // OpWrite write to replica
OpWrite = SampleOp(1)
- OpPing = Sampl... | stats: added comments to make lint happy | rancher_sparse-tools | train | go |
5207d94ad6c8f4a3fbc36c86e2e92c1ee3677d84 | diff --git a/src/controllers/DashboardController.php b/src/controllers/DashboardController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/DashboardController.php
+++ b/src/controllers/DashboardController.php
@@ -83,5 +83,6 @@ class DashboardController extends BaseController
{
$this->layout = View::... | [fix] missing breadcrumbs var in error.blade.php | MrJuliuss_syntara | train | php,php |
99a1eb33a1d4f777db35e407de943e9820938818 | diff --git a/sprd/manager/DesignConfigurationManager.js b/sprd/manager/DesignConfigurationManager.js
index <HASH>..<HASH> 100644
--- a/sprd/manager/DesignConfigurationManager.js
+++ b/sprd/manager/DesignConfigurationManager.js
@@ -125,8 +125,8 @@ define(["sprd/manager/IDesignConfigurationManager", 'sprd/util/UnitUtil',... | fixed rounding issue, that may lead to an error because images scale over 1 | spreadshirt_rAppid.js-sprd | train | js |
1e7b95cd3d8d31f08a1a827b600e63ce2ab8ad42 | diff --git a/tornado/testing.py b/tornado/testing.py
index <HASH>..<HASH> 100644
--- a/tornado/testing.py
+++ b/tornado/testing.py
@@ -45,17 +45,17 @@ if typing.TYPE_CHECKING:
_NON_OWNED_IOLOOPS = AsyncIOMainLoop
-def bind_unused_port(reuse_port: bool = False) -> Tuple[socket.socket, int]:
+def bind_unused_port(re... | Add 'address' keyword control binded address #<I> | tornadoweb_tornado | 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.