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 |
|---|---|---|---|---|---|
de2e605c3fe322afb1ce7da2c18b9e7eb1d6bd1d | diff --git a/tests/inputs/class.php b/tests/inputs/class.php
index <HASH>..<HASH> 100644
--- a/tests/inputs/class.php
+++ b/tests/inputs/class.php
@@ -15,6 +15,11 @@ class Hello {
}
private function private_world($name) {
}
+ /**
+ * @access private
+ */
+ public function private_access_world($name) {
+ ... | Add testcases for @access private methods | tk0miya_tk.phpautodoc | train | php,php |
c0e5ca70cc055aa6ab71cab1d96771d8c7a163b2 | diff --git a/pkg/health/client/client.go b/pkg/health/client/client.go
index <HASH>..<HASH> 100644
--- a/pkg/health/client/client.go
+++ b/pkg/health/client/client.go
@@ -130,14 +130,11 @@ func formatPathStatus(w io.Writer, name string, cp *models.PathStatus, indent st
fmt.Fprintf(w, "%s%s connectivity to %s:\n", ind... | health: Print ICMP then HTTP results
Format the node connectivity results in this specific order so the
output is easier to read and compare with other runs. | cilium_cilium | train | go |
f322f8643910896d8add42223f50a1305f41bbbd | diff --git a/lib/typhoeus/adapters/faraday.rb b/lib/typhoeus/adapters/faraday.rb
index <HASH>..<HASH> 100644
--- a/lib/typhoeus/adapters/faraday.rb
+++ b/lib/typhoeus/adapters/faraday.rb
@@ -137,8 +137,8 @@ module Faraday # :nodoc:
def configure_timeout(req, env)
env_req = env[:request]
- req.o... | Faraday adapter can provide sub-second timeouts without warnings | typhoeus_typhoeus | train | rb |
9204a231e78281e1074318a1353bcc9db71fc538 | diff --git a/src/main/java/com/hivemq/spi/metrics/HiveMQMetrics.java b/src/main/java/com/hivemq/spi/metrics/HiveMQMetrics.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hivemq/spi/metrics/HiveMQMetrics.java
+++ b/src/main/java/com/hivemq/spi/metrics/HiveMQMetrics.java
@@ -388,7 +388,7 @@ public class HiveMQMe... | renamed half-full message queue counter | hivemq_hivemq-spi | train | java |
d3799d7660c0d0463be5b12eea4963c53c3ff9ce | diff --git a/lib/svtplay_dl/fetcher/rtmp.py b/lib/svtplay_dl/fetcher/rtmp.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/fetcher/rtmp.py
+++ b/lib/svtplay_dl/fetcher/rtmp.py
@@ -6,7 +6,7 @@ import shlex
from svtplay_dl.log import log
from svtplay_dl.fetcher import VideoRetriever
-from svtplay_dl.utils.output i... | rtmp: generate correct filename | spaam_svtplay-dl | train | py |
55d619193ba351d4c1b4c0853ce2956d2f39b220 | diff --git a/lib/passgen.js b/lib/passgen.js
index <HASH>..<HASH> 100644
--- a/lib/passgen.js
+++ b/lib/passgen.js
@@ -3,19 +3,27 @@
* Generate a random token.
*/
+ var crypto = require("crypto");
+
function create(len, alphabet) {
- var result = '';
+ var token = '';
+ // Use default alphabet, if needed... | Changed to cryptographically secure pseudo random number generator algorithm | sasadjolic_passgen | train | js |
737c579090f1ec364c79bcbf310b80e0caa092f2 | diff --git a/arcana/utils/interfaces.py b/arcana/utils/interfaces.py
index <HASH>..<HASH> 100644
--- a/arcana/utils/interfaces.py
+++ b/arcana/utils/interfaces.py
@@ -430,7 +430,7 @@ class CopyToDir(BaseInterface):
shutil.copytree(in_file, out_path)
else:
shuti... | fixed up CopyToDir so that it outputs filenames instead of file paths | MonashBI_arcana | train | py |
9f47673568d5721b30b96d5178054330f650677a | diff --git a/lib/install_template.rb b/lib/install_template.rb
index <HASH>..<HASH> 100644
--- a/lib/install_template.rb
+++ b/lib/install_template.rb
@@ -77,10 +77,10 @@ end
end
end
-# Set up symlinks in bin_dir
+aliased_bin_dir = File.join(lib_dir, "schema-evolution-manager", "bin")
Dir.chdir(bin_dir) do
- Di... | Update symlinks to point to schema-evolution-manager alias instead of specific version | mbryzek_schema-evolution-manager | train | rb |
61ac5f2646c7cb941f4566bbbe9cffda33919249 | diff --git a/lib/ey-deploy/deploy.rb b/lib/ey-deploy/deploy.rb
index <HASH>..<HASH> 100644
--- a/lib/ey-deploy/deploy.rb
+++ b/lib/ey-deploy/deploy.rb
@@ -198,12 +198,12 @@ module EY
"ln -nfs #{c.shared_path}/pids #{release_to_link}/tmp/pids",
"ln -nfs #{c.shared_path}/config/database.yml #{release_to... | Make sure "chown deploy" runs as root, not deploy. | engineyard_engineyard-serverside | train | rb |
5349248125fc89fd6c71a610cd547a305ef8c487 | diff --git a/riemann_client/client.py b/riemann_client/client.py
index <HASH>..<HASH> 100644
--- a/riemann_client/client.py
+++ b/riemann_client/client.py
@@ -26,6 +26,7 @@ import time
import riemann_client.riemann_pb2
import riemann_client.transport
+import google.protobuf.descriptor
logger = logging.getLogge... | protobuf serializes floats into ints on old python, yay | borntyping_python-riemann-client | train | py |
51d7b35f47a2cb470e82f0e91c4f774919324964 | diff --git a/pyOCD/interface/hidapi_backend.py b/pyOCD/interface/hidapi_backend.py
index <HASH>..<HASH> 100644
--- a/pyOCD/interface/hidapi_backend.py
+++ b/pyOCD/interface/hidapi_backend.py
@@ -107,3 +107,7 @@ class HidApiUSB(Interface):
"""
logging.debug("closing interface")
self.device.clo... | Enable multiple packets for HID API backend. | mbedmicro_pyOCD | train | py |
2a4bce145f6fa02ed31aca2fc7743a84306ecfa7 | diff --git a/state/modelconfig.go b/state/modelconfig.go
index <HASH>..<HASH> 100644
--- a/state/modelconfig.go
+++ b/state/modelconfig.go
@@ -354,7 +354,7 @@ func (m *Model) UpdateModelConfig(updateAttrs map[string]interface{}, removeAttr
return errors.Trace(err)
}
for _, attr := range removeAttrs {
- // W... | Avoid Running no-op transactions. Check the operations slice length
first. | juju_juju | train | go |
2bf6b1f8fce3266965a1786f99b2da63acc04724 | diff --git a/curdling/util.py b/curdling/util.py
index <HASH>..<HASH> 100644
--- a/curdling/util.py
+++ b/curdling/util.py
@@ -28,6 +28,10 @@ def expand_requirements(file_name):
if not req:
break
+ # No comments about it...
+ if req.startswith('#'):
+ continue
+
... | Ignoring commented lines when expanding requirements files | clarete_curdling | train | py |
20010836b6638b4956d582013ff0d02ba57ae380 | diff --git a/discovery/src/main/java/io/airlift/discovery/client/ExponentialBackOff.java b/discovery/src/main/java/io/airlift/discovery/client/ExponentialBackOff.java
index <HASH>..<HASH> 100644
--- a/discovery/src/main/java/io/airlift/discovery/client/ExponentialBackOff.java
+++ b/discovery/src/main/java/io/airlift/di... | Properly track server state in ExponentialBackOff | airlift_airlift | train | java |
f794f4a21077485dbcbec2e5c71b8ed394fe7261 | diff --git a/core/src/main/java/org/kohsuke/stapler/export/Property.java b/core/src/main/java/org/kohsuke/stapler/export/Property.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/kohsuke/stapler/export/Property.java
+++ b/core/src/main/java/org/kohsuke/stapler/export/Property.java
@@ -258,6 +258,13 @@ publ... | Throw an exception if it's not one of the special type | stapler_stapler | train | java |
e882d214dd430b051580725948e363a418c7fe90 | diff --git a/lib/db/index.js b/lib/db/index.js
index <HASH>..<HASH> 100644
--- a/lib/db/index.js
+++ b/lib/db/index.js
@@ -169,14 +169,13 @@ class Db extends EventEmitter {
return cb(new Error("Unauthorized"), null);
}
- request.query = await filter.prepare(storeDesc, request.... | filters not prepared now for custom data sources | getblank_blank-node-worker | train | js,js |
fd5c3c0743bdd0e3d212a7ef5e85685cf26c8d82 | diff --git a/workshift/utils.py b/workshift/utils.py
index <HASH>..<HASH> 100644
--- a/workshift/utils.py
+++ b/workshift/utils.py
@@ -249,7 +249,7 @@ def past_sign_out(instance, moment=None):
if assigned_time.count() > 0:
assigned_time = assigned_time.latest("entry_time")
- if assigned_time > cu... | Fixed bug comparing ShiftLogEntry to datetime | knagra_farnsworth | train | py |
3eae91b5e829862c8c4e3d57361229ee6665455f | diff --git a/src/FunctionTemplate.php b/src/FunctionTemplate.php
index <HASH>..<HASH> 100644
--- a/src/FunctionTemplate.php
+++ b/src/FunctionTemplate.php
@@ -118,13 +118,19 @@ namespace V8;
class FunctionTemplate extends Template implements AdjustableExternalMemoryInterface
{
/**
- * @param Isolate $i... | Add V8\FunctionTemplate signature support in ctor (simplified to $receiver) | phpv8_php-v8-stubs | train | php |
df5200210f2d4f197d4f1f5484a161cbbc09ff98 | diff --git a/lib/fs.js b/lib/fs.js
index <HASH>..<HASH> 100644
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -447,13 +447,20 @@ function watch(path, options, callback) {
function _findUnusedPath(path, files) {
const ext = extname(path);
const base = basename(path, ext);
- const regex = new RegExp(`^${escapeRegExp(base)}-(... | Fix the CI failing issue on Hexo (#<I>)
* Revert "Reduce scope such as recursive function"
* Update fs.js
* Update fs.js | hexojs_hexo-fs | train | js |
4732cd6d6411c76be6d35c11b2023ec4083fccb3 | diff --git a/cumulus/storage.py b/cumulus/storage.py
index <HASH>..<HASH> 100644
--- a/cumulus/storage.py
+++ b/cumulus/storage.py
@@ -44,8 +44,10 @@ class CloudFilesStorage(Storage):
self.username = username or settings.CUMULUS_USERNAME
self.api_key = api_key or settings.CUMULUS_API_KEY
self... | added CUMULUS_USE_SERVICENET into storage backend | django-cumulus_django-cumulus | train | py |
82c2bedd8accd9665e0fc6928808a0f8a6bbe9e8 | diff --git a/frontend/app/hash/hash.js b/frontend/app/hash/hash.js
index <HASH>..<HASH> 100644
--- a/frontend/app/hash/hash.js
+++ b/frontend/app/hash/hash.js
@@ -117,7 +117,7 @@ fm.app.directive("fmHash", function($rootScope, fmUtils, $q) {
// Check if we have a saved view open
if(!searchHash) {
- let ... | Fix error thrown by last commit when opening map without pad (#<I>) | FacilMap_facilmap2 | train | js |
4fdf06dbda10374986e26eb9533980dbfecfecd6 | diff --git a/libtelemetry/src/main/java/com/mapbox/android/telemetry/AttachmentMetadata.java b/libtelemetry/src/main/java/com/mapbox/android/telemetry/AttachmentMetadata.java
index <HASH>..<HASH> 100644
--- a/libtelemetry/src/main/java/com/mapbox/android/telemetry/AttachmentMetadata.java
+++ b/libtelemetry/src/main/jav... | [libtelemetry] Add `@Keep` annotation to the AttachmentMetadata
This will prevent Proguard / obfuscation issues with `AttachmentMetadata`
class. | mapbox_mapbox-events-android | train | java |
b42f53ca1fa0af0fd9cc37e2765cd9c47b100065 | diff --git a/activemodel/lib/active_model/state_machine/event.rb b/activemodel/lib/active_model/state_machine/event.rb
index <HASH>..<HASH> 100644
--- a/activemodel/lib/active_model/state_machine/event.rb
+++ b/activemodel/lib/active_model/state_machine/event.rb
@@ -2,15 +2,15 @@ module ActiveModel
module StateMachi... | Some performance goodness for AM StateMatchine. | rails_rails | train | rb |
36d38b3184058a526f80d33d1565f5599b8b07e9 | diff --git a/js/ftx.js b/js/ftx.js
index <HASH>..<HASH> 100644
--- a/js/ftx.js
+++ b/js/ftx.js
@@ -176,7 +176,7 @@ module.exports = class ftx extends Exchange {
'askVolume': undefined,
'vwap': undefined,
'open': undefined,
- 'close': undefined,
+ 'close': thi... | ticker last price should also be close price | ccxt_ccxt | train | js |
0897aeb61605709e62f056b2c32253676c98a9ad | diff --git a/src/pyiso/pyiso.py b/src/pyiso/pyiso.py
index <HASH>..<HASH> 100644
--- a/src/pyiso/pyiso.py
+++ b/src/pyiso/pyiso.py
@@ -3942,6 +3942,14 @@ class PyIso(object):
self.isohybrid_mbr = None
def full_path_from_dirrecord(self, dr):
+ '''
+ A method to get the absolute path of a di... | Add in more pydoc documentation. | clalancette_pycdlib | train | py |
89d62425fb5335310b5575d2f4aeaaa35564d5ba | diff --git a/lib/crtomo/binaries.py b/lib/crtomo/binaries.py
index <HASH>..<HASH> 100644
--- a/lib/crtomo/binaries.py
+++ b/lib/crtomo/binaries.py
@@ -48,6 +48,7 @@ binaries = {
'Linux': [
'CRTomo',
'/usr/bin/CRTomo_dev',
+ 'CRTomo_master_{}'.format(platform.node()),
... | [crtomo.binaries] also look for machine-specific binary names for
CRTomo, CRMod, and CutMcK in the form of CRTomo_master_[platform.node()] | geophysics-ubonn_crtomo_tools | train | py |
d929ca3e08c989063f47fb0e7a0bf4a97210dab8 | diff --git a/src/Symfony/Component/HttpFoundation/Cookie.php b/src/Symfony/Component/HttpFoundation/Cookie.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/Cookie.php
+++ b/src/Symfony/Component/HttpFoundation/Cookie.php
@@ -87,7 +87,7 @@ class Cookie
*
* @throws \InvalidArgumentEx... | [HttpFoundation] Improve Cookie constructor to use constant | symfony_symfony | train | php |
bf524fcef30ca11258ef677be869c288fc3c2d7c | diff --git a/pcef/qt/__init__.py b/pcef/qt/__init__.py
index <HASH>..<HASH> 100644
--- a/pcef/qt/__init__.py
+++ b/pcef/qt/__init__.py
@@ -136,7 +136,7 @@ def try_pyqt():
# Fatal error, no qt bindings found
__logger.critical("PySide not found, exiting with return code -1")
print("PyQt4 and Py... | Fix qt api env var set to None with python <I> (#<I>) | pyQode_pyqode.core | train | py |
7e6dc500b222f86bbe3634c1e9d174b47e2fe94c | diff --git a/mount_images.py b/mount_images.py
index <HASH>..<HASH> 100755
--- a/mount_images.py
+++ b/mount_images.py
@@ -11,8 +11,12 @@ import os
def main():
+ if os.geteuid(): # Not run as root
+ print u'This script needs to be ran as root!'
+ sys.exit(1)
if not sys.argv[1:]:
pri... | Add root check and remove all traces of bredolab | ralphje_imagemounter | train | py |
3f7264473d9afc3cb5fdb430c4807e1a0bc71434 | diff --git a/plugin_install.go b/plugin_install.go
index <HASH>..<HASH> 100644
--- a/plugin_install.go
+++ b/plugin_install.go
@@ -45,9 +45,17 @@ func (cli *Client) PluginInstall(ctx context.Context, name string, options types
return pluginPermissionDenied{name}
}
}
+
+ if len(options.Args) > 0 {
+ if err := ... | support settings in docker plugins install | docker_cli | train | go |
1fd10fbb6fcaa4bce7e30a8db286a06fee5a3eaa | diff --git a/pinax/blog/parsers/markdown_parser.py b/pinax/blog/parsers/markdown_parser.py
index <HASH>..<HASH> 100644
--- a/pinax/blog/parsers/markdown_parser.py
+++ b/pinax/blog/parsers/markdown_parser.py
@@ -21,7 +21,7 @@ class ImageLookupImagePattern(ImagePattern):
def parse(text):
- md = Markdown(extension... | add support for fenced_code extension | pinax_pinax-blog | train | py |
5204783a239377fc93139a519bbd5ba5ba2cc17e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -35,7 +35,7 @@ HeathCheck.prototype.register = function (type, check) {
timeout = setTimeout(function () {
timeout = null
check.cleanFn()
- cb(null, buildResult(null, 'Timed Out'))
+ cb(null, build... | Use errors for timeout rather than status | clocklimited_cf-health-check | train | js,js |
e769da88e6c6e94a397822dd8962cbcb83a402a0 | diff --git a/cmd/dockerd/service_windows.go b/cmd/dockerd/service_windows.go
index <HASH>..<HASH> 100644
--- a/cmd/dockerd/service_windows.go
+++ b/cmd/dockerd/service_windows.go
@@ -397,7 +397,7 @@ func initPanicFile(path string) error {
// it when it panics. Remember the old stderr to restore it before removing
/... | Windows: fix build after re-vendoring golang.org/x/sys
Due to the CL <URL> as type uint<I> in argument to windows.GetStdHandle
Fix it by adding an explicit type conversion when calling
windows.GetStdHandle. | moby_moby | train | go |
605118d3e4357a61f84c84f861f07952c1ad20a0 | diff --git a/tests/BrewTest.php b/tests/BrewTest.php
index <HASH>..<HASH> 100644
--- a/tests/BrewTest.php
+++ b/tests/BrewTest.php
@@ -445,7 +445,7 @@ class BrewTest extends Yoast\PHPUnitPolyfills\TestCases\TestCase
public function test_it_can_get_php_binary_path_from_php_version()
{
- // When brew i... | Update tests/BrewTest.php | laravel_valet | train | php |
93fd21850f591dcb69947aa2671e4e4004b3463f | diff --git a/pypot/dynamixel/io/io.py b/pypot/dynamixel/io/io.py
index <HASH>..<HASH> 100644
--- a/pypot/dynamixel/io/io.py
+++ b/pypot/dynamixel/io/io.py
@@ -21,7 +21,7 @@ class DxlIO(AbstractDxlIO):
""" Gets the mode ('joint' or 'wheel') for the specified motors. """
to_get_ids = [id for id in ids i... | Fix a bug on Python <I> where the generator was not propagated into the zip. | poppy-project_pypot | train | py |
ee396e4c87c1be27d82a6fafae43bbd4b53a4b32 | diff --git a/bin/run.js b/bin/run.js
index <HASH>..<HASH> 100755
--- a/bin/run.js
+++ b/bin/run.js
@@ -34,8 +34,8 @@ if(argv.version) {
configPath = path.resolve(argv.config);
run(configPath, {
watch: argv.watch,
- maxRetries: Number.parseInt(argv['max-retries'], 10),
- ... | Use global parseInt instead of Number.parseInt
Number.parseInt does not seem to be available on node <I> | trivago_parallel-webpack | train | js,js |
baaa8a6209122b824dca7d9acdeb50675bb65b12 | diff --git a/test/startservers.py b/test/startservers.py
index <HASH>..<HASH> 100644
--- a/test/startservers.py
+++ b/test/startservers.py
@@ -102,7 +102,8 @@ def start(race_detection):
# If one of the servers has died, quit immediately.
if not check():
return False
- ... | check for wfe port liveness in integration tests
We're getting many more spurious "Can't connect to WFE" errors in
TravisCI. So, we add the WFE's main port to the port liveness check in
amqp-integration-test.py.
Fixes #<I> | letsencrypt_boulder | train | py |
40502ec95773210101cc4e67c118d0d47871db1e | diff --git a/src/Phug/Lexer/Scanner/ControlStatementScanner.php b/src/Phug/Lexer/Scanner/ControlStatementScanner.php
index <HASH>..<HASH> 100644
--- a/src/Phug/Lexer/Scanner/ControlStatementScanner.php
+++ b/src/Phug/Lexer/Scanner/ControlStatementScanner.php
@@ -24,7 +24,8 @@ abstract class ControlStatementScanner impl... | Allow statements to be immediately followed by parentheses | phug-php_lexer | train | php |
b06a78a29aaa44eeb8f4837a3786ec225dac95c0 | diff --git a/core/src/main/java/org/xillium/core/HttpServiceDispatcher.java b/core/src/main/java/org/xillium/core/HttpServiceDispatcher.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/xillium/core/HttpServiceDispatcher.java
+++ b/core/src/main/java/org/xillium/core/HttpServiceDispatcher.java
@@ -433,11 +4... | Manageable objects now registered under "bean-id/context-path" to avoid conflicts | brianwhu_xillium | train | java |
d0deceb6bc34b901d83d021a5e7809e3ac8c7cab | diff --git a/grab/spider/base.py b/grab/spider/base.py
index <HASH>..<HASH> 100644
--- a/grab/spider/base.py
+++ b/grab/spider/base.py
@@ -724,14 +724,23 @@ class Spider(SpiderPattern, SpiderStat):
if self.transport.ready_for_task():
logger_verbose.debug('Transport has free resourc... | Fix issue in handling task generator under heavy load | lorien_grab | train | py |
046d0d1322d1da20edf6e0e33738332464fd9cf8 | diff --git a/Form/Type/DependentFormsType.php b/Form/Type/DependentFormsType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/DependentFormsType.php
+++ b/Form/Type/DependentFormsType.php
@@ -20,7 +20,7 @@ class DependentFormsType extends AbstractType
private $entityManager;
/**
- * @var ParameterBag
+ ... | refactoring code, change type hint | anacona16_DependentFormsBundle | train | php |
1e2aedc36674743fa0ae75ace23f0e822c18efea | diff --git a/server.py b/server.py
index <HASH>..<HASH> 100644
--- a/server.py
+++ b/server.py
@@ -36,7 +36,9 @@ quit: quit the console session
def init_server(bot):
server = BotNetServer(('', SERVERPORT), BotNetHandler)
server.bot = bot
- threading.Thread(target=server.serve_forever).start()
+ thread ... | work w/ old python | tjcsl_cslbot | train | py |
a5365b901279830a1fb59f34a05bca071dcf2c3a | diff --git a/gossip/comm/comm_impl.go b/gossip/comm/comm_impl.go
index <HASH>..<HASH> 100644
--- a/gossip/comm/comm_impl.go
+++ b/gossip/comm/comm_impl.go
@@ -212,7 +212,7 @@ func (c *commImpl) createConnection(endpoint string, expectedPKIID common.PKIidT
}
func (c *commImpl) Send(msg *proto.GossipMessage, peers ..... | Gossip- Don't log sending to empty slice of peers
The code that uses the gossip comm layer's Send() method
computes dynamically a set of peers to send a message to,
usually out of a batch of all kinds of messages.
As a result, the peer set passed to the send method is sometimes empty.
This makes the gossip comm layer... | hyperledger_fabric | train | go |
be87d48aa91e87893bd6f5fe2a3ee1f1da1f4492 | diff --git a/src/test/java/com/datasift/client/mock/TestPylonApiWithMocks.java b/src/test/java/com/datasift/client/mock/TestPylonApiWithMocks.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/datasift/client/mock/TestPylonApiWithMocks.java
+++ b/src/test/java/com/datasift/client/mock/TestPylonApiWithMocks.java
@... | issue-<I> fix test for topicids | datasift_datasift-java | train | java |
e1d192c12ee788b440f1f1945707d0f07e1682bf | diff --git a/lib/thinking_sphinx/active_record/base.rb b/lib/thinking_sphinx/active_record/base.rb
index <HASH>..<HASH> 100644
--- a/lib/thinking_sphinx/active_record/base.rb
+++ b/lib/thinking_sphinx/active_record/base.rb
@@ -17,8 +17,9 @@ module ThinkingSphinx::ActiveRecord::Base
reflection_class.include Def... | Update include usage to avoid send calls.
Ruby <I> onwards (and perhaps earlier as well) have include as a public method, so this is no longer necessary. | pat_thinking-sphinx | train | rb,rb |
e9be38990f92505811466377798baf3db02f2268 | diff --git a/forms_builder/forms/models.py b/forms_builder/forms/models.py
index <HASH>..<HASH> 100644
--- a/forms_builder/forms/models.py
+++ b/forms_builder/forms/models.py
@@ -21,7 +21,12 @@ STATUS_CHOICES = (
sites_field = None
if USE_SITES:
- sites_field = models.ManyToManyField("sites.Site")
+ from dja... | Add default value for sites field when only one site exists. | stephenmcd_django-forms-builder | train | py |
ade77c8b38cc81331a4630708e7556e5b89c56d1 | diff --git a/src/test/java/com/box/sdk/MetadataTemplateTest.java b/src/test/java/com/box/sdk/MetadataTemplateTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/box/sdk/MetadataTemplateTest.java
+++ b/src/test/java/com/box/sdk/MetadataTemplateTest.java
@@ -84,7 +84,13 @@ public class MetadataTemplateTest {
... | Metadata template delete patch (#<I>)
enclosed metadata template delete test in a try catch for create to deal with possibility that a metadata template already exists | box_box-java-sdk | train | java |
a8e9843bc472c620a778f96c8dd92358c426d014 | diff --git a/interp/interp_test.go b/interp/interp_test.go
index <HASH>..<HASH> 100644
--- a/interp/interp_test.go
+++ b/interp/interp_test.go
@@ -112,9 +112,9 @@ var fileCases = []struct {
{"unset INTERP_GLOBAL; echo $INTERP_GLOBAL", "\n"},
{"foo=bar; foo=x true; echo $foo", "bar\n"},
{"foo=bar; foo=x true; echo... | interp: make env test more robust
Don't just grep for "foo", as that can easily break if the environment
has any var with "foo" in its value.
This happened to break Travis because the previous commit message
contains "foo" and Travis seems to keep commit messages in an env
variable. | mvdan_sh | train | go |
8380f57bf0dd6fdcd28e8f8bc62b950ee9cec535 | diff --git a/app/controllers/stripe_saas/subscriptions_controller.rb b/app/controllers/stripe_saas/subscriptions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/stripe_saas/subscriptions_controller.rb
+++ b/app/controllers/stripe_saas/subscriptions_controller.rb
@@ -81,7 +81,7 @@ module StripeSaas
... | Correct usage of scope find_by_stripe_id (it's a relation dummy) | integrallis_stripe_saas | train | rb,rb |
8a38a24b9fc2401b5d3f1783e69af793f2082ced | diff --git a/src/hdnode.js b/src/hdnode.js
index <HASH>..<HASH> 100644
--- a/src/hdnode.js
+++ b/src/hdnode.js
@@ -43,6 +43,8 @@ function HDNode(K, chainCode, network) {
if (K instanceof BigInteger) {
this.privKey = new ECKey(K, true)
this.pubKey = this.privKey.pub
+ } else if (K instanceof ECPubKey) {
+ ... | Allow constructing HDNode from an ECPubKey. | BitGo_bitgo-utxo-lib | train | js |
64cf3ff4713863c0bf856c848b7268f9255261df | diff --git a/lib/em-systemcommand/version.rb b/lib/em-systemcommand/version.rb
index <HASH>..<HASH> 100644
--- a/lib/em-systemcommand/version.rb
+++ b/lib/em-systemcommand/version.rb
@@ -1,5 +1,5 @@
module Em
module Systemcommand
- VERSION = "2.0.5"
+ VERSION = "2.0.6"
end
end | bumped version number to <I> | leoc_em-systemcommand | train | rb |
8ab351a5b546a128e5b49d9bc5509c74e72acce4 | diff --git a/lib/jsduck/guides.rb b/lib/jsduck/guides.rb
index <HASH>..<HASH> 100644
--- a/lib/jsduck/guides.rb
+++ b/lib/jsduck/guides.rb
@@ -111,8 +111,9 @@ module JsDuck
html.each_line do |line|
if line =~ /^<h2>(.*)<\/h2>$/
i += 1
- toc << "<li><a href='#!/guide/#{guide['name']}-... | Strip extra HTML from guides TOC.
Some titles contain links, resulting in links-inside-links which is of
no good. | senchalabs_jsduck | train | rb |
72ad8330ebbe38efdf8ff414002de5717e56a933 | diff --git a/lib/uspec/version.rb b/lib/uspec/version.rb
index <HASH>..<HASH> 100644
--- a/lib/uspec/version.rb
+++ b/lib/uspec/version.rb
@@ -1,3 +1,3 @@
module Uspec
- VERSION = '0.1.0'
+ VERSION = '0.1.1'
end | Version bump to <I>. | acook_uspec | train | rb |
e27eccf138ef238d0559e6ae26f53fc64febc5fc | diff --git a/watermarker/templatetags/watermark.py b/watermarker/templatetags/watermark.py
index <HASH>..<HASH> 100644
--- a/watermarker/templatetags/watermark.py
+++ b/watermarker/templatetags/watermark.py
@@ -5,7 +5,10 @@ import errno
import logging
import os
import traceback
-from urllib import unquote
+try:
+ ... | Python 3 reorganization of the standard library. | bashu_django-watermark | train | py |
207104278672deedb859d10da4570e3a57058dac | diff --git a/lib/fewer/engines/abstract.rb b/lib/fewer/engines/abstract.rb
index <HASH>..<HASH> 100644
--- a/lib/fewer/engines/abstract.rb
+++ b/lib/fewer/engines/abstract.rb
@@ -1,3 +1,5 @@
+require 'digest/md5'
+
module Fewer
module Engines
class Abstract
@@ -31,8 +33,8 @@ module Fewer
end
de... | Switched eTag generation to more dependable MD5
* File timestamps can be unreliable across multiple servers | benpickles_fewer | train | rb |
19da73e609125d7f7dd2d594a77c58b67155eea0 | diff --git a/code/plugins/system/koowa.php b/code/plugins/system/koowa.php
index <HASH>..<HASH> 100644
--- a/code/plugins/system/koowa.php
+++ b/code/plugins/system/koowa.php
@@ -34,6 +34,10 @@ class plgSystemKoowa extends JPlugin
$db =& JFactory::getDBO();
$db = new KDatabase($db);
+ //ACL uses the un... | Fixed #<I> Bug: Adding users corrupts db when koowa is active | joomlatools_joomlatools-framework | train | php |
782bf8eabaa1ac98e43927bcc07e5a3b3f91bcb6 | diff --git a/pymc/distributions.py b/pymc/distributions.py
index <HASH>..<HASH> 100755
--- a/pymc/distributions.py
+++ b/pymc/distributions.py
@@ -59,7 +59,8 @@ sc_continuous_distributions = ['bernoulli', 'beta', 'cauchy', 'chi2',
'degenerate', 'exponential', 'exponweib',
... | Added Pareto and truncated Pareto to distributions list, so that Stochastics can be generated. | pymc-devs_pymc | train | py |
edfed6566f3eebd3f10179092270d22cc4a40b48 | diff --git a/tests/PHPUnit/Fixture.php b/tests/PHPUnit/Fixture.php
index <HASH>..<HASH> 100644
--- a/tests/PHPUnit/Fixture.php
+++ b/tests/PHPUnit/Fixture.php
@@ -804,6 +804,7 @@ class Fixture extends PHPUnit_Framework_Assert
public static function updateDatabase($force = false)
{
Cache::deleteTracke... | Fixing tests (clear Option cache when invoking updater from fixture). | matomo-org_matomo | train | php |
44f9ce0bda2d54893fc5882a8d0577f83d415618 | diff --git a/model/LTIDeliveryTool.php b/model/LTIDeliveryTool.php
index <HASH>..<HASH> 100755
--- a/model/LTIDeliveryTool.php
+++ b/model/LTIDeliveryTool.php
@@ -82,10 +82,10 @@ class LTIDeliveryTool extends ConfigurableService
}
/**
- * @param DeliveryExecution|null $deliveryExecution
+ * @param D... | Make delievry execution parameeter mandatory | oat-sa_extension-tao-ltideliveryprovider | train | php |
a35c606c5f125959ecc53e5cbe1ce29e3723e11b | diff --git a/spring/src/test/java/org/hobsoft/symmetry/spring/it/SpringTest.java b/spring/src/test/java/org/hobsoft/symmetry/spring/it/SpringTest.java
index <HASH>..<HASH> 100644
--- a/spring/src/test/java/org/hobsoft/symmetry/spring/it/SpringTest.java
+++ b/spring/src/test/java/org/hobsoft/symmetry/spring/it/SpringTes... | Assert content type in Spring ITs | markhobson_symmetry | train | java |
5a93dd14385f817288413a4bec8c51763873ce4c | diff --git a/lib/cskit/lesson/section.rb b/lib/cskit/lesson/section.rb
index <HASH>..<HASH> 100644
--- a/lib/cskit/lesson/section.rb
+++ b/lib/cskit/lesson/section.rb
@@ -15,7 +15,7 @@ module CSKit
volume_name = volume_name.to_sym
volume = CSKit.get_volume(volume_name)
- citation_texts[volume... | Fixing small bug in section retrieval | CSOBerkeley_cskit-rb | train | rb |
69c928650aecc7cf26d35f7462eefff8251da169 | diff --git a/code/extensions/CommentsExtension.php b/code/extensions/CommentsExtension.php
index <HASH>..<HASH> 100644
--- a/code/extensions/CommentsExtension.php
+++ b/code/extensions/CommentsExtension.php
@@ -230,6 +230,9 @@ class CommentsExtension extends DataExtension {
* @return boolean
*/
public function ... | BUG Fix comments form appearing on login page | silverstripe_silverstripe-comments | train | php |
56b44d0c8cd05797da8a1fcac41af79b69d37f18 | diff --git a/server/server.go b/server/server.go
index <HASH>..<HASH> 100644
--- a/server/server.go
+++ b/server/server.go
@@ -100,7 +100,10 @@ func (o *OvsdbServer) Close() {
o.readyMutex.Lock()
o.ready = false
o.readyMutex.Unlock()
- o.listener.Close()
+ // Only close the listener if Serve() has been called
+ i... | server: allow calling Close() without Serve()
Useful for CI tests in other projects where a BeforeEach()
might create the server for multiple tests, but one or more
tests doesn't actually use it and thus doesn't call Serve(). | socketplane_libovsdb | train | go |
7b2ee0df3145879f2fe1a3930f3ef26b3e39ddfe | diff --git a/dockermap/map/runner/base.py b/dockermap/map/runner/base.py
index <HASH>..<HASH> 100644
--- a/dockermap/map/runner/base.py
+++ b/dockermap/map/runner/base.py
@@ -115,7 +115,7 @@ class DockerConfigMixin(object):
ports=[resolve_value(port_binding.exposed_port)
for port_bindin... | Use None for domainname if nothing is set. | merll_docker-map | train | py |
39c094315186474bd4d71c840b08811a4dbc86d9 | diff --git a/src/com/opera/core/systems/scope/internal/OperaFlags.java b/src/com/opera/core/systems/scope/internal/OperaFlags.java
index <HASH>..<HASH> 100644
--- a/src/com/opera/core/systems/scope/internal/OperaFlags.java
+++ b/src/com/opera/core/systems/scope/internal/OperaFlags.java
@@ -28,6 +28,6 @@ public class Op... | By default, we'll append to log file instead | operasoftware_operaprestodriver | train | java |
3acc14a72c84aaf4fed5bc47de6d2ee9a5ce2d6d | diff --git a/controller/schema.go b/controller/schema.go
index <HASH>..<HASH> 100644
--- a/controller/schema.go
+++ b/controller/schema.go
@@ -23,7 +23,7 @@ func migrateDB(db *sql.DB) error {
`CREATE TABLE releases (
release_id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
artifact_id uuid REFERENCES artifa... | controller: Use JSONB for release and deployment data | flynn_flynn | train | go |
9b2b74e80596ab7b2f5d5b53d604a3f2d1ef795e | diff --git a/src/Form/Type/ComparisonType.php b/src/Form/Type/ComparisonType.php
index <HASH>..<HASH> 100644
--- a/src/Form/Type/ComparisonType.php
+++ b/src/Form/Type/ComparisonType.php
@@ -87,7 +87,7 @@ class ComparisonType extends AbstractType
$resolver->setAllowedValues('type', ['array', 'datetime', 'choic... | Fix deprecation in form type | EasyCorp_EasyAdminBundle | train | php |
a9b3b73ed8c80c7e9afda5e945adfa4f93aa162b | diff --git a/examples/simple/webpack.config.js b/examples/simple/webpack.config.js
index <HASH>..<HASH> 100644
--- a/examples/simple/webpack.config.js
+++ b/examples/simple/webpack.config.js
@@ -32,8 +32,9 @@ module.exports = {
'RedirectionSideEffect',
'RefreshSideEffect',
]),
- ... | Only use BundleAnalyzerPlugin in development | marmelab_react-admin | train | js |
9240817a2de99f4835d65fbca9cc1cc002b260a8 | diff --git a/lib/asyncblock.js b/lib/asyncblock.js
index <HASH>..<HASH> 100644
--- a/lib/asyncblock.js
+++ b/lib/asyncblock.js
@@ -158,5 +158,20 @@ module.exports.getCurrentFlow = function(){
}
};
+//Creates a callback handler which only calls its callback in the case of an error
+//This is just some sugar prov... | Adding "ifError" to wrap callbacks that should only be called in the case of an error | scriby_asyncblock-generators | train | js |
6ca1d6cc3c2e45dc7cc93ab314632882eafa61f5 | diff --git a/aws/resource_aws_lambda_permission.go b/aws/resource_aws_lambda_permission.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_lambda_permission.go
+++ b/aws/resource_aws_lambda_permission.go
@@ -301,6 +301,13 @@ func resourceAwsLambdaPermissionDelete(d *schema.ResourceData, meta interface{})
log.Print... | Do not throw error when lambda permission is deleted after deleting lambda function | terraform-providers_terraform-provider-aws | train | go |
d575ac12fd74ae42994542814c5eaa96d74fd395 | diff --git a/plugins/Goals/Visualizations/Goals.php b/plugins/Goals/Visualizations/Goals.php
index <HASH>..<HASH> 100644
--- a/plugins/Goals/Visualizations/Goals.php
+++ b/plugins/Goals/Visualizations/Goals.php
@@ -33,7 +33,7 @@ class Goals extends HtmlTable
{
parent::beforeLoadDataTable();
- if ... | Refs #<I> Allow to get custom variable values by name, in the Goals/Ecommerce reports. | matomo-org_matomo | train | php |
b6d24f4fa0e36ecb30620566aad5f4a85fe5ea05 | diff --git a/app/Site.php b/app/Site.php
index <HASH>..<HASH> 100644
--- a/app/Site.php
+++ b/app/Site.php
@@ -68,7 +68,7 @@ class Site {
} else {
Database::prepare(
"REPLACE INTO `##site_setting` (setting_name, setting_value)" .
- " VALUES (:setting_name, LEFT(:setting_value, 65535))"
+ " VALUES... | limit to <I> chars while saving | fisharebest_webtrees | train | php |
58279994cd42959dcdad5f632c6008d3e9bf2b9e | diff --git a/ips_vagrant/models/sites.py b/ips_vagrant/models/sites.py
index <HASH>..<HASH> 100644
--- a/ips_vagrant/models/sites.py
+++ b/ips_vagrant/models/sites.py
@@ -74,7 +74,8 @@ class Domain(Base):
"""
Domain = cls
dname = dname.hostname if hasattr(dname, 'hostname') else dname
- ... | Don't create www versions of IP address and localhost domains, don't try and drop undefined databases | FujiMakoto_IPS-Vagrant | train | py |
ad9a0fe936560135ad8dac0db262f01775f3afaf | diff --git a/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java b/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
index <HASH>..<HASH> 100644
--- a/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
+++ b/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
@@ -683,6 +683,25 @@ class Nidsheader{
... | Add stubs for handling NIDS contour packets.
This allows us to serve up the NIDS melting layer products without
throwing <I> errors. Actual implementation to add netcdf variables, etc.
remains to be done.
(cherry picked from commit ca1b<I>c<I>f<I>c2f<I>f<I>cdde9a8a6f<I>) | Unidata_thredds | train | java |
4743aa744ee0c3dae07665f393667c84fc2aaf18 | diff --git a/dynaphopy/__init__.py b/dynaphopy/__init__.py
index <HASH>..<HASH> 100644
--- a/dynaphopy/__init__.py
+++ b/dynaphopy/__init__.py
@@ -812,7 +812,7 @@ class Quasiparticle:
print('\nThermal properties per unit cell ({0:.2f} K) [From phonopy (Reference)]\n'
'-----------------... | small modifications in some labels and texts (no API changes) | abelcarreras_DynaPhoPy | train | py |
9f154fd4540966a9291a5ff621e8b7f1963ba712 | diff --git a/src/Router.php b/src/Router.php
index <HASH>..<HASH> 100644
--- a/src/Router.php
+++ b/src/Router.php
@@ -554,7 +554,9 @@ class Router
}
}
}
- $response->headers['Link'] = $this->headerLink($routes);
+ ... | Fix empty Link in resources without foreigns | aryelgois_medools-router | train | php |
64386a6cbba3f775021f39c0e65485cf0a1f0182 | diff --git a/src/pymlab/sensors/lightning.py b/src/pymlab/sensors/lightning.py
index <HASH>..<HASH> 100644
--- a/src/pymlab/sensors/lightning.py
+++ b/src/pymlab/sensors/lightning.py
@@ -25,16 +25,18 @@ class AS3935(Device):
def reset(self):
self.soft_reset()
+ self.setTUN_CAP(self._TUN_CAP)
... | The tunning capacity is configured again after sensor reset. | MLAB-project_pymlab | train | py |
711217ab2f2552b133c02f4bfb726ebe671dc061 | diff --git a/lib/eparoption.py b/lib/eparoption.py
index <HASH>..<HASH> 100644
--- a/lib/eparoption.py
+++ b/lib/eparoption.py
@@ -44,7 +44,7 @@ MAXLIST = 15
MAXLINES = 100
XSHIFT = 110
-class EparOption:
+class EparOption(object):
"""EparOption base class | for pyraf ticket #<I>; EparOption is a (now old) new-style class
git-svn-id: <URL> | spacetelescope_stsci.tools | train | py |
2b9c6b8609aecfec5d56b768583056e2afa76459 | diff --git a/cake/libs/model/datasources/dbo/dbo_sqlite.php b/cake/libs/model/datasources/dbo/dbo_sqlite.php
index <HASH>..<HASH> 100644
--- a/cake/libs/model/datasources/dbo/dbo_sqlite.php
+++ b/cake/libs/model/datasources/dbo/dbo_sqlite.php
@@ -284,7 +284,7 @@ class DboSqlite extends DboSource {
// so try to figur... | optimizing sqlite driver to look for the "From" keyword in reverse order on the sql string | cakephp_cakephp | train | php |
c7a9cff07968ba5ad39721dd378563dc10eed06d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ setup(
name='gffutils',
cmdclass={'build_ext': build_ext},
install_requires=['cython'],
- ext_modules=[Extension('gfffeature', sources=['gffutils/gfffeature.pyx'])],
+ ex... | put gfffeature.so in the right place | daler_gffutils | train | py |
dbedca4e5fe81ba68969835399c3d0866a260fa3 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -473,14 +473,17 @@ func (s *DB) Get(name string) (value interface{}, ok bool) {
}
func (s *DB) SetJoinTableHandler(source interface{}, column string, handler JoinTableHandlerInterface) {
- for _, field := range s.NewScope(sour... | Don't run auto migrate if join table doesn't exist | jinzhu_gorm | train | go |
4ce64dacd313b99fcd55ac653ccbebd601cb44ba | diff --git a/Configuration/Configurator.php b/Configuration/Configurator.php
index <HASH>..<HASH> 100644
--- a/Configuration/Configurator.php
+++ b/Configuration/Configurator.php
@@ -149,9 +149,6 @@ class Configurator
// introspect regular entity fields
foreach ($entityMetadata->fieldMappings as $fi... | Fixed a bug with properties that include underscores in their names | EasyCorp_EasyAdminBundle | train | php |
ab90b48967a087e97f297ab2b079d2c3b3ddf653 | diff --git a/src/java/voldemort/server/scheduler/SlopPusherJob.java b/src/java/voldemort/server/scheduler/SlopPusherJob.java
index <HASH>..<HASH> 100644
--- a/src/java/voldemort/server/scheduler/SlopPusherJob.java
+++ b/src/java/voldemort/server/scheduler/SlopPusherJob.java
@@ -122,10 +122,14 @@ public class SlopPusher... | Throttle on vector clock size in delete operations | voldemort_voldemort | train | java |
6876f08f9550d6479a7697ad87b1ac650e6ab371 | diff --git a/lib/bridges/file_column/lib/as_file_column_bridge.rb b/lib/bridges/file_column/lib/as_file_column_bridge.rb
index <HASH>..<HASH> 100644
--- a/lib/bridges/file_column/lib/as_file_column_bridge.rb
+++ b/lib/bridges/file_column/lib/as_file_column_bridge.rb
@@ -1,4 +1,4 @@
-class ActiveScaffold::DataStructures... | Fix file_column bridge to work with validation_reflection bridge in all ruby versions | activescaffold_active_scaffold | train | rb |
b34dde70027100d9e2d2a3b37efa05e3531f4bb4 | diff --git a/code/libraries/koowa/components/com_koowa/translator/catalogue/abstract.php b/code/libraries/koowa/components/com_koowa/translator/catalogue/abstract.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/components/com_koowa/translator/catalogue/abstract.php
+++ b/code/libraries/koowa/components/com_k... | re #<I>: Run the alias through hasKey to make sure it exists | joomlatools_joomlatools-framework | train | php |
7ff8164d966199321e38e417e0ce46ab71769853 | diff --git a/src/diamond/handler/graphite.py b/src/diamond/handler/graphite.py
index <HASH>..<HASH> 100644
--- a/src/diamond/handler/graphite.py
+++ b/src/diamond/handler/graphite.py
@@ -41,6 +41,8 @@ class GraphiteHandler(Handler):
self.port = int(self.config.get('port', 2003))
self.timeout = int(sel... | Fix #<I>, this setup options to control the max backlog and how far to trim the list once we match. We store the last set of metrics when trimming. | python-diamond_Diamond | train | py |
d412e0e3bd55372a4c6bc9215fd0160f84a57be8 | diff --git a/src/Joseki/Migration/DefaultMigration.php b/src/Joseki/Migration/DefaultMigration.php
index <HASH>..<HASH> 100644
--- a/src/Joseki/Migration/DefaultMigration.php
+++ b/src/Joseki/Migration/DefaultMigration.php
@@ -25,10 +25,11 @@ class DefaultMigration extends AbstractMigration
$this->dibiConnecti... | DefaultMigration: fixed exception delegating | Joseki_Migration | train | php |
3e54858fe68384b10b0ccbf2dc5b3f65f35027a4 | diff --git a/lib/plugins/aws/package/compile/events/cognitoUserPool/index.js b/lib/plugins/aws/package/compile/events/cognitoUserPool/index.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/package/compile/events/cognitoUserPool/index.js
+++ b/lib/plugins/aws/package/compile/events/cognitoUserPool/index.js
@@ -350,7... | fix(AWS Cognito): Fix low level refactor regression
Regression introduced with #<I> | serverless_serverless | train | js |
61476a2dbae05edb7ad4b508a2109504996f8a69 | diff --git a/javamelody-core/src/main/java/net/bull/javamelody/TomcatInformations.java b/javamelody-core/src/main/java/net/bull/javamelody/TomcatInformations.java
index <HASH>..<HASH> 100644
--- a/javamelody-core/src/main/java/net/bull/javamelody/TomcatInformations.java
+++ b/javamelody-core/src/main/java/net/bull/java... | fix for issue <I>: AttributeNotFoundException: No attribute called maxThreads (in some JBossAS or JBossWeb) | javamelody_javamelody | train | java |
1eeebe18e32e5759eb34cbe139d5c8eb42a1bb68 | diff --git a/testing/test_mean_functions.py b/testing/test_mean_functions.py
index <HASH>..<HASH> 100644
--- a/testing/test_mean_functions.py
+++ b/testing/test_mean_functions.py
@@ -54,10 +54,6 @@ class TestModelsWithMeanFuncs(unittest.TestCase):
GPflow.vgp.VGP(X, Y, mean_function=mf, kern=k(), like... | Removing extraneous compile. | GPflow_GPflow | train | py |
83218b31685ca990df356762a424f15cfb268ecb | diff --git a/packages/material-ui/src/Badge/Badge.test.js b/packages/material-ui/src/Badge/Badge.test.js
index <HASH>..<HASH> 100644
--- a/packages/material-ui/src/Badge/Badge.test.js
+++ b/packages/material-ui/src/Badge/Badge.test.js
@@ -29,6 +29,7 @@ describe('<Badge />', () => {
inheritComponent: BadgeUnstyle... | [core] Fix failing CI on HEAD (#<I>) | mui-org_material-ui | train | js |
35226f2784b13920ac2ea991c2c120904639e3ee | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ if __name__ == '__main__':
platforms=['Any'],
install_requires=[
'requests',
- 'beautifulsoup',
+ 'beautifulsoup4',
'mf2py',
'html5l... | fix package name for beautifulsoup4 | bear_ronkyuu | train | py |
e94c6c8c7da83cccc900ecf101a6ae452d76ce5d | diff --git a/lib/constants.js b/lib/constants.js
index <HASH>..<HASH> 100644
--- a/lib/constants.js
+++ b/lib/constants.js
@@ -25,7 +25,7 @@ var defaultSettings = {
return cliColor.green(statusLabel);
}
- if (state === states.done) {
+ if (state === states.fail) {
retu... | fix fail state to show red. fixes #4 | dylang_observatory | train | js |
29f3195db96f90b25bf323668a9b63932ce116b9 | diff --git a/cogen/core/schedulers.py b/cogen/core/schedulers.py
index <HASH>..<HASH> 100644
--- a/cogen/core/schedulers.py
+++ b/cogen/core/schedulers.py
@@ -7,6 +7,7 @@ import datetime
import heapq
import weakref
import sys
+import errno
from cogen.core.reactors import DefaultReactor
from... | catch reactor's EINTR and ignore it | ionelmc_python-cogen | train | py |
99d29b862e156120313f38be0470496aef101b38 | diff --git a/spec/controllers/xml_controller_spec.rb b/spec/controllers/xml_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/xml_controller_spec.rb
+++ b/spec/controllers/xml_controller_spec.rb
@@ -2,7 +2,6 @@ require 'rails_helper'
describe XmlController, type: :controller do
before do
- ... | Improve googlesitemap feed spec to bring out error | publify_publify | train | rb |
dc0c0a2f6832b38cfabdc0cfcd378d3ac48a3455 | diff --git a/buildpackrunner/zip_buildpack.go b/buildpackrunner/zip_buildpack.go
index <HASH>..<HASH> 100644
--- a/buildpackrunner/zip_buildpack.go
+++ b/buildpackrunner/zip_buildpack.go
@@ -39,6 +39,7 @@ func (z *ZipDownloader) DownloadAndExtract(u *url.URL, destination string) (uint
return os.OpenFile(zipFile.Nam... | Checksum support for buildpackrunner
[#<I>] | cloudfoundry_buildpackapplifecycle | train | go |
99d3439bd5267d14f8b284b80fdc47fe76be5166 | diff --git a/src/org/opencms/ade/configuration/CmsConfigurationReader.java b/src/org/opencms/ade/configuration/CmsConfigurationReader.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/ade/configuration/CmsConfigurationReader.java
+++ b/src/org/opencms/ade/configuration/CmsConfigurationReader.java
@@ -615,7 +615,7 ... | Fixed NPE when configuring a localization bundle without a locale
extension in a module config file. | alkacon_opencms-core | train | java |
fabc5478970e2ade62e078b429d79a93a4cef3ce | diff --git a/spec/addressable/uri_spec.rb b/spec/addressable/uri_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/addressable/uri_spec.rb
+++ b/spec/addressable/uri_spec.rb
@@ -173,6 +173,28 @@ describe Addressable::URI, "when created with an invalid host" do
end
end
+describe Addressable::URI, "when created with a... | Explicitly test that unreserved and sub-delims are allowed in a host. | sporkmonger_addressable | train | rb |
495714912c5de6028859b6d98e4d2d8db852932f | diff --git a/demo_app/app.py b/demo_app/app.py
index <HASH>..<HASH> 100644
--- a/demo_app/app.py
+++ b/demo_app/app.py
@@ -4,7 +4,10 @@ from collections import OrderedDict
from flask import Flask, render_template
from werkzeug.serving import run_simple
-from werkzeug.middleware.dispatcher import DispatcherMiddlewar... | Ensure downward compatability
Switching to old import workflow on werkzeug when new workflow fails. | rochacbruno_flasgger | train | py |
76b2ebc92ba9f64292d7460d01b929c4deeca58c | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -47,7 +47,11 @@ export const formatErrorGenerator = (formatErrorOptions) => {
}
if (err === undefined || !err.isBoom) {
- logger.log('Transform error to boom error');
+ if (logger.info) {
... | Fallback to info if missing log
Certain logger like Bunyan doesn't implement .log
So fallback to info which is same as log | GiladShoham_graphql-apollo-errors | train | js |
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.