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 |
|---|---|---|---|---|---|
9e698c74832b4e019a8418aae7853b56181260ab | diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py
index <HASH>..<HASH> 100644
--- a/ryu/ofproto/ofproto_v1_0_parser.py
+++ b/ryu/ofproto/ofproto_v1_0_parser.py
@@ -83,6 +83,12 @@ class OFPPhyPort(ofproto_parser.namedtuple('OFPPhyPort', (
'port_no', 'hw_addr', 'name', 'config'... | of<I>: fix json representation of OFPPhyPort.hw_addr and OFPPortMod.hw_addr | osrg_ryu | train | py |
3a587e8337381b43741c643ac70e5bfce88b08a9 | diff --git a/core/src/main/java/hudson/tasks/junit/CaseResult.java b/core/src/main/java/hudson/tasks/junit/CaseResult.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/tasks/junit/CaseResult.java
+++ b/core/src/main/java/hudson/tasks/junit/CaseResult.java
@@ -119,7 +119,7 @@ public final class CaseResult... | Exporting the duration to the remote API.
(we are already long past Stapler <I>.)
git-svn-id: <URL> | jenkinsci_jenkins | train | java |
600bc2b16eb9fe1e7b3bee757fa80a5fa177d5fd | diff --git a/lib/inspectors/res.js b/lib/inspectors/res.js
index <HASH>..<HASH> 100644
--- a/lib/inspectors/res.js
+++ b/lib/inspectors/res.js
@@ -263,10 +263,15 @@ module.exports = function(req, res, next) {
var maxRetryCount = 1;
var retryCount = 0;
var retryXHost = 0;
+ var ... | refactor: retry ECONNRESET | avwo_whistle | train | js |
25aac400c9ecb909ead7455f1a382424afdabdd4 | diff --git a/src/Models/User.php b/src/Models/User.php
index <HASH>..<HASH> 100644
--- a/src/Models/User.php
+++ b/src/Models/User.php
@@ -203,8 +203,8 @@ class User extends BaseSystemModel implements AuthenticatableContract, CanResetP
}
$password = ArrayUtils::get($record, 'password');
- ... | Bugfix - allowing system/user to update password | dreamfactorysoftware_df-core | train | php |
886a52d6eded698f7f84ee2bbdedd6d84628a16d | diff --git a/MAVProxy/mavproxy.py b/MAVProxy/mavproxy.py
index <HASH>..<HASH> 100755
--- a/MAVProxy/mavproxy.py
+++ b/MAVProxy/mavproxy.py
@@ -1435,7 +1435,7 @@ def vcell_to_battery_percent(vcell):
elif vcell > 3.81:
# 3.81 is 17% remaining, from flight logs
return 17.0 + 83.0 * (vcell - 3.81) / ... | Fix copy/paste error.
Before, a cell voltage lower or equal to <I> always returned <I> because the second `elif` was never entered. | ArduPilot_MAVProxy | train | py |
629fc87e0834dfa33b7e8cc7afeafaee5b3d6fb0 | diff --git a/src/main/java/org/jboss/pressgang/ccms/rest/v1/jaxrsinterfaces/RESTBaseInterfaceV1.java b/src/main/java/org/jboss/pressgang/ccms/rest/v1/jaxrsinterfaces/RESTBaseInterfaceV1.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/pressgang/ccms/rest/v1/jaxrsinterfaces/RESTBaseInterfaceV1.java
+++ b/s... | Added endpoints for minhash calculation and updating | pressgang-ccms_PressGangCCMSRESTv1Common | train | java |
492a3b09fa9487414ead574e41692ae3fca0e5b3 | diff --git a/terraform/transform_deposed.go b/terraform/transform_deposed.go
index <HASH>..<HASH> 100644
--- a/terraform/transform_deposed.go
+++ b/terraform/transform_deposed.go
@@ -57,6 +57,7 @@ func (t *DeposedTransformer) Transform(g *Graph) error {
Addr: addr,
Index: i,
Record... | deposed nodes need the resolved provider too
The provider is looked up by the ResolvedProvider | hashicorp_terraform | train | go |
c6d81e6ddd40e5b3fe601f207422e77fd2c5c393 | diff --git a/lib/nexpose/site.rb b/lib/nexpose/site.rb
index <HASH>..<HASH> 100644
--- a/lib/nexpose/site.rb
+++ b/lib/nexpose/site.rb
@@ -138,10 +138,6 @@ module Nexpose
# Configuration version. Default: 3
attr_accessor :config_version
- # Whether or not this site is dynamic.
- # Dynamic sites are cr... | Correctly assigning excluded ip/host targets to exclude collection in helper methods. | rapid7_nexpose-client | train | rb |
f05862c478bdf2aab195bd6806a4dc8e072d7191 | diff --git a/indra/util/statement_presentation.py b/indra/util/statement_presentation.py
index <HASH>..<HASH> 100644
--- a/indra/util/statement_presentation.py
+++ b/indra/util/statement_presentation.py
@@ -19,7 +19,7 @@ def _get_keyed_stmts(stmt_list):
if 1 < len(ag_ns) < 6:
for pair in p... | Avoid skipping complexes with only one entity listed n times. | sorgerlab_indra | train | py |
b13078e4b551787d890b6af97b6b8cc457cc0b94 | diff --git a/detect_secrets/core/potential_secret.py b/detect_secrets/core/potential_secret.py
index <HASH>..<HASH> 100644
--- a/detect_secrets/core/potential_secret.py
+++ b/detect_secrets/core/potential_secret.py
@@ -103,10 +103,10 @@ class PotentialSecret:
'is_verified': self.is_verified,
}
-... | Added checks to avoid AttributeError in potential_secret.py | Yelp_detect-secrets | train | py |
b11ee94db934699b414a110dcf153d6da6216bf5 | diff --git a/scot/__init__.py b/scot/__init__.py
index <HASH>..<HASH> 100644
--- a/scot/__init__.py
+++ b/scot/__init__.py
@@ -9,8 +9,6 @@ from __future__ import absolute_import
from . import config
-backends = ['backend_builtin', 'backend_sklearn']
-
# default backend
# TODO: set default backend in config
from... | Define __version__ in __init__ and read it in setup.py | scot-dev_scot | train | py,py |
313a8d667a30ed68de62d3d7b8b57bbb31652133 | diff --git a/config.js b/config.js
index <HASH>..<HASH> 100644
--- a/config.js
+++ b/config.js
@@ -3,7 +3,7 @@ var config = {
disableLogs: false,
port: 3232,
// Uncomment to make BWS a forking server
- cluster: true,
+ // cluster: true,
// Uncomment to use the nr of availalbe CPUs
// clusterInstances: ... | revert dflt config | bitpay_bitcore-wallet-service | train | js |
b0f136f57304e24f46f8ed91d4c652b0f5a99973 | diff --git a/src/main/java/com/synopsys/integration/blackduck/codelocation/bdio2legacy/UploadBdio2Callable.java b/src/main/java/com/synopsys/integration/blackduck/codelocation/bdio2legacy/UploadBdio2Callable.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/synopsys/integration/blackduck/codelocation/bdio2legacy... | feat: UploadBdio2Callable: set project and version headers | blackducksoftware_blackduck-common | train | java |
bdd874f0278b52855b371ee17df398e174b20c9d | diff --git a/mtp_common/nomis.py b/mtp_common/nomis.py
index <HASH>..<HASH> 100644
--- a/mtp_common/nomis.py
+++ b/mtp_common/nomis.py
@@ -98,7 +98,8 @@ def credit_prisoner(prison_id, prisoner_number, amount, credit_id, description,
'type': 'MRPR',
'description': description,
'amount': amoun... | Populate unique client ref field when creating NOMIS transactions | ministryofjustice_money-to-prisoners-common | train | py |
784cc49a47d16b0dbf8c2544fae926e3145957f3 | diff --git a/pfr/utils/playParsing.py b/pfr/utils/playParsing.py
index <HASH>..<HASH> 100644
--- a/pfr/utils/playParsing.py
+++ b/pfr/utils/playParsing.py
@@ -510,6 +510,9 @@ def addTeamColumns(features):
features = pd.DataFrame(features)
features.team.fillna(method='bfill', inplace=True)
features.opp.fi... | ffill to fill last row for team and opp | mdgoldberg_sportsref | train | py |
7f8c21432f4340e0d7fa26f8dfe201acfc42fcd4 | diff --git a/lib/cookbook.js b/lib/cookbook.js
index <HASH>..<HASH> 100644
--- a/lib/cookbook.js
+++ b/lib/cookbook.js
@@ -6,11 +6,14 @@ var Q = require('q'),
argv = require('optimist').argv;
function Cookbook(opts){
- this.config = opts.config;
+ var self = this;
+
+ this.config = opts.config || {};
... | Mixin recipe configs to cookbook. | imlucas_mott | train | js |
bb5a3b1e75d4162e532e4aea6abd28d8b70be907 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,4 +1,3 @@
-import assign from "core-js/library/fn/object/assign";
import joi from "joi";
import optionsSchema from "./utils/optionsSchema";
@@ -32,15 +31,12 @@ function remarkGenericExtensions(options = ... | chore(module): replace `Object::assign` by es6 spread operator | medfreeman_remark-generic-extensions | train | js |
e3677c14cd7d4f780204e660ae0b5ebadccd43a3 | diff --git a/src/Collections/Collection.php b/src/Collections/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Collections/Collection.php
+++ b/src/Collections/Collection.php
@@ -581,7 +581,7 @@ class Collection implements \ArrayAccess, \Iterator, \Countable
}
$modelSchema = $this->getModelSchem... | Fix for count aggregate (reverted from commit 9fcefdfe6e<I>abeb3bcaa<I>cbc<I>d<I>) | RhubarbPHP_Module.Stem | train | php |
94549985bc88730e2c38dff9c7b82a0b4d38f451 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -48,9 +48,9 @@ copyright = u'2011, Jannis Leidel and contributors'
# built documents.
#
# The short X.Y version.
-version = '0.3'
+version = '0.4'
# The full version, including alpha/beta/rc tags.
-release ... | Bumped version to <I>. | jazzband_django-queued-storage | train | py,py |
b3e775a780a20caad0ba85d7de9458e1da71eb73 | diff --git a/MySQLdb/cursors.py b/MySQLdb/cursors.py
index <HASH>..<HASH> 100644
--- a/MySQLdb/cursors.py
+++ b/MySQLdb/cursors.py
@@ -110,14 +110,17 @@ class BaseCursor(object):
return x
if isinstance(args, (tuple, list)):
- return tuple(literal(ensure_bytes(arg)) for arg in args)
+ ... | fix Cursor.executemany created many circular references (#<I>) | PyMySQL_mysqlclient-python | train | py |
3b07393ea84c57b0c5b995045a2b983df7821d93 | diff --git a/pkg/kubelet/metrics/collectors/log_metrics_test.go b/pkg/kubelet/metrics/collectors/log_metrics_test.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/metrics/collectors/log_metrics_test.go
+++ b/pkg/kubelet/metrics/collectors/log_metrics_test.go
@@ -20,25 +20,19 @@ import (
"strings"
"testing"
- "git... | Refactor UT with testutil from k/k. | kubernetes_kubernetes | train | go |
0410389b3421496c17b9f96d4f271be4f72db287 | diff --git a/node-binance-api.js b/node-binance-api.js
index <HASH>..<HASH> 100644
--- a/node-binance-api.js
+++ b/node-binance-api.js
@@ -402,7 +402,7 @@ let api = function Binance( options = {} ) {
timeout: Binance.options.recvWindow,
followAllRedirects: true
};
- ... | Futures promiseRequest: Fix "Mandatory parameter 'timestamp' was not sent, was empty/null, or malformed." -<I> | jaggedsoft_node-binance-api | train | js |
e796b1d6c543a819bc84fc22c68cacc077fa99da | diff --git a/lib/Context.js b/lib/Context.js
index <HASH>..<HASH> 100644
--- a/lib/Context.js
+++ b/lib/Context.js
@@ -7,7 +7,9 @@ class HTTPContext {
}
setHeaders(dict) {
-
+ for (let header in dict)
+ if (dict.hasOwnProperty(header))
+ this.response.header(header, dict[hea... | added setHeaders for context.HTTP | julien-sarazin_idylle | train | js |
c01020575a8dcb332c22dedab3dfc1460b1c06bd | diff --git a/src/Synapse/TestHelper/MapperTestCase.php b/src/Synapse/TestHelper/MapperTestCase.php
index <HASH>..<HASH> 100644
--- a/src/Synapse/TestHelper/MapperTestCase.php
+++ b/src/Synapse/TestHelper/MapperTestCase.php
@@ -229,4 +229,11 @@ abstract class MapperTestCase extends PHPUnit_Framework_TestCase
... | Refs #<I> - Add helper method to perform a regex assertion on captured sql strings. | synapsestudios_synapse-base | train | php |
e3cb8e6c7874d7dfe1d4d1c7f5c9765b681fb647 | diff --git a/commands/hugo.go b/commands/hugo.go
index <HASH>..<HASH> 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -764,7 +764,7 @@ func (c *commandeer) handleEvents(watcher *watcher.Batcher,
if ev.Op&fsnotify.Chmod == fsnotify.Chmod {
continue
}
- if ev.Op&fsnotify.Remove == fsnotify.Remove {... | Add configFile(s) back to the watch list after RENAME event too
Alleviates #<I> | gohugoio_hugo | train | go |
3801c039db3c7a8133d7a20b57b84f7c4147bfc2 | diff --git a/robolectric/src/test/java/org/robolectric/android/controller/ActivityControllerTest.java b/robolectric/src/test/java/org/robolectric/android/controller/ActivityControllerTest.java
index <HASH>..<HASH> 100644
--- a/robolectric/src/test/java/org/robolectric/android/controller/ActivityControllerTest.java
+++ ... | Cannot use assertThrows on this version of JUnit | robolectric_robolectric | train | java |
34bca066c2a19f6f3693076e1b5c325063b03cb6 | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -431,12 +431,14 @@ func (s *Server) Start() {
}
for _, sink := range s.spanSinks {
+ logrus.WithField("sink", sink.Name()).Info("Starting span sink")
if err := sink.Start(s.TraceClient); err != nil {
logrus.W... | Add two info loglines for when we're starting sinks | stripe_veneur | train | go |
684ee073a660bf261e1c00f54ac5c0002bb8be3f | diff --git a/src/main/java/com/couchbase/lite/internal/AttachmentInternal.java b/src/main/java/com/couchbase/lite/internal/AttachmentInternal.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/couchbase/lite/internal/AttachmentInternal.java
+++ b/src/main/java/com/couchbase/lite/internal/AttachmentInternal.java
@... | Fix attachment revpos not being set when follows=true
During the pull replication, the revpos of an attachment could be set to a parent revision while the follows=true. If the revpos value doesn't get preserved, the revpos will be set to the current generation.
Later, when pushing an updated document again, the attac... | couchbase_couchbase-lite-java-core | train | java |
4789fa3b8c61cef95a369edac4110f7fd77d535d | diff --git a/packages/ra-ui-materialui/src/detail/SimpleShowLayout.js b/packages/ra-ui-materialui/src/detail/SimpleShowLayout.js
index <HASH>..<HASH> 100644
--- a/packages/ra-ui-materialui/src/detail/SimpleShowLayout.js
+++ b/packages/ra-ui-materialui/src/detail/SimpleShowLayout.js
@@ -49,7 +49,7 @@ const sanitizeRestP... | SimpleShowLayout exported twice. | marmelab_react-admin | train | js |
63ede93257227c6223ef17bd7166c0ec9147f959 | diff --git a/src/controllers/RestController.php b/src/controllers/RestController.php
index <HASH>..<HASH> 100755
--- a/src/controllers/RestController.php
+++ b/src/controllers/RestController.php
@@ -16,6 +16,7 @@ class RestController extends \yii\rest\Controller
return ArrayHelper::merge(parent::behaviors(), [... | pass oauth2Module to RestController behaviors | tecnocen-com_yii2-oauth2-server | train | php |
d84cff405963ad45cb78808baca224fb7bc95f5a | diff --git a/views/widget/header-logo.blade.php b/views/widget/header-logo.blade.php
index <HASH>..<HASH> 100644
--- a/views/widget/header-logo.blade.php
+++ b/views/widget/header-logo.blade.php
@@ -1,6 +1,6 @@
@extends('widget.header-widget')
@section('widget')
- <div class="c-header__logo">
+ <div... | Allow the theme to affect logotype in customizer | helsingborg-stad_Municipio | train | php |
3833d1feb5b98d2b6cbd148c1dd419dab0ed9c8e | diff --git a/src/photini/__init__.py b/src/photini/__init__.py
index <HASH>..<HASH> 100644
--- a/src/photini/__init__.py
+++ b/src/photini/__init__.py
@@ -1,4 +1,4 @@
from __future__ import unicode_literals
__version__ = '2022.1.1'
-build = '1919 (6cdc862)'
+build = '1920 (f5511d2)'
diff --git a/src/photini/descrip... | Add stretch to descriptive tab
This keeps the widgets correctly aligned when the window is made very
large. This problem only occurs on PySide6. | jim-easterbrook_Photini | train | py,py |
809c78afc78597a7355ba2e3962518ebca8a89d7 | diff --git a/scripts/build.js b/scripts/build.js
index <HASH>..<HASH> 100644
--- a/scripts/build.js
+++ b/scripts/build.js
@@ -31,13 +31,20 @@ shell.config.verbose = true;
shell.cd(`${env.sourceFolder}`);
if (env.isWindows) {
- exec(`cmake -DWANT_SYNCAPI=OFF -DCMAKE_GENERATOR_PLATFORM=${process.arch} .`);
- e... | fix: less verbose Windows builds | yfinkelstein_node-zookeeper | train | js |
af2ed58fccebff06bfc028fa124c84b51fb01013 | diff --git a/src/Entity/Ranking.php b/src/Entity/Ranking.php
index <HASH>..<HASH> 100644
--- a/src/Entity/Ranking.php
+++ b/src/Entity/Ranking.php
@@ -18,13 +18,13 @@ abstract class Ranking extends MPNContentEntityBase implements MPNEntityInterfac
);
}
- public abstract function getBaseTable();
+ abstract p... | refactoring - clean Ranking abstract entity | mespronos_mespronos | train | php |
ca6641b4b6dcab5e153f725a9e82672fc2f16251 | diff --git a/gtk/gtk.go b/gtk/gtk.go
index <HASH>..<HASH> 100644
--- a/gtk/gtk.go
+++ b/gtk/gtk.go
@@ -6552,6 +6552,17 @@ func (v *Range) SetRange(min, max float64) {
C.gtk_range_set_range(v.native(), C.gdouble(min), C.gdouble(max))
}
+// GetInverted() is a wrapper around gtk_range_get_inverted().
+func (v *Range)... | expose get/set invert functions for GtkRange | gotk3_gotk3 | train | go |
78e2b18c431d9165bf9d048938b4dfebba56d177 | diff --git a/steamfiles/appinfo.py b/steamfiles/appinfo.py
index <HASH>..<HASH> 100644
--- a/steamfiles/appinfo.py
+++ b/steamfiles/appinfo.py
@@ -1,3 +1,4 @@
+import copy
import struct
from collections import OrderedDict
@@ -17,12 +18,11 @@ def loads(content):
def dump(obj, fp):
- for chunk in AppinfoEncod... | [Appinfo] Both dump() and dumps() are now implemented | leovp_steamfiles | train | py |
e7203987ae394614ff660fa9c68967633b679f95 | diff --git a/bind.go b/bind.go
index <HASH>..<HASH> 100644
--- a/bind.go
+++ b/bind.go
@@ -29,7 +29,7 @@ func BindType(driverName string) int {
return QUESTION
case "sqlite3":
return QUESTION
- case "oci8", "ora", "goracle":
+ case "oci8", "ora", "goracle", "godror":
return NAMED
case "sqlserver":
retur... | Closes #<I>
small fix for godror support after goracle package name changed while goracle is deprecated because of naming (trademark) issues. | jmoiron_sqlx | train | go |
40ecf990537db62554a076ac59fcd9271538f9c6 | diff --git a/packages/idyll-document/test/vars/vars.js b/packages/idyll-document/test/vars/vars.js
index <HASH>..<HASH> 100644
--- a/packages/idyll-document/test/vars/vars.js
+++ b/packages/idyll-document/test/vars/vars.js
@@ -5,12 +5,28 @@ import ast from './ast.json'
describe('Component state initialization', () =... | More vars and derived vars tests, including updates | idyll-lang_idyll | train | js |
599c791a99b43a9d0f348683aaaaa6a0500ec76c | diff --git a/__tests__/cells/identity-test.js b/__tests__/cells/identity-test.js
index <HASH>..<HASH> 100644
--- a/__tests__/cells/identity-test.js
+++ b/__tests__/cells/identity-test.js
@@ -10,6 +10,11 @@ var identity = require('../../lib/cells/identity.js');
describe('identity', function(){
it('formats correctl... | Fix identity test
Related to #<I>. | reactabular_reactabular | train | js |
7196696e7f8c6c5d5626055176dbe9fceb8c23e5 | diff --git a/pymatgen/core/spectrum.py b/pymatgen/core/spectrum.py
index <HASH>..<HASH> 100644
--- a/pymatgen/core/spectrum.py
+++ b/pymatgen/core/spectrum.py
@@ -114,6 +114,9 @@ class Spectrum(MSONable):
return self.__class__(self.x, self.y / other, *self._args,
**self._kwargs)
... | Fix div in py2. | materialsproject_pymatgen | train | py |
fd60c3fe8ab8d7176cd12f0c9322797f4ba7c915 | diff --git a/lib/poolparty/base_packages/haproxy.rb b/lib/poolparty/base_packages/haproxy.rb
index <HASH>..<HASH> 100644
--- a/lib/poolparty/base_packages/haproxy.rb
+++ b/lib/poolparty/base_packages/haproxy.rb
@@ -4,7 +4,7 @@ module PoolParty
def enable
package({:name => "haproxy"})
- end ... | Added haproxy into the requirements | auser_poolparty | train | rb,rb,rb |
d9e6da2a8e41337285e2f3d3d6b6f040d446a9e2 | diff --git a/checkList/checkList.go b/checkList/checkList.go
index <HASH>..<HASH> 100644
--- a/checkList/checkList.go
+++ b/checkList/checkList.go
@@ -1,7 +1,7 @@
package checkList
import (
- "errors"
+ "log"
"os/exec"
"sync"
@@ -109,7 +109,7 @@ func hasLicense(taskName string) (message string, success bool) ... | chore: Make it pass through gometalinter | karolgorecki_goprove | train | go |
2aa71112a6c8c01c6b26ac942aea0d7de6a7dd00 | diff --git a/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js b/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js
+++ b/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js
@... | feat(meetings): add totalJmt joinTime metric | webex_spark-js-sdk | train | js |
5f1754aa3cc7d9cb8e5caceec123d1673bfdb4ea | diff --git a/rapidoid-pages/src/test/java/org/rapidoid/pages/PlaygroundWidgetTest.java b/rapidoid-pages/src/test/java/org/rapidoid/pages/PlaygroundWidgetTest.java
index <HASH>..<HASH> 100644
--- a/rapidoid-pages/src/test/java/org/rapidoid/pages/PlaygroundWidgetTest.java
+++ b/rapidoid-pages/src/test/java/org/rapidoid/p... | Adapted test to the attribute renaming ("css" into "style"). | rapidoid_rapidoid | train | java |
3a730543fb185ab591fa9e03bf4b97cbde090343 | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -21,6 +21,12 @@ module.exports = function(config) {
if (process.env.CI && process.env.SAUCE_ACCESS_KEY) {
var customLaunchers = {
+ sauceLabsChrome: {
+ base: 'Sauc... | Migrate testing from IE8 to Chrome
IE8 is obsolete. | ruslansagitov_loud | train | js |
c05383b99574660fa750e239a404a7b6d8634865 | diff --git a/redisson/src/main/java/org/redisson/executor/TasksRunnerService.java b/redisson/src/main/java/org/redisson/executor/TasksRunnerService.java
index <HASH>..<HASH> 100644
--- a/redisson/src/main/java/org/redisson/executor/TasksRunnerService.java
+++ b/redisson/src/main/java/org/redisson/executor/TasksRunnerSe... | Fixed - RScheduledExecutorService.scheduleAtFixedRate() stops work after some time. #<I> | redisson_redisson | train | java |
80ea640901b2495e184780932647f7418bb91b31 | diff --git a/lib/webrat/selenium/location_strategy_javascript/label.js b/lib/webrat/selenium/location_strategy_javascript/label.js
index <HASH>..<HASH> 100644
--- a/lib/webrat/selenium/location_strategy_javascript/label.js
+++ b/lib/webrat/selenium/location_strategy_javascript/label.js
@@ -10,7 +10,7 @@ RegExp.escape =... | Fix selenium webrat tests in FF/Safari -- locatedLabel.htmlFor returns empty string in FF/Safari which breaks location strategy for label | brynary_webrat | train | js |
be31d411edc5e777d68e06858588d1025e9c819d | diff --git a/Geometry/point.py b/Geometry/point.py
index <HASH>..<HASH> 100644
--- a/Geometry/point.py
+++ b/Geometry/point.py
@@ -206,6 +206,7 @@ class Point(object):
@classmethod
def units(cls):
'''
+ XXX missing doc string
'''
return [cls(1,0,0),cls(0,1,0),cls(0,0,1)] | units missing doc string - still missing but explicit | JnyJny_Geometry | train | py |
d6e729889ee2856154b041c866bcbabed3713804 | diff --git a/schema_salad/main.py b/schema_salad/main.py
index <HASH>..<HASH> 100644
--- a/schema_salad/main.py
+++ b/schema_salad/main.py
@@ -40,7 +40,7 @@ def printrdf(workflow, # type: str
g = jsonld_context.makerdf(workflow, wf, ctx)
print(g.serialize(format=sr))
-def chunk_messages(msg): # type: (str)... | Fix for pylint | common-workflow-language_schema_salad | train | py |
f0256ebbbef05e97a6f581e659147d84fb99aad7 | diff --git a/lib/modules/apostrophe-pages/lib/pagesCursor.js b/lib/modules/apostrophe-pages/lib/pagesCursor.js
index <HASH>..<HASH> 100644
--- a/lib/modules/apostrophe-pages/lib/pagesCursor.js
+++ b/lib/modules/apostrophe-pages/lib/pagesCursor.js
@@ -28,9 +28,6 @@ module.exports = {
self.addFilter('ancestors', {... | restored test behavior, removed unnecessary else clause, removed unnecessary setter used for debugging | apostrophecms_apostrophe | train | js |
4b905b8422d8fe5f2c71ef211cd97e8dd729bd29 | diff --git a/Component/Routing/Route/Route.php b/Component/Routing/Route/Route.php
index <HASH>..<HASH> 100755
--- a/Component/Routing/Route/Route.php
+++ b/Component/Routing/Route/Route.php
@@ -2,11 +2,15 @@
namespace Fapi\Component\Routing\Route;
+use \InvalidArgumentException;
+
/**
* Fapi\Component\Routing\... | Adds list of methods allowed for Route | rybakdigital_fapi | train | php |
951352507c88bc2430bf21d00adf16b1e55de105 | diff --git a/ez_setup.py b/ez_setup.py
index <HASH>..<HASH> 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -31,7 +31,7 @@ try:
except ImportError:
USER_SITE = None
-DEFAULT_VERSION = "3.4.3"
+DEFAULT_VERSION = "3.4.4"
DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
def _python_cmd(*args... | Bumped to <I> in preparation for next release. | pypa_setuptools | train | py,py |
efd6700b0a4ab9db589cc363c4b4fc5efa33c88e | diff --git a/lib/python/dxpy/program_builder.py b/lib/python/dxpy/program_builder.py
index <HASH>..<HASH> 100644
--- a/lib/python/dxpy/program_builder.py
+++ b/lib/python/dxpy/program_builder.py
@@ -87,6 +87,14 @@ def upload_program(src_dir, uploaded_resources, check_name_collisions=True, over
program_id = dxpy.... | Populate properties short_description, description, and category. | dnanexus_dx-toolkit | train | py |
315e459570c6285a0761f917477a364daac1028a | diff --git a/modules/wybs/src/wybs/lang/Build.java b/modules/wybs/src/wybs/lang/Build.java
index <HASH>..<HASH> 100644
--- a/modules/wybs/src/wybs/lang/Build.java
+++ b/modules/wybs/src/wybs/lang/Build.java
@@ -97,4 +97,30 @@ public interface Build {
public <T> Path.Entry<T> create(Path.ID id, Content.Type<T> ct,
... | WyBS: Working on improved design of the build system. It's coming along, though still a few things to figure out. | Whiley_WhileyCompiler | train | java |
6643e6fdf4bc19d1349854daeeb1c7d758262a0f | diff --git a/bokeh/client/session.py b/bokeh/client/session.py
index <HASH>..<HASH> 100644
--- a/bokeh/client/session.py
+++ b/bokeh/client/session.py
@@ -167,7 +167,7 @@ class ClientSession(object):
"""
self.connect()
if not self._connection.connected:
- raise IOError("Cannot pull... | Specifically suggest running 'bokeh serve' if we can't connect to server | bokeh_bokeh | train | py |
8e1bba92715ff05af39817d00e293d408c3074dd | diff --git a/test/mp/helpers/entry-runtime-with-compiler.js b/test/mp/helpers/entry-runtime-with-compiler.js
index <HASH>..<HASH> 100644
--- a/test/mp/helpers/entry-runtime-with-compiler.js
+++ b/test/mp/helpers/entry-runtime-with-compiler.js
@@ -31,7 +31,8 @@ Vue.prototype.$mount = function (
imports: {
... | test: fix entry runtime, add components: "child" | kaola-fed_megalo | train | js |
5df4e590ddb5425cd52a4965ab7b04e0356a8ebe | diff --git a/google-cloud-logging/test/google/cloud/logging/middleware_test.rb b/google-cloud-logging/test/google/cloud/logging/middleware_test.rb
index <HASH>..<HASH> 100644
--- a/google-cloud-logging/test/google/cloud/logging/middleware_test.rb
+++ b/google-cloud-logging/test/google/cloud/logging/middleware_test.rb
@... | Stub project_id for unit test failure | googleapis_google-cloud-ruby | train | rb |
a6da372b1be0b36154d23a5dff8cfa3aa379957e | diff --git a/Model/Variant.php b/Model/Variant.php
index <HASH>..<HASH> 100644
--- a/Model/Variant.php
+++ b/Model/Variant.php
@@ -269,7 +269,7 @@ class Variant implements VariantInterface
/**
* {@inheritdoc}
*/
- public function setDeletedAt(\DateTime $deletedAt)
+ public function setDeletedAt(\... | Added option to undelete resource (product) and separete listing of products and deleted products
cleanup
Update product.yml
Update Product.php
fixed namings | Sylius_Variation | train | php |
9ec5b47a1a4cf0b5910917aa6785720d1b817239 | diff --git a/tests/models.py b/tests/models.py
index <HASH>..<HASH> 100644
--- a/tests/models.py
+++ b/tests/models.py
@@ -2965,10 +2965,10 @@ class TestCountUnionRegression(ModelTestCase):
lhs = User.select()
rhs = User.select()
- query = (lhs & rhs)
+ query = (lhs | rhs)
sel... | MySQL doesn't support INTERSECT. | coleifer_peewee | train | py |
b6b2cce467f37b6a3ebfea668604bb9ec2f00f09 | diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb
index <HASH>..<HASH> 100644
--- a/lib/axlsx/workbook/worksheet/cell.rb
+++ b/lib/axlsx/workbook/worksheet/cell.rb
@@ -175,14 +175,14 @@ module Axlsx
# @option options [String] color an 8 letter rgb specification
# @option... | Little performance improvement.
It doesn't need to do type detection if it is passed by options | randym_axlsx | train | rb |
05dad88ff43cc2f4185fb3da9a6c37d0630045e7 | diff --git a/test/libs/router.spec.js b/test/libs/router.spec.js
index <HASH>..<HASH> 100644
--- a/test/libs/router.spec.js
+++ b/test/libs/router.spec.js
@@ -5,9 +5,14 @@ import Router from 'src/libs/router';
describe('Class Router', () => {
- it('should throw an error if passed object is not an object', () => {
... | Router.test: added tests for Router.newUrl; removed no needed test | SerkanSipahi_app-decorators | train | js |
084079f446570ba43114857ea1a54df896201419 | diff --git a/airflow/www/extensions/init_security.py b/airflow/www/extensions/init_security.py
index <HASH>..<HASH> 100644
--- a/airflow/www/extensions/init_security.py
+++ b/airflow/www/extensions/init_security.py
@@ -35,7 +35,8 @@ def init_xframe_protection(app):
return
def apply_caching(response):
- ... | Set X-Frame-Options header to DENY only if X_FRAME_ENABLED is set to true. (#<I>) | apache_airflow | train | py |
3105bd70e4d25c1f075104faf37b73d60affafe4 | diff --git a/prometheus/metric.go b/prometheus/metric.go
index <HASH>..<HASH> 100644
--- a/prometheus/metric.go
+++ b/prometheus/metric.go
@@ -235,6 +235,16 @@ func (state *metricState) collect(metrics []metric, mtype metricType, name, help
state.mutex.Lock()
switch mtype {
+ case counter, gauge:
+ metrics = app... | don't risk producing metrics of unknown types | segmentio_stats | train | go |
637b0133a8b706bffa09f41071cc7bd6a5e8f7b4 | diff --git a/app/webroot/test.php b/app/webroot/test.php
index <HASH>..<HASH> 100644
--- a/app/webroot/test.php
+++ b/app/webroot/test.php
@@ -18,7 +18,6 @@
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/
set_time_limit(0);
-ini_set('memory_limit','128M');
in... | Removing memory limit configuration from test.php. Was problematic in that it would override php.ini settings which could be higher. | cakephp_cakephp | train | php |
25a044d99b5d213ee1176d8c9f93930709e431a1 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -88,6 +88,19 @@ pygments_style = 'sphinx'
# turn off flags by hand using :no-members:
autodoc_default_flags = ['members', 'show-inheritance', 'inherited-members']
+# This value selects what content will be inse... | [doc] Document cythonized code | fredRos_pypmc | train | py |
9ed6cb897fcfe418a3d5a00947ae4fbb465dd955 | diff --git a/tests/bootstrap-dist.php b/tests/bootstrap-dist.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap-dist.php
+++ b/tests/bootstrap-dist.php
@@ -7,6 +7,5 @@ use Proem\Loader\Autoloader;
$loader = new AutoLoader();
$loader->registerNamespaces([
'Proem\\Tests' => 'tests/lib',
- 'Proem' => '... | Fixing bootstrap-dist.php to use PearPrefixes for PHPUnit | proem-components_signal | train | php |
9358496dc4b2fa101ca1365aedd9ec1fb345c876 | diff --git a/lib/rr/adapters/test_unit_1.rb b/lib/rr/adapters/test_unit_1.rb
index <HASH>..<HASH> 100644
--- a/lib/rr/adapters/test_unit_1.rb
+++ b/lib/rr/adapters/test_unit_1.rb
@@ -34,7 +34,9 @@ module RR
alias_method :teardown_without_rr, :teardown
def teardown_with_rr
RR.ver... | Fix Test::Unit adapters to ensure teardown is run if RR.verify borks | rr_rr | train | rb |
46fd71b63d1f42ebd2c33718b94b87025f9b298d | diff --git a/src/implementations/react/src/elements/components/GlobalNav/GlobalNav.js b/src/implementations/react/src/elements/components/GlobalNav/GlobalNav.js
index <HASH>..<HASH> 100644
--- a/src/implementations/react/src/elements/components/GlobalNav/GlobalNav.js
+++ b/src/implementations/react/src/elements/compone... | add proptypes for sidenav callbacks through globalnav | Autodesk_hig | train | js |
8267e0d117a49e95fc4cc06811293d3b5627f95b | diff --git a/src/CartItem.php b/src/CartItem.php
index <HASH>..<HASH> 100644
--- a/src/CartItem.php
+++ b/src/CartItem.php
@@ -226,10 +226,8 @@ class CartItem
*/
public function getDiscount($format = true)
{
- $discount = $this->discount;
-
return \App::make(LaraCart::SERVICE)->formatMon... | no reason to store it in avariable | lukepolo_laracart | train | php |
63fbda3bc5d62aa35c342a182ccd3c66f7246373 | diff --git a/src/withAutofillProps.js b/src/withAutofillProps.js
index <HASH>..<HASH> 100644
--- a/src/withAutofillProps.js
+++ b/src/withAutofillProps.js
@@ -3,6 +3,7 @@ import wrapDisplayName from 'recompose/wrapDisplayName'
const startAnimationName = 'onAutofillStart'
const endAnimationName = 'onAutofillCancel'
... | create only one style element to inject to | klarna_higher-order-components | train | js |
f8ee085dc7deb8fb88e2b60fb4cbcb414272ec8d | diff --git a/lxc/main.go b/lxc/main.go
index <HASH>..<HASH> 100644
--- a/lxc/main.go
+++ b/lxc/main.go
@@ -343,7 +343,7 @@ func (c *cmdGlobal) PreRun(cmd *cobra.Command, args []string) error {
}
if !shared.StringInSlice(cmd.Name(), []string{"init", "launch"}) {
- fmt.Fprintf(os.Stderr, i18n.G("To start your f... | lxc: suggest <I> as the first container to launch instead of <I> | lxc_lxd | train | go |
2d22f62562a090f509854d35e47c75029d2f19e8 | diff --git a/lib/scruffy/version.rb b/lib/scruffy/version.rb
index <HASH>..<HASH> 100644
--- a/lib/scruffy/version.rb
+++ b/lib/scruffy/version.rb
@@ -2,7 +2,7 @@ module Scruffy
module VERSION #:nodoc:
MAJOR = 0
MINOR = 2
- TINY = 5
+ TINY = 6
STRING = [MAJOR, MINOR, TINY].join('.')
end | Changed version to <I> | brasten_scruffy | train | rb |
ac9b223c51a51a7d09e294cf1d331b6607043a94 | diff --git a/scripts/config.js b/scripts/config.js
index <HASH>..<HASH> 100644
--- a/scripts/config.js
+++ b/scripts/config.js
@@ -8,6 +8,7 @@ const flow = require('rollup-plugin-flow-no-whitespace')
const version = process.env.VERSION || require('../package.json').version
const weexVersion = process.env.WEEX_VERSION... | feat: use Vue core as Vue.version and add Vue.megaloVersion #<I> | kaola-fed_megalo | train | js,js |
527cafb42b0b3a7cd0da84355c2f00b7365452b4 | diff --git a/lib/createMd.js b/lib/createMd.js
index <HASH>..<HASH> 100644
--- a/lib/createMd.js
+++ b/lib/createMd.js
@@ -40,7 +40,7 @@ function showState(state) {
line.push(state.indicator ? 'X' : ' ');
//line.push(state.noSubscribe ? 'NS' : '');
- line.push(state.role ? '`' + state.role.replace(/\|/g,... | with double backticks single backtick is allowed | ioBroker_ioBroker.type-detector | train | js |
fca8e6e018bdac9cebe18d115d397fad034ede02 | diff --git a/juju/constraints.py b/juju/constraints.py
index <HASH>..<HASH> 100644
--- a/juju/constraints.py
+++ b/juju/constraints.py
@@ -81,6 +81,11 @@ def normalize_value(value):
if value.isdigit():
return int(value)
+
+ if value.lower() == 'true':
+ return True
+ if value.lower() ==... | Added boolean entries to normalize values. | juju_python-libjuju | train | py |
4258facd7e72269f21702af2580c281432ee9107 | diff --git a/extensions/breadcrumb-trail.php b/extensions/breadcrumb-trail.php
index <HASH>..<HASH> 100644
--- a/extensions/breadcrumb-trail.php
+++ b/extensions/breadcrumb-trail.php
@@ -131,7 +131,7 @@ class Breadcrumb_Trail {
/* Add 'browse' label if it should be shown. */
if ( true === $this->args['show_... | Need space at the end of the 'browse' argument. | justintadlock_hybrid-core | train | php |
2d7ef5f17c904ea52cedcb23dfefb322c271ded7 | diff --git a/lib/leaflet-rails/version.rb b/lib/leaflet-rails/version.rb
index <HASH>..<HASH> 100644
--- a/lib/leaflet-rails/version.rb
+++ b/lib/leaflet-rails/version.rb
@@ -1,5 +1,5 @@
module Leaflet
module Rails
- VERSION = "0.4.5"
+ VERSION = "0.5.0.beta1"
end
end | Update version number to <I>.beta1. | axyjo_leaflet-rails | train | rb |
2dba36808adc79267b311de6ecd0a068f8d2958b | diff --git a/checkmgr/metrics.go b/checkmgr/metrics.go
index <HASH>..<HASH> 100644
--- a/checkmgr/metrics.go
+++ b/checkmgr/metrics.go
@@ -44,6 +44,10 @@ func (cm *CheckManager) ActivateMetric(name string) bool {
func (cm *CheckManager) AddMetricTags(metricName string, tags []string, appendTags bool) bool {
tagsUpda... | upd: short circuit AddMetricTags if check management is not enabled | circonus-labs_circonus-gometrics | train | go |
a7675228cc95fe63939e2cfe883bea72127c5046 | diff --git a/src/Controller/Backend/BackendBase.php b/src/Controller/Backend/BackendBase.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Backend/BackendBase.php
+++ b/src/Controller/Backend/BackendBase.php
@@ -56,7 +56,9 @@ abstract class BackendBase extends Base
// Handle the case where the route doesn... | Temporary hack to get the permission name associated with the route | bolt_bolt | train | php |
059d22bd77e0757d96ffc36f2043c2fda2e92a88 | diff --git a/app/models/issn_record.rb b/app/models/issn_record.rb
index <HASH>..<HASH> 100644
--- a/app/models/issn_record.rb
+++ b/app/models/issn_record.rb
@@ -1,3 +1,4 @@
class IssnRecord < ActiveRecord::Base
belongs_to :manifestation
+ validates :body, presence: true, uniqueness: {scope: :issn_type}
end | add valiation to IssnRecord | next-l_enju_biblio | train | rb |
4a2a5a6a82a688d1cbee90e25031c900589384a3 | diff --git a/Kwf/Loader.php b/Kwf/Loader.php
index <HASH>..<HASH> 100644
--- a/Kwf/Loader.php
+++ b/Kwf/Loader.php
@@ -35,7 +35,14 @@ class Kwf_Loader
{
static $namespaces;
if (!isset($namespaces)) {
- $namespaces = include VENDOR_PATH.'/composer/autoload_namespaces.php';
+ ... | Normalize the composer namepaces to fit for our Kwf_Loader
e.g. PHPExcel -> PHPExcel_ | koala-framework_koala-framework | train | php |
850fd1ab3db7ee27c0aefad49b38cef621dc3134 | diff --git a/src/test/org/openscience/cdk/coverage/SignatureCoverageTest.java b/src/test/org/openscience/cdk/coverage/SignatureCoverageTest.java
index <HASH>..<HASH> 100644
--- a/src/test/org/openscience/cdk/coverage/SignatureCoverageTest.java
+++ b/src/test/org/openscience/cdk/coverage/SignatureCoverageTest.java
@@ -1... | Added the missing assert: runCoverageTest() returns a boolean stating the success | cdk_cdk | train | java |
2ff694eaefbb7efd2089d9c2ecb8b7575bfa55cf | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
@@ -2... | Check that frame is valid before getting a ResourceValue from it.
git-svn-id: <URL> | spotbugs_spotbugs | train | java |
e0cab8f91a978df82fe78d863322475577ddb532 | diff --git a/src/Page.php b/src/Page.php
index <HASH>..<HASH> 100644
--- a/src/Page.php
+++ b/src/Page.php
@@ -99,7 +99,7 @@ final class Page implements PageInterface
return;
}
- return new self($this->adapter, $this->strategy, $this->perPage, $this->number + 1);
+ return $this->ge... | Refactor page creation to single method in Page | kgilden_pager | train | php |
3c08a308ed85bb5cc64c6fd847738158d086557b | diff --git a/test/db/postgres_config.rb b/test/db/postgres_config.rb
index <HASH>..<HASH> 100644
--- a/test/db/postgres_config.rb
+++ b/test/db/postgres_config.rb
@@ -12,3 +12,7 @@ POSTGRES_CONFIG[:port] = ENV['PGPORT'] if ENV['PGPORT']
unless ( ps = ENV['PREPARED_STATEMENTS'] || ENV['PS'] ).nil?
POSTGRES_CONFIG[:p... | support running Postgres' tests with "INSERT RETURNING" configuration | jruby_activerecord-jdbc-adapter | train | rb |
025949a54b31c78f900ca172fc1ffff63ff5fae6 | diff --git a/src/qtism/data/AssessmentItem.php b/src/qtism/data/AssessmentItem.php
index <HASH>..<HASH> 100644
--- a/src/qtism/data/AssessmentItem.php
+++ b/src/qtism/data/AssessmentItem.php
@@ -39,7 +39,6 @@ use qtism\data\processing\ResponseProcessing;
use qtism\common\utils\Format;
use \SplObjectStorage;
use \Inv... | Remove observers while cloned. | oat-sa_qti-sdk | train | php |
946e709b4de6fb123ab0646f979814fd21c6e2aa | diff --git a/src/voronoi.js b/src/voronoi.js
index <HASH>..<HASH> 100644
--- a/src/voronoi.js
+++ b/src/voronoi.js
@@ -28,13 +28,14 @@ export default class Voronoi {
} while (j !== i);
if (j !== i) { // Stopped when walking forward; walk backward.
+ const k = halfedges[i % 3 === 0 ? i + 2 : i - 1... | Fix #<I> hang on bad triangulation. | d3_d3-delaunay | train | js |
858163c3f55064dcbff3a3895bbb787cf37753fa | diff --git a/adaptors/mongoose-normalize.adp.js b/adaptors/mongoose-normalize.adp.js
index <HASH>..<HASH> 100644
--- a/adaptors/mongoose-normalize.adp.js
+++ b/adaptors/mongoose-normalize.adp.js
@@ -23,6 +23,9 @@ var MongooseNormalize = module.exports = cip.extend(function(mongooseAdp) {
*/
MongooseNormalize.prototy... | fix cases where no results and normalize is on | thanpolas_entity | train | js |
365513b07b910acd752a5f58c33b8cc8abc112b5 | diff --git a/middleware/modelExport.js b/middleware/modelExport.js
index <HASH>..<HASH> 100644
--- a/middleware/modelExport.js
+++ b/middleware/modelExport.js
@@ -348,7 +348,7 @@ module.exports = {
if (getTransposeFn(form, fieldName, 'export')) {
- return ... | also pass the record to transpose functions | linzjs_linz | train | js |
b227fe7e2afd438c134e9d4b600f1f5e882483c2 | diff --git a/test/test_controller.go b/test/test_controller.go
index <HASH>..<HASH> 100644
--- a/test/test_controller.go
+++ b/test/test_controller.go
@@ -114,7 +114,11 @@ func unmarshalControllerExample(data []byte) (map[string]interface{}, error) {
}
func (s *ControllerSuite) generateControllerExamples(t *c.C) ma... | test: Use explicit cluster client in controller examples test | flynn_flynn | train | go |
aea529d9f6d1a0ffbd34a7a36d1fc7db41dc8fbc | diff --git a/tlv/record.go b/tlv/record.go
index <HASH>..<HASH> 100644
--- a/tlv/record.go
+++ b/tlv/record.go
@@ -57,6 +57,20 @@ func (f *Record) Size() uint64 {
return f.sizeFunc()
}
+// Type returns the type of the underlying TLV record.
+func (f *Record) Type() Type {
+ return f.typ
+}
+
+// Encode writes out ... | tlv: add new Type() and Encode() methods to Record
In this commit, we add two new method so the `Record` struct: Type() and
Encode(). These are useful when a caller is handling a record and may
not know its underlying type and may need to encode a record in
isolation. | lightningnetwork_lnd | train | go |
62a41a45700639367dbdd1daa1bebd71667d3134 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java b/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java
+++ b/c... | Fix EXPLAIN with multiple indexes | orientechnologies_orientdb | train | java |
9b473ca57bbbaef01b908fff4b8f673832934540 | diff --git a/test/integration/advanced.js b/test/integration/advanced.js
index <HASH>..<HASH> 100644
--- a/test/integration/advanced.js
+++ b/test/integration/advanced.js
@@ -5,7 +5,7 @@ var blockchain = require('./_blockchain')
describe('bitcoinjs-lib (advanced)', function () {
it('can create an OP_RETURN transa... | tests/integration: bump timeouts to <I>s each | BitGo_bitgo-utxo-lib | train | js,js |
ac231246960634077cba2d5e17f288ee83a9928c | diff --git a/Storage.php b/Storage.php
index <HASH>..<HASH> 100644
--- a/Storage.php
+++ b/Storage.php
@@ -8,7 +8,7 @@
namespace Joomla\Session;
-use Joomla\Filter\Input;
+use Joomla\Filter\InputFilter;
/**
* Custom session storage handler for PHP
@@ -49,7 +49,7 @@ abstract class Storage
*/
public static... | Fix remaining test errors and failures. | joomla-framework_session | train | php |
8329b2beed34cfa386e1872d9a8cdd9773fb41db | diff --git a/lib/util/json.js b/lib/util/json.js
index <HASH>..<HASH> 100644
--- a/lib/util/json.js
+++ b/lib/util/json.js
@@ -13,7 +13,8 @@ const DATES_FIELD = '___dates___'
* @returns {String}
*/
exports.stringify = function(value, space) {
- const seen = []
+ const seen = new Map()
+ let incr = 0
return... | improve the performance of json stringification | Backendless_JS-Code-Runner | train | js |
a34f13473a1faed14e13f6908552126b4d4b54eb | diff --git a/lib/cache.js b/lib/cache.js
index <HASH>..<HASH> 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -163,11 +163,11 @@ var Cache = global.shipp.cache = module.exports = {
options.concurrency = options.concurrency || 1;
function complete() {
- options.concurrency++;
-
if (--remaining ==... | Fix iteration problem in Cache#warm | shippjs_shipp-server | train | js |
d7914adfa8269a49e82aa7bd87b504376af90ee2 | diff --git a/tests/integration/utils/get-server.js b/tests/integration/utils/get-server.js
index <HASH>..<HASH> 100644
--- a/tests/integration/utils/get-server.js
+++ b/tests/integration/utils/get-server.js
@@ -26,12 +26,22 @@ function getServer (options, callback) {
nock('http://localhost:5984')
// PouchDB sen... | test: adaptions for @hoodie/account-server-api@3 | hoodiehq_hoodie-account-server | train | js |
f1691ab943330b70003df9375f735570009395ce | diff --git a/test/lib/activity.js b/test/lib/activity.js
index <HASH>..<HASH> 100644
--- a/test/lib/activity.js
+++ b/test/lib/activity.js
@@ -61,8 +61,9 @@ var validActivityObject = function(obj) {
assert.isString(obj.id);
assert.include(obj, "objectType");
assert.isString(obj.objectType);
- assert.i... | Don't require displayName for object | pump-io_pump.io | train | js |
8218e2e52c793be029bbaa54e1f93c205eaa28c2 | diff --git a/config/platform.php b/config/platform.php
index <HASH>..<HASH> 100644
--- a/config/platform.php
+++ b/config/platform.php
@@ -166,7 +166,6 @@ return [
'footer' => 'Footer menu',
],
-
/*
|--------------------------------------------------------------------------
| Filesystem ... | Apply fixes from StyleCI (#<I>)
[ci skip] [skip ci] | orchidsoftware_platform | train | php,php |
691ccf1376d1796ff1177c824d2b54c6912a1432 | diff --git a/lib/PeachySQL.php b/lib/PeachySQL.php
index <HASH>..<HASH> 100644
--- a/lib/PeachySQL.php
+++ b/lib/PeachySQL.php
@@ -194,7 +194,6 @@ class PeachySQL {
// PHP from just copying the same $data reference (see
// http://www.php.net/manual/en/my... | Free mysql result before closing statement | theodorejb_peachy-sql | 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.