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 |
|---|---|---|---|---|---|
1881ff166419d0d0a0b3f06747229b77ea988cef | diff --git a/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php b/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
+++ b/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
@@ -361,7 +361,7 @@ class MemcacheEngineTest ... | Fix testClear() case
After clear of memcache config, all keys should be gone. So a read on a key should return false. | cakephp_cakephp | train | php |
3dde1208aea66b8cbed73dd1f0a2d92fc87f4958 | diff --git a/dominoes/players.py b/dominoes/players.py
index <HASH>..<HASH> 100644
--- a/dominoes/players.py
+++ b/dominoes/players.py
@@ -104,12 +104,24 @@ def double(game):
game.valid_moves = tuple(sorted(game.valid_moves, key=lambda m: m[0].first != m[0].second))
class omniscient:
+ '''
+ Prefers to pl... | docstring for omniscient player | abw333_dominoes | train | py |
4ff24174de10283a6e1a914f1b81da0a22a528ff | diff --git a/app/Http/Controllers/Auth/VerifyEmailController.php b/app/Http/Controllers/Auth/VerifyEmailController.php
index <HASH>..<HASH> 100644
--- a/app/Http/Controllers/Auth/VerifyEmailController.php
+++ b/app/Http/Controllers/Auth/VerifyEmailController.php
@@ -76,7 +76,7 @@ class VerifyEmailController extends Abs... | Error when verifying email and no tree exists | fisharebest_webtrees | train | php |
59392014fa18a763b0c0e8189bd4cc2b3f04e5f3 | diff --git a/src/config/hidev.php b/src/config/hidev.php
index <HASH>..<HASH> 100644
--- a/src/config/hidev.php
+++ b/src/config/hidev.php
@@ -16,5 +16,8 @@ return [
'@hiqdev/assetpackagist/config/goals.yml',
],
],
+ 'packageStorage' => [
+ 'class' => \hiqdev\ass... | + packageStorage component to hidev config | hiqdev_asset-packagist | train | php,php |
0a493daf218615d64114515347e8bc9ae0480547 | diff --git a/numina/array/trace/tests/test_trace.py b/numina/array/trace/tests/test_trace.py
index <HASH>..<HASH> 100644
--- a/numina/array/trace/tests/test_trace.py
+++ b/numina/array/trace/tests/test_trace.py
@@ -59,10 +59,9 @@ def test_trace_simple():
assert_allclose(mm, result)
-@pytest.mark.xfail(reason='... | Remove xfail mark (bug has been fixed) | guaix-ucm_numina | train | py |
ff9bdc2744525bd97a481c08984cb5c21768cf52 | diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/dependencies.rb
+++ b/activesupport/lib/active_support/dependencies.rb
@@ -345,7 +345,7 @@ module ActiveSupport #:nodoc:
end
def... | Work around Performance/EndWith false positive
Rubocop warns about "Use String#end_with? instead of a regex match anchored to the end of the string",
it doesn't seem aware of the $` special variable like Performance/RegexpMatch | rails_rails | train | rb |
94c826a6e12c5c6c2d53571d20c1cbac1b95ae0a | diff --git a/bessie/base.py b/bessie/base.py
index <HASH>..<HASH> 100644
--- a/bessie/base.py
+++ b/bessie/base.py
@@ -20,7 +20,7 @@ class BaseClient(object):
def __init__(self, path='', **kwargs):
self.path = path
self.kwargs = kwargs
- self._define_convenience_methods()
+ self.__define_convenience_methods()... | Move to private method
No one should be overwriting this method. | andymitchhank_bessie | train | py |
74a54744f4fcf00f556dbc6995ab98703619ce7a | diff --git a/lib/opal/nodes/literal.rb b/lib/opal/nodes/literal.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/nodes/literal.rb
+++ b/lib/opal/nodes/literal.rb
@@ -52,12 +52,30 @@ module Opal
end
def compile
- sanitized_value = value.inspect.gsub /\\u\{[0-9a-f]+\}/ do |char|
- @compiler.w... | Support higher utf8 codepoints in JS' utf<I>
Allowing for emoji method names, among other things. | opal_opal | train | rb |
cd5ffcac7e499ac98df7640ed439109bf948ca30 | diff --git a/SugarSkull.js b/SugarSkull.js
index <HASH>..<HASH> 100644
--- a/SugarSkull.js
+++ b/SugarSkull.js
@@ -8,7 +8,9 @@ var SugarSkull = (typeof SugarSkull != "undefined") ? SugarSkull : {
SugarSkull.App.ExecutiveDelegation = function(params) {
var namespace = params.namespace;
- window[params.author ||... | change to ExecDelegation | flatiron_director | train | js |
582fb32d1c4e1077e9716daab29ca9a2b15cdefa | diff --git a/spec/lib/onebox/engine/reddit_image_spec.rb b/spec/lib/onebox/engine/reddit_image_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/onebox/engine/reddit_image_spec.rb
+++ b/spec/lib/onebox/engine/reddit_image_spec.rb
@@ -11,7 +11,6 @@ describe Onebox::Engine::RedditImageOnebox do
end
it "includes ... | DEV: Remove `puts` from reddit image spec | discourse_onebox | train | rb |
c2d116499a7d15b3c3e7fa350f1cac006fa08c0a | diff --git a/indra/util/aws.py b/indra/util/aws.py
index <HASH>..<HASH> 100644
--- a/indra/util/aws.py
+++ b/indra/util/aws.py
@@ -36,8 +36,8 @@ def kill_all(job_queue, reason='None given', states=None):
def tag_instance(instance_id, **tags):
"""Tag a single ec2 instance."""
- logger.info("Got request to add... | Change some logging to debug. | sorgerlab_indra | train | py |
e434c59a4d88eb963460e6facef792688efcc154 | diff --git a/src/Provider/CrudGeneratorServiceProvider.php b/src/Provider/CrudGeneratorServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Provider/CrudGeneratorServiceProvider.php
+++ b/src/Provider/CrudGeneratorServiceProvider.php
@@ -24,6 +24,11 @@ class CrudGeneratorServiceProvider extends ServiceProvider
... | Resolved breadcrumbs issue #1 | bvipul_generator | train | php |
f5da11cd29d6880d27f459d0c4e133da394c6f9b | diff --git a/providers/dns/simply/simply.go b/providers/dns/simply/simply.go
index <HASH>..<HASH> 100644
--- a/providers/dns/simply/simply.go
+++ b/providers/dns/simply/simply.go
@@ -58,8 +58,8 @@ type DNSProvider struct {
recordIDsMu sync.Mutex
}
-// NewDNSProvider returns a DNSProvider instance configured for Nj... | simply: fix Go doc. (#<I>) | go-acme_lego | train | go |
3775130b5e69dc6b4cc615c6f8cc007887276ef9 | diff --git a/bcbio/ngsalign/novoalign.py b/bcbio/ngsalign/novoalign.py
index <HASH>..<HASH> 100644
--- a/bcbio/ngsalign/novoalign.py
+++ b/bcbio/ngsalign/novoalign.py
@@ -97,7 +97,12 @@ def _novoalign_args_from_config(config, need_quality=True):
multi_flag = "None"
multi_flags = ["-r"] + multi_flag.split(... | Include default arguments for improved performance with novoalign in variant calling pipelines | bcbio_bcbio-nextgen | train | py |
bdc83fd758fd82d1ea07656132a28887757500fd | diff --git a/salt/modules/timezone.py b/salt/modules/timezone.py
index <HASH>..<HASH> 100644
--- a/salt/modules/timezone.py
+++ b/salt/modules/timezone.py
@@ -160,7 +160,7 @@ def get_hwclock():
elif 'Debian' in __grains__['os_family']:
cmd = 'grep "UTC=" /etc/default/rcS | grep -vE "^#"'
out = __... | /etc/default/rcS file does not contain UTC boolean value on Debian Wheezy, causes out-of-bounds exception when attempting to lookup given value | saltstack_salt | train | py |
a9dccee5ef28768b3016b38588ea0356f9c49d82 | diff --git a/Log/sql.php b/Log/sql.php
index <HASH>..<HASH> 100644
--- a/Log/sql.php
+++ b/Log/sql.php
@@ -125,7 +125,7 @@ class Log_sql extends Log
$this->_mask = Log::UPTO($level);
/* Now that we have a table name, assign our SQL statement. */
- if (!empty($this->_sql)) {
+ if (!empt... | The sql handler wasn't honoring custom SQL insertion statements.
Bug: <I> | pear_Log | train | php,php |
319c100fb8f71a09535fb9e470a93cc35e3e5595 | diff --git a/music/api.py b/music/api.py
index <HASH>..<HASH> 100644
--- a/music/api.py
+++ b/music/api.py
@@ -11,6 +11,7 @@ class TrackResource(ModelBaseResource):
class Meta:
queryset = Track.permitted.all()
resource_name = 'track'
+ ordering = ['last_played']
def override_urls(se... | Allow ordering on last_played | praekelt_jmbo-music | train | py |
faad0463280ffcaab3caaa55df8fadfface5ad38 | diff --git a/spyderlib/config.py b/spyderlib/config.py
index <HASH>..<HASH> 100644
--- a/spyderlib/config.py
+++ b/spyderlib/config.py
@@ -96,7 +96,7 @@ INCLUDE_PATTERNS = [r'|'.join(['\\'+_ext+r'$' for _ext in EDIT_EXT if _ext])+\
r'|README|INSTALL',
r'\.pyw?$|\.ipy$|\.txt$|\... | Find in files: fixed default 'exclude pattern' which was accidently excluding
all files starting with 'build' instead of simply excluding 'build' folders as
intended. | spyder-ide_spyder | train | py |
8cbee2a8b72f46bb6f9685a135426f04c18cc6a6 | diff --git a/src/cloudant/replicator.py b/src/cloudant/replicator.py
index <HASH>..<HASH> 100644
--- a/src/cloudant/replicator.py
+++ b/src/cloudant/replicator.py
@@ -51,8 +51,7 @@ class Replicator(object):
:param str repl_id: Optional replication id. Generated internally if
not explicitly set.
... | Always set user_ctx in replication documents | cloudant_python-cloudant | train | py |
5bdc8c7608b01e0d994e217c87231ea2e71058c4 | diff --git a/java/src/com/google/template/soy/SoyFileSet.java b/java/src/com/google/template/soy/SoyFileSet.java
index <HASH>..<HASH> 100644
--- a/java/src/com/google/template/soy/SoyFileSet.java
+++ b/java/src/com/google/template/soy/SoyFileSet.java
@@ -93,6 +93,7 @@ import com.google.template.soy.xliffmsgplugin.Xliff... | Soy: Convenience method for adding proto descriptors to SoyFileSet
-------------
Created by MOE: <URL> | google_closure-templates | train | java |
037267a8357e6a0b25ba0744799989971c03009c | diff --git a/model.go b/model.go
index <HASH>..<HASH> 100644
--- a/model.go
+++ b/model.go
@@ -2,7 +2,7 @@ package suite
import (
"github.com/gobuffalo/envy"
- "github.com/markbates/pop"
+ "github.com/gobuffalo/pop"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
) | moved to gobuffalo/pop | gobuffalo_suite | train | go |
f0ef83d1dc4e31d9fe4a37e4089113560244a770 | diff --git a/Composer.php b/Composer.php
index <HASH>..<HASH> 100644
--- a/Composer.php
+++ b/Composer.php
@@ -65,7 +65,7 @@ class Composer
*
* @return array
*/
- protected function findComposer()
+ public function findComposer()
{
if ($this->files->exists($this->workingPath.'/comp... | [9.x] Allows to install `doctrine/dbal` from `model:show` command (#<I>)
* Allows to install `model:show` command dependencies from the command itself
* Apply fixes from StyleCI
* Fixes warn message
* Install it as regular dependency
* formatting
* formatting | illuminate_support | train | php |
1fb1b03bea989f523dcb0e73e49139d98dcf9ffa | diff --git a/client/server/api/sign-in-with-apple.js b/client/server/api/sign-in-with-apple.js
index <HASH>..<HASH> 100644
--- a/client/server/api/sign-in-with-apple.js
+++ b/client/server/api/sign-in-with-apple.js
@@ -68,7 +68,7 @@ function redirectToCalypso( request, response, next ) {
export default function ( app ... | Two small fixes for the server build (#<I>)
* Remove extensions reference from server webpack config
* Fix warning about body-parser extended option | Automattic_wp-calypso | train | js,js |
eba047c467b8209ffeae69a970949f51c449a5e6 | diff --git a/lib/utils/file-util.js b/lib/utils/file-util.js
index <HASH>..<HASH> 100644
--- a/lib/utils/file-util.js
+++ b/lib/utils/file-util.js
@@ -6,7 +6,7 @@ var fs = require('fs');
* Check the existence of the file
*/
function checkFileExistsSync(filepath){
- let flag = true;
+ var flag = true;
try {
... | Use var rather than let for pre-ES6 cross-compatibility | ph0bos_express-microservice-starter | train | js |
47c2999e9c63450739e3b30546f9b2ed2a4056a3 | diff --git a/test/spec/adapters/mantis_spec.js b/test/spec/adapters/mantis_spec.js
index <HASH>..<HASH> 100644
--- a/test/spec/adapters/mantis_spec.js
+++ b/test/spec/adapters/mantis_spec.js
@@ -163,7 +163,7 @@ describe('mantis adapter tests', function () {
var serverCall = adloader.loadScript.firstCall.args[0];
... | Mantis - comment out breaking test
Mocha redefines `window.context` so the `isAmp` function in the Mantis adapter doesn't work as expected under test. Commenting test out for now. | prebid_Prebid.js | train | js |
e43426b821c72cdb19c3b2299540f6000420b33b | diff --git a/src/foremast/elb/create_elb.py b/src/foremast/elb/create_elb.py
index <HASH>..<HASH> 100644
--- a/src/foremast/elb/create_elb.py
+++ b/src/foremast/elb/create_elb.py
@@ -204,7 +204,8 @@ class SpinnakerELB:
policyname_tmp = "{0}-{1}-{2}-{3}"
if sticky_type == 'app':
... | Fixed invalid app cookie stickiness policy names
-Some JS libraries ship with dots by default in their cookie name, this at least strips it out. | foremast_foremast | train | py |
57af13474c196e2b1295cc3d65ebf000d76a36e5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,12 +4,13 @@ from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
-try:
- os.chdir('fluent_comments')
- from django.core.management.commands.compilem... | Only generate .po file on setup.py sdist call | django-fluent_django-fluent-comments | train | py |
93a641d99870eb18fee2df01793af6a750b414c9 | diff --git a/core/src/main/java/com/digitalpebble/storm/crawler/persistence/Status.java b/core/src/main/java/com/digitalpebble/storm/crawler/persistence/Status.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/digitalpebble/storm/crawler/persistence/Status.java
+++ b/core/src/main/java/com/digitalpebble/sto... | Fix incorrect Status returned for HTTP <I> | DigitalPebble_storm-crawler | train | java |
ce8657d83c222a2ba79f6499cd2eda8d41037598 | diff --git a/lib/Graph.php b/lib/Graph.php
index <HASH>..<HASH> 100644
--- a/lib/Graph.php
+++ b/lib/Graph.php
@@ -65,6 +65,40 @@ class Graph implements Countable{
foreach ($originalVertices as $vertex){
$this->createVertexClone($vertex);
}
+ return $this;
+ }
+
+ /**
+ * create new clone/copy of this grap... | Add helper methods to clone graph | graphp_graph | train | php |
67e8ae86a5748f361698c09f76390848af7a3cc9 | diff --git a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/viewlist/ViewListCell.java b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/viewlist/ViewListCell.java
index <HASH>..<HASH> 100644
--- a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/viewlist/ViewListCell.java
+++ b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/viewlist... | #<I> ViewListCell is now public to allow customization | sialcasa_mvvmFX | train | java |
852f39d480db6aef93e14d958fb24b1921de5d26 | diff --git a/lib/feedjira_extension.rb b/lib/feedjira_extension.rb
index <HASH>..<HASH> 100644
--- a/lib/feedjira_extension.rb
+++ b/lib/feedjira_extension.rb
@@ -45,8 +45,8 @@ module FeedjiraExtension
rescue
self.name = content
else
- self.name = addr.name
- self.email = addr.addre... | Rescue error from Mail::Address#name and #address
`Mail::Address.new('')` does not raise any error but calling `name` on
the created instance does. | huginn_huginn | train | rb |
a673cab24d9849f1c9a4bf743ce07d9d4fff0678 | diff --git a/pysat/tests/test_custom.py b/pysat/tests/test_custom.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_custom.py
+++ b/pysat/tests/test_custom.py
@@ -251,8 +251,8 @@ class TestBasics():
self.testInst.custom.attach(custom1, 'add')
self.testInst.load(2009, 1)
- assert self.test... | STY: applied reviewer corrections
Removed unnecesary parens from assert statements. | rstoneback_pysat | train | py |
c7198ac52380b874fc904147652d71d0e627aa22 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -63,6 +63,7 @@ setup(
include_package_data=True,
install_requires=[
'colorama>=0.3.9',
+ 'dendrol @ git+https://github.com/cblades-tc/dendrol.git@master',
'future',
'hvac>=0.3.0',
... | update dendrol depenedency to internal fork | ThreatConnect-Inc_tcex | train | py |
3877f0a9d0a7c995abd09c2d4790c5a558b0db44 | diff --git a/owslib/map/wms130.py b/owslib/map/wms130.py
index <HASH>..<HASH> 100644
--- a/owslib/map/wms130.py
+++ b/owslib/map/wms130.py
@@ -665,9 +665,11 @@ class ContentMetadata(AbstractContentMetadata):
self.dataUrls = []
for m in elem.findall(nspath('DataURL', WMS_NAMESPACE)):
dataU... | Handle empty DataURL element in GetCapabilities
As per the specification, the DataURL element may be empty. Using strip() on a empty string raises an exception. This was dealt with in the code for <I> but not for <I>. | geopython_OWSLib | train | py |
3eb890178a532192222f69453b7c3c99091b0505 | diff --git a/concrete/src/Permission/IPService.php b/concrete/src/Permission/IPService.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Permission/IPService.php
+++ b/concrete/src/Permission/IPService.php
@@ -364,7 +364,8 @@ class IPService
*/
public function getRequestIP()
{
- return new IPAdd... | Always use IPLib to parse IP Addresses | concrete5_concrete5 | train | php,php |
3b2b0d7afb08ce1eea1cc60d8c387137645c02ec | diff --git a/src/pytest_cov/embed.py b/src/pytest_cov/embed.py
index <HASH>..<HASH> 100644
--- a/src/pytest_cov/embed.py
+++ b/src/pytest_cov/embed.py
@@ -69,15 +69,15 @@ def init():
def _cleanup(cov):
- cov.stop()
- cov.save()
+ if cov is not None:
+ cov.stop()
+ cov.save()
def cleanup... | Properly handle situation where active_cov is None. | pytest-dev_pytest-cov | train | py |
10de216adfba0815da294e6a0d7f02e0bd4c4738 | diff --git a/lib/3scale/core.rb b/lib/3scale/core.rb
index <HASH>..<HASH> 100644
--- a/lib/3scale/core.rb
+++ b/lib/3scale/core.rb
@@ -26,10 +26,18 @@ module ThreeScale
'Accept' => 'application/json',
'Content-Type' => 'application/json'
}
- @faraday.basic_auth('xxxxx', 'xxxxx')
+ @fa... | Get donbot auth info from ENV variables | 3scale_pisoni | train | rb |
f43af330a0aeebe3422ca050ed46b3ed2f63b495 | diff --git a/src/main/index.js b/src/main/index.js
index <HASH>..<HASH> 100644
--- a/src/main/index.js
+++ b/src/main/index.js
@@ -67,8 +67,13 @@ openFile$
// based on if arguments went through argv or through open-file events
if (notebooks.length <= 0 && buffer.length <= 0) {
log.info('launching an em... | fix(defaultKernel): default to py3, py2, then 1st lexicographically | nteract_nteract | train | js |
8e5bc813395c10dd7b8f41213e48713d66274499 | diff --git a/oauth2/flaskweb.py b/oauth2/flaskweb.py
index <HASH>..<HASH> 100644
--- a/oauth2/flaskweb.py
+++ b/oauth2/flaskweb.py
@@ -98,6 +98,4 @@ class OAuth2(object):
response = self.controller.dispatch(Request(), environ={})
- status_code_parts = response.status_code.split(" ")
... | Use status code of a response without splitting | wndhydrnt_python-oauth2 | train | py |
97569e2997d6a1fb3c3f0105f0cb73b9e7a0d998 | diff --git a/tests/test_cli.py b/tests/test_cli.py
index <HASH>..<HASH> 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -75,6 +75,11 @@ class TestMain(object):
cli.main(['ls', 'foo'])
assert ls_command.call_count == 1
+ @mock.patch('s4.cli.daemon_command')
+ def test_daemon_command(s... | Add basic coverage test for daemon command | MichaelAquilina_S4 | train | py |
b788839ab6cddc2924819b21e8ced8802bbf4b27 | diff --git a/src/ajax.js b/src/ajax.js
index <HASH>..<HASH> 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -211,7 +211,7 @@
if (error) ajaxError(error, 'parsererror', xhr, settings)
else ajaxSuccess(result, xhr, settings)
} else {
- ajaxError(null, 'error', xhr, settings)
+ ... | $.ajax error callback correctly reports "abort" status
Before it was just "error".
Assumes that an XHR status of "0" means that the request has
been aborted.
Fixes #<I> | madrobby_zepto | train | js |
5280401e73266cb8f6ceb16098d581a02206ff38 | diff --git a/widgets_overview_app.py b/widgets_overview_app.py
index <HASH>..<HASH> 100644
--- a/widgets_overview_app.py
+++ b/widgets_overview_app.py
@@ -29,9 +29,9 @@ class MyApp(App):
def main(self):
verticalContainer = gui.Widget(640, 620, False, 10)
- horizontalContainer = gui.Widget(600, 56... | Simply resizing some widgets in overview app. | dddomodossola_remi | train | py |
b9f849c46d83adbc4f47b7f005c6b3911ba34c8e | diff --git a/tests/test_assess_model_change_watcher.py b/tests/test_assess_model_change_watcher.py
index <HASH>..<HASH> 100644
--- a/tests/test_assess_model_change_watcher.py
+++ b/tests/test_assess_model_change_watcher.py
@@ -1,7 +1,8 @@
"""Tests for assess_model_change_watcher module."""
import logging
-from io i... | Fix stdout mocking. | juju_juju | train | py |
1ef60f55d794993a68aaa8e87d8117a9a43f3b6f | diff --git a/lib/plz/command_builder.rb b/lib/plz/command_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/plz/command_builder.rb
+++ b/lib/plz/command_builder.rb
@@ -1,6 +1,6 @@
module Plz
class CommandBuilder
- SCHEMA_FILE_PATH_PATTERN = "{.,config}/schema.{json,yml}"
+ SCHEMA_FILE_PATH_PATTERN = "schema.{j... | Find schema file only at ./schema.json or ./schema.yml | r7kamura_plz | train | rb |
299e6c850cd967ab8141941678eec0319fe9880a | diff --git a/lib/Csv/Reader.php b/lib/Csv/Reader.php
index <HASH>..<HASH> 100644
--- a/lib/Csv/Reader.php
+++ b/lib/Csv/Reader.php
@@ -338,7 +338,13 @@ class Reader implements \Iterator
{
if ($this->header) {
if (count($this->header) != count($this->currentData)) {
- throw new ... | Fixed line exceeding <I> characters | mmerian_csv | train | php |
d753d641f743487d69a32d9d3483c445b3018495 | diff --git a/languagetool-language-modules/uk/src/main/java/org/languagetool/tokenizers/uk/UkrainianWordTokenizer.java b/languagetool-language-modules/uk/src/main/java/org/languagetool/tokenizers/uk/UkrainianWordTokenizer.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/uk/src/main/java/org/language... | Ukrainian dictionary and rules update (fix decimal numbers handling pattern) | languagetool-org_languagetool | train | java |
ba4f48e91d6b3b8671fd192c16567fa07017a198 | diff --git a/src/BladeDirective.php b/src/BladeDirective.php
index <HASH>..<HASH> 100644
--- a/src/BladeDirective.php
+++ b/src/BladeDirective.php
@@ -33,7 +33,8 @@ class BladeDirective
/**
* Handle the @cache setup.
*
- * @param mixed $model
+ * @param mixed $model
+ * @param string|... | Docblock a third time - shut up | laracasts_matryoshka | train | php |
7f7c23a734cde85b7b94ff644a34df6aa30c42ca | diff --git a/src/Helpers/helperTranslations.php b/src/Helpers/helperTranslations.php
index <HASH>..<HASH> 100644
--- a/src/Helpers/helperTranslations.php
+++ b/src/Helpers/helperTranslations.php
@@ -13,8 +13,9 @@ if (!function_exists('is_field_translatable')) {
return;
}
- return $model->... | Check if method exists before running it on models (#<I>) | the-control-group_voyager | train | php |
89bd24ac4d28991015ef73ff43e079fc714a20fe | diff --git a/lib/jellyfish.rb b/lib/jellyfish.rb
index <HASH>..<HASH> 100644
--- a/lib/jellyfish.rb
+++ b/lib/jellyfish.rb
@@ -42,6 +42,7 @@ module Jellyfish
def block_call argument, block
ret = instance_exec(argument, &block)
body ret if body.nil? # prefer explicitly set values
+ body '' if bo... | jellyfish.rb: at least give an empty string if nothing returned | godfat_jellyfish | train | rb |
a14eb5a0ac98224c52a2090bda2011a22994311a | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -44,13 +44,13 @@ Db.prototype.set = function(key, val, cb) {
Db.prototype.get = function(key, cb) {
var self = this;
key = self._prefix(key);
+ var item;
try {
- var item = self.storage.getItem(key);
... | take callback out of try/catch for .get
Errors in callback should not result in it appearing like an error for
getting a key. | courseoff_kayv | train | js |
7ae75b907c38f0da76f6e7c91d3842739f32ffd9 | diff --git a/lib/file_templater/file_actions.rb b/lib/file_templater/file_actions.rb
index <HASH>..<HASH> 100644
--- a/lib/file_templater/file_actions.rb
+++ b/lib/file_templater/file_actions.rb
@@ -14,10 +14,10 @@ module FileTemplater
def remove(path)
# Remove the associated template.
- FileUtils.remove_... | Fix remove command
Errors were thrown when files did not exist, and the ".rb" suffix was
not added to binding files. | Sammidysam_file_templater | train | rb |
c4551a1011f9b2b917fc5ad958dfb628af7bbfe9 | diff --git a/src/main/java/water/parser/ParseDataset.java b/src/main/java/water/parser/ParseDataset.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/parser/ParseDataset.java
+++ b/src/main/java/water/parser/ParseDataset.java
@@ -314,12 +314,10 @@ public final class ParseDataset extends Job {
subTasks =... | Udpated the mechanism to reduce the # of parallel files being unzipped at the same time. | h2oai_h2o-2 | train | java |
17b46343da6c9eafe748737c0f4aa8d2394360a9 | diff --git a/lib/highlighter.js b/lib/highlighter.js
index <HASH>..<HASH> 100644
--- a/lib/highlighter.js
+++ b/lib/highlighter.js
@@ -39,7 +39,7 @@ var Highlighter = createReactClass({
caseSensitive: PropTypes.bool,
ignoreDiacritics: PropTypes.bool,
diacriticsBlacklist: PropTypes.string,
- matchEleme... | Allow passing React components as matchElement
This fixes a warning related to prop-types in development | helior_react-highlighter | train | js |
275170b2360aabbad93e00dda3f66afb9ea3a538 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -50,6 +50,7 @@ from distutils.core import Command
from distutils.command.build import build as _build
from distutils.command.install import install as _install
from distutils.util import change_root
+from distutils.errors i... | Fix: DistutilsOptionError was undefined | Alignak-monitoring_alignak | train | py |
d75c9dd34110a48922ddc56e7e56ba555e8f956f | diff --git a/lib/validates_formatting_of/version.rb b/lib/validates_formatting_of/version.rb
index <HASH>..<HASH> 100644
--- a/lib/validates_formatting_of/version.rb
+++ b/lib/validates_formatting_of/version.rb
@@ -1,3 +1,3 @@
module ValidatesFormattingOf
- VERSION = "0.3.5"
+ VERSION = "0.3.5.alpha"
end | Testing on <I>.alpha | mdespuits_validates_formatting_of | train | rb |
0aecc68d7249454545e6729b1f9e1d6735dbc0e5 | diff --git a/extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java b/extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java
index <HASH>..<HASH> 100644
--- a/extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java
+++ b/extensions/struts2/src/com/google/inject/struts2/Struts2Fa... | Re-add a space into the args.
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | sonatype_sisu-guice | train | java |
710f79a9aba647161fca92d79af554d412fa25e8 | diff --git a/snippets/action-search/search-action.js b/snippets/action-search/search-action.js
index <HASH>..<HASH> 100644
--- a/snippets/action-search/search-action.js
+++ b/snippets/action-search/search-action.js
@@ -5,10 +5,12 @@ var page = tabris.create("Page", {
var proposals = ["baseball", "batman", "battleshi... | Fix search action snippet layout
"Selected '...'" text was behind the button as both were centered
horizontally and vertically on the screen. Wrap them in a centered
container instead.
Change-Id: I<I>ee<I>f5b7ba<I>cdb3cbf<I>c8fd1a<I>ef<I> | eclipsesource_tabris-js | train | js |
1ace5ad21a2d28a711d01346394d1ca7981aef51 | diff --git a/mode/coffeescript/coffeescript.js b/mode/coffeescript/coffeescript.js
index <HASH>..<HASH> 100644
--- a/mode/coffeescript/coffeescript.js
+++ b/mode/coffeescript/coffeescript.js
@@ -15,7 +15,7 @@
})(function(CodeMirror) {
"use strict";
-CodeMirror.defineMode("coffeescript", function(conf) {
+CodeMirror... | [coffeescript mode] Stop strangely fetching options from conf.mode
That's what the parser configuration object is for. Also,
I am unsure how this was supposed to even work.
Issue #<I> | codemirror_CodeMirror | train | js |
4056014b4721c94d539682a6cdaaf23b278bfb07 | diff --git a/src/nextTick.js b/src/nextTick.js
index <HASH>..<HASH> 100644
--- a/src/nextTick.js
+++ b/src/nextTick.js
@@ -3,14 +3,4 @@ const nextTick =
? requestAnimationFrame
: setTimeout
-export default function (task) {
- if (!task) {
- return new Promise(nextTick)
- }
- return new Promise(resolve... | fix (nextTick): fix nextTick implementation | nx-js_observer-util | train | js,js |
8b46008608cc5c4e758af5d0529178f0e4288455 | diff --git a/src/a11y.js b/src/a11y.js
index <HASH>..<HASH> 100644
--- a/src/a11y.js
+++ b/src/a11y.js
@@ -131,7 +131,9 @@ export default class A11y {
// if we need to include the rendered node, we need to wait until
// the owner has rendered
- if ( owner && browser && !this.__sync ) {
+ // TO... | check for instance on owner before trying to use it | reactjs_react-a11y | train | js |
4c13c989e9a72f28e8a358223a30726d6b4f74da | diff --git a/lib/jsdom/browser/htmltodom.js b/lib/jsdom/browser/htmltodom.js
index <HASH>..<HASH> 100644
--- a/lib/jsdom/browser/htmltodom.js
+++ b/lib/jsdom/browser/htmltodom.js
@@ -64,10 +64,6 @@ var HtmlToDom = function(parser){
html +='';
}
- // jos3000: not sure why this is here to c... | Fixed the Document.innerHTML setter to parse HTML with double spaces correctly. Previously it flattened double spaces to no whitespace, breaking the parsing if an element name and its attributes were separate by double whitespace. | jsdom_jsdom | train | js,js |
be56aa864bae2deeaaef489ef3badf40c255ea91 | diff --git a/competency/classes/course_competency.php b/competency/classes/course_competency.php
index <HASH>..<HASH> 100644
--- a/competency/classes/course_competency.php
+++ b/competency/classes/course_competency.php
@@ -245,7 +245,7 @@ class course_competency extends persistent {
$results = $DB->get_recor... | MDL-<I> core_competency: Include course category
These courses are passed through to the course_summary_exporter which
requires a category id in each course record. | moodle_moodle | train | php |
ebf677a58360126d8b9a1e98d086aa4279f53181 | diff --git a/hugolib/taxonomy.go b/hugolib/taxonomy.go
index <HASH>..<HASH> 100644
--- a/hugolib/taxonomy.go
+++ b/hugolib/taxonomy.go
@@ -39,7 +39,7 @@ type WeightedPages []WeightedPage
// A WeightedPage is a Page with a weight.
type WeightedPage struct {
Weight int
- Page *Page
+ *Page
}
func (w WeightedPag... | hubolib: Embed Page in WeightedPage
People can still say `.Page`, but by embedding it `WeightedPages` can be used interchangeably with `Pages` in templates.
Fixes #<I> | gohugoio_hugo | train | go |
ee06c4d12b2f9468a72b1105ed14c16da96ec6a9 | diff --git a/activity/interceptors_test.go b/activity/interceptors_test.go
index <HASH>..<HASH> 100644
--- a/activity/interceptors_test.go
+++ b/activity/interceptors_test.go
@@ -76,6 +76,13 @@ func TestInterceptors(t *testing.T) {
t.Fatal("no after fail")
}
+ if calledComplete {
+ t.Fatal("complete should not ... | Add missing assertions for declared by unused vars | sclasen_swfsm | train | go |
fd41927a99e71f5eb68034502316962ead7f72c3 | diff --git a/tests/to-json-tests.js b/tests/to-json-tests.js
index <HASH>..<HASH> 100644
--- a/tests/to-json-tests.js
+++ b/tests/to-json-tests.js
@@ -1,6 +1,6 @@
var test = require('ava');
-var JSDOM = require('jsdom').JSDOM;
var AdaptiveHtml = require('../dist/adaptive-html.cjs');
+var jsdomHelper = require('./util... | utilize test helper in to-json-tests | rcasto_adaptive-html | train | js |
dc0a526b8d0f0df723eb1007cb469f083b582754 | diff --git a/twarc/decorators2.py b/twarc/decorators2.py
index <HASH>..<HASH> 100644
--- a/twarc/decorators2.py
+++ b/twarc/decorators2.py
@@ -202,9 +202,10 @@ class FileSizeProgressBar(tqdm):
self, result, field="id", error_resource_type=None, error_parameter="ids"
):
try:
- for item ... | fix FileSizeProgressBar when therte's no data in response | DocNow_twarc | train | py |
82e478836f593d481a949381c50e351d4327b5ae | diff --git a/actionview/test/template/atom_feed_helper_test.rb b/actionview/test/template/atom_feed_helper_test.rb
index <HASH>..<HASH> 100644
--- a/actionview/test/template/atom_feed_helper_test.rb
+++ b/actionview/test/template/atom_feed_helper_test.rb
@@ -315,12 +315,11 @@ class AtomFeedTest < ActionController::Test... | Use regexp instead exact match for atom test
There are two xml namespaces in the response body and the xhtml
namespace is not registered in the root node. This create an invalid XML
and nokogiri can't navigate using xpath on that node. | rails_rails | train | rb |
a7095f7948f69a6bf08c4f57e2ea7a7a75de9d75 | diff --git a/lib/store.js b/lib/store.js
index <HASH>..<HASH> 100644
--- a/lib/store.js
+++ b/lib/store.js
@@ -5,7 +5,12 @@ function Store() {
}
Store.prototype.connect = function(cb) {
- process.nextTick(function() { cb(null, this)});
+ var self = this;
+ process.nextTick(function() {
+ cb(null, self)
+ });... | Fixed bug in store.js connect not returning cache object | patrickod_thoroughfare | train | js |
e6534386155407b7aed1be5d152d682ca6a00b3e | diff --git a/src/Assetic/AssetWriter.php b/src/Assetic/AssetWriter.php
index <HASH>..<HASH> 100644
--- a/src/Assetic/AssetWriter.php
+++ b/src/Assetic/AssetWriter.php
@@ -80,4 +80,15 @@ class AssetWriter
throw new \RuntimeException('Unable to write file '.$path);
}
}
+
+ /**
+ * Not us... | added method for better BC with AsseticBundle | kriswallsmith_assetic | train | php |
1eb6eb50d4e4906e0663c9962cb3c07e76bf943c | diff --git a/app/utils/patient-validation.js b/app/utils/patient-validation.js
index <HASH>..<HASH> 100644
--- a/app/utils/patient-validation.js
+++ b/app/utils/patient-validation.js
@@ -16,8 +16,8 @@ export default {
// force validation to fail
return true;
} else {
- let typeAh... | Fixed patient typeahead to avoid false negative
Validation was failing when user only typed in part of patient name and
selected patient from list. | HospitalRun_hospitalrun-frontend | train | js |
c84dd7ff24455bc875955261ece980a581683fd9 | diff --git a/grunt/config/openui5_connect.js b/grunt/config/openui5_connect.js
index <HASH>..<HASH> 100644
--- a/grunt/config/openui5_connect.js
+++ b/grunt/config/openui5_connect.js
@@ -13,6 +13,9 @@ module.exports = function(grunt, config) {
contextpath: config.testsuite.name,
proxypath: 'proxy',
+ proxyO... | [INTERNAL] Grunt: Disable proxy "secure" option for better local testing
As the "grunt serve" server is only intended to be used for local
testing it is fine to allow insecure connections.
Change-Id: I<I>af5d<I>f<I>ce<I>ecc<I>f<I>ee<I> | SAP_openui5 | train | js |
29282f407dedc09c1ea5b970d0504865fde99caa | diff --git a/dolo/compiler/compiler_recs.py b/dolo/compiler/compiler_recs.py
index <HASH>..<HASH> 100644
--- a/dolo/compiler/compiler_recs.py
+++ b/dolo/compiler/compiler_recs.py
@@ -222,7 +222,7 @@ switch flag
{exp_exp_mult_block}
case 'e'
- out1 = [];
+{equation_error_block}
case 'params'
out1 = {m... | Add equation error to the case with expectations multiplier | EconForge_dolo | train | py |
78a367c33e235e8eb2124e972b533c3b0f1ba0ab | diff --git a/library/CM/Db/Db.php b/library/CM/Db/Db.php
index <HASH>..<HASH> 100644
--- a/library/CM/Db/Db.php
+++ b/library/CM/Db/Db.php
@@ -342,7 +342,8 @@ class CM_Db_Db extends CM_Class_Abstract {
}
}
- $dump = 'SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";' . PHP_EOL;
+ $dump = 'SET ... | Disable foreign keys check in MySQL dump
To avoid error due to tables ordering / constraints | cargomedia_cm | train | php |
a551d6e1583929103c49a06d79e843f853a9c28e | diff --git a/keyboard/_winmouse.py b/keyboard/_winmouse.py
index <HASH>..<HASH> 100644
--- a/keyboard/_winmouse.py
+++ b/keyboard/_winmouse.py
@@ -23,11 +23,11 @@ class MSLLHOOKSTRUCT(Structure):
LowLevelMouseProc = CFUNCTYPE(c_int, WPARAM, LPARAM, POINTER(MSLLHOOKSTRUCT))
SetWindowsHookEx = user32.SetWindowsHookEx... | Remove type hints for winmouse ctype | boppreh_keyboard | train | py |
b2242939f9150417c765cbd602475f08c4f582d9 | diff --git a/features/support/env.rb b/features/support/env.rb
index <HASH>..<HASH> 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,7 +1,7 @@
require 'bundler'
Bundler.setup
-require "spec"
+require "rspec"
require "fileutils"
$LOAD_PATH.unshift File.expand_path("../../../lib", __FILE__... | Correct cucumber's use of rspec matchers for upgrade to rspec <I>. #<I>. | NUBIC_aker | train | rb |
5cec47a7778c1bf5169b2c4d26f93fb92c32aa70 | diff --git a/record.go b/record.go
index <HASH>..<HASH> 100644
--- a/record.go
+++ b/record.go
@@ -311,7 +311,7 @@ func (c *Client) RetrieveRecord(domain string, id string) (*Record, error) {
resp, err := checkResp(c.Http.Do(req))
if err != nil {
- return nil, fmt.Errorf("Error destroying record: %s", err)
+ re... | record: fix retrieve logging
see #3 | pearkes_cloudflare | train | go |
cf36318636675652c2406f32c2b11552a7496247 | diff --git a/ember-cli-build.js b/ember-cli-build.js
index <HASH>..<HASH> 100644
--- a/ember-cli-build.js
+++ b/ember-cli-build.js
@@ -15,6 +15,11 @@ module.exports = function(defaults) {
outputPath: 'new-relic.js'
};
break;
+ case '3':
+ options = {
+ loadExternal: true
+ };
... | Add a 3rd case to include throwing an error if outputPath is undefined but loading an external file is expected. | sir-dunxalot_ember-new-relic | train | js,js |
7a90938cf9310ef370adbcb4ae7204e39d1a617f | diff --git a/src/Service/EventSubscriber.php b/src/Service/EventSubscriber.php
index <HASH>..<HASH> 100644
--- a/src/Service/EventSubscriber.php
+++ b/src/Service/EventSubscriber.php
@@ -46,7 +46,7 @@ class EventSubscriber implements EventSubscriberInterface
$groupService = $this->app->make(Group::class);
... | Avoid int/string type error when sending join request notifications | concrete5_addon_community_translation | train | php |
d05e87d8005f01c9517cafadae37ec0ab47ae89f | diff --git a/go/cmd/pfdhcp/main.go b/go/cmd/pfdhcp/main.go
index <HASH>..<HASH> 100644
--- a/go/cmd/pfdhcp/main.go
+++ b/go/cmd/pfdhcp/main.go
@@ -661,7 +661,7 @@ func (I *Interface) ServeDHCP(ctx context.Context, p dhcp.Packet, msgType dhcp.M
} else {
Reply = false
log.LoggerWContext(ctx).Inf... | Update for go version <I> | inverse-inc_packetfence | train | go |
e1da89ccb836014ccb5fd01b140ee2bab2d0b083 | diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py
index <HASH>..<HASH> 100755
--- a/src/transformers/trainer.py
+++ b/src/transformers/trainer.py
@@ -1354,9 +1354,18 @@ class Trainer:
# Skip the first epochs_trained epochs to get the random state of the dataloader at the right point.
... | Fix reproducibility in Training for PyTorch <I> (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
2aaf065ea35f2c08b5c0b89c6e4ccd8de779d2ed | diff --git a/dvc/command/base.py b/dvc/command/base.py
index <HASH>..<HASH> 100644
--- a/dvc/command/base.py
+++ b/dvc/command/base.py
@@ -43,8 +43,7 @@ class CmdBase:
"""Default targets for `dvc repro`."""
from dvc.dvcfile import PIPELINE_FILE
- msg = f"assuming default target '{PIPELINE_FIL... | default target: reduce loglevel to debug (#<I>) | iterative_dvc | train | py |
92788e58101e0f4d62334ad41360a40aa48fd085 | diff --git a/lib/cocoapods_stats/sender.rb b/lib/cocoapods_stats/sender.rb
index <HASH>..<HASH> 100644
--- a/lib/cocoapods_stats/sender.rb
+++ b/lib/cocoapods_stats/sender.rb
@@ -21,7 +21,7 @@ module CocoaPodsStats
def curl(url, json, headers)
headers = headers.map { |k, v| ['-H', "#{k}: #{v}"] }.flatten
... | Set curl's maximum timeout to <I> seconds. | CocoaPods_cocoapods-stats | train | rb |
c3da45397839ff6e5857b6413471ca64fac99b54 | diff --git a/src/article/models/Heading.js b/src/article/models/Heading.js
index <HASH>..<HASH> 100644
--- a/src/article/models/Heading.js
+++ b/src/article/models/Heading.js
@@ -1,8 +1,9 @@
import { TextNode, TEXT } from 'substance'
+import { RICH_TEXT_ANNOS, EXTENDED_FORMATTING, LINKS_AND_XREFS, INLINE_NODES } from ... | Allow annotations and line-breaks in headings. | substance_texture | train | js |
8fd743d711028d69f0c0b4c0d644f44230e91344 | diff --git a/Plugins/page.php b/Plugins/page.php
index <HASH>..<HASH> 100644
--- a/Plugins/page.php
+++ b/Plugins/page.php
@@ -1240,7 +1240,7 @@ class Page {
$tokens = $this->wiki->get_tokens();
- $summary = $summary." (beta framework)";
+ $summary = $summary." ([[WP:PEACHY|Peachy 2.0 (alpha 5)]])";
... | Minor Update
Update tag for edit summaries. | MW-Peachy_Peachy | train | php |
a3c1caad21160545eda87ea1fde93e972a6fbf88 | diff --git a/sos/cleaner/__init__.py b/sos/cleaner/__init__.py
index <HASH>..<HASH> 100644
--- a/sos/cleaner/__init__.py
+++ b/sos/cleaner/__init__.py
@@ -603,8 +603,6 @@ third party.
tfile = tempfile.NamedTemporaryFile(mode='w', dir=self.tmpdir)
with open(filename, 'r') as fname:
for lin... | [cleaner] Don't strip empty lines from substituted files
Fixes an issue where empty lines would be stripped from files that have
other obfuscations in them. Those empty lines may be important for file
structure and/or readability, so we should instead simply not pass empty
lines to the parsers rather than skipping the... | sosreport_sos | train | py |
f25dbd5f612f82426adae309170222216bcb3b5f | diff --git a/test/unit/recomb.js b/test/unit/recomb.js
index <HASH>..<HASH> 100644
--- a/test/unit/recomb.js
+++ b/test/unit/recomb.js
@@ -21,7 +21,8 @@ describe('Recomb', function () {
assert.strictEqual(450, info.height);
fixtures.assertMaxColourDistance(
output,
- fixtures.expec... | Ensure the tests for #<I> pass on OS X | lovell_sharp | train | js |
30864a91d9d8c1fa61e2ee9e4c877242ac152bc8 | diff --git a/src/frontend/org/voltdb/utils/CSVFileReader.java b/src/frontend/org/voltdb/utils/CSVFileReader.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/utils/CSVFileReader.java
+++ b/src/frontend/org/voltdb/utils/CSVFileReader.java
@@ -118,7 +118,7 @@ class CSVFileReader implements Runnable {
... | Handle case when unknown partition is seen. | VoltDB_voltdb | train | java |
c8b2ab1b009d4c9fcc218a872519b421b7dfc7b1 | diff --git a/mod/quiz/locallib.php b/mod/quiz/locallib.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/locallib.php
+++ b/mod/quiz/locallib.php
@@ -380,7 +380,7 @@ function quiz_get_all_question_grades($quiz) {
* @return float the rescaled grade.
*/
function quiz_rescale_grade($rawgrade, $quiz, $round = true) {
- ... | MDL-<I> "Check all the DB columns used to store grades, and make sure they all use a consistent type." Since quiz->sumgrades is now string "<I>" (quiz->sumgrades) no longer evaluates as false. Changing to (quiz->sumgrades != 0) | moodle_moodle | train | php |
90249e0ce92ecdb8d05cc3e8b0b60f6864a9557e | diff --git a/pyreto/tools.py b/pyreto/tools.py
index <HASH>..<HASH> 100644
--- a/pyreto/tools.py
+++ b/pyreto/tools.py
@@ -42,7 +42,7 @@ def plotGenCost(generators):
x = [x for x, _ in generator.p_cost]
y = [y for _, y in generator.p_cost]
elif generator.pcost_model == POLYNOMIAL:
- ... | Plotting only over feasible range. | rwl_pylon | train | py |
88006e89c4d948bb047a43a7097b54cb5b9e2178 | diff --git a/src/Field/Select.php b/src/Field/Select.php
index <HASH>..<HASH> 100644
--- a/src/Field/Select.php
+++ b/src/Field/Select.php
@@ -218,7 +218,7 @@ class Select extends \FormHandler\Field\Field
. (isset($this->tab_index) ? ' tabindex="' . $this->tab_index . '" ' : '')
. (iss... | - Add option count to select field | FormHandler_FormHandler | train | php |
e1183b8a10119b0a4f308a3fa286b49649675ef1 | diff --git a/Application.php b/Application.php
index <HASH>..<HASH> 100644
--- a/Application.php
+++ b/Application.php
@@ -25,6 +25,7 @@ class Application extends \Symfony\Component\Console\Application
public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN', $description = null)
{
parent:... | Allow to read application description from settings file | in2pire_in2pire-cli | train | php,php |
ef494fc1d2c5b7478859868db02d4e9c21718750 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,13 @@ setup(
zip_safe=False,
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
+ 'Operating System :: OS Independent',
... | Added OS and Python version description to setup.py | PMEAL_porespy | train | py |
cdec5fc4eb689c89180847b3b79e8713dd712a92 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,9 @@ import os
from setuptools import find_packages, setup
-from topgg import __author__ as author, __version__ as version, __license__ as license
+from topgg import __author__ as author
+from topgg import __licen... | Remove unused imports and apply isort | DiscordBotList_DBL-Python-Library | train | py,py,py |
0a81f7a66e726fb3ebf28cfe209b9496d20fdc94 | diff --git a/lib/httpServer/transports/http/index.js b/lib/httpServer/transports/http/index.js
index <HASH>..<HASH> 100644
--- a/lib/httpServer/transports/http/index.js
+++ b/lib/httpServer/transports/http/index.js
@@ -91,6 +91,10 @@ exports.initialize = function (mageLogger, cfg) {
var cfgLongRoutes = cfg.longRoutes... | longThreshold configuration was ignored
The default threshold for logging a call as slow was meant
to be configurable, but the configuration entry was never read. | mage_mage | train | js |
00639d89137c806eaafac60fcbde1852b42b9c2e | diff --git a/nodeconductor/logging/handlers.py b/nodeconductor/logging/handlers.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/logging/handlers.py
+++ b/nodeconductor/logging/handlers.py
@@ -1,9 +1,6 @@
-import logging
-
from django.contrib.contenttypes import models as ct_models
from nodeconductor.logging impo... | Remove leftover imports (NC-<I>) | opennode_waldur-core | train | py,py |
604e62c191f51363c69246b8082767ca60364ac5 | diff --git a/src/Codeception/Module/Db.php b/src/Codeception/Module/Db.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/Db.php
+++ b/src/Codeception/Module/Db.php
@@ -534,6 +534,16 @@ class Db extends CodeceptionModule implements DbInterface
return (int) $this->proceedSeeInDatabase($table, 'count(*... | Added dochead for grabFromDatabase (#<I>)
Added dochead for proceedSeeInDatabase | Codeception_base | train | php |
1318856028d2f771dd9c971e221c469d39601c74 | diff --git a/pkg/priority_queue/binary_heap_test.go b/pkg/priority_queue/binary_heap_test.go
index <HASH>..<HASH> 100644
--- a/pkg/priority_queue/binary_heap_test.go
+++ b/pkg/priority_queue/binary_heap_test.go
@@ -67,7 +67,7 @@ func TestBinHeap_MaxLen(t *testing.T) {
bh := NewBinHeap(1)
go func() {
- expected :... | Fix binary_heap_test max_len | spiral_roadrunner | train | go |
0e71b9b4904e18b77de353f9a182eb8ef0d7801f | diff --git a/lib/passport-yammer/strategy.js b/lib/passport-yammer/strategy.js
index <HASH>..<HASH> 100644
--- a/lib/passport-yammer/strategy.js
+++ b/lib/passport-yammer/strategy.js
@@ -47,6 +47,7 @@ function Strategy(options, verify) {
OAuth2Strategy.call(this, options, verify);
this.name = 'yammer';
+ thi... | Allow all URLs to be configurable | jaredhanson_passport-yammer | train | js |
a8cdcf16d165d893093255ae018b46c91848c68a | diff --git a/src/main/java/org/mariadb/jdbc/Driver.java b/src/main/java/org/mariadb/jdbc/Driver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mariadb/jdbc/Driver.java
+++ b/src/main/java/org/mariadb/jdbc/Driver.java
@@ -182,4 +182,13 @@ public final class Driver implements java.sql.Driver {
// TODO Auto-g... | CONJ-<I> - provide public method to cleanup after driver unload, to workaround Tomcat's classloading issues. | MariaDB_mariadb-connector-j | train | java,java |
9f7f1ffea33d08b9696a6a8b174eccafbae6057c | diff --git a/purestorage/purestorage.py b/purestorage/purestorage.py
index <HASH>..<HASH> 100644
--- a/purestorage/purestorage.py
+++ b/purestorage/purestorage.py
@@ -486,7 +486,7 @@ class FlashArray(object):
def list_volume_block_differences(self, volume, **kwargs):
"""Return a list of block differences ... | Fix RST typo in list_volume_block_differences docstring | PureStorage-OpenConnect_rest-client | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.