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 |
|---|---|---|---|---|---|
0039ba600527bc579094269b1411f991a5f2650c | diff --git a/js/core/telemetryV3Interface.js b/js/core/telemetryV3Interface.js
index <HASH>..<HASH> 100644
--- a/js/core/telemetryV3Interface.js
+++ b/js/core/telemetryV3Interface.js
@@ -128,12 +128,9 @@ var Telemetry = (function() {
this.telemetry.assess = function(data, options) {
instance.updateValues(... | Issue #SB-<I> fix: Default assess event version will be overridden | project-sunbird_sunbird-telemetry-sdk | train | js |
15b97a44eae813bd3ce6d49ba6881bf265331c5f | diff --git a/src/timepicker/timepicker.js b/src/timepicker/timepicker.js
index <HASH>..<HASH> 100644
--- a/src/timepicker/timepicker.js
+++ b/src/timepicker/timepicker.js
@@ -27,6 +27,7 @@ export class MdTimePicker {
twelvehour: this.twelveHour
};
$(this.element).pickatime(options);
+ this.element.v... | fix(md-timepicker): Set value if assigned before the attach | aurelia-ui-toolkits_aurelia-materialize-bridge | train | js |
4a0890f183d9c2c31a21805ab84d84d27c7eae3d | diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -440,10 +440,13 @@ class App extends \samson\cms\App
// form relative path to the image
$dir = quotemeta(__SAMSON_BASE__);
- if ($dir == '/') {
- return substr($path, 1);
- ... | Temporary fixed bug with removing first character from image path loigc based on __SAMSON_BASE @omaximus check it! | samsonos_cms_app_gallery | train | php |
c183e1953995961995e1deb2afcf6d17591a004e | diff --git a/aioboto3/s3/inject.py b/aioboto3/s3/inject.py
index <HASH>..<HASH> 100644
--- a/aioboto3/s3/inject.py
+++ b/aioboto3/s3/inject.py
@@ -190,14 +190,15 @@ async def upload_fileobj(self, Fileobj: BinaryIO, Bucket: str, Key: str, ExtraAr
# Success, add the result to the finished_parts, increment ... | Changed callback to use current bytes rather than cumulative bytes | terrycain_aioboto3 | train | py |
031febd265b47354dc3d8a895a84214538c0632f | diff --git a/src/Controller/Base.php b/src/Controller/Base.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Base.php
+++ b/src/Controller/Base.php
@@ -143,7 +143,6 @@ abstract class Base extends BaseMiddle
$oAsset->load('admin.min.js', 'nails/module-admin');
$oAsset->load('nails.admin.min.js', 'NA... | Removes outdated Nails API JS lib | nails_module-admin | train | php |
e906d4d6430071dbe7269a13b48641979d60c005 | diff --git a/pex/pex_bootstrapper.py b/pex/pex_bootstrapper.py
index <HASH>..<HASH> 100644
--- a/pex/pex_bootstrapper.py
+++ b/pex/pex_bootstrapper.py
@@ -156,6 +156,13 @@ def bootstrap_pex(entry_point):
pex.PEX(entry_point).execute()
+# NB: This helper is used by third party libs - namely https://github.com/wic... | Restore `pex.pex_bootstrapper.is_compressed` API. (#<I>)
This was eliminated in #<I> since it was (locally) unused but it turns
out it was used over in lambdex. The long term fix allowing safe
removal of the API is tracked by:
<URL> | pantsbuild_pex | train | py |
d78063c7bb0f216a8991cb207a5442e8f8bb2621 | diff --git a/mr/awsome/config.py b/mr/awsome/config.py
index <HASH>..<HASH> 100644
--- a/mr/awsome/config.py
+++ b/mr/awsome/config.py
@@ -1,6 +1,7 @@
from mr.awsome.common import Hooks
from ConfigParser import RawConfigParser
import os
+import warnings
class BaseMassager(object):
@@ -89,15 +90,19 @@ class Conf... | Warn about deprecated section names. | ployground_ploy_fabric | train | py |
579c8e5f9cdafc8b0996b5570d1b6466e72c5ad8 | diff --git a/contrib/ovirt/test_scenarios/bootstrap.py b/contrib/ovirt/test_scenarios/bootstrap.py
index <HASH>..<HASH> 100644
--- a/contrib/ovirt/test_scenarios/bootstrap.py
+++ b/contrib/ovirt/test_scenarios/bootstrap.py
@@ -172,14 +172,14 @@ def add_iscsi_storage_domain(prefix):
api = prefix.virt_env.engine_vm(... | Revert ssh ret changes until ssh methods are done
Change-Id: I<I>fc<I>a<I>bac3d<I>b<I>c<I>f3f<I>afadec | lago-project_lago | train | py |
d8e2484eb0e21aca22f2623e909c319df8b3e918 | diff --git a/closure/goog/fx/dragger.js b/closure/goog/fx/dragger.js
index <HASH>..<HASH> 100644
--- a/closure/goog/fx/dragger.js
+++ b/closure/goog/fx/dragger.js
@@ -469,7 +469,7 @@ goog.fx.Dragger.prototype.setupDragHandlers = function() {
this.eventHandler_.listen(
doc, [goog.events.EventType.TOUCHMOVE, ... | Closure: Dragger: Make touchmove listener cancellable to prevent Chrome from panning.
See <URL> | google_closure-library | train | js |
e7235d68b03dc5d1b5f83889f2dc868da85593fd | diff --git a/hererocks.py b/hererocks.py
index <HASH>..<HASH> 100755
--- a/hererocks.py
+++ b/hererocks.py
@@ -1173,7 +1173,6 @@ def main(argv=None):
bat_h.write(b"set exitcode=%errorlevel%\r\n")
bat_h.write(b"if %exitcode% equ 0 (\r\n")
- bat_h.write(b" endlocal\r\n")
bat_h.write... | Don't run endlocal before recursive call | mpeterv_hererocks | train | py |
2796407fe87d67c23d313ef7cb59cb473a81d0be | diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ClientUpgradeCodec.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ClientUpgradeCodec.java
index <HASH>..<HASH> 100644
--- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ClientUpgradeCodec.java
+++ b/codec-http2/s... | Remove unnecessary line in Http2ClientUpgradeCodec (#<I>)
Motivation:
To clean up code.
Modification:
Remove unnecessary line.
Result:
There's no functional change. | netty_netty | train | java |
f7de062249ae9251ce3d5cf5134d63e0ed0dba4e | diff --git a/src/main/java/com/rabbitmq/http/client/domain/AbstractPagination.java b/src/main/java/com/rabbitmq/http/client/domain/AbstractPagination.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/rabbitmq/http/client/domain/AbstractPagination.java
+++ b/src/main/java/com/rabbitmq/http/client/domain/AbstractP... | Initialize AbstractPagination with page 1
when initialized directly from an array | rabbitmq_hop | train | java |
a6e5dab784fe148c4aa5d4a69c08ae64ceb77164 | diff --git a/spring-vaadin/src/main/java/org/vaadin/spring/servlet/SpringAwareUIProvider.java b/spring-vaadin/src/main/java/org/vaadin/spring/servlet/SpringAwareUIProvider.java
index <HASH>..<HASH> 100644
--- a/spring-vaadin/src/main/java/org/vaadin/spring/servlet/SpringAwareUIProvider.java
+++ b/spring-vaadin/src/main... | Now using the application context to ask for annotations | peholmst_vaadin4spring | train | java |
c82847a64cc78299f5b0b8266bc04767ca812640 | diff --git a/DependencyInjection/MonologExtension.php b/DependencyInjection/MonologExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/MonologExtension.php
+++ b/DependencyInjection/MonologExtension.php
@@ -125,7 +125,7 @@ class MonologExtension extends Extension
$handler['level'],
... | [EventDispatcher] Allow registration of arbitrary callbacks
This in effect removes the direct link between event name and the method name on the handler.
Any callback can be given as a handler and the event name becomes an arbitrary string. Allowing for easier namespacing (see next commit) | symfony_monolog-bundle | train | php |
3095a22503e4508b6de3519c13644e44ccf220a1 | diff --git a/app/Module/BatchUpdate/BatchUpdateBasePlugin.php b/app/Module/BatchUpdate/BatchUpdateBasePlugin.php
index <HASH>..<HASH> 100644
--- a/app/Module/BatchUpdate/BatchUpdateBasePlugin.php
+++ b/app/Module/BatchUpdate/BatchUpdateBasePlugin.php
@@ -148,7 +148,7 @@ class BatchUpdateBasePlugin {
public static fun... | Scrutinizer Auto-Fixes (#<I>)
This commit consists of patches automatically generated for this project on <URL> | fisharebest_webtrees | train | php |
690a1e04bd945c51f1c7b46c711d105b474f90bc | diff --git a/cbamf/interpolation.py b/cbamf/interpolation.py
index <HASH>..<HASH> 100644
--- a/cbamf/interpolation.py
+++ b/cbamf/interpolation.py
@@ -146,8 +146,7 @@ class ChebyshevInterpolation1D(object):
Evaluates an individual Chebyshev polynomial `k` in coordinate space
with proper transformation... | quicker way to get chebval for a single poly | peri-source_peri | train | py |
7dc1d50809a9f1c6b593c41949c28896c6ee0dd7 | diff --git a/astroid/inference.py b/astroid/inference.py
index <HASH>..<HASH> 100644
--- a/astroid/inference.py
+++ b/astroid/inference.py
@@ -307,6 +307,8 @@ def infer_attribute(self, context=None):
except exceptions._NonDeducibleTypeHierarchy:
# Can't determine anything useful.
... | Don't crash upon invalid contex on attr. inference (#<I>) | PyCQA_astroid | train | py |
a644eb4472ab61cdef8405b4e42bc9892f2e9295 | diff --git a/plugin/hosts/hostsfile_test.go b/plugin/hosts/hostsfile_test.go
index <HASH>..<HASH> 100644
--- a/plugin/hosts/hostsfile_test.go
+++ b/plugin/hosts/hostsfile_test.go
@@ -45,16 +45,13 @@ var (
singlelinehosts = `127.0.0.2 odin`
ipv4hosts = `# See https://tools.ietf.org/html/rfc1123.
#
- # The l... | The IPv4 parser no longer accepts leading zeros (#<I>) | coredns_coredns | train | go |
ceba5155ab1b4f7cd1b431da3db97d9feef9e3d1 | diff --git a/src/extensions/filter-control/utils.js b/src/extensions/filter-control/utils.js
index <HASH>..<HASH> 100644
--- a/src/extensions/filter-control/utils.js
+++ b/src/extensions/filter-control/utils.js
@@ -359,7 +359,10 @@ export function createControls (that, header) {
$.each(that.columns, (_, column) => {... | Allow filtering of not visible columns if filterControlContainer is used (#<I>) | wenzhixin_bootstrap-table | train | js |
5b8f52563433594f360e4ea42163717a42514cf3 | diff --git a/src/OoGlee/Domain/Providers/LaravelServiceProvider.php b/src/OoGlee/Domain/Providers/LaravelServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/OoGlee/Domain/Providers/LaravelServiceProvider.php
+++ b/src/OoGlee/Domain/Providers/LaravelServiceProvider.php
@@ -120,14 +120,6 @@ abstract class LaravelSe... | fix: Enable dynamic config class resolution | RowlandOti_ooglee-core | train | php |
ac43c245e6c87a7bbf2529bd45c9fd93e091c518 | diff --git a/scripts/create_index.js b/scripts/create_index.js
index <HASH>..<HASH> 100644
--- a/scripts/create_index.js
+++ b/scripts/create_index.js
@@ -1,7 +1,7 @@
const child_process = require('child_process');
const config = require('pelias-config').generate();
const es = require('elasticsearch');
-const SUPPOR... | Add flexibility regarding older minor ES versions
In order to allow people using reasonably new, but not the newest,
releases on each of our supported Elasticsearch major versions, this
lowers the version requirements sightly.
We may continue to update these versions over time either for increased
flexibility or to r... | pelias_schema | train | js |
99e1dc45adfdde9c8f7dc80f31e49df2ef034a0c | diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -11,6 +11,7 @@ try:
except ImportError:
from io import StringIO
import subprocess
+import sys
from tempfile import NamedTemporaryFile
import unittest
@@ -25,7 +26,10 @@ import uti... | Use StringIO or BytesIO as stdin/stderr replacement as needed. | juju_juju | train | py |
ef437ea44831c949650376c24f925a023f4192db | diff --git a/src/_pytest/junitxml.py b/src/_pytest/junitxml.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/junitxml.py
+++ b/src/_pytest/junitxml.py
@@ -410,7 +410,7 @@ def pytest_addoption(parser):
"Write captured log messages to JUnit report: "
"one of no|system-out|system-err",
default="... | Remove incorrect choices comment (#<I>) | pytest-dev_pytest | train | py |
44428f67f41384c03aea13e7e25f884764653617 | diff --git a/benchexec/container.py b/benchexec/container.py
index <HASH>..<HASH> 100644
--- a/benchexec/container.py
+++ b/benchexec/container.py
@@ -231,9 +231,10 @@ def get_mount_points():
(this avoids encoding problems with mount points with problematic characters).
"""
def decode_path(path):
- ... | unescape more charcters in /proc/self/mounts | sosy-lab_benchexec | train | py |
e5e5b5583a6904a82cd7f540047e9b0ff8a78737 | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -398,7 +398,8 @@ export function firefoxStrictMinVersion(manifestJson) {
if (
manifestJson.applications &&
manifestJson.applications.gecko &&
- manifestJson.applications.gecko.strict_min_version... | Prevent error when strict_min_version is not a string value (#<I>) | mozilla_addons-linter | train | js,js |
7cbd9ed702eec441d996d5348da02ae2a36bb0de | diff --git a/test/cli.js b/test/cli.js
index <HASH>..<HASH> 100644
--- a/test/cli.js
+++ b/test/cli.js
@@ -6,7 +6,10 @@ var expect = require('code').expect;
var Chalk = require('chalk');
var CLI = require('../lib/cli');
var Commands = require('../lib/commands');
-var fullHelp = Object.keys(Commands).map(function (co... | adds the version # to the help header cause it's useful | nodesecurity_nsp | train | js |
4f2bffcae8fe1c594ea69d2e37a4e5192c7dfa00 | diff --git a/java/client/src/main/java/com/youtube/vitess/client/cursor/CursorWithError.java b/java/client/src/main/java/com/youtube/vitess/client/cursor/CursorWithError.java
index <HASH>..<HASH> 100644
--- a/java/client/src/main/java/com/youtube/vitess/client/cursor/CursorWithError.java
+++ b/java/client/src/main/java... | Fixing a java error.
Was picked up by our internal java compiler: a proto returned value
cannot be null. | vitessio_vitess | train | java |
36c9b145aa08571a833063bafe146735fb55d1ea | diff --git a/tests/test_process.py b/tests/test_process.py
index <HASH>..<HASH> 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -158,7 +158,7 @@ class ProcessTestCase(unittest.TestCase):
cfg = {"noprealloc": True, "smallfiles": True, "oplogSize": 10}
config_path = process.write_confi... | Update tests/test_process.py | 10gen_mongo-orchestration | train | py |
6969b70aa532f623c7d8fccea63f765b0b2a5468 | diff --git a/enrol/ldap/db/install.php b/enrol/ldap/db/install.php
index <HASH>..<HASH> 100644
--- a/enrol/ldap/db/install.php
+++ b/enrol/ldap/db/install.php
@@ -96,5 +96,7 @@ function xmldb_enrol_ldap_install() {
}
// Remove a setting that's never been used at all
- unset_config('enrol_ldap_user_member... | enrol/ldap: MDL-<I> don't use $CFG->enrol_ldap_user_memberfield if it's not defined | moodle_moodle | train | php |
38b0984331caf9d73a313b6f4759cfec517889a2 | diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/binary/type-serializers.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/binary/type-serializers.js
index <HASH>..<HASH> 100644
--- a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/struc... | Switch from String.replaceAll to String.replace for support of older JS/node | apache_tinkerpop | train | js |
761e77caff4e4481d12cde503a40e58a4b70695b | diff --git a/inspire_dojson/hep/rules/bd0xx.py b/inspire_dojson/hep/rules/bd0xx.py
index <HASH>..<HASH> 100644
--- a/inspire_dojson/hep/rules/bd0xx.py
+++ b/inspire_dojson/hep/rules/bd0xx.py
@@ -103,20 +103,13 @@ def dois(self, key, value):
def _get_material(value):
MATERIAL_MAP = {
- 'addend... | hep: allow more materials in dois | inspirehep_inspire-dojson | train | py |
80cfb59201c53d8edd0204383ba18a79b32bb505 | diff --git a/lib/models.js b/lib/models.js
index <HASH>..<HASH> 100644
--- a/lib/models.js
+++ b/lib/models.js
@@ -45,10 +45,10 @@ Models.prototype.run = function(model_id, data, params) {
let batches = [];
if (this.ml.settings.auto_batch) {
- for (let ii=0; ii < data.length; ii+=ml.settings.batch_size... | Solves "ReferenceError: ml is not defined" #7 | monkeylearn_monkeylearn-node | train | js |
8bd5e622521880ef398a0e8ddff9ec439df2e450 | diff --git a/src/server/pps/server/worker_rc.go b/src/server/pps/server/worker_rc.go
index <HASH>..<HASH> 100644
--- a/src/server/pps/server/worker_rc.go
+++ b/src/server/pps/server/worker_rc.go
@@ -279,7 +279,7 @@ func (a *apiServer) getWorkerOptions(pipelineName string, rcName string,
Name: client.PPSWorkerVo... | No, use limits on GPU
k8s <I> now requires gpu limits to be set | pachyderm_pachyderm | train | go |
d049b353974a8f091939775ef34106df7d9ef733 | diff --git a/testing/test_pdb.py b/testing/test_pdb.py
index <HASH>..<HASH> 100644
--- a/testing/test_pdb.py
+++ b/testing/test_pdb.py
@@ -853,7 +853,7 @@ class TestDebuggingBreakpoints:
Test that supports breakpoint global marks on Python 3.7+ and not on
CPython 3.5, 2.7
"""
- if sys.... | Fix for Python 4: replace unsafe PY3 with PY2 | pytest-dev_pytest | train | py |
22bdd9e32401111e4ba7ed26d7fb8d15d948590a | diff --git a/superset/security.py b/superset/security.py
index <HASH>..<HASH> 100644
--- a/superset/security.py
+++ b/superset/security.py
@@ -37,6 +37,10 @@ ADMIN_ONLY_VIEW_MENUS = {
'RoleModelView',
'Security',
'UserDBModelView',
+ 'UserLDAPModelView',
+ 'UserOAuthModelView',
+ 'UserOIDModelVi... | [security] Adding all derived FAB UserModelView views to admin only (#<I>) | apache_incubator-superset | train | py |
c9a08e7680306ac3c23c5897fd3a07539811d858 | diff --git a/ara/clients/offline.py b/ara/clients/offline.py
index <HASH>..<HASH> 100644
--- a/ara/clients/offline.py
+++ b/ara/clients/offline.py
@@ -46,11 +46,18 @@ class AraOfflineClient(object):
def _request(self, method, endpoint, **kwargs):
func = getattr(self.client, method)
- response = f... | Don't pass kwargs to the client if there isn't any
This resolves an issue where doing a request (i.e, GET) without
kwargs would fail.
Change-Id: Iac5be<I>bd1a<I>c0ac0dbca<I>e<I>bebe | ansible-community_ara | train | py |
971b98189806a9492735ddd61f7fdf77f472940c | diff --git a/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java b/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
index <HASH>..<HASH> 100644
--- a/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
+++ b/dexmaker/src/test/java/com/google/dexmaker/stock/Pro... | -Gave some expected exceptions in ProxyBuilderTest more descriptive variable names. | linkedin_dexmaker | train | java |
50b6a28179625cca7fcca3592c1f7aee184bd8f2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,9 +3,12 @@ __author__ = 'ahmetdal'
from setuptools import setup, find_packages
try:
- long_description = open('README.md').read()
-except IOError:
- long_description = ''
+ from pypandoc import convert
+
+ r... | rst conversion of README.md file is added for PyPI page. | javrasya_django-river | train | py |
62492dd4944f7b12881b00906699a23879fa1436 | diff --git a/Generator/YMLFile.php b/Generator/YMLFile.php
index <HASH>..<HASH> 100644
--- a/Generator/YMLFile.php
+++ b/Generator/YMLFile.php
@@ -21,7 +21,7 @@ class YMLFile extends File {
parent::mergeComponentData($additional_component_data);
// The hacky yaml_inline_level property may not be an array!
-... | Fixed bug with YML generator expecting property to be set. | drupal-code-builder_drupal-code-builder | train | php |
8c414fb1726e64167ae7a60f0c3081592ba4e439 | diff --git a/core/src/main/java/org/bitcoinj/script/Script.java b/core/src/main/java/org/bitcoinj/script/Script.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/script/Script.java
+++ b/core/src/main/java/org/bitcoinj/script/Script.java
@@ -101,7 +101,7 @@ public class Script {
public Script(... | Script: don't query the clock when parsing a script. This actually shows up in Android performance profiles. | bitcoinj_bitcoinj | train | java |
75383d060fa55de111d8e472eadf6afd388a31d0 | diff --git a/api/models/task.go b/api/models/task.go
index <HASH>..<HASH> 100644
--- a/api/models/task.go
+++ b/api/models/task.go
@@ -52,7 +52,7 @@ type Task struct {
Read Only: true
*/
- AppName string `json:"route_name,omitempty"`
+ AppName string `json:"app_name,omitempty"`
Path string `json:"path"`
dif... | Updated route_name in json to app_name. | iron-io_functions | train | go,go |
3da244d3f26c433b7ec8afa9ebda5723481940ff | diff --git a/rootpy/io/pickler.py b/rootpy/io/pickler.py
index <HASH>..<HASH> 100644
--- a/rootpy/io/pickler.py
+++ b/rootpy/io/pickler.py
@@ -293,7 +293,8 @@ class Unpickler(pickle.Unpickler):
return obj
def persistent_load(self, pid):
- pid = pid.decode('utf-8')
+ if sys.version_info[0] ... | fix broken pickler test due to py2 compat string handling | rootpy_rootpy | train | py |
69d51d3a81077c0c78e2b8d9a56c8d6f146e8939 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -717,6 +717,10 @@ function highlight($needle, $haystack, $case=0,
/// this function after performing any conversions to HTML.
/// Function found here: http://forums.devshed.com/t67822/scdaa2d1c3d4bacb... | Prevent funny-looking text when trying to highlight a null string | moodle_moodle | train | php |
d6275375b221c77277e007c20e184ad654dbfef1 | diff --git a/mysql/toolkit/connector.py b/mysql/toolkit/connector.py
index <HASH>..<HASH> 100644
--- a/mysql/toolkit/connector.py
+++ b/mysql/toolkit/connector.py
@@ -68,8 +68,10 @@ class Connector:
"""Execute a single SQL query without returning a result."""
self._cursor.execute(command)
sel... | Added return statements for conditional validation | mrstephenneal_mysql-toolkit | train | py |
2d13087d9ad087899107f99c7f2cb21bd473dba1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -17,9 +17,13 @@ module.exports = function(config) {
debug('initializing "%s", from "%s"', __filename, module.parent.id);
this.use(utils.cwd());
- this.use(utils.vfs());
this.use(utils.pipeline());
+ //... | only add `base-fs` if src doesn't exist | base_base-files-process | train | js |
1d666cf27ec366a967d9afa0e8a370cb4cf33481 | diff --git a/rpc/server.go b/rpc/server.go
index <HASH>..<HASH> 100644
--- a/rpc/server.go
+++ b/rpc/server.go
@@ -145,7 +145,7 @@ func (s *Server) serveRequest(ctx context.Context, codec ServerCodec, singleShot
defer cancel()
// if the codec supports notification include a notifier that callbacks can use
- // to... | rpc: fix a comment typo (#<I>) | ethereum_go-ethereum | train | go |
59dcbcf95aa4aab4a4a42ccee6404d27bcfccc90 | diff --git a/tests/test4.py b/tests/test4.py
index <HASH>..<HASH> 100644
--- a/tests/test4.py
+++ b/tests/test4.py
@@ -37,6 +37,7 @@ class TestStrategy(bt.Strategy):
btindicators.MovingAverageSimple(self.datas[0], period=30)
btindicators.MovingAverageSimple(self.datas[0], period=50)
... | test4.py slightly changed
- Added MACD to the current indicators | backtrader_backtrader | train | py |
361f6cc23f715248aba9b1e8647fc985e887f15c | diff --git a/salt/modules/zpool.py b/salt/modules/zpool.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zpool.py
+++ b/salt/modules/zpool.py
@@ -238,9 +238,9 @@ def create(pool_name, *vdevs, **kwargs):
ret[vdev] = '{0} not present on filesystem'.format(vdev)
return ret
m... | Allow zpool.create on character devices
Fixes #<I> | saltstack_salt | train | py |
ab02f7a17049beca3b68c09e6b05109ff51a8e22 | diff --git a/inc/template.php b/inc/template.php
index <HASH>..<HASH> 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -181,10 +181,10 @@ function hybrid_get_content_template() {
$templates = apply_filters( 'hybrid_content_template_hierarchy', $templates );
// Locate the template.
- $template = locate_temp... | Bring fix from the <I> branch where the `hybrid_content_template` hook worked. This commit also applies the same fix to `hybrid_embed_template`.
See original commit: <URL> | justintadlock_hybrid-core | train | php |
b30f847e190b6d09d1aba1ee31ef882d10198fff | diff --git a/geopy/geocoders/googlev3.py b/geopy/geocoders/googlev3.py
index <HASH>..<HASH> 100644
--- a/geopy/geocoders/googlev3.py
+++ b/geopy/geocoders/googlev3.py
@@ -58,7 +58,7 @@ class GoogleV3(Geocoder): # pylint: disable=R0902
.. versionadded:: 0.98.2
:param string domain: Should be the... | Fix GoogleV3 outdated default domain in docs | geopy_geopy | train | py |
9a17cf0617da0a348d448ea609a4ac3452e677f5 | diff --git a/ocelot-processor/src/main/java/org/ocelotds/processors/AbstractDataServiceVisitor.java b/ocelot-processor/src/main/java/org/ocelotds/processors/AbstractDataServiceVisitor.java
index <HASH>..<HASH> 100644
--- a/ocelot-processor/src/main/java/org/ocelotds/processors/AbstractDataServiceVisitor.java
+++ b/ocel... | add locale to toLowerCase | ocelotds_ocelot | train | java |
22403f9a039ff6ab81250f7ab73592f10ae16562 | diff --git a/analytical/tests/test_tag_uservoice.py b/analytical/tests/test_tag_uservoice.py
index <HASH>..<HASH> 100644
--- a/analytical/tests/test_tag_uservoice.py
+++ b/analytical/tests/test_tag_uservoice.py
@@ -40,14 +40,7 @@ class UserVoiceTagTestCase(TagTestCase):
@override_settings(USERVOICE_WIDGET_KEY=''... | Fix uservoice tests
Rewrite test_empty_key in the same way as in the other modules.
Delete test_overridden_empty_key, because the Node (In this case, the UserVoiceNode) should not be created if there is no configuration initially. | jazzband_django-analytical | train | py |
6debb830292611d1b48cb51a6c52c554abcad6b9 | diff --git a/spyderlib/utils/dochelpers.py b/spyderlib/utils/dochelpers.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/dochelpers.py
+++ b/spyderlib/utils/dochelpers.py
@@ -159,7 +159,7 @@ def isdefined(obj, force_import=False, namespace=None):
return False
import __builtin__
if base not in _... | Object inspector/bugfix (workaround) -- utils.dochelpers.isdefined (force_import=True): do not import module if it's a setup module (may crash the introspection thread) | spyder-ide_spyder | train | py |
0f673620b47c9530f263a60efdfc9576a3087b76 | diff --git a/src/ReadModel/MultilingualJsonLDProjectorTrait.php b/src/ReadModel/MultilingualJsonLDProjectorTrait.php
index <HASH>..<HASH> 100644
--- a/src/ReadModel/MultilingualJsonLDProjectorTrait.php
+++ b/src/ReadModel/MultilingualJsonLDProjectorTrait.php
@@ -16,4 +16,17 @@ trait MultilingualJsonLDProjectorTrait
... | III-<I>: Add method to read mainLanguage from JSON-LD in projectors | cultuurnet_udb3-php | train | php |
a998a64e86066e1b95d5c94250ab57ddab940ac2 | diff --git a/decidim-dev/lib/decidim/dev/test/rspec_support/vcr.rb b/decidim-dev/lib/decidim/dev/test/rspec_support/vcr.rb
index <HASH>..<HASH> 100644
--- a/decidim-dev/lib/decidim/dev/test/rspec_support/vcr.rb
+++ b/decidim-dev/lib/decidim/dev/test/rspec_support/vcr.rb
@@ -8,6 +8,10 @@ VCR.configure do |config|
con... | Fix name error when no elections (#<I>)
* fix: NameError - uninitialized constant Decidim::Elections
* Linters | decidim_decidim | train | rb |
e06f92bf3119837cf314ba63b957277116ef1e6b | diff --git a/precise/__init__.py b/precise/__init__.py
index <HASH>..<HASH> 100644
--- a/precise/__init__.py
+++ b/precise/__init__.py
@@ -1 +1 @@
-__version__ = '0.2.0'
+__version__ = '0.3.0' | Increment version to <I> | MycroftAI_mycroft-precise | train | py |
8ae7603fd1f9f0e91700f1f8183cae9877b1fa70 | diff --git a/acceptancetests/assess_upgrade_series.py b/acceptancetests/assess_upgrade_series.py
index <HASH>..<HASH> 100755
--- a/acceptancetests/assess_upgrade_series.py
+++ b/acceptancetests/assess_upgrade_series.py
@@ -41,15 +41,15 @@ def assess_juju_upgrade_series(client, args):
def upgrade_series_prepare(cli... | Modifies upgrade-series acceptance test to accomodate new command order and --yes flag. | juju_juju | train | py |
0c667194f29b34d31700aee8029805cef4af5086 | diff --git a/dygraph-layout.js b/dygraph-layout.js
index <HASH>..<HASH> 100644
--- a/dygraph-layout.js
+++ b/dygraph-layout.js
@@ -211,6 +211,10 @@ DygraphLayout.prototype._evaluateLineCharts = function() {
// on chrome+linux, they are 6 times more expensive than iterating through the
// points and drawing the li... | Bugfix: avoid exception when one series is hidden | danvk_dygraphs | train | js |
136539e67e51ac4a32aa13decb77f2158925c6ef | diff --git a/system/Validation/Rules.php b/system/Validation/Rules.php
index <HASH>..<HASH> 100644
--- a/system/Validation/Rules.php
+++ b/system/Validation/Rules.php
@@ -304,9 +304,9 @@ class Rules
// If the field is present we can safely assume that
// the field is here, no matter whether the corresponding
/... | Fix required_with rule bug. <I> | codeigniter4_CodeIgniter4 | train | php |
398e58e4a08dc9703d75c79a4d3fbd53d341799b | diff --git a/lxd/project/limits.go b/lxd/project/limits.go
index <HASH>..<HASH> 100644
--- a/lxd/project/limits.go
+++ b/lxd/project/limits.go
@@ -357,7 +357,12 @@ func getInstanceLimits(instance db.Instance, keys []string) (map[string]int64, e
}
var aggregateLimitConfigValueParsers = map[string]func(string) (int64... | lxd/project: Don't allow percentage values for limits.memory | lxc_lxd | train | go |
2f162bee85dda9a0fd50d64a94c365bb701779ee | diff --git a/source/server.js b/source/server.js
index <HASH>..<HASH> 100644
--- a/source/server.js
+++ b/source/server.js
@@ -338,9 +338,9 @@ app.get('/api/fs/listDirectories', ensureAuthenticated, function(req, res) {
});
async.filter(absolutePaths, function(absolutePath, callback) {
... | fix callback arguments for async.filter so directory autocomplete works again
this was a breaking change in the async library <I>
<URL> | FredrikNoren_ungit | train | js |
779a3d54141ce16abd0b3142629a9b3aed05c4f7 | diff --git a/src/Model/CustomPostType/Query.php b/src/Model/CustomPostType/Query.php
index <HASH>..<HASH> 100644
--- a/src/Model/CustomPostType/Query.php
+++ b/src/Model/CustomPostType/Query.php
@@ -136,12 +136,12 @@ class Query
$offset = (int)get_query_var('paged', 1);
$this->limit($postsPerPage);
... | offset were being confused in between WPs and Stratas | strata-mvc_strata | train | php |
bb16f2ca56f7da4f526b94c800df014bfdfe46c9 | diff --git a/EventListener/TargetWebspaceListener.php b/EventListener/TargetWebspaceListener.php
index <HASH>..<HASH> 100644
--- a/EventListener/TargetWebspaceListener.php
+++ b/EventListener/TargetWebspaceListener.php
@@ -59,7 +59,7 @@ class TargetWebspaceListener
$webspaceKey = $this->requestAnalyzer->getWeb... | Fixed PHP warning in TargetWebspaceListene (#<I>) | sulu_SuluArticleBundle | train | php |
b541b24b9d74d3ed62990c07e7e3a06ce3995318 | diff --git a/source/org/jasig/portal/layout/ALFolder.java b/source/org/jasig/portal/layout/ALFolder.java
index <HASH>..<HASH> 100644
--- a/source/org/jasig/portal/layout/ALFolder.java
+++ b/source/org/jasig/portal/layout/ALFolder.java
@@ -78,12 +78,11 @@ public class ALFolder extends ALNode {
}
- /**
- ... | Added missing FOLDER_TYPE constant
Updated getNode method to sync with ALNode - it now returns an int.
git-svn-id: <URL> | Jasig_uPortal | train | java |
a3b91dc70001f8e274144510c825ab1902930a2f | diff --git a/pyemma/coordinates/clustering/kmeans.py b/pyemma/coordinates/clustering/kmeans.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/clustering/kmeans.py
+++ b/pyemma/coordinates/clustering/kmeans.py
@@ -64,7 +64,7 @@ class KmeansClustering(AbstractClustering, ProgressReporter):
tolerance : floa... | [kmeans] fix math rendering of cost function (#<I>) | markovmodel_PyEMMA | train | py |
0d7690d3e0c54d3577cc94f57eb4af86fbb1835e | diff --git a/src/L.Realtime.js b/src/L.Realtime.js
index <HASH>..<HASH> 100644
--- a/src/L.Realtime.js
+++ b/src/L.Realtime.js
@@ -30,7 +30,7 @@ L.Realtime = L.GeoJSON.extend({
this._src = src;
} else {
this._src = L.bind(function(responseHandler, errorHandler) {
- if (... | In "initialize" a more clean _url if condition.
change typeof this._url !== 'undefined' to this._url !== undefined within "initialize". | perliedman_leaflet-realtime | train | js |
d6286e94638ce2f0bcace01d6b8e9bbef5e0ca71 | diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go
index <HASH>..<HASH> 100644
--- a/lntest/itest/lnd_test.go
+++ b/lntest/itest/lnd_test.go
@@ -13405,7 +13405,11 @@ func testChanRestoreScenario(t *harnessTest, net *lntest.NetworkHarness,
if err != nil {
t.Fatalf("unable to create new node: %v", err)... | itest: Shutdown final Dave node in testChanRestore
This changes the defer function in the test for channel backups to
correctly close over the 'dave' variable.
Without this closure, the shutdownAndAssert call would attempt to
shutdown the original (non-restored) dave instead of the most recently
created (restored) da... | lightningnetwork_lnd | train | go |
88ecc3c28080fe752c14f012126aebe3a4bfe2e6 | diff --git a/pabot/pabot.py b/pabot/pabot.py
index <HASH>..<HASH> 100755
--- a/pabot/pabot.py
+++ b/pabot/pabot.py
@@ -1036,7 +1036,7 @@ def store_suite_names(hashes, suite_names): # type: (Hashes, List[ExecutionItem]
assert(all(isinstance(s, ExecutionItem) for s in suite_names))
suite_lines = [s.line() for s... | ensure .pabotsuitenames utf-8 encoding | mkorpela_pabot | train | py |
643dd5c9eea9fb1dca7264d62cd7b266e49e5960 | diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php
index <HASH>..<HASH> 100644
--- a/code/LeftAndMain.php
+++ b/code/LeftAndMain.php
@@ -780,7 +780,7 @@ class LeftAndMain extends Controller implements PermissionProvider
public function afterHandleRequest()
{
- if ($this->response->isError()) {
... | FIX Don't override ajax errors or use uninitialised property | silverstripe_silverstripe-admin | train | php |
1fd877f7c18455aee7202e55856f287e40fcd4ab | diff --git a/ryu/controller/network.py b/ryu/controller/network.py
index <HASH>..<HASH> 100644
--- a/ryu/controller/network.py
+++ b/ryu/controller/network.py
@@ -368,7 +368,12 @@ class Network(app_manager.RyuApp):
old_mac_address = self._get_old_mac(network_id, dpid, port_no)
self.dpids.remove_port... | network.py: exception in Networks.remove_port()
Neutron plugin can call remove_port after network deletion for
automatic delete port like router/dhcp port. So ignore NetworkNotFound
exception. | osrg_ryu | train | py |
3b0cc0bd841b9798ae3a1df6640b4edf70f7e148 | diff --git a/asl/interface/webservice/performers/resource.py b/asl/interface/webservice/performers/resource.py
index <HASH>..<HASH> 100644
--- a/asl/interface/webservice/performers/resource.py
+++ b/asl/interface/webservice/performers/resource.py
@@ -24,6 +24,7 @@ def perform_resource(path):
resource_task = ge... | Improved logging of the resource request.
We can not reserve already reserved surprise.
#<I> | AtteqCom_zsl | train | py |
71b97963697b796b04a606feb5a28890e1731af0 | diff --git a/src/ORM/TransactionMiddleware.php b/src/ORM/TransactionMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/ORM/TransactionMiddleware.php
+++ b/src/ORM/TransactionMiddleware.php
@@ -31,6 +31,7 @@ class TransactionMiddleware implements Middleware
* @param callable $next
* @return mixed
* @... | Readd Exception to throws for PHP 5.x | thephpleague_tactician-doctrine | train | php |
11aaa30a8f71089128f92ed6a59dedbfa06d0026 | diff --git a/tests/screenshot.py b/tests/screenshot.py
index <HASH>..<HASH> 100644
--- a/tests/screenshot.py
+++ b/tests/screenshot.py
@@ -1,15 +1,18 @@
# -*- coding: utf-8 -*-
-# Copyright 2013 splinter authors. All rights reserved.
+# Copyright 2014 splinter authors. All rights reserved.
# Use of this source code... | tests: improved screenshot test to get tempdir using tempfile module. | cobrateam_splinter | train | py |
31d9566f2ec8c5db00721498ddddb198279ac9e3 | diff --git a/spyderlib/widgets/codeeditor/syntaxhighlighters.py b/spyderlib/widgets/codeeditor/syntaxhighlighters.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/codeeditor/syntaxhighlighters.py
+++ b/spyderlib/widgets/codeeditor/syntaxhighlighters.py
@@ -423,7 +423,8 @@ C_TYPES = 'bool char double enum float in... | (Fixes Issue <I>) Code editor syntax highlighting: added more keywords to Cython syntax highlighter (cpdef, inline, cimport and DEF) | spyder-ide_spyder | train | py |
41711bda7ec9ad394fa761ef5eb638bedb27a8f6 | diff --git a/lib/output-engine/dom/container.js b/lib/output-engine/dom/container.js
index <HASH>..<HASH> 100644
--- a/lib/output-engine/dom/container.js
+++ b/lib/output-engine/dom/container.js
@@ -180,7 +180,7 @@ var proto = {
return this;
},
removeChild: function(child) {
- if (typeof child === 'number') {
+... | Container : .removeChild : check if is not object in place of is number | nomocas_yamvish | train | js |
e160d8e027eadd6c9a2f6b4839eb0b4fe406493d | diff --git a/src/Api/Invoices.php b/src/Api/Invoices.php
index <HASH>..<HASH> 100644
--- a/src/Api/Invoices.php
+++ b/src/Api/Invoices.php
@@ -66,14 +66,17 @@ class Invoices extends Api
*
* @param string $customerId
* @param string $subscriptionId
+ * @param array $parameters
* @return... | chore: Add extra argument to the upcomingInvoice method. | cartalyst_stripe | train | php |
1c68fd276ba2413b506e7bdb7ccb7fdf81be3728 | diff --git a/src/DefaultNode.php b/src/DefaultNode.php
index <HASH>..<HASH> 100644
--- a/src/DefaultNode.php
+++ b/src/DefaultNode.php
@@ -7,6 +7,7 @@ use NoTee\Exceptions\PathOutdatedException;
class DefaultNode implements Fertile, Node
{
+ public static $validateAttributes = true;
public static $validateA... | added switch for attribute check for performance comparison reasons | mschop_NoTeePHP | train | php |
ec01c0bdd7a242e9102e8015f70edf0d7dcfe35f | diff --git a/ui/app/models/node.js b/ui/app/models/node.js
index <HASH>..<HASH> 100644
--- a/ui/app/models/node.js
+++ b/ui/app/models/node.js
@@ -91,6 +91,21 @@ export default Model.extend({
}
}),
+ compositeStatusIcon: computed('isDraining', 'isEligible', 'status', function() {
+ // ineligible = exclama... | Assign icons to node statuses | hashicorp_nomad | train | js |
beac5543cea4cafe22bf61a8b863b6018dc7d2e5 | diff --git a/ghost/admin/mirage/fixtures/configs.js b/ghost/admin/mirage/fixtures/configs.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/mirage/fixtures/configs.js
+++ b/ghost/admin/mirage/fixtures/configs.js
@@ -1,7 +1,7 @@
export default [{
clientExtensions: {},
database: 'mysql',
- enableDeveloperExp... | Default developer experiments to "off" in tests
no issue
- we should be testing production functionality by default, if tests need to test functionality behind the developer experiments flag they should explicitly enable it | TryGhost_Ghost | train | js |
231a61dac214750b406c6735684fafb3510a2745 | diff --git a/test/test-api.js b/test/test-api.js
index <HASH>..<HASH> 100644
--- a/test/test-api.js
+++ b/test/test-api.js
@@ -19,5 +19,18 @@ describe('Twitter.API Functions:', function() {
api.should.be.an.instanceOf(Object);
});
+
+ it('should throw an exception on missing arguments', function (done)... | Testing exceptions on missing parameters
On API initialization errors are throwed if it fails to found some
arguments | ghostbar_twitter-rest-lite | train | js |
bbbbf04e7d7f3a361e26428383923c2577b46383 | diff --git a/src/app/Services/Search.php b/src/app/Services/Search.php
index <HASH>..<HASH> 100644
--- a/src/app/Services/Search.php
+++ b/src/app/Services/Search.php
@@ -23,11 +23,8 @@ class Search
public function remove($models)
{
- $models = collect($models);
-
- $this->sources = $this->sou... | refines remove logic in search.php | laravel-enso_Searchable | train | php |
7faeb51d4852eefb50c28dbb57270d4aace450fc | diff --git a/cartoframes/context.py b/cartoframes/context.py
index <HASH>..<HASH> 100644
--- a/cartoframes/context.py
+++ b/cartoframes/context.py
@@ -2018,7 +2018,6 @@ def _df2pg_schema(dataframe, pgcolnames):
a SQL query"""
util_cols = set(('the_geom', 'the_geom_webmercator', 'cartodb_id'))
if set(data... | removes print with f-string | CartoDB_cartoframes | train | py |
9c964dfb22bb56c4aad8c035a1f2a796fae2c302 | diff --git a/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/deployment/ClusteringDependencyProcessor.java b/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/deployment/ClusteringDependencyProcessor.java
index <HASH>..<HASH> 100644
--- a/clustering/infini... | Suppress deprecation warnings so long as ModuleIdentifier is required by ModuleSpecification API. | wildfly_wildfly | train | java |
90bfb18ce1819a7329753650fc61dfd2cdb52d3a | diff --git a/tests/common.py b/tests/common.py
index <HASH>..<HASH> 100644
--- a/tests/common.py
+++ b/tests/common.py
@@ -94,9 +94,6 @@ class EWSTest(TimedTestCase):
# Allow unverified TLS if requested in settings file
BaseProtocol.HTTP_ADAPTER_CLS = NoVerifyHTTPAdapter
- # Speed up ... | Tweak test settings for stability. Fix for moved INITIAL_RETRY_POLICY | ecederstrand_exchangelib | train | py,py |
6030109fcde703736d3e22b21ce56497bc8e1da7 | diff --git a/redisdb/datadog_checks/redisdb/redisdb.py b/redisdb/datadog_checks/redisdb/redisdb.py
index <HASH>..<HASH> 100644
--- a/redisdb/datadog_checks/redisdb/redisdb.py
+++ b/redisdb/datadog_checks/redisdb/redisdb.py
@@ -134,7 +134,7 @@ class Redis(AgentCheck):
if 'unix_socket_path' in instance:
... | Remove self.instance when getting port (#<I>) | DataDog_integrations-core | train | py |
ec3beef3ba86c4352fe6e9ab2848b3b4f61ac1da | diff --git a/packages/enzyme/src/ReactWrapper.js b/packages/enzyme/src/ReactWrapper.js
index <HASH>..<HASH> 100644
--- a/packages/enzyme/src/ReactWrapper.js
+++ b/packages/enzyme/src/ReactWrapper.js
@@ -298,19 +298,23 @@ class ReactWrapper {
* @param {Function} cb - callback function
* @returns {ReactWrapper}
... | [Fix] `mount`: `setState`: invoke callback with the proper receiver | airbnb_enzyme | train | js |
f56cd2580d2c5869ca360407dcf4ff5b028cbcf7 | diff --git a/lib/active_record_extensions/geometry_columns.rb b/lib/active_record_extensions/geometry_columns.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record_extensions/geometry_columns.rb
+++ b/lib/active_record_extensions/geometry_columns.rb
@@ -57,6 +57,15 @@ module Geos
@geometry_columns
end
+... | New method for grabbing a particular geometry column by its'
column name.
git-svn-id: file:///usr/local/svnroot/ruby_extensions/geos_extensions/trunk@<I> <I>ac<I>-ee<I>-4e<I>-b<I>-<I>b<I>ff<I>b | dark-panda_geos-extensions | train | rb |
9bd158a3c7df8df6331cc9f68d98ae32f39bd864 | diff --git a/lib/tests/modinfolib_test.php b/lib/tests/modinfolib_test.php
index <HASH>..<HASH> 100644
--- a/lib/tests/modinfolib_test.php
+++ b/lib/tests/modinfolib_test.php
@@ -470,9 +470,10 @@ class core_modinfolib_testcase extends advanced_testcase {
* Tests for function cm_info::get_course_module_record()
... | MDL-<I> core: fixed failing unit test
Part of MDL-<I> epic. | moodle_moodle | train | php |
8f4b6fa9e976fa084492a4c10e0d10ac1ece50ec | diff --git a/pyani/pyani_graphics.py b/pyani/pyani_graphics.py
index <HASH>..<HASH> 100644
--- a/pyani/pyani_graphics.py
+++ b/pyani/pyani_graphics.py
@@ -96,6 +96,10 @@ def heatmap_seaborn(df, outfilename=None, title=None, cmap=None,
# Obtain colour map
cmap = plt.get_cmap(cmap)
+ # Decide on figure lay... | pyani_graphics.py: Modified seaborn presentation
Using seaborn, the annotations in the heatmaps are now visible. | widdowquinn_pyani | train | py |
5e0c63ccc2759f2c7640eac7f4dd4b947b7d5e95 | diff --git a/src/main/java/net/masterthought/cucumber/ReportBuilder.java b/src/main/java/net/masterthought/cucumber/ReportBuilder.java
index <HASH>..<HASH> 100755
--- a/src/main/java/net/masterthought/cucumber/ReportBuilder.java
+++ b/src/main/java/net/masterthought/cucumber/ReportBuilder.java
@@ -51,7 +51,7 @@ public ... | Updated VERSION variable to the latest version
The version should be taken from somewhere instead of being hardcoded in the Java file. | damianszczepanik_cucumber-reporting | train | java |
0f271f38454f60f6ee0039ab5b0cbb4173a41cfa | diff --git a/lib/less/tree/debug-info.js b/lib/less/tree/debug-info.js
index <HASH>..<HASH> 100644
--- a/lib/less/tree/debug-info.js
+++ b/lib/less/tree/debug-info.js
@@ -16,9 +16,10 @@ const debugInfo = (context, ctx, lineSeparator) => {
return result;
};
-debugInfo.asComment = ctx => `/* line ${ctx.debugInfo.... | issue#<I> ignore missing debugInfo (#<I>) | less_less.js | train | js |
7366f5a42efa50ba135a138b9346b23f480a313a | diff --git a/utils/reflector/src/main/java/org/robolectric/util/reflector/ReflectorClassWriter.java b/utils/reflector/src/main/java/org/robolectric/util/reflector/ReflectorClassWriter.java
index <HASH>..<HASH> 100644
--- a/utils/reflector/src/main/java/org/robolectric/util/reflector/ReflectorClassWriter.java
+++ b/util... | Generate reflector class with valid access | robolectric_robolectric | train | java |
41f7cc940678cbc892639818d1095091b8d34009 | diff --git a/command/format.go b/command/format.go
index <HASH>..<HASH> 100644
--- a/command/format.go
+++ b/command/format.go
@@ -74,7 +74,7 @@ func outputFormatTable(ui cli.Ui, s *api.Secret, whitespace bool) int {
if len(s.Warnings) != 0 {
input = append(input, "")
- input = append(input, "The following warn... | Adjust warnings message to make it clear they are from the server | hashicorp_vault | train | go |
d796c619460bc7faa3ccafdd6bc22b104e10eb2e | diff --git a/pkg/services/notifications/webhook.go b/pkg/services/notifications/webhook.go
index <HASH>..<HASH> 100644
--- a/pkg/services/notifications/webhook.go
+++ b/pkg/services/notifications/webhook.go
@@ -48,6 +48,10 @@ func (ns *NotificationService) sendWebRequestSync(ctx context.Context, webhook *
webhook.Ht... | Security: Fixes minor security issue with alert notification webhooks that allowed GET & DELETE requests #<I> | grafana_grafana | train | go |
061a24b59385f6038f65674ff8089815e6c25ada | diff --git a/web/src/getValueOrFallback.js b/web/src/getValueOrFallback.js
index <HASH>..<HASH> 100644
--- a/web/src/getValueOrFallback.js
+++ b/web/src/getValueOrFallback.js
@@ -1,23 +1,21 @@
-import { has, get } from 'lodash';
+import { has, get, merge } from 'lodash';
export default function getValueOrFallback(st... | Calculated state should override raw state. | mjswensen_themer | train | js |
47fb850536f65f9e29931a37d7c433ce65b8881f | diff --git a/lib/EasyPost/Resource.php b/lib/EasyPost/Resource.php
index <HASH>..<HASH> 100644
--- a/lib/EasyPost/Resource.php
+++ b/lib/EasyPost/Resource.php
@@ -96,15 +96,6 @@ abstract class Resource extends Object
return Util::convertToEasyPostObject($response, $apiKey);
}
- public static function... | Removed a vestigial function. | EasyPost_easypost-php | train | php |
298f8123288e7dc89c903c209862d88df7f3ce52 | diff --git a/lib/tdiary/configuration.rb b/lib/tdiary/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/tdiary/configuration.rb
+++ b/lib/tdiary/configuration.rb
@@ -111,9 +111,10 @@ module TDiary
cgi_conf = @io_class.load_cgi_conf(self)
- eval( def_vars1, binding )
+ b = binding
+ eval( def_vars1, b... | Partly reverted evaluate binding on configuration | tdiary_tdiary-core | train | rb |
55fbafaa5199200088cd4129126d8210a848c556 | diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -72,7 +72,7 @@ const startServer = (config, callback) => {
child.kill();
return typeof cb === 'function' ? cb() : undefined;
};
- serverCb();
+ setTimeout(serverCb, 0);
return ... | Fix handling of custom servers. Closes GH-<I> | brunch_brunch | train | js |
bdcbb083a112d3cc81bb98ee63a26674b5397563 | diff --git a/ibis/backends/datafusion/__init__.py b/ibis/backends/datafusion/__init__.py
index <HASH>..<HASH> 100644
--- a/ibis/backends/datafusion/__init__.py
+++ b/ibis/backends/datafusion/__init__.py
@@ -128,13 +128,12 @@ class Backend(BaseBackend):
schema
An optional schema
"""
- ... | fix: remove passing schema into register_parquet | ibis-project_ibis | train | py |
3795b59a0c267f4560538cc4010ab507c1b3c5bf | diff --git a/Test/function_test.py b/Test/function_test.py
index <HASH>..<HASH> 100644
--- a/Test/function_test.py
+++ b/Test/function_test.py
@@ -705,4 +705,8 @@ array([[5, 1],
>>> cm4.to_array()
array([[3, 1],
[0, 0]])
+>>> cm4 = ConfusionMatrix([1,1,1,1],["1",2,1,1],classes=[1,2])
+>>> cm4.to_array()
+arra... | test : a test added. | sepandhaghighi_pycm | 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.