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 |
|---|---|---|---|---|---|
337633893650921cf092830504f34b22f4979d7d | diff --git a/src/main/java/com/moilioncircle/redis/replicator/rdb/datatype/ZSetEntry.java b/src/main/java/com/moilioncircle/redis/replicator/rdb/datatype/ZSetEntry.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/moilioncircle/redis/replicator/rdb/datatype/ZSetEntry.java
+++ b/src/main/java/com/moilioncircle/re... | <I>-release
raw bytes support | leonchen83_redis-replicator | train | java |
baf8254907720cb35212f00afa48787fa8558b6b | diff --git a/sanic/request.py b/sanic/request.py
index <HASH>..<HASH> 100644
--- a/sanic/request.py
+++ b/sanic/request.py
@@ -56,7 +56,7 @@ class Request(dict):
# Init but do not inhale
self.body = None
- self.parsed_json = ...
+ self.parsed_json = None
self.parsed_form = Non... | Change Ellipsis to None for consistency | huge-success_sanic | train | py |
cdc2b067283511bcc8e294f34a5e1e5eb2f45611 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -117,7 +117,7 @@ setup(
version=VERSION,
url='https://bitbucket.org/DNX/django-keyboard-shorcuts/',
license='BSD License',
- description='Allow to use the keyboard instead of the mouse inside your web project... | updated the project description in setup.py | DNX_django-keyboard-shorcuts | train | py |
763ee9a62c26d33c42984f1d212afb2224f700f8 | diff --git a/utilities/export-csv.py b/utilities/export-csv.py
index <HASH>..<HASH> 100755
--- a/utilities/export-csv.py
+++ b/utilities/export-csv.py
@@ -1,4 +1,9 @@
#!/usr/bin/python
+""" Example script for CSV export
+
+ This script likely need to be modified to meet your needs but can act as a
+ starting poi... | Add small docstring to CSV export | SpriteLink_NIPAP | train | py |
8bc05dd0d7e5591c1a8f03f0eb8f0cd8c6f8a46d | diff --git a/go/vt/topo/test/tablet.go b/go/vt/topo/test/tablet.go
index <HASH>..<HASH> 100644
--- a/go/vt/topo/test/tablet.go
+++ b/go/vt/topo/test/tablet.go
@@ -27,6 +27,12 @@ func tabletEqual(left, right *topo.Tablet) (bool, error) {
func CheckTablet(t *testing.T, ts topo.Server) {
cell := getLocalCell(t, ts)
t... | Adding a small set of test data I had missed. | vitessio_vitess | train | go |
7329671793e60cf492ea3aac097af3d0b57dcd49 | diff --git a/pkg/components/imguploader/s3uploader.go b/pkg/components/imguploader/s3uploader.go
index <HASH>..<HASH> 100644
--- a/pkg/components/imguploader/s3uploader.go
+++ b/pkg/components/imguploader/s3uploader.go
@@ -58,8 +58,8 @@ func (u *S3Uploader) Upload(ctx context.Context, imageDiskPath string) (string,
... | Cloudwatch: prefer webIdentity over EC2 role (#<I>) | grafana_grafana | train | go,go |
2b66ce28ef17f96653a735216ae888684aee810f | diff --git a/src/server/pps/server/api_server.go b/src/server/pps/server/api_server.go
index <HASH>..<HASH> 100644
--- a/src/server/pps/server/api_server.go
+++ b/src/server/pps/server/api_server.go
@@ -1100,6 +1100,9 @@ func (a *apiServer) GC(ctx context.Context, request *pps.GCRequest) (response *p
// A helper func... | Check if a tree is nil | pachyderm_pachyderm | train | go |
9d02e3d22be0c20b10c73e81a37fc7078edd7b9d | diff --git a/python/test/test_series.py b/python/test/test_series.py
index <HASH>..<HASH> 100644
--- a/python/test/test_series.py
+++ b/python/test/test_series.py
@@ -175,8 +175,6 @@ class TestSeriesMethods(PySparkTestCase):
# detrending linearly increasing data should yield all 0s
allclose(data.first... | fix set creation causing test failure, reenable test | thunder-project_thunder | train | py,py |
535669bd23a11aea93e20969ccb08e0a403e0180 | diff --git a/lib/app.js b/lib/app.js
index <HASH>..<HASH> 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -71,7 +71,11 @@ var makeApp = function(configBase, callback) {
serializers: {
req: Logger.stdSerializers.req,
res: Logger.stdSerializers.res,
- err: Logger.... | Filter underscored elements from err output | pump-io_pump.io | train | js |
bfd323c27e40382770d819ed45e3d797f8dd73ba | diff --git a/base/app/models/activity.rb b/base/app/models/activity.rb
index <HASH>..<HASH> 100644
--- a/base/app/models/activity.rb
+++ b/base/app/models/activity.rb
@@ -233,8 +233,8 @@ class Activity < ActiveRecord::Base
# This and related activities
def same_thread
- return [self] if ancestry.nil?
- [A... | Even better solution for #<I> using ancestry gem.
Kudos to @atd. | ging_social_stream | train | rb |
69d9c618a85782bc349b2cd0099caf3c1fe0b4f8 | diff --git a/framework/src/play-test/src/main/java/play/test/FakeRequest.java b/framework/src/play-test/src/main/java/play/test/FakeRequest.java
index <HASH>..<HASH> 100644
--- a/framework/src/play-test/src/main/java/play/test/FakeRequest.java
+++ b/framework/src/play-test/src/main/java/play/test/FakeRequest.java
@@ -3... | add withSession for Java version too | playframework_playframework | train | java |
8b8da0ba0c5466b6c53aace8c375631229ff095b | diff --git a/maildir_deduplicate/mail.py b/maildir_deduplicate/mail.py
index <HASH>..<HASH> 100644
--- a/maildir_deduplicate/mail.py
+++ b/maildir_deduplicate/mail.py
@@ -184,6 +184,8 @@ class Mail(object):
# this will ensure value is always string
if isinstance(value, bytes):
value = val... | Convert Header object to str
In a model generated from bytes, any header values that (in
contravention of the RFCs) contain non-ASCII bytes will, when
retrieved through this interface, be represented as Header
objects with a charset of unknown-8bit. | kdeldycke_maildir-deduplicate | train | py |
790bf7c61a300161231336f0f0cc8b8565aa942f | diff --git a/js/coinbasepro.js b/js/coinbasepro.js
index <HASH>..<HASH> 100644
--- a/js/coinbasepro.js
+++ b/js/coinbasepro.js
@@ -255,6 +255,8 @@ module.exports = class coinbasepro extends Exchange {
'type': this.safeString (details, 'type'),
'name': name,
'active': a... | coinbasepro: add deposit/withdraw flag in currencies ccxt/ccxt#<I> | ccxt_ccxt | train | js |
eb64361170e8d1f4db4202284ab1a87bd7fd8996 | diff --git a/pkg/minikube/cruntime/docker.go b/pkg/minikube/cruntime/docker.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/cruntime/docker.go
+++ b/pkg/minikube/cruntime/docker.go
@@ -107,8 +107,8 @@ func (r *Docker) SocketPath() string {
// Available returns an error if it is not possible to use this runtime on a ... | Always check for docker ahead of cri-dockerd | kubernetes_minikube | train | go |
faa751af6fdf23cb855618c40fa96130c37eca97 | diff --git a/Testing/Fakes/MailFake.php b/Testing/Fakes/MailFake.php
index <HASH>..<HASH> 100644
--- a/Testing/Fakes/MailFake.php
+++ b/Testing/Fakes/MailFake.php
@@ -4,6 +4,7 @@ namespace Illuminate\Support\Testing\Fakes;
use Illuminate\Support\Collection;
use Illuminate\Contracts\Mail\Mailer;
+use Illuminate\Cont... | handle sent mail recipients set from mailable | illuminate_support | train | php |
14fa1311f384385ee42aa4d5b7a8393b796b522c | diff --git a/SecureHeaders.php b/SecureHeaders.php
index <HASH>..<HASH> 100644
--- a/SecureHeaders.php
+++ b/SecureHeaders.php
@@ -266,12 +266,12 @@ class SecureHeaders{
$args = func_get_args();
$num = count($args);
- # look for a bool or common intgers used in place of bools
+ # look ... | allow cspro to be alias for csp in reporting mode, allow any integer in place of bool for report only flag (not just 0 or 1) | aidantwoods_SecureHeaders | train | php |
1b5e5b7fdc3cc979d7b39e13629173460506672f | diff --git a/loadtest/loadtest.go b/loadtest/loadtest.go
index <HASH>..<HASH> 100644
--- a/loadtest/loadtest.go
+++ b/loadtest/loadtest.go
@@ -88,10 +88,12 @@ func (t *LoadTest) Run(in <-chan message.Message, out chan message.Message, erro
close(oin)
break runLoop
}
- out <- message.NewToWorker("run... | No need to be overly chatty | loadimpact_k6 | train | go |
e065c711d1c62680111edfe73541a7fc900cce84 | diff --git a/pylti/common.py b/pylti/common.py
index <HASH>..<HASH> 100644
--- a/pylti/common.py
+++ b/pylti/common.py
@@ -55,6 +55,7 @@ LTI_REQUEST_TYPE = [u'any', u'initial', u'session']
def default_error(exception=None):
"""Render simple error page. This should be overidden in applications."""
# pylint: ... | Logging the original exception w/stack trace when the generic LTI communication error is sent to the client. | mitodl_pylti | train | py |
92a72926f4ed133b62a839ca097339d987e83385 | diff --git a/dial/index.js b/dial/index.js
index <HASH>..<HASH> 100644
--- a/dial/index.js
+++ b/dial/index.js
@@ -53,7 +53,6 @@ function dialZN(swarm, ZProtocol) {
return proxyConn
function attemptDial(pi, cb) {
- console.log(swarm.transports)
const tKeys = Object.keys(swarm.transports)
... | Hide the libp2p feature behind a flag - Tests fix | ZeroNetJS_zeronet-swarm | train | js,js |
d6fb94672d41fba236b3bc617954a149b737cb47 | diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -3,7 +3,7 @@ module.exports = {
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
- 'prettier/@typescript-eslint',
+ 'prettier',
'plugin:prettier/recommende... | chore: Update eslint config with latest dependency updates | cahilfoley_snowfall | train | js |
82c5391a3b95cea2a91b12bf129c726eeda2ce10 | diff --git a/src/Form/Form.php b/src/Form/Form.php
index <HASH>..<HASH> 100644
--- a/src/Form/Form.php
+++ b/src/Form/Form.php
@@ -62,7 +62,7 @@ class Form
*
* @var string
*/
- protected $_validatorClass = '\Cake\Validation\Validator';
+ protected $_validatorClass = 'Cake\Validation\Validator';
... | Removed unneeded backslash. | cakephp_cakephp | train | php |
b00f45b329baa988da48e0b5d01229a075305a50 | diff --git a/src/Control.Loading.js b/src/Control.Loading.js
index <HASH>..<HASH> 100644
--- a/src/Control.Loading.js
+++ b/src/Control.Loading.js
@@ -185,14 +185,16 @@
// reflected in the above layer events.
map.on({
dataloading: this._handleLoading,
- ... | Listen to layerremove
In some cases, the layer can be removed before it is fully loaded | ebrelsford_Leaflet.loading | train | js |
73ecd03b704915ad23ff0b76ac669d3fc7a63b33 | diff --git a/webpack-node.config.js b/webpack-node.config.js
index <HASH>..<HASH> 100644
--- a/webpack-node.config.js
+++ b/webpack-node.config.js
@@ -46,7 +46,10 @@ module.exports = {
{ test: /\.jsx?$/, loader: "jsx-loader?harmony" },
// webpack wants real bad for this to be a string, for s... | removing explicit checks in the code for SERVER_SIDE for .less files | redfin_react-server | train | js |
3a46a098336e28c1512bcf7cb2be7eadec6edd3e | diff --git a/lib/salve/patterns.js b/lib/salve/patterns.js
index <HASH>..<HASH> 100644
--- a/lib/salve/patterns.js
+++ b/lib/salve/patterns.js
@@ -562,9 +562,16 @@ PatternTwoPatterns.prototype._elementDefinitions = function (memo) {
* of the event parameters must be strings.
*/
function Event() {
- var params =... | Optimized the Event constructor.
The way arguments used to be manipulated caused v8 to bail out from
optimizing the function. The new code allows optimization to
happen. This made a <I> second difference in loading the prasaada
article on BTW (from 7s to <I>s, > <I>% difference). | mangalam-research_salve | train | js |
2c3b39d7e7e1cb27684238450d7bc393d9fe2b9d | diff --git a/rakelib/kokoro/kokoro.rb b/rakelib/kokoro/kokoro.rb
index <HASH>..<HASH> 100644
--- a/rakelib/kokoro/kokoro.rb
+++ b/rakelib/kokoro/kokoro.rb
@@ -36,6 +36,9 @@ class Kokoro < Command
@updated_gems.each do |gem|
run_ci gem do
run "bundle exec rake ci", 1800
+ # TODO: Remove date ... | chore: postpone link checking on presubmits for one week | googleapis_google-cloud-ruby | train | rb |
f86edf59a7c111845e9e75db76da80cb52856be7 | diff --git a/fireplace/brawls/__init__.py b/fireplace/brawls/__init__.py
index <HASH>..<HASH> 100644
--- a/fireplace/brawls/__init__.py
+++ b/fireplace/brawls/__init__.py
@@ -164,3 +164,26 @@ class HeartOfTheSunwellBrawl(Game):
super().prepare()
for player in self.players:
player.max_mana = 10
+
+
+class TooM... | Implement the "Too Many Portals!" brawl | jleclanche_fireplace | train | py |
daad3bcdbf92697fc18e11d660120bf7d34adf34 | diff --git a/benchmarks/src/jmh/java/io/grpc/benchmarks/TransportBenchmark.java b/benchmarks/src/jmh/java/io/grpc/benchmarks/TransportBenchmark.java
index <HASH>..<HASH> 100644
--- a/benchmarks/src/jmh/java/io/grpc/benchmarks/TransportBenchmark.java
+++ b/benchmarks/src/jmh/java/io/grpc/benchmarks/TransportBenchmark.ja... | benchmarks: Disable NETTY_LOCAL in TransportBenchmark
NETTY_LOCAL seem to have a flow control issue. Disable it since we don't
really look at it very often and we care about the
streamingCallsMessageThroughput benchmark. | grpc_grpc-java | train | java |
1da3d1ef5f5dd1f16907cd0d9ba71d04799e4ccf | diff --git a/api/actions_test.go b/api/actions_test.go
index <HASH>..<HASH> 100644
--- a/api/actions_test.go
+++ b/api/actions_test.go
@@ -34,6 +34,12 @@ func (s *ActionsSuite) SetUpSuite(c *gocheck.C) {
c.Assert(err, gocheck.IsNil)
}
+func (s *ActionsSuite) TearDownSuite(c *gocheck.C) {
+ conn, _ := db.Conn()
+ d... | api: dropping the actions database in teardown. | tsuru_tsuru | train | go |
30ef432bc65c6e4f5717447f3001984ccacf37af | diff --git a/credentials.go b/credentials.go
index <HASH>..<HASH> 100644
--- a/credentials.go
+++ b/credentials.go
@@ -2,7 +2,6 @@ package gokeepasslib
import (
"crypto/aes"
- "crypto/cipher"
"crypto/sha256"
"crypto/sha512"
"encoding/base64"
@@ -113,16 +112,17 @@ func cryptAESKey(masterKey []byte, seed []byt... | #<I> Extremely improved open AES database time. | tobischo_gokeepasslib | train | go |
ed24b8029428867958203c881b9a16368483c66c | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100755
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -105,6 +105,11 @@ RSpec.configure do |config|
end
$saved_indirection_state = nil
+ # Some tests can cause us to connect, in which case the lingering
+ # connection ... | (#<I>) Disconnect any ActiveRecord connection after every test.
Some of our tests can trigger an actual ActiveRecord connection being made.
This could leak between tests, potentially causing odd problems, or otherwise
share state between them.
We should, when we have the feature available, ensure we disconnect betwee... | puppetlabs_puppet | train | rb |
4c9ed3998ef5d31f3554de5c24ea9d7cce7e2a79 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,9 @@
from setuptools import setup, Command
import sys
+import warnings
+
+
+warnings.filterwarnings("always", module=__name__)
class PyTest(Command):
@@ -33,7 +37,8 @@ try:
import pypandoc
long_descrip... | setup.py: warning instead of print (#<I>) | alecthomas_injector | train | py |
c6d1bac6f3ede33535d7450c6b46c17182436bea | diff --git a/modules/Collections/bootstrap.php b/modules/Collections/bootstrap.php
index <HASH>..<HASH> 100755
--- a/modules/Collections/bootstrap.php
+++ b/modules/Collections/bootstrap.php
@@ -388,7 +388,7 @@ $this->module('collections')->extend([
$collection = $_collection['_id'];
// check rule
-... | fixed wrong name "remove" of collection rule to "delete" | agentejo_cockpit | train | php |
400018141b678b415891b2df55c0cc76c45c987d | diff --git a/packages/node_modules/@webex/plugin-meetings/src/common/logs/request.js b/packages/node_modules/@webex/plugin-meetings/src/common/logs/request.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/plugin-meetings/src/common/logs/request.js
+++ b/packages/node_modules/@webex/plugin-meetings/src/... | fix(plugin-meetings): prevent success message when log upload fails | webex_spark-js-sdk | train | js |
5d96b5f382ecf064522cef9f1d57fbec6a072ee4 | diff --git a/src/Button.js b/src/Button.js
index <HASH>..<HASH> 100644
--- a/src/Button.js
+++ b/src/Button.js
@@ -58,7 +58,7 @@ const Button = styled.button`
props.disabled ? null : props.theme.colors.darkBlue};
}
- ${fullWidth} ${space} ${size};
+ ${fullWidth} ${size} ${space};
`
const numberStringO... | fix(button): Switch css hierarchy so that passed in paddings are not overwritten by default size | jrs-innovation-center_design-system | train | js |
d141593d834f99822c08b9f3ca768258483afbf1 | diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go
index <HASH>..<HASH> 100644
--- a/pkg/chartutil/create.go
+++ b/pkg/chartutil/create.go
@@ -381,8 +381,9 @@ const defaultNotes = `1. Get the application URL by running these commands:
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contai... | Avoid hardcoded container port in default notes | helm_helm | train | go |
fadc42be5ec236c7b4d6bc504e0a8bd4e92d782b | diff --git a/seaglass/trunk/seaglass/src/main/java/com/seaglass/state/TextAreaNotInScrollPaneState.java b/seaglass/trunk/seaglass/src/main/java/com/seaglass/state/TextAreaNotInScrollPaneState.java
index <HASH>..<HASH> 100644
--- a/seaglass/trunk/seaglass/src/main/java/com/seaglass/state/TextAreaNotInScrollPaneState.jav... | Make isInState method public. | khuxtable_seaglass | train | java |
fa9aa5db050d62236992951d6271c6fcc6773117 | diff --git a/apitester/index.php b/apitester/index.php
index <HASH>..<HASH> 100755
--- a/apitester/index.php
+++ b/apitester/index.php
@@ -2,7 +2,7 @@
session_name("oauthtester");
session_start();
-require realpath(dirname(__DIR__).'/vendor/autoload.php');
+require dirname(__DIR__).'/vendor/autoload.php';
use Ma... | realpath isn't really necessary here | mautic_api-library | train | php |
1ea4fe705207476698e7768036343b2ebe3bb31f | diff --git a/grunt.js b/grunt.js
index <HASH>..<HASH> 100644
--- a/grunt.js
+++ b/grunt.js
@@ -135,7 +135,7 @@ module.exports = function( grunt ) {
config = grunt.file.readJSON( configFile ).jquery;
var tests = "ajax attributes callbacks core css data deferred dimensions effects event manipulation offset queue s... | Grunt: Update testswarm task to use new module filter, reduces duplication when running, should speed things up | jquery_jquery | train | js |
28056d0c0e5756d04cedf93eef067ca30b3d7896 | diff --git a/framework/core/js/src/common/components/Modal.js b/framework/core/js/src/common/components/Modal.js
index <HASH>..<HASH> 100644
--- a/framework/core/js/src/common/components/Modal.js
+++ b/framework/core/js/src/common/components/Modal.js
@@ -33,6 +33,9 @@ export default class Modal extends Component {
... | Ensure that modal hide animates (#<I>)
We want to return a promise in``onbeforeremove` with arbitrary loading time to ensure that the animateHide animation has time to complete. | flarum_core | train | js |
f5a10ed61141395f0d11ad6afa1d0e8e8d3af6f1 | diff --git a/lib/githooks/runner.rb b/lib/githooks/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/githooks/runner.rb
+++ b/lib/githooks/runner.rb
@@ -285,9 +285,12 @@ module GitHooks
# stupid RVM polluting my environment without asking via it's
# executable-hooks gem preloading bundler. hence the... | fix bundler reset bug where recent bundler versions check for defined?(@settings) | rabbitt_githooks | train | rb,rb |
17dea90f63aa8e5df18ab4b3a49127ea7441ca11 | diff --git a/tests/unit/utils/utils_test.py b/tests/unit/utils/utils_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/utils/utils_test.py
+++ b/tests/unit/utils/utils_test.py
@@ -14,6 +14,7 @@ from salt.exceptions import (SaltInvocationError, SaltSystemExit, CommandNotFoun
# Import Python libraries
import os
imp... | Fix RHEL5 zmq unit tests
* Import zmq, check its attr and skip test if necessary. | saltstack_salt | train | py |
489101e75d42cb0511a1b3144fc26d770dbea920 | diff --git a/test/spec/fused_spec.rb b/test/spec/fused_spec.rb
index <HASH>..<HASH> 100644
--- a/test/spec/fused_spec.rb
+++ b/test/spec/fused_spec.rb
@@ -44,4 +44,32 @@ describe Poise::Resource::Fused do
it { is_expected.to create_file('inner').with(content: 'test') }
end # /context with a nested provider
+
... | Add a few pending specs for the morning of stuff that should work. | poise_poise | train | rb |
b3fb3a3f5da6749beb54a2e1b1d5e19f8ce70a5c | diff --git a/lockingstore/memorylocker_test.go b/lockingstore/memorylocker_test.go
index <HASH>..<HASH> 100644
--- a/lockingstore/memorylocker_test.go
+++ b/lockingstore/memorylocker_test.go
@@ -7,7 +7,8 @@ import (
)
func TestMemoryLocker(t *testing.T) {
- locker := New()
+ var locker Locker
+ locker = New()
i... | Ensure MemoryLocker implements Locker in tests | tus_tusd | train | go |
f1e97e1cdd395f3e4472989c0655d8b720040ced | diff --git a/app/Http/Controllers/Dashboard/ComponentGroupController.php b/app/Http/Controllers/Dashboard/ComponentGroupController.php
index <HASH>..<HASH> 100644
--- a/app/Http/Controllers/Dashboard/ComponentGroupController.php
+++ b/app/Http/Controllers/Dashboard/ComponentGroupController.php
@@ -59,7 +59,7 @@ class C... | Fix for error <I> when clicking Compontent groups. Variable name changed | CachetHQ_Cachet | train | php |
8173710be53b12646d1a19c6620696f3603a1b67 | diff --git a/routes/admin/authenticated/sidebar/community-settings/invite/page.js b/routes/admin/authenticated/sidebar/community-settings/invite/page.js
index <HASH>..<HASH> 100644
--- a/routes/admin/authenticated/sidebar/community-settings/invite/page.js
+++ b/routes/admin/authenticated/sidebar/community-settings/invi... | chore(community): reset invite form after submit fix #<I> | nossas_bonde-client | train | js |
c4bf81fa9e16345f7d948cf6add58e9963693449 | diff --git a/lib/svtplay_dl/fetcher/hls.py b/lib/svtplay_dl/fetcher/hls.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/fetcher/hls.py
+++ b/lib/svtplay_dl/fetcher/hls.py
@@ -9,6 +9,8 @@ from datetime import datetime, timedelta
import binascii
import random
+from cryptography.hazmat.primitives.ciphers import Ci... | hls: move cryptography to top imports. | spaam_svtplay-dl | train | py |
aea312b2a0a1567cfe510a067bbae5f24c8b5bdd | diff --git a/src/OpenAccess_EPUB/ops/opsplos.py b/src/OpenAccess_EPUB/ops/opsplos.py
index <HASH>..<HASH> 100644
--- a/src/OpenAccess_EPUB/ops/opsplos.py
+++ b/src/OpenAccess_EPUB/ops/opsplos.py
@@ -106,6 +106,10 @@ class OPSPLoS(OPSMeta):
self.convert_xref_elements(body)
self.convert_named_content_el... | Sec elements made it into the abstract elements... so weird | SavinaRoja_OpenAccess_EPUB | train | py |
136297ae368a63bc1812ab607b4ef68df899e059 | diff --git a/src/Behat/Behat/DependencyInjection/BehatExtension.php b/src/Behat/Behat/DependencyInjection/BehatExtension.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Behat/DependencyInjection/BehatExtension.php
+++ b/src/Behat/Behat/DependencyInjection/BehatExtension.php
@@ -81,6 +81,24 @@ class BehatExtension imple... | ability to delete previously specified paths in config with "!"
default:
paths:
steps:
- path/to/folder1
- path/to/folder2
extra:
paths:
steps:
- !path/to/folder2
- path/to/folder3
behat -p default will use steps from folder1 and folder2
behat -p extra will use steps from folder1 a... | Behat_Behat | train | php |
aeaf3fe536919c07c6a6dc21d9c7cc8dfaa61816 | diff --git a/lxd/main.go b/lxd/main.go
index <HASH>..<HASH> 100644
--- a/lxd/main.go
+++ b/lxd/main.go
@@ -159,7 +159,7 @@ func run() error {
fmt.Printf(" callhook\n")
fmt.Printf(" Call a container hook\n")
fmt.Printf(" netcat\n")
- fmt.Printf(" Mirror a unix socket to stdin/stdout")
+ fm... | Add missing linebreak to lxd help | lxc_lxd | train | go |
ec8e6c4af3de43ee78cc09a3f64c347dce510378 | diff --git a/cmd/dlv/cmds/commands.go b/cmd/dlv/cmds/commands.go
index <HASH>..<HASH> 100644
--- a/cmd/dlv/cmds/commands.go
+++ b/cmd/dlv/cmds/commands.go
@@ -536,6 +536,10 @@ func gobuild(debugname, pkg string) error {
if BuildFlags != "" {
args = append(args, splitQuotedFields(BuildFlags)...)
}
+ if ver, _ := ... | cmd/dlv: use -a flag with go<I>
By specifying the -a flag we insure that all packages are recompiled
with -gcflags='-N -l'. Previously -a could not be specified because the
compiler could not compile runtime without optimizations.
Fixes #<I> | go-delve_delve | train | go |
fccc75cf1dc56e7e79e4e458daeb05abc9eb77c9 | diff --git a/lib/turkee.rb b/lib/turkee.rb
index <HASH>..<HASH> 100644
--- a/lib/turkee.rb
+++ b/lib/turkee.rb
@@ -14,6 +14,9 @@ module Turkee
end
class TurkeeTask < ActiveRecord::Base
+ attr_accessible :sandbox, :hit_title, :hit_description, :hit_reward, :hit_num_assignments, :hit_lifetime,
+ ... | Turkee now working with nested resources | aantix_turkee | train | rb |
bf33e6bd445804fb88990f8800b824a9141637d4 | diff --git a/src/Form/__tests__/FieldCheckbox-test.js b/src/Form/__tests__/FieldCheckbox-test.js
index <HASH>..<HASH> 100644
--- a/src/Form/__tests__/FieldCheckbox-test.js
+++ b/src/Form/__tests__/FieldCheckbox-test.js
@@ -247,7 +247,7 @@ describe('FieldCheckbox', function () {
expect(el.checked).toEqual(false);... | Changing test naming to something more useful | mesosphere_reactjs-components | train | js |
a4f95919eb6c562aaf3aa06cd1a9089ede06afdd | diff --git a/src/main/java/org/deepsymmetry/beatlink/data/WaveformPreviewComponent.java b/src/main/java/org/deepsymmetry/beatlink/data/WaveformPreviewComponent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/deepsymmetry/beatlink/data/WaveformPreviewComponent.java
+++ b/src/main/java/org/deepsymmetry/beatlink/... | Don't try to set position before first beat. | Deep-Symmetry_beat-link | train | java |
584d8a82a4f0350ba9ab5924f38a6d92162628d1 | diff --git a/Validation-Manager-Web/src/main/java/net/sourceforge/javydreamercsw/validation/manager/web/file/AbstractFileDisplay.java b/Validation-Manager-Web/src/main/java/net/sourceforge/javydreamercsw/validation/manager/web/file/AbstractFileDisplay.java
index <HASH>..<HASH> 100644
--- a/Validation-Manager-Web/src/ma... | Fix bug when deciding if file is supported. | javydreamercsw_validation-manager | train | java |
36d1dbf63a4928f8d321d09a0a1e7a3d721e8cc1 | diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/a... | Remove unused require
`require 'active_support/core_ext/benchmark'` was added by 4ecdf<I>.
But currently unused anymore. | rails_rails | train | rb |
838608af86202954a8e14f0eb0400292d5dc8463 | diff --git a/src/sprites/sprite.js b/src/sprites/sprite.js
index <HASH>..<HASH> 100644
--- a/src/sprites/sprite.js
+++ b/src/sprites/sprite.js
@@ -61,9 +61,17 @@ Sprite.prototype.export = function () {
for (x in this) {
if (typeof this[x] === 'function') {
continue;
+ if (this.runt... | Update sprite.js | LLK_scratch-vm | train | js |
c6eada9d6fde6a51bdb9c6fa4590ca21b5f180bb | diff --git a/galpy/df/sphericaldf.py b/galpy/df/sphericaldf.py
index <HASH>..<HASH> 100644
--- a/galpy/df/sphericaldf.py
+++ b/galpy/df/sphericaldf.py
@@ -193,7 +193,6 @@ class sphericaldf(df):
"""
if R is None or z is None: # Full 6D samples
r = self._sample_r(n=n)
- v = self.... | Bring v sampling out of the if/else | jobovy_galpy | train | py |
5a30fcc99ca7242ecdcceb577aa1a5402dfb41b0 | diff --git a/src/directives/openlayers.js b/src/directives/openlayers.js
index <HASH>..<HASH> 100644
--- a/src/directives/openlayers.js
+++ b/src/directives/openlayers.js
@@ -75,6 +75,10 @@ angular.module('openlayers-directive', ['ngSanitize']).directive('openlayers', f
view: view
... | fix(ol directive): watch destroy | tombatossals_angular-openlayers-directive | train | js,js |
190e63a6bb995f0f17c4a13cd32014ceef08a369 | diff --git a/lib/Doctrine/ORM/ORMInvalidArgumentException.php b/lib/Doctrine/ORM/ORMInvalidArgumentException.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/ORMInvalidArgumentException.php
+++ b/lib/Doctrine/ORM/ORMInvalidArgumentException.php
@@ -61,9 +61,11 @@ class ORMInvalidArgumentException extends \Invalid... | Show the advice only when necessary.
This is indeed a good advice, but people who
already have implemented __toString() might
get confused about it. | doctrine_orm | train | php |
eb472b7745675d0c080899099824dda46c621f86 | diff --git a/etcdserver/sender.go b/etcdserver/sender.go
index <HASH>..<HASH> 100644
--- a/etcdserver/sender.go
+++ b/etcdserver/sender.go
@@ -109,11 +109,12 @@ func httpPost(c *http.Client, url string, cid types.ID, data []byte) bool {
switch resp.StatusCode {
case http.StatusPreconditionFailed:
// TODO: shutdo... | etcdserver: better logging when member is removed | etcd-io_etcd | train | go |
125c1c6bc3747cfd476f503f05a66f66840d333f | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -52,9 +52,9 @@ Api.prototype.load = function () {
}
Api.prototype.isNodeIntegrationEnabled = function () {
- return this.app.client.execute(function () {
- return typeof process !== 'undefined'
- }).then(getRe... | Check require for if node integration is enabled | electron_spectron | train | js |
ace86c1308a3c06b77e7e47279af07f4ae65ddf9 | diff --git a/src/org/mozilla/javascript/ImporterTopLevel.java b/src/org/mozilla/javascript/ImporterTopLevel.java
index <HASH>..<HASH> 100644
--- a/src/org/mozilla/javascript/ImporterTopLevel.java
+++ b/src/org/mozilla/javascript/ImporterTopLevel.java
@@ -38,6 +38,8 @@
package org.mozilla.javascript;
+import java.i... | Implement Serializable by recently introduced ImporterFunctions as this is required for scope serialization. | mozilla_rhino | train | java |
4ed176c2657a55a6d394446407cb3d2e6f622f81 | diff --git a/src/tools/annotation/CircleRoiTool.js b/src/tools/annotation/CircleRoiTool.js
index <HASH>..<HASH> 100644
--- a/src/tools/annotation/CircleRoiTool.js
+++ b/src/tools/annotation/CircleRoiTool.js
@@ -34,17 +34,13 @@ const logger = getLogger('tools:annotation:EllipticalRoiTool');
* @extends Tools.Base.BaseA... | fix(mergeConfig): Applying merge config fix into CircleRoiTool | cornerstonejs_cornerstoneTools | train | js |
ae23e09b44d2099f9c8a51b35c5971449c314388 | diff --git a/test/gov_uk_delivery_test.rb b/test/gov_uk_delivery_test.rb
index <HASH>..<HASH> 100644
--- a/test/gov_uk_delivery_test.rb
+++ b/test/gov_uk_delivery_test.rb
@@ -37,7 +37,7 @@ describe GdsApi::GovUkDelivery do
it "can get a subscription URL" do
expected_payload = { feed_url: 'http://example.com/f... | Fix broken test
I broke a test changing the way we handle JSON. This fixes it. | alphagov_gds-api-adapters | train | rb |
921db74fe4757931f6c5d3f586e57a3cecf3bcee | diff --git a/extensions/mentions/js/src/forum/addComposerAutocomplete.js b/extensions/mentions/js/src/forum/addComposerAutocomplete.js
index <HASH>..<HASH> 100644
--- a/extensions/mentions/js/src/forum/addComposerAutocomplete.js
+++ b/extensions/mentions/js/src/forum/addComposerAutocomplete.js
@@ -206,7 +206,7 @@ expor... | Fix extension to work with Composer state changes
Refs flarum/core#<I>. | flarum_core | train | js |
59cf3029e07cde9c87d74e887a09214b9dcac7be | diff --git a/lib/deps/ajax.js b/lib/deps/ajax.js
index <HASH>..<HASH> 100644
--- a/lib/deps/ajax.js
+++ b/lib/deps/ajax.js
@@ -74,6 +74,11 @@ function ajax(options, adapterCallback) {
function onError(err, cb) {
var errParsed, errObj, errType, key;
+ if (err.code && err.status) {
+ var err2 = new Erro... | (#<I>) - pass back node http errors | pouchdb_pouchdb | train | js |
e28b77a0e3b71288c615da826186719af4e2a464 | diff --git a/spec/lib/flapjack/gateways/pagerduty_spec.rb b/spec/lib/flapjack/gateways/pagerduty_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/flapjack/gateways/pagerduty_spec.rb
+++ b/spec/lib/flapjack/gateways/pagerduty_spec.rb
@@ -72,12 +72,6 @@ describe Flapjack::Gateways::Pagerduty, :logger => true do
... | remove superfluous block of code thanks @Hobbsee | flapjack_flapjack | train | rb |
a4fd391ba1c9faa1004e879f314beb80c3afe0b6 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -267,7 +267,7 @@ module.exports = function(grunt) {
grunt.registerTask('bench', ['metrics']);
- if (process.env.SAUCE_USERNAME) {
+ if (process.env.SAUCE_ACCESS_KEY) {
grunt.registerTask('sauce', ... | chore: execute saucelabs-task only if access-key exists
- up to now, the existance of the SAUCE_USERNAME was checked
but this variable is even present in pull-requests from other
repos. This means that builds fail, because the access key
is not there.
This change looks for SAUCE_ACCESS_KEY instead, which is
... | wycats_handlebars.js | train | js |
7d08ea4c09a020e5721943eb7454d431ba08c4b2 | diff --git a/cmd/new.go b/cmd/new.go
index <HASH>..<HASH> 100644
--- a/cmd/new.go
+++ b/cmd/new.go
@@ -48,7 +48,7 @@ func newPassword(cmd *cobra.Command, args []string) error {
return err
}
- info, err := GetKeyManager().Create(name, pass, algo)
+ info, _, err := GetKeyManager().Create(name, pass, algo)
if err... | Fixed all tests and binaries to compile | tendermint_go-crypto | train | go,go |
6ed419849eff3888240940ab0eea706cd411ed56 | diff --git a/framework/db/Connection.php b/framework/db/Connection.php
index <HASH>..<HASH> 100644
--- a/framework/db/Connection.php
+++ b/framework/db/Connection.php
@@ -242,7 +242,7 @@ class Connection extends Component
'mysql' => 'yii\db\mysql\Schema', // MySQL
'sqlite' => 'yii\db\sqlite\Schema', // sqlite... | Fix $schemaMap declaration for Mssql driver | yiisoft_yii2-debug | train | php |
6ac1c713e9b65a842a4979464eecd09a62588316 | diff --git a/src/php/wp-cli/commands/internals/shell.php b/src/php/wp-cli/commands/internals/shell.php
index <HASH>..<HASH> 100644
--- a/src/php/wp-cli/commands/internals/shell.php
+++ b/src/php/wp-cli/commands/internals/shell.php
@@ -20,7 +20,7 @@ class Shell_Command extends WP_CLI_Command {
if ( 'exit' == $in )
... | allow bringing global variables into the scope | wp-cli_shell-command | train | php |
00220396984a4b5b7c934975980d0229dec17fdd | diff --git a/h2o-core/src/main/java/water/api/Schema.java b/h2o-core/src/main/java/water/api/Schema.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/api/Schema.java
+++ b/h2o-core/src/main/java/water/api/Schema.java
@@ -109,7 +109,7 @@ import java.util.*;
* @param <S> reference to self: this should... | Schema class is now abstract. All V3 endpoints should inherit from SchemaV3, and all V4 endpoints from SchemaV4. | h2oai_h2o-3 | train | java |
f885134b9b15ecf126fc43c04dc85246417d9e3a | diff --git a/safe/postprocessors/minimum_needs_postprocessor.py b/safe/postprocessors/minimum_needs_postprocessor.py
index <HASH>..<HASH> 100644
--- a/safe/postprocessors/minimum_needs_postprocessor.py
+++ b/safe/postprocessors/minimum_needs_postprocessor.py
@@ -55,7 +55,7 @@ class MinimumNeedsPostprocessor(AbstractPos... | Updated minimum needs post processor to fix nan bug. | inasafe_inasafe | train | py |
66228833c6837643f15260ac00af8f3ccdb35936 | diff --git a/test/lib/xmpp.js b/test/lib/xmpp.js
index <HASH>..<HASH> 100644
--- a/test/lib/xmpp.js
+++ b/test/lib/xmpp.js
@@ -63,8 +63,10 @@ describe('FTW', function() {
ftw.catchTracked(stanza).should.be.true
})
- it.skip('Should return false if untracked ID', function() {
- ... | Test pass for untracked stanza ID | xmpp-ftw_xmpp-ftw | train | js |
f689a9e9d680a26f7680022c5f70a8d1197cd53b | diff --git a/addon/search/search.js b/addon/search/search.js
index <HASH>..<HASH> 100644
--- a/addon/search/search.js
+++ b/addon/search/search.js
@@ -63,7 +63,12 @@
function parseQuery(query) {
var isRE = query.match(/^\/(.*)\/([a-z]*)$/);
if (isRE) {
- query = new RegExp(isRE[1], isRE[2].indexOf("i"... | [search addon] Do a string search if a bad regexp is entered | codemirror_CodeMirror | train | js |
96fd54406b4a11baa1dd7fd613c93fac8b92dbce | diff --git a/lib/origen/sub_blocks.rb b/lib/origen/sub_blocks.rb
index <HASH>..<HASH> 100644
--- a/lib/origen/sub_blocks.rb
+++ b/lib/origen/sub_blocks.rb
@@ -246,6 +246,10 @@ module Origen
def has_fuses?
fuses.empty? ? false : true
end
+
+ def has_tests?
+ tests.empty? ? false : true
+ ... | Added in has_tests? method | Origen-SDK_origen | train | rb |
43eb844f6075e38c3373f1beb11611e65f4c53a9 | diff --git a/lib/fastlane/actions/commit_version_bump.rb b/lib/fastlane/actions/commit_version_bump.rb
index <HASH>..<HASH> 100644
--- a/lib/fastlane/actions/commit_version_bump.rb
+++ b/lib/fastlane/actions/commit_version_bump.rb
@@ -58,7 +58,7 @@ module Fastlane
changed_files_as_expected = (Set.new(git_dirty... | Added newline to the error message with adds some nicer formatting | fastlane_fastlane | train | rb |
34381b78b67ac68f2de33b0a01380dc22550969c | diff --git a/src/Cli/Symfony/ConsoleApplication.php b/src/Cli/Symfony/ConsoleApplication.php
index <HASH>..<HASH> 100644
--- a/src/Cli/Symfony/ConsoleApplication.php
+++ b/src/Cli/Symfony/ConsoleApplication.php
@@ -46,6 +46,13 @@ class ConsoleApplication extends \Symfony\Component\Console\Application
return pa... | [TASK] Cleanup comments and whitespaces | TYPO3_Surf | train | php |
e30c10c180ac547a58922a2155e2310bda064e93 | diff --git a/src/Peach/DF/JsonCodec/DecodeException.php b/src/Peach/DF/JsonCodec/DecodeException.php
index <HASH>..<HASH> 100644
--- a/src/Peach/DF/JsonCodec/DecodeException.php
+++ b/src/Peach/DF/JsonCodec/DecodeException.php
@@ -29,6 +29,8 @@
namespace Peach\DF\JsonCodec;
/**
+ * 不正な JSON フォーマットを decode しようとした際にス... | Modified PHPdoc comments of DecodeException | trashtoy_PEACH2 | train | php |
b6987196bcbedca67ba7b83e3e8759b399a6f83e | diff --git a/lib/ui.js b/lib/ui.js
index <HASH>..<HASH> 100644
--- a/lib/ui.js
+++ b/lib/ui.js
@@ -154,8 +154,6 @@ var Preview = function (canvas, position_x, position_y, opts) {
this.palette = opts.palette;
this.render();
}
- this.width = (this.spriteSize + this.pixelPadding) * 2 - this.pixel... | removing duplicated lines on Preview widget | gutomaia_nodeNES | train | js |
b6042f99b3e7fef5c17861b9a6df2789826cf0d6 | diff --git a/docs/next.config.js b/docs/next.config.js
index <HASH>..<HASH> 100644
--- a/docs/next.config.js
+++ b/docs/next.config.js
@@ -7,7 +7,7 @@ const configure = require('./lib/config')
const css = require('@zeit/next-css')
const sass = require('@zeit/next-sass')
-const {NOW_URL} = process.env
+const {NODE_E... | pass production flag to publicRuntimeConfig | primer_css | train | js |
88a9af0734108418128510e0b16c01bd75570c90 | diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/symtab/Symbol.java
+++ b/sources/scalac/symtab/Symbol.java
@@ -295,7 +295,7 @@ public abstract class Symbol implements Modifiers, Kinds {
/** Is this symbol static (i.e. with no out... | - Simplified definitions of Global.isStatic | scala_scala | train | java |
0ce945aff6530834e07e08603acd254cbe522d20 | diff --git a/lib/active_merchant/billing/gateways/worldpay_online_payments.rb b/lib/active_merchant/billing/gateways/worldpay_online_payments.rb
index <HASH>..<HASH> 100644
--- a/lib/active_merchant/billing/gateways/worldpay_online_payments.rb
+++ b/lib/active_merchant/billing/gateways/worldpay_online_payments.rb
@@ -7... | Worldpay: Removing unsupported countries | activemerchant_active_merchant | train | rb |
11aabc5a8587ddd59e77a0288f151ef52cb064d4 | diff --git a/tracker_scraper.go b/tracker_scraper.go
index <HASH>..<HASH> 100644
--- a/tracker_scraper.go
+++ b/tracker_scraper.go
@@ -26,11 +26,10 @@ func (ts *trackerScraper) statusLine() string {
fmt.Fprintf(&w, "%q\t%s\t%s",
ts.url,
func() string {
- // return ts.lastAnnounce.Completed.Add(ts.lastAnnounce... | Tidy the next announce tracker status field | anacrolix_torrent | train | go |
c5c93bf1cbeca991d3990421bbc7abf20f316c95 | diff --git a/dev/src/DocGenerator/Command/Docs.php b/dev/src/DocGenerator/Command/Docs.php
index <HASH>..<HASH> 100644
--- a/dev/src/DocGenerator/Command/Docs.php
+++ b/dev/src/DocGenerator/Command/Docs.php
@@ -83,7 +83,8 @@ class Docs extends GoogleCloudCommand
'tests',
'metadata',
... | Exclude vendor dir for components too (#<I>)
* Exclude vendor dir for components too
* Removed unnecessary vendor entry from exclude | googleapis_google-cloud-php | train | php |
a70fa1b9a24ec4df94ef303bab9c4452cb410717 | diff --git a/lib/cli/cmd_bundle.js b/lib/cli/cmd_bundle.js
index <HASH>..<HASH> 100644
--- a/lib/cli/cmd_bundle.js
+++ b/lib/cli/cmd_bundle.js
@@ -46,9 +46,11 @@ module.exports = {
var options = argv;
var config = makeStealConfig(argv);
- _.defaults(options, {
- filter: options.dev ? "node_modules/**/*" : op... | Fix steal-tools bundle CLI
The `--dev` flag should set filter to "node_modules/**/*" | stealjs_steal-tools | train | js,js |
e6f68ff666d5a7fb50ebaf4946f911eb95141032 | diff --git a/py/h2o.py b/py/h2o.py
index <HASH>..<HASH> 100644
--- a/py/h2o.py
+++ b/py/h2o.py
@@ -286,7 +286,10 @@ def build_cloud(node_count=2, base_port=54321, hosts=None,
clean_sandbox()
# H2O still checks for collision against 3 ports range
# even if its only using 2
- ports_per_node = 3
+ #... | junit.py was failing because it assumes h2o uses two sequential ports per jvm
H2O.java error message implies 3. I guess we use 2 so changing back. I was confused today. | h2oai_h2o-2 | train | py |
d3beb97fccd26ef9f8a5a0015b5da1de25a5e3ab | diff --git a/src/org/joni/Analyser.java b/src/org/joni/Analyser.java
index <HASH>..<HASH> 100644
--- a/src/org/joni/Analyser.java
+++ b/src/org/joni/Analyser.java
@@ -2369,7 +2369,7 @@ final class Analyser extends Parser {
regex.setOptimizeMapInfo(opt.map);
regex.setSubAnchor(opt.map.a... | rename to setOptimizeExactInfo | jruby_joni | train | java,java |
96041f59ebca57209d76390eead9b515547d296b | diff --git a/tests/test.js b/tests/test.js
index <HASH>..<HASH> 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -1,5 +1,6 @@
var test = require('tap').test;
var ObjectStream = require('../index');
+
test('SimplePassThroughArray', function( t ) {
var s = new ObjectStream.PassThrough.Each;
var data = ['a',... | Travis wasnt hooked, quick newline commit to trigger travis | miketheprogrammer_object-stream | train | js |
9c9b5f4785ba043db2c0e12c75c741d483bf5f68 | diff --git a/src/org/jgroups/protocols/raft/LevelDBLog.java b/src/org/jgroups/protocols/raft/LevelDBLog.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/raft/LevelDBLog.java
+++ b/src/org/jgroups/protocols/raft/LevelDBLog.java
@@ -139,10 +139,11 @@ public class LevelDBLog implements Log {
... | LevelDB: closing batch at end of loop (<URL>) | belaban_jgroups-raft | train | java |
aed06b06c8e058c33fae8bb1c8bae83f835e150c | diff --git a/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java b/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java
index <HASH>..<HASH> 100755
--- a/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedSt... | Fixed sbtree issue with distributes storage | orientechnologies_orientdb | train | java |
8050f4b4ddd81298901eaa498e6ae667b9e6ba06 | diff --git a/lib/nrser/text/indentation.rb b/lib/nrser/text/indentation.rb
index <HASH>..<HASH> 100644
--- a/lib/nrser/text/indentation.rb
+++ b/lib/nrser/text/indentation.rb
@@ -39,10 +39,27 @@ module NRSER
#
# <https://github.com/rails/rails/blob/7847a19f476fb9bee287681586d872ea43785e53/activesupport/lib/activ... | More trying to make the text / indentation stuff reasonably usable | nrser_nrser.rb | train | rb |
fb5fe555cf8a184e8e933359433acb3b44946d93 | diff --git a/packages/xod-project/src/constants.js b/packages/xod-project/src/constants.js
index <HASH>..<HASH> 100644
--- a/packages/xod-project/src/constants.js
+++ b/packages/xod-project/src/constants.js
@@ -85,6 +85,7 @@ export const STATIC_TYPES_COMPATIBILITY = {
},
[PIN_TYPE.PORT]: {
[PIN_TYPE.PORT]: t... | feat(xod-project): make the port type castable to the string type | xodio_xod | train | js |
f6faf53f6e1f23b2865a9205d888e3977c1130d5 | diff --git a/fs/archive/tarfs/__init__.py b/fs/archive/tarfs/__init__.py
index <HASH>..<HASH> 100644
--- a/fs/archive/tarfs/__init__.py
+++ b/fs/archive/tarfs/__init__.py
@@ -186,7 +186,7 @@ class TarSaver(base.ArchiveSaver):
if six.PY2:
def _encode(self, string):
- return string.encode(self.... | Fix typo with Python 2 only in `TarSaver` | althonos_fs.archive | train | py |
703d18738bacce6d99e94dfa25e34e82f77dc2a0 | diff --git a/pull_into_place/pipeline.py b/pull_into_place/pipeline.py
index <HASH>..<HASH> 100644
--- a/pull_into_place/pipeline.py
+++ b/pull_into_place/pipeline.py
@@ -229,9 +229,17 @@ Expected to find a file matching '{0}'. Did you forget to compile rosetta?
in the directory associated with that stage.
... | Changed find paths to look for a default_inputs and custom_inputs in root directory. | Kortemme-Lab_pull_into_place | train | py |
177843b267149cacd0e59ed04cba67a59c1c7c4d | diff --git a/src/Controller.php b/src/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Controller.php
+++ b/src/Controller.php
@@ -120,7 +120,7 @@ class Controller extends BaseController
// make this configurable.
$clear = true;
$graphqlSchema = $builder->buildByNa... | Expose query/mutation type on Schema | silverstripe_silverstripe-graphql | train | php,php |
81ace7206be499010e562954921af261dd146dc6 | diff --git a/cjdnsadmin/cjdnsadmin.py b/cjdnsadmin/cjdnsadmin.py
index <HASH>..<HASH> 100644
--- a/cjdnsadmin/cjdnsadmin.py
+++ b/cjdnsadmin/cjdnsadmin.py
@@ -17,11 +17,14 @@ import hashlib
import json
import threading
import time
-import queue
+try:
+ import queue
+except ImportError:
+ import Queue as queue
... | removed unused import, import Queue in such a way that it works on python 2 and 3 | hyperboria_python-cjdns | train | py,py |
653502a6c1dde5e458907a2e1474f974e90ef32d | diff --git a/validation_utils.js b/validation_utils.js
index <HASH>..<HASH> 100644
--- a/validation_utils.js
+++ b/validation_utils.js
@@ -78,7 +78,7 @@ function isNonemptyObject(obj){
}
function isValidBase64(b64, len){
- return (typeof b64 === "string" && b64.length === len && b64 === (new Buffer(b64, "base64")).... | undetermined length b<I> validation | byteball_ocore | train | js |
36d132a07030ffd052b9bfc46a7d61c309e0f2bc | diff --git a/lib/aptly/publish.rb b/lib/aptly/publish.rb
index <HASH>..<HASH> 100644
--- a/lib/aptly/publish.rb
+++ b/lib/aptly/publish.rb
@@ -1,5 +1,3 @@
-require 'ostruct'
-
require_relative 'representation'
module Aptly
diff --git a/lib/aptly/representation.rb b/lib/aptly/representation.rb
index <HASH>..<HASH> 1... | require ostruct in representation where it is used | KDEJewellers_aptly-api | train | rb,rb |
6f78f010d68fdbcb0d3a7e882dec127128d9dd43 | diff --git a/src/pouch.js b/src/pouch.js
index <HASH>..<HASH> 100644
--- a/src/pouch.js
+++ b/src/pouch.js
@@ -614,10 +614,6 @@
call(callback, null);
};
- req.onblocked = function(e) {
- call(callback, {error: 'blocked', reason: e.toString()});
- };
-
req.onerror = function(e) {
cal... | Dont return on onblocked immediately, onsuccess will follow | pouchdb_pouchdb | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.