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 |
|---|---|---|---|---|---|
9be6f6242e23ff533e5784a72724501c29ac78d8 | diff --git a/psphere/managedobjects.py b/psphere/managedobjects.py
index <HASH>..<HASH> 100644
--- a/psphere/managedobjects.py
+++ b/psphere/managedobjects.py
@@ -360,6 +360,30 @@ class ManagedEntity(ExtensibleManagedObject):
def __init__(self, mo_ref, server):
super(ManagedEntity, self).__init__(mo_ref, ... | Provide a find and find_one method for ManagedEntity's. | psphere-project_psphere | train | py |
b6ffedb25c3040bc6a8345a5e2b006abc6f413c5 | diff --git a/src/df.js b/src/df.js
index <HASH>..<HASH> 100644
--- a/src/df.js
+++ b/src/df.js
@@ -1,3 +1,4 @@
+import * as LogManager from 'aurelia-logging';
import {I18N} from './i18n';
export class DfValueConverter {
@@ -17,7 +18,8 @@ export class DfValueConverter {
if (dfOrOptions && (typeof dfOrOptions.fo... | fix(logger): use LogManager instead console
uses the aurelia-logging service instead of direct usage of console.warn | aurelia_i18n | train | js |
c5e74234e004fbd953289609bbba077f41c425bc | diff --git a/ReText/window.py b/ReText/window.py
index <HASH>..<HASH> 100644
--- a/ReText/window.py
+++ b/ReText/window.py
@@ -111,7 +111,7 @@ class ReTextWindow(QMainWindow):
self.actionChangeFont = self.act(self.tr('Change default font'), trig=self.changeFont)
self.actionSearch = self.act(self.tr('Find text'), ... | Fix triggering boolean actions in PySide | retext-project_retext | train | py |
78ad889835b2b57e91d5a2903b23a92409d1cc9a | diff --git a/src/Codeception/Command/Run.php b/src/Codeception/Command/Run.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Command/Run.php
+++ b/src/Codeception/Command/Run.php
@@ -398,9 +398,15 @@ class Run extends Command
$tokens = explode(' ', $request);
foreach ($tokens as $token) {
... | Fixed uninitialized string offset (#<I>) | Codeception_base | train | php |
231a7b9bf4ebdcaae52ea6417099a0d40821e4b7 | diff --git a/core/server/api/canary/utils/serializers/output/products.js b/core/server/api/canary/utils/serializers/output/products.js
index <HASH>..<HASH> 100644
--- a/core/server/api/canary/utils/serializers/output/products.js
+++ b/core/server/api/canary/utils/serializers/output/products.js
@@ -73,6 +73,7 @@ functio... | Added active flag to products API (#<I>)
refs <URL> as
active or archived | TryGhost_Ghost | train | js |
17499e430c9d594fafa6e2e53638c502aff2380b | diff --git a/resources/views/previewLinkPopup.blade.php b/resources/views/previewLinkPopup.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/previewLinkPopup.blade.php
+++ b/resources/views/previewLinkPopup.blade.php
@@ -1,6 +1,7 @@
<div id="MailPreviewDriverBox" style="
position:absolute;
- top:0;
+... | fix: make setTimeoutInSeconds works
In previous version, variable $timeoutInSeconds wasn't scaped by double braces, so blade puts it like a string.
Now, it is fixed, and as a plus, added a X button to close manually | themsaid_laravel-mail-preview | train | php |
47029fc8d851ab05988e8fbef6c0ba3bd91fe6eb | diff --git a/lib/bibliothecary/parsers/npm.rb b/lib/bibliothecary/parsers/npm.rb
index <HASH>..<HASH> 100644
--- a/lib/bibliothecary/parsers/npm.rb
+++ b/lib/bibliothecary/parsers/npm.rb
@@ -25,7 +25,7 @@ module Bibliothecary
},
match_filename("npm-ls.json") => {
kind: 'lockfile',
- ... | Also rename method to be more consistent. | librariesio_bibliothecary | train | rb |
a89e7ae3aec51a9cfe1615af3c09c082b2a622ac | diff --git a/tests/Kernel/Http/StreamResponseTest.php b/tests/Kernel/Http/StreamResponseTest.php
index <HASH>..<HASH> 100644
--- a/tests/Kernel/Http/StreamResponseTest.php
+++ b/tests/Kernel/Http/StreamResponseTest.php
@@ -1,12 +1,20 @@
<?php
+/*
+ * This file is part of the overtrue/wechat.
+ *
+ * (c) overtrue <i@... | Apply fixes from StyleCI (#<I>)
[ci skip] [skip ci] | overtrue_wechat | train | php |
1734064d3d0c2d73c2c512bad86a32a711a02625 | diff --git a/cleanse.js b/cleanse.js
index <HASH>..<HASH> 100644
--- a/cleanse.js
+++ b/cleanse.js
@@ -60,8 +60,10 @@ function cleanseHtml(str, options){
str = str.replace(/<head\b[^<]*(?:(?!<\/head>)<[^<]*)*<\/head>/gi,' '); //removes head section entirely
if(options.style)
str = str.replace(/<... | fixed mid attribute '>' usage
by completely clearing out attributes first before removing the tag | dprior_cleanse-html | train | js |
0645ac50049ac2f7223ad953cba25bd0f16f1b85 | diff --git a/errors.js b/errors.js
index <HASH>..<HASH> 100644
--- a/errors.js
+++ b/errors.js
@@ -462,6 +462,7 @@ module.exports.classify = function classify(err) {
case 'tchannel-thrift-handler.parse-error.head-failed':
case 'tchannel.checksum':
case 'tchannel.duplicate-header-key':
+ ... | errors: move null key to bad request | uber_tchannel-node | train | js |
8da1859758490f032871eabd2aef632de4362cce | diff --git a/tests/test.js b/tests/test.js
index <HASH>..<HASH> 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -55,6 +55,12 @@ describe('lessWatchCompilerUtils Module API', function(){
lessWatchCompilerUtils.config.sourceMap = true;
assert.equal("lessc --source-map test testFolder/test.css"... | test: Add test for minified flag | jonycheung_deadsimple-less-watch-compiler | train | js |
6fd5d41eaa81d79ae0923e159d350873c3187133 | diff --git a/estnltk/storage/postgres/where_clause.py b/estnltk/storage/postgres/where_clause.py
index <HASH>..<HASH> 100644
--- a/estnltk/storage/postgres/where_clause.py
+++ b/estnltk/storage/postgres/where_clause.py
@@ -23,13 +23,16 @@ class WhereClause(Composed):
else:
super().__init__([])
+... | added property WhereClause.required_layers | estnltk_estnltk | train | py |
3a069a6921092726bc6ee5044dc7d8331d424d87 | diff --git a/Doctrine/Mapper/MetaInformationFactory.php b/Doctrine/Mapper/MetaInformationFactory.php
index <HASH>..<HASH> 100644
--- a/Doctrine/Mapper/MetaInformationFactory.php
+++ b/Doctrine/Mapper/MetaInformationFactory.php
@@ -55,7 +55,7 @@ class MetaInformationFactory
}
if (!$this->annotationRe... | do not throw exception if a entity has no document annotation | floriansemm_SolrBundle | train | php |
0d69e039064ab2c0451a57dce06a508d6fdbd91f | diff --git a/rrecur.js b/rrecur.js
index <HASH>..<HASH> 100644
--- a/rrecur.js
+++ b/rrecur.js
@@ -118,6 +118,11 @@
}
if ('UNTIL' === k || 'DTSTART' === k) {
+ if ('number' === typeof v) {
+ v = new Date(v).toISOString();
+ } else if ('object' === typeof v) {
+ v = v.toIS... | fix #2 convert date object and integer timestamp to iso string for until and dtstart | solderjs_rrecurjs | train | js |
db022830a645dca8273d1fe42cd41ea58f5e608a | diff --git a/h5p.classes.php b/h5p.classes.php
index <HASH>..<HASH> 100644
--- a/h5p.classes.php
+++ b/h5p.classes.php
@@ -1864,7 +1864,7 @@ class H5PCore {
'js/h5p-utils.js',
);
- public static $defaultContentWhitelist = 'json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 wav txt... | Add m4a extension to content files whitelist | h5p_h5p-php-library | train | php |
b764ac1c55fb5d4b7f155fdddce87bd03aef6899 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,13 +2,13 @@ from setuptools import setup
setup(
name="tyoi.OAuth2",
- version="0.1.0",
+ version="0.2.0",
author="Ryan Horn",
author_email="ryan.horn.web@gmail.com",
description=("Implements the... | Updated setup.py with new version and packages | ryanhorn_tyoiOAuth2 | train | py |
ccd492c37139e676256afcfa8a12803fe75530ee | diff --git a/lib/conceptql/rdbms/postgres.rb b/lib/conceptql/rdbms/postgres.rb
index <HASH>..<HASH> 100644
--- a/lib/conceptql/rdbms/postgres.rb
+++ b/lib/conceptql/rdbms/postgres.rb
@@ -32,6 +32,10 @@ module ConceptQL
def explain_temp_tables?
ENV["CONCEPTQL_PG_EXPLAIN_TEMP_TABLES"] == "true"
end... | Introduce RDBMS#preferred_formatter
sql_format doesn't format our commented PostgreSQL SQL very nicely,
so we'll use pg_format when we're formatting PostgreSQL-oriented SQL
This is a quick hack to allow an RDBMS to list a preferred formatter
and I'd really like to refactor this some day | outcomesinsights_conceptql | train | rb |
4f6189bee6eef3f9f347dca6589093580a221ab9 | diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py
index <HASH>..<HASH> 100755
--- a/benchexec/tablegenerator/__init__.py
+++ b/benchexec/tablegenerator/__init__.py
@@ -1159,11 +1159,8 @@ def basename_without_ending(file):
name = name[:-4]
return name
-def main(args... | Refactoring: extract method in table-generator | sosy-lab_benchexec | train | py |
3435f39bab7731e1600a0e3d422c2baa5040d2e9 | diff --git a/course/jumpto.php b/course/jumpto.php
index <HASH>..<HASH> 100644
--- a/course/jumpto.php
+++ b/course/jumpto.php
@@ -10,6 +10,10 @@
$jump = optional_param('jump', '', PARAM_RAW);
+ if (!confirm_sesskey()) {
+ print_error('confirmsesskeybad');
+ }
+
if (strpos($jump, $CFG->wwwroo... | validate local redirection actions in jumpto.php SC#<I> | moodle_moodle | train | php,php |
68e55239c8e099ea8e5b473767f4f84f28b8e28e | diff --git a/notario/decorators.py b/notario/decorators.py
index <HASH>..<HASH> 100644
--- a/notario/decorators.py
+++ b/notario/decorators.py
@@ -58,7 +58,8 @@ def not_empty(_object):
@instance_of()
def decorated(value):
- assert value, "is empty"
+ name = getattr(value, '__na... | is_empty has a better failure message | alfredodeza_notario | train | py |
b89999ad1fe357121d471b15ea8ee297cd2583f4 | diff --git a/tests/job/validation_test.py b/tests/job/validation_test.py
index <HASH>..<HASH> 100644
--- a/tests/job/validation_test.py
+++ b/tests/job/validation_test.py
@@ -262,7 +262,7 @@ class ClassicalHazardFormTestCase(unittest.TestCase):
'Number of logic tree samples must be >= 0',
... | tests/job/validation_test:
Updated expected error message string in reference to a `poes` param error. | gem_oq-engine | train | py |
f53f416561b90de1bdcadfcabcfdf8b0e307622f | diff --git a/src/Data/ListController.js b/src/Data/ListController.js
index <HASH>..<HASH> 100644
--- a/src/Data/ListController.js
+++ b/src/Data/ListController.js
@@ -1,14 +1,24 @@
"use strict";
+let route;
+
class ListController {
- constructor(app, Module, $routeParams) {
+ constructor(app, Module, $rou... | empty model needs setup; add create method | monomelodies_monad | train | js |
3cd26eabd8947dc60b894b5324d14a78114f087f | diff --git a/api/config.go b/api/config.go
index <HASH>..<HASH> 100644
--- a/api/config.go
+++ b/api/config.go
@@ -3,6 +3,7 @@ package api
import (
"flag"
"net"
+ "net/http"
"net/http/httputil"
"net/url"
@@ -58,4 +59,11 @@ func ConfigProcess() {
log.Fatal(4, "API Cannot parse fallback-graphite-addr: %s", ... | fix duplicate access control headers leading to browser blocking
requests
we can now successfully use MT directly from browser, with dynamic
proxying! | grafana_metrictank | train | go |
49b47dc41ea071e293f1974049b126a6817a4f4b | diff --git a/core/src/main/java/hudson/tasks/MailSender.java b/core/src/main/java/hudson/tasks/MailSender.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/tasks/MailSender.java
+++ b/core/src/main/java/hudson/tasks/MailSender.java
@@ -312,7 +312,12 @@ public class MailSender {
rcp.a... | [FIXED HUDSON-<I>] Send build status email to valid addresses rather than aborting
for one invalid address
git-svn-id: <URL> | jenkinsci_jenkins | train | java |
a105a0e78137879c4f548f35bb7800a7f0eb51d1 | diff --git a/python/mxboard/event_file_writer.py b/python/mxboard/event_file_writer.py
index <HASH>..<HASH> 100644
--- a/python/mxboard/event_file_writer.py
+++ b/python/mxboard/event_file_writer.py
@@ -32,6 +32,8 @@ import six
from .proto import event_pb2
from .record_writer import RecordWriter
+logging.basicConfi... | Fix logging problem in py<I> | awslabs_mxboard | train | py |
b108019f4d5f818205f43b78cbece04c1cd25749 | diff --git a/protocols/primary-backup/src/main/java/io/atomix/protocols/backup/proxy/PrimaryBackupProxy.java b/protocols/primary-backup/src/main/java/io/atomix/protocols/backup/proxy/PrimaryBackupProxy.java
index <HASH>..<HASH> 100644
--- a/protocols/primary-backup/src/main/java/io/atomix/protocols/backup/proxy/Primary... | Ensure PrimaryBackupProxy.close future is properly completed. | atomix_atomix | train | java |
b630d82fc03cd43ed34fe586297c97e63e4d1e2b | diff --git a/robjects/tests.py b/robjects/tests.py
index <HASH>..<HASH> 100644
--- a/robjects/tests.py
+++ b/robjects/tests.py
@@ -2,6 +2,8 @@ import unittest
import redis
from robjects.base import BaseObject
+from robjects.objects import JsonObject, HashObject
+
r = redis.Redis()
r.flushdb()
@@ -65,5 +67,23 @@... | add tests for JsonObject and HashObject | relekang_rob | train | py |
ef08dd9082e3de7bcae3c274adaf1a08015dd858 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -135,7 +135,7 @@ HtmlWebpackPugPlugin.prototype.injectAssetsIntoSlim = function (file, styles, sc
*/
HtmlWebpackPugPlugin.prototype.injectAssets = function (file, head, body, assets) {
var self = this;
- var bodyRegExp ... | Fix adding link tag to head when word 'body' is present in content | negibouze_html-webpack-pug-plugin | train | js |
16b0bc7c3beea94c2f11cd241003a2f1297c2aec | diff --git a/crypto/secp256k1/secp256.go b/crypto/secp256k1/secp256.go
index <HASH>..<HASH> 100644
--- a/crypto/secp256k1/secp256.go
+++ b/crypto/secp256k1/secp256.go
@@ -20,11 +20,11 @@ package secp256k1
/*
#cgo CFLAGS: -I./libsecp256k1
-#cgo darwin CFLAGS: -I/usr/local/include
+#cgo darwin CFLAGS: -I/usr/local/in... | crypto/secp<I>k1: add C compiler flags for pkgsrc
pkgsrc is a cross-platform package manager that also
supports OS X. | ethereum_go-ethereum | train | go |
1ea2eff23229d3647b52605b1484d2bea6a3a948 | diff --git a/java/client/test/org/openqa/selenium/RenderedWebElementTest.java b/java/client/test/org/openqa/selenium/RenderedWebElementTest.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/RenderedWebElementTest.java
+++ b/java/client/test/org/openqa/selenium/RenderedWebElementTest.java
@@ -1... | JasonLeyba: @Ignoring test that fails for all configs.
r<I> | SeleniumHQ_selenium | train | java |
b7bf295274856b754102bc1789176b5f2ab34cb5 | diff --git a/lxd-agent/exec.go b/lxd-agent/exec.go
index <HASH>..<HASH> 100644
--- a/lxd-agent/exec.go
+++ b/lxd-agent/exec.go
@@ -235,7 +235,7 @@ func (s *execWs) Do(op *operations.Operation) error {
stderr = ttys[2]
}
- controlExit := make(chan bool)
+ controlExit := make(chan bool, 1)
attachedChildIsBorn :=... | lxd-agent/exec: Add buffered channel to prevent deadlock on cmd exit | lxc_lxd | train | go |
979a04482036632b4670a9eb067f642514f6dc39 | diff --git a/hanlp/components/sts/transformer_sts.py b/hanlp/components/sts/transformer_sts.py
index <HASH>..<HASH> 100644
--- a/hanlp/components/sts/transformer_sts.py
+++ b/hanlp/components/sts/transformer_sts.py
@@ -161,7 +161,10 @@ class TransformerSemanticTextualSimilarity(TorchComponent):
# noinspection PyMe... | Avoid re-downloading Electra model | hankcs_HanLP | train | py,py |
3cdd7cb1bd766359fc8d650d43cf4197eefa9b64 | diff --git a/src/gitgraph.js b/src/gitgraph.js
index <HASH>..<HASH> 100644
--- a/src/gitgraph.js
+++ b/src/gitgraph.js
@@ -538,11 +538,19 @@
// Add start point
if (this.parentBranch) {
- this.startPoint = {
- x: this.parentBranch.offsetX - this.parent.commitOffsetX + this.template.commit.spacing... | Branch from the latest point instead of parent commit when parent commit is the head of parent branch | nicoespeon_gitgraph.js | train | js |
d2d4882968913ae87c340c622721299bd5278b19 | diff --git a/timepiece/forms.py b/timepiece/forms.py
index <HASH>..<HASH> 100644
--- a/timepiece/forms.py
+++ b/timepiece/forms.py
@@ -77,12 +77,12 @@ class EditPersonForm(auth_forms.UserChangeForm):
label=_(u'Repeat Password'),
widget=forms.PasswordInput(render_value=False))
- class Meta:
- ... | refs #<I> - Removed extra password field from Edit Person form | caktus_django-timepiece | train | py |
a758daed7064797ceebfab7a1ae29b3bd475b5c1 | diff --git a/resources/config/default.php b/resources/config/default.php
index <HASH>..<HASH> 100644
--- a/resources/config/default.php
+++ b/resources/config/default.php
@@ -58,7 +58,8 @@ return function (CM_Config_Node $config) {
);
$config->CM_Http_Response_View_Abstract->exceptionsToCatch = array(
- ... | Log "nonexistent" and "invalid param" in view responses | cargomedia_cm | train | php |
894073fb8bbbb42c13efac02caab0c019ca24639 | diff --git a/tools/upload_website.js b/tools/upload_website.js
index <HASH>..<HASH> 100755
--- a/tools/upload_website.js
+++ b/tools/upload_website.js
@@ -1,4 +1,6 @@
#!/usr/bin/env node
-const run = require('./run');
-// pip install aws
-run.sh(`aws s3 sync website/ s3://propelml.org --follow-symlinks --delete`);
+co... | tools: make upload_website work on windows | propelml_propel | train | js |
02db783124d145b80d4a89f587133cf9ff8cf3b8 | diff --git a/addon/components/flexberry-layers-attributes-panel.js b/addon/components/flexberry-layers-attributes-panel.js
index <HASH>..<HASH> 100644
--- a/addon/components/flexberry-layers-attributes-panel.js
+++ b/addon/components/flexberry-layers-attributes-panel.js
@@ -667,7 +667,7 @@ export default Ember.Componen... | Remove 'circle' from available draw tools for polygon layer. | Flexberry_ember-flexberry-gis | train | js |
62f6a42dfc0b068fec5955a1ea9223d3741c2bf0 | diff --git a/pandas/core/series.py b/pandas/core/series.py
index <HASH>..<HASH> 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -166,6 +166,8 @@ class Series(base.IndexOpsMixin, generic.NDFrame):
Data type for the output Series. If not specified, this will be
inferred from `data`.
... | added names, fastpath parameters explanation to pandas.Series (#<I>) | pandas-dev_pandas | train | py |
e31c9c7bc67da2b50a230b771090bcb5ace2c692 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -92,8 +92,20 @@ infos.inbox[1] = infos.tasks[0]
infos.inbox[2] = infos.tasks[1]
infos.inbox[3] = infos.tasks[1]
+console.log(infos)
+
+assert(infos.inbox[0] === infos.tasks[0])
+assert(infos.inbox[1] ==... | add asserts for infos and result4 | YChebotaev_json-decycle | train | js |
0bb3998a6a7a82b4c4269f3c57a9fcbe7229b162 | diff --git a/src/event.js b/src/event.js
index <HASH>..<HASH> 100644
--- a/src/event.js
+++ b/src/event.js
@@ -133,7 +133,7 @@ jQuery.event = {
var namespaces = type.split(".");
type = namespaces.shift();
var all = !namespaces.length,
- namespace = new RegExp("(^|\\.)" + namespaces.slice().sort()... | Re-adding zeros removed from slice calls in last commit. | jquery_jquery | train | js |
1458729646f070702e705f94fee838e81bd01a24 | diff --git a/salt/engines/stalekey.py b/salt/engines/stalekey.py
index <HASH>..<HASH> 100644
--- a/salt/engines/stalekey.py
+++ b/salt/engines/stalekey.py
@@ -51,7 +51,7 @@ def _get_keys():
def start(interval=3600, expire=604800):
ck = salt.utils.minions.CkMinions(__opts__)
- presence_file = '{0}/minions/pre... | Create presence.p directly in cachedir
salt-key was stacktracing when finding the presence.p file
in /var/cache/salt/master/minions | saltstack_salt | train | py |
c3eb5106c52d449404cfa7846265a1d6b15c4379 | diff --git a/pydsl/Grammar/Checker.py b/pydsl/Grammar/Checker.py
index <HASH>..<HASH> 100644
--- a/pydsl/Grammar/Checker.py
+++ b/pydsl/Grammar/Checker.py
@@ -65,16 +65,12 @@ class BNFChecker(Checker):
def __init__(self, bnf, parser = "auto"):
Checker.__init__(self)
parser = bnf.options.get("pars... | default parser is recursivedescent | nesaro_pydsl | train | py |
fab9a3c818f2797267c6b8920feb49c1b9881968 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -17,6 +17,7 @@ Dir[File.join(File.dirname(__FILE__), "support/shared_examples/**/*.rb")].each d
end
RSpec.configure do |config|
+ config.color = true
config.order = "random"
... | Updated RSpec spec helper to enable color output.
- This used to be a global setting that is now configured at the
project level.
- Provides improved transparency for the project. | bkuhlmann_navigator | train | rb |
909344415ef1f31615a725b1430bdbc0e7942975 | diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js
index <HASH>..<HASH> 100644
--- a/spec/api-browser-window-spec.js
+++ b/spec/api-browser-window-spec.js
@@ -1973,12 +1973,12 @@ describe('BrowserWindow module', function () {
it('should keep window hidden if already in hidden state', ... | :art: Use leave-full-screen event instead of setTimeout() | electron_electron | train | js |
2ee4be7a7002d3228cd7fdb32a58c2b6ca021482 | diff --git a/lib/qunited/qunit_test_result.rb b/lib/qunited/qunit_test_result.rb
index <HASH>..<HASH> 100644
--- a/lib/qunited/qunit_test_result.rb
+++ b/lib/qunited/qunit_test_result.rb
@@ -74,14 +74,21 @@ module QUnited
def self.clean_up_result(test_result)
test_result = symbolize_keys(test_result)
... | Refactor QUnitTestResult.symbolize_keys to change keys in nested hashes & arrays | aaronroyer_qunited | train | rb |
0e0398d43095681201b976801f28c1d4815d19b6 | diff --git a/assess_constraints.py b/assess_constraints.py
index <HASH>..<HASH> 100755
--- a/assess_constraints.py
+++ b/assess_constraints.py
@@ -155,8 +155,7 @@ def assess_instance_type_constraints(client):
"""Assess deployment with instance-type constraints."""
provider = client.env.config.get('type')
... | Made testing a provider with no instance-types a no-op for assess_instance_type_constraints rather than an error. | juju_juju | train | py,py |
dfd6c8d51d4af5ebd65f0cc71fb09ae395791f92 | diff --git a/cmd/main.js b/cmd/main.js
index <HASH>..<HASH> 100755
--- a/cmd/main.js
+++ b/cmd/main.js
@@ -17,14 +17,15 @@ var req = require('lazreq')({
Installer: '../lib/installer.js',
inquirer: 'inquirer',
path: 'path',
- pipelines: '../lib/pipelines.js'
+ pipelines: '../lib/pipelines.js',
+ ... | Fix errors introduced during the lazy-loading rewrite. | dapphub_dapple | train | js |
e1d599d5db7d649a13dfe62f8829574315c919ce | diff --git a/src/models/BusinessHourGenerator.js b/src/models/BusinessHourGenerator.js
index <HASH>..<HASH> 100644
--- a/src/models/BusinessHourGenerator.js
+++ b/src/models/BusinessHourGenerator.js
@@ -8,7 +8,7 @@ var BUSINESS_HOUR_EVENT_DEFAULTS = {
};
-var BusinessHourGenerator = Class.extend({
+var BusinessHou... | make BusinessHourGenerator public | fullcalendar_fullcalendar | train | js |
36a537c61a15710c290e225932de22f9ffad0e10 | diff --git a/Classes/Application/FLOW3Distribution.php b/Classes/Application/FLOW3Distribution.php
index <HASH>..<HASH> 100644
--- a/Classes/Application/FLOW3Distribution.php
+++ b/Classes/Application/FLOW3Distribution.php
@@ -123,7 +123,7 @@ class FLOW3Distribution extends \TYPO3\Deploy\Domain\Model\Application {
... | [+BUGFIX] Fix inclusion of empty Cache/ directory | TYPO3_Surf | train | php |
fc85c9acec679db123e2a4a1c5a45e678593c7a3 | diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php
index <HASH>..<HASH> 100644
--- a/tests/QueryBuilderTest.php
+++ b/tests/QueryBuilderTest.php
@@ -361,12 +361,12 @@ class QueryBuilderTest extends \PHPUnit_Extensions_Database_TestCase
$this->queryBuilder->select(['value']);
- $this->assertEqu... | FIX: unittest for uid as primary key & order values | pragma-framework_core | train | php |
60f8e73fb7295d746265abce9a1f3d5ad8bd3db7 | diff --git a/src/Exscript/protocols/drivers/junos_erx.py b/src/Exscript/protocols/drivers/junos_erx.py
index <HASH>..<HASH> 100644
--- a/src/Exscript/protocols/drivers/junos_erx.py
+++ b/src/Exscript/protocols/drivers/junos_erx.py
@@ -37,7 +37,7 @@ class JunOSERXDriver(Driver):
def init_terminal(self, conn):
... | exscript: Fixed bug: Set terminal width to highest value possible for ERX driver. | knipknap_exscript | train | py |
afac2b98b0b931084d554a62bf60c4a779c58316 | diff --git a/lib/api/utils.js b/lib/api/utils.js
index <HASH>..<HASH> 100644
--- a/lib/api/utils.js
+++ b/lib/api/utils.js
@@ -262,7 +262,8 @@ var load = exports.load = function(html, options) {
};
var html = exports.html = function(dom) {
- if (dom !== undefined) {
+ if (dom) {
+ dom = (type(dom) === 'string'... | $.html(selector) now works to select outer html | oyyd_cheerio-without-node-native | train | js |
dacd79a6b393d0d2338c3f29c2b904f626685efd | diff --git a/lib/Models/getAncestors.js b/lib/Models/getAncestors.js
index <HASH>..<HASH> 100644
--- a/lib/Models/getAncestors.js
+++ b/lib/Models/getAncestors.js
@@ -10,10 +10,13 @@ var defined = require('terriajs-cesium/Source/Core/defined');
* @return {CatalogMember[]} The members' ancestors in its parent tree, st... | replace recursive getAncestors with loop | TerriaJS_terriajs | train | js |
7881aa53bc48fa35c517d421358543334f4cb0a5 | diff --git a/src/spec/integration/links/export_release_spec.rb b/src/spec/integration/links/export_release_spec.rb
index <HASH>..<HASH> 100644
--- a/src/spec/integration/links/export_release_spec.rb
+++ b/src/spec/integration/links/export_release_spec.rb
@@ -101,7 +101,6 @@ describe 'exporting release with templates th... | Update integration tests to match new export-release behavior | cloudfoundry_bosh | train | rb |
e9ba5f81ae2333aab8b5911cab2832f858d823d5 | diff --git a/lib/table_setter/command.rb b/lib/table_setter/command.rb
index <HASH>..<HASH> 100644
--- a/lib/table_setter/command.rb
+++ b/lib/table_setter/command.rb
@@ -24,7 +24,7 @@ options:
def initialize
@prefix = ""
parse_options
- @prefix = "/#{@prefix}/".gsub(/^\/\//, "")
+ @prefix ... | prefix for rack works now as well | propublica_table-setter | train | rb |
4e3217379d64a01dcc561f51bd551fc49a0a511c | diff --git a/lib/devise-authy/controllers/helpers.rb b/lib/devise-authy/controllers/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/devise-authy/controllers/helpers.rb
+++ b/lib/devise-authy/controllers/helpers.rb
@@ -11,7 +11,8 @@ module DeviseAuthy
def remember_device
cookies.signed[:remember_device]... | add exires to cookie remember_device, otherwise, cookie is expired when the browser session ends | twilio_authy-devise | train | rb |
d9e95796b8c42df01e8650f5bde38180143a367e | diff --git a/src/commons/org/codehaus/groovy/grails/commons/spring/DefaultBeanConfiguration.java b/src/commons/org/codehaus/groovy/grails/commons/spring/DefaultBeanConfiguration.java
index <HASH>..<HASH> 100644
--- a/src/commons/org/codehaus/groovy/grails/commons/spring/DefaultBeanConfiguration.java
+++ b/src/commons/o... | Fix for some deprecation warnings which appeared after upgrade to Spring <I>.
git-svn-id: <URL> | grails_grails-core | train | java |
1354fba2ab544839ab107b8e57aa9efa0d734b3a | diff --git a/lib/bot.js b/lib/bot.js
index <HASH>..<HASH> 100644
--- a/lib/bot.js
+++ b/lib/bot.js
@@ -108,14 +108,22 @@ Bot.prototype = {
continueParams = { continue: '' };
let titles, pageids = params.pageids;
if ( params.titles ) {
- if ( params.titles.length === 0 ) { delete params.titles; }
- else { ... | Work on linting issues. | macbre_nodemw | train | js |
94ac6120e9a74fba141f6333de195ffcd8938a2a | diff --git a/lib/ohm.rb b/lib/ohm.rb
index <HASH>..<HASH> 100644
--- a/lib/ohm.rb
+++ b/lib/ohm.rb
@@ -105,9 +105,10 @@ module Ohm
self << model
end
- def sort(options = {})
+ def sort(_options = {})
return [] unless key.exists
+ options = _options.dup
options[:sta... | Avoid overriding the passed options. | soveran_ohm | train | rb |
b6c2e4230096374ace225eedb8f5838e80c87d10 | diff --git a/test/dhis2_test.rb b/test/dhis2_test.rb
index <HASH>..<HASH> 100644
--- a/test/dhis2_test.rb
+++ b/test/dhis2_test.rb
@@ -14,8 +14,19 @@ class Dhis2Test < Minitest::Test
assert_equal 50, org_units.size
end
+ def test_get_org_units_all_fields
+ org_units = Dhis2.org_units(fields: [":all"], pag... | Add a test requesting all fields | BLSQ_dhis2 | train | rb |
d807000c8a3e9bc743bd2b6dfae50a48349d21fc | diff --git a/lib/blazing/cli/create.rb b/lib/blazing/cli/create.rb
index <HASH>..<HASH> 100644
--- a/lib/blazing/cli/create.rb
+++ b/lib/blazing/cli/create.rb
@@ -7,7 +7,7 @@ module Blazing
include Thor::Actions
argument :repository
- argument :remote
+ argument :target
def self.sourc... | remote has been renamed to target | effkay_blazing | train | rb |
f93b2dc880c0c2c8065481d4b987014c062aaa0a | diff --git a/src/RoundingMode.php b/src/RoundingMode.php
index <HASH>..<HASH> 100644
--- a/src/RoundingMode.php
+++ b/src/RoundingMode.php
@@ -17,6 +17,8 @@ final class RoundingMode
{
/**
* Private constructor. This class is not instantiable.
+ *
+ * @codeCoverageIgnore
*/
private functio... | Ignore code coverage on private constructor for non-instantiable class | brick_math | train | php |
00abf84b5ddc86138cf056065379d6bcdc806d91 | diff --git a/pushtx/broadcaster.go b/pushtx/broadcaster.go
index <HASH>..<HASH> 100644
--- a/pushtx/broadcaster.go
+++ b/pushtx/broadcaster.go
@@ -137,7 +137,7 @@ func (b *Broadcaster) broadcastHandler(sub *blockntfns.Subscription) {
// new goroutine to exectue a rebroadcast.
case <-rebroadcastSem:
default:
- ... | pushtx: demote existing rebroadcast log to trace
It would log on every block, which during initial sync would fill the
logs. | lightninglabs_neutrino | train | go |
6bfbdb67db0d87eded258ef9b8f2b8cef5b4be55 | diff --git a/molgenis-data/src/main/java/org/molgenis/data/util/UniqueId.java b/molgenis-data/src/main/java/org/molgenis/data/util/UniqueId.java
index <HASH>..<HASH> 100644
--- a/molgenis-data/src/main/java/org/molgenis/data/util/UniqueId.java
+++ b/molgenis-data/src/main/java/org/molgenis/data/util/UniqueId.java
@@ -2... | Fix squid:S<I> ThreadLocal memory leak in UniqueId (#<I>) | molgenis_molgenis | train | java |
cafdf641bbb208fd3e9345d8ec21a108a97a2b37 | diff --git a/src/main/org/codehaus/groovy/reflection/CachedClass.java b/src/main/org/codehaus/groovy/reflection/CachedClass.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/reflection/CachedClass.java
+++ b/src/main/org/codehaus/groovy/reflection/CachedClass.java
@@ -281,16 +281,14 @@ public class Ca... | remove unneeded synchronization. It is a racy single-check, but ok in this case | apache_groovy | train | java |
05b0360b1480bd823796be596bea325b0be0f482 | diff --git a/test/test_peerassets.py b/test/test_peerassets.py
index <HASH>..<HASH> 100644
--- a/test/test_peerassets.py
+++ b/test/test_peerassets.py
@@ -24,7 +24,6 @@ def test_find_deck(prov):
'network': 'peercoin-testnet',
'number_of_decimals': 2,
... | test_peerassets::deck does no handle testnet boolean anymore | PeerAssets_pypeerassets | train | py |
6ad7ba2f5f4c31c1f7a1432af2c004ab4508bf14 | diff --git a/vendor/k8s.io/kubernetes/plugin/pkg/scheduler/factory/factory.go b/vendor/k8s.io/kubernetes/plugin/pkg/scheduler/factory/factory.go
index <HASH>..<HASH> 100644
--- a/vendor/k8s.io/kubernetes/plugin/pkg/scheduler/factory/factory.go
+++ b/vendor/k8s.io/kubernetes/plugin/pkg/scheduler/factory/factory.go
@@ -6... | UPSTREAM: <I>: scheduler should not log an error when no fit | openshift_origin | train | go |
47778a96833e8f352d1450f35f192d5a98438a2f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -123,6 +123,12 @@ function writeAndRunCodeBlocks(codeBlocks) {
}
});
});
+ })
+ .then(function(codeBlocks) {
+ return removeOldDir(dir)
+ .then(function() {;
+ return codeBlocks
+ });... | fix: remove old directory from running markdown
This was forgotten in a previous change. | carlwoodward_run-markdown | train | js |
e4922efcfcd6f000411bfc4808f74b50b4847c8a | diff --git a/doctr/__main__.py b/doctr/__main__.py
index <HASH>..<HASH> 100644
--- a/doctr/__main__.py
+++ b/doctr/__main__.py
@@ -13,7 +13,7 @@ which you should insert into your .travis.yml.
Then, on Travis, for the build where you build your docs, add
- - doctr deploy . --built-docs path/to/built/html/
+ -... | Render code in docs properly | drdoctr_doctr | train | py |
5c3958facf84f6fe95f3a6f3e2bf783a36d51920 | diff --git a/settings.js b/settings.js
index <HASH>..<HASH> 100644
--- a/settings.js
+++ b/settings.js
@@ -29,6 +29,8 @@
var fs = require('fs');
var path = require('path');
var extend = require('xtend');
+var chalk = require('chalk');
+
var utilities = require('./lib/utilities.js');
var settings = {
@@ -192,6 +1... | Add warning when migrating .spark to .particle | particle-iot_particle-cli | train | js |
6d2998467fada81e5024c1f8594ae167514cb290 | diff --git a/cwltool/docker.py b/cwltool/docker.py
index <HASH>..<HASH> 100644
--- a/cwltool/docker.py
+++ b/cwltool/docker.py
@@ -229,6 +229,8 @@ class DockerCommandLineJob(ContainerCommandLineJob):
if host_outdir_tgt:
# shortcut, just copy to the output directory
# which... | Ensure subdirectory exists for staging (#<I>) | common-workflow-language_cwltool | train | py |
b143dad596f4230d74dadd3c5060020bd50ef7f3 | diff --git a/core/chain_manager.go b/core/chain_manager.go
index <HASH>..<HASH> 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -168,7 +168,7 @@ func (bc *ChainManager) NewBlock(coinbase []byte) *types.Block {
var root []byte
parentHash := ZeroHash256
- if bc.CurrentBlock != nil {
+ if bc.curren... | Reference pointer to block instead of pointer to function | ethereum_go-ethereum | train | go |
ae9ba3312e3602329a110324aa81bd99f147e879 | diff --git a/lavalink/PlayerManager.py b/lavalink/PlayerManager.py
index <HASH>..<HASH> 100644
--- a/lavalink/PlayerManager.py
+++ b/lavalink/PlayerManager.py
@@ -14,7 +14,6 @@ class BasePlayer(ABC):
async def handle_event(self, event):
raise NotImplementedError
- @abstractmethod
async def c... | Doesn't need to be abstract | Devoxin_Lavalink.py | train | py |
9bf1be3e5a2d1a2d60842ece5d8e9fb8f7d60d4d | diff --git a/citrination_client/views/tests/test_model_template_builder.py b/citrination_client/views/tests/test_model_template_builder.py
index <HASH>..<HASH> 100644
--- a/citrination_client/views/tests/test_model_template_builder.py
+++ b/citrination_client/views/tests/test_model_template_builder.py
@@ -96,7 +96,7 @@... | Change site to public, tests will still fail until FE public updated | CitrineInformatics_python-citrination-client | train | py |
78db18bb567bd761c3810a6d833b7e3feca04a35 | diff --git a/spec/api_connect_client/product_spec.rb b/spec/api_connect_client/product_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/api_connect_client/product_spec.rb
+++ b/spec/api_connect_client/product_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-RSpec.describe Product do
+RSpec.describe ApiConnectClient::Pro... | fix(specs): Fix bug introduced in merge | cffiebigc_api-connect-client | train | rb,rb |
824dbf772c9de13c9d29252af8953f2dec0a126d | diff --git a/test/indexeddb_mock.js b/test/indexeddb_mock.js
index <HASH>..<HASH> 100644
--- a/test/indexeddb_mock.js
+++ b/test/indexeddb_mock.js
@@ -148,7 +148,11 @@ export class IDBObjectStore {
data,
request
};
- request.result = new IDBCursorWithValue(this, cursorInternal);
+ if (keys.leng... | Return null for the cursor if we have no data | nponiros_sync_client | train | js |
a5f347a599e4c62aa374b6d09f42ac4caa734ccc | diff --git a/lib/zuul.js b/lib/zuul.js
index <HASH>..<HASH> 100644
--- a/lib/zuul.js
+++ b/lib/zuul.js
@@ -28,6 +28,8 @@ function Zuul(config) {
// list of browsers to test
self._browsers = [];
+
+ self._concurrency = config.concurrency || 3;
};
Zuul.prototype.__proto__ = EventEmitter.prototype;
@@ -... | add concurrency option to specify how many browsers to run at once | airtap_airtap | train | js |
2a1df67b95d4da5dab8f9b8ad11af9482169499a | diff --git a/assemblerflow/generator/recipe.py b/assemblerflow/generator/recipe.py
index <HASH>..<HASH> 100644
--- a/assemblerflow/generator/recipe.py
+++ b/assemblerflow/generator/recipe.py
@@ -424,12 +424,20 @@ class Recipe:
if pipeline_string[-1] == "|":
pipeline_string = pipeline_string[:-1]
... | change replace in case there are no forks | assemblerflow_flowcraft | train | py |
3adfeaa8572fdde8e066da2c4e2239b0a3ea7388 | diff --git a/plugin/chaos/chaos.go b/plugin/chaos/chaos.go
index <HASH>..<HASH> 100644
--- a/plugin/chaos/chaos.go
+++ b/plugin/chaos/chaos.go
@@ -3,7 +3,9 @@ package chaos
import (
"context"
+ "math/rand"
"os"
+ "time"
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/request"
@@ -34,8 +36,1... | plugin/chaos: randomize author list (#<I>)
Randomize the author list on request; keep the zowners.go file stable so
a 'go generate' remain stable.
chaos.Owners could potentially be a map and be randomized by ranging
over it, but this seems simpler and fewer lines of code.
Bit of Easter hacking; seems more fair... | coredns_coredns | train | go |
c01d264ce447f3c6c01d2cf452639b8b7b80b9bd | diff --git a/fermipy/diffuse/gt_assemble_model.py b/fermipy/diffuse/gt_assemble_model.py
index <HASH>..<HASH> 100644
--- a/fermipy/diffuse/gt_assemble_model.py
+++ b/fermipy/diffuse/gt_assemble_model.py
@@ -209,7 +209,7 @@ class GtAssembleModel(Link):
manifest = yaml.safe_load(open(args.input))
comp... | Fix to gt_assemble_model to set correct component name | fermiPy_fermipy | train | py |
e067e2e85228c151a13798a0bf6860e76034e4fa | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -404,7 +404,7 @@ exports['Multiple Sets'] = function(test) {
[47.5500, -52.6667, "St. John's"]
];
- places = proximity.addSet('places');
+ places = proximity.addSet();
people = proxim... | Removing explicity set name. | arjunmehta_node-geo-proximity | train | js |
db53d8dc7a0e07dda2aef3d42a76fde790e874c9 | diff --git a/packages/cli/src/commands/start.js b/packages/cli/src/commands/start.js
index <HASH>..<HASH> 100644
--- a/packages/cli/src/commands/start.js
+++ b/packages/cli/src/commands/start.js
@@ -40,8 +40,9 @@ export const builder = yargs => {
description: 'A path pointing to an existing Aragon client install... | Fixes a bug where start command wouldnt open in browser (#<I>) | aragon_aragon-cli | train | js |
f76924d08c805cb9f10e1339f6d3ca40a4908e8f | diff --git a/py3status/modules/deadbeef.py b/py3status/modules/deadbeef.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/deadbeef.py
+++ b/py3status/modules/deadbeef.py
@@ -20,7 +20,7 @@ Format placeholders:
{year} year in four digits
For more placeholders, see title formatting 2.0 in 'deadbeef --help... | deadbeef: replace http with secure https | ultrabug_py3status | train | py |
085b0737cc65c41baf9ff2b4fe34ce4c6fd9af98 | diff --git a/pyes/queryset.py b/pyes/queryset.py
index <HASH>..<HASH> 100644
--- a/pyes/queryset.py
+++ b/pyes/queryset.py
@@ -151,6 +151,8 @@ class QuerySet(object):
if self._facets:
for facet in self._facets:
query.facet.add(facet)
+ if self._start is not None:
+ ... | Update pyes/queryset.py
Include "start" offset in search. | aparo_pyes | train | py |
603998ef5596564f81911c09e6a6422ab029cf4b | diff --git a/tests/Unit/ContainerTest.php b/tests/Unit/ContainerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/ContainerTest.php
+++ b/tests/Unit/ContainerTest.php
@@ -324,9 +324,7 @@ final class ContainerTest extends TestCase
'class' => VariadicConstructor::class,
'__co... | Fix tests (#<I>) | yiisoft_di | train | php |
ad89f5935cd7360f9327442552c83b851ef38f62 | diff --git a/lib/worker.js b/lib/worker.js
index <HASH>..<HASH> 100644
--- a/lib/worker.js
+++ b/lib/worker.js
@@ -375,6 +375,8 @@ worker.prototype.track = function(callback){
worker.prototype.untrack = function(name, queues, callback){
var self = this;
+ var jobs = [];
+
if(self.connection && self.connection... | update worker untrack commands to work across cluster (no multi) | taskrabbit_node-resque | train | js |
103c5eeb67cab192d9f0b2f1975831b3d0ef4ddb | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index <HASH>..<HASH> 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -293,6 +293,8 @@ def str_contains(arr, pat, case=True, flags=0, na=np.nan, regex=True):
See Also
--------
match : analogous, but stricter, relying on re.ma... | DOC: updated Series.str.contains see also section (#<I>) | pandas-dev_pandas | train | py |
8df596396c90834ffec9aaafaa4ebfd2b1bbb650 | diff --git a/internal/input/input_js.go b/internal/input/input_js.go
index <HASH>..<HASH> 100644
--- a/internal/input/input_js.go
+++ b/internal/input/input_js.go
@@ -249,8 +249,8 @@ func OnMouseMove(e js.Value) {
func OnWheel(e js.Value) {
// TODO: What if e.deltaMode is not DOM_DELTA_PIXEL?
- theInput.wheelX = e... | input: Bug fix: wheel direction is opposite on browsers | hajimehoshi_ebiten | train | go |
e1e4be9151d70f270ffc2d01fd971df27c9e1acc | diff --git a/lxd/storage/drivers/utils.go b/lxd/storage/drivers/utils.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/utils.go
+++ b/lxd/storage/drivers/utils.go
@@ -690,6 +690,16 @@ func copyDevice(inputPath string, outputPath string) error {
return fmt.Errorf("Error copying file %q to %q: %w", inputPath, ... | lxd/storage/drivers/utils: Catch file close errors in copyDevice | lxc_lxd | train | go |
35a7946499362de10c82660698a2af7a85c06135 | diff --git a/spec/unit/mixin/shell_out_spec.rb b/spec/unit/mixin/shell_out_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/mixin/shell_out_spec.rb
+++ b/spec/unit/mixin/shell_out_spec.rb
@@ -37,7 +37,7 @@ describe Ohai::Mixin::ShellOut, "shell_out" do
"LANG" => "en_US.UTF-8",
"LANGUAGE" => "en... | remove hardcoded path from my machine | chef_ohai | train | rb |
38671b09dba81d88c7bd5c8989f59b0e2efafb25 | diff --git a/lib/hll.js b/lib/hll.js
index <HASH>..<HASH> 100644
--- a/lib/hll.js
+++ b/lib/hll.js
@@ -122,8 +122,11 @@ class HLLOperation extends Operation {
* overwritten. If the bin does not exist, the operation will be denied.
* @property {number} NO_FAIL - Do not raise error if operation is denied.
* @proper... | Clarify docs for HLL ALLOW_FOLD policy (#<I>) | aerospike_aerospike-client-nodejs | train | js |
5a9a3890e816810bd3ad7f5b95bc2593378d45f2 | diff --git a/tests/test_filters.py b/tests/test_filters.py
index <HASH>..<HASH> 100644
--- a/tests/test_filters.py
+++ b/tests/test_filters.py
@@ -72,7 +72,7 @@ class HaystackFilterTestCase(TestCase):
def tearDown(self):
MockPersonIndex().clear()
- def test_filters_no_filters(self):
+ def test_fil... | added test for querying entries with unicode characters | inonit_drf-haystack | train | py |
0fc74cea1718e2c7a9d50eb4d4707d377e61d0b9 | diff --git a/src/client/js/Panels/MetaEditor/MetaEditorControl.DiagramDesignerWidgetEventHandlers.js b/src/client/js/Panels/MetaEditor/MetaEditorControl.DiagramDesignerWidgetEventHandlers.js
index <HASH>..<HASH> 100644
--- a/src/client/js/Panels/MetaEditor/MetaEditorControl.DiagramDesignerWidgetEventHandlers.js
+++ b/s... | #<I> cosmetic fix - allow long line as break makes it hard to read
Former-commit-id: <I>e<I>bea<I>adcd<I>cac<I>c<I>b5ef<I>f<I> | webgme_webgme-engine | train | js |
f39d8f132f5e9c66c7872f62ba615e5ede65e9c7 | diff --git a/docs/generate.py b/docs/generate.py
index <HASH>..<HASH> 100755
--- a/docs/generate.py
+++ b/docs/generate.py
@@ -199,14 +199,27 @@ def generate_index(folder, original_paths):
def get_description(arg):
"""Generates a proper description for the given argument"""
desc = []
+ otherwise = False
... | Make generated description on the docs more friendly | LonamiWebs_Telethon | train | py |
2fbfb4000ab8734049ef90516d68e89eb54a79ec | diff --git a/lib/slack_logger/slack_io.rb b/lib/slack_logger/slack_io.rb
index <HASH>..<HASH> 100644
--- a/lib/slack_logger/slack_io.rb
+++ b/lib/slack_logger/slack_io.rb
@@ -8,7 +8,7 @@ module SlackLogger
def self.write(message)
client = SlackLogger.client
client.auth_test
- client.chat_postMes... | Adding in to_s for message write | josephverbeck_slack-logger | train | rb |
efb38ff15c1641e0f201d698e50cb4579256f397 | diff --git a/src/Middleware/RoleMiddleware.php b/src/Middleware/RoleMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/RoleMiddleware.php
+++ b/src/Middleware/RoleMiddleware.php
@@ -56,15 +56,23 @@ class RoleMiddleware
*/
public function handle(Request $request, Closure $next, $role)
{
- ... | Reverted RoleMiddleware back to what it was before things started breaking. | laraflock_dashboard | train | php |
012556daeea9011c202dd07a8a226caad98664ac | diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Repository/VcsRepository.php
+++ b/src/Composer/Repository/VcsRepository.php
@@ -66,7 +66,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryIn... | VcsRepository: limit type of versionTransportExceptions (#<I>) | composer_composer | train | php |
eebbaeae0a1ff05b53f37f3885a590d4b202d8a6 | diff --git a/salt/cloud/__init__.py b/salt/cloud/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/__init__.py
+++ b/salt/cloud/__init__.py
@@ -1666,7 +1666,7 @@ def run_parallel_map_providers_query(data):
'''
try:
import Crypto.Random
- Crypto.Random.atfork()
+ Crypto.Random.atf... | Re-add the pylint disable comment | saltstack_salt | train | py |
98f8927650658de43076f0da7a9db0752cfda7e6 | diff --git a/doapi/cli/_util.py b/doapi/cli/_util.py
index <HASH>..<HASH> 100644
--- a/doapi/cli/_util.py
+++ b/doapi/cli/_util.py
@@ -153,7 +153,8 @@ class Cache(object):
self.cache_droplets()
elif key == "image":
self.cache_images()
- if name in self.caches[key]["name"]:
+ ... | Warn/error when the user tries to name an image with the name of a slug | jwodder_doapi | train | py |
03f5efc4dc6ce01861f84be96ca48bc33e075174 | diff --git a/openquake/baselib/hdf5.py b/openquake/baselib/hdf5.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/hdf5.py
+++ b/openquake/baselib/hdf5.py
@@ -173,13 +173,17 @@ class PickleableSequence(collections.Sequence):
return repr(self._objects)
def __toh5__(self):
- dic = {
- ... | Stored the number of bytes used | gem_oq-engine | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.