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 |
|---|---|---|---|---|---|
62ac4ff1398ba2ae372cffa99a3e3b250fcc6734 | diff --git a/xpdo/xpdo.class.php b/xpdo/xpdo.class.php
index <HASH>..<HASH> 100644
--- a/xpdo/xpdo.class.php
+++ b/xpdo/xpdo.class.php
@@ -1132,7 +1132,30 @@ class xPDO {
* @return xPDOCriteria A criteria object or null if not found.
*/
public function getCriteria($className, $type= null, $cacheFlag= t... | Possible fix for blind SQL injection
For now, if there is a string when you get an object, this string will be got as an criteria for SQL query. So, if you want just ti get and object with primary key, but not filter a user request enough, there could be a blind SQL injection.
This fix will force all conditions to ... | modxcms_xpdo | train | php |
bf55b010807741460676ea885e1c8cf8afaff4f1 | diff --git a/src/Database/PaginateHelper.php b/src/Database/PaginateHelper.php
index <HASH>..<HASH> 100644
--- a/src/Database/PaginateHelper.php
+++ b/src/Database/PaginateHelper.php
@@ -34,7 +34,7 @@ class PaginateHelper {
$offset = $pageNumber * $divider;
$limit = $divider;
if (0 <= $total... | Use static:: instead of self:: to call static methods | webeweb_core-library | train | php |
0821f2ccca01091bfb312c3f5bd967d027628450 | diff --git a/highton.py b/highton.py
index <HASH>..<HASH> 100644
--- a/highton.py
+++ b/highton.py
@@ -38,10 +38,22 @@ class Highton:
@staticmethod
def _parse_from_xml_to_dict(xml):
+ """
+ Parses valid XML into native Python dictionaries with the ability to parse them back into XML later on.
... | Added docstrings to the two static methods for parsing | seibert-media_Highton | train | py |
621f9006bfae62e7a5f01a30ca53c44ff4a74134 | diff --git a/jsoncmd_test.go b/jsoncmd_test.go
index <HASH>..<HASH> 100644
--- a/jsoncmd_test.go
+++ b/jsoncmd_test.go
@@ -312,8 +312,9 @@ var jsoncmdtests = []struct {
"somehash")
},
result: &GetBlockCmd{
- id: float64(1),
- Hash: "somehash",
+ id: float64(1),
+ Hash: "somehash",
+ Verbo... | Correct tests for recent getblock updates. | btcsuite_btcd | train | go |
2e3aee6dddde0490a6d242a9a1071f94916a6420 | diff --git a/oz/sqlalchemy/middleware.py b/oz/sqlalchemy/middleware.py
index <HASH>..<HASH> 100644
--- a/oz/sqlalchemy/middleware.py
+++ b/oz/sqlalchemy/middleware.py
@@ -11,6 +11,7 @@ class SQLAlchemyMiddleware(object):
def __init__(self):
super(SQLAlchemyMiddleware, self).__init__()
self.trigge... | Ensure trans is cleaned up if con. closed in async
If the client closes its connection inside an `async` method,
`on_finish` is not called. This can result in a db connection leak. | dailymuse_oz | train | py |
95794c571ae9c0bff7a89f7ce2faf3b19431168f | diff --git a/lib/macaca-reporter.js b/lib/macaca-reporter.js
index <HASH>..<HASH> 100644
--- a/lib/macaca-reporter.js
+++ b/lib/macaca-reporter.js
@@ -23,16 +23,6 @@ const totalTests = {
function done(output, options, config, failures, exit) {
try {
- if (process.env.MACACA_RUN_IN_PARALLEL) {
- output.sui... | fix: remove parallel (#<I>) | macacajs_macaca-reporter | train | js |
3dc4214024921172c48445328497cccc94657c3f | diff --git a/test/mysql_simple_test.rb b/test/mysql_simple_test.rb
index <HASH>..<HASH> 100644
--- a/test/mysql_simple_test.rb
+++ b/test/mysql_simple_test.rb
@@ -14,7 +14,16 @@ class MysqlSimpleTest < Test::Unit::TestCase
include ColumnNameQuotingTests
column_quote_char "`"
-
+
+ def test_column_class_insta... | add test that recreates AR test failure after native adapter refactoring | jruby_activerecord-jdbc-adapter | train | rb |
3e814f4daca2f4b851af4d95b24df3d059e882da | diff --git a/lib/githooks/cli.rb b/lib/githooks/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/githooks/cli.rb
+++ b/lib/githooks/cli.rb
@@ -25,10 +25,8 @@ module GitHooks
GitHooks.verbose = !!options['verbose']
GitHooks.debug = !!options['debug']
- if options['script'].nil? && options['path'].... | allow script and path to both be set at the same time; version bump | rabbitt_githooks | train | rb,rb |
ee7ff7c436229d0c20108382e3601f2e4200a78a | diff --git a/cmd/minio-decode/main.go b/cmd/minio-decode/main.go
index <HASH>..<HASH> 100644
--- a/cmd/minio-decode/main.go
+++ b/cmd/minio-decode/main.go
@@ -12,8 +12,8 @@ import (
func main() {
app := cli.NewApp()
- app.Name = "minio-encode"
- app.Usage = "erasure encode a byte stream"
+ app.Name = "minio-decode... | Decode on chunks missing should build and continue | minio_minio | train | go |
c23f03c20db976dbe374ed4ab4ca6d7df8f517c1 | diff --git a/client/state/sites/actions.js b/client/state/sites/actions.js
index <HASH>..<HASH> 100644
--- a/client/state/sites/actions.js
+++ b/client/state/sites/actions.js
@@ -140,11 +140,17 @@ export function setFrontPage( siteId, pageId, successCallback ) {
pageId
} );
+ const isSettingBlogPostsAsFrontPa... | Pages: Fix setFrontPage to handle setting Blog Posts as homepage (#<I>) | Automattic_wp-calypso | train | js |
6bc1881727ea3b44436495f05c9033528057aa76 | diff --git a/src/xterm.js b/src/xterm.js
index <HASH>..<HASH> 100644
--- a/src/xterm.js
+++ b/src/xterm.js
@@ -401,7 +401,6 @@
this.showCursor();
this.element.focus();
- this.emit('focus', {terminal: this});
};
Terminal.prototype.blur = function() {
@@ -417,7 +416,6 @@
this.sen... | Fix emission of terminal focus&blur events | xtermjs_xterm.js | train | js |
779c3a5a0bf979c1b65fa97daad99948849bdd68 | diff --git a/src/NewRelic/Silex/NewRelicServiceProvider.php b/src/NewRelic/Silex/NewRelicServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/NewRelic/Silex/NewRelicServiceProvider.php
+++ b/src/NewRelic/Silex/NewRelicServiceProvider.php
@@ -99,7 +99,7 @@ class NewRelicServiceProvider implements ServiceProviderInt... | Fix issue accessing class constant within a closure in PHP <I> (fixes #4) | stikmanw_silex-newrelic | train | php |
8d9a6356528e1c42bb094dfb248539f8b4797255 | diff --git a/lib/letter_opener/delivery_method.rb b/lib/letter_opener/delivery_method.rb
index <HASH>..<HASH> 100644
--- a/lib/letter_opener/delivery_method.rb
+++ b/lib/letter_opener/delivery_method.rb
@@ -11,7 +11,7 @@ module LetterOpener
messages = mail.parts.map { |part| Message.new(location, mail, part) }
... | launchy can open files without explicit declaring `file://` derective
closes #<I> #<I> | ryanb_letter_opener | train | rb |
8859e0b6ca76a1abdf132469b7a2fa2575a01aa4 | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -4728,8 +4728,9 @@ function get_string($identifier, $module='', $a=NULL) {
}
}
-/// If the preferred language was English we can abort now
- if ($lang == $defaultlang) {
+... | Now "en" lang has "en_utf8" as parent so we must allow
it to look for parent strings... Only "en_utf8" remains
as root language to save us from some checks (because
it cannot have parentlaguage defined). | moodle_moodle | train | php |
cf55fc8a0002c34924df9f615c874e3541766ce4 | diff --git a/lib/retina_tag/version.rb b/lib/retina_tag/version.rb
index <HASH>..<HASH> 100644
--- a/lib/retina_tag/version.rb
+++ b/lib/retina_tag/version.rb
@@ -1,3 +1,3 @@
module RetinaTag
- VERSION = "1.3.1"
+ VERSION = "1.4.0"
end | version bump and releaes fixes | davydotcom_retina_tag | train | rb |
f6ab2e407794f95d06b992f47a559e0442080fa4 | diff --git a/lxd-agent/operations.go b/lxd-agent/operations.go
index <HASH>..<HASH> 100644
--- a/lxd-agent/operations.go
+++ b/lxd-agent/operations.go
@@ -74,9 +74,7 @@ func operationsGet(d *Daemon, r *http.Request) response.Response {
localOperationURLs := func() (shared.Jmap, error) {
// Get all the operations... | lxd-agent/operations: operations.Clone() usage | lxc_lxd | train | go |
05486508fc4bed05a0fcfb5c41c3bcd0576f9b4e | diff --git a/src/main/java/org/asteriskjava/live/ChannelState.java b/src/main/java/org/asteriskjava/live/ChannelState.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/asteriskjava/live/ChannelState.java
+++ b/src/main/java/org/asteriskjava/live/ChannelState.java
@@ -17,13 +17,16 @@
package org.asteriskjava.liv... | Added javadoc for some literals | asterisk-java_asterisk-java | train | java |
72c727e3b4f8b0ab7a26182b19b0597d7533bfb5 | diff --git a/pkg/apis/core/validation/events.go b/pkg/apis/core/validation/events.go
index <HASH>..<HASH> 100644
--- a/pkg/apis/core/validation/events.go
+++ b/pkg/apis/core/validation/events.go
@@ -68,7 +68,7 @@ func ValidateEvent(event *core.Event) field.ErrorList {
allErrs = append(allErrs, field.Required(field.... | fix wrong spells in events.go | kubernetes_kubernetes | train | go |
cf9f8bfc43d7ef2ddf14ea80f2215644ba836b9d | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,7 @@
import uniqueRandomArray from 'unique-random-array';
import starWarsNames from './starwars-names.json';
-var getRandomItem = uniqueRandomArray(starWarsNames);
+const getRandomItem = uniqueRando... | chore: var -> const/let (#<I>)
* var -> let
since babel is already in place :smile:
* let -> const | kentcdodds_starwars-names | train | js |
c4a8a287da53be3a6bbe6b571d65d9bf27a365bc | diff --git a/lib/video_sprites/processor.rb b/lib/video_sprites/processor.rb
index <HASH>..<HASH> 100644
--- a/lib/video_sprites/processor.rb
+++ b/lib/video_sprites/processor.rb
@@ -65,7 +65,7 @@ module VideoSprites
end
def create_gif
- `convert -delay 20 -loop 0 #{all_images.join(' ')} #{gif_output_f... | use same size for GIF as for thumbnail sprites | jronallo_video_sprites | train | rb |
dd0a5dd80cafa2991d653106ba14fb1acbae155c | diff --git a/nomad/api/exceptions.py b/nomad/api/exceptions.py
index <HASH>..<HASH> 100644
--- a/nomad/api/exceptions.py
+++ b/nomad/api/exceptions.py
@@ -3,23 +3,23 @@ class BaseNomadException(Exception):
def __init__(self, nomad_resp):
self.nomad_resp = nomad_resp
+ def __str__(self):
+ retu... | Adding __str__ method to improve errors readability | jrxFive_python-nomad | train | py |
64b5e2aba14d1b62ad6a6f7d84d4db51090f7fd3 | diff --git a/src/runez/system.py b/src/runez/system.py
index <HASH>..<HASH> 100644
--- a/src/runez/system.py
+++ b/src/runez/system.py
@@ -1252,13 +1252,18 @@ class SystemInfo:
"""Info on currently running process"""
return _R._runez_module().PsInfo()
- def diagnostics(self, via=" ⚡ "):
+ def ... | Allow to override diagnostics userid | zsimic_runez | train | py |
16dbe74054693b2bedb3a2461d472aaaf3f866b1 | diff --git a/source/net/fortuna/ical4j/model/component/Observance.java b/source/net/fortuna/ical4j/model/component/Observance.java
index <HASH>..<HASH> 100644
--- a/source/net/fortuna/ical4j/model/component/Observance.java
+++ b/source/net/fortuna/ical4j/model/component/Observance.java
@@ -357,8 +357,13 @@ public abstr... | SimpleDateFormat isn't threadsafe, so synchronize access to shared instance | ical4j_ical4j | train | java |
cd41f64a0304d95e88d67646a5a289d2b61e6927 | diff --git a/ca/certificate-authority_test.go b/ca/certificate-authority_test.go
index <HASH>..<HASH> 100644
--- a/ca/certificate-authority_test.go
+++ b/ca/certificate-authority_test.go
@@ -564,6 +564,12 @@ func TestRejectValidityTooLong(t *testing.T) {
ca.SA = storageAuthority
// Test that the CA rejects CSRs t... | Some changes that got missed in the rebase | letsencrypt_boulder | train | go |
f4f74224de3f0d2e68d85aeda935ea53c5270914 | diff --git a/src/options/normalizeUrl.js b/src/options/normalizeUrl.js
index <HASH>..<HASH> 100644
--- a/src/options/normalizeUrl.js
+++ b/src/options/normalizeUrl.js
@@ -8,7 +8,13 @@ function normalizeUrl(testUrl) {
if (!parsed.protocol) {
normalized = 'http://' + normalized;
}
- if (!validator.i... | Fix #<I> - Allow mDNS addresses (ending with 'local.') during URL validation (#<I>) | jiahaog_nativefier | train | js |
bf9c1e00a8dcddfbbc58579a540823256e3acdf0 | diff --git a/fundamentals/tools.py b/fundamentals/tools.py
index <HASH>..<HASH> 100644
--- a/fundamentals/tools.py
+++ b/fundamentals/tools.py
@@ -298,11 +298,16 @@ class tools(object):
pass
if stream is not False:
+
+ astream = stream.read()
+ home = expanduser("~")
+ ... | allowing '~' as home directory for filepaths in all settings file parameters - will be converted when initially read | thespacedoctor_fundamentals | train | py |
e97ca9c2cfd459e39669080b88f60dd6dc973656 | diff --git a/code/FileVersion.php b/code/FileVersion.php
index <HASH>..<HASH> 100755
--- a/code/FileVersion.php
+++ b/code/FileVersion.php
@@ -7,6 +7,8 @@
*/
class FileVersion extends DataObject {
+ const VERSION_FOLDER = '.versions';
+
public static $db = array (
'VersionNumber' => 'Int',
'Filename' ... | ENHANCEMENT: Store versioned files in a ".versions" rather than "_versions" dir so SilverStripe does not index them.
MINOR: Use a constant for storing the version folder name. | symbiote_silverstripe-versionedfiles | train | php |
4cef8b8ed2f6f09e246a3abe10116c396d7ea4c0 | diff --git a/dev/Nav.js b/dev/Nav.js
index <HASH>..<HASH> 100644
--- a/dev/Nav.js
+++ b/dev/Nav.js
@@ -2,7 +2,6 @@ import 'react-select/dist/react-select.css';
import PropTypes from 'prop-types';
import React from 'react';
import Select from 'react-select';
-import './styles.css';
const Nav = props => (
<div c... | move css into index.js from Nav.js | plotly_react-chart-editor | train | js,js |
e231025e8bbfd6b8e9018937c36c18d6e9097cab | diff --git a/src/share/classes/com/sun/tools/javac/comp/Resolve.java b/src/share/classes/com/sun/tools/javac/comp/Resolve.java
index <HASH>..<HASH> 100644
--- a/src/share/classes/com/sun/tools/javac/comp/Resolve.java
+++ b/src/share/classes/com/sun/tools/javac/comp/Resolve.java
@@ -3421,7 +3421,10 @@ public class Resol... | <I>: Regression: difference in error recovery after ambiguity causes JCK test failure
Summary: Wrong implementation of ResolveError.access in AmbiguityError
Reviewed-by: jjh | wmdietl_jsr308-langtools | train | java |
ad38ba9046a0567bbf16e1dcd65404e307172bff | diff --git a/spec/public/property_spec.rb b/spec/public/property_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/public/property_spec.rb
+++ b/spec/public/property_spec.rb
@@ -202,10 +202,40 @@ describe DataMapper::Property do
end
end
+ # What's going on here:
+ #
+ # we first set original value a... | Spec examples for Property#set_original_value
* I feel like testing plumbing methods makes little sense
but still makes some. If dkubb agrees that we should
go for more integration specs instead, I'd not mind
just removing these | datamapper_dm-core | train | rb |
36c1e6dc7d49c7c85554af31be5a1841afbca067 | diff --git a/tests/vcloud_director/models/compute/vapp_tests.rb b/tests/vcloud_director/models/compute/vapp_tests.rb
index <HASH>..<HASH> 100644
--- a/tests/vcloud_director/models/compute/vapp_tests.rb
+++ b/tests/vcloud_director/models/compute/vapp_tests.rb
@@ -1,7 +1,6 @@
require File.expand_path(File.join(File.dirn... | Enable model vapp_tests in Mock mode | fog_fog | train | rb |
6b0d9fe6bc32be774ac47ae228ee33c5284eaf85 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,7 @@ setup(
'normality >= 1.0.0',
'tabulate',
'dataset >= 1.0.8',
- 'servicelayer >= 1.8.0',
+ 'servicelayer == 1.8.0',
'urlnormalizer >= 1.2.0',
'celestial ... | Pin servicelayer version to prevent frequent breakage | alephdata_memorious | train | py |
d0a1cc87fb0d36b24385ff76a0f46c217f45624c | diff --git a/modules/cms/classes/MarkupManager.php b/modules/cms/classes/MarkupManager.php
index <HASH>..<HASH> 100644
--- a/modules/cms/classes/MarkupManager.php
+++ b/modules/cms/classes/MarkupManager.php
@@ -12,8 +12,8 @@ class MarkupManager
{
use \October\Rain\Support\Traits\Singleton;
- const EXTENSION_... | Fixes #<I> In MarkupManager filters and functions are backwards | octobercms_october | train | php |
c99e1db0bb70fd0691ad56da0bbf8027dfbfb170 | diff --git a/ng-FitText.js b/ng-FitText.js
index <HASH>..<HASH> 100644
--- a/ng-FitText.js
+++ b/ng-FitText.js
@@ -58,11 +58,9 @@
scope.$watch(attrs.ngModel, function() { scope.resizer() });
- config.debounce == true
- ? angular.element(window).bind('resize', _debounce( function(){ sc... | Debounce functionality moved to fitTextConfigProvider | patrickmarabeas_ng-FitText.js | train | js |
307777a8159b1ed7246106c22f0459655fca4e3e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,9 +19,16 @@ def pkg_config(*packages, **kw):
setup(
- name='PyAV',
+
+ name='av',
version='0.1',
description='Pythonic bindings for libav.',
+
+ author="Mike Boers",
+ author_email="pyav@mike... | Register "av" on the PyPI | mikeboers_PyAV | train | py |
f6cdb58d19243a18ffdaa2b2ec71872fa00e65c0 | diff --git a/treetime/seq_utils.py b/treetime/seq_utils.py
index <HASH>..<HASH> 100644
--- a/treetime/seq_utils.py
+++ b/treetime/seq_utils.py
@@ -242,11 +242,13 @@ def normalize_profile(in_profile, log=False, return_offset = True):
normalized profile (fresh np object) and offset (if return_offset==True)
... | avoid underflow errors during profile normalization by forcing the max element to 0 before exponentiation | neherlab_treetime | train | py |
056a5138a4a37bf614eb780efc88a0d61f04a9a5 | diff --git a/auth/shibboleth/auth.php b/auth/shibboleth/auth.php
index <HASH>..<HASH> 100644
--- a/auth/shibboleth/auth.php
+++ b/auth/shibboleth/auth.php
@@ -178,13 +178,32 @@ class auth_plugin_shibboleth extends auth_plugin_base {
}
/**
- * Returns true if this authentication plugin can change the use... | MDL-<I> auth_shibboleth: Allow password change for shibboleth users
This patch modifies can_change_password() and adds change_password_url() to allow Shibboleth users to change their password
in case there is an (external) password change URL defined in Moodle. If no such URL is defined, the behaviour is the same
as w... | moodle_moodle | train | php |
dc37bd778a46df8a584e27b3a1add519bbbe8ebb | diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/dispatch/request_test.rb
+++ b/actionpack/test/dispatch/request_test.rb
@@ -474,6 +474,7 @@ protected
def stub_request(env = {})
ip_spoofing_check = env.key?(:ip_s... | Initialize @trusted_proxies. | rails_rails | train | rb |
2c1833bdb4606629eaac2c5b01d9921ef0b506f6 | diff --git a/course/report/log/lib.php b/course/report/log/lib.php
index <HASH>..<HASH> 100644
--- a/course/report/log/lib.php
+++ b/course/report/log/lib.php
@@ -73,22 +73,17 @@ function print_mnet_log_selector_form($hostid, $course, $selecteduser=0, $select
}
}
- // Get all the hosts that we SSO wi... | Mnet: Bugfix: Revised query to find hosts we SSO with: MDL-<I> | moodle_moodle | train | php |
73b0a89705a37e879620b190fc724fcfb6debd34 | diff --git a/app/models/renalware/patients/search_query.rb b/app/models/renalware/patients/search_query.rb
index <HASH>..<HASH> 100644
--- a/app/models/renalware/patients/search_query.rb
+++ b/app/models/renalware/patients/search_query.rb
@@ -19,6 +19,7 @@ module Renalware
@term = term
end
+ # Th... | Improve Patients::SearchQuery
This object was previously unused I think.
A slight improvement to let it search by nhs_number and local hispital numbers as well as family_name and given_name | airslie_renalware-core | train | rb |
b33d5c5393e80ffc39fb31da8d88440803853a0a | diff --git a/_docs/server.go b/_docs/server.go
index <HASH>..<HASH> 100644
--- a/_docs/server.go
+++ b/_docs/server.go
@@ -1,4 +1,4 @@
-// Copyright 2015 Hajime Hoshi
+// Copyright 2016 Hajime Hoshi
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complianc... | doc: Update license year in a new file | hajimehoshi_ebiten | train | go |
30765fe8420e01b599629a2593d930320eec4056 | diff --git a/can-component.js b/can-component.js
index <HASH>..<HASH> 100644
--- a/can-component.js
+++ b/can-component.js
@@ -490,7 +490,7 @@ var Component = Construct.extend(
var removalDisposal = domMutate.onNodeRemoval(el, function () {
var doc = el.ownerDocument;
var rootNode = doc.contains ? doc ... | fixing teardown when documentElement is removed | canjs_can-component | train | js |
00dcca52996a319ed3885e47cda1de8cd7777584 | diff --git a/Resources/Core/Build/Configuration/JSUnit/Bootstrap.js b/Resources/Core/Build/Configuration/JSUnit/Bootstrap.js
index <HASH>..<HASH> 100644
--- a/Resources/Core/Build/Configuration/JSUnit/Bootstrap.js
+++ b/Resources/Core/Build/Configuration/JSUnit/Bootstrap.js
@@ -17,6 +17,19 @@ var paths = {
'jquery/au... | [TASK] Include lit-html/element in JSUnit Bootstrap (#<I>)
lit-html is added to TYPO3 core as client side
template engine. Therefore this library needs
to be loadable in unit tests.
Issue on Forge:
<URL> | TYPO3_testing-framework | train | js |
bab4b4763764e443982963617c208ec3db7c52f5 | diff --git a/src/VK/VK.php b/src/VK/VK.php
index <HASH>..<HASH> 100644
--- a/src/VK/VK.php
+++ b/src/VK/VK.php
@@ -167,7 +167,7 @@ class VK
*/
public function isAuth()
{
- return $this->auth;
+ return !is_null($this->access_token);
}
/** | Update VK.php
Now isAuth indicates that access token is set, but maybe not valid. To check token use checkAccessToken method | vladkens_VK | train | php |
99859d0d63698afba1e10e3f16e669d5ffc37235 | diff --git a/lib/spike/index.js b/lib/spike/index.js
index <HASH>..<HASH> 100644
--- a/lib/spike/index.js
+++ b/lib/spike/index.js
@@ -242,7 +242,7 @@ var spike = module.exports = {
console.error(error);
}
});
- }, 10* 1000); // leave it open for 60 minutes.
+ }, 24 ... | Keep write access open for <I> hours
Allows for things like working on a train and dropping connections, etc. | jsbin_jsbin | train | js |
d3b192e3076b9465fad119703656d16d9b0277a4 | diff --git a/packages/authorize/useAuthorize.js b/packages/authorize/useAuthorize.js
index <HASH>..<HASH> 100644
--- a/packages/authorize/useAuthorize.js
+++ b/packages/authorize/useAuthorize.js
@@ -107,6 +107,7 @@ export default (permissions,{
checkPermissions();
// todo - optimize this so we only have a per... | chore(authorize): hide warning for authorize effect | Availity_availity-react | train | js |
3101bb6ab859c69acf51301cdb988f855c2ccdbc | diff --git a/lib/webmock/http_lib_adapters/async_http_client_adapter.rb b/lib/webmock/http_lib_adapters/async_http_client_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/webmock/http_lib_adapters/async_http_client_adapter.rb
+++ b/lib/webmock/http_lib_adapters/async_http_client_adapter.rb
@@ -151,7 +151,7 @@ if define... | Fix async http adapter warning
Problem: when using async http adapter rspec outputs the following
warning
`lib/webmock/http_lib_adapters/async_http_client_adapter.rb:<I>: warning: instance variable @alpn_protocol not initialized`
Reason for that is: `@alpn_protocol` is never defined.
Solution: don't use `@alpn_protoc... | bblimke_webmock | train | rb |
bfffb6d6260df48c3a41f93168eebc027be5418b | diff --git a/lib/htmlParser.js b/lib/htmlParser.js
index <HASH>..<HASH> 100644
--- a/lib/htmlParser.js
+++ b/lib/htmlParser.js
@@ -269,7 +269,7 @@ exports.parseAlbumInfo = function (html, albumUrl) {
}
});
- for (let nonPlayableTrack of data.album.nonPlayableTracks) {
+ for (var nonPlayableTrack of data.alb... | convert previous commit to non- strict mode | masterT_bandcamp-scraper | train | js |
66738533fb9d98071964e4d80e45d41b9d32e8c5 | diff --git a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java
index <HASH>..<HASH> 100755
--- a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java
+++ b/sbe-tool/src/main/java/uk/co/real_... | [Java] Fix generated codec for string_view with C<I>. | real-logic_simple-binary-encoding | train | java |
04fd91981256e7e51eb2b549f480debff1e047ce | diff --git a/extension/rsb/com/src/main/java/org/openbase/jul/extension/rsb/com/RPCHelper.java b/extension/rsb/com/src/main/java/org/openbase/jul/extension/rsb/com/RPCHelper.java
index <HASH>..<HASH> 100644
--- a/extension/rsb/com/src/main/java/org/openbase/jul/extension/rsb/com/RPCHelper.java
+++ b/extension/rsb/com/s... | increase rpc timeout because of registry performance issues. | openbase_jul | train | java |
c039d2f3b687fb9ed4b4daf22c1b4eada69816ac | diff --git a/tendril/tcp.py b/tendril/tcp.py
index <HASH>..<HASH> 100644
--- a/tendril/tcp.py
+++ b/tendril/tcp.py
@@ -408,14 +408,32 @@ class TCPTendrilManager(manager.TendrilManager):
try:
tend.application = acceptor(tend)
except Exception:
+ #... | Make sure to close sockets carefully. | klmitch_tendril | train | py |
d1f655da26aa7ce631b250922adbedb2d0f05273 | diff --git a/src/main/java/io/vlingo/actors/Mailbox.java b/src/main/java/io/vlingo/actors/Mailbox.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/actors/Mailbox.java
+++ b/src/main/java/io/vlingo/actors/Mailbox.java
@@ -35,6 +35,12 @@ public interface Mailbox extends Runnable {
boolean isDelivering();... | Implemented concurrencyCapacity(). | vlingo_vlingo-actors | train | java |
a9117b5189d28940be9bb651ef2ed7ba453935a0 | diff --git a/lib/ronin/ui/console.rb b/lib/ronin/ui/console.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/ui/console.rb
+++ b/lib/ronin/ui/console.rb
@@ -82,7 +82,6 @@ module Ronin
IRB.conf[:IRB_NAME] = 'ronin'
IRB.conf[:PROMPT_MODE] = Console.prompt
IRB.conf[:AUTO_INDENT] = Console.indent
-... | Manually require auto_load paths.
* For some reason IRB.conf[:LOAD_MODULES] is not working in some
instances. | ronin-ruby_ronin | train | rb |
2467c4a4611e5b612085bc9ef82a35bf3376842f | diff --git a/tdigest/tdigest.py b/tdigest/tdigest.py
index <HASH>..<HASH> 100644
--- a/tdigest/tdigest.py
+++ b/tdigest/tdigest.py
@@ -1,7 +1,7 @@
from random import shuffle, choice
import bisect
from operator import itemgetter
-from bintrees import FastBinaryTree as BinaryTree
+from bintrees import FastRBTree as RB... | Use RBTrees as they are balanced.
See issue #5 for the details here. | CamDavidsonPilon_tdigest | train | py |
f71a964cdddb9195aff10e85b45f7c504cd2ca9f | diff --git a/docker/docker_image_src.go b/docker/docker_image_src.go
index <HASH>..<HASH> 100644
--- a/docker/docker_image_src.go
+++ b/docker/docker_image_src.go
@@ -79,7 +79,7 @@ func newImageSource(ctx context.Context, sys *types.SystemContext, ref dockerRef
// Found the registry within the sysregistriesv2 configu... | Make very sure that newImageSource can never fail with a nil error.
This can never happen with the current code, but making sure that will
continue to be the case in the future does not cost any extra lines. | containers_image | train | go |
1e07245dc60425011700ed236d5740d2ad64bdf0 | diff --git a/lib/validator.js b/lib/validator.js
index <HASH>..<HASH> 100644
--- a/lib/validator.js
+++ b/lib/validator.js
@@ -186,7 +186,7 @@ Specberus.prototype.loadURL = function (url, cb) {
sua.get(url)
.set("User-Agent", "Specberus/" + require("../package.json").version + " Node/" + process.version +... | Fixed case when URL is inaccessible (it was still crashing). | w3c_specberus | train | js |
28b18f416f159f0828ecd722258f07e19c2a967a | diff --git a/pkg/util/util.go b/pkg/util/util.go
index <HASH>..<HASH> 100644
--- a/pkg/util/util.go
+++ b/pkg/util/util.go
@@ -407,12 +407,12 @@ func chooseHostInterfaceNativeGo() (net.IP, error) {
if i == len(intfs) {
return nil, err
}
- glog.V(2).Infof("Choosing interface %s for from-host portals", intfs[i].Na... | Tone down logging in network interface choosing | kubernetes_kubernetes | train | go |
abf1dc5c341d89ec2884cde802fc15eaa940b741 | diff --git a/controller/internal/enforcer/nfqdatapath/datapath.go b/controller/internal/enforcer/nfqdatapath/datapath.go
index <HASH>..<HASH> 100644
--- a/controller/internal/enforcer/nfqdatapath/datapath.go
+++ b/controller/internal/enforcer/nfqdatapath/datapath.go
@@ -125,6 +125,12 @@ func New(
zap.L().Fatal("Fai... | Disable early demux to avoid the kernel bug (#<I>) | aporeto-inc_trireme-lib | train | go |
ce09bb1114ae520d9448a66d98379438b32266f1 | diff --git a/geometry.go b/geometry.go
index <HASH>..<HASH> 100644
--- a/geometry.go
+++ b/geometry.go
@@ -348,12 +348,12 @@ func (m Matrix) Rotated(around Vec, angle float64) Matrix {
// after the transformations of this Matrix.
func (m Matrix) Chained(next Matrix) Matrix {
return Matrix{
- m[0]*next[0] + m[2]*ne... | fix Matrix.Chained (wrong order of composition) | faiface_pixel | train | go |
28da20e4f3f4b6f6557b1daf2ef3d417e2fb649e | diff --git a/src/main/java/com/technophobia/substeps/runner/builder/SubstepNodeBuilder.java b/src/main/java/com/technophobia/substeps/runner/builder/SubstepNodeBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/technophobia/substeps/runner/builder/SubstepNodeBuilder.java
+++ b/src/main/java/com/technophob... | TPCLA-<I> Fix on the logging of the substeps | G2G3Digital_substeps-framework | train | java |
3fb15ac13a0c7c2da23fef8e17259b60976ab872 | diff --git a/nodeconductor/core/admin.py b/nodeconductor/core/admin.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/core/admin.py
+++ b/nodeconductor/core/admin.py
@@ -107,8 +107,8 @@ class UserAdmin(auth_admin.UserAdmin):
return format_html_join(
mark_safe('<br/>'),
- '{}',
- ... | Add links for customer, project roles in user profiles
- WAL-<I> | opennode_waldur-core | train | py |
2ab58a32d7e125e4da9c8a1ea9ff069014875c3f | diff --git a/export.js b/export.js
index <HASH>..<HASH> 100644
--- a/export.js
+++ b/export.js
@@ -665,13 +665,13 @@ function addNestedIncludesTypeConstraints(specs, ns, addSubElements=true) {
function addIncludesCodeConstraints(specs, ns, addSubElements=true) {
let de = new mdl.DataElement(id(ns, 'IncludesCodesLis... | Fix IncludesCodeConstraints test case | standardhealth_shr-test-helpers | train | js |
3376236714341d436bac5346de3c147baa0e39f8 | diff --git a/tests/TestData/TestLogger.php b/tests/TestData/TestLogger.php
index <HASH>..<HASH> 100644
--- a/tests/TestData/TestLogger.php
+++ b/tests/TestData/TestLogger.php
@@ -15,9 +15,14 @@ class TestLogger extends AbstractLogger
{
protected $logStorage= [];
+ public function countLogs()
+ {
+ ... | More proof I should be sticking to TDD | AyeAyeApi_Api | train | php |
2779187d8cfee7e79a7157e37682229b92753bc8 | diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/filetransfer/FileTransfer.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/filetransfer/FileTransfer.java
index <HASH>..<HASH> 100644
--- a/smack-extensions/src/main/java/org/jivesoftware/smackx/filetransfer/FileTransfer.java
+++ b/smack-e... | [filetransfer] Set the status to error in setException()
FileTransfer would previously not change the status, even though an
exception has been set, leading users to believe that the transfer is
still ongoing, when it is not. | igniterealtime_Smack | train | java |
6f564dd6fffc2cf03de02be71818b2f3bf86595e | diff --git a/jmetal-core/src/main/java/org/uma/jmetal/util/pseudorandom/PseudoRandomGenerator.java b/jmetal-core/src/main/java/org/uma/jmetal/util/pseudorandom/PseudoRandomGenerator.java
index <HASH>..<HASH> 100644
--- a/jmetal-core/src/main/java/org/uma/jmetal/util/pseudorandom/PseudoRandomGenerator.java
+++ b/jmetal-... | Refactoring JMetalRandom | jMetal_jMetal | train | java |
2a596d441c75d45cd1843a6847d57f4e99b4e142 | diff --git a/gandi/cli/modules/account.py b/gandi/cli/modules/account.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/modules/account.py
+++ b/gandi/cli/modules/account.py
@@ -35,6 +35,9 @@ class Account(GandiModule):
account = cls.info()
creditusage = cls.creditusage()
+ if not creditusage:
+... | Sometimes rating doesn't return value for credit usage.
This fixes a bug generating a Traceback when no value from API
rating was returned. | Gandi_gandi.cli | train | py |
7eb62ddf958dcb2c6eb7aa2893bf9fd143d1c30b | diff --git a/devassistant/loaded_yaml.py b/devassistant/loaded_yaml.py
index <HASH>..<HASH> 100644
--- a/devassistant/loaded_yaml.py
+++ b/devassistant/loaded_yaml.py
@@ -79,9 +79,8 @@ class LoadedYaml(object):
if not isinstance(struct, typ):
err = []
if path:
- err.app... | Improve the format of reported yaml structure errors | devassistant_devassistant | train | py |
8e6d1f55e2f7bc178b30c9c1cdb770d8ad625eb2 | diff --git a/activesupport/lib/active_support/log_subscriber.rb b/activesupport/lib/active_support/log_subscriber.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/log_subscriber.rb
+++ b/activesupport/lib/active_support/log_subscriber.rb
@@ -115,13 +115,9 @@ module ActiveSupport
end
... | Remove unnecessary class_eval from log_subscriber.rb | rails_rails | train | rb |
5bc41b8e1de746ec3c713d70caf62142b283e683 | diff --git a/lib/xcodeproj/project/object.rb b/lib/xcodeproj/project/object.rb
index <HASH>..<HASH> 100644
--- a/lib/xcodeproj/project/object.rb
+++ b/lib/xcodeproj/project/object.rb
@@ -202,6 +202,18 @@ module Xcodeproj
def inspect
"#<#{isa} UUID: `#{uuid}', name: `#{name}'>"
end
+ ... | Added fluent querying to objects and object lists.
e.g. target.files.where(:name => "MyFile.m") | CocoaPods_Xcodeproj | train | rb,rb |
49f8198a9cbf73b69d88a50d743e67c8232d99de | diff --git a/lib/cancan/controller_resource_loader.rb b/lib/cancan/controller_resource_loader.rb
index <HASH>..<HASH> 100644
--- a/lib/cancan/controller_resource_loader.rb
+++ b/lib/cancan/controller_resource_loader.rb
@@ -32,7 +32,7 @@ module CanCan
def resource_params_by_namespaced_name
resource_params_by... | fixes an issue caused by strong parameters (#<I>) | CanCanCommunity_cancancan | train | rb |
a79489a2eb90af2c68da591c895fa92b1153777a | diff --git a/scoop/launch/brokerLaunch.py b/scoop/launch/brokerLaunch.py
index <HASH>..<HASH> 100644
--- a/scoop/launch/brokerLaunch.py
+++ b/scoop/launch/brokerLaunch.py
@@ -106,13 +106,16 @@ class remoteBroker(object):
brokerString += "--debug "
self.hostname = hostname
for i in range(5... | + Improved remote broker debug info | soravux_scoop | train | py |
e684ab1959d23ebfad207dcee3790dbe8a8bfbb6 | diff --git a/Model/Posting.php b/Model/Posting.php
index <HASH>..<HASH> 100644
--- a/Model/Posting.php
+++ b/Model/Posting.php
@@ -68,6 +68,21 @@ abstract class Posting
protected $postedAt;
/**
+ * Constructor
+ *
+ * @author Tom Haskins-Vaughan <tom@tomhv.uk>
+ * @since 1.0.0
+ *
+ ... | Added Posting::__constructor() that takes Account and amount | phospr_DoubleEntryBundle | train | php |
04d66013aef421d83430feb6708f55aefc7daa05 | diff --git a/modules/pubmaticBidAdapter.js b/modules/pubmaticBidAdapter.js
index <HASH>..<HASH> 100644
--- a/modules/pubmaticBidAdapter.js
+++ b/modules/pubmaticBidAdapter.js
@@ -306,7 +306,7 @@ export const spec = {
// Attaching GDPR Consent Params in UserSync url
if (gdprConsent) {
syncurl += '&gdpr=... | Update the consent param in userSync as per IAB Spec (#<I>) | prebid_Prebid.js | train | js |
26fe3bbcef476e7e86270073f76ca3561e76f036 | diff --git a/lib/zk/client/conveniences.rb b/lib/zk/client/conveniences.rb
index <HASH>..<HASH> 100644
--- a/lib/zk/client/conveniences.rb
+++ b/lib/zk/client/conveniences.rb
@@ -73,7 +73,8 @@ module ZK
#
# @return the return value of the given block
#
- # @yield calls the block once the lock ... | make with_lock yield the locker instance to the block
will help with calling lock.assert! when using zk.with_lock() | zk-ruby_zk | train | rb,rb |
adf98376a977e87adc9a7aecbd1b989abd7f80b8 | diff --git a/test/unit/test_host.rb b/test/unit/test_host.rb
index <HASH>..<HASH> 100644
--- a/test/unit/test_host.rb
+++ b/test/unit/test_host.rb
@@ -65,8 +65,12 @@ module SSHKit
end
def test_assert_hosts_compare_equal
- assert Host.new('example.com').eql? Host.new('example.com')
- assert Host.ne... | Refactor TestHost#test_assert_hosts_compare_equal
* Use two variables to appease rubocop linting
* Only instantiate two hosts instead of six | capistrano_sshkit | train | rb |
89d89496794d9e3876422235756e7607df364e70 | diff --git a/plugins.js b/plugins.js
index <HASH>..<HASH> 100644
--- a/plugins.js
+++ b/plugins.js
@@ -105,21 +105,23 @@ plugins.load_plugin = function(name) {
var plugin = new Plugin(name);
var fp = plugin.full_paths,
- rf;
+ rf, last_err;
for (var i=0, j=fp.length; i<j; i++) {
... | Properly log the error if the plugin couldn't be loaded | haraka_Haraka | train | js |
28e2e67e63053e88d5b90e62b2f31f557e7dbea9 | diff --git a/anyconfig/compat.py b/anyconfig/compat.py
index <HASH>..<HASH> 100644
--- a/anyconfig/compat.py
+++ b/anyconfig/compat.py
@@ -34,17 +34,6 @@ def py3_iteritems(dic):
return dic.items()
-def py_iteritems(dic):
- """wrapper for dict.iteritems() in python < 3.x
-
- >>> list(py_iteritems({}))
- ... | move py_iteritems() into the block not run in python 3, in anyconfig.compat; dict in python 3 does not have iteritems method | ssato_python-anyconfig | train | py |
4262cc06928594d6588ada8fbcff492d66cf7349 | diff --git a/openpnm/core/Subdomain.py b/openpnm/core/Subdomain.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Subdomain.py
+++ b/openpnm/core/Subdomain.py
@@ -54,6 +54,10 @@ class Subdomain(Base):
boss = self._get_boss()
element = self._parse_element(element=element, single=True)
+ # Make... | Fixing _set_locations to remove label array is empty | PMEAL_OpenPNM | train | py |
e0db4d4b62c5ed2dbf29227237a4c3222fcc1cec | diff --git a/tests/run.go b/tests/run.go
index <HASH>..<HASH> 100644
--- a/tests/run.go
+++ b/tests/run.go
@@ -105,6 +105,13 @@ var knownFails = map[string]failReason{
"fixedbugs/issue22083.go": {category: requiresSourceMapSupport}, // Technically, added in Go 1.9.2.
"fixedbugs/issue22660.go": {category: notApplica... | tests: Triage test failures new to Go <I>. | gopherjs_gopherjs | train | go |
773aa24512f3cf0bcd0f1cc8899515c046be59d1 | diff --git a/ui/src/dashboards/components/TemplateVariableRow.js b/ui/src/dashboards/components/TemplateVariableRow.js
index <HASH>..<HASH> 100644
--- a/ui/src/dashboards/components/TemplateVariableRow.js
+++ b/ui/src/dashboards/components/TemplateVariableRow.js
@@ -196,6 +196,7 @@ class RowWrapper extends Component {
... | Delete a new template on cancel | influxdata_influxdb | train | js |
9d3efa0c72f930adb5ae846b35dc7b7d0cb05d59 | diff --git a/hooks-admin.php b/hooks-admin.php
index <HASH>..<HASH> 100644
--- a/hooks-admin.php
+++ b/hooks-admin.php
@@ -94,7 +94,7 @@ if ( \PressBooks\Book::isBook() ) {
// Custom user profile
// -------------------------------------------------------------------------------------------------------------------
-... | Fix: Custom user meta was missing. | pressbooks_pressbooks | train | php |
81a373ead5e1d99cbe6febaf35716fe2e206c0c7 | diff --git a/pkg/chartutil/capabilities.go b/pkg/chartutil/capabilities.go
index <HASH>..<HASH> 100644
--- a/pkg/chartutil/capabilities.go
+++ b/pkg/chartutil/capabilities.go
@@ -28,12 +28,10 @@ import (
helmversion "helm.sh/helm/v3/internal/version"
)
-const (
+var (
k8sVersionMajor = 1
k8sVersionMinor = 20
-... | allow ldflags to overwrite k8s version | helm_helm | train | go,go |
d8946d10e121ee4349f16a9da0d0c63465df7c12 | diff --git a/tests/UserApp/ClientProxyTest.php b/tests/UserApp/ClientProxyTest.php
index <HASH>..<HASH> 100644
--- a/tests/UserApp/ClientProxyTest.php
+++ b/tests/UserApp/ClientProxyTest.php
@@ -121,6 +121,10 @@
$this->_proxy->user->get($arguments);
}
+ public function testDefinitiveFail(... | Testing TravisCI by submitting failing test | userapp-io_userapp-php | train | php |
4c02eaaeb23b377fd03817fed566600bcdc2f95c | diff --git a/more_itertools/more.py b/more_itertools/more.py
index <HASH>..<HASH> 100644
--- a/more_itertools/more.py
+++ b/more_itertools/more.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
from functools import partial, wraps
from itertools import izip_longest
from recipes import *
@@ -177,7 +179,7 @@... | Use print function for future aesthetic and compatibility | erikrose_more-itertools | train | py |
cbf52e4d7392ba7d8bbf105703168b1210d78e68 | diff --git a/src/module/view.js b/src/module/view.js
index <HASH>..<HASH> 100644
--- a/src/module/view.js
+++ b/src/module/view.js
@@ -334,6 +334,11 @@ define(function(require, exports, module) {
'selectionchange layoutallfinish': function(e) {
var selected = this.getSelectedNode()... | add some comments about win<I> edge | fex-team_kityminder-core | train | js |
7cd487ceb596df9ed6b4db0b00445e10d688c67a | diff --git a/src/View/Helper/CalendarHelper.php b/src/View/Helper/CalendarHelper.php
index <HASH>..<HASH> 100644
--- a/src/View/Helper/CalendarHelper.php
+++ b/src/View/Helper/CalendarHelper.php
@@ -92,7 +92,7 @@ class CalendarHelper extends Helper {
$days = [
];
$count = 0;
- while ($from < $to) {
+ while (... | Fix 2-days long but < <I>h events | dereuromark_cakephp-calendar | train | php |
280c54d78a72f37154fc5bbb2578f84fae0ac6f1 | diff --git a/tile_generator/pcf.py b/tile_generator/pcf.py
index <HASH>..<HASH> 100755
--- a/tile_generator/pcf.py
+++ b/tile_generator/pcf.py
@@ -150,7 +150,14 @@ def install_cmd(product, version):
payload = {
'to_version': version
}
- opsmgr.put('/api/installation_settings/products/' + matches[0]['guid'], ... | pcf isntall succeeds when version is already installed | cf-platform-eng_tile-generator | train | py |
d879fc7c3ed9190fa5e64ace43cf367d8a4cf126 | diff --git a/shinken/external_command.py b/shinken/external_command.py
index <HASH>..<HASH> 100644
--- a/shinken/external_command.py
+++ b/shinken/external_command.py
@@ -1297,9 +1297,14 @@ class ExternalCommandManager:
return
i = host.launch_check(now, force=True)
- for chk i... | Fix: get back PROCESS_SERVICE_CHECK_RESULT and PROCESS_HOST_CHECK_RESULT work after check_in_progress and force checks enhancement. | Alignak-monitoring_alignak | train | py |
47d4d30e41a3fbdaee8a1a5586d8bee4d1637b71 | diff --git a/src/main/webapp/js/Plugins/propertywindow.js b/src/main/webapp/js/Plugins/propertywindow.js
index <HASH>..<HASH> 100644
--- a/src/main/webapp/js/Plugins/propertywindow.js
+++ b/src/main/webapp/js/Plugins/propertywindow.js
@@ -1833,7 +1833,20 @@ Ext.form.ComplexDataAssignmenField = Ext.extend(Ext.form.Trigg... | fix assignments sring parsing in editor | kiegroup_jbpm-designer | train | js |
848599090f920b30b532007659f8f513bb885a50 | diff --git a/pyemu/utils/pst_from.py b/pyemu/utils/pst_from.py
index <HASH>..<HASH> 100644
--- a/pyemu/utils/pst_from.py
+++ b/pyemu/utils/pst_from.py
@@ -1760,9 +1760,9 @@ class PstFrom(object):
if lower_bound >= upper_bound:
self.logger.lraise("lower_bound {0} >= upper_bound {1}".format(lower_... | added a few more checks for agreement with bounds and initial value in pstfrom add_pars() | jtwhite79_pyemu | train | py |
e5e797bf3a8894875f28809a2707beae5b74594f | diff --git a/lib/ohai/plugins/freebsd/virtualization.rb b/lib/ohai/plugins/freebsd/virtualization.rb
index <HASH>..<HASH> 100644
--- a/lib/ohai/plugins/freebsd/virtualization.rb
+++ b/lib/ohai/plugins/freebsd/virtualization.rb
@@ -44,7 +44,7 @@ Ohai.plugin do
# XXX doesn't work when jail is there but not runni... | Moved to the platform specific line break | chef_ohai | train | rb |
4a2757ccbdd930926475bd291553f07423c144b3 | diff --git a/upload/install/controller/upgrade/upgrade_8.php b/upload/install/controller/upgrade/upgrade_8.php
index <HASH>..<HASH> 100644
--- a/upload/install/controller/upgrade/upgrade_8.php
+++ b/upload/install/controller/upgrade/upgrade_8.php
@@ -91,7 +91,7 @@ class Upgrade8 extends \Opencart\System\Engine\Controll... | Added one more DB_PREFIX on setting | opencart_opencart | train | php |
b56ba62ec8ba142446686d127fb0b7ea39f1375f | diff --git a/src/Bartlett/Reflect/Output/Analyser.php b/src/Bartlett/Reflect/Output/Analyser.php
index <HASH>..<HASH> 100644
--- a/src/Bartlett/Reflect/Output/Analyser.php
+++ b/src/Bartlett/Reflect/Output/Analyser.php
@@ -95,12 +95,12 @@ class Analyser extends OutputFormatter
continue;
}
... | fix missing output in CLI (Thanks to Remi Collet for his patch) | llaville_php-reflect | train | php |
05bac40206756e5411c40fd00d17fb11c9e1c838 | diff --git a/lib/Doctrine/ODM/CouchDB/UnitOfWork.php b/lib/Doctrine/ODM/CouchDB/UnitOfWork.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/CouchDB/UnitOfWork.php
+++ b/lib/Doctrine/ODM/CouchDB/UnitOfWork.php
@@ -66,17 +66,6 @@ class UnitOfWork
}
/**
- * Create the array data structure to be store... | removed getDoctrineMetadata(), maybe we find a different way to manage the metadata structure stored in documents | doctrine_couchdb-odm | train | php |
24b903ae0a7d6ba4bbb1ed9f69662cedec3f152c | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -7,6 +7,7 @@ namespace
namespace Cache\IntegrationTests
{
+ // PSR-6 integration tests
if (!class_exists('Cache\IntegrationTests\CachePoolTest')) {
class CachePo... | Make sure tests don't fail when integration tests not loaded | matthiasmullie_scrapbook | train | php |
02331bef86ebd013d227cdc771e3558c69f00f8c | diff --git a/js/bittrex.js b/js/bittrex.js
index <HASH>..<HASH> 100644
--- a/js/bittrex.js
+++ b/js/bittrex.js
@@ -26,7 +26,6 @@ module.exports = class bittrex extends Exchange {
'fetchMyTrades': false,
'fetchOHLCV': true,
'fetchOrder': true,
- 'fetchOrd... | removed bittrex fetchOrders (obsolete) | ccxt_ccxt | train | js |
14ab0c379f4e42373f12b37cde0cfbf1d8f950e3 | diff --git a/src/org/zaproxy/zap/view/TabbedPanel2.java b/src/org/zaproxy/zap/view/TabbedPanel2.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/view/TabbedPanel2.java
+++ b/src/org/zaproxy/zap/view/TabbedPanel2.java
@@ -339,7 +339,9 @@ public class TabbedPanel2 extends TabbedPanel {
public void removeTab(A... | Update the state of "plus" tab menu when tabs are removed
The "plus" icon would still be shown when the last hidden tab were
removed (for example, after uninstallation of an add-on) even if no
other tabs were hidden. | zaproxy_zaproxy | train | java |
8c807ddff29e5007451b2cb8aeb47b7ab5cb9131 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -35,8 +35,18 @@ module.exports = function (options) {
recess(file.path, options, function (err, results) {
if (err) {
err.forEach(function (el) {
- var recessError = new gutil.PluginError('gulp-recess', el, {
-... | Close GH-<I>: map the LessError object to a real Error instance for consumption by gulp-util.PluginError.. | sindresorhus_gulp-recess | train | js |
4ffce330ffa15c01b4c862bc25f7e88c596020af | diff --git a/nodeshot/ui/default/tests.py b/nodeshot/ui/default/tests.py
index <HASH>..<HASH> 100755
--- a/nodeshot/ui/default/tests.py
+++ b/nodeshot/ui/default/tests.py
@@ -121,6 +121,8 @@ class DefaultUiTest(TestCase):
def test_map(self):
self._hashchange('#/map')
self.assertTrue(self.browser.... | UI: added checks for leaflet attributes in map test #<I> | ninuxorg_nodeshot | train | py |
8ff9e11a24eb937a9ebf1272d9f46decb2f6ae0a | diff --git a/bandicoot/utils.py b/bandicoot/utils.py
index <HASH>..<HASH> 100755
--- a/bandicoot/utils.py
+++ b/bandicoot/utils.py
@@ -44,7 +44,7 @@ def flatten(d, parent_key='', separator='__'):
return OrderedDict(items)
-def all(user, groupby='week', summary='default', part_of_week='allweek', part_of_day='al... | Simplify splits in bc.utils.all | yvesalexandre_bandicoot | 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.