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 |
|---|---|---|---|---|---|
999459c5e0254a1c7435e33e15892ed799bbf235 | diff --git a/Generator/ProjectGenerator.php b/Generator/ProjectGenerator.php
index <HASH>..<HASH> 100644
--- a/Generator/ProjectGenerator.php
+++ b/Generator/ProjectGenerator.php
@@ -122,9 +122,10 @@ class ProjectGenerator extends Generator
// Renaming the siteaccess group names
- $project = strtolo... | Fix renaming siteaccess groups in demo bundle | netgen_site-generator-bundle | train | php |
5ce690bd1eb6ef6a9c06c31100853c087ac7224f | diff --git a/Python/lipd/pkg_resources/excel/excel_main.py b/Python/lipd/pkg_resources/excel/excel_main.py
index <HASH>..<HASH> 100644
--- a/Python/lipd/pkg_resources/excel/excel_main.py
+++ b/Python/lipd/pkg_resources/excel/excel_main.py
@@ -702,9 +702,9 @@ def _get_header_keys(row):
row[idx] = EXCEL_KEYS... | Sheet Metadata
Stop lowercasing all the header key values. We want to preserve
camelCasing in case the user adds in new keys in the template. The keys
should be written to the LiPD file in the same way that they were
written by the user. | nickmckay_LiPD-utilities | train | py |
ca3ef8ecad9bc5e0def8fad94070068aa9e27fe4 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -1125,3 +1125,43 @@ test('stack push index and word', (t) => {
});
+
+test('stack push/pull', (t) => {
+ const cpu = CPU();
+ let lines = [
+ '.equ 10000 stack',
+ 'LDY #>stack',
+ 'LDX #<stack',
+ 'TXYS',
+
+ ... | Add test for stack/push pull: push word from memory, pull into registers | thirdcoder_cpu3502 | train | js |
d62715ca98d3e79d8fe16961849d35ca5f6a9429 | diff --git a/src/extensions/default/HTMLCodeHints/unittests.js b/src/extensions/default/HTMLCodeHints/unittests.js
index <HASH>..<HASH> 100644
--- a/src/extensions/default/HTMLCodeHints/unittests.js
+++ b/src/extensions/default/HTMLCodeHints/unittests.js
@@ -199,6 +199,12 @@ define(function (require, exports, module) {... | add more unit tests for the id attribute case | adobe_brackets | train | js |
430891e310aedbf23a63458eda44db3a4115728c | diff --git a/lib/Doctrine/ODM/PHPCR/Mapping/Driver/YamlDriver.php b/lib/Doctrine/ODM/PHPCR/Mapping/Driver/YamlDriver.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/PHPCR/Mapping/Driver/YamlDriver.php
+++ b/lib/Doctrine/ODM/PHPCR/Mapping/Driver/YamlDriver.php
@@ -68,6 +68,10 @@ class YamlDriver extends FileDrive... | Implement translator and locale mapping in YAML mapping driver | doctrine_phpcr-odm | train | php |
0342af1da4b9c503f1560495c11d76784c26efbb | diff --git a/stanza/models/classifiers/cnn_classifier.py b/stanza/models/classifiers/cnn_classifier.py
index <HASH>..<HASH> 100644
--- a/stanza/models/classifiers/cnn_classifier.py
+++ b/stanza/models/classifiers/cnn_classifier.py
@@ -112,6 +112,7 @@ class CNNClassifier(nn.Module):
self.extra_vocab = list(... | This is a bug in the classifier I think | stanfordnlp_stanza | train | py |
859a3589232346b5ec3abb80a5c9f9d5b0288707 | diff --git a/Tests/Unit/Message/MessageFactoryTest.php b/Tests/Unit/Message/MessageFactoryTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Unit/Message/MessageFactoryTest.php
+++ b/Tests/Unit/Message/MessageFactoryTest.php
@@ -106,7 +106,9 @@ EOF;
$reder = new \Doctrine\Common\Annotations\AnnotationReader();... | fix unit test of MessageFactory | lexik_LexikMailerBundle | train | php |
bad7d6b340fa2af6b151b7b689a6f43d07681de7 | diff --git a/critical.js b/critical.js
index <HASH>..<HASH> 100644
--- a/critical.js
+++ b/critical.js
@@ -10,7 +10,7 @@
var fs = require( "fs" );
var os = require( "os" );
- var DEFAULT_BUFFER_SIZE = 200*1024;
+ var DEFAULT_BUFFER_SIZE = 800*1024; //had this as the set val before, don't want to break things
... | Make default size what it hard-coded to before to avoid breaks | filamentgroup_criticalCSS | train | js |
796e52a40e9427028568e683a1530c90c58d1f8a | diff --git a/bigfloat_cython/bigfloat/test/test_mpfr.py b/bigfloat_cython/bigfloat/test/test_mpfr.py
index <HASH>..<HASH> 100644
--- a/bigfloat_cython/bigfloat/test/test_mpfr.py
+++ b/bigfloat_cython/bigfloat/test/test_mpfr.py
@@ -1876,10 +1876,12 @@ class TestMpfr(unittest.TestCase):
assert t == 0
... | Recode a test to avoid use of cmp builtin function. | mdickinson_bigfloat | train | py |
469681da41126f63008dddde9295fd267a503d90 | diff --git a/generator/lib/behavior/i18n/I18nBehavior.php b/generator/lib/behavior/i18n/I18nBehavior.php
index <HASH>..<HASH> 100644
--- a/generator/lib/behavior/i18n/I18nBehavior.php
+++ b/generator/lib/behavior/i18n/I18nBehavior.php
@@ -105,6 +105,7 @@ class I18nBehavior extends Behavior
$fk->addReference($column... | [<I>] Fixed unnamed FKs in versionable and i<I>n behaviors (refs #<I>, #<I>) | propelorm_Propel | train | php,php |
7c92a351d6b0281f40fedc177480234254f79052 | diff --git a/helper/testhelpers/testhelpers.go b/helper/testhelpers/testhelpers.go
index <HASH>..<HASH> 100644
--- a/helper/testhelpers/testhelpers.go
+++ b/helper/testhelpers/testhelpers.go
@@ -230,7 +230,7 @@ func deriveStableActiveCore(t testing.T, cluster *vault.TestCluster) *vault.Test
}
func DeriveActiveCore(... | Use a longer timeout for DeriveActiveCore in the hopes that giving more time will allow for raft leader election failure to recover. (#<I>) | hashicorp_vault | train | go |
cd5aacc73a7996576ec786beec9d3510d657c3a0 | diff --git a/spec/rango/core_ext_spec.rb b/spec/rango/core_ext_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rango/core_ext_spec.rb
+++ b/spec/rango/core_ext_spec.rb
@@ -0,0 +1,34 @@
+# encoding: utf-8
+
+require_relative "../spec_helper"
+
+require "rango/core_ext"
+
+describe ParamsMixin do
+ describe ".convert" do... | Added specs for ParamsMixin | botanicus_rango | train | rb |
97f10bf4c7c3e062b6b31a8a175574d301a605ac | diff --git a/generators/app/templates/gulp/watch-assets.js b/generators/app/templates/gulp/watch-assets.js
index <HASH>..<HASH> 100644
--- a/generators/app/templates/gulp/watch-assets.js
+++ b/generators/app/templates/gulp/watch-assets.js
@@ -87,7 +87,7 @@ module.exports = (gulp, plugins) => {
], () => {
process... | #<I> small improvement for livereload | namics_generator-nitro | train | js |
340c77f7fdafbd27960c23c2d1f220bb6b95f54f | diff --git a/src/org/openscience/cdk/math/MinMax.java b/src/org/openscience/cdk/math/MinMax.java
index <HASH>..<HASH> 100644
--- a/src/org/openscience/cdk/math/MinMax.java
+++ b/src/org/openscience/cdk/math/MinMax.java
@@ -3,7 +3,7 @@
* $Date$
* $Revision$
*
- * Copyright (C) 2000-2007 The Chemistry Development ... | Fixed JavaDoc: copyright owner, and missing periods.
git-svn-id: <URL> | cdk_cdk | train | java |
0462329166cc667c2dc81abc85493e2ae6db5e4c | diff --git a/activesupport/lib/active_support/file_evented_update_checker.rb b/activesupport/lib/active_support/file_evented_update_checker.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/file_evented_update_checker.rb
+++ b/activesupport/lib/active_support/file_evented_update_checker.rb
@@ -4,8 +... | no need to have access to the listener | rails_rails | train | rb |
118b183be33227c74f63ee6b08a15b9367d29b3e | diff --git a/lib/active_file/blob.rb b/lib/active_file/blob.rb
index <HASH>..<HASH> 100644
--- a/lib/active_file/blob.rb
+++ b/lib/active_file/blob.rb
@@ -2,7 +2,7 @@ require "active_file/site"
# Schema: id, key, filename, content_type, metadata, byte_size, checksum, created_at
class ActiveFile::Blob < ActiveRecord... | Use rails_blobs for table to mimic routes prefix etc | rails_rails | train | rb,rb |
c17d8f55490bba02a6bab24cc0716387aad59a3e | diff --git a/src/Storage.php b/src/Storage.php
index <HASH>..<HASH> 100644
--- a/src/Storage.php
+++ b/src/Storage.php
@@ -946,8 +946,8 @@ class Storage
// only add taxonomies if they exist
if (!empty($taxonomies) && !empty($tagsWhere)) {
$tagsQueryA = sprintf("%s.contenttype = '%s'", $ta... | Variable naming: $tags_query_2 => $tagsQueryB | bolt_bolt | train | php |
007a3cdc3b1550993bc24fd08e46a9f7187ebf1e | diff --git a/cirq-google/setup.py b/cirq-google/setup.py
index <HASH>..<HASH> 100644
--- a/cirq-google/setup.py
+++ b/cirq-google/setup.py
@@ -15,7 +15,7 @@
import os
from setuptools import find_packages, setup
-# This reads the __version__ variable from cirq/_version.py
+# This reads the __version__ variable from ... | Fix path in `__version__` docstring for `setup.py` in `cirq-google` (#<I>) | quantumlib_Cirq | train | py |
f477e85ac426de532c724e911409f41a63f1e1c5 | diff --git a/js/material.js b/js/material.js
index <HASH>..<HASH> 100644
--- a/js/material.js
+++ b/js/material.js
@@ -304,7 +304,7 @@ var FloatingLabel = function ($) {
/*!
* navigation drawer
- * based on bootstrap's (v4.0.0-alpha.5) modal.js
+ * based on bootstrap's (v4.0.0-alpha.6) modal.js
*/
var NavDrawer... | recompile css and js | Daemonite_material | train | js |
f507227fd4efff3c8b32b2a8c8f2860af2546e3b | diff --git a/lib/model.rb b/lib/model.rb
index <HASH>..<HASH> 100644
--- a/lib/model.rb
+++ b/lib/model.rb
@@ -176,11 +176,15 @@ module OpenTox
return @prediction_dataset if database_activity(subjectid)
-
- if metadata[RDF.type] == [OTA.ClassificationLazySingleTarget]
+ load_metadata(subjectid... | Hotfix: Switch to balanced mode. | opentox_lazar | train | rb |
d072ebfd5193bb32f948ea4e1b9503679c73062e | diff --git a/lib/bel/quoting.rb b/lib/bel/quoting.rb
index <HASH>..<HASH> 100644
--- a/lib/bel/quoting.rb
+++ b/lib/bel/quoting.rb
@@ -5,10 +5,13 @@ module BEL
KeywordMatcher = Regexp.compile(/^(SET|DEFINE|a|g|p|r|m)$/)
def ensure_quotes identifier
- if quotes_required? identifier
- %Q{"#{identi... | escape double quotes with an identifier
This passes the previously failing spec/unit/bel_syntax_spec.rb test.
refs #<I> | OpenBEL_bel.rb | train | rb |
33c938d43a04e34416162407e9cad259a3a171b7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -125,7 +125,6 @@ def find_library(library_root):
# Get the version number
execfile('astromodels/version.py')
-
def setup_xspec():
headas_root = os.environ.get("HEADAS") | Cleaned up the setup and made it more system-independent (see #<I>) | threeML_astromodels | train | py |
cb4387df3f9328e4ff38b8299fe5fbb169576235 | diff --git a/plugins/inputs/procstat/procstat.go b/plugins/inputs/procstat/procstat.go
index <HASH>..<HASH> 100644
--- a/plugins/inputs/procstat/procstat.go
+++ b/plugins/inputs/procstat/procstat.go
@@ -295,6 +295,10 @@ func (p *Procstat) updateProcesses(pids []PID, tags map[string]string, prevInfo
for _, pid := ran... | Verify a process passed by pid_file exists (#<I>) | influxdata_telegraf | train | go |
378c4581855f2593e902a2a8569aa98250f8e865 | diff --git a/pyqode/python/managers/file.py b/pyqode/python/managers/file.py
index <HASH>..<HASH> 100644
--- a/pyqode/python/managers/file.py
+++ b/pyqode/python/managers/file.py
@@ -47,8 +47,7 @@ class PyFileManager(FileManager):
return 'UTF-8'
def open(self, path, encoding=None, use_cached_encoding=Tr... | Force preferred encoding following python convention:
if there is an encoding shebang line, the specified encoding is used otherwise UTF-8 is assumed. | pyQode_pyqode.python | train | py |
0dd89bf1441f94a36164d5b9e993ee0587a81728 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -38,7 +38,13 @@ exports.run = function jsdoctest$run(filename) {
exports.getJsdoctests = function jsdoctest$getJsdoctests(content) {
var parsedContent = dox.parseComments(content);
var functionComments =... | Allow tests in class/constructor/property docs | yamadapc_jsdoctest | train | js |
a131e11c5e15b4720deff025464e20d5d21a4b83 | diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -158,7 +158,7 @@ class Command(_BaseCommand):
isn't one.
cog: Optional[:class:`Cog`]
The cog that this command belongs to. ... | [commands] fix documented type for Command.checks | Rapptz_discord.py | train | py |
364ade6e4ca738d4fa11191fb4d6c1de528e57cd | diff --git a/bin/browsertimeWebPageReplay.js b/bin/browsertimeWebPageReplay.js
index <HASH>..<HASH> 100755
--- a/bin/browsertimeWebPageReplay.js
+++ b/bin/browsertimeWebPageReplay.js
@@ -38,6 +38,9 @@ async function runBrowsertime() {
resultDir: '/tmp/browsertime',
screenshotParams: {
type: 'jpg'
+ ... | ignore certificate errors by default (#<I>) | sitespeedio_browsertime | train | js |
9a719dc33aa0bb823fc6e696880945303305e740 | diff --git a/src/toil/batchSystems/options.py b/src/toil/batchSystems/options.py
index <HASH>..<HASH> 100644
--- a/src/toil/batchSystems/options.py
+++ b/src/toil/batchSystems/options.py
@@ -15,6 +15,12 @@ from __future__ import absolute_import
from .registry import batchSystemFactoryFor, defaultBatchSystem, uniqueN... | Automatically get local IP for mesosMaster (resolves #<I>) | DataBiosphere_toil | train | py |
346e215db969bd9410b2ad6f5927f68f4ce44090 | diff --git a/lib/spring/commands/testunit.rb b/lib/spring/commands/testunit.rb
index <HASH>..<HASH> 100644
--- a/lib/spring/commands/testunit.rb
+++ b/lib/spring/commands/testunit.rb
@@ -8,7 +8,10 @@ module Spring
def call
$LOAD_PATH.unshift "test"
ARGV << "test" if ARGV.empty?
- ARGV.ea... | Don't try to require testunit args
Fixes #<I> | rails_spring | train | rb |
4d2f0d2287a4fde4e6425814e85d812dd7c4b203 | diff --git a/activesupport/lib/active_support/core_ext/module/synchronization.rb b/activesupport/lib/active_support/core_ext/module/synchronization.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/core_ext/module/synchronization.rb
+++ b/activesupport/lib/active_support/core_ext/module/synchronizat... | synchronization.rb needs active_support/core_ext/array/extract_options | rails_rails | train | rb |
5dca61a801cb81a969438346a2af3a021555bdea | diff --git a/src/Digbang/Security/SecurityServiceProvider.php b/src/Digbang/Security/SecurityServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Digbang/Security/SecurityServiceProvider.php
+++ b/src/Digbang/Security/SecurityServiceProvider.php
@@ -13,6 +13,8 @@ class SecurityServiceProvider extends ServiceProvid... | Don't need to override before sentry, as sentry resolutions are callbacks.
Problem was when injecting Sentry. | digbang_security | train | php |
1e67636360d7062b4e677cea9602a56198aceba3 | diff --git a/src/SAML2/XML/saml/SubjectConfirmationData.php b/src/SAML2/XML/saml/SubjectConfirmationData.php
index <HASH>..<HASH> 100644
--- a/src/SAML2/XML/saml/SubjectConfirmationData.php
+++ b/src/SAML2/XML/saml/SubjectConfirmationData.php
@@ -177,7 +177,7 @@ class SubjectConfirmationData
public function setAdd... | Be less strict on the content of the Address attribute | simplesamlphp_saml2 | train | php |
1550bfffaac76b3a8ee9737d368ba5350bb2a4e6 | diff --git a/lib/plugins/rollback/index.js b/lib/plugins/rollback/index.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/rollback/index.js
+++ b/lib/plugins/rollback/index.js
@@ -34,6 +34,11 @@ class Rollback {
shortcut: 'f',
required: true,
},
+ version: {
... | Add version option to core rollback plugin | serverless_serverless | train | js |
c9ee435c633fc298c40eee99dfd5eeab7221ece0 | diff --git a/src/Operation/CreateIndexes.php b/src/Operation/CreateIndexes.php
index <HASH>..<HASH> 100644
--- a/src/Operation/CreateIndexes.php
+++ b/src/Operation/CreateIndexes.php
@@ -97,9 +97,7 @@ class CreateIndexes implements Executable
'indexes' => $this->indexes,
]);
- $cursor = $... | CreateIndexes::executeCommand() need not return anything | mongodb_mongo-php-library | train | php |
5b6ad39bef5c4cceb9f0f32ed2eb76ebc09c1876 | diff --git a/tests/integrations/flask/test_flask.py b/tests/integrations/flask/test_flask.py
index <HASH>..<HASH> 100644
--- a/tests/integrations/flask/test_flask.py
+++ b/tests/integrations/flask/test_flask.py
@@ -26,6 +26,7 @@ def app():
app.logger.setLevel(logging.DEBUG)
handler = SentryHandler()
hand... | chore: fix flask tests again | getsentry_sentry-python | train | py |
f9268f80691c973c38c0fca6469a0ff8f434174d | diff --git a/law/contrib/glite/__init__.py b/law/contrib/glite/__init__.py
index <HASH>..<HASH> 100644
--- a/law/contrib/glite/__init__.py
+++ b/law/contrib/glite/__init__.py
@@ -512,7 +512,7 @@ class GLiteWorkflowProxy(WorkflowProxy):
outputs["submission"].parent.touch()
# get all branch indexes an... | Fix creation of dummy control outputs in glite workflow. | riga_law | train | py |
5a8f3f57857d331ac4cde2193d973c8f61856d08 | diff --git a/satpy/tests/reader_tests/test_abi_l2_nc.py b/satpy/tests/reader_tests/test_abi_l2_nc.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/reader_tests/test_abi_l2_nc.py
+++ b/satpy/tests/reader_tests/test_abi_l2_nc.py
@@ -87,8 +87,7 @@ class Test_NC_ABI_L2_base(unittest.TestCase):
... | fix another stickler E<I> complain | pytroll_satpy | train | py |
ad5708f6d703c1f330baff55986080ca0984753d | diff --git a/lib/bashcov.rb b/lib/bashcov.rb
index <HASH>..<HASH> 100644
--- a/lib/bashcov.rb
+++ b/lib/bashcov.rb
@@ -18,15 +18,6 @@ module Bashcov
)
class << self
- # Define option accessors
- Options.new.members.each do |option|
- [option, "#{option}="].each do |method|
- define_method meth... | Don't redefine existing methods
lib/bashcov.rb:<I>: warning: method redefined; discarding old command_name
lib/bashcov.rb:<I>: warning: previous definition of command_name was here | infertux_bashcov | train | rb |
14c5375cccb74db24e8b32913769e2eb3cbbc933 | diff --git a/tscreen_unix.go b/tscreen_unix.go
index <HASH>..<HASH> 100644
--- a/tscreen_unix.go
+++ b/tscreen_unix.go
@@ -49,6 +49,7 @@ func (t *tScreen) engage() error {
ti := t.ti
t.TPuts(ti.EnterCA)
+ t.TPuts(ti.EnterKeypad)
t.TPuts(ti.HideCursor)
t.TPuts(ti.EnableAcs)
t.TPuts(ti.Clear) | send enter_keypad during terminal engage | gdamore_tcell | train | go |
b38d97a241369015e250920aa44a172c492fec6a | diff --git a/lib/net/NetworkManager.js b/lib/net/NetworkManager.js
index <HASH>..<HASH> 100644
--- a/lib/net/NetworkManager.js
+++ b/lib/net/NetworkManager.js
@@ -157,7 +157,8 @@ class NetworkManager {
let startHeight = parseInt(Object.keys(this._requests.headers)[0])
while (this._requests.blocks[startHeigh... | Do not add blocks when current start height is marked as OPEN | ethereumjs_ethereumjs-vm | train | js |
b4967e683663c66e5a18fbba680278254174167a | diff --git a/pippo-core/src/main/java/ro/pippo/core/Request.java b/pippo-core/src/main/java/ro/pippo/core/Request.java
index <HASH>..<HASH> 100644
--- a/pippo-core/src/main/java/ro/pippo/core/Request.java
+++ b/pippo-core/src/main/java/ro/pippo/core/Request.java
@@ -434,6 +434,14 @@ public final class Request {
... | feat: add wrapper method to get header names (#<I>) | pippo-java_pippo | train | java |
49b68c06c9c85b737f4c2e98a7d5f8d4815da1f5 | diff --git a/h2o-core/src/main/java/water/api/RequestServer.java b/h2o-core/src/main/java/water/api/RequestServer.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/api/RequestServer.java
+++ b/h2o-core/src/main/java/water/api/RequestServer.java
@@ -632,7 +632,7 @@ public class RequestServer extends Na... | PUBDEV-<I>: exceptions caught in RequestServer.serve() should be ERROR, not WARN. | h2oai_h2o-3 | train | java |
898d45e0796411238d7a354fcbafc4f5e92565ff | diff --git a/appinst/application_menus.py b/appinst/application_menus.py
index <HASH>..<HASH> 100644
--- a/appinst/application_menus.py
+++ b/appinst/application_menus.py
@@ -80,7 +80,7 @@ def install(menus, shortcuts, install_mode='user'):
elif plat == 'windows':
pver = platform.win32_ver()[0]
elif ... | Corrected method of finding platform version on OS X. | ContinuumIO_menuinst | train | py |
308520890e5ab228cbdff545ca72093f2bf00c54 | diff --git a/titlecase/__init__.py b/titlecase/__init__.py
index <HASH>..<HASH> 100755
--- a/titlecase/__init__.py
+++ b/titlecase/__init__.py
@@ -17,7 +17,7 @@ __all__ = ['titlecase']
__version__ = '0.12.0'
SMALL = 'a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|v\.?|via|vs\.?'
-PUNCT = r"""!"#$%&'‘()*+,\-–‒—―... | Add fancy double quote to punctuation
This allows “ in text to be capitalised. | ppannuto_python-titlecase | train | py,py |
9f8e6f074ba7d9d060355a67a22c30a0c2cb44fd | diff --git a/astroid/node_classes.py b/astroid/node_classes.py
index <HASH>..<HASH> 100644
--- a/astroid/node_classes.py
+++ b/astroid/node_classes.py
@@ -168,7 +168,9 @@ def _infer_slice(node, context=None):
if all(elem is not _SLICE_SENTINEL for elem in (lower, upper, step)):
return slice(lower, upper, ... | Raise AstroidTypeError whenever a slice cannot be inferred, instead of raising TypeError and letting the upper context to handle it. | PyCQA_astroid | train | py |
1e36892c7359679fb2be15e1e2beb34bf80921a0 | diff --git a/playground-runner/bref.php b/playground-runner/bref.php
index <HASH>..<HASH> 100644
--- a/playground-runner/bref.php
+++ b/playground-runner/bref.php
@@ -11,7 +11,18 @@ $errorHandler->registerExceptionHandler();
$errorHandler->registerErrorHandler();
$errorHandler->registerShutdownFunction();
+function... | Playground runner - clear /tmp before next run | phpstan_phpstan | train | php |
547d259e365b4af47b8a98f092252a32bb3dd3b5 | diff --git a/src/RecursivePublishable.php b/src/RecursivePublishable.php
index <HASH>..<HASH> 100644
--- a/src/RecursivePublishable.php
+++ b/src/RecursivePublishable.php
@@ -57,6 +57,16 @@ class RecursivePublishable extends DataExtension
*/
public function publishRecursive()
{
+ /** @var DataObj... | onAfterPublishRecursive extension hook added. | silverstripe_silverstripe-versioned | train | php |
1a8289ca3bc733eb7282c2c068c98fbae264c422 | diff --git a/cgo/cgo_main_run.go b/cgo/cgo_main_run.go
index <HASH>..<HASH> 100644
--- a/cgo/cgo_main_run.go
+++ b/cgo/cgo_main_run.go
@@ -17,6 +17,7 @@ import (
"path"
"github.com/mweagle/Sparta"
+ "github.com/spf13/cobra"
"golang.org/x/tools/go/ast/astutil"
)
@@ -31,10 +32,21 @@ func cgoMain(callerMainInpu... | Properly parse CLI options to determine when source should be rewritten | mweagle_Sparta | train | go |
652d9409708510ddcfdf3c73c92205345ef3710c | diff --git a/generators/needle/needle-client-base.js b/generators/needle/needle-client-base.js
index <HASH>..<HASH> 100644
--- a/generators/needle/needle-client-base.js
+++ b/generators/needle/needle-client-base.js
@@ -3,7 +3,9 @@ const needleBase = require('./needle-base');
module.exports = class extends needleBase {... | Use needleNase API in clientBase | jhipster_generator-jhipster | train | js |
c1cce6fe5e49df5546c30a662fd141d41f4fc389 | diff --git a/Builder.php b/Builder.php
index <HASH>..<HASH> 100644
--- a/Builder.php
+++ b/Builder.php
@@ -199,9 +199,7 @@ class Builder extends \Twig_Extension
$this->addToExploreQueue($file);
}
- if (!$this->exploreQueue) {
- $this->addToExploreQueue('index.html.twig');
- ... | [Builder] Adding root page in any case | Gregwar_Slidey | train | php |
2c3d158da220baceee8c1013976b4f76ee46cc06 | diff --git a/sprd/view/ProductViewerClass.js b/sprd/view/ProductViewerClass.js
index <HASH>..<HASH> 100644
--- a/sprd/view/ProductViewerClass.js
+++ b/sprd/view/ProductViewerClass.js
@@ -224,7 +224,7 @@ define(["js/ui/View", "js/core/Bus"], function (View, Bus) {
if (this.runsInBrowser() && this.$.editable... | DEV-<I> - Improved Color selector | spreadshirt_rAppid.js-sprd | train | js |
dde3edc5b460f1ff52bb1671c91236b60f5e0f2b | diff --git a/spyder/widgets/mixins.py b/spyder/widgets/mixins.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/mixins.py
+++ b/spyder/widgets/mixins.py
@@ -694,14 +694,9 @@ class BaseEditMixin(object):
def get_text_with_eol(self):
"""Same as 'toPlainText', replace '\n'
by correct end-of-line... | Mixins: keep text same as toPlainText in get_text_with_eol | spyder-ide_spyder | train | py |
7dd2b8b725684a62fe18b3d6bfa5af68f7d70a56 | diff --git a/modules/ve/dm/ve.dm.DocumentSynchronizer.js b/modules/ve/dm/ve.dm.DocumentSynchronizer.js
index <HASH>..<HASH> 100644
--- a/modules/ve/dm/ve.dm.DocumentSynchronizer.js
+++ b/modules/ve/dm/ve.dm.DocumentSynchronizer.js
@@ -1,7 +1,7 @@
/**
* Creates an ve.dm.DocumentSynchronizer object.
*
- * This obje... | Make DocumentSynchronizer clear the queue after it's done with it | wikimedia_parsoid | train | js |
755cc57ec545f496eef9b3622fee77687ba706fb | diff --git a/src/main/java/org/asteriskjava/fastagi/internal/AgiRequestImpl.java b/src/main/java/org/asteriskjava/fastagi/internal/AgiRequestImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/asteriskjava/fastagi/internal/AgiRequestImpl.java
+++ b/src/main/java/org/asteriskjava/fastagi/internal/AgiRequestImp... | [AJ-<I>] Applied patch to make AGI work with Callweaver | asterisk-java_asterisk-java | train | java |
e8568ebee191c705e7d567dc1e47c6e48978047c | diff --git a/Model/Import/Category.php b/Model/Import/Category.php
index <HASH>..<HASH> 100644
--- a/Model/Import/Category.php
+++ b/Model/Import/Category.php
@@ -238,6 +238,8 @@ class Category extends \Magento\ImportExport\Model\Import\AbstractEntity
* @param \Magento\Catalog\Model\Category $defaultCategory
... | Correcting PHPDoc of Category import file | firegento_FireGento_FastSimpleImport2 | train | php |
ad025f540bec10b2eb192b0ecc7c8b7fa719b946 | diff --git a/post_office/utils.py b/post_office/utils.py
index <HASH>..<HASH> 100644
--- a/post_office/utils.py
+++ b/post_office/utils.py
@@ -141,7 +141,7 @@ def create_attachments(attachment_files):
attachments.append(attachment)
- if opened_file:
+ if opened_file is not None:
... | More verbose check for opened_file | ui_django-post_office | train | py |
41822718680dee04e26783666cd3a0ff3186d7d7 | diff --git a/src/Kris/LaravelFormBuilder/Fields/CollectionType.php b/src/Kris/LaravelFormBuilder/Fields/CollectionType.php
index <HASH>..<HASH> 100644
--- a/src/Kris/LaravelFormBuilder/Fields/CollectionType.php
+++ b/src/Kris/LaravelFormBuilder/Fields/CollectionType.php
@@ -77,7 +77,7 @@ class CollectionType extends Pa... | Bug-fix: CollectionType.php
Use input() to correctly return the data from the current request so that, if it contains multiple rows, those rows can be read in as children of the Collection field. | kristijanhusak_laravel-form-builder | train | php |
eff1e29bd6887e3327439ab358a4b1fb4e543957 | diff --git a/Tests/Unit/Core/Content/Block/Base/AlBlockManagerContainerBase.php b/Tests/Unit/Core/Content/Block/Base/AlBlockManagerContainerBase.php
index <HASH>..<HASH> 100755
--- a/Tests/Unit/Core/Content/Block/Base/AlBlockManagerContainerBase.php
+++ b/Tests/Unit/Core/Content/Block/Base/AlBlockManagerContainerBase.p... | fixed red_kite_cms.active_theme sevice getting | redkite-labs_RedKiteCmsBundle | train | php |
f3c8a08edcb3e7fa431d20350e0d274921b6318a | diff --git a/app/scripts/angular-apimock.js b/app/scripts/angular-apimock.js
index <HASH>..<HASH> 100644
--- a/app/scripts/angular-apimock.js
+++ b/app/scripts/angular-apimock.js
@@ -54,7 +54,11 @@ angular.module('apiMock', [])
var p = ApiMock.prototype;
p.shouldMock = function (req) {
- return (this._isGlob... | Add override support through $http. | seriema_angular-apimock | train | js |
30899fef7c78cfd9e10e5b6121d0d62cc82997df | diff --git a/boards.js b/boards.js
index <HASH>..<HASH> 100644
--- a/boards.js
+++ b/boards.js
@@ -78,7 +78,7 @@ module.exports = {
byteDelay:0x00,
pollValue:0x53,
pollIndex:0x03,
- productId: ['0x0042'],
+ productId: ['0x0042', '0x6001'],
protocol: 'stk500v2'
},
'sf-pro-micro': { | Added support for Sparkfun's Mega Pro board. Fixes: #<I> | noopkat_avrgirl-arduino | train | js |
094ca1fcad4329decb897bf378341955805feae3 | diff --git a/spec/functional/dsl/registry_helper_spec.rb b/spec/functional/dsl/registry_helper_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/dsl/registry_helper_spec.rb
+++ b/spec/functional/dsl/registry_helper_spec.rb
@@ -39,6 +39,7 @@ describe Chef::Resource::RegistryKey, :unix_only do
end
describe Ch... | Finxing a missing line pushed too soon. | chef_chef | train | rb |
a70b728e31f7454f86527e54c0896c98f32a3c03 | diff --git a/doc/source/conf.py b/doc/source/conf.py
index <HASH>..<HASH> 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -243,7 +243,7 @@ intersphinx_mapping = {
'numpy': ('https://docs.scipy.org/doc/numpy', None),
'scipy': ('https://docs.scipy.org/doc/scipy/reference', None),
'xarray': ('ht... | Update dask intersphinx to point to new dask documentation | pytroll_satpy | train | py |
b118bf061e7ccfcfb39db72460a211ac8d955598 | diff --git a/lib/tvdb_party/search.rb b/lib/tvdb_party/search.rb
index <HASH>..<HASH> 100644
--- a/lib/tvdb_party/search.rb
+++ b/lib/tvdb_party/search.rb
@@ -85,7 +85,11 @@ module TvdbParty
end
def get_banners(series)
- response = self.class.get("/#{@api_key}/series/#{series.id}/banners.xml").parsed_r... | add a method to return banners for a series id | maddox_tvdb_party | train | rb |
5001642290bd0400f4858b2a826ccfadcfa78188 | diff --git a/libs/Application.js b/libs/Application.js
index <HASH>..<HASH> 100644
--- a/libs/Application.js
+++ b/libs/Application.js
@@ -91,15 +91,23 @@ _.extend(Application.prototype, {
var self = this;
var io = require('socket.io')(server);
io.on('connection', function(socket){
- console.log('a user conn... | add defaults callback for socketio connection and disconnection | microscopejs_microscope-web | train | js |
e307d33f54746f16f8d6e6f7c21c9ba9934cb760 | diff --git a/src/Renderer/JsonRenderer.php b/src/Renderer/JsonRenderer.php
index <HASH>..<HASH> 100644
--- a/src/Renderer/JsonRenderer.php
+++ b/src/Renderer/JsonRenderer.php
@@ -47,7 +47,13 @@ class JsonRenderer implements RendererInterface
public function getResult($asString = true)
{
if ($asString... | Enable support for multiple suites
When rendering the result array only the first suite is taken.
This patch merges the results together before rendering so all suites are processed. | Vanare_behat-cucumber-formatter | train | php |
e4a10807532de3c5821d18f984eda785aae51540 | diff --git a/Kwc/Basic/Text/Component.php b/Kwc/Basic/Text/Component.php
index <HASH>..<HASH> 100644
--- a/Kwc/Basic/Text/Component.php
+++ b/Kwc/Basic/Text/Component.php
@@ -58,7 +58,9 @@ class Kwc_Basic_Text_Component extends Kwc_Abstract
$ret['cssClass'] = 'webStandard kwcText';
- $ret['assets'][... | only create one instance of asset
this fixes 5x output of css | koala-framework_koala-framework | train | php |
023ecc358edcce5361d7ead0527a1d0096da9173 | diff --git a/src/Requests/Request.php b/src/Requests/Request.php
index <HASH>..<HASH> 100644
--- a/src/Requests/Request.php
+++ b/src/Requests/Request.php
@@ -154,6 +154,11 @@ abstract class Request
if (in_array($code, [502, 525])) {
static::$endpointFailureCount++;
+
+ if (static::$e... | drop out at 5 attempts when discord sends <I> or <I> | discodian_core | train | php |
bf9aab795e74a6916af68709d489e61a751ff21c | diff --git a/jpype/_jarray.py b/jpype/_jarray.py
index <HASH>..<HASH> 100644
--- a/jpype/_jarray.py
+++ b/jpype/_jarray.py
@@ -172,6 +172,9 @@ class _JArray(object):
except TypeError:
return True
+ def clone(self):
+ return _jclass.JClass("java.util.Arrays").copyOf(self, len(self))
+
... | Added missing clone method for arrays. | jpype-project_jpype | train | py |
810e1f9e648a24f35f917b14003c85a3595f953b | diff --git a/tests_regression/helpers/regression.py b/tests_regression/helpers/regression.py
index <HASH>..<HASH> 100644
--- a/tests_regression/helpers/regression.py
+++ b/tests_regression/helpers/regression.py
@@ -54,16 +54,14 @@ def render_doctree(doctree, out_filename, reference_path, tmpdir,
document = tem... | Regression tests: store output in output/ (no links) | brechtm_rinohtype | train | py |
2dc6f52a5b7884db18e25d7337ac5731e2de4839 | diff --git a/src/app/n2n/web/http/controller/ControllingPlan.php b/src/app/n2n/web/http/controller/ControllingPlan.php
index <HASH>..<HASH> 100644
--- a/src/app/n2n/web/http/controller/ControllingPlan.php
+++ b/src/app/n2n/web/http/controller/ControllingPlan.php
@@ -324,7 +324,7 @@ class ControllingPlan {
function ex... | Call to undefined method BUG FIX | n2n_n2n-web | train | php |
cec6b56140a6b461efb8a692121382987786629a | diff --git a/src/Collection/Structure/AbstractStructure.php b/src/Collection/Structure/AbstractStructure.php
index <HASH>..<HASH> 100644
--- a/src/Collection/Structure/AbstractStructure.php
+++ b/src/Collection/Structure/AbstractStructure.php
@@ -61,7 +61,7 @@ abstract class AbstractStructure implements Structure
... | renamed method getKeys() to getStructureKeys() | peakphp_framework | train | php |
19f027f40267de7b9f27e6f1c7649dd3eaa1adc3 | diff --git a/image/colors/convert.go b/image/colors/convert.go
index <HASH>..<HASH> 100644
--- a/image/colors/convert.go
+++ b/image/colors/convert.go
@@ -94,8 +94,7 @@ func ColorAverageImage(i image.Image) color.Color {
r, b, g, n := 0.0, 0.0, 0.0, 0.0
for x := min.X; x < max.X; x++ {
for y := min.Y; y < max.Y;... | streamline: image/colors: update `ColorAverageImage()` | grokify_gotilla | train | go |
33b1deadf128751477a4f1bc1398cc91b9f84ed0 | diff --git a/src/Illuminate/Routing/RouteParameterBinder.php b/src/Illuminate/Routing/RouteParameterBinder.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Routing/RouteParameterBinder.php
+++ b/src/Illuminate/Routing/RouteParameterBinder.php
@@ -2,6 +2,8 @@
namespace Illuminate\Routing;
+use Illuminate\Suppor... | Add missing import. (#<I>) | laravel_framework | train | php |
783b808f78e33c142d3e950dc42f86956aa1a4c2 | diff --git a/src/SchemaNormalizer.php b/src/SchemaNormalizer.php
index <HASH>..<HASH> 100644
--- a/src/SchemaNormalizer.php
+++ b/src/SchemaNormalizer.php
@@ -251,7 +251,10 @@ final class SchemaNormalizer implements NormalizerInterface
* @see https://spacetelescope.github.io/understanding-json-schema/structur... | Fix: Keep resolving references until there are none left | localheinz_json-normalizer | train | php |
6afde35f6ed3d4b0ee536350982638175b8b5e87 | diff --git a/test/specs/ajax.js b/test/specs/ajax.js
index <HASH>..<HASH> 100644
--- a/test/specs/ajax.js
+++ b/test/specs/ajax.js
@@ -34,11 +34,11 @@ describe("A suite testing ajax functionality of scandio.js", function() {
it("should construct a set of valid plugin urls", function() {
var resultUrls = ß.... | Fixes loaded script filename in specs. | scandio_scandiojs | train | js |
01f6f6d6626d5ab37bf236a00b6a8623410e8b67 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -19,15 +19,6 @@ from setuptools import find_packages
from setuptools import setup
from setuptools.command.build_ext import build_ext
-
-def read(*names, **kwargs):
- with io.open(
- join(dirname(__file__), *names... | Just a bit of reordering. | ionelmc_python-lazy-object-proxy | train | py |
bb488c32887bf8c815538aed9df4a4f428d568e1 | diff --git a/xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/converter/TypeConverter.java b/xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/converter/TypeConverter.java
index <HASH>..<HASH> 100644
--- a/xwiki-commons-core/xwiki-commons-prop... | XCOMMONS-<I>: Define a stable way to serialize types
* Revert convertToString method added in TypeConverter since it's
never used. | xwiki_xwiki-commons | train | java |
8cbefcc081ea3f386437ee0ddefcc6aaac766e7a | diff --git a/src/structures/ClientUser.js b/src/structures/ClientUser.js
index <HASH>..<HASH> 100644
--- a/src/structures/ClientUser.js
+++ b/src/structures/ClientUser.js
@@ -271,7 +271,7 @@ class ClientUser extends User {
* @returns {Promise<Presence>}
*/
setActivity(name, { url, type } = {}) {
- if (!na... | [<I>.x] Fix param to setPresence in setActivity (#<I>)
ClientUser#setPresence in master branch (latest) calls client.presences.setClientPresence, but that in <I> does not
so i change parameter sent to setPresence for clearing the game activity, from activity:null to game:null,
for now until setPresence gets updated | discordjs_discord.js | train | js |
e6e50d6ea03ac6c9550b27c5850eceeb59faf45f | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -518,7 +518,8 @@ describe('Filters', function() {
map = {
"filter1": "'ACME super soakers are the worst' | replace('worst', 'best')",
"filter2": "'ACME super soakers are the worst' | r... | Added additional test for replace() regex flags | NFNChris_json-transmute | train | js |
8f1ed010c98589665f0cdd9328f6014893d1465a | diff --git a/lice/core.py b/lice/core.py
index <HASH>..<HASH> 100644
--- a/lice/core.py
+++ b/lice/core.py
@@ -1,4 +1,4 @@
-from pkg_resources import resource_stream
+from pkg_resources import (resource_stream, resource_listdir)
import argparse
import datetime
import re
@@ -8,8 +8,11 @@ import sys
__version__ = "... | Discover available licences at runtime. | licenses_lice | train | py |
ecfca8273f59a0ddf853dbe6f1603d485329ecc6 | diff --git a/spyder/config/main.py b/spyder/config/main.py
index <HASH>..<HASH> 100644
--- a/spyder/config/main.py
+++ b/spyder/config/main.py
@@ -503,7 +503,6 @@ DEFAULTS = [
('kite',
{
'enable': True,
- 'enable_snippets': True,
}),
... | revert to lsp enable snippets option | spyder-ide_spyder | train | py,py |
49f220cbe0a1774066a048cdfd8682d214a6df68 | diff --git a/src/java/org/apache/cassandra/cql3/statements/ModificationStatement.java b/src/java/org/apache/cassandra/cql3/statements/ModificationStatement.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/cql3/statements/ModificationStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/... | Remove the unused defaultConsistency from ModificationStatement | Stratio_stratio-cassandra | train | java |
1178a63db4f0b921cfdd0773e5f3d16dfc9b59f0 | diff --git a/libs/controller.php b/libs/controller.php
index <HASH>..<HASH> 100644
--- a/libs/controller.php
+++ b/libs/controller.php
@@ -356,7 +356,18 @@ class Controller extends Object
{
$this->pageTitle = $pageTitle;
}
+
+ function flash($message, $url, $time=1)
+ {
+ $this->autoRender = false;
+ $this->a... | Added flash method back to the controller for now
Will work on moving this out again at a later time
git-svn-id: <URL> | cakephp_cakephp | train | php |
ce8c0df6b98aae3545a6cb567059e17c9b625bb6 | diff --git a/test/functional.js b/test/functional.js
index <HASH>..<HASH> 100644
--- a/test/functional.js
+++ b/test/functional.js
@@ -652,6 +652,19 @@ describe('Functional tests using webpack', function() {
);
webpackAssert.assertOutputFileDoesNotContain('entrypoints.json', sharedEntr... | Verify that the runtime files are included in entrypoints.json | symfony_webpack-encore | train | js |
3229cc75a938a81709a743ebcca417db8be4e4a3 | diff --git a/registration/runtests.py b/registration/runtests.py
index <HASH>..<HASH> 100644
--- a/registration/runtests.py
+++ b/registration/runtests.py
@@ -82,5 +82,5 @@ def run_tests():
sys.exit(bool(failures))
-if __name__ == '__main__': # pragma: no cover
- run_tests() # pragma: no cover
... | Don't need those coverage comments anymore. | ubernostrum_django-registration | train | py |
618896bb8d879a8365dc359a8949c9d2cad5bec7 | diff --git a/lib/Doctrine/ODM/MongoDB/Persisters/BasicDocumentPersister.php b/lib/Doctrine/ODM/MongoDB/Persisters/BasicDocumentPersister.php
index <HASH>..<HASH> 100755
--- a/lib/Doctrine/ODM/MongoDB/Persisters/BasicDocumentPersister.php
+++ b/lib/Doctrine/ODM/MongoDB/Persisters/BasicDocumentPersister.php
@@ -607,7 +60... | [MODM-<I>] Fixing issue with custom discriminator field on embedded documents | doctrine_mongodb-odm | train | php |
3d8a365631eb15ba4efa8263e38d923d7c1f84de | diff --git a/src/ConvergeApi.php b/src/ConvergeApi.php
index <HASH>..<HASH> 100644
--- a/src/ConvergeApi.php
+++ b/src/ConvergeApi.php
@@ -83,9 +83,9 @@ class ConvergeApi
// Set request
if ($this->live) {
- $request_url = 'https://www.myvirtualmerchant.com/VirtualMerchant/process.do';
+ ... | update converge api urls
updated urls as reported in <URL> | markroland_converge-api-php | train | php |
c75df3a120806af0b86b089a6f410a15368ec314 | diff --git a/modules/backend/behaviors/RelationController.php b/modules/backend/behaviors/RelationController.php
index <HASH>..<HASH> 100644
--- a/modules/backend/behaviors/RelationController.php
+++ b/modules/backend/behaviors/RelationController.php
@@ -414,7 +414,7 @@ class RelationController extends ControllerBehavi... | when building belongsToMany relationships in controllers, the lack of a table name
alias causes an sql ambigious Id error | octobercms_october | train | php |
309fd56d18de6d69cea8bfa132c6eba024a60390 | diff --git a/js/js_test.go b/js/js_test.go
index <HASH>..<HASH> 100644
--- a/js/js_test.go
+++ b/js/js_test.go
@@ -221,6 +221,15 @@ func TestThis(t *testing.T) {
dummys.Call("testThis")
}
+func TestArguments(t *testing.T) {
+ dummys.Set("testArguments", func() {
+ if js.Arguments.Length() != 3 || js.Arguments.Ind... | added test for js.Arguments | gopherjs_gopherjs | train | go |
bf564ade2287ccc906818da2149929b37508b408 | diff --git a/src/mca.py b/src/mca.py
index <HASH>..<HASH> 100644
--- a/src/mca.py
+++ b/src/mca.py
@@ -59,8 +59,8 @@ class MCA(object):
self.P, self.s, self.Q = np.linalg.svd(_mul(self.D_r, Z_c, self.D_c))
if benzecri:
- self.E = np.array([(K/(K-1)*(_ - 1/K))**2
- i... | Restore lost commit by jakub | esafak_mca | train | py |
4c941c7231c88ff04ee620f43495edf5719ab760 | diff --git a/src/Protocol/Fetch.php b/src/Protocol/Fetch.php
index <HASH>..<HASH> 100644
--- a/src/Protocol/Fetch.php
+++ b/src/Protocol/Fetch.php
@@ -157,7 +157,7 @@ class Fetch extends Protocol
$offset += 4;
$ret = $this->decodeMessage(substr($data, $offset), $messageSize);
- if... | Fix message decoding verification
We forgot to change the verification while adding type declarations,
therefore things were not working properly. | weiboad_kafka-php | train | php |
92580992c96604dcd90e929c1b35299f007d6c94 | diff --git a/ImapClient/IncomingMessageAttachment.php b/ImapClient/IncomingMessageAttachment.php
index <HASH>..<HASH> 100644
--- a/ImapClient/IncomingMessageAttachment.php
+++ b/ImapClient/IncomingMessageAttachment.php
@@ -63,14 +63,14 @@ class IncomingMessageAttachment
// Check for different types of inline a... | Fix uncaught typo
strlower needs to be called on a string, then compared. | SSilence_php-imap-client | train | php |
aae994402b1b16a2bca4a486dad4bb452770eb26 | diff --git a/tests/pipeline/test_provider_healthcheck.py b/tests/pipeline/test_provider_healthcheck.py
index <HASH>..<HASH> 100644
--- a/tests/pipeline/test_provider_healthcheck.py
+++ b/tests/pipeline/test_provider_healthcheck.py
@@ -6,6 +6,6 @@ TEST_SETTINGS = {'app': {'eureka_enabled': False}, 'asg': {'provider_heal... | test: Update Provider Health Check sanity
See also: PSOBAT-<I> | foremast_foremast | train | py |
b8caf9368839f97bf44465e00435366f33d69b9c | diff --git a/json2html/jsonconv.py b/json2html/jsonconv.py
index <HASH>..<HASH> 100644
--- a/json2html/jsonconv.py
+++ b/json2html/jsonconv.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
'''
JSON 2 HTML convertor
=====================
@@ -12,7 +14,6 @@ Michel Müller 2015-1-31: Added bootstrap option, converting tabl... | moved the coding hashbang to the top | softvar_json2html | train | py |
55ec9113d63a99dab245c04dab6f657c83e1acae | diff --git a/app/lib/Repository.php b/app/lib/Repository.php
index <HASH>..<HASH> 100755
--- a/app/lib/Repository.php
+++ b/app/lib/Repository.php
@@ -38,7 +38,6 @@ class Repository extends EntityRepository
public function one(array $criteria = array(), $sort = null, $offset = null)
{
return $this->query($crite... | Remove single result condition on repo->one() | jacksleight_chalk | train | php |
53715917558c99a258437cdadd7f1a9f7949c91d | diff --git a/packages/neos-ui/src/manifest.js b/packages/neos-ui/src/manifest.js
index <HASH>..<HASH> 100644
--- a/packages/neos-ui/src/manifest.js
+++ b/packages/neos-ui/src/manifest.js
@@ -297,6 +297,20 @@ manifest('main', {}, globalRegistry => {
store.dispatch(actions.UI.ContentCanvas.setSrc($get(['cr',... | BUGFIX: Remove old instance in dom when moving visible nodes | neos_neos-ui | train | js |
c6468c2a6e7a627a9f95b9bb1684e35d71cff9b9 | diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/localsearch/decider/acceptor/simulatedannealing/SimulatedAnnealingAcceptor.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/localsearch/decider/acceptor/simulatedannealing/SimulatedAnnealingAcceptor.java
index <HASH>..<HASH> 100644
---... | stepStarted should not call stepEnded (thanks Boris & Lukas) | kiegroup_optaplanner | train | java |
cfef62e87cb10e793af165090f12e536b188e297 | diff --git a/src/Rebing/GraphQL/GraphQL.php b/src/Rebing/GraphQL/GraphQL.php
index <HASH>..<HASH> 100644
--- a/src/Rebing/GraphQL/GraphQL.php
+++ b/src/Rebing/GraphQL/GraphQL.php
@@ -402,7 +402,7 @@ class GraphQL
}
/**
- * @param array|string $schema
+ * @param array|string|null $schema
* ... | Correct declaration of GraphQL::getSchemaConfiguration
Reported by phpstan:
Parameter #1 $schema of method Rebing\GraphQL\GraphQL::getSchemaConfiguration() expects array|string, array|string|null given | rebing_graphql-laravel | train | php |
29eff62147a20d7ed736ad3a4a6512b00a468f7b | diff --git a/porespy/filters/__funcs__.py b/porespy/filters/__funcs__.py
index <HASH>..<HASH> 100644
--- a/porespy/filters/__funcs__.py
+++ b/porespy/filters/__funcs__.py
@@ -70,9 +70,9 @@ def trim_small_clusters(im, size=1):
``size`` removed.
"""
- if im.dims == 2:
+ if im.ndim == 2:
str... | Removed dims and ndims, typos | PMEAL_porespy | train | py |
3d7766b66e431dc5f810189e10cad26fe6d8daad | diff --git a/lib/ronin/code/symbol_table.rb b/lib/ronin/code/symbol_table.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/code/symbol_table.rb
+++ b/lib/ronin/code/symbol_table.rb
@@ -53,6 +53,19 @@ module Ronin
end
#
+ # Returns a Hash of the symbol names and their values.
+ #
+ def symbo... | Added SymbolTable#symbols method. | ronin-ruby_ronin | train | rb,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.