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 |
|---|---|---|---|---|---|
af2070004323a5af725e7540929e7ccfcb63c43f | diff --git a/src/Illuminate/Cache/RedisStore.php b/src/Illuminate/Cache/RedisStore.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Cache/RedisStore.php
+++ b/src/Illuminate/Cache/RedisStore.php
@@ -66,6 +66,8 @@ class RedisStore extends TaggableStore implements StoreInterface {
{
$value = is_numeric($value) ?... | Ensure the number of minutes is not < 1 for Redis setex | laravel_framework | train | php |
d0dbeeb5001f4f282510511a43ee508ef5cc0109 | diff --git a/h2o-core/src/main/java/water/persist/PersistFS.java b/h2o-core/src/main/java/water/persist/PersistFS.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/persist/PersistFS.java
+++ b/h2o-core/src/main/java/water/persist/PersistFS.java
@@ -3,13 +3,11 @@ package water.persist;
import java.io.... | switch back to J6 file delete code
Much less efficient, but backwards compatible | h2oai_h2o-3 | train | java |
3d7bbca69e4557729ce308da14b5eebd67d019d3 | diff --git a/client/protocols/unlock.py b/client/protocols/unlock.py
index <HASH>..<HASH> 100644
--- a/client/protocols/unlock.py
+++ b/client/protocols/unlock.py
@@ -153,8 +153,16 @@ class UnlockProtocol(models.Protocol):
###################
def _verify(self, guess, locked):
- return hmac.new(self.h... | added answer evaluation in UnlockProtocol | okpy_ok-client | train | py |
e21096500e85d13d8df152fbf1c7b081c8844c5e | diff --git a/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java b/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java
index <HASH>..<HASH> 100644
--- a/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java
+++ b/util/src/main/java/io/kubernetes/clie... | if !containsKey then put -> computeIfAbsent | kubernetes-client_java | train | java |
509efb9a57faa30bae7326cd7bc5e1bd9792ecdf | diff --git a/lib/gzr/version.rb b/lib/gzr/version.rb
index <HASH>..<HASH> 100644
--- a/lib/gzr/version.rb
+++ b/lib/gzr/version.rb
@@ -20,5 +20,5 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
module Gzr
- VERSION = "0.2.50"
+ VERSION = '0.2.50'
end | chore: fix version number quotes for release-please | looker-open-source_gzr | train | rb |
3cee07828752780845e2c81dd06fc05a3747c85a | diff --git a/resource_aws_instance.go b/resource_aws_instance.go
index <HASH>..<HASH> 100644
--- a/resource_aws_instance.go
+++ b/resource_aws_instance.go
@@ -205,7 +205,6 @@ func resource_aws_instance_diff(
PreProcess: map[string]diff.PreProcessFunc{
"user_data": func(v string) string {
- println("SUMMIN: ... | providers/aws: remove some debug | terraform-providers_terraform-provider-aws | train | go |
4c691cf51b1c7eadf0890e58503ebd6e5af81de7 | diff --git a/salt/modules/ssh.py b/salt/modules/ssh.py
index <HASH>..<HASH> 100644
--- a/salt/modules/ssh.py
+++ b/salt/modules/ssh.py
@@ -1175,8 +1175,10 @@ def hash_known_hosts(user=None, config=None):
if not os.path.isfile(full):
return {'status': 'error',
'error': 'Known hosts file {0... | ssh: keep original permissions, when hashing known_hosts
ssh-keygen sets the newly created known_hosts file's permissions to
<I>. It's good for user's personal files, but bad idea for the global
ones, like /etc/ssh/ssh_known_hosts. This patch record's the original
file's permissions, and sets them on the hashed one af... | saltstack_salt | train | py |
8149cb4936b7d0ed09b4c40b81057f807e01ff74 | diff --git a/lib/from-new.js b/lib/from-new.js
index <HASH>..<HASH> 100644
--- a/lib/from-new.js
+++ b/lib/from-new.js
@@ -78,4 +78,4 @@ var fs = require('fs')
From.prototype.compileAbsolute = absoluteCompiler = constructCompiler(absoluteResolver)
From.prototype.executeAbsolute = absoluteExecuter = constructExe... | (minor bug) Ack. Mis-embedded an assignment in an `if` statement that would clobber it. | ELLIOTTCABLE_from | train | js |
baa2825adaacad692019f6f75237763ba2edf0b9 | diff --git a/tests/Unit/Core/DbTest.php b/tests/Unit/Core/DbTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Core/DbTest.php
+++ b/tests/Unit/Core/DbTest.php
@@ -193,6 +193,7 @@ class DbTest extends \OxidTestCase
public function testGetDbFetchMode()
{
+ $this->markTestSkipped('This kind of globa... | ESDEV-<I> Skip test, failing cause of not longer supported functionality
The global saving of the fetch mode isn't supported by the doctrine dbal adapter
(cherry picked from commit a3d6f7f) | OXID-eSales_oxideshop_ce | train | php |
7fd7ec639a9a633d4b38402fec4be8a704806c30 | diff --git a/src/App/Exception/ApiExceptionHandler.php b/src/App/Exception/ApiExceptionHandler.php
index <HASH>..<HASH> 100644
--- a/src/App/Exception/ApiExceptionHandler.php
+++ b/src/App/Exception/ApiExceptionHandler.php
@@ -45,6 +45,6 @@ class ApiExceptionHandler
$status = $exception instanceof HttpRespon... | Add `JSON_PARTIAL_OUTPUT_ON_ERROR` flag when encoding JSON responses in the exception handler
This fixes the scenario when json_encode() would fail and the default PHP exception handler takes over and returns something else than JSON | digiaonline_lumen-core | train | php |
0034b6ede7f280c256352dd31833b8a80896d01c | diff --git a/public/app/plugins/panel/graph/graph_tooltip.js b/public/app/plugins/panel/graph/graph_tooltip.js
index <HASH>..<HASH> 100644
--- a/public/app/plugins/panel/graph/graph_tooltip.js
+++ b/public/app/plugins/panel/graph/graph_tooltip.js
@@ -22,10 +22,13 @@ function ($) {
var len = series.datapoints.poi... | Highlight correct point when series has null values | grafana_grafana | train | js |
ffb152e6a7bcc459379e10bffdc8d122bb686ddb | diff --git a/lib/jsonapi/resource.rb b/lib/jsonapi/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/jsonapi/resource.rb
+++ b/lib/jsonapi/resource.rb
@@ -183,15 +183,11 @@ module JSONAPI
# Override in your resource to filter the updateable keys
def updateable_fields(context)
- setable_fields
+ ... | Removed setable_fields method. | cerebris_jsonapi-resources | train | rb |
a470e484be9a51b7f1bc6f1c6f16a1b47b696726 | diff --git a/resources/bench.js b/resources/bench.js
index <HASH>..<HASH> 100644
--- a/resources/bench.js
+++ b/resources/bench.js
@@ -35,7 +35,7 @@ Promise.all([
readFile(path.resolve(__dirname, '../dist/immutable.js'), {
encoding: 'utf8',
}),
- exec('git show master:dist/immutable.js'),
+ exec('git show ... | Fix benchmarks (#<I>) | immutable-js_immutable-js | train | js |
8cb432c5f35022cc77cc115c78cffde1a5e1cc7c | diff --git a/app/addons/documents/routes.js b/app/addons/documents/routes.js
index <HASH>..<HASH> 100644
--- a/app/addons/documents/routes.js
+++ b/app/addons/documents/routes.js
@@ -71,6 +71,7 @@ function(app, FauxtonAPI, Documents, Databases) {
var doc = this.doc,
docView = this.docView,
database... | Fauxton: Update breadcrumb on duplicate doc
Small fix that makes sure the breadcrumb is updated with the new doc id
when a document is duplicated. | apache_couchdb-fauxton | train | js |
ef4114ba43c27f17a2d2334571b04fd70c0bfef5 | diff --git a/lib/milia/control.rb b/lib/milia/control.rb
index <HASH>..<HASH> 100644
--- a/lib/milia/control.rb
+++ b/lib/milia/control.rb
@@ -33,10 +33,10 @@ module Milia
# ------------------------------------------------------------------------------
def trace_tenanting( fm_msg )
if ::Milia.trace_on
- t... | improved logging/traces - 3 | jekuno_milia | train | rb |
6d73f600450ff5aaf6c106241a361073db874b6d | diff --git a/lib/serialize.js b/lib/serialize.js
index <HASH>..<HASH> 100644
--- a/lib/serialize.js
+++ b/lib/serialize.js
@@ -34,11 +34,10 @@ function serialize(obj) {
// string with their string representations. If the original value can not
// be found, then `undefined` is used.
return str.replace(PLA... | Change serialize to replace functions and regexps with switch statement | yahoo_express-state | train | js |
f9764240455597f6f55ef3ff0e280498a09b1966 | diff --git a/parler/models.py b/parler/models.py
index <HASH>..<HASH> 100644
--- a/parler/models.py
+++ b/parler/models.py
@@ -521,26 +521,20 @@ class TranslatableModel(models.Model):
Also consider using ``field = TranslatedField(any_language=True)`` in the model itself,
to make this behavior the defa... | Small fix: avoid reading current language if safe_translation_getter() reads custom language | django-parler_django-parler | train | py |
e0ea6e3455c337f20acfb07a0c688bc8ac6e4935 | diff --git a/shared/teams/really-leave-team/index.js b/shared/teams/really-leave-team/index.js
index <HASH>..<HASH> 100644
--- a/shared/teams/really-leave-team/index.js
+++ b/shared/teams/really-leave-team/index.js
@@ -52,5 +52,5 @@ const _ReallyLeaveTeam = (props: Props) => (
/>
)
-export default HeaderOnMobile(... | Remove double header on confirm-leave-team page (#<I>) | keybase_client | train | js |
b27b38a1f3037da21354ee5a93421860592360de | diff --git a/Grid/Source/AbstractGridSource.php b/Grid/Source/AbstractGridSource.php
index <HASH>..<HASH> 100755
--- a/Grid/Source/AbstractGridSource.php
+++ b/Grid/Source/AbstractGridSource.php
@@ -39,6 +39,10 @@ abstract class AbstractGridSource implements GridSourceInterface
$this->offset = $offset;
... | Use fitler from request object in GridSource. | mmucklo_DtcGridBundle | train | php |
64105b4926e89ef699a4097ca78f29c4e35ab69a | diff --git a/pkg/minikube/out/out.go b/pkg/minikube/out/out.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/out/out.go
+++ b/pkg/minikube/out/out.go
@@ -84,12 +84,22 @@ func Step(st style.Enum, format string, a ...V) {
Infof(format, a...)
return
}
- outStyled, spinner := stylized(st, useColor, format, a...)
+... | Added out.Styled func | kubernetes_minikube | train | go |
6818947c11052fabf2c191b8fddc70e3275196e3 | diff --git a/converters/fromZigbee.js b/converters/fromZigbee.js
index <HASH>..<HASH> 100644
--- a/converters/fromZigbee.js
+++ b/converters/fromZigbee.js
@@ -5078,6 +5078,7 @@ const converters = {
convert: (model, msg, publish, options, meta) => {
if (typeof msg.data['27'] === 'number') {
... | Add rotate action for TERNCY-SD<I> (#<I>) | Koenkk_zigbee-shepherd-converters | train | js |
58ffeb98640064b18842dabacb4071614facb99b | diff --git a/pybar/scans/calibrate_plsr_dac.py b/pybar/scans/calibrate_plsr_dac.py
index <HASH>..<HASH> 100644
--- a/pybar/scans/calibrate_plsr_dac.py
+++ b/pybar/scans/calibrate_plsr_dac.py
@@ -60,6 +60,8 @@ class PlsrDacScan(Fei4RunBase):
actual_data = np.zeros(shape=(len(self.scan_parameter_steps), ), d... | ENH: support scan abort | SiLab-Bonn_pyBAR | train | py |
c61897538525026ed9b62822bbecee9a87fd1da5 | diff --git a/profiling/service/service.go b/profiling/service/service.go
index <HASH>..<HASH> 100644
--- a/profiling/service/service.go
+++ b/profiling/service/service.go
@@ -24,7 +24,7 @@
// This package and all its methods are EXPERIMENTAL.
package service
-//go:generate protoc --go_out=plugins=grpc,paths=source_... | internal: fix profiling go generate proto file path (#<I>) | grpc_grpc-go | train | go |
e43bdeb9300576e82ed8e42eee05f7208da84e04 | diff --git a/lib/heroku/command/releases.rb b/lib/heroku/command/releases.rb
index <HASH>..<HASH> 100644
--- a/lib/heroku/command/releases.rb
+++ b/lib/heroku/command/releases.rb
@@ -111,7 +111,7 @@ class Heroku::Command::Releases < Heroku::Command::Base
if release
action("Rolling back #{app} to #{release... | update releases rollback with version to display result more clearly/consistently | heroku_legacy-cli | train | rb,rb |
ae92545272f3c49d2d71aa0554b23dde5277b795 | diff --git a/lib/openapi3_parser/node/array.rb b/lib/openapi3_parser/node/array.rb
index <HASH>..<HASH> 100644
--- a/lib/openapi3_parser/node/array.rb
+++ b/lib/openapi3_parser/node/array.rb
@@ -14,7 +14,7 @@ module Openapi3Parser
extend Forwardable
include Enumerable
- def_delegators :node_data, :... | Add length and size methods to Node::Array and Node::Map
This is another method one might have thought was on enumberable. | kevindew_openapi3_parser | train | rb,rb |
e8b7a1f64d6661240f7ab09ddd2faeea71747787 | diff --git a/tests/test_real_tweets.py b/tests/test_real_tweets.py
index <HASH>..<HASH> 100644
--- a/tests/test_real_tweets.py
+++ b/tests/test_real_tweets.py
@@ -59,6 +59,10 @@ TEST_CASES = [
('ââ€\x9d’(⌣˛⌣)ââ€\x9dŽ', '┒(⌣˛⌣)┎'),
('ââ€�’(⌣˛⌣)ââ€�Ž', '�(⌣˛⌣)�'),
+ # ... | an example that's too good to leave out of the tests | LuminosoInsight_python-ftfy | train | py |
3c0d43a7c763ccdf333883e33082ac1e01f9272c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,9 +2,18 @@
# -*- encoding: utf-8 -*-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+import sys
from setuptools import setup
+if sys.version_info < (3,):
+ versioned_requirements = ["wait... | Pin older version of wait_for on Python <I> | ManageIQ_manageiq-api-client-python | train | py |
989cbe77eb26eb6d8a52c06a9061641f55049b2f | diff --git a/c7n/schema.py b/c7n/schema.py
index <HASH>..<HASH> 100644
--- a/c7n/schema.py
+++ b/c7n/schema.py
@@ -205,7 +205,7 @@ def generate(resource_types=()):
'ids': {'type': 'string'},
'event': {'type': 'string'}}}],
}},
-
+ ... | lambda policy - restore lambda execution options (#<I>) (#<I>) | cloud-custodian_cloud-custodian | train | py,py |
3c0cdff93db1763323d5fdc5dd5f9a5c4fd3c2f0 | diff --git a/state.go b/state.go
index <HASH>..<HASH> 100644
--- a/state.go
+++ b/state.go
@@ -449,7 +449,11 @@ HANDLE_REMOTE_FAILURE:
defer close(fallbackCh)
didContact, err := m.sendPingAndWaitForAck(node.FullAddress(), ping, deadline)
if err != nil {
- m.logger.Printf("[ERR] memberlist: Failed fallbac... | state.go: log the timeout value on a ping timeout (#<I>)
This will help users' troubleshooting | hashicorp_memberlist | train | go |
aa987982d94d3c82531fcc55a999251cfd44e953 | diff --git a/resource_openstack_networking_port_v2.go b/resource_openstack_networking_port_v2.go
index <HASH>..<HASH> 100644
--- a/resource_openstack_networking_port_v2.go
+++ b/resource_openstack_networking_port_v2.go
@@ -245,8 +245,13 @@ func resourcePortSecurityGroupsV2(d *schema.ResourceData) []string {
return gr... | Fix to not put fixed_ip in request if not defined | terraform-providers_terraform-provider-openstack | train | go |
a7fab31a211a7cd86144bb3c1e49cf5b6d5d32bc | diff --git a/ui/src/auth/Authorized.js b/ui/src/auth/Authorized.js
index <HASH>..<HASH> 100644
--- a/ui/src/auth/Authorized.js
+++ b/ui/src/auth/Authorized.js
@@ -2,10 +2,10 @@ import React, {Component, PropTypes} from 'react'
import {connect} from 'react-redux'
-const VIEWER_ROLE = 'viewer'
-const EDITOR_ROLE = '... | Export role name consts in client to fix Authorized HOC | influxdata_influxdb | train | js |
4947eab9b66e51b47481e47f2fe6bfe410abf55b | diff --git a/Library/Commands/Manager.php b/Library/Commands/Manager.php
index <HASH>..<HASH> 100644
--- a/Library/Commands/Manager.php
+++ b/Library/Commands/Manager.php
@@ -20,7 +20,6 @@ use RecursiveDirectoryIterator;
use Zephir\Exception\ValidationException;
use Zephir\Exception\OutOfBoundsException;
use Zephir\... | Pass Commands Manager to the each command | phalcon_zephir | train | php |
b60a9b193b1b5e475b4e428bdd0ebce18582bd39 | diff --git a/src/View/ViewServiceProvider.php b/src/View/ViewServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/View/ViewServiceProvider.php
+++ b/src/View/ViewServiceProvider.php
@@ -11,6 +11,7 @@ use Nova\View\Factory;
use Nova\View\FileViewFinder;
use Nova\Support\MessageBag;
use Nova\Support\ServiceProvid... | [<I>] add the View Section instance | nova-framework_system | train | php |
ec7573f610414bc558f5ffed06b2c478968cbcbb | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setuptools.setup(
name="WebRequest",
# Version number (initial):
- version="0.0.67",
+ version="0.0.68",
# Application author details:
author="Connor Wolf", | Ok, build a release since this seems to work. | fake-name_WebRequest | train | py |
e8fa0ac58b2201648c64fc2013b74550520b8bb1 | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/sender/http2/ClientFrameListener.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/sender/http2/ClientFrameListener.java
index <HASH>..<HASH> 100755
--- a... | Set unconsumed bytes to zero | wso2_transport-http | train | java |
3a695a965d653c0d254518c612b7cfbff56296b3 | diff --git a/go/vt/vtgate/scatter_conn.go b/go/vt/vtgate/scatter_conn.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtgate/scatter_conn.go
+++ b/go/vt/vtgate/scatter_conn.go
@@ -79,8 +79,9 @@ func (stc *ScatterConn) InitializeConnections(ctx context.Context) error {
errRecorder.RecordError(err)
return
}
- ... | InitializeConnections works on serving tablet types only. | vitessio_vitess | train | go |
18c8d959f14855f1ad810e66aab9571a51366ec5 | diff --git a/flux_led/protocol.py b/flux_led/protocol.py
index <HASH>..<HASH> 100755
--- a/flux_led/protocol.py
+++ b/flux_led/protocol.py
@@ -25,7 +25,7 @@ class PowerRestoreState(Enum):
class MusicMode(Enum):
STRIP = 0x26
- LIGHT_BAR = 0x27
+ LIGHT_SCREEN = 0x27
@dataclass
@@ -1028,8 +1028,8 @@ cla... | Rename MusicMode enum from LIGHT_BAR to LIGHT_SCREEN (#<I>) | Danielhiversen_flux_led | train | py |
0f84a0ec630bb5b4192b7b76a707ec94c8db4462 | diff --git a/app/src/Bolt/Controllers/Async.php b/app/src/Bolt/Controllers/Async.php
index <HASH>..<HASH> 100644
--- a/app/src/Bolt/Controllers/Async.php
+++ b/app/src/Bolt/Controllers/Async.php
@@ -56,7 +56,6 @@ class Async
* Get the 'latest activity' for the dashboard..
*/
function latestactivity(Sil... | Removed unneeded global var. | bolt_bolt | train | php |
cdaf500b8d972385c2e2bbfcb770e517009a646b | diff --git a/src/when.test.js b/src/when.test.js
index <HASH>..<HASH> 100644
--- a/src/when.test.js
+++ b/src/when.test.js
@@ -397,7 +397,7 @@ describe('When', () => {
it('allows using mockImplementationOnce', () => {
const fn = jest.fn()
- when(fn).calledWith('foo', 'bar').mockImplementation((...arg... | test adjusted incorrectly - mockImplemetationOnce test was missing | timkindberg_jest-when | train | js |
f85e0b72491037de1ae8dc6a134dfefed66f68c7 | diff --git a/builtin/providers/aws/resource_aws_iam_policy.go b/builtin/providers/aws/resource_aws_iam_policy.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/resource_aws_iam_policy.go
+++ b/builtin/providers/aws/resource_aws_iam_policy.go
@@ -32,8 +32,9 @@ func resourceAwsIamPolicy() *schema.Resource {
... | Add JSON validation to the aws_iam_policy resource (#<I>)
Although the aws_iam_policy has a problem of normalization (refs #<I>),
I think it would be useful simply to add JSON syntax validation.
I wasted a lot of time with JSON syntax errors.
Validate the aws_iam_policy using the validateJsonString helper. | hashicorp_terraform | train | go |
0e96b45a7f93472fbea61f836d35e2bf4b241d09 | diff --git a/lib/sfn/version.rb b/lib/sfn/version.rb
index <HASH>..<HASH> 100644
--- a/lib/sfn/version.rb
+++ b/lib/sfn/version.rb
@@ -1,4 +1,4 @@
module Sfn
# Current library version
- VERSION = Gem::Version.new("3.1.4")
+ VERSION = Gem::Version.new("3.1.5")
end | Update version for development <I> | sparkleformation_sfn | train | rb |
050dfb15ac4ddad1fe736f800d1e3e74fb8a7416 | diff --git a/src/MySQLHandler/MySQLHandler.php b/src/MySQLHandler/MySQLHandler.php
index <HASH>..<HASH> 100644
--- a/src/MySQLHandler/MySQLHandler.php
+++ b/src/MySQLHandler/MySQLHandler.php
@@ -24,7 +24,7 @@ class MySQLHandler extends AbstractProcessingHandler {
/**
* @var PDO pdo object of database connect... | Allow to extend __construct() inserting different PDO object e.g. | waza-ari_monolog-mysql | train | php |
2a4777f8b9396d872a2a45a2d3131752c997d997 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,8 @@ setup(
author_email='geeks@ff0000.com',
url='http://github.com/ff0000/scarlet/',
license='MIT',
- install_requires=['django-taggit==0.14.0', 'pillow==2.7.0', 'django==1.8.1'],
+ install_requ... | removing pillow from reqs | ff0000_scarlet | train | py |
8bc7c26bae73a06c0ffdaef395a96382395671db | diff --git a/lib/data_paths/version.rb b/lib/data_paths/version.rb
index <HASH>..<HASH> 100644
--- a/lib/data_paths/version.rb
+++ b/lib/data_paths/version.rb
@@ -1,4 +1,4 @@
module DataPaths
# data_paths version
- VERSION = '0.2.1'
+ VERSION = '0.3.0'
end | Version bump to <I>. | postmodern_data_paths | train | rb |
4036719e4b6c402a5689ef956265ab374de638f2 | diff --git a/pmagpy/new_builder.py b/pmagpy/new_builder.py
index <HASH>..<HASH> 100644
--- a/pmagpy/new_builder.py
+++ b/pmagpy/new_builder.py
@@ -423,7 +423,12 @@ class MagicDataFrame(object):
## new way of reading in data using pd.read_table
with open(magic_file) as f:
- del... | new_builder now correctly handles empty (not missing, but empty) file | PmagPy_PmagPy | train | py |
3641d2365ebdb7dbc0fae15f9593c404d82a6c39 | diff --git a/aws/resource_aws_db_instance_role_association.go b/aws/resource_aws_db_instance_role_association.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_db_instance_role_association.go
+++ b/aws/resource_aws_db_instance_role_association.go
@@ -207,6 +207,10 @@ func waitForRdsDbInstanceRoleAssociation(conn *r... | resource/aws_db_instance_role_association: Prevent immediate read after creation panic (#<I>)
Reference: <URL>
--- PASS: TestAccAWSDbInstanceRoleAssociation_basic (<I>s)
``` | terraform-providers_terraform-provider-aws | train | go |
25a9f08ba0e5c38da9cddc54b16f6c2c79d46725 | diff --git a/cassandra/cqlengine/query.py b/cassandra/cqlengine/query.py
index <HASH>..<HASH> 100644
--- a/cassandra/cqlengine/query.py
+++ b/cassandra/cqlengine/query.py
@@ -832,10 +832,11 @@ class AbstractQuerySet(object):
return clone
def _only_or_defer(self, action, fields):
- clone = copy.de... | Check deferred/only fields before copy | datastax_python-driver | train | py |
17150cbdaa478841cc46ec6bd2ae7dc5256db355 | diff --git a/hooks-admin.php b/hooks-admin.php
index <HASH>..<HASH> 100644
--- a/hooks-admin.php
+++ b/hooks-admin.php
@@ -64,7 +64,7 @@ add_filter( 'admin_title', '\PressBooks\Admin\Laf\admin_title' );
add_action( 'admin_notices', '\PressBooks\Admin\Laf\admin_notices' );
// Add catalog administration page
-// add_... | Turn catalog on, back to work. | pressbooks_pressbooks | train | php |
ecb1d0799c1cb34fb17eecab3ba0ef3c63f221b6 | diff --git a/psycopg2_pgevents/debug.py b/psycopg2_pgevents/debug.py
index <HASH>..<HASH> 100644
--- a/psycopg2_pgevents/debug.py
+++ b/psycopg2_pgevents/debug.py
@@ -53,7 +53,7 @@ def _create_logger(name: str, level: int) -> Generator[logging.Logger, None, Non
logger.setLevel(level)
# Setup handler and add... | changes logging handler to stdout | shawalli_psycopg2-pgevents | train | py |
aad60f0ca585415464e204280f32f9b66b8ff1f1 | diff --git a/sunspot/lib/sunspot/dsl/field_group.rb b/sunspot/lib/sunspot/dsl/field_group.rb
index <HASH>..<HASH> 100644
--- a/sunspot/lib/sunspot/dsl/field_group.rb
+++ b/sunspot/lib/sunspot/dsl/field_group.rb
@@ -1,8 +1,8 @@
module Sunspot
module DSL
class FieldGroup
- def initialize(query, setup, group... | Sunspot::DSL::FieldGroup never makes use of @query - drop it throughout | sunspot_sunspot | train | rb,rb |
1e197f01e2049860a9b1572bf6fa66d310040ca8 | diff --git a/spec/highrise/taggable_behavior.rb b/spec/highrise/taggable_behavior.rb
index <HASH>..<HASH> 100644
--- a/spec/highrise/taggable_behavior.rb
+++ b/spec/highrise/taggable_behavior.rb
@@ -1,9 +1,9 @@
shared_examples_for "a taggable class" do
before(:each) do
(@tags = []).tap do
- @tags << {'id... | Taggable test update to pass in highrise tag object. Allows .attributes to be accessible. | tapajos_highrise | train | rb |
5c47c6de8c6ee2812b8cb111c9a1c4e9be43d9a5 | diff --git a/src/Behavior.php b/src/Behavior.php
index <HASH>..<HASH> 100644
--- a/src/Behavior.php
+++ b/src/Behavior.php
@@ -9,6 +9,7 @@ namespace zhuravljov\yii\queue\monitor;
use Yii;
use yii\base\InvalidConfigException;
+use yii\base\NotSupportedException;
use yii\queue\ErrorEvent;
use yii\queue\ExecEvent;
... | Exception when monitor doesn't support a driver | zhuravljov_yii2-queue-monitor | train | php |
3eeda10e621f73ba115355cec4b5ad886a6b74f0 | diff --git a/protractor/management/commands/protractor.py b/protractor/management/commands/protractor.py
index <HASH>..<HASH> 100644
--- a/protractor/management/commands/protractor.py
+++ b/protractor/management/commands/protractor.py
@@ -73,7 +73,7 @@ class Command(BaseCommand):
authority = options['addrport'... | Dropped the slash to make it consistent with live_server_url from Django | jpulec_django-protractor | train | py |
c26a7173959b72d71b090ad11a85649036b2107f | diff --git a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/types/TimerRollup.java b/blueflood-core/src/main/java/com/rackspacecloud/blueflood/types/TimerRollup.java
index <HASH>..<HASH> 100644
--- a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/types/TimerRollup.java
+++ b/blueflood-core/src/mai... | TimerRollup.toString() still reflected that it extended BasicRollup. | rackerlabs_blueflood | train | java |
697ee6efb8fb96915380c0d55ed856e835ac340f | diff --git a/qunit/qunit.js b/qunit/qunit.js
index <HASH>..<HASH> 100644
--- a/qunit/qunit.js
+++ b/qunit/qunit.js
@@ -1463,11 +1463,11 @@ QUnit.jsDump = (function() {
type = "null";
} else if ( typeof obj === "undefined" ) {
type = "undefined";
- } else if ( QUnit.is( "RegExp", obj) ) {
+ } else... | is() expects lowercase types. Fixes #<I> - Expected Date value is not displayed properly | JamesMGreene_qunit-assert-html | train | js |
0210a4178ac314da0563089d068c0df853be5ecb | diff --git a/lib/xpi.js b/lib/xpi.js
index <HASH>..<HASH> 100644
--- a/lib/xpi.js
+++ b/lib/xpi.js
@@ -23,7 +23,7 @@ function xpi (manifest, options) {
var rdfPath = join(cwd, "install.rdf");
var bootstrapPath = join(cwd, "bootstrap.js");
var configPath = join(cwd, "config.json");
- var sdkPath = join(cwd, "a... | Fix copying path of copying SDK into addon | mozilla-jetpack_jpm | train | js |
cda8fd632a67d6503811f69d81578f2ab41f3b6d | diff --git a/keyring/backends/kwallet.py b/keyring/backends/kwallet.py
index <HASH>..<HASH> 100644
--- a/keyring/backends/kwallet.py
+++ b/keyring/backends/kwallet.py
@@ -135,8 +135,6 @@ class DBusKeyring(KeyringBackend):
)
return SimpleCredential(str(username), str(password))
- retur... | Omit 'return None' as it's implied. | jaraco_keyring | train | py |
5fac8d40f535ec8f3d1cf2187fbbe3418d82cf62 | diff --git a/git/repo/base.py b/git/repo/base.py
index <HASH>..<HASH> 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -100,8 +100,8 @@ class Repo(object):
repo = Repo("$REPOSITORIES/Development/git-python.git")
- In *Cygwin*, path may be a `'cygdrive/...'` prefixed path.
- ... | fix(repo): Use GIT_DIR only if no repo-path given
FIX #<I> according to Byron's comment:
<URL> | gitpython-developers_GitPython | train | py |
809e5cf2502575a39b82445d3422dd7282e089c3 | diff --git a/src/main/java/zmq/Ctx.java b/src/main/java/zmq/Ctx.java
index <HASH>..<HASH> 100644
--- a/src/main/java/zmq/Ctx.java
+++ b/src/main/java/zmq/Ctx.java
@@ -343,7 +343,6 @@ public class Ctx
try {
int tid = socket.getTid();
emptySlots.add(tid);
- slots[tid].close()... | don't revert this fix; would cause shutdown to hang | zeromq_jeromq | train | java |
e46accfcc6164068c7c6a4ad66fe60ef0f9dae8f | diff --git a/lib/db.js b/lib/db.js
index <HASH>..<HASH> 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -106,9 +106,7 @@ function createConstructor (db) {
;(DB.prototype.open = function (cb) {
db.open(function (err) {
if (err) {
- return cb
- ? cb(err)
- : handleError(err)
+ ret... | db; refactor handleError | aheckmann_gomon | train | js |
1c67aeeb0e40f5c63abf7ecde009ad96394e7a1e | diff --git a/rbCFPropertyList.rb b/rbCFPropertyList.rb
index <HASH>..<HASH> 100644
--- a/rbCFPropertyList.rb
+++ b/rbCFPropertyList.rb
@@ -77,7 +77,7 @@ module CFPropertyList
def guess(object, options = {})
if(object.is_a?(Fixnum) || object.is_a?(Integer)) then
return CFInteger.new(object)
- elsif(obj... | small bugfix (now handling BigDecimal, too) | ckruse_CFPropertyList | train | rb |
ad2324e9935e89c691dd5813818f28020ffe969f | diff --git a/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb b/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
+++ b/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
@@ -1... | Add virtual columns support for rail4 branch | rsim_oracle-enhanced | train | rb |
ef2de08ba83b6299673011dd7f5020838bce6e43 | diff --git a/src/Resource/Sync/Repository.php b/src/Resource/Sync/Repository.php
index <HASH>..<HASH> 100644
--- a/src/Resource/Sync/Repository.php
+++ b/src/Resource/Sync/Repository.php
@@ -22,6 +22,10 @@ class Repository extends BaseRepository
return $this->wait($this->observableToPromise($this->callAsync('b... | SyncRepository:::build docblock | php-api-clients_client-services | train | php |
d5f9175d1a8ec484640caee28ccc56f432cad0c5 | diff --git a/lib/motion-kit-cocoa/calculator/view_calculator.rb b/lib/motion-kit-cocoa/calculator/view_calculator.rb
index <HASH>..<HASH> 100644
--- a/lib/motion-kit-cocoa/calculator/view_calculator.rb
+++ b/lib/motion-kit-cocoa/calculator/view_calculator.rb
@@ -24,10 +24,10 @@ module MotionKit
return intrinsi... | call 'superview' on anything that supports it (inparticular: specs) | motion-kit_motion-kit | train | rb |
7a86290f417d2aab3cc7305559cfcdf3961c537c | diff --git a/lib/ThreeScaleClient.php b/lib/ThreeScaleClient.php
index <HASH>..<HASH> 100644
--- a/lib/ThreeScaleClient.php
+++ b/lib/ThreeScaleClient.php
@@ -28,10 +28,10 @@ class ThreeScaleClient {
/**
* Create a ThreeScaleClient instance.
*
- * @param $providerKey Unique API key that identifies the prov... | PHPDoc was incorrect and gave bad instructions to IDE | 3scale_3scale_ws_api_for_php | train | php |
c2d1100bd56b65959e1ca44525e2bd08b141ea94 | diff --git a/treeherder/webapp/api/auth.py b/treeherder/webapp/api/auth.py
index <HASH>..<HASH> 100644
--- a/treeherder/webapp/api/auth.py
+++ b/treeherder/webapp/api/auth.py
@@ -1,3 +1,4 @@
+import newrelic.agent
from rest_framework import exceptions
from treeherder.credentials.models import Credentials
@@ -5,6 +6... | Bug <I> - Include hawk user id in hawk calls
This will add that value to any exceptions that are caused during calls by a hawk
user. This will, in turn, help us work with that user to resolve the issue. | mozilla_treeherder | train | py |
e2b1af80dd08912b3f1cff241d9e2ed13ae258ce | diff --git a/packages/react-select/src/Select.js b/packages/react-select/src/Select.js
index <HASH>..<HASH> 100644
--- a/packages/react-select/src/Select.js
+++ b/packages/react-select/src/Select.js
@@ -742,14 +742,15 @@ export default class Select extends Component<Props, State> {
};
}
+ getValue = () => th... | <I> do not recreate cx and getValue functions during render of Select component | JedWatson_react-select | train | js |
fbb930d3eafb3a580ecd16381bd3aa79a7fea664 | diff --git a/docxtpl/__init__.py b/docxtpl/__init__.py
index <HASH>..<HASH> 100644
--- a/docxtpl/__init__.py
+++ b/docxtpl/__init__.py
@@ -456,8 +456,9 @@ class DocxTemplate(object):
if hasattr(docx_file, 'read'):
tmp_file = io.BytesIO()
- Document(docx_file).save(tmp_file... | Provide better support for file-like objects with replace-media | elapouya_python-docx-template | train | py,py |
237ba41e661fcfbc345dfa8741a0aab1bfe26e0c | diff --git a/src/decorateHandler.js b/src/decorateHandler.js
index <HASH>..<HASH> 100644
--- a/src/decorateHandler.js
+++ b/src/decorateHandler.js
@@ -68,6 +68,10 @@ export default function decorateHandler({
this.state = this.getCurrentState();
}
+ componentDidMount() {
+ this.isCurrentlyMounted =... | Handlers should not call setState() after being unmounted (related to #<I>) | react-dnd_react-dnd | train | js |
3b13db2dac7479a9fd1e1ebdd1b6f03a98231684 | diff --git a/pgjdbc/src/test/java/org/postgresql/test/jdbc2/NotifyTest.java b/pgjdbc/src/test/java/org/postgresql/test/jdbc2/NotifyTest.java
index <HASH>..<HASH> 100644
--- a/pgjdbc/src/test/java/org/postgresql/test/jdbc2/NotifyTest.java
+++ b/pgjdbc/src/test/java/org/postgresql/test/jdbc2/NotifyTest.java
@@ -81,13 +81... | test: fix API usage in NotifyTest
Previously the test waited for a non-null getNotifications() array,
however, the method never return null values.
The test should wait for a non-empty array instead. | pgjdbc_pgjdbc | train | java |
8793eb62ac3d4ce963e6524babbc8596a22fb37d | diff --git a/thali/install/install.js b/thali/install/install.js
index <HASH>..<HASH> 100644
--- a/thali/install/install.js
+++ b/thali/install/install.js
@@ -244,7 +244,7 @@ module.exports = function(callback, appRootDirectory) {
var thaliDontCheckIn = path.join(appRootDirectory, "thaliDontCheckIn" );
var appScr... | Update to jxcore-cordova <I>.
Fixes #<I>. | thaliproject_Thali_CordovaPlugin | train | js |
8a5ce1ffdedc2a88c187ca059439ef3165a1a905 | diff --git a/mopidy_youtube/backend.py b/mopidy_youtube/backend.py
index <HASH>..<HASH> 100644
--- a/mopidy_youtube/backend.py
+++ b/mopidy_youtube/backend.py
@@ -53,8 +53,9 @@ class YouTubeBackend(pykka.ThreadingActor, backend.Backend):
youtube.Playlist.playlist_max_videos = config['youtube']['playlist_max_vi... | if the API key check fails, instead of throwing an exception, switch off the API and use scrAPI | mopidy_mopidy-youtube | train | py |
9bbbd0ebd7be750b63943d6ff2fabc8d38ef50fc | diff --git a/tests/api/test_rooms.py b/tests/api/test_rooms.py
index <HASH>..<HASH> 100644
--- a/tests/api/test_rooms.py
+++ b/tests/api/test_rooms.py
@@ -78,11 +78,14 @@ def temp_group_room(api):
@pytest.fixture
def add_rooms(api):
rooms = []
+
def inner(num_rooms):
for i in range(num_rooms):
... | Change page_size to 1 in test_list_rooms_with_paging
There is no need for each ‘page’ to contain more than a single item.
This may help minimize the number of test rooms created, which will
help minimize the number of API calls that must be made to create and
delete these test rooms. | CiscoDevNet_webexteamssdk | train | py |
5a349233b3a5bfb64ed1e535b08a0745ca07786c | diff --git a/sawtooth_xo/txn_family.py b/sawtooth_xo/txn_family.py
index <HASH>..<HASH> 100644
--- a/sawtooth_xo/txn_family.py
+++ b/sawtooth_xo/txn_family.py
@@ -155,7 +155,6 @@ class XoTransaction(transaction.Transaction):
return True
def _is_win(self, board, letter):
-
wins = ((1, 2, 3), (4,... | Remove extra empty lines which violate our style | hyperledger_sawtooth-core | train | py,py |
905ff04e6d90e9edcfca7737a8443c96da76cf62 | diff --git a/lib/fog/xenserver/models/compute/host.rb b/lib/fog/xenserver/models/compute/host.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/xenserver/models/compute/host.rb
+++ b/lib/fog/xenserver/models/compute/host.rb
@@ -22,7 +22,8 @@ module Fog
attribute :__pbds, :aliases => :PBDs
attrib... | [xenserver] added missing host_cpus attribute to Host model | fog_fog | train | rb |
4a8684cce36ba173d3dbb14745c9f94a87f07bfa | diff --git a/core/pax-exam-spi/src/main/java/org/ops4j/pax/exam/spi/intern/TestProbeBuilderImpl.java b/core/pax-exam-spi/src/main/java/org/ops4j/pax/exam/spi/intern/TestProbeBuilderImpl.java
index <HASH>..<HASH> 100644
--- a/core/pax-exam-spi/src/main/java/org/ops4j/pax/exam/spi/intern/TestProbeBuilderImpl.java
+++ b/c... | [PAXEXAM-<I>] Replaced RuntimeException by TestContainerException | ops4j_org.ops4j.pax.exam2 | train | java |
1824aa60e937a31b90f9ee1123cfa4ab5cfc7861 | diff --git a/components/Pagination.php b/components/Pagination.php
index <HASH>..<HASH> 100644
--- a/components/Pagination.php
+++ b/components/Pagination.php
@@ -66,6 +66,15 @@ class Pagination extends ComponentBase
}
/**
+ * Get count element per page
+ * @return int
+ */
+ public function ... | Add getCountPerPage method in Pagination component | lovata_oc-toolbox-plugin | train | php |
f952f692919709881c0beedd886e8e10be6900af | diff --git a/cumulus/storage.py b/cumulus/storage.py
index <HASH>..<HASH> 100644
--- a/cumulus/storage.py
+++ b/cumulus/storage.py
@@ -69,6 +69,8 @@ class CloudFilesStorage(Storage):
self.ttl = CUMULUS['TTL']
self.use_ssl = CUMULUS['USE_SSL']
+ if 'CONTAINER_URI' in CUMULUS:
+ self... | added the CONTAINER_URI settings: if specified, we don't need to query cloudfiles to resolve every file URL. | django-cumulus_django-cumulus | train | py |
ae9965dd690ba637a4ac00ed479d83e24c046a1a | diff --git a/packages/webpack/src/index.js b/packages/webpack/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/webpack/src/index.js
+++ b/packages/webpack/src/index.js
@@ -41,11 +41,17 @@ function svgrLoader(source) {
)
})
- readSvg()
- .then(svg => convert(svg, options, { webpack: { previousEx... | fix(webpack): use source when possible (#<I>)
Actually file is read in all cases, this is useless and inefficient. | smooth-code_svgr | train | js |
894132d560530fd2646af3ca85e0c5777c769179 | diff --git a/hdf5storage/utilities.py b/hdf5storage/utilities.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/utilities.py
+++ b/hdf5storage/utilities.py
@@ -291,16 +291,11 @@ def write_object_array(f, data, options):
# We need to make sure that the group to hold references is present,
# and create it if i... | Made the getting of the Group for references more efficient (less calls to h5py) in utilities.write_object_array. | frejanordsiek_hdf5storage | train | py |
536ffc63964b34ce02ba90138996ce9c1a7836b9 | diff --git a/serviced/cmd.go b/serviced/cmd.go
index <HASH>..<HASH> 100644
--- a/serviced/cmd.go
+++ b/serviced/cmd.go
@@ -35,6 +35,7 @@ import (
"path"
"strconv"
"time"
+ "syscall"
"github.com/zenoss/glog"
)
@@ -224,7 +225,7 @@ func startServer() {
go func() {
signalChan := make(chan os.Signal, 10)... | catch all signals upstart sends us | control-center_serviced | train | go |
870285dd7399e2b7347d0bc643d16d1fbffb89dd | diff --git a/src/builders/RootImporter.php b/src/builders/RootImporter.php
index <HASH>..<HASH> 100644
--- a/src/builders/RootImporter.php
+++ b/src/builders/RootImporter.php
@@ -16,7 +16,7 @@ final class RootImporter implements Builder {
public function __construct(
string $root,
- IncludedRoots $included... | Re-add support for single-arg RootImporter for compatiblity when upgrading | hhvm_hhvm-autoload | train | php,php |
f56e12b14ab70e9155e49b152493bfc316fc112f | diff --git a/code/MemberProfilePage.php b/code/MemberProfilePage.php
index <HASH>..<HASH> 100644
--- a/code/MemberProfilePage.php
+++ b/code/MemberProfilePage.php
@@ -858,7 +858,7 @@ class MemberProfilePage_Controller extends Page_Controller {
// handle the special case of the Groups control so that only allowed ... | Use map('ID', 'Title') on groups due to <I> validation | symbiote_silverstripe-memberprofiles | train | php |
65955ed1373bf93de22bb17adad31140929b81e0 | diff --git a/lib/foodcritic/linter.rb b/lib/foodcritic/linter.rb
index <HASH>..<HASH> 100644
--- a/lib/foodcritic/linter.rb
+++ b/lib/foodcritic/linter.rb
@@ -277,7 +277,7 @@ module FoodCritic
else
# determine the difference to the root of the CB from our file's directory
relative_difference = ... | Fix attribute.rb -> attributes.rb for root_alias
This prevents failures when checking cookbooks at the cookbook level | Foodcritic_foodcritic | train | rb |
e9a8dd8f060afe31c10b46cbcb0603000d127817 | diff --git a/src/base/error_mixin.js b/src/base/error_mixin.js
index <HASH>..<HASH> 100644
--- a/src/base/error_mixin.js
+++ b/src/base/error_mixin.js
@@ -9,25 +9,25 @@ const ErrorMixin = {
* @return {Object} Object with formatted error data including origin and scope
*/
createError(error) {
- !this.name ... | fix(error_mixin): set scope as component type instead of name | clappr_clappr | train | js |
20074af3da6a121a1374e0fe93fba5432808a87c | diff --git a/tinman.py b/tinman.py
index <HASH>..<HASH> 100755
--- a/tinman.py
+++ b/tinman.py
@@ -51,13 +51,13 @@ class Application(tornado.web.Application):
logging.error('Import module name error')
# Build the import string
- s = '.'.join(p[0:len(p)-1])
+ ... | Cleaning up list slicing and use of __import__. | gmr_tinman | train | py |
6f7c0921feca703cb12885dcf0aef7f06899de37 | diff --git a/utils/fsUtils.js b/utils/fsUtils.js
index <HASH>..<HASH> 100644
--- a/utils/fsUtils.js
+++ b/utils/fsUtils.js
@@ -104,10 +104,27 @@ module.exports = {
let status = Math.floor(res.respInfo.status / 100);
if (status !== 2) {
// TO... | Validate if downloaded file is complete. | kfiroo_react-native-cached-image | train | js |
3f6fcef2c90c3f2916c59e5a383b59105a887931 | diff --git a/samples/SpaceGame/app/game_scene.rb b/samples/SpaceGame/app/game_scene.rb
index <HASH>..<HASH> 100644
--- a/samples/SpaceGame/app/game_scene.rb
+++ b/samples/SpaceGame/app/game_scene.rb
@@ -110,13 +110,13 @@ class GameScene < MG::Scene
rand_y = @random.rand(0..(win_size.height))
rand_duration... | [#<I>] get rid of shadow reference to avoid a crash | HipByte_motion-game | train | rb |
f419e8c3cfba7179af11b642631e031dbd8efe38 | diff --git a/lib/monitor.js b/lib/monitor.js
index <HASH>..<HASH> 100644
--- a/lib/monitor.js
+++ b/lib/monitor.js
@@ -39,6 +39,8 @@ function createMonitor() {
watchers = {};
em.stat = stat;
+ em.numPaths = 0;
+ em.numErrors = 0;
function stat(p, cb) {
if(cb == null) cb = function() {};
@@ -... | Added monitor.numPaths and monitor.numErrors | oleics_node-yawatch | train | js |
a7c42302ad53d8361f541be02c56db598795ae41 | diff --git a/bigtable-dataflow-parent/bigtable-beam-import/src/main/java/com/google/cloud/bigtable/beam/sequencefiles/HBaseResultToMutationFn.java b/bigtable-dataflow-parent/bigtable-beam-import/src/main/java/com/google/cloud/bigtable/beam/sequencefiles/HBaseResultToMutationFn.java
index <HASH>..<HASH> 100644
--- a/big... | fix large row splitting on import (#<I>) | googleapis_cloud-bigtable-client | train | java |
c5d6f03c501819f25b038ce84f9a8ed5125aedbf | diff --git a/synapse/tests/test_common.py b/synapse/tests/test_common.py
index <HASH>..<HASH> 100644
--- a/synapse/tests/test_common.py
+++ b/synapse/tests/test_common.py
@@ -79,25 +79,13 @@ class CommonTest(SynTest):
self.eq(parts, [[1, 2], [3, 4], [5]])
# set is unslicable
- tpass = False
-... | Use assertRaises in tests_common insted of try/except blocks. | vertexproject_synapse | train | py |
d097bafd40aebf613a23af69a596e5e112b22768 | diff --git a/lib/hirb/version.rb b/lib/hirb/version.rb
index <HASH>..<HASH> 100644
--- a/lib/hirb/version.rb
+++ b/lib/hirb/version.rb
@@ -1,3 +1,3 @@
module Hirb
- VERSION = '0.3.4'
+ VERSION = '0.3.5'
end | Bumped to version <I> | cldwalker_hirb | train | rb |
77ee178fcefa3b7f618bd4ca48b8cd1e28567bf6 | diff --git a/tests/test_build_automation_c.py b/tests/test_build_automation_c.py
index <HASH>..<HASH> 100644
--- a/tests/test_build_automation_c.py
+++ b/tests/test_build_automation_c.py
@@ -89,8 +89,6 @@ def test_cmake(clean):
assert not path.isfile("../src/" + f)
-@pytest.mark.skipif(sys.version_info[0] ... | Do not skip scons test for Python 3
SCons have been updated to work on Python 3 | kblomqvist_yasha | train | py |
96e1c76d585eb4486209b25ada229a129f7e0fb6 | diff --git a/lib/gemsmith/cli_options.rb b/lib/gemsmith/cli_options.rb
index <HASH>..<HASH> 100644
--- a/lib/gemsmith/cli_options.rb
+++ b/lib/gemsmith/cli_options.rb
@@ -91,7 +91,7 @@ module Gemsmith
end
def rails_version
- @settings[:rails_version] || "4.1"
+ @settings[:rails_version] || "4.2"
... | Updated Rails option to default to version <I> instead of <I>. | bkuhlmann_gemsmith | train | rb,rb |
18c171018e6dff11f015e7a2102a66df209384da | diff --git a/basecrm/http_client.py b/basecrm/http_client.py
index <HASH>..<HASH> 100644
--- a/basecrm/http_client.py
+++ b/basecrm/http_client.py
@@ -106,7 +106,8 @@ class HttpClient(object):
resource=url)
headers = {
'Accept': 'application/js... | send configuration set user agent via http header | basecrm_basecrm-python | train | py,py,py |
afa7a78fc6383b2380e1496d50bf2fdcca2140cb | diff --git a/graylog2-shared/src/main/java/org/graylog2/shared/initializers/GroovyShellSetupService.java b/graylog2-shared/src/main/java/org/graylog2/shared/initializers/GroovyShellSetupService.java
index <HASH>..<HASH> 100644
--- a/graylog2-shared/src/main/java/org/graylog2/shared/initializers/GroovyShellSetupService.... | Fix NPE when trying to stop a non-running Groovy Shell Service | Graylog2_graylog2-server | train | java |
32276ace563afbe7b962878ac724db4714e37861 | diff --git a/elasticsearch-extensions/lib/elasticsearch/extensions/test/cluster.rb b/elasticsearch-extensions/lib/elasticsearch/extensions/test/cluster.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-extensions/lib/elasticsearch/extensions/test/cluster.rb
+++ b/elasticsearch-extensions/lib/elasticsearch/extensions/t... | [EXT] Removed storing the PID files in test cluster
We retrieve the PIDs from the "Nodes Info" API, not files.
Related: #<I> | elastic_elasticsearch-ruby | train | rb |
4dce36c6a14fd64f6b291de21e68f226cd425565 | diff --git a/respite/serializers/base.py b/respite/serializers/base.py
index <HASH>..<HASH> 100644
--- a/respite/serializers/base.py
+++ b/respite/serializers/base.py
@@ -20,7 +20,7 @@ class Serializer(object):
"""
def serialize(anything):
-
+
def serialize_dictionary(dictio... | Add serializer for image_field_files | jgorset_django-respite | train | py |
acdfcbf42f592608a854560389612365068c401f | diff --git a/reana_commons/config.py b/reana_commons/config.py
index <HASH>..<HASH> 100644
--- a/reana_commons/config.py
+++ b/reana_commons/config.py
@@ -442,3 +442,6 @@ REANA_COMPUTE_BACKENDS = {
REANA_WORKFLOW_ENGINES = ["yadage", "cwl", "serial", "snakemake"]
"""Available workflow engines."""
+
+REANA_DEFAULT_S... | snakemake: adapt env validation to fallback image
closes reanahub/reana-workflow-engine-snakemake#<I> | reanahub_reana-commons | train | py,py |
e3b7061046d58391dc71514a32c01abbf2860a0f | diff --git a/lib/gradient/map.rb b/lib/gradient/map.rb
index <HASH>..<HASH> 100644
--- a/lib/gradient/map.rb
+++ b/lib/gradient/map.rb
@@ -23,7 +23,7 @@ module Gradient
end
private def expand_points
- new_points = @locations.map do |location|
+ @locations.map do |location|
selected_points... | Don't assign a variable that is not used | zeeraw_gradient | train | rb |
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.