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 |
|---|---|---|---|---|---|
4ec49a3c4c28060016b570d4b74cefc26e534183 | diff --git a/lib/templates.js b/lib/templates.js
index <HASH>..<HASH> 100644
--- a/lib/templates.js
+++ b/lib/templates.js
@@ -139,6 +139,9 @@ module.exports = function(self) {
data = JSON.stringify(data); // , null, ' ');
data = data.replace(/<\!\-\-/g, '<\\!--');
data = data.replace(/<\/script\>/gi, '... | JSON output in HTML markup must not crash on illegal unicode characters (the line separator and paragraph separator unicode characters) fixes #<I> | apostrophecms_apostrophe | train | js |
fe8437c572f657e2b5a51a26e4c4cd8583bfa58f | diff --git a/src/main/java/org/gitlab4j/api/CommitsApi.java b/src/main/java/org/gitlab4j/api/CommitsApi.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/gitlab4j/api/CommitsApi.java
+++ b/src/main/java/org/gitlab4j/api/CommitsApi.java
@@ -1,7 +1,5 @@
package org.gitlab4j.api;
-import java.io.UnsupportedEncod... | Removed unused imports (#<I>). | gmessner_gitlab4j-api | train | java |
edf3bbd006d6e7495cf88393168c2d18346fc277 | diff --git a/quart/datastructures.py b/quart/datastructures.py
index <HASH>..<HASH> 100644
--- a/quart/datastructures.py
+++ b/quart/datastructures.py
@@ -30,11 +30,11 @@ class _WerkzeugMultidictMixin:
return self.getall(key) # type: ignore
-class MultiDict(_WerkzeugMultidictMixin, AIOMultiDict):
+class M... | Fix typing in 8b<I>ffdb9ec9a<I>fd5d<I>abd<I>a4b
The latest version of mypy complains (whereas the previous version did
not). | pgjones_quart | train | py |
ba8b9d257005f3b42b8ec4e238fbd6b4cc403a2a | diff --git a/nhe/mfd/base.py b/nhe/mfd/base.py
index <HASH>..<HASH> 100644
--- a/nhe/mfd/base.py
+++ b/nhe/mfd/base.py
@@ -104,7 +104,7 @@ class BaseMFD(object):
@abc.abstractmethod
def get_annual_occurrence_rates(self):
"""
- Return an MFD histogram.
+ Return an MFD annual occurrence r... | mfd: more small enhancements in docs | gem_oq-engine | train | py,py |
9741d3c71ec3efe1c8b253ee50073ce5fb2758a9 | diff --git a/tools/gopy/gopy.go b/tools/gopy/gopy.go
index <HASH>..<HASH> 100644
--- a/tools/gopy/gopy.go
+++ b/tools/gopy/gopy.go
@@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"github.com/sbinet/go-python"
+ "os"
"reflect"
)
@@ -34,6 +35,7 @@ var pyinit = false
func Init() (err error) {
if !pyinit {
if err ... | gopy: Added explicit call python.PySys_SetArgv during initialize
With higher versions of salt, we need to explicitly
initialize argv, as its done by default in cgo.
Change-Id: Id<I>e<I>f<I>aa<I>ef3a1f<I>fcc<I>cb<I>b7 | skyrings_skyring-common | train | go |
85e4a8fd67b3789fc82e67e4d367928c9503ceed | diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/Kernel.php
+++ b/src/Symfony/Component/HttpKernel/Kernel.php
@@ -76,12 +76,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface... | Update VERSION for <I> | symfony_symfony | train | php |
938a926be7969026eff95ce6c93cf98d01c444e4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ setup(name='cwltool',
'rdflib >= 4.2.0',
'rdflib-jsonld >= 0.3.0',
'shellescape',
- 'schema_salad >= 1.0.7'
+ 'schema_salad >= 1.1.0'
],
test_su... | Bump dependency to schema salad <I> | common-workflow-language_cwltool | train | py |
33ffd173eacec160603abd8073893171e97dd9a9 | diff --git a/lib/ec2-autoscaling-groups.js b/lib/ec2-autoscaling-groups.js
index <HASH>..<HASH> 100644
--- a/lib/ec2-autoscaling-groups.js
+++ b/lib/ec2-autoscaling-groups.js
@@ -63,14 +63,18 @@ module.exports = function fetchAutoScalingGroups(config, result, cb) {
var defName = nameTag.Value.split('-')[0];
... | Do not crash if the elb is not missing. | nearform_nscale-aws-analyzer | train | js |
ef8bcbbb72633711f4182ef874c51b3dfaa1cfa4 | diff --git a/test/client-test.js b/test/client-test.js
index <HASH>..<HASH> 100644
--- a/test/client-test.js
+++ b/test/client-test.js
@@ -79,6 +79,7 @@ vows.describe('Client').addBatch({
}
// Test long method response, which requires multiple chunks returned from
// the http request
+ // Only one tes... | Adds note about HTTP servers and client-test.js tests.
See Issue #<I>. | baalexander_node-xmlrpc | train | js |
097ca1ac101622b3b0769a8970a0509aa898165e | diff --git a/src/Illuminate/Database/Eloquent/Builder.php b/src/Illuminate/Database/Eloquent/Builder.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Builder.php
+++ b/src/Illuminate/Database/Eloquent/Builder.php
@@ -79,6 +79,7 @@ class Builder
* @var string[]
*/
protected $passth... | Add aggregate method to Eloquent passthru (#<I>) | laravel_framework | train | php |
be0d22cd3ba42669e829206de12ac338861dcc5e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -50,8 +50,11 @@ function merge(oldMap, newMap) {
})
var mergedMap = JSON.parse(mergedMapGenerator.toString())
- mergedMap.sources = oldMap.sources
- mergedMap.sourcesContent = oldMap.sourcesContent
+
+ mergedMap.sou... | fix bug that was causing mappings to map to the wrong file
When merging source maps, we were replacing the new sources list by the old one.
This was causing the mappings to be pointing to the wrong index in the sources array. | keik_merge-source-map | train | js |
3f27ae249a92a88935aa7037e272b609b656727d | diff --git a/lib/screenshotHandler.js b/lib/screenshotHandler.js
index <HASH>..<HASH> 100644
--- a/lib/screenshotHandler.js
+++ b/lib/screenshotHandler.js
@@ -48,6 +48,8 @@ var screenshotHandler = function() {
})
+ .then(this.addWhiteBackground)
+
.then(this.toBuffer);
};
... | Add a white background to screenshots | gmetais_YellowLabTools | train | js |
ec4f083516bf7b2270f09e25b7aa3b51ea86db7c | diff --git a/features/support/filesystem.rb b/features/support/filesystem.rb
index <HASH>..<HASH> 100644
--- a/features/support/filesystem.rb
+++ b/features/support/filesystem.rb
@@ -73,6 +73,10 @@ module Filesystem
FileUtils.mkdir_p(dirname) unless File.directory?(dirname)
end
+ def rmdir(dirname)
+ File... | Do not shell out just to remove a directory | codegram_spinach | train | rb,rb |
53739f1b66cbffc17f3ab95779acdf3cd6b39990 | diff --git a/src/angular-dragdrop.js b/src/angular-dragdrop.js
index <HASH>..<HASH> 100644
--- a/src/angular-dragdrop.js
+++ b/src/angular-dragdrop.js
@@ -139,7 +139,7 @@ jqyoui.invokeDrop = function($draggable, $droppable, scope, $timeout, event, ui)
jqyoui.mutateDraggable(scope, dropSettings, dragSettings, d... | Returns the dragItem to the onDrop function
This change returns the dragItem to the onDrop
function. This allows manipulation of the object
that is dragged directly. | codef0rmer_angular-dragdrop | train | js |
0a7ccd7ca8924c001029be303df8fe41356a602d | diff --git a/config/basics.php b/config/basics.php
index <HASH>..<HASH> 100644
--- a/config/basics.php
+++ b/config/basics.php
@@ -97,7 +97,10 @@ if (!function_exists('snapshot')) {
$plugins = $PluginTable->find()
->select(['name', 'package', 'status'])
- ->order(['ordering' => 'ASC'])
+ ->order([
+ ... | changing the the order in which plugins are loaded | quickapps_cms | train | php |
405fbbec120a5fd3a7425b27412dc48facde8e00 | diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -213,7 +213,9 @@ p.onDataRow = function(msg) {
var converters = this.converters || [];
var len = msg.fields.length;
for(var i = 0; i < len; i++) {
- fields[i] = this.converters[i] (fields[i]);
+... | nulls supported in all currently supported type coercions | brianc_node-postgres | train | js,js |
2657ccd0e7324443403921c6908a5c7533b986f0 | diff --git a/lib/CssCrush/Template.php b/lib/CssCrush/Template.php
index <HASH>..<HASH> 100644
--- a/lib/CssCrush/Template.php
+++ b/lib/CssCrush/Template.php
@@ -140,7 +140,7 @@ class Template
public static function unTokenize($str)
{
- $str = Crush::$process->tokens->restore($str, array('u', 's'), ... | Add support for svg literals. Fix related issue with tokens being dropped from mixins | peteboere_css-crush | train | php,php |
f6854d6e25b308d6e5102eff8b112570707f4f82 | diff --git a/cf/commands/servicekey/service_keys.go b/cf/commands/servicekey/service_keys.go
index <HASH>..<HASH> 100644
--- a/cf/commands/servicekey/service_keys.go
+++ b/cf/commands/servicekey/service_keys.go
@@ -85,6 +85,7 @@ func (cmd ServiceKeys) Run(c *cli.Context) {
map[string]interface{}{"ServiceInstanceNam... | add a new line before the table of listing keys
implement story [#<I>] | cloudfoundry_cli | train | go,go |
47f85533aeef123e11f54118184be22f38efc32b | diff --git a/iavl/iavl_tree.go b/iavl/iavl_tree.go
index <HASH>..<HASH> 100644
--- a/iavl/iavl_tree.go
+++ b/iavl/iavl_tree.go
@@ -159,11 +159,16 @@ func (t *IAVLTree) GetByIndex(index int) (key []byte, value []byte) {
}
func (t *IAVLTree) GetWithProof(key []byte) ([]byte, *KeyExistsProof, *KeyNotExistsProof, error... | GetWithProof can return different proofs | tendermint_iavl | train | go |
6542da5fde77b010f19c63746e30d9bd4a3725ba | diff --git a/app/controllers/admin/configuration_controller.rb b/app/controllers/admin/configuration_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/admin/configuration_controller.rb
+++ b/app/controllers/admin/configuration_controller.rb
@@ -1,7 +1,7 @@
class Admin::ConfigurationController < Applicati... | mending features: non-admin user can see but not edit configuration, depagination link check more apt | radiant_radiant | train | rb,rb |
5efcd1be49093d6b411582f34d87d3df13444ec2 | diff --git a/tests/Database/DatabaseEloquentMorphOneOfManyTest.php b/tests/Database/DatabaseEloquentMorphOneOfManyTest.php
index <HASH>..<HASH> 100644
--- a/tests/Database/DatabaseEloquentMorphOneOfManyTest.php
+++ b/tests/Database/DatabaseEloquentMorphOneOfManyTest.php
@@ -94,6 +94,15 @@ class DatabaseEloquentMorphOne... | Added test for morph many not including type bug | laravel_framework | train | php |
52f42f63d5fcb58dd478fede4b40131157126378 | diff --git a/spambl.py b/spambl.py
index <HASH>..<HASH> 100644
--- a/spambl.py
+++ b/spambl.py
@@ -287,8 +287,8 @@ class GoogleSafeBrowsing(object):
try:
response.raise_for_status()
- except HTTPError as e:
- if e.code == 401:
+ except HTTPError:
+ ... | Fix checking for error code in GoogleSafeBrowsing._query_once
The HTTPError class doesn't have a code property, so the status_code
property of response is checked instead | piotr-rusin_spam-lists | train | py |
be92e8b619067235dcedbc00ef314be4dd57d876 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ except ImportError:
from setuptools import setup, find_packages
setup(name="pygg",
- version="0.1.0",
+ version="0.1.1",
description="ggplot2 syntax for python. Runs R version of ggplot2 unde... | added pandas req to setup | sirrice_pygg | train | py |
95349826657dfec1f784ef0f5a9f71aab32136d2 | diff --git a/Imager.js b/Imager.js
index <HASH>..<HASH> 100644
--- a/Imager.js
+++ b/Imager.js
@@ -268,7 +268,7 @@
};
Imager.prototype.determineAppropriateResolution = function (image) {
- return Imager.getClosestValue(image.clientWidth, this.availableWidths);
+ return Imager.getClosestValue(ima... | `{width}` calculation is now performed against parent size. | BBC-News_Imager.js | train | js |
6b92cb9e980e49cde5e9d8e08263275e9aca928a | diff --git a/Model/Menu/Node/Image/File.php b/Model/Menu/Node/Image/File.php
index <HASH>..<HASH> 100644
--- a/Model/Menu/Node/Image/File.php
+++ b/Model/Menu/Node/Image/File.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Snowdog\Menu\Model\Menu\Node\Image;
use Magento\Framework\App\Filesystem\DirectoryList... | [<I>] Add the missing file uploader class to menu node image file model | SnowdogApps_magento2-menu | train | php |
c98cbc05109aeece5e1b02794dc544cb68774e21 | diff --git a/upload/extension/opencart/admin/controller/report/sale_tax.php b/upload/extension/opencart/admin/controller/report/sale_tax.php
index <HASH>..<HASH> 100644
--- a/upload/extension/opencart/admin/controller/report/sale_tax.php
+++ b/upload/extension/opencart/admin/controller/report/sale_tax.php
@@ -98,7 +98,... | Added integer on $page get request. | opencart_opencart | train | php |
028c70af94c80fb5f2cdc0a742d6fe3aeaed07e2 | diff --git a/lib/mwlib/src/MW/Container/Content/CSV.php b/lib/mwlib/src/MW/Container/Content/CSV.php
index <HASH>..<HASH> 100644
--- a/lib/mwlib/src/MW/Container/Content/CSV.php
+++ b/lib/mwlib/src/MW/Container/Content/CSV.php
@@ -123,7 +123,11 @@ class MW_Container_Content_CSV
*/
function key()
{
- return $thi... | Improves compliance to Iterator interface | Arcavias_arcavias-core | train | php |
37c3864cd564e6fe9f895223bac7258165a0c5fe | diff --git a/benchmark/lib/fakesP.js b/benchmark/lib/fakesP.js
index <HASH>..<HASH> 100644
--- a/benchmark/lib/fakesP.js
+++ b/benchmark/lib/fakesP.js
@@ -44,22 +44,7 @@ else if(global.useLie) {
}
}
else if(global.useThenPromise) {
- var Promise = require('promise');
- var slicer = [].slice;
- var lifte... | use then-promise's denodify | petkaantonov_bluebird | train | js |
9f5773920beae8f6698a1633a30bdceed499f633 | diff --git a/bin/tessera.js b/bin/tessera.js
index <HASH>..<HASH> 100755
--- a/bin/tessera.js
+++ b/bin/tessera.js
@@ -87,9 +87,9 @@ if(opts.version) {
} else if(!opts.uri && !opts.config) {
return nomnom.print(nomnom.getUsage());
} else if(opts.multithreaded) {
- console.log("Launching in multithreaded mode with... | Dont repeat log message about multithreaded mode on each thread | mojodna_tessera | train | js |
84df69a7078f036b833665b892a81b393a9014ba | diff --git a/public/js/src/router.js b/public/js/src/router.js
index <HASH>..<HASH> 100644
--- a/public/js/src/router.js
+++ b/public/js/src/router.js
@@ -79,7 +79,8 @@ App.Router = Backbone.Router.extend({
logout: function logout() {
App.session.destroy();
App.session.clear();
- App.router.navigate('da... | Redirecting to /login on logout | shinuza_captain-admin | train | js |
24cb09d6c05eb2ab12c07c7c21c04dfcc25688ef | diff --git a/active_admin/effective_orders.rb b/active_admin/effective_orders.rb
index <HASH>..<HASH> 100644
--- a/active_admin/effective_orders.rb
+++ b/active_admin/effective_orders.rb
@@ -18,6 +18,12 @@ if defined?(ActiveAdmin)
include EffectiveOrdersHelper
def scoped_collection
+ scoped = end... | Add config.orders_collection_scope | code-and-effect_effective_orders | train | rb,rb |
0c12f78d55943bc0207f257aafe4479989289b76 | diff --git a/bcbio/ngsalign/alignprep.py b/bcbio/ngsalign/alignprep.py
index <HASH>..<HASH> 100644
--- a/bcbio/ngsalign/alignprep.py
+++ b/bcbio/ngsalign/alignprep.py
@@ -374,9 +374,10 @@ def _prep_grabix_indexes(in_files, data):
if _ready_gzip_fastq(in_files, data) and (not _ready_gzip_fastq(in_files, data, requi... | Avoid creating fake grabix index if already exists | bcbio_bcbio-nextgen | train | py |
42703e019b6734b014dda016136a3e419cc68636 | diff --git a/tasks/connect.js b/tasks/connect.js
index <HASH>..<HASH> 100644
--- a/tasks/connect.js
+++ b/tasks/connect.js
@@ -153,7 +153,8 @@ module.exports = function(grunt) {
key: options.key || grunt.file.read(path.join(__dirname, 'certs', 'server.key')).toString(),
cert: options.cert || grunt... | Added secureProtocol property in httpsOptions | gruntjs_grunt-contrib-connect | train | js |
f2997b3d2983a6a85821f6043174ce4868e2d384 | diff --git a/dallinger/command_line.py b/dallinger/command_line.py
index <HASH>..<HASH> 100755
--- a/dallinger/command_line.py
+++ b/dallinger/command_line.py
@@ -304,6 +304,8 @@ def debug(verbose, bot):
ready = True
break
+ epipe = 0
+ participant = None
if ready:
host =... | add code to correctly exit debug mode after running experiment | Dallinger_Dallinger | train | py |
188178395c452c86f54384707e2a61ab9a3ba042 | diff --git a/src/main/java/apoc/cypher/Cypher.java b/src/main/java/apoc/cypher/Cypher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/apoc/cypher/Cypher.java
+++ b/src/main/java/apoc/cypher/Cypher.java
@@ -48,7 +48,7 @@ public class Cypher {
public KernelTransaction tx;
@Procedure
- @Description("ap... | Made compiled() static to be used from the outside | neo4j-contrib_neo4j-apoc-procedures | train | java |
88d98e14b9b785922eda21678b177e8b5973b21d | diff --git a/library/CM/Model/Entity/Abstract.php b/library/CM/Model/Entity/Abstract.php
index <HASH>..<HASH> 100755
--- a/library/CM/Model/Entity/Abstract.php
+++ b/library/CM/Model/Entity/Abstract.php
@@ -37,7 +37,7 @@ abstract class CM_Model_Entity_Abstract extends CM_Model_Abstract {
*/
final public function ... | explicitly pass Entity::getUser(true) to deal with different default values | cargomedia_cm | train | php |
9dba70ef9e547571a9c4e8119911922a94e5303f | diff --git a/graylog2-server/src/main/java/org/graylog2/bundles/BundleService.java b/graylog2-server/src/main/java/org/graylog2/bundles/BundleService.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/bundles/BundleService.java
+++ b/graylog2-server/src/main/java/org/graylog2/bundles/Bund... | Rename MongoDB collection for content packs to "content_packs"
In order to be consistent in the terminology used throughout Graylog2, the
collection for content packs should be named accordingly.
We still have to rename the classes, though. | Graylog2_graylog2-server | train | java |
38d9f828f9cf845e9f9c7746e0d108fabea25026 | diff --git a/jose/utils.py b/jose/utils.py
index <HASH>..<HASH> 100644
--- a/jose/utils.py
+++ b/jose/utils.py
@@ -30,7 +30,7 @@ except ImportError:
if blocksize == 0:
return ret
else:
- assert len(ret) >= blocksize
+ assert len(ret) <= blocksize
... | Fix faulty comparison in assertion (should be the other way around). | mpdavis_python-jose | train | py |
16176d4371930f051b2201e49a34995aadbcfb83 | diff --git a/core/src/main/java/hudson/model/Cause.java b/core/src/main/java/hudson/model/Cause.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/Cause.java
+++ b/core/src/main/java/hudson/model/Cause.java
@@ -195,7 +195,7 @@ public abstract class Cause {
*/
public @CheckForNull ... | don't throw NPE if job was deleted in the mean time | jenkinsci_jenkins | train | java |
3460e400a00bb955d69a5f8aaf69628f2d392f11 | diff --git a/h5p.classes.php b/h5p.classes.php
index <HASH>..<HASH> 100644
--- a/h5p.classes.php
+++ b/h5p.classes.php
@@ -2356,10 +2356,7 @@ class H5PCore {
*/
public function getDisable(&$sources, $current) {
foreach (H5PCore::$disable as $bit => $option) {
- if ($option === 'download') {
- $o... | Fixed special case for export/download. | h5p_h5p-php-library | train | php |
b73d5030dd7c6171f53fb391bfa3dd338a3018c7 | diff --git a/websocketproxy.go b/websocketproxy.go
index <HASH>..<HASH> 100644
--- a/websocketproxy.go
+++ b/websocketproxy.go
@@ -62,6 +62,11 @@ func (w *WebsocketProxy) CloseNotify() {
// ServeHTTP implements the http.Handler that proxies WebSocket connections.
func (w *WebsocketProxy) ServeHTTP(rw http.ResponseWri... | websocketproxy: return with known error if backend url is nil | koding_websocketproxy | train | go |
406915cb781e38255a30ad2a0609e33952b9ec50 | diff --git a/lib/devise/models/authenticatable.rb b/lib/devise/models/authenticatable.rb
index <HASH>..<HASH> 100644
--- a/lib/devise/models/authenticatable.rb
+++ b/lib/devise/models/authenticatable.rb
@@ -152,7 +152,8 @@ module Devise
# # If the record is new or changed then delay the
# ... | `changed?` behaviour has been updated (#<I>)
* `changed?` behaviour has been updated
Due to <URL> | plataformatec_devise | train | rb |
01c30c5c47dc5c5e8c14998c3f5bcd7efe1d26f8 | diff --git a/lib/fog/libvirt/models/compute/nic.rb b/lib/fog/libvirt/models/compute/nic.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/libvirt/models/compute/nic.rb
+++ b/lib/fog/libvirt/models/compute/nic.rb
@@ -7,6 +7,7 @@ module Fog
class Nic < Fog::Model
identity :mac
+ attribute :id
... | Add :id attribute to libvirt nic model
My cutting edge version of libvirt (<I> Archlinux) seems to reply with :id for NICs, causing the nic model to break. | fog_fog | train | rb |
8018066028f005e9032851dfecb371d921d9e9a1 | diff --git a/spatialist/raster.py b/spatialist/raster.py
index <HASH>..<HASH> 100644
--- a/spatialist/raster.py
+++ b/spatialist/raster.py
@@ -193,10 +193,8 @@ class Raster(object):
raise RuntimeError('Raster subsetting is only supported for Vector objects with one type of geometry')
geomt... | [Raster] fixed bug in subsetting with Vector objects | johntruckenbrodt_spatialist | train | py |
8c66e7770aa2864cb50315514ced5440ed26c141 | diff --git a/devices/philips.js b/devices/philips.js
index <HASH>..<HASH> 100644
--- a/devices/philips.js
+++ b/devices/philips.js
@@ -1247,6 +1247,15 @@ module.exports = [
ota: ota.zigbeeOTA,
},
{
+ zigbeeModel: ['929003099101'],
+ model: '929003099101',
+ vendor: 'Philips',
+ ... | Add <I> (#<I>) | Koenkk_zigbee-shepherd-converters | train | js |
71c7c14927fc0b7b296e1ee9d237d65908637542 | diff --git a/source/rafcon/gui/controllers/main_window.py b/source/rafcon/gui/controllers/main_window.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/controllers/main_window.py
+++ b/source/rafcon/gui/controllers/main_window.py
@@ -21,6 +21,7 @@
"""
+import os
import logging
import gtk
from functools imp... | feat(rafcon.gui): Open pane windows minimized for RAFCON_START_MINIMIZED
Now also the undocked sidebars/pane windows are opened minimized, when
the env variable RAFCON_START_MINIMIZED is set. This does not affect the
docking_window test. | DLR-RM_RAFCON | train | py |
49184a49261d9a9fbf74685fb11c6d35216d0411 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -1957,14 +1957,14 @@ Pod.prototype = {
filter = {
owner_id : channel.owner_id,
channel_id : channel.id,
- bip_id : sysImports.bip.id,
+ bip_id : sysImports.bip && sysImports.bip... | Fixed bug when pod is used as a self-sufficient entity | bipio-server_bip-pod | train | js |
69234155b9ab701d2afe7d4e244df66922c6f116 | diff --git a/salt/modules/pkgutil.py b/salt/modules/pkgutil.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pkgutil.py
+++ b/salt/modules/pkgutil.py
@@ -30,7 +30,7 @@ def refresh_db():
salt '*' pkgutil.refresh_db
'''
- return __salt__['cmd.retcode']('/opt/csw/bin/pkgutil -U > /dev/null 2>&1') == 0
... | No need to handle stderr/stdout when cmdmod will do it for you | saltstack_salt | train | py |
2364276c388a22f3dd8d1e27fe1c1f7350768373 | diff --git a/config/admin/jqadm/resource.php b/config/admin/jqadm/resource.php
index <HASH>..<HASH> 100644
--- a/config/admin/jqadm/resource.php
+++ b/config/admin/jqadm/resource.php
@@ -325,7 +325,7 @@ return [
* @param array List of user group names
* @since 2017.10
*/
- 'groups' => ['admin', 'super'... | Allow only super users access to locale site panel | aimeos_ai-admin-jqadm | train | php |
1eb4398b6c028c47aded4896dcaf806ca66c346f | diff --git a/registry/consul/options.go b/registry/consul/options.go
index <HASH>..<HASH> 100644
--- a/registry/consul/options.go
+++ b/registry/consul/options.go
@@ -18,13 +18,13 @@ func Config(c *consul.Config) registry.Option {
}
//
-// RegisterTCPCheck will tell the service provider to check the service address... | registry/consul: rename "RegisterTCPCheck" to "TCPCheck" | micro_go-micro | train | go |
03643d18136798fac80374305d0e17f44180d8fa | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -55,9 +55,9 @@ copyright = u'2014, Mist.io Inc'
# built documents.
#
# The short X.Y version.
-version = '0.0.2'
+version = '0.1.0'
# The full version, including alpha/beta/rc ta... | Change version in sphinx conf.py | mistio_mist.client | train | py |
a8af69ab676ee24442c5f5fa70d69c3eb2e0f45a | diff --git a/lib/wmi-lite/version.rb b/lib/wmi-lite/version.rb
index <HASH>..<HASH> 100644
--- a/lib/wmi-lite/version.rb
+++ b/lib/wmi-lite/version.rb
@@ -1,3 +1,3 @@
module WmiLite
- VERSION = '1.0.0'
+ VERSION = "1.0.1".freeze
end | Fix the version file to match the promotion
Without the double quotes expeditor didn't bump this | chef_wmi-lite | train | rb |
1780fbb9b4c30715aa3d01a2b19e18b56b03dade | diff --git a/lib/torrent.js b/lib/torrent.js
index <HASH>..<HASH> 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -475,6 +475,11 @@ Torrent.prototype._onMetadata = function (metadata) {
self.addWebSeed(url)
})
+ // start off selecting the entire torrent with low priority
+ if (self.pieces.length !== 0) ... | Allow entire torrent deselect() to be called earlier
// Remove default selection (whole torrent)
torrent.deselect(0, torrent.pieces.length - 1, false)
Can now be called earlier, after 'metadata' instead of after 'ready'
<URL> | webtorrent_webtorrent | train | js |
eafc4dc751425f39114b03c30990cc9f998af8c1 | diff --git a/test/blob_test.rb b/test/blob_test.rb
index <HASH>..<HASH> 100644
--- a/test/blob_test.rb
+++ b/test/blob_test.rb
@@ -36,6 +36,7 @@ context "Rugged::Blob tests" do
"\xE3\xC3\nK\xCD<!\xEA-_\x9E\xDC=40000 examples\x00"+
"\xAE\xCB\xE9d!|\xB9\xA6\x96\x024],U\xEE\x99\xA2\xEE\xD4\... | force encoding on binary string to binary for proper comparison in <I> | libgit2_rugged | train | rb |
5b1e428b58706afc917e913617055d4d9e81d86b | diff --git a/kerncraft/cacheprediction.py b/kerncraft/cacheprediction.py
index <HASH>..<HASH> 100755
--- a/kerncraft/cacheprediction.py
+++ b/kerncraft/cacheprediction.py
@@ -66,7 +66,7 @@ def sympy_expr_abs_distance_key(e):
assert coeff_imag == 0, "Not supporting imaginary coefficients."
# Sort order... | fixed sympy sorting with negative constants | RRZE-HPC_kerncraft | train | py |
6601fd41470eef4915c38fe29ebff658363b597e | diff --git a/pyeda/expr.py b/pyeda/expr.py
index <HASH>..<HASH> 100755
--- a/pyeda/expr.py
+++ b/pyeda/expr.py
@@ -1035,6 +1035,10 @@ def naive_sat_one(expr):
else:
# var=0 and var=1 both result in a simpler formula
point = naive_sat_one(cf0)
- if point is None:
+ ... | Fixing more bugs with naive SAT solver
Clearly the author is more naive than the algorithm itself. | cjdrake_pyeda | train | py |
9741d304d618f1b45570d298cdeac981bd384d66 | diff --git a/luigi/server.py b/luigi/server.py
index <HASH>..<HASH> 100644
--- a/luigi/server.py
+++ b/luigi/server.py
@@ -169,7 +169,12 @@ def run_api_threaded(api_port=8082, address=None):
sock_names = _init_api(_create_scheduler(), None, api_port, address)
import threading
- threading.Thread(target=to... | Wraps ioloop fetcher for unit tests in a function.
Otherwise, the ioloop instance is fetched in the main loop
but launched in a separate thread, which seems to cause problems.
Hopefully this fixes sporadic deadlocks in unit tests | spotify_luigi | train | py |
85760f9a3624923f7fd0d1d06f61ba267bd0264e | diff --git a/pyinfra/api/connectors/util.py b/pyinfra/api/connectors/util.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/connectors/util.py
+++ b/pyinfra/api/connectors/util.py
@@ -195,7 +195,7 @@ def remove_any_sudo_askpass_file(host):
@memoize
-def show_use_su_login_warning():
+def _show_use_su_login_warning()... | Rename private/internal function with `_` prefix. | Fizzadar_pyinfra | train | py |
4f8899e47c9b50e1f0db06726c060659aa2e24b5 | diff --git a/CLI/commands/dividends_manager.js b/CLI/commands/dividends_manager.js
index <HASH>..<HASH> 100644
--- a/CLI/commands/dividends_manager.js
+++ b/CLI/commands/dividends_manager.js
@@ -128,8 +128,13 @@ async function start_explorer(){
await transferTokens(_to2,_amount2);
break;
ca... | Add support for createCheckpoint() from dividends modules | PolymathNetwork_polymath-core | train | js |
98d588d8385731f344645feea6583cc3d9110b87 | diff --git a/tests/rdfsupport_tests/test_fhirrdf.py b/tests/rdfsupport_tests/test_fhirrdf.py
index <HASH>..<HASH> 100644
--- a/tests/rdfsupport_tests/test_fhirrdf.py
+++ b/tests/rdfsupport_tests/test_fhirrdf.py
@@ -48,12 +48,12 @@ class FhirDataLoaderTestCase(unittest.TestCase):
json_file = fname + ".json"
... | Switch source and target in test to conform to expected/actual idiom | BD2KOnFHIR_fhirtordf | train | py |
e2f8fb9bef8e05a837ad41a4a8516bb1fffdb405 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -502,11 +502,11 @@ function runTests (options) {
var watcher = chokidar.watch(fixturesPath, options)
.on('all', spy)
.on('ready', readySpy);
- delay(function() {
+ ddelay(function() {
re... | Fix polling-mode timing of new test | paulmillr_chokidar | train | js |
0d9372d992f72acee26537a2c9ae787fa2ecb3eb | diff --git a/jqm-all/jqm-engine/src/main/java/com/enioka/jqm/tools/JqmEngine.java b/jqm-all/jqm-engine/src/main/java/com/enioka/jqm/tools/JqmEngine.java
index <HASH>..<HASH> 100644
--- a/jqm-all/jqm-engine/src/main/java/com/enioka/jqm/tools/JqmEngine.java
+++ b/jqm-all/jqm-engine/src/main/java/com/enioka/jqm/tools/JqmE... | Bugfix: asked to die instances were not purged on node rebbot
Fixes #<I> | enioka_jqm | train | java |
cea17acd8cc5190684da944924116fe10742ad81 | diff --git a/src/transformers/generation_utils.py b/src/transformers/generation_utils.py
index <HASH>..<HASH> 100644
--- a/src/transformers/generation_utils.py
+++ b/src/transformers/generation_utils.py
@@ -401,7 +401,7 @@ class GenerationMixin:
# First if `inputs_embeds` are given, but no `attention_mask` a... | [Generate] Fix generate with inputs_embeds on GPU (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
c6c4d56d6d54da66201e9e0e6a61aa2b13f36e37 | diff --git a/library/src/main/java/com/liulishuo/filedownloader/connection/FileDownloadUrlConnection.java b/library/src/main/java/com/liulishuo/filedownloader/connection/FileDownloadUrlConnection.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/liulishuo/filedownloader/connection/FileDownloadUrlConnecti... | fix: close intput stream when connection ending avoid input-stream leak especially for the trial connection | lingochamp_FileDownloader | train | java |
0c592e0fb54003339a87bbc20e2c200ee1918b2c | diff --git a/test/test_big_pgn_collection.rb b/test/test_big_pgn_collection.rb
index <HASH>..<HASH> 100644
--- a/test/test_big_pgn_collection.rb
+++ b/test/test_big_pgn_collection.rb
@@ -2,7 +2,7 @@ require 'test_helper'
class ChessTest < Minitest::Test
- if File.exist?(TestHelper::BIG_PGN_COLLECTION)
+ if ENV['... | Enable test_big_pgn_collection only if env variable BIG_PGN_COLLECTION is set | pioz_chess | train | rb |
65acb3048a466dc05c054ba00b7eb4558e6cb211 | diff --git a/lib/command/run-multiple.js b/lib/command/run-multiple.js
index <HASH>..<HASH> 100644
--- a/lib/command/run-multiple.js
+++ b/lib/command/run-multiple.js
@@ -3,6 +3,7 @@ const {
} = require('./utils');
const fork = require('child_process').fork;
const path = require('path');
+const crypto = require('cry... | Hash name for screenshots output directory (#<I>) | Codeception_CodeceptJS | train | js |
1515c5e7d19f2a3e12bbf7613d7e2c748a5e6fbd | diff --git a/simuvex/plugins/symbolic_memory.py b/simuvex/plugins/symbolic_memory.py
index <HASH>..<HASH> 100644
--- a/simuvex/plugins/symbolic_memory.py
+++ b/simuvex/plugins/symbolic_memory.py
@@ -181,6 +181,10 @@ class SimPagedMemory(collections.MutableMapping):
differences = set()
for c in candi... | Logic change in memory merging: we merge memory objects first for those ones that is equal to or less than 8 bytes (which might be a variable) even if there is only one byte difference between them. | angr_angr | train | py |
e492a5578cb1bc6b0200e2b99f58eebb76884a16 | diff --git a/pre_commit/languages/python.py b/pre_commit/languages/python.py
index <HASH>..<HASH> 100644
--- a/pre_commit/languages/python.py
+++ b/pre_commit/languages/python.py
@@ -34,6 +34,7 @@ def bin_dir(venv: str) -> str:
def get_env_patch(venv: str) -> PatchesT:
return (
+ ('PIP_DISABLE_PIP_VERSIO... | disable pip version check in python hooks | pre-commit_pre-commit | train | py |
b3982e981e09b7b43ceb432d528256aea89f90bb | diff --git a/src/locale/bootstrap-table-fr-FR.js b/src/locale/bootstrap-table-fr-FR.js
index <HASH>..<HASH> 100644
--- a/src/locale/bootstrap-table-fr-FR.js
+++ b/src/locale/bootstrap-table-fr-FR.js
@@ -38,7 +38,7 @@ $.fn.bootstrapTable.locales['fr-FR'] = {
return 'Recherche'
},
formatNoMatches () {
- ret... | Update no result french translation (#<I>)
Sounds better in my opinion | wenzhixin_bootstrap-table | train | js |
10324b355427c1b3be847c7c0a6841488791539d | diff --git a/lib/virtualmonkey/mysql_runner.rb b/lib/virtualmonkey/mysql_runner.rb
index <HASH>..<HASH> 100644
--- a/lib/virtualmonkey/mysql_runner.rb
+++ b/lib/virtualmonkey/mysql_runner.rb
@@ -26,11 +26,16 @@ module VirtualMonkey
end
def run_reboot_operations
- reboot_all(true) # serially_reboot = tr... | Added wait between mysql reboots | jeremyd_virtualmonkey | train | rb |
a297acbaff2a46ed4615e10f89beca08949e81a5 | diff --git a/salt/states/cmd.py b/salt/states/cmd.py
index <HASH>..<HASH> 100644
--- a/salt/states/cmd.py
+++ b/salt/states/cmd.py
@@ -12,8 +12,7 @@ def run(name,
unless=None,
cwd='/root',
user=None,
- group=None,
- timeout=60):
+ group=None):
'''
Ensure that th... | Remove timeout option, it no worky | saltstack_salt | train | py |
a12983b774784b080605a4c3023a606e22083837 | diff --git a/OpenPNM/Utilities/IO.py b/OpenPNM/Utilities/IO.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Utilities/IO.py
+++ b/OpenPNM/Utilities/IO.py
@@ -108,8 +108,7 @@ class PNM(object):
a = obj._models[item].keywords
#Store path to model, name of model and argument key:value pairs in a dict
... | PNM.save/load now saves models as functions directly, rather than as string references to the location of the function...duh, why didn't I do this originally? | PMEAL_OpenPNM | train | py |
27c903b1582fc9d89194733137192064819db727 | diff --git a/rackspace_monitoring/__init__.py b/rackspace_monitoring/__init__.py
index <HASH>..<HASH> 100644
--- a/rackspace_monitoring/__init__.py
+++ b/rackspace_monitoring/__init__.py
@@ -1,2 +1,2 @@
__all__ = ['__version__']
-__version__ = '0.5.0'
+__version__ = '0.5.1-dev' | Indicate we are now developing <I>-dev. | racker_rackspace-monitoring | train | py |
8fb1183e72e39a5bc177eece0af24b022d657a0f | diff --git a/src/Presenters/BackgroundStatusAdminPresenter.php b/src/Presenters/BackgroundStatusAdminPresenter.php
index <HASH>..<HASH> 100644
--- a/src/Presenters/BackgroundStatusAdminPresenter.php
+++ b/src/Presenters/BackgroundStatusAdminPresenter.php
@@ -78,6 +78,9 @@ class BackgroundStatusAdminPresenter extends Ad... | Fix access-level on few ACL actions
- Adds access-level for new `BackgroundStatusAdminPresenter->handleRetry()`.
- Changes access-level for `PaymentsAdminPresenter->handleExportPayments()`,
action generates export.
Removed forgotten debug variable.
remp/crm#<I> | remp2020_crm-admin-module | train | php |
d7c57c9f8c315c64d41ee1ba81643a443fdec286 | diff --git a/lib/temple/core.rb b/lib/temple/core.rb
index <HASH>..<HASH> 100644
--- a/lib/temple/core.rb
+++ b/lib/temple/core.rb
@@ -1,4 +1,27 @@
module Temple
+ # == The Core Abstraction
+ #
+ # The core abstraction is what every template evetually should be compiled
+ # to. Currently it consists of four esse... | Start working on documentation of the core-abs | judofyr_temple | train | rb |
7ae4532ea7561eda48d7534ae473f23a8ad8bf46 | diff --git a/lib/git.js b/lib/git.js
index <HASH>..<HASH> 100644
--- a/lib/git.js
+++ b/lib/git.js
@@ -18,7 +18,7 @@ const downloadRepo = async repoPath => {
url = `https://gitlab.com/${pathParts.main}/repository/archive.tar` + ref
break
case 'Bitbucket':
- url = `https://bitbucket.org/${pathPar... | Bitbucket's master branches are default | zeit_now-cli | train | js |
511a2c10f6bb3f18fd03fe0a5ac105729a8bcf0e | diff --git a/cumulus/storage.py b/cumulus/storage.py
index <HASH>..<HASH> 100644
--- a/cumulus/storage.py
+++ b/cumulus/storage.py
@@ -211,6 +211,27 @@ class CloudFilesStorage(Storage):
"""
return '%s/%s' % (self.container_url, name)
+ def modified_time(self, name):
+ # CloudFiles return m... | Resurrected bendavis<I>'s modified_time support to aid with collectstatic | django-cumulus_django-cumulus | train | py |
7ccf661c685b019dd59ba1ccf4baab8f16ee002a | diff --git a/core.js b/core.js
index <HASH>..<HASH> 100644
--- a/core.js
+++ b/core.js
@@ -155,7 +155,9 @@ class History extends EventEmitter {
class Event {
constructor(type, init = {}) {
this.type = type;
- this.target = init.target ? init.target : null;
+ this.target = init.target !== undefined ? init... | Add Event bubbles/cancelable properties | exokitxr_exokit | train | js |
b3f66fa98e4781155a5e36b877b82b5fd119061f | diff --git a/src/SQLManager.php b/src/SQLManager.php
index <HASH>..<HASH> 100644
--- a/src/SQLManager.php
+++ b/src/SQLManager.php
@@ -285,7 +285,7 @@ class SQLManager
*/
private function setDBorSchema($db_name)
{
- if (strtolower($this->connectionType[$db_name]) === 'postgres9') {
+ if (st... | connectionType is a method not array | CORE-POS_Common-Bundle | train | php |
0f1504c09121370891b668e86b295acbc9b6299e | diff --git a/labm8/py/hashcache_test.py b/labm8/py/hashcache_test.py
index <HASH>..<HASH> 100644
--- a/labm8/py/hashcache_test.py
+++ b/labm8/py/hashcache_test.py
@@ -16,8 +16,6 @@ import pathlib
import tempfile
import time
-import pytest
-
from labm8.py import app
from labm8.py import hashcache
from labm8.py im... | labm8: Mark XFail on hashcache tests.
Insufficient bandwidth to fix.
Signed-off-by: format <I> <github.com/ChrisCummins/format> | ChrisCummins_labm8 | train | py |
d65db784274d5e15f2adc820e45d77b811b1e51f | diff --git a/cpmorphology.py b/cpmorphology.py
index <HASH>..<HASH> 100755
--- a/cpmorphology.py
+++ b/cpmorphology.py
@@ -791,6 +791,7 @@ def triangle_areas(p1,p2,p3):
a /= 2.0
del v1, v2, cross1, cross2
a = a.copy() # a is a view on v1; shed one dimension.
+ a = np.abs(a)
#
# Handle small... | cpmorphology's triangle_areas can handle both winding orders. EditObjectsManually picks the control points using a greedy approach that consecutively finds the point that improves the approximation the most. | CellProfiler_centrosome | train | py |
d2c527f2fdccd91fb51949fc092fce2ff1cc418d | diff --git a/language/en_EN.interface.php b/language/en_EN.interface.php
index <HASH>..<HASH> 100644
--- a/language/en_EN.interface.php
+++ b/language/en_EN.interface.php
@@ -342,6 +342,8 @@ return [
'tr_meliscore_tool_platform_update_marketplace' => 'Allow updates from the marketplace',
'tr_meliscore_tool_pl... | Missing enlish translation on platfrom validated added | melisplatform_melis-core | train | php |
8e10a1c93c354f71bf4122cd6d1931a57da06d47 | diff --git a/sources/scalac/backend/jvm/GenJVM.java b/sources/scalac/backend/jvm/GenJVM.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/backend/jvm/GenJVM.java
+++ b/sources/scalac/backend/jvm/GenJVM.java
@@ -495,6 +495,12 @@ class GenJVM {
if (value instanceof Integer) {
generatedTy... | I hacked the problem with Byte, Short, etc.
<I>% okay, but at least the programs do compile and run now. | scala_scala | train | java |
4426b017ca6bb256ff9f690a27623c7f942f1557 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -253,7 +253,7 @@ with open('README.rst', 'r', 'utf-8') as f:
setup(
name='yara-python',
- version='3.5.0',
+ version='3.6.0',
description='Python interface for YARA',
long_description=readme,
licen... | Set version number to <I> | VirusTotal_yara-python | train | py |
0524bff0590b7cdcaa16de8cb9dbd71efeab11c0 | diff --git a/examples/angular-demo/app/js/neonDemoController.js b/examples/angular-demo/app/js/neonDemoController.js
index <HASH>..<HASH> 100644
--- a/examples/angular-demo/app/js/neonDemoController.js
+++ b/examples/angular-demo/app/js/neonDemoController.js
@@ -28,15 +28,6 @@ angular.module('neonDemo.controllers', [])... | Removing extraneous neon version request from the main controller. This has moved to the powered by neon directive. | NextCenturyCorporation_neon | train | js |
7a421e5ba7a6a9fedcb89e110632f249df17895b | diff --git a/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/RuleActivator.java b/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/RuleActivator.java
index <HASH>..<HASH> 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/RuleActivator.java
+++ b/server/son... | SONAR-<I> Quality Profiles updates correctly when it has a child profile (#<I>) | SonarSource_sonarqube | train | java |
391430d041b33b5c632a27e7fa406a535c548679 | diff --git a/test/options.js b/test/options.js
index <HASH>..<HASH> 100644
--- a/test/options.js
+++ b/test/options.js
@@ -47,5 +47,11 @@ var uuidFirst = uuid.v1({
clockseq: 0,
node: [0, 0, 0, 0, 0, 0]
});
+var uuidLast = uuid.v1({
+ timestamp: 0,
+ clockseq: 0x3fff,
+ node: [0xff, 0xff, 0xff, 0xff, 0xff, 0xf... | Add generation of last timestamp for a given millisecond interval to tests | kelektiv_node-uuid | train | js |
2e8d52e69aed03168ba3f6b6165e80c6ee731565 | diff --git a/bin/css-smash.js b/bin/css-smash.js
index <HASH>..<HASH> 100755
--- a/bin/css-smash.js
+++ b/bin/css-smash.js
@@ -1,6 +1,22 @@
#!/usr/bin/env node
-var css = require("../lib/css");
-var nopt = require("nopt");
+var css = require("../lib/css"),
+ nopt = require("nopt"),
+ knownOpts = {
+ },
+ ... | Add usage and option parsing to css-smash CLI. | MarkBennett_css-smasher | train | js |
d9179dbd812f3c4aae00cbca50d36a35f2f38560 | diff --git a/pypet/tests/run_coverage.py b/pypet/tests/run_coverage.py
index <HASH>..<HASH> 100644
--- a/pypet/tests/run_coverage.py
+++ b/pypet/tests/run_coverage.py
@@ -1,4 +1,38 @@
__author__ = 'Robert Meyer'
+
+import multiprocessing
+
+
+# Monkey Patch from here: https://bitbucket.org/ned/coveragepy/issue/117/ena... | trying monkey-patched multiprocessing for coverage | SmokinCaterpillar_pypet | train | py |
88b3f12b32a2e87742c32e7f3b7e5a2899f12896 | diff --git a/src/serializers/paw/base-importer/BaseImporter.js b/src/serializers/paw/base-importer/BaseImporter.js
index <HASH>..<HASH> 100644
--- a/src/serializers/paw/base-importer/BaseImporter.js
+++ b/src/serializers/paw/base-importer/BaseImporter.js
@@ -303,7 +303,9 @@ export default class BaseImporter {
... | end of string is now unescaped wrt to jsoin pointers | luckymarmot_API-Flow | train | js |
4586a5d70be43e8d0c76788a1d9dfd1f711e952c | diff --git a/src/Assert.php b/src/Assert.php
index <HASH>..<HASH> 100644
--- a/src/Assert.php
+++ b/src/Assert.php
@@ -811,7 +811,7 @@ class Assert
if (!preg_match('/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/', $value)) {
throw static::createInvalidArgumentExc... | string quoted twice in uuid error message | webmozart_assert | train | php |
77c5f696afc14fd9b9104bda9aa89a708fedeb3b | diff --git a/test/tests-collection.js b/test/tests-collection.js
index <HASH>..<HASH> 100644
--- a/test/tests-collection.js
+++ b/test/tests-collection.js
@@ -552,4 +552,13 @@
ok(false, err.stack || err);
}).finally(start);
});
+
+ asyncTest("Issue #102 Passing an empty array to anyOf thro... | Unit test for issue #<I>
Added a unit test to reproduce issue #<I>. However, the test passes
src/Dexie.js but not the minified version of latest stable. Need to
investigate whether this is a minification bug or something that has
been solved in another issue. | dfahlander_Dexie.js | train | js |
eba9834bb15bc0c09fcf8841f8441b11200e0156 | diff --git a/post-processor/vagrant/aws.go b/post-processor/vagrant/aws.go
index <HASH>..<HASH> 100644
--- a/post-processor/vagrant/aws.go
+++ b/post-processor/vagrant/aws.go
@@ -5,6 +5,7 @@ import (
"github.com/mitchellh/mapstructure"
"github.com/mitchellh/packer/packer"
"io/ioutil"
+ "log"
"os"
"path/filepa... | post-processor/vagrant: Extra logging | hashicorp_packer | train | go |
ae99039e4d686de0999631828f6385378dc3b2a3 | diff --git a/src/helpers/helpers.dom.js b/src/helpers/helpers.dom.js
index <HASH>..<HASH> 100644
--- a/src/helpers/helpers.dom.js
+++ b/src/helpers/helpers.dom.js
@@ -80,6 +80,12 @@ function getConstraintHeight(domNode) {
function _calculatePadding(container, padding, parentDimension) {
padding = getStyle(container,... | When the container padding is an empty string, handle it as 0px (#<I>) | chartjs_Chart.js | train | js |
79f7fe69ef6d7d90fe8b7a52b9aa1bc05daa65b1 | diff --git a/zipline/transforms/utils.py b/zipline/transforms/utils.py
index <HASH>..<HASH> 100644
--- a/zipline/transforms/utils.py
+++ b/zipline/transforms/utils.py
@@ -136,7 +136,8 @@ class StatefulTransform(object):
log.info('Running StatefulTransform [%s]' % self.get_hash())
for message in stream... | Checks to make sure that an Event has a type before checking type.
The Dividend event is currently missing 'type', causing the type
check to fail.
TODO: Add a type to Dividends. | quantopian_zipline | train | py |
e2fa99e45050d678838125e5bee83503496bf35a | diff --git a/drools-core/src/main/java/org/drools/core/rule/constraint/MvelConstraint.java b/drools-core/src/main/java/org/drools/core/rule/constraint/MvelConstraint.java
index <HASH>..<HASH> 100644
--- a/drools-core/src/main/java/org/drools/core/rule/constraint/MvelConstraint.java
+++ b/drools-core/src/main/java/org/d... | [DROOLS-<I>] avoid NPE in MVELConstraint | kiegroup_drools | train | java |
9e34169616ce76e79c5bd2f2e442cd50672fc163 | diff --git a/test/unit/i_base_info_test.rb b/test/unit/i_base_info_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/i_base_info_test.rb
+++ b/test/unit/i_base_info_test.rb
@@ -1,11 +1,11 @@
require File.expand_path('../test_helper.rb', File.dirname(__FILE__))
-describe GirFFI::IBaseInfo do
+describe GObjectIntros... | Fix namespace of IBaseInfo in merged test. | mvz_gir_ffi | train | rb |
19f8e66d788a1fd4db0ea0c90de3a66415e37a2c | diff --git a/concrete/src/Filesystem/FileLocator/ThemeLocation.php b/concrete/src/Filesystem/FileLocator/ThemeLocation.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Filesystem/FileLocator/ThemeLocation.php
+++ b/concrete/src/Filesystem/FileLocator/ThemeLocation.php
@@ -51,9 +51,12 @@ class ThemeLocation extends Ab... | Fix URL of locator records in packaged themes | concrete5_concrete5 | train | php |
a3a632ad28de68eb375168f39639dc160fac067d | diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go
index <HASH>..<HASH> 100644
--- a/libcontainer/container_linux.go
+++ b/libcontainer/container_linux.go
@@ -600,9 +600,24 @@ func (c *linuxContainer) checkCriuFeatures(criuOpts *CriuOpts, rpcOpts *criurpc.
logrus.Debugf("Feature check says... | checkpoint: add support to query for lazy page support
Before adding the actual lazy migration support, this adds the feature
check for lazy-pages. Right now lazy migration, which is based on
userfaultd is only available in the criu-dev branch and not yet in a
release. As the check does not dependent on a certain vers... | opencontainers_runc | train | go |
026e1697e01aa24b0bde57fa7f66d9d53819f9ae | diff --git a/lib/fluent/test/input_test.rb b/lib/fluent/test/input_test.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/test/input_test.rb
+++ b/lib/fluent/test/input_test.rb
@@ -75,17 +75,17 @@ module Fluent
all
end
- def register_run_post_condition(proc)
- if proc.respond_to?(:call)
+ ... | Accept not a proc but a block as an argument | fluent_fluentd | train | rb |
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.