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 |
|---|---|---|---|---|---|
fff6dc8f5ff2ecf9231194250168502606c8f548 | diff --git a/tasks/galvanize.js b/tasks/galvanize.js
index <HASH>..<HASH> 100644
--- a/tasks/galvanize.js
+++ b/tasks/galvanize.js
@@ -43,7 +43,16 @@ module.exports = function(grunt) {
grunt.registerTask(
'galvanize',
'Run a single task multiple times with different options',
- function(ta... | Added the ability to provide parameters to the grunt subtasks. | dylancwood_grunt-galvanize | train | js |
f3fe4005f5a2f8e23d0d55db87ade7d363262377 | diff --git a/src/ParentNode.php b/src/ParentNode.php
index <HASH>..<HASH> 100644
--- a/src/ParentNode.php
+++ b/src/ParentNode.php
@@ -385,7 +385,8 @@ abstract class ParentNode extends Node implements ParentNodeInterface {
$children = [];
$child = $this->head;
while ($child) {
- if (($key = array_se... | Fixed bad parentheses placement in ParentNode::__clone() which was breaking a bunch of stuff. | grom358_pharborist | train | php |
76a08770f7a5d2c3e6e396bf8ad4a4b495dedb1f | diff --git a/src/ConceptWikiSearch.js b/src/ConceptWikiSearch.js
index <HASH>..<HASH> 100644
--- a/src/ConceptWikiSearch.js
+++ b/src/ConceptWikiSearch.js
@@ -3,10 +3,9 @@ Ops.ConceptWikiSearch = function (baseURL) {
}
Ops.ConceptWikiSearch.prototype.byTag = function(appID, appKey, query, limit, branch, type, callb... | normal ajax call for the moment | openphacts_ops.js | train | js |
8b00eaa11fe991642240747eb9b11dfcdca27f32 | diff --git a/pythonzimbra/tools/auth.py b/pythonzimbra/tools/auth.py
index <HASH>..<HASH> 100644
--- a/pythonzimbra/tools/auth.py
+++ b/pythonzimbra/tools/auth.py
@@ -1,7 +1,7 @@
""" Run an AuthRequest against the zimbra server and return the
authentication token """
-from datetime import datetime
+import time
fro... | Fix timestamp on Windows
strftime("%s") is not cross-platform, time.time() will provide a floating-point timestamp on all platforms | Zimbra-Community_python-zimbra | train | py |
d2062bc23439d285791500b8f32638a5dd149b60 | diff --git a/Controller/UserController.php b/Controller/UserController.php
index <HASH>..<HASH> 100644
--- a/Controller/UserController.php
+++ b/Controller/UserController.php
@@ -249,7 +249,7 @@ class UserController extends Controller
$accountRepository = $this->getDoctrine()->getRepository( 'NetgenMoreBundle:... | Add email constraint on forgotpassword and resendActivationMail forms | netgen_site-bundle | train | php |
54dac8cd9c2c4668e2bdc529611fea78836af561 | diff --git a/esper-si-support/src/test/java/org/opencredo/esper/integration/config/xml/ChannelThroughputMonitorTest.java b/esper-si-support/src/test/java/org/opencredo/esper/integration/config/xml/ChannelThroughputMonitorTest.java
index <HASH>..<HASH> 100644
--- a/esper-si-support/src/test/java/org/opencredo/esper/inte... | added Thread.sleep not so nice | opencredo_opencredo-esper | train | java |
82f64d0d6634361597340479df3fa503ed29c58e | diff --git a/idbstore.js b/idbstore.js
index <HASH>..<HASH> 100644
--- a/idbstore.js
+++ b/idbstore.js
@@ -1111,8 +1111,6 @@
* @param {Object} [options.index=null] An IDBIndex to operate on
* @param {String} [options.order=ASC] The order in which to provide the
* results, can be 'DESC' or 'ASC'
- ... | Prevent setting autoContinue or writeAccess for query() | jensarps_IDBWrapper | train | js |
28a5f83d7b77cb82bfd08b547aaa6a4023f76bfc | diff --git a/etc/eslint/rules/stdlib.js b/etc/eslint/rules/stdlib.js
index <HASH>..<HASH> 100644
--- a/etc/eslint/rules/stdlib.js
+++ b/etc/eslint/rules/stdlib.js
@@ -99,6 +99,7 @@ rules[ 'stdlib/no-redeclare' ] = [ 'error', {
'globalsWhitelist': [
'ArrayBuffer',
'Buffer',
+ 'DataView',
'Float32Array',
'... | Add `DataView` to list of exceptions | stdlib-js_stdlib | train | js |
46d80674acd3ac8c4bda3e18824e8cd04f977fbe | diff --git a/packages/wdio-cli/src/config.js b/packages/wdio-cli/src/config.js
index <HASH>..<HASH> 100644
--- a/packages/wdio-cli/src/config.js
+++ b/packages/wdio-cli/src/config.js
@@ -15,7 +15,7 @@ export const SUPPORTED_REPORTER = [
' concise - https://www.npmjs.com/package/wdio-concise-reporter',
' testr... | wdio-timeline-reporter: provide right npm url | webdriverio_webdriverio | train | js |
f74deec3e2587617543933549bf06fb8632ae38e | diff --git a/code/dataobjects/Link.php b/code/dataobjects/Link.php
index <HASH>..<HASH> 100644
--- a/code/dataobjects/Link.php
+++ b/code/dataobjects/Link.php
@@ -262,6 +262,11 @@ class Link extends DataObject
// Prioritise local field over global settings
$allowed_types = $this->allowed_types... | Added error if type doesn't exist | sheadawson_silverstripe-linkable | train | php |
1b30fb9d37f9be013f7f2f2bf15e3b19cdc6440f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -142,6 +142,7 @@ module.exports = function () {
target_uri = url.parse( _options )
}
log.log( _gulp_prefix( FN_NAME + '$target_uri' ), target_uri )
+ _options = underscore.extend( _options, { 'headers': { '... | 'clean': restrict 'PROPFIND' to 'Depth: 1'. | millercl_gulp-webdav-sync | train | js |
b01544bb4fd055a8dd4a43ed3ce242561ebddd49 | diff --git a/pyfepdf.py b/pyfepdf.py
index <HASH>..<HASH> 100644
--- a/pyfepdf.py
+++ b/pyfepdf.py
@@ -1651,7 +1651,7 @@ class FEPDF(object):
@utils.inicializar_y_capturar_excepciones_simple
def MostrarPDF(self, archivo, imprimir=False):
- if sys.platform.startswith(("linux2", "java")):
+ if s... | modified pyfepdf.py due to platform errors | reingart_pyafipws | train | py |
6099878be7e01b38ad8756530c58266b8fa2d131 | diff --git a/tests/end_to_end/end_to_end_test.py b/tests/end_to_end/end_to_end_test.py
index <HASH>..<HASH> 100644
--- a/tests/end_to_end/end_to_end_test.py
+++ b/tests/end_to_end/end_to_end_test.py
@@ -81,10 +81,13 @@ class EndToEndTest(unittest.TestCase):
self.assertEqual(actual, expected)
def assertO... | Fixes to the end-to-end tests (#<I>)
* fix stderr
* bump | okpy_ok-client | train | py |
2e37a91d71187de5eb9bb098c4223569ce38fd1a | diff --git a/src/base/reader.js b/src/base/reader.js
index <HASH>..<HASH> 100644
--- a/src/base/reader.js
+++ b/src/base/reader.js
@@ -156,7 +156,7 @@ const Reader = Class.extend({
defaultValue :
defaultValue.trim()
.replace(",", ".")
- .replace(new RegExp(/[.,].tes... | Fix the bug when trailing zeros always get truncated | vizabi_vizabi | train | js |
792a8cfac33e72d5675f629097a1e329fc0c1a41 | diff --git a/src/Auditable.php b/src/Auditable.php
index <HASH>..<HASH> 100644
--- a/src/Auditable.php
+++ b/src/Auditable.php
@@ -31,7 +31,7 @@ trait Auditable
*
* @var string
*/
- protected $auditEvent;
+ public $auditEvent;
/**
* Is auditing disabled? | `$auditEvent` from protected to public to make AuditCustom possible | owen-it_laravel-auditing | train | php |
9a62c92efc2a887d17b1e2f862533613fe2de675 | diff --git a/pkg/codegen/python/gen.go b/pkg/codegen/python/gen.go
index <HASH>..<HASH> 100644
--- a/pkg/codegen/python/gen.go
+++ b/pkg/codegen/python/gen.go
@@ -901,6 +901,14 @@ func buildCaseMappingTables(pkg *schema.Package, snakeCaseToCamelCase, camelCase
recordProperty(prop, snakeCaseToCamelCase, camelCaseToS... | [codegen/python] Add missing props to casing table (#<I>) | pulumi_pulumi | train | go |
4750432d5ca61ac13ca9cf1aac6f79372cc991dc | diff --git a/lexer.go b/lexer.go
index <HASH>..<HASH> 100644
--- a/lexer.go
+++ b/lexer.go
@@ -298,7 +298,7 @@ func (self *_lexer) scanQuoteLiteral() _token {
if result != utf8.RuneError {
text.WriteRune(result)
} else {
- text.WriteRune(value)
+ return errorIllegal()
}
case 'x':
@@ -... | Recognize erroneous "\x..", "\u...." as errors
For example, "\x0G" is not valid | robertkrimen_otto | train | go,go |
e98cd15c2e73ec8cdddf61a6967afe83018a2a51 | diff --git a/tools/run_tests/xds_k8s_test_driver/tests/security_test.py b/tools/run_tests/xds_k8s_test_driver/tests/security_test.py
index <HASH>..<HASH> 100644
--- a/tools/run_tests/xds_k8s_test_driver/tests/security_test.py
+++ b/tools/run_tests/xds_k8s_test_driver/tests/security_test.py
@@ -109,7 +109,8 @@ class Sec... | fixup! xds-k8s driver: switch Backend Health Check from TCP to GRPC | grpc_grpc | train | py |
748536f14b2c866278dabf2b9e53d2779b6e1cb8 | diff --git a/tests/integration/test_unit.py b/tests/integration/test_unit.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_unit.py
+++ b/tests/integration/test_unit.py
@@ -154,7 +154,7 @@ async def test_resolve_local(event_loop):
)
try:
- await model.wait_for_idle(raise_on_erro... | a little tweak to fix the resolve_local test | juju_python-libjuju | train | py |
d100da03495b3ef42b4a793acf97fab5c241d102 | diff --git a/aiocache/serializers/serializers.py b/aiocache/serializers/serializers.py
index <HASH>..<HASH> 100644
--- a/aiocache/serializers/serializers.py
+++ b/aiocache/serializers/serializers.py
@@ -6,7 +6,7 @@ logger = logging.getLogger(__name__)
try:
import ujson as json
except ImportError:
- logger.war... | Downgrade logger.warning to just logger.debug if optional ujson is not installed (#<I>) | argaen_aiocache | train | py |
0daf68b10c1db29669a7b280de24e771e22de3e1 | diff --git a/simuvex/procedures/libc___so___6/recv.py b/simuvex/procedures/libc___so___6/recv.py
index <HASH>..<HASH> 100644
--- a/simuvex/procedures/libc___so___6/recv.py
+++ b/simuvex/procedures/libc___so___6/recv.py
@@ -8,6 +8,5 @@ class recv(simuvex.SimProcedure):
#pylint:disable=arguments-differ
def ru... | Quick fix for the API mismatch between recv and posix.read | angr_angr | train | py |
4fa2f604da999df6de80c36b9647ac270840488a | diff --git a/lib/bucket.js b/lib/bucket.js
index <HASH>..<HASH> 100644
--- a/lib/bucket.js
+++ b/lib/bucket.js
@@ -6,10 +6,11 @@ const _ = require('lodash');
const read = require('stream-read');
const mongoose = require('mongoose');
const {
- mongo: { GridFSBucket },
+ GridFSBucket,
Types: { ObjectId },
-} = mo... | Refactor to use mongoose-common helpers | lykmapipo_mongoose-gridfs | train | js |
42c7c3916b279873d3c26611e41dbf3b8243b312 | diff --git a/nifty-core/src/main/java/com/facebook/nifty/core/NiftyDispatcher.java b/nifty-core/src/main/java/com/facebook/nifty/core/NiftyDispatcher.java
index <HASH>..<HASH> 100644
--- a/nifty-core/src/main/java/com/facebook/nifty/core/NiftyDispatcher.java
+++ b/nifty-core/src/main/java/com/facebook/nifty/core/NiftyD... | Skip writing responses if client disconnected while the request was running | facebookarchive_nifty | train | java |
60454da6507f9f391e7943e002136b8e84c32521 | diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index <HASH>..<HASH> 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -25,9 +25,9 @@ const (
)
var (
- MinHashFetch = 512 // Minimum amount of hashes to not consider a peer stalling
- MaxHashFetch = 2048 // Am... | eth/downloader: reduce hash fetches in prep for eth/<I> | ethereum_go-ethereum | train | go |
892b1dd08a5f586eed2a62303daffe2bbf8c1c54 | diff --git a/lib/specinfra/backend/exec.rb b/lib/specinfra/backend/exec.rb
index <HASH>..<HASH> 100644
--- a/lib/specinfra/backend/exec.rb
+++ b/lib/specinfra/backend/exec.rb
@@ -122,11 +122,11 @@ module Specinfra
pid = spawn(cmd, :out => out_w, :err => err_w)
+ pid, stats = Process.waitpid2(pid... | Close communication pipes after process finished
During process living, those pipes are used. | mizzy_specinfra | train | rb |
d476da297eb9e4604c139d8a6735e536d710ce76 | diff --git a/components/RefinementList.js b/components/RefinementList.js
index <HASH>..<HASH> 100644
--- a/components/RefinementList.js
+++ b/components/RefinementList.js
@@ -36,14 +36,13 @@ class RefinementList extends React.Component {
//
// So the code here checks if the click was done on or in a LABEL. If thi... | fix(RefinementList): click on child should not click on parent
Before this fix, when clicking inside the child of a <a>..</a> would
propagate to the parent and thus in hierarchical facets would close the
parent as soon as we open the child.
fixes #<I> | algolia_instantsearch.js | train | js |
80509ae6688c11d1caeba99624786ca4c6a49047 | diff --git a/abydos/clustering.py b/abydos/clustering.py
index <HASH>..<HASH> 100644
--- a/abydos/clustering.py
+++ b/abydos/clustering.py
@@ -88,7 +88,7 @@ def phonetic_fingerprint(phrase, phonetic_algorithm=double_metaphone, *args):
phonetic = ''
for word in phrase.split():
word = phonetic_algorith... | fixed Python3 version of phonetic_fingerprint (which was grabbing the first letter of strings, not just the first member of collections) | chrislit_abydos | train | py |
7799af981b1a3c295a530bfe4e2c214838630cfc | diff --git a/server/src/com/thoughtworks/go/server/util/GoMacLauncher.java b/server/src/com/thoughtworks/go/server/util/GoMacLauncher.java
index <HASH>..<HASH> 100644
--- a/server/src/com/thoughtworks/go/server/util/GoMacLauncher.java
+++ b/server/src/com/thoughtworks/go/server/util/GoMacLauncher.java
@@ -101,10 +101,1... | Do not close the stdout/error streams of the go server process that the mac launcher executes.
When runnong the mac launcher on jdk8 - this seems to cause the
child process (the go.jar process) to crash out because it writes to stdout.
This fix will perform the equivalent of `java -jar go.jar 2>&1 > go-server.log` | gocd_gocd | train | java |
1dc48cda5e5580de078cb50dd6b07c3d63f5be62 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,9 +5,9 @@ import setuptools
# PYPY vs cpython
if platform.python_implementation() == 'PyPy':
- install_requires = ['psycopg2cffi>=2.7.2,<2.8']
+ install_requires = ['psycopg2cffi>=2.7.2,<2.9']
else:
- install_... | Widen pin (#<I>) and include <I>, <I> in support classifiers | gmr_queries | train | py |
8a46793d52d21e6471873427853f6d4814a22db2 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,9 +51,9 @@ copyright = u'2011, Marc Brinkmann'
# built documents.
#
# The short X.Y version.
-version = '0.4'
+version = '0.5'
# The full version, including alpha/beta/rc tags.
-release = '0.4dev'
+rele... | Next version will be <I>. | mbr_flask-kvsession | train | py,py |
a750d2359faaa39eaf44065d5e38ec807c136198 | diff --git a/salt/modules/file.py b/salt/modules/file.py
index <HASH>..<HASH> 100644
--- a/salt/modules/file.py
+++ b/salt/modules/file.py
@@ -508,11 +508,8 @@ def contains(path, text):
try:
with open(path, 'r') as fp_:
- while True:
- data = fp_.readline()
- if ... | make more python like | saltstack_salt | train | py |
ddf3425f4434b3455fe961b476df14c594985ed7 | diff --git a/spinoff/util/testing.py b/spinoff/util/testing.py
index <HASH>..<HASH> 100644
--- a/spinoff/util/testing.py
+++ b/spinoff/util/testing.py
@@ -85,10 +85,11 @@ def assert_not_raises(exc_class=Exception, message=None):
def assert_raises(exc_class=Exception, message=None):
if isinstance(exc_class, basest... | Added the ability to inspect exceptions successfully caught by assert_raises | eallik_spinoff | train | py |
385210c13e2771172c598b68fc351cb50383450f | diff --git a/xmantissa/js/Mantissa/ScrollTable.js b/xmantissa/js/Mantissa/ScrollTable.js
index <HASH>..<HASH> 100644
--- a/xmantissa/js/Mantissa/ScrollTable.js
+++ b/xmantissa/js/Mantissa/ScrollTable.js
@@ -1616,7 +1616,7 @@ Mantissa.ScrollTable.ScrollingWidget.methods(
self._requestWaiting = f... | Revert an unintentional hunk from r<I>
This might have caused some problems with the scrolltable.
Author: glyph
Reviewer: exarkun
Re #<I>
This doesn't fix the issue, because the codepath is still untested, but at least it removes the potential breakage for now. | twisted_mantissa | train | js |
aa1ebfa5e5ae19060a013b24bf7395fcb264febf | diff --git a/client.py b/client.py
index <HASH>..<HASH> 100644
--- a/client.py
+++ b/client.py
@@ -306,8 +306,16 @@ class NodeProxy(dict):
else:
return Node("%s/%s" % (self.node_url, key))
- def get(self, key):
- return self.__getitem__(key)
+ def get(self, key, *args, **kwargs):
+ ... | Added a default optional value for return when a node doesn't exist. | versae_neo4j-rest-client | train | py |
5ee954653da445490a615a6938b80881e1c331c9 | diff --git a/app/models/user.rb b/app/models/user.rb
index <HASH>..<HASH> 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -16,6 +16,7 @@ class User < ActiveRecord::Base
validates_presence_of :last_name
scope :alphabetically, order('last_name, first_name')
+ scope :administrators, where('admin = ?... | Added administrators scope to user model. | allesklar_tkh_authentication | train | rb |
8697efc4cffb2e592af4d788bf35e5e42deb6aec | diff --git a/graylog2-rest-client/src/main/java/org/graylog2/restclient/lib/DateTools.java b/graylog2-rest-client/src/main/java/org/graylog2/restclient/lib/DateTools.java
index <HASH>..<HASH> 100644
--- a/graylog2-rest-client/src/main/java/org/graylog2/restclient/lib/DateTools.java
+++ b/graylog2-rest-client/src/main/j... | Add method to DateTools to get user timezone id | Graylog2_graylog2-server | train | java |
623869fd67a8fa977f147f504e6cfee7397e41fc | diff --git a/src/DataForm/Field/Multiselect.php b/src/DataForm/Field/Multiselect.php
index <HASH>..<HASH> 100644
--- a/src/DataForm/Field/Multiselect.php
+++ b/src/DataForm/Field/Multiselect.php
@@ -1,6 +1,6 @@
<?php namespace Zofe\Rapyd\DataForm\Field;
-use Illuminate\Support\Facades\Form;
+use Collective\Html\Form... | Bug into this file
You can't use iluminate form in laravel <I> | zofe_rapyd-laravel | train | php |
6ee5eb336f11570a89a10e0cc042703e180dad4c | diff --git a/jobs/config_test.py b/jobs/config_test.py
index <HASH>..<HASH> 100755
--- a/jobs/config_test.py
+++ b/jobs/config_test.py
@@ -628,7 +628,10 @@ class JobTest(unittest.TestCase):
'both set or unset: %s' % job)
if job.startswith('pull-kubernetes-'):
- ... | Add an exception for federation pre-submit job to contain specific cluster name | kubernetes_test-infra | train | py |
934c24be0c2d45356c97928b9cb7589fba0a400d | diff --git a/lib/View/CRUD.php b/lib/View/CRUD.php
index <HASH>..<HASH> 100644
--- a/lib/View/CRUD.php
+++ b/lib/View/CRUD.php
@@ -60,6 +60,20 @@ class View_CRUD extends View
public $form_class='Form';
/**
+ * You can pass additional options for grid using this array
+ *
+ * $this->add('CRUD', a... | pass options for form and grid in CRUD (for <I>.x) | atk4_atk4 | train | php |
3bb54a21163df74d7b2bfc5d93269c7e5a745603 | diff --git a/nhlib/geo/polygon.py b/nhlib/geo/polygon.py
index <HASH>..<HASH> 100644
--- a/nhlib/geo/polygon.py
+++ b/nhlib/geo/polygon.py
@@ -136,8 +136,8 @@ class Polygon(object):
.. note::
In extreme cases where dilation of a polygon creates holes, thus
- resulting in a multi-polyg... | geo/polygon: re-worded a comment | gem_oq-engine | train | py |
4249142da80f407fa72a64223777c3253608c4f2 | diff --git a/fireplace/cards/__init__.py b/fireplace/cards/__init__.py
index <HASH>..<HASH> 100644
--- a/fireplace/cards/__init__.py
+++ b/fireplace/cards/__init__.py
@@ -86,7 +86,7 @@ def merge(id):
if "cardlist" not in globals():
with open(_PATH, "r") as f:
- db = cardxml.load(_PATH)
+ db, xml = cardxml.load(_... | Return the loaded xml in cardxml.load()
We need it for reasons. | jleclanche_fireplace | train | py,py |
609881db923dc096bbc9ee33faedc3f6cecc0c46 | diff --git a/lib/mini_magick/shell.rb b/lib/mini_magick/shell.rb
index <HASH>..<HASH> 100644
--- a/lib/mini_magick/shell.rb
+++ b/lib/mini_magick/shell.rb
@@ -52,9 +52,11 @@ module MiniMagick
pid, stdin, stdout, stderr = POSIX::Spawn.popen4(*command)
[stdin, stdout, stderr].each(&:binmode)
stdin.wr... | Read process output before waiting for exit
The process output is buffered, and the buffer size is limited. The
process will block on writing to stdout when the buffer is full. That's
why we need to read all data from stdout before waiting for the process
to exit.
I noticed the issue with generating a <I>K image. | minimagick_minimagick | train | rb,rb |
05fd6c34a8ea673a4b02c88da189bc0657b71399 | diff --git a/chef-server-api/app/helpers/tarball_helper.rb b/chef-server-api/app/helpers/tarball_helper.rb
index <HASH>..<HASH> 100644
--- a/chef-server-api/app/helpers/tarball_helper.rb
+++ b/chef-server-api/app/helpers/tarball_helper.rb
@@ -27,7 +27,7 @@ module Merb
raise FileParameterException, "invalid par... | Accounting for tarballs whose entries begin with ./ in tarball validation | chef_chef | train | rb |
8e6f859269c959ad80a1b71e49b808574cdafeae | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -153,7 +153,7 @@ SteamCommunity.prototype.getWebApiKey = function(domain, callback) {
"uri": "https://steamcommunity.com/dev/apikey",
"followRedirect": false
}, function(err, response, body) {
- if(self._checkHttpErro... | Properly handle all instances of access being denied because not logged in | DoctorMcKay_node-steamcommunity | train | js |
1c9c9175c1c7f738430f970863be76282453ff64 | diff --git a/extend.js b/extend.js
index <HASH>..<HASH> 100644
--- a/extend.js
+++ b/extend.js
@@ -28,7 +28,7 @@
a.getBar() == 'sim'
*/
-module.exports = function merge(target, extendWith) {
+module.exports = function extend(target, extendWith) {
target = target || {}
for (var key in extendWith) {
if (typeo... | The function is called extend, not merge | marcuswestin_std.js | train | js |
a1037569cf2a1a231d341a420ab7ae70ba351ad6 | diff --git a/app/controllers/organizations_controller.rb b/app/controllers/organizations_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/organizations_controller.rb
+++ b/app/controllers/organizations_controller.rb
@@ -46,7 +46,7 @@ class OrganizationsController < ApplicationController
end
def i... | <I> - search - fix error on org search
Without this change, searching on organizations page w/ something like
"AC" would generate a 'column "name" is ambiguous' error. | Katello_katello | train | rb |
669024dbbf61025a366ceb76ca81a2c4cda5886c | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/MethodCanBeStatic.java b/core/src/main/java/com/google/errorprone/bugpatterns/MethodCanBeStatic.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/MethodCanBeStatic.java
+++ b/core/src/main/java/com/google/errorpr... | Weaken the wording for the MethodCanBeStatic suggestion.
MOE_MIGRATED_REVID=<I> | google_error-prone | train | java |
fb963fa4280a6a5a7d0dc83088c212c26fb05baf | diff --git a/plugins/CustomDimensions/Archiver.php b/plugins/CustomDimensions/Archiver.php
index <HASH>..<HASH> 100644
--- a/plugins/CustomDimensions/Archiver.php
+++ b/plugins/CustomDimensions/Archiver.php
@@ -8,6 +8,7 @@
*/
namespace Piwik\Plugins\CustomDimensions;
+use Piwik\Common;
use Piwik\Config;
use Piwi... | Destroy temporarily created table in customdimensions archiver (#<I>) | matomo-org_matomo | train | php |
bcc6c97b16f763a602c6c3eca04ef86ef6c63112 | diff --git a/test/gearsloth_test.js b/test/gearsloth_test.js
index <HASH>..<HASH> 100644
--- a/test/gearsloth_test.js
+++ b/test/gearsloth_test.js
@@ -61,10 +61,22 @@ describe('Array', function(){
gearsloth.decodeTask(testBuffer)
}).to.throw(Error);
});
+ test('should throw an error when task co... | even more tests for decodeTask | meetings_gearsloth | train | js |
6e6e6eba37dccd220fdd38e6a8c59db60c3304e8 | diff --git a/test/js/TinCanTest.js b/test/js/TinCanTest.js
index <HASH>..<HASH> 100644
--- a/test/js/TinCanTest.js
+++ b/test/js/TinCanTest.js
@@ -36,11 +36,19 @@ if (typeof console !== "undefined" && console.log) {
ok(xhr instanceof XDomainRequest, desc);
}
else {
- if (typeof... | Correct unit test assertion for XHR object | RusticiSoftware_TinCanJS | train | js |
796e3500b4b6f756c081b36f28a9c69399a3d18e | diff --git a/bigquery/nox.py b/bigquery/nox.py
index <HASH>..<HASH> 100644
--- a/bigquery/nox.py
+++ b/bigquery/nox.py
@@ -144,7 +144,6 @@ def snippets(session, py):
# Run py.test against the system tests.
session.run(
'py.test',
- '--quiet',
os.path.join(os.pardir, 'docs', 'bigquery'... | Don't suppress 'dots' output for snippets tests. (#<I>)
CI aborts the run if the test goes longer than <I> minutes without emitting
any output.
This change also eases running with verbose output for debugging long-
running tests, e.g., 'nox -e snippets -- --verbose'.
See #<I>. | googleapis_google-cloud-python | train | py |
5a6ff8a137561f3d4a0464c6bd88b8369679510b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -39,6 +39,8 @@ module.exports = function (file) {
try {
cache[file] = { compiled: compile(file, data), hash: hash };
} catch (error) {
+ error.file = file;
+ error.body = data;
thi... | Expose filename and script source on errors | thlorenz_caching-coffeeify | train | js |
c968dfd6e34746cd346c239b99f0f3264269ef88 | diff --git a/lib/twitter-ads/version.rb b/lib/twitter-ads/version.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter-ads/version.rb
+++ b/lib/twitter-ads/version.rb
@@ -2,5 +2,5 @@
# Copyright (C) 2015 Twitter, Inc.
module TwitterAds
- VERSION = '0.3.3'.freeze
+ VERSION = '0.3.4'.freeze
end | [minor] bumping version to <I> | twitterdev_twitter-ruby-ads-sdk | train | rb |
f4c133efbb8d39dfe58f11b4b1bd48c981df1add | diff --git a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php
+++ b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.p... | removed trailing dot to make it consistent with other validator messages | symfony_symfony | train | php |
010a019c50cff028935e62507b2bf649e9b86e70 | diff --git a/src/bootstrap.js b/src/bootstrap.js
index <HASH>..<HASH> 100644
--- a/src/bootstrap.js
+++ b/src/bootstrap.js
@@ -3,6 +3,11 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*-------------------------------------------------------------------------------... | process.noAsar in forked processes | Microsoft_vscode | train | js |
39799356e3f4b57ab25f7072928b9c9719105216 | diff --git a/webpype/webpype.py b/webpype/webpype.py
index <HASH>..<HASH> 100644
--- a/webpype/webpype.py
+++ b/webpype/webpype.py
@@ -3,18 +3,21 @@ The WebPype Class file. WebPype follows the spec of WebPipes ( webpipes.org )
'''
import json
-import urllib2
+try:
+ from urllib.request import urlopen, Request
+e... | Started on making webpype.py compatible
with Python 3 | ajvb_webpype | train | py |
f8d178c0aa10d227a64d47eac884741e61bc3434 | diff --git a/examples/attachment-stream.js b/examples/attachment-stream.js
index <HASH>..<HASH> 100644
--- a/examples/attachment-stream.js
+++ b/examples/attachment-stream.js
@@ -6,15 +6,15 @@ const db = require('../index')
const baseUrl = 'http://localhost:5984'
const dbName = 'testdb_' + Date.now()
-const tempfil... | fix streaming example
os.userInfo() does not exist in Node.js v4.x | pmorjan_couchdb-promises | train | js |
db7f6987a75a24af6fa86871c786a7fdf397530a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -70,14 +70,14 @@ def setup_package():
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
- 'Programming Langu... | updating supported Python versions in setup.py | pysal_esda | train | py |
b00a2cf5c452416c42828a2bd8e7040baf486ade | diff --git a/pmagpy/pmag.py b/pmagpy/pmag.py
index <HASH>..<HASH> 100755
--- a/pmagpy/pmag.py
+++ b/pmagpy/pmag.py
@@ -1579,8 +1579,13 @@ def open_file(infile):
print("-W- ", type(ex), ex)
return []
# don't leave a blank line at the end
- if not lines[-1]:
- return lines[:-1]
+ i = 0... | strip blank lines from the end of files | PmagPy_PmagPy | train | py |
6081ce79e1b5288ae349e6379d9a12a6198a42e0 | diff --git a/src/Input.php b/src/Input.php
index <HASH>..<HASH> 100644
--- a/src/Input.php
+++ b/src/Input.php
@@ -15,7 +15,7 @@ class Input
//public static $defaultFlags = FILTER_FLAG_STRIP_LOW | FILTER_FLAG_STRIP_HIGH;
// Encode HTML special chatrs, newlines, etc.
- public static $defaultFilter = FILT... | changed default filter to FILTER_SANITIZE_STRING | innobrig_flex-input | train | php |
0b9a63b512b74b6af06dce3a16c992eaad49375e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -44,6 +44,7 @@ setup(name = 'srp',
download_url = 'http://pypi.python.org/pypi/srp',
long_description = long_description,
provides = ['srp'],
+ install_requires = ['six'],
... | Added dependency on six to the package spec | cocagne_pysrp | train | py |
30304889afae4b6934dd73b56ef54b88b299a816 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -59,12 +59,13 @@ setup(
author='Peter "fracpete" Reutemann',
author_email='pythonwekawrapper@gmail.com',
install_requires=[
- "javabridge>=1.0.14",
+ "python-javabridge>=4.0.0",
"numpy",
+... | switched to python-javabridge as dependency | fracpete_python-weka-wrapper3 | train | py |
017ecfce57f6d5241555d2c933e0de254a4d62fd | diff --git a/src/MUIDataTable.js b/src/MUIDataTable.js
index <HASH>..<HASH> 100644
--- a/src/MUIDataTable.js
+++ b/src/MUIDataTable.js
@@ -338,7 +338,7 @@ class MUIDataTable extends React.Component {
let sortIndex = null;
let sortDirection = null;
- const data = this.transformData(props);
+ const data... | bugfix: delete multiple rows (#<I>) | gregnb_mui-datatables | train | js |
5493bec86f436e1b7b9bff0dd03c210777eec5cd | diff --git a/prow/plugins/lifecycle/lifecycle.go b/prow/plugins/lifecycle/lifecycle.go
index <HASH>..<HASH> 100644
--- a/prow/plugins/lifecycle/lifecycle.go
+++ b/prow/plugins/lifecycle/lifecycle.go
@@ -32,7 +32,7 @@ const deprecatedWarn = true
var (
deprecatedTick = time.Tick(time.Hour) // Warn once per hour
- li... | Simplify the lifecycle comment regex | kubernetes_test-infra | train | go |
3209ab4bcbbb1a46420e6f7191a5fa22978c8b41 | diff --git a/lib/Alchemy/Phrasea/Setup/ConfigurationTester.php b/lib/Alchemy/Phrasea/Setup/ConfigurationTester.php
index <HASH>..<HASH> 100644
--- a/lib/Alchemy/Phrasea/Setup/ConfigurationTester.php
+++ b/lib/Alchemy/Phrasea/Setup/ConfigurationTester.php
@@ -14,6 +14,7 @@ namespace Alchemy\Phrasea\Setup;
use Alchemy\P... | Attach probe for version <I> | alchemy-fr_Phraseanet | train | php |
2a7a070ea4c7d12d24c3dc4e460675c686efde25 | diff --git a/h2o-py/h2o/frame.py b/h2o-py/h2o/frame.py
index <HASH>..<HASH> 100644
--- a/h2o-py/h2o/frame.py
+++ b/h2o-py/h2o/frame.py
@@ -584,7 +584,7 @@ class H2OFrame:
else:
cr = csv.reader(response)
rows = []
- for row in cr: rows.append(row)
+ for row in cr: rows.append([''] if row == ... | tabulate package can't handle empty lists, so turn empty lists into list with empty string, for | h2oai_h2o-3 | train | py |
2db1921001af112a477e2bedfaf3c12fe7a98cdb | diff --git a/astrobase/varclass/periodicfeatures.py b/astrobase/varclass/periodicfeatures.py
index <HASH>..<HASH> 100644
--- a/astrobase/varclass/periodicfeatures.py
+++ b/astrobase/varclass/periodicfeatures.py
@@ -306,7 +306,10 @@ def periodogram_features(pgramlist, times, mags, errs,
pgramlist is a list of dic... | periodicfeatures: still working on periodogram_features... | waqasbhatti_astrobase | train | py |
4ce8d5db0d75358833608c15e51a94b4021c9c47 | diff --git a/lib/client/api.go b/lib/client/api.go
index <HASH>..<HASH> 100644
--- a/lib/client/api.go
+++ b/lib/client/api.go
@@ -409,7 +409,11 @@ func (tc *TeleportClient) Join(sessionID session.ID, input io.Reader) (err error
return trace.NotFound(notFoundErrorMessage)
}
// connect to server:
- nc, err := pro... | --cluster flag was ignored for `tsh join`
Looks like `client.ConnectToNode()` always needs to be given the site name as
in "host:port@site" format. We do this for SSH, but forgot to do this
for Join.
Fixes #<I> | gravitational_teleport | train | go |
58447f9eeec8180ab8aa06385fbdb5e13e602e7a | diff --git a/genomepy/provider.py b/genomepy/provider.py
index <HASH>..<HASH> 100644
--- a/genomepy/provider.py
+++ b/genomepy/provider.py
@@ -24,6 +24,10 @@ from appdirs import user_cache_dir
from genomepy import exceptions
from genomepy.utils import filter_fasta
+# Create .cache dir if it does not exist
+if not o... | create .cache dir if it doesn't exist | simonvh_genomepy | train | py |
8b0496484f587f0f71ea7e50cd84a07c2227828f | diff --git a/transformers/socket.io/server.js b/transformers/socket.io/server.js
index <HASH>..<HASH> 100644
--- a/transformers/socket.io/server.js
+++ b/transformers/socket.io/server.js
@@ -67,7 +67,13 @@ module.exports = function server() {
// Use our own custom logger instance so we can emit `log` events instea... | [fix] Set client-store-expire option to 0 for socket.io | primus_primus | train | js |
870f3fa56dc83b87270901cd62c1c646306ebcc3 | diff --git a/lib/cucumber/rails/rspec.rb b/lib/cucumber/rails/rspec.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber/rails/rspec.rb
+++ b/lib/cucumber/rails/rspec.rb
@@ -3,7 +3,7 @@ require 'cucumber/rails/world'
begin
require 'rspec/rails/matchers'
- [Cucumber::Rails::World, ActionController::Integration::Sess... | Fix ActionController::Integration deprecations
ActionController::Integration has been deprecated in Rails <I> and
was removed in Rails <I>. User ActionDispatch::Integration instead. | cucumber_cucumber-rails | train | rb |
400a0e461e1337dc96e419863734701472867325 | diff --git a/test/test_nested.rb b/test/test_nested.rb
index <HASH>..<HASH> 100644
--- a/test/test_nested.rb
+++ b/test/test_nested.rb
@@ -52,7 +52,7 @@ describe 'A' do
would 'skip' do
skip
- should.flunk
+ flunk
end
end | now it's simply flunk | godfat_pork | train | rb |
60f504a4708a43ca5cb578cd280f3958f77619f3 | diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php
index <HASH>..<HASH> 100644
--- a/cake/libs/controller/controller.php
+++ b/cake/libs/controller/controller.php
@@ -557,6 +557,7 @@ class Controller extends Object {
*
* @return mixed Associative array of the HTTP codes as keys, ... | Refactored Controller::header() to use the CakeResponse object, deprecated Controller::header() and Controller::httpCodes() | cakephp_cakephp | train | php |
fb106e071093837020c95bd6bf31da4728003a72 | diff --git a/pact/pact-common/src/main/java/eu/stratosphere/pact/common/io/BinaryInputFormat.java b/pact/pact-common/src/main/java/eu/stratosphere/pact/common/io/BinaryInputFormat.java
index <HASH>..<HASH> 100644
--- a/pact/pact-common/src/main/java/eu/stratosphere/pact/common/io/BinaryInputFormat.java
+++ b/pact/pact-... | - removed verbose system.out.print statement | apache_flink | train | java |
67da71bb04b5309088c79bbcdd55da684daeb6a8 | diff --git a/db/dbtest/db.go b/db/dbtest/db.go
index <HASH>..<HASH> 100644
--- a/db/dbtest/db.go
+++ b/db/dbtest/db.go
@@ -15,19 +15,30 @@ import (
// ClearAllCollections removes all registers from all collections in the given
// Mongo database.
func ClearAllCollections(db *mgo.Database) error {
+ return ClearAllCol... | db/dbtest: func to clear all collections except specified ones | tsuru_tsuru | train | go |
b5dbd860e5c6c3e46a581c12e847b24aa6ca80f3 | diff --git a/packages/lineup/webpack.config.babel.js b/packages/lineup/webpack.config.babel.js
index <HASH>..<HASH> 100644
--- a/packages/lineup/webpack.config.babel.js
+++ b/packages/lineup/webpack.config.babel.js
@@ -11,7 +11,6 @@ export default {
'@candela/core',
'd3',
'datalib',
- 'font-awesome-we... | build: bundle font-awesome with lineup to prevent build problems | Kitware_candela | train | js |
0cbf6a27b556859451fa5ad7747b2cbbc2767e44 | diff --git a/closure/goog/ui/slider.js b/closure/goog/ui/slider.js
index <HASH>..<HASH> 100644
--- a/closure/goog/ui/slider.js
+++ b/closure/goog/ui/slider.js
@@ -17,12 +17,16 @@
* range by dragging a thumb. The selected value is exposed through getValue().
*
* To decorate, the slider should be bound to an elemen... | update closure slider class header comment to correctly describe what class names to use on the element to be decorated and how to set orientation.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
5bbce9325f650fc32c5e5b662e17338025072bea | diff --git a/swf.js b/swf.js
index <HASH>..<HASH> 100644
--- a/swf.js
+++ b/swf.js
@@ -113,7 +113,6 @@ sb.swf.prototype = {
}
return html;
-
},
/**
@@ -125,15 +124,8 @@ sb.swf.prototype = {
mySwf.embed('#someElement');
*/
embed : function(el){
- el = $(el);
- if(sb.browser.agent == 'ie'){
-... | removed unused ie check in swf embed | surebert_surebert-framework | train | js |
fd6c95a35822b7fa6ee4ac0f1f0abf755a3bbf2f | diff --git a/src/main/java/net/bootsfaces/component/selectBooleanCheckbox/SelectBooleanCheckboxRenderer.java b/src/main/java/net/bootsfaces/component/selectBooleanCheckbox/SelectBooleanCheckboxRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/bootsfaces/component/selectBooleanCheckbox/SelectBooleanCheck... | made sure that the hidden checkbox helper is invisible even if AngularFaces changes the type of the input tag | TheCoder4eu_BootsFaces-OSP | train | java |
2c071e0246cd441c51bdbdbfba6c69480e1c5ae4 | diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -86,10 +86,10 @@ module Rails
desc: "Skip bootsnap... | minor grammar fix
"setup" is a noun, "set up" is the verb phrase | rails_rails | train | rb |
4be49517ac2d6b454a107bedc2ea187a70259adb | diff --git a/wireprotocol/3_2_support.js b/wireprotocol/3_2_support.js
index <HASH>..<HASH> 100644
--- a/wireprotocol/3_2_support.js
+++ b/wireprotocol/3_2_support.js
@@ -49,7 +49,11 @@ var executeWrite = function(pool, bson, type, opsField, ns, ops, options, callba
// If we have collation passed in
if(options.... | Minor fix for collation handling for update/remove | mongodb_node-mongodb-native | train | js |
59bc86d8796ee2c0a54a7edf668a0ca25742a0f5 | diff --git a/common/test/java/org/openqa/selenium/ElementFindingTest.java b/common/test/java/org/openqa/selenium/ElementFindingTest.java
index <HASH>..<HASH> 100644
--- a/common/test/java/org/openqa/selenium/ElementFindingTest.java
+++ b/common/test/java/org/openqa/selenium/ElementFindingTest.java
@@ -412,13 +412,16 @@... | EranMes: Marking the CSS finding tests as requiring a fresh driver. These tests could not find the sizzle.js file when being run from the FirefoxDriverTestSuite. It seems that something is erasing the Profile directory and this file is not there anymore, during the tests.
r<I> | SeleniumHQ_selenium | train | java |
21548f90cca7ff00593e1c42ec792190423dd4e7 | diff --git a/lib/Wave/Di/Dependency.php b/lib/Wave/Di/Dependency.php
index <HASH>..<HASH> 100644
--- a/lib/Wave/Di/Dependency.php
+++ b/lib/Wave/Di/Dependency.php
@@ -74,6 +74,8 @@ class Dependency
if (is_null($this->object)) {
if ($this->blueprint instanceof \Closure) {
$this->ob... | Fixed issues in which Dependency wraps instances of itself | DaGhostman_codewave | train | php |
49be37dcf959f1928f7516cfcd2b2f33ef7eaa39 | diff --git a/src/sync.js b/src/sync.js
index <HASH>..<HASH> 100644
--- a/src/sync.js
+++ b/src/sync.js
@@ -553,14 +553,14 @@ SyncApi.prototype._sync = function(syncOptions) {
}
if (!isCachedResponse) {
- debuglog('Starting sync since=' + syncToken);
+ //debuglog('Starting sync since=' + syncTo... | remove incredibly verbose start/complete sync logging | matrix-org_matrix-js-sdk | train | js |
76e2d00d12786742b44b8c2cab3fdd9bb0882b36 | diff --git a/lib/oauth/client/action_controller_request.rb b/lib/oauth/client/action_controller_request.rb
index <HASH>..<HASH> 100644
--- a/lib/oauth/client/action_controller_request.rb
+++ b/lib/oauth/client/action_controller_request.rb
@@ -18,7 +18,7 @@ module ActionController
end
def self.use_oauth?
- ... | fixed a few more problems with the test client | oauth-xx_oauth-ruby | train | rb |
1e9a044c733d3f8a310ceabcd2e8649c554d5216 | diff --git a/Kwc/Form/Field/DateField/Component.php b/Kwc/Form/Field/DateField/Component.php
index <HASH>..<HASH> 100644
--- a/Kwc/Form/Field/DateField/Component.php
+++ b/Kwc/Form/Field/DateField/Component.php
@@ -6,6 +6,7 @@ class Kwc_Form_Field_DateField_Component extends Kwc_Form_Field_Abstract_Compone
$re... | Kwc_Fom_DateField_Component needs KwfFormDateTimeField dependency | koala-framework_koala-framework | train | php |
a4843033df0c450215a679d1a4f20360ffbd23ee | diff --git a/apiserver/action/run.go b/apiserver/action/run.go
index <HASH>..<HASH> 100644
--- a/apiserver/action/run.go
+++ b/apiserver/action/run.go
@@ -33,6 +33,9 @@ func getAllUnitNames(st *state.State, units, services []string) (result []names.
}
}
for _, unitName := range unitsSet.SortedValues() {
+ if !n... | apiserver/action: Fixed a potential panic | juju_juju | train | go,go |
3f32be52fda9c42609a4526f60115c1599d5e641 | diff --git a/src/Controller/Api/MediaController.php b/src/Controller/Api/MediaController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Api/MediaController.php
+++ b/src/Controller/Api/MediaController.php
@@ -357,7 +357,7 @@ class MediaController
*/
protected function getMedium($id = null)
{
- ... | Used find method to get entity by ID | sonata-project_SonataMediaBundle | train | php |
1761440c46dcad6a4381dd208c984898eedcec75 | diff --git a/lib/db/cortex.php b/lib/db/cortex.php
index <HASH>..<HASH> 100644
--- a/lib/db/cortex.php
+++ b/lib/db/cortex.php
@@ -2582,7 +2582,13 @@ class CortexQueryParser extends \Prefab {
}
$where = array_shift($cond);
$args = $cond;
- $where = str_replace(['&&', '||'], ['AND', 'OR'], $where);
+ $unify=[... | preserve logical || operator in filter condition for supported engines, #<I> | ikkez_f3-cortex | train | php |
4ee383fb8b3a325db8610776a8a5de034100ebf3 | diff --git a/calloway/settings.py b/calloway/settings.py
index <HASH>..<HASH> 100644
--- a/calloway/settings.py
+++ b/calloway/settings.py
@@ -170,5 +170,5 @@ NATIVE_TAGS = (
ADMIN_TOOLS_MENU = 'calloway.menu.CustomMenu'
STORY_RELATION_MODELS = ['massmedia.audio', 'massmedia.image', 'massmedia.document',
- 'mass... | pull quote stuff and other story relations added | callowayproject_Calloway | train | py |
2e49b55538e62590ea43eaecf52209bcc3f8afa0 | diff --git a/note/note_printer.py b/note/note_printer.py
index <HASH>..<HASH> 100644
--- a/note/note_printer.py
+++ b/note/note_printer.py
@@ -127,6 +127,11 @@ class Note_Printer(object):
for ii in s.split('\n'):
print textwrap.fill(ii, width=80)
+ def print_Done(self):
+
+ for ii in s... | add print_Done which prints lists of messages | dwwkelly_note | train | py |
4ce696d42404a305c7f8cfd96eab59b99bea1262 | diff --git a/series.go b/series.go
index <HASH>..<HASH> 100644
--- a/series.go
+++ b/series.go
@@ -2,6 +2,7 @@ package chart
// Series is an alias to Renderable.
type Series interface {
+ GetName() string
GetYAxis() YAxisType
GetStyle() Style
Render(r Renderer, canvasBox Box, xrange, yrange Range, s Style) | adding `GetName()` to the series interface | wcharczuk_go-chart | train | go |
91307e3009402a6d3e2197b9109c1ffda52b5e3c | diff --git a/src/DocBlock/Tags/InvalidTag.php b/src/DocBlock/Tags/InvalidTag.php
index <HASH>..<HASH> 100644
--- a/src/DocBlock/Tags/InvalidTag.php
+++ b/src/DocBlock/Tags/InvalidTag.php
@@ -104,9 +104,9 @@ final class InvalidTag implements Tag
do {
$trace = array_map(
static func... | Fix previous erroneous assignment. | phpDocumentor_ReflectionDocBlock | train | php |
649ebe46f410ab4d016db8faa8b483f843a9d420 | diff --git a/sortinghat/db/model.py b/sortinghat/db/model.py
index <HASH>..<HASH> 100644
--- a/sortinghat/db/model.py
+++ b/sortinghat/db/model.py
@@ -99,7 +99,8 @@ class Identity(ModelBase):
ForeignKey('uidentities.id', ondelete='CASCADE'))
# Many-to-One relationship
- uidentity = relation... | [model] Set 'joined' load to unique identities | chaoss_grimoirelab-sortinghat | train | py |
f52e61af3a152a699fc8960d9f004e1d5ee76d0f | diff --git a/custodian/vasp/handlers.py b/custodian/vasp/handlers.py
index <HASH>..<HASH> 100644
--- a/custodian/vasp/handlers.py
+++ b/custodian/vasp/handlers.py
@@ -235,8 +235,22 @@ class VaspErrorHandler(ErrorHandler):
if self.errors.intersection(["subspacematrix", "rspher",
... | use LREAL = True as buffer layer to LREAL = False for large supercell | materialsproject_custodian | train | py |
4fc5022df65355e4377aeaa8a3686196f0c7f7be | diff --git a/lib/emit.js b/lib/emit.js
index <HASH>..<HASH> 100644
--- a/lib/emit.js
+++ b/lib/emit.js
@@ -797,10 +797,10 @@ Ep.explodeStatement = function(path, labelId) {
self.explodeStatement(path.get("finalizer"));
});
- self.emit(b.callExpression(
+ self.emit(b.returnStatement(b... | Return the result of context.finish(finallyLoc);
In case we need to perform a pending abrupt completion because the finally
block did not override it, this commit forces another iteration of the
dispatch loop, so that context.next will be examined again.
Fixes #<I>. | facebook_regenerator | train | js |
bda772e48b590d120bf899feb9d21f2d8d5c0faa | diff --git a/src/Rebing/GraphQL/GraphQL.php b/src/Rebing/GraphQL/GraphQL.php
index <HASH>..<HASH> 100644
--- a/src/Rebing/GraphQL/GraphQL.php
+++ b/src/Rebing/GraphQL/GraphQL.php
@@ -304,7 +304,7 @@ class GraphQL
return $this->schemas;
}
- protected function clearTypeInstances()
+ protected functi... | Add types to \Rebing\GraphQL\GraphQL::clearTypeInstances | rebing_graphql-laravel | train | php |
23103793847847b61cb9010c22694b686719d48e | diff --git a/sramongo/xml_helpers.py b/sramongo/xml_helpers.py
index <HASH>..<HASH> 100644
--- a/sramongo/xml_helpers.py
+++ b/sramongo/xml_helpers.py
@@ -17,7 +17,7 @@ def valid_path(func):
def new_func(*args, **kwargs):
# If the current path is present
if args[1] is None:
- logger.de... | Turns off reporting of Not valid path.
This was really cluttering the log, it was useful for initial
development, but now it is not very useful. | jfear_sramongo | train | py |
6a8d01cca995b5b8faaaa9334b920d065bb3576d | diff --git a/src/b00_breeze.uriBuilder.json.js b/src/b00_breeze.uriBuilder.json.js
index <HASH>..<HASH> 100644
--- a/src/b00_breeze.uriBuilder.json.js
+++ b/src/b00_breeze.uriBuilder.json.js
@@ -11,6 +11,8 @@
}(function (breeze) {
"use strict";
+ var EntityType = breeze.EntityType;
+
var ctor = function UriBu... | fix for json uri builder | Breeze_breeze.js | train | js |
a73c7248fe987785e853b904b2313d9a3dc7cbd3 | diff --git a/fusionbox/templatetags/fusionbox_tags.py b/fusionbox/templatetags/fusionbox_tags.py
index <HASH>..<HASH> 100644
--- a/fusionbox/templatetags/fusionbox_tags.py
+++ b/fusionbox/templatetags/fusionbox_tags.py
@@ -169,15 +169,17 @@ def attr(obj, arg1):
return obj
-def encode_decimal(d):
- if isinst... | more json support - check for 'to_json' method | fusionbox_django-argonauts | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.