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 |
|---|---|---|---|---|---|
a02fe5da54b35e94cd2289db2493788bf9e69cfe | diff --git a/tests/test_doubles.py b/tests/test_doubles.py
index <HASH>..<HASH> 100644
--- a/tests/test_doubles.py
+++ b/tests/test_doubles.py
@@ -8,7 +8,7 @@ class GoPayMock:
self.response = 'irrelevant browser response'
def given_response(self, has_succeed=False, json = None):
- self.response =... | Http - rename response stub | gopaycommunity_gopay-python-api | train | py |
cf63d3deb81d7743bdbd060ce45f99a82583d16d | diff --git a/xmlobject.py b/xmlobject.py
index <HASH>..<HASH> 100644
--- a/xmlobject.py
+++ b/xmlobject.py
@@ -111,7 +111,10 @@ class XMLObject:
self._parse(xml_str, parameters)
def _to_numeric(value):
- v = float(value)
+ try:
+ v = float(value)
+ except:
+ return None
f = v
try:
e = int(v) | correct a bug when converting None to numeric | grycap_cpyutils | train | py |
a4a9845c8145ad928ec111820933bfa22cbd2244 | diff --git a/lib/core/plugin/node.rb b/lib/core/plugin/node.rb
index <HASH>..<HASH> 100644
--- a/lib/core/plugin/node.rb
+++ b/lib/core/plugin/node.rb
@@ -484,8 +484,6 @@ class Node < Nucleon.plugin_class(:nucleon, :base)
config = Config.ensure(options).import({ :properties => [ property ], :quiet => true })
... | Removing accidentally committed dbg() statement in the base node plugin. | coralnexus_corl | train | rb |
be2134c9edaaf365a8bca1812b5b3db8e643d818 | diff --git a/src/org/jgroups/protocols/pbcast/NAKACK.java b/src/org/jgroups/protocols/pbcast/NAKACK.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/pbcast/NAKACK.java
+++ b/src/org/jgroups/protocols/pbcast/NAKACK.java
@@ -534,10 +534,8 @@ public class NAKACK extends Protocol implements Retransmitter.Re... | Become_server_queue was never flushed (JGRP-<I>) - fixed now | belaban_JGroups | train | java,java |
e99b197e9754c89ffa5c27ef8dbc4cd28dc8ee00 | diff --git a/course/tests/externallib_test.php b/course/tests/externallib_test.php
index <HASH>..<HASH> 100644
--- a/course/tests/externallib_test.php
+++ b/course/tests/externallib_test.php
@@ -1550,7 +1550,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
$this->assertCoun... | MDL-<I> course: fix core_course_get_course_module assertion
A recent bugfix before integration left this failing. They are <I>. | moodle_moodle | train | php |
0fd1aae1f0d0c3c19d8389afce7da5c9e203da02 | diff --git a/src/Arrayy.php b/src/Arrayy.php
index <HASH>..<HASH> 100644
--- a/src/Arrayy.php
+++ b/src/Arrayy.php
@@ -408,7 +408,7 @@ class Arrayy extends \ArrayObject implements \Countable, \IteratorAggregate, \Ar
public function push(/* variadic arguments allowed */)
{
if (func_num_args()) {
- $args ... | [!]: merged doublicate functions + breaking changes v2 | voku_Arrayy | train | php |
376f1a5617b505740590c0c5a1b1c32408c669b4 | diff --git a/iptables/iptables_test.go b/iptables/iptables_test.go
index <HASH>..<HASH> 100644
--- a/iptables/iptables_test.go
+++ b/iptables/iptables_test.go
@@ -7,6 +7,8 @@ import (
"strings"
"sync"
"testing"
+
+ _ "github.com/docker/libnetwork/netutils"
)
const chainName = "DOCKER-TEST" | Restore anonymus import in iptables_test.go
- Which is needed when running make (test in container) | docker_libnetwork | train | go |
0a6739b3b64505ff8c5621c0535a7765b51effab | diff --git a/Braintree/src/main/java/com/braintreepayments/api/BraintreeFragment.java b/Braintree/src/main/java/com/braintreepayments/api/BraintreeFragment.java
index <HASH>..<HASH> 100644
--- a/Braintree/src/main/java/com/braintreepayments/api/BraintreeFragment.java
+++ b/Braintree/src/main/java/com/braintreepayments/... | Prevent NullPointerException in BraintreeFragment
If a PayPal browser switch is attempted when BraintreeFragment is not
attached to an Activity, a NullPointerException would occur trying to
use Fragment#getActivity. This change uses a Context instance instead of
an Activity to prevent the crash. | braintree_braintree_android | train | java |
4211d678cc3dfb2bc6972e28c86ee5593f17c22b | diff --git a/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java b/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java
index <HASH>..<HASH> 100644
--- a/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java
+++ b/datecal... | Implemented the JDK moveByMonths (easier than thought) and now only 1 test fails for ACT_ACT. It does not seem to fail for JODA... could it be a TimeZone issue? | Appendium_objectlabkit | train | java |
f38c67c1d416d4c10d3c9bd70489757a46eeb2b8 | diff --git a/h2o-core/src/main/resources/www/perfbar.js b/h2o-core/src/main/resources/www/perfbar.js
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/resources/www/perfbar.js
+++ b/h2o-core/src/main/resources/www/perfbar.js
@@ -293,7 +293,7 @@ function initializeCloud() {
timeouts = new Array(cloud_size... | [PUBDEV-<I>] WaterMeter fixed
WaterMeter JavaScript code was pointing to wrong endpoints. | h2oai_h2o-3 | train | js |
fa2e94e64ebe84ecd19565a73583aaba4e1d433f | diff --git a/src/File.js b/src/File.js
index <HASH>..<HASH> 100644
--- a/src/File.js
+++ b/src/File.js
@@ -156,7 +156,7 @@ File.interpretMode = function(mode, type, umask) {
mode = mode.substring(1);
/* falls through */
case 9:
- var modeParts = mode.match(/[r-][w-][x-]/g),
+ var modeParts ... | I forgot about the set-uid and set-gid flag | dwieeb_node-jsondir | train | js |
73f3895fd15e76ee6f8532336f4e5e69e0e5b8ba | diff --git a/src/android/CDVNearITContentListener.java b/src/android/CDVNearITContentListener.java
index <HASH>..<HASH> 100644
--- a/src/android/CDVNearITContentListener.java
+++ b/src/android/CDVNearITContentListener.java
@@ -110,7 +110,7 @@ public class CDVNearITContentListener implements ContentsListener {
... | fix(android): correctly set event type for feedback | nearit_Cordova-SDK | train | java |
88a3fdc3f4fa34279b2bba9a16731f8e87598928 | diff --git a/views/js/runner/proxy.js b/views/js/runner/proxy.js
index <HASH>..<HASH> 100644
--- a/views/js/runner/proxy.js
+++ b/views/js/runner/proxy.js
@@ -106,7 +106,6 @@ define([
}
if (err) {
- proxy.trigger('error', err);
... | Prevent generation of the extra error event | oat-sa_extension-tao-test | train | js |
6dcf75dfe71f3b6d4d824f4abb295cece32e4f13 | diff --git a/src/ErrorConsole/Renderers/ErrorConsoleRenderer.php b/src/ErrorConsole/Renderers/ErrorConsoleRenderer.php
index <HASH>..<HASH> 100644
--- a/src/ErrorConsole/Renderers/ErrorConsoleRenderer.php
+++ b/src/ErrorConsole/Renderers/ErrorConsoleRenderer.php
@@ -178,6 +178,8 @@ class ErrorConsoleRenderer
#... | Max height and scrolling on error popup. | php-kit_php-web-console | train | php |
5d4184de23b56f13c83b7596e89898161b5541da | diff --git a/lib/core/GameDB.js b/lib/core/GameDB.js
index <HASH>..<HASH> 100644
--- a/lib/core/GameDB.js
+++ b/lib/core/GameDB.js
@@ -162,9 +162,14 @@
}
}
+ if ('undefined' === typeof opts.header &&
+ 'undefined' === typeof opts.headers) {
+
+ opts.header = 'all';
+... | CSV headers all by default (before only for flatten) | nodeGame_nodegame-client | train | js |
20ebd823dc4758afab5d91c8effa682a4a099967 | diff --git a/MAVProxy/modules/mavproxy_proximity.py b/MAVProxy/modules/mavproxy_proximity.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_proximity.py
+++ b/MAVProxy/modules/mavproxy_proximity.py
@@ -123,8 +123,10 @@ class proximity(mp_module.MPModule):
increment = m.increment_f
... | mavproxy_proximity: correct rotations for obstacle_distance points | ArduPilot_MAVProxy | train | py |
c5489226253b7b99fcdaadd87fc25726d304d574 | diff --git a/test/raven.test.js b/test/raven.test.js
index <HASH>..<HASH> 100644
--- a/test/raven.test.js
+++ b/test/raven.test.js
@@ -964,6 +964,10 @@ describe('Raven (public API)', function() {
assert.isFalse(isSetup());
});
+ it('should return Raven for a falsey dsn', function() {
+ ... | Make sure no-op config calls are chainable | getsentry_sentry-javascript | train | js |
5dc1865b7527e324d8cc142446441742c447ff8a | diff --git a/test/helpers/cilium.go b/test/helpers/cilium.go
index <HASH>..<HASH> 100644
--- a/test/helpers/cilium.go
+++ b/test/helpers/cilium.go
@@ -69,7 +69,7 @@ func (s *SSHMeta) EndpointGet(id string) *models.Endpoint {
return nil
}
var data []models.Endpoint
- endpointGetCmd := fmt.Sprintf("endpoint get %s... | test: Always execute "cilium endpoint get" with -o json | cilium_cilium | train | go |
a813bde0626c16fe693db74cbc2ea7c331a177d3 | diff --git a/src/socketio/asyncio_pubsub_manager.py b/src/socketio/asyncio_pubsub_manager.py
index <HASH>..<HASH> 100644
--- a/src/socketio/asyncio_pubsub_manager.py
+++ b/src/socketio/asyncio_pubsub_manager.py
@@ -1,3 +1,4 @@
+import asyncio
from functools import partial
import uuid
@@ -148,6 +149,8 @@ class Async... | Handle CancelledError in async pubsub managers (Fixes #<I>) | miguelgrinberg_python-socketio | train | py |
36544088b73666d624dd1d221f15d5efa1f25cc1 | diff --git a/test/Compiler.test.js b/test/Compiler.test.js
index <HASH>..<HASH> 100644
--- a/test/Compiler.test.js
+++ b/test/Compiler.test.js
@@ -12,7 +12,7 @@ const Compiler = require("../lib/Compiler");
describe("Compiler", () => {
function compile(entry, options, callback) {
const noOutputPath = !options.outp... | bugfix for changed API of options defaulter | webpack_webpack | train | js |
8f39311e5dec29d2844c372468464cf0320e79d3 | diff --git a/lib/functions/unpackRemote.js b/lib/functions/unpackRemote.js
index <HASH>..<HASH> 100755
--- a/lib/functions/unpackRemote.js
+++ b/lib/functions/unpackRemote.js
@@ -3,7 +3,7 @@ const path = require('path');
const createFile = require('./createFile.js');
const getAllFiles = require('./getAllFiles.js');
... | And that my friends if we we have CircleCI | MaartenDesnouck_google-apps-script | train | js |
b493c7784eda91a8d6cf539140713c28bda840db | diff --git a/tests/pytest-pypi/pytest_pypi/app.py b/tests/pytest-pypi/pytest_pypi/app.py
index <HASH>..<HASH> 100644
--- a/tests/pytest-pypi/pytest_pypi/app.py
+++ b/tests/pytest-pypi/pytest_pypi/app.py
@@ -90,6 +90,8 @@ class Package(object):
pkg = distlib.wheel.Wheel(path_to_binary)
md_dict ... | Only include first two requires_python markers | pypa_pipenv | train | py |
41c77a46d01b91d563c4dd55be64a55c1d1f06bb | diff --git a/mars-styleguide-build.js b/mars-styleguide-build.js
index <HASH>..<HASH> 100644
--- a/mars-styleguide-build.js
+++ b/mars-styleguide-build.js
@@ -93,10 +93,13 @@ class MarsStyleGuideBuild {
resolveNodeModuleFolder(moduleName) {
const parent = path.resolve(process.cwd(), '../', moduleName);
con... | capture one last folder structure possibility for resolving node modules. | forever-inc_forever-style-guide | train | js |
6509abc731bffdf3a795423a1dde3944cac18512 | diff --git a/test/mapreduce/test_support.py b/test/mapreduce/test_support.py
index <HASH>..<HASH> 100644
--- a/test/mapreduce/test_support.py
+++ b/test/mapreduce/test_support.py
@@ -120,7 +120,7 @@ class TestFramework(WDTestCase):
def test_map_only(self):
job_conf = {'this.is.not.used': '22'}
- ... | Put back log default for tests to CRITICAL. | crs4_pydoop | train | py |
08214ec90fe08a8c1b7f1f69b96b5552413ed164 | diff --git a/lib/vagrant/action/warden.rb b/lib/vagrant/action/warden.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/action/warden.rb
+++ b/lib/vagrant/action/warden.rb
@@ -100,14 +100,13 @@ module Vagrant
# a `nil` args will actually pass `nil` into the class.
args ||= []
-
if klass.is_a... | Ensure action param is a symbol, and if nil return to do nothing | hashicorp_vagrant | train | rb,rb |
e8919501ac41444d7df5a6cbf757dbb0023183d2 | diff --git a/jenkins/plugin/src/test/java/com/hp/octane/plugins/jenkins/tests/JUnitResultsTest.java b/jenkins/plugin/src/test/java/com/hp/octane/plugins/jenkins/tests/JUnitResultsTest.java
index <HASH>..<HASH> 100644
--- a/jenkins/plugin/src/test/java/com/hp/octane/plugins/jenkins/tests/JUnitResultsTest.java
+++ b/jenk... | US <I> - JI: Collect failure cause(error message + stacktrace) - Jenkins as part of the test push | hpsa_hpe-application-automation-tools-plugin | train | java |
0d84b94f0c810ec8ad74066d026cb450a1846e9d | diff --git a/tests/Phinx/Db/Adapter/SQLiteAdapterTest.php b/tests/Phinx/Db/Adapter/SQLiteAdapterTest.php
index <HASH>..<HASH> 100644
--- a/tests/Phinx/Db/Adapter/SQLiteAdapterTest.php
+++ b/tests/Phinx/Db/Adapter/SQLiteAdapterTest.php
@@ -117,7 +117,7 @@ class SQLiteAdapterTest extends TestCase
'Attached t... | Run the correct test before committing... | cakephp_phinx | train | php |
e64c57453f8f0d4a8ca696d1da1e6925902c4d49 | diff --git a/infile.go b/infile.go
index <HASH>..<HASH> 100644
--- a/infile.go
+++ b/infile.go
@@ -35,6 +35,11 @@ func RegisterLocalFile(filepath string) {
fileRegister[strings.Trim(filepath, `"`)] = true
}
+// DeregisterLocalFile removes the given filepath from the whitelist.
+func DeregisterLocalFile(filepath st... | INFILE deregister functions
Provide functions to remove ReaderHandler and filepaths from the
registry | go-sql-driver_mysql | train | go |
74221a0df78b449cad693fb1133e1434a51d2676 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -24,7 +24,7 @@ exports.assertCompatible = (A, B, msg) => {
exports.plugin = {
pkg: Package,
- mutliple: true,
+ multiple: true,
register: function (server, options) {
Joi.assert(op... | Fixing small, dumb mistakes fixed elsewhere, here
Quickly patching | hapipal_schwifty | train | js |
274c4c8676644a839be6b886609b823df5d50dc8 | diff --git a/code/fields/AttendeeField.php b/code/fields/AttendeeField.php
index <HASH>..<HASH> 100644
--- a/code/fields/AttendeeField.php
+++ b/code/fields/AttendeeField.php
@@ -72,7 +72,7 @@ class AttendeeField extends CompositeField
$this->setChildren($children);
// Add a hook to modify the added... | created a reservation config and added extra vars to extension hook in Attendee field | TheBnl_event-tickets | train | php,php |
ce96088027dbcd536cd2f56def28c1926bf055df | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,10 +24,11 @@ setup(
'mock',
],
classifiers=[
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Frame... | Updated setup.py to reflect the recent changes. | toastdriven_restless | train | py |
d73b10870f119ec7ef6e52c2e877613dac717a13 | diff --git a/lib/messaging/log.rb b/lib/messaging/log.rb
index <HASH>..<HASH> 100644
--- a/lib/messaging/log.rb
+++ b/lib/messaging/log.rb
@@ -2,8 +2,6 @@ module Messaging
class Log < ::Log
def tag!(tags)
tags << :messaging
- tags << :library
- tags << :verbose
end
end
end | Library and verbose log tags are removed | eventide-project_messaging | train | rb |
3cb7da2fad6e719d59134d9d15cb91ce4fae19ff | diff --git a/engineer/engine.py b/engineer/engine.py
index <HASH>..<HASH> 100644
--- a/engineer/engine.py
+++ b/engineer/engine.py
@@ -344,8 +344,9 @@ def serve(args):
debug_server = bottle.Bottle()
debug_server.mount('/_emma', emma.Emma().app)
+ @debug_server.route('/')
@debug_server.route('/<f... | Add default route for / in debug server.
Fixes #<I>, which doesn't appear to affect Windows but causes problems on OS X and Linux. | tylerbutler_engineer | train | py |
e2499c4103fdb4fe8ab3d6a58f7b999c0550370d | diff --git a/src/Renderer/AbstractRenderer.php b/src/Renderer/AbstractRenderer.php
index <HASH>..<HASH> 100644
--- a/src/Renderer/AbstractRenderer.php
+++ b/src/Renderer/AbstractRenderer.php
@@ -107,7 +107,7 @@ abstract class AbstractRenderer
*/
public function renderElement(AbstractElement $element)
{
... | update render to not render multiple erorrs on element | bytic_form | train | php |
6cdfe1a824c845eb88ef9c95b8edfdd74f52439b | diff --git a/lib/navigationlib.php b/lib/navigationlib.php
index <HASH>..<HASH> 100644
--- a/lib/navigationlib.php
+++ b/lib/navigationlib.php
@@ -2092,7 +2092,7 @@ class global_navigation extends navigation_node {
$featuresfunc = $cm->modname.'_supports';
if (function_exists($featuresfunc) && $featur... | MDL-<I> advanced grading: correct use of frankenstyle names for consistency | moodle_moodle | train | php |
537729ef7f14db363fe5a8a7c8f7f14e63c2d98d | diff --git a/src/Driver/Driver.php b/src/Driver/Driver.php
index <HASH>..<HASH> 100644
--- a/src/Driver/Driver.php
+++ b/src/Driver/Driver.php
@@ -385,18 +385,18 @@ abstract class Driver implements DriverInterface, LoggerAwareInterface
protected function bindParameters(\PDOStatement $statement, array $parameters):... | - improving null query generation for sqlite multi-insert fallback | spiral_database | train | php,php |
e615694b7e8759aedd7ee5197e2b523533eb68fb | diff --git a/pymc3/plots/forestplot.py b/pymc3/plots/forestplot.py
index <HASH>..<HASH> 100644
--- a/pymc3/plots/forestplot.py
+++ b/pymc3/plots/forestplot.py
@@ -257,13 +257,13 @@ def forestplot(trace_obj, varnames=None, transform=identity_transform, alpha=0.0
gs.update(left=left_margin, right=0.95, top=0.9, bott... | Fixes y-axis limits and labeling in forestplot | pymc-devs_pymc | train | py |
94200749435cd3aedeb9a698cf31b6941663546b | diff --git a/src/core/field.js b/src/core/field.js
index <HASH>..<HASH> 100644
--- a/src/core/field.js
+++ b/src/core/field.js
@@ -375,7 +375,7 @@ export default class Field {
if (isCallable(el.$watch)) {
options.component = el;
options.el = el.$el;
- options.getter = Generator.resolveGe... | pass the component vnode to the getter resolver closes #<I> | baianat_vee-validate | train | js |
0432dd04b1fd2ae32e9b91719165e9b6f23c9279 | diff --git a/pybry/constants.py b/pybry/constants.py
index <HASH>..<HASH> 100644
--- a/pybry/constants.py
+++ b/pybry/constants.py
@@ -11,7 +11,11 @@ DTYPE_MAPPING = {'list': "list",
'bool': "bool",
'int': "int",
'dict': "dict",
- 'str': "str"}
+ ... | constants: add constants to the `DTYPE_MAPPING` dictionary
Since <I> the `api.json` file was augmented to include new methods
with new types for its arguments.
The type
`string` becomes `str`,
`str, list` becomes `list`,
`str or list` becomes `list`,
and `date` becomes `str`. | osilkin98_PyBRY | train | py |
9e7e15d0a78df5c21d1593fd26b565d80e8f12f7 | diff --git a/tests/testArgumentsParser.py b/tests/testArgumentsParser.py
index <HASH>..<HASH> 100644
--- a/tests/testArgumentsParser.py
+++ b/tests/testArgumentsParser.py
@@ -53,7 +53,6 @@ class testArgumentParser(unittest.TestCase):
args = get_common_args(self.parser, '-k /etc/passwd'.split())
self.a... | Fix inadvertently redefined test
This commit changes the method name for a tests to better reflect the
test subject and to stop overriding the test with the same method name. | greenbone_ospd | train | py |
a92f50adcad17cca2137de05735cf4d972a46837 | diff --git a/closure/goog/base_test.js b/closure/goog/base_test.js
index <HASH>..<HASH> 100644
--- a/closure/goog/base_test.js
+++ b/closure/goog/base_test.js
@@ -839,7 +839,6 @@ function testPartialMultipleCalls() {
assertArrayEquals(['foo', 'bar'], calls[3].getArguments());
}
-
function testGlobalEval() {
g... | Remove deprecated and unused method Function.prototype.partial.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
df99d7e1bd818200ea81b35b3ec6949d54ee04e9 | diff --git a/source/components/text/index.js b/source/components/text/index.js
index <HASH>..<HASH> 100644
--- a/source/components/text/index.js
+++ b/source/components/text/index.js
@@ -23,7 +23,6 @@ export default class Text extends React.Component {
static defaultProps = {
element: 'span',
align: 'left'... | Inherit font size from parent by default in Text component | daonomic_daonomic-ui | train | js |
aca592ad93ededb08a9c638e775ebbcaca529d05 | diff --git a/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php b/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php
+++ b/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php
@@ -213,6 +213,7 @@ class SchemaShellTest ext... | Avoiding the use of default connection in schema shell tests | cakephp_cakephp | train | php |
bbcaa88cec8bb224a9a8e5f6e10d9d7d428bc485 | diff --git a/src/Common/TimeExpression.php b/src/Common/TimeExpression.php
index <HASH>..<HASH> 100644
--- a/src/Common/TimeExpression.php
+++ b/src/Common/TimeExpression.php
@@ -80,6 +80,10 @@ class TimeExpression
{
$format = '';
+ if (empty($this->time)) {
+ return '0 second';
+ ... | fixed an error with 0|empty time expression | peakphp_framework | train | php |
812e3c40dac1e0225391481073c64da5bafba93e | diff --git a/test/pydot_unittest.py b/test/pydot_unittest.py
index <HASH>..<HASH> 100644
--- a/test/pydot_unittest.py
+++ b/test/pydot_unittest.py
@@ -14,7 +14,7 @@ import pydot
import unittest
-DOT_BINARY_PATH = pydot.find_graphviz()['dot']
+DOT_BINARY_PATH = 'dot'
TEST_DIR = './'
... | MAI: call `dot` in tests, instead of removed function `find_graphviz` | pydot_pydot | train | py |
c0397df73c45bda54e93781c2d2d85a3a9b04604 | diff --git a/quantecon/markov/tests/test_core.py b/quantecon/markov/tests/test_core.py
index <HASH>..<HASH> 100644
--- a/quantecon/markov/tests/test_core.py
+++ b/quantecon/markov/tests/test_core.py
@@ -477,6 +477,15 @@ class TestMCStateValues:
X = getattr(mc, method)(ts_length, init)
assert_a... | MarkovChain: Add test for simulate_values with init_value=None
Test should fail for this commit | QuantEcon_QuantEcon.py | train | py |
02c55bf6342dac41953859c7a2ca49c4345dd74f | diff --git a/packages/now-cli/src/commands/list.js b/packages/now-cli/src/commands/list.js
index <HASH>..<HASH> 100644
--- a/packages/now-cli/src/commands/list.js
+++ b/packages/now-cli/src/commands/list.js
@@ -51,12 +51,6 @@ const help = () => {
${chalk.cyan(`$ ${getPkgName()} ls my-app`)}
- ${chalk.gray(
- ... | [cli] Remove legacy example from vc ls --help (#<I>)
`vc ls --help` was still listing an example using `--all` which was removed with Now <I> in PR #<I>.
This PR removes that legacy example. | zeit_now-cli | train | js |
2b59b03d66d192db005498675341f619ba75f7e9 | diff --git a/library/CM/App.js b/library/CM/App.js
index <HASH>..<HASH> 100644
--- a/library/CM/App.js
+++ b/library/CM/App.js
@@ -284,6 +284,8 @@ var CM_App = CM_Class_Abstract.extend({
silverlightName: cm.getUrlResource('layout', 'swf/silverlightmediaelement.xap'),
videoWidth: '100%',
videoHeight: '100... | Added default height and width to mediaelement setup | cargomedia_cm | train | js |
2531feb14bcb34e98d1404b6965eaac64cb2d4f0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -22,7 +22,7 @@ function Limon (input, options) {
this.plugins = utils.isArray(this.options.plugins) ? this.options.plugins : []
this.tokens = utils.isArray(this.options.tokens) ? this.options.tokens : []
this.input = ... | update to use the new dot notation in lazy-cache | postcore_limon | train | js,js |
8b9cd0754470a06fa17119dd148c8b336af8cdfd | diff --git a/src/Address/AddressesInterface.php b/src/Address/AddressesInterface.php
index <HASH>..<HASH> 100644
--- a/src/Address/AddressesInterface.php
+++ b/src/Address/AddressesInterface.php
@@ -16,7 +16,7 @@ interface AddressesInterface
{
public function getAddresses(): ?Traversable;
- public function a... | Follow the current convention for setter methods | activecollab_payments | train | php |
e31d75eca8224766f22351f25f727b835d336dbc | diff --git a/builder/amazon/chroot/step_snapshot.go b/builder/amazon/chroot/step_snapshot.go
index <HASH>..<HASH> 100644
--- a/builder/amazon/chroot/step_snapshot.go
+++ b/builder/amazon/chroot/step_snapshot.go
@@ -71,6 +71,12 @@ func (s *StepSnapshot) Run(state multistep.StateBag) multistep.StepAction {
}
state.... | Quick fix for issue #<I> | hashicorp_packer | train | go |
ed76eab6c4537c866c164d2257f41cc16d178d5d | diff --git a/ricecooker/chefs.py b/ricecooker/chefs.py
index <HASH>..<HASH> 100644
--- a/ricecooker/chefs.py
+++ b/ricecooker/chefs.py
@@ -330,8 +330,8 @@ class SushiChef(BaseChef):
Sushi chef scripts call the `main` method as the entry point, which in turn
calls the `run` method to performs all the work (see... | Added comment abotu what is stored there | learningequality_ricecooker | train | py |
236bf310c0b80490052c3c828bc24d1be5994fb6 | diff --git a/tensor2tensor/layers/bayes.py b/tensor2tensor/layers/bayes.py
index <HASH>..<HASH> 100644
--- a/tensor2tensor/layers/bayes.py
+++ b/tensor2tensor/layers/bayes.py
@@ -318,7 +318,7 @@ class TrainableHeNormal(TrainableNormal):
def get_config(self):
return {
'seed': self.seed,
- 'dtype'... | Fixed a serialization bug in the Bayesian initializers.
PiperOrigin-RevId: <I> | tensorflow_tensor2tensor | train | py |
45696043a52e9800e43aa8f0a447f932b9de527c | diff --git a/fastai/callback/fp16.py b/fastai/callback/fp16.py
index <HASH>..<HASH> 100644
--- a/fastai/callback/fp16.py
+++ b/fastai/callback/fp16.py
@@ -105,8 +105,7 @@ def test_overflow(x:torch.Tensor # Fp16 gradients
return (s == float('inf') or s == float('-inf') or s != s)
# Cell
-def grad_overflow(pgs:[[... | Update fastai/callback/fp<I>.py | fastai_fastai | train | py |
209c67d078d52d1d546ae63c55c2cc3e14b02647 | diff --git a/lib/run.js b/lib/run.js
index <HASH>..<HASH> 100644
--- a/lib/run.js
+++ b/lib/run.js
@@ -90,8 +90,8 @@ module.exports = function (options, callback) {
// override the `done` event to fire the end callback
callbacks.done = function (err) { // @todo - do some meory cleanup here?
- ... | Moved the done event to happen before the `done` callback is fired so that all `done` related processing by summary and reporters are completed. | postmanlabs_newman | train | js |
2cb1e1a031dd30aca24eeaee8da9820faf0efb97 | diff --git a/app/models/drug.rb b/app/models/drug.rb
index <HASH>..<HASH> 100644
--- a/app/models/drug.rb
+++ b/app/models/drug.rb
@@ -23,7 +23,7 @@ class Drug < ActiveRecord::Base
end
def as_indexed_json(options={})
- as_json(only: %i(name type))
+ as_json(only: :name, include: { drug_types: { only: :n... | Added indexing for drug_types for elasticsearch. | airslie_renalware-core | train | rb |
722bc99041b03aaf98c099ee46e14f724cc33018 | diff --git a/chef/lib/chef/exceptions.rb b/chef/lib/chef/exceptions.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/exceptions.rb
+++ b/chef/lib/chef/exceptions.rb
@@ -119,10 +119,6 @@ class Chef
# Invalid "source" parameter to a remote_file resource
class InvalidRemoteFileURI < ArgumentError; end
- #... | CHEF-<I>: Re-remove ShellCommandFailed exception
I readded ShellCommandFailed that was removed in
b<I>efc<I>a<I>c<I>a7f<I>d<I>a9b while rebasing. Fix that. | chef_chef | train | rb |
26608d46828487b6e422c471faf69c9c85e4ce5d | diff --git a/lib/credentials/cognito_identity_credentials.js b/lib/credentials/cognito_identity_credentials.js
index <HASH>..<HASH> 100644
--- a/lib/credentials/cognito_identity_credentials.js
+++ b/lib/credentials/cognito_identity_credentials.js
@@ -297,7 +297,7 @@ AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS... | Android Users have localStorage as null
On android phones, we have seen that there are times when `window.localStorage` is null. Since it's an object, we're actually using `null` as our storage. This should not be the case. | aws_aws-sdk-js | train | js |
1b5495dccb562af7eb4abf10c14af093931ef2dd | diff --git a/attitude/orientation/pca.py b/attitude/orientation/pca.py
index <HASH>..<HASH> 100644
--- a/attitude/orientation/pca.py
+++ b/attitude/orientation/pca.py
@@ -212,12 +212,10 @@ class PCAOrientation(BaseOrientation):
Sometimes, dips are greater by as much as 45 degrees,
reflecting i... | Updated strike and dip to be consistent | davenquinn_Attitude | train | py |
c1152b7ade53f2f001f6e54912072200553abad1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -164,7 +164,7 @@ function readImportedContent(atRule, parsedAtImport, options, resolvedFilename,
var fileContent = readFile(resolvedFilename, options.encoding, options.transform || function(value) { return value })
if... | try to log() instead of warn() to fix build on windows | postcss_postcss-import | train | js |
0c4142c927cddf3c28f16eb5f03c6c797a160779 | diff --git a/tests/Unit/InstantiableTypesTest/InstantiableTypesTest.php b/tests/Unit/InstantiableTypesTest/InstantiableTypesTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/InstantiableTypesTest/InstantiableTypesTest.php
+++ b/tests/Unit/InstantiableTypesTest/InstantiableTypesTest.php
@@ -9,8 +9,10 @@ use Rebing\G... | Freeze the time to trigger date test | rebing_graphql-laravel | train | php |
e1aca8e0bc0d95d4ae61edab21171710f3dbe160 | diff --git a/tensorflow_probability/python/distributions/transformed_distribution.py b/tensorflow_probability/python/distributions/transformed_distribution.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/transformed_distribution.py
+++ b/tensorflow_probability/python/distributions/trans... | [TFP] Clarify docstring about KL divergence of TransformedDistribution.
PiperOrigin-RevId: <I> | tensorflow_probability | train | py |
31f05be2faae4b4dcf83a210bc2c90b149e04dfe | diff --git a/src/Util/Factory/CommonFactory.php b/src/Util/Factory/CommonFactory.php
index <HASH>..<HASH> 100644
--- a/src/Util/Factory/CommonFactory.php
+++ b/src/Util/Factory/CommonFactory.php
@@ -1775,6 +1775,7 @@ class CommonFactory implements Factory, DomainEventHandlerFactory, CommandHandle
}
/**
+ ... | Issue #<I>: Add missing PHPDoc | lizards-and-pumpkins_catalog | train | php |
7d885fd932ee94be219197210e795f640db18c5e | diff --git a/structr-ui/src/main/resources/structr/js/graph.js b/structr-ui/src/main/resources/structr/js/graph.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/graph.js
+++ b/structr-ui/src/main/resources/structr/js/graph.js
@@ -920,6 +920,9 @@ var _Graph = {
//_Graph.updateNodeTypes();... | prevent edges from being handed to sigma.js to prevent errors for duplicate edges being thrown | structr_structr | train | js |
0112425a6171899d6722443552744851c0f17d65 | diff --git a/src/Endpoints/Zones.php b/src/Endpoints/Zones.php
index <HASH>..<HASH> 100644
--- a/src/Endpoints/Zones.php
+++ b/src/Endpoints/Zones.php
@@ -27,11 +27,11 @@ class Zones implements API
* @param string $organizationID
* @return \stdClass
*/
- public function addZone(string $name, bool $... | Rename $jump_start to $jumpStart to follow camelCase conventions for variables | cloudflare_cloudflare-php | train | php |
c6485bcac5cd1bf6664552af5d0e579d55b88ba2 | diff --git a/src/sources.js b/src/sources.js
index <HASH>..<HASH> 100644
--- a/src/sources.js
+++ b/src/sources.js
@@ -11,6 +11,7 @@
var _sources = [
// "boot", // Boot (host detection + non-UMD loader)
"assert", /... | noConflict as a separate module | ArnaudBuchholz_gpf-js | train | js |
145edc00a0f5864a7079692cf42a2fd6704da2c1 | diff --git a/languagetool-core/src/main/java/org/languagetool/Language.java b/languagetool-core/src/main/java/org/languagetool/Language.java
index <HASH>..<HASH> 100644
--- a/languagetool-core/src/main/java/org/languagetool/Language.java
+++ b/languagetool-core/src/main/java/org/languagetool/Language.java
@@ -426,15 +4... | deprecate the methods to access start and end symbols - these are so specific that they will probably be moved to GenericUnpairedBracketsRule | languagetool-org_languagetool | train | java |
20206c72f6339d513fd3125b69a8b40a75598a11 | diff --git a/src/main/java/skadistats/clarity/decoder/BitStream.java b/src/main/java/skadistats/clarity/decoder/BitStream.java
index <HASH>..<HASH> 100644
--- a/src/main/java/skadistats/clarity/decoder/BitStream.java
+++ b/src/main/java/skadistats/clarity/decoder/BitStream.java
@@ -7,7 +7,10 @@ public class BitStream {... | fix (or rather work around) read overrun in new replays (example
<I>), thx decoud | skadistats_clarity | train | java |
4bb145ba4f55b9cdffc4d64cbd3ab38cf39743c5 | diff --git a/src/html.js b/src/html.js
index <HASH>..<HASH> 100644
--- a/src/html.js
+++ b/src/html.js
@@ -52,8 +52,12 @@
ContextMenu.items[index] = {
id: index,
- callback: item.callback
+ callback: item.callback,
+ data:null
};
+ if (item.data != null){
+ Cont... | propagating custom data to the callback handler | jonataswalker_ol-contextmenu | train | js,js |
301edd0144056bce54221ad2012faccf9261aa5a | diff --git a/npm/publish.js b/npm/publish.js
index <HASH>..<HASH> 100644
--- a/npm/publish.js
+++ b/npm/publish.js
@@ -1,4 +1,4 @@
-const spawn = require("child_process").spawn;
+const spawn = require("child_process").spawn; // eslint-disable-line detect-child-process
const dirname = require("path").dirname;
cons... | disable rule for eslint | q2g_daVinci.js | train | js |
723ef2cd917de0578c7ef714f107fdc0cf9e112f | diff --git a/constance/admin.py b/constance/admin.py
index <HASH>..<HASH> 100644
--- a/constance/admin.py
+++ b/constance/admin.py
@@ -1,7 +1,6 @@
-from datetime import datetime, date
+from datetime import datetime, date, time
from decimal import Decimal
from operator import itemgetter
-from time import time
from ... | fixed: time field instance of datetime.time | jazzband_django-constance | train | py |
a7d0b0b9e887782bf1ed795152a845da87729c52 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -312,7 +312,7 @@ jQuery.fn.init.prototype = jQuery.fn;
jQuery.extend = jQuery.fn.extend = function() {
// copy reference to target object
- var target = arguments[0] || {}, i = 1, length = arguments.length, de... | Var wasn't being explicitly declared. Fixes #<I>. | jquery_jquery | train | js |
42b6c67324e13b8712af6730f77e5e9544ef63b0 | diff --git a/stl/base.py b/stl/base.py
index <HASH>..<HASH> 100644
--- a/stl/base.py
+++ b/stl/base.py
@@ -491,6 +491,15 @@ class BaseMesh(logger.Logged, abc.Mapping):
self.rotate_using_matrix(self.rotation_matrix(axis, theta), point)
def rotate_using_matrix(self, rotation_matrix, point=None):
+ ... | added documentation to fix #<I> | WoLpH_numpy-stl | train | py |
b4dfb30d23a920c2c9bcd35d6e26eb3a5439eedf | diff --git a/Command/Abstracts/AbstractRSQueueCommand.php b/Command/Abstracts/AbstractRSQueueCommand.php
index <HASH>..<HASH> 100644
--- a/Command/Abstracts/AbstractRSQueueCommand.php
+++ b/Command/Abstracts/AbstractRSQueueCommand.php
@@ -52,7 +52,7 @@ abstract class AbstractRSQueueCommand extends ContainerAwareCommand... | Closes #<I> Fixed minor issue | RSQueue_RSQueueBundle | train | php |
92d31a31145db92f4a9ee3d3bbe3656c41fa7865 | diff --git a/crossplane/__init__.py b/crossplane/__init__.py
index <HASH>..<HASH> 100644
--- a/crossplane/__init__.py
+++ b/crossplane/__init__.py
@@ -10,7 +10,7 @@ __title__ = 'crossplane'
__summary__ = 'Reliable and fast NGINX configuration file parser.'
__url__ = 'https://github.com/nginxinc/crossplane'
-__versi... | Increased version to <I> | nginxinc_crossplane | train | py |
10129ee6a0c315d870ec571481fe72635cf3639b | diff --git a/janitor/credentials.py b/janitor/credentials.py
index <HASH>..<HASH> 100644
--- a/janitor/credentials.py
+++ b/janitor/credentials.py
@@ -41,6 +41,6 @@ def assumed_session(role_arn, session_name, session=None):
# so dirty.. it hurts, no clean way to set this outside of the internals poke
s = get_... | sigh, fix assumed session role typo | cloud-custodian_cloud-custodian | train | py |
c0e179d01feeb02c149432afd555a17d3b77699d | diff --git a/tests/Unit/ConfigLoaderTest.php b/tests/Unit/ConfigLoaderTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/ConfigLoaderTest.php
+++ b/tests/Unit/ConfigLoaderTest.php
@@ -25,6 +25,7 @@ namespace Helhum\TYPO3\ConfigHandling\Tests\Unit;
use Helhum\TYPO3\ConfigHandling\ConfigLoader;
use org\bovigo\vfs\vf... | Skip test for serialized ext setting in TYPO3 <I> | helhum_typo3-config-handling | train | php |
906de5f87e13d594dd35be15f5190c22a49f7a60 | diff --git a/lib/pronto/haml.rb b/lib/pronto/haml.rb
index <HASH>..<HASH> 100644
--- a/lib/pronto/haml.rb
+++ b/lib/pronto/haml.rb
@@ -26,7 +26,7 @@ module Pronto
def new_message(lint, line)
path = line.patch.delta.new_file[:path]
- Message.new(path, line, lint.severity, lint.message)
+ Message.... | Add the runner class into the report message | prontolabs_pronto-haml | train | rb |
73df0806ec9aeadc0fdcf8f2fe87f92a29a241fd | diff --git a/lib/swig.js b/lib/swig.js
index <HASH>..<HASH> 100644
--- a/lib/swig.js
+++ b/lib/swig.js
@@ -133,10 +133,6 @@ function getTemplate(source, options) {
exports.compileFile = function (filepath, forceAllowErrors) {
var tpl, get;
- if (filepath[0] === '/') {
- filepath = filepath.substr(1);
- }
-
... | Fix compiling files from absolute paths
fixes gh-<I>
closes gh-<I> | Thunf_swiger | train | js,js |
e657313307e3e522591ad6cd663bbc8f50c502ca | diff --git a/Generator/YMLFile.php b/Generator/YMLFile.php
index <HASH>..<HASH> 100644
--- a/Generator/YMLFile.php
+++ b/Generator/YMLFile.php
@@ -63,7 +63,12 @@ class YMLFile extends File {
*/
protected function getYamlBody($yaml_data_array) {
$yaml_parser = new \Symfony\Component\Yaml\Yaml;
- $yaml = $... | Added ability to Yaml file generator customise inline level for YAML dumper. | drupal-code-builder_drupal-code-builder | train | php |
f25b70070826d0933ad23457d2f626afe6b0549f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -2,7 +2,7 @@
//====================================================================
-var Promise = require('bluebird');
+var Bluebird = require('bluebird');
var logSymbols = require('log-symbols');
//=================... | Promise is already taken in ES6. | JsCommunity_exec-promise | train | js |
513bc731a5c88caa3dd318866756805d9705156f | diff --git a/src/Metabor/Statemachine/Util/SetupHelper.php b/src/Metabor/Statemachine/Util/SetupHelper.php
index <HASH>..<HASH> 100644
--- a/src/Metabor/Statemachine/Util/SetupHelper.php
+++ b/src/Metabor/Statemachine/Util/SetupHelper.php
@@ -39,7 +39,7 @@ class SetupHelper
}
/**
- * @param $name
+ ... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | Metabor_Statemachine | train | php |
e45a4dfc4d28ed5ec3eddeb8679e9d27f4b5d719 | diff --git a/src/Routing/Redirector.php b/src/Routing/Redirector.php
index <HASH>..<HASH> 100644
--- a/src/Routing/Redirector.php
+++ b/src/Routing/Redirector.php
@@ -53,9 +53,7 @@ class Redirector
*/
public function back($status = 302, $headers = array())
{
- $back = $this->generator->getRequest... | Improve the Nova\Routing\Redirector | nova-framework_system | train | php |
a1c9ed7b6b11ac44bda5710b0dd48712053a2d8a | diff --git a/cruddy/lambdaclient.py b/cruddy/lambdaclient.py
index <HASH>..<HASH> 100644
--- a/cruddy/lambdaclient.py
+++ b/cruddy/lambdaclient.py
@@ -102,7 +102,7 @@ class LambdaClient(object):
def delete(self, item_id, **kwargs):
id_name = kwargs.get('id_name', 'id')
- data = {'operation': 'get... | Fixing a copy paste error that was causing the delete operation to be a get | Min-ops_cruddy | train | py |
a41537a96c4eeadc24863edad58bddc4e37310eb | diff --git a/extended-cpts.php b/extended-cpts.php
index <HASH>..<HASH> 100755
--- a/extended-cpts.php
+++ b/extended-cpts.php
@@ -873,13 +873,13 @@ class Extended_CPT_Admin {
}
?>
- <style type="text/css">
<?php if ( isset( $this->args['admin_filters']['m'] ) && ! $this->args['admin_filters']['m'] ) { ?>
-... | Reformat so Sublime's syntax parser doesn't trip up. | johnbillion_extended-cpts | train | php |
7605ef08a7c10154021de7ca2dc3e3a289098a1b | diff --git a/src/Guzzle/Service/Command/CommandSet.php b/src/Guzzle/Service/Command/CommandSet.php
index <HASH>..<HASH> 100644
--- a/src/Guzzle/Service/Command/CommandSet.php
+++ b/src/Guzzle/Service/Command/CommandSet.php
@@ -89,7 +89,7 @@ class CommandSet implements \IteratorAggregate, \Countable
$co... | Adding requests asynchronously when sending CommandSets | guzzle_guzzle3 | train | php |
1009fd820ff4967b2810836474e89f5bc69c6bcf | diff --git a/renku/service/controllers/templates_read_manifest.py b/renku/service/controllers/templates_read_manifest.py
index <HASH>..<HASH> 100644
--- a/renku/service/controllers/templates_read_manifest.py
+++ b/renku/service/controllers/templates_read_manifest.py
@@ -58,7 +58,9 @@ class TemplatesReadManifestCtrl(Ser... | resolve the template folder path (#<I>)
on macOS the /tmp and /var are symlinks to /private/tmp and /private/var, which causes problems when resolving relative paths. | SwissDataScienceCenter_renku-python | train | py |
04414edc01169acbd98a70596a4efa6a962aa8ba | diff --git a/prospector/profiles/profile.py b/prospector/profiles/profile.py
index <HASH>..<HASH> 100644
--- a/prospector/profiles/profile.py
+++ b/prospector/profiles/profile.py
@@ -356,4 +356,4 @@ def _load_profile(name_or_path, profile_path, shorthands_found=None,
inherit_order += new_il
shorthands... | astroid <I> dies to due a maximum recursion limit which, after binary chopping, seems to be due to the recursion in _load_profile. By creating a copy of the inherits list, the astroid recursion goes away, so this must be some follow-by-ref vs follow-by-val difference. | PyCQA_prospector | train | py |
d9fe1b2093beb865b05fc7d0110d033aa6f57c17 | diff --git a/nashvegas/management/commands/upgradedb.py b/nashvegas/management/commands/upgradedb.py
index <HASH>..<HASH> 100644
--- a/nashvegas/management/commands/upgradedb.py
+++ b/nashvegas/management/commands/upgradedb.py
@@ -158,8 +158,7 @@ class Command(BaseCommand):
migrations = self._filter_down()
... | continue execution even if there is nothing to migrate so that signals fire and loaddata runs | paltman-archive_nashvegas | train | py |
cbbd7c5ed71d703a5a38765529af376b15de885c | diff --git a/simulator/src/main/java/com/hazelcast/simulator/protocol/connector/AbstractServerConnector.java b/simulator/src/main/java/com/hazelcast/simulator/protocol/connector/AbstractServerConnector.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/protocol/connector/AbstractServ... | Avoided to catch Throwable in AbstractServerConnector (SonarQube issue). | hazelcast_hazelcast-simulator | train | java |
58f2dfd9e50a29f0813802529f8411c6eaa91722 | diff --git a/tracer/tracer.py b/tracer/tracer.py
index <HASH>..<HASH> 100644
--- a/tracer/tracer.py
+++ b/tracer/tracer.py
@@ -834,6 +834,10 @@ class Tracer(object):
if repair_entry_state_opts:
entry_state.options |= {so.TRACK_ACTION_HISTORY}
+ # add the preconstraints to the actual const... | use replacement solver in linux mode | angr_angr | train | py |
e0e1b5da6ab5d14e1c881517323abd4170c5f6c4 | diff --git a/yandextank/stepper/missile.py b/yandextank/stepper/missile.py
index <HASH>..<HASH> 100644
--- a/yandextank/stepper/missile.py
+++ b/yandextank/stepper/missile.py
@@ -367,7 +367,7 @@ class UriPostReader(Reader):
"Error while reading ammo file. Position: %s, header: '%s', origina... | LOADSUPPORT-<I> fix loop condition for uripost
ref:<I>cc<I>c2c<I>dfa8aade1aa<I>f6c<I>a<I>a6b | yandex_yandex-tank | train | py,py |
b55e123e5af98d4979bbf930d0c7cf9ab2171c45 | diff --git a/bcbio/structural/delly.py b/bcbio/structural/delly.py
index <HASH>..<HASH> 100644
--- a/bcbio/structural/delly.py
+++ b/bcbio/structural/delly.py
@@ -59,8 +59,11 @@ def _run_delly(bam_files, chrom, ref_file, work_dir, items):
try:
do.run(multi_cmd + " ".join(cmd), "del... | Delly: handle new failure modes with small sample sizes | bcbio_bcbio-nextgen | train | py |
082735908100d552ebe8ea05f82c5d4bf555fa97 | diff --git a/phoxy.js b/phoxy.js
index <HASH>..<HASH> 100755
--- a/phoxy.js
+++ b/phoxy.js
@@ -877,9 +877,15 @@ phoxy._EarlyStage =
}
if (1 || phoxy.prestart.sync_cascade)
+ {
+ phoxy.state.sync_cascade = true;
phoxy.RenderStrategy = phoxy.SyncRender_Strategy;
+ }
else
+... | Open for different way to shedule defer callback | phoxy_phoxy | train | js |
595a0375e7abf25f5144f244f0063f95b2fed611 | diff --git a/javascript/CMSMain.EditForm.js b/javascript/CMSMain.EditForm.js
index <HASH>..<HASH> 100644
--- a/javascript/CMSMain.EditForm.js
+++ b/javascript/CMSMain.EditForm.js
@@ -130,40 +130,6 @@
updateURLFromTitle.hide();
}
});
-
- /**
- * MenuTitle
- */
- $('.cms-edit-form input[name=MenuTitle]'... | Stop MenuTitle updating tree on change
If the MenuTitle is changed and the tree updates, not saving the
changes to the page leaves the tree with the new title instead of the
old, correct one (until a refresh). This also seems counter-intuitive
anyway - suggesting to users that their updated MenuTitle has been
saved be... | silverstripe_silverstripe-siteconfig | train | js |
21b5531ed544ec0f42d769199b8707a25a97ac0a | diff --git a/Random.php b/Random.php
index <HASH>..<HASH> 100644
--- a/Random.php
+++ b/Random.php
@@ -264,8 +264,10 @@ class Random {
*
* @param string $destination
* The absolute file path where the image should be stored.
- * @param int $min_resolution
- * @param int $max_resolution
+ * @param st... | Issue #<I> by Luke_Nuke, gueguerreiro: Mistake in the comment documenting the "image" method of the "Random" utility class | drupal_core-utility | train | php |
f58330ef71e2d745fdf244a88ed4c2502492faab | diff --git a/src/saml2/response.py b/src/saml2/response.py
index <HASH>..<HASH> 100644
--- a/src/saml2/response.py
+++ b/src/saml2/response.py
@@ -470,7 +470,7 @@ class AuthnResponse(StatusResponse):
return_addrs=None, outstanding_queries=None,
timeslack=0, asynchop=True, allow_unsolicited=Fal... | Revert this change as it is not required | IdentityPython_pysaml2 | train | py |
faf451637dffe420f47932621a4035347c978c70 | diff --git a/msmbuilder/example_datasets/base.py b/msmbuilder/example_datasets/base.py
index <HASH>..<HASH> 100644
--- a/msmbuilder/example_datasets/base.py
+++ b/msmbuilder/example_datasets/base.py
@@ -13,5 +13,5 @@ try:
clear_data_home, retry)
except ImportError:
warnings.warn("... | Fix for when msmb_data is not available | msmbuilder_msmbuilder | train | py |
eda094e52a19da2b384fb515dbfeecd237cd41d8 | diff --git a/simple_history/tests/models.py b/simple_history/tests/models.py
index <HASH>..<HASH> 100644
--- a/simple_history/tests/models.py
+++ b/simple_history/tests/models.py
@@ -61,20 +61,6 @@ class Document(models.Model):
class State(models.Model):
- library = models.ForeignKey('.Library', null=True)
- ... | fix duplicate models that sneaked in while rebasing. | treyhunner_django-simple-history | train | py |
7fde60cde8954ba80a1bb2eeb669022af232ed96 | diff --git a/liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java b/liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java
+++ b/liquibase-core/src/main/java... | SpringLiquibase createResourceOpener() now returns a ResourceAccessor, which allows it to be overridden with any kind of ResourceAccessor | liquibase_liquibase | train | java |
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.