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 |
|---|---|---|---|---|---|
dc398a1c9dd1ee1efec3fc568ccde841630bc5f8 | diff --git a/www/_include.php b/www/_include.php
index <HASH>..<HASH> 100644
--- a/www/_include.php
+++ b/www/_include.php
@@ -27,8 +27,13 @@ SimpleSAML_Error_Assertion::installHandler();
/* Show error page on unhandled exceptions. */
function SimpleSAML_exception_handler(Exception $exception) {
- $e = new SimpleSA... | _include: Make the generic exception handler handle errors. | simplesamlphp_saml2 | train | php |
3529d6f3c88b7e4ba88f0301baf0c76cd27829d4 | diff --git a/src/toolgroups/MenuToolGroup.js b/src/toolgroups/MenuToolGroup.js
index <HASH>..<HASH> 100644
--- a/src/toolgroups/MenuToolGroup.js
+++ b/src/toolgroups/MenuToolGroup.js
@@ -53,5 +53,5 @@ OO.ui.MenuToolGroup.prototype.onUpdateState = function () {
}
}
- this.setLabel( labelTexts.join( ', ' ) );
+ th... | Force visible label for MenuToolGroups
A completely emptry string hides the label, which makes the
centre of the MenuToolGroup unclickable when empty.
Change-Id: I<I>f9e4ec<I>b<I>ad7ae<I>df3d4c5c1b3 | wikimedia_oojs-ui | train | js |
f4774a9578ff0c296ccc4fe09a655e3e899be520 | diff --git a/src/bots/actions.js b/src/bots/actions.js
index <HASH>..<HASH> 100644
--- a/src/bots/actions.js
+++ b/src/bots/actions.js
@@ -32,6 +32,8 @@ var config = function (cwd) {
}
}.bind(this),
navigate: function (url, next) {
+ // Template the url just in case
+ ... | fix(navigate): get a parsed url through template plugin | damonjs_damon | train | js |
08c907cbd056eaf59e073af4a108a30650fae7ca | diff --git a/packages/errors/src/index.js b/packages/errors/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/errors/src/index.js
+++ b/packages/errors/src/index.js
@@ -63,6 +63,9 @@ export const EthAppPleaseEnableContractData = createCustomErrorClass(
export const FeeEstimationFailed = createCustomErrorClass(
... | add FirmwareNotRecognized error (instead of HTTP <I>) | LedgerHQ_ledgerjs | train | js |
113aaf53fcfea52666e909636033a882f607c365 | diff --git a/lib/dpl/version.rb b/lib/dpl/version.rb
index <HASH>..<HASH> 100644
--- a/lib/dpl/version.rb
+++ b/lib/dpl/version.rb
@@ -1,3 +1,3 @@
module Dpl
- VERSION = '2.0.0-beta.1'
+ VERSION = '2.0.0.beta.1'
end | use dots only (rubygems does not support dashes) | travis-ci_dpl | train | rb |
aa2e8a8bf4b1de88be6715d4dccfee0ef51fbdc5 | diff --git a/src/main/java/net/spy/memcached/MemcachedClient.java b/src/main/java/net/spy/memcached/MemcachedClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/spy/memcached/MemcachedClient.java
+++ b/src/main/java/net/spy/memcached/MemcachedClient.java
@@ -1490,7 +1490,7 @@ public final class MemcachedCli... | Fix null handling bug introduced by 6e2dbb3 | dustin_java-memcached-client | train | java |
5fb304cbded723e135f1214d8f95c56a71585542 | diff --git a/src/main/java/net/dv8tion/jda/handle/EntityBuilder.java b/src/main/java/net/dv8tion/jda/handle/EntityBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/dv8tion/jda/handle/EntityBuilder.java
+++ b/src/main/java/net/dv8tion/jda/handle/EntityBuilder.java
@@ -139,10 +139,10 @@ public class Entity... | Fixed JSONException for presences (again) | DV8FromTheWorld_JDA | train | java |
c6502b1672f37042544e017dc04aade991b336dc | diff --git a/packages/extract-svg-sprite-webpack-plugin/lib/utils/replacer.js b/packages/extract-svg-sprite-webpack-plugin/lib/utils/replacer.js
index <HASH>..<HASH> 100644
--- a/packages/extract-svg-sprite-webpack-plugin/lib/utils/replacer.js
+++ b/packages/extract-svg-sprite-webpack-plugin/lib/utils/replacer.js
@@ -3... | fix: webpack 4 support
This change is necessary for extract-svg-sprite-webpack-plugin to be compatible with webpack 4. In that version of webpack, the second argument to NormalModule.source is the runtime template used by the target compilation. If not provided, webpack code which attempts to use the runtime will fail... | JetBrains_svg-mixer | train | js |
b5c312c8fde0e9c744026b887b3a2591276ace25 | diff --git a/lib/govuk_content_models/version.rb b/lib/govuk_content_models/version.rb
index <HASH>..<HASH> 100644
--- a/lib/govuk_content_models/version.rb
+++ b/lib/govuk_content_models/version.rb
@@ -1,4 +1,4 @@
module GovukContentModels
# Changing this causes Jenkins to tag and release the gem into the wild
- ... | Release <I> with CuratedList | alphagov_govuk_content_models | train | rb |
1e3deb8a068c5e5c9ad8500033bbe4310fb4bfbd | diff --git a/views/js/test/ui/generis/form/test.js b/views/js/test/ui/generis/form/test.js
index <HASH>..<HASH> 100644
--- a/views/js/test/ui/generis/form/test.js
+++ b/views/js/test/ui/generis/form/test.js
@@ -20,7 +20,7 @@ define([
'jquery',
'lodash',
'ui/generis/form/form',
- 'json!test/ui/generis/... | make the form test run on non apache server | oat-sa_tao-core | train | js |
4adf7b3ed01692551e0151f2768906800dc1786a | diff --git a/tryp/maybe.py b/tryp/maybe.py
index <HASH>..<HASH> 100644
--- a/tryp/maybe.py
+++ b/tryp/maybe.py
@@ -60,6 +60,9 @@ class Maybe(Generic[A]):
def smap(self, f: Callable[..., B]) -> 'Maybe[B]':
return self.cata(lambda v: Just(f(*v)), Empty()) # type: ignore
+ def ssmap(self, f: Callable[.... | Maybe.ssmap that applies its value as **v to an f | tek_amino | train | py |
867a52fc090223ec94abde9384362a398259804e | diff --git a/build/ext.js b/build/ext.js
index <HASH>..<HASH> 100644
--- a/build/ext.js
+++ b/build/ext.js
@@ -123,6 +123,7 @@ if (require.main === module) {
.command('each <command...>')
.option('-t, --type <type>', 'Specific type only')
.description('Run a command in each extension repository')
+ .allowUnkn... | ext each: allowUnknownOption | Microsoft_vscode | train | js |
5f2af7e6635f9773aaba4468b5ef333c40f98952 | diff --git a/jquery.scrollable.js b/jquery.scrollable.js
index <HASH>..<HASH> 100644
--- a/jquery.scrollable.js
+++ b/jquery.scrollable.js
@@ -980,7 +980,7 @@
var newY = posE.top * (1 - oriE.percentY) + posE.bottom * oriE.percentY + oriE.offsetY - posW.top - wrapperSize.height * oriW.percentY -... | Fix scrollToElement calculation with sticky header | misonou_jquery-scrollable | train | js |
2dae8f4eba9e67600ded5642cfe952da355a590e | diff --git a/core/serial_node_ble.js b/core/serial_node_ble.js
index <HASH>..<HASH> 100644
--- a/core/serial_node_ble.js
+++ b/core/serial_node_ble.js
@@ -164,7 +164,10 @@
receiveCallback(new Uint8Array(data).buffer)
);
- return rxCharacteristic.startNotifications().then(() =>
+ return rxCha... | Throw a warning message if WebIDE or another process has the device open.
Currently all received data gets incorrectly duplicated when multiple
processes access the same characteristic. | espruino_EspruinoTools | train | js |
b033d75bcd14b21d0b35ffdab2075b3ab53accfa | diff --git a/src/collectors/processresources/processresources.py b/src/collectors/processresources/processresources.py
index <HASH>..<HASH> 100644
--- a/src/collectors/processresources/processresources.py
+++ b/src/collectors/processresources/processresources.py
@@ -80,6 +80,13 @@ def process_info(process, info_keys):
... | BUGFIX: They might be functions
Bugfix of <I>a2eb0c<I>dec1a<I>e<I>a<I>eb9bfc<I>: They might be
functions but if not use them as attributes | python-diamond_Diamond | train | py |
671f1a90d0c5db9140dfae0fe173771c60f956a4 | diff --git a/phy/utils/testing.py b/phy/utils/testing.py
index <HASH>..<HASH> 100644
--- a/phy/utils/testing.py
+++ b/phy/utils/testing.py
@@ -177,9 +177,12 @@ def _profile(prof, statement, glob, loc):
def _enable_pdb(): # pragma: no cover
from IPython.core import ultratb
+ logger.debug("Enabling debugger."... | Fix --pdb with Qt event loop | kwikteam_phy | train | py |
5b4e99ffa3c57ecd305d1b63cc1017689806fa2f | diff --git a/helios-services/src/main/java/com/spotify/helios/rollingupdate/RollingUpdateOpFactory.java b/helios-services/src/main/java/com/spotify/helios/rollingupdate/RollingUpdateOpFactory.java
index <HASH>..<HASH> 100644
--- a/helios-services/src/main/java/com/spotify/helios/rollingupdate/RollingUpdateOpFactory.jav... | Add log message for rolling-update failures (#<I>)
Presently, helios-master will emit Kafka and Google Cloud PubSub events
when a rolling-update fails (in addition to storing the failure and
error message in ZooKeeper). This change adds a log message for the
failure as well, which should be useful for systems witho... | spotify_helios | train | java |
67776caf142b5b0f5fdac26a2f693e6962bf1e70 | diff --git a/kubetest/azure.go b/kubetest/azure.go
index <HASH>..<HASH> 100644
--- a/kubetest/azure.go
+++ b/kubetest/azure.go
@@ -670,7 +670,9 @@ func (c *Cluster) getAKSEngine(retry int) error {
}
func (c *Cluster) generateARMTemplates() error {
- if err := control.FinishRunning(exec.Command(c.aksEngineBinaryPath... | Azure: execute aks-engine generate in a temp directory | kubernetes_test-infra | train | go |
2dcce5ed189d1c72ef93a96c3a0a0554fd6a8e53 | diff --git a/src/morfologik/fsa/morph/FSAMorphCoder.java b/src/morfologik/fsa/morph/FSAMorphCoder.java
index <HASH>..<HASH> 100644
--- a/src/morfologik/fsa/morph/FSAMorphCoder.java
+++ b/src/morfologik/fsa/morph/FSAMorphCoder.java
@@ -72,11 +72,8 @@ public final class FSAMorphCoder {
final byte[] wordLemma, f... | replace program logic with simple arithmetic | morfologik_morfologik-stemming | train | java |
80cbd8de31e8b0697112156d5a8463945f252541 | diff --git a/core/server/master/src/main/java/alluxio/master/metastore/caching/StatsCounter.java b/core/server/master/src/main/java/alluxio/master/metastore/caching/StatsCounter.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/metastore/caching/StatsCounter.java
+++ b/core/server/m... | Fix incorrect calc of cacheHitRatio
### What changes are proposed in this pull request?
Bug Fix
### Why are the changes needed?
fix cacheHitRatio calculation
### Does this PR introduce any user facing changes?
No
pr-link: Alluxio/alluxio#<I>
change-id: cid-e<I>ccba<I>d8f<I>c1ca<I>d<I>a<I>cf8c<I>ae8 | Alluxio_alluxio | train | java |
f1c64a4e48d479fa73da9ccab3877f2baf1e85c8 | diff --git a/src/state_machine.js b/src/state_machine.js
index <HASH>..<HASH> 100644
--- a/src/state_machine.js
+++ b/src/state_machine.js
@@ -149,14 +149,14 @@ StateMachine.prototype.pushCleanupAction = function (context, fn, args) {
};
StateMachine.prototype.pushCleanupStep = function (id) {
- if (!this.state.... | BUGFIX: The "installed_catches" check should be done for pushErrorStep
and not for pushCleanupStep. The code was the other way around. | srikumarks_cspjs | train | js |
07a973695f7dafbcc531e6527cc89f4045ee76f5 | diff --git a/rest_api/api.py b/rest_api/api.py
index <HASH>..<HASH> 100644
--- a/rest_api/api.py
+++ b/rest_api/api.py
@@ -183,6 +183,7 @@ def biopax_process_pc_neighborhood():
### PYSB ###
@route('/assemblers/pysb', method='POST')
+@allow_cors
def assemble_pysb():
"""Assemble INDRA Statements and return PySB... | Allow CORS on PySB assembler | sorgerlab_indra | train | py |
8fca0afd97266fa966b1d07a638adffa033ba0c6 | diff --git a/src/Support/Helpers.php b/src/Support/Helpers.php
index <HASH>..<HASH> 100644
--- a/src/Support/Helpers.php
+++ b/src/Support/Helpers.php
@@ -39,6 +39,10 @@ if ( ! function_exists("view"))
}
}
+//--------------------------------------------------------
+// Routing
+//---------------------------------... | add helper for clean the out screen | vinala_kernel | train | php |
d5cbc77f9c33b10ca6c45f2bceaf21ab0cfcbc78 | diff --git a/src/main/java/org/drizzle/jdbc/internal/common/packet/buffer/ReadUtil.java b/src/main/java/org/drizzle/jdbc/internal/common/packet/buffer/ReadUtil.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/drizzle/jdbc/internal/common/packet/buffer/ReadUtil.java
+++ b/src/main/java/org/drizzle/jdbc/internal/... | fix silly connection drop bug - it would throw a quite unexpected indexoutofbounds exception before, now it is a SQLNonTransientConnectionException instead | MariaDB_mariadb-connector-j | train | java |
c8541a9933db4af6e157c3f587b2e5d88d4005b7 | diff --git a/spec/how_is/contributions_spec.rb b/spec/how_is/contributions_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/how_is/contributions_spec.rb
+++ b/spec/how_is/contributions_spec.rb
@@ -130,7 +130,7 @@ describe HowIs::Contributions do
context "#pretty_date" do
it "formats the date correctly" do
- ... | no unintentional octal literals | duckinator_inq | train | rb |
613c675ddf44b0941a9b17733424c7b528abcf5b | diff --git a/cosmic_ray/app.py b/cosmic_ray/app.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/app.py
+++ b/cosmic_ray/app.py
@@ -15,7 +15,7 @@ import unittest
from .find_modules import find_modules
from .importing import Finder
-from .operations import replace_constants
+from .operations import delete_arithmetic_... | Hooked AOD operator into app | sixty-north_cosmic-ray | train | py |
a326912774a1f5896f398f4a2d5a6afff40ab534 | diff --git a/telemetry/telemetry/page/page_runner.py b/telemetry/telemetry/page/page_runner.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/page/page_runner.py
+++ b/telemetry/telemetry/page/page_runner.py
@@ -426,7 +426,8 @@ def _CheckArchives(page_set, pages, results):
def _RunPage(test, page, state, expe... | Properly notify test_results of tests skipped due to test expectations
Previous behavior wasn't properly "closing" test output.
BUG=<I>
R=<EMAIL>
Review URL: <URL> | catapult-project_catapult | train | py |
7315060aaefff5c4d57b7425460e7bf92c5aaea9 | diff --git a/rawdisk/filesystems/detector.py b/rawdisk/filesystems/detector.py
index <HASH>..<HASH> 100644
--- a/rawdisk/filesystems/detector.py
+++ b/rawdisk/filesystems/detector.py
@@ -31,7 +31,7 @@ from rawdisk.util.singleton import Singleton
class FilesystemDetector(object):
__metaclass__ = Singleton
-
... | Added _clear_plugins to detector for unit tests | dariusbakunas_rawdisk | train | py |
38c78ba3702318a06332082a1a072477b01dc534 | diff --git a/src/howler.core.js b/src/howler.core.js
index <HASH>..<HASH> 100644
--- a/src/howler.core.js
+++ b/src/howler.core.js
@@ -624,9 +624,11 @@
// Wait for the sound to begin playing before stopping it.
if (!self._loaded) {
- self.once('play', function() {
- self.stop(id);
- ... | Fix edge-case with consecutive stop/play calls before sound has loaded | goldfire_howler.js | train | js |
db6712a9c8f97627ec5bea3784f0380c8dba3cf2 | diff --git a/gobiko/apns/client.py b/gobiko/apns/client.py
index <HASH>..<HASH> 100644
--- a/gobiko/apns/client.py
+++ b/gobiko/apns/client.py
@@ -100,7 +100,8 @@ class APNsClient(object):
"{good_string}\n".format(
bad_string="\n".join(bad_registration_ids),
go... | Bind bad registration ids to PartialBulkMessage exception
Bind bad registration ids to PartialBulkMessage exception, so that the program can resend or take further action. | genesluder_python-apns | train | py |
6bf628bb44417af7a7df62e0fe7c686b96dffd3a | diff --git a/Manager/InstallationManager.php b/Manager/InstallationManager.php
index <HASH>..<HASH> 100644
--- a/Manager/InstallationManager.php
+++ b/Manager/InstallationManager.php
@@ -82,7 +82,7 @@ class InstallationManager
throw $ex;
}
- $this->kernel->switchBack();
+ $this->ke... | [InstallationBundle] Cleared original env when success too | claroline_Distribution | train | php |
cd54faabd341ae148610c1dfbc9bc7966db6c036 | diff --git a/lxd/storage_zfs_utils.go b/lxd/storage_zfs_utils.go
index <HASH>..<HASH> 100644
--- a/lxd/storage_zfs_utils.go
+++ b/lxd/storage_zfs_utils.go
@@ -49,7 +49,7 @@ func zfsPoolVolumeCreate(dataset string, properties ...string) (string, error) {
func zfsPoolCheck(pool string) error {
output, err := shared.... | zfs: fix argument order of zfs get commands.
Fixes #<I>. | lxc_lxd | train | go |
dbec7fbbd78a50449ec6ae6f769137d36f3b68ae | diff --git a/lib/fleece.js b/lib/fleece.js
index <HASH>..<HASH> 100644
--- a/lib/fleece.js
+++ b/lib/fleece.js
@@ -169,18 +169,23 @@ function describe_url(msg_url, cb) {
req = request.get(msg_url, function (err, response, body) {
var title;
- if (err || !body) {
- return cb(err, response);
+ if (er... | Return an error if there was no body. Prevents [object Object] from being printed out if no body is sent back. | Floobits_node-fleece | train | js |
61ae8754b1c25f1450d3991077ebdd65b348dbcd | diff --git a/cmd/http-file-server/main.go b/cmd/http-file-server/main.go
index <HASH>..<HASH> 100644
--- a/cmd/http-file-server/main.go
+++ b/cmd/http-file-server/main.go
@@ -3,8 +3,15 @@ package main
import (
"log"
"net/http"
+ "os"
)
func main() {
- log.Fatal(http.ListenAndServe(":8080", http.FileServer(http... | cmd/http-file-server: Log what and where | anacrolix_missinggo | train | go |
ff0027c02b326b0b4d8997d6deba2bc6093af749 | diff --git a/revapi/src/main/java/org/revapi/Revapi.java b/revapi/src/main/java/org/revapi/Revapi.java
index <HASH>..<HASH> 100644
--- a/revapi/src/main/java/org/revapi/Revapi.java
+++ b/revapi/src/main/java/org/revapi/Revapi.java
@@ -1,11 +1,11 @@
/*
- * Copyright 2014 Lukas Krejci
+ * Copyright $year Lukas Krejci
... | Trivial - added suppress warnings.. | revapi_revapi | train | java |
0b20f4451b7dac3a43e61d7a09825d5428359104 | diff --git a/spec/CollectionSpec.php b/spec/CollectionSpec.php
index <HASH>..<HASH> 100644
--- a/spec/CollectionSpec.php
+++ b/spec/CollectionSpec.php
@@ -323,9 +323,9 @@ describe("Collection", function() {
});
- describe("raw", function() {
+ describe("plain", function() {
- it("returns the raw... | BC Break rename the `raw()` method to `plain()`. | crysalead_collection | train | php,php |
51e228b0d568c828046457ed065257145ba91f6f | diff --git a/src/Driver/Http2Driver.php b/src/Driver/Http2Driver.php
index <HASH>..<HASH> 100644
--- a/src/Driver/Http2Driver.php
+++ b/src/Driver/Http2Driver.php
@@ -594,6 +594,11 @@ final class Http2Driver implements HttpDriver, Http2Processor
try {
$parser->send(yield from $this->readPreface(... | Exit from parser if first chunk fails | amphp_http-server | train | php |
f201aea0a7df86942beed08bfefa2ee27f52450d | diff --git a/lib/wsfed.js b/lib/wsfed.js
index <HASH>..<HASH> 100644
--- a/lib/wsfed.js
+++ b/lib/wsfed.js
@@ -53,7 +53,7 @@ module.exports = function(options) {
var profileMap = options.profileMapper(user);
var claims = profileMap.getClaims(options);
- var ni = profileMap.getNameIdentifier(options.nameI... | pass options object to getNameIdentifier | auth0_node-wsfed | train | js |
59c431a4e64ebffe98769ab56aa23e4be5a05d20 | diff --git a/src/Crossjoin/Css/Helper/Placeholder.php b/src/Crossjoin/Css/Helper/Placeholder.php
index <HASH>..<HASH> 100644
--- a/src/Crossjoin/Css/Helper/Placeholder.php
+++ b/src/Crossjoin/Css/Helper/Placeholder.php
@@ -35,6 +35,20 @@ class Placeholder
$text = preg_replace_callback('/("|\')(.*?)\g{1... | Support for data URIs
Added detection of data URIs not given as string, e.g.
"background:url(data:...)" | crossjoin_Css | train | php |
b8c20c493eb7f74b312d79d3c15e65a1ff560949 | diff --git a/tasklib/tests.py b/tasklib/tests.py
index <HASH>..<HASH> 100644
--- a/tasklib/tests.py
+++ b/tasklib/tests.py
@@ -939,12 +939,12 @@ class AnnotationTest(TasklibTest):
class UnicodeTest(TasklibTest):
def test_unicode_task(self):
- Task(self.tw, description="†åßk").save()
+ Task(self.tw... | tests: Explicitly mark unicode strings used for testing | robgolding_tasklib | train | py |
2e2680ebf3888e7a3d53a94fd393d4bd5164bfec | diff --git a/lib/Sabre/VObject/Component/VEvent.php b/lib/Sabre/VObject/Component/VEvent.php
index <HASH>..<HASH> 100644
--- a/lib/Sabre/VObject/Component/VEvent.php
+++ b/lib/Sabre/VObject/Component/VEvent.php
@@ -83,10 +83,11 @@ class VEvent extends VObject\Component {
*/
public function getValidationRules... | Enforcing existance of VEVENT if VCALENDAR does not have a METHOD. | sabre-io_vobject | train | php |
73db6c05de6453a89241dd7adf5611de8dcaa6ad | diff --git a/corelib/string.rb b/corelib/string.rb
index <HASH>..<HASH> 100644
--- a/corelib/string.rb
+++ b/corelib/string.rb
@@ -266,13 +266,13 @@ class String
for (var i = 0, length = suffixes.length; i < length; i++) {
var suffix = suffixes[i];
- if (#{self}.length >= suffix.length && #{sel... | Cleanup String#end_with? | opal_opal | train | rb |
9277104b7cc5d07e06c2338d90ed111f82443b60 | diff --git a/lib/hutch/broker.rb b/lib/hutch/broker.rb
index <HASH>..<HASH> 100644
--- a/lib/hutch/broker.rb
+++ b/lib/hutch/broker.rb
@@ -168,7 +168,7 @@ module Hutch
def work_pool_threads
# TODO: fix bunny so we don't need to do this
- @channel.work_pool.instance_variable_get(:@threads)
+ @cha... | #<I> no exception raised when no consumer, warning logged | gocardless_hutch | train | rb,rb |
c32c149763c171670224f0c06aebfd7b1af57e01 | diff --git a/lib/rango/gv.rb b/lib/rango/gv.rb
index <HASH>..<HASH> 100644
--- a/lib/rango/gv.rb
+++ b/lib/rango/gv.rb
@@ -4,6 +4,11 @@
# Use directly or include into a controller if you want to use filters or customize them
# http://wiki.github.com/botanicus/rango/generic-views
+# If you read this file, you might ... | Comment about magic stuff in generic views implementation | botanicus_rango | train | rb |
ac96d277492df34ba107e093c177ea77eda09361 | diff --git a/packages/wdio-cli/src/utils.js b/packages/wdio-cli/src/utils.js
index <HASH>..<HASH> 100644
--- a/packages/wdio-cli/src/utils.js
+++ b/packages/wdio-cli/src/utils.js
@@ -354,12 +354,19 @@ export function getPathForFileGeneration(answers){
process.cwd(),
path.dirname(answers.pages ... | fix(cli): backslash replacement on win<I> (#<I>) | webdriverio_webdriverio | train | js |
b9da1b5388ff2670676ea97c6f63a62b9e976a72 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ def long_desc():
setup(
name='shellish',
- version='3.1',
+ version='4',
description='A framework for CLI/shell programs.',
author='Justin Mayfield',
author_email='tooker@gmail.com', | Enough in this to call it v4 | mayfield_shellish | train | py |
c9ebf822266b0f2b6082df036da4f7ccf82f11a6 | diff --git a/src/test/java/com/conveyal/gtfs/loader/JDBCTableWriterTest.java b/src/test/java/com/conveyal/gtfs/loader/JDBCTableWriterTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/conveyal/gtfs/loader/JDBCTableWriterTest.java
+++ b/src/test/java/com/conveyal/gtfs/loader/JDBCTableWriterTest.java
@@ -421,7... | test(table-writer): ensure copy-on-update shape_id persists in db | conveyal_gtfs-lib | train | java |
2ff9ca4906670acb33f0a1d986dfc9e880f67fac | diff --git a/Module.php b/Module.php
index <HASH>..<HASH> 100644
--- a/Module.php
+++ b/Module.php
@@ -44,6 +44,12 @@ class Module extends \yii\base\Module
public $github_repo = '';
/**
+ * Repository branch
+ * @var string What branch the content repository is using
+ */
+ public $github_br... | New setting: github_branch and github-link view param | jacmoe_yii2-mdpages-module | train | php,php |
edcea44e4a4328c2d4ff0800fb77aa7dcc5cd739 | diff --git a/scripts/semantic-release-create-version.js b/scripts/semantic-release-create-version.js
index <HASH>..<HASH> 100644
--- a/scripts/semantic-release-create-version.js
+++ b/scripts/semantic-release-create-version.js
@@ -1,12 +1,12 @@
const fs = require("fs");
+const glob = require("glob");
const { version ... | ci(semantic-release): add current version to all distributions in ./pkg | octokit_endpoint.js | train | js |
5204ef9ff1037c4a8a09bce69d1729be424942f7 | diff --git a/etrago/tools/io.py b/etrago/tools/io.py
index <HASH>..<HASH> 100644
--- a/etrago/tools/io.py
+++ b/etrago/tools/io.py
@@ -524,6 +524,6 @@ def results_to_oedb(session, network, args, grid='hv'):
if __name__ == '__main__':
- if pypsa.__version__ not in ['0.6.2', '0.8.0']:
+ if pypsa.__vers... | Update io.py
(cherry picked from commit <I>d<I>f6bbc<I>ab<I>bca<I>dd<I>a<I>b<I>) | openego_eTraGo | train | py |
58029a562639eec0e46735acafc9b1467c197d37 | diff --git a/indy_common/config.py b/indy_common/config.py
index <HASH>..<HASH> 100644
--- a/indy_common/config.py
+++ b/indy_common/config.py
@@ -2,7 +2,7 @@ import os
import logging
from collections import OrderedDict
-from plenum.common.constants import ClientBootStrategy, HS_LEVELDB, KeyValueStorageType
+from p... | INDY-<I>: set RocksDB as a key-value storage for all. | hyperledger_indy-node | train | py |
6935ce7ad04b287370bf40e0c28c8b205f02723b | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -45,12 +45,17 @@ func (client *Client) APICall(method string, params ...interface{}) (result APIR
return
}
-func NewClient(url string, transport *http.Transport) *Client {
+func NewClient(url string, transport *http.T... | Don't ignore the error by xmlrpc.NewClient. | terra-farm_go-xen-api-client | train | go |
629a0210a2c064ab85ed8102c08cf3c4b4ce425c | diff --git a/cherrypy/_cphttpserver.py b/cherrypy/_cphttpserver.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cphttpserver.py
+++ b/cherrypy/_cphttpserver.py
@@ -1,6 +1,6 @@
"""A native HTTP server for CherryPy."""
-import threading, os, socket
+import threading, os, socket, time
import SocketServer, BaseHTTPServe... | added an import for the time module which was missing | cherrypy_cheroot | train | py |
5e21e28cd1fb19418eafc159ba0376f77bc0435c | diff --git a/src/DOM.js b/src/DOM.js
index <HASH>..<HASH> 100644
--- a/src/DOM.js
+++ b/src/DOM.js
@@ -1820,6 +1820,7 @@ class HTMLIFrameElement extends HTMLSrcableElement {
this.d = null;
this.browser = null;
+ this.onconsole = null;
this.xrOffset = {
position: new Float32Array(3),
... | Hook in CEF onconsole handling in DOM.js | exokitxr_exokit | train | js |
91ab3ad4f7a039f66ba29006f6249efd075a565a | diff --git a/lib/rollbar/middleware/rails/rollbar_request_store.rb b/lib/rollbar/middleware/rails/rollbar_request_store.rb
index <HASH>..<HASH> 100644
--- a/lib/rollbar/middleware/rails/rollbar_request_store.rb
+++ b/lib/rollbar/middleware/rails/rollbar_request_store.rb
@@ -14,7 +14,7 @@ module Rollbar
rescu... | insert RollbarRequestStore middleware at the end in case the ConnectionManagement middleware isn't used | rollbar_rollbar-gem | train | rb,rb |
6d7bcc03824c9258786d6b9e64281241e3ac9df0 | diff --git a/controller/src/main/java/org/jboss/as/controller/registry/PlaceholderResource.java b/controller/src/main/java/org/jboss/as/controller/registry/PlaceholderResource.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/registry/PlaceholderResource.java
+++ b/controller/src/m... | AS7-<I> Add placeholder resources for the datasource statistics
was: c4c<I>d<I>ae<I>a<I>cb<I>d2b<I>df | wildfly_wildfly-core | train | java |
280e444aa8fb4b5d37e4613ed96818ee21ef200d | diff --git a/lib/apns/notification.rb b/lib/apns/notification.rb
index <HASH>..<HASH> 100644
--- a/lib/apns/notification.rb
+++ b/lib/apns/notification.rb
@@ -19,7 +19,7 @@ module APNS
def packaged_notification
pt = self.packaged_token
pm = self.packaged_message
- [0, 0, 32, pt, 0, pm.size, pm].... | fixed payload length to send multibyte messages | jpoz_APNS | train | rb |
446cb04114b530159535d1039bc9a34ee4e42214 | diff --git a/src/js/mep-player.js b/src/js/mep-player.js
index <HASH>..<HASH> 100644
--- a/src/js/mep-player.js
+++ b/src/js/mep-player.js
@@ -1262,6 +1262,11 @@
}
t.globalUnbind();
delete t.node.player;
+ },
+ rebuildtracks: function(){
+ var t = this;
+ t.findTracks();
+ t.buildtracks(t, t.control... | refresh CC tracks feature
new method added "rebuildtracks" that will force media element player to rebuild the captions. | mediaelement_mediaelement | train | js |
a94755dbc57e9318578983c2199d7e61ff5dbe01 | diff --git a/exchange/bitswap/session.go b/exchange/bitswap/session.go
index <HASH>..<HASH> 100644
--- a/exchange/bitswap/session.go
+++ b/exchange/bitswap/session.go
@@ -120,9 +120,13 @@ type interestReq struct {
// still be in the interest cache.
func (s *Session) isLiveWant(c *cid.Cid) bool {
resp := make(chan b... | fix deadlock in bitswap sessions
This deadlock would happen when calling SessionsForBlock (holding
bitswap.sessLk) while the session's main loop was trying to deregister the
session (taking bitswap.sessLk).
I've also defensively added selects on contexts for two other channel writes
just in case.
fixes #<I>
...well... | ipfs_go-ipfs | train | go |
ec695a1aef6ff739fe91ebabf230fb245dadbd89 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ Tarbell makes use of familiar, flexible tools to take the magic (and frustration
"PyYAML==3.11",
"boto==2.48.0",
"clint==0.4.1",
- "gnureadline==6.3.3",
+ "gnureadline>=6... | Upgrade gnureadline. | tarbell-project_tarbell | train | py |
dc00aae4fbdd8047cf8ccd209bd94126b4a490b8 | diff --git a/src/xray.js b/src/xray.js
index <HASH>..<HASH> 100644
--- a/src/xray.js
+++ b/src/xray.js
@@ -1,12 +1,7 @@
const xray = require('aws-xray-sdk-core');
-exports.captureAWS = function (awsSdk) {
- return xray.captureAWS(awsSdk);
-};
-
-exports.captureWithXRay = (awsSdk) => {
+exports.captureWithXRay = fun... | remove unnecessary function, reorder for tidying up code
remove unnecessary function, reorder for tidying up code | lifeomic_lambda-tools | train | js |
bacf4f03bb4d3addc6c4ca9a46bf495909cb6fa1 | diff --git a/mpop/scene.py b/mpop/scene.py
index <HASH>..<HASH> 100644
--- a/mpop/scene.py
+++ b/mpop/scene.py
@@ -584,6 +584,20 @@ class SatelliteInstrumentScene(SatelliteScene):
return res
+ def append(self, scene):
+ """Append data from another *scene* to this one
+ """
+ ... | added append function to scene.py | pytroll_satpy | train | py |
a26ffaf4f84521e2c0e9ce035902bb00957ebcb6 | diff --git a/collector/conntrack_linux.go b/collector/conntrack_linux.go
index <HASH>..<HASH> 100644
--- a/collector/conntrack_linux.go
+++ b/collector/conntrack_linux.go
@@ -51,14 +51,14 @@ func (c *conntrackCollector) Update(ch chan<- prometheus.Metric) error {
value, err := readUintFromFile(procFilePath("sys/net/n... | Failed conntrack update should return success=0 (#<I>, #<I>) | prometheus_node_exporter | train | go |
02fced57c84dd49cb99e2e4ca80b7aaeb415af58 | diff --git a/src/main/java/thymeleafsandbox/springreactive/thymeleaf/ThymeleafViewResolver.java b/src/main/java/thymeleafsandbox/springreactive/thymeleaf/ThymeleafViewResolver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/thymeleafsandbox/springreactive/thymeleaf/ThymeleafViewResolver.java
+++ b/src/main/java/th... | Initialised buffer factory/allocator and supported media types from ViewResolver into View instances | thymeleaf_thymeleaf | train | java |
78e12e12543dbc7cfe738426c475b06a839e928e | diff --git a/contrib/externs/chrome_extensions.js b/contrib/externs/chrome_extensions.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/chrome_extensions.js
+++ b/contrib/externs/chrome_extensions.js
@@ -9151,16 +9151,26 @@ chrome.inlineInstallPrivate.install = function(id, opt_callback) {};
chrome.wallpaper = {};
... | Add definition for chrome.wallpaper.WallpaperLayout and a hint that it can be used in setWallpaper().
-------------
Created by MOE: <URL> | google_closure-compiler | train | js |
53612ac34c5c5e4bdb4c7e46b498c01fdee20767 | diff --git a/mode/javascript/javascript.js b/mode/javascript/javascript.js
index <HASH>..<HASH> 100644
--- a/mode/javascript/javascript.js
+++ b/mode/javascript/javascript.js
@@ -634,11 +634,8 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
if (type == "variable") {register(value); return c... | [javascript mode] Simplify <I>b<I>cf<I>
Issue #<I> | codemirror_CodeMirror | train | js |
014c218f68c85abe471e922c711a2ecd634d3870 | diff --git a/lib/eastwood/context.rb b/lib/eastwood/context.rb
index <HASH>..<HASH> 100644
--- a/lib/eastwood/context.rb
+++ b/lib/eastwood/context.rb
@@ -1,4 +1,12 @@
module Eastwood
module Context
+
+ def app
+ Rails.application.class.name.split( '::' ).first
+ end
+
+ def env
+ Rails.env
+ ... | Add env and app to context | jeremyruppel_eastwood | train | rb,rb |
46470e690baa4ae33f3c8989fcf795eba2fc0106 | diff --git a/src/Picqer/Financials/Moneybird/Entities/Estimate.php b/src/Picqer/Financials/Moneybird/Entities/Estimate.php
index <HASH>..<HASH> 100644
--- a/src/Picqer/Financials/Moneybird/Entities/Estimate.php
+++ b/src/Picqer/Financials/Moneybird/Entities/Estimate.php
@@ -33,6 +33,7 @@ class Estimate extends Model
... | Add `contact_person_id` as fillable field to estimate entity | picqer_moneybird-php-client | train | php |
b3a49ac8cdd38bc70e54b6edfa725ab24b2a2251 | diff --git a/f5/bigip/mixins.py b/f5/bigip/mixins.py
index <HASH>..<HASH> 100644
--- a/f5/bigip/mixins.py
+++ b/f5/bigip/mixins.py
@@ -125,7 +125,13 @@ class ExclusiveAttributesMixin(object):
super(ExclusiveAttributesMixin, self).__setattr__(key, value)
-class UnnamedResourceMixin(object):
+class MetaDataU... | Make MetaDataURIMixin for composeability
Issues:
Fixes #<I>
Problem: Converting from Python class names to device uris can require,
among other things, replacing '_' with '-'. The new mixin is the place for
classname-to-URI manipulation.
Analysis: created MetaDataURIMixin
Tests: all current tests pass | F5Networks_f5-common-python | train | py |
1d8230b4a95215ffcdc03f2f8ad547f9a388e0c0 | diff --git a/src/events/http/HttpServer.js b/src/events/http/HttpServer.js
index <HASH>..<HASH> 100644
--- a/src/events/http/HttpServer.js
+++ b/src/events/http/HttpServer.js
@@ -984,7 +984,7 @@ export default class HttpServer {
}
serverlessLog(
- `PROXY ${request.method} ${request.ur... | change request.url.path -> request.url.pathname | dherault_serverless-offline | train | js |
ca3debca91c3ff40f6fcc2b0ed735362c4e3dbd6 | diff --git a/lxd/migration/utils.go b/lxd/migration/utils.go
index <HASH>..<HASH> 100644
--- a/lxd/migration/utils.go
+++ b/lxd/migration/utils.go
@@ -1,6 +1,6 @@
package migration
-// BTRFSFeatureMigrationHeader indicates a migration header will be sent/recv in data channel first.
+// BTRFSFeatureMigrationHeader in... | lxd/migration/utils: Updates comments on constant to indicate index header may be sent first | lxc_lxd | train | go |
69de04e140d2bc8579482235f27e279b5a1049dd | diff --git a/lib/woocommerce_api.rb b/lib/woocommerce_api.rb
index <HASH>..<HASH> 100644
--- a/lib/woocommerce_api.rb
+++ b/lib/woocommerce_api.rb
@@ -69,6 +69,15 @@ module WooCommerce
do_request :delete, add_query_params(endpoint, query)
end
+ # Public: OPTIONS requests.
+ #
+ # endpoint - A Str... | Added method for HTTP OPTIONS requests | woocommerce_wc-api-ruby | train | rb |
a0d3282305725985bf17b6d865a5df4d2e801bf8 | diff --git a/spec/guard/jasmine/util_spec.rb b/spec/guard/jasmine/util_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/guard/jasmine/util_spec.rb
+++ b/spec/guard/jasmine/util_spec.rb
@@ -23,7 +23,7 @@ describe Guard::Jasmine::Util do
context 'because the connection is refused' do
before do
- ... | Fix spec on Rubinius head. | guard_guard-jasmine | train | rb |
250be4e03d0b4bbf0455ec11a3c4b5c0e202bdbf | diff --git a/mockserver-netty/src/main/java/org/mockserver/cli/Main.java b/mockserver-netty/src/main/java/org/mockserver/cli/Main.java
index <HASH>..<HASH> 100644
--- a/mockserver-netty/src/main/java/org/mockserver/cli/Main.java
+++ b/mockserver-netty/src/main/java/org/mockserver/cli/Main.java
@@ -109,8 +109,6 @@ publi... | ensure all errors are always printed to console | jamesdbloom_mockserver | train | java |
8c2429dbd3472d651a03839bd2568d30b1ed7c8d | diff --git a/tornado/ioloop.py b/tornado/ioloop.py
index <HASH>..<HASH> 100644
--- a/tornado/ioloop.py
+++ b/tornado/ioloop.py
@@ -102,7 +102,7 @@ class IOLoop(object):
"""Returns a global IOLoop instance.
Most single-threaded applications have a single, global IOLoop.
- Use this method inste... | Catch IOError in addition to OSError in IOLoop.remove_handler
(friendfeed's epoll module throws OSError, while the one in the standard
library throws IOError) | tornadoweb_tornado | train | py |
6a9263b475286a99b852154456836e6620bc9129 | diff --git a/src/main/java/act/controller/meta/CatchMethodMetaInfo.java b/src/main/java/act/controller/meta/CatchMethodMetaInfo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/act/controller/meta/CatchMethodMetaInfo.java
+++ b/src/main/java/act/controller/meta/CatchMethodMetaInfo.java
@@ -21,7 +21,7 @@ public clas... | fix issue: CatchMethodMetaInfo release logic tried to clear readonly list | actframework_actframework | train | java |
df86f3e2b8d338768593704dc4c3d82dffa4a4e4 | diff --git a/pefile.py b/pefile.py
index <HASH>..<HASH> 100644
--- a/pefile.py
+++ b/pefile.py
@@ -3097,7 +3097,7 @@ class PE(object):
versioninfo_string = self.get_string_u_at_rva(ustr_offset)
else:
versioninfo_string = self.get_string_u_at_rva(
- ustr_... | max_length is the maximum count of <I>bit elements
so it needs to be divided by 2 before passing the maximum size of the section to get_string_u_at_rva | erocarrera_pefile | train | py |
95537304a2339375cc9f21e28031392ff0536e3e | diff --git a/neo4j/time/hydration.py b/neo4j/time/hydration.py
index <HASH>..<HASH> 100644
--- a/neo4j/time/hydration.py
+++ b/neo4j/time/hydration.py
@@ -167,7 +167,8 @@ def dehydrate_datetime(value):
else:
# with time offset
seconds, nanoseconds = seconds_and_nanoseconds(value)
- return ... | Fix serialization of DateTime
DateTime objects with fixed negative UTC offset were incorrectly serialized
and sent to the database.
Similar issue to <URL> | neo4j_neo4j-python-driver | train | py |
889381f7d9ad7adc095d8485b390d56f98ce51b7 | diff --git a/src/Models/CrudModel.php b/src/Models/CrudModel.php
index <HASH>..<HASH> 100644
--- a/src/Models/CrudModel.php
+++ b/src/Models/CrudModel.php
@@ -108,8 +108,8 @@ abstract class CrudModel extends Model
public static function make($data)
{
- $id = is_numeric($data) ? $data : ($data['id... | make for not integer ids | skvn_crud | train | php |
bc8da700c5025099f4d6e9b46e0f01722ddf17b3 | diff --git a/examples/CTC-TIMIT/train-timit.py b/examples/CTC-TIMIT/train-timit.py
index <HASH>..<HASH> 100755
--- a/examples/CTC-TIMIT/train-timit.py
+++ b/examples/CTC-TIMIT/train-timit.py
@@ -10,6 +10,7 @@ from six.moves import range
from tensorpack import *
from tensorpack.tfutils.gradproc import SummaryGradien... | fix train-timit (#<I>) | tensorpack_tensorpack | train | py |
18b8a0e44aa873bc7b4208ce5c94a76f6e4566ba | diff --git a/library/HTMLPurifier.composer.php b/library/HTMLPurifier.composer.php
index <HASH>..<HASH> 100644
--- a/library/HTMLPurifier.composer.php
+++ b/library/HTMLPurifier.composer.php
@@ -1,4 +1,4 @@
<?php
if (!defined('HTMLPURIFIER_PREFIX')) {
- define('HTMLPURIFIER_PREFIX', __DIR__);
+ define('HTMLPURI... | Make Composer work with PHP <I> and earlier. Reported by @voku | Masterjoa_HTMLPurifier-standalone | train | php |
0d1a6de11d0b495d9611944684e8509efe91cd60 | diff --git a/pysoa/test/plan/grammar/directive.py b/pysoa/test/plan/grammar/directive.py
index <HASH>..<HASH> 100644
--- a/pysoa/test/plan/grammar/directive.py
+++ b/pysoa/test/plan/grammar/directive.py
@@ -75,10 +75,10 @@ def get_all_directives():
if not ENTRY_POINT_DIRECTIVES:
for entry_point in pkg_res... | [PATCH] Remove use of deprecated EntryPoint.load
`setuptools` has deprecated the `EntryPoint.load` method in version
<I> [0], and added a `resolve` method in version <I> [1], released in
January <I>.
[0] <URL> | eventbrite_pysoa | train | py |
23c9722ef38e0715a006de460694b32516a61192 | diff --git a/test/regression/issue_659.py b/test/regression/issue_659.py
index <HASH>..<HASH> 100755
--- a/test/regression/issue_659.py
+++ b/test/regression/issue_659.py
@@ -35,7 +35,7 @@ with driver.Metacluster() as metacluster:
cluster.check()
print "Inserting some data..."
- subprocess.check_call(["%... | fixing incorrect protocol in issue_<I> test, was using the stress's default (rethinkdb protocol) which was changed a while back, the test meant to use memcached | rethinkdb_rethinkdb | train | py |
4451db43b403f355811cd4a9c0d9878bdd5f063c | diff --git a/lib/spring/client/run.rb b/lib/spring/client/run.rb
index <HASH>..<HASH> 100644
--- a/lib/spring/client/run.rb
+++ b/lib/spring/client/run.rb
@@ -95,7 +95,7 @@ ERROR
def send_json(socket, data)
data = JSON.dump(data)
- socket.puts data.length
+ socket.puts data.bytesize
... | Handle multibyte characters in environment variables
Send byte size of JSON instead of string length as IO#read uses byte
lengths. If environment contains multibyte UTF-8 characters, byte size
is more than string length and read content is cropped. | rails_spring | train | rb,rb |
099d3b8291f8a08d7f795bc8a1f794271e0aeeab | diff --git a/datadog_checks_dev/setup.py b/datadog_checks_dev/setup.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/setup.py
+++ b/datadog_checks_dev/setup.py
@@ -72,7 +72,8 @@ setup(
'appdirs>=1.4.4',
'atomicwrites',
'beautifulsoup4>=4.9.3',
- 'click>7',
+ ... | Pin click to <I> (#<I>) | DataDog_integrations-core | train | py |
c1e1ddee69753f229a0e14d3deaf970290b14626 | diff --git a/src/url.js b/src/url.js
index <HASH>..<HASH> 100644
--- a/src/url.js
+++ b/src/url.js
@@ -1428,8 +1428,6 @@ module.exports.mixinURLUtils = function (obj, base, updateSteps) {
}
obj[updateStepsSymbol] = updateSteps || function () {};
- setTheInput(obj, null, null);
-
mixin(URLUtils, obj);
}; | Remove call which is not in the spec
This call was never really in the spec, implementations should instead call setTheInput on their own at creation time. | jsdom_whatwg-url | train | js |
0c1e07e9bb4f62c11044e177a57bc4e2635362bc | diff --git a/rollup.config.js b/rollup.config.js
index <HASH>..<HASH> 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -74,32 +74,25 @@ const config = [
],
},
- // esm minify
- {
- external: production
- ? external.concat(nodeModule)
- : nodeModule,
- input: pkg.module,
- plugins:... | chore: only compile esm.min.js during production | waitingsong_node-rxwalker | train | js |
300670ff20c22e47b9113f14ddfbda31c2e9d43d | diff --git a/lib/devpipeline_git/git.py b/lib/devpipeline_git/git.py
index <HASH>..<HASH> 100644
--- a/lib/devpipeline_git/git.py
+++ b/lib/devpipeline_git/git.py
@@ -85,8 +85,9 @@ class Git:
def __init__(self, args):
self._args = args
- def checkout(self, repo_dir, shared_dir):
+ def checkout(sel... | Accept extra keyword arugments for all scm functions | dev-pipeline_dev-pipeline-git | train | py |
4bf5ea81bc22908249908caf3821580133bb2d00 | diff --git a/req.go b/req.go
index <HASH>..<HASH> 100644
--- a/req.go
+++ b/req.go
@@ -26,7 +26,7 @@ type formFile struct {
file io.Reader
}
-// Request provides much easier useage than http.Request
+// Request provides much easier usage than http.Request
type Request struct {
err error
url string... | fix some typos
fix some typos as infomation -> information, useage -> usage | imroc_req | train | go |
1f42dd170cc6588bd474ad9a0e698541d1f9e191 | diff --git a/src/com/opera/core/systems/OperaDriver.java b/src/com/opera/core/systems/OperaDriver.java
index <HASH>..<HASH> 100644
--- a/src/com/opera/core/systems/OperaDriver.java
+++ b/src/com/opera/core/systems/OperaDriver.java
@@ -123,7 +123,9 @@ public class OperaDriver extends RemoteWebDriver implements TakesScre... | Accept null DesiredCapabilities object | operasoftware_operaprestodriver | train | java |
a8ecfc118486c88a8a59a66b3ea6cfe18eed509c | diff --git a/lib/terraforming.rb b/lib/terraforming.rb
index <HASH>..<HASH> 100644
--- a/lib/terraforming.rb
+++ b/lib/terraforming.rb
@@ -1,3 +1,6 @@
+require "oj"
+require "ox"
+
require "aws-sdk-core"
require "erb"
require "json" | Load oj and ox explicitly | dtan4_terraforming | train | rb |
443509a4b1920d4cc56ed5f9714526e7d7678b28 | diff --git a/matrix_client/room.py b/matrix_client/room.py
index <HASH>..<HASH> 100644
--- a/matrix_client/room.py
+++ b/matrix_client/room.py
@@ -270,7 +270,7 @@ class Room(object):
return False
def unban_user(self, user_id):
- """ Unban a user from this room
+ """Unban a user from th... | Remove initial space in docstring of Room.unban_user() | matrix-org_matrix-python-sdk | train | py |
d3027c214305235012c542e78c9ca9e7201c0725 | diff --git a/identifier/functions/malloc.py b/identifier/functions/malloc.py
index <HASH>..<HASH> 100644
--- a/identifier/functions/malloc.py
+++ b/identifier/functions/malloc.py
@@ -60,8 +60,8 @@ class malloc(Func):
return False
# if they are all multiples of 0x1000 it seems to be always callin... | Disable an overly-restrictive constrait in malloc identification. | angr_angr | train | py |
e9f59d42c305b4d68ab95fd6d7d5fe17fed8e398 | diff --git a/easy_maps/models.py b/easy_maps/models.py
index <HASH>..<HASH> 100644
--- a/easy_maps/models.py
+++ b/easy_maps/models.py
@@ -4,6 +4,7 @@ import logging
import collections
from django.db import models
+from django.utils.encoding import python_2_unicode_compatible
from django.utils.translation import u... | fix backward compatibility with python 2 | bashu_django-easy-maps | train | py |
fd9ea6198a4cd13a6e6926b7c8257781b393a298 | diff --git a/lib/DB/dsql.php b/lib/DB/dsql.php
index <HASH>..<HASH> 100644
--- a/lib/DB/dsql.php
+++ b/lib/DB/dsql.php
@@ -1460,22 +1460,19 @@ class DB_dsql extends AbstractModel implements Iterator {
/**
* Creates expression for SUM()
*
- * @param string|object $arg Typically an expression of a su... | DSQL - sum(*) is not allowed in SQL | atk4_atk4 | train | php |
fd63e9b4430a1feb5d4173920379d5eb64915b26 | diff --git a/src/Validation/Validation.php b/src/Validation/Validation.php
index <HASH>..<HASH> 100644
--- a/src/Validation/Validation.php
+++ b/src/Validation/Validation.php
@@ -656,7 +656,7 @@ class Validation
return true;
}
- return is_array(gethostbynamel($regs[1]));
+ ... | Force email domain lookups to work in fallback case.
In fallback scenarios, Validation::email() would resolve all domains to
localhost because of a missing `.`.
Refs #<I> | cakephp_cakephp | train | php |
621a1802eddcad2bb2e9416e96f034400fb5d367 | diff --git a/GPy/__init__.py b/GPy/__init__.py
index <HASH>..<HASH> 100644
--- a/GPy/__init__.py
+++ b/GPy/__init__.py
@@ -4,17 +4,17 @@ import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)
import os
-import util
import core
-import kern
+import models
import mappings
-import likelihoods... | fixed Ctrl-C behaviour on Windows | SheffieldML_GPy | train | py |
1eed5383070bdaa2f5d1522815da5bde966a3333 | diff --git a/wandb/__init__.py b/wandb/__init__.py
index <HASH>..<HASH> 100644
--- a/wandb/__init__.py
+++ b/wandb/__init__.py
@@ -22,7 +22,7 @@ from __future__ import unicode_literals
__version__ = '0.0.43'
# Used with pypi checks and other messages related to pip
-_wandb_module = 'wandb-ng'
+_wandb_module = 'wand... | wandb-ng releases should look for wandb updates (<I>) | wandb_client | train | py |
f133ad992249886104070d1b10482930ade5a2e7 | diff --git a/raven/contrib/django/celery/__init__.py b/raven/contrib/django/celery/__init__.py
index <HASH>..<HASH> 100644
--- a/raven/contrib/django/celery/__init__.py
+++ b/raven/contrib/django/celery/__init__.py
@@ -8,8 +8,10 @@ raven.contrib.django.celery
from raven.contrib.celery import CeleryMixin
from raven.... | Newer versions of Celery prefer importing task decorator from the celery.task module. | elastic_apm-agent-python | train | py |
c3318efc39c44912c60b69dc40c77d806b4390e5 | diff --git a/tests/test_attributes.py b/tests/test_attributes.py
index <HASH>..<HASH> 100644
--- a/tests/test_attributes.py
+++ b/tests/test_attributes.py
@@ -287,6 +287,7 @@ class TestResourceAttribute:
manual_all_network_attributes.append(a.attr_id)
for n in network_with_data.links:
... | Update test_attributes to make the test more consistent | hydraplatform_hydra-base | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.