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 |
|---|---|---|---|---|---|
b47cc87fb19cd2cc034cddaae0c1f270d46f27c2 | diff --git a/views/js/form/post-render-props.js b/views/js/form/post-render-props.js
index <HASH>..<HASH> 100644
--- a/views/js/form/post-render-props.js
+++ b/views/js/form/post-render-props.js
@@ -60,17 +60,14 @@ define([
* @private
*/
function _initializeCopyToClipboard($container) {
- var $f... | TBD-<I> chore: shorten `_initializeCopyToClipboard` | oat-sa_tao-core | train | js |
e49886d6680b4d139de3643db651ea55f0b2ffcd | diff --git a/spec/driver_spec.rb b/spec/driver_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/driver_spec.rb
+++ b/spec/driver_spec.rb
@@ -618,6 +618,10 @@ describe Capybara::Webkit::Driver do
end
context "javascript dialog interaction" do
+ before do
+ stub_const('Capybara::ModalNotFound', Class.new(St... | Stub Capybara::ModalNotFound for Capybara < <I>
* The modal API was introduced in Capybara <I>, so older versions won't
follow this code path. | thoughtbot_capybara-webkit | train | rb |
f917efea41753aec717076caa4d67336497ce881 | diff --git a/face/geomajas-face-gwt/client/src/main/java/org/geomajas/gwt/client/GwtCommandCallback.java b/face/geomajas-face-gwt/client/src/main/java/org/geomajas/gwt/client/GwtCommandCallback.java
index <HASH>..<HASH> 100644
--- a/face/geomajas-face-gwt/client/src/main/java/org/geomajas/gwt/client/GwtCommandCallback.... | GWT-<I>: logging full stacktrace to server on communication exception | geomajas_geomajas-project-client-gwt2 | train | java |
3094c5cdb42e012f30d8a21c86c4526a2a3a0071 | diff --git a/www/field.js b/www/field.js
index <HASH>..<HASH> 100644
--- a/www/field.js
+++ b/www/field.js
@@ -40,13 +40,13 @@ var SamsonCMS_InputField = function( fields, saveHandler )
tb.css( 'width',p.width()+'px');
tb.css( 'height', p.height()+'px');
tb.css( 'z-ind... | input line height set moved for mozilla | samsonos_cms_input | train | js |
d76f7ad4526adbb6e81605283aedb400dac986e1 | diff --git a/src/views/layouts/_content.php b/src/views/layouts/_content.php
index <HASH>..<HASH> 100644
--- a/src/views/layouts/_content.php
+++ b/src/views/layouts/_content.php
@@ -1,11 +1,13 @@
<?php
+use hiqdev\thememanager\widgets\AlertWidget;
use hiqdev\thememanager\widgets\Flashes;
use yii\widgets\Breadcrum... | Added `AlertWidget` | hiqdev_yii2-theme-adminlte | train | php |
b473a1ac070612f0fa26e7e425d60279f47a8122 | diff --git a/lxd/storage/drivers/driver_cephfs.go b/lxd/storage/drivers/driver_cephfs.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_cephfs.go
+++ b/lxd/storage/drivers/driver_cephfs.go
@@ -28,7 +28,7 @@ func (d *cephfs) load() error {
}
// Validate the required binaries.
- for _, tool := range [... | lxd/storage/drivers/driver/cephfs: Fix typo in tool detection | lxc_lxd | train | go |
595dd9061d8c5d270e7432487a5c2a0ac0ec85cf | diff --git a/tools/jest/jest.config.js b/tools/jest/jest.config.js
index <HASH>..<HASH> 100644
--- a/tools/jest/jest.config.js
+++ b/tools/jest/jest.config.js
@@ -1,4 +1,9 @@
'use strict'
+const {
+ TEST_WITHOUT_COVERAGE = 'false'
+} = require('process').env
+
+const collectCoverage = TEST_WITHOUT_COVERAGE.toLowerCas... | Only 'projects.test' should 'collectCoverage'
* Then: Use '--coverage' command-line flag that applies to all 'projects.*'
* Now: Set 'collectCoverage' from within jest.config.js exclusive only to 'projects.test' | ksxnodemodules_external-dependencies | train | js,js |
feabcb1150ac2843efd2a5a5bd8006bcbd5c2011 | diff --git a/beets/mediafile.py b/beets/mediafile.py
index <HASH>..<HASH> 100644
--- a/beets/mediafile.py
+++ b/beets/mediafile.py
@@ -932,6 +932,24 @@ class MediaFile(object):
etc = StorageStyle('musicbrainz_albumartistid')
)
+ # Acoustid fields.
+ acoustid_fingerprint = MediaFiel... | acoustid ID and fingerprint stored/tracked (#<I>)
Original: beetbox/beets@de<I>f | beetbox_mediafile | train | py |
d9c6479a57c57a530e67083e35fbacc6497725bd | diff --git a/bcbio/structural/cn_mops.py b/bcbio/structural/cn_mops.py
index <HASH>..<HASH> 100644
--- a/bcbio/structural/cn_mops.py
+++ b/bcbio/structural/cn_mops.py
@@ -196,7 +196,7 @@ ctrl_count <- getReadCountsFromBAM(c("{ctrl_file}"), sampleNames=c("{ctrl_name}"
refSeqName="{chr... | Update cn_mops.py
Proposing these changes as I've seen errors coming from the (experimental) ``calcFractionalCopyNumbers`` function but same analyses finish fine using ``calcIntegerCopyNumbers``. | bcbio_bcbio-nextgen | train | py |
a4123eabe35e3d29e3aa6d50efa107800aa87cb6 | diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go
index <HASH>..<HASH> 100644
--- a/communicator/ssh/communicator.go
+++ b/communicator/ssh/communicator.go
@@ -112,7 +112,7 @@ func (c *comm) Start(cmd *packer.RemoteCmd) (err error) {
}
go func() {
- if c.config.KeepAliveInterval < ... | prevent 0-value ticker during ssh keepalive | hashicorp_packer | train | go |
216a4461164b6f60eca80b2bf3509b83de0c47b6 | diff --git a/app/controllers/storytime/subscriptions_controller.rb b/app/controllers/storytime/subscriptions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/storytime/subscriptions_controller.rb
+++ b/app/controllers/storytime/subscriptions_controller.rb
@@ -5,8 +5,9 @@ module Storytime
before_acti... | Allow an usubscribed user to resubscribe | CultivateLabs_storytime | train | rb |
e130dc3fbbb8e5abc514d65310d6b867f9167b7a | diff --git a/acorn_loose.js b/acorn_loose.js
index <HASH>..<HASH> 100644
--- a/acorn_loose.js
+++ b/acorn_loose.js
@@ -13,7 +13,7 @@
// - Label consistency (no conflicts, break only to existing labels)
// is not enforced.
//
-// - Bogus Identifier nodes with a name of `"?"` are inserted whenever
+// - Bogus Identi... | [loose parser] Use ✖ rather than question mark for placeholders
This way, attempts to re-parse the pretty-printed code won't
be confused by the question marks. | babel_babylon | train | js |
ada68d1e2eac654578dee9bd9cd06f7d2f3decea | diff --git a/ags_publishing_tools/api.py b/ags_publishing_tools/api.py
index <HASH>..<HASH> 100644
--- a/ags_publishing_tools/api.py
+++ b/ags_publishing_tools/api.py
@@ -1,7 +1,6 @@
import urllib
import urllib2
import json
-import codecs
class Api:
@@ -50,8 +49,7 @@ class Api:
request.get_method =... | Removes codecs and explicit decode
BPFG-<I> | lobsteropteryx_slap | train | py |
da580e2c9d53a5d3cb3a491478d8c0a28f67728b | diff --git a/tests/integration/nupic/engine/temporal_memory_compatibility_test.py b/tests/integration/nupic/engine/temporal_memory_compatibility_test.py
index <HASH>..<HASH> 100755
--- a/tests/integration/nupic/engine/temporal_memory_compatibility_test.py
+++ b/tests/integration/nupic/engine/temporal_memory_compatibili... | Disable compatibility test to see if that is the only thing holding back nupic and nupic.core sync. | numenta_nupic | train | py |
217f0184a6a7b1e720276b7913ba637f102b2ef9 | diff --git a/pyqode/core/editor.py b/pyqode/core/editor.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/editor.py
+++ b/pyqode/core/editor.py
@@ -1644,13 +1644,13 @@ class QCodeEdit(QtGui.QPlainTextEdit):
key == "selectionBackground" or key == "selectionForeground"
or not key):
... | Ensure we have a QColor | pyQode_pyqode.core | train | py |
72a9620441466f92da342b8f4cbafeca40f647dd | diff --git a/src/rituals/invoke_tasks.py b/src/rituals/invoke_tasks.py
index <HASH>..<HASH> 100644
--- a/src/rituals/invoke_tasks.py
+++ b/src/rituals/invoke_tasks.py
@@ -62,9 +62,9 @@ def clean(docs=False, backups=False, bytecode=False, dist=False, # pylint: disab
if dist or all:
patterns.append('dist/**... | :recycle: removed redundant glob patterns | jhermann_rituals | train | py |
1f22ddf1495d366e082cb61405b702b8edc84ae6 | diff --git a/tests/Frosas/Http/ClientsTest.php b/tests/Frosas/Http/ClientsTest.php
index <HASH>..<HASH> 100644
--- a/tests/Frosas/Http/ClientsTest.php
+++ b/tests/Frosas/Http/ClientsTest.php
@@ -18,8 +18,7 @@ class ClientsTest extends \PHPUnit_Framework_TestCase {
function testRequestsAndResponsesCountsMatches() {... | [Refact] Conciser code | frosas_php-misc | train | php |
3b0491d7f53fdbb837403e2c7c07c93ace089b4b | diff --git a/src/Info.php b/src/Info.php
index <HASH>..<HASH> 100644
--- a/src/Info.php
+++ b/src/Info.php
@@ -2,7 +2,6 @@
namespace WyriHaximus\React\ChildProcess\Pool;
-// @codeCoverageIgnoreStart
class Info
{
const BUSY = 'busy';
@@ -11,4 +10,3 @@ class Info
const SIZE = 'size';
const TOTAL =... | Removed ignore coverage, we're testing these classes | WyriHaximus_reactphp-child-process-pool | train | php,php |
4aa6d225fadc914e92a5f63621ae06947f2e06cd | diff --git a/src/node.js b/src/node.js
index <HASH>..<HASH> 100644
--- a/src/node.js
+++ b/src/node.js
@@ -216,17 +216,18 @@ class Node {
resolveNoCache(pos) { return ResolvedPos.resolve(this, pos) }
- // :: (number) → [Mark]
+ // :: (number, ?bool) → [Mark]
// Get the marks at the given position factoring ... | Add a useAfter flag to marksAt
Issue ProseMirror/prosemirror#<I> | ProseMirror_prosemirror-model | train | js |
76f08b854897ac33305081e65319c33759988e57 | diff --git a/async_producer_test.go b/async_producer_test.go
index <HASH>..<HASH> 100644
--- a/async_producer_test.go
+++ b/async_producer_test.go
@@ -1237,7 +1237,7 @@ type appendInterceptor struct {
func (b *appendInterceptor) onSend(msg *ProducerMessage) {
if b.i < 0 {
- panic("hey, the interceptor have failed... | use the third person singular present tense
s/have/has | Shopify_sarama | train | go |
e4f6e1fee48be4a253df740ee3927ef1e4972e41 | diff --git a/src/test/java/org/protege/xmlcatalog/owlapi/IRIMapperTest.java b/src/test/java/org/protege/xmlcatalog/owlapi/IRIMapperTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/protege/xmlcatalog/owlapi/IRIMapperTest.java
+++ b/src/test/java/org/protege/xmlcatalog/owlapi/IRIMapperTest.java
@@ -16,7 +16,... | Fixes #9
This test should probably be changed so that it does not use a remote
file | protegeproject_xmlcatalog | train | java |
7efac07b8647102923cc117c0311339bb3c0ec74 | diff --git a/shared/dev/dumb-sheet/render.native.js b/shared/dev/dumb-sheet/render.native.js
index <HASH>..<HASH> 100644
--- a/shared/dev/dumb-sheet/render.native.js
+++ b/shared/dev/dumb-sheet/render.native.js
@@ -217,8 +217,10 @@ class DumbSheetRender extends Component<void, Props, any> {
</Box>
<Bo... | Dumb sheet needs default flex after I removed scroll view parent (#<I>) | keybase_client | train | js |
4cc72efdb0cdb38c4737cdfbe91e68c997546f25 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -100,4 +100,5 @@ module.exports = function (grunt) {
grunt.registerTask('default', ['test', 'build']);
grunt.registerTask('test', ['jshint', 'karma:travis']);
grunt.registerTask('build', ['clean','ngte... | implement a make release target using grunt-bump | begriffs_angular-paginate-anything | train | js |
bc1e82e8f037495de1edadd4936f9deda25b6d98 | diff --git a/taxjar/data/rate.py b/taxjar/data/rate.py
index <HASH>..<HASH> 100644
--- a/taxjar/data/rate.py
+++ b/taxjar/data/rate.py
@@ -9,6 +9,7 @@ class TaxJarRate(JsonObject):
country = StringProperty()
name = StringProperty()
+ country_rate = TaxJarFloatProperty()
state_rate = TaxJarFloatPrope... | Support Australia / SST `country_rate` in rates_for_location | taxjar_taxjar-python | train | py |
3a103f8b8a13a3791b0dacebe936575cd4b2ee7f | diff --git a/pyqode/core/modes/pygments_sh.py b/pyqode/core/modes/pygments_sh.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/modes/pygments_sh.py
+++ b/pyqode/core/modes/pygments_sh.py
@@ -216,14 +216,14 @@ class PygmentsSH(SyntaxHighlighter):
filename = filename[0:len(filename) - 1]
try:
... | Fix potential ImportError when getting a lexer from filename.
See OpenCobolIDE/OpenCobolIDE#<I> | pyQode_pyqode.core | train | py |
d9eb908d7416fec98bc6618ff1562b85ec7843af | diff --git a/mod/assign/lang/en/assign.php b/mod/assign/lang/en/assign.php
index <HASH>..<HASH> 100644
--- a/mod/assign/lang/en/assign.php
+++ b/mod/assign/lang/en/assign.php
@@ -183,7 +183,7 @@ $string['page-mod-assign-view'] = 'Assignment module main and submission page';
$string['pluginadministration'] = 'Assignmen... | MDL-<I>: Help text change for assignment module. | moodle_moodle | train | php |
b433ecfcbda586cd6afb80f41ae45082959dfa91 | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -2237,8 +2237,6 @@ func (s *Server) serveConn(c net.Conn) (err error) {
hijackNoResponse = ctx.hijackNoResponse && hijackHandler != nil
ctx.hijackNoResponse = false
- ctx.userValues.Reset()
-
if s.MaxRequestsPe... | Make sure to reset the userValues always and at the exact time (#<I>)
* Ensure reset userValues always that release RequestCtx
* Reset userValues after response write and hijack handler are executed | valyala_fasthttp | train | go |
1ad5ed9cf559cd673403ba7e42e96da3e7f53d88 | diff --git a/lib/method.js b/lib/method.js
index <HASH>..<HASH> 100644
--- a/lib/method.js
+++ b/lib/method.js
@@ -99,17 +99,14 @@ function method(endpointSpec, methodParams, cb) {
}
}
}
+ delete methodParams.authEmail;
+ delete methodParams.email;
+ delete methodParams.authPassword;
+ delete methodPara... | fix masking of email and username parameters on object method calls | Paperspace_paperspace-node | train | js |
fef519696e9e69df48b2574e8168da4c14c9d5c6 | diff --git a/foreman/client.py b/foreman/client.py
index <HASH>..<HASH> 100644
--- a/foreman/client.py
+++ b/foreman/client.py
@@ -603,6 +603,7 @@ class Foreman(object):
self.api_version = api_version
self.session = requests.Session()
self.session.verify = verify
+ self._req_params['ve... | global: store verify param in the _req_params dict
This makes sure to get it used everywhere. | david-caro_python-foreman | train | py |
b964519f3b17c6196ebf342185878175d5235f5b | diff --git a/lib/rules/lint-block-indentation.js b/lib/rules/lint-block-indentation.js
index <HASH>..<HASH> 100644
--- a/lib/rules/lint-block-indentation.js
+++ b/lib/rules/lint-block-indentation.js
@@ -240,7 +240,13 @@ module.exports = function(addonContext) {
// the TextNode is whitespace only, do nothing
... | Fix issue with escaping mustaches.
Handlebars considers the following `{{foo}}` to be at column 1 instead
of 0:
```hbs
\{{foo}}
```
This adds an override to detect this situation. | ember-template-lint_ember-template-lint | train | js |
62f8579ffc3ef9e6a41a247a916388403eda31da | diff --git a/src/main/java/io/brachu/johann/cli/CliRunner.java b/src/main/java/io/brachu/johann/cli/CliRunner.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/brachu/johann/cli/CliRunner.java
+++ b/src/main/java/io/brachu/johann/cli/CliRunner.java
@@ -28,7 +28,7 @@ final class CliRunner {
Process proces... | Increase CLI timeout to 5 minutes | br4chu_johann | train | java |
99cd1eda1dee7179811e01a92727b4eeb5a8de45 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -32,7 +32,9 @@ module.exports = {
if (options.liveReload !== true) { return; }
process.env.EMBER_CLI_INJECT_LIVE_RELOAD_PORT = options.liveReloadPort;
- process.env.EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL = options... | Allow to force baseURL
Do not override EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL if already defined.
This allows an independent development server (not the express one bundled with ember-cli) to serve several apps while being live-reloaded. | ember-cli_ember-cli-inject-live-reload | train | js |
29a8fd922762e3ce68783d9819c6fe416470cbc9 | diff --git a/src/tools/agepyramid/agepyramid-component.js b/src/tools/agepyramid/agepyramid-component.js
index <HASH>..<HASH> 100644
--- a/src/tools/agepyramid/agepyramid-component.js
+++ b/src/tools/agepyramid/agepyramid-component.js
@@ -287,7 +287,8 @@ var AgePyramid = Component.extend({
utils.forEach(_thi... | Allow missing stackdata: interpret as 0 | vizabi_vizabi | train | js |
de050e840b9a00357d128b85270eaa1c13ae5cd1 | diff --git a/src/shims/form-validators.js b/src/shims/form-validators.js
index <HASH>..<HASH> 100644
--- a/src/shims/form-validators.js
+++ b/src/shims/form-validators.js
@@ -93,6 +93,18 @@ webshims.register('form-validators', function($, webshims, window, document, und
return message;
};
var testValidityRules =... | fix issue #<I> (data-minlength checked after form submit) | aFarkas_webshim | train | js |
4055da7d0b355e73b2fa46277d812d128df04b04 | diff --git a/Kwc/Mail/Abstract/Component.php b/Kwc/Mail/Abstract/Component.php
index <HASH>..<HASH> 100644
--- a/Kwc/Mail/Abstract/Component.php
+++ b/Kwc/Mail/Abstract/Component.php
@@ -54,7 +54,10 @@ abstract class Kwc_Mail_Abstract_Component extends Kwc_Abstract
$mail = new Kwf_Mail();
$name = $r... | if recipient doesn't have complete name don't use it at all | koala-framework_koala-framework | train | php |
9d349122f09d56526ec187eec0aa14939438a55e | diff --git a/modules/toolbox.php b/modules/toolbox.php
index <HASH>..<HASH> 100644
--- a/modules/toolbox.php
+++ b/modules/toolbox.php
@@ -28,7 +28,7 @@ if ( ! class_exists('Toolbox') ) {
__('Upkeep', 'seravo'),
'manage_options',
'upkeep_page',
- 'Seravo\seravo_postboxes_page'
+ ... | Set upkeep and backups pages to use two-column postboxes | Seravo_seravo-plugin | train | php |
147c496d5b2a33b7534ac66dbfb7705ae7ccb7bd | diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/cluster.py
+++ b/sos/plugins/cluster.py
@@ -111,7 +111,7 @@ class Cluster(Plugin, RedHatPlugin):
"crm_from parameter '%s' is not a valid date: using "
"default" % self.get... | [cluster] crm_report fails to run because dir already exists
Do not create directory for the destination path used by crm_report.
Resolves: rhbz#<I> | sosreport_sos | train | py |
f95130704fe80eb79d458ab9e8eb62ce3649fce0 | diff --git a/caelum/gfs.py b/caelum/gfs.py
index <HASH>..<HASH> 100644
--- a/caelum/gfs.py
+++ b/caelum/gfs.py
@@ -95,14 +95,15 @@ def pgrb2(closest, offset):
return 'gfs.t%02dz.pgrb2.1p00.f%03d' % (closest, offset)
-def get(timestamp, dataset, products=None, levels=None, offset=0):
+def download(timestamp, da... | doc/rename get to download | nrcharles_caelum | train | py |
76d1bc3eb434a14617e891195a30cfa2a9323996 | diff --git a/cmd/cmd.go b/cmd/cmd.go
index <HASH>..<HASH> 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -105,15 +105,15 @@ func (m *Manager) RegisterDeprecated(command Command, oldName string) {
}
type RemovedCommand struct {
- name string
- help string
+ Name string
+ Help string
}
func (c *RemovedCommand) Info(... | cmd: expose RemovedCommand fields as public | tsuru_tsuru | train | go |
107ed5d3618e634703c60f2867eb4eb3c1127f7e | diff --git a/digitalocean/Action.py b/digitalocean/Action.py
index <HASH>..<HASH> 100644
--- a/digitalocean/Action.py
+++ b/digitalocean/Action.py
@@ -18,11 +18,6 @@ class Action(BaseAPI):
action = self.get_data("actions/%s" % self.id)
if action:
action = action[u'action']
- se... | Loading the details as attributes from the dictionary. | koalalorenzo_python-digitalocean | train | py |
6549cb595e8fd4197127276652bcea14506ddf56 | diff --git a/src/pusher_connection.js b/src/pusher_connection.js
index <HASH>..<HASH> 100644
--- a/src/pusher_connection.js
+++ b/src/pusher_connection.js
@@ -322,7 +322,7 @@
self.connectionSecure = true;
self.options.encrypted = true;
- self._machine.transition('impermanentlyClosing')
+ ... | Reuse existing TransitionToImpermanentlyClosing fn. | pusher_pusher-js | train | js |
a4158140ecd6728ea05fa2c02751f4c645681dd2 | diff --git a/lib/queryBuilder/QueryBuilder.js b/lib/queryBuilder/QueryBuilder.js
index <HASH>..<HASH> 100644
--- a/lib/queryBuilder/QueryBuilder.js
+++ b/lib/queryBuilder/QueryBuilder.js
@@ -681,7 +681,7 @@ class QueryBuilder extends QueryBuilderBase {
}
page(page, pageSize) {
- return this.range(page * page... | making sure we are not doing math on strings | Vincit_objection.js | train | js |
821e230a6dd1a4d1f120f023398299192176c608 | diff --git a/lib/compile/ast.js b/lib/compile/ast.js
index <HASH>..<HASH> 100644
--- a/lib/compile/ast.js
+++ b/lib/compile/ast.js
@@ -211,7 +211,7 @@ class Ast {
this.parent = this.parent.parent;
if (p.tag !== tagName) {
- if (!p.else && !p.elseif) {
+ if (!p.else && !p.elseif && !p.elif)... | fix: add elif support | whxaxes_mus | train | js |
a1b7ac32eb10664e09fe663d66f3e9ab643b8cb7 | diff --git a/backbone.js b/backbone.js
index <HASH>..<HASH> 100644
--- a/backbone.js
+++ b/backbone.js
@@ -578,11 +578,6 @@
return this._validate({}, _.extend(options || {}, { validate: true }));
},
- // Check if the model is empty.
- isEmpty: function() {
- return _.isEmpty(this.attributes);
-... | Adding the isEmpty function into the modelMethods | jashkenas_backbone | train | js |
9e0f5dcc8dc86bbd2a09a3bae24f2c39530e1706 | diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb
+++ b/sonar-server/src/main/webapp/WE... | Fix error handling in db migrations due to upgrade to JRuby <I> | SonarSource_sonarqube | train | rb |
a4381e23b45fbe2b821aae8481f079fa78c4e357 | diff --git a/src/IMAP/Message.php b/src/IMAP/Message.php
index <HASH>..<HASH> 100644
--- a/src/IMAP/Message.php
+++ b/src/IMAP/Message.php
@@ -717,6 +717,10 @@ class Message {
$body->content = $content;
$this->bodies['html'] = $body;
+ } elseif ($structure->disposition == ... | Handle attachment in multipart message (#<I>). (#<I>) | Webklex_laravel-imap | train | php |
e98df3cbdc76643bf12a6cc20174154f7c37fe58 | diff --git a/lib/lifx/client.rb b/lib/lifx/client.rb
index <HASH>..<HASH> 100644
--- a/lib/lifx/client.rb
+++ b/lib/lifx/client.rb
@@ -20,6 +20,7 @@ module LIFX
extend Forwardable
include Utilities
+ include RequiredKeywordArguments
# Refers to the client's network context.
# @return [Network... | Client needs required keyword arguments to be included in | LIFX_lifx-gem | train | rb |
da07c41bf040e39c50ad56eeb5ba84f89c554c72 | diff --git a/nodeconductor/iaas/models.py b/nodeconductor/iaas/models.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/iaas/models.py
+++ b/nodeconductor/iaas/models.py
@@ -299,7 +299,7 @@ class PaidInstance(PaidResource):
def get_usage_state(self):
state = {
CostConstants.PriceItem.LICENSE... | Use applicaton type name in usage calculation | opennode_waldur-core | train | py |
c5cb62cae1ed518162f13d286053963c3ebc9da4 | diff --git a/src/Illuminate/Support/Arr.php b/src/Illuminate/Support/Arr.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Support/Arr.php
+++ b/src/Illuminate/Support/Arr.php
@@ -547,8 +547,12 @@ class Arr
$keys = explode('.', $key);
- while (count($keys) > 1) {
- $key = array_shift($... | optimize Arr::set() method (#<I>) | laravel_framework | train | php |
af2a504447601c8b01cbd611f2e1d796a9fffff7 | diff --git a/synapse/lib/ingest.py b/synapse/lib/ingest.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/ingest.py
+++ b/synapse/lib/ingest.py
@@ -120,7 +120,7 @@ def _fmt_json(fd,info):
yield json.loads( fd.read() )
def _fmt_jsonl(fd,info):
- for line in fd.readlines():
+ for line in fd:
yield j... | Don't read the entire file at once like a moron | vertexproject_synapse | train | py |
caf5a69e6a0dfbbcce7ff668d78238e6111e1f9a | diff --git a/tools/docgenerator.js b/tools/docgenerator.js
index <HASH>..<HASH> 100644
--- a/tools/docgenerator.js
+++ b/tools/docgenerator.js
@@ -545,7 +545,7 @@ function cleanup (outputPath, outputRoot) {
*/
function collectDocs (functionNames, inputPath) {
// glob@8 doesn't work on Windows, which has \ separat... | Don't use replaceAll (not supported on node@<I>) | josdejong_mathjs | train | js |
55311603ddab11c388209cc4cddeb3070e8d6aa7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -34,9 +34,12 @@ module.exports = function(content) {
const self = this;
if(opt.files instanceof Array) {
opt.files.reverse().forEach(function(file) {
- var file = path.join(opt.dirname, file + '.json');
+ ... | allow files to include .json suffix | jtangelder_template-html-loader | train | js |
c3d4536203981d425adc47552c553a9633186a5e | diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/Kernel.php
+++ b/src/Symfony/Component/HttpKernel/Kernel.php
@@ -63,12 +63,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface... | bumped Symfony version to <I> | symfony_symfony | train | php |
f2a5c11c696b7a479c15056c8ec1da9e20f4e64a | diff --git a/pyof/v0x01/common/action.py b/pyof/v0x01/common/action.py
index <HASH>..<HASH> 100644
--- a/pyof/v0x01/common/action.py
+++ b/pyof/v0x01/common/action.py
@@ -10,9 +10,9 @@ from pyof.foundation.constants import UBINT16_MAX_VALUE
# Third-party imports
-__all__ = ('ActionType', 'ActionHeader', 'ActionOut... | Fix missing class in __all__ in action.py | kytos_python-openflow | train | py |
3887e39bcca63ef283072052f566ac2bc201b11e | diff --git a/.gitignore b/.gitignore
index <HASH>..<HASH> 100644
--- a/.gitignore
+++ b/.gitignore
@@ -88,6 +88,7 @@ celerybeat-schedule
.venv
venv/
ENV/
+TOKENS
# Spyder project settings
.spyderproject
diff --git a/django_plotly_dash/version.py b/django_plotly_dash/version.py
index <HASH>..<HASH> 100644
--- a/d... | Fix up version constraints (#<I>) | GibbsConsulting_django-plotly-dash | train | gitignore,py,py |
9e3edb582fa73f1ffc9def379ad7a2d0d1c847ce | diff --git a/lib/arduino_ci/arduino_installation.rb b/lib/arduino_ci/arduino_installation.rb
index <HASH>..<HASH> 100644
--- a/lib/arduino_ci/arduino_installation.rb
+++ b/lib/arduino_ci/arduino_installation.rb
@@ -55,9 +55,14 @@ module ArduinoCI
gui_place = Host.which(gui_name)
unless gui_place.nil?
... | Distinguish between force-installed and existing Arduino installs | ianfixes_arduino_ci | train | rb |
d2af45e3fbd3a6b59e435e24ddd6b8118bd08b2b | diff --git a/server/info.go b/server/info.go
index <HASH>..<HASH> 100644
--- a/server/info.go
+++ b/server/info.go
@@ -11,6 +11,7 @@ import (
"time"
"github.com/siddontang/go/sync2"
+ "github.com/siddontang/ledisdb/ledis"
)
type info struct {
@@ -109,6 +110,7 @@ func (i *info) dumpServer(buf *bytes.Buffer) {
... | Add server.ledisdb_version to the INFO command (#<I>) | siddontang_ledisdb | train | go |
7f920c2f75acd4f4156ed59f5ebeb620f5eff590 | diff --git a/spacy/util.py b/spacy/util.py
index <HASH>..<HASH> 100644
--- a/spacy/util.py
+++ b/spacy/util.py
@@ -173,7 +173,8 @@ def _wrap_text(text):
indent = ' '
wrap_width = wrap_max - len(indent)
return textwrap.fill(text, width=wrap_width, initial_indent=indent,
- ... | Don't break text in when rendering print_msg | explosion_spaCy | train | py |
995c43dd0cb0e365e46304d98587e1759923576e | diff --git a/plugins/guests/debian/cap/configure_networks.rb b/plugins/guests/debian/cap/configure_networks.rb
index <HASH>..<HASH> 100644
--- a/plugins/guests/debian/cap/configure_networks.rb
+++ b/plugins/guests/debian/cap/configure_networks.rb
@@ -109,7 +109,7 @@ module VagrantPlugins
end
rem... | Fix issue <I> when systemd-networkd is used by Debian guest | hashicorp_vagrant | train | rb |
1e64cdea4514027e815b24f56f68f3f3cdf621ec | diff --git a/src/testhelpers/net/all_requests_called_matcher.go b/src/testhelpers/net/all_requests_called_matcher.go
index <HASH>..<HASH> 100644
--- a/src/testhelpers/net/all_requests_called_matcher.go
+++ b/src/testhelpers/net/all_requests_called_matcher.go
@@ -19,14 +19,14 @@ func (matcher allRequestsCalledMatcher) M... | Fix messages in HaveAllRequestsCalled matcher | cloudfoundry_cli | train | go |
531242fbc994e3cb37be8b7475bada4b53323695 | diff --git a/lib/helpers/log-helper.js b/lib/helpers/log-helper.js
index <HASH>..<HASH> 100644
--- a/lib/helpers/log-helper.js
+++ b/lib/helpers/log-helper.js
@@ -34,10 +34,10 @@ function filters () {
},
function parseProgramName (l) {
- if (!l.match(/gulp \[task\]/)) {
+ if (!l.match(/gulp \[TASK... | [task] to [TASK] | sequelize_cli | train | js |
5941392d3e53e1fabbbbebd17c9fee637eddd292 | diff --git a/cpp/__init__.py b/cpp/__init__.py
index <HASH>..<HASH> 100644
--- a/cpp/__init__.py
+++ b/cpp/__init__.py
@@ -1 +1 @@
-__version__ = '0.2'
+__version__ = '0.2.1' | Increment patch version to <I> | myint_cppclean | train | py |
c6cd39a1c00810294a2e6faaf022d1bfdc4a05c4 | diff --git a/salt/utils/vmware.py b/salt/utils/vmware.py
index <HASH>..<HASH> 100644
--- a/salt/utils/vmware.py
+++ b/salt/utils/vmware.py
@@ -715,7 +715,8 @@ def get_mor_by_property(service_instance, object_type, property_value, property_
object_list = get_mors_with_properties(service_instance, object_type, prope... | Make the match more specific (#<I>) | saltstack_salt | train | py |
ec33d41bd1fc501173ea574d0a2e4e2c739bf174 | diff --git a/openquake/calculators/ebrisk.py b/openquake/calculators/ebrisk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/ebrisk.py
+++ b/openquake/calculators/ebrisk.py
@@ -265,9 +265,8 @@ class EbriskCalculator(event_based.EventBasedCalculator):
and then loss curves and maps.
"""
... | Remove logging [skip CI] | gem_oq-engine | train | py |
611f5a96cfc1ac5257e5243a8bf4aae8dc3f0467 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -109,6 +109,8 @@ gulp.task('altspace_js', function () {
'./src/version.js', { cwd: cwd })
.pipe(replace("VERSION", "'" + version + "'"))
])
+ .pipe(concat('altspace.js'))
+ ... | Generate un-minified lib | AltspaceVR_AltspaceSDK | train | js |
24dd431a20146e54ea08672c19f20ab83dd231e9 | diff --git a/heron/tools/cli/src/python/submit.py b/heron/tools/cli/src/python/submit.py
index <HASH>..<HASH> 100644
--- a/heron/tools/cli/src/python/submit.py
+++ b/heron/tools/cli/src/python/submit.py
@@ -94,7 +94,7 @@ def launch_a_topology(cl_args, tmp_dir, topology_file, topology_defn_file, topol
"--release_... | When the python pex file is copied over to the container, only (#<I>)
the base name should be referred | apache_incubator-heron | train | py |
181085006d99cd114995c34498de082cd8e9a2c9 | diff --git a/dist/byte-data.umd.js b/dist/byte-data.umd.js
index <HASH>..<HASH> 100644
--- a/dist/byte-data.umd.js
+++ b/dist/byte-data.umd.js
@@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd... | Fix lib name in UMD dist | rochars_byte-data | train | js,js |
ddab40270639832be8ed4dc962a9ce0b5a07f513 | diff --git a/src/frontend/org/voltdb/dbmonitor/js/voltdb.render.js b/src/frontend/org/voltdb/dbmonitor/js/voltdb.render.js
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/dbmonitor/js/voltdb.render.js
+++ b/src/frontend/org/voltdb/dbmonitor/js/voltdb.render.js
@@ -1927,7 +1927,7 @@ function alertNodeClicked(o... | Average function call missing :<I> | VoltDB_voltdb | train | js |
52dd65ccfa088d72a700e1256533e05b31567875 | diff --git a/lib/build/ios/index.js b/lib/build/ios/index.js
index <HASH>..<HASH> 100644
--- a/lib/build/ios/index.js
+++ b/lib/build/ios/index.js
@@ -215,7 +215,7 @@ function nativeAssets (opts) {
- Promise.all(paths).then(function () {
+ return Promise.all(paths).then(function () {
log.info("Pro... | Return Promise.all in nativeAssets | vigour-io_wrapper | train | js |
2ffec394b663635149e82c36703c704bec38856d | diff --git a/tests/acceptance/end-to-end-test.js b/tests/acceptance/end-to-end-test.js
index <HASH>..<HASH> 100644
--- a/tests/acceptance/end-to-end-test.js
+++ b/tests/acceptance/end-to-end-test.js
@@ -76,6 +76,22 @@ test("typing into the input with a valid value and doing onblur will set value",
});
});
+test("... | Add test case to expose clearing quirk
Whenever the input is blurred the component tries to determine if the input should be cleared. This happens unless the input text matches one option exactly. While the options get lowercased before comparing the input doesn't. This results in the weird behaviour that `ABC` and `a... | toranb_ember-cli-auto-complete | train | js |
7b22f1b5a74dcc6ffcca9ef651fded6f144db76e | diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -805,7 +805,6 @@ class Kconfig(object):
"env_vars",
"kconfig_filenames",
"m",
- "mainmenu_text",
"menus",
"missing_syms",
"modules",
@@ -1081,8 +... | Turn mainmenu_text into a @property
Not performance sensitive. Gets rid of a variable. | ulfalizer_Kconfiglib | train | py |
215fa167342067675b6a6968b11111be25425a38 | diff --git a/ci/ci_build.rb b/ci/ci_build.rb
index <HASH>..<HASH> 100755
--- a/ci/ci_build.rb
+++ b/ci/ci_build.rb
@@ -107,6 +107,8 @@ puts "[CruiseControl] #{`mysql --version`}"
puts "[CruiseControl] #{`pg_config --version`}"
puts "[CruiseControl] SQLite3: #{`sqlite3 -version`}"
`gem env`.each_line {|line| pr... | CI: list bundled gems in build environment | rails_rails | train | rb |
5033775feb61d710a9f4359349f6f5a9a9eb5e9b | diff --git a/glances/plugins/glances_diskio.py b/glances/plugins/glances_diskio.py
index <HASH>..<HASH> 100644
--- a/glances/plugins/glances_diskio.py
+++ b/glances/plugins/glances_diskio.py
@@ -125,6 +125,9 @@ class Plugin(GlancesPlugin):
'write_count': write_count,
... | Add DiskIO alias in the Restfull API | nicolargo_glances | train | py |
f7c9829ad2812e3b764be977215251d201080d10 | diff --git a/lib/protocol/SqlString.js b/lib/protocol/SqlString.js
index <HASH>..<HASH> 100644
--- a/lib/protocol/SqlString.js
+++ b/lib/protocol/SqlString.js
@@ -14,6 +14,10 @@ SqlString.escape = function(val) {
val = SqlString.dateToString(val);
}
+ if (Buffer.isBuffer(val)) {
+ return SqlString.bufferT... | Support buffers / binary in INSERT/SELECT | sidorares_node-mysql2 | train | js |
12560ab0a48ef4195df6857309c4bb470c03c33f | diff --git a/pyscreenshot/__init__.py b/pyscreenshot/__init__.py
index <HASH>..<HASH> 100644
--- a/pyscreenshot/__init__.py
+++ b/pyscreenshot/__init__.py
@@ -3,6 +3,7 @@ from pyscreenshot.backendloader import BackendLoader
import Image
import logging
import tempfile
+import sys
__version__ = '0.3.1'
@@ -31,7 +... | Replace explicit 'python' reference with sys.executable - so it runs in the currently executing python | ponty_pyscreenshot | train | py |
83525dabeb5c0020ca68cdf26588aad1995afa2c | diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -38,9 +38,9 @@ def pytest_load_initial_conftests(args):
def pytest_configure(config):
if sys.version[0] == '3':
- config.addinivalue_line("addopts", '--doctest-modules')
- config.option.doctes... | Remove NUMBER from pytest config | CalebBell_fluids | train | py |
cc6b3bb82e85388337514054c4795817747ce59d | diff --git a/command_utils.py b/command_utils.py
index <HASH>..<HASH> 100755
--- a/command_utils.py
+++ b/command_utils.py
@@ -55,7 +55,7 @@ def usage():
def load_arguments(sysargv):
try:
- opts, args = getopt.getopt(sysargv[1:], "def:ho:s:t:v:p:", ["factored", "filter=", "filterthreshold=", "bleuthresho... | properly support "--processes" command-line argument | rsennrich_Bleualign | train | py |
be9417817efbf185e6e0f31b570ea5caf26094d3 | diff --git a/js/huobi.js b/js/huobi.js
index <HASH>..<HASH> 100644
--- a/js/huobi.js
+++ b/js/huobi.js
@@ -3035,7 +3035,6 @@ module.exports = class huobi extends Exchange {
} else {
const market = this.market (symbol);
request['contract_code'] = market['id'];
- // request['... | Update huobi.js
Finished Fetch Funding Rate Method for Huobi | ccxt_ccxt | train | js |
a04d4282fd350d6dcf9a05ed168f866229dca777 | diff --git a/lib/puppet/provider/mount/parsed.rb b/lib/puppet/provider/mount/parsed.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/provider/mount/parsed.rb
+++ b/lib/puppet/provider/mount/parsed.rb
@@ -23,7 +23,6 @@ Puppet::Type.type(:mount).provide(
@fields = [:device, :blockdevice, :name, :fstype, :pass, :atboo... | (maint) Remove obsolete line of code | puppetlabs_puppet | train | rb |
b143b9db3bd99aa3fdd31d93ffd312b71c0debad | diff --git a/src/Charcoal/Attachment/Traits/AttachmentAwareTrait.php b/src/Charcoal/Attachment/Traits/AttachmentAwareTrait.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Attachment/Traits/AttachmentAwareTrait.php
+++ b/src/Charcoal/Attachment/Traits/AttachmentAwareTrait.php
@@ -492,13 +492,6 @@ trait AttachmentAwar... | Updated objType implementation | locomotivemtl_charcoal-attachment | train | php |
50b29fc9c89f560c52a1628c9d0d287f289b7059 | diff --git a/lib/rib/shell.rb b/lib/rib/shell.rb
index <HASH>..<HASH> 100644
--- a/lib/rib/shell.rb
+++ b/lib/rib/shell.rb
@@ -16,7 +16,7 @@ class Rib::Shell
:result_prompt => '=> ' ,
:prompt => '>> ' ,
:binding => TOPLEVEL_BINDING,
- :exit => [nil, 'e... | shell.rb: remove `exit' as a keyword to leave rib, since it's already
a function which would leave the program | godfat_rib | train | rb |
0302d9e6914fb82968b02640f945674c8bda16b8 | diff --git a/lib/profiles/PER.js b/lib/profiles/PER.js
index <HASH>..<HASH> 100644
--- a/lib/profiles/PER.js
+++ b/lib/profiles/PER.js
@@ -16,6 +16,7 @@ exports.rules = base.insertAfter(
, [
require("../rules/sotd/implementation")
, require("../rules/sotd/ac-review")
+ , require(... | PR #<I> (check that the LC end date found is later than the document date itself).
Fixed a bogus manual merge in my previous merge from master. | w3c_specberus | train | js,js |
152e8a1f322a358a257c96c794f6bb9291ab47f2 | diff --git a/anonymoususage/tools.py b/anonymoususage/tools.py
index <HASH>..<HASH> 100644
--- a/anonymoususage/tools.py
+++ b/anonymoususage/tools.py
@@ -152,9 +152,9 @@ def get_last_row(dbconn, tablename, n=1, uuid=None):
cur = dbconn.cursor()
try:
if uuid:
- cur.execute("SELECT * FROM {... | get_last_row was returning the row with the highest Count, change it to return the highest ROWID (which should be the last entry | lobocv_anonymoususage | train | py |
b263e86499c8a13f87c78e84d465e53bfeab654b | diff --git a/structr-core/src/main/java/org/structr/core/function/DateFormatFunction.java b/structr-core/src/main/java/org/structr/core/function/DateFormatFunction.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/core/function/DateFormatFunction.java
+++ b/structr-core/src/main/java/org/str... | Adds handler for NativeDates from scripting contexts to the date format function. | structr_structr | train | java |
63a4f1453ac84386da8a94f1bef8bd5a03a50c83 | diff --git a/src/django_autofixture/autofixture.py b/src/django_autofixture/autofixture.py
index <HASH>..<HASH> 100644
--- a/src/django_autofixture/autofixture.py
+++ b/src/django_autofixture/autofixture.py
@@ -393,6 +393,9 @@ class AutoFixture(object):
recalc_fields.extend(e.fields)
return re... | Adding post process instance hook in AutoFixture. | gregmuellegger_django-autofixture | train | py |
28b0b9822ba2dcdf2994f61d65e2910a49ef5b91 | diff --git a/spec/skeletons/base_skeleton_spec.rb b/spec/skeletons/base_skeleton_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/skeletons/base_skeleton_spec.rb
+++ b/spec/skeletons/base_skeleton_spec.rb
@@ -6,13 +6,10 @@ describe Gemsmith::Skeletons::BaseSkeleton do
describe "#create" do
it "messages methods ... | Fixed spec so that only defined methods are called.
* This spec broke due to RSpec config being updated to verify partial
doubles (which is a good thing). | bkuhlmann_gemsmith | train | rb |
8e62f5a17b187cf98835dacb2ecda7ebe7b96b12 | diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/recipe.py
+++ b/pythonforandroid/recipe.py
@@ -668,7 +668,13 @@ class NDKRecipe(Recipe):
env = self.get_recipe_env(arch)
with current_directory(self.get_build_dir(arch.arch)):
- ... | Fix APP_PLATFORM not properly passed in NDKRecipe | kivy_python-for-android | train | py |
1062b2fb146698a9e363edcf8655cf1c3bb2af7e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ setup(
packages=find_packages(),
include_package_data=True,
platforms=["any"],
- zip_safe=True,
+ zip_safe=False,
install_requires=install_requires,
long_description=long_descripti... | setup: do not zip egg when installing
- leaflet_storage does not work when egg is installed as zipped archive. Force
setup.py to install as unzipped directory. | umap-project_django-leaflet-storage | train | py |
7690aae32c22463252a51bcd1313385d3743ac82 | diff --git a/molo/polls/admin.py b/molo/polls/admin.py
index <HASH>..<HASH> 100644
--- a/molo/polls/admin.py
+++ b/molo/polls/admin.py
@@ -124,5 +124,11 @@ class QuestionsModelAdmin(WagtailModelAdmin, QuestionAdmin):
url = reverse('question-results-admin', args=(obj.id,))
return '<a href="%s">%s</a>' ... | Filter Polls by site in wagtailadmin | praekeltfoundation_molo.polls | train | py |
49b4c3b3970aea569a1d19f6f7b987cb0729c8a1 | diff --git a/src/test/java/net/kilger/mockins/generator/valueprovider/ValueProviderRegistryTest.java b/src/test/java/net/kilger/mockins/generator/valueprovider/ValueProviderRegistryTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/net/kilger/mockins/generator/valueprovider/ValueProviderRegistryTest.java
+++ b/s... | made test classes in ValueProviderRegistry public (not clear why this is is now an issue, but not before?!) | kilgerm_mockins | train | java |
d4157d6648d66030226732acf606ba905ce02991 | diff --git a/requery/src/main/java/io/requery/sql/EntityReader.java b/requery/src/main/java/io/requery/sql/EntityReader.java
index <HASH>..<HASH> 100644
--- a/requery/src/main/java/io/requery/sql/EntityReader.java
+++ b/requery/src/main/java/io/requery/sql/EntityReader.java
@@ -498,7 +498,6 @@ class EntityReader<E exte... | Resolve #<I> call PostLoad listeners on refresh | requery_requery | train | java |
8d7ca1af780fed9aadf15ca27b779893e4443af4 | diff --git a/lib/logstash-logger/formatter/base.rb b/lib/logstash-logger/formatter/base.rb
index <HASH>..<HASH> 100644
--- a/lib/logstash-logger/formatter/base.rb
+++ b/lib/logstash-logger/formatter/base.rb
@@ -27,6 +27,9 @@ module LogStashLogger
when Hash
event_data = data.clone... | Transform more keys to strings that `LogStash::Event` expect to be strings | dwbutler_logstash-logger | train | rb |
32b2cd26c7def7d0475b1922ef0ed37c3b729127 | diff --git a/pkg/proxy/winkernel/proxier.go b/pkg/proxy/winkernel/proxier.go
index <HASH>..<HASH> 100644
--- a/pkg/proxy/winkernel/proxier.go
+++ b/pkg/proxy/winkernel/proxier.go
@@ -354,7 +354,7 @@ func newSourceVIP(hns HostNetworkService, network string, ip string, mac string,
func (ep *endpointsInfo) Cleanup() {
... | Ref counting is only applicable to Remote endpoints | kubernetes_kubernetes | train | go |
dece355c30ab66c82e0f563346834233dad37944 | diff --git a/test/math.js b/test/math.js
index <HASH>..<HASH> 100644
--- a/test/math.js
+++ b/test/math.js
@@ -34,6 +34,12 @@ describe('Math', function() {
});
describe('.lowest(numbers, amount)', function() {
+
+ it('should return the lowest number', function() {
+ var numbers = [99,6,41,32,7];
+ assert.equ... | test: Math.lowest and Math.highest unit test | skerit_protoblast | train | js |
40d8bf06fb74b6a02ce1675d0e96603868468062 | diff --git a/modules_v2/tree/help_text.php b/modules_v2/tree/help_text.php
index <HASH>..<HASH> 100644
--- a/modules_v2/tree/help_text.php
+++ b/modules_v2/tree/help_text.php
@@ -33,7 +33,7 @@ if (!defined('WT_WEBTREES')) {
$imgStyle = ' style="height: 22px; width: 22px; border: 0 none"';
switch ($help) {
case 'TV_M... | Re-use existing text, to reduce translation effort | fisharebest_webtrees | train | php |
685377d4e58354d33f37e577e77fab6650f874b3 | diff --git a/keyboard/_darwinkeyboard.py b/keyboard/_darwinkeyboard.py
index <HASH>..<HASH> 100644
--- a/keyboard/_darwinkeyboard.py
+++ b/keyboard/_darwinkeyboard.py
@@ -20,7 +20,6 @@ class KeyMap(object):
0x30: 'tab',
0x31: 'space',
0x33: 'delete',
- 0x33: 'backspace',
0x35:... | Removed "backspace" from non-layout keys
It was overwriting “delete” | boppreh_keyboard | train | py |
4aef2f5909bb5f5206788213d1f28abb1d4fd80b | diff --git a/lib/Site.php b/lib/Site.php
index <HASH>..<HASH> 100644
--- a/lib/Site.php
+++ b/lib/Site.php
@@ -201,7 +201,8 @@ class Site extends \Timber\Site
$viewClass = static::getSiteNamespace().$viewClass;
}
- $view = new $viewClass($this);
+ $view = new $viewClass();
+ ... | Move View's site dependency from constructor to setter | StoutLogic_understory | train | php,php |
ab87590ae88e8dd3c9f52f5461a9f30c7a8d2ea9 | diff --git a/chef/lib/chef/provider/user/useradd.rb b/chef/lib/chef/provider/user/useradd.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/provider/user/useradd.rb
+++ b/chef/lib/chef/provider/user/useradd.rb
@@ -91,12 +91,10 @@ class Chef
if @current_resource.home != @new_resource.home
if @ne... | Drop platform detection. No need to pass -M.
Pass -m after -d, only way usermod will move home dirs.
If :manage_home => false then just update account home dir. | chef_chef | train | rb |
87f3a895f7e71b1671ce0aa8b68f7d91af34e95c | diff --git a/user/edit.php b/user/edit.php
index <HASH>..<HASH> 100644
--- a/user/edit.php
+++ b/user/edit.php
@@ -231,7 +231,7 @@ function find_form_errors(&$user, &$usernew, &$err) {
if (empty($usernew->email))
$err["email"] = get_string("missingemail");
- if (empty($usernew->description))
+ if ... | Removed the requirement that the admin has to enter a user desription when creating a new account, see bug <I> | moodle_moodle | train | php |
f94248862e780090176ed3c05d81e7e7f462ba28 | diff --git a/src/file/formatter/adapter/Watermark.php b/src/file/formatter/adapter/Watermark.php
index <HASH>..<HASH> 100644
--- a/src/file/formatter/adapter/Watermark.php
+++ b/src/file/formatter/adapter/Watermark.php
@@ -9,7 +9,9 @@ use Imagine\Image\ImagineInterface;
use Imagine\Image\Point;
use tkanstantsin\fileu... | formatter adapter - watermark - choose filter depending on used driver | t-kanstantsin_fileupload | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.