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 |
|---|---|---|---|---|---|
d004c4adcd7ef66ec0da3a5304d292f60655fd58 | diff --git a/user/profile/field/menu/field.class.php b/user/profile/field/menu/field.class.php
index <HASH>..<HASH> 100644
--- a/user/profile/field/menu/field.class.php
+++ b/user/profile/field/menu/field.class.php
@@ -16,6 +16,9 @@ class profile_field_menu extends profile_field_base {
/// Param 1 for menu typ... | MDL-<I> "'Required' does nothing for select fields in customisable user profiles" added an extra option 'Choose...' which is the default if no other default is specified. If the user leaves the select field set to 'Choose...' then the required rule fails and the form does not submit. | moodle_moodle | train | php |
99e7ca4f01738df8a0d994f04e6cc05f8bd51c5e | diff --git a/usb/usb.go b/usb/usb.go
index <HASH>..<HASH> 100644
--- a/usb/usb.go
+++ b/usb/usb.go
@@ -15,7 +15,7 @@
// Package usb provides a wrapper around libusb-1.0.
//
-// Note that this package was deprecated in favor of github.com/google/gousb.
+// Deprecated: this package was deprecated in favor of github.c... | Add a properly formatted deprecation comment, triggering lint warnings. | kylelemons_gousb | train | go |
810260d7b9c6262e1237134bb801302a77424e87 | diff --git a/oryx-ml-mllib/src/test/java/com/cloudera/oryx/ml/mllib/als/ALSModelContentIT.java b/oryx-ml-mllib/src/test/java/com/cloudera/oryx/ml/mllib/als/ALSModelContentIT.java
index <HASH>..<HASH> 100644
--- a/oryx-ml-mllib/src/test/java/com/cloudera/oryx/ml/mllib/als/ALSModelContentIT.java
+++ b/oryx-ml-mllib/src/t... | Increase interval to avoid spurious test errors in ALSModelContentIT | OryxProject_oryx | train | java |
84bede1effec40e63c8ba3baf79a7b8dcea85510 | diff --git a/osmdroid-android/src/main/java/org/osmdroid/views/MapController.java b/osmdroid-android/src/main/java/org/osmdroid/views/MapController.java
index <HASH>..<HASH> 100644
--- a/osmdroid-android/src/main/java/org/osmdroid/views/MapController.java
+++ b/osmdroid-android/src/main/java/org/osmdroid/views/MapContr... | Update issue <I>
Add fix for API <= <I> and zoom animation. | osmdroid_osmdroid | train | java |
177ac7bd399a6d13d64826bfaab3c70e84b85c2b | diff --git a/tests/MetaModels/Test/Helper/ToolBoxFileTest.php b/tests/MetaModels/Test/Helper/ToolBoxFileTest.php
index <HASH>..<HASH> 100644
--- a/tests/MetaModels/Test/Helper/ToolBoxFileTest.php
+++ b/tests/MetaModels/Test/Helper/ToolBoxFileTest.php
@@ -3,7 +3,7 @@
/**
* This file is part of MetaModels/core.
*
- ... | Respect the "meta" array in the ToolboxFileTest. Changes made via #<I> | MetaModels_core | train | php |
86198852a5e4a89aa5d620b3f000534183075172 | diff --git a/djangocms_text_ckeditor/html.py b/djangocms_text_ckeditor/html.py
index <HASH>..<HASH> 100644
--- a/djangocms_text_ckeditor/html.py
+++ b/djangocms_text_ckeditor/html.py
@@ -38,6 +38,7 @@ def extract_images(data, plugin):
tree_builder = html5lib.treebuilders.getTreeBuilder('dom')
parser = html5li... | fixed further tests for <I> | divio_djangocms-text-ckeditor | train | py |
0550c48c396e33ee81f3fcbd7904d589fdc48945 | diff --git a/lib/player.js b/lib/player.js
index <HASH>..<HASH> 100644
--- a/lib/player.js
+++ b/lib/player.js
@@ -3567,7 +3567,7 @@ shaka.Player.prototype.getSelectableText_ = function() {
};
/**
- * Get the period that is on the screen. This will return |null| is nothing
+ * Get the period that is on the screen. ... | Correct Type in Comment On getPresentationPeriod_
"is" was used where we likely meant "if".
Change-Id: I<I>f<I>a4b9eb<I>a7e<I>ff<I>d<I>fc<I>f | google_shaka-player | train | js |
98dc1b5e360ddf3279d169c4099d3fe186ab5be1 | diff --git a/src/server/pachyderm_test.go b/src/server/pachyderm_test.go
index <HASH>..<HASH> 100644
--- a/src/server/pachyderm_test.go
+++ b/src/server/pachyderm_test.go
@@ -2867,6 +2867,18 @@ func TestChainedPipelines(t *testing.T) {
require.Equal(t, 2, len(results))
}
+func TestFlushCommitReturnsFromCommit(t *t... | Adds a (failing) test for FlushCommit. | pachyderm_pachyderm | train | go |
ec52ad0a8d4091756225aff6880064f93f799b2e | diff --git a/discord_test.go b/discord_test.go
index <HASH>..<HASH> 100644
--- a/discord_test.go
+++ b/discord_test.go
@@ -15,10 +15,10 @@ var (
envToken = os.Getenv("DG_TOKEN") // Token to use when authenticating
envEmail = os.Getenv("DG_EMAIL") // Email to use when authenticating
envPassword = os.Ge... | Commented out two unused envars | bwmarrin_discordgo | train | go |
77921e919889dbc3e328a04b66e69c5b1085266b | diff --git a/tests/Gliph/Graph/DirectedAdjacencyGraphTest.php b/tests/Gliph/Graph/DirectedAdjacencyGraphTest.php
index <HASH>..<HASH> 100644
--- a/tests/Gliph/Graph/DirectedAdjacencyGraphTest.php
+++ b/tests/Gliph/Graph/DirectedAdjacencyGraphTest.php
@@ -75,4 +75,13 @@ class DirectedAdjacencyGraphTest extends Adjacency... | Test transposition on DirectedAdjacencyGraph | sdboyer_gliph | train | php |
322454e8e511eae6c471e2aacf08175a100b5999 | diff --git a/spiketoolkit/preprocessing/basepreprocessorrecording.py b/spiketoolkit/preprocessing/basepreprocessorrecording.py
index <HASH>..<HASH> 100644
--- a/spiketoolkit/preprocessing/basepreprocessorrecording.py
+++ b/spiketoolkit/preprocessing/basepreprocessorrecording.py
@@ -13,7 +13,12 @@ class BasePreprocessor... | Add has_unscaled to base preprocessor | SpikeInterface_spiketoolkit | train | py |
507ab7941d5c04b8029b254a26ae27630b9f5ae8 | diff --git a/src/Request.php b/src/Request.php
index <HASH>..<HASH> 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -138,16 +138,16 @@ class Request implements JsonSerializable {
'SCRIPT_NAME' => '',
'PATH_INFO' => '/',
'EXT' => '',
- 'QUERY' => ar... | Change the default environment on the Request class. | vanilla_garden | train | php |
b4b144edb3db04dced5e09502555cdaf14b17a8a | diff --git a/voice.go b/voice.go
index <HASH>..<HASH> 100644
--- a/voice.go
+++ b/voice.go
@@ -32,7 +32,8 @@ type Voice struct {
Ready bool // If true, voice is ready to send/receive audio
Debug bool // If true, print extra logging
OP2 *voiceOP2 // exported for dgvoice, may change... | Renamed Opus chan to OpusSend and added OpusRecv | bwmarrin_discordgo | train | go |
80f109a3532de79a85b6564dbef1ee537c965da0 | diff --git a/classes/phing/TaskAdapter.php b/classes/phing/TaskAdapter.php
index <HASH>..<HASH> 100755
--- a/classes/phing/TaskAdapter.php
+++ b/classes/phing/TaskAdapter.php
@@ -57,6 +57,8 @@ class TaskAdapter extends Task
if (method_exists($this->proxy, "main")) {
try { //try to call main
... | Refs #<I> - rethrow build exceptions (makes if task less chatty) | phingofficial_phing | train | php |
e1d62cee1efa5029ef58909dee2f3c26e60ec929 | diff --git a/src/config/hisite.php b/src/config/hisite.php
index <HASH>..<HASH> 100644
--- a/src/config/hisite.php
+++ b/src/config/hisite.php
@@ -49,7 +49,9 @@ return [
\hiqdev\thememanager\menus\AbstractSidebarMenu::class => [
'add' => [
'hosting' => [
- ... | Added DNS to sidebar sub menu | hiqdev_hipanel-module-hosting | train | php |
b77844a9b28c3e89b9e741b2b4aab32a4fd09816 | diff --git a/toml.py b/toml.py
index <HASH>..<HASH> 100644
--- a/toml.py
+++ b/toml.py
@@ -283,13 +283,15 @@ def dumps(o):
def dump_sections(o, sup):
retstr = ""
+ if sup != "" and sup[-1] != ".":
+ sup += '.'
retdict = {}
for section in o:
if not isinstance(o[section], dict):
... | Fix bug with leading dot in array of tables name | uiri_toml | train | py |
2c2d95f79062349fbca9f716afbab831c55a50f3 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -43,6 +43,9 @@ class Mock(MagicMock):
MOCK_MODULES = [
'boto',
'boto.utils',
+ 'storages',
+ 'storages.backends',
+ 'storages.backends.s3boto',
]
for mod_name in MOCK_MODULES: | Add storages to the shimlist | wooey_Wooey | train | py |
57557083321526e77bb5ac3480564f125e960851 | diff --git a/scss/__init__.py b/scss/__init__.py
index <HASH>..<HASH> 100644
--- a/scss/__init__.py
+++ b/scss/__init__.py
@@ -1648,10 +1648,14 @@ try:
import cStringIO as StringIO
except:
import StringIO
+
try:
from PIL import Image, ImageDraw
except ImportError:
- Image = None
+ try:
+ ... | Try importing PIL from alternative path. log exceptions. | Kronuz_pyScss | train | py |
bb4785a200d14c05b13b31c36ebe39c632b94911 | diff --git a/services/personality_insights/v2.js b/services/personality_insights/v2.js
index <HASH>..<HASH> 100644
--- a/services/personality_insights/v2.js
+++ b/services/personality_insights/v2.js
@@ -20,17 +20,9 @@ var extend = require('extend');
var requestFactory = require('../../lib/requestwrapper');
va... | update the function to detect html in personality insights | watson-developer-cloud_node-sdk | train | js |
ad7dfac6539e1ac319f159ea67912eb0290964db | diff --git a/packages/mjml-social/src/SocialElement.js b/packages/mjml-social/src/SocialElement.js
index <HASH>..<HASH> 100644
--- a/packages/mjml-social/src/SocialElement.js
+++ b/packages/mjml-social/src/SocialElement.js
@@ -120,10 +120,7 @@ export default class MjSocialElement extends BodyComponent {
}
getSo... | rm useless cloning | mjmlio_mjml | train | js |
26cfa88f3a4b3fc62df76b60b39397efb229c0bd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,6 @@ tests_require = [
'pytest-django>=3.2.1',
] + rest_framework_require
-django_version = 'Django>=1.8.0,<2' if sys.version_info[0] < 3 else 'Django>=1.8.0'
setup(
name='graphene-django',
version... | Fixed non-deterministic setup.py. Related issue #<I>
This commit is trying to fix <URL> | graphql-python_graphene-django | train | py |
8929368bbb2366ace79cba548ca776d62739f620 | diff --git a/system/drivers/DC_General.php b/system/drivers/DC_General.php
index <HASH>..<HASH> 100644
--- a/system/drivers/DC_General.php
+++ b/system/drivers/DC_General.php
@@ -1456,7 +1456,7 @@ class DC_General extends DataContainer implements editable, listable
{
$varNew = $this->Encry... | call isUniqueValue with id of current item. | contao-community-alliance_dc-general | train | php |
9edc805932b53b14d3225643037be9afb1478ec1 | diff --git a/canmatrix/arxml.py b/canmatrix/arxml.py
index <HASH>..<HASH> 100644
--- a/canmatrix/arxml.py
+++ b/canmatrix/arxml.py
@@ -1231,7 +1231,7 @@ def getFrame(frameTriggering, arDict, multiplexTranslation, ns, float_factory):
else:
logger.debug(arGetName(pdu, ns))
- if "MULTIPLEXED-I-PDU" in p... | Update arxml.py
more robustness for arxml reading (#<I>) | ebroecker_canmatrix | train | py |
5a92549f1dbdbf70a93c03b35a7f6d08206c8c2d | diff --git a/xbbg/__init__.py b/xbbg/__init__.py
index <HASH>..<HASH> 100644
--- a/xbbg/__init__.py
+++ b/xbbg/__init__.py
@@ -1,3 +1,3 @@
"""Intuitive Bloomberg data API"""
-__version__ = '0.7.6'
+__version__ = '0.7.7a1' | version <I>a1 - added options in `blp.live` | alpha-xone_xbbg | train | py |
6b9adef6849f4013b0caee82787d947bd924dcee | diff --git a/ocrmypdf/hocrtransform.py b/ocrmypdf/hocrtransform.py
index <HASH>..<HASH> 100755
--- a/ocrmypdf/hocrtransform.py
+++ b/ocrmypdf/hocrtransform.py
@@ -205,8 +205,8 @@ class HocrTransform():
# put the image on the page, scaled to fill the page
if imageFileName is not None:
- im... | Don't create inline images in output PDFs
...except that Ghostscript will sometimes turn out of line images into
inline images on its own, possibly if file size is small. | jbarlow83_OCRmyPDF | train | py,py |
982ce5007fa9cf024aafee6accbf46af290943b1 | diff --git a/src/data/List.js b/src/data/List.js
index <HASH>..<HASH> 100644
--- a/src/data/List.js
+++ b/src/data/List.js
@@ -34,7 +34,7 @@ function cloneChunk(originalChunk) {
}
var TRANSFERABLE_PROPERTIES = [
- 'stackedOn', 'hasItemOption', '_nameList', '_idList', '_rawData'
+ 'stackedOn', 'hasItemOption',... | Fix clone not transfer chunkSize bug. | apache_incubator-echarts | train | js |
467695bcb968d66600bfad610e4df3cc7aaf68fc | diff --git a/recipe/common.php b/recipe/common.php
index <HASH>..<HASH> 100644
--- a/recipe/common.php
+++ b/recipe/common.php
@@ -74,7 +74,7 @@ set('writable_chmod_recursive', true); // For chmod mode only (if is boolean, it
set('http_user', false);
set('http_group', false);
-set('clear_paths', []); // Rel... | Fix comment in common recipe (#<I>)
As stated in <URL> | deployphp_deployer | train | php |
7c33f88f77d3ee996fb905deb148cc1d549b117c | diff --git a/pysyte/cli/main.py b/pysyte/cli/main.py
index <HASH>..<HASH> 100644
--- a/pysyte/cli/main.py
+++ b/pysyte/cli/main.py
@@ -49,8 +49,6 @@ def run(main_method, add_args=None, post_parse=None, config=None, usage=None, ep
main = main_method
else:
def main():
- if post_parse:
- ... | Do not duplicate post-parsing | jalanb_pysyte | train | py |
62cf38db3f0d54d13b54139e227a71de9a2d6d72 | diff --git a/jws/jws.go b/jws/jws.go
index <HASH>..<HASH> 100644
--- a/jws/jws.go
+++ b/jws/jws.go
@@ -374,10 +374,19 @@ func Parse(src io.Reader) (m *Message, err error) {
}
}
+ var parser func(io.Reader) (*Message, error)
if first == '{' {
- return parseJSON(rdr)
+ parser = parseJSON
+ } else {
+ parser =... | slight re-org of the code | lestrrat-go_jwx | train | go |
0e7330777448758b059ab24d6db4b527c0269001 | diff --git a/util.py b/util.py
index <HASH>..<HASH> 100644
--- a/util.py
+++ b/util.py
@@ -458,3 +458,31 @@ def get_platform ():
return sys.platform
# get_platform()
+
+
+def native_path (pathname):
+ """Return 'pathname' as a name that will work on the native
+ filesystem, i.e. split it on '/' and... | Added 'native_path()' for use on pathnames from the setup script: split on
slashes, and put back together again using the local directory separator. | pypa_setuptools | train | py |
6540ed21e47043d64e20bf6809d32faff0e35282 | diff --git a/tests/Cli.php b/tests/Cli.php
index <HASH>..<HASH> 100644
--- a/tests/Cli.php
+++ b/tests/Cli.php
@@ -14,7 +14,6 @@ class Cli
{
echo 'test';
yield 'execute' => 0;
- echo 'test';
yield 'execute' => 1;
}
} | this should go for the test to pass | gentry-php_gentry | train | php |
5c235cbc4aa3de34fc1fa2931df14346f743550f | diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/plot.py
+++ b/holoviews/plotting/plot.py
@@ -635,7 +635,7 @@ class GenericCompositePlot(DimensionedPlot):
layout_frame = self.layout.clone(shared_data=False)
nthkey_fn = lambda x: ... | Fixed unassigned variable in GenericCompositePlot | pyviz_holoviews | train | py |
9c03dff2c919919760616583216567a08dd67a6e | diff --git a/lib/tests/accesslib_test.php b/lib/tests/accesslib_test.php
index <HASH>..<HASH> 100644
--- a/lib/tests/accesslib_test.php
+++ b/lib/tests/accesslib_test.php
@@ -2476,10 +2476,11 @@ class accesslib_testcase extends advanced_testcase {
$this->assertDebuggingCalled('print_context_name() is deprecate... | MDL-<I> libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement | moodle_moodle | train | php |
583971559601c8b6c746396379d3bb600c26dff0 | diff --git a/src/Illuminate/Foundation/Console/RouteListCommand.php b/src/Illuminate/Foundation/Console/RouteListCommand.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Console/RouteListCommand.php
+++ b/src/Illuminate/Foundation/Console/RouteListCommand.php
@@ -240,7 +240,7 @@ class RouteListCommand ex... | Compare route:list columns case insensitively | laravel_framework | train | php |
eed1ccff9b2635cac03c877f0ecb281fde2ffe61 | diff --git a/tensor2tensor/models/research/transformer_moe.py b/tensor2tensor/models/research/transformer_moe.py
index <HASH>..<HASH> 100644
--- a/tensor2tensor/models/research/transformer_moe.py
+++ b/tensor2tensor/models/research/transformer_moe.py
@@ -93,8 +93,8 @@ class TransformerMoe(t2t_model.T2TModel):
""... | Fix transformer_moe model has wrong logic in pre/postprocessing (#<I>) | tensorflow_tensor2tensor | train | py |
24381c2f370fe994a653f81074f91e58fc0333d5 | diff --git a/lib/OpenLayers/Control/MouseDefaults.js b/lib/OpenLayers/Control/MouseDefaults.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Control/MouseDefaults.js
+++ b/lib/OpenLayers/Control/MouseDefaults.js
@@ -188,7 +188,7 @@ OpenLayers.Control.MouseDefaults.prototype =
(end.lat)
... | Remove MouseDefaults.zoomBox directly, rather than attempting to remove it by DOM ID. Fixes #<I> in IE.
git-svn-id: <URL> | openlayers_openlayers | train | js |
fb376a83a47d678952672a7f5d36a02101135fb2 | diff --git a/pifpaf/drivers/ceph.py b/pifpaf/drivers/ceph.py
index <HASH>..<HASH> 100644
--- a/pifpaf/drivers/ceph.py
+++ b/pifpaf/drivers/ceph.py
@@ -130,6 +130,9 @@ mon pg warn min per osd = 0
mon data avail warn = 2
mon data avail crit = 1
+# Ceph CVE CVE-2021-20288 to prevent HEALTH_WARN
+auth allow insecure gl... | Set auth_allow_insecure_global_id_reclaim to false
This is for Ceph CVE-<I>-<I> to prevent it from
being stuck in HEALTH_WARN. | jd_pifpaf | train | py |
6b667de5709f4dc794be0dca1890da5b9ca620ac | diff --git a/views/js/runner/provider/qti.js b/views/js/runner/provider/qti.js
index <HASH>..<HASH> 100644
--- a/views/js/runner/provider/qti.js
+++ b/views/js/runner/provider/qti.js
@@ -24,6 +24,7 @@ define([
'jquery',
'lodash',
'context',
+ 'module',
'core/promise',
'taoQtiItem/qtiItem/cor... | Added variable that is responsible about type of the feedback form (modal|inline) | oat-sa_extension-tao-itemqti | train | js |
03a2958a28b900eec1392b55d2470930c3e5b7e3 | diff --git a/pkg/cmd/server/etcd/etcdserver/run.go b/pkg/cmd/server/etcd/etcdserver/run.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/server/etcd/etcdserver/run.go
+++ b/pkg/cmd/server/etcd/etcdserver/run.go
@@ -93,6 +93,9 @@ func RunEtcd(etcdServerConfig *configapi.EtcdConfig) {
func addressToURLs(addr string, isTLS b... | Allow unix domain sockets to be passed to etcd start | openshift_origin | train | go |
b9465e8755509cc79ad7492914a26c8ac3884de0 | diff --git a/railties/lib/rails/test_unit/minitest_plugin.rb b/railties/lib/rails/test_unit/minitest_plugin.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/test_unit/minitest_plugin.rb
+++ b/railties/lib/rails/test_unit/minitest_plugin.rb
@@ -93,5 +93,7 @@ module Minitest
mattr_accessor(:run_with_rails_exten... | Set Rails as the first minitest initialized plugin.
When calling `load_plugins` minitest would fill out its extensions, then
we'd tackle ourselves on as the last plugin. Because minitest loads plugins
in order we will ultimately have the last say on what reporters will be used.
Invert that strategy by putting ourselv... | rails_rails | train | rb |
24f593ae0738dd93503674411d576865465a32a1 | diff --git a/salt/modules/virt.py b/salt/modules/virt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virt.py
+++ b/salt/modules/virt.py
@@ -695,7 +695,7 @@ def _gen_pool_xml(name,
source_initiator]):
source = {
'devices': source_devices or [],
- 'dir': source_dir,
+ ... | virt.pool_define: remove potential leading / in CIFS source path
libvirt needs the CIFS source path not to start with a /. Let's remove
them since this could be a common user mistake. | saltstack_salt | train | py |
1a4a89a894a2c7358f697edd00d20c1fcfcc4b71 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
long_description=open("README.rst").read(),
author=AUTHOR,
author_email=AUTHOR_EMAIL,
- license="LGPL",
+ license="MIT",
include_package_data=True,
py_modules=['config_resol... | Switched to MIT license. | exhuma_config_resolver | train | py |
4e42a3daa65cc2fdca7c96e77d62db4e34aee276 | diff --git a/lifecycle/lifecycle.go b/lifecycle/lifecycle.go
index <HASH>..<HASH> 100644
--- a/lifecycle/lifecycle.go
+++ b/lifecycle/lifecycle.go
@@ -22,7 +22,6 @@ type Lifecycle struct {
interrupt chan os.Signal
fatalQuit chan struct{}
killFuncs []func()
- uninstaller stopper.Stopper
}
// New creates ... | lifecycle: remove using uninstaller by default so that programs can use SIGUSR1 | fastly_go-utils | train | go |
1c65facbebefd0ab0fc91b52eab9f3f18927826e | diff --git a/thinc/extra/datasets.py b/thinc/extra/datasets.py
index <HASH>..<HASH> 100644
--- a/thinc/extra/datasets.py
+++ b/thinc/extra/datasets.py
@@ -43,7 +43,7 @@ def ancora_pos_tags(encode_words=False): # pragma: no cover
def ewtb_pos_tags(encode_tags=False, encode_words=False): # pragma: no cover
- da... | Fix location of UD_English-EWT dataset | explosion_thinc | train | py |
e9d9205ce8461f7611cba369a5e8d4fea8c53034 | diff --git a/terraform/eval_diff.go b/terraform/eval_diff.go
index <HASH>..<HASH> 100644
--- a/terraform/eval_diff.go
+++ b/terraform/eval_diff.go
@@ -146,7 +146,6 @@ func (n *EvalDiff) Eval(ctx EvalContext) (interface{}, error) {
// necessary
unmarkedConfigVal := configVal
var unmarkedPaths []cty.PathValueMarks
... | Modifications to eval_diff | hashicorp_terraform | train | go |
386ae96037fb67cc9540a0d18493cc7d9a803da1 | diff --git a/src/Isbn/CheckDigit.php b/src/Isbn/CheckDigit.php
index <HASH>..<HASH> 100644
--- a/src/Isbn/CheckDigit.php
+++ b/src/Isbn/CheckDigit.php
@@ -6,6 +6,7 @@ class CheckDigit {
public static function make($isbn)
{
+ $isbn = Hyphens::removeHyphens($isbn);
if (strlen($isbn) == 12 OR s... | Be more sure about the exactness of the string I'm measuring | Fale_isbn | train | php |
6975e35ace8e679b739be40cbee23b4740213e0e | diff --git a/core-bundle/src/Resources/contao/library/Contao/Model.php b/core-bundle/src/Resources/contao/library/Contao/Model.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/library/Contao/Model.php
+++ b/core-bundle/src/Resources/contao/library/Contao/Model.php
@@ -430,6 +430,8 @@ abstract clas... | [Core] Register model, after insert a new row into database. | contao_contao | train | php |
472e9313f2b75344bd8ec056ee4c52a0fd3877e8 | diff --git a/addon/services/l10n.js b/addon/services/l10n.js
index <HASH>..<HASH> 100644
--- a/addon/services/l10n.js
+++ b/addon/services/l10n.js
@@ -134,7 +134,9 @@ export default Service.extend({
* @default 'assets/locales'
* @public
*/
- jsonPath: '/assets/locales',
+ jsonPath: computed(function() {
+... | Use a cp for jsonPath to prevent broccoli-asset-rev from making wrong changes | Cropster_ember-l10n | train | js |
cac71606aaf4ec9400682ae10bdddf2fdbfa05dc | diff --git a/html/pfappserver/root/static.alt/src/views/Configurator/_router/index.js b/html/pfappserver/root/static.alt/src/views/Configurator/_router/index.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/static.alt/src/views/Configurator/_router/index.js
+++ b/html/pfappserver/root/static.alt/src/views/Con... | (web admin) do not include X-PacketFence-Tenant-Id header when in configurator, fixes #<I> | inverse-inc_packetfence | train | js |
a8d17c30b5f5786cb8ad2d8ce156810245e51901 | diff --git a/Grido/Components/Filters/Text.php b/Grido/Components/Filters/Text.php
index <HASH>..<HASH> 100644
--- a/Grido/Components/Filters/Text.php
+++ b/Grido/Components/Filters/Text.php
@@ -17,6 +17,9 @@ namespace Grido\Components\Filters;
* @package Grido
* @subpackage Components\Filters
* @author ... | Fixed latest commit part 2 (for php <I>) | o5_grido | train | php |
95fd5c06c62a03a070c226b9c2e7e2c007174955 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -124,7 +124,7 @@ module.exports = {
result.posCount = posDaily;
result.negCount = negDaily;
result.nullCount = nullDaily;
- result.date = start;
+ ... | don't even know what i did there | Rostlab_JS16_ProjectD_Group5 | train | js |
413f0922775b7e3cfff822743545d68193c57aa1 | diff --git a/barf/core/smt/smttranslator.py b/barf/core/smt/smttranslator.py
index <HASH>..<HASH> 100644
--- a/barf/core/smt/smttranslator.py
+++ b/barf/core/smt/smttranslator.py
@@ -216,16 +216,6 @@ class SmtTranslator(object):
return var_name
- def _translate_immediate_oprnd(self, operand):
- "... | Refactor remove SmtTranslator's auxiliary method | programa-stic_barf-project | train | py |
7aa39c1897d41713ef4ec8d7a9e6f6755f9f11d6 | diff --git a/lib/pbfParser.js b/lib/pbfParser.js
index <HASH>..<HASH> 100644
--- a/lib/pbfParser.js
+++ b/lib/pbfParser.js
@@ -245,7 +245,7 @@ function createTagsObject(pb, entity){
tags = {};
- for(i = entity.keys.length - 1; i >= 0; --i){
+ for(i = 0; i < entity.keys.length; ++i){
keyI = entit... | keep tag order (no reverse iteration) | marook_osm-read | train | js |
880cae44b4fb0c19d96233fdf86aa88b32b72bb7 | diff --git a/PyFunceble/query/requests/adapter/base.py b/PyFunceble/query/requests/adapter/base.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/query/requests/adapter/base.py
+++ b/PyFunceble/query/requests/adapter/base.py
@@ -96,7 +96,7 @@ class RequestAdapterBase(requests.adapters.HTTPAdapter):
response = re... | fixup! Improvement of the HTTP/S requester. | funilrys_PyFunceble | train | py |
cbb42d23595cef9d321a2db7bc00f804a2194866 | diff --git a/tests/common/test_zz_gui_docking_windows.py b/tests/common/test_zz_gui_docking_windows.py
index <HASH>..<HASH> 100644
--- a/tests/common/test_zz_gui_docking_windows.py
+++ b/tests/common/test_zz_gui_docking_windows.py
@@ -39,7 +39,7 @@ def wait_for_event_notification():
raise RuntimeError("A timeo... | undock test: clean up and add assert on maximized window if in runtime config | DLR-RM_RAFCON | train | py |
11699ccd3f3acb59bd9265e64d229ffc04bcecf3 | diff --git a/picker/picker.go b/picker/picker.go
index <HASH>..<HASH> 100644
--- a/picker/picker.go
+++ b/picker/picker.go
@@ -272,7 +272,7 @@ func (p *Picker) PickAddr() (string, error) {
p.mu.Lock()
p.peer = peer
p.mu.Unlock()
- return p.peer.Addr, err
+ return peer.Addr, err
}
// State returns the connecti... | picker: Fix data race in PickAddr
PickAddr sets p.peer to peer, then returns p.peer.Addr after unlocking
its mutex. It should return peer.Addr instead to avoid triggering a data
race. | docker_swarmkit | train | go |
34551d092aa72b6f800226752ef19c8fa51bc3c5 | diff --git a/clients/filter/data.go b/clients/filter/data.go
index <HASH>..<HASH> 100644
--- a/clients/filter/data.go
+++ b/clients/filter/data.go
@@ -67,12 +67,13 @@ type Download struct {
Size string `json:"size"`
Public string `json:"public,omitempty"`
Private string `json:"private,omitempty"`
+ Skipped bo... | Add skipped flag to filter downloads | ONSdigital_go-ns | train | go |
bb5a06b38eba7e621c494717334b8c58a1933abd | diff --git a/resources/class_generator.py b/resources/class_generator.py
index <HASH>..<HASH> 100644
--- a/resources/class_generator.py
+++ b/resources/class_generator.py
@@ -23,8 +23,12 @@ for i, mo in enumerate(managed_objects):
for prop in mo["properties"]:
body_text += " @cached_property\n"
... | Call different method depending on whether it's a MOR or not | psphere-project_psphere | train | py |
41848fc0d0b212b6f325b5b43a867ad10f0880b4 | diff --git a/Nextras/Datagrid/Datagrid.php b/Nextras/Datagrid/Datagrid.php
index <HASH>..<HASH> 100644
--- a/Nextras/Datagrid/Datagrid.php
+++ b/Nextras/Datagrid/Datagrid.php
@@ -367,7 +367,7 @@ class Datagrid extends UI\Control
{
$form = new UI\Form;
- if ($this->editFormFactory && ($this->editRowKey || !empty... | In creation of edit form check for 'edit' part of POST data
This prevents creation edit form in case POST data were filled from different sources (like filter) | nextras_datagrid | train | php |
c5f1c6901f0ff1b7867c80691134d535ac645559 | diff --git a/test/test_consumer_integration.py b/test/test_consumer_integration.py
index <HASH>..<HASH> 100644
--- a/test/test_consumer_integration.py
+++ b/test/test_consumer_integration.py
@@ -352,8 +352,14 @@ class TestConsumerIntegration(KafkaIntegrationTestCase):
# Produce 10 messages that are large (bigg... | Increase max_buffer_size for test_large_messages | dpkp_kafka-python | train | py |
f4053e6b23494463e84639d05ca61ab5e21c31c9 | diff --git a/packages/ember-metal/lib/chains.js b/packages/ember-metal/lib/chains.js
index <HASH>..<HASH> 100644
--- a/packages/ember-metal/lib/chains.js
+++ b/packages/ember-metal/lib/chains.js
@@ -231,10 +231,10 @@ ChainNodePrototype.unchain = function(key, path) {
var node = chains[key];
// unchain rest of p... | Minor cleanup in ChainNode.unchain.
Do not reassign passed in variable. Makes debugging quite painful. | emberjs_ember.js | train | js |
a4e520aff16b607c0cf5558fbcfc0dc2cf41d9d8 | diff --git a/cmd/swarm-rafttool/dump.go b/cmd/swarm-rafttool/dump.go
index <HASH>..<HASH> 100644
--- a/cmd/swarm-rafttool/dump.go
+++ b/cmd/swarm-rafttool/dump.go
@@ -200,7 +200,9 @@ func dumpSnapshot(swarmdir, unlockKey string, redact bool) error {
if task != nil {
if container := task.Spec.GetContainer(); co... | Fix nil pointer deref in dump-snapshot --redacted
container.PullOptions is nil if the service is deployed without
`--with-registry-auth`. Observed on client+server <I>. | docker_swarmkit | train | go |
89a1a38ac2cad4b9ee88db765cfd75eee1c798e7 | diff --git a/test/wdio.conf.js b/test/wdio.conf.js
index <HASH>..<HASH> 100644
--- a/test/wdio.conf.js
+++ b/test/wdio.conf.js
@@ -56,7 +56,14 @@ exports.config = {
//
browserName: 'chrome',
'goog:chromeOptions': {
- args: ['--disable-gpu']
+ args: [
+ '--browser-test',
+ '--disab... | Squashed commit of the following:
commit <I>d<I>b9cf8ed<I>a<I>c6e<I>b<I>d<I>f8a<I>bf | electric-eloquence_fepper-ui | train | js |
7fc47bfc4367da1612c02760e67d2e61c42708a3 | diff --git a/lib/jekyll/log_adapter.rb b/lib/jekyll/log_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/log_adapter.rb
+++ b/lib/jekyll/log_adapter.rb
@@ -1,6 +1,6 @@
module Jekyll
class LogAdapter
- attr_reader :writer
+ attr_reader :writer, :messages
LOG_LEVELS = {
:debug => ::Logger::... | Initialize @messages at instantiation time. | jekyll_jekyll | train | rb |
e25c2c40649b623e881b20717ad0f4310430cea8 | diff --git a/lib/Hpe3parSdk/volume_manager.rb b/lib/Hpe3parSdk/volume_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/Hpe3parSdk/volume_manager.rb
+++ b/lib/Hpe3parSdk/volume_manager.rb
@@ -90,10 +90,21 @@ module Hpe3parSdk
end
def delete_volume(name)
+ begin
+ remove_volume_metadata(name, 'typ... | Delete telemetry metadata before deleting the volume | HewlettPackard_hpe3par_ruby_sdk | train | rb |
a4464d01379d592114bdcc8b321104f600330b84 | diff --git a/core/server/adapters/storage/LocalFileStorage.js b/core/server/adapters/storage/LocalFileStorage.js
index <HASH>..<HASH> 100644
--- a/core/server/adapters/storage/LocalFileStorage.js
+++ b/core/server/adapters/storage/LocalFileStorage.js
@@ -123,6 +123,14 @@ class LocalFileStore extends StorageBase {
... | Return correct error codes from storage adapter
no issue
- malformed paths such as http://localhost:<I>/content/images/<I>/<I>/%c0%af were throwing <I> errors, instead of <I> errors
- this code catches the error and handles it correctly | TryGhost_Ghost | train | js |
b7bb7f21f8be868424be0182289be19a2f9d6f87 | diff --git a/addok/helpers/text.py b/addok/helpers/text.py
index <HASH>..<HASH> 100644
--- a/addok/helpers/text.py
+++ b/addok/helpers/text.py
@@ -1,3 +1,4 @@
+from pathlib import Path
import re
from addok import config
@@ -71,7 +72,7 @@ SYNONYMS = {}
def load_synonyms():
- with config.RESOURCES_ROOT.joinpa... | Use SYNONYMS_PATH as absolute path | addok_addok | train | py |
d255f42a9e3a337f8e3975cd751741feaed2fff9 | diff --git a/benchmark.js b/benchmark.js
index <HASH>..<HASH> 100644
--- a/benchmark.js
+++ b/benchmark.js
@@ -1,20 +1,15 @@
-// ran through matcha
-// ./node_modules/matcha/bin/matcha benchmark.js
+var chalk = require('./');
-var chalk = require('./index.js');
-
-suite('chalk', function(){
-
- bench('add colour', fu... | bench - minor code style tweaks | chalk_chalk | train | js |
2c6c855317dd81de620e4a208f5fea1b26cb95ab | diff --git a/src/treemap/binary.js b/src/treemap/binary.js
index <HASH>..<HASH> 100644
--- a/src/treemap/binary.js
+++ b/src/treemap/binary.js
@@ -33,14 +33,14 @@ export default function(parent, x0, y0, x1, y1) {
var valueLeft = sums[k] - valueOffset,
valueRight = value - valueLeft;
- if ((y1 - y0) >... | Favor vertical partition of squares.
With a square layout, this tends to form an initial row across the top rather
than a column along the left. Related #<I>. | d3_d3-hierarchy | train | js |
5201edd81ca3bf26bea27f0883bc2b674a8c41ca | diff --git a/utilities/text-import.py b/utilities/text-import.py
index <HASH>..<HASH> 100755
--- a/utilities/text-import.py
+++ b/utilities/text-import.py
@@ -178,7 +178,7 @@ class TextImporter(Importer):
p1.prefix = prefix_node1
p1.type = 'host'
p1.node = node1
- ... | Whops, typo :( | SpriteLink_NIPAP | train | py |
7c930261570a131a43181b6809fe8cd7173e3a44 | diff --git a/umap/tests/test_umap.py b/umap/tests/test_umap.py
index <HASH>..<HASH> 100644
--- a/umap/tests/test_umap.py
+++ b/umap/tests/test_umap.py
@@ -200,7 +200,7 @@ def test_sparse_fit():
pass
-# @SkipTest
+@SkipTest
def test_sklearn_digits():
digits = datasets.load_digits()
data = digits.data | Skip test for now -- need to regenerate example embedding | lmcinnes_umap | train | py |
87dcc177f4ed03350f910341b99cb0027f68a678 | diff --git a/app/view/js/bolt-extend.js b/app/view/js/bolt-extend.js
index <HASH>..<HASH> 100644
--- a/app/view/js/bolt-extend.js
+++ b/app/view/js/bolt-extend.js
@@ -222,12 +222,12 @@ var BoltExtender = Object.extend(Object, {
if(devpacks.length > 0) {
controller.find('.dev-ve... | use controller alias to call method | bolt_bolt | train | js |
82917fc3d91f48bd6d94f09bee330a3e1900f888 | diff --git a/lib/httpi/adapter/em_http.rb b/lib/httpi/adapter/em_http.rb
index <HASH>..<HASH> 100644
--- a/lib/httpi/adapter/em_http.rb
+++ b/lib/httpi/adapter/em_http.rb
@@ -142,10 +142,26 @@ module HTTPI
def respond_with(http, start_time)
raise TimeoutError, "Connection timed out: #{Time.now - start_t... | Convert headers so integration tests pass | savonrb_httpi | train | rb |
cbacd965ea67cd9a2b5886570c64c0d4cf80712a | diff --git a/zinnia/managers.py b/zinnia/managers.py
index <HASH>..<HASH> 100644
--- a/zinnia/managers.py
+++ b/zinnia/managers.py
@@ -22,11 +22,7 @@ def tags_published():
def authors_published():
"""Return the published authors"""
from django.contrib.auth.models import User
-
- author_ids = [user.pk for ... | Optimized the authors-query who published a blog entry.
The previous method is really slow when you have some more users! | Fantomas42_django-blog-zinnia | train | py |
d26cc800fd5ab62e1f49b46c3210d5a223b126ed | diff --git a/lib/highlighter.js b/lib/highlighter.js
index <HASH>..<HASH> 100644
--- a/lib/highlighter.js
+++ b/lib/highlighter.js
@@ -28,7 +28,7 @@ var Highlighter = React.createClass({displayName: "Highlighter",
*/
renderPlain: function(string) {
this.count++;
- return React.createElement('span',{'key'... | Using React.DOM API for creating elements. | helior_react-highlighter | train | js |
d5bc4b5f1f2acbb527e9ce22c96bf350858368a6 | diff --git a/packages/mdc-typography/index.js b/packages/mdc-typography/index.js
index <HASH>..<HASH> 100644
--- a/packages/mdc-typography/index.js
+++ b/packages/mdc-typography/index.js
@@ -39,7 +39,7 @@ module.exports = {
});
if (typography.autoLinkFont) {
- this.ui.writeLine ('Linking Ro... | chore: added environment to log message for more clarity | onehilltech_ember-cli-mdc | train | js |
2ee0bda18690c234e37597f923c19743cea5e587 | diff --git a/lib/geocoderfactory.js b/lib/geocoderfactory.js
index <HASH>..<HASH> 100644
--- a/lib/geocoderfactory.js
+++ b/lib/geocoderfactory.js
@@ -39,6 +39,11 @@
return new GoogleGeocoder(adapter, {clientId: extra.clientId, apiKey: extra.apiKey, language: extra.language});
}
+ if (geocoderName... | Added the AGOL geocoded to the factory | nchaulet_node-geocoder | train | js |
8426a70967849e37b79a101e10341a880831667b | diff --git a/grimoire_elk/enriched/askbot.py b/grimoire_elk/enriched/askbot.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/askbot.py
+++ b/grimoire_elk/enriched/askbot.py
@@ -166,6 +166,8 @@ class AskbotEnrich(Enrich):
eitem['time_to_reply'] = get_time_diff_days(added_at, first_answer_time)
... | [enriched] Set not accepted answer flag to askbot unanswered question
This patch sets the default value of the attribute
question_has_accepted_answer to zero for unanswered questions
in askbot. | chaoss_grimoirelab-elk | train | py |
c917e49d8a11593f4a6543aa4d87be352b3988dd | diff --git a/spec/functional/mongoid/versioning_spec.rb b/spec/functional/mongoid/versioning_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/mongoid/versioning_spec.rb
+++ b/spec/functional/mongoid/versioning_spec.rb
@@ -110,6 +110,25 @@ describe Mongoid::Versioning do
it "does not version the update... | Specs to show versions are not being created inside versions on current master. Closes #<I>. | mongodb_mongoid | train | rb |
e1f3e6470ae35e192b2928c2b3b75265e9b28bbe | diff --git a/rinoh/dimension.py b/rinoh/dimension.py
index <HASH>..<HASH> 100644
--- a/rinoh/dimension.py
+++ b/rinoh/dimension.py
@@ -103,10 +103,12 @@ class DimensionBase(AttributeType, metaclass=DimensionType):
return super().check_type(value) or value == 0
REGEX = re.compile(r"""(?P<value>
- ... | Dimension parsing: support sign and space | brechtm_rinohtype | train | py |
f73ffa057cd7d70daebf3019f676abf2b54e3f9e | diff --git a/spec/downloadr/http_spec.rb b/spec/downloadr/http_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/downloadr/http_spec.rb
+++ b/spec/downloadr/http_spec.rb
@@ -42,6 +42,21 @@ module Downloader
end
end
+ context "when initializing Downloadr::HTTP w/o a download path or uri filename" do
+ ... | Add unit-test for unknown download path | claudijd_downloadr | train | rb |
62e471d1ab445b94746c869865faba2caa76d36b | diff --git a/faker/providers/phone_number/zh_TW/__init__.py b/faker/providers/phone_number/zh_TW/__init__.py
index <HASH>..<HASH> 100644
--- a/faker/providers/phone_number/zh_TW/__init__.py
+++ b/faker/providers/phone_number/zh_TW/__init__.py
@@ -2,12 +2,13 @@
from __future__ import unicode_literals
from .. import Pr... | modified zh_TW phone number for a more valid format | joke2k_faker | train | py |
05b4c32908fbc5914f930f912a5053e4f5f9e60c | diff --git a/examples/pytorch/question-answering/run_qa_no_trainer.py b/examples/pytorch/question-answering/run_qa_no_trainer.py
index <HASH>..<HASH> 100755
--- a/examples/pytorch/question-answering/run_qa_no_trainer.py
+++ b/examples/pytorch/question-answering/run_qa_no_trainer.py
@@ -791,7 +791,7 @@ def main():
... | fixed a typo (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
b3cd3bbfe8e919e497b290bf50acd9a4fe303f5d | diff --git a/app/Http/Middleware/DoHousekeeping.php b/app/Http/Middleware/DoHousekeeping.php
index <HASH>..<HASH> 100644
--- a/app/Http/Middleware/DoHousekeeping.php
+++ b/app/Http/Middleware/DoHousekeeping.php
@@ -34,10 +34,7 @@ use function assert;
*/
class DoHousekeeping implements MiddlewareInterface
{
- // ... | Fix: cache files cleaned up in two different places | fisharebest_webtrees | train | php |
5176771e8b0241444b54d99e3f9852b176a2d271 | diff --git a/core/src/main/java/com/google/common/truth/super/com/google/common/truth/Platform.java b/core/src/main/java/com/google/common/truth/super/com/google/common/truth/Platform.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/common/truth/super/com/google/common/truth/Platform.java
+++ b/core... | Use AssertionErrorWithCause from GWT, too.
It saves us the trouble of manually calling initCause() and leaving a comment.
More importantly, if we start omitting "java.lang.AssertionError: " failure messages, as I hope to do, this CL ensures that the change will happen in GWT, too.
[]
RELNOTES=n/a
-------------
Crea... | google_truth | train | java |
b6cc6831330ea7e33d396e56635f4de96892e7b7 | diff --git a/public/javascripts/admin/tabcontrol.js b/public/javascripts/admin/tabcontrol.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/admin/tabcontrol.js
+++ b/public/javascripts/admin/tabcontrol.js
@@ -27,7 +27,8 @@ var TabControl = Class.create({
var tab = new TabControl.Tab(page);
this.tabs.pus... | Make sure part attribute indexes are unique (closes gh-<I>) | radiant_radiant | train | js |
33109a27182a393f25beef3690dbf0c479113dc0 | diff --git a/script/bootstrap.py b/script/bootstrap.py
index <HASH>..<HASH> 100755
--- a/script/bootstrap.py
+++ b/script/bootstrap.py
@@ -99,16 +99,24 @@ def update_node_modules(dirname, env=None):
if env is None:
env = os.environ
if PLATFORM == 'linux':
+ # Use prebuilt clang for building native modules... | Ignore npm install errors when running in CI | electron_electron | train | py |
8bcc705490915ee54ef88844089e018305c3c3a2 | diff --git a/creep/src/targets/ssh.py b/creep/src/targets/ssh.py
index <HASH>..<HASH> 100755
--- a/creep/src/targets/ssh.py
+++ b/creep/src/targets/ssh.py
@@ -18,7 +18,7 @@ class SSHTarget:
self.tunnel = ['ssh', '-T', '-p', str (port or 22)] + extra + [remote]
def read (self, logger, relative):
- command = '! t... | Detect missing directory in SSH target. | r3c_creep | train | py |
368d2cb2ccfb82d9692d560fbb5dca1cf76c90d1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,9 @@
+import re
+import io
+import os
from setuptools import setup
+
def readme():
with open('README.rst') as f:
return f.read() | Read version from __init__ in setup.py | phuijse_P4J | train | py |
3b76f82d47732f6d9378ade276b32a1488c01a7f | diff --git a/server/links.go b/server/links.go
index <HASH>..<HASH> 100644
--- a/server/links.go
+++ b/server/links.go
@@ -12,8 +12,8 @@ type getExternalLinksResponse struct {
// CustomLink is a handler that returns a custom link to be used in server's routes response, within ExternalLinks
type CustomLink struct {
... | Remove omitempty from CustomLink definition since should never b | influxdata_influxdb | train | go |
b3ed4f28f4cc44aa6c4612c24a0365ae01488d6c | diff --git a/tests/helpers/collection_helper.rb b/tests/helpers/collection_helper.rb
index <HASH>..<HASH> 100644
--- a/tests/helpers/collection_helper.rb
+++ b/tests/helpers/collection_helper.rb
@@ -50,7 +50,7 @@ def collection_tests(collection, params = {}, mocks_implemented = true)
end
tests("#get('#{@ide... | The condition here should be the same as for destroying, so that we test iff the instance gets destroyed | fog_fog | train | rb |
44d0c15a40501c9374608411014730fc24b061bc | diff --git a/lib/god/simple_logger.rb b/lib/god/simple_logger.rb
index <HASH>..<HASH> 100644
--- a/lib/god/simple_logger.rb
+++ b/lib/god/simple_logger.rb
@@ -32,7 +32,7 @@ module God
time = Time.now.strftime(self.datetime_format)
label = SEV_LABEL[level]
- @io.puts("#{label[0..0]} [#{time}] ... | Fix bug when writing using IO.puts with different threads.
IO.puts will write each passed argument using a record separator,
tipically a newline. This might lead to the situation where a
different thread also writes to the same stream before writing the
newline, which in turn will print a message right next to the oth... | mojombo_god | train | rb |
928a1a443d960f338969446d7495dd0c0025f0b0 | diff --git a/spec/lib/bootsy_spec.rb b/spec/lib/bootsy_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/bootsy_spec.rb
+++ b/spec/lib/bootsy_spec.rb
@@ -12,7 +12,16 @@ describe Bootsy do
end
describe 'default values' do
- its(:editor_options) { should == {} }
+ describe '.editor_options' do
+ subje... | Fix expectation for `Bootsy.editor_options`. | volmer_bootsy | train | rb |
83139a6d658f3ec26d1a9259c131da1227745542 | diff --git a/angr/analyses/decompiler/decompilation_cache.py b/angr/analyses/decompiler/decompilation_cache.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/decompilation_cache.py
+++ b/angr/analyses/decompiler/decompilation_cache.py
@@ -1,5 +1,6 @@
from typing import Optional, Set, Dict, TYPE_CHECKING
... | cache clinic objects (vars and graph) for use in AIL graph (#<I>) | angr_angr | train | py,py |
404a96b0f8f0d5721f5dfe547e439046073ff52f | diff --git a/api/quota.go b/api/quota.go
index <HASH>..<HASH> 100644
--- a/api/quota.go
+++ b/api/quota.go
@@ -51,7 +51,7 @@ func changeUserQuota(w http.ResponseWriter, r *http.Request, t auth.Token) error
func getAppQuota(w http.ResponseWriter, r *http.Request, t auth.Token) error {
user, err := t.User()
- a, err... | Fixing the method getApp, removing the unnecessary argument.
related to #<I> | tsuru_tsuru | train | go |
4a14aad5ae23e1bc18968fd4cf70cbd8fa9db03e | diff --git a/pyup/bot.py b/pyup/bot.py
index <HASH>..<HASH> 100644
--- a/pyup/bot.py
+++ b/pyup/bot.py
@@ -3,7 +3,7 @@ from __future__ import absolute_import, print_function, unicode_literals
import logging
from .requirements import RequirementsBundle
from .providers.github import Provider as GithubProvider
-from .e... | return None instead of failing with an exception if a branch exists | pyupio_pyup | train | py |
94f31b194888e93893d63c74f37fa7e924d0bdc5 | diff --git a/packages/cli/lib/lib/webpack/run-webpack.js b/packages/cli/lib/lib/webpack/run-webpack.js
index <HASH>..<HASH> 100644
--- a/packages/cli/lib/lib/webpack/run-webpack.js
+++ b/packages/cli/lib/lib/webpack/run-webpack.js
@@ -90,12 +90,17 @@ async function prodBuild(env) {
}
let clientCompiler = webpack(... | chore: Log build errors (#<I>)
* chore: Display babel build errors during build time
* beauitfy log output | developit_preact-cli | train | js |
d1cbe167e49ec248d1430999be984f4df3d58b2f | diff --git a/gobblin-admin/src/main/web/js/models/job-execution.js b/gobblin-admin/src/main/web/js/models/job-execution.js
index <HASH>..<HASH> 100644
--- a/gobblin-admin/src/main/web/js/models/job-execution.js
+++ b/gobblin-admin/src/main/web/js/models/job-execution.js
@@ -87,7 +87,10 @@ var app = app || {}
},
... | Pull the right metric in the job summary page | apache_incubator-gobblin | train | js |
67a0cc36939df247d21bd9b708107f3512a4fa23 | diff --git a/spinoff/util/testing/control.py b/spinoff/util/testing/control.py
index <HASH>..<HASH> 100644
--- a/spinoff/util/testing/control.py
+++ b/spinoff/util/testing/control.py
@@ -3,7 +3,7 @@ from __future__ import print_function
import abc
from pickle import PicklingError
-from twisted.internet.defer import... | Renamed util.testing.control.Buffer.is_empty => expect_not and made it a method; fixed Buffer.expect when times > 1 | eallik_spinoff | train | py |
466d44ff13f1b9c7a5f31f6d61cc192ce05d189b | diff --git a/lib/nunes/subscriber.rb b/lib/nunes/subscriber.rb
index <HASH>..<HASH> 100644
--- a/lib/nunes/subscriber.rb
+++ b/lib/nunes/subscriber.rb
@@ -49,9 +49,7 @@ module Nunes
#
# Returns nothing.
def increment(metric)
- if @adapter
- @adapter.increment metric
- end
+ @adapter... | Remove if-condition since ivar adapter can't be nil. | jnunemaker_nunes | train | rb |
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.