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 |
|---|---|---|---|---|---|
7b053cbd3538495b7fdae1a7e015ccfcf8340150 | diff --git a/test/http_verbs_feature_test.rb b/test/http_verbs_feature_test.rb
index <HASH>..<HASH> 100644
--- a/test/http_verbs_feature_test.rb
+++ b/test/http_verbs_feature_test.rb
@@ -44,6 +44,7 @@ class HttpVerbsTest < MiniTest::Spec
end
# FIXME: move to faraday test.
+ require 'roar/represente... | require the transport/faraday feature in the test. | trailblazer_roar | train | rb |
076d79a11ff67f999ad673bb0e574e036c52fd7a | diff --git a/TYPO3.Neos/Scripts/Gruntfile.js b/TYPO3.Neos/Scripts/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/TYPO3.Neos/Scripts/Gruntfile.js
+++ b/TYPO3.Neos/Scripts/Gruntfile.js
@@ -172,6 +172,7 @@ module.exports = function (grunt) {
src = src.replace('data-toggle', 'data-neos-toggle');
// Tooltip
... | BUGFIX: Avoid stuck tooltip in node tree
This switches (bootstrap) tooltips from being triggered on hover
and focus to just hover. This avoids the tooltip being activated e.g.
by expand a subtree.
Should fix #<I> | neos_neos-development-collection | train | js |
0b56e908ff3ee9a1ac371e64051dee0212659b48 | diff --git a/lib/grn2drn/groonga-command-converter.rb b/lib/grn2drn/groonga-command-converter.rb
index <HASH>..<HASH> 100644
--- a/lib/grn2drn/groonga-command-converter.rb
+++ b/lib/grn2drn/groonga-command-converter.rb
@@ -15,10 +15,11 @@
# License along with this library; if not, write to the Free Software
# Foundat... | Put the standard library requires at the top | droonga_grn2drn | train | rb |
3b049b76268e85dc510e289e1f68df60daebe6c2 | diff --git a/question/engine/datalib.php b/question/engine/datalib.php
index <HASH>..<HASH> 100644
--- a/question/engine/datalib.php
+++ b/question/engine/datalib.php
@@ -688,7 +688,7 @@ ORDER BY
$this->delete_response_files($context->id, "IN (
SELECT id
- FROM question_attemp... | MDL-<I> question engine stupid typo in DB query broke regrading. #<I> | moodle_moodle | train | php |
f29667f638c1245b5ae6abc0e278dd222dbf9908 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -1400,7 +1400,7 @@ function print_user($user, $course) {
$timemidnight = usergetmidnight(time());
echo "<a href=\"$CFG->wwwroot/course/user.php?id=$course->id&user=$user->id\">$string-... | Hide "Unenrol" when we're not in a course | moodle_moodle | train | php |
14008ce175814714f3fea4ab6153f88b93e2ff08 | diff --git a/api/transactions.js b/api/transactions.js
index <HASH>..<HASH> 100644
--- a/api/transactions.js
+++ b/api/transactions.js
@@ -288,7 +288,7 @@ function getTransaction(account, identifier, callback) {
// Request transaction based on either the hash supplied in the request
// or the hash found... | [TASK] Fix ripple-lib deprecation warnings
From `Remote` in ripple-lib:
`DEPRECATED: First argument to request constructor should be an object
containing request properties` | ripple_ripple-rest | train | js |
067fa8fd525b44efb9d68f484339bdddbe04e980 | diff --git a/spec/cb/utils/validator_spec.rb b/spec/cb/utils/validator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cb/utils/validator_spec.rb
+++ b/spec/cb/utils/validator_spec.rb
@@ -48,9 +48,16 @@ module Cb
expect(validation.empty?).to be_truthy
end
- it 'should raise a ServiceUnavailableError whe... | specs for auth outage simulation flag | careerbuilder_ruby-cb-api | train | rb |
b61be95144553cb106330fab278b9778bc03c467 | diff --git a/lib/ruby_odata/service.rb b/lib/ruby_odata/service.rb
index <HASH>..<HASH> 100644
--- a/lib/ruby_odata/service.rb
+++ b/lib/ruby_odata/service.rb
@@ -96,6 +96,7 @@ class Service
# Performs query operations (Read) against the server.
# Typically this returns an array of record instances, except in t... | Added documentation to the execute method, noting that it will raise a ServiceError if there is a problem with the service. | visoft_ruby_odata | train | rb |
c9b87002ae38317a8f4979c21cd819baf95cf996 | diff --git a/client/signup/jetpack-connect/controller.js b/client/signup/jetpack-connect/controller.js
index <HASH>..<HASH> 100644
--- a/client/signup/jetpack-connect/controller.js
+++ b/client/signup/jetpack-connect/controller.js
@@ -26,7 +26,8 @@ import analytics from 'lib/analytics';
import config from 'config';
i... | Jetpack Connect: Avoid fetching a full site object in plans controller | Automattic_wp-calypso | train | js |
a8c185f56ce68446a314b16fbd148f8e34100be6 | diff --git a/cmd/shadowsocks-local/local.go b/cmd/shadowsocks-local/local.go
index <HASH>..<HASH> 100644
--- a/cmd/shadowsocks-local/local.go
+++ b/cmd/shadowsocks-local/local.go
@@ -224,11 +224,12 @@ func main() {
flag.Parse()
exists, err := isFileExists(configFile)
- // if no config file in current directory, s... | Do not try another config file if dir of args[0] is current dir. | shadowsocks_shadowsocks-go | train | go |
42478f0358f0fbae6a58407afc729e86737003f8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ packages = [
requires = [
'skosprovider>=0.5.0',
- 'requests>=2.3.0',
+ 'requests',
'rdflib'
] | Remove requirement on requests version. Refs #<I>. | OnroerendErfgoed_skosprovider_getty | train | py |
8445b710bdd34e0847f9f2bfd062b26606703e03 | diff --git a/src/browsing.js b/src/browsing.js
index <HASH>..<HASH> 100644
--- a/src/browsing.js
+++ b/src/browsing.js
@@ -53,17 +53,33 @@ function lines(text) {
return text.split(/\r\n|\n\r|\r|\n/);
}
+function inheritedMeta(m, name) {
+ if (m[name]) {
+ return m[name];
+ } else {
+ var parent = m.belong... | feat: Allows inheritance of some properties from container objects. | robotlolita_metamagical | train | js |
35215a060da28afe4677a729e43d2897d0c29bc0 | diff --git a/lib/csvlint.rb b/lib/csvlint.rb
index <HASH>..<HASH> 100644
--- a/lib/csvlint.rb
+++ b/lib/csvlint.rb
@@ -91,9 +91,9 @@ module Csvlint
def check_format(row, line)
f = {}
- row.each do |col, i|
f[i] = "numeric" if col =~ /[0-9]+/
+ row.each_with_index do |col, ... | each_with_index you fool! | theodi_csvlint.rb | train | rb |
e98f798eb39787d6033dff23a39f15286e9e5558 | diff --git a/cme/protocols/smb.py b/cme/protocols/smb.py
index <HASH>..<HASH> 100755
--- a/cme/protocols/smb.py
+++ b/cme/protocols/smb.py
@@ -5,6 +5,7 @@ import os
import ntpath
from StringIO import StringIO
from impacket.smbconnection import SMBConnection, SessionError
+from impacket.smb import SMB_DIALECT
from i... | Forcing the SMB dialect to SMBv1 since it gives us prettier OS banners | byt3bl33d3r_CrackMapExec | train | py |
b43d621dfc3766e8361f3aaa27e13add1dc8a9c6 | diff --git a/system/src/Grav/Common/GPM/GPM.php b/system/src/Grav/Common/GPM/GPM.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/GPM/GPM.php
+++ b/system/src/Grav/Common/GPM/GPM.php
@@ -519,6 +519,20 @@ class GPM extends Iterator
}
/**
+ * Check the passed packages list can be updated
+ ... | Added GPM:: checkPackagesCanBeInstalled(), checks the passed packages list can be installed/updated | getgrav_grav | train | php |
b4efa920265b42cad60b655f2bce33820ee8e71d | diff --git a/core/AssetManager.php b/core/AssetManager.php
index <HASH>..<HASH> 100644
--- a/core/AssetManager.php
+++ b/core/AssetManager.php
@@ -91,6 +91,8 @@ class Piwik_AssetManager
}
$rootDirectoryLen = strlen($rootDirectory);
+ $less = new lessc;
+
// Loop through each css file... | Handle @import rule in less files | matomo-org_matomo | train | php |
eab5fa3ed4122f9773c124d0329ea0f194ad0ad7 | diff --git a/lib/discovery_home_helper_patch.rb b/lib/discovery_home_helper_patch.rb
index <HASH>..<HASH> 100644
--- a/lib/discovery_home_helper_patch.rb
+++ b/lib/discovery_home_helper_patch.rb
@@ -3,16 +3,16 @@ module DiscoveryHomeHelperPatch
base.send(:include, InstanceMethods)
base.class_eval do
- ... | fixes #<I> error in discovery plugin menu and user without provisioning permissions | theforeman_foreman_discovery | train | rb |
c6435c4afb070bebcc0b140d8e44d833a930b136 | diff --git a/influxdb/client.py b/influxdb/client.py
index <HASH>..<HASH> 100644
--- a/influxdb/client.py
+++ b/influxdb/client.py
@@ -157,12 +157,8 @@ class InfluxDBClient(object):
else:
chunked_param = 'false'
- url = "{0}/db/{1}/series"
-
- url.format(
- self._baseurl... | Broken query() was not building a valid url | influxdata_influxdb-python | train | py |
6d893ad9c2e721c326baf078116dd5823c6ba632 | diff --git a/lib/SourceMapDevToolPlugin.js b/lib/SourceMapDevToolPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/SourceMapDevToolPlugin.js
+++ b/lib/SourceMapDevToolPlugin.js
@@ -103,7 +103,10 @@ class SourceMapDevToolPlugin {
reportProgress(0.0);
const tasks = [];
- files.forEach(({ file, chunk }, idx) ... | Feature: SourceMapDevToolPlugin progress: make the linter happy again | webpack_webpack | train | js |
4920b74e0ba6d82285092ef2826bb830c7a209b6 | diff --git a/pyvim/commands/commands.py b/pyvim/commands/commands.py
index <HASH>..<HASH> 100644
--- a/pyvim/commands/commands.py
+++ b/pyvim/commands/commands.py
@@ -241,6 +241,7 @@ def _buffer(editor, variables, force=False):
@cmd('bw')
+@cmd('bd')
def _(editor):
"""
Wipe buffer.
@@ -253,6 +254,7 @@ d... | Added :bd as keybinding to buffer close | prompt-toolkit_pyvim | train | py |
4c9adcf00eb72b787b48d709a3d2942980ac0b1a | diff --git a/oct2py/tests/test_misc.py b/oct2py/tests/test_misc.py
index <HASH>..<HASH> 100644
--- a/oct2py/tests/test_misc.py
+++ b/oct2py/tests/test_misc.py
@@ -236,3 +236,20 @@ class MiscTests(test.TestCase):
def test_clear(self):
"""Make sure clearing variables does not mess anything up."""
... | Add test for multiline output with two ans statements. | blink1073_oct2py | train | py |
d5b761e2c6d4d4f594734e656ae517eb93d3a5a0 | diff --git a/soco/core.py b/soco/core.py
index <HASH>..<HASH> 100755
--- a/soco/core.py
+++ b/soco/core.py
@@ -722,7 +722,7 @@ class SoCo(_SocoSingletonBase):
coordinator_uid = group_element.attrib['Coordinator']
group_uid = group_element.attrib['ID']
members = set()
- ... | Missed a change needed for Python <I> in <I> | amelchio_pysonos | train | py |
bb45e66edd41ab0b9c3a087f880cf0e5ea65787a | diff --git a/lib/archivist/vaults/mysql/index.js b/lib/archivist/vaults/mysql/index.js
index <HASH>..<HASH> 100644
--- a/lib/archivist/vaults/mysql/index.js
+++ b/lib/archivist/vaults/mysql/index.js
@@ -80,15 +80,18 @@ MysqlVault.prototype.setup = function (cfg, cb) {
this.config = cfg.options;
}
+ this.pool = t... | Fix mysql vault setup
Mysql pool was created in MysqlVault.open but it should be created in MysqlVault.setup as it's not doing any connection. Also, MysqlVault.createDatabase and MysqlVault.dropDatabase need the pool when MysqlVault.open is not called. | mage_mage | train | js |
b26333eaf70c196e24327abc62b44ce16c549368 | diff --git a/udata/__init__.py b/udata/__init__.py
index <HASH>..<HASH> 100644
--- a/udata/__init__.py
+++ b/udata/__init__.py
@@ -5,5 +5,5 @@ uData
'''
from __future__ import unicode_literals
-__version__ = '1.0.0.dev'
+__version__ = '1.1.0.dev'
__description__ = 'Open data portal' | Set base version to <I> (#<I>) | opendatateam_udata | train | py |
71aec7e3ffe167a509e270f195f0fc050fab15b8 | diff --git a/osgi/src/main/java/org/jbundle/util/webapp/osgi/OSGiFileServlet.java b/osgi/src/main/java/org/jbundle/util/webapp/osgi/OSGiFileServlet.java
index <HASH>..<HASH> 100644
--- a/osgi/src/main/java/org/jbundle/util/webapp/osgi/OSGiFileServlet.java
+++ b/osgi/src/main/java/org/jbundle/util/webapp/osgi/OSGiFileSe... | Add version to OSGi lookup | jbundle_webapp | train | java |
e35b9773350c7d80f08e5bc095ee7bac9f8c80b2 | diff --git a/oct2py/core.py b/oct2py/core.py
index <HASH>..<HASH> 100644
--- a/oct2py/core.py
+++ b/oct2py/core.py
@@ -404,8 +404,6 @@ class Oct2Py(object):
""" Octave command """
kwargs['nout'] = kwargs.get('nout', get_nout())
kwargs['verbose'] = kwargs.get('verbose', False)
-... | Use rehash to keep paths up to date | blink1073_oct2py | train | py |
4aa6cd2575407aae357b8505b3f3cefb4fb2e0a6 | diff --git a/tests/test_sources.py b/tests/test_sources.py
index <HASH>..<HASH> 100644
--- a/tests/test_sources.py
+++ b/tests/test_sources.py
@@ -77,7 +77,7 @@ def test_Sources_roundtrip_latex(tmpdir, bibtex, expected):
src = Sources()
src.add(bibtex)
bib = tmpdir / 'test.bib'
- src.write(bib)
+ s... | fix failing tests on py<I> | cldf_pycldf | train | py |
e6549e13f964a2c032a7158ca59d7da7f60407c3 | diff --git a/Swat/SwatCalendar.php b/Swat/SwatCalendar.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatCalendar.php
+++ b/Swat/SwatCalendar.php
@@ -64,10 +64,12 @@ class SwatCalendar extends SwatControl
$anchor_tag = new SwatHtmlTag('a');
$anchor_tag->href = "javascript:{$this->id}_obj.toggle();";
+ $anchor_tag... | - Added alt text to toggle image (validates XHTML).
- Added title to toggle link.
svn commit r<I> | silverorange_swat | train | php |
dc8460c2417d8d87e4e9505b2a09e9a00a930a2a | diff --git a/colorama/tests/ansitowin32_test.py b/colorama/tests/ansitowin32_test.py
index <HASH>..<HASH> 100644
--- a/colorama/tests/ansitowin32_test.py
+++ b/colorama/tests/ansitowin32_test.py
@@ -170,13 +170,19 @@ class AnsiToWin32Test(TestCase):
def test_wrap_shouldnt_raise_on_closed_orig_stdout(self):
... | Make tests pass on all OS.
These were failing for me when run on Windows.
But passed on Linux.
Now they pass everywhere. | tartley_colorama | train | py |
c256de1fa0252c75806ea38048d325410cf453b4 | diff --git a/www/javascript/swat-color-entry.js b/www/javascript/swat-color-entry.js
index <HASH>..<HASH> 100644
--- a/www/javascript/swat-color-entry.js
+++ b/www/javascript/swat-color-entry.js
@@ -6,7 +6,7 @@ function SwatColorEntry(id)
this.hex = Array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F... | Respect Swat changes to ColorEntry in JavaScript.
svn commit r<I> | silverorange_swat | train | js |
cb3a38d5c039484ba231461c6f599593af59b94b | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -1370,6 +1370,15 @@ module Discordrb
def send_heartbeat(sequence = nil)
sequence ||= @sequence
+
+ if @awaiting_ack
+ # There has been no HEARTBEAT_ACK ... | Reconnect if there has been too much time between the last heartbeat and the current one | meew0_discordrb | train | rb |
4199c35e1c3b10b4ac32a51403db33909e7c59b2 | diff --git a/lib/util/data-server.js b/lib/util/data-server.js
index <HASH>..<HASH> 100644
--- a/lib/util/data-server.js
+++ b/lib/util/data-server.js
@@ -197,6 +197,9 @@ module.exports = function init(_proxy) {
var result;
if (ip === 'self') {
ip = clientIp;
+ cid = clientId;
+ } else if (ip =... | feat: self <=> clientIp + clientId | avwo_whistle | train | js |
7bcee6f8612967153126f7dc7ac8841578154d5b | diff --git a/livetests.py b/livetests.py
index <HASH>..<HASH> 100755
--- a/livetests.py
+++ b/livetests.py
@@ -131,6 +131,11 @@ class TestGerritAgainstLiveServer(object):
# Will raise binascii.Error if content is not properly encoded
base64.b64decode(response)
+ def test_get_patch_zip(self, gerri... | Add a test to confirm that GET works with patch zip file
Closes #<I>
Change-Id: Ide4fd5c2bd3cbe<I>d<I>e<I>b<I>d1b2c7 | dpursehouse_pygerrit2 | train | py |
abd9159fab2fd67a26ed6dbc6c35eef4facc6435 | diff --git a/src/utils/scrollTo.js b/src/utils/scrollTo.js
index <HASH>..<HASH> 100644
--- a/src/utils/scrollTo.js
+++ b/src/utils/scrollTo.js
@@ -1,5 +1,5 @@
export default function scrollTo(id) {
- const element = document.querySelector('html');
+ const element = document.scrollingElement || document.documentElement... | Fixes scrolling in Safari and a few other browsers | vue-styleguidist_vue-styleguidist | train | js |
70434a35cbd5dfe596cb6dcd7479a25a6227b71a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,6 @@ setup(
extras_require={
'tests': [
'pytest>3.6.4',
- 'pytest-requests',
'pytest-cov<2.6',
'coveralls',
'py... | pytest-requests is not used | danielperna84_ha-philipsjs | train | py |
33edafe70064a690949c505f7312e9eaa18e3761 | diff --git a/src/Silex/WebTestCase.php b/src/Silex/WebTestCase.php
index <HASH>..<HASH> 100644
--- a/src/Silex/WebTestCase.php
+++ b/src/Silex/WebTestCase.php
@@ -21,6 +21,11 @@ use Symfony\Component\HttpKernel\HttpKernel;
*/
abstract class WebTestCase extends \PHPUnit_Framework_TestCase
{
+ /**
+ * Applicat... | Add docblock for the $app field | silexphp_Silex | train | php |
75d3938a4842b2aa667dcd902e376a5a01a797e5 | diff --git a/commitizen/git.py b/commitizen/git.py
index <HASH>..<HASH> 100644
--- a/commitizen/git.py
+++ b/commitizen/git.py
@@ -21,7 +21,10 @@ class GitCommit(GitObject):
@property
def message(self):
- return f"{self.title}\n\n{self.body}"
+ message = self.title
+ if self.body:
+ ... | fix(git): fix returned value for GitCommit.message when body is empty
GitCommit.message should return only title without excess newlines if commit body is empty. | Woile_commitizen | train | py |
8f8ef52616f778e3a5e5bacb04bb0666674b0b8e | diff --git a/graylog2-server/src/main/java/org/graylog2/plugin/Message.java b/graylog2-server/src/main/java/org/graylog2/plugin/Message.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/plugin/Message.java
+++ b/graylog2-server/src/main/java/org/graylog2/plugin/Message.java
@@ -257,7 +25... | addField allows Date objects for timestamp fields
this leads to all kind of sadness later on: we really depend on timestamp being a DateTime instance
Enforce a DateTime in case it was a Date | Graylog2_graylog2-server | train | java |
00b42eb05f28610256e1362a3bb840ebb7ffd978 | diff --git a/nailgun/entities.py b/nailgun/entities.py
index <HASH>..<HASH> 100644
--- a/nailgun/entities.py
+++ b/nailgun/entities.py
@@ -6485,6 +6485,7 @@ class Subscription(
def __init__(self, server_config=None, **kwargs):
self._fields = {
'activation_key': entity_fields.OneToManyField(Ac... | Read Pool ID of Subscription (#<I>) | SatelliteQE_nailgun | train | py |
1ba10cab7be6389d65c208df7a5c52c0bebb4f51 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ except:
setup(
name = "netsnmpagent",
- version = "0.1.1",
+ version = "0.2",
description = "Facilitates writing Net-SNMP (AgentX) subagents in Python",
long_description = """
python-netsnmp... | Increase version number to <I> | pief_python-netsnmpagent | train | py |
3b3445fb7c5b4e652c272c539588c70bb4f47819 | diff --git a/bootstrap-rating.js b/bootstrap-rating.js
index <HASH>..<HASH> 100644
--- a/bootstrap-rating.js
+++ b/bootstrap-rating.js
@@ -6,6 +6,10 @@
$.fn.rating = function (options) {
return this.each(function () {
var $input = $(this);
+ // Prevent against multiple instantiations.
+ if ($in... | Prevent against multiple instantiations #9 | dreyescat_bootstrap-rating | train | js |
5c59ba037f87c4dbdb0be24c5f498df10140d638 | diff --git a/sos/report/plugins/ipmitool.py b/sos/report/plugins/ipmitool.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/ipmitool.py
+++ b/sos/report/plugins/ipmitool.py
@@ -26,12 +26,14 @@ class IpmiTool(Plugin, RedHatPlugin, DebianPlugin):
if result['status'] == 0:
cmd += " -I usb"
+ ... | [ipmitool] Collect data for IPMI channel number 1
Hardware vendors choose an IPMI channel number for BMC LAN.
The current IPMI plugin is collecting data for channel 3.
Dell is using channel number 3. The number is not reserved for
a specific hardware vendor. It can be used by others too. | sosreport_sos | train | py |
4bbce0243c0da8924fc3c94b44f6ba0ae31b956f | diff --git a/lib/deep_cover/node.rb b/lib/deep_cover/node.rb
index <HASH>..<HASH> 100644
--- a/lib/deep_cover/node.rb
+++ b/lib/deep_cover/node.rb
@@ -97,5 +97,11 @@ module DeepCover
children_nodes.each(&:line_cover)
end
+ def fancy_type
+ class_name = self.class.to_s.rpartition('::').last
+ ... | Output class when it doesn't match the type | deep-cover_deep-cover | train | rb |
1ed2c161c6c6aae2c51350fe27197df112500490 | diff --git a/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php b/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php
index <HASH>..<HASH> 100644
--- a/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php
+++ b/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php
@@ -50,23 +50,16 @@ class Normalizer
... | Make type normalization code easier to understand | phpro_soap-client | train | php |
4665cc8cd1036064e49a9932e33c20a72f2fd280 | diff --git a/lib/render.js b/lib/render.js
index <HASH>..<HASH> 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -8,6 +8,6 @@ hbs.registerHelper('is', function(variable,test,options) {
});
module.exports = function(template,data) {
- var render = hbs.compile(template);
+ var render = hbs.compile(template,{noEsca... | Added option to fix html template issues | Jam3_nyg | train | js |
783f1ad8d706d7b70a0e440e75933fb9b375934f | diff --git a/src/transaction_base.js b/src/transaction_base.js
index <HASH>..<HASH> 100644
--- a/src/transaction_base.js
+++ b/src/transaction_base.js
@@ -79,7 +79,7 @@ export class TransactionBase {
/**
* Signs a transaction with the given {@link Keypair}. Useful if someone sends
* you a transaction XDR for... | Fix relative URL. (#<I>)
The previous syntax was not valid, producing an invalid link. Also it
happened to break the developers portal build. | stellar_js-stellar-base | train | js |
39ca3044eaf1fbda41b3519118b93335c6c32ec4 | diff --git a/backup/util/plan/base_plan.class.php b/backup/util/plan/base_plan.class.php
index <HASH>..<HASH> 100644
--- a/backup/util/plan/base_plan.class.php
+++ b/backup/util/plan/base_plan.class.php
@@ -60,13 +60,17 @@ abstract class base_plan implements checksumable, executable {
$task->set_plan($this);
... | MDL-<I> Backup: Unnecessary use of in_array in base_plan
Remove unnecessary use of in_array which causes performance problems
when loading the plan for very large courses. | moodle_moodle | train | php |
41a3fdd1c3dedddf37ac4bc97551a00cb0aa0d25 | diff --git a/plex_metadata/guid.py b/plex_metadata/guid.py
index <HASH>..<HASH> 100644
--- a/plex_metadata/guid.py
+++ b/plex_metadata/guid.py
@@ -66,16 +66,10 @@ class Guid(object):
def __repr__(self):
parameters = [
- 'agent: %r' % self.agent,
- 'value: %r' % self.value
+ ... | Updated `Guid.__repr__()` | fuzeman_plex.metadata.py | train | py |
5c2bbef86612775eb376d2dd50d50242c87793ea | diff --git a/command/install_lib.py b/command/install_lib.py
index <HASH>..<HASH> 100644
--- a/command/install_lib.py
+++ b/command/install_lib.py
@@ -77,7 +77,8 @@ class install_lib(Command):
if not isinstance(self.optimize, int):
try:
self.optimize = int(self.optimize)
- ... | Merged revisions <I> via svnmerge from
svn+ssh://<EMAIL>/python/trunk
........
r<I> | tarek.ziade | <I>-<I>-<I> <I>:<I>:<I> <I> (Tue, <I> May <I>) | 1 line
removing the assert statement so the code works when Python is run with -O
........ | pypa_setuptools | train | py |
5ed8c6e7b2f1138ca60ce27906e6ac50195504f2 | diff --git a/pyemma/coordinates/transform/tica.py b/pyemma/coordinates/transform/tica.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/transform/tica.py
+++ b/pyemma/coordinates/transform/tica.py
@@ -344,9 +344,11 @@ class TICA(StreamingTransformer):
"""
X_meanfree = X - self.mean
Y = ... | Raise ValueError in `transform_array`
Previously, this was only checked in the constructor. This now catches
if the user has set the `kinetic_map` or `commute_map` attributes
incorrectly after construction. | markovmodel_PyEMMA | train | py |
aa36d2f39a0432738ae4c560c12867e1c18f3328 | diff --git a/gooey/gui/widgets/components.py b/gooey/gui/widgets/components.py
index <HASH>..<HASH> 100644
--- a/gooey/gui/widgets/components.py
+++ b/gooey/gui/widgets/components.py
@@ -182,7 +182,7 @@ class RadioGroup(object):
self.option_stings = [btn_data['commands'] for btn_data in self.data]
# box =... | Removed hard-coded title from StaticBox constructor | chriskiehl_Gooey | train | py |
1268537bcacb0fa9ba8e512414ca5b0c8988d815 | diff --git a/client/lib/wp/browser.js b/client/lib/wp/browser.js
index <HASH>..<HASH> 100644
--- a/client/lib/wp/browser.js
+++ b/client/lib/wp/browser.js
@@ -51,7 +51,7 @@ if ( config.isEnabled( 'support-user' ) ) {
// expose wpcom global var only in development
if ( 'development' === config( 'env' ) ) {
- let wpc... | wp: fix eslint warning. | Automattic_wp-calypso | train | js |
49865fced0e5ceaa90a48c26fe590be978ada0d4 | diff --git a/structurizr-core/src/com/structurizr/util/WorkspaceUtils.java b/structurizr-core/src/com/structurizr/util/WorkspaceUtils.java
index <HASH>..<HASH> 100644
--- a/structurizr-core/src/com/structurizr/util/WorkspaceUtils.java
+++ b/structurizr-core/src/com/structurizr/util/WorkspaceUtils.java
@@ -5,10 +5,8 @@ ... | Force UTF-8 file encoding. | structurizr_java | train | java |
4b4f4fdad637ba4e32d69456e455fef78e920025 | diff --git a/src/toil/test/cwl/cwlTest.py b/src/toil/test/cwl/cwlTest.py
index <HASH>..<HASH> 100644
--- a/src/toil/test/cwl/cwlTest.py
+++ b/src/toil/test/cwl/cwlTest.py
@@ -137,7 +137,7 @@ class CWLTest(ToilTest):
os.remove("spec.zip")
try:
cmd = ["bash", "run_test.sh", "RUNNER=toil... | speed up the CWL conformance testing | DataBiosphere_toil | train | py |
c5c12411b8c0b2039060dc88c29e943c8f8c06d6 | diff --git a/lib/completion.js b/lib/completion.js
index <HASH>..<HASH> 100644
--- a/lib/completion.js
+++ b/lib/completion.js
@@ -11,7 +11,7 @@ module.exports = function(name) {
console.log(fs.readFileSync(filepath, 'utf8'));
process.exit(0);
} catch (err) {
- console.log('echo "Specified... | Quick fix bug in autocompletion | ratson_gulp-v4 | train | js |
89aacb10ebbf66ebdb4adf54a0a5cf31d7f9d0a0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -200,7 +200,7 @@ Hyperdrive.prototype._fetchVersion = function (prev, cb) {
})
function ondata (data, next) {
- if (updated || error) return next(new Error('Out of date'))
+ if (updated || error) return callAndKi... | fix downloads getting stuck in edge case | mafintosh_hyperdrive | train | js |
07ea9ad4dc5aa5b28b40bea5b3517dbc092f2112 | diff --git a/shared/app.js b/shared/app.js
index <HASH>..<HASH> 100644
--- a/shared/app.js
+++ b/shared/app.js
@@ -6,7 +6,8 @@
var Backbone = require('backbone'),
Fetcher = require('./fetcher'),
ModelUtils = require('./modelUtils'),
- isServer = (typeof window === 'undefined');
+ isServer = (typeof win... | Pull router module name into variable so browserify doesn't follow it | rendrjs_rendr | train | js |
c28c2224c4e87afb08d441a0f769fa79b0931a34 | diff --git a/core/commands/root.go b/core/commands/root.go
index <HASH>..<HASH> 100644
--- a/core/commands/root.go
+++ b/core/commands/root.go
@@ -68,7 +68,7 @@ at ~/.ipfs. To change the repo location, set the $IPFS_PATH environment variable
EXIT STATUS
-The CLI will exits with one of the following values:
+The CL... | Fix typo
Brought up bt tmg on irc
License: MIT | ipfs_go-ipfs | train | go |
6714e7a124669a01eb33cb51f092dd7cb14ffe9d | diff --git a/allegedb/allegedb/tests/test_load.py b/allegedb/allegedb/tests/test_load.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/tests/test_load.py
+++ b/allegedb/allegedb/tests/test_load.py
@@ -34,7 +34,7 @@ def db():
nx.MultiGraph: orm.new_multigraph,
nx.MultiDiGraph: orm... | Fix another test that broke on networkx <I> | LogicalDash_LiSE | train | py |
ebb74b489a65b7991333e7b0a3494f4a91a64a11 | diff --git a/tools/static/hooks/hook-pycbc.py b/tools/static/hooks/hook-pycbc.py
index <HASH>..<HASH> 100644
--- a/tools/static/hooks/hook-pycbc.py
+++ b/tools/static/hooks/hook-pycbc.py
@@ -41,6 +41,7 @@ hiddenimports = ['pycbc.fft.fft_cpu',
'pycbc.waveform.spa_tmplt_cpu',
'pycbc.ty... | Add pycbc.fft.backend_mkl as hidden dependency for pyinstaller | gwastro_pycbc | train | py |
1d87dceded0469415b71ac30249159fc301a6486 | diff --git a/lib/gp-hmac.js b/lib/gp-hmac.js
index <HASH>..<HASH> 100644
--- a/lib/gp-hmac.js
+++ b/lib/gp-hmac.js
@@ -30,7 +30,7 @@ var GaasHmac = function GaasHmac(name, user, secret) {
if(!this.name || !this.user || !this.secret) {
throw new Error('GaasHmac: params need to be "name,user,secret"');
}
- th... | fix use of deprecated Buffer | IBM-Cloud_gp-js-client | train | js |
7f66de0f1ba71f560e93974022d7f90f41830459 | diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py
index <HASH>..<HASH> 100644
--- a/pylint/lint/pylinter.py
+++ b/pylint/lint/pylinter.py
@@ -894,8 +894,7 @@ class PyLinter(
# notify global begin
for checker in _checkers:
checker.open()
- if interfaces.implements(c... | No longer care about ``interfaces.IAstroidChecker`` | PyCQA_pylint | train | py |
6d9412672a28b1256d103c4fe654cde868513200 | diff --git a/src/Creiwork.php b/src/Creiwork.php
index <HASH>..<HASH> 100644
--- a/src/Creiwork.php
+++ b/src/Creiwork.php
@@ -210,20 +210,7 @@ class Creiwork
$routerunner->setPostProcessor($container->get(PostProcessor::class));
return $routerunner;
},
-
- \PDO... | removed duplicate DI definitions for PDO and Database | creios_creiwork-framework | train | php |
28380520fbfdaf3f7e5a8cc3b8788b48bf33d2cc | diff --git a/tests/test_serializer.py b/tests/test_serializer.py
index <HASH>..<HASH> 100644
--- a/tests/test_serializer.py
+++ b/tests/test_serializer.py
@@ -68,8 +68,8 @@ class TestCase(unittest.TestCase):
if result not in expected:
if options.get("omit_optional_tags", True):
op... | Instead of comparing the result against the previous result, compare it
against what is expected.
--HG--
extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I> | html5lib_html5lib-python | train | py |
4e5b696f04f19eb68a4f06bebf180ca4c4f6b1f2 | diff --git a/lib/tori/define.rb b/lib/tori/define.rb
index <HASH>..<HASH> 100644
--- a/lib/tori/define.rb
+++ b/lib/tori/define.rb
@@ -1,16 +1,16 @@
module Tori
module Define
def tori(name)
- name_file_ivar = "@#{name}_file".to_sym
+ name_ivar = "@#{name}".to_sym
define_method(name) do
- ... | Rename ivar to simple name. | ksss_tori | train | rb |
c77d86a68ac2a5a5104ec8f5b66633ce26307dda | diff --git a/src/main/java/strman/Strman.java b/src/main/java/strman/Strman.java
index <HASH>..<HASH> 100644
--- a/src/main/java/strman/Strman.java
+++ b/src/main/java/strman/Strman.java
@@ -490,7 +490,7 @@ public abstract class Strman {
if (index > value.length()) {
return value;
}
- ... | Fixed #7. Added support for `insert` function | shekhargulati_strman-java | train | java |
e7645da0c7ae4ffdd1b9760aaa5e20b01989d0c2 | diff --git a/Command/Validators.php b/Command/Validators.php
index <HASH>..<HASH> 100644
--- a/Command/Validators.php
+++ b/Command/Validators.php
@@ -61,7 +61,7 @@ class Validators
public static function validateBundleName($bundle)
{
if (!preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $b... | Improving error message on the validator - just a bit more helpful when I'm doing tests | sensiolabs_SensioGeneratorBundle | train | php |
83ef47c8d0d603ea1d7352c64d92674b568d2693 | diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
+++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
@@ -3200,10 +3200,6 @@ class ClassMetadataInfo implements ClassMetadata
... | This fixes ticket DDC-<I>
Enables columnPrefix to be "false" so no prefix is added.
Changed the structure a bit (to if/else) to be more readable with the additional condition. | doctrine_orm | train | php |
864ce5aa89a99b17051bb41ce243490b8be0d4a1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -5,28 +5,24 @@ var isVendorPrefixed = require('is-vendor-prefixed')
module.exports = postcss.plugin('postcss-remove-prefixes', function (options) {
if (!options) {
- options = {};
+ options = {
+ ignore: []
+ ... | Change code as per @johnotander's suggestion | johno_postcss-remove-prefixes | train | js |
ae4728c5d674a59870393e0611375c70ac5aa710 | diff --git a/shared/framework/lib/rhom/rhom_db_adapter.rb b/shared/framework/lib/rhom/rhom_db_adapter.rb
index <HASH>..<HASH> 100644
--- a/shared/framework/lib/rhom/rhom_db_adapter.rb
+++ b/shared/framework/lib/rhom/rhom_db_adapter.rb
@@ -71,7 +71,7 @@ module Rhom
SyncEngine::unlock_sync_mutex
e... | fixed bug where no records were returned if calling find with :all parameter | rhomobile_rhodes | train | rb,rb |
65cb9945d46c85e6f418d13e39716ee8669036f6 | diff --git a/kubespawner/traitlets.py b/kubespawner/traitlets.py
index <HASH>..<HASH> 100644
--- a/kubespawner/traitlets.py
+++ b/kubespawner/traitlets.py
@@ -34,11 +34,11 @@ class LabelSelector(Dict):
"""
if not isinstance(d, dict) or not d:
return level
- return max(Selector.dept... | Rename Selector to LabelSelector | jupyterhub_kubespawner | train | py |
b59ab6f24f26234caa9d8f84f0dc73a48ff99be5 | diff --git a/src/main/resources/META-INF/monkey_patches.rb b/src/main/resources/META-INF/monkey_patches.rb
index <HASH>..<HASH> 100644
--- a/src/main/resources/META-INF/monkey_patches.rb
+++ b/src/main/resources/META-INF/monkey_patches.rb
@@ -1,7 +1,7 @@
# if the GEM_PATH set to uri:classloader://WEB-INF/classes then
... | make monkey patches fail safe for older jrubies | jruby_jruby-mains | train | rb |
9fbd0ce208c0e593702611f34689a385b9052ded | diff --git a/library/src/main/java/com/mikepenz/materialdrawer/model/AbstractDrawerItem.java b/library/src/main/java/com/mikepenz/materialdrawer/model/AbstractDrawerItem.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/mikepenz/materialdrawer/model/AbstractDrawerItem.java
+++ b/library/src/main/java/com... | * ensure the parent is set to the sub items
* FIX #<I> **THANKS** @hamzabinamin for reporting | mikepenz_MaterialDrawer | train | java |
717efd097ddeee04fb911fd1a9798a2d129c2965 | diff --git a/internal/loop/run.go b/internal/loop/run.go
index <HASH>..<HASH> 100644
--- a/internal/loop/run.go
+++ b/internal/loop/run.go
@@ -143,7 +143,13 @@ func (c *runContext) updateCount(now int64) int {
}
c.lastClockFrame = f
} else {
- count = int(t * int64(clock.FPS) / int64(time.Second))
+ if t > 5*... | loop: Bug fix: the clock needs to be stopped when the window is unfocused | hajimehoshi_ebiten | train | go |
6b85255843a0297699a2159336e67b7bdcf40d8b | diff --git a/setup_utils.py b/setup_utils.py
index <HASH>..<HASH> 100755
--- a/setup_utils.py
+++ b/setup_utils.py
@@ -293,8 +293,8 @@ class port(Command):
log.info(' %s: %s' % (key, val))
# write finished portfile to file
with open(self.portfile, 'w') as fport:
- fport.writ... | setup_utils.py: use `print()` to write Portfile
includes trailing newline at end of file | gwpy_gwpy | train | py |
51c4b13911338acb4b5f89139f5bec4521288708 | diff --git a/lib/dynamic_library.js b/lib/dynamic_library.js
index <HASH>..<HASH> 100644
--- a/lib/dynamic_library.js
+++ b/lib/dynamic_library.js
@@ -112,12 +112,8 @@ DynamicLibrary.prototype.close = function () {
DynamicLibrary.prototype.get = function (symbol) {
debug('dlsym()', symbol)
+ assert.equal('string... | dynamic_library: set the "name" property of the returned Buffer when get() is called | node-ffi-napi_node-ffi-napi | train | js |
30be4a847fbe1b5219b5a77ddb73a6c0fffc5139 | diff --git a/tools/win/generate_breakpad_symbols.py b/tools/win/generate_breakpad_symbols.py
index <HASH>..<HASH> 100644
--- a/tools/win/generate_breakpad_symbols.py
+++ b/tools/win/generate_breakpad_symbols.py
@@ -79,7 +79,7 @@ def GenerateSymbols(options, binaries):
output_path = os.path.join(options.symbols_d... | win: Do not generate symbols for static libraries and strip .pdb in symbol name. | electron_electron | train | py |
ff639108a5b841aa192202bdeee56e2e1e7185fb | diff --git a/lib/RestClient.js b/lib/RestClient.js
index <HASH>..<HASH> 100644
--- a/lib/RestClient.js
+++ b/lib/RestClient.js
@@ -88,7 +88,7 @@ function processKeys(source) {
});
//Look for and convert date strings for specific keys
- ['startDate', 'endDate', 'dateCreated', 'dateUpdated', 's... | add dateSent to list of date converted strings
Right now the 'dateSent' property isn't getting automatically formatted as a date. This field is returned in the `getSms` response callback.
I'd like to add that this method of converting dates should be reconsidered for something more flexible. I'd propose searching *... | twilio_twilio-node | train | js |
a35552cfcf772d55fabb9b70395e409633b7f83e | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -379,7 +379,7 @@ def build_hcurves_and_stats(pgetter, hstats, monitor):
The "kind" is a string of the form 'rlz-XXX' ... | Opened/closed dstore
Former-commit-id: fbcbaff<I>b6cbeca<I>f<I>df<I>f<I>a3be | gem_oq-engine | train | py |
9d940353c1cd2b8abda0da31dba73dc14ea9c589 | diff --git a/context/sync.go b/context/sync.go
index <HASH>..<HASH> 100644
--- a/context/sync.go
+++ b/context/sync.go
@@ -350,8 +350,11 @@ func (ctx *Context) Sync() (err error) {
rem = append(rem, remoteFailure{Msg: "failed to get ignore files", Path: vp.Path, Err: err})
continue
}
+
+ root, _ := pathos.T... | context: fix sync license copy. | kardianos_govendor | train | go |
60aa163a00063c27346024c3c2d5443009c9b449 | diff --git a/php/utils.php b/php/utils.php
index <HASH>..<HASH> 100644
--- a/php/utils.php
+++ b/php/utils.php
@@ -1100,7 +1100,9 @@ function glob_brace( $pattern, $dummy_flags = null ) {
function get_suggestion( $target, array $options, $threshold = 2 ) {
$suggestion_map = array(
+ 'add' => 'create',
'check' ... | Add some more suggestions for mis-typed arguments. | wp-cli_wp-cli | train | php |
31fe4def3a93dd826cc2b5df86ce33ab9e70f349 | diff --git a/migrations/0-to-1.php b/migrations/0-to-1.php
index <HASH>..<HASH> 100644
--- a/migrations/0-to-1.php
+++ b/migrations/0-to-1.php
@@ -7,10 +7,10 @@ use Wedeto\DB\Schema\Index;
$table = new Table(
"db_version",
- new Column\TSerial('id'),
- new Column\TVarchar('module', 128),
- new Column\T... | Rename sql directory to migrations | Wedeto_DB | train | php |
91399aff0d54879ee026ef2bc17f970b3ad3938a | diff --git a/server/src/main/java/org/jboss/as/server/deployment/Phase.java b/server/src/main/java/org/jboss/as/server/deployment/Phase.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/org/jboss/as/server/deployment/Phase.java
+++ b/server/src/main/java/org/jboss/as/server/deployment/Phase.java
@@ -284,6 +28... | Add a global modules facility to specify modules that should be added to all deployments
was: 0f8b<I>dec1ab<I>a<I>a<I>f<I>a4 | wildfly_wildfly-core | train | java |
b6c42d01b71d7f620930180b5800077388d7fb50 | diff --git a/src/rammbock/Rammbock.py b/src/rammbock/Rammbock.py
index <HASH>..<HASH> 100755
--- a/src/rammbock/Rammbock.py
+++ b/src/rammbock/Rammbock.py
@@ -114,8 +114,16 @@ class Rammbock(object):
return self._data
def read_from_data(self, length):
+ length = int(length)
message = ""
... | yet another refactoring to read_from_data | robotframework_Rammbock | train | py |
44031b7e829b4fe16d6224513b8b8e222c12487b | diff --git a/src/main/java/water/Job.java b/src/main/java/water/Job.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/Job.java
+++ b/src/main/java/water/Job.java
@@ -334,7 +334,7 @@ public class Job extends Request2 {
public Job start(final H2OCountedCompleter fjtask) {
_fjtask = fjtask;
Futures f... | Get a rid of instantiation error.
Job#all() expects that DKV contains a job stored
under a given key but we stored Value(job_key, new byte[0]).
However, this is only WIP patch since we lost track of jobs. | h2oai_h2o-2 | train | java |
a60c5ea1e050d8a77653da6d468dbde45e9fc668 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -91,7 +91,7 @@ setup(
setup_requires=['numpy>=1.14.3', 'setuptools>=18.0'],
python_requires='>=3.6',
install_requires=["numpy>=1.14.3", "requests", "ruamel.yaml>=0.15.6",
- "monty>=1.0.6", "... | Upgade monty version in setup.py | materialsproject_pymatgen | train | py |
cde4e1bb300d838982aeaa148306933fcde415d7 | diff --git a/core/modules/requestsMonitor/requestsMonitor.js b/core/modules/requestsMonitor/requestsMonitor.js
index <HASH>..<HASH> 100644
--- a/core/modules/requestsMonitor/requestsMonitor.js
+++ b/core/modules/requestsMonitor/requestsMonitor.js
@@ -237,11 +237,15 @@ exports.module = function(phantomas) {
});
//... | Fix TimeToFirstByte with redirects
Record time to first byte for the first response which is not a redirect | macbre_phantomas | train | js |
065be937f27c25bc7d23e0dd35ad4aa84818b167 | diff --git a/activesupport/lib/active_support/core_ext/string/output_safety.rb b/activesupport/lib/active_support/core_ext/string/output_safety.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/core_ext/string/output_safety.rb
+++ b/activesupport/lib/active_support/core_ext/string/output_safety.rb
@... | Remove obsolete documentation [ci skip]
Instructions to use `h` or `html_escape` in ERB templates were added to
`actionpack/lib/action_view/template_handlers/erb.rb` in a1b<I> (Rails
<I>), but ERB has automatically escaped values since Rails 3. | rails_rails | train | rb |
7989a080afa7d14c32f27fc087f0a65a7d620db2 | diff --git a/codec.go b/codec.go
index <HASH>..<HASH> 100644
--- a/codec.go
+++ b/codec.go
@@ -11,7 +11,7 @@ func stringToBytes(s string) ([]byte, error) {
// consume trailing slashes
s = strings.TrimRight(s, "/")
- b := new(bytes.Buffer)
+ var b bytes.Buffer
sp := strings.Split(s, "/")
if sp[0] != "" { | don't put the buffer struct on the heap
This showed up when profile go-ipfs. | multiformats_go-multiaddr | train | go |
0eee4fb1e802f914faa74e51e31dfcd54ab1be18 | diff --git a/spec/ospec/runner.rb b/spec/ospec/runner.rb
index <HASH>..<HASH> 100644
--- a/spec/ospec/runner.rb
+++ b/spec/ospec/runner.rb
@@ -7,6 +7,21 @@ module MSpec
end
end
+# Add keys to pending array as names of specs not to run.
+class OSpecFilter
+ def initialize
+ @pending = {}
+ end
+
+ def regist... | Add OSpecFilter to filter non-compliant specs from running in mspec | opal_opal | train | rb |
05f1ee95d915972dbed1a08bf8b7aebbe9694620 | diff --git a/test/unit/rules/no-empty-headings-test.js b/test/unit/rules/no-empty-headings-test.js
index <HASH>..<HASH> 100644
--- a/test/unit/rules/no-empty-headings-test.js
+++ b/test/unit/rules/no-empty-headings-test.js
@@ -26,10 +26,10 @@ generateRuleTests({
'<p></p>',
'<span></span>',
'<header></hea... | use @args in curly tests | ember-template-lint_ember-template-lint | train | js |
f502ed6e943f1b5500ff9f76370867fca7ea0f91 | diff --git a/lib/tilelive.js b/lib/tilelive.js
index <HASH>..<HASH> 100644
--- a/lib/tilelive.js
+++ b/lib/tilelive.js
@@ -253,7 +253,7 @@ tilelive.copy = function(args, callback) {
// Precalculate the tile int bounds for each zoom level.
var bounds = {};
for (var z = args.minZoom; z <= args.maxZoom; z++... | don't to tms style coordinates | mapbox_tilelive | train | js |
7d058b56937cd03fc112406d35474d9579bdec17 | diff --git a/lib/graphql/models/loader.rb b/lib/graphql/models/loader.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/models/loader.rb
+++ b/lib/graphql/models/loader.rb
@@ -46,7 +46,15 @@ module GraphQL
arel = relation.arel
next nil unless arel.orders.any?
- %{ RANK() OVER (ORDER BY #... | Fixing bug with order_by expressions | goco-inc_graphql-activerecord | train | rb |
a0c0d70cee3801f5a4498628582291224acc204a | diff --git a/Listener/Resource/FileListener.php b/Listener/Resource/FileListener.php
index <HASH>..<HASH> 100644
--- a/Listener/Resource/FileListener.php
+++ b/Listener/Resource/FileListener.php
@@ -407,7 +407,7 @@ class FileListener implements ContainerAwareInterface
private function uploadFile(\DirectoryIterator... | Fixing unzipping error on special chars. | claroline_CoreBundle | train | php |
a53315a0d3fd1d6134ccb4eb1b56371fa2a9e8d8 | diff --git a/lib/formtastic.rb b/lib/formtastic.rb
index <HASH>..<HASH> 100644
--- a/lib/formtastic.rb
+++ b/lib/formtastic.rb
@@ -1491,7 +1491,7 @@ module Formtastic #:nodoc:
reflection.klass.where(conditions).where(options[:find_options][:conditions])
end
else
- refle... | Respect :find_options even when no conditions have been set | justinfrench_formtastic | train | rb |
f396f6296c82ed05c95a4c353ebd0eb05dd306e2 | diff --git a/plugins/src/kg/apc/jmeter/vizualizers/ResponseTimesPercentilesGui.java b/plugins/src/kg/apc/jmeter/vizualizers/ResponseTimesPercentilesGui.java
index <HASH>..<HASH> 100644
--- a/plugins/src/kg/apc/jmeter/vizualizers/ResponseTimesPercentilesGui.java
+++ b/plugins/src/kg/apc/jmeter/vizualizers/ResponseTimesP... | Add limit nb of point and line option to percentile | undera_jmeter-plugins | train | java |
d256711c53e16a720ce58712581697093c3126d7 | diff --git a/selectron.js b/selectron.js
index <HASH>..<HASH> 100644
--- a/selectron.js
+++ b/selectron.js
@@ -105,8 +105,8 @@ function count(root, ref, countAll) {
*/
function offset(element, caret, countAll) {
var rng = s().getRangeAt(0),
- ref = rng[(caret || 'start') + 'Container'],
- off = rng[(caret || 'st... | Use endContainer and offset as default in offset()... because of IE. | lohfu_spytext | train | js |
61c70b442bbd08858ce2435cf410f31a7ec91d37 | diff --git a/packages/www/webpack.client.config.base.js b/packages/www/webpack.client.config.base.js
index <HASH>..<HASH> 100644
--- a/packages/www/webpack.client.config.base.js
+++ b/packages/www/webpack.client.config.base.js
@@ -58,7 +58,8 @@ const views = [
["photos", `${config.get("www.publishUrl")}${config.ge... | fix(www): Generate a `map.html` file so we don't give crawlers <I>s.
SEO~~ | randytarampi_me | train | js |
93bbed5e1331395f54c7602784b30d4a22e95e37 | diff --git a/nose/test_potential.py b/nose/test_potential.py
index <HASH>..<HASH> 100644
--- a/nose/test_potential.py
+++ b/nose/test_potential.py
@@ -958,7 +958,7 @@ def test_vcirc_vesc_special():
dp= potential.DehnenBarPotential()
try:
potential.plotRotcurve([dp])
- except AttributeError: #shoul... | Fail of vcirc for non-axi potentials can now also be a PotentialError | jobovy_galpy | train | py |
12d5df3c669b929f945a00ec1b5f5b99b54988c3 | diff --git a/src/FlexiblePool.php b/src/FlexiblePool.php
index <HASH>..<HASH> 100644
--- a/src/FlexiblePool.php
+++ b/src/FlexiblePool.php
@@ -115,7 +115,6 @@ class FlexiblePool extends EventEmitter implements PoolInterface
}
if (
- $this->callQueue->count() > 0 &&
$this->rea... | The count of jobs in the queue is irrelevant for calling rpc means it's plus one anyway | WyriHaximus_reactphp-child-process-pool | train | php |
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.