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 |
|---|---|---|---|---|---|
b86c403dc5816392b7d6b379d77586362e58691c | diff --git a/lib/neo4j/rails/railtie.rb b/lib/neo4j/rails/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/neo4j/rails/railtie.rb
+++ b/lib/neo4j/rails/railtie.rb
@@ -15,7 +15,6 @@ module Neo4j
# register migrations in config/initializers
initializer "neo4j.start", :after => :load_config_initializers do |app|... | No need to start up neo4j unless needed. E.g. prevent starting neo4j for rake routes. | neo4jrb_neo4j | train | rb |
42aafbac0073978141147d3ce4ac9a887b224bde | diff --git a/lib/tachikoma_ai/strategies/bundler/gem.rb b/lib/tachikoma_ai/strategies/bundler/gem.rb
index <HASH>..<HASH> 100644
--- a/lib/tachikoma_ai/strategies/bundler/gem.rb
+++ b/lib/tachikoma_ai/strategies/bundler/gem.rb
@@ -2,7 +2,7 @@ require 'rubygems'
require 'json'
module TachikomaAi
- module Bundler
+ ... | :cocktail: Fix the mix of Module and Class | sinsoku_tachikoma_ai | train | rb,rb |
149e40f8acc9355332e0834b2a628017c615d445 | diff --git a/zipline/utils/calendars/calendar_utils.py b/zipline/utils/calendars/calendar_utils.py
index <HASH>..<HASH> 100644
--- a/zipline/utils/calendars/calendar_utils.py
+++ b/zipline/utils/calendars/calendar_utils.py
@@ -33,6 +33,7 @@ _default_calendar_aliases = {
'ICEUS': 'ICE',
'NYFE': 'ICE',
}
+defa... | BUG/ENH: Allow users to switch between calendars (#<I>)
* BUG: Allow users to switch between calendars
You previously could not switch between different calendars because
the `trading_calendar` parameter was not being passed into run_algo
or `TradingAlgorithm`. You now can pass which calendar you'd like to
use v... | quantopian_trading_calendars | train | py |
9696f33acf356506467d4f5db10729d43efa73b4 | diff --git a/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java b/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java
+++ b/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java
@@ -592,7 +592,15 @@ public class SSHLaun... | [FIXED HUDSON-<I>] fallback if SFTP is not available. | jenkinsci_ssh-slaves-plugin | train | java |
704175ac5c4811030a4a53d7a0cf7eaaca4768ed | diff --git a/Gulpfile.js b/Gulpfile.js
index <HASH>..<HASH> 100644
--- a/Gulpfile.js
+++ b/Gulpfile.js
@@ -3,7 +3,7 @@ var express = require('express');
var fs = require('fs');
var gulp = require('gulp');
var lr = require('tiny-lr');
-var path = require('path')
+var path = require('path');
var browserify = requir... | add gulpfile to jshint | tadeuzagallo_zsh.js | train | js |
82b42fffefa31525eef8b6a6545946e447a6a986 | diff --git a/gns3server/version.py b/gns3server/version.py
index <HASH>..<HASH> 100644
--- a/gns3server/version.py
+++ b/gns3server/version.py
@@ -23,8 +23,8 @@
# or negative for a release candidate or beta (after the base version
# number has been incremented)
-__version__ = "2.2.4"
-__version_info__ = (2, 2, 4, 0... | Development on <I>dev1 | GNS3_gns3-server | train | py |
20d3a781decbee60dd675b42303103898df0a429 | diff --git a/pybar/run_manager.py b/pybar/run_manager.py
index <HASH>..<HASH> 100644
--- a/pybar/run_manager.py
+++ b/pybar/run_manager.py
@@ -407,7 +407,7 @@ class RunManager(object):
'''
self.current_run.abort(msg)
- def run_run(self, run, run_conf=None, use_thread=False, catch_exception=True):... | ENH: allow passing conf to run_run | SiLab-Bonn_pyBAR | train | py |
d17105538579fdebf4ea08f47685990850c520bf | diff --git a/h2o-core/src/main/java/water/AutoBuffer.java b/h2o-core/src/main/java/water/AutoBuffer.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/AutoBuffer.java
+++ b/h2o-core/src/main/java/water/AutoBuffer.java
@@ -519,6 +519,8 @@ public /* final */ class AutoBuffer {
assert !_read;
_r... | Fix auto serial test - auto buffer now leaves 2 bytes of the first buffer of data empty to leave space for message size (if the message is small), fixed flipForReading to account for that | h2oai_h2o-3 | train | java |
32fc4e6460842c9b0983008f105b04f77e4b5633 | diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py
index <HASH>..<HASH> 100644
--- a/src/OpenSSL/crypto.py
+++ b/src/OpenSSL/crypto.py
@@ -2450,6 +2450,7 @@ def load_publickey(type, buffer):
pkey = PKey.__new__(PKey)
pkey._pkey = _ffi.gc(evp_pkey, _lib.EVP_PKEY_free)
+ pkey._only_public = True
... | fix a small bug with load_publickey (#<I>)
* fix a small bug with load_publickey
* update docstring, rename test method
* make hynek happy | pyca_pyopenssl | train | py,py |
6a64e11b2f6e4d909357ee7019cab9421fe72b90 | diff --git a/src/test/java/org/la4j/matrix/AbstractMatrixTest.java b/src/test/java/org/la4j/matrix/AbstractMatrixTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/la4j/matrix/AbstractMatrixTest.java
+++ b/src/test/java/org/la4j/matrix/AbstractMatrixTest.java
@@ -2060,4 +2060,25 @@ public abstract class Abst... | added sym matrix predicate test | vkostyukov_la4j | train | java |
138bc33fa38e56787cdae728685946012d584a67 | diff --git a/src/HttpResponse.php b/src/HttpResponse.php
index <HASH>..<HASH> 100644
--- a/src/HttpResponse.php
+++ b/src/HttpResponse.php
@@ -85,7 +85,7 @@ class HttpResponse
public function xml(): ?SimpleXMLElement
{
return simplexml_load_string(
- utf8_encode($this->response->getBody())... | Retrieve Contents instead of Stream for xml | faustbrian_HTTP | train | php |
613031eeeb8cfa5a3037092b3e00c64501cf1c1f | diff --git a/src/NewRelicExceptionHandler.php b/src/NewRelicExceptionHandler.php
index <HASH>..<HASH> 100644
--- a/src/NewRelicExceptionHandler.php
+++ b/src/NewRelicExceptionHandler.php
@@ -41,7 +41,7 @@ class NewRelicExceptionHandler implements ExceptionHandler
*/
public function report(Exception $e)
... | made compatible to new illuminate exception contract from lumen <I> | digiaonline_lumen-newrelic | train | php |
e64a83cdbd3ce836f3339c600c1006b20c23d8fd | diff --git a/activerecord/lib/active_record/enum.rb b/activerecord/lib/active_record/enum.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/enum.rb
+++ b/activerecord/lib/active_record/enum.rb
@@ -54,11 +54,12 @@ module ActiveRecord
# remove unused values, the explicit +Hash+ syntax should be used.... | Updated comment to mention the enum mapping class method [ci skip] | rails_rails | train | rb |
6edaaa27a57b665fecf83fcd4bb8aaebb5ea60bd | diff --git a/lib/deliver/itunes_connect.rb b/lib/deliver/itunes_connect.rb
index <HASH>..<HASH> 100644
--- a/lib/deliver/itunes_connect.rb
+++ b/lib/deliver/itunes_connect.rb
@@ -77,6 +77,11 @@ module Deliver
result = visit ITUNESCONNECT_URL
raise "Could not open iTunesConnect" unless result['status']... | Improved iTC handling if user is already logged in | fastlane_fastlane | train | rb |
b93719aa6efec302d28e65bef6b7f661965e3868 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -3,6 +3,8 @@ var extname = require('path').extname;
var _ = require('lodash');
var Prism = require('prismjs');
var he = require('he');
+var vm = require('vm');
+var fs = require('fs');
var jsonSyntax = re... | pass Prism context when requiring the language plugins | Availity_metalsmith-prism | train | js |
ea335729cf24a9e8a37563a6a2bfa2cb5c2c0e70 | diff --git a/spring-security-jwt/src/test/java/org/springframework/security/jwt/RubyJwtIntegrationTests.java b/spring-security-jwt/src/test/java/org/springframework/security/jwt/RubyJwtIntegrationTests.java
index <HASH>..<HASH> 100644
--- a/spring-security-jwt/src/test/java/org/springframework/security/jwt/RubyJwtInteg... | Clarify usage of ruby integration test | spring-projects_spring-security-oauth | train | java |
15130b74f2e2ae63b587052bd421e6bec6cdb27c | diff --git a/src/Kwf/FileWatcher/Helper/Links.php b/src/Kwf/FileWatcher/Helper/Links.php
index <HASH>..<HASH> 100644
--- a/src/Kwf/FileWatcher/Helper/Links.php
+++ b/src/Kwf/FileWatcher/Helper/Links.php
@@ -9,7 +9,7 @@ class Links
$finder = new Finder();
$finder->directories();
foreach ($excl... | Fix symlink lookup: excludePattern shoud be used as path so it doesn't recurse into excludes paths | koala-framework_file-watcher | train | php |
5a5f61a7e0727dfe3b1e7df3ef3702abdd678993 | diff --git a/test/unit/pseudoimager.js b/test/unit/pseudoimager.js
index <HASH>..<HASH> 100644
--- a/test/unit/pseudoimager.js
+++ b/test/unit/pseudoimager.js
@@ -2,7 +2,6 @@ let path = require("path");
let fs = require("fs");
let lwip = require("lwip");
let Image = require("lwip/lib/image");
-let Sinon = require("s... | We don't use Sinon (yet). | randytarampi_me | train | js |
2d9401fb13625eb000bbaa1f48aa74815fc44125 | diff --git a/src/Composer/Repository/Vcs/GitDriver.php b/src/Composer/Repository/Vcs/GitDriver.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Repository/Vcs/GitDriver.php
+++ b/src/Composer/Repository/Vcs/GitDriver.php
@@ -242,7 +242,7 @@ class GitDriver extends VcsDriver
}
$process = new Proces... | fix bug in GitDriver::supports for remote repo
for some reason it does not work (in packagist) without the $output param. I don't get any error message here, maybe someone has an idea, why?
Anyway, need this ;) | mothership-ec_composer | train | php |
aeb61a2a28aaaf0853de30190009a971455a022c | diff --git a/src/frontend/org/voltdb/compiler/DDLCompiler.java b/src/frontend/org/voltdb/compiler/DDLCompiler.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/compiler/DDLCompiler.java
+++ b/src/frontend/org/voltdb/compiler/DDLCompiler.java
@@ -1689,8 +1689,8 @@ public class DDLCompiler {
... | ENG-<I>: Use role not user group | VoltDB_voltdb | train | java |
78fc4adac6941fb90f45e004b6f1a3246a3a6eda | diff --git a/src/parser/Parser.js b/src/parser/Parser.js
index <HASH>..<HASH> 100644
--- a/src/parser/Parser.js
+++ b/src/parser/Parser.js
@@ -147,15 +147,15 @@ function Parser(source) {
let hasImplicationSymbol = true;
if (_foundToBe(TokenTypes.Symbol, '<-')) {
- clauseNode.addChild(new AstNode(NodeTy... | update -> and <- to be binary operators | lps-js_lps.js | train | js |
00487608f0f4a7ebe6062b0338a2b7dfde256dc9 | diff --git a/src/main/java/cocaine/message/HandshakeMessage.java b/src/main/java/cocaine/message/HandshakeMessage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/cocaine/message/HandshakeMessage.java
+++ b/src/main/java/cocaine/message/HandshakeMessage.java
@@ -1,23 +1,25 @@
package cocaine.message;
+import jav... | Application ID type is changed to java.util.UUID | cocaine_cocaine-framework-java | train | java |
821c81fdd4749208c9731c74f55eca5930cf2a8a | diff --git a/trunk/ipaddr.py b/trunk/ipaddr.py
index <HASH>..<HASH> 100644
--- a/trunk/ipaddr.py
+++ b/trunk/ipaddr.py
@@ -1045,6 +1045,17 @@ class _BaseV4(object):
return self in IPv4Network('224.0.0.0/4')
@property
+ def is_unspecified(self):
+ """Test if the address is unspecified.
+
+ ... | + add IPv4Network().is_unspecified. issue<I>.
(thanks to rep.dot.net for the bug report and patch).
git-svn-id: <URL> | google_ipaddr-py | train | py,py |
4c4b98605227d775613f5535ca84af2aedc5fafa | diff --git a/tasks/ccop.rb b/tasks/ccop.rb
index <HASH>..<HASH> 100644
--- a/tasks/ccop.rb
+++ b/tasks/ccop.rb
@@ -23,7 +23,9 @@ task :ccop do
file_list.each do |file|
corrected = "#{file}_corrected"
begin
- system("indent #{file} -o #{corrected}")
+ result = `indent #{file} -o #{corrected}`
+ ... | Backticks wait for the system command to finish? | deivid-rodriguez_byebug | train | rb |
994054079b81fe24f2278a8d3b9c44e2cb9ca49c | diff --git a/gumble/client.go b/gumble/client.go
index <HASH>..<HASH> 100644
--- a/gumble/client.go
+++ b/gumble/client.go
@@ -190,7 +190,7 @@ func (c *Client) AudioOutgoing() chan<- AudioBuffer {
// pingRoutine sends ping packets to the server at regular intervals.
func (c *Client) pingRoutine() {
- ticker := time... | change sending ping packets every 5 seconds from <I> seconds | layeh_gumble | train | go |
28e6fedcb83a3c3588399cb67f6a14f2c9fc80b8 | diff --git a/allauth/socialaccount/providers/__init__.py b/allauth/socialaccount/providers/__init__.py
index <HASH>..<HASH> 100644
--- a/allauth/socialaccount/providers/__init__.py
+++ b/allauth/socialaccount/providers/__init__.py
@@ -1,3 +1,5 @@
+from collections import OrderedDict
+
from django.conf import settings
... | changed provider_map from dict to OrderedDict to ensure ordering when calling as_choices(). (#<I>) | pennersr_django-allauth | train | py |
7874e2fe08a499336901c397b3fbcc2d3b908b0d | diff --git a/dockermap/map/policy/cache.py b/dockermap/map/policy/cache.py
index <HASH>..<HASH> 100644
--- a/dockermap/map/policy/cache.py
+++ b/dockermap/map/policy/cache.py
@@ -69,8 +69,7 @@ class CachedImages(CachedItems, dict):
if update_latest or full_name not in self:
self._client.pull(repos... | Fix adding multiple images of same repository. | merll_docker-map | train | py |
6f4cf26bca3f82a6efaeaec3530492b974ba04f6 | diff --git a/examples/angular-demo/app/js/directives/heatMap.js b/examples/angular-demo/app/js/directives/heatMap.js
index <HASH>..<HASH> 100644
--- a/examples/angular-demo/app/js/directives/heatMap.js
+++ b/examples/angular-demo/app/js/directives/heatMap.js
@@ -302,6 +302,7 @@ angular.module('heatMapDirective', []).di... | map was not querying for new data after removing filters | NextCenturyCorporation_neon | train | js |
ad5f344c29efb6b328c59d78c53fb09ef57b65eb | diff --git a/cursor.go b/cursor.go
index <HASH>..<HASH> 100644
--- a/cursor.go
+++ b/cursor.go
@@ -2,15 +2,13 @@ package disruptor
import "sync/atomic"
-type Cursor [cpuCacheLinePadding]int64
+type Cursor [8]int64 // prevent false sharing of the cursor by padding the CPU cache line with 64 *bytes* of data.
func... | Inlined constant; revised constructor. | smartystreets_go-disruptor | train | go |
95f54dee9bc80c1ccf28ff094e7307923d1e2bfb | diff --git a/openquake/engine/tools/load_hazards.py b/openquake/engine/tools/load_hazards.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/tools/load_hazards.py
+++ b/openquake/engine/tools/load_hazards.py
@@ -60,6 +60,9 @@ def transfer_data(curs, model, **foreign_keys):
conn = curs.connection
+ # FIXM... | added comment explaining why I am temporarly altering the tables | gem_oq-engine | train | py |
e354d67d5e34d6105f88d2f5109282c3ddb8060a | diff --git a/master/buildbot/process/buildstep.py b/master/buildbot/process/buildstep.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/process/buildstep.py
+++ b/master/buildbot/process/buildstep.py
@@ -57,6 +57,7 @@ from buildbot.process.results import SUCCESS
from buildbot.process.results import WARNINGS
from b... | Make sure that html is a native string | buildbot_buildbot | train | py |
2b3aa068c9bd43f5585a61ecbf5d9f4649646f0c | diff --git a/polyaxon/hpsearch/search_managers/bayesian_optimization/manager.py b/polyaxon/hpsearch/search_managers/bayesian_optimization/manager.py
index <HASH>..<HASH> 100644
--- a/polyaxon/hpsearch/search_managers/bayesian_optimization/manager.py
+++ b/polyaxon/hpsearch/search_managers/bayesian_optimization/manager.... | Handle missing experiments in suggestion algorithms gracefully | polyaxon_polyaxon | train | py |
0264d775453293e6ecde6612bf776ea4b9a948a3 | diff --git a/cmd/influx_inspect/tsm.go b/cmd/influx_inspect/tsm.go
index <HASH>..<HASH> 100644
--- a/cmd/influx_inspect/tsm.go
+++ b/cmd/influx_inspect/tsm.go
@@ -549,7 +549,7 @@ func cmdDumpTsm1dev(opts *tsdmDumpOpts) {
buf := make([]byte, e.Size-4)
f.Read(buf)
- blockSize += int64(len(buf)) + 4
+ blockS... | Fix block sizes reported by influx_inspect | influxdata_influxdb | train | go |
a8903de681e5a68f246b119e987aa79412035efe | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ extras_require={
':python_version>="3"': ['avro-python3']}
setup(name='schema-salad',
- version='3.0',
+ version='2.5.1',
description='Schema Annotations for Linked Avro Data (SALAD)',
... | setup.py: change version, uncomment classifiers for py3 | common-workflow-language_schema_salad | train | py |
75fe384c81c68217f49dc5ccba408cdd00766f8d | diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb
index <HASH>..<HASH> 100644
--- a/actionmailer/test/abstract_unit.rb
+++ b/actionmailer/test/abstract_unit.rb
@@ -26,7 +26,7 @@ I18n.enforce_available_locales = false
FIXTURE_LOAD_PATH = File.expand_path('fixtures', File.dirname(__FIL... | Rails is a module not a class | rails_rails | train | rb |
8859848ec048957fe8a0affa52ceeecd34d89b6a | diff --git a/nunaliit2-js/src/main/js/nunaliit2/n2.couchImportProfile.js b/nunaliit2-js/src/main/js/nunaliit2/n2.couchImportProfile.js
index <HASH>..<HASH> 100644
--- a/nunaliit2-js/src/main/js/nunaliit2/n2.couchImportProfile.js
+++ b/nunaliit2-js/src/main/js/nunaliit2/n2.couchImportProfile.js
@@ -1371,6 +1371,12 @@ va... | nunaliit2-js: When importing data via an import profile, do not include
an empty section "nunaliit_attachments"
Issue #<I> | GCRC_nunaliit | train | js |
f8d0014a9daf5361ca14cb44411d8c574b96a3f2 | diff --git a/src/main/java/com/synopsys/integration/blackduck/notification/content/detail/NotificationContentDetail.java b/src/main/java/com/synopsys/integration/blackduck/notification/content/detail/NotificationContentDetail.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/synopsys/integration/blackduck/notifi... | Correct logic for determining the type of a NotificationContentDetail. | blackducksoftware_blackduck-common | train | java |
851b620b325701b619f7531b97688c79b5ee2ebe | diff --git a/lib/regexp_parser/expression/classes/backref.rb b/lib/regexp_parser/expression/classes/backref.rb
index <HASH>..<HASH> 100644
--- a/lib/regexp_parser/expression/classes/backref.rb
+++ b/lib/regexp_parser/expression/classes/backref.rb
@@ -16,7 +16,7 @@ module Regexp::Expression
attr_reader :number
... | Fix number attribute for traditional backref expressions | ammar_regexp_parser | train | rb |
5389bcf4fb587f10461439a06bb845a7101232c5 | diff --git a/src/image-preview/index.js b/src/image-preview/index.js
index <HASH>..<HASH> 100644
--- a/src/image-preview/index.js
+++ b/src/image-preview/index.js
@@ -54,6 +54,7 @@ const ImagePreview = (images, startPosition = 0) => {
});
if (options.onClose) {
+ instance.$off('close');
instance.$once('... | fix(ImagePreview): onClose should only trigger once (#<I>) | youzan_vant | train | js,js |
20273fec2a18652551132b1b8adde1b08c903260 | diff --git a/Propel/Behavior/Tos/templates/queryHaveNotAgreedToAnyTerms.php b/Propel/Behavior/Tos/templates/queryHaveNotAgreedToAnyTerms.php
index <HASH>..<HASH> 100644
--- a/Propel/Behavior/Tos/templates/queryHaveNotAgreedToAnyTerms.php
+++ b/Propel/Behavior/Tos/templates/queryHaveNotAgreedToAnyTerms.php
@@ -8,7 +8,7 ... | removed TODO of already taken care issue | coopers-peele_CPTermsBundle | train | php |
96b21e1e835790f3e2e7593642e4e41a0ed505bf | diff --git a/lib/sprout/generator.rb b/lib/sprout/generator.rb
index <HASH>..<HASH> 100644
--- a/lib/sprout/generator.rb
+++ b/lib/sprout/generator.rb
@@ -88,14 +88,21 @@ module Sprout
# suggest[http://groups.google.com/group/projectsprouts/] any improvements to
# the Google Group.
#
- # @see Sprout::Generat... | Updated interface to be compatible with existing generators | lukebayes_project-sprouts | train | rb |
96be54f99a092b95f8694a38e0942f6c84bc097b | diff --git a/c7n/filters/core.py b/c7n/filters/core.py
index <HASH>..<HASH> 100644
--- a/c7n/filters/core.py
+++ b/c7n/filters/core.py
@@ -271,7 +271,7 @@ class ValueFilter(Filter):
elif self.expr:
r = self.expr.search(i)
else:
- self.expr = jmespath.compile(self.k)
+ ... | get resource value should be using passed value of key not instance value (#<I>) | cloud-custodian_cloud-custodian | train | py |
15bcad790dc06d39d15e7e5d5ea7f8c5b840b602 | diff --git a/lib/rubocop/config_loader.rb b/lib/rubocop/config_loader.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/config_loader.rb
+++ b/lib/rubocop/config_loader.rb
@@ -153,12 +153,7 @@ module RuboCop
warn Rainbow('For more information: https://docs.rubocop.org/rubocop/versioning.html').yellow
end... | Remove duplicated comment
This comment already exists in the ConfigLoaderResolver. I think that
level of details is a better fit there and it doesn't make sense to
maintain it duplicated. | rubocop-hq_rubocop | train | rb |
db4ca1f75640c801947e1e080726acdd0e374ed7 | diff --git a/crypto/src/main/java/org/springframework/security/crypto/password/NoOpPasswordEncoder.java b/crypto/src/main/java/org/springframework/security/crypto/password/NoOpPasswordEncoder.java
index <HASH>..<HASH> 100644
--- a/crypto/src/main/java/org/springframework/security/crypto/password/NoOpPasswordEncoder.jav... | Document NoOpPasswordEncoder will not be removed
This commit adds extension to deprecation notice.
Fixes gh-<I> | spring-projects_spring-security | train | java |
957acb91f3275e0f1e69716551721ec9dd8a6235 | diff --git a/gulpTaskFactory.js b/gulpTaskFactory.js
index <HASH>..<HASH> 100644
--- a/gulpTaskFactory.js
+++ b/gulpTaskFactory.js
@@ -12,7 +12,7 @@ var concat = require('gulp-concat'),
exports.gulpTaskFactory = function(gulpTask, options) {
var task = function (gulpTask, options) {
- var isJs = gulpTask.toString... | Fixing gulpTaskFactory to work in older versions of nodejs. | m4l1c3_gulp-bundle-files | train | js |
cdca7de94e94b80bd064463dd802e92eb8156daf | diff --git a/app/utils.js b/app/utils.js
index <HASH>..<HASH> 100644
--- a/app/utils.js
+++ b/app/utils.js
@@ -112,7 +112,7 @@ _.extend(Helper.prototype, {
},
setExecutable: function(filePath) {
- fs.chownSync(this.$.destinationPath(filePath), '755');
+ fs.chmodSync(this.$.destinationPath(file... | fix setting executable flag for gradlew | xvik_generator-lib-java | train | js |
8292110aa234df2a2826905edaebcbc79961d363 | diff --git a/tests/py/test_unittest.py b/tests/py/test_unittest.py
index <HASH>..<HASH> 100644
--- a/tests/py/test_unittest.py
+++ b/tests/py/test_unittest.py
@@ -19,10 +19,17 @@
import unittest
-def assertMultiLineEqual(self, a, b, msg=None): self.assertEqual(a,b,msg)
-unittest.TestCase.assertMultiLineEqual = ass... | NO-JIRA: [c,cpp] fix monkey-patch of python <I> unittest features for python <I>
Don't apply patch on versions that have the feature. | apache_qpid-proton | train | py |
c61ec17dd124c48679e448a8ed345a98b33d3d38 | diff --git a/autograder_sandbox/autograder_sandbox.py b/autograder_sandbox/autograder_sandbox.py
index <HASH>..<HASH> 100644
--- a/autograder_sandbox/autograder_sandbox.py
+++ b/autograder_sandbox/autograder_sandbox.py
@@ -111,7 +111,8 @@ class AutograderSandbox:
The default value for this parameter can be... | Fixed pycodestyle warning. | eecs-autograder_autograder-sandbox | train | py |
7c2fce23a4e557bb38bc5ebabbb6466784191d6b | diff --git a/packages/adapters/snapshot-adapters/resolve-snapshot-mysql/src/index.js b/packages/adapters/snapshot-adapters/resolve-snapshot-mysql/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/adapters/snapshot-adapters/resolve-snapshot-mysql/src/index.js
+++ b/packages/adapters/snapshot-adapters/resolve-snaps... | Hotfixing snapshot mysql adapter stringifying conent (#<I>) | reimagined_resolve | train | js |
4fc23d2b8632546255956ff1ad2723851f0967f5 | diff --git a/src/Validators/PayloadValidator.php b/src/Validators/PayloadValidator.php
index <HASH>..<HASH> 100644
--- a/src/Validators/PayloadValidator.php
+++ b/src/Validators/PayloadValidator.php
@@ -62,7 +62,7 @@ class PayloadValidator extends Validator
*/
protected function validateStructure(array $payl... | Use array_diff to check presence of required claims | tymondesigns_jwt-auth | train | php |
77a1c9cc44a0ffe737ce2ac22662cf427ed8e82a | diff --git a/lib/App/index.js b/lib/App/index.js
index <HASH>..<HASH> 100644
--- a/lib/App/index.js
+++ b/lib/App/index.js
@@ -29,9 +29,9 @@ const VALIDATION_LEVELS = [
'publish',
];
const IMAGE_MARKERS = {
- '.jpg': new Buffer([ 0xFF, 0xD8 ]),
- '.jpeg': new Buffer([ 0xFF, 0xD8 ]),
- '.png': new Buffer([ 0x89,... | new Buffer -> Buffer.from | athombv_node-homey-lib | train | js |
6a7836cddcf3ae0322e76cd5f79f6dd9ea73a09c | diff --git a/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java b/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
index <HASH>..<HASH> 100644
--- a/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
+++ b/mllib/src/test/java/org/apache/spark/... | Fixing closing brace indentation | apache_spark | train | java |
fde732e0e9a4f224c5ae48ad942c6d955aa0a8e6 | diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index <HASH>..<HASH> 100644
--- a/pylint/__pkginfo__.py
+++ b/pylint/__pkginfo__.py
@@ -22,7 +22,7 @@
from os.path import join
# For an official release, use dev_version = None
-numversion = (2, 4, 1)
+numversion = (2, 4, 2)
dev_version = None
version =... | Bump master to <I> | PyCQA_pylint | train | py |
1ca5872a5a67bf8aa44f04650d87b42011cb7463 | diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go
index <HASH>..<HASH> 100644
--- a/internal/plugin/plugin.go
+++ b/internal/plugin/plugin.go
@@ -33,6 +33,14 @@ var (
"myplugin": myplugin.CommandOptions,
"otherplugin": otherplugin.CommandOptions,
}
+ CacheableComponents = []component.Type{
+... | Define component types which can be cached | hashicorp_vagrant | train | go |
09b5d952ca3ba423da318045907df7b13555a835 | diff --git a/lib/cabbage_doc/web.rb b/lib/cabbage_doc/web.rb
index <HASH>..<HASH> 100644
--- a/lib/cabbage_doc/web.rb
+++ b/lib/cabbage_doc/web.rb
@@ -11,6 +11,8 @@ module CabbageDoc
ROOT = File.expand_path("../../../web", __FILE__).freeze
set :root, proc {
+ Configuration.instance.validate!
+
d... | validate configuration in the mountable sinatra app | kapost_cabbage_doc | train | rb |
f34031126ea2f5cb57ae9285320e5e36c71f5d43 | diff --git a/lib/jasmine_rails/runner.rb b/lib/jasmine_rails/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/jasmine_rails/runner.rb
+++ b/lib/jasmine_rails/runner.rb
@@ -13,7 +13,7 @@ module JasmineRails
File.open(runner_path, 'w') {|f| f << html.gsub('/assets', './assets')}
phantomjs_runner_pa... | use phantomjs path if it's not in PATH | searls_jasmine-rails | train | rb |
ba5fb5a2eb213b654b03247488327b8db1a52f32 | diff --git a/raft/src/main/java/net/kuujo/copycat/raft/Raft.java b/raft/src/main/java/net/kuujo/copycat/raft/Raft.java
index <HASH>..<HASH> 100644
--- a/raft/src/main/java/net/kuujo/copycat/raft/Raft.java
+++ b/raft/src/main/java/net/kuujo/copycat/raft/Raft.java
@@ -331,8 +331,6 @@ public class Raft implements Protocol... | Allow Raft algorithm to be started without a log. | atomix_atomix | train | java |
51ad6d41ca95a0128191bb2317a73029504881ac | diff --git a/keanu-project/src/test/java/io/improbable/keanu/network/BayesianNetworkTest.java b/keanu-project/src/test/java/io/improbable/keanu/network/BayesianNetworkTest.java
index <HASH>..<HASH> 100644
--- a/keanu-project/src/test/java/io/improbable/keanu/network/BayesianNetworkTest.java
+++ b/keanu-project/src/test... | fixed compile error in test after merge | improbable-research_keanu | train | java |
be09e5a90dc759d86c6a96f89e5e9c82cb9f1cae | diff --git a/cake/libs/folder.php b/cake/libs/folder.php
index <HASH>..<HASH> 100644
--- a/cake/libs/folder.php
+++ b/cake/libs/folder.php
@@ -530,7 +530,10 @@ class Folder extends Object{
* @return boolean Success
* @access public
*/
- function delete($path) {
+ function delete($path = null) {
+ if (!$path) {
+... | closes #<I>, Folder delete does not require path
git-svn-id: <URL> | cakephp_cakephp | train | php,php |
4ac0e7fd0cb30597e54c3ad87a2895d1165eb3fc | diff --git a/inc/posttype/namespace.php b/inc/posttype/namespace.php
index <HASH>..<HASH> 100644
--- a/inc/posttype/namespace.php
+++ b/inc/posttype/namespace.php
@@ -71,7 +71,7 @@ function register_post_types() {
'capability_type' => 'page',
'has_archive' => true,
'hierarchical' => true,
- 'supports' => ... | Add revisions support to parts (#<I>) | pressbooks_pressbooks | train | php |
cf47b4dd84d76db66b194a12177a75e067b3b16f | diff --git a/Tests/Command/InfoDoctrineCommandTest.php b/Tests/Command/InfoDoctrineCommandTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Command/InfoDoctrineCommandTest.php
+++ b/Tests/Command/InfoDoctrineCommandTest.php
@@ -25,9 +25,6 @@ class InfoDoctrineCommandTest extends TestCase
$testContainer = $this-... | changed Application to have nice error messages when something bad happens early on the CLI | doctrine_DoctrineBundle | train | php |
57c703ea62b881e094fca673db3b074965d3f401 | diff --git a/monty/pprint.py b/monty/pprint.py
index <HASH>..<HASH> 100644
--- a/monty/pprint.py
+++ b/monty/pprint.py
@@ -5,7 +5,8 @@ Pretty printing functions.
from io import StringIO
import sys
-
+from json import JSONEncoder, loads
+from IPython.display import JSON, display
def pprint_table(table, out=sys.st... | added helper function to display tree-like objects
fixed | materialsvirtuallab_monty | train | py |
168ffa2e130f874223251bf0062c21645daf39af | diff --git a/raven/utils/http.py b/raven/utils/http.py
index <HASH>..<HASH> 100644
--- a/raven/utils/http.py
+++ b/raven/utils/http.py
@@ -48,7 +48,11 @@ def urlopen(url, data=None, timeout=defaults.TIMEOUT, ca_certs=None,
if verify_ssl:
handlers = [ValidHTTPSHandler]
else:
- handlers = []
+ ... | Fix disabling of ssl certs check with python <I>/<I> | getsentry_raven-python | train | py |
50759ee2b14fe8b6cf3108172db156d67826dc1c | diff --git a/lib/ApiWeb.php b/lib/ApiWeb.php
index <HASH>..<HASH> 100644
--- a/lib/ApiWeb.php
+++ b/lib/ApiWeb.php
@@ -335,6 +335,10 @@ class ApiWeb extends ApiCLI {
// }}}
// {{{ Miscelanious Functions
+ /** Render only specified object or object with specified name */
+ function cut($object){
+ ... | A better way to cut an object, instead of messing with _GET directly | atk4_atk4 | train | php |
d09cd9ef89e9860c7b972cba9fcb1736f4de17c7 | diff --git a/lib/node_modules/@stdlib/repl/lib/context/regexp/index.js b/lib/node_modules/@stdlib/repl/lib/context/regexp/index.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/repl/lib/context/regexp/index.js
+++ b/lib/node_modules/@stdlib/repl/lib/context/regexp/index.js
@@ -7,6 +7,9 @@ var NS = {};
v... | Add dirname RegExps to REPL context | stdlib-js_stdlib | train | js |
5b526c5cb7dcc8eb97eb420898fc2456cf2bcd42 | diff --git a/core/src/main/java/io/undertow/util/ImmediateAuthenticationMechanismFactory.java b/core/src/main/java/io/undertow/util/ImmediateAuthenticationMechanismFactory.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/undertow/util/ImmediateAuthenticationMechanismFactory.java
+++ b/core/src/main/java/io/... | Fixed NPE and problem in which custom AuthenticationMechanisms aren't used
The DeploymentInfo wraps an AuthenticationMechanism with a
ImmediateAuthenticationMechanismFactory. However, that factory always returns
null when create() is called. Fix is to simply returns the AuthenticationMechanism
that was provided to i... | undertow-io_undertow | train | java |
f612ebd2d32516d61ca1d573d5861b5252c7a878 | diff --git a/bin/release.py b/bin/release.py
index <HASH>..<HASH> 100755
--- a/bin/release.py
+++ b/bin/release.py
@@ -329,7 +329,7 @@ def release():
prettyprint("Step 6: Uploading Artifacts", Levels.INFO)
do_task(upload_artifacts, [base_dir, version], async_processes)
- do_task(upload_artifacts, [base_dir %... | ISPN-<I> Issue with the release script (bin/release.py) | infinispan_infinispan | train | py |
d0e37979ccbe9e1e7fa237f41d6fca47e8d9481a | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,3 +11,4 @@ exports.RangeIterator = require('./lib/RangeIterator');
exports.SubsetIterator = require('./lib/SubsetIterator');
exports.PermutationIterator = require('./lib/PermutationIterator');
exports.TransformIterator ... | Oops, need to actually expose RepeatIterator to be able to use it | thelonious_kld-array-iterators | train | js |
cb714803f8b09ae483659eb4108e28184748e928 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -2582,6 +2582,7 @@
// Reset the input to correspond to the selection (or to be empty,
// when not typing and nothing is selected)
function resetInput(cm, typing) {
+ if (cm.displ... | Prevent resetInput from breaking context menu 'select all' in FF
Closes #<I> | codemirror_CodeMirror | train | js |
2344247d0eb665ff5a6ed20b3776b27f4ffc1838 | diff --git a/test/simple.test.js b/test/simple.test.js
index <HASH>..<HASH> 100644
--- a/test/simple.test.js
+++ b/test/simple.test.js
@@ -47,13 +47,6 @@ test('GET /_ping => pong', async (t) => {
t.true(stdout[0].includes('GET /_ping'))
})
-test('GET /_routes => 200 with routes', async (t) => {
- const { statusCod... | test: Remove _routes test | mono-js_mono | train | js |
30596d2f67fb334e86a4302c02c91086509b30de | diff --git a/lib/handlers/ReactNative.js b/lib/handlers/ReactNative.js
index <HASH>..<HASH> 100644
--- a/lib/handlers/ReactNative.js
+++ b/lib/handlers/ReactNative.js
@@ -469,7 +469,21 @@ class RecvHandler extends Handler
const localId = id;
const mid = kind;
- const streamId = rtpParameters.rtcp.cname;
+ let... | Hack for #<I> (to avoid bug in ObjC bindings of libwebrtc in iOS) | versatica_mediasoup-client | train | js |
2a21ce52b873c7656882c9103517ad339fab5877 | diff --git a/spec/features/thredded/user_replies_to_post_spec.rb b/spec/features/thredded/user_replies_to_post_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/features/thredded/user_replies_to_post_spec.rb
+++ b/spec/features/thredded/user_replies_to_post_spec.rb
@@ -73,8 +73,10 @@ feature 'User replying to topic' do
... | Fix flaky user_replies_to_post_spec.rb
Avoid creating users with the same prefix as the user we auto-complete.
Example failure: <URL> | thredded_thredded | train | rb |
424ee7f1b7de0dcff7f06c87687f9cd8161671ba | diff --git a/dvc/tree/base.py b/dvc/tree/base.py
index <HASH>..<HASH> 100644
--- a/dvc/tree/base.py
+++ b/dvc/tree/base.py
@@ -3,7 +3,7 @@ import json
import logging
import tempfile
from concurrent.futures import ThreadPoolExecutor, as_completed
-from functools import partial, wraps
+from functools import partial
f... | tree: remove duplicated code (#<I>)
Leftover from remote/tree separation. | iterative_dvc | train | py |
4e882a9c3351a961a356dc1570f24ae9de8b386f | diff --git a/php/WP_CLI/CommandWithTranslation.php b/php/WP_CLI/CommandWithTranslation.php
index <HASH>..<HASH> 100644
--- a/php/WP_CLI/CommandWithTranslation.php
+++ b/php/WP_CLI/CommandWithTranslation.php
@@ -178,6 +178,7 @@ abstract class CommandWithTranslation extends \WP_CLI_Command {
'language' => 'en_US',
... | Prevent error caused by #<I> by ensuring item confirms to expected | wp-cli_export-command | train | php |
251cafe5e4eec2b8214fc59a72537d8b28d280f7 | diff --git a/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb b/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
index <HASH>..<HASH> 100644
--- a/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
+++ b/plugins/providers/virtualbox/action/destroy_un... | Call the rest of the middleware stack all the time. | hashicorp_vagrant | train | rb |
b2d7eb89e82c94a140180dc84c467fc13b00e00f | diff --git a/lib/dm-core/associations/many_to_many.rb b/lib/dm-core/associations/many_to_many.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/associations/many_to_many.rb
+++ b/lib/dm-core/associations/many_to_many.rb
@@ -233,6 +233,12 @@ module DataMapper
raise NotImplementedError
end
+ d... | Stubbed more of ManyToMany::Collection | datamapper_dm-core | train | rb |
487b741947c10bbceb854b7357dad43ac4222f98 | diff --git a/src/lib/generator.js b/src/lib/generator.js
index <HASH>..<HASH> 100644
--- a/src/lib/generator.js
+++ b/src/lib/generator.js
@@ -14,6 +14,7 @@ import generateEditorconfig from './subgenerators/generate-swap-editorconfig/gen
import generateNpmrc from './subgenerators/generate-swap-npmrc/generator'
import... | register swap-main as sub-generator | sirap-group_generate-swap-project | train | js |
2c971c53ca347708af01a64bed325cdc9e66c859 | diff --git a/lib/lentil/instagram_harvester.rb b/lib/lentil/instagram_harvester.rb
index <HASH>..<HASH> 100644
--- a/lib/lentil/instagram_harvester.rb
+++ b/lib/lentil/instagram_harvester.rb
@@ -20,7 +20,7 @@ module Lentil
def configure_connection(opts = {})
opts['client_id'] ||= Lentil::Engine::APP_CONFIG[... | Look for access_token in config file | NCSU-Libraries_lentil | train | rb |
aa5655dddf5fa153a271f746c5e2605a1aa681c1 | diff --git a/src/Extension/ConfigTrait.php b/src/Extension/ConfigTrait.php
index <HASH>..<HASH> 100644
--- a/src/Extension/ConfigTrait.php
+++ b/src/Extension/ConfigTrait.php
@@ -49,7 +49,11 @@ trait ConfigTrait
$filesystem->getFile(sprintf('config://extensions/%s.%s.yml', strtolower($this->getName()), strtolo... | Throw & catch an exception if and extension is missing config.yml.dist | bolt_bolt | train | php |
9a98be5ad08813d532694f95c480b0bcbecd0da6 | diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -242,12 +242,8 @@ class Chef
raise Chef::Exceptions::RedirectLimitExceeded if @redirects_followed >= redirect_limit
@redirects_followed += 1
Chef::Log.debug("Following redir... | Remove references to authenticator from base HTTP class | chef_chef | train | rb,rb |
c79c74a2d655a5cc5d0f9defc3816a17433279ae | diff --git a/GPy/testing/link_function_tests.py b/GPy/testing/link_function_tests.py
index <HASH>..<HASH> 100644
--- a/GPy/testing/link_function_tests.py
+++ b/GPy/testing/link_function_tests.py
@@ -7,7 +7,6 @@ _lim_val_exp = np.log(_lim_val)
_lim_val_square = np.sqrt(_lim_val)
_lim_val_cube = cbrt(_lim_val)
from GP... | tidied link_fn tests | SheffieldML_GPy | train | py |
0d9efeb839733e62bb22a8323c75bccd844f1f35 | diff --git a/src/semantic_tree/semantic_tree.js b/src/semantic_tree/semantic_tree.js
index <HASH>..<HASH> 100644
--- a/src/semantic_tree/semantic_tree.js
+++ b/src/semantic_tree/semantic_tree.js
@@ -1028,11 +1028,16 @@ sre.SemanticTree.prototype.processRelationsInRow_ = function(nodes) {
var children = partition.com... | Slightly less intrusive change of semantic tree structure:
Giving the multirel element a role if all the children roles are the same. | zorkow_speech-rule-engine | train | js |
9253e427db4bce9a154f840e4cb833b8c8c1f6f8 | diff --git a/wallace/nodes.py b/wallace/nodes.py
index <HASH>..<HASH> 100644
--- a/wallace/nodes.py
+++ b/wallace/nodes.py
@@ -4,6 +4,7 @@ from wallace.models import Node, Info
from wallace.information import State
import random
from sqlalchemy import and_
+from sqlalchemy.ext.hybrid import hybrid_property
clas... | make fitness a hybrid_property with a setter | berkeley-cocosci_Wallace | train | py |
0746ae3966a1d364025c9c98db61976edc4533de | diff --git a/lib/Gitlab/Api/Projects.php b/lib/Gitlab/Api/Projects.php
index <HASH>..<HASH> 100644
--- a/lib/Gitlab/Api/Projects.php
+++ b/lib/Gitlab/Api/Projects.php
@@ -828,7 +828,7 @@ class Projects extends AbstractApi
*/
public function removeShare($project_id, $group_id)
{
- return $this->de... | fix Projects::removeShare (service/ was used instead of share/) | m4tthumphrey_php-gitlab-api | train | php |
e86c955dc8047a2d6489b2ad0a85c9a5de2f37a3 | diff --git a/pypsa/linopf.py b/pypsa/linopf.py
index <HASH>..<HASH> 100644
--- a/pypsa/linopf.py
+++ b/pypsa/linopf.py
@@ -244,6 +244,10 @@ def define_ramp_limit_constraints(n, sns, c):
return
fix_i = get_non_extendable_i(n, c)
ext_i = get_extendable_i(n, c)
+ if "committable" in n.df(c):
+ ... | moved the `committable` conditional | PyPSA_PyPSA | train | py |
1953f9310f4d8eca79eb4f67e98e5d833c5daf4c | diff --git a/pkg/minikube/download/preload.go b/pkg/minikube/download/preload.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/download/preload.go
+++ b/pkg/minikube/download/preload.go
@@ -41,7 +41,7 @@ const (
// PreloadVersion is the current version of the preloaded tarball
//
// NOTE: You may need to bump th... | Increase preload version to v6
We upgraded the dashboard image in #<I>, this will rebuild tarballs to include the latest version.
This should also fix a small performance regression, where start time was increased by <I>% on kvm2, probably becaues we were waiting for the new dashboard image to download. [PR bot comme... | kubernetes_minikube | train | go |
1239f6fe2ca74b24ec31af36b8f79e13fa0dfea9 | diff --git a/django_extensions/management/commands/sqldiff.py b/django_extensions/management/commands/sqldiff.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/sqldiff.py
+++ b/django_extensions/management/commands/sqldiff.py
@@ -449,7 +449,7 @@ class SQLDiff(object):
table_name = ... | add cli support for adding proxy models back in the diff | django-extensions_django-extensions | train | py |
42ed39fdc2bb08208e0dd089757696ced069c446 | diff --git a/mesh_tensorflow/transformer/transformer.py b/mesh_tensorflow/transformer/transformer.py
index <HASH>..<HASH> 100644
--- a/mesh_tensorflow/transformer/transformer.py
+++ b/mesh_tensorflow/transformer/transformer.py
@@ -997,7 +997,7 @@ class Unitransformer(object):
mesh_shape=self.mesh_shape,
... | Revert a mistake I made in cl/<I> . This should fix beam search.
PiperOrigin-RevId: <I> | tensorflow_mesh | train | py |
c19dfcb9b2310a03f7942429996be86e988d204e | diff --git a/baggageclaimcmd/driver_linux.go b/baggageclaimcmd/driver_linux.go
index <HASH>..<HASH> 100644
--- a/baggageclaimcmd/driver_linux.go
+++ b/baggageclaimcmd/driver_linux.go
@@ -51,7 +51,7 @@ func (cmd *BaggageclaimCommand) driver(logger lager.Logger) (volume.Driver, erro
volumesDir := cmd.VolumesDir.Path(... | baggageclaimcmd: fix build issues on <I>bit platforms
fsStat.Type is int<I> on <I>bit platforms and 0x<I>e overflows it. | concourse_baggageclaim | train | go |
5d3d88e09079d0591d7c1f6a703df164b63d43c0 | diff --git a/code/plugins/system/koowa/pattern/observer.php b/code/plugins/system/koowa/pattern/observer.php
index <HASH>..<HASH> 100644
--- a/code/plugins/system/koowa/pattern/observer.php
+++ b/code/plugins/system/koowa/pattern/observer.php
@@ -25,7 +25,7 @@ interface KPatternObserver
* @param object An associativ... | Update method should use KConfig instead of ArrayObject as parameter. | joomlatools_joomlatools-framework | train | php |
7bb0550a0dd2aa1e16a00268dd6c1f58f69d7285 | diff --git a/core-bundle/contao/library/Contao/Database/Updater.php b/core-bundle/contao/library/Contao/Database/Updater.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/library/Contao/Database/Updater.php
+++ b/core-bundle/contao/library/Contao/Database/Updater.php
@@ -375,6 +375,14 @@ class Updater extends \C... | [Core] Make sure the jQuery related database fields exist when the version <I> update is executed (see <I>) | contao_contao | train | php |
eb40f6f892b0fd8eb81e3f1a40dcc3205f8eaf93 | diff --git a/tests/test_pipenv.py b/tests/test_pipenv.py
index <HASH>..<HASH> 100644
--- a/tests/test_pipenv.py
+++ b/tests/test_pipenv.py
@@ -843,6 +843,29 @@ requests = "*"
c = p.pipenv('install')
assert c.return_code == 0
+ @pytest.mark.extras
+ @pytest.mark.lock
+ @pytest.mark.r... | Test confirming that deep extras resolves works | pypa_pipenv | train | py |
5623fcf52e4cd624dc1a0ccecb0587f6eb181ffe | diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_ssl.py
+++ b/cheroot/test/test_ssl.py
@@ -31,8 +31,6 @@ from ..testing import (
IS_LIBRESSL_BACKEND = ssl.OPENSSL_VERSION.startswith('LibreSSL')
PY27 = sys.version_info[:2] == (2, 7)
-PY37 = sys.vers... | Expect nice behavior from py3+pyopenssl | cherrypy_cheroot | train | py |
5343057dbc9c327955d16bec0237ebe996053e90 | diff --git a/lib/data_mapper.rb b/lib/data_mapper.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper.rb
+++ b/lib/data_mapper.rb
@@ -108,4 +108,7 @@ module DataMapper
Repository.context.pop
end
end
+
+ # A logger should always be present.
+ Logger.new(nil, 7)
end | Don't blow up when there's no logger set. | datamapper_dm-core | train | rb |
4550389480c1a43a954b3082537b18cad84d388e | diff --git a/lib/mongo/types/objectid.rb b/lib/mongo/types/objectid.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/types/objectid.rb
+++ b/lib/mongo/types/objectid.rb
@@ -124,6 +124,12 @@ module Mongo
legacy
end
+ # Returns the utc time at which this ObjectID was generated. This may
+ # be used in l... | Added generation_time method on ObjectID | mongodb_mongo-ruby-driver | train | rb,rb |
76b358de7fd4bc6d2400ee3202d38ca62e6df802 | diff --git a/RemexHtml/DOM/DOMBuilder.php b/RemexHtml/DOM/DOMBuilder.php
index <HASH>..<HASH> 100644
--- a/RemexHtml/DOM/DOMBuilder.php
+++ b/RemexHtml/DOM/DOMBuilder.php
@@ -58,7 +58,7 @@ class DOMBuilder implements TreeHandler {
private $isFragment;
/** @var bool */
- private $coerced;
+ private $coerced = fals... | Fix missing initialization for DOMBuilder::$coerced
Because this wasn't initialized, DOMBuilder::isCoerced would return
`null` instead of `false`. That's still a falsey value, so would only
bite the called if (eg) they explicitly tested against `false`.
Change-Id: Ia<I>b<I>e1d3d<I>efd<I>af3ffb4dabc<I> | wikimedia_remex-html | train | php |
e9a7891c7fea2036e797d85b7050678973bca45b | diff --git a/lib/src/main/java/com/ibm/mobilefirstplatform/clientsdk/android/analytics/api/MFPAnalytics.java b/lib/src/main/java/com/ibm/mobilefirstplatform/clientsdk/android/analytics/api/MFPAnalytics.java
index <HASH>..<HASH> 100644
--- a/lib/src/main/java/com/ibm/mobilefirstplatform/clientsdk/android/analytics/api/M... | Delete unused text from MFPAnalytics. | ibm-bluemix-mobile-services_bms-clientsdk-android-core | train | java |
ce110c71e1c1d41b4e3e30f6cdba2bca5171c58b | diff --git a/proso_common/middleware.py b/proso_common/middleware.py
index <HASH>..<HASH> 100644
--- a/proso_common/middleware.py
+++ b/proso_common/middleware.py
@@ -11,7 +11,7 @@ class ToolbarMiddleware(object):
def process_response(self, request, response):
- if not request.user.is_staff:
+ if... | fix Toolbar middleware error raised when request is not standard (WSGI request) | adaptive-learning_proso-apps | train | py |
280861f63cabf247363f426f79acca7352107cfe | diff --git a/tensorboard/uploader/uploader_main.py b/tensorboard/uploader/uploader_main.py
index <HASH>..<HASH> 100644
--- a/tensorboard/uploader/uploader_main.py
+++ b/tensorboard/uploader/uploader_main.py
@@ -92,7 +92,7 @@ def _define_flags(parser):
parser.add_argument(
'--endpoint',
type=str,
- ... | uploader: set default endpoint to production (#<I>)
Test Plan:
Build the Pip package and install it into a new virtualenv. Using the
new package, revoke auth (`tensorboard dev auth revoke`), then upload an
experiment. Note that the correct Terms of Service and Privacy Policy
documents are clearly displayed in the ... | tensorflow_tensorboard | train | py |
31ccc4941f1a0bb4a6e600ab0d87dbc5aa30b6cd | diff --git a/src/CodeGen/Utils.php b/src/CodeGen/Utils.php
index <HASH>..<HASH> 100644
--- a/src/CodeGen/Utils.php
+++ b/src/CodeGen/Utils.php
@@ -4,25 +4,27 @@ use Twig_Loader_String;
use Twig_Environment;
use Closure;
+
+
class Utils
{
static $stringloader = null;
+
static $twig;
- static public ... | Rewrite render string method to support newer Twig engine | c9s_CodeGen | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.