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 |
|---|---|---|---|---|---|
08c4b073f3850235bc85dd757874de66038add04 | diff --git a/webpack.config.dist.js b/webpack.config.dist.js
index <HASH>..<HASH> 100644
--- a/webpack.config.dist.js
+++ b/webpack.config.dist.js
@@ -1,15 +1,22 @@
const path = require("path");
+const webpack = require("webpack");
module.exports = {
- devtool: "source-map",
- entry: ["./src/index.js"],
+ entry:... | fix: exclude source maps for worker scripts
Fixes #<I> | bvaughn_js-worker-search | train | js |
9b6599d02ea7a464f25e279156b0c1de8c991e52 | diff --git a/notario/validators/be.py b/notario/validators/be.py
index <HASH>..<HASH> 100644
--- a/notario/validators/be.py
+++ b/notario/validators/be.py
@@ -4,25 +4,31 @@ def string(value):
"""
Validates a given input is of type string.
"""
- return isinstance(value, basestring)
+ assert isinstan... | is integer is absolutely needed for validators | alfredodeza_notario | train | py |
5998f7132aea4148c0fbea02bd5cb9e413a0fd75 | diff --git a/leonardo/module/media/management/commands/import_files.py b/leonardo/module/media/management/commands/import_files.py
index <HASH>..<HASH> 100644
--- a/leonardo/module/media/management/commands/import_files.py
+++ b/leonardo/module/media/management/commands/import_files.py
@@ -65,7 +65,7 @@ class FileImpor... | use loanardo folder for importing | django-leonardo_django-leonardo | train | py |
3df264501f85a414b62a128ba95f679be09e961f | diff --git a/lib/workers/package-file/index.js b/lib/workers/package-file/index.js
index <HASH>..<HASH> 100644
--- a/lib/workers/package-file/index.js
+++ b/lib/workers/package-file/index.js
@@ -29,6 +29,10 @@ async function renovatePackageFile(packageFileConfig) {
return [config];
}
+ if (packageContent.wor... | chore: add warning if yarn workspaces found (#<I>) | renovatebot_renovate | train | js,js |
40881f1e34b17cd2202c9b22e1cb4486d27a1ae3 | diff --git a/lib/upnp/control_point.rb b/lib/upnp/control_point.rb
index <HASH>..<HASH> 100644
--- a/lib/upnp/control_point.rb
+++ b/lib/upnp/control_point.rb
@@ -55,7 +55,7 @@ module UPnP
options[:response_wait_time] ||= 5
options[:m_search_count] ||= @search_count
- ttl = options[:response_wait_t... | This should've gone with search/listen combo commit | turboladen_playful | train | rb |
6143f635608d30461a9e5e33de3c392a87a0e980 | diff --git a/tests/wipy/wlan/wlan.py b/tests/wipy/wlan/wlan.py
index <HASH>..<HASH> 100644
--- a/tests/wipy/wlan/wlan.py
+++ b/tests/wipy/wlan/wlan.py
@@ -97,7 +97,7 @@ print(wifi.isconnected() == False)
# test init again
wifi.init(WLAN.AP, ssid='www.wipy.io', auth=None, channel=5, antenna=WLAN.INT_ANT)
-print(len(... | tests/wipy: Fix error in wlan test. | micropython_micropython | train | py |
c0fdfed8c146100cd9c6138d601b18841d9a49a6 | diff --git a/code/model/Order.php b/code/model/Order.php
index <HASH>..<HASH> 100644
--- a/code/model/Order.php
+++ b/code/model/Order.php
@@ -870,7 +870,7 @@ class Order extends DataObject {
if($payments = $this->Payments()) {
foreach($payments as $payment) {
if($payment->Status == 'Success') {
- $p... | fixed getAmount in order (bug) | silvershop_silvershop-core | train | php |
de9d33b2cfb1e7bd904c8da66bfd0af65a633612 | diff --git a/test/runner-browser.js b/test/runner-browser.js
index <HASH>..<HASH> 100644
--- a/test/runner-browser.js
+++ b/test/runner-browser.js
@@ -1,6 +1,7 @@
// Readd promise polyfills for legacy browsers since karma-webpack removes them
require('core-js/fn/promise')
require('core-js/fn/object/assign')
+require... | fix(polyfill): add array from polyfill for IE | contentful_contentful.js | train | js,js |
f28b624c97cb20ce4254513a305829e269734622 | diff --git a/plenum/server/consensus/view_change_service.py b/plenum/server/consensus/view_change_service.py
index <HASH>..<HASH> 100644
--- a/plenum/server/consensus/view_change_service.py
+++ b/plenum/server/consensus/view_change_service.py
@@ -329,6 +329,11 @@ class NewViewBuilder:
continue
... | add TODO comment for deviation from the paper | hyperledger_indy-plenum | train | py |
e7f245e84ece8d23a846baf10cf5f65fecb34da9 | diff --git a/LiSE/character.py b/LiSE/character.py
index <HASH>..<HASH> 100644
--- a/LiSE/character.py
+++ b/LiSE/character.py
@@ -1109,6 +1109,14 @@ class Portal(GraphEdgeMapping.Edge):
"""Return a JSON representation of my present state"""
return json_dump(self._get_json_dict())
+ def delete(se... | Portal.delete() for consistency reasons | LogicalDash_LiSE | train | py |
ad1da969ee73bb9a21ad9f62c2f0e55cd7d06b3b | diff --git a/lib/ruboty/action.rb b/lib/ruboty/action.rb
index <HASH>..<HASH> 100644
--- a/lib/ruboty/action.rb
+++ b/lib/ruboty/action.rb
@@ -13,8 +13,7 @@ module Ruboty
def call(handler, message, options = {})
if !!options[:missing] == missing? && message.match(pattern_with(handler.robot.name))
- ... | Use action's returned-value to check if the action is matched or not
So you need to return truthy value from action,
or to return false if you want not to tell that the action is matched. | r7kamura_ruboty | train | rb,rb |
4fd070e3172a7c702d9c0fe4f44af43e14d83c30 | diff --git a/service/src/main/java/org/ops4j/pax/wicket/internal/Activator.java b/service/src/main/java/org/ops4j/pax/wicket/internal/Activator.java
index <HASH>..<HASH> 100644
--- a/service/src/main/java/org/ops4j/pax/wicket/internal/Activator.java
+++ b/service/src/main/java/org/ops4j/pax/wicket/internal/Activator.ja... | [PAXWICKET-<I>] Correct order in activator | ops4j_org.ops4j.pax.wicket | train | java |
d8cbe1ac78719b54fb529fb5433a9159a7ca4805 | diff --git a/elasticsearch/connection.py b/elasticsearch/connection.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/connection.py
+++ b/elasticsearch/connection.py
@@ -85,7 +85,7 @@ class RequestsHttpConnection(Connection):
raw_data = response.text
except (requests.ConnectionError, requests.Tim... | More power to the SerializationError | elastic_elasticsearch-py | train | py,py |
41fced3daa13bb43552dd067585b9fd6cce08e06 | diff --git a/pipeline/middleware.py b/pipeline/middleware.py
index <HASH>..<HASH> 100644
--- a/pipeline/middleware.py
+++ b/pipeline/middleware.py
@@ -6,8 +6,14 @@ from django.utils.html import strip_spaces_between_tags as minify_html
from pipeline.conf import settings
+try:
+ # Support for Django 1.10 new MIDD... | Added compatibility for Django <I> new style middleware | jazzband_django-pipeline | train | py |
b1eeb2ef1a9298154d26a0dee0ea9ad8140de8b9 | diff --git a/hazelcast/src/main/java/com/hazelcast/instance/Node.java b/hazelcast/src/main/java/com/hazelcast/instance/Node.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/instance/Node.java
+++ b/hazelcast/src/main/java/com/hazelcast/instance/Node.java
@@ -202,10 +202,6 @@ public class Nod... | Moved the startup of the memorymonitor to node.start | hazelcast_hazelcast | train | java |
ab0abf7f72ad2b80dab37a7b1c912650bcc1a02c | diff --git a/manticore/core/executor.py b/manticore/core/executor.py
index <HASH>..<HASH> 100644
--- a/manticore/core/executor.py
+++ b/manticore/core/executor.py
@@ -200,22 +200,21 @@ class State(object):
return expr
- def new_symbolic_value(self, nbits, **options):
+ def new_symbolic_value(self, nb... | Refactor `new_symbolic_value` (#<I>)
* Use default params instead of dict, add taint
* Update docstring | trailofbits_manticore | train | py |
0be880826e286c6b8737c52561d906beaa770e32 | diff --git a/src/pybel/manager/models.py b/src/pybel/manager/models.py
index <HASH>..<HASH> 100644
--- a/src/pybel/manager/models.py
+++ b/src/pybel/manager/models.py
@@ -386,6 +386,9 @@ class Author(Base):
def __str__(self):
return self.name
+ def __repr__(self):
+ return f'Author(name="{... | Add repr for Author
[skip ci] | pybel_pybel | train | py |
d6437d31d4e99291d25b84584920db3431fb26c9 | diff --git a/lib/generate/index.js b/lib/generate/index.js
index <HASH>..<HASH> 100644
--- a/lib/generate/index.js
+++ b/lib/generate/index.js
@@ -64,7 +64,7 @@ var generate = function(options) {
try {
var _config = require(path.resolve(options.input, options.configFile));
- options =... | Omit "generator" when building file with config file | GitbookIO_gitbook | train | js |
5a1f927310414ca47408c3f2f81a0b43beb8cb19 | diff --git a/sites/shared_conf.py b/sites/shared_conf.py
index <HASH>..<HASH> 100644
--- a/sites/shared_conf.py
+++ b/sites/shared_conf.py
@@ -5,12 +5,6 @@ import sys
import alabaster
-# Add local blog extension
-sys.path.append(os.path.abspath('.'))
-extensions = ['blog']
-rss_link = 'http://paramiko.org'
-rss_de... | Blog only used/exists in www, don't import it in docs site | paramiko_paramiko | train | py,py |
1b2dcd516e430915f698d574513f93bb1bce4b68 | diff --git a/ui-ace.js b/ui-ace.js
index <HASH>..<HASH> 100644
--- a/ui-ace.js
+++ b/ui-ace.js
@@ -26,7 +26,7 @@ angular.module('ui.ace', [])
onChange = function (callback) {
return function (e) {
var newValue = session.getValue();
- if (newValue !== scope.$eval(attrs.value) ... | fix(ui-ace): issue with digest already in progress error | angular-ui_ui-ace | train | js |
e7531c461abd34830eeda4e5ebe8128026579f30 | diff --git a/addon/components/discover-page/component.js b/addon/components/discover-page/component.js
index <HASH>..<HASH> 100644
--- a/addon/components/discover-page/component.js
+++ b/addon/components/discover-page/component.js
@@ -423,7 +423,7 @@ export default Ember.Component.extend(Analytics, {
... | Instead of hardcoding preprint, use resource type to build SHARE url. | CenterForOpenScience_ember-osf | train | js |
b4d806828d53d5088f189951cfe446049e01f9f0 | diff --git a/lib/github/kv.rb b/lib/github/kv.rb
index <HASH>..<HASH> 100644
--- a/lib/github/kv.rb
+++ b/lib/github/kv.rb
@@ -73,7 +73,7 @@ module GitHub
@encapsulated_errors = encapsulated_errors
@use_local_time = use_local_time
@conn_block = conn_block
- raise InvalidConnectionError, "CLIEN... | CLIENT_FOUND_ROWS must be set | github_github-ds | train | rb |
e62e207010e96a23ce1bbea139f38b473f8d3b07 | diff --git a/post-install.js b/post-install.js
index <HASH>..<HASH> 100644
--- a/post-install.js
+++ b/post-install.js
@@ -57,7 +57,7 @@ function getConfig (file, options = { home: false, json: true }) {
/**
* tests if an absolute path exists
*/
-export function exists (pathname) {
+function exists (pathname) {
... | fix(northbrook): remove export statement | northbrookjs_northbrook | train | js |
3798e24920bc7793ab86446b567a17ccc4366b65 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,9 @@ setup(
extras_require={
'dev': [
'coverage>=4',
- 'django<1.9',
+ # NOTE: Keep this Django version up to date with latest the
+ # Django release;... | Install latest Django version in dev
This is used for default dev and testing. Tox is used for testing all
supported Python and Django versions. | PSU-OIT-ARC_django-local-settings | train | py |
6664eb7d7ac8579143a0da1e70cdc6344549cf60 | diff --git a/tests/error/test_located_error.py b/tests/error/test_located_error.py
index <HASH>..<HASH> 100644
--- a/tests/error/test_located_error.py
+++ b/tests/error/test_located_error.py
@@ -1,3 +1,5 @@
+from typing import cast, Any
+
from pytest import raises # type: ignore
from graphql.error import GraphQLEr... | Cast to Any instead of ignoring type error
Somewhat replicates graphql/graphql-js@<I>aa<I>b4ae<I>d<I>e6bd<I>cf7dc<I>c<I> | graphql-python_graphql-core-next | train | py |
6e5cba02627269c6f170a44d20615e423804f9ab | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -93,7 +93,7 @@ copyright = u'2014, Université de Montréal'
#
# The short X.Y version.
import fuel
-version = fuel.__version__[:fuel.__version__.rindex('.')]
+version = '.'.join(fuel.__version__.split('.')[:2... | Robust extraction of first two parts of the version | mila-iqia_fuel | train | py |
db7544ce156d4ca877661a6296bab0eec819eb6b | diff --git a/src/views/bill/_form.php b/src/views/bill/_form.php
index <HASH>..<HASH> 100644
--- a/src/views/bill/_form.php
+++ b/src/views/bill/_form.php
@@ -104,8 +104,7 @@ $form = ActiveForm::begin([
<div class="col-md-2">
<?= $form->field($model, "[$i]ti... | DateTimePicker options modified to work with 2amigos DateTimePicker | hiqdev_hipanel-module-finance | train | php |
31edd392c96dd7af169f4a7b3683bc6c8660f6c9 | diff --git a/src/database/migrations/2016_08_15_165500_page_version_track_chunk_changes.php b/src/database/migrations/2016_08_15_165500_page_version_track_chunk_changes.php
index <HASH>..<HASH> 100644
--- a/src/database/migrations/2016_08_15_165500_page_version_track_chunk_changes.php
+++ b/src/database/migrations/2016... | Page history: Updated migration to track chunk changes
Now ignores versions where nature of content change can't be determined (multiple chunks exist for the version) | boomcms_boom-core | train | php |
d5173b06743f11aa2af3fc15d9c88df305f9dd8b | diff --git a/yabt/buildcontext.py b/yabt/buildcontext.py
index <HASH>..<HASH> 100644
--- a/yabt/buildcontext.py
+++ b/yabt/buildcontext.py
@@ -417,7 +417,8 @@ class BuildContext:
docker_run.append(format_qualified_image_name(buildenv_target))
docker_run.extend(cmd)
logger.info('Running comman... | take care of spaces in the docker run command | resonai_ybt | train | py |
fa489bab59550ec20f17f1e7d1825f7578d28463 | diff --git a/inc/roots-options.php b/inc/roots-options.php
index <HASH>..<HASH> 100644
--- a/inc/roots-options.php
+++ b/inc/roots-options.php
@@ -40,6 +40,18 @@ function roots_theme_options_add_page() {
}
add_action('admin_menu', 'roots_theme_options_add_page');
+function roots_admin_bar_render() {
+ global $wp_ad... | added theme options to the wordpress admin bar | roots_sage | train | php |
7f91115112afb4976609b8413a39ad2c30d01dbf | diff --git a/mouse/_nixmouse.py b/mouse/_nixmouse.py
index <HASH>..<HASH> 100644
--- a/mouse/_nixmouse.py
+++ b/mouse/_nixmouse.py
@@ -27,7 +27,7 @@ def build_display():
def get_position():
build_display()
- root_id, child_id = c_uint32(), c_uint32()
+ root_id, child_id = c_void_p(), c_void_p()
root_... | fixed potentially unsafe <I> bit only types | boppreh_mouse | train | py |
8f63272403a1843fdb6040b97821b363ae3318c8 | diff --git a/lib/vagrant.rb b/lib/vagrant.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant.rb
+++ b/lib/vagrant.rb
@@ -2,20 +2,13 @@ libdir = File.dirname(__FILE__)
$:.unshift(libdir)
PROJECT_ROOT = File.join(libdir, '..')
-require 'ftools'
-require 'json'
-require 'pathname'
-require 'logger'
-require 'virtualbox'... | Cleaned up the requiring of files in vagrant.rb | hashicorp_vagrant | train | rb |
8451618a36b0411b6c3f8b80229054cd82c59632 | diff --git a/openfisca_core/formulas.py b/openfisca_core/formulas.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/formulas.py
+++ b/openfisca_core/formulas.py
@@ -35,7 +35,7 @@ from . import holders
log = logging.getLogger(__name__)
-class AbstractFormula(object):
+class Formula(object):
holder = None
... | Remove "Abstract" from formula names. | openfisca_openfisca-core | train | py |
70ac00595b37c62055df6486355c9e2a1fbc4b13 | diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go
index <HASH>..<HASH> 100644
--- a/terraform/context_apply_test.go
+++ b/terraform/context_apply_test.go
@@ -8980,12 +8980,6 @@ Outputs:
result_1 = hello
result_3 = hello world
-
-module.child:
- <no state>
- Outputs:
-
- result = hell... | fix apply tests
sSme apply tests had outputs in empty modules, which won't be saved to
state. | hashicorp_terraform | train | go,go |
c1ae828b6faff36953b2437487017f4d36a5ae33 | diff --git a/data/preferences.js b/data/preferences.js
index <HASH>..<HASH> 100644
--- a/data/preferences.js
+++ b/data/preferences.js
@@ -53,6 +53,7 @@ exports.DEFAULT_FENNEC_PREFS = {
exports.DEFAULT_FIREFOX_PREFS = {
"browser.startup.homepage" : "about:blank",
"startup.homepage_welcome_url" : "about:blank... | Don't show additional firstrun page on official builds
This was pointed out on IRC, see <URL> in <URL> | mozilla-jetpack_jpm | train | js |
e62332aba6d12eb36896c8caf87f0ecc1377832a | diff --git a/lib/rscons/application.rb b/lib/rscons/application.rb
index <HASH>..<HASH> 100644
--- a/lib/rscons/application.rb
+++ b/lib/rscons/application.rb
@@ -75,6 +75,8 @@ module Rscons
end
if rv == 0
build(operation_options)
+ else
+ rv
end
... | avoid backtrace when configuring fails during autoconf | holtrop_rscons | train | rb,rb |
8bcfd16f19baf379a7c8fea1652130856d5d0f40 | diff --git a/core/client/mixins/editor-route-base.js b/core/client/mixins/editor-route-base.js
index <HASH>..<HASH> 100644
--- a/core/client/mixins/editor-route-base.js
+++ b/core/client/mixins/editor-route-base.js
@@ -22,7 +22,10 @@ var EditorRouteBase = Ember.Mixin.create(styleBody, ShortcutsRoute, loadingIndic
... | Editor must be focused before allowing certain keyboard shortcuts.
closes #<I>
- checked for the CodeMirror-focused class on the CodeMirror div
- used length to determine whether CodeMirror-focused has been added
- determines whether the editor has been focused on | TryGhost_Ghost | train | js |
dc23f34d47dc3ad20d2b4330cc1c917358b46815 | diff --git a/djstripe/admin.py b/djstripe/admin.py
index <HASH>..<HASH> 100644
--- a/djstripe/admin.py
+++ b/djstripe/admin.py
@@ -152,7 +152,7 @@ class StripeModelAdmin(admin.ModelAdmin):
self.raw_id_fields = get_forward_relation_fields_for_model(self.model)
def get_list_display(self, request):
- ... | Set __str__ as first StripeModelAdmin list_display column | dj-stripe_dj-stripe | train | py |
09eae7f2bcd045cddc0773e1e791ff663ec0d274 | diff --git a/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/AbstractEnglishSpellerRule.java b/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/AbstractEnglishSpellerRule.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/en/src/main/java/org/languageto... | speedup: don't re-init synthesizer for reach rule init | languagetool-org_languagetool | train | java |
8974b4f00be538ae083b18349e2716357c090ce2 | diff --git a/pkg/kubelet/nodestatus/setters.go b/pkg/kubelet/nodestatus/setters.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/nodestatus/setters.go
+++ b/pkg/kubelet/nodestatus/setters.go
@@ -139,7 +139,7 @@ func NodeAddress(nodeIP net.IP, // typically Kubelet.nodeIP
// no existing Hostname address found, add ... | Don't log a warning to override hostname if there's no change. | kubernetes_kubernetes | train | go |
b9b7b35868275b55830c6a68c9b8c3a28c240101 | diff --git a/lib/health-data-standards/import/bundle/importer.rb b/lib/health-data-standards/import/bundle/importer.rb
index <HASH>..<HASH> 100644
--- a/lib/health-data-standards/import/bundle/importer.rb
+++ b/lib/health-data-standards/import/bundle/importer.rb
@@ -4,13 +4,19 @@ module HealthDataStandards
cla... | making update_measures true by default | projectcypress_health-data-standards | train | rb |
a31631b5f9ffaaf831bdf9017260939a30626df0 | diff --git a/_fixtures/teststepprog.go b/_fixtures/teststepprog.go
index <HASH>..<HASH> 100644
--- a/_fixtures/teststepprog.go
+++ b/_fixtures/teststepprog.go
@@ -2,12 +2,12 @@ package main
var n = 0
-func CallFn2() {
+func CallFn2(x int) {
n++
}
-func CallFn(fn func()) {
- fn()
+func CallFn(x int, fn func(x ... | proc/test: fix TestStepCallPtr on linux/<I> (#<I>)
The test needs to set a breakpoint on main.CallFn after the prologue,
on linux/<I> this function does not have any instruction after the
prologue on the function header line because it doesn't need to
allocate space for local variables. Change the fixture so that ... | go-delve_delve | train | go |
bf40670ef63b38c0b3f24241b8e327271a4cea08 | diff --git a/lib/rb-inotify/notifier.rb b/lib/rb-inotify/notifier.rb
index <HASH>..<HASH> 100644
--- a/lib/rb-inotify/notifier.rb
+++ b/lib/rb-inotify/notifier.rb
@@ -181,7 +181,8 @@ module INotify
def watch(path, *flags, &callback)
return Watcher.new(self, path, *flags, &callback) unless flags.include?(:re... | Skip if current or parent directory. | guard_rb-inotify | train | rb |
2382269aec0cf0625345ae86e776f672c873f354 | diff --git a/lib/forms.js b/lib/forms.js
index <HASH>..<HASH> 100644
--- a/lib/forms.js
+++ b/lib/forms.js
@@ -34,6 +34,16 @@ module.exports.loginForm = forms.create({
/**
+ * A resend account verification email form.
+ *
+ * @property resendAccountVerificationEmailForm
+ */
+module.exports.resendAccountVerificati... | Adding a new resendAccountVerificationEmailForm.
This allows us to collect an email address on our resend account verification
email page.
References #<I>. | stormpath_express-stormpath | train | js |
702846596973c67b210dd6ed59d77ded5dbd2f55 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ from setuptools import setup, find_packages
MAJOR = 0
MINOR = 5
MICRO = 2
-ISRELEASED = True
+ISRELEASED = False
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
QUALIFIER = '' | revert to <I>-dev | pydata_xarray | train | py |
c254c02938aeba1842c91226fd820dba2034e0f2 | diff --git a/locksmith/mongoauth/management/commands/apireport.py b/locksmith/mongoauth/management/commands/apireport.py
index <HASH>..<HASH> 100644
--- a/locksmith/mongoauth/management/commands/apireport.py
+++ b/locksmith/mongoauth/management/commands/apireport.py
@@ -34,4 +34,4 @@ class Command(BaseCommand):
... | count was a float, not a str | sunlightlabs_django-locksmith | train | py |
cb37d0faf1754b6ee2835d444018bca8dcac6999 | diff --git a/upup/pkg/fi/cloudup/awsup/aws_cloud.go b/upup/pkg/fi/cloudup/awsup/aws_cloud.go
index <HASH>..<HASH> 100644
--- a/upup/pkg/fi/cloudup/awsup/aws_cloud.go
+++ b/upup/pkg/fi/cloudup/awsup/aws_cloud.go
@@ -867,7 +867,7 @@ func buildKarpenterGroup(c AWSCloud, cluster *kops.Cluster, ig *kops.InstanceGro
}
}... | Set higher verbosity on some karpenter logging | kubernetes_kops | train | go |
71db03395390880743a92a7a93315184c8878bd9 | diff --git a/lib/dpl/provider/s3.rb b/lib/dpl/provider/s3.rb
index <HASH>..<HASH> 100644
--- a/lib/dpl/provider/s3.rb
+++ b/lib/dpl/provider/s3.rb
@@ -51,7 +51,7 @@ module DPL
opts[:acl] = options[:acl].gsub(/_/, '-') if options[:acl]
opts[:expires] = get_opti... | Current AWS SDK requires an upper case string value for encryption
alogrithm. | travis-ci_dpl | train | rb |
cb5338ddc93d6a9998b9f3fc46a05cd41b727df0 | diff --git a/javascript/atoms/dom.js b/javascript/atoms/dom.js
index <HASH>..<HASH> 100644
--- a/javascript/atoms/dom.js
+++ b/javascript/atoms/dom.js
@@ -573,7 +573,7 @@ bot.dom.isBodyScrollBarShown_ = function(bodyElement) {
* @return {!goog.math.Size} The dimensions of the element.
*/
bot.dom.getElementSize = f... | Fixing size calculation for SVG elements | SeleniumHQ_selenium | train | js |
eeb7a4d3b43c881ee8caf7820e207943fa0f2bad | diff --git a/test/lib/initialize-components-test.js b/test/lib/initialize-components-test.js
index <HASH>..<HASH> 100644
--- a/test/lib/initialize-components-test.js
+++ b/test/lib/initialize-components-test.js
@@ -1,6 +1,5 @@
'use strict';
-const Promise = require('bluebird');
const {assert} = require('../../libra... | Fix broken test (removal of Bluebird)
Changes to be committed:
modified: test/lib/initialize-components-test.js | kixxauth_kixx | train | js |
d3b7bc89f2a24f6e99d9ed3cfb84e292e8a55e2c | diff --git a/src/Interceptor.php b/src/Interceptor.php
index <HASH>..<HASH> 100644
--- a/src/Interceptor.php
+++ b/src/Interceptor.php
@@ -462,7 +462,9 @@ class Interceptor {
mkdir(dirname($path), 0755, true);
}
- file_put_contents($path, $content);
+ if (file_put_contents($path, $... | Throws an error when a cache file can't be created. | crysalead_jit | train | php |
ea06d611549f8a09f172a774a4dbd8f75fcabc7b | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100755
--- a/test.js
+++ b/test.js
@@ -34,7 +34,10 @@ for (var i = 0, l = tests.length; i < l; i++) {
tests.push(obj);
});
-var width = process.stdout.getWindowSize()[0];
+var width = 80;
+if (process.stdout.isTTY) {
+ width = process.stdout.getWindowSize()[0];... | Don't assume the test is running in a tty | creationix_msgpack-js | train | js |
2e6860e5be9b5a80794a7f6a1a0daf6890d6390a | diff --git a/orderer/common/server/main.go b/orderer/common/server/main.go
index <HASH>..<HASH> 100644
--- a/orderer/common/server/main.go
+++ b/orderer/common/server/main.go
@@ -252,7 +252,9 @@ func Main() {
}
ab.RegisterAtomicBroadcastServer(grpcServer.Server(), server)
logger.Info("Beginning to serve requests"... | Errors should be checked when orderer grpc server is serving requests | hyperledger_fabric | train | go |
84c777c13c225cc459fe5f8fecd686551c8d76bf | diff --git a/classes/Kohana/Model/Address.php b/classes/Kohana/Model/Address.php
index <HASH>..<HASH> 100644
--- a/classes/Kohana/Model/Address.php
+++ b/classes/Kohana/Model/Address.php
@@ -38,6 +38,7 @@ class Kohana_Model_Address extends Jam_Model {
'line2' => Jam::field('string'),
'state' => Jam:... | add fields_required to address | OpenBuildings_purchases | train | php |
dfcd11b1ea7754ac9c20a5c9b8ea0d1dd08ab1ba | diff --git a/aospy/data_loader.py b/aospy/data_loader.py
index <HASH>..<HASH> 100644
--- a/aospy/data_loader.py
+++ b/aospy/data_loader.py
@@ -98,8 +98,8 @@ def _sel_var(ds, var):
return da.rename(var.name)
except KeyError:
pass
- raise KeyError('{0} not found in '
- ... | MNT:Switch from KeyError to LookupError when variable not found (#<I>)
Makes the error message cleaner, due to KeyError not escaping newline characters as a result of some deep-in-the-weeds CPython implementation details. | spencerahill_aospy | train | py,py |
0ea5a1d5ba3fff6d6489bdf9ac6b8f8cbe4890c5 | diff --git a/lambda_uploader/config.py b/lambda_uploader/config.py
index <HASH>..<HASH> 100644
--- a/lambda_uploader/config.py
+++ b/lambda_uploader/config.py
@@ -124,8 +124,8 @@ class Config(object):
if not lambda_file:
lambda_file = path.join(self._path, 'lambda.json')
- if not path.isf... | Raise an exception if the config passed is not a valid conf file | rackerlabs_lambda-uploader | train | py |
2b4ea7d30d22341fb488df73901277a5194fd424 | diff --git a/src/main/java/junit/framework/Assert.java b/src/main/java/junit/framework/Assert.java
index <HASH>..<HASH> 100644
--- a/src/main/java/junit/framework/Assert.java
+++ b/src/main/java/junit/framework/Assert.java
@@ -226,8 +226,8 @@ public class Assert {
* Object to check or <code>null</code>
... | implementing kcooney's suggestion | junit-team_junit4 | train | java |
bed08bc14a52560e918e44a27fe2197ef26b61df | diff --git a/config/routes.rb b/config/routes.rb
index <HASH>..<HASH> 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -70,6 +70,7 @@ SurveyorGui::Application.routes.draw do
get 'cut_question'
get 'paste_question'
end
+ end
resources :survey_sections do
post :sort, :on => :collectio... | routes.rb: fixed error in placement of end | kjayma_surveyor_gui | train | rb |
5e31d5fd26eb64ba26b538ed361db2442164ecb1 | diff --git a/binding/cxf/src/main/java/io/tracee/cxf/client/TraceeCxfFeature.java b/binding/cxf/src/main/java/io/tracee/cxf/client/TraceeCxfFeature.java
index <HASH>..<HASH> 100644
--- a/binding/cxf/src/main/java/io/tracee/cxf/client/TraceeCxfFeature.java
+++ b/binding/cxf/src/main/java/io/tracee/cxf/client/TraceeCxfFe... | Switch lines to clarify request/response handling | tracee_tracee | train | java |
e9e5d64975b9ebae1c3c66e1f7ae845b78b5c4cc | diff --git a/saltcloud/clouds/ec2.py b/saltcloud/clouds/ec2.py
index <HASH>..<HASH> 100644
--- a/saltcloud/clouds/ec2.py
+++ b/saltcloud/clouds/ec2.py
@@ -1031,7 +1031,8 @@ def create(vm_=None, call=None):
data = _wait_for_spot_instance(
__query_spot_instance_request,
upda... | Configurable wait for Spot instance implemented for EC2 | saltstack_salt | train | py |
61bec5852aed5399bc251dfd06118c584792f0d1 | diff --git a/wkhtmltopdf/tests/tests.py b/wkhtmltopdf/tests/tests.py
index <HASH>..<HASH> 100644
--- a/wkhtmltopdf/tests/tests.py
+++ b/wkhtmltopdf/tests/tests.py
@@ -137,7 +137,7 @@ class TestViews(TestCase):
else:
filename = '.pdf'
self.assertEqual(response['Content-Disposition'],
- ... | Fix py<I> bug and copypasta error
Python <I> doesn't allow empty format arguments: ``{}`` must be ``{0}``.
Also second test is ``inline`` rather than ``attachment``. | incuna_django-wkhtmltopdf | train | py |
664316c4e15635631e8f43135828448e0976e1bf | diff --git a/structr-ui/src/test/java/org/structr/test/console/ConsoleTest.java b/structr-ui/src/test/java/org/structr/test/console/ConsoleTest.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/test/java/org/structr/test/console/ConsoleTest.java
+++ b/structr-ui/src/test/java/org/structr/test/console/ConsoleTest.ja... | Tests: Fixes ConsoleTest | structr_structr | train | java |
79ff6b286d81b7e8d2dd5a527c49de7d76f1b23b | diff --git a/classic.py b/classic.py
index <HASH>..<HASH> 100644
--- a/classic.py
+++ b/classic.py
@@ -522,7 +522,7 @@ class ClassicMediaStore(MediaStore):
self.l.warn("Duplicate file %s" % hd)
else:
os.rename(fn, path)
- os.chmod(path, 644)
+ os.chmod(path, 0644)
with self.keysCond:
if self._ke... | classic: yes, chmods are octal | bwesterb_mirte | train | py |
9fca7ee2930c7def06038532bb13c2bb62513c77 | diff --git a/rastermap/mapping.py b/rastermap/mapping.py
index <HASH>..<HASH> 100644
--- a/rastermap/mapping.py
+++ b/rastermap/mapping.py
@@ -445,6 +445,7 @@ class Rastermap:
#X -= X.mean(axis=-1)[:,np.newaxis]
if ((u is None)):
# compute svd and keep iPC's of data
+ X -= np.m... | subtract the feature mean if doing own PCA | MouseLand_rastermap | train | py |
5eea4425e86ac7dd8e6b6ee1f4605bdb121df9f9 | diff --git a/examples/payment_request.rb b/examples/payment_request.rb
index <HASH>..<HASH> 100644
--- a/examples/payment_request.rb
+++ b/examples/payment_request.rb
@@ -1,6 +1,12 @@
# -*- encoding : utf-8 -*-
require_relative "boot"
+# Payment request
+#
+# You need to set your AccountCredentials (EMAIL, TOKEN) i... | Update doc of the example and remove ApplicationCredentials example | pagseguro_ruby | train | rb |
f47e0f13d61eb9b93c44ecfd81f832c9b1b8c13c | diff --git a/knxip/core.py b/knxip/core.py
index <HASH>..<HASH> 100644
--- a/knxip/core.py
+++ b/knxip/core.py
@@ -1,4 +1,29 @@
from knxip.helper import *
+import re
+
+def parse_group_address(addr):
+ res = None
+
+ if re.match('[0-9]+$', addr):
+ res=int(addr)
+
+ m = re.match("([0-9]+)/([0-9... | added parse_address function | open-homeautomation_pknx | train | py |
082b272d572278a4ace81ad5fabf11fa9a48705e | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -2,6 +2,7 @@
namespace ChrisWhite\B2;
+use ChrisWhite\B2\Exceptions\NotFoundException;
use ChrisWhite\B2\Exceptions\ValidationException;
use ChrisWhite\B2\Http\Client as HttpClient;
@@ -331,12 ... | Throw exception if FileId did not resolve. (#5)
If we're unable to look up the FileId, this means that the FileName and
BucketName combination did not resolve to a valid file. We therefor throw
a NotFoundException, instead of continuing to try to request file
information without the required information to do so. | cwhite92_b2-sdk-php | train | php |
1242b6c0c45cf16e73e36db2e937af968d4a5f83 | diff --git a/morphs/json/index.js b/morphs/json/index.js
index <HASH>..<HASH> 100644
--- a/morphs/json/index.js
+++ b/morphs/json/index.js
@@ -3,7 +3,7 @@ export default (Vue) => {
return json(value, indent);
});
- Vue.prototype.$morphJson = (value) => {
+ Vue.prototype.$morphJson = (value, indent... | added indent params to the prototype | jofftiquez_vue-morphling | train | js |
f79d321e6eeaf20682f44a98a54f11c98bfd07de | diff --git a/redis/client.py b/redis/client.py
index <HASH>..<HASH> 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -2849,12 +2849,11 @@ class BasePipeline(object):
shas = [s.sha for s in scripts]
# we can't use the normal script_* methods because they would just
# get buffered in the p... | make register_scripts use the single string form of the SCRIPT (EXISTS|LOAD) commands so that they will be parsed the same way as in script_load and script_exists | andymccurdy_redis-py | train | py |
4bc91b5ff036f1cd12f315fd6042ecff6d94e512 | diff --git a/vendor/init.go b/vendor/init.go
index <HASH>..<HASH> 100644
--- a/vendor/init.go
+++ b/vendor/init.go
@@ -111,16 +111,12 @@ func addChrome(ctx context.Context) error {
func main() {
flag.Parse()
ctx := context.Background()
- wg := sync.WaitGroup{}
if *downloadBrowsers {
- wg.Add(1)
- go func() {
-... | Fix race condition in vendor/init.go (#<I>)
* Fix race condition in vendor/init.go
This was introduced in [1]. When --download_browsers is true,
addChrome() would be run in parallel with iterating through the list of
files. However, addChrome just appends the latest Chrome release to that
list of files. This res... | tebeka_selenium | train | go |
a460cb3983a221813575530d3662919adf9404b8 | diff --git a/src/ol/renderer/layerrenderer.js b/src/ol/renderer/layerrenderer.js
index <HASH>..<HASH> 100644
--- a/src/ol/renderer/layerrenderer.js
+++ b/src/ol/renderer/layerrenderer.js
@@ -166,7 +166,7 @@ ol.renderer.Layer.prototype.loadImage = function(image) {
ol.renderer.Layer.prototype.renderIfReadyAndVisible = ... | Fire change instead of calling render on map | openlayers_openlayers | train | js |
bce3286b076657a1a98fe808c559221249a6a032 | diff --git a/tests/connections.test.js b/tests/connections.test.js
index <HASH>..<HASH> 100644
--- a/tests/connections.test.js
+++ b/tests/connections.test.js
@@ -153,3 +153,24 @@ test('incoming ws connection has no port configured', t => {
t.end()
})
+
+test('port is set on top level, but not incoming', t => {
+... | test case, to not unset port | ssbc_ssb-config | train | js |
1e1a65ac52d1b6c35f4c6ef636c3acf57e8b51a5 | diff --git a/gtk/gtk.go b/gtk/gtk.go
index <HASH>..<HASH> 100644
--- a/gtk/gtk.go
+++ b/gtk/gtk.go
@@ -6244,6 +6244,11 @@ func (v *ComboBoxText) GetActiveText() string {
return gostring(C._gtk_combo_box_text_get_active_text(COMBO_BOX_TEXT(v)))
}
+func (v *ComboBoxText) GetEntry() *Entry {
+ w := v.GetChild()
+ ret... | Implemented a simple non-GTK-spec method for easy retrieval of the Entry widget within ComboBoxText widgets. | mattn_go-gtk | train | go |
b845a564902f54a422c0d5e22ee63dc43ab43b1a | diff --git a/test-app/webpack.config.babel.js b/test-app/webpack.config.babel.js
index <HASH>..<HASH> 100644
--- a/test-app/webpack.config.babel.js
+++ b/test-app/webpack.config.babel.js
@@ -22,7 +22,7 @@ const {
const HtmlWebpackPlugin = require('html-webpack-plugin')
-const development = () => group([
+const dev... | Very minor, non-functional changes to test-app's config | andywer_webpack-blocks | train | js |
71c833680884ee9047454de1baddb85ca3c27583 | diff --git a/src/continuous.js b/src/continuous.js
index <HASH>..<HASH> 100644
--- a/src/continuous.js
+++ b/src/continuous.js
@@ -80,11 +80,11 @@ export function transformer() {
}
function scale(x) {
- return (output || (output = piecewise(domain.map(transform), range, interpolate)))(+transform(clamp(x)));
... | Remove superfluous coercion. | d3_d3-scale | train | js |
8ba93d441f84a6f9583975826ce78bc47da4093c | diff --git a/luigi/target.py b/luigi/target.py
index <HASH>..<HASH> 100644
--- a/luigi/target.py
+++ b/luigi/target.py
@@ -13,6 +13,8 @@
# the License.
import abc
+import logging
+logger = logging.getLogger('luigi-interface')
class Target(object):
@@ -139,7 +141,11 @@ class FileSystemTarget(Target):
... | Warn when wildcards is used in paths | spotify_luigi | train | py |
78133ca1cc63b951ea22534b1f11fbb770712b00 | diff --git a/lib/client/api.go b/lib/client/api.go
index <HASH>..<HASH> 100644
--- a/lib/client/api.go
+++ b/lib/client/api.go
@@ -1973,7 +1973,10 @@ func (tc *TeleportClient) Join(ctx context.Context, mode types.SessionParticipan
// Session joining is not supported in proxy recording mode
if recConfig, err := si... | Fix session join access denied (#<I>) | gravitational_teleport | train | go |
921c10c48d78e969561f2420af0a2df59ec8f396 | diff --git a/aegean.py b/aegean.py
index <HASH>..<HASH> 100755
--- a/aegean.py
+++ b/aegean.py
@@ -1481,9 +1481,9 @@ def find_sources_in_image(filename, hdu_index=0, outfile=None, rms=None, max_sum
if len(island_group) > 0:
fit_parallel(island_group)
- for sources in queue:
- if sources: # ig... | bugfix: when an os doesn't support os.poll the cores are now correctly set to 1
bugfix: no more infinite loop when source finding. | PaulHancock_Aegean | train | py |
5a842dee27806aa50c62a2655c8f9ff43c89ed77 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -27,7 +27,7 @@ return array(
'label' => 'Simple delivery model',
'description' => 'Single test delivery model',
'license' => 'GPL-2.0',
- 'version' => '2.6',
+ 'version' => '3.0',
'author' => '... | removed referring to a variable BASE_WWW | oat-sa_extension-tao-deliverysimple | train | php |
dbab61064dc869460a7bc2eabee3085e93283424 | diff --git a/packages/cozy-client/src/StackLink.js b/packages/cozy-client/src/StackLink.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-client/src/StackLink.js
+++ b/packages/cozy-client/src/StackLink.js
@@ -35,7 +35,7 @@ export default class StackLink extends CozyLink {
}
const collection = this.stackClie... | feat: Add query as argument to collection.get() | cozy_cozy-client | train | js,js |
b4a63679d4c3f2cc5d8bc27af4ad8d1b3da6f3b0 | diff --git a/api/auth.go b/api/auth.go
index <HASH>..<HASH> 100644
--- a/api/auth.go
+++ b/api/auth.go
@@ -499,11 +499,12 @@ func teamInfo(w http.ResponseWriter, r *http.Request, t auth.Token) error {
for _, roleInstance := range user.Roles {
role, ok := cachedRoles[roleInstance.Name]
if !ok {
- role, err... | fix lint in cache for role | tsuru_tsuru | train | go |
08e87c1f30025918e04b44c36bdef61d3bafa188 | diff --git a/lib/compile/formats.js b/lib/compile/formats.js
index <HASH>..<HASH> 100644
--- a/lib/compile/formats.js
+++ b/lib/compile/formats.js
@@ -116,7 +116,9 @@ function uri(str) {
}
+var Z_ANCHOR = /[^\\]\\Z/;
function regex(str) {
+ if (Z_ANCHOR.test(str)) return false;
try {
new RegExp(str);
... | feat: format "regex" should fail if regular expression contains \Z anchor | epoberezkin_ajv | train | js |
1e20d00e88fbb9f1f43811bf4418987ba53d4478 | diff --git a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/reporters/GeneratedArtifactsReporter.java b/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/reporters/GeneratedArtifactsReporter.java
index <HASH>..<HASH> 100644
--- a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipe... | Only display “Can't archive maven artifact with no file attached…” if FINE is enabled. | jenkinsci_pipeline-maven-plugin | train | java |
972caf9d3dad7cc9013f6945e942faf204eb26b8 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -5,7 +5,8 @@ import * as Helpers from './helpers'
import type { Config } from './types'
async function resolveAsFile(filePath: string, config: Config): Promise<?string> {
- if (config.extensions.has(Path.e... | :bug: Fix for dirs with ext in name | steelbrain_resolve | train | js |
edcd80f2288c8077843e3c2b089e007ef01e225c | diff --git a/spec/lib/location_spec.rb b/spec/lib/location_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/location_spec.rb
+++ b/spec/lib/location_spec.rb
@@ -11,16 +11,23 @@ describe Location do
}
it "converts values to Float" do
- expect(location.lat).to equal 2.0
- expect(location.lng).to equal 3.0... | OK, Ruby <I> has introduced flonum, so do not expect identity. | huginn_huginn | train | rb |
5953841466d0fb81773d575f8489979d4090dc4e | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -61,9 +61,17 @@ function Server (opts) {
// start an http tracker unless the user explictly says no
if (opts.http !== false) {
self.http = http.createServer()
- self.http.on('request', function (req, res) { s... | allow user to intercept 'request' event for http tracker | webtorrent_bittorrent-tracker | train | js |
d78d81849eaa40c87435c113e27abbf2e0c4a467 | diff --git a/cmd/modd/main.go b/cmd/modd/main.go
index <HASH>..<HASH> 100644
--- a/cmd/modd/main.go
+++ b/cmd/modd/main.go
@@ -77,6 +77,7 @@ func main() {
err := modd.RunProcs(*prep, log)
if err != nil {
log.Shout("%s", err)
+ continue
}
d.Restart()
} | Only restart daemons if prep commands all succeeded | cortesi_modd | train | go |
7d0cd5adb7e4efb96269df28e3e998f6ffdb4445 | diff --git a/lib/allowy/rspec.rb b/lib/allowy/rspec.rb
index <HASH>..<HASH> 100644
--- a/lib/allowy/rspec.rb
+++ b/lib/allowy/rspec.rb
@@ -1,3 +1,4 @@
+require 'active_support/concern'
require 'allowy/matchers'
module Allowy | added explicit require 'active_support/concerns' to the rspec helpers too | dnagir_allowy | train | rb |
03046c057e35a48f4bb3a1c5896773fe41b42bc1 | diff --git a/src/loose/state.js b/src/loose/state.js
index <HASH>..<HASH> 100644
--- a/src/loose/state.js
+++ b/src/loose/state.js
@@ -4,7 +4,7 @@ import {tokenizer, SourceLocation, tokTypes as tt, Node, lineBreak, isNewLine} f
export const pluginsLoose = {}
export class LooseParser {
- constructor(input, options)... | Don't crash when the loose parser isn't given an options arg
Closes #<I> | acornjs_acorn | train | js |
f357bee5d236a7fa05fdaa115f0434e18dd26285 | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -1,7 +1,5 @@
<?php
-echo "here\n";
-
// Ensure PHP 5.4+ for testing
if (PHP_VERSION_ID < 50400) {
die('Please use PHP 5.4+ for testing. Currently, you are using PHP ' . PHP... | Removed a snippet of debug code from the testing bootstrap | AcclimateContainer_acclimate-container | train | php |
3ad5ce687452484eb9277bfe2f1ae6949c27f6eb | diff --git a/src/Composer/Repository/Vcs/HgDriver.php b/src/Composer/Repository/Vcs/HgDriver.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Repository/Vcs/HgDriver.php
+++ b/src/Composer/Repository/Vcs/HgDriver.php
@@ -119,7 +119,7 @@ class HgDriver extends VcsDriver
public function getFileContent($file, $iden... | Fix hg command to retrieve file content | composer_composer | train | php |
5ce5d58f338306a0cce649dceea4d79f44763a83 | diff --git a/test/test.basic.js b/test/test.basic.js
index <HASH>..<HASH> 100644
--- a/test/test.basic.js
+++ b/test/test.basic.js
@@ -38,11 +38,9 @@ describe("Basics", function () {
}
});
- // Note: In very extreme circumstances this test may fail as, by its
- // n... | Calculate the probability of a test failing
The reasoning and code to compute the probability is here:
<URL> | chancejs_chancejs | train | js |
3a559ff8a3e6bfc277587286386a5e6540c2c395 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,22 @@
// Copyright (c) 2015. David M. Lee, II
'use strict';
+var shimmer = require('shimmer');
+
+var Protocol = require('mysql/lib/protocol/Protocol');
+var Pool = require('mysql/lib/Pool');
+
module.exports = fu... | Shims for connection and connection pool | building5_cls-mysql | train | js |
bd22a8c6937068c2a8e0f5fc066515b00a4aba70 | diff --git a/pyjstat/pyjstat.py b/pyjstat/pyjstat.py
index <HASH>..<HASH> 100644
--- a/pyjstat/pyjstat.py
+++ b/pyjstat/pyjstat.py
@@ -611,11 +611,16 @@ class Dataset(OrderedDict):
except ValueError:
raise
- def write(self, output='jsonstat'):
+ def write(self, output='jsonstat', n... | Fix issue #<I>
In issue #<I>, the write method in the new Dataset class does not pass in values for naming and value to `from_json_stat` when transforming `json-stat` to `dataframe`. This leaves the user with having to use `from_json_stat` directly to allow for changing these values. | predicador37_pyjstat | train | py |
8eb66c97b0fb2f3b6a8759c38eb2a3ba307ed817 | diff --git a/core/client/src/test/java/alluxio/client/block/UnderStoreBlockInStreamTest.java b/core/client/src/test/java/alluxio/client/block/UnderStoreBlockInStreamTest.java
index <HASH>..<HASH> 100644
--- a/core/client/src/test/java/alluxio/client/block/UnderStoreBlockInStreamTest.java
+++ b/core/client/src/test/java... | Improve javadocs for tests in UnderStoreBlockInStreamTest | Alluxio_alluxio | train | java |
dc7331577af30d3a51a6476e909896ba48debfc2 | diff --git a/sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/parsing/parser/clause/WhereClauseParser.java b/sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/parsing/parser/clause/WhereClauseParser.java
index <HASH>..<HASH> 100644
--- a/sharding-jdbc-core/src/main/java/com/dangdang/d... | refactor WhereClauseParser | apache_incubator-shardingsphere | train | java |
e67f2133be4dc2a8b2f28b72e6b17ad4e4e76f13 | diff --git a/lib/bleno.js b/lib/bleno.js
index <HASH>..<HASH> 100644
--- a/lib/bleno.js
+++ b/lib/bleno.js
@@ -4,6 +4,8 @@ var events = require('events');
var os = require('os');
var util = require('util');
+var UuidUtil = require('./uuid-util');
+
var PrimaryService = require('./primary-service');
var Characteri... | - remove dashes from service uuids before starting advertising (issue #<I>) | noble_bleno | train | js |
8c4bc1cd4172d205c7f0eb7ff4d4e2af2091fe73 | diff --git a/lib/rack/test.rb b/lib/rack/test.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/test.rb
+++ b/lib/rack/test.rb
@@ -1,7 +1,3 @@
-unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__) + "/.."))
- $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/.."))
-end
-
require "uri"
require ... | Not rack test's responsibility to set up its load path | rack-test_rack-test | train | rb |
71ec54234e74fc6efce28480a2fef7635f1e1f56 | diff --git a/juju/client/connection.py b/juju/client/connection.py
index <HASH>..<HASH> 100644
--- a/juju/client/connection.py
+++ b/juju/client/connection.py
@@ -376,13 +376,15 @@ class Connection:
self._pinger_task.cancel()
if self._receiver_task:
self._receiver_task.cancel()
- ... | allow time for websockets to properly cancel its tasks | juju_python-libjuju | train | py |
8e336261e6062ebdd9f6cf4bd2467a60bebdcea5 | diff --git a/master/buildbot/test/unit/test_db_migrate_versions_036_build_parent.py b/master/buildbot/test/unit/test_db_migrate_versions_036_build_parent.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_db_migrate_versions_036_build_parent.py
+++ b/master/buildbot/test/unit/test_db_migrate_versions_0... | another db fix
did forget datetime2epoch, and pg is the only backend to care about it. | buildbot_buildbot | 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.