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 |
|---|---|---|---|---|---|
2a46add3fa778d26eec2f647c7b874d09a9c858f | diff --git a/lib/ewmh.js b/lib/ewmh.js
index <HASH>..<HASH> 100644
--- a/lib/ewmh.js
+++ b/lib/ewmh.js
@@ -1,5 +1,6 @@
var EventEmitter = require('events').EventEmitter;
var util = require('util');
+var os = require('os');
var x11 = require('x11');
var EWMH = function(X, root) {
@@ -40,7 +41,12 @@ EWMH.prototype.... | WM_CLIENT_MACHINE setter | santigimeno_node-ewmh | train | js |
ab3160a71ff32a23b4ffdc5d6ef9cc1ae388e182 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -32,6 +32,10 @@ function extend ( target ) {
return target;
}
+function normaliseOutput ( code ) {
+ return code.toString().trim().replace( /\r\n/g, '\n' );
+}
+
describe( 'rollup', function () {
descri... | normalise test output for benefit of windows | rollup_rollup | train | js |
8f44529ed65bc4b9a631a66b16aa9edb84f22868 | diff --git a/lib/onebox/engine.rb b/lib/onebox/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/onebox/engine.rb
+++ b/lib/onebox/engine.rb
@@ -38,9 +38,18 @@ module Onebox
end
def template
- File.read(File.join("templates", "#{template_name}.handlebars"))
+ File.read(template_path)
end
+ ... | refactor #template to use new method #template_path, more modular | discourse_onebox | train | rb |
b9c4a0b6c523901d716cb4eabeea45ccc3bf5f88 | diff --git a/deploy_stack.py b/deploy_stack.py
index <HASH>..<HASH> 100755
--- a/deploy_stack.py
+++ b/deploy_stack.py
@@ -453,8 +453,9 @@ def _deploy_job(job_name, base_env, upgrade, charm_prefix, new_path,
test_upgrade(env)
except:
if host is not None... | Use dump_env_logs to call dump_logs for each machine in the env. | juju_juju | train | py |
dff3daf32ed3877dcb46d74689d79de0f7bbc0e8 | diff --git a/test/common/test_common.py b/test/common/test_common.py
index <HASH>..<HASH> 100755
--- a/test/common/test_common.py
+++ b/test/common/test_common.py
@@ -696,8 +696,8 @@ def start_master_slave_pair(opts, extra_flags, test_dir):
if opts["elb"]:
server.elb_port = elb_ports[0]
- server.star... | Fixed replication test (fixed start_master_slave_pair) so that it actually runs. Previously, we were waiting for the master to start accepting gets, in start_master_slave_pair, which obviously would never happen before we tried starting the slave. | rethinkdb_rethinkdb | train | py |
e622dee3c87b89c8eebeff6c59f4d77d8f66864c | diff --git a/lib/board.js b/lib/board.js
index <HASH>..<HASH> 100644
--- a/lib/board.js
+++ b/lib/board.js
@@ -246,19 +246,18 @@ Board = (function(_super) {
return this.writeAndWait("RF receive " + pin + "\n");
};
- Board.prototype.rfControlSendMessage = function(pin, protocolName, message) {
+ Board.protot... | moving amount of repeats to homeduino config | pimatic_homeduinojs | train | js |
1fb81602d973ff5f86404557aad301bf0b81130b | diff --git a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/NioSelector.java b/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/NioSelector.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/NioSelector.java
+++ b/aeron-driver/src/main/java/uk/co/real_logic... | [Java]: fix determination of usage of NioSelectedKeySet in NioSelector | real-logic_aeron | train | java |
53e7953f6a3ffce8628461ab64a745ca12555a57 | diff --git a/lib/searchkick/query.rb b/lib/searchkick/query.rb
index <HASH>..<HASH> 100644
--- a/lib/searchkick/query.rb
+++ b/lib/searchkick/query.rb
@@ -525,7 +525,7 @@ module Searchkick
def term_filters(field, value)
if value.is_a?(Array) # in query
if value.any?(&:nil?)
- {or: value.ma... | More efficient array queries with nil | ankane_searchkick | train | rb |
722aeb80774b504bf2b9a0696ac6c67e1ccacbb2 | diff --git a/src/org/openscience/cdk/io/PDBWriter.java b/src/org/openscience/cdk/io/PDBWriter.java
index <HASH>..<HASH> 100644
--- a/src/org/openscience/cdk/io/PDBWriter.java
+++ b/src/org/openscience/cdk/io/PDBWriter.java
@@ -51,7 +51,8 @@ import org.openscience.cdk.tools.FormatStringBuffer;
import org.openscience.cd... | Added a statement to say that the current PDBWriter does not write protein structures
git-svn-id: <URL> | cdk_cdk | train | java |
41233276207450a3062df82107eae8d5c4c814c8 | diff --git a/sample_extension.py b/sample_extension.py
index <HASH>..<HASH> 100644
--- a/sample_extension.py
+++ b/sample_extension.py
@@ -8,7 +8,7 @@ class ContainsValidator(validators.AbstractValidator):
# Sample validator that verifies a string is contained in the request body
contains_string = None
- ... | Fix args issue in sample extension | svanoort_pyresttest | train | py |
c5a873f2999f7d6d2307dbc4e334f0a1bd29db65 | diff --git a/hazelcast/src/main/java/com/hazelcast/multimap/MultiMap.java b/hazelcast/src/main/java/com/hazelcast/multimap/MultiMap.java
index <HASH>..<HASH> 100755
--- a/hazelcast/src/main/java/com/hazelcast/multimap/MultiMap.java
+++ b/hazelcast/src/main/java/com/hazelcast/multimap/MultiMap.java
@@ -111,7 +111,7 @@ p... | Fix JavaDoc for MultiMap.put method (#<I>) | hazelcast_hazelcast | train | java |
c933df15259fd78676920352f5efe50e103ac6a6 | diff --git a/structr-core/src/main/java/org/structr/core/script/polyglot/function/GrantFunction.java b/structr-core/src/main/java/org/structr/core/script/polyglot/function/GrantFunction.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/core/script/polyglot/function/GrantFunction.java
+++ b/s... | Adds missing license file headers to GrantFunction. | structr_structr | train | java |
d0363e7b89d2ce82f4033e88377ca66be216d1db | diff --git a/static-files/webpack.config.js b/static-files/webpack.config.js
index <HASH>..<HASH> 100644
--- a/static-files/webpack.config.js
+++ b/static-files/webpack.config.js
@@ -68,7 +68,7 @@ module.exports = (env = {}, options = {}) => {
})(),
output: (() => {
const output = {
- path: path... | Fixes some weird uses of path.resolve | Creuna-Oslo_create-react-app | train | js |
3b8df72cc913282c60010fdfd29c7726b0e39b6e | diff --git a/nessclient/connection.py b/nessclient/connection.py
index <HASH>..<HASH> 100644
--- a/nessclient/connection.py
+++ b/nessclient/connection.py
@@ -38,6 +38,7 @@ class IP232Connection(Connection):
loop: asyncio.AbstractEventLoop = asyncio.get_event_loop()):
super().__init__()
+ ... | Wrap connection writing with a lock (#<I>) | nickw444_nessclient | train | py |
043df1be5ae2f38ffa119ef5c6c9b2458ca0d14e | diff --git a/packages/vx-geo/test/CustomProjection.test.js b/packages/vx-geo/test/CustomProjection.test.js
index <HASH>..<HASH> 100644
--- a/packages/vx-geo/test/CustomProjection.test.js
+++ b/packages/vx-geo/test/CustomProjection.test.js
@@ -2,7 +2,7 @@ import React from 'react';
import { shallow } from 'enzyme';
im... | [geo] fix typo in test | hshoff_vx | train | js |
527aa5f9b21aa4cbcb103a97ea684e0b405d80fb | diff --git a/code/checkout/steps/CheckoutStep_Address.php b/code/checkout/steps/CheckoutStep_Address.php
index <HASH>..<HASH> 100644
--- a/code/checkout/steps/CheckoutStep_Address.php
+++ b/code/checkout/steps/CheckoutStep_Address.php
@@ -41,6 +41,11 @@ class CheckoutStep_Address extends CheckoutStep{
$step = null;
... | FIX: shipping address checkout step should update billing address, if "separate billing" is not selected. | silvershop_silvershop-core | train | php |
45afecf1f77744ace58bd17385f18e10bdd33c95 | diff --git a/addon/models/learner-group.js b/addon/models/learner-group.js
index <HASH>..<HASH> 100644
--- a/addon/models/learner-group.js
+++ b/addon/models/learner-group.js
@@ -161,7 +161,7 @@ export default Model.extend({
* @type {Ember.computed}
* @public
*/
- filterTitle: computed('allDescendants.@eac... | added missing dependent keys to filterTitle CP. | ilios_common | train | js |
40a55a640c0448301c12c1d1549353ae02565e09 | diff --git a/_pytest/nose.py b/_pytest/nose.py
index <HASH>..<HASH> 100644
--- a/_pytest/nose.py
+++ b/_pytest/nose.py
@@ -41,7 +41,7 @@ def pytest_make_collect_report(collector):
def call_optional(obj, name):
method = getattr(obj, name, None)
- if method is not None and not hasattr(method, "_pytestfixturefu... | nose.py: don't try to call setup if it's not callable | vmalloc_dessert | train | py |
b50e941d1d8ea1ce51c24f0e1a4684fe4dab770d | diff --git a/requesting.go b/requesting.go
index <HASH>..<HASH> 100644
--- a/requesting.go
+++ b/requesting.go
@@ -298,7 +298,7 @@ func (p *Peer) applyRequestState(next requestState) bool {
if more {
p.needRequestUpdate = ""
if !current.Requests.IsEmpty() {
- p.updateRequestsTimer.Reset(time.Second)
+ p.upd... | Refresh updates after 3s instead of 1s | anacrolix_torrent | train | go |
38d56b1a930710ea71acc51b6ca2ce88f1dfe306 | diff --git a/mapping.js b/mapping.js
index <HASH>..<HASH> 100644
--- a/mapping.js
+++ b/mapping.js
@@ -43,7 +43,9 @@ var normalize = function(f) {
}
if(type.isNode){
- return f(dataset, type, dataset.normalizeId(id), null, null, doc);
+ if(!id)
+ throw new Error('Must specify id when creating a node!... | nodes must have id (for now, maybe hash later) | graphmalizer_graphmalizer-core | train | js |
b7b6fef98c4837d21e4e76078f7ba5a488839839 | diff --git a/index.php b/index.php
index <HASH>..<HASH> 100644
--- a/index.php
+++ b/index.php
@@ -34,12 +34,13 @@
echo "<LI>$reading";
}
}
+ if ($USER->editing) {
+ echo "<P align=right><A HREF=\"$CFG->wwwroot/course/mod.php?id=$site->id&week=0... | OK, this is better (sigh) | moodle_moodle | train | php |
9c194aa7e2febeab0cbd895067d7d90d82b137f9 | diff --git a/blocks/blockstore/bloom_cache.go b/blocks/blockstore/bloom_cache.go
index <HASH>..<HASH> 100644
--- a/blocks/blockstore/bloom_cache.go
+++ b/blocks/blockstore/bloom_cache.go
@@ -142,10 +142,7 @@ func (b *bloomcache) Get(k *cid.Cid) (blocks.Block, error) {
}
func (b *bloomcache) Put(bl blocks.Block) err... | fix: remove bloom filter check on Put call in blockstore
To prevent put we need to have conclusive information if item is
contained in the repo, bloom filter won't give this information.
It only says if it is for sure not contained.
License: MIT | ipfs_go-ipfs | train | go |
5f61c5db054c6cfaec086182c555518f01545093 | diff --git a/drivers/overlay/overlay.go b/drivers/overlay/overlay.go
index <HASH>..<HASH> 100644
--- a/drivers/overlay/overlay.go
+++ b/drivers/overlay/overlay.go
@@ -22,7 +22,7 @@ const (
vethPrefix = "veth"
vethLen = 7
vxlanIDStart = 256
- vxlanIDEnd = 1000
+ vxlanIDEnd = (1 << 24) - 1
vxlanPort ... | Allow maximum possible VNI
Right now there is an artificial limitation at <I>. | docker_libnetwork | train | go |
dab88cb95cb33a33bf6912005ac5307d0a8ede25 | diff --git a/src/Role/ReadModel/Users/RoleUsersProjector.php b/src/Role/ReadModel/Users/RoleUsersProjector.php
index <HASH>..<HASH> 100644
--- a/src/Role/ReadModel/Users/RoleUsersProjector.php
+++ b/src/Role/ReadModel/Users/RoleUsersProjector.php
@@ -76,8 +76,12 @@ class RoleUsersProjector extends RoleProjector
*... | III-<I>: Simplify the applyRoleCreated() method on RoleUsersProjector. | cultuurnet_udb3-php | train | php |
5ba13b60415a196b51133fc8746989361e4a9b04 | diff --git a/scraperwiki/sqlite.py b/scraperwiki/sqlite.py
index <HASH>..<HASH> 100644
--- a/scraperwiki/sqlite.py
+++ b/scraperwiki/sqlite.py
@@ -92,11 +92,10 @@ def execute(query, data=None):
def select(query, data=None):
connection = _State.connection()
_State.new_transaction()
-
if data is None:
... | Prepend select keyword in select method | scraperwiki_scraperwiki-python | train | py |
8a16a7c99f1844cb74a7317e9efac363e59f9c37 | diff --git a/pyvista/plotting/plotting.py b/pyvista/plotting/plotting.py
index <HASH>..<HASH> 100644
--- a/pyvista/plotting/plotting.py
+++ b/pyvista/plotting/plotting.py
@@ -3352,7 +3352,7 @@ class BasePlotter(PickingHelper, WidgetHelper):
--------
>>> import pyvista
>>> sphere = pyvista.Sph... | Raise exception instead of producing empty screenshots (#<I>)
* Actually render in screenshot()
* fix example and add exception | vtkiorg_vtki | train | py |
824dbf48acf6c8c664ab978fc5c33405b2d1876e | diff --git a/src/sap.ui.layout/src/sap/ui/layout/form/ColumnLayoutRenderer.js b/src/sap.ui.layout/src/sap/ui/layout/form/ColumnLayoutRenderer.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.layout/src/sap/ui/layout/form/ColumnLayoutRenderer.js
+++ b/src/sap.ui.layout/src/sap/ui/layout/form/ColumnLayoutRenderer.js
@@ -1... | [INTERNAL] ColumnLayout: 4 Fields diplayed wrong - chrome in medium size
Chrome das issues to arrange fields in a columnLayout if there are only
few fields. Therefore "dummy" elements are added. For 4 Fields there was
one too much.
Change-Id: Ia1c6f<I>f<I>ece<I>ce4f<I>d2d1b5da5f<I>f<I> | SAP_openui5 | train | js |
68db3a4753ebd4449b03ceeb9445e8e34b020f90 | diff --git a/src/transforms/TupleIndex.js b/src/transforms/TupleIndex.js
index <HASH>..<HASH> 100644
--- a/src/transforms/TupleIndex.js
+++ b/src/transforms/TupleIndex.js
@@ -25,8 +25,8 @@ prototype.transform = function(_, pulse) {
this.value = index = {};
pulse.visit(pulse.SOURCE, set);
} else if (pulse.c... | TupleIndex should process rem before add. | vega_vega-dataflow | train | js |
4faa6e79b28db87c5b28f37746d2722f98b9af82 | diff --git a/freshroastsr700/__init__.py b/freshroastsr700/__init__.py
index <HASH>..<HASH> 100644
--- a/freshroastsr700/__init__.py
+++ b/freshroastsr700/__init__.py
@@ -447,7 +447,7 @@ class freshroastsr700(object):
"""Attempts to connect to the roaster every quarter of a second."""
while(self._cont... | Attempting to resolve issue #<I>. Works in Linux, need to test on Windows next. | Roastero_freshroastsr700 | train | py |
6120a56b72ff116085998f677b010a82c14f6f58 | diff --git a/lib/Client.js b/lib/Client.js
index <HASH>..<HASH> 100644
--- a/lib/Client.js
+++ b/lib/Client.js
@@ -8,18 +8,32 @@ var redis = require('redis');
module.exports = function (queueName) {
var that = this;
var client = redis.createClient();
+
+ client.on('error', function(err) {
+ console.error(er... | callback on error. added quit() command to terminate connection | pconstr_recurrent | train | js |
279a7292a769fc8f79f5f53081bf16121d3c9b2d | diff --git a/AlphaTwirl/WritePandasDataFrameToFile.py b/AlphaTwirl/WritePandasDataFrameToFile.py
index <HASH>..<HASH> 100755
--- a/AlphaTwirl/WritePandasDataFrameToFile.py
+++ b/AlphaTwirl/WritePandasDataFrameToFile.py
@@ -6,9 +6,11 @@ class WritePandasDataFrameToFile(object):
self._outPath = outPath
de... | write the output file when the DaraFrame is empty | alphatwirl_alphatwirl | train | py |
4f75cc89a193ee46851937f336fc2668aec80345 | diff --git a/core/src/main/java/com/dtolabs/rundeck/plugins/scm/ScmImportPluginFactory.java b/core/src/main/java/com/dtolabs/rundeck/plugins/scm/ScmImportPluginFactory.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/dtolabs/rundeck/plugins/scm/ScmImportPluginFactory.java
+++ b/core/src/main/java/com/dtola... | add trackeditems in factory creation method | rundeck_rundeck | train | java |
0741e5c0a5126c2431cb903ce2a4fc456ae88cae | diff --git a/it/src/test/java/thredds/server/catalog/TestTdsFCcatalogs.java b/it/src/test/java/thredds/server/catalog/TestTdsFCcatalogs.java
index <HASH>..<HASH> 100644
--- a/it/src/test/java/thredds/server/catalog/TestTdsFCcatalogs.java
+++ b/it/src/test/java/thredds/server/catalog/TestTdsFCcatalogs.java
@@ -22,7 +22,... | Improve names for paramterized tests in TestTdsFCcatalogs. | Unidata_thredds | train | java |
36d1bbe4ff9a217541a65dbaeef81ced7c8d3c3e | diff --git a/lib/url/endpoint_builder.rb b/lib/url/endpoint_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/url/endpoint_builder.rb
+++ b/lib/url/endpoint_builder.rb
@@ -1,4 +1,3 @@
-# Should probably make this a module instead
class URL
class Service
class EndpointBuilder
@@ -24,6 +23,7 @@ class URL
#... | protect against stack overflows from method missing | tal_URL | train | rb |
bd3b64572c76339c938c63643646d12951e07392 | diff --git a/voltron/plugins/view/memory.py b/voltron/plugins/view/memory.py
index <HASH>..<HASH> 100644
--- a/voltron/plugins/view/memory.py
+++ b/voltron/plugins/view/memory.py
@@ -100,10 +100,12 @@ class MemoryView(TerminalView):
if self.args.words:
if target['byte_order'] ==... | Added ability to specify number of bytes to display with args.words | snare_voltron | train | py |
772ba36a7230154b0f99957806f715af8d1eccde | diff --git a/federation/pkg/federation-controller/service/dns.go b/federation/pkg/federation-controller/service/dns.go
index <HASH>..<HASH> 100644
--- a/federation/pkg/federation-controller/service/dns.go
+++ b/federation/pkg/federation-controller/service/dns.go
@@ -199,7 +199,7 @@ func (s *ServiceController) ensureDns... | Fixup debug log line in federation controller | kubernetes_kubernetes | train | go |
4590b68f458d843d46e8ef0257820290408166f6 | diff --git a/lib/hammer_cli_katello/ping.rb b/lib/hammer_cli_katello/ping.rb
index <HASH>..<HASH> 100644
--- a/lib/hammer_cli_katello/ping.rb
+++ b/lib/hammer_cli_katello/ping.rb
@@ -35,13 +35,6 @@ module HammerCLIKatello
end
end
- label "elasticsearch" do
- from "elasticsearch" do... | refs #<I> - remove elasticsearch from hammer ping | Katello_hammer-cli-katello | train | rb |
9421b501fb2aa3fbc9a483644496f3cdaa138f77 | diff --git a/src/main/com/mongodb/DBCollection.java b/src/main/com/mongodb/DBCollection.java
index <HASH>..<HASH> 100644
--- a/src/main/com/mongodb/DBCollection.java
+++ b/src/main/com/mongodb/DBCollection.java
@@ -410,14 +410,15 @@ public abstract class DBCollection {
/**
* Ensures an index on this collecti... | improved ensureIndex to use default index name if null is provided, instead of getting mongoexception | mongodb_mongo-java-driver | train | java |
8a58d09665eba2ddb12a85424a16442e3e79dac5 | diff --git a/lib/artillery-global.js b/lib/artillery-global.js
index <HASH>..<HASH> 100644
--- a/lib/artillery-global.js
+++ b/lib/artillery-global.js
@@ -45,11 +45,11 @@ async function createGlobalObject(opts) {
if (typeof opts === 'string') {
level = opts;
} else {
+ opts = opts || {};
... | fix(global): handle artillery.log() with just one argument | artilleryio_artillery | train | js |
5746b3a3c2b3d9a22863f353ff5c0f41eaac5a21 | diff --git a/Fields/CaptchaField.php b/Fields/CaptchaField.php
index <HASH>..<HASH> 100644
--- a/Fields/CaptchaField.php
+++ b/Fields/CaptchaField.php
@@ -75,7 +75,7 @@ class CaptchaField extends Field
$input_html = parent::getHtml();
$this->value = $temp;
- $_SESSION['Formidable_Captcha'] = ... | Captcha stored should be lowercase as well | Gregwar_Formidable | train | php |
3973424490bcafd21c0498c4ade8c102041edbf3 | diff --git a/lib/resource-loader.js b/lib/resource-loader.js
index <HASH>..<HASH> 100644
--- a/lib/resource-loader.js
+++ b/lib/resource-loader.js
@@ -20,7 +20,12 @@ function loadYamls (resourceList, config) {
// TODO: Do any string substituion here
// Do i parse the result here? or should i wait?
... | bug: when using the programmable api, there was a failure getting the resource files since defined properties were not, defined | nodeshift_nodeshift | train | js |
7a35c9a6ade5a6d8d64d1b0665072b86af714cff | diff --git a/GPy/kern/_src/rbf.py b/GPy/kern/_src/rbf.py
index <HASH>..<HASH> 100644
--- a/GPy/kern/_src/rbf.py
+++ b/GPy/kern/_src/rbf.py
@@ -38,6 +38,15 @@ class RBF(Stationary):
def dK_dr(self, r):
return -r*self.K_of_r(r)
+ def __getstate__(self):
+ dc = super(RBF, self).__getstate__()
+ ... | fix pickle for RBF GPU kernel | SheffieldML_GPy | train | py |
4543b6ef56425734f0b2109a3a1a0a5a40dea193 | diff --git a/externs/window.js b/externs/window.js
index <HASH>..<HASH> 100644
--- a/externs/window.js
+++ b/externs/window.js
@@ -121,6 +121,10 @@ var sun;
// Identity Protection has been fixed and pushed to most people.
var o;
+// Used by extensions as $j = jQuery.noConflict();. This overwrites whatever's
+// sto... | Have JsCompiler avoid renaming variables to '$j' because extensions which use:
$j = jQuery.noConflict();
override the value of '$j' with a function.
R=nicksantos
DELTA=4 (4 added, 0 deleted, 0 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | js |
6ec7cb05ddd256bbc8a10fe5eaf2f51cb6265e0a | diff --git a/gui/tools/designer.py b/gui/tools/designer.py
index <HASH>..<HASH> 100644
--- a/gui/tools/designer.py
+++ b/gui/tools/designer.py
@@ -63,7 +63,7 @@ class BasicDesigner:
self.key_press(evt)
elif evt.GetEventType() == wx.EVT_LEFT_DOWN.typeId:
# calculate time between clicks... | fixed dclick time interval in GTK | reingart_gui2py | train | py |
e500404ab357056ed0188ae82e1c010cd7b81e03 | diff --git a/src/FrontendIntegration/FrontendFilter.php b/src/FrontendIntegration/FrontendFilter.php
index <HASH>..<HASH> 100644
--- a/src/FrontendIntegration/FrontendFilter.php
+++ b/src/FrontendIntegration/FrontendFilter.php
@@ -384,7 +384,7 @@ class FrontendFilter
}
$arrWidgets = $filterSetting->... | Update FrontendFilter.php
Parameters are not correct implemented here. @discordier knows more about this ;-) | MetaModels_core | train | php |
9257d80f2d24125976ebe8d2f7ee1176e8e19696 | diff --git a/hangups/longpoll.py b/hangups/longpoll.py
index <HASH>..<HASH> 100644
--- a/hangups/longpoll.py
+++ b/hangups/longpoll.py
@@ -211,9 +211,9 @@ def _parse_conversation_status(message):
return (
'on_conversation',
message[0][0],
- # participant list items sometimes can be length ... | Fix conv status parser assuming name is present
Fixes #9 | tdryer_hangups | train | py |
ee901cc5ecdaac45ab7f4ddcffadeef1969b1dfc | diff --git a/cgjs/process.js b/cgjs/process.js
index <HASH>..<HASH> 100644
--- a/cgjs/process.js
+++ b/cgjs/process.js
@@ -14,11 +14,12 @@
dir.resolve_relative_path(arg).get_path()
));
- const env = {};
- GLib.get_environ().forEach(info => {
- const i = info.indexOf('=');
- env[info.slice(0, i)] = i... | better way to retrieve the env | cgjs_cgjs | train | js |
f6db624ea638751a4cdc89acc90a401370fdb2bb | diff --git a/src/Magyarjeti/Loripsum/Http/CurlAdapter.php b/src/Magyarjeti/Loripsum/Http/CurlAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Magyarjeti/Loripsum/Http/CurlAdapter.php
+++ b/src/Magyarjeti/Loripsum/Http/CurlAdapter.php
@@ -18,6 +18,10 @@ class CurlAdapter implements AdapterInterface
curl_clos... | Fix #1 - Throw exception on curl timeout | magyarjeti_loripsum-client | train | php |
31bf6b9bef55e9a08afe9dc06f8bf3a15c613cf7 | diff --git a/org.jenetics/src/main/java/org/jenetics/ExponentialRankSelector.java b/org.jenetics/src/main/java/org/jenetics/ExponentialRankSelector.java
index <HASH>..<HASH> 100644
--- a/org.jenetics/src/main/java/org/jenetics/ExponentialRankSelector.java
+++ b/org.jenetics/src/main/java/org/jenetics/ExponentialRankSel... | Improve pre-condition check of 'ExponentialRankSelector'. | jenetics_jenetics | train | java |
84345cd5807a574c49ee633b7e3598ca88806952 | diff --git a/rrset.go b/rrset.go
index <HASH>..<HASH> 100644
--- a/rrset.go
+++ b/rrset.go
@@ -196,7 +196,7 @@ type SBPoolProfile struct {
MaxServed int `json:"maxServed,omitempty"`
RDataInfo []SBRDataInfo `json:"rdataInfo"`
BackupRecords []BackupRecord `json:"backupRecords"`
- Availa... | Using - in that manner is undefined behaviour. Switching to omitempty. | terra-farm_udnssdk | train | go |
00cae77ec78b683bdf37caacd3f0fbd61d6d3b78 | diff --git a/packages/babel-polyfill/src/index.js b/packages/babel-polyfill/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/babel-polyfill/src/index.js
+++ b/packages/babel-polyfill/src/index.js
@@ -1,5 +1,7 @@
import "./noConflict";
+import global from "core-js/library/fn/global";
+
if (global._babelPolyfi... | fix #<I>, add some missed modules to `noConflict` (#<I>) | babel_babel | train | js |
243381e588708084f5d8d54966cb8b279305ee50 | diff --git a/tests/test_transforms.py b/tests/test_transforms.py
index <HASH>..<HASH> 100644
--- a/tests/test_transforms.py
+++ b/tests/test_transforms.py
@@ -74,8 +74,8 @@ class TestScale:
def test_will_shrink_height(self, image):
'''
- if specified dimension is larger than image, it shouldn't e... | add test for transforming scale both dimensions | saulshanabrook_django-simpleimages | train | py |
6026a9174157a3db4635d194f92b4fbed0b7f9cd | diff --git a/modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js b/modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js
index <HASH>..<HASH> 100644
--- a/modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js
+++ b/modeltranslation/static/modeltranslation/js/ta... | A more elegant solution suggested by zlorf. | deschler_django-modeltranslation | train | js |
3781ff7d602e28421ff81f4bc3187487f52a5fe8 | diff --git a/RoboFile.php b/RoboFile.php
index <HASH>..<HASH> 100644
--- a/RoboFile.php
+++ b/RoboFile.php
@@ -426,14 +426,13 @@ class RoboFile extends Tasks implements LoggerAwareInterface {
*/
protected function getLastTagOnBranch($current_branch) {
$output = $this->taskExecStack()
- ->exec("git tag ... | Fixed release notes for version numbers above <I>. | acquia_blt | train | php |
4fa0d2f5518a3ba463d0cc50b6b0d646980e53f9 | diff --git a/sendgrid/helpers/mail/header.py b/sendgrid/helpers/mail/header.py
index <HASH>..<HASH> 100644
--- a/sendgrid/helpers/mail/header.py
+++ b/sendgrid/helpers/mail/header.py
@@ -17,6 +17,7 @@ class Header(object):
"""
self._key = None
self._value = None
+ self._validator.valid... | Added validations for SendGrid API key | sendgrid_sendgrid-python | train | py |
2b5b909529dcb19db3d647acd84887687f8f2dd8 | diff --git a/MySQLdb/MySQLdb/cursors.py b/MySQLdb/MySQLdb/cursors.py
index <HASH>..<HASH> 100644
--- a/MySQLdb/MySQLdb/cursors.py
+++ b/MySQLdb/MySQLdb/cursors.py
@@ -166,7 +166,7 @@ class BaseCursor(object):
try:
r = None
r = self._query(query)
- except TypeError as m:
+ ... | Revert raise exc as value statements to raise exc, value since it breaks Python < <I>. | PyMySQL_mysqlclient-python | train | py |
42b76a27786698800376fc59a02876c552aadda2 | diff --git a/ghost/admin/app/components/gh-spin-button.js b/ghost/admin/app/components/gh-spin-button.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/app/components/gh-spin-button.js
+++ b/ghost/admin/app/components/gh-spin-button.js
@@ -31,8 +31,8 @@ export default Ember.Component.extend({
this.set('show... | Prevent gh-spin-button from infinite spin
closes #<I>
- Always set showSpinnerTimeout back to null after 1 second. | TryGhost_Ghost | train | js |
36dcdcef6bfe99c0cb3f602f724213dc11d9ccef | diff --git a/code/forms/GridFieldSortableRows.php b/code/forms/GridFieldSortableRows.php
index <HASH>..<HASH> 100644
--- a/code/forms/GridFieldSortableRows.php
+++ b/code/forms/GridFieldSortableRows.php
@@ -678,4 +678,3 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
}
}
}
-?> | Remove closing PHP tag (#<I>)
To prevent whitespace being sent after the closing tag | UndefinedOffset_SortableGridField | train | php |
daa6445cbaa2dd2ec7c02a2598baafac6fa917bb | diff --git a/kitchen-sink/routes.js b/kitchen-sink/routes.js
index <HASH>..<HASH> 100644
--- a/kitchen-sink/routes.js
+++ b/kitchen-sink/routes.js
@@ -208,7 +208,7 @@ export default [
component: NestedRoutesTabs,
tabs: [
{
- path: '/tab-1/:id/:post_id',
+ path: '/',
tabId: 'tab1'... | fix issue with nested routes due to additional params added | framework7io_framework7-vue | train | js |
7633329d8288d11ddfc830c79af8a2efed396cfb | diff --git a/lxd/instance/drivers/driver_lxc.go b/lxd/instance/drivers/driver_lxc.go
index <HASH>..<HASH> 100644
--- a/lxd/instance/drivers/driver_lxc.go
+++ b/lxd/instance/drivers/driver_lxc.go
@@ -1301,7 +1301,7 @@ func (d *lxc) IdmappedStorage(path string) idmap.IdmapStorageType {
err := unix.Statfs(path, buf)
i... | lxd/instance/drivers/driver/lxc: Log path in IdmappedStorage | lxc_lxd | train | go |
2ef78ede7786fe32996c57166b4e12005d55aaca | diff --git a/gulp-tasks/build-packages.js b/gulp-tasks/build-packages.js
index <HASH>..<HASH> 100644
--- a/gulp-tasks/build-packages.js
+++ b/gulp-tasks/build-packages.js
@@ -23,7 +23,7 @@ async function cleanPackage(packagePath) {
if (await fse.pathExists(upath.join(packagePath, 'src', 'index.ts'))) {
// Store... | Ensure cli's tsbuild gets deleted (#<I>) | GoogleChrome_workbox | train | js |
1e2ab564f9680fe8ac4fbd55c36eb420f46498e6 | diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/attribute_methods/read.rb
+++ b/activerecord/lib/active_record/attribute_methods/read.rb
@@ -20,7 +20,7 @@ module ActiveRecord... | fewer funcalls to the cached attributes variable | rails_rails | train | rb |
9c565b62d5b9c4e7e642fec69bd3272274726310 | diff --git a/packages/openneuro-server/datalad/snapshots.js b/packages/openneuro-server/datalad/snapshots.js
index <HASH>..<HASH> 100644
--- a/packages/openneuro-server/datalad/snapshots.js
+++ b/packages/openneuro-server/datalad/snapshots.js
@@ -172,11 +172,15 @@ export const getSnapshot = async (datasetId, tag) => {
... | Server: add "created" field to getSnapshot | OpenNeuroOrg_openneuro | train | js |
dee8319c1e4a262f860ecea9abfcf90665d38eaa | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/globalSearch/advSearchOptContainer.js b/bundles/org.eclipse.orion.client.ui/web/orion/globalSearch/advSearchOptContainer.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/globalSearch/advSearchOptContainer.js
+++ b/bundles/org.e... | Bug <I> - Search: Add ability to select search scope from within the search page
- Disable multiple folder selection until it is supported by the underlying infrastructure | eclipse_orion.client | train | js |
c0cd45292631e45b72d3d40e59c15e4d5352328a | diff --git a/version.go b/version.go
index <HASH>..<HASH> 100644
--- a/version.go
+++ b/version.go
@@ -4,6 +4,6 @@ package ipfs
var CurrentCommit string
// CurrentVersionNumber is the current application's version literal
-const CurrentVersionNumber = "0.4.23-rc1"
+const CurrentVersionNumber = "0.4.23-rc2"
const... | release: bump to <I>-rc2 | ipfs_go-ipfs | train | go |
68cbeabf95f74d401a1189c55860490a59b6b2ac | diff --git a/src/Orchestra/Foundation/Processor/Registration.php b/src/Orchestra/Foundation/Processor/Registration.php
index <HASH>..<HASH> 100644
--- a/src/Orchestra/Foundation/Processor/Registration.php
+++ b/src/Orchestra/Foundation/Processor/Registration.php
@@ -119,7 +119,7 @@ class Registration extends Abstractab... | Update register email template view to app skeleton. Closes #<I>. | orchestral_foundation | train | php |
a394e0a9230fe125ee7c8aa5ccc43e9d03f45a4c | diff --git a/glooey/widget.py b/glooey/widget.py
index <HASH>..<HASH> 100644
--- a/glooey/widget.py
+++ b/glooey/widget.py
@@ -569,7 +569,7 @@ class Widget (pyglet.event.EventDispatcher):
self._children_under_mouse = set()
def yield_previous_children_then_others():
- yield from previously... | Don't count removed children as being "under the mouse". | kxgames_glooey | train | py |
1e741d950692127feea47e9ac5c2dde8ed1e9f1b | diff --git a/tests/copulas/bivariate/test_base.py b/tests/copulas/bivariate/test_base.py
index <HASH>..<HASH> 100644
--- a/tests/copulas/bivariate/test_base.py
+++ b/tests/copulas/bivariate/test_base.py
@@ -147,7 +147,6 @@ class TestBivariate(TestCase):
# Check
assert result == derivative_mock.retur... | Make tests compatible with py<I> | DAI-Lab_Copulas | train | py |
4b0b777fde8de97e3f3b438b2cbe40745b6cc8e5 | diff --git a/allegedb/allegedb/window.py b/allegedb/allegedb/window.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/window.py
+++ b/allegedb/allegedb/window.py
@@ -544,7 +544,7 @@ class WindowDict(MutableMapping):
self._past = list(data)
self._past.sort()
self._future = []
- ... | Remove some old hedges from when WindowDict's stacks could be None | LogicalDash_LiSE | train | py |
a0f8a7bf8d7d6b4faf4921ff45803942681c052a | diff --git a/oct2py/__init__.py b/oct2py/__init__.py
index <HASH>..<HASH> 100644
--- a/oct2py/__init__.py
+++ b/oct2py/__init__.py
@@ -32,7 +32,11 @@ import imp
import functools
import os
import ctypes
-import thread
+
+try:
+ import thread
+except ImportError:
+ import _thread as thread
if os.... | thread was renamed to _thread on python3 | blink1073_oct2py | train | py |
f7a3e983d3fff77400d23c8f1032d1d148c5c58f | diff --git a/msm/mycroft_skills_manager.py b/msm/mycroft_skills_manager.py
index <HASH>..<HASH> 100644
--- a/msm/mycroft_skills_manager.py
+++ b/msm/mycroft_skills_manager.py
@@ -253,8 +253,8 @@ class MycroftSkillsManager(object):
func.__name__, skill.name
))
- with Thread... | Reduce threadpool to size <I> (fixes #8) | MycroftAI_mycroft-skills-manager | train | py |
6e8f66a140e44c42eb1ce53951daa998184e55f0 | diff --git a/pgpy/pgp.py b/pgpy/pgp.py
index <HASH>..<HASH> 100644
--- a/pgpy/pgp.py
+++ b/pgpy/pgp.py
@@ -28,7 +28,7 @@ def PGPLoad(pgpbytes):
b = []
# now, are there any ASCII PGP blocks at all?
- if f.is_ascii():
+ if f.is_ascii:
# decode/parse ASCII PGP blocks
nascii = list(re.fi... | is_ascii is a property method now | SecurityInnovation_PGPy | train | py |
f701573f78428f6c1609b265e0a8f5854f3f66be | diff --git a/wandb/apis/public.py b/wandb/apis/public.py
index <HASH>..<HASH> 100644
--- a/wandb/apis/public.py
+++ b/wandb/apis/public.py
@@ -1444,6 +1444,8 @@ class HistoryScan(object):
raise StopIteration()
self._load_next()
+ next = __next__
+
@normalize_exceptions
@retr... | run.scan_history() should return a valid iterable (#<I>) | wandb_client | train | py |
e17cd1de914c3b0910e943c75c0de110f030f5f2 | diff --git a/openhtf/user_input.py b/openhtf/user_input.py
index <HASH>..<HASH> 100644
--- a/openhtf/user_input.py
+++ b/openhtf/user_input.py
@@ -73,6 +73,7 @@ class PromptManager(object):
"""
with self._cond:
if self._prompt is not None:
+ self._prompt = None
raise MultiplePromptsErro... | Fix a bug in user_input module that broke the module the first time an exception was raised. | google_openhtf | train | py |
1199c31feaef1e0032f3e88eefec5fb29e0e3e9d | diff --git a/leaflet.photon.js b/leaflet.photon.js
index <HASH>..<HASH> 100644
--- a/leaflet.photon.js
+++ b/leaflet.photon.js
@@ -58,6 +58,7 @@ L.PhotonBaseSearch = L.PhotonBase.extend({
minChar: 3,
limit: 5,
submitDelay: 300,
+ targetElement: 'body',
includePosition: true,
... | Update leaflet.photon.js | komoot_leaflet.photon | train | js |
1baa9dff85176e2eea0f2d56d0787d6f9a842b69 | diff --git a/Tests/checkPropTypes.js b/Tests/checkPropTypes.js
index <HASH>..<HASH> 100644
--- a/Tests/checkPropTypes.js
+++ b/Tests/checkPropTypes.js
@@ -3,4 +3,4 @@ import { t } from 'testcafe';
export default async function () {
const { error } = await t.getBrowserConsoleMessages();
await t.expect(error[0... | TASK: Fix linting issues | neos_neos-ui | train | js |
69a0eee52da983cfb517deee9b1db9f29bec85f2 | diff --git a/vaex/file/other.py b/vaex/file/other.py
index <HASH>..<HASH> 100644
--- a/vaex/file/other.py
+++ b/vaex/file/other.py
@@ -382,7 +382,7 @@ class FitsBinTable(DatasetMemoryMapped):
else:
for i in range(arraylength):
name = column_name+"_" +str(i)
- self.addColumn(na... | fix: integer division for mmaped columns with arrays | vaexio_vaex | train | py |
a77fd16869997fa36eb548c7976004a60063b7bb | diff --git a/salt/beacons/log.py b/salt/beacons/log.py
index <HASH>..<HASH> 100644
--- a/salt/beacons/log.py
+++ b/salt/beacons/log.py
@@ -69,6 +69,12 @@ def beacon(config):
file: <path>
<tag>:
regex: <pattern>
+
+ .. note::
+
+ regex matching is based on the `re... | Update salt.beacons.log to reflect that re module is used for matching.
As more non-python users are starting to use Salt, it would be useful to
point out which regular expression engines are in use so that users can
adapt accordingly. | saltstack_salt | train | py |
c229bacd1775815cb34b7ab2371585e373f7b7d5 | diff --git a/lib/gherkin_lint/linter/required_tags_starts_with.rb b/lib/gherkin_lint/linter/required_tags_starts_with.rb
index <HASH>..<HASH> 100644
--- a/lib/gherkin_lint/linter/required_tags_starts_with.rb
+++ b/lib/gherkin_lint/linter/required_tags_starts_with.rb
@@ -7,14 +7,10 @@ module GherkinLint
include Tag... | Removing state booleans | funkwerk_gherkin_lint | train | rb |
4c2fb7d26b822b7088be05b6acb384fd9d9953c5 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -29,6 +29,15 @@ module.exports = function (redom) {
var hello = el('p.hello', 'Hello world!');
t.equals(hello.outerHTML, '<p class="hello">Hello world!</p>');
});
+ t.test('append number',... | Added faild test
test for element creation with number | redom_redom | train | js |
98102d43248d27b21de8a4bd7a7722d26bca67f3 | diff --git a/test/E2E/AbstractE2ETestCase.php b/test/E2E/AbstractE2ETestCase.php
index <HASH>..<HASH> 100644
--- a/test/E2E/AbstractE2ETestCase.php
+++ b/test/E2E/AbstractE2ETestCase.php
@@ -397,7 +397,14 @@ abstract class AbstractE2ETestCase extends TestCase
protected function runCommand(string $action, Process... | Fix for removed method in symfony/process:<I> | phpro_grumphp | train | php |
d24e40c7ba22c97a3548e5c192aa980af7f0cb83 | diff --git a/lib/rack/locale.rb b/lib/rack/locale.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/locale.rb
+++ b/lib/rack/locale.rb
@@ -20,7 +20,9 @@ module Rack
locale, q = language_range.split(";q=")
- OpenStruct.new(:language => locale.strip, :q => q)
+ language = locale.strip.split("... | Parse the language out of a language tag containing subtags. | wrapp-archive_rack-geo-locale | train | rb,rb |
27d2ee74c6b869f547f6d7942d16260396c3ffa1 | diff --git a/ava/train.go b/ava/train.go
index <HASH>..<HASH> 100644
--- a/ava/train.go
+++ b/ava/train.go
@@ -64,7 +64,7 @@ func aidedTrain(trainID int) error {
if err != nil {
return err
}
- log.Printf("HIT id", hit.HITId)
+ log.Println("HIT id", hit.HITId)
return nil
} | Fix logging of MTurk HIT IDs | itsabot_itsabot | train | go |
c0d784d9372e57450c29bded1acbc03deba5fbbf | diff --git a/core/Controller/Scaffold.php b/core/Controller/Scaffold.php
index <HASH>..<HASH> 100644
--- a/core/Controller/Scaffold.php
+++ b/core/Controller/Scaffold.php
@@ -184,7 +184,7 @@ abstract class Scaffold_Controller extends Controller implements Login_Required
$options
);
if (!$... | Squashed commit of the following:
commit c7ade<I>add<I>cc<I>de<I>df6fb<I>fb<I>b1b | monomelodies_monad | train | php |
f9df77dce5862e66568068f7f98950fe70f2b185 | diff --git a/src/db/pgsql/PostgresConnector.php b/src/db/pgsql/PostgresConnector.php
index <HASH>..<HASH> 100644
--- a/src/db/pgsql/PostgresConnector.php
+++ b/src/db/pgsql/PostgresConnector.php
@@ -219,7 +219,7 @@ class PostgresConnector extends Connector {
*/
protected function getSchemaSearchPath() {
... | fix exception handling in nested transactions | rosasurfer_ministruts | train | php |
4764db6c2a945371c59bfbc68eedc5c05bd664d8 | diff --git a/openquake/calculators/calc.py b/openquake/calculators/calc.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/calc.py
+++ b/openquake/calculators/calc.py
@@ -240,14 +240,3 @@ def make_uhs(maps):
if imt.startswith('SA') or imt == 'PGA')))
hmaps = numpy.array([maps[imt] for imt in sorte... | Removed unused build_dict function | gem_oq-engine | train | py |
4a7809960dbd7dd2d57666e73d0d682ab858b77c | diff --git a/fastlane/lib/fastlane/version.rb b/fastlane/lib/fastlane/version.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/version.rb
+++ b/fastlane/lib/fastlane/version.rb
@@ -1,4 +1,4 @@
module Fastlane
- VERSION = '1.84.0'.freeze
+ VERSION = '1.85.0'.freeze
DESCRIPTION = "The easiest way to autom... | [fastlane] Version bump
* Added `device_grid`
* Removed * from fastlane docs for required parameters
* Shell escape git commit / tag messages | fastlane_fastlane | train | rb |
0dcbbd4d41d61169408517c947b14a7e7c8000af | diff --git a/packages/posts/test/integration/db/models/post.js b/packages/posts/test/integration/db/models/post.js
index <HASH>..<HASH> 100644
--- a/packages/posts/test/integration/db/models/post.js
+++ b/packages/posts/test/integration/db/models/post.js
@@ -3,6 +3,8 @@ import {expect} from "chai";
import PostModel, {... | fix(posts): `Post` model integration tests timeout after <I>s.
Seems like they're actually running. Don't think any `sleep`ing is required. | randytarampi_me | train | js |
69812cc8cdc823e9a9b10154a37fdc2d349fd719 | diff --git a/src/main/java/net/openhft/chronicle/network/VanillaSessionDetails.java b/src/main/java/net/openhft/chronicle/network/VanillaSessionDetails.java
index <HASH>..<HASH> 100755
--- a/src/main/java/net/openhft/chronicle/network/VanillaSessionDetails.java
+++ b/src/main/java/net/openhft/chronicle/network/VanillaS... | CE-<I>: improve logging/debugging | OpenHFT_Chronicle-Network | train | java |
dd30efaf705fc396cec9b799bc4ac6f73ea352dd | diff --git a/src/helpers.js b/src/helpers.js
index <HASH>..<HASH> 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -78,7 +78,7 @@ export function getDependencies(packageName: string): Array<Dependency> {
export function promptUser(packageName: string, dependencies: Array<Dependency>): Promise<'Yes' | 'No' | 'Never'... | :art: Address reviewer's comments | steelbrain_package-deps | train | js |
ba75defc24f58e70a955f66109fcc71e94b7e224 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
from setuptools import find_packages, setup
-VERSION = "0.0.15"
+VERSION = "0.0.16"
def readme(): | version bump (#<I>) | dmulcahey_zha-device-handlers | train | py |
ac77a8026ff71fd7ecd5809e851e30045fa2e8ab | diff --git a/lib/linter.js b/lib/linter.js
index <HASH>..<HASH> 100644
--- a/lib/linter.js
+++ b/lib/linter.js
@@ -465,11 +465,10 @@ function resolveParserOptions(parserName, providedOptions, enabledEnvironments)
* @returns {Object} The resolved globals object
*/
function resolveGlobals(providedGlobals, enabledEn... | Chore: Fixing a call to Object.assign.apply in Linter (#<I>) | eslint_eslint | train | js |
ccf054901718bc225b851152165719f0e44d62bb | diff --git a/pydsl/Memory/File/Python.py b/pydsl/Memory/File/Python.py
index <HASH>..<HASH> 100644
--- a/pydsl/Memory/File/Python.py
+++ b/pydsl/Memory/File/Python.py
@@ -79,5 +79,7 @@ def summary_python_file(modulepath):
result["input"] = moduleobject.inputformat
if hasattr(moduleobject, "outputformat"):... | added name to python summary dictionary | nesaro_pydsl | train | py |
551a79c8e6a64402a6dc0c5bc5d64a5288c17053 | diff --git a/dallinger/experiment.py b/dallinger/experiment.py
index <HASH>..<HASH> 100644
--- a/dallinger/experiment.py
+++ b/dallinger/experiment.py
@@ -599,6 +599,9 @@ class Experiment(object):
def replay_event(self, event):
pass
+ def replay_start(self):
+ pass
+
def replay_finish(sel... | give experiment a chance to initialize/finish around replaying state | Dallinger_Dallinger | train | py |
8803f404ab69aaacc098aed70e79dec2058e7a67 | diff --git a/dataviews/collector.py b/dataviews/collector.py
index <HASH>..<HASH> 100644
--- a/dataviews/collector.py
+++ b/dataviews/collector.py
@@ -471,16 +471,17 @@ class Collector(AttrTree):
View('example string'...)
"""
- interval_hook = param.Callable(RunProgress, doc="""
- A callable that a... | Interval hook and time function now class attributes not parameters
It is not possible to parameterize AttrTree instances that also pickle
correctly as the __setstate__ implemented by param uses __setattr__
before the object is fully initialized. | pyviz_holoviews | train | py |
a587add7dad76bc008781ca682085a31de34f26b | diff --git a/app/metal/hostess.rb b/app/metal/hostess.rb
index <HASH>..<HASH> 100644
--- a/app/metal/hostess.rb
+++ b/app/metal/hostess.rb
@@ -13,7 +13,20 @@ class Hostess < Sinatra::Default
if redirect
redirect File.join("http://s3.amazonaws.com", VaultObject.current_bucket, request.path_info)
e... | Pass cache headers on to S3 and back to client.
This should allow varnish to serve the body of most requests after checking
freshness with the authoritative source. | rubygems_rubygems.org | train | rb |
aecf79bf06fab34e1a6aa4a091a7301a3ca351de | diff --git a/src/Bonnier/WP/Cxense/Assets/Scripts.php b/src/Bonnier/WP/Cxense/Assets/Scripts.php
index <HASH>..<HASH> 100644
--- a/src/Bonnier/WP/Cxense/Assets/Scripts.php
+++ b/src/Bonnier/WP/Cxense/Assets/Scripts.php
@@ -108,7 +108,7 @@ class Scripts
// Only one? Just return it
if(count($i... | Now takes name form the first and only array | BenjaminMedia_wp-cxense | train | php |
2bcc95b902f14b64ec95a29fc3de9246f8817bce | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ here = path.abspath (path.dirname (__file__))
with open (path.join (here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
-# Get the version number and other params from package.json ... | edited setup.py [skip ci] | ccxt_ccxt | train | py |
5798215f53a1217a7706c9490b2aa435e0784b8c | diff --git a/lib/braid/commands/list.rb b/lib/braid/commands/list.rb
index <HASH>..<HASH> 100644
--- a/lib/braid/commands/list.rb
+++ b/lib/braid/commands/list.rb
@@ -24,7 +24,7 @@ module Braid
local_file_count = git.read_ls_files(mirror.path).split.size
if 0 == local_file_count
print... | Fix the list command so that it correctly identifies braids with local changes | cristibalan_braid | train | rb |
5be5cbbd88c9b3a581ba3d24f798155eca18bc36 | diff --git a/lib/sonos.js b/lib/sonos.js
index <HASH>..<HASH> 100644
--- a/lib/sonos.js
+++ b/lib/sonos.js
@@ -554,6 +554,9 @@ Sonos.prototype.getTopology = async function () {
let zones, mediaServers
zones = info.ZonePlayers.ZonePlayer
+ if(!Array.isArray(zones)) {
+ zones = [zones]... | Force zones to be an array
Should fix #<I>, but only tested it with a single device on the network, as the XML-to-object conversion then causes the Zones property to be a single object instead of an array of zones as is expected on the next line. | bencevans_node-sonos | 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.