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 |
|---|---|---|---|---|---|
f0cafcb9e91d5d34c821ff8a5aa554602c74a97c | diff --git a/Command/JobsCommand.php b/Command/JobsCommand.php
index <HASH>..<HASH> 100644
--- a/Command/JobsCommand.php
+++ b/Command/JobsCommand.php
@@ -55,6 +55,9 @@ class JobsCommand extends Command
foreach( $this->getSiteItems( $context, $input ) as $siteItem )
{
+ \Aimeos\MShop::cache( true );
+ \Aime... | Clear cached managers to avoid using old context | aimeos_aimeos-symfony | train | php |
3e17b7c4a442a240e97a0ab96c1722d527fa6165 | diff --git a/haas/tests/test_result.py b/haas/tests/test_result.py
index <HASH>..<HASH> 100644
--- a/haas/tests/test_result.py
+++ b/haas/tests/test_result.py
@@ -298,7 +298,7 @@ class TestFailfast(ExcInfoFixture, unittest.TestCase):
self.assertFalse(collector.shouldStop)
-class TestBuffering(ExcInfoFixtur... | Add accidentally removed TestCase base class | scalative_haas | train | py |
f4f40c2636c0fde77f53f73e8e2d0540d3ace03d | diff --git a/peri/comp/objs.py b/peri/comp/objs.py
index <HASH>..<HASH> 100644
--- a/peri/comp/objs.py
+++ b/peri/comp/objs.py
@@ -1,6 +1,5 @@
import numpy as np
from scipy.special import erf
-from scipy.linalg import expm3
try:
from scipy.weave import inline
@@ -708,14 +707,11 @@ class Slab(Component):
... | Removing some now unnecessary lines from objs.py | peri-source_peri | train | py |
72855357306046e5bfcd6e3866fa9e1180728094 | diff --git a/src/tween/tween.babel.js b/src/tween/tween.babel.js
index <HASH>..<HASH> 100644
--- a/src/tween/tween.babel.js
+++ b/src/tween/tween.babel.js
@@ -1221,14 +1221,16 @@ class Tween extends Module {
@parma {Function} Method to call
*/
_overrideCallback(callback, fun) {
+ let self = this;
+
... | Fix `no-invalid-this` rule
Note that `self` in this context refer to the global `window` object. | mojs_mojs | train | js |
1cb05f87c1edf17e184a5d5489555a9497c422e0 | diff --git a/properties/base.py b/properties/base.py
index <HASH>..<HASH> 100644
--- a/properties/base.py
+++ b/properties/base.py
@@ -385,7 +385,8 @@ class List(basic.Property):
return 'a list - each item is {info}'.format(info=self.prop.info())
def _unused_default_warning(self):
- if self.prop.... | Do not warn on unused defaults if unused and used values are the same
For example Unions of different list types will not warn any more.
An empty list is the default regardless. | seequent_properties | train | py |
f67ad89d25bca80015e6b0f53703bb99b7b83a6b | diff --git a/src/_pdbpp_path_hack/pdb.py b/src/_pdbpp_path_hack/pdb.py
index <HASH>..<HASH> 100644
--- a/src/_pdbpp_path_hack/pdb.py
+++ b/src/_pdbpp_path_hack/pdb.py
@@ -9,5 +9,9 @@ else:
pdb_path = os.path.join(os.path.dirname(code.__file__), 'pdb.py')
+# Set __file__ to exec'd code. This is good in general... | _pdbpp_path_hack/pdb.py: set __file__
Required for coverage.py since it uses the same filename.
Ref: <URL> | antocuni_pdb | train | py |
f2f6728b3f36f3c4fac57bd09ba4114b439f2b6d | diff --git a/src/Manager.php b/src/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Manager.php
+++ b/src/Manager.php
@@ -77,6 +77,10 @@ class Manager extends Module {
self::ATTR_SESSION_TIMEOUT => 60 // seconds inactive to trigger timeout
];
}
+ /**
+ * @throws InvalidEntityException
+ * @return... | added return comment for ide autocomplete | logikostech_auth | train | php |
db4caa0d822c3e59c63933875017778169ae86f6 | diff --git a/lib/solargraph/convention/rspec.rb b/lib/solargraph/convention/rspec.rb
index <HASH>..<HASH> 100644
--- a/lib/solargraph/convention/rspec.rb
+++ b/lib/solargraph/convention/rspec.rb
@@ -8,14 +8,23 @@ module Solargraph
@environ ||= Environ.new(
requires: ['rspec'],
domains: ['... | Basic support for RSpec #describe and #it | castwide_solargraph | train | rb |
4f2e2854030a25298c4fa8e25e277ee00cb250e2 | diff --git a/tests/Formatter/PhpGetBrowserTest.php b/tests/Formatter/PhpGetBrowserTest.php
index <HASH>..<HASH> 100644
--- a/tests/Formatter/PhpGetBrowserTest.php
+++ b/tests/Formatter/PhpGetBrowserTest.php
@@ -68,4 +68,30 @@ class PhpGetBrowserTest extends \PHPUnit_Framework_TestCase
self::assertSame('TestCom... | adding a couple of tests to hit new code | browscap_browscap-php | train | php |
b09c6a9682d094a7097a3c4a15dcec5af4601428 | diff --git a/Tests/Unit/Document/UrlObjectTest.php b/Tests/Unit/Document/UrlObjectTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Unit/Document/UrlObjectTest.php
+++ b/Tests/Unit/Document/UrlObjectTest.php
@@ -57,7 +57,7 @@ class UrlObjectTest extends \PHPUnit_Framework_TestCase
$url->setUrl($data['url']);
... | Test fixed for CategoryService
Test updated for UrlObject after change | ongr-archive_ContentBundle | train | php |
9bf01f4441e03f0958c2c8991fd5d3cda91a828b | diff --git a/pachyderm/plot.py b/pachyderm/plot.py
index <HASH>..<HASH> 100644
--- a/pachyderm/plot.py
+++ b/pachyderm/plot.py
@@ -465,6 +465,8 @@ class LegendConfig:
font_size: Optional[float] = attr.ib(default=None)
ncol: Optional[float] = attr.ib(default=1)
marker_label_spacing: Optional[float] = attr... | Set spacing from marker to label in legend | raymondEhlers_pachyderm | train | py |
51da9d6802e0321918961bda6fe92efb53edb13a | diff --git a/tasks/index.js b/tasks/index.js
index <HASH>..<HASH> 100644
--- a/tasks/index.js
+++ b/tasks/index.js
@@ -1,18 +1,8 @@
'use strict';
var i18next = require('..');
-var through2 = require('through2');
var vfs = require('vinyl-fs');
-var tap = function(callback) {
- return through2.obj(function(file... | Fix the grunt task.
Wait for all files to be written before finish the task. | i18next_i18next-scanner | train | js |
0f6183f8cc414825df67bde2efa9486ab4a6e6e2 | diff --git a/mongo/mongo_test.go b/mongo/mongo_test.go
index <HASH>..<HASH> 100644
--- a/mongo/mongo_test.go
+++ b/mongo/mongo_test.go
@@ -374,7 +374,7 @@ func (s *MongoSuite) TestInstallMongod(c *gc.C) {
{"precise", [][]string{{"--target-release", "precise-updates/cloud-tools", "mongodb-server"}}},
{"trusty", []... | Update the test to expect mongodb-server-core on bionic. | juju_juju | train | go |
70b987dcd558363a4fd5589f10eabdd3a0fa6c1b | diff --git a/bokeh/models/tools.py b/bokeh/models/tools.py
index <HASH>..<HASH> 100644
--- a/bokeh/models/tools.py
+++ b/bokeh/models/tools.py
@@ -288,7 +288,7 @@ class BoxSelectTool(Tool):
defaults to all renderers on a plot.
""")
- select_every_mousemove = Bool(True, help="""
+ select_every_mousemov... | Fix box select tool issue
Python default out of sync with js | bokeh_bokeh | train | py |
54898306cf56fd22ad44c9e68e9289f4c749969d | diff --git a/provider/maas/environ.go b/provider/maas/environ.go
index <HASH>..<HASH> 100644
--- a/provider/maas/environ.go
+++ b/provider/maas/environ.go
@@ -64,7 +64,7 @@ func releaseNodes(nodes gomaasapi.MAASObject, ids url.Values) error {
func reserveIPAddress(ipaddresses gomaasapi.MAASObject, cidr string, addr ne... | Fixed MAAS provider address allocation params - forward port to master | juju_juju | train | go |
0a9a7e55c11e154bc832ba7b3d8b17443dd36e15 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -48,7 +48,7 @@ function statAsync (fp, callback) {
function tryStatSync (fp) {
try {
return fs.statSync(fp).isDirectory()
- } catch(err) {
+ } catch (err) {
return false
}
} | index.js: add space after `catch` (#6) | tunnckoCore_detect-installed | train | js |
8a327ede94fbb01977367223997c0d3cb4d73d9a | diff --git a/src/modules/auth-session/sagas/logout.js b/src/modules/auth-session/sagas/logout.js
index <HASH>..<HASH> 100644
--- a/src/modules/auth-session/sagas/logout.js
+++ b/src/modules/auth-session/sagas/logout.js
@@ -1,12 +1,16 @@
import { takeLeading, put } from 'redux-saga/effects';
-import { config } from '... | :bug: Skip calling requestAnimationFrame if window object isn't present | AckeeCZ_petrus | train | js |
5940a80970d80284fcfa86ab6f788bc0cbe2d4c7 | diff --git a/malcolm/modules/scanning/infos.py b/malcolm/modules/scanning/infos.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/scanning/infos.py
+++ b/malcolm/modules/scanning/infos.py
@@ -178,8 +178,6 @@ class ExposureDeadtimeInfo(Info):
def calculate_minimum_duration(self, exposure: float) -> float:
... | ExposureDeadtimeInfo: remove unused code path for calculating duration | dls-controls_pymalcolm | train | py |
c88ac927314499a6b8ecc2ea754b6e32ba433bdb | diff --git a/pyisbn/__init__.py b/pyisbn/__init__.py
index <HASH>..<HASH> 100644
--- a/pyisbn/__init__.py
+++ b/pyisbn/__init__.py
@@ -58,6 +58,7 @@ books in their collection.
class Isbn(object):
+
"""Class for representing ISBN objects."""
__slots__ = ('_isbn', 'isbn')
@@ -174,11 +175,13 @@ class Isbn... | [QA] PEP-<I> class docstring compliance fixes.
For some reason I always forget this one. | JNRowe_pyisbn | train | py |
38dffe440743c29ec5fdf386fd22272de7cd8783 | diff --git a/example.js b/example.js
index <HASH>..<HASH> 100644
--- a/example.js
+++ b/example.js
@@ -2,15 +2,19 @@ var pdfFormFill = require('lib/pdf-fill-form.js');
var fs = require('fs');
// Show fields
-var formFields = pdfFormFill.readSync('test.pdf')
+var formFields = pdfFormFill.readSync('test.pdf');
conso... | Ran through Google Closure linter | tpisto_pdf-fill-form | train | js |
dc097d834461be88df9a9dc38e639f609e37785d | diff --git a/tt/gspreadsheet.py b/tt/gspreadsheet.py
index <HASH>..<HASH> 100644
--- a/tt/gspreadsheet.py
+++ b/tt/gspreadsheet.py
@@ -129,6 +129,8 @@ class GSpreadsheet(object):
return "https://docs.google.com/a/texastribune.org/spreadsheet/ccc?key=%s" % (self.key)
def get_worksheets(self):
+ if... | return cached worksheets if importer already knows the worksheets | texastribune_gspreadsheet | train | py |
c54c50310d112ea6e5e28fd7f545f3d5bb730b0f | diff --git a/lib/cb/requests/application_external/submit_application.rb b/lib/cb/requests/application_external/submit_application.rb
index <HASH>..<HASH> 100644
--- a/lib/cb/requests/application_external/submit_application.rb
+++ b/lib/cb/requests/application_external/submit_application.rb
@@ -30,6 +30,7 @@ module Cb
... | ipath won't bomb if not given a string | careerbuilder_ruby-cb-api | train | rb |
0c666862d878d922e766c8d6faa036adc74a6af1 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -19,7 +19,7 @@ gulp.task('sass', function () {
});
gulp.task('css', ['sass'], function () {
- return gulp.src(cssDir + '/*.css')
+ return gulp.src([cssDir + '/*.css', '!' + cssDir + '/*.min.css'])
... | Assets: Fixed a gulp task for minification | o5_grido | train | js |
18b76ea70de65fe00374f87f2e0db275ac5bcdf4 | diff --git a/engine/src/main/java/com/stratio/streaming/configuration/StreamingContextConfiguration.java b/engine/src/main/java/com/stratio/streaming/configuration/StreamingContextConfiguration.java
index <HASH>..<HASH> 100644
--- a/engine/src/main/java/com/stratio/streaming/configuration/StreamingContextConfiguration.... | Removed duplicated Kafka topic creation. | Stratio_Decision | train | java |
667dd45105f40f2d6a6f15bd48387dc014ca88e1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from libsubmit.version import VERSION
install_requires = [
'ipyparallel',
'boto3',
- 'azure'
+ 'azure',
'haikunator',
'python-novaclient'
] | Fixing missing comma in setup | Parsl_libsubmit | train | py |
c53424220ce7a0ecc22a186161e880f124ced9ce | diff --git a/src/org/zaproxy/zap/extension/autoupdate/ExtensionAutoUpdate.java b/src/org/zaproxy/zap/extension/autoupdate/ExtensionAutoUpdate.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/extension/autoupdate/ExtensionAutoUpdate.java
+++ b/src/org/zaproxy/zap/extension/autoupdate/ExtensionAutoUpdate.java
@... | Copy the add-on installed through the API
Copy the add-on to local plugin directory to install it permanently,
like the other ways of installing an add-on do, to avoid surprises when
ZAP is started again. | zaproxy_zaproxy | train | java |
7709af9f42ae8455c205d4ba65ef0bb6f22be1e5 | diff --git a/visidata/vd.py b/visidata/vd.py
index <HASH>..<HASH> 100755
--- a/visidata/vd.py
+++ b/visidata/vd.py
@@ -241,9 +241,7 @@ anytype = lambda r='': str(r)
anytype.__name__ = ''
class date:
- """Simple wrapper around `datetime`.
-
- This allows it to be created from dateutil str or numeric input as t... | Add forwarding from date to inner datetime for .year/etc #<I> | saulpw_visidata | train | py |
b2844c64cd47c5ebfd6a0744e88ed032fac3bc47 | diff --git a/voluptuous/voluptuous.py b/voluptuous/voluptuous.py
index <HASH>..<HASH> 100644
--- a/voluptuous/voluptuous.py
+++ b/voluptuous/voluptuous.py
@@ -260,13 +260,21 @@ class Schema(object):
continue
# Backtracking is not performed once a key is selected, so if
... | Preserve all errors for fields of dicts and objects | alecthomas_voluptuous | train | py |
1d51b72785f4d14ca0e26fd1d1f69c25f9deb2e7 | diff --git a/src/drawer.js b/src/drawer.js
index <HASH>..<HASH> 100644
--- a/src/drawer.js
+++ b/src/drawer.js
@@ -709,8 +709,7 @@ function updateTile( drawer, drawLevel, haveDrawn, x, y, level, levelOpacity, le
);
if ( tile.loaded ) {
-
- drawer.updateAgain = blendTile(
+ var needsUpd... | Fixed blendTile()-related blurriness issue
We were setting drawer.updateAgain to the result of each blendTile(),
which meant it was keeping only the last result. Instead we should have
been only setting it to true if blendTile returned true, but never
setting it to false. Fixed. | openseadragon_openseadragon | train | js |
c6bc82fbc8face7df7269ca1c5ca4b70b0c96a4a | diff --git a/dev/io.openliberty.microprofile.openapi.2.0.internal/src/io/openliberty/microprofile/openapi20/utils/IndexUtils.java b/dev/io.openliberty.microprofile.openapi.2.0.internal/src/io/openliberty/microprofile/openapi20/utils/IndexUtils.java
index <HASH>..<HASH> 100644
--- a/dev/io.openliberty.microprofile.opena... | OpenAPI: respect config when scanning expanded app
File paths were not being handled correctly for expanded apps, leading
to an incorrect class name being compared to the include/exclude filters
derived from the configuration. | OpenLiberty_open-liberty | train | java |
c5ac06911a5401d612a62df4d9488bdf6e6284d5 | diff --git a/suitable/tests/conftest.py b/suitable/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/suitable/tests/conftest.py
+++ b/suitable/tests/conftest.py
@@ -19,14 +19,20 @@ class Container(object):
self.password = password
def spawn_api(self, api_class, **kwargs):
- return api_class(
- ... | Fixes conftest options not being propagated | seantis_suitable | train | py |
86916fb9928d264df870cfb75cd02bd04a3d41df | diff --git a/lib/survey_gizmo/resource.rb b/lib/survey_gizmo/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/survey_gizmo/resource.rb
+++ b/lib/survey_gizmo/resource.rb
@@ -257,8 +257,6 @@ module SurveyGizmo
def inspect
if ENV['GIZMO_DEBUG']
ap "CLASS: #{self.class}"
- ap "CLASS ATTRIBUTE ... | Don't need to log the attribute_set as an object | jarthod_survey-gizmo-ruby | train | rb |
20f8c5366948d3ee6ceb8f517171f0317fc37752 | diff --git a/azurerm/resource_arm_api_management_logger_test.go b/azurerm/resource_arm_api_management_logger_test.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_api_management_logger_test.go
+++ b/azurerm/resource_arm_api_management_logger_test.go
@@ -89,7 +89,7 @@ func TestAccAzureRMApiManagementLogger_basi... | Update azurerm/resource_arm_api_management_logger_test.go | terraform-providers_terraform-provider-azurerm | train | go |
e0114f863f750e5173f827e1f8059b01e160b1b9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name="rueckenwind",
version="0.0.1",
- install_requires=['tornado>=3.0.1,<4.0', 'jinja2', 'werkzeug==0.6.2', 'babel', 'mock', 'configobj', 'bson'],
... | Added motor dependency, bson will be provided by pymongo. | FlorianLudwig_rueckenwind | train | py |
c06fb77947b24a412aa60d89a3c1a7b78166f2f3 | diff --git a/spec/ransack/dependencies_spec.rb b/spec/ransack/dependencies_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ransack/dependencies_spec.rb
+++ b/spec/ransack/dependencies_spec.rb
@@ -1,3 +1,4 @@
+=begin
rails = ::ActiveRecord::VERSION::STRING.first(3)
if %w(3.2 4.0 4.1).include?(rails) || rails == '3.1'... | Comment out this test for now. TODO: examine this. | activerecord-hackery_ransack | train | rb |
5be49884b5947d4624bdaaf9cf2629ca4dd73567 | diff --git a/activerecord/lib/active_record/associations/association_proxy.rb b/activerecord/lib/active_record/associations/association_proxy.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/association_proxy.rb
+++ b/activerecord/lib/active_record/associations/association_proxy.rb
@@ -5... | Prevent calling regexp on symbol in Ruby <I> in association_proxy | rails_rails | train | rb |
7ab6f110d91723ea72d54ffaaa12404454d523c9 | diff --git a/plash/cli.py b/plash/cli.py
index <HASH>..<HASH> 100644
--- a/plash/cli.py
+++ b/plash/cli.py
@@ -19,6 +19,9 @@ SHORTCUTS = [
('-a', ['apt'], '+'),
('-p', ['pip'], '+'),
('-b', ['apt', 'ubuntu-server'], 0),
+ ('-U', ['os', 'ubuntu'], 0),
+ ('-F', ['os', 'fedora'], 0),
+ ('-D', ['os'... | Shortcuts for some osses | ihucos_plash | train | py |
a7e489192bc4e205dd31652bd944f71c57abb040 | diff --git a/galpy/potential_src/TwoPowerSphericalPotential.py b/galpy/potential_src/TwoPowerSphericalPotential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential_src/TwoPowerSphericalPotential.py
+++ b/galpy/potential_src/TwoPowerSphericalPotential.py
@@ -312,6 +312,7 @@ class HernquistPotential(TwoPowerIntegerSpher... | add C implementation of Hernquist potential | jobovy_galpy | train | py |
099d85ae38d59be42bdf8c1db40ca4ffddb00edb | diff --git a/test_isort.py b/test_isort.py
index <HASH>..<HASH> 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -1507,3 +1507,12 @@ def test_basic_comment():
'# Foo\n'
'import os\n')
assert SortImports(file_contents=test_input).output == test_input
+
+
+def test_shouldnt_add... | Add test case for issue #<I> | timothycrosley_isort | train | py |
ed8c4906d63cc67bb79b7d889906d866f48a4591 | diff --git a/build/prepareNightly.js b/build/prepareNightly.js
index <HASH>..<HASH> 100644
--- a/build/prepareNightly.js
+++ b/build/prepareNightly.js
@@ -9,9 +9,14 @@ if (!parts) {
throw new Error(`Invalid version number ${version}`);
}
// Add date to version.
-const major = parts[1];
-const minor = parts[2];
-... | chore: increase dev version from stable version. | ecomfe_zrender | train | js |
edc07e82c198e04cf1e610325d44e3349c1e67ed | diff --git a/registrator.go b/registrator.go
index <HASH>..<HASH> 100644
--- a/registrator.go
+++ b/registrator.go
@@ -1,4 +1,4 @@
-package main
+package main // import "github.com/progrium/registrator"
import (
"errors" | Added canonical import path to main package.
So can be built and Dockerized by centurylink/golang-builder.
<URL> | gliderlabs_registrator | train | go |
5376cdd30c1f01f5ec1660bf0c5c04fdb9d44c16 | diff --git a/lib/fields.js b/lib/fields.js
index <HASH>..<HASH> 100644
--- a/lib/fields.js
+++ b/lib/fields.js
@@ -42,7 +42,7 @@ exports.string = function (opt) {
if (b.required) {
var validator = typeof b.required === 'function' ? b.required : validators.required();
... | Use String() instead of the toString prototype method. | caolan_forms | train | js |
7b5c513d98d3e5b5296b7dbe2bc5a67aa606fced | diff --git a/Tests/Model/Node/ProductOptionsTest.php b/Tests/Model/Node/ProductOptionsTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Model/Node/ProductOptionsTest.php
+++ b/Tests/Model/Node/ProductOptionsTest.php
@@ -76,13 +76,8 @@ class ProductOptionsTest extends WebTestCase
$po->getOption('color', 'red... | remove case insensitive test, it just doesn't make sense | vespolina_commerce | train | php |
b68ffdc9cceb38e469978df1c2e0fbb7a9f9cb46 | diff --git a/libraries/lithium/core/Libraries.php b/libraries/lithium/core/Libraries.php
index <HASH>..<HASH> 100644
--- a/libraries/lithium/core/Libraries.php
+++ b/libraries/lithium/core/Libraries.php
@@ -144,9 +144,13 @@ class Libraries {
public static function add($name, $config = array()) {
$defaults = array(... | Plugins now load thier bootstrap files automatically. | UnionOfRAD_framework | train | php |
c4e17e3cab8d87c73ae5fe94ec69fc43b7e2bcd9 | diff --git a/comments-bundle/src/Resources/contao/classes/Comments.php b/comments-bundle/src/Resources/contao/classes/Comments.php
index <HASH>..<HASH> 100644
--- a/comments-bundle/src/Resources/contao/classes/Comments.php
+++ b/comments-bundle/src/Resources/contao/classes/Comments.php
@@ -73,7 +73,8 @@ class Comments ... | [Comments] Pagination variables are now unique (see #<I>) | contao_contao | train | php |
ddea68a80deedced4bf0fad24e66f075e368c38c | diff --git a/lib/genDocute.js b/lib/genDocute.js
index <HASH>..<HASH> 100644
--- a/lib/genDocute.js
+++ b/lib/genDocute.js
@@ -23,6 +23,6 @@ module.exports = async config => {
logger.success('Generated successfully')
} catch (err) {
console.error(err.name === 'SAOError' ? err.message : err.stack)
+ proc... | fix: Avoid abnormal exits
fix #<I> | vuese_vuese | train | js |
165c798e4257fa30839a636c5a2d46dc8308cbd7 | diff --git a/lib/grably.rb b/lib/grably.rb
index <HASH>..<HASH> 100644
--- a/lib/grably.rb
+++ b/lib/grably.rb
@@ -33,7 +33,7 @@ module Grably
def init
profile = (ENV[ENV_PROFILE_KEY] || 'default').split(',')
puts 'Loding profile ' + profile.join('/')
- @config = Grably::Core::Configuration.load... | Use profile var instead of looking up into ENV | vizor-games_grably | train | rb |
a2721775508aca064a42ad37ae024c7658a30f41 | diff --git a/includes/constants.php b/includes/constants.php
index <HASH>..<HASH> 100755
--- a/includes/constants.php
+++ b/includes/constants.php
@@ -30,7 +30,7 @@
*
*/
#TAO version number
-define('TAO_VERSION', '3.3.0-sprint70');
+define('TAO_VERSION', '3.3.0-sprint71');
$version = TAO_VERSION; | udpate version to sprint <I> | oat-sa_tao-core | train | php |
ae47fb1e4f1010c896fd7d27ff504b4f66fc88db | diff --git a/VirtualProductDelivery.php b/VirtualProductDelivery.php
index <HASH>..<HASH> 100644
--- a/VirtualProductDelivery.php
+++ b/VirtualProductDelivery.php
@@ -33,7 +33,7 @@ class VirtualProductDelivery extends AbstractDeliveryModule
*/
public function isValidDelivery(Country $country)
{
- ... | Refactored the cart management in the Session object | thelia-modules_VirtualProductDelivery | train | php |
f318b5e6a3e5c5ab9d026bc52ccea2e8625c3417 | diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/resource/XtextResource.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/resource/XtextResource.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/resource/XtextResource.java
+++ b/plugins/org.eclipse.xtext/src/org/ecl... | [idea][performance] Only relink a model on the modification counter
change, reparsing should be triggered by changing a corresponding xtext
file
Change-Id: I<I>eefbbe<I>c<I>d4e2d<I>e3 | eclipse_xtext-core | train | java |
b25f79d6b2cc7d3b29155cc728393222667dd5a3 | diff --git a/lib/html/builder.rb b/lib/html/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/html/builder.rb
+++ b/lib/html/builder.rb
@@ -8,6 +8,10 @@ module BBLib
SELF_CLOSING_TAGS.include?(tag.to_s.downcase)
end
+ def self.build(*args, &block)
+ Builder.build(*args, &block)
+ end
+
modu... | Added build method to HTML module. | bblack16_bblib-ruby | train | rb |
4183cb796e8b58a6ba81694ab9d79203d4731fb4 | diff --git a/test/test_calculating_business_duration.rb b/test/test_calculating_business_duration.rb
index <HASH>..<HASH> 100644
--- a/test/test_calculating_business_duration.rb
+++ b/test/test_calculating_business_duration.rb
@@ -25,6 +25,13 @@ describe "calculating business duration" do
assert_equal 5, sunday.bu... | add tests for inclusive business duration with holidays passed as options | bokmann_business_time | train | rb |
542d5bad9ed302041ad40486557b311793eabc9e | diff --git a/eZ/Bundle/EzPublishCoreBundle/EventListener/SessionSetDynamicNameListener.php b/eZ/Bundle/EzPublishCoreBundle/EventListener/SessionSetDynamicNameListener.php
index <HASH>..<HASH> 100644
--- a/eZ/Bundle/EzPublishCoreBundle/EventListener/SessionSetDynamicNameListener.php
+++ b/eZ/Bundle/EzPublishCoreBundle/E... | Additional fix for EZP-<I>, Impossible to log in using PHP <I> | ezsystems_ezpublish-kernel | train | php |
a3fc0299498feb33085d0df8c862f76b4e2b589e | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -92,9 +92,9 @@ author = u'Deren Eaton'
# The short X.Y version.
#import ipyrad
-version = 0.0.65 ##ipyrad.__version__
+version = "0.0.65" ##ipyrad.__version__
# The full version, including alpha/beta/rc t... | 'version' hard coded in conf as str not float | dereneaton_ipyrad | train | py |
2514515f1f0423cb9d81a1a402b4a3096e4fa645 | diff --git a/packages/currencies/tests/index.test.js b/packages/currencies/tests/index.test.js
index <HASH>..<HASH> 100644
--- a/packages/currencies/tests/index.test.js
+++ b/packages/currencies/tests/index.test.js
@@ -117,12 +117,15 @@ test("formatter can change locale", () => {
expect(
formatCurrencyUnit(getF... | comment out tests for now because node.js need conf for Intl | LedgerHQ_ledgerjs | train | js |
cf5c6533b8d40a1ae7799e9f72f2847889d0596c | diff --git a/lib/praxis-blueprints/blueprint.rb b/lib/praxis-blueprints/blueprint.rb
index <HASH>..<HASH> 100644
--- a/lib/praxis-blueprints/blueprint.rb
+++ b/lib/praxis-blueprints/blueprint.rb
@@ -337,11 +337,11 @@ module Praxis
if value.respond_to?(:validating) # really, it's a thing with sub-attributes
... | Use `.concat` to appease the cops a little bit. | praxis_praxis-blueprints | train | rb,rb |
de696521376a4d643c70c0e98ce393bc336954c6 | diff --git a/frontend/client/src/model.js b/frontend/client/src/model.js
index <HASH>..<HASH> 100644
--- a/frontend/client/src/model.js
+++ b/frontend/client/src/model.js
@@ -42,6 +42,18 @@ Espo.define('model', [], function () {
Dep.prototype.initialize.call(this);
},
+ set: function (key... | fix id in model.set | espocrm_espocrm | train | js |
82e2a3064b4751d959ffdda214fef1ba7fd85e8a | diff --git a/application/briefkasten/tests/test_dropbox.py b/application/briefkasten/tests/test_dropbox.py
index <HASH>..<HASH> 100644
--- a/application/briefkasten/tests/test_dropbox.py
+++ b/application/briefkasten/tests/test_dropbox.py
@@ -49,8 +49,8 @@ def test_dropbox_is_created_if_it_does_not_exist():
@fixtu... | add_dropbox now requires a pre-computed id | ZeitOnline_briefkasten | train | py |
668420c7f286cc67e72239ee524aa2f29397a8c0 | diff --git a/xblock/fields.py b/xblock/fields.py
index <HASH>..<HASH> 100644
--- a/xblock/fields.py
+++ b/xblock/fields.py
@@ -438,7 +438,7 @@ class Dict(Field):
if value is None or isinstance(value, dict):
return value
else:
- raise TypeError('Value stored in a Dict must be No... | Provide more information in some exceptions. | edx_XBlock | train | py |
ecdf4240f1d7354e60ce906f1ba26945672a66ed | diff --git a/src/node_modules/base/model.js b/src/node_modules/base/model.js
index <HASH>..<HASH> 100644
--- a/src/node_modules/base/model.js
+++ b/src/node_modules/base/model.js
@@ -6,9 +6,7 @@ var Model = require('ampersand-model');
module.exports = Model.extend({
- '@type': "Base",
-
- typeAttribute: "@type",... | typeAttribute is now the default modelType | holodex_app | train | js |
da9f86f1a7764b50a03ee8fcd77d12a660c8b5b0 | diff --git a/src/xterm.js b/src/xterm.js
index <HASH>..<HASH> 100644
--- a/src/xterm.js
+++ b/src/xterm.js
@@ -1102,9 +1102,8 @@
line = this.lines[row];
out = '';
- if (y === this.y
+ if (this.y === y - (this.ybase - this.ydisp)
&& this.cursorState
- && (this.yd... | Draw cursor at correct position when scrolling
Fixes #<I> | xtermjs_xterm.js | train | js |
c8c6ec4c0db4774946b044e171ca7bd90b348aee | diff --git a/ctd/ctd.py b/ctd/ctd.py
index <HASH>..<HASH> 100644
--- a/ctd/ctd.py
+++ b/ctd/ctd.py
@@ -12,6 +12,8 @@
# obs: New constructors and methods for pandas DataFrame and Series.
#
+# Standard library.
+import warnings
# Scientific stack.
import numpy as np
@@ -179,9 +181,9 @@ def from_cnv(fname, compres... | Using warnings instead of print statements to show alerts.
Fixed astype bug. | pyoceans_python-ctd | train | py |
ae8bed5d809cf6cf1691fe1b16fe8935a7d632f5 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -8,4 +8,5 @@ module.exports = function(grunt) {
});
grunt.loadNpmTasks('grunt-fh-build');
+ grunt.registerTask('default', ['fh:default']);
}; | [task]:RHMAP-<I> - Add default task which is missing | feedhenry_fh-mbaas-client | train | js |
05be585022a45590a68b3b28f78179ab0d941106 | diff --git a/lxd/backup/backup_instance.go b/lxd/backup/backup_instance.go
index <HASH>..<HASH> 100644
--- a/lxd/backup/backup_instance.go
+++ b/lxd/backup/backup_instance.go
@@ -5,6 +5,7 @@ import (
"strings"
"time"
+ "github.com/lxc/lxd/lxd/operations"
"github.com/lxc/lxd/lxd/project"
"github.com/lxc/lxd/lx... | lxd/backup/backup/instance: expose instance interface | lxc_lxd | train | go |
9539c43c7de96bde5e901a732d0786d5bb9e2595 | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -180,20 +180,22 @@ final class Client
*/
public function publish(string $uri, $obs, array $options = []): DisposableInterface
{
- $obs = $obs instanceof Observable ? $obs : Observ... | Only subscribe onNext of websocket in pusblish | voryx_RxThruwayClient | train | php |
decae0f07d337b6cd65ccdebad256bd171fdaba4 | diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/vmware.py
+++ b/salt/cloud/clouds/vmware.py
@@ -1903,6 +1903,9 @@ def list_snapshots(kwargs=None, call=None):
return {vm["name"]: _get_snapshots(vm["snapshot"].rootSnapshotList)}
... | Update vmware.py
if the vmname does't have any snapshot,it will return all snapshots on all vm that with snapshots. but it should return none.fix it | saltstack_salt | train | py |
327768300eea8623c8e603aeac99038e607438b0 | diff --git a/tests/test_sharding.py b/tests/test_sharding.py
index <HASH>..<HASH> 100644
--- a/tests/test_sharding.py
+++ b/tests/test_sharding.py
@@ -14,7 +14,7 @@ logger = logging.getLogger(__name__)
import tempfile
-from lib import set_storage
+from lib import set_storage, cleanup_storage
from lib.shards impor... | use cleanup_storage function instead of sh.cleanup in tearDown | 10gen_mongo-orchestration | train | py |
2fd1fd9573c4e297ecbc45a0be184450fb034f75 | diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index <HASH>..<HASH> 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -817,9 +817,14 @@ func (m *MMClient) StatusLoop() {
backoff = time.Second * 60
case <-time.After(time.Second * 5):
if retries > 3 {
... | Break when re-login fails (mattermost) | 42wim_matterbridge | train | go |
3fc00b05f3def0d54d5834ad72bf11e239dc8849 | diff --git a/src/test/java/io/nats/client/NatsTestServer.java b/src/test/java/io/nats/client/NatsTestServer.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/nats/client/NatsTestServer.java
+++ b/src/test/java/io/nats/client/NatsTestServer.java
@@ -165,6 +165,8 @@ public class NatsTestServer implements AutoClosea... | Added illegalstate exception when test server can't run | nats-io_java-nats | train | java |
484d638bb29467376a7db405af9c78412895fdd0 | diff --git a/lib/cramp/action.rb b/lib/cramp/action.rb
index <HASH>..<HASH> 100644
--- a/lib/cramp/action.rb
+++ b/lib/cramp/action.rb
@@ -112,7 +112,7 @@ module Cramp
end
def websockets_protocol_10?
- [8, 9, 10].include?(@env['HTTP_SEC_WEBSOCKET_VERSION'].to_i)
+ [7, 8, 9, 10].include?(@env['HTTP... | Firefox 6 websockets support | lifo_cramp | train | rb,rb |
b9c1a467bfb507353c8f3f72b775de2e123af3f3 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -68,11 +68,6 @@ setup_requires = [
install_requires = [
'Flask>=0.11.1',
- # "requests" has hard version range dependency on "idna" and "urllib3"
- # Every time "idna" and "urllib3" are updated, installation brea... | installation: remove requests-related pins | inveniosoftware_invenio-search | train | py |
0fbde7fa3599204ef82546bc4c465a26b14ec328 | diff --git a/wsgiservice/resource.py b/wsgiservice/resource.py
index <HASH>..<HASH> 100644
--- a/wsgiservice/resource.py
+++ b/wsgiservice/resource.py
@@ -207,7 +207,7 @@ class Resource(object):
else:
self.response.vary.append('Accept')
types = [mime for ext, mime in self.EXTENSION_MAP]
-... | Replace first_match with best_match.
first_match has been deprecated since WebOb <I>b1. | pneff_wsgiservice | train | py |
67525d520a518e74921bad3baa5f5c250d4d5072 | diff --git a/synapse/tests/test_lib_config.py b/synapse/tests/test_lib_config.py
index <HASH>..<HASH> 100644
--- a/synapse/tests/test_lib_config.py
+++ b/synapse/tests/test_lib_config.py
@@ -115,8 +115,20 @@ class ConfTest(SynTest):
with self.getTestDir() as fdir:
fp0 = os.path.join(fdir, 'c0.json... | Add test coverage for loadConfPath | vertexproject_synapse | train | py |
5418be07424cff6a268d5369fa0616fffe865105 | diff --git a/src/main/java/org/jboss/remotingjmx/protocol/v2/ServerCommon.java b/src/main/java/org/jboss/remotingjmx/protocol/v2/ServerCommon.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/remotingjmx/protocol/v2/ServerCommon.java
+++ b/src/main/java/org/jboss/remotingjmx/protocol/v2/ServerCommon.java
@... | [REMJMX-<I>] Always reuse serverMessageInterceptor when closing channel so proper security identity is set up. | jbossas_remoting-jmx | train | java |
f5f93a474959910231ffe243c72ad94d9ecf5784 | diff --git a/src/main/java/com/squareup/thumbor/ThumborUrl.java b/src/main/java/com/squareup/thumbor/ThumborUrl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/squareup/thumbor/ThumborUrl.java
+++ b/src/main/java/com/squareup/thumbor/ThumborUrl.java
@@ -345,7 +345,12 @@ public final class ThumborUrl {
// ... | Stylisting tweak to match other build methods. | square_pollexor | train | java |
2bc394e2f652cc62cc9776529249d44135e54a53 | diff --git a/metrics-core/src/main/java/com/codahale/metrics/Clock.java b/metrics-core/src/main/java/com/codahale/metrics/Clock.java
index <HASH>..<HASH> 100644
--- a/metrics-core/src/main/java/com/codahale/metrics/Clock.java
+++ b/metrics-core/src/main/java/com/codahale/metrics/Clock.java
@@ -20,8 +20,6 @@ public abst... | Move the default UserTimeClock to a holder class
This allows to avoid a deadlock when the user creates a new
UserTimeClock by hand. By creating a holder class we defer the
resolution of UserTimeClock class in the Clock class until the
`defaultClock` method invocation, rather than classloading. | dropwizard_metrics | train | java |
06e5b53a9b926d7e340588ab70e47a522fd01ab5 | diff --git a/scapy/contrib/mpls.py b/scapy/contrib/mpls.py
index <HASH>..<HASH> 100644
--- a/scapy/contrib/mpls.py
+++ b/scapy/contrib/mpls.py
@@ -17,7 +17,7 @@
from scapy.packet import Packet, bind_layers, Padding
from scapy.fields import BitField, ByteField, ShortField
-from scapy.layers.inet import IP
+from scap... | adding support for MPLS over UDP | secdev_scapy | train | py |
cf0094187e356e9b762a1796b092734d4e30d654 | diff --git a/spacy/cli/package.py b/spacy/cli/package.py
index <HASH>..<HASH> 100644
--- a/spacy/cli/package.py
+++ b/spacy/cli/package.py
@@ -16,8 +16,8 @@ def package(input_dir, output_dir, force):
check_dirs(input_path, output_path)
template_setup = get_template('setup.py')
+ template_manifest = get_t... | Fetch MANIFEST.in from GitHub as well | explosion_spaCy | train | py |
e75d10d6b7a547f5be7f8e0ce904baafba88c41b | diff --git a/cmd/influxd/launcher/query_test.go b/cmd/influxd/launcher/query_test.go
index <HASH>..<HASH> 100644
--- a/cmd/influxd/launcher/query_test.go
+++ b/cmd/influxd/launcher/query_test.go
@@ -44,8 +44,8 @@ mem,server=b value=45.2`))
}
rawQ := fmt.Sprintf(`from(bucket:"%s")
- |> filter(fn: (r) => r._measure... | test(launcher): fix ill-formatted query; range must come before filter
Until <URL> | influxdata_influxdb | train | go |
ff4835ec5c9d86579a0625b185671fa22444a771 | diff --git a/src/main/java/com/thinkaurelius/faunus/formats/rexster/FaunusRexsterExtension.java b/src/main/java/com/thinkaurelius/faunus/formats/rexster/FaunusRexsterExtension.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/thinkaurelius/faunus/formats/rexster/FaunusRexsterExtension.java
+++ b/src/main/java/co... | Changed namespace of kibble to 'faunus' | thinkaurelius_faunus | train | java |
ed0294ae276d67d40cf43145178aeed134b27345 | diff --git a/web/concrete/config/app.php b/web/concrete/config/app.php
index <HASH>..<HASH> 100644
--- a/web/concrete/config/app.php
+++ b/web/concrete/config/app.php
@@ -234,10 +234,7 @@ if (!defined('UPLOAD_FILE_EXTENSIONS_ALLOWED')) {
} else {
define('UPLOAD_FILE_EXTENSIONS_CONFIGURABLE', false);
}
-<<<<<<< HEAD... | resolved cherry-pick conflict
Former-commit-id: c2f<I>c<I>d6a<I>c9ad<I>b<I>c3c<I>d2f<I>f | concrete5_concrete5 | train | php |
d528fafe1d875e3c504066533e3dc21319e4d395 | diff --git a/dingo/core/__init__.py b/dingo/core/__init__.py
index <HASH>..<HASH> 100644
--- a/dingo/core/__init__.py
+++ b/dingo/core/__init__.py
@@ -692,6 +692,16 @@ class NetworkDingo:
for grid_district in self.mv_grid_districts():
grid_district.mv_grid.routing(debug, anim)
+ def connect_g... | add call method for connecting generators to NetworkDingo class | openego_ding0 | train | py |
9b30525542044a71f2d99da7669fd52c59d20414 | diff --git a/lib/Server.php b/lib/Server.php
index <HASH>..<HASH> 100644
--- a/lib/Server.php
+++ b/lib/Server.php
@@ -329,6 +329,12 @@ class sspmod_openidProvider_Server {
public function loadState($stateId) {
assert('is_string($stateId)');
+ // sanitize the input
+ $restartURL = SimpleSAML_Utilities::getURLF... | Followup on previous commits. Use redirectUntrustedURL() as a shortcut, and let everything else make use of redirectTrustedURL(). Move the responsibility to check the input out of the library, to the places where URLs are grabbed from input parameters.
git-svn-id: <URL> | simplesamlphp_simplesamlphp-module-openidprovider | train | php |
5f843feb90ddf10674f58cebfb52f9ee4b9b060f | diff --git a/lib/namespace.js b/lib/namespace.js
index <HASH>..<HASH> 100644
--- a/lib/namespace.js
+++ b/lib/namespace.js
@@ -141,21 +141,25 @@ Namespace.prototype.add = function(client, fn){
var self = this;
this.run(socket, function(err){
process.nextTick(function(){
- if (err) return socket.err(err.... | namespace: make sure not to fire `connection` if underlying client closed after `next` is called from a middleware | socketio_socket.io | train | js |
f28fe326a93c12bdd42b771b291b1ebe6ded86c4 | diff --git a/.karma.conf.js b/.karma.conf.js
index <HASH>..<HASH> 100644
--- a/.karma.conf.js
+++ b/.karma.conf.js
@@ -77,6 +77,31 @@ module.exports = function (config) {
// { type: 'text', subdir: '.', file: 'text.txt' },
{ type: 'text-summary', subdir: '.', file: 'text-summary.txt' },
],
+ ... | test(.karma.conf.js): added code coverage check | RentDynamics_ng-core | train | js |
09cfd93db14659ebb6c1fb5259c1d6508cb80cf7 | diff --git a/Connection.php b/Connection.php
index <HASH>..<HASH> 100644
--- a/Connection.php
+++ b/Connection.php
@@ -424,7 +424,10 @@ class Connection extends Component
CURLOPT_RETURNTRANSFER => false,
CURLOPT_HEADER => false,
// http://www.php.net/manual/en/function.cur... | <I> (#<I>)
* support "gt", ">", "lt", "<", "gte", ">=", "lte" and "<=" operator
* reset the curl post fields and post method when resetting the curl handler
* Remove deprecated warning "Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header" | yiisoft_yii2-elasticsearch | train | php |
5e19f7789a4992ffd4deae3879e2dc04b430ab0e | diff --git a/generators/heroku/index.js b/generators/heroku/index.js
index <HASH>..<HASH> 100644
--- a/generators/heroku/index.js
+++ b/generators/heroku/index.js
@@ -191,28 +191,7 @@ module.exports = class extends BaseBlueprintGenerator {
type: 'list',
name: 'herokuJavaVersion',
... | support jdk<I> with heroku sub gen | jhipster_generator-jhipster | train | js |
2fd888ac9d2e94c4c5eb7aaf26dda376b44b6bd3 | diff --git a/python/ray/tests/test_advanced_9.py b/python/ray/tests/test_advanced_9.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_advanced_9.py
+++ b/python/ray/tests/test_advanced_9.py
@@ -186,6 +186,10 @@ def test_function_table_gc_actor(call_ray_start):
wait_for_condition(lambda: function_entry_num... | [core] Skip windows test for adjusting worker OOM score (#<I>)
Fixes CI failure introduced in #<I>. | ray-project_ray | train | py |
f80b39f69d97a52bee5887b6b13de8c5f26ef7fe | diff --git a/werkzeug/serving.py b/werkzeug/serving.py
index <HASH>..<HASH> 100644
--- a/werkzeug/serving.py
+++ b/werkzeug/serving.py
@@ -481,7 +481,7 @@ def run_simple(hostname, port, application, use_reloader=False,
from werkzeug.debug import DebuggedApplication
application = DebuggedApplication(ap... | Fixed an import error in the serving support. This fixes #<I> | pallets_werkzeug | train | py |
2284910819d8fb0a0aa709a906ffb6375ce7e41b | diff --git a/bolt/spark.py b/bolt/spark.py
index <HASH>..<HASH> 100644
--- a/bolt/spark.py
+++ b/bolt/spark.py
@@ -41,20 +41,27 @@ class BoltArraySpark(BoltArray):
Functional operators
"""
- # TODO make sure that operation preserves shape
+ # TODO handle shape changes
+ # TODO add axes
def map... | Add todos and reorganize | bolt-project_bolt | train | py |
7d5ef304fd369f8d08cba99c2fd03a18b699329b | diff --git a/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/mail/EmailTestCase.java b/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/mail/EmailTestCase.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/mail/EmailTestCase.... | (possible) fix for failing email tests | Activiti_Activiti | train | java |
64ba7991f4b6037d0f7548e955e0cfa1d96c83e7 | diff --git a/consul/mdb_table.go b/consul/mdb_table.go
index <HASH>..<HASH> 100644
--- a/consul/mdb_table.go
+++ b/consul/mdb_table.go
@@ -28,12 +28,19 @@ const (
using a row id, while maintaining any number of secondary indexes.
*/
type MDBTable struct {
- lastRowID uint64 // Last used rowID
- Env *mdb.Env
... | consul: Add a NotifyGroup to the MDBTable | hashicorp_consul | train | go |
15b0f6838f5a321916d694bd5de79f84ada1f503 | diff --git a/isort/settings.py b/isort/settings.py
index <HASH>..<HASH> 100644
--- a/isort/settings.py
+++ b/isort/settings.py
@@ -402,7 +402,7 @@ def file_should_be_skipped(
position = os.path.split(position[0])
for glob in config['skip_glob']:
- if fnmatch.fnmatch(filename, glob):
+ if f... | Fix issue with */ style glob tests | timothycrosley_isort | train | py |
f6dd07f05b39e8444337220957d148812a1e686d | diff --git a/pywws/Plot.py b/pywws/Plot.py
index <HASH>..<HASH> 100755
--- a/pywws/Plot.py
+++ b/pywws/Plot.py
@@ -486,7 +486,7 @@ class BasePlotter(object):
self.plot_count = len(plot_list)
if self.plot_count < 1:
# nothing to plot
- self.logger.error('%s has no plot nodes' % ... | Reduce "no plot nodes" message from error to info
The pywws.Tasks module always tries graph templates as plots first,
before trying them as wind roses if the plot failed. This was generating
spurious error messages for a situation that isn't really an error. | jim-easterbrook_pywws | train | py,py |
2689f26434a23cf81e72c2ca6320f46d092bc22b | diff --git a/bokeh/server/application_context.py b/bokeh/server/application_context.py
index <HASH>..<HASH> 100644
--- a/bokeh/server/application_context.py
+++ b/bokeh/server/application_context.py
@@ -7,6 +7,7 @@ import logging
log = logging.getLogger(__name__)
from .session import ServerSession
+from .exceptions... | Add missing import to server/application_context.py
This was only apparent when an error was raised. | bokeh_bokeh | train | py |
d242242849e0607ac24a66225e2d466c2623477d | diff --git a/labm8/py/dockerutil.py b/labm8/py/dockerutil.py
index <HASH>..<HASH> 100644
--- a/labm8/py/dockerutil.py
+++ b/labm8/py/dockerutil.py
@@ -166,7 +166,9 @@ class BazelPy3Image(object):
subprocess.check_call(
_Docker(["tag", self.image_name, tmp_name], timeout=60),
)
- subprocess.check_cal... | Force removal of docker image.
github.com/ChrisCummins/phd/issues/<I> | ChrisCummins_labm8 | train | py |
23337a993df1cdf8e57ae419c7441f7323b74a87 | diff --git a/lib/yard/generators/class_generator.rb b/lib/yard/generators/class_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/generators/class_generator.rb
+++ b/lib/yard/generators/class_generator.rb
@@ -1,6 +1,8 @@
module YARD
module Generators
class ClassGenerator < Base
+ before_generate :is... | Add visibility grouping generators to class generator | lsegal_yard | train | rb |
e4a84bea99926e855d662e130c59a9f6b28106b8 | diff --git a/libcontainer/cgroups/systemd/v2.go b/libcontainer/cgroups/systemd/v2.go
index <HASH>..<HASH> 100644
--- a/libcontainer/cgroups/systemd/v2.go
+++ b/libcontainer/cgroups/systemd/v2.go
@@ -53,6 +53,10 @@ func genV2ResourcesProperties(c *configs.Cgroup) ([]systemdDbus.Property, error)
properties = append(pr... | cgroupv2+systemd: set MemoryLow
For some reason, this was not set before.
Test case is added by the next commit. | opencontainers_runc | train | go |
25023e75157b8e1ff324bcea44f4494766a8a7d8 | diff --git a/eventsourcing/examples/test_parking_lot.py b/eventsourcing/examples/test_parking_lot.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/examples/test_parking_lot.py
+++ b/eventsourcing/examples/test_parking_lot.py
@@ -17,10 +17,10 @@ from eventsourcing.system import NotificationLogReader
@dataclass
class... | Moved regex to be a class attribute. | johnbywater_eventsourcing | train | py |
e6ed7e68b1e0605af003c8ca06641f2db6298b11 | diff --git a/core/server/src/main/java/alluxio/master/file/FileSystemMaster.java b/core/server/src/main/java/alluxio/master/file/FileSystemMaster.java
index <HASH>..<HASH> 100644
--- a/core/server/src/main/java/alluxio/master/file/FileSystemMaster.java
+++ b/core/server/src/main/java/alluxio/master/file/FileSystemMaste... | Update the comment in loadMetadataIfNotExistAndJournal from exisits to exists. | Alluxio_alluxio | 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.