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 |
|---|---|---|---|---|---|
e1d0a26b86c18870389afd7704744584d9604f7c | diff --git a/geomdl/construct.py b/geomdl/construct.py
index <HASH>..<HASH> 100644
--- a/geomdl/construct.py
+++ b/geomdl/construct.py
@@ -20,7 +20,7 @@ def construct_surface(*args, **kwargs):
:rtype: NURBS.Surface
"""
# Get keyword arguments
- degree_v = kwargs.get('degree_v', 2)
+ degree_v = kwar... | Rename keyword argument for surface and volume constructors | orbingol_NURBS-Python | train | py |
2603e0984c6bcc1475a164b000f1057110553433 | diff --git a/state/tracker_test.go b/state/tracker_test.go
index <HASH>..<HASH> 100644
--- a/state/tracker_test.go
+++ b/state/tracker_test.go
@@ -357,3 +357,31 @@ func TestSTIsOn(t *testing.T) {
}
m.CheckNothingWritten(t)
}
+
+func TestSTAssociate(t *testing.T) {
+ l, m := logging.NewMock()
+ l.SetLogLevel(loggin... | Test nick <-> channel association. | fluffle_goirc | train | go |
3fa89c32e1b454d8ffe199a637d1e12b85d46f56 | diff --git a/NavigationReactNative/sample/web/Motion.js b/NavigationReactNative/sample/web/Motion.js
index <HASH>..<HASH> 100644
--- a/NavigationReactNative/sample/web/Motion.js
+++ b/NavigationReactNative/sample/web/Motion.js
@@ -28,7 +28,7 @@ class Motion extends React.Component {
.map(item => {
... | Reset rest if target changed
The left items were instantly removed because rest was set to true | grahammendick_navigation | train | js |
73378a50d39b23f6889a38d1c6956bd66eb9baec | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -82,7 +82,9 @@ describe('pathCompleteExtname', function () {
// ---
- it('should retrieve simple file extensions', function () {
+ it('should retrieve file extensions with two dots', function () {
+ assert.equal(pathCo... | Added tests for file extensions with two dots | ruyadorno_path-complete-extname | train | js |
61837e4f47c045a135f8f084ffbdbb78813e99e7 | diff --git a/salt/modules/defaults.py b/salt/modules/defaults.py
index <HASH>..<HASH> 100644
--- a/salt/modules/defaults.py
+++ b/salt/modules/defaults.py
@@ -118,7 +118,7 @@ def get(key, default=''):
defaults = _load(pillar_name, defaults_path)
- value = __salt__['pillar.get']("%s:%s" % (pillar_name, key),... | Using .format to build the pillar key as requested | saltstack_salt | train | py |
66f22627347b2e1cffbb66f4ec448f2ed0cacfe9 | diff --git a/src/Response.php b/src/Response.php
index <HASH>..<HASH> 100644
--- a/src/Response.php
+++ b/src/Response.php
@@ -45,7 +45,7 @@ class Response
*
* @var int
*/
- public $status = HttpResponse::HTTP_OK;
+ public $status;
/**
* If should enable zlib compression when approp... | Update Response
$status does not have a default value,
but has as fallback if unset on output() | aryelgois_medools-router | train | php |
717f00a2bcbef8348bc3e48a787f00553c3d5b67 | diff --git a/Library/ArgInfoDefinition.php b/Library/ArgInfoDefinition.php
index <HASH>..<HASH> 100644
--- a/Library/ArgInfoDefinition.php
+++ b/Library/ArgInfoDefinition.php
@@ -1,7 +1,5 @@
<?php
-declare(strict_types=1);
-
/**
* This file is part of the Zephir.
*
@@ -11,11 +9,10 @@ declare(strict_types=1);
... | #<I> - Minor code refactor | phalcon_zephir | train | php |
8bb395b1fdbbac8712acbee6ea4de79e67bfbefb | diff --git a/src/Arrays/Iterator.php b/src/Arrays/Iterator.php
index <HASH>..<HASH> 100644
--- a/src/Arrays/Iterator.php
+++ b/src/Arrays/Iterator.php
@@ -80,8 +80,8 @@ class Iterator extends RecursiveArrayIterator
*/
public function getChildren()
{
- if ($this->hasChildren()) return $this->current();
-
+ if (... | The getChildren method should really return another iterator. | phpgearbox_arrays | train | php |
6003e827540f3e7324dcf8326770dd7cb95a8e28 | diff --git a/scripts/get-latest-platform-tests.js b/scripts/get-latest-platform-tests.js
index <HASH>..<HASH> 100644
--- a/scripts/get-latest-platform-tests.js
+++ b/scripts/get-latest-platform-tests.js
@@ -1,5 +1,9 @@
"use strict";
+if (process.env.NO_UPDATE) {
+ process.exit(0);
+}
+
const path = require("path")... | Provide an env variable to disable update of test script | jsdom_whatwg-url | train | js |
ead538ea1b5a11c979d8632276b05a36859dbd76 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -35,11 +35,11 @@ describe('when only headers was sent', function () {
before(function (done) {
server = http.createServer(function (request, res) {
+ res.writeHead(200, {'content-type':'text/plain'});
+ res.write('waite... | Fixed tests on <I> and iojs | floatdrop_timed-out | train | js |
ebcd1787db42ed2376bea5aebc8e0a418dffdab3 | diff --git a/agent/config/builder.go b/agent/config/builder.go
index <HASH>..<HASH> 100644
--- a/agent/config/builder.go
+++ b/agent/config/builder.go
@@ -387,7 +387,7 @@ func (b *Builder) Build() (rt RuntimeConfig, err error) {
return RuntimeConfig{}, fmt.Errorf("No %s address found", addrtyp)
}
if len(adver... | Adds more info about how to fix the private IP error.
Closes #<I> | hashicorp_consul | train | go |
5c54cb723ddba8a71a8156182a0187302ea46669 | diff --git a/classes/Flatfile/Core.php b/classes/Flatfile/Core.php
index <HASH>..<HASH> 100644
--- a/classes/Flatfile/Core.php
+++ b/classes/Flatfile/Core.php
@@ -325,19 +325,20 @@ class Flatfile_Core {
// Match on property, terms and other stuffs
// TODO
+ // Natural sort ordering
+ natsort($this->_files);
+... | Enable sorting for a sinlge entry also | ziopod_Flatfile | train | php |
abc7e86aa8e3ff5a791a871e5bfac2137e141cf1 | diff --git a/spec/lock_jar/maven_spec.rb b/spec/lock_jar/maven_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lock_jar/maven_spec.rb
+++ b/spec/lock_jar/maven_spec.rb
@@ -4,6 +4,11 @@ require 'lib/lock_jar/maven'
require 'naether'
describe LockJar::Maven do
+ before do
+ # Bootstrap Naether
+ Naether::Bootst... | ensure naether is bootstrapped for the tests | mguymon_lock_jar | train | rb |
3ee7e6bbcb0a52ccc36a31dd3bae7f140fd37fde | diff --git a/lib/ts_routes/version.rb b/lib/ts_routes/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ts_routes/version.rb
+++ b/lib/ts_routes/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module TsRoutes
- VERSION = "1.0.2"
+ VERSION = "1.0.3"
end | Bump up version to <I> | bitjourney_ts_routes-rails | train | rb |
0c0d938d48c1fe150f4514491e89d1baabbb2244 | diff --git a/sprd/util/ProductUtil.js b/sprd/util/ProductUtil.js
index <HASH>..<HASH> 100644
--- a/sprd/util/ProductUtil.js
+++ b/sprd/util/ProductUtil.js
@@ -18,7 +18,13 @@ define(["underscore", "sprd/util/ArrayUtil", "js/core/List", "sprd/model/Product
},
getPossiblePrintTypesForDesignOnProduct: f... | fixed exception, if view doesn't have a print area | spreadshirt_rAppid.js-sprd | train | js |
87de6d7beec0d51cb97c0e7d7fcc656e844218ca | diff --git a/dev/idangerous.swiper.js b/dev/idangerous.swiper.js
index <HASH>..<HASH> 100644
--- a/dev/idangerous.swiper.js
+++ b/dev/idangerous.swiper.js
@@ -1107,7 +1107,8 @@ var Swiper = function (selector, params) {
if(!isTouchEvent) {
// Added check for input element since we are ge... | Firefox can't handle event.srcElement, added fallback to event.target | nolimits4web_swiper | train | js |
1c6f544a11f989f16a44d94ade38651d852b8653 | diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/io/test_parquet.py
+++ b/pandas/tests/io/test_parquet.py
@@ -671,6 +671,17 @@ class TestParquetPyArrow(Base):
df = pd.DataFrame({"a": pd.date_range("2017-01-01", freq="1n", periods=10)}... | TST: ensure read_parquet filter argument is correctly passed though (pyarrow engine) (#<I>) | pandas-dev_pandas | train | py |
6745aa5a3c395db4aaea5944cf6c6ea1e03b5858 | diff --git a/commons/src/main/java/com/stratio/streaming/commons/kafka/service/TopicService.java b/commons/src/main/java/com/stratio/streaming/commons/kafka/service/TopicService.java
index <HASH>..<HASH> 100644
--- a/commons/src/main/java/com/stratio/streaming/commons/kafka/service/TopicService.java
+++ b/commons/src/m... | added new nethods to IStratioStreamingApi trait: withServerConfig, init, and close. | Stratio_Decision | train | java |
329fb1bf2ae365a8f84a9adada2100073805084e | diff --git a/lib/media-stream.js b/lib/media-stream.js
index <HASH>..<HASH> 100644
--- a/lib/media-stream.js
+++ b/lib/media-stream.js
@@ -14,6 +14,8 @@ function MediaStream (media, opts) {
if (!(self instanceof MediaStream)) return new MediaStream(media, opts)
stream.Writable.call(self, opts)
+ if (!MediaSour... | detect browsers that lack MediaSource support | webtorrent_webtorrent | train | js |
be103b0ec8e4659d423a122cc01aa21e852b3257 | diff --git a/lxd/db/instances.go b/lxd/db/instances.go
index <HASH>..<HASH> 100644
--- a/lxd/db/instances.go
+++ b/lxd/db/instances.go
@@ -98,7 +98,7 @@ type Instance struct {
ExpiryDate time.Time
}
-// InstanceFilter can be used to filter results yielded by InstanceList.
+// InstanceFilter specifies potential q... | lxd/db/instances: use Filter as parameter for delete | lxc_lxd | train | go |
c5e5d0bff699795fd0462d00a31cd6920172659e | diff --git a/inc/class-filters.php b/inc/class-filters.php
index <HASH>..<HASH> 100644
--- a/inc/class-filters.php
+++ b/inc/class-filters.php
@@ -81,6 +81,9 @@ class CareLib_Filters {
// Default excerpt more.
add_filter( 'excerpt_more', array( $this, 'excerpt_more' ), 5 );
+ // Add an itemprop of "image" to W... | Filter attachment image to include an image item prop
This could maybe go in attributes.php but since it’s filtering a
default WP function it probably should go here… I think? | cipherdevgroup_carelib | train | php |
85369e3a315697be7e167f303d44f6b69d46c8ee | diff --git a/torchvision/models/inception.py b/torchvision/models/inception.py
index <HASH>..<HASH> 100644
--- a/torchvision/models/inception.py
+++ b/torchvision/models/inception.py
@@ -70,10 +70,10 @@ class Inception3(nn.Module):
def forward(self, x):
if self.transform_input:
- x = x.clone(... | Fix inception v3 input transform for trace & onnx (#<I>)
* Fix inception v3 input transform for trace & onnx
* Input transform are in-place updates, which produce issues for tracing
and exporting to onnx.
* nit | pytorch_vision | train | py |
d5adbf6531733705c983e4c759c8c1be000825e3 | diff --git a/dev/tools/build-docs.js b/dev/tools/build-docs.js
index <HASH>..<HASH> 100644
--- a/dev/tools/build-docs.js
+++ b/dev/tools/build-docs.js
@@ -93,7 +93,7 @@ var apiClasses2 = [
{tag:"objectid", path:"./node_modules/bson/lib/bson/objectid.js"},
{tag:"binary", path:"./node_modules/bson/lib/bson/bina... | Fixed docs generator to include Code | mongodb_node-mongodb-native | train | js |
67ff2b8b254974446bbb11b6b195c2dbfb4cbdc8 | diff --git a/py/selenium/webdriver/remote/remote_connection.py b/py/selenium/webdriver/remote/remote_connection.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/remote_connection.py
+++ b/py/selenium/webdriver/remote/remote_connection.py
@@ -424,11 +424,11 @@ class RemoteConnection(object):
... | if remote end returns a <I> level response status code, for python3 we need to decode the string so it doesn't fail later on when creating the exception to raise
Fixes Issue #<I> | SeleniumHQ_selenium | train | py |
b0f2eee597a56aa8e58c7349fd941c5a24fe5256 | diff --git a/src/js/core/icon.js b/src/js/core/icon.js
index <HASH>..<HASH> 100644
--- a/src/js/core/icon.js
+++ b/src/js/core/icon.js
@@ -48,7 +48,9 @@ const Icon = {
props: ['icon'],
- data: {include: []},
+ data: {
+ include: ['focusable']
+ },
isIcon: true,
diff --git a/src/js/core... | fix(icon): make SVG icons non-focusable in IE | uikit_uikit | train | js,js |
ee9a20ca7cdb4e4db234a54e67d82f79c223e602 | diff --git a/indra/tools/model_checker.py b/indra/tools/model_checker.py
index <HASH>..<HASH> 100644
--- a/indra/tools/model_checker.py
+++ b/indra/tools/model_checker.py
@@ -400,7 +400,7 @@ def _find_sources_with_paths(im, target, sources, polarity):
yield path
for predecessor, sign in _get_signe... | Paths should contain strings, not nodes | sorgerlab_indra | train | py |
1de8dda10a6711130929b752f95a133959e8f116 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ setup(
name='django-tinycontent',
version=tinycontent.__version__,
description="A Django app for managing re-usable blocks of tiny content.",
- long_description=open('README.md').read(),
+ lon... | Oops - switched to RST file | dominicrodger_django-tinycontent | train | py |
eadb981a4e7074672095a41481d052661466d720 | diff --git a/lib/functions.js b/lib/functions.js
index <HASH>..<HASH> 100644
--- a/lib/functions.js
+++ b/lib/functions.js
@@ -25,7 +25,7 @@ internals.pick = function () {
internals.include = function (o) {
if (!o || !(o instanceof Object))
throw new Error('Pick must have params (arguments)');
- return _.merg... | [hotfix] change include function to don't permanently change _joi object | mibrito_joi-sequelize | train | js |
edf9f7c4d9a95d0368c61d9a610e3af5e992f299 | diff --git a/src/jobTree/test/batchSystems/abstractBatchSystemTest.py b/src/jobTree/test/batchSystems/abstractBatchSystemTest.py
index <HASH>..<HASH> 100644
--- a/src/jobTree/test/batchSystems/abstractBatchSystemTest.py
+++ b/src/jobTree/test/batchSystems/abstractBatchSystemTest.py
@@ -158,6 +158,8 @@ class hidden:
... | Added batchSystem.shutdown to teardown() method which neatly joins all threads at the culmination of each test. Changed naming convention in mesos: shutDown() -> shutdown() | DataBiosphere_toil | train | py |
2fd01f127881a9e9ca1e6208fad71a5c8ba05c6e | diff --git a/models/rpc.go b/models/rpc.go
index <HASH>..<HASH> 100644
--- a/models/rpc.go
+++ b/models/rpc.go
@@ -71,6 +71,10 @@ func SetupServer(lobbyId uint, info ServerRecord, lobbyType LobbyType, league st
}
func VerifyInfo(info ServerRecord) error {
+ if config.Constants.ServerMockUp {
+ return nil
+ }
+
r... | Don't call Pauling if ServerMockUp is true. | TF2Stadium_Helen | train | go |
a7935da1fdfbfab9c4dd8941ec557a5a5e5a58b1 | diff --git a/lib/stack_master/commands/apply.rb b/lib/stack_master/commands/apply.rb
index <HASH>..<HASH> 100644
--- a/lib/stack_master/commands/apply.rb
+++ b/lib/stack_master/commands/apply.rb
@@ -6,8 +6,8 @@ module StackMaster
def initialize(config, region, stack_name)
@config = config
- @re... | Ensure we replace underscores with hyphens | envato_stack_master | train | rb,rb |
2590cd64348893478a1bfa89e56fcc34ec81d2eb | diff --git a/list.go b/list.go
index <HASH>..<HASH> 100644
--- a/list.go
+++ b/list.go
@@ -85,6 +85,19 @@ func (l *List) GetCurrentItem() int {
return l.currentItem
}
+// RemoveItem removes the item with the given index (starting at 0) from the
+// list. Does nothing if the index is out of range.
+func (l *List) R... | Added RemoveItem() function to List. Resolves #<I> | rivo_tview | train | go |
68224655233a59ed899ff6627b9a0bdc18cf4044 | diff --git a/commons/src/main/java/org/axway/grapes/commons/datamodel/ArtifactQuery.java b/commons/src/main/java/org/axway/grapes/commons/datamodel/ArtifactQuery.java
index <HASH>..<HASH> 100644
--- a/commons/src/main/java/org/axway/grapes/commons/datamodel/ArtifactQuery.java
+++ b/commons/src/main/java/org/axway/grape... | ECDDEV-<I> Updating the model class | Axway_Grapes | train | java |
3355c1528dc17476a091873ea95a3b5565455069 | diff --git a/builtin/providers/aws/import_aws_elb_test.go b/builtin/providers/aws/import_aws_elb_test.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/import_aws_elb_test.go
+++ b/builtin/providers/aws/import_aws_elb_test.go
@@ -7,7 +7,7 @@ import (
)
func TestAccAWSELB_importBasic(t *testing.T) {
- resou... | provider/aws: Fix typo in ELB import test (#<I>) | hashicorp_terraform | train | go |
922ca45a600f25dfe683d98180649242be0ef0e6 | diff --git a/src/main/java/org/browsermob/core/har/HarLog.java b/src/main/java/org/browsermob/core/har/HarLog.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/browsermob/core/har/HarLog.java
+++ b/src/main/java/org/browsermob/core/har/HarLog.java
@@ -7,7 +7,7 @@ import java.util.concurrent.CopyOnWriteArrayList;... | Fixes issue #<I>: the version of the HAR spec we're using is indeed <I> :) | webmetrics_browsermob-proxy | train | java |
9b9dad3ccef535bf8ac37ca005accbdceb0aba82 | diff --git a/src/Testing/FactoryBuilder.php b/src/Testing/FactoryBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Testing/FactoryBuilder.php
+++ b/src/Testing/FactoryBuilder.php
@@ -140,7 +140,7 @@ class FactoryBuilder
protected function makeInstance(array $attributes = [])
{
if (!isset($this->defin... | Include class name inside factory not found error (#<I>)
Mimics Laravel's original way of doing it and helps find what needs to be implemented. | laravel-doctrine_orm | train | php |
dcf734ab51e05495c08e3e4d30cdf8a38efd4000 | diff --git a/src/transports/websocket.js b/src/transports/websocket.js
index <HASH>..<HASH> 100644
--- a/src/transports/websocket.js
+++ b/src/transports/websocket.js
@@ -28,6 +28,8 @@ module.exports = class Connection extends EventEmitter {
this.debugOut('writeLine() socket=' + (this.socket ? 'yes' : 'no') + ... | Fire write callback in websocket when not connect | kiwiirc_irc-framework | train | js |
419f6a7d88825acbcce3a891ebaf1ced963e02e8 | diff --git a/src/Models/UserModel.php b/src/Models/UserModel.php
index <HASH>..<HASH> 100644
--- a/src/Models/UserModel.php
+++ b/src/Models/UserModel.php
@@ -375,12 +375,4 @@ class UserModel extends AbstractModel
return $this->client->put(self::$endpoint . '/' . $userId . '/status', $requestOptions);
}
... | Get users statuses by Id does not exist. Waiting for upstream fix : mattermost.atlassian.net/browse/PLT-<I> | gnello_php-mattermost-driver | train | php |
b1c76ea5a0e1b61dd148df850f56867fe7aebd77 | diff --git a/code/CMSMenu.php b/code/CMSMenu.php
index <HASH>..<HASH> 100644
--- a/code/CMSMenu.php
+++ b/code/CMSMenu.php
@@ -431,7 +431,7 @@ class CMSMenu extends Object implements IteratorAggregate, i18nEntityProvider
$ownerModule = ClassLoader::instance()->getManifest()->getOwnerModule($cmsClass);
... | Update usage of getOwnerModule() | silverstripe_silverstripe-admin | train | php |
238b671c59e285c80f7ca26614b611a5af066a57 | diff --git a/src/Api/Tree/Get.php b/src/Api/Tree/Get.php
index <HASH>..<HASH> 100644
--- a/src/Api/Tree/Get.php
+++ b/src/Api/Tree/Get.php
@@ -184,7 +184,8 @@ class Get
}
/* root customer */
- if (is_null($rootCustId)) {
+ $isLiveMode = !$this->hlpCfg->getApiAuthenticationEnabledDevMod... | MOBI-<I> - DCP API: force authorization in production mode | praxigento_mobi_mod_downline | train | php |
664adde0811d7ac9002a842c2efcbb90c117c78a | diff --git a/lib/collectionspace/client/version.rb b/lib/collectionspace/client/version.rb
index <HASH>..<HASH> 100644
--- a/lib/collectionspace/client/version.rb
+++ b/lib/collectionspace/client/version.rb
@@ -2,6 +2,6 @@
module CollectionSpace
class Client
- VERSION = '0.13.4'
+ VERSION = '0.14.0'
end
... | Bump collectionspace-client to <I> | lyrasis_collectionspace-client | train | rb |
6c9529fab26e7afe10a14851bca6f8eeb7a0eac3 | diff --git a/holoviews/core/ndmapping.py b/holoviews/core/ndmapping.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/ndmapping.py
+++ b/holoviews/core/ndmapping.py
@@ -2,7 +2,7 @@
Supplies MultiDimensionalMapping and NdMapping which are multi-dimensional
map types. The former class only allows indexing whereas the... | Fixed bug in initializing NdMapping types with initial ordering | pyviz_holoviews | train | py |
cb674fb1cb5d861582baa89b230e6e31dab11be3 | diff --git a/salt/states/pkgrepo.py b/salt/states/pkgrepo.py
index <HASH>..<HASH> 100644
--- a/salt/states/pkgrepo.py
+++ b/salt/states/pkgrepo.py
@@ -343,7 +343,7 @@ def managed(name, ppa=None, **kwargs):
if disabled is not None \
else salt.utils.is_true(enabled)
- elif __grains__['os_fa... | Enable opkg as pkgrepo handler on Poky | saltstack_salt | train | py |
301913fbe4c3a06ac57f76ff90c49f766d5a32c7 | diff --git a/src/util/uniques.js b/src/util/uniques.js
index <HASH>..<HASH> 100644
--- a/src/util/uniques.js
+++ b/src/util/uniques.js
@@ -11,7 +11,7 @@ d3plus.util.uniques = function( data , value ) {
, nest = d3.nest()
.key(function(d) {
- if (typeof value === "string") {
+ if (d && ... | fixed bug with util.uniques when trying to get a value from undefined | alexandersimoes_d3plus | train | js |
fbbce577bf90044fc650245642dda83083269198 | diff --git a/src/main/java/nl/hsac/fitnesse/fixture/slim/HttpTest.java b/src/main/java/nl/hsac/fitnesse/fixture/slim/HttpTest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/hsac/fitnesse/fixture/slim/HttpTest.java
+++ b/src/main/java/nl/hsac/fitnesse/fixture/slim/HttpTest.java
@@ -105,7 +105,7 @@ public class ... | Fix comment, this class is not always for XML | fhoeben_hsac-fitnesse-fixtures | train | java |
13b31d6f9dbc86b800b9c9db256a3af5bd496b4e | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -2975,6 +2975,9 @@ function delete_user($user) {
// now do a final accesslib cleanup - removes all role assingments in user context and context itself
delete_context(CONTEXT_USER, ... | MDL-<I> - Remove linked tags when deleting users. (merge from <I>) | moodle_moodle | train | php |
bab6abf0ee583d490c616917aef30b0905ae3f6a | diff --git a/src/main/java/org/softee/management/samples/MessageProcesingApplication.java b/src/main/java/org/softee/management/samples/MessageProcesingApplication.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/softee/management/samples/MessageProcesingApplication.java
+++ b/src/main/java/org/softee/managemen... | Made the code marginally more Java SE 5 kosher | javabits_pojo-mbean | train | java |
7665fa7e8943c14d917b517c18d494a6e1e5ac6f | diff --git a/src/main/java/com/googlecode/lanterna/gui2/dialogs/TextInputDialog.java b/src/main/java/com/googlecode/lanterna/gui2/dialogs/TextInputDialog.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/gui2/dialogs/TextInputDialog.java
+++ b/src/main/java/com/googlecode/lanterna/gui2/dialog... | Add a bit more space even if there's no description | mabe02_lanterna | train | java |
7047c51018fb4a6c64a5ceb1a79cd84761733444 | diff --git a/Lib/SmsHandler/PsWinComPost.php b/Lib/SmsHandler/PsWinComPost.php
index <HASH>..<HASH> 100644
--- a/Lib/SmsHandler/PsWinComPost.php
+++ b/Lib/SmsHandler/PsWinComPost.php
@@ -74,6 +74,11 @@ EOMSG;
// Make it one.
if (!is_array($receivers))
$receivers = array($receivers);
+
+ ... | Make the popst method a bit more character-safe. (It was crap, now tested with norwegian æøå and handling their default latin1) | thomasez_BisonLabSakonninBundle | train | php |
f95b9ec5211351e648ebb2b22fa28631d1838680 | diff --git a/lib/rory/request_parameter_logger.rb b/lib/rory/request_parameter_logger.rb
index <HASH>..<HASH> 100644
--- a/lib/rory/request_parameter_logger.rb
+++ b/lib/rory/request_parameter_logger.rb
@@ -3,7 +3,7 @@ require_relative 'parameter_filter'
module Rory
class RequestParameterLogger
- def initializ... | Removes some default fields to filter on | screamingmuse_rory | train | rb |
37fe48928e4d4b254791eb8034c20baabe06a483 | diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb
index <HASH>..<HASH> 100644
--- a/lib/action_cable/channel/base.rb
+++ b/lib/action_cable/channel/base.rb
@@ -76,7 +76,7 @@ module ActionCable
# class ChatChannel < ApplicationCable::Channel
# def subscribed
# @r... | Rename Subscription#reject! to Subscription#reject as there's only one version of the method | rails_rails | train | rb,rb |
c9faaeb8430283b32dd2b5e2359c270875695390 | diff --git a/selector.go b/selector.go
index <HASH>..<HASH> 100644
--- a/selector.go
+++ b/selector.go
@@ -466,10 +466,13 @@ func siblingSelector(s1, s2 Selector, adjacent bool) Selector {
}
if adjacent {
- if n.PrevSibling == nil {
- return false
+ for n = n.PrevSibling; n != nil; n = n.PrevSibling {
+ ... | fix: adjacent sibling selector should ignore text node and comment node | andybalholm_cascadia | train | go,go |
dbe8dae4e6116bba43284b6787e89b624b8e6bb0 | diff --git a/src/Structure/Structure.php b/src/Structure/Structure.php
index <HASH>..<HASH> 100644
--- a/src/Structure/Structure.php
+++ b/src/Structure/Structure.php
@@ -117,7 +117,7 @@ abstract class Structure {
public static function ArrayS($format = null, $data = null, $countStrict = true, $null = false) {
... | Corrected unwanted "= null" | 3nr1c_structure | train | php |
9f7e418e505b463c16e8b52597dbafc7e6e8be2f | diff --git a/local_settings/settings.py b/local_settings/settings.py
index <HASH>..<HASH> 100644
--- a/local_settings/settings.py
+++ b/local_settings/settings.py
@@ -60,11 +60,9 @@ class Settings(dict):
"""
def __init__(self, *args, **kwargs):
+ # Call our update() instead of super().__init__() so t... | Simplify Settings constructor
It was doing a bunch of redundant stuff. | PSU-OIT-ARC_django-local-settings | train | py |
db64f2f0eccba09310d6a875a51996703dd7037f | diff --git a/doc/mongo_extensions.py b/doc/mongo_extensions.py
index <HASH>..<HASH> 100644
--- a/doc/mongo_extensions.py
+++ b/doc/mongo_extensions.py
@@ -29,7 +29,7 @@ class mongoref(nodes.reference):
def visit_mongodoc_node(self, node):
- self.visit_admonition(node, "seealso")
+ self.visit_admonition(node)... | Fix error when building docs. | mongodb_motor | train | py |
d03d2ae47eb05c0f79c12db13fc572d21ebb202c | diff --git a/optoanalysis/setup.py b/optoanalysis/setup.py
index <HASH>..<HASH> 100644
--- a/optoanalysis/setup.py
+++ b/optoanalysis/setup.py
@@ -15,7 +15,7 @@ with open(os.path.join(mypackage_root_dir, 'optoanalysis/VERSION')) as version_f
version = version_file.read().strip()
extensions = [Extension(
- na... | added working solution, had to change name in extension so that it builds the shared object file and puts it in the root package directory when installed | AshleySetter_optoanalysis | train | py |
34fa8757f11463dbbeef7caf6f344294f50c0ac5 | diff --git a/jquery.popupoverlay.js b/jquery.popupoverlay.js
index <HASH>..<HASH> 100644
--- a/jquery.popupoverlay.js
+++ b/jquery.popupoverlay.js
@@ -513,9 +513,13 @@
}
}
- // Re-enable scrolling of background layer
+ // Re-enabl... | Properly support nested "scrolllock=true" popups | vast-engineering_jquery-popup-overlay | train | js |
f556e8002b4dfdc5744dd3d60b89f4ed953fccba | diff --git a/lib/active_hash/base.rb b/lib/active_hash/base.rb
index <HASH>..<HASH> 100644
--- a/lib/active_hash/base.rb
+++ b/lib/active_hash/base.rb
@@ -302,7 +302,7 @@ module ActiveHash
end
def define_getter_method(field, default_value)
- unless has_instance_method?(field)
+ unless inst... | silence warning that happens because has_instance_method? bug
somehow has_insance_method? returned false after define_method was called
leading to duplicate method definitions and warnings
instead of fixing this mystery bug I'm just removing the obsolte method | zilkey_active_hash | train | rb |
b4a0d4c9cac0d0970d2938297bb13096497b08f1 | diff --git a/src/Clarify/Search.php b/src/Clarify/Search.php
index <HASH>..<HASH> 100644
--- a/src/Clarify/Search.php
+++ b/src/Clarify/Search.php
@@ -26,11 +26,11 @@ class Search extends Client
$request->getQuery()->set($key, $value);
}
- $response = $this->process($request);
+ $t... | making sure the data is being captured to be reused | Clarify_clarify-php | train | php |
15f482fbb7b1b98b48545f6e5ab3986859c38e55 | diff --git a/watchman/main.py b/watchman/main.py
index <HASH>..<HASH> 100644
--- a/watchman/main.py
+++ b/watchman/main.py
@@ -15,13 +15,11 @@ def check():
child_dirs = _get_subdirectories(current_working_directory)
for child in child_dirs:
try:
- change_dir = '%s/%s' % (current_working_di... | Remove change dir commands and now it sends directly. | alephmelo_watchman | train | py |
51bde1963a71f31ff1779fa4cafa2169a6e21cc1 | diff --git a/lib/GameLoader.js b/lib/GameLoader.js
index <HASH>..<HASH> 100644
--- a/lib/GameLoader.js
+++ b/lib/GameLoader.js
@@ -890,12 +890,17 @@ GameLoader.prototype.buildWaitRoomConf = function(directory, gameName, level) {
waitRoomSettingsFile = directory + 'waitroom/waitroom.settings.js';
if (!fs.exi... | allowing no waitroom in levels: will cause an error for now if trying to move to a level. need further work | nodeGame_nodegame-server | train | js |
effa0279ce6da26fd7ddbf47175b287868009707 | diff --git a/packages/webpack-cli/lib/webpack-cli.js b/packages/webpack-cli/lib/webpack-cli.js
index <HASH>..<HASH> 100644
--- a/packages/webpack-cli/lib/webpack-cli.js
+++ b/packages/webpack-cli/lib/webpack-cli.js
@@ -1337,7 +1337,7 @@ class WebpackCLI {
} else {
const { interpret } = this.utils;... | fix: comment on config resolution priority (#<I>) | webpack_webpack-cli | train | js |
8ab301b9b3ce9db42c0cc3cd768f91e3a91863bf | diff --git a/angr/state_plugins/symbolic_memory.py b/angr/state_plugins/symbolic_memory.py
index <HASH>..<HASH> 100644
--- a/angr/state_plugins/symbolic_memory.py
+++ b/angr/state_plugins/symbolic_memory.py
@@ -981,8 +981,8 @@ class SimSymbolicMemory(SimMemory): #pylint:disable=abstract-method
# CGC binari... | make _special_memory_filler state aware | angr_angr | train | py |
aa11acc0e9b346e78c174ae708043ab76f352aa4 | diff --git a/anom/transaction.py b/anom/transaction.py
index <HASH>..<HASH> 100644
--- a/anom/transaction.py
+++ b/anom/transaction.py
@@ -89,9 +89,8 @@ def transactional(*, adapter=None, retries=3, propagation=Transaction.Propagatio
retries(int, optional): The number of times to retry the
transaction i... | doc: fix docstring for @transactional | Bogdanp_anom-py | train | py |
96474da364ab405e0c15e47d541010c5049d90d3 | diff --git a/scoop/launch/__init__.py b/scoop/launch/__init__.py
index <HASH>..<HASH> 100644
--- a/scoop/launch/__init__.py
+++ b/scoop/launch/__init__.py
@@ -84,8 +84,9 @@ class Host(object):
# TODO: do we really want to set PYTHONPATH='' if not defined??
c.extend(["export", "PYTHONPATH={0}:$... | * Fixed a bug when starting in could mode on heterogeneous systems. | soravux_scoop | train | py |
50756c5192d8331e0a91101f26536f3e3f9ebac2 | diff --git a/holoviews/core/spaces.py b/holoviews/core/spaces.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/spaces.py
+++ b/holoviews/core/spaces.py
@@ -14,6 +14,7 @@ from .layout import Layout, AdjointLayout, NdLayout
from .ndmapping import UniformNdMapping, NdMapping, item_check
from .overlay import Overlay, ... | Added validation of objects supplied in DynamicMap streams list | pyviz_holoviews | train | py |
439b878cb61a9157dc2cf83aa8a4ddae7c845a75 | diff --git a/lib/Less/Node/Url.php b/lib/Less/Node/Url.php
index <HASH>..<HASH> 100755
--- a/lib/Less/Node/Url.php
+++ b/lib/Less/Node/Url.php
@@ -22,6 +22,16 @@ class Url
{
$val = $this->value->compile($ctx);
+ // Add the base path if the URL is relative
+ if( is_string($val->value) && !preg_match('/^(?:[a... | When adding a path onto an unquoted url, escape characters that require it | oyejorge_less.php | train | php,php |
0de01567a39b5837a5a31c3b1ec6a417ec9becb9 | diff --git a/goon.go b/goon.go
index <HASH>..<HASH> 100644
--- a/goon.go
+++ b/goon.go
@@ -107,9 +107,7 @@ func (g *Goon) extractKeys(src interface{}, putRequest bool) ([]*datastore.Key,
// is incomplete.
func (g *Goon) Key(src interface{}) *datastore.Key {
if k, err := g.KeyError(src); err == nil {
- if !k.Incom... | Incomplete keys aren't errors | mjibson_goon | train | go,go |
0024fc2228ac4c223fccb3696b170e3c23f74084 | diff --git a/src/Illuminate/Mail/Mailable.php b/src/Illuminate/Mail/Mailable.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Mail/Mailable.php
+++ b/src/Illuminate/Mail/Mailable.php
@@ -289,7 +289,7 @@ class Mailable implements MailableContract
*/
public function from($address, $name = null)
{
- ... | Add missing return statement (#<I>) | laravel_framework | train | php |
27c715017d5540c8c8688df4b3d437b8fd637ce7 | diff --git a/eZ/Publish/Core/Repository/RoleService.php b/eZ/Publish/Core/Repository/RoleService.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/Repository/RoleService.php
+++ b/eZ/Publish/Core/Repository/RoleService.php
@@ -783,13 +783,14 @@ class RoleService implements RoleServiceInterface
protected functi... | Additional fix to role service implementation due to new role structs | ezsystems_ezpublish-kernel | train | php |
2e3db498ff86e0417f3dfff0f62a9f8a1be4dc55 | diff --git a/lib/openscap/xccdf/session.rb b/lib/openscap/xccdf/session.rb
index <HASH>..<HASH> 100644
--- a/lib/openscap/xccdf/session.rb
+++ b/lib/openscap/xccdf/session.rb
@@ -9,11 +9,8 @@
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
#
-require 'ffi'
-
module OpenSCAP
module Xccdf
- extend FFI:... | OpenSCAP::Xccdf doesn't need to extend FFI::Library | OpenSCAP_ruby-openscap | train | rb |
f926c431c6a9efd45c21ddcb0dc7d6544c4bd8f4 | diff --git a/src/scripts/dashboard/dashboard.jobs.store.js b/src/scripts/dashboard/dashboard.jobs.store.js
index <HASH>..<HASH> 100644
--- a/src/scripts/dashboard/dashboard.jobs.store.js
+++ b/src/scripts/dashboard/dashboard.jobs.store.js
@@ -84,7 +84,7 @@ let DashboardJobStore = Reflux.createStore({
f... | Don't pass unused argument to getJobs. | OpenNeuroOrg_openneuro | train | js |
6c08c271e7698adff60f5fb3ba82461dded39586 | diff --git a/samples/blueprint/filter/src/main/java/org/ops4j/pax/wicket/samples/blueprint/filter/internal/SampleFilterFactory.java b/samples/blueprint/filter/src/main/java/org/ops4j/pax/wicket/samples/blueprint/filter/internal/SampleFilterFactory.java
index <HASH>..<HASH> 100644
--- a/samples/blueprint/filter/src/main... | Adjust for changes made by PAXWICKET-<I> | ops4j_org.ops4j.pax.wicket | train | java |
06026b3dec2d3cf7576f8d4e74c7da64abd11e9e | diff --git a/lib/couch_potato/railtie.rb b/lib/couch_potato/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/couch_potato/railtie.rb
+++ b/lib/couch_potato/railtie.rb
@@ -6,8 +6,8 @@ module CouchPotato
CouchPotato::Config.database_name = YAML::load(File.read(Rails.root.join('config/couchdb.yml')))[Rails.env]
en... | more robust check for ::Rails::Railtie | langalex_couch_potato | train | rb |
2197e1676d415391a08d7e466622050451ecd058 | diff --git a/lxd/storage/drivers/interface.go b/lxd/storage/drivers/interface.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/interface.go
+++ b/lxd/storage/drivers/interface.go
@@ -57,9 +57,8 @@ type Driver interface {
SetVolumeQuota(vol Volume, size string, op *operations.Operation) error
GetVolumeDiskPa... | lxd/storage/drivers/interface: Removes "our mount" bool return value from MountVolume
Ref counting keeps track of whether an unmount should proceed or not, so no need for indicating to caller whether they need to unmount or not. | lxc_lxd | train | go |
f92751ec24b36e4a6fcc63a2457523ef7e9f0798 | diff --git a/src/Command/GenerateCommand.php b/src/Command/GenerateCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/GenerateCommand.php
+++ b/src/Command/GenerateCommand.php
@@ -18,6 +18,7 @@ class GenerateCommand extends ProxyCommand
$this->command = new \Doctrine\DBAL\Migrations\Tools\Console\Comman... | command aliases (to be swapped) | ixocreate_database-package | train | php,php |
d4d31e70ca26325290db7499995a92a2e4305531 | diff --git a/will/acl.py b/will/acl.py
index <HASH>..<HASH> 100644
--- a/will/acl.py
+++ b/will/acl.py
@@ -22,7 +22,7 @@ def get_acl_members(acl):
def is_acl_allowed(nick, acl):
if not getattr(settings, "ACL", None):
- logging.warn(
+ logging.warning(
"%s was just allowed to perform a... | warn is deprecated, change to warning in logging module | skoczen_will | train | py |
32935f5aac4264a74d21d6220385d51fa9b43519 | diff --git a/packages/openneuro-server/graphql/schema.js b/packages/openneuro-server/graphql/schema.js
index <HASH>..<HASH> 100644
--- a/packages/openneuro-server/graphql/schema.js
+++ b/packages/openneuro-server/graphql/schema.js
@@ -263,6 +263,8 @@ const typeDefs = `
analytics: Analytic
# Dataset README
... | Add 'hexsha' field to Snapshot API | OpenNeuroOrg_openneuro | train | js |
bbc2f18c8336de9aaedefb60f305de1631095ae5 | diff --git a/lib/ngoverrides.js b/lib/ngoverrides.js
index <HASH>..<HASH> 100644
--- a/lib/ngoverrides.js
+++ b/lib/ngoverrides.js
@@ -432,7 +432,7 @@ function registerModule(context) {
if (isJSONP) {
// Assume everything up to the op... | Allow for trailing whitespace in JSON-P response | saymedia_angularjs-server | train | js |
3507898caab576d0047557487d6377bf43205f3b | diff --git a/src/Asserts/ReflectionAsserts.php b/src/Asserts/ReflectionAsserts.php
index <HASH>..<HASH> 100644
--- a/src/Asserts/ReflectionAsserts.php
+++ b/src/Asserts/ReflectionAsserts.php
@@ -4,6 +4,18 @@ namespace Illuminated\Testing\Asserts;
trait ReflectionAsserts
{
+ protected function assertSubclassOf($c... | ITT: New reflection asserts added. | dmitry-ivanov_laravel-testing-tools | train | php |
2a35a9191a87b010c6325092c66371ce808ab04e | diff --git a/src/cttvApi.js b/src/cttvApi.js
index <HASH>..<HASH> 100644
--- a/src/cttvApi.js
+++ b/src/cttvApi.js
@@ -219,7 +219,7 @@ var cttvApi = function () {
};
_.url.target = function (obj) {
- return config.prefix + config.version + "/" + prefixTarget + obj.target_id;
+ return config.pr... | target endpoint can have other params | opentargets_RestApiJs | train | js |
ec5f18b41eef00d65ca2d321c2a4b8e1451be573 | diff --git a/lib/middleware/body_size_limiter.js b/lib/middleware/body_size_limiter.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/body_size_limiter.js
+++ b/lib/middleware/body_size_limiter.js
@@ -40,7 +40,11 @@ exports.attach = function attachBodySizeLimiter(options) {
log.msg('Denying client for too la... | Only call close on transport if transport is available. (it's only available in
node < <I>) | racker_node-rackspace-shared-middleware | train | js |
e1e299bcd7939779e2ca9442dd0f42f2a207c96d | diff --git a/eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php b/eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php
+++ b/eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php
@@ -2161,7 +2161,14 @@ class ... | Implemented error condition on load by remote ID. | ezsystems_ezpublish-kernel | train | php |
d1b6584d1d396dff1a2d202c212d9baec7267f23 | diff --git a/google/google.go b/google/google.go
index <HASH>..<HASH> 100644
--- a/google/google.go
+++ b/google/google.go
@@ -179,13 +179,13 @@ func (g *GoogleCloud) getTopic(ctx context.Context, name string) (*pubsub.Topic,
var err error
t := g.client.Topic(name)
- ok, err := t.Exists(ctx)
+ ok, err := t.Exists... | Use new context for publish to async operations work outside of rpc's | lileio_pubsub | train | go |
3f3e96d2a32c198849fd3a21f9c1e3943972b06b | diff --git a/builtin/credential/okta/cli.go b/builtin/credential/okta/cli.go
index <HASH>..<HASH> 100644
--- a/builtin/credential/okta/cli.go
+++ b/builtin/credential/okta/cli.go
@@ -38,6 +38,15 @@ func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (*api.Secret, erro
"password": password,
}
+ mfa_meth... | Add the ability to pass in mfa parameters when authenticating via the… (#<I>) | hashicorp_vault | train | go |
5a621a6f694838f2ff1749c1beff28d7d8f24dbd | diff --git a/lib/discordrb/events/roles.rb b/lib/discordrb/events/roles.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/events/roles.rb
+++ b/lib/discordrb/events/roles.rb
@@ -68,33 +68,8 @@ module Discordrb::Events
end
# Event raised when a role updates on a server
- class ServerRoleUpdateEvent < Event
- ... | Make ServerRoleUpdateEvent simply inherit from ServerRoleCreate event as both do exactly the same thing | meew0_discordrb | train | rb |
3580ee22b5b30f67a5621b1e9333640f64f54d78 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ setup(
include_package_data = True,
# Package dependencies.
- install_requires = ['setuptools', 'simplejson'],
+ install_requires = ['simplejson'],
# Metadata for PyPI.
author = 'Ryan McGrath', | Don't need to include `setuptools`, heh. | ryanmcgrath_twython | train | py |
671fc908adcc127c59cecf861f39eacd0a2c1ea1 | diff --git a/intranet/settings/base.py b/intranet/settings/base.py
index <HASH>..<HASH> 100644
--- a/intranet/settings/base.py
+++ b/intranet/settings/base.py
@@ -114,7 +114,7 @@ MIDDLEWARE_CLASSES = (
"intranet.middleware.ldap_db.CheckLDAPBindMiddleware",
"django.contrib.messages.middleware.MessageMiddleware... | Re-enable selectize middleware | tjcsl_ion | train | py |
dc73c916fc4a864ac6c9f15b521931fb884360f2 | diff --git a/framework/helpers/base/ArrayHelper.php b/framework/helpers/base/ArrayHelper.php
index <HASH>..<HASH> 100644
--- a/framework/helpers/base/ArrayHelper.php
+++ b/framework/helpers/base/ArrayHelper.php
@@ -272,7 +272,7 @@ class ArrayHelper
foreach ($keys as $i => $key) {
$flag = $sortFlag[$i];
$cs =... | Fix unsupported flag in php <I>.x environment [ArrayHelper::multisort] | yiisoft_yii2-debug | train | php |
a436435d0f71870dabf5c7a71aa0dfaa8ad9dcb3 | diff --git a/lib/instrumentation/span.js b/lib/instrumentation/span.js
index <HASH>..<HASH> 100644
--- a/lib/instrumentation/span.js
+++ b/lib/instrumentation/span.js
@@ -122,10 +122,9 @@ Span.prototype._encode = function (cb) {
timestamp: self.timestamp,
duration: self.duration(),
context: undefin... | refactor: improve span payload encoding (#<I>) | elastic_apm-agent-nodejs | train | js |
9d20675bcd054cf1effbf63213951e36a0f3fe5b | diff --git a/lib/qu/backend/mongo.rb b/lib/qu/backend/mongo.rb
index <HASH>..<HASH> 100644
--- a/lib/qu/backend/mongo.rb
+++ b/lib/qu/backend/mongo.rb
@@ -21,7 +21,8 @@ module Qu
def connection
@connection ||= begin
- uri = URI.parse(ENV['MONGOHQ_URL'].to_s)
+ host_uri = (ENV['MONGOH... | Add mongolab environment variable to mongo backend | bkeepers_qu | train | rb |
460d02972b60ba473ef8f10b037111b38b52258b | diff --git a/dramatiq/message.py b/dramatiq/message.py
index <HASH>..<HASH> 100644
--- a/dramatiq/message.py
+++ b/dramatiq/message.py
@@ -48,9 +48,9 @@ class Message(namedtuple("Message", (
"""Create a copy of this message.
"""
updated_options = attributes.pop("options", {})
- options... | revert: make Message.copy work under Python <I>
This reverts commit <I>d<I>e5f<I>f<I>cd8c<I>a1de<I>a<I>. | Bogdanp_dramatiq | train | py |
dc7cfb603f39bedc2528d9d627a7b1b423107930 | diff --git a/src/webpack.js b/src/webpack.js
index <HASH>..<HASH> 100644
--- a/src/webpack.js
+++ b/src/webpack.js
@@ -3,7 +3,6 @@
* @flow
*/
-import invariant from 'invariant';
import {renderToString} from './index';
import {
findConfig,
@@ -22,4 +21,4 @@ module.exports = function reactdown(source: string):... | style(webpack): lint errors | andreypopp_reactdown | train | js |
0a1b1d5cd00e17f13a010c18b1dcc0d8a20c8e60 | diff --git a/src/benchsuite/rest/app.py b/src/benchsuite/rest/app.py
index <HASH>..<HASH> 100644
--- a/src/benchsuite/rest/app.py
+++ b/src/benchsuite/rest/app.py
@@ -20,11 +20,13 @@
import logging
import signal
import sys
+import json
from flask import Flask
+from flask_restplus import Swagger
from benchsuite... | added function to dump swagger api specs | benchmarking-suite_benchsuite-rest | train | py |
b06068f9f63105789427fe17f81df8b484f05614 | diff --git a/lib/Pagon/App.php b/lib/Pagon/App.php
index <HASH>..<HASH> 100644
--- a/lib/Pagon/App.php
+++ b/lib/Pagon/App.php
@@ -55,7 +55,7 @@ class App extends EventEmitter
'route' => array(),
'buffer' => true,
'timezone' => 'UTC',
- 'charset' => 'UTF-8'
+ 'charset' =>... | Set app to view variable "_" | hfcorriez_pagon | train | php |
21bbf18fc69170cd2a84f16d12b3735d113b0c89 | diff --git a/circuit/circuit.py b/circuit/circuit.py
index <HASH>..<HASH> 100644
--- a/circuit/circuit.py
+++ b/circuit/circuit.py
@@ -678,10 +678,10 @@ class circuit():
if outputs is None or len(outputs) == 0:
return 0
else:
- return 1 + max([ # pylint: disable... | Resolve Pylint-R<I>: pass generator to `max(` | lapets_circuit | train | py |
674c8f5b8f710d6133c7f1b0175e77f32ac2b11f | diff --git a/test/Specs.js b/test/Specs.js
index <HASH>..<HASH> 100644
--- a/test/Specs.js
+++ b/test/Specs.js
@@ -1,4 +1,4 @@
-var convertor = require('../index'),
+var convertor = require('../chncrs'),
expect = require('expect.js');
describe('ProjectionTransform', function () {
it('convert coordinates from... | update Specs to chncrs.js | fuzhenn_chinese_coordinate_conversion | train | js |
9006d304f4654dc0954b27b4edb2e603f89acc61 | diff --git a/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb b/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb
+++ b/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb
@@ -26,6 ... | Add support for OS version in Appetize options (#<I>) | fastlane_fastlane | train | rb |
993e9b428095fd523f272402f8dd1c88432d956d | diff --git a/lib/art-decomp/fsm.rb b/lib/art-decomp/fsm.rb
index <HASH>..<HASH> 100644
--- a/lib/art-decomp/fsm.rb
+++ b/lib/art-decomp/fsm.rb
@@ -42,13 +42,11 @@ module ArtDecomp class FSM
end
def beta_x ins
- return Blanket[B[*0...@state.size]] if ins.empty?
- ins.map { |i| Blanket.from_array @inputs[i]... | factor out FSM#beta | chastell_art-decomp | train | rb |
d2d25ce9be67d32b61bb21ce062e20d1b1a95cfb | diff --git a/sniffy-core/src/main/java/io/sniffy/LegacySpy.java b/sniffy-core/src/main/java/io/sniffy/LegacySpy.java
index <HASH>..<HASH> 100644
--- a/sniffy-core/src/main/java/io/sniffy/LegacySpy.java
+++ b/sniffy-core/src/main/java/io/sniffy/LegacySpy.java
@@ -5,7 +5,6 @@ import io.sniffy.sql.SqlStatement;
import io... | Avoid unused imports such as 'java.lang.ref.WeakReference' | sniffy_sniffy | train | java |
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.