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 |
|---|---|---|---|---|---|
03849c5448f9635ce8226afdcc3ab14942c67266 | diff --git a/src-modules/org/opencms/workplace/tools/sites/CmsSitesDetailDialog.java b/src-modules/org/opencms/workplace/tools/sites/CmsSitesDetailDialog.java
index <HASH>..<HASH> 100644
--- a/src-modules/org/opencms/workplace/tools/sites/CmsSitesDetailDialog.java
+++ b/src-modules/org/opencms/workplace/tools/sites/Cms... | Fixed NPE in site management wp tool. | alkacon_opencms-core | train | java |
23c93b9a44679373972fecaddd83fc9e97585242 | diff --git a/tests/core/ArrayDataTest.php b/tests/core/ArrayDataTest.php
index <HASH>..<HASH> 100644
--- a/tests/core/ArrayDataTest.php
+++ b/tests/core/ArrayDataTest.php
@@ -68,7 +68,7 @@ class ArrayDataTest extends SapphireTest {
$arrayData = new ArrayData($array);
- $this->assertEquals($arrayData->getArr... | MINOR Fixing ArrayDataTest to use toMap() instead of getArray() which is deprecated. | silverstripe_silverstripe-framework | train | php |
f5445b31d4ce23fcd4d2fbe2dccbf2be6b37e51b | diff --git a/fancyimpute/matrix_factorization.py b/fancyimpute/matrix_factorization.py
index <HASH>..<HASH> 100644
--- a/fancyimpute/matrix_factorization.py
+++ b/fancyimpute/matrix_factorization.py
@@ -37,6 +37,7 @@ class MatrixFactorization(Solver):
self,
rank=10,
learning_rate=... | Adding epochs as a parameter to the constructor for MatrixFactorization class (#<I>)
* Adding epochs to MatrixFactorization constructor
This way the user can tune the number of epochs to train the model for.
* fixed space and comma | iskandr_fancyimpute | train | py |
2d977943127f1b6f27b29faaec94a25e35a72d5f | diff --git a/modules/es/views/es.SurfaceView.js b/modules/es/views/es.SurfaceView.js
index <HASH>..<HASH> 100644
--- a/modules/es/views/es.SurfaceView.js
+++ b/modules/es/views/es.SurfaceView.js
@@ -110,10 +110,6 @@ es.SurfaceView = function( $container, model ) {
} );
};
-es.SurfaceView.prototype.hasSelection = f... | Added more key codes for the Apple command key to catch firefox and right command on webkit | wikimedia_parsoid | train | js |
03412c511c445f5065ba95338137ee37ec0f486e | diff --git a/django_webtest/__init__.py b/django_webtest/__init__.py
index <HASH>..<HASH> 100644
--- a/django_webtest/__init__.py
+++ b/django_webtest/__init__.py
@@ -83,7 +83,23 @@ class DjangoTestApp(TestApp):
return super(DjangoTestApp, self).post(
url, params, headers, extra_environ, st... | Add 'user' parameters for 'put' and 'delete' methods. | django-webtest_django-webtest | train | py |
2941a1f867534ad94001d7e31dffded134145cdc | diff --git a/pymc3/tests/test_variational_inference.py b/pymc3/tests/test_variational_inference.py
index <HASH>..<HASH> 100644
--- a/pymc3/tests/test_variational_inference.py
+++ b/pymc3/tests/test_variational_inference.py
@@ -151,12 +151,16 @@ def three_var_approx(three_var_model, three_var_groups):
def three_var_app... | Another attempt to fix approx sampling backend test | pymc-devs_pymc | train | py |
5b8a0010949aa00eab61d84d036f8138009786af | diff --git a/photons/__init__.py b/photons/__init__.py
index <HASH>..<HASH> 100644
--- a/photons/__init__.py
+++ b/photons/__init__.py
@@ -1,5 +1 @@
-from .lightprotocol import *
-from .lightclient import *
from .lights import *
-from .matrix import *
-from .lightserver import * | do not auto import client and server-related modules | tripzero_python-photons | train | py |
156fc294bf4240822cd4c090a59b6fa2a86c0796 | diff --git a/core/src/main/java/org/springframework/security/jackson2/UsernamePasswordAuthenticationTokenDeserializer.java b/core/src/main/java/org/springframework/security/jackson2/UsernamePasswordAuthenticationTokenDeserializer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/springframework/security/jac... | Deserialize details field in UsernamePasswordAuthenticationToken
Before this commit, the details field was set to a JsonNode, but now it is deserialized correctly.
Fixes gh-<I> | spring-projects_spring-security | train | java |
71d2be199e691c8309e50902ae0a7b26026a7bba | diff --git a/src/components/IntlTelInput.js b/src/components/IntlTelInput.js
index <HASH>..<HASH> 100644
--- a/src/components/IntlTelInput.js
+++ b/src/components/IntlTelInput.js
@@ -711,7 +711,7 @@ class IntlTelInput extends Component {
},
() => {
if (doNotify) {
- this.notifyPhoneNumbe... | Fix: invoke onPhoneNumberChange callback with formatted value on init
…instead of unformatted value from previous state | patw0929_react-intl-tel-input | train | js |
fcc1585a150d8aa0dd6687f37b2485842a000145 | diff --git a/rauth/__init__.py b/rauth/__init__.py
index <HASH>..<HASH> 100644
--- a/rauth/__init__.py
+++ b/rauth/__init__.py
@@ -6,4 +6,4 @@
'''
-__version__ = '0.4.11'
+__version__ = '0.4.12' | updating to <I>; includes get_raw_request_token | litl_rauth | train | py |
22adcdb1f68bd19d4c788eef5fe828297b6da31b | diff --git a/tests/swarming/nupic/swarming/swarming_test.py b/tests/swarming/nupic/swarming/swarming_test.py
index <HASH>..<HASH> 100755
--- a/tests/swarming/nupic/swarming/swarming_test.py
+++ b/tests/swarming/nupic/swarming/swarming_test.py
@@ -257,7 +257,7 @@ class ExperimentTestBaseClass(HelperTestCaseBase):
... | Update swarming_test.py | numenta_nupic | train | py |
25538a1a7e9c866cdc93de79c871bfcec533ec8f | diff --git a/middleware/format-query.js b/middleware/format-query.js
index <HASH>..<HASH> 100644
--- a/middleware/format-query.js
+++ b/middleware/format-query.js
@@ -1,10 +1,20 @@
+var evals = [ 'undefined', 'null', 'false', 'true' ];
+
module.exports = function(req, res, next) {
req.query = _.mapValues(req.query, ... | Allow '=' delimited query values, so one can use internal mongodb operators like . | thecodebureau_epiphany | train | js |
343f93d6920533f00cc17d3f89502780636501a9 | diff --git a/geomdl/utilities.py b/geomdl/utilities.py
index <HASH>..<HASH> 100644
--- a/geomdl/utilities.py
+++ b/geomdl/utilities.py
@@ -139,7 +139,7 @@ def vector_generate(start_pt, end_pt, normalize=False):
def point_translate(point_in, vector_in):
- """ Translates the input points using the given vector.
+... | Update docstring of point_translate | orbingol_NURBS-Python | train | py |
e6559a0889b22d019ad71df027ecbd14df7635c2 | diff --git a/services/npm/npm.tester.js b/services/npm/npm.tester.js
index <HASH>..<HASH> 100644
--- a/services/npm/npm.tester.js
+++ b/services/npm/npm.tester.js
@@ -11,7 +11,7 @@ const t = new ServiceTester({ id: 'npm', title: 'NPM' });
module.exports = t;
const colorsB = mapValues(colorscheme, 'colorB');
-const ... | fix typescript regex in [npm] tests (#<I>)
- Expect `TypeScript vX.Y | Flow vX.Y`
instead of `TypeScript vX.Y Flow vX.Y`
- Allow version numbers to have more than >1 digit
after the point | badges_shields | train | js |
49aef7f0d2a5aa57d2ed2ad4d8087e30d5433414 | diff --git a/lib/jets/booter.rb b/lib/jets/booter.rb
index <HASH>..<HASH> 100644
--- a/lib/jets/booter.rb
+++ b/lib/jets/booter.rb
@@ -105,7 +105,9 @@ class Jets::Booter
config_ru = File.read("#{Jets.root}config.ru")
unless config_ru.include?("Jets.boot")
puts 'The config.ru file is missing Jets.... | provide instructions to run jets upgrade:v1 for config.ru update | tongueroo_jets | train | rb |
6feab9a1e3b42586280cc6aa1ae0271e7e76ccdf | diff --git a/tasks/js.js b/tasks/js.js
index <HASH>..<HASH> 100644
--- a/tasks/js.js
+++ b/tasks/js.js
@@ -61,10 +61,21 @@ module.exports = function() {
}
gulp.task('js', ['clean-js'], function(done) {
+ var numLeft = taskFuncs.length;
+
for (var i = 0; i < taskFuncs.length; ++i)
{
var taskFunc = taskF... | Fixed JS task never returning because the done callback was never called (#3) | loewydesign_loewy-assets | train | js |
21c48030b24ca15a76f8d95e865d7ad3d1bc9cc5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ setup(
extras_require={
'api': [
'django-filter>=0.13,<0.14',
- 'djangorestframework>=3,<4',
+ 'djangorestframework>=3.3,<3.4',
],
'testing': [
... | Revert to DRF <I> (indent bug) | political-memory_django-representatives-votes | train | py |
77c08b43f59906b3a637523944774241d6350f8c | diff --git a/service/service.go b/service/service.go
index <HASH>..<HASH> 100644
--- a/service/service.go
+++ b/service/service.go
@@ -22,6 +22,7 @@ type Service struct {
configs map[string]*Config
commands map[string]*Command
+ started sync.WaitGroup
running sync.WaitGroup
}
@@ -57,7 +58,9 @@ func loadEnv(... | StartForTest waits until the app is fully started. | octavore_naga | train | go,go |
3515b55bc1b6fdd36a22555547e260e9cd0ada4d | diff --git a/harvey/harvey.py b/harvey/harvey.py
index <HASH>..<HASH> 100644
--- a/harvey/harvey.py
+++ b/harvey/harvey.py
@@ -1,11 +1,11 @@
r"""
-butler generates license from the command line for you
+harvey generates license from the command line for you
Usage:
- butler (ls | list)
- butler <NAME> --tldr
- bu... | replaced butler with harvey | architv_harvey | train | py |
848aa639a1cd1103cb04d509ec840d35db6952a4 | diff --git a/spec/public/collection_spec.rb b/spec/public/collection_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/public/collection_spec.rb
+++ b/spec/public/collection_spec.rb
@@ -8,7 +8,7 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
self.loaded = loaded
before :all... | Fixed spec module name to not be namespaced in anonymous module created by rspec | datamapper_dm-core | train | rb,rb |
b3298e61305e06a0e77fa0040cbc06b6a52e2622 | diff --git a/src/com/opencms/core/CmsShell.java b/src/com/opencms/core/CmsShell.java
index <HASH>..<HASH> 100644
--- a/src/com/opencms/core/CmsShell.java
+++ b/src/com/opencms/core/CmsShell.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alkacon/cvs/opencms/src/com/opencms/core/Attic/CmsShell.java,v $
- * Date : $Dat... | Before publishing projects, projects will now be unlocked. | alkacon_opencms-core | train | java |
8aebcf13f6b76318c43ab754b84ea524a95e1ce2 | diff --git a/pyGenClean/Ethnicity/find_outliers.py b/pyGenClean/Ethnicity/find_outliers.py
index <HASH>..<HASH> 100644
--- a/pyGenClean/Ethnicity/find_outliers.py
+++ b/pyGenClean/Ethnicity/find_outliers.py
@@ -331,12 +331,12 @@ def find_outliers(mds, centers, center_info, ref_pop, options):
mec... | Deprecation warning from matplotlib with legends | lemieuxl_pyGenClean | train | py |
f8cc0e524162c4eb850106880bc0fbed4e6940e2 | diff --git a/src/main/java/com/marklogic/client/datamovement/impl/DataMovementServices.java b/src/main/java/com/marklogic/client/datamovement/impl/DataMovementServices.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/marklogic/client/datamovement/impl/DataMovementServices.java
+++ b/src/main/java/com/marklogic/... | rename forestinfo endpoint to internal/forestinfo | marklogic_java-client-api | train | java |
1871b97b62163938ea002004bbcb74036dba8829 | diff --git a/lib/patterns/any.rb b/lib/patterns/any.rb
index <HASH>..<HASH> 100644
--- a/lib/patterns/any.rb
+++ b/lib/patterns/any.rb
@@ -9,6 +9,10 @@ module Atomy::Patterns
b.kind_of?(Any)
end
+ def match(g, set = false, locals = {})
+ g.pop
+ end
+
def target(g)
g.push_const :Obj... | simplify Named#match and Any#match for pattern-matches | vito_atomy | train | rb,rb |
47479f6f22b396dfa384616020c9fef25be44dcb | diff --git a/JSAT/src/jsat/classifiers/linear/LinearSGD.java b/JSAT/src/jsat/classifiers/linear/LinearSGD.java
index <HASH>..<HASH> 100644
--- a/JSAT/src/jsat/classifiers/linear/LinearSGD.java
+++ b/JSAT/src/jsat/classifiers/linear/LinearSGD.java
@@ -473,10 +473,10 @@ public class LinearSGD extends BaseUpdateableClassi... | Bug fix on application of L1 regularization. | EdwardRaff_JSAT | train | java |
5d09cd075da657eeb29e94cd5063df7f6044f493 | diff --git a/src/Psalm/Type/Union.php b/src/Psalm/Type/Union.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Type/Union.php
+++ b/src/Psalm/Type/Union.php
@@ -29,7 +29,6 @@ use UnexpectedValueException;
use function array_filter;
use function array_merge;
use function array_unique;
-use function array_values;
use f... | Add another usage of getSingleAtomic. | vimeo_psalm | train | php |
25856c4cf1c8780ef8763f7d056d0d118cb6d183 | diff --git a/tests/flow_test.go b/tests/flow_test.go
index <HASH>..<HASH> 100644
--- a/tests/flow_test.go
+++ b/tests/flow_test.go
@@ -2148,7 +2148,7 @@ func TestERSpanV1Target(t *testing.T) {
},
captures: []TestCapture{
- {gremlin: g.G.V().Has("Name", "erspan-vm1-eth0"), target: "169.254.67.2:0", targetType:... | tests: only capture ICMP echo packets in TestERSpanV1Target | skydive-project_skydive | train | go |
1599f0a63521e22835f72378d2b5dd15c9dc4a43 | diff --git a/wafer/registration/sso.py b/wafer/registration/sso.py
index <HASH>..<HASH> 100644
--- a/wafer/registration/sso.py
+++ b/wafer/registration/sso.py
@@ -66,7 +66,7 @@ def _configure_user(user, name, email, profile_fields):
profile = user.userprofile
if profile_fields:
- for k, v in profile_... | Use items instead of iteritems in user registration calls | CTPUG_wafer | train | py,py |
006195d7cf14c48cfac7c88e71a70d26d4556baa | diff --git a/src/video/video.js b/src/video/video.js
index <HASH>..<HASH> 100644
--- a/src/video/video.js
+++ b/src/video/video.js
@@ -359,19 +359,23 @@
* @private
*/
api.onresize = function(event){
+ var parent = me.video.getScreenCanvas().parentNode;
+ var max_width = parent.width || window.innerWidth;... | Ticket #4 : use the canvas container to set the max width and height | melonjs_melonJS | train | js |
da2349e44eeb05d79155dcd2d63a3c4f2332310f | diff --git a/lib/Doctrine/DBAL/Driver/PDOSqlsrv/Connection.php b/lib/Doctrine/DBAL/Driver/PDOSqlsrv/Connection.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/DBAL/Driver/PDOSqlsrv/Connection.php
+++ b/lib/Doctrine/DBAL/Driver/PDOSqlsrv/Connection.php
@@ -3,11 +3,7 @@
namespace Doctrine\DBAL\Driver\PDOSqlsrv;
us... | Remove workaround in PDOSqlsrv\Connection::quote() | doctrine_dbal | train | php |
5a484456ce7354e45a18eeffeae5743ee31a9f28 | diff --git a/concrete/routes/misc.php b/concrete/routes/misc.php
index <HASH>..<HASH> 100644
--- a/concrete/routes/misc.php
+++ b/concrete/routes/misc.php
@@ -27,4 +27,5 @@ $router->all('/tools/required/jobs/run_single', '\Concrete\Controller\Frontend\J
// end removing lines
$router->all('/ccm/system/upgrade/', '\Con... | Add back route to rich text editor preview | concrete5_concrete5 | train | php |
4acf51825625d44df70c37eb849f1f344b8bcd2c | diff --git a/cq-prolyfill.js b/cq-prolyfill.js
index <HASH>..<HASH> 100644
--- a/cq-prolyfill.js
+++ b/cq-prolyfill.js
@@ -1064,7 +1064,7 @@ function getSpecificity(selector) {
classScore++;
return '';
})
- .replace(PSEUDO_NOT_REGEXP, '')
+ .replace(PSEUDO_NOT_REGEXP, ' ')
.replace(ID_REGEXP, function()... | Fix bug with specificity of negation pseudo-class | ausi_cq-prolyfill | train | js,js |
d1325f698594d16e2206e6a2790ac2721e07f7fa | diff --git a/holoviews/core/data.py b/holoviews/core/data.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data.py
+++ b/holoviews/core/data.py
@@ -400,11 +400,7 @@ class ColumnarData(param.Parameterized):
def _process_data(cls, data, paramobjs, **kwargs):
params = {}
if isinstance(data, Eleme... | Cleaned up Columns constructor utility | pyviz_holoviews | train | py |
b58fd76e03a550cda4dfb2ac0ac7caf547ca71bb | diff --git a/lib/applescript.js b/lib/applescript.js
index <HASH>..<HASH> 100644
--- a/lib/applescript.js
+++ b/lib/applescript.js
@@ -21,19 +21,19 @@ exports.execString = function execString(str, callback) {
function runApplescript(strOrPath, args, callback) {
- var needsE = false;
+ var isString = false;
if... | Write to stdin when 'execString' is called, instead of passing the String as an argument (potentially dangerous). | TooTallNate_node-applescript | train | js |
6a5df18fa25516977ca71eae0609b9fb4bb9545d | diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -306,11 +306,11 @@ exports.extend = function extend(newConf) {
client.on('error', function(err) {
req.emit('error', err);
});
- if (config.timeout > 0) {
- clien... | refactor: Set idle timeout for the connection | avwo_whistle | train | js |
e44e9730e8ed36d66399dd56fb27499efcc49dab | diff --git a/sendgrid/transport/smtp.py b/sendgrid/transport/smtp.py
index <HASH>..<HASH> 100644
--- a/sendgrid/transport/smtp.py
+++ b/sendgrid/transport/smtp.py
@@ -73,6 +73,10 @@ class Smtp(object):
if message.reply_to:
email_message['Reply-To'] = message.reply_to
+ # Add CC recipients... | Added CC addresses to the header so they'll be visible to all recipients; added some logic to build a proper recipient list of To/CC/BCC addresses for the actual smtplib.sender() call so this library would actually send to BCC/CC addresses | sendgrid_sendgrid-python | train | py |
58c6d89f2663f936c0c3c260dc5052c49b9e4c2c | diff --git a/node-persist.js b/node-persist.js
index <HASH>..<HASH> 100644
--- a/node-persist.js
+++ b/node-persist.js
@@ -259,7 +259,8 @@ var setOptions = function (userOptions) {
}
// dir is not absolute
- if (options.dir[0] !== '/') {
+ options.dir = path.normalize(options.dir);
+ ... | Be more forgiving to paths on Windows | simonlast_node-persist | train | js |
386f323dd0ac16037b0659ef3ab8c77ca4804c20 | diff --git a/libs/Format/HTML/Template.php b/libs/Format/HTML/Template.php
index <HASH>..<HASH> 100644
--- a/libs/Format/HTML/Template.php
+++ b/libs/Format/HTML/Template.php
@@ -108,6 +108,10 @@ class Template
'class' => ($current_url === $link) ? 'active' : ''
];
} e... | Hide directories that have no content | dauxio_daux.io | train | php,php |
0ab44f79f739328287f851d76f71a06f3fc1ea59 | diff --git a/lib/github_changelog_generator.rb b/lib/github_changelog_generator.rb
index <HASH>..<HASH> 100755
--- a/lib/github_changelog_generator.rb
+++ b/lib/github_changelog_generator.rb
@@ -100,6 +100,19 @@ class ChangelogGenerator
def generate_log_for_all_tags
log = ''
+ @all_tags.each {|tag| self.ge... | Sort tag by date, not by name | github-changelog-generator_github-changelog-generator | train | rb |
4e4a21484705a3936b0ea5deed26f856e2ad04c4 | diff --git a/mixbox/namespaces.py b/mixbox/namespaces.py
index <HASH>..<HASH> 100644
--- a/mixbox/namespaces.py
+++ b/mixbox/namespaces.py
@@ -317,6 +317,8 @@ class NamespaceSet(object):
return
elif not ni.schema_location:
ni.schema_location = incoming_schemaloc or None
+ elif ... | Fixed __merge_schema_locations() bug where exception was raised when existing NamespaceInfo has a schemaloc and input schemaloc is None. This condition is now a no-op. | CybOXProject_mixbox | train | py |
1f74392acfd415597555981d7df5c6489cb58da0 | diff --git a/packages/node_modules/@webex/internal-plugin-conversation/src/conversation.js b/packages/node_modules/@webex/internal-plugin-conversation/src/conversation.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/internal-plugin-conversation/src/conversation.js
+++ b/packages/node_modules/@webex/in... | fix(internal-conversation-plugin): parent reserved word issue | webex_spark-js-sdk | train | js |
2b3f27398d00b6bab155a63a9656ecb4f6f8f32f | diff --git a/analyze/feature.py b/analyze/feature.py
index <HASH>..<HASH> 100644
--- a/analyze/feature.py
+++ b/analyze/feature.py
@@ -22,6 +22,7 @@ class FFT(Extractor):
Extractor.__init__(self,needs=needs,nframes=nframes,step=step)
def _process(self):
+ # TODO: These inputs are the wron... | Added todo item regarding incorrect shape of Extractor inputs | JohnVinyard_zounds | train | py |
7af29f6446ed82d8f5221e08892508fcba75ae55 | diff --git a/tests/test_cases.py b/tests/test_cases.py
index <HASH>..<HASH> 100644
--- a/tests/test_cases.py
+++ b/tests/test_cases.py
@@ -150,7 +150,10 @@ class TestComplexFeatures(unittest.TestCase):
self.assertTrue(r.TestFlag)
self.assertGreater(r.getTime(), 0)
# OCR
- a = r.find("t... | Updated test case for Windows (partly) | glitchassassin_lackey | train | py |
8ebca17e798a67e0c294873e6b050485b1a3c9d0 | diff --git a/i3pystatus/__init__.py b/i3pystatus/__init__.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/__init__.py
+++ b/i3pystatus/__init__.py
@@ -2,9 +2,9 @@
import sys
-from .core import io
-from .core.util import *
+from .core import util, io
from .core.modules import *
+from .core.settings import Settings... | Aaand some code butchering I forgot earlier. | enkore_i3pystatus | train | py |
159d09e33ee59dfa9b0708101cce38383f6c62b7 | diff --git a/common/abstractMacros.js b/common/abstractMacros.js
index <HASH>..<HASH> 100644
--- a/common/abstractMacros.js
+++ b/common/abstractMacros.js
@@ -62,6 +62,10 @@ class Macros {
return null;
}
+ if (!fullName) {
+ return null;
+ }
+
const indexOfFirstSpace = fullName.indexOf('... | Unregister sw and fixed a bug if there are no profs | ryanhugh_searchneu | train | js,js |
0b55d073c1b04fea498ebea4205a495c68172b1f | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,9 +17,9 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
-# import os
-# import sys
-# sy... | docs/conf.py: Some other things maybe we need | praekeltfoundation_seaworthy | train | py |
1f70f2409e9a782b6421939db02d7dca687ecc8e | diff --git a/sharedstrings.go b/sharedstrings.go
index <HASH>..<HASH> 100644
--- a/sharedstrings.go
+++ b/sharedstrings.go
@@ -16,6 +16,15 @@ type xlsxSST struct {
// currently I have not checked this for completeness - it does as
// much as I need.
type xlsxSI struct {
+ T string `xml:"t"`
+ R []xlsxR `xml:... | bug fix
when cell have two type fonts T is not enought | tealeg_xlsx | train | go |
3dbfc3e1356be079c0a4d1938e9bc9d9268d0c7c | diff --git a/src/USPS/Rate.php b/src/USPS/Rate.php
index <HASH>..<HASH> 100644
--- a/src/USPS/Rate.php
+++ b/src/USPS/Rate.php
@@ -119,8 +119,10 @@ class Rate extends RateAdapter
*/
if ($p->getWidth() > 12 or $p->getLength() > 12 or $p->getHeight() > 12) {
$size = 'LARGE';
+ $container = 'RECTANGULAR';... | Specify the container based on the package size | pdt256_shipping | train | php |
a862e8cc32c3aae6e99aac7f639f807f854f6491 | diff --git a/wpull/observer.py b/wpull/observer.py
index <HASH>..<HASH> 100644
--- a/wpull/observer.py
+++ b/wpull/observer.py
@@ -26,7 +26,7 @@ class Observer(object):
def notify(self, *args, **kwargs):
'''Call all the callback handlers with given arguments.'''
- for handler in self.handlers:
+ ... | observer: Allow handlers to be removed during notify.
Re: <URL> | ArchiveTeam_wpull | train | py |
9f67037a5fe19cce5bb3b919f7bac0bab783e793 | diff --git a/version.php b/version.php
index <HASH>..<HASH> 100644
--- a/version.php
+++ b/version.php
@@ -29,11 +29,11 @@
defined('MOODLE_INTERNAL') || die();
-$version = 2014101500.00; // YYYYMMDD = weekly release date of this DEV branch.
+$version = 2014101700.00; // YYYYMMDD ... | on-demand release <I>beta+ | moodle_moodle | train | php |
c4b0e75a457694a271931d925c8d053abc1eb965 | diff --git a/tests/django.py b/tests/django.py
index <HASH>..<HASH> 100644
--- a/tests/django.py
+++ b/tests/django.py
@@ -218,7 +218,7 @@ class TestDjango(IsolatedTestClass):
self.assertEqual(len(re.findall('MEDIA_ROOT =', settings)), 1)
self.assertEqual(len(re.findall('STATICFILES_DIRS', settings)),... | Correct skipIf decorator for Django <I> | nephila_djangocms-installer | train | py |
0c8eaf50a9e2b3317f3eba62f205546904bc6d74 | diff --git a/swauth/middleware.py b/swauth/middleware.py
index <HASH>..<HASH> 100644
--- a/swauth/middleware.py
+++ b/swauth/middleware.py
@@ -20,6 +20,7 @@ import hmac
from httplib import HTTPConnection
from httplib import HTTPSConnection
import json
+import six
import swift
from time import gmtime
from time imp... | Replace unicode with six.text_type
The unicode() built-in does not exist under Python 3 so use
six.text_type, which is set correctly to str or unicode, instead.
Change-Id: Ieb<I>c<I>b4a<I>ce<I>cb3adc<I>f5e<I>f6 | openstack_swauth | train | py |
555bac85321af2ad4ebdbd9bcae4ee4b494ce4c9 | diff --git a/plugins/ml/src/main/java/greycat/ml/regression/PolynomialNode.java b/plugins/ml/src/main/java/greycat/ml/regression/PolynomialNode.java
index <HASH>..<HASH> 100644
--- a/plugins/ml/src/main/java/greycat/ml/regression/PolynomialNode.java
+++ b/plugins/ml/src/main/java/greycat/ml/regression/PolynomialNode.ja... | Fix polynomial node toString | datathings_greycat | train | java |
fc439248aaa278d2d79dda8cba8317bae7e23348 | diff --git a/interface.js b/interface.js
index <HASH>..<HASH> 100644
--- a/interface.js
+++ b/interface.js
@@ -83,7 +83,10 @@ class SuperTask extends SuperTaskInternal {
* per usual NodeJS async calls.
*/
do() {
- let args = Array.prototype.slice.call(arguments);
+ let args = new Array(ar... | Improved argument parsing for V8 | schahriar_supertask | train | js |
d3411eed41fce6599f1de79f43cfb5f8f9266455 | diff --git a/pinax/referrals/models.py b/pinax/referrals/models.py
index <HASH>..<HASH> 100644
--- a/pinax/referrals/models.py
+++ b/pinax/referrals/models.py
@@ -156,8 +156,8 @@ class ReferralResponse(models.Model):
ip_address = models.CharField(max_length=45)
action = models.CharField(max_length=128)
- ... | don't require context type fields (which are often blank) | pinax_pinax-referrals | train | py |
beb7ec4a4b586432574ecd1b3d56f554a3a895ec | diff --git a/featuretests/application_config_test.go b/featuretests/application_config_test.go
index <HASH>..<HASH> 100644
--- a/featuretests/application_config_test.go
+++ b/featuretests/application_config_test.go
@@ -143,7 +143,7 @@ func (s *ApplicationConfigSuite) TestConfigNoValueSingleSetting(c *gc.C) {
// use '... | Fix feature test for checking missing newline | juju_juju | train | go |
e1d4cfd446eebaf2d550ca4b0d06528283a7250e | diff --git a/lib/api/2011-02-01/configuration.js b/lib/api/2011-02-01/configuration.js
index <HASH>..<HASH> 100644
--- a/lib/api/2011-02-01/configuration.js
+++ b/lib/api/2011-02-01/configuration.js
@@ -416,7 +416,7 @@ handlers.DeleteIndexField = function(context, request, response, config) {
});
} catch(error)... | Report domain name validation error before index field validation error for DeleteIndexField | groonga_gcs | train | js |
743d2d1659c63cc837b4a98ab7f84b66b26d80dd | diff --git a/jaraco/util/ui.py b/jaraco/util/ui.py
index <HASH>..<HASH> 100644
--- a/jaraco/util/ui.py
+++ b/jaraco/util/ui.py
@@ -23,7 +23,7 @@ class Menu(object):
menu_fmt = '{number:{number_width}}) {choice}'
formatted_choices = map(self.formatter, self.choices)
for number, choice in zip(itertools.count(1... | Use locals over vars for better linter support. | jaraco_jaraco.util | train | py |
625f8dde5af19e04dda3a595d9bb9f4032fa7395 | diff --git a/raft.go b/raft.go
index <HASH>..<HASH> 100644
--- a/raft.go
+++ b/raft.go
@@ -1061,14 +1061,7 @@ func (r *Raft) leaderLoop() {
r.configurations.latestIndex <= commitIndex {
r.configurations.committed = r.configurations.latest
r.configurations.committedIndex = r.configurations.latestIndex
- ... | leaderLoop: use hasVote to avoid looping | hashicorp_raft | train | go |
53bf1d5ff76a55a3ee9c5106a44554464b43a90e | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -79,8 +79,8 @@ it('should logging request of axios instance', () => axios.create()({
}))
it('should be able to set format of response & response logging', () => {
- const requestLogger = sinon.spy((debug, config) => debug(con... | test: uppercased method in test case.
ref: mzabriskie/axios@e4e<I> | Gerhut_axios-debug-log | train | js |
cee216f32e6d60f53b84eccb92d0774c2c0e0cf5 | diff --git a/bundles/org.eclipse.orion.client.javascript/web/tern/lib/tern.js b/bundles/org.eclipse.orion.client.javascript/web/tern/lib/tern.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/tern/lib/tern.js
+++ b/bundles/org.eclipse.orion.client.javascript/web/tern/lib/tern.js
@@ -1... | Bug <I> - Increase the number of uses before auto-resetting Tern (#<I>) | eclipse_orion.client | train | js |
441be21b507b88d7b77c22b16f2df29b39b63a9a | diff --git a/lib/pidgin2adium/log_parser.rb b/lib/pidgin2adium/log_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/pidgin2adium/log_parser.rb
+++ b/lib/pidgin2adium/log_parser.rb
@@ -178,9 +178,8 @@ module Pidgin2Adium
if tz_match and tz_match[1]
tz_offset = tz_match[1]
else
- zone = Time.local(Time.new... | Fix formatting for tz_offset and cleaner way to get current time zone. | gabebw_pipio | train | rb |
654d31aceb52a28735723ef0a53c367591d8afd2 | diff --git a/src/Pyrite/Core/PDB.php b/src/Pyrite/Core/PDB.php
index <HASH>..<HASH> 100644
--- a/src/Pyrite/Core/PDB.php
+++ b/src/Pyrite/Core/PDB.php
@@ -459,7 +459,7 @@ class PDB
$cols = array();
if (!($tail instanceof PDBquery)) {
- $tail = $db->query($tail, $tailArgs);
+ $t... | Bugfix: how did this even get here? | vphantom_pyritephp | train | php |
fb100b165adbb00e6331ae0a5594f893da844d7c | diff --git a/src/path.js b/src/path.js
index <HASH>..<HASH> 100644
--- a/src/path.js
+++ b/src/path.js
@@ -10,7 +10,7 @@ process.cwd = () => '/';
* a few things we need for the browser environment.
*/
const nodePath = require('path');
-const filerPath = Object.create(nodePath);
+const filerPath = Object.assign({},... | refactor: use Object.assign instead of Object.create for cloning nodePath
because Object.keys omits many of the methods on the filerPath module when using Object.create | filerjs_filer | train | js |
15d1af6ef3a754490c2cc57a9e9330f8fe3e3062 | diff --git a/src/geo/map.js b/src/geo/map.js
index <HASH>..<HASH> 100644
--- a/src/geo/map.js
+++ b/src/geo/map.js
@@ -340,6 +340,13 @@ cdb.geo.Map = cdb.core.Model.extend({
},
/**
+ * Get CartoDB layers in the map
+ */
+ getCartoDBLayers: function() {
+ return _.size(_.filter(this.layers.models, function... | new map function to get the number of cartodb layers | CartoDB_carto.js | train | js |
226bd3acc2a2933f96050ca5d0614028fac07f79 | diff --git a/bin/repl.js b/bin/repl.js
index <HASH>..<HASH> 100755
--- a/bin/repl.js
+++ b/bin/repl.js
@@ -8,7 +8,7 @@ var Chrome = require('../');
program
.option('-h, --host <host>', 'Remote Debugging Protocol host', 'localhost')
.option('-p, --port <port>', 'Remote Debugging Protocol port', '9222')
- .... | Fix JSHint warnings and improve code style | cyrus-and_chrome-remote-interface | train | js,js |
1b477c6dd04bb6adf1b910212e5578e18f774bf6 | diff --git a/streaming/python/runtime/transfer.py b/streaming/python/runtime/transfer.py
index <HASH>..<HASH> 100644
--- a/streaming/python/runtime/transfer.py
+++ b/streaming/python/runtime/transfer.py
@@ -6,7 +6,8 @@ from typing import List
import ray
import ray.streaming._streaming as _streaming
import ray.stream... | [Streaming] Fix streaming CI failure. (#<I>) | ray-project_ray | train | py |
3e687e7d3e815ff0009e483664aac3f0f8bfa5ba | diff --git a/xdataweb/web/apps/VegaLab/examples/histogram/histogram.js b/xdataweb/web/apps/VegaLab/examples/histogram/histogram.js
index <HASH>..<HASH> 100644
--- a/xdataweb/web/apps/VegaLab/examples/histogram/histogram.js
+++ b/xdataweb/web/apps/VegaLab/examples/histogram/histogram.js
@@ -107,7 +107,7 @@ function(vis)... | Added check to avoid division by zero. | Kitware_tangelo | train | js |
d6bce7dcd60c75f90ff4a23c1ee8abfbcb67a6c7 | diff --git a/gcs/gcscaching/stat_cache.go b/gcs/gcscaching/stat_cache.go
index <HASH>..<HASH> 100644
--- a/gcs/gcscaching/stat_cache.go
+++ b/gcs/gcscaching/stat_cache.go
@@ -24,9 +24,13 @@ import (
// A cache mapping from name to most recent known record for the object of that
// name. External synchronization must ... | Clarify the purpose of shouldReplace. | jacobsa_gcloud | train | go |
d9dd80da1b5cd18a80d5f770c9d0b6a273bd85f6 | diff --git a/phpfastcache_v2.1_release/phpfastcache/phpfastcache.php b/phpfastcache_v2.1_release/phpfastcache/phpfastcache.php
index <HASH>..<HASH> 100644
--- a/phpfastcache_v2.1_release/phpfastcache/phpfastcache.php
+++ b/phpfastcache_v2.1_release/phpfastcache/phpfastcache.php
@@ -325,7 +325,8 @@ class phpFastCache {
... | Fixed bug when using cache library in CLI mode
In command line mode, `$_SERVER['HTTP_HOST']` is not defined, however it's currently used to build the default security key.
In this change, I check if `HTTP_HOST` is defined and use `get_current_user()` as security key suffix otherwise. Using the current user means th... | PHPSocialNetwork_phpfastcache | train | php |
2420b297edbb04433f89f8d3b9c4ff29c041bb03 | diff --git a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java
index <HASH>..<HASH> 100644
--- a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java
+++ b/sbe-tool/src/main/java/uk/co... | [Java] Generate header length accessor in in encoders for var data fields. Issue #<I> | real-logic_simple-binary-encoding | train | java |
009aad31a7afa7158eead3ec6f4aa508c85e4cb1 | diff --git a/cltk/corpus/multilingual/corpora.py b/cltk/corpus/multilingual/corpora.py
index <HASH>..<HASH> 100644
--- a/cltk/corpus/multilingual/corpora.py
+++ b/cltk/corpus/multilingual/corpora.py
@@ -14,12 +14,12 @@ MULTILINGUAL_CORPORA = [
'markup': ['conll', 'xml'],
'location': 'remote',
'type': ... | Multilingual corpora point to non-existent Git repos (#<I>)
In the multilingual corpora definitions, ISWOC and TOROT point to non-existent Git repo URLs, which will cause the `CorpusImporter` to fail if they're used. I've changed these to what appear to be the correct URLs under the CLTK GitHub org. | cltk_cltk | train | py |
319228a9b1b86ccb843d5b5bc5ba94325393bdb4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,6 +33,7 @@ setup(
"autopep8 >= 1.5.4, < 2.0.0",
"flake8 >= 3.8.0, < 4.0.0",
"flake8-bugbear >= 20.1.0, < 21.0.0",
+ "flake8-builtins >= 1.5.0, < 2.0.0",
"flake... | Add flake8-builtins | openfisca_country-template | train | py |
f8ec9e204205553b26ee24357ab6eb9912259124 | diff --git a/action.go b/action.go
index <HASH>..<HASH> 100644
--- a/action.go
+++ b/action.go
@@ -535,7 +535,7 @@ func doDeleteBackwardChar(i *Input, ev termbox.Event) {
if pos == qlen {
buf = q[:qlen-1 : qlen-1]
} else {
- buf := make([]rune, qlen-1)
+ buf = make([]rune, qlen-1)
copy(buf, q[:pos])
... | Ugh, don't declare a new variable | peco_peco | train | go |
b611fcadadcdcaaaac10d2b830e0f93887b87a7d | diff --git a/state/cleanup.go b/state/cleanup.go
index <HASH>..<HASH> 100644
--- a/state/cleanup.go
+++ b/state/cleanup.go
@@ -1007,5 +1007,10 @@ func closeIter(iter mongo.Iterator, errOut *error, message string) {
func cleanupUpgradeSeriesLock(machine *Machine) error {
logger.Infof("removing any upgrade series lo... | Fix error on not found for cleanup. | juju_juju | train | go |
a3793198fa33c410489627a03fbb1ac8c7ecafe8 | diff --git a/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php b/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php
+++ b/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php
@@ -107,7 +107,7 @@ class TraceableAd... | Remove extra arg in call to TraceableAdapter::start() | symfony_symfony | train | php |
d265392911de38fb81fa04e36719dd06b3a1ea85 | diff --git a/djes/__init__.py b/djes/__init__.py
index <HASH>..<HASH> 100644
--- a/djes/__init__.py
+++ b/djes/__init__.py
@@ -1,3 +1,3 @@
-__version__ = "0.0.1a9"
+__version__ = "0.0.1a10"
default_app_config = "djes.apps.DJESConfig" | What the hell happened with the version? [ci skip] | theonion_djes | train | py |
6fb81377f9a64efb82ca92040d6653995a202ec1 | diff --git a/vk/wall.py b/vk/wall.py
index <HASH>..<HASH> 100644
--- a/vk/wall.py
+++ b/vk/wall.py
@@ -32,7 +32,7 @@ class Wall(object):
return wall
@property
- def attachments(self):
+ def get_attachments(self):
raise NotImplementedError
@property | Rename `attachments` => `get_attachments` | sgaynetdinov_py-vkontakte | train | py |
2eb7dde36a8604501d3e5f06a525db5798994d2b | diff --git a/Tests/Unit/DataStructures/Fixtures/TestingObjectWithPublicAccessors.php b/Tests/Unit/DataStructures/Fixtures/TestingObjectWithPublicAccessors.php
index <HASH>..<HASH> 100644
--- a/Tests/Unit/DataStructures/Fixtures/TestingObjectWithPublicAccessors.php
+++ b/Tests/Unit/DataStructures/Fixtures/TestingObjectW... | [BUGFIX] Use null as the default value for unset test data (#<I>) | oliverklee_ext-oelib | train | php |
86f7660898cb565929dfe87598b8ff8bdf516452 | diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/dimension.py
+++ b/holoviews/core/dimension.py
@@ -68,12 +68,12 @@ class Dimension(param.Parameterized):
super(Dimension, self).__init__(**dict(existing_params, **params))
- def __call... | Made __call__ signature of Dimension clearer | pyviz_holoviews | train | py |
9e89a758a4843aaedbabacd8b8542df8fe862b96 | diff --git a/includes/customizer/scripts/class-kirki-customizer-scripts-loading.php b/includes/customizer/scripts/class-kirki-customizer-scripts-loading.php
index <HASH>..<HASH> 100644
--- a/includes/customizer/scripts/class-kirki-customizer-scripts-loading.php
+++ b/includes/customizer/scripts/class-kirki-customizer-s... | Allow disabling the custom loader | aristath_kirki | train | php |
178264cfd571f61eb944842881b322bc6a3afe04 | diff --git a/tests/test_validate.py b/tests/test_validate.py
index <HASH>..<HASH> 100644
--- a/tests/test_validate.py
+++ b/tests/test_validate.py
@@ -89,8 +89,8 @@ class ValidateTests(unittest.TestCase):
self.assertEqual(3, len(path))
expected = (
- 'CRL indicates the end-entity certific... | Fix hard-fail test to allow response from CRL or OCSP | wbond_certvalidator | train | py |
100a55e0d4c2645da7dec4457ef9a4af041a5712 | diff --git a/nsim/analyses1/plots.py b/nsim/analyses1/plots.py
index <HASH>..<HASH> 100644
--- a/nsim/analyses1/plots.py
+++ b/nsim/analyses1/plots.py
@@ -36,7 +36,10 @@ def plot(ts, title=None, show=True):
for i in range(num_subplots):
ax = fig.add_subplot(num_subplots, 1, i+1)
ax.pl... | correctly label plot when Timeseries array has 3 axes | mattja_nsim | train | py |
7b80a0ad45b22adbe6ebe98e4ca0658ccdbe6fa7 | diff --git a/pyhomematic/devicetypes/sensors.py b/pyhomematic/devicetypes/sensors.py
index <HASH>..<HASH> 100644
--- a/pyhomematic/devicetypes/sensors.py
+++ b/pyhomematic/devicetypes/sensors.py
@@ -192,7 +192,7 @@ class AreaThermostat(HMSensor):
return int(self.getSensorData("HUMIDITY", channel))
-class W... | Switched order, it's primarily a HMSensor | danielperna84_pyhomematic | train | py |
15c92bd5c94a7645b6a695186b27bcb924389133 | diff --git a/km3pipe/core.py b/km3pipe/core.py
index <HASH>..<HASH> 100644
--- a/km3pipe/core.py
+++ b/km3pipe/core.py
@@ -31,7 +31,15 @@ class Pipeline(object):
self.modules.append(module_class(name=name, **kwargs))
def drain(self):
- """Activate the pump and let the flow go"""
+ """Activ... | Extends docstring with more information | tamasgal_km3pipe | train | py |
d57f58f3d97c7c5c46bbbc7bb56396aecd74a094 | diff --git a/generators/app/index.js b/generators/app/index.js
index <HASH>..<HASH> 100644
--- a/generators/app/index.js
+++ b/generators/app/index.js
@@ -5,7 +5,7 @@ module.exports = fountain.Base.extend({
pkg() {
this.mergeJson('package.json', {
devDependencies: {
- 'eslint': '^2.4.0',
+... | Freeze eslint until next release | FountainJS_generator-fountain-eslint | train | js |
e5fa46bf9fcdcad9cc468d533c618614cd6ce811 | diff --git a/lib/appsignal/transaction.rb b/lib/appsignal/transaction.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/transaction.rb
+++ b/lib/appsignal/transaction.rb
@@ -128,6 +128,7 @@ module Appsignal
def set_error(error)
return unless error
+ return unless Appsignal.active?
return if A... | Do not attempt to set an error when appsignal is not active | appsignal_appsignal-ruby | train | rb,rb |
0db3b548558fec8807714a623f28813532bcdbd4 | diff --git a/fetch_test.go b/fetch_test.go
index <HASH>..<HASH> 100644
--- a/fetch_test.go
+++ b/fetch_test.go
@@ -468,7 +468,7 @@ Crawl-delay: 1
t.Errorf("expected no errors, got %d", cnt)
}
// Assert that the total elapsed time is around 4 seconds
- if delay < 4*time.Second || delay > (4*time.Second+10*time.Mi... | add wiggle room when testing with race detector | PuerkitoBio_fetchbot | train | go |
57bf8253171a5c630b9ac3628bf87032ff390d14 | diff --git a/src/store/index.js b/src/store/index.js
index <HASH>..<HASH> 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -13,7 +13,6 @@ export default function createStore(initialState) {
return Object.assign({}, state, {
notebook: fetchedNotebook,
});
- return state;
... | Delete dangling return. | nteract_nteract | train | js |
be91c40b9af6c1b3f8ab26e1b7c661826ee632cf | diff --git a/tsdb/store.go b/tsdb/store.go
index <HASH>..<HASH> 100644
--- a/tsdb/store.go
+++ b/tsdb/store.go
@@ -188,6 +188,8 @@ func (s *Store) Open() error {
}
func (s *Store) WriteToShard(shardID uint64, points []Point) error {
+ s.mu.RLock()
+ defer s.mu.RUnlock()
sh, ok := s.shards[shardID]
if !ok {
r... | fix data race in WriteToShard | influxdata_influxdb | train | go |
8386c9cc983becb329b54f91db38e31a7906a4fd | diff --git a/modules/MatchProvider.js b/modules/MatchProvider.js
index <HASH>..<HASH> 100644
--- a/modules/MatchProvider.js
+++ b/modules/MatchProvider.js
@@ -24,20 +24,18 @@ class MatchProvider extends React.Component {
addMatch = match => {
const { matches } = this.state
- if (matches.indexOf(match) === ... | Remove some unneeded sanity checks. | ReactTraining_react-router | train | js |
ae66ec4e6ed1a873df4711982dc1c2d7d5f26b35 | diff --git a/lib/resource/index.js b/lib/resource/index.js
index <HASH>..<HASH> 100644
--- a/lib/resource/index.js
+++ b/lib/resource/index.js
@@ -303,7 +303,7 @@ Resource = new Class({
if( !canDispatch ){
bundle.data = {
message: util.format( "method not allowed - %s", requestmethod ),
- request:util.fo... | correct dispatch errors to look like booms
should have message, error, and statusCode properties | node-tastypie_tastypie | train | js |
5b198f26427ca2998fe6ac681e8141d9612add55 | diff --git a/flask_uwsgi_websocket/_gevent.py b/flask_uwsgi_websocket/_gevent.py
index <HASH>..<HASH> 100644
--- a/flask_uwsgi_websocket/_gevent.py
+++ b/flask_uwsgi_websocket/_gevent.py
@@ -1,6 +1,6 @@
from gevent import killall, sleep, spawn, wait
from gevent.event import Event
-from gevent.queue import Queue
+from... | Speed up Gevent Sends
The code wasn't able to send multiple messages that might have been backed up on the queue, this limits how fast a large number or requests could be sent out. | zeekay_flask-uwsgi-websocket | train | py |
24da55ddd22a4a072c354301fb6b7de4269ee5c8 | diff --git a/pyvisa_py/gpib.py b/pyvisa_py/gpib.py
index <HASH>..<HASH> 100644
--- a/pyvisa_py/gpib.py
+++ b/pyvisa_py/gpib.py
@@ -37,7 +37,7 @@ except ImportError:
GPIB_CTYPES = False
try:
import gpib # typing: ignore
- from Gpib import Gpib, GpibError # typing: ignore
+ from Gpib im... | gpib: do not import GpibError from Gpib since it lives in gpib module | pyvisa_pyvisa-py | train | py |
8542cae4c1b37a30c850cf7809e54ba13106ad38 | diff --git a/lib/Zyberspace/Telegram/Cli/RawClient.php b/lib/Zyberspace/Telegram/Cli/RawClient.php
index <HASH>..<HASH> 100644
--- a/lib/Zyberspace/Telegram/Cli/RawClient.php
+++ b/lib/Zyberspace/Telegram/Cli/RawClient.php
@@ -62,11 +62,15 @@ class RawClient
if (substr($answer, 0, 7) === 'ANSWER ') {
... | Added $bytesRead so we know what we have already read
(and don't read any additional data that belongs maybe to another command) | zyberspace_php-telegram-cli-client | train | php |
33df367da76e82c6d452eb90ab4df74b2ea9ac83 | diff --git a/server/nodejs-example.js b/server/nodejs-example.js
index <HASH>..<HASH> 100644
--- a/server/nodejs-example.js
+++ b/server/nodejs-example.js
@@ -8,7 +8,11 @@ var dontPersist = process.argv.length > 1 && (process.argv.slice(-1)[0] == ('--n
exports.handler = (function() {
var url=require('url'),
cr... | added POST /reset to server, so integration tests can clear data | remotestorage_remotestorage.js | train | js |
e72628ce616f7ff343c2583eb2348f51191c6aef | diff --git a/spec/pair_see_spec.rb b/spec/pair_see_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/pair_see_spec.rb
+++ b/spec/pair_see_spec.rb
@@ -152,23 +152,20 @@ describe PairSee do
it "sees that dev has no cards committed on" do
create_commit("Person1 nocard")
- expected = {"Person1" => []}
- ... | WIP Fixing formatting failures in cards by person | compwron_pairSee | train | rb |
509895846fc03840ccf9583175775e7d40ec2efb | diff --git a/symphony/lib/toolkit/class.cryptography.php b/symphony/lib/toolkit/class.cryptography.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/class.cryptography.php
+++ b/symphony/lib/toolkit/class.cryptography.php
@@ -48,7 +48,7 @@
break;
case 'pbkdf2':
default:
- return SSHA1::hash... | Something went wrong when rebasing patch 'SHA1 Simplified algo-prefix stuff'. | symphonycms_symphony-2 | train | php |
3e71d8cb348ed214edf41096e488b10b63bf680e | diff --git a/test/functional/ct_2_cancel.rb b/test/functional/ct_2_cancel.rb
index <HASH>..<HASH> 100644
--- a/test/functional/ct_2_cancel.rb
+++ b/test/functional/ct_2_cancel.rb
@@ -23,7 +23,7 @@ class CtCancelTest < Test::Unit::TestCase
# let reply immediately
end
- noisy
+ #noisy
wfid = @e... | ct_2 silent for now (still issue with it and ruote-couch) | jmettraux_ruote | train | rb |
68bb4502f6a73b7d027d0118b2fb51c1b8017eed | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -117,7 +117,7 @@ var config_angular = {
var config_jquery = {
name: "survey-jquery",
keywords: ["jquery", "jquery-plugin"],
- dependencies: { "jquery": "^3.1.1", "@types/react": "0.0.0" },
+ depend... | fixed required jQuery version to >=<I> (#<I>) | surveyjs_survey-library | train | js |
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.