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 |
|---|---|---|---|---|---|
9991ec8eb01f301e35f51dad3f1fefdf10833a9e | diff --git a/gwpy/spectrum/scipy_.py b/gwpy/spectrum/scipy_.py
index <HASH>..<HASH> 100644
--- a/gwpy/spectrum/scipy_.py
+++ b/gwpy/spectrum/scipy_.py
@@ -54,6 +54,7 @@ def bartlett(timeseries, segmentlength, **kwargs):
"""Calculate a PSD using the Bartlett average method.
"""
import_method_dependency('s... | Fixing a bug which would raise a TypeError when using the bartlett window to make a spectrogram. | gwpy_gwpy | train | py |
19c3b038daef4a456b93885c096f69a26a4acad1 | diff --git a/src/compiler.js b/src/compiler.js
index <HASH>..<HASH> 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -502,7 +502,6 @@ var Compiler = Object.extend({
if (id === null) {
id = this.tmpid();
- frame.set(name, id);
// Note: This relies on... | Fix for issue #<I>
This prevents the compiler from thinking that it has a reference to
any variable before it's actually output the assignment for said var. | mozilla_nunjucks | train | js,js |
bb585d1e130a08a7b127036fed9988c18805ae5a | diff --git a/src/Printer.php b/src/Printer.php
index <HASH>..<HASH> 100644
--- a/src/Printer.php
+++ b/src/Printer.php
@@ -89,6 +89,12 @@ class Printer extends \PHPUnit_TextUI_ResultPrinter
echo str_pad(' ', $padding) . "\t";
}
+ if ($this->colors === false) {
+ echo $buffer;
+... | Weak solution to display symbols in ci env | zf2timo_PHPUnitPrettyResultPrinter | train | php |
7233f745c55eab934d97d2ad1f7895fc2a2b38d1 | diff --git a/Kwc/User/Login/Form/Success/Component.js b/Kwc/User/Login/Form/Success/Component.js
index <HASH>..<HASH> 100644
--- a/Kwc/User/Login/Form/Success/Component.js
+++ b/Kwc/User/Login/Form/Success/Component.js
@@ -3,8 +3,6 @@ Kwf.onContentReady(function() {
if (el.initDone) return;
el.initDon... | don't defer redirect, why should we | koala-framework_koala-framework | train | js |
016ebf46f18bd54333180cb86268e87d6c5f14e7 | diff --git a/src/Bot.php b/src/Bot.php
index <HASH>..<HASH> 100644
--- a/src/Bot.php
+++ b/src/Bot.php
@@ -81,9 +81,9 @@ class Bot
/**
* Sets the IRC client for the bot to use.
*
- * @param \Phergie\Irc\Client\React\Client $client
+ * @param \Phergie\Irc\Client\React\ClientInterface $client
... | Modified Bot to typehint with ClientInterface instead of Client | phergie_phergie-irc-bot-react | train | php |
b2df3a8dfa11bdc5524ec7780d74e85c26a2dbd5 | diff --git a/lib/flash_rails_messages/base.rb b/lib/flash_rails_messages/base.rb
index <HASH>..<HASH> 100644
--- a/lib/flash_rails_messages/base.rb
+++ b/lib/flash_rails_messages/base.rb
@@ -10,7 +10,7 @@ module FlashRailsMessages
end
def render(flash)
- flash.symbolize_keys.map { |message| alert_eleme... | Fixing problem with string hash keys | alejandrodevs_flash_rails_messages | train | rb |
d2110b3f77c5ac06fa3217f0d1783bd01bb7cba8 | diff --git a/graylog2-shared/src/main/java/org/graylog2/shared/inputs/InputRegistry.java b/graylog2-shared/src/main/java/org/graylog2/shared/inputs/InputRegistry.java
index <HASH>..<HASH> 100644
--- a/graylog2-shared/src/main/java/org/graylog2/shared/inputs/InputRegistry.java
+++ b/graylog2-shared/src/main/java/org/gra... | Fixing handling of failed attempts to stop input | Graylog2_graylog2-server | train | java |
7531d8a799f1a0cc08f6b57d1b477e2d467ad2fd | diff --git a/galpy/orbit_src/integratePlanarOrbit.py b/galpy/orbit_src/integratePlanarOrbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/integratePlanarOrbit.py
+++ b/galpy/orbit_src/integratePlanarOrbit.py
@@ -18,7 +18,7 @@ if _lib is None:
_lib = None
else:
break
-if _lib is... | don't cover not being able to load the integration library | jobovy_galpy | train | py |
9e5834d19504fe70f540e2ada0156d88907395dc | diff --git a/lib/magic_grid/version.rb b/lib/magic_grid/version.rb
index <HASH>..<HASH> 100644
--- a/lib/magic_grid/version.rb
+++ b/lib/magic_grid/version.rb
@@ -1,3 +1,3 @@
module MagicGrid
- VERSION = "0.12.2"
+ VERSION = "0.12.3"
end | Version bump after release
[ci skip] | rmg_magic_grid | train | rb |
6e6626ac9e3a7a36c61c3f9cd1f8d395aabbbd07 | diff --git a/simple-spring-memcached/src/main/java/net/nelz/simplesm/aop/ReadThroughAssignCacheAdvice.java b/simple-spring-memcached/src/main/java/net/nelz/simplesm/aop/ReadThroughAssignCacheAdvice.java
index <HASH>..<HASH> 100644
--- a/simple-spring-memcached/src/main/java/net/nelz/simplesm/aop/ReadThroughAssignCacheA... | ReadThroughAssignCache didn't have any indexes, so it was a pretty easy change. | ragnor_simple-spring-memcached | train | java |
3127c224bb524ee522f2caf101e38d0fa2b62e32 | diff --git a/ipa/ipa_ec2.py b/ipa/ipa_ec2.py
index <HASH>..<HASH> 100644
--- a/ipa/ipa_ec2.py
+++ b/ipa/ipa_ec2.py
@@ -10,8 +10,6 @@
import boto3
-from botocore.exceptions import ClientError
-
from ipa import ipa_utils
from ipa.ipa_constants import (
EC2_CONFIG_FILE,
@@ -116,6 +114,8 @@ class EC2Provider(Ip... | Test ec2 connection in connect method.
Boto3 is lazy so testing connection yields a more useful error. | SUSE-Enceladus_ipa | train | py |
dfb64bef9273730c64dc454abe9f9f3dcea79642 | diff --git a/lib/puppet-lint/checks.rb b/lib/puppet-lint/checks.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet-lint/checks.rb
+++ b/lib/puppet-lint/checks.rb
@@ -58,16 +58,12 @@ class PuppetLint::Checks
problems = klass.run
if PuppetLint.configuration.fix
- checks_run << klass
+ @problems... | (GH<I>) Arrow Alignment fix crashes with tabs
In #<I>, an issue was identified where tab indents may cause a negative argument error when creating the new indent for alignment. This occurred because the problem was logged prior to the tab being replaced with two spaces, which changed the alignment.
The fix is to, w... | rodjek_puppet-lint | train | rb |
05e671685c636f0d38f054c676c7409af09614b1 | diff --git a/lib/maxmind/request.rb b/lib/maxmind/request.rb
index <HASH>..<HASH> 100644
--- a/lib/maxmind/request.rb
+++ b/lib/maxmind/request.rb
@@ -16,7 +16,6 @@ module Maxmind
attr_accessor :timeout
end
-
# Required Fields
attr_accessor :client_ip, :city, :region, :postal, :country
@@ -31,... | Convert minFraud response to UTF-8 | adam12_maxmind | train | rb |
5931c711836e283352c70582a7f413aab0c0b614 | diff --git a/aws/resource_aws_elasticache_security_group.go b/aws/resource_aws_elasticache_security_group.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_elasticache_security_group.go
+++ b/aws/resource_aws_elasticache_security_group.go
@@ -128,7 +128,7 @@ func resourceAwsElasticacheSecurityGroupDelete(d *schema.... | Final retry for deleting elasticache security group | terraform-providers_terraform-provider-aws | train | go |
8def550629de249f08751f031ea29886d25d1be6 | diff --git a/tests/parser/parserTests.js b/tests/parser/parserTests.js
index <HASH>..<HASH> 100644
--- a/tests/parser/parserTests.js
+++ b/tests/parser/parserTests.js
@@ -66,7 +66,7 @@ PegParser.src = fs.readFileSync(path.join(basePath, 'parser', 'pegParser.pegjs.t
var parser = new PegParser();
-var testFileName =... | Fix parserTests path for full svn checkout | wikimedia_parsoid | train | js |
81b60574fd2ae82d6e94fd3f75dcb850e8c5c9ba | diff --git a/lxd/networks.go b/lxd/networks.go
index <HASH>..<HASH> 100644
--- a/lxd/networks.go
+++ b/lxd/networks.go
@@ -391,13 +391,12 @@ func doNetworkGet(d *Daemon, name string) (api.Network, error) {
// Set the device type as needed
if osInfo != nil && shared.IsLoopback(osInfo) {
n.Type = "loopback"
- } el... | lxd/networks: Allow for different managed network types in doNetworkGet | lxc_lxd | train | go |
e7bc40952ce0f248539569a9a163a7d6a716be1c | diff --git a/tensorflow_datasets/image/diabetic_retinopathy_detection.py b/tensorflow_datasets/image/diabetic_retinopathy_detection.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/image/diabetic_retinopathy_detection.py
+++ b/tensorflow_datasets/image/diabetic_retinopathy_detection.py
@@ -70,12 +70,12 @@ class... | Fix configs in diabetic_retinopathy_detection. Images were not being rescaled.
PiperOrigin-RevId: <I> | tensorflow_datasets | train | py |
6fabad9e5de6fe845748dfcbeab255d7412a0edd | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -24,8 +24,9 @@ function thenable (promiseFactory) {
return thenable;
},
{
- then: function (onFulfill, onReject) {
- return promiseFactory().then(onFulfill, onReject);
+ then:... | Ensure promise.then is not called with non-fn args
Closes #<I> | bendrucker_sinon-as-promised | train | js |
21282ec68619ef2e3806bb91fbd514e241c89466 | diff --git a/aeron-client/src/main/java/io/aeron/CommonContext.java b/aeron-client/src/main/java/io/aeron/CommonContext.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/io/aeron/CommonContext.java
+++ b/aeron-client/src/main/java/io/aeron/CommonContext.java
@@ -331,13 +331,13 @@ public class CommonCont... | [Java] Remove String.format from CommonContext to reduce garbage. | real-logic_aeron | train | java |
9793a360f6ab3b5534f79a728c23d5ea42e9a7c7 | diff --git a/tests/test_stage_manager.py b/tests/test_stage_manager.py
index <HASH>..<HASH> 100644
--- a/tests/test_stage_manager.py
+++ b/tests/test_stage_manager.py
@@ -178,3 +178,13 @@ class TestFullHistory(BaseTestStageManager):
calls = [mock.call(self.PIPELINE_NAME, self.STAGE_NAME, 0), mock.call(self.P... | Add test for `last` method of StageManager. | grundic_yagocd | train | py |
018815a6b4a5b0a36fe909ef8fcb725987430093 | diff --git a/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/client/request.go b/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/client/request.go
index <HASH>..<HASH> 100644
--- a/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/client/request.go
+++ b/Godeps/... | UPSTREAM: <none>: Suppress aggressive output of warning | openshift_origin | train | go |
6dc12c7566397c697d387ae1786c5dcd97e6608b | diff --git a/bin/spmmonitor.js b/bin/spmmonitor.js
index <HASH>..<HASH> 100644
--- a/bin/spmmonitor.js
+++ b/bin/spmmonitor.js
@@ -20,8 +20,7 @@ try {
console.log('e.g. spmmonitor ./server/app.js')
}
var scriptName = process.argv[2]
- var SpmAgent = require('spmagent')
- var agent = new SpmAgent()
+ var a... | changed module name in spmmonitor helper script | sematext_spm-agent-nodejs | train | js |
4a687e53bd58761fe719ecf2cb2880dd2265e126 | diff --git a/library/src/main/java/com/getbase/android/db/loaders/AbstractLoader.java b/library/src/main/java/com/getbase/android/db/loaders/AbstractLoader.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/getbase/android/db/loaders/AbstractLoader.java
+++ b/library/src/main/java/com/getbase/android/db/l... | takeContentChanged() has a side effect and it should be checked first.
otherwise we can fall into some hard-to-debug problems related to
observing content. | futuresimple_android-db-commons | train | java |
f8fdc5c67b0e806258990ef1557235bcd7aafa36 | diff --git a/org.redmine.ta.api/src/main/java/org/redmine/ta/RedmineException.java b/org.redmine.ta.api/src/main/java/org/redmine/ta/RedmineException.java
index <HASH>..<HASH> 100644
--- a/org.redmine.ta.api/src/main/java/org/redmine/ta/RedmineException.java
+++ b/org.redmine.ta.api/src/main/java/org/redmine/ta/Redmine... | Issue <I>: "null" is added to the error description returned by RedmineException.getMessage() | taskadapter_redmine-java-api | train | java |
36ca9c6063cb4319d8e32ae14662c26c2f336a22 | diff --git a/drivers/virtualbox/virtualbox.go b/drivers/virtualbox/virtualbox.go
index <HASH>..<HASH> 100644
--- a/drivers/virtualbox/virtualbox.go
+++ b/drivers/virtualbox/virtualbox.go
@@ -672,7 +672,7 @@ func (d *Driver) setupHostOnlyNetwork(machineName string) error {
return err
}
- dhcpAddr, err := getRando... | Fix DHCP server and host-only adapter IP address clash
When setting up a host-only network we need to pass the IP address
of the host adapter (e.g <I>) to the getRandomIPinSubnet function.
Passing the network address (e.g <I>) can result in bypassing the IP
clash check and having the same address assigned to both the ... | docker_machine | train | go |
14ad1021e77116c4e6bf617ac7eb749adcafb99b | diff --git a/spec/integration/issues/issue-1364-incorrect-worksheet-name-streaming-xlsx.spec.js b/spec/integration/issues/issue-1364-incorrect-worksheet-name-streaming-xlsx.spec.js
index <HASH>..<HASH> 100644
--- a/spec/integration/issues/issue-1364-incorrect-worksheet-name-streaming-xlsx.spec.js
+++ b/spec/integration... | Don't use async iteration for platform compatibility | exceljs_exceljs | train | js |
268a27a0a696ee4f6da3136f311e498050298fd9 | diff --git a/leaflet-providers.js b/leaflet-providers.js
index <HASH>..<HASH> 100644
--- a/leaflet-providers.js
+++ b/leaflet-providers.js
@@ -239,14 +239,16 @@
}
},
MapBox: {
- url: 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}{r}.png?access_token={accessToken}',
+ url: 'https://api.mapbox.com/styles... | Switch Mapbox to new static tiles api (#<I>) | leaflet-extras_leaflet-providers | train | js |
ed63efede8fb241e8cb6489c179c497b8a845519 | diff --git a/examples/hook/hook.go b/examples/hook/hook.go
index <HASH>..<HASH> 100644
--- a/examples/hook/hook.go
+++ b/examples/hook/hook.go
@@ -1,6 +1,9 @@
package main
-import "github.com/sirupsen/logrus"
+import (
+ "github.com/sirupsen/logrus"
+ airbrake "gopkg.in/gemnasium/logrus-airbrake-hook.v2"
+)
var l... | re-adding airbrake import | sirupsen_logrus | train | go |
e7dcb5bbb78dbcc7cc3e4638fa705bcf2a178a43 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -171,7 +171,7 @@ gulp.task('watch-bs', gulp.parallel('browser-sync', 'watch'));
// Run:
// gulp copy-assets.
-// Copy all needed dependency assets files from node_modules to theme's /js, /scss and /fonts folder... | Fix description
Taks copy-assets is called on postinstall (see package.json). | understrap_understrap | train | js |
c1ed068ae178b62f807bd888821c0758d1d2de37 | diff --git a/slither/tools/flattening/flattening.py b/slither/tools/flattening/flattening.py
index <HASH>..<HASH> 100644
--- a/slither/tools/flattening/flattening.py
+++ b/slither/tools/flattening/flattening.py
@@ -151,12 +151,8 @@ class Flattening:
if self._convert_library_to_internal and contract.is_library:... | Update slither/tools/flattening/flattening.py | crytic_slither | train | py |
beb277fd27acdc2bbd1b2cbfd74fbd96a5e017cb | diff --git a/SurveyorCore/src/main/java/org/wwarn/surveyor/client/util/AsyncCallbackWithTimeout.java b/SurveyorCore/src/main/java/org/wwarn/surveyor/client/util/AsyncCallbackWithTimeout.java
index <HASH>..<HASH> 100644
--- a/SurveyorCore/src/main/java/org/wwarn/surveyor/client/util/AsyncCallbackWithTimeout.java
+++ b/S... | Moving to a more aggressive time out, as people don't often wait 2 minutes, usually less than <I> seconds | WorldwideAntimalarialResistanceNetwork_WWARN-Maps-Surveyor | train | java |
997b1f0cc5714135587d8d57842016767271e79c | diff --git a/remix-tests/src/compiler.js b/remix-tests/src/compiler.js
index <HASH>..<HASH> 100644
--- a/remix-tests/src/compiler.js
+++ b/remix-tests/src/compiler.js
@@ -47,8 +47,9 @@ function compileFileOrFiles (filename, isDirectory, opts, cb) {
if (foundpath.split('.').pop() === 'sol') {
let c = fs.... | always append remix-tests:sol reference | ethereum_remix | train | js |
790977a7c96a428626cb379a2d76fcc55c482383 | diff --git a/router.go b/router.go
index <HASH>..<HASH> 100644
--- a/router.go
+++ b/router.go
@@ -40,12 +40,12 @@ type Router struct {
host string
hostrm *hostMatcher
- notFoundHandler http.Handler
- pool sync.Pool
+ pool sync.Pool
// Configuration
- logger *log.Logger
- server *http.Server
+ lo... | Added WithNotFoundHandler instead of NotFoundHandler method | celrenheit_lion | train | go |
d9e250a3505255c96a55218022f3db95ddd77258 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -3,7 +3,7 @@ var bodyParser = require('body-parser');
var request = require('request');
var app = express();
-app.use(bodyParser());
+app.use(bodyParser.urlencoded({ extended: false ));
exports.getRandomCNJoke = functio... | Fixed the issue with body parser. | Saurabh3333_give-me-a-joke | train | js |
ac5cc68e55ccf19640de44c4495839e5212c61d7 | diff --git a/plugins/providers/hyperv/cap/configure_disks.rb b/plugins/providers/hyperv/cap/configure_disks.rb
index <HASH>..<HASH> 100644
--- a/plugins/providers/hyperv/cap/configure_disks.rb
+++ b/plugins/providers/hyperv/cap/configure_disks.rb
@@ -57,6 +57,10 @@ module VagrantPlugins
# always come in po... | Obtain primary disk UUID to save for disk_meta file | hashicorp_vagrant | train | rb |
ae0e30196b04b3c2453ec5b6eae133feec220c4a | diff --git a/internal/graphicsdriver/metal/graphics.go b/internal/graphicsdriver/metal/graphics.go
index <HASH>..<HASH> 100644
--- a/internal/graphicsdriver/metal/graphics.go
+++ b/internal/graphicsdriver/metal/graphics.go
@@ -792,12 +792,13 @@ func (g *Graphics) draw(rps mtl.RenderPipelineState, dst *Image, dstRegion ... | internal/graphicsdriver/metal: Bug fix: The store action must always be 'store'
Closes #<I> | hajimehoshi_ebiten | train | go |
62cbdabdb0622b5531a6cf15b748042d298eb4a5 | diff --git a/django_sorting/templatetags/sorting_tags.py b/django_sorting/templatetags/sorting_tags.py
index <HASH>..<HASH> 100644
--- a/django_sorting/templatetags/sorting_tags.py
+++ b/django_sorting/templatetags/sorting_tags.py
@@ -19,7 +19,7 @@ def anchor(parser, token):
"""
Parses a tag that's supposed t... | Handle quoted strings (for multi-word titles) | directeur_django-sorting | train | py |
3e6adca945a6a476d6ead69cf3d55258a1788dd1 | diff --git a/course/modlib.php b/course/modlib.php
index <HASH>..<HASH> 100644
--- a/course/modlib.php
+++ b/course/modlib.php
@@ -179,6 +179,7 @@ function add_moduleinfo($moduleinfo, $course, $mform = null) {
*/
function edit_module_post_actions($moduleinfo, $course) {
global $CFG;
+ require_once($CFG->libd... | MDL-<I> added missing library requirement | moodle_moodle | train | php |
bbd61a58375a07d6b9166baca06a3cb4323c45a0 | diff --git a/manager/manager.go b/manager/manager.go
index <HASH>..<HASH> 100644
--- a/manager/manager.go
+++ b/manager/manager.go
@@ -76,12 +76,16 @@ func NewManager(sources []source_api.Source, sinkManager sinks.ExternalSinkManag
if useModel {
newCluster = model.NewCluster(tsConstructor, modelRes)
}
+ firstSyn... | Added aligning scraping range in addition to stats timestamps
Follow up #<I> | kubernetes-retired_heapster | train | go |
af31256a55b36a8576a6c8f4ea3ed39c97bdc2c8 | diff --git a/src/Illuminate/Validation/Validator.php b/src/Illuminate/Validation/Validator.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Validation/Validator.php
+++ b/src/Illuminate/Validation/Validator.php
@@ -1235,11 +1235,11 @@ class Validator implements ValidatorContract
*/
protected function val... | fix logic as per comment from @GrahamCampbell | laravel_framework | train | php |
42e7a1514561fdf3d7dffeb0f731dc7ea8200fdf | diff --git a/lib/roxml/xml.rb b/lib/roxml/xml.rb
index <HASH>..<HASH> 100644
--- a/lib/roxml/xml.rb
+++ b/lib/roxml/xml.rb
@@ -1,14 +1,16 @@
module ROXML
unless const_defined? 'XML_PARSER'
+ preferred_parsers = %w[nokogiri libxml]
+ parser = preferred_parsers.shift
begin
- require 'nokogiri'
- ... | Slightly more elegant parser selection | Empact_roxml | train | rb |
5e9b8e5bbb0d13f9333d851cc73b5539d34c719d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -2,11 +2,8 @@ var methods = require("methods")
, Promise = require("bluebird")
, supertest = require("supertest");
-// Alias both .del() and .delete() to supertest's .del()
+// Support SuperTest's historical `del` alia... | support `del` by passing through to upstream's alias
Closes #3. Closes #4. | arikon_q-supertest | train | js |
2c657fff07fdc3983898503decb2efa311bbf20b | diff --git a/angr/state_plugins/sim_action_object.py b/angr/state_plugins/sim_action_object.py
index <HASH>..<HASH> 100644
--- a/angr/state_plugins/sim_action_object.py
+++ b/angr/state_plugins/sim_action_object.py
@@ -119,8 +119,7 @@ class SimActionObject:
def _operator(cls, op_name):
def wrapper(self, *args, ... | Properly dispatch operators to the correct claripy class (#<I>) | angr_angr | train | py |
d43f7f99955b289a83eacedd85b74758fc77baad | diff --git a/classes/phing/tasks/system/PhingTask.php b/classes/phing/tasks/system/PhingTask.php
index <HASH>..<HASH> 100644
--- a/classes/phing/tasks/system/PhingTask.php
+++ b/classes/phing/tasks/system/PhingTask.php
@@ -159,7 +159,6 @@ class PhingTask extends Task {
$savedDir = $this->dir;
$savedPh... | Fixes #<I> - moved into correct function | phingofficial_phing | train | php |
74303779bdb25873a15260dea0e2fa98e50d79e8 | diff --git a/lib/ruby_scribe.rb b/lib/ruby_scribe.rb
index <HASH>..<HASH> 100644
--- a/lib/ruby_scribe.rb
+++ b/lib/ruby_scribe.rb
@@ -1,4 +1,5 @@
require "rubygems"
+require "bundler/setup"
require "ruby_parser"
require "ruby_scribe/sexp_helpers" | Added bundler/setup after require rubygems. | rubiety_ruby_scribe | train | rb |
aaef323b57163cc884729182b475af5038090835 | diff --git a/src/Coordinate.php b/src/Coordinate.php
index <HASH>..<HASH> 100644
--- a/src/Coordinate.php
+++ b/src/Coordinate.php
@@ -9,6 +9,7 @@ use Location\CardinalDirection\CardinalDirectionDistances;
use Location\CardinalDirection\CardinalDirectionDistancesCalculator;
use Location\Distance\DistanceInterface;
u... | adjust check as it's only useful against points and polygons | mjaschen_phpgeo | train | php |
5997f6c0b8bf728c32650986bb2402132f6603ca | diff --git a/src/Illuminate/Html/FormBuilder.php b/src/Illuminate/Html/FormBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Html/FormBuilder.php
+++ b/src/Illuminate/Html/FormBuilder.php
@@ -530,7 +530,10 @@ class FormBuilder {
// We will also check for a "route" or "action" parameter on the array so tha... | Pass non-named routes through Form::open()
You can now pass non-named routes alongside urls to Form::open with the 'url' parameter. The UrlGenerator will validate if it's a valid url and will otherwise try to generate an url if it's a route. | laravel_framework | train | php |
69803b1714f9f620a2e2f735b77fa355d710aebd | diff --git a/lib/roar-rails.rb b/lib/roar-rails.rb
index <HASH>..<HASH> 100644
--- a/lib/roar-rails.rb
+++ b/lib/roar-rails.rb
@@ -1,5 +1,9 @@
require "roar/rails/version"
+# Load frequently used files.
+require "roar/representer/json"
+require "roar/representer/feature/hypermedia"
+
module Roar
module Rails
... | opinionated loading of frequently used files. | apotonick_roar-rails | train | rb |
082f98714f0b6ea789b9b566576f5ab0516890b4 | diff --git a/vrpc/VrpcAgent.js b/vrpc/VrpcAgent.js
index <HASH>..<HASH> 100644
--- a/vrpc/VrpcAgent.js
+++ b/vrpc/VrpcAgent.js
@@ -7,11 +7,15 @@ class VrpcAgent {
constructor (
agentId,
{
+ username,
+ password,
topicPrefix = 'vrpc',
brokerUrl = 'mqtt://test.mosquitto.org',
l... | Added option for providing username and password | bheisen_vrpc | train | js |
b13b86c0adbd2ba7b8d9af510f4047c1340515fe | diff --git a/nats/aio/client.py b/nats/aio/client.py
index <HASH>..<HASH> 100644
--- a/nats/aio/client.py
+++ b/nats/aio/client.py
@@ -169,15 +169,15 @@ class Client():
# Cleanup subscriptions
self._subs.clear()
+ if self._io_writer is not None:
+ self._io_writer.close(... | Close writer before dispatching closed callbacks | nats-io_asyncio-nats | train | py |
334c00f2c08413dbab8b9da3eaa545406fe7b475 | diff --git a/test/transports.websocket.test.js b/test/transports.websocket.test.js
index <HASH>..<HASH> 100644
--- a/test/transports.websocket.test.js
+++ b/test/transports.websocket.test.js
@@ -398,6 +398,41 @@ module.exports = {
ws.finishClose();
});
});
+ },
+
+ 'test sending deliverable volat... | Finished last websocket test. | socketio_socket.io | train | js |
d656c1d80290028025b15000fe1eaa7a25d5b597 | diff --git a/testCafe/settings.js b/testCafe/settings.js
index <HASH>..<HASH> 100644
--- a/testCafe/settings.js
+++ b/testCafe/settings.js
@@ -2,8 +2,8 @@ import {Selector, ClientFunction} from 'testcafe';
export const frameworks = [
'knockout',
- // 'jquery',
- // 'react',
+ 'jquery',
... | unlocked jquery and react tests; | surveyjs_survey-library | train | js |
0b41658d6efa58b097f62f7006315f2639efd5a2 | diff --git a/malcolm/modules/ADPandABlocks/parts/kinematicssavupart.py b/malcolm/modules/ADPandABlocks/parts/kinematicssavupart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/ADPandABlocks/parts/kinematicssavupart.py
+++ b/malcolm/modules/ADPandABlocks/parts/kinematicssavupart.py
@@ -378,7 +378,7 @@ class Kinemat... | change dset name in vds | dls-controls_pymalcolm | train | py |
1f29c6713aa23a3fc8ce815c72e714f27cc41eb9 | diff --git a/backbone.js b/backbone.js
index <HASH>..<HASH> 100644
--- a/backbone.js
+++ b/backbone.js
@@ -1617,7 +1617,7 @@
this.options = _.extend({root: '/'}, this.options, options);
this.root = this.options.root;
this._wantsHashChange = this.options.hashChange !== false;
- ... | Add Modernizr style check for 'onhashchange' to avoid issues in IE compat modes. [closes #<I>] | jashkenas_backbone | train | js |
3de1da1ffca2ab5f24a8b7b7226005ef61ec94f1 | diff --git a/src/main/java/de/uniulm/omi/executionware/ClientController.java b/src/main/java/de/uniulm/omi/executionware/ClientController.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/uniulm/omi/executionware/ClientController.java
+++ b/src/main/java/de/uniulm/omi/executionware/ClientController.java
@@ -64,11... | PS-<I> #comment Switched POST and PUT in client controller | cloudiator_colosseum-client | train | java |
57b9416441a191f959da7c68be446bbfbb3185a4 | diff --git a/src/python/test/test_dx_bash_helpers.py b/src/python/test/test_dx_bash_helpers.py
index <HASH>..<HASH> 100755
--- a/src/python/test/test_dx_bash_helpers.py
+++ b/src/python/test/test_dx_bash_helpers.py
@@ -85,7 +85,7 @@ def build_app_with_bash_helpers(app_dir, project_id):
preamble = []
f... | Fix hardcoded installation path in test suite (fixup for <I>d<I>) | dnanexus_dx-toolkit | train | py |
4fc59f439391f7e9db8a17bbcd7908de62c9565b | diff --git a/lib/fog/aws/dynamodb.rb b/lib/fog/aws/dynamodb.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/aws/dynamodb.rb
+++ b/lib/fog/aws/dynamodb.rb
@@ -85,7 +85,7 @@ module Fog
@host = options[:host] || "dynamodb.#{@region}.amazonaws.com"
@path = options[:path] || '/'
... | [aws|dynamodb] fix port to match https default
closes #<I> | fog_fog | train | rb |
53f6a1995204a3ed0ebcf4fc428e1061cf05056d | diff --git a/main_test.go b/main_test.go
index <HASH>..<HASH> 100644
--- a/main_test.go
+++ b/main_test.go
@@ -1,8 +1,9 @@
package bongo
import (
- . "github.com/smartystreets/goconvey/convey"
"testing"
+
+ . "github.com/smartystreets/goconvey/convey"
)
// For test usage
@@ -21,6 +22,18 @@ func getConnection(... | Add test that throws out connection string error | go-bongo_bongo | train | go |
f066ab0af908de9a873e8a638b571b6ea11c04f0 | diff --git a/src/com/google/javascript/jscomp/parsing/parser/Parser.java b/src/com/google/javascript/jscomp/parsing/parser/Parser.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/parsing/parser/Parser.java
+++ b/src/com/google/javascript/jscomp/parsing/parser/Parser.java
@@ -1894,7 +1894,8 @@ pub... | Make sure the second part of a MemberExpressionTree is consumed before calculating the location of the node.
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
9f53f153a768d37d9c97856b78ddfb92652a2131 | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -257,10 +257,12 @@ autocompeter==1.2.3
body="Some tarball content\n",
)
with tmpfile() as filename:
- open(filename, 'w').write('')
+ with open(filename, 'w') as f:
+ ... | good hygene on file reads/writes | peterbe_peepin | train | py |
1b27ab275ab36b6ecc198c90a9dc2ed5e9e1442d | diff --git a/oedialect/engine.py b/oedialect/engine.py
index <HASH>..<HASH> 100644
--- a/oedialect/engine.py
+++ b/oedialect/engine.py
@@ -167,6 +167,9 @@ class OEConnection():
if query['request_type'] == 'delete':
sender = requests.delete
+ if 'info_cache' in query:
+ ... | engine.py: removed info_cache from query in post
See <URL> | OpenEnergyPlatform_oedialect | train | py |
803a87fd0e0db8053e44acf3f3af32e1a2f9cd44 | diff --git a/hot/only-dev-server.js b/hot/only-dev-server.js
index <HASH>..<HASH> 100644
--- a/hot/only-dev-server.js
+++ b/hot/only-dev-server.js
@@ -16,7 +16,7 @@ if(module.hot) {
return;
}
- module.hot.apply({
+ return module.hot.apply({
ignoreUnaccepted: true,
ignoreDeclined: true,
ign... | Add missing return
The module.hot.apply promise chain was not correctly merged into the module.hot.check() chain. | webpack_webpack | train | js |
ef038862533af5d3c9a88e8475e11f119c87a94f | diff --git a/rrrspec-server/lib/rrrspec/server/cli.rb b/rrrspec-server/lib/rrrspec/server/cli.rb
index <HASH>..<HASH> 100644
--- a/rrrspec-server/lib/rrrspec/server/cli.rb
+++ b/rrrspec-server/lib/rrrspec/server/cli.rb
@@ -85,6 +85,7 @@ module RRRSpec
end
end
+ method_option :'worker-type', type:... | Add worker_type command-line option | cookpad_rrrspec | train | rb |
b55cdc8b7d89f24924363453eff05b5a72f95f0f | diff --git a/Lib/fontParts/base/contour.py b/Lib/fontParts/base/contour.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/base/contour.py
+++ b/Lib/fontParts/base/contour.py
@@ -477,6 +477,8 @@ class BaseContour(
Subclasses may override this method.
"""
points = list(self.points)
+ if... | contour.segment can be empty (#<I>)
+ test | robotools_fontParts | train | py,py |
a3872c18c15341ff42e70f3e242e62dc72b2ffd5 | diff --git a/src/Gerrie/Gerrie.php b/src/Gerrie/Gerrie.php
index <HASH>..<HASH> 100644
--- a/src/Gerrie/Gerrie.php
+++ b/src/Gerrie/Gerrie.php
@@ -1032,7 +1032,7 @@ class Gerrie
'number' => $dependsOn['number'],
'revision' => $dependsOn['revision'],
'ref' =... | isCurrentPatchSet during dependsOn of a changeset can be an empty string | andygrunwald_Gerrie | train | php |
c2266ca686fa016df61c6e079f28d7ceaf3dc206 | diff --git a/src/core/widget/widget.js b/src/core/widget/widget.js
index <HASH>..<HASH> 100644
--- a/src/core/widget/widget.js
+++ b/src/core/widget/widget.js
@@ -740,7 +740,7 @@
}
- __remove ( event ) { //FIXME: This gets triggered twice, I don't know why
+ __remove ( event ) {
if ( !event || e... | Targeter#__targetRemove: passing along the remove event | svelto_svelto | train | js,js |
4c4e42c8538f6fc65ae8f331d0f9d880c9755d36 | diff --git a/cmd/fluxctl/check_release_cmd.go b/cmd/fluxctl/check_release_cmd.go
index <HASH>..<HASH> 100644
--- a/cmd/fluxctl/check_release_cmd.go
+++ b/cmd/fluxctl/check_release_cmd.go
@@ -34,7 +34,7 @@ func (opts *serviceCheckReleaseOpts) Command() *cobra.Command {
RunE: opts.RunE,
}
cmd.Flags().StringVarP(&o... | fluxctl check-release will not --follow by default | weaveworks_flux | train | go |
69e1472d92ce458130f6b571d1d2f3d91f6a52d6 | diff --git a/cities/management/commands/update_cities_geodata.py b/cities/management/commands/update_cities_geodata.py
index <HASH>..<HASH> 100644
--- a/cities/management/commands/update_cities_geodata.py
+++ b/cities/management/commands/update_cities_geodata.py
@@ -1,7 +1,7 @@
"""
GeoNames city data import script. R... | Updated filename. Fixes #7 | coderholic_django-cities | train | py |
8d0a391715cbcdf344e31550f1118c7957f9b7b2 | diff --git a/Controller/CampaignControllerOverride.php b/Controller/CampaignControllerOverride.php
index <HASH>..<HASH> 100644
--- a/Controller/CampaignControllerOverride.php
+++ b/Controller/CampaignControllerOverride.php
@@ -308,7 +308,7 @@ class CampaignControllerOverride extends CampaignController
... | [ENG-<I>] Remove call to template no longer present. | TheDMSGroup_mautic-campaign-watch | train | php |
9f59d715549b1ebfb7916636a7dd5500ca44c94a | diff --git a/jquery.smoothState.js b/jquery.smoothState.js
index <HASH>..<HASH> 100644
--- a/jquery.smoothState.js
+++ b/jquery.smoothState.js
@@ -423,14 +423,13 @@
*
*/
clickAnchor = function (event) {
- // stopPropagation so that event doesn't f... | clickAnchor() only stopPropogation if valid link
Running event.stopPropogation on all links was causing problems with other plugins (e.g. Bootstrap 3 Carousel direction links: <URL>; call into the shouldLoad condition resolves this. | miguel-perez_smoothState.js | train | js |
4ac5f90e92fb8c803a98189a91431f7a2e42c6a7 | diff --git a/activesupport/lib/active_support/core_ext/object/with_options.rb b/activesupport/lib/active_support/core_ext/object/with_options.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/core_ext/object/with_options.rb
+++ b/activesupport/lib/active_support/core_ext/object/with_options.rb
@@ -6... | Add documentation to use with_options in the same class [ci skip] | rails_rails | train | rb |
72c886c5e71ee74b7fd1c07c958f1194024aa53c | diff --git a/src/acdhOeaw/fedora/FedoraResource.php b/src/acdhOeaw/fedora/FedoraResource.php
index <HASH>..<HASH> 100644
--- a/src/acdhOeaw/fedora/FedoraResource.php
+++ b/src/acdhOeaw/fedora/FedoraResource.php
@@ -253,7 +253,7 @@ class FedoraResource {
}
if ($children) {
- foreach ($this... | Make use of the ACDH/Fedora children distinction and fix FedoraResource::getChildren() | acdh-oeaw_repo-php-util | train | php |
e437c921404feda87081b9fce7c0eca1d8c3c03d | diff --git a/Service/Context.php b/Service/Context.php
index <HASH>..<HASH> 100644
--- a/Service/Context.php
+++ b/Service/Context.php
@@ -59,7 +59,8 @@ class Context
$dbm = new \MW_DB_Manager_PDO( $config );
$context->setDatabaseManager( $dbm );
- $mail = new \MW_Mail_Swift( $this->container->get( 'mailer'... | Delay creating mail object for performance reasons | aimeos_aimeos-symfony | train | php |
34656004c121263056769215b91079a249b65048 | diff --git a/src/Phpoaipmh/Exception/OaipmhException.php b/src/Phpoaipmh/Exception/OaipmhException.php
index <HASH>..<HASH> 100644
--- a/src/Phpoaipmh/Exception/OaipmhException.php
+++ b/src/Phpoaipmh/Exception/OaipmhException.php
@@ -39,7 +39,8 @@ class OaipmhException extends BaseOaipmhException
public functio... | Improved output for OaiPmhException | caseyamcl_phpoaipmh | train | php |
27bfd374486ebfbbafb8c129cafd0408d293dacc | diff --git a/lib/search.js b/lib/search.js
index <HASH>..<HASH> 100644
--- a/lib/search.js
+++ b/lib/search.js
@@ -46,6 +46,7 @@ GnipSearch.prototype.start = function()
GnipSearch.prototype.end = function()
{
this.active = false;
+ this.emit( 'end' );
};
GnipSearch.prototype._step = function( next ) | End event emitted when .end called for Search | demian85_gnip | train | js |
f3359205aad0a743c85cb71bd87c6574f5d7d209 | diff --git a/src/main/java/com/networknt/schema/OneOfValidator.java b/src/main/java/com/networknt/schema/OneOfValidator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/networknt/schema/OneOfValidator.java
+++ b/src/main/java/com/networknt/schema/OneOfValidator.java
@@ -141,10 +141,10 @@ public class OneOfValid... | Fixes #<I> - OneOfValidator cannot validate object with multiple properties | networknt_json-schema-validator | train | java |
4e5c2ccc1d97f0c18834f616fc219be6b1531bde | diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -807,9 +807,7 @@ module ActiveRecord
end
def source_type_scope
- ... | Avoid lambda scopes when possible
Lambda scopes require a bunch more work. Ideally the `scope` list would
be a homogeneous collection. In this case, the reflection knows how to
construct the right reflection for this join, so lets just construct
that relation rather than instance execing to figure it out later. | rails_rails | train | rb |
f038ca44f4d7c6b08271e3d3dad66256ddb3377f | diff --git a/cordova-lib/src/hooks/HooksRunner.js b/cordova-lib/src/hooks/HooksRunner.js
index <HASH>..<HASH> 100644
--- a/cordova-lib/src/hooks/HooksRunner.js
+++ b/cordova-lib/src/hooks/HooksRunner.js
@@ -178,7 +178,9 @@ function runScriptViaModuleLoader(script, context) {
}
var scriptFn = require(script.fu... | CB-<I>: Pass plugin info to project *_plugin_install hooks
Before running runScriptViaModuleLoader context.opts.plugin already contains information on the plugin. Modified the function so that the field is only overridden if the script comes from a plugin. | apache_cordova-lib | train | js |
c356602d2642c3ddd6d5d29551b8fb4de54a021b | diff --git a/loguru/_handler.py b/loguru/_handler.py
index <HASH>..<HASH> 100644
--- a/loguru/_handler.py
+++ b/loguru/_handler.py
@@ -228,7 +228,7 @@ class Handler:
exception = {
"type": None if exception.type is None else exception.type.__name__,
"value": exception.value... | Use exceptions consistently instead of record['exception'] (#<I>) | Delgan_loguru | train | py |
e6d8042b25d02c7f4dd81ce339430c07155ebb4d | diff --git a/src/server/pkg/deploy/cmds/cmds.go b/src/server/pkg/deploy/cmds/cmds.go
index <HASH>..<HASH> 100644
--- a/src/server/pkg/deploy/cmds/cmds.go
+++ b/src/server/pkg/deploy/cmds/cmds.go
@@ -21,7 +21,7 @@ import (
"go.pedge.io/pkg/cobra"
)
-var defaultDashImage = "pachyderm/dash:0.3.22"
+var defaultDashIma... | Bump dash version to <I> | pachyderm_pachyderm | train | go |
badc868bafbae418eac2b6a41387ed1723c1d86d | diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -722,14 +722,18 @@ class Config(object):
filename = os.path.join(self._base_dir, exp_kconfig_file)
if not os.path.exists(filename):
- raise IOError... | Explain common 'source' gotcha in warning
$FOO in 'source "$FOO"' refers to a Kconfig symbol rather than an
environment variable. Seems there might be some tools derived from the
kernel Kconfig implementation that work differently here. | ulfalizer_Kconfiglib | train | py |
d7be9f28cb8b340bc3c988ac986353b3e5889bd6 | diff --git a/src/Validator.php b/src/Validator.php
index <HASH>..<HASH> 100644
--- a/src/Validator.php
+++ b/src/Validator.php
@@ -208,10 +208,7 @@ class Validator {
$this->evaluateResult(
($hasMax ? $length <= $max : true) &&
($hasMin ? $length >= $min : true),
- ... | Reducing method complexity for lenght validation | ntentan_utils | train | php |
02c0e89a589b75460dab5d5cc4600f7d77232ffb | diff --git a/bzip2/bwt.go b/bzip2/bwt.go
index <HASH>..<HASH> 100644
--- a/bzip2/bwt.go
+++ b/bzip2/bwt.go
@@ -79,8 +79,7 @@ func (bwt *burrowsWheelerTransform) Decode(buf []byte, ptr int) {
// Step 2: Compute the P permutation, where P[ptr] contains the index of the
// first byte and the index to the pointer to th... | bzip2: obtain the permutation value from the range operator | dsnet_compress | train | go |
bf3f4bd87243c80b42f059d8f19db438ee03af55 | diff --git a/src/Env.php b/src/Env.php
index <HASH>..<HASH> 100644
--- a/src/Env.php
+++ b/src/Env.php
@@ -38,8 +38,8 @@ class Env
{
if (self::$options & self::USE_ENV_ARRAY) {
$value = isset($_ENV[$name]) ? $_ENV[$name] : false;
- } elseif ((self::$options & self::LOCAL_FIRST) && ($va... | Updated LOCAL_FIRST logic | oscarotero_env | train | php |
1b8be039468b151658ec79ce0026a48b02256594 | diff --git a/src/Bugsnag/Error.php b/src/Bugsnag/Error.php
index <HASH>..<HASH> 100644
--- a/src/Bugsnag/Error.php
+++ b/src/Bugsnag/Error.php
@@ -76,6 +76,9 @@ class Bugsnag_Error {
$this->name = $name;
$this->message = $message;
$this->metaData = array();
+
+ // Merge custom metadata... | Merge custom metadata early (in the error constructor) | bugsnag_bugsnag-php | train | php |
f8ea1618e078100b438fc2c9e8375b8a9f4ecd52 | diff --git a/lib/Gitlab/Api/Projects.php b/lib/Gitlab/Api/Projects.php
index <HASH>..<HASH> 100644
--- a/lib/Gitlab/Api/Projects.php
+++ b/lib/Gitlab/Api/Projects.php
@@ -40,6 +40,7 @@ class Projects extends AbstractApi
}
/**
+ * Get projects owned by the current user
* @param int $page
* @p... | Fixes owned endpoint (#<I>) | m4tthumphrey_php-gitlab-api | train | php |
0a6ac5bea86e59979c444a219c7bb582e83e022d | diff --git a/src/MarkdownEditor.js b/src/MarkdownEditor.js
index <HASH>..<HASH> 100644
--- a/src/MarkdownEditor.js
+++ b/src/MarkdownEditor.js
@@ -171,8 +171,5 @@ MarkdownEditor.defaultProps = {
}
}
}
-module.exports = {
- MarkdownEditor: MarkdownEditor,
- MarkdownEditorMenu: MarkdownEditorMenu,
- M... | fix exports for MarkdownEditor | jrm2k6_react-markdown-editor | train | js |
dd21e710e1b4c3ee60b2bccb1c4322b740b95a62 | diff --git a/pkg/testutil/leak.go b/pkg/testutil/leak.go
index <HASH>..<HASH> 100644
--- a/pkg/testutil/leak.go
+++ b/pkg/testutil/leak.go
@@ -125,8 +125,8 @@ func interestingGoroutines() (gs []string) {
strings.Contains(stack, "created by testing.RunTests") ||
strings.Contains(stack, "testing.Main(") ||
st... | testutil: leak: fix path for go routine filter
add go.etcd.io/etcd/v3 to existing filters | etcd-io_etcd | train | go |
386a7e9577a074056ba42ab14aba4a164d8b443c | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -12,7 +12,8 @@ var options = {
headers: {
'Content-Type': 'text/html',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36',
- 'Accep... | Fixed app to use old layout when making requests | stephenpoole_op.gg-api | train | js |
1fbdc0d4a5e3dcd9383d8f5d5deb90510c5543b4 | diff --git a/src/Ouzo/Db/StatementExecutor.php b/src/Ouzo/Db/StatementExecutor.php
index <HASH>..<HASH> 100644
--- a/src/Ouzo/Db/StatementExecutor.php
+++ b/src/Ouzo/Db/StatementExecutor.php
@@ -83,7 +83,7 @@ class StatementExecutor
{
$obj = $this;
return $this->_execute(function () use ($obj, $f... | Fixed test (php <I>) | letsdrink_ouzo | train | php |
c7ecc0baef94130c356fc6dfceccaa5da85d2017 | diff --git a/src/Support/Migration.php b/src/Support/Migration.php
index <HASH>..<HASH> 100644
--- a/src/Support/Migration.php
+++ b/src/Support/Migration.php
@@ -29,7 +29,7 @@ abstract class Migration extends BaseMigration
*/
public function __construct()
{
- $this->connectionName = (Config::get... | Fixed issue with Migration always committing to default database.
Extended config notation was returning null in previous format. | lucadegasperi_oauth2-server-laravel | train | php |
e09246b4164e988d6a186c9b5207bbb19f59a33e | diff --git a/pmagpy/pmag.py b/pmagpy/pmag.py
index <HASH>..<HASH> 100755
--- a/pmagpy/pmag.py
+++ b/pmagpy/pmag.py
@@ -2126,7 +2126,7 @@ def magic_write(ofile, Recs, file_type, dataframe=False):
Parameters
_________
ofile : path to output file
- Recs : list of dictionaries in MagIC format
+ Recs : ... | modified: pmagpy/pmag.py | PmagPy_PmagPy | train | py |
e9259cf6c0ddaf1cb87572a1f728d3eea58970ba | diff --git a/lib/i18n_screwdriver/translation.rb b/lib/i18n_screwdriver/translation.rb
index <HASH>..<HASH> 100644
--- a/lib/i18n_screwdriver/translation.rb
+++ b/lib/i18n_screwdriver/translation.rb
@@ -1,5 +1,5 @@
module I18nScrewdriver
- class Translation < ActiveSupport::SafeBuffer
+ class Translation < String
... | Made Translation subclass of String instead of ActiveSupport::SafeBuffer. This fixes incompatibility with rails 4 and is also much safer in terms of XSS | agileapplications_i18n_screwdriver | train | rb |
a26ff56f01ef59450bf74b6fd180a35eedfbddae | diff --git a/configs/resource.go b/configs/resource.go
index <HASH>..<HASH> 100644
--- a/configs/resource.go
+++ b/configs/resource.go
@@ -63,7 +63,7 @@ func decodeResourceBlock(block *hcl.Block) (*ManagedResource, hcl.Diagnostics) {
Severity: hcl.DiagError,
Summary: "Invalid resource name",
Detail: badI... | configs: highlight resource name in diags when invalid
Previously we were erroneously highlighting the resource type name instead. | hashicorp_terraform | train | go |
7b97852a42ddb47d11a1ee275beddfe22cde8112 | diff --git a/tests/perf/org/jgroups/tests/perf/Test.java b/tests/perf/org/jgroups/tests/perf/Test.java
index <HASH>..<HASH> 100644
--- a/tests/perf/org/jgroups/tests/perf/Test.java
+++ b/tests/perf/org/jgroups/tests/perf/Test.java
@@ -437,10 +437,8 @@ public class Test implements Receiver {
double tmp;
... | fixed NPE (div by 0) | belaban_JGroups | train | java |
a1723d002b3262f0a115d14910f0eae92aea1e3a | diff --git a/lib/netsuite/records/customer_deposit.rb b/lib/netsuite/records/customer_deposit.rb
index <HASH>..<HASH> 100644
--- a/lib/netsuite/records/customer_deposit.rb
+++ b/lib/netsuite/records/customer_deposit.rb
@@ -13,7 +13,7 @@ module NetSuite
actions :get, :get_list, :initialize, :add, :delete, :update... | Adding tran_id to customer deposit
Finally! NetSuite added this in | NetSweet_netsuite | train | rb |
a8283ea99f2679f1610cad8eeac8e96fc20b8b7e | diff --git a/tests/test-contract.js b/tests/test-contract.js
index <HASH>..<HASH> 100644
--- a/tests/test-contract.js
+++ b/tests/test-contract.js
@@ -87,6 +87,8 @@ describe('Test Contract Objects', function() {
});
it('ABIv2 parameters and return types work', function() {
+ this.timeout(120000);
+
... | Add longer timeout for contract calling test cases. | ethers-io_ethers.js | train | js |
abad04864a379843a9fe66128c34a47bec0940a9 | diff --git a/eureka-core/src/main/java/com/netflix/eureka/aws/EIPManager.java b/eureka-core/src/main/java/com/netflix/eureka/aws/EIPManager.java
index <HASH>..<HASH> 100644
--- a/eureka-core/src/main/java/com/netflix/eureka/aws/EIPManager.java
+++ b/eureka-core/src/main/java/com/netflix/eureka/aws/EIPManager.java
@@ -2... | - log info instead of throwing exception when unbind eip for instance without eip bound | Netflix_eureka | train | java |
76e225d4838696ab8df5984696ee7ddfedbb7ef4 | diff --git a/src/convertFromHTML.js b/src/convertFromHTML.js
index <HASH>..<HASH> 100644
--- a/src/convertFromHTML.js
+++ b/src/convertFromHTML.js
@@ -387,14 +387,6 @@ function genFragment(
while (child) {
entityId = checkEntityNode(nodeName, child);
- if (!entityId) {
- // Link plugin handles this, b... | remove built-in link conversion from convertFromHTML | HubSpot_draft-convert | train | js |
5fbb340339ec5ff99575a76f975a7f549842b7c8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ with open('README.rst') as f:
extras_require = {
'voice': ['PyNaCl>=1.3.0,<1.5'],
'docs': [
- 'sphinx==1.8.5',
+ 'sphinx==2.4.4',
'sphinxcontrib_trio==1.1.1',
'sphinxco... | Bump Sphinx to <I> | Rapptz_discord.py | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.