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 |
|---|---|---|---|---|---|
43ae1036eab1a6af564fc1ac47aa585551ef2cb8 | diff --git a/upload/admin/model/openbay/version.php b/upload/admin/model/openbay/version.php
index <HASH>..<HASH> 100644
--- a/upload/admin/model/openbay/version.php
+++ b/upload/admin/model/openbay/version.php
@@ -1,6 +1,6 @@
<?php
class ModelOpenbayVersion extends Model {
public function version() {
- return (in... | <I> release. non-beta | opencart_opencart | train | php |
5eaca7160c33ed53c12c2d7cc080b7d7bd1ee017 | diff --git a/lib/typester.js b/lib/typester.js
index <HASH>..<HASH> 100644
--- a/lib/typester.js
+++ b/lib/typester.js
@@ -7,7 +7,7 @@ var TopiaristVerifier = require('./verifiers/TopiaristVerifier');
var verifiers = [new TopiaristVerifier()];
exports.using = function(arguments) {
- return new ArgsVerifier(argumen... | Updated library so it can actually be used with synthetic argument arrays. | dchambers_typester | train | js,js |
746e2adc2b586751f4f0c252066f536d42c4043f | diff --git a/core/write.go b/core/write.go
index <HASH>..<HASH> 100644
--- a/core/write.go
+++ b/core/write.go
@@ -167,6 +167,8 @@ func copy(t reflect.Value, v reflect.Value) (err error) {
}
case reflect.Float64:
castVal, casterr = strconv.ParseFloat(vString, 64)
+ default:
+ return fmt.Errorf("Unable to ... | added default error when converting string to field type fails | AlecAivazis_survey | train | go |
b40958dd9a34a956598aa474715e46e117575e71 | diff --git a/pyinfra/facts/apt.py b/pyinfra/facts/apt.py
index <HASH>..<HASH> 100644
--- a/pyinfra/facts/apt.py
+++ b/pyinfra/facts/apt.py
@@ -56,7 +56,7 @@ class AptSources(FactBase):
...
'''
- command = 'cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list'
+ command = 'cat /etc/apt/sources.... | Don't fail `apt_repos` fact if `/etc/apt/sources.list.d` doesn't exist. | Fizzadar_pyinfra | train | py |
75ac0056a0543e88f2e4a1fd537d38758090b606 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
import sphinx_rtd_theme
+import wagtailnews.version
#
# Wagtail News documentation build configuration file, created by
@@ -65,9 +66,11 @@ author = 'Takeflight'
# b... | Include correct version info in docs | neon-jungle_wagtailnews | train | py,py |
947eed0110ae27d8ffc4454e01c99a109447a10c | diff --git a/great_expectations/data_context/datasource/sqlalchemy_source.py b/great_expectations/data_context/datasource/sqlalchemy_source.py
index <HASH>..<HASH> 100644
--- a/great_expectations/data_context/datasource/sqlalchemy_source.py
+++ b/great_expectations/data_context/datasource/sqlalchemy_source.py
@@ -41,6 ... | Provide add_query method for sqlalchemy source | great-expectations_great_expectations | train | py |
01513217784a5ebdbb5c970508fe7c9d43e6ee9c | diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_ssl.py
+++ b/cheroot/test/test_ssl.py
@@ -337,8 +337,7 @@ def test_tls_client_auth(
if IS_MACOS and IS_PYPY and adapter_type == 'pyopenssl':
expected_substrings = ('tlsv1 al... | Expect ECONNRESET under GH Actions @ GNU/Linux | cherrypy_cheroot | train | py |
9787f5818c250db8c5063ac3504454b134d33832 | diff --git a/library/Theme/Support.php b/library/Theme/Support.php
index <HASH>..<HASH> 100644
--- a/library/Theme/Support.php
+++ b/library/Theme/Support.php
@@ -200,11 +200,9 @@ class Support
{
global $wp_query;
- if (
- (defined('MUNICIPIO_BLOCK_AUTHOR_PAGES') && !MUNICIPIO_BLOCK_AU... | Formatting on block author pages
This could be more fancy. | helsingborg-stad_Municipio | train | php |
d091fa2327f356db41696954671e5f5b335b69e2 | diff --git a/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java b/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
+++ b/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
@@ -355,9 +355,10... | * allow setting the drawerToggle without toolbar | mikepenz_MaterialDrawer | train | java |
e49d12d2771f394252de7f52dce2845caae0f1f1 | diff --git a/openstack_dashboard/api/neutron.py b/openstack_dashboard/api/neutron.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/api/neutron.py
+++ b/openstack_dashboard/api/neutron.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import
import collections
import logging
-import warnings
import net... | Remove deprecated OPENSTACK_QUANTUM_NETWORK
OPENSTACK_QUANTUM_NETWORK was deprecated in Juno release.
We are in Liberty now and it is time to remove this parameter
and we should use OPENSTACK_NEUTRON_NETWORK.
UpgradeImpact
Change-Id: I2be1d<I>b<I>d1eb<I>d<I>b<I>d<I>
Closes-Bug: #<I> | openstack_horizon | train | py |
f17b6489cacf9bb3f2ed46bf67b873ca3428780f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -131,8 +131,8 @@ UTP.prototype._closeMaybe = function () {
UTP.prototype.connect = function (port, ip) {
if (!this._inited) this.bind()
- const conn = new Connection(this, port, ip, null, this._allowHalfOpen)
if (!ip... | always set remoteAddress to the ip | mafintosh_utp-native | train | js,js |
14d80365104a48e9495d8ffa97cb75637fc0a090 | diff --git a/kernel/common/ezobjectforwarder.php b/kernel/common/ezobjectforwarder.php
index <HASH>..<HASH> 100644
--- a/kernel/common/ezobjectforwarder.php
+++ b/kernel/common/ezobjectforwarder.php
@@ -520,7 +520,7 @@ class eZObjectForwarder
++$matchCount;
if ( $matchCondition... | - Fixed bug in objectforwarder which could result in to default cases (else{})
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
58f76d98251e11e4635d5a541fb950fe444639d6 | diff --git a/src/Yoti/ShareUrl/Extension/Extension.php b/src/Yoti/ShareUrl/Extension/Extension.php
index <HASH>..<HASH> 100644
--- a/src/Yoti/ShareUrl/Extension/Extension.php
+++ b/src/Yoti/ShareUrl/Extension/Extension.php
@@ -33,22 +33,6 @@ class Extension implements \JsonSerializable
}
/**
- * @return... | SDK-<I>: Remove unneeded getters | getyoti_yoti-php-sdk | train | php |
2ebaf50ea7c711e0538bbddd7490d891d6f724d9 | diff --git a/lib/gov_kit/vote_smart.rb b/lib/gov_kit/vote_smart.rb
index <HASH>..<HASH> 100644
--- a/lib/gov_kit/vote_smart.rb
+++ b/lib/gov_kit/vote_smart.rb
@@ -5,6 +5,23 @@ module GovKit
end
module VoteSmart
+ class State < VoteSmartResource
+ def self.find_all
+ response = get("/State.getStat... | Add State.find_all, State.find_counties, and State.find_cities methods | opengovernment_govkit | train | rb |
2487bf2ae72582d0e198958cb5ee46ef3fe200dd | diff --git a/src/Component/Doctrine/DatabaseSchemaFacade.php b/src/Component/Doctrine/DatabaseSchemaFacade.php
index <HASH>..<HASH> 100644
--- a/src/Component/Doctrine/DatabaseSchemaFacade.php
+++ b/src/Component/Doctrine/DatabaseSchemaFacade.php
@@ -3,14 +3,14 @@
namespace Shopsys\MigrationBundle\Component\Doctrine;
... | use EntityManagerInterface instead of EntityManager in type-hint
- enables usage of decorated EntityManager in the application | shopsys_migrations | train | php |
5455cf7d5c8c52ebe3518cae998495a9549b8227 | diff --git a/lib/authlogic/session/validation.rb b/lib/authlogic/session/validation.rb
index <HASH>..<HASH> 100644
--- a/lib/authlogic/session/validation.rb
+++ b/lib/authlogic/session/validation.rb
@@ -16,13 +16,7 @@ module Authlogic
# errors.add(:base, "You must be awesome to log in") unless attempted_... | Session validation errors: Drop rails 2 support
ActiveModel was introduced in rails 3. | binarylogic_authlogic | train | rb |
edd7107a37afe14b75d9dd467b0511b876b59a95 | diff --git a/lib/plugins/load-plugin.js b/lib/plugins/load-plugin.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/load-plugin.js
+++ b/lib/plugins/load-plugin.js
@@ -420,7 +420,7 @@ var initReq = function(req, res, isServer) {
var fullUrl = getValue(req, pluginOpts.FULL_URL_HEADER);
oReq.url = oReq.fullUrl = ful... | req.url => req.originalUrl | avwo_whistle | train | js |
f6b7230591957e69232cde13719c3bab4f729274 | diff --git a/src/foremast/pipeline/construct_pipeline_block.py b/src/foremast/pipeline/construct_pipeline_block.py
index <HASH>..<HASH> 100644
--- a/src/foremast/pipeline/construct_pipeline_block.py
+++ b/src/foremast/pipeline/construct_pipeline_block.py
@@ -41,7 +41,7 @@ def construct_pipeline_block(env='',
user_... | fix: Remove trailing comma
Trailing commas turn normal assignments into tuple assignments, very
hidden and confusing.
See also: PSOBAT-<I> | foremast_foremast | train | py |
29968caa0c55034fb55581fbe36fc587da035254 | diff --git a/closure/goog/i18n/datetimepatterns.js b/closure/goog/i18n/datetimepatterns.js
index <HASH>..<HASH> 100644
--- a/closure/goog/i18n/datetimepatterns.js
+++ b/closure/goog/i18n/datetimepatterns.js
@@ -770,7 +770,7 @@ goog.i18n.DateTimePatterns_lt = {
YEAR_MONTH_FULL: 'yyyy MMMM',
MONTH_DAY_ABBR: 'MMM-d'... | Lithuanian month-day short format should be M-d according to translation team.
Tested:
Locally, chrome
QA:
Please test stream with lithuanian locale. An activity with month-date should
be visible as day-Month format. Exp: <I>-<I>.
R=shanjian
DELTA=1 (0 added, 0 deleted, 1 changed)
Revision created by MOE tool pus... | google_closure-library | train | js |
be28e160d290515201e35c501502ab47910013b6 | diff --git a/lib/aggcat/client.rb b/lib/aggcat/client.rb
index <HASH>..<HASH> 100644
--- a/lib/aggcat/client.rb
+++ b/lib/aggcat/client.rb
@@ -70,7 +70,11 @@ module Aggcat
end
def delete_customer
- delete('/customers')
+ result = delete('/customers')
+ if result[:status_code] == '200'
+ ... | Clear oauth token after deleting customer
Prevents accidental reuse of token and is
recommended by Intuit docs | cloocher_aggcat | train | rb,rb |
21f753919f89bd6c7f3333a6b15f0d5515ecde64 | diff --git a/ez_setup.py b/ez_setup.py
index <HASH>..<HASH> 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -36,7 +36,7 @@ try:
except ImportError:
USER_SITE = None
-DEFAULT_VERSION = "8.3"
+DEFAULT_VERSION = "8.4"
DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
def _python_cmd(*args):
d... | Bumped to <I> in preparation for next release. | pypa_setuptools | train | py,py |
10972abb7e93d9c59db54730abad593f52f01565 | diff --git a/rpc/rpcreflect/type.go b/rpc/rpcreflect/type.go
index <HASH>..<HASH> 100644
--- a/rpc/rpcreflect/type.go
+++ b/rpc/rpcreflect/type.go
@@ -81,6 +81,7 @@ type RootMethod struct {
// TypeOf returns information on all root-level RPC methods
// implemented by an object of the given Go type.
+// If goType is... | rpc/rpcreflect: adjust doc comments | juju_juju | train | go |
40ea68867415e6219442606794f52ef4249e89bd | diff --git a/tests/test_gau.py b/tests/test_gau.py
index <HASH>..<HASH> 100644
--- a/tests/test_gau.py
+++ b/tests/test_gau.py
@@ -172,10 +172,13 @@ def test_gaussian():
plt.close()
+# try all combinations excepte none/unif
@pytest.mark.parametrize(
"bound,sample",
- itertools.product(['none', 'single... | remove the uniform + none bound test as it takes <I> min | joshspeagle_dynesty | train | py |
af02fa2d0358c5a6555a9e9a7de87bb632180d59 | diff --git a/lib/stagehand/auditor.rb b/lib/stagehand/auditor.rb
index <HASH>..<HASH> 100644
--- a/lib/stagehand/auditor.rb
+++ b/lib/stagehand/auditor.rb
@@ -20,11 +20,11 @@ module Stagehand
return incomplete.to_h
end
- def mismatched_records(tables: Database.staging_connection.tables)
+ def mismat... | Runs mismatched_records on all specified tables
- doesn’t remove tables that are specified but does not have stagehand.
- pass in options hash instead of key: word (consistency throughout project)
- both these changes are to make it less surprising to the user. | culturecode_stagehand | train | rb |
4e90197ddae0e08140772549c5247d1309a374a9 | diff --git a/src/main/java/io/vlingo/actors/plugin/mailbox/sharedringbuffer/SharedRingBufferMailbox.java b/src/main/java/io/vlingo/actors/plugin/mailbox/sharedringbuffer/SharedRingBufferMailbox.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/actors/plugin/mailbox/sharedringbuffer/SharedRingBufferMailbox.... | Implemented concurrencyCapacity(). | vlingo_vlingo-actors | train | java |
df99b997a899eb34568ae203d1d892f97f89a1dc | diff --git a/lib/chef/resource/aws_sqs_queue.rb b/lib/chef/resource/aws_sqs_queue.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource/aws_sqs_queue.rb
+++ b/lib/chef/resource/aws_sqs_queue.rb
@@ -7,9 +7,9 @@ class Chef::Resource::AwsSqsQueue < Chef::Resource::AwsResource
actions :create, :delete, :nothing
defa... | Fix attribute to work with LWRP syntax | chef_chef-provisioning-aws | train | rb |
2f9ca586efa32448ff9ac12cf74523db2d8fe528 | diff --git a/Controller/DashboardController.php b/Controller/DashboardController.php
index <HASH>..<HASH> 100644
--- a/Controller/DashboardController.php
+++ b/Controller/DashboardController.php
@@ -36,14 +36,14 @@ class DashboardController extends Controller
'recent' => array(
'title' => ... | [Backoffice] Fix dashboard tab content. | Clastic_BackofficeBundle | train | php |
28b78dbaabd4af6b3ae53e4ba39db88e2c88a7a6 | diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -3,7 +3,6 @@ from shutil import rmtree
from django.conf import settings
from django.contrib.auth.models import User
-from django.contrib.auth import authenticate
from django.core.cache import cache... | Adding QuerySet image warming test | respondcreate_django-versatileimagefield | train | py |
426e02d17bb0e2c572b8db6fb081229283c55944 | diff --git a/src/Resources/contao/classes/ModuleVisitorsTag.php b/src/Resources/contao/classes/ModuleVisitorsTag.php
index <HASH>..<HASH> 100644
--- a/src/Resources/contao/classes/ModuleVisitorsTag.php
+++ b/src/Resources/contao/classes/ModuleVisitorsTag.php
@@ -24,6 +24,7 @@ use BugBuster\Visitors\ModuleVisitorSearchE... | Fixed #<I>, Deprecated trimsplit | BugBuster1701_contao-visitors-bundle | train | php |
76c378996661f1281e2241cb2e912012b8ee72b0 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -94,7 +94,7 @@ Descriptions folder is a fullpath of a folder that contains markdown files with
``` ruby
Dox.configure do |config|
- config.root_api_file = 'api.md'
+ config.header_file_path = 'api.md'
config.desc... | Rename config root_api_file to header_file_path | infinum_dox | train | md,rb,rb |
84523efaebf83c9e0e93fd4e1eaa7b4cf4947092 | diff --git a/src/waterpipe.js b/src/waterpipe.js
index <HASH>..<HASH> 100644
--- a/src/waterpipe.js
+++ b/src/waterpipe.js
@@ -805,8 +805,8 @@
case OP_EVAL:
var prevCount = evalCount;
result = evaluatePipe(t.expression);
- out... | eval return obj when there is only one evallable output | misonou_waterpipe | train | js |
386ea144f64635960872405edb04bebbc65f0dee | diff --git a/lib/mongoid/dirty.rb b/lib/mongoid/dirty.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/dirty.rb
+++ b/lib/mongoid/dirty.rb
@@ -192,8 +192,9 @@ module Mongoid #:nodoc:
#
# <tt>person.accessed("aliases", [ "007" ])</tt>
def accessed(name, value)
+ return value unless value.is_a?(Enumer... | Perf: Shaving more time off reading attributes | mongodb_mongoid | train | rb |
d3ccedc767372007e8b035c3d1f68218c3d59be5 | diff --git a/p2p/simulations/network_test.go b/p2p/simulations/network_test.go
index <HASH>..<HASH> 100644
--- a/p2p/simulations/network_test.go
+++ b/p2p/simulations/network_test.go
@@ -193,7 +193,7 @@ OUTER:
connEventCount = nodeCount
-OUTER_TWO:
+OuterTwo:
for {
select {
case <-ctx.Done():
@@ -211,7 +2... | p2p/simulations: enforce camel case variable names (#<I>) | ethereum_go-ethereum | train | go |
56056fc30060632191137a92a2c2a93c56cc3aa3 | diff --git a/embedly/client.py b/embedly/client.py
index <HASH>..<HASH> 100644
--- a/embedly/client.py
+++ b/embedly/client.py
@@ -123,7 +123,7 @@ class Embedly(object):
data = json.loads(content)
if kwargs.get('raw', False):
- data.raw = content
+ d... | added a `raw` flag that hangs onto the raw JSON response | embedly_embedly-python | train | py |
f6351df013a5eb7de61b4dd83965b4f2a2119a6e | diff --git a/util/types/convert.go b/util/types/convert.go
index <HASH>..<HASH> 100644
--- a/util/types/convert.go
+++ b/util/types/convert.go
@@ -265,7 +265,7 @@ func isCastType(tp byte) bool {
// Cast casts val to certain types and does not return error.
func Cast(val interface{}, target *FieldType) (interface{}, e... | util/types: address comment. | pingcap_tidb | train | go |
c71f27b17e23454402963e8feae807bc679068e2 | diff --git a/plugins/commands/serve/client/target/machine.rb b/plugins/commands/serve/client/target/machine.rb
index <HASH>..<HASH> 100644
--- a/plugins/commands/serve/client/target/machine.rb
+++ b/plugins/commands/serve/client/target/machine.rb
@@ -87,10 +87,16 @@ module VagrantPlugins
client.set_state(r... | Return synced folder + synced folder options from machine | hashicorp_vagrant | train | rb |
57915e0f9705fe4d4c4c826e7dd3af802c6067a3 | diff --git a/tinylog-impl/src/main/java/org/tinylog/core/WritingThread.java b/tinylog-impl/src/main/java/org/tinylog/core/WritingThread.java
index <HASH>..<HASH> 100644
--- a/tinylog-impl/src/main/java/org/tinylog/core/WritingThread.java
+++ b/tinylog-impl/src/main/java/org/tinylog/core/WritingThread.java
@@ -140,7 +14... | Show message of failed log entries in errors | pmwmedia_tinylog | train | java |
793ba4d182360b9f5d11802f16ed798a3485c0b5 | diff --git a/Console/MetaCommand.php b/Console/MetaCommand.php
index <HASH>..<HASH> 100644
--- a/Console/MetaCommand.php
+++ b/Console/MetaCommand.php
@@ -36,5 +36,5 @@ abstract class MetaCommand extends Command
return $returnCode;
}
- abstract protected function getCommandArray(InputInterface $input... | make getCommandArray public to make MetaCommands more testable | LCStudios_MetaCommandBundle | train | php |
b85e8767a429c859b0fc9187b5887bfdf942d26c | diff --git a/src/python/dxpy/scripts/dx_variants_to_vcf.py b/src/python/dxpy/scripts/dx_variants_to_vcf.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx_variants_to_vcf.py
+++ b/src/python/dxpy/scripts/dx_variants_to_vcf.py
@@ -218,7 +218,7 @@ def writeRow(row, col, outputFile, contigSequence, chromosome... | Export reference genome as uppercase even if it is softmasked | dnanexus_dx-toolkit | train | py |
d0859b8c475640f9ae5977a6754d709057593eb5 | diff --git a/usb/endpoint.go b/usb/endpoint.go
index <HASH>..<HASH> 100644
--- a/usb/endpoint.go
+++ b/usb/endpoint.go
@@ -78,10 +78,12 @@ func (e *endpoint) transfer(buf []byte, timeout time.Duration) (int, error) {
return n, nil
}
-func newEndpoint(d *Device) *endpoint {
+func newEndpoint(d *Device, s InterfaceS... | Pass all required info to newEndpoint. | kylelemons_gousb | train | go |
909cd28b9c894fa6ec44e573785bdc28a975c4d6 | diff --git a/classes/Util.php b/classes/Util.php
index <HASH>..<HASH> 100644
--- a/classes/Util.php
+++ b/classes/Util.php
@@ -94,6 +94,10 @@ class QM_Util {
self::$file_dirs['vip-client-mu-plugin'] = WPCOM_VIP_CLIENT_MU_PLUGIN_DIR;
}
+ if ( defined( '\Altis\ROOT_DIR' ) ) {
+ self::$file_dirs['altis-ven... | Add support for Altis dependencies as components. | johnbillion_query-monitor | train | php |
191f6e4ff04a518260e09772339dd52ef01d3321 | diff --git a/galpy/actionAngle_src/actionAngleStaeckel_c.py b/galpy/actionAngle_src/actionAngleStaeckel_c.py
index <HASH>..<HASH> 100644
--- a/galpy/actionAngle_src/actionAngleStaeckel_c.py
+++ b/galpy/actionAngle_src/actionAngleStaeckel_c.py
@@ -383,7 +383,9 @@ def actionAngleFreqAngleStaeckel_c(pot,delta,R,vR,vT,z,vz... | handle case where angle < 0 | jobovy_galpy | train | py |
bfce30d85972c27c27e8a2caac9db6315f813298 | diff --git a/helpers/content.go b/helpers/content.go
index <HASH>..<HASH> 100644
--- a/helpers/content.go
+++ b/helpers/content.go
@@ -637,7 +637,7 @@ func getRstContent(ctx *RenderingContext) []byte {
}
jww.INFO.Println("Rendering", ctx.DocumentName, "with", path, "...")
- cmd := exec.Command(python, path, "--le... | helpers: add --initial-header-level=2 to rst2html (#<I>)
reStructuredText doesn't have explicit section levels but sets them in
the order of appearance. Since level 1 is already set from the title in
the front matter it makes more sense to start with level 2 when
converting with rst2html. | gohugoio_hugo | train | go |
2c6a967f45a94cce04d625fa182c41501f62cc84 | diff --git a/moto/s3/urls.py b/moto/s3/urls.py
index <HASH>..<HASH> 100644
--- a/moto/s3/urls.py
+++ b/moto/s3/urls.py
@@ -21,9 +21,7 @@ url_paths = {
'{0}/$': S3ResponseInstance.bucket_response,
# subdomain key of path-based bucket
- '{0}/(?P<key_or_bucket_name>[^/]+)$': ambiguous_response1,
- # subd... | Disable strict_slashes for Flask so that S3 works in server mode. | spulec_moto | train | py,py |
411581b5b773daceee9d3e2d7751ca652d251c00 | diff --git a/aiosmtplib/__init__.py b/aiosmtplib/__init__.py
index <HASH>..<HASH> 100644
--- a/aiosmtplib/__init__.py
+++ b/aiosmtplib/__init__.py
@@ -11,7 +11,7 @@ Author: Cole Maclean <hi@cole.io>
"""
__title__ = 'aiosmtplib'
-__version__ = '0.1.7'
+__version__ = '1.0.0'
__author__ = 'Cole Maclean'
__license__ ... | Move to <I>; let's all use semver | cole_aiosmtplib | train | py |
c1d180733989ebd0cdbd01f81cf2e631bf64fd7e | diff --git a/Persistence/YamlFilePersistence.php b/Persistence/YamlFilePersistence.php
index <HASH>..<HASH> 100644
--- a/Persistence/YamlFilePersistence.php
+++ b/Persistence/YamlFilePersistence.php
@@ -3,6 +3,7 @@
namespace Liip\TranslationBundle\Persistence;
use Liip\TranslationBundle\Model\Unit;
+use Liip\Transl... | add missing (dummy) methods to yaml file persistence | liip_LiipTranslationBundle | train | php |
c0b1a4bd364fc5b763660331610b64f72ac873cc | diff --git a/install/update/Updater.php b/install/update/Updater.php
index <HASH>..<HASH> 100644
--- a/install/update/Updater.php
+++ b/install/update/Updater.php
@@ -128,7 +128,7 @@ class Updater extends \common_ext_ExtensionUpdater {
$this->setVersion('1.14.0');
}
- $this->skip('1.14.0'... | Bump to version <I> | oat-sa_extension-tao-delivery-rdf | train | php,php |
b75d13001cca467642814e477e239943507df828 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -38,8 +38,7 @@ log.info('$PATH=%s' % os.environ['PATH'])
# Check the Python version:
if sys.version_info < (3, 4):
raise RuntimeError(
- 'You can\'t install Harvester because it requires Python 3.4 '
- 'or... | Declare specific Python versions that Harvester supports | genicam_harvesters | train | py |
4077bc293b3e170926494fc41a9733cf5213fbf8 | diff --git a/app/models/streamrule.rb b/app/models/streamrule.rb
index <HASH>..<HASH> 100644
--- a/app/models/streamrule.rb
+++ b/app/models/streamrule.rb
@@ -21,16 +21,16 @@ class Streamrule < ActiveRecord::Base
}
end
- def to_condition
+ def to_condition(op = "$in")
case rule_type
when TYPE_ME... | - fixed generation of rule conditions due to plucky weirdness | Graylog2_graylog2-server | train | rb |
d18129653d53be06aaacf1c7a4fcaa2d0a504b02 | diff --git a/test/EventExport/EventExportServiceTest.php b/test/EventExport/EventExportServiceTest.php
index <HASH>..<HASH> 100644
--- a/test/EventExport/EventExportServiceTest.php
+++ b/test/EventExport/EventExportServiceTest.php
@@ -205,6 +205,9 @@ class EventExportServiceTest extends PHPUnit_Framework_TestCase
... | III-<I>: Test that the mailer does not get called when no e-mail address is provided | cultuurnet_udb3-php | train | php |
5d009b61b7a118755d1a81f46a10ac2253b5a96e | diff --git a/firebirdsql/wireprotocol.py b/firebirdsql/wireprotocol.py
index <HASH>..<HASH> 100644
--- a/firebirdsql/wireprotocol.py
+++ b/firebirdsql/wireprotocol.py
@@ -304,15 +304,15 @@ class WireProtocol:
elif t == bool:
v = bytes([1, 0, 0, 0]) if p else bytes([0, 0, 0, 0])
... | null blr set as blank string | nakagami_pyfirebirdsql | train | py |
6bfd5722dd086905594b0b8e07547086489b21d4 | diff --git a/injecting.py b/injecting.py
index <HASH>..<HASH> 100644
--- a/injecting.py
+++ b/injecting.py
@@ -1,6 +1,7 @@
import inspect
import re
+import types
import binding
import errors
@@ -73,9 +74,7 @@ class _Injector(object):
def _provide_class(self, cls, binding_key_stack):
init_kwargs ... | Replace hard-coding some objects' __init__ methods with checking to see whether __init__ is a normal method. | google_pinject | train | py |
abb10b78b19782e1b402d1b2fd5cb291e07b2033 | diff --git a/tracktotrip/location.py b/tracktotrip/location.py
index <HASH>..<HASH> 100644
--- a/tracktotrip/location.py
+++ b/tracktotrip/location.py
@@ -144,7 +144,10 @@ def infer_location(point, location_query, max_distance, google_key, limit):
locations = locations[:limit]
- return Location(locations[0]... | Fix invalid index for places without known locations | ruipgil_TrackToTrip | train | py |
5eb22c9f5265c9acdc4704c52d0085471cdd1a3e | diff --git a/test/utils-css-test.js b/test/utils-css-test.js
index <HASH>..<HASH> 100644
--- a/test/utils-css-test.js
+++ b/test/utils-css-test.js
@@ -46,5 +46,17 @@ var should = require('should')
paths.should.containEql('i.css');
});
+
+ it('should not return duplicate paths', function(){
+ ... | Add not duplicated paths test for css utils | website-scraper_node-website-scraper | train | js |
b8351c8ddd33d9577a6a1fb3cda277563e29e4d1 | diff --git a/tests/api_tests.py b/tests/api_tests.py
index <HASH>..<HASH> 100644
--- a/tests/api_tests.py
+++ b/tests/api_tests.py
@@ -149,14 +149,12 @@ class TestProcessStdout(Base):
self.process.stdout("foo\n")
self.process.stdout("bar")
self.process.stdout("\n")
- self.assertTrue(se... | rm process.is_alive after all output has been matched | cs50_check50 | train | py |
ac2182b4b9efff7efd4473e26dc9f6de0e426459 | diff --git a/Carew/Carew.php b/Carew/Carew.php
index <HASH>..<HASH> 100644
--- a/Carew/Carew.php
+++ b/Carew/Carew.php
@@ -7,7 +7,7 @@ use Symfony\Component\Console\Command\Command;
class Carew
{
- const VERSION = '1.3.0';
+ const VERSION = '1.4.0-dev';
private $container;
private $application; | bumped version to <I>-DEV | carew_carew | train | php |
e5e56937d6fadcd2fc83f7c28008234c2f6087c7 | diff --git a/environs/azure/environ.go b/environs/azure/environ.go
index <HASH>..<HASH> 100644
--- a/environs/azure/environ.go
+++ b/environs/azure/environ.go
@@ -694,14 +694,10 @@ func (env *azureEnviron) Destroy(ensureInsts []instance.Instance) error {
logger.Debugf("destroying environment %q", env.name)
// Del... | deleting container also removes its blobs | juju_juju | train | go |
c1f26233c55c58292f61d5213bead829fb6d8d42 | diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index <HASH>..<HASH> 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -140,7 +140,7 @@ class EnvelopeEditCommand(Command):
# go through multiline, utf-8 encoded headers
key = value = None
f... | make envelope.edit respect black/whitelists | pazz_alot | train | py |
15f94ddbb6f1537bb5a8651c08a4c4fa592879a7 | diff --git a/guava/src/com/google/common/base/Splitter.java b/guava/src/com/google/common/base/Splitter.java
index <HASH>..<HASH> 100644
--- a/guava/src/com/google/common/base/Splitter.java
+++ b/guava/src/com/google/common/base/Splitter.java
@@ -320,10 +320,10 @@ public final class Splitter {
* or the maximum size... | Fix typo in Splitter.limit javadoc.
Also, grammar pedantry: "including the last" is a parenthetical but was missing a comma. Adding a third comma was too many, so I moved it to the end.
-------------
Created by MOE: <URL> | google_guava | train | java |
b08df76934d4d1065fbecc762d9cc94a12f6e343 | diff --git a/dedupe/levenshtein.py b/dedupe/levenshtein.py
index <HASH>..<HASH> 100644
--- a/dedupe/levenshtein.py
+++ b/dedupe/levenshtein.py
@@ -15,6 +15,7 @@ class LevenshteinIndex(Index):
Levenshtein_search.add_string(self.index_key, doc)
def unindex(self, doc):
+ raise NotImplementedErro... | raise not implemented error based on problem in levenshein search | dedupeio_dedupe | train | py,py |
fafd46145c16d839b0da1efaa1759a40215e1270 | diff --git a/lib/ui/datepicker/datepicker.js b/lib/ui/datepicker/datepicker.js
index <HASH>..<HASH> 100644
--- a/lib/ui/datepicker/datepicker.js
+++ b/lib/ui/datepicker/datepicker.js
@@ -154,10 +154,15 @@
}
}
-
avDatepicker.init();
avDatepicker.setNgModel(ngModel);
+ ele... | datepicker should update value when date has changed | Availity_availity-angular | train | js |
b481da816f27d035b087293de7858038054e6fe8 | diff --git a/bcbio/bam/__init__.py b/bcbio/bam/__init__.py
index <HASH>..<HASH> 100644
--- a/bcbio/bam/__init__.py
+++ b/bcbio/bam/__init__.py
@@ -48,7 +48,7 @@ def is_paired(bam_file):
"""
bam_file = objectstore.cl_input(bam_file)
cmd = ("set -o pipefail; "
- "samtools view -h {bam_file} | hea... | Fix incorrect paired call on BAMs with many contigs
For transcriptome BAM files, the header can be very large, so subsetting
down to just the first <I>k lines keeps us still in the header. | bcbio_bcbio-nextgen | train | py |
4ef5723c06c2fa7b3f07ea91c7e218925700c47a | diff --git a/src/ClientInterface.php b/src/ClientInterface.php
index <HASH>..<HASH> 100644
--- a/src/ClientInterface.php
+++ b/src/ClientInterface.php
@@ -12,6 +12,9 @@ use Psr\Http\Message\UriInterface;
*/
interface ClientInterface
{
+ /**
+ * @deprecated Will be removed in Guzzle 7.0.0
+ */
const ... | Deprecate ClientInterface::VERSION (#<I>) | guzzle_guzzle | train | php |
d59d1f52f697f0580b86843ef754a80d4f499e97 | diff --git a/lib/redis_failover/client.rb b/lib/redis_failover/client.rb
index <HASH>..<HASH> 100644
--- a/lib/redis_failover/client.rb
+++ b/lib/redis_failover/client.rb
@@ -255,7 +255,7 @@ module RedisFailover
return unless nodes_changed?(nodes)
purge_clients
- logger.info("Building n... | friendlier logging for <I> | ryanlecompte_redis_failover | train | rb |
d3ed6b8d2daa6bab15293d4708c55bf6ad405f8d | diff --git a/src/Contracts/Models/View.php b/src/Contracts/Models/View.php
index <HASH>..<HASH> 100644
--- a/src/Contracts/Models/View.php
+++ b/src/Contracts/Models/View.php
@@ -23,9 +23,9 @@ use Illuminate\Database\Eloquent\Relations\MorphTo;
interface View
{
/**
- * Create the polymorphic relation.
+ ... | refactor: update View interface
See <I> | cyrildewit_eloquent-viewable | train | php |
fa0b9d0e0f9cedf88c2fbb98408fb2b5d2146777 | diff --git a/hangups/user.py b/hangups/user.py
index <HASH>..<HASH> 100644
--- a/hangups/user.py
+++ b/hangups/user.py
@@ -58,10 +58,10 @@ class User:
"""The user's profile photo URL (:class:`str`)."""
self.canonical_email = canonical_email
- """The user's email address (:class:`str`)."""
+ ... | Fix User.emails type in docstring | tdryer_hangups | train | py |
ba4108e93cd431452b9ce4dba8e934b5315fbc29 | diff --git a/src/main/java/com/vdurmont/emoji/Emoji.java b/src/main/java/com/vdurmont/emoji/Emoji.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/vdurmont/emoji/Emoji.java
+++ b/src/main/java/com/vdurmont/emoji/Emoji.java
@@ -52,8 +52,8 @@ public class Emoji {
offset += Character.charCount(c... | Fixed bug that included null in code | vdurmont_emoji-java | train | java |
88062121261024f2f9f2c02a0381286fe54f55a5 | diff --git a/src/bosh/monitor/monit/http_monit_client.go b/src/bosh/monitor/monit/http_monit_client.go
index <HASH>..<HASH> 100644
--- a/src/bosh/monitor/monit/http_monit_client.go
+++ b/src/bosh/monitor/monit/http_monit_client.go
@@ -8,6 +8,7 @@ import (
"io/ioutil"
"net/http"
"net/url"
+ "path"
"strings"
)
... | ensure path in monit uri starts with a "/" | cloudfoundry_bosh-agent | train | go |
f89504b5f6eb1e5bae5aca311a3b29c4af69f790 | diff --git a/lib/oanda_api/streaming/json_parser.rb b/lib/oanda_api/streaming/json_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/oanda_api/streaming/json_parser.rb
+++ b/lib/oanda_api/streaming/json_parser.rb
@@ -5,6 +5,8 @@ module OandaAPI
#
# Used to deserialize a stream of JSON objects. Will load and use... | Attribute multi_json for code borrowed in Streaming::JsonParser | nukeproof_oanda_api | train | rb |
2a8be4bdbec5f37c1eb34be7cf346640b8d1dcbd | diff --git a/jsmin/test.py b/jsmin/test.py
index <HASH>..<HASH> 100644
--- a/jsmin/test.py
+++ b/jsmin/test.py
@@ -325,5 +325,12 @@ var foo = "hey";
original = '/a (a)/.test("a")'
self.assertMinified(original, original)
+ def test_angular_1(self):
+ original = '''var /** holds major v... | Failing test from issue #<I>
--HG--
branch : stable | tikitu_jsmin | train | py |
c1fe441481eb9b1e863d7aae94f50802516b2519 | diff --git a/lib/ezfile/classes/ezfile.php b/lib/ezfile/classes/ezfile.php
index <HASH>..<HASH> 100644
--- a/lib/ezfile/classes/ezfile.php
+++ b/lib/ezfile/classes/ezfile.php
@@ -191,10 +191,7 @@ class eZFile
}
if( $mkdir )
{
- if( !is_dir( dirname( $destFile ) ) )
- {
-... | Fixed #<I>: Using images (image datatype) not working in DFS cluster mode on oracle
No need to check if dir exists, eZDir::mkdir already does this check and when something does not exist those stat calls are not cached by php. | ezsystems_ezpublish-legacy | train | php |
5eb5df59d970e69d94726bebecfde46b67cc1e1c | diff --git a/client/lib/signup/step-actions.js b/client/lib/signup/step-actions.js
index <HASH>..<HASH> 100644
--- a/client/lib/signup/step-actions.js
+++ b/client/lib/signup/step-actions.js
@@ -142,6 +142,9 @@ export function createSiteWithCart( callback, dependencies, stepData, reduxStore
const siteSegment = getSit... | Pass the current nav flow to the site creation API (#<I>) | Automattic_wp-calypso | train | js |
073b71ec7434bab4a9a6018f5a67295b83723777 | diff --git a/test/style.js b/test/style.js
index <HASH>..<HASH> 100644
--- a/test/style.js
+++ b/test/style.js
@@ -1,7 +1,14 @@
+var contextual = require('jsss-contextual');
+var _ = require('underscore');
+
tags.H1.color = 'red';
tags.H1.fontSize = '15px';
-tags.H2.color = 'blue';
-tags.H2.fontSize = '10px';
+
+// u... | Use underscore and jsss-contextual | watilde_jsss-compiler | train | js |
dad0cc7cdc6b6cb00ad0085933fe52991214d184 | diff --git a/src/bezier/__init__.py b/src/bezier/__init__.py
index <HASH>..<HASH> 100644
--- a/src/bezier/__init__.py
+++ b/src/bezier/__init__.py
@@ -69,7 +69,7 @@ except ImportError as exc: # pragma: NO COVER
# and related. This is **entirely** to accomodate builds where
# ``bezier`` is imported from s... | Updating the hardcoded version. | dhermes_bezier | train | py |
664508a03ca4e20be307f69f597466f89e9e6312 | diff --git a/internal/signer/v4/v4.go b/internal/signer/v4/v4.go
index <HASH>..<HASH> 100644
--- a/internal/signer/v4/v4.go
+++ b/internal/signer/v4/v4.go
@@ -317,8 +317,10 @@ func (v4 *signer) bodyDigest() string {
// isRequestSigned returns if the request is currently signed or presigned
func (v4 *signer) isReque... | Simplified check for v4 signed | aws_aws-sdk-go | train | go |
b8d0b969499b98710d98ddd681e3501287edbd13 | diff --git a/lib/3scale/core/version.rb b/lib/3scale/core/version.rb
index <HASH>..<HASH> 100644
--- a/lib/3scale/core/version.rb
+++ b/lib/3scale/core/version.rb
@@ -1,5 +1,5 @@
module ThreeScale
module Core
- VERSION = '1.2.3'
+ VERSION = '1.2.4'
end
end | core: bugfix release <I> | 3scale_pisoni | train | rb |
88fc250c8bbcdcde8fb86ac74643688c07880ebd | diff --git a/rpg2d/quad/quad.go b/rpg2d/quad/quad.go
index <HASH>..<HASH> 100644
--- a/rpg2d/quad/quad.go
+++ b/rpg2d/quad/quad.go
@@ -164,19 +164,12 @@ func (q quadLeaf) Insert(e entity.Entity) Quad {
q.collidables = append(q.collidables, ce)
}
+ //fmt.Printf("actual size: %d maxSize: %d\n", len(q.entities), q.... | Remove these unnecessary panics
| Call to divide is now guarded for these cases | ghthor_filu | train | go |
6413d37a5faef63337bc032f5719103101340b9b | diff --git a/custodian/custodian.py b/custodian/custodian.py
index <HASH>..<HASH> 100644
--- a/custodian/custodian.py
+++ b/custodian/custodian.py
@@ -509,6 +509,7 @@ class ScratchDir(object):
shutil.copy(f, tempdir)
os.symlink(tempdir, ScratchDir.SCR_LINK)
os.chdir(tempdir)
+... | Fix very bad bug in tempdir deletion. | materialsproject_custodian | train | py |
cf545d9fa7d89ab18e7421048089ef3e51e02fa8 | diff --git a/src/dom2canvas.js b/src/dom2canvas.js
index <HASH>..<HASH> 100644
--- a/src/dom2canvas.js
+++ b/src/dom2canvas.js
@@ -95,11 +95,11 @@ export default function(elem, options) {
const context = canvas.getContext("2d");
context.scale(options.scale * ratio, options.scale * ratio);
- context.clearRect(0... | Export png background in proper ratio | d3plus_d3plus-export | train | js |
ef7fe8f34f679c243ba2fa0ce0d3a2e678181f7d | diff --git a/js/cram/cramReader.js b/js/cram/cramReader.js
index <HASH>..<HASH> 100644
--- a/js/cram/cramReader.js
+++ b/js/cram/cramReader.js
@@ -149,6 +149,7 @@ class CramReader {
const records = await this.indexedCramFile.getRecordsForRange(chrIdx, bpStart, bpEnd);
for (let record... | Add default filters to CRAM decoder (including filter duplicates). Fixes #<I> | igvteam_igv.js | train | js |
43c64235177c71945adbbaa00a8c8e4c62b6b26d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ with open('README.md') as file:
long_description = file.read().partition('<!-- END long_description -->')[0]
setup(name='caniusepython3',
- version='1.1.0',
+ version='1.2.0',
description=... | Bump the version # for -r taking multiple files | brettcannon_caniusepython3 | train | py |
cfe17f5810eccc3322cc4f460e98663be5d6e82c | diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java b/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java
index <HASH>..<HASH> 100644
--- a/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java
+++ b/azure-client-runtime/src/main/java/com/microsoft/... | Fix regression on lros (#<I>) | Azure_autorest-clientruntime-for-java | train | java |
26517036941d2810a59ca1eac2931ed863e730f1 | diff --git a/cluster/sge_interface.py b/cluster/sge_interface.py
index <HASH>..<HASH> 100644
--- a/cluster/sge_interface.py
+++ b/cluster/sge_interface.py
@@ -36,7 +36,7 @@ def create_script(job_name, job_directory,
try: assert(int(scratch_space_in_GB) > 0 and str(scratch_space_in_GB).isdigit())
except: raise... | Fragments.
Relaxing regex. | Kortemme-Lab_klab | train | py |
2c2b84f93c6eb1a170467c1340a4eeddfa13f7da | diff --git a/actionpack/test/template/javascript_helper_test.rb b/actionpack/test/template/javascript_helper_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/template/javascript_helper_test.rb
+++ b/actionpack/test/template/javascript_helper_test.rb
@@ -13,8 +13,13 @@ class JavaScriptHelperTest < ActionView::T... | Javascript tests expects the old default of escaping HTML, make it so for now | rails_rails | train | rb,rb |
9250b0ce4522e5c4e6073f81cff547fceadcbe43 | diff --git a/lib/gpx/gpx.rb b/lib/gpx/gpx.rb
index <HASH>..<HASH> 100644
--- a/lib/gpx/gpx.rb
+++ b/lib/gpx/gpx.rb
@@ -21,7 +21,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#++
module GPX
- VERSION = "0.3"
+ VERSION = "0.4"
# A common base class which provides a useful initializer me... | Revving to <I>. | dougfales_gpx | train | rb |
dcaea2a2a0b298c5d8c3e6d83d9de8e3fb03bef7 | diff --git a/jhub_cas_authenticator/cas_auth.py b/jhub_cas_authenticator/cas_auth.py
index <HASH>..<HASH> 100644
--- a/jhub_cas_authenticator/cas_auth.py
+++ b/jhub_cas_authenticator/cas_auth.py
@@ -89,6 +89,8 @@ class CASLoginHandler(BaseHandler):
avatar = self.user_from_username(user)
self.set_login... | BUGFIX: CASLocalAuthenticator did not create users on loin; only on jupyterhub service startup. | cwaldbieser_jhub_cas_authenticator | train | py |
8dff3be69a68747ce0ef7d89e1fe3512226f6c0b | diff --git a/core/src/main/java/ws/ament/hammock/core/config/CLIPropertySource.java b/core/src/main/java/ws/ament/hammock/core/config/CLIPropertySource.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/ws/ament/hammock/core/config/CLIPropertySource.java
+++ b/core/src/main/java/ws/ament/hammock/core/config/CLIP... | Use a private method for CLI init. | hammock-project_hammock | train | java |
046fc01571f62f5842888143ca424a597fc24ab8 | diff --git a/tests/unit/src/Engine/Elasticsearch/ElasticsearchAdapterTest.php b/tests/unit/src/Engine/Elasticsearch/ElasticsearchAdapterTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/src/Engine/Elasticsearch/ElasticsearchAdapterTest.php
+++ b/tests/unit/src/Engine/Elasticsearch/ElasticsearchAdapterTest.php
@@ -8... | <I> - Added unit test to check if insert method throws exception when mapping
data is empty. | g4code_data-mapper | train | php |
c1b48e9c702d7d3beb74e06e416c24c464102a8c | diff --git a/shinken/scheduler.py b/shinken/scheduler.py
index <HASH>..<HASH> 100644
--- a/shinken/scheduler.py
+++ b/shinken/scheduler.py
@@ -88,6 +88,7 @@ class Scheduler:
#Load conf for future use
def load_conf(self, conf):
+ self.program_start = time.time()
self.conf = conf
self... | Fix : program_start value was not accurate for export. Now it is. | Alignak-monitoring_alignak | train | py |
732534b944e1dfa204c25835e49c5592c13913ff | diff --git a/connection_test.go b/connection_test.go
index <HASH>..<HASH> 100644
--- a/connection_test.go
+++ b/connection_test.go
@@ -324,6 +324,7 @@ func TestPrepare(t *testing.T) {
testTranscode("select $1::int8", int64(1))
testTranscode("select $1::float4", float32(1.23))
testTranscode("select $1::float8", fl... | Add test for boolean transcoding | jackc_pgx | train | go |
d53c5278213ed5b5d822b670c99a01fc0551b99e | diff --git a/src/Factory.php b/src/Factory.php
index <HASH>..<HASH> 100644
--- a/src/Factory.php
+++ b/src/Factory.php
@@ -174,8 +174,6 @@ class Factory
throw new SaveFailedException($model);
}
- $this->triggerCallback($model, $obj);
-
return $obj;
}
@@ -230,6 +228,8 @@ cl... | Trigger the callback before we persist to the db | thephpleague_factory-muffin | train | php |
feb02d71869b4a0d4f2a05c56b4be6d3f64bfa8d | diff --git a/lib/protokoll/counter.rb b/lib/protokoll/counter.rb
index <HASH>..<HASH> 100644
--- a/lib/protokoll/counter.rb
+++ b/lib/protokoll/counter.rb
@@ -19,7 +19,7 @@ module Protokoll
private
def self.build_attrs(object, options)
- attrs = {counter_model_name: object.class.to_s.underscore}
+ ... | Add support for active type 'presenters' | celsodantas_protokoll | train | rb |
af224a8a485281b0d4e1e285642fcbaa8fe8fb1e | diff --git a/clientconn.go b/clientconn.go
index <HASH>..<HASH> 100644
--- a/clientconn.go
+++ b/clientconn.go
@@ -1037,6 +1037,10 @@ func (ac *addrConn) transportMonitor() {
default:
}
ac.mu.Lock()
+ if ac.state == connectivity.Shutdown {
+ ac.mu.Unlock()
+ return
+ }
// Set connectivity state to Tra... | Check ac state shutdown before setting it to TransientFailure (#<I>) | grpc_grpc-go | train | go |
e0e886995e5b174d6b537a261e057724b7f5c3a8 | diff --git a/lib/default-arch.js b/lib/default-arch.js
index <HASH>..<HASH> 100644
--- a/lib/default-arch.js
+++ b/lib/default-arch.js
@@ -71,10 +71,10 @@ exports.Arch = INHERIT({
},
createBlockLibrariesNodes: function(parent) {
- var libs = this.getLibraries(),
- res = [];
- for ... | Code cleanup of DefaultArch.createBlockLibrariesNodes() | bem-archive_bem-tools | train | js |
fda1332a5394182690f30f33148478a62f850b87 | diff --git a/lib/graphql/directive.rb b/lib/graphql/directive.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/directive.rb
+++ b/lib/graphql/directive.rb
@@ -7,7 +7,7 @@ module GraphQL
#
class Directive
include GraphQL::Define::InstanceDefinable
- accepts_definitions :locations, :name, :description, argu... | Allow defining directive arguments as an array | rmosolgo_graphql-ruby | train | rb,rb |
b000bc342382e4d23a364bfaa9b9be4503a87e17 | diff --git a/src/Http/Controllers/GoogleAnalyticsController.php b/src/Http/Controllers/GoogleAnalyticsController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/GoogleAnalyticsController.php
+++ b/src/Http/Controllers/GoogleAnalyticsController.php
@@ -38,7 +38,7 @@ class GoogleAnalyticsController extends Con... | Update try catch to work with php8 testing. | tightenco_nova-google-analytics | train | php |
732dd562cce93be6b07ec584b822170b809812cc | diff --git a/providers/openidConnect/openidConnect.go b/providers/openidConnect/openidConnect.go
index <HASH>..<HASH> 100644
--- a/providers/openidConnect/openidConnect.go
+++ b/providers/openidConnect/openidConnect.go
@@ -86,7 +86,7 @@ type RefreshTokenResponse struct {
// refresh token flow. As a result, a new refr... | Run go fmt on changes | markbates_goth | train | go |
033d4fe23650b05be20effc09b4a78ec8912eb75 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -21,11 +21,11 @@ module.exports = {
this.app.import('vendor/ember-d3-shim/ember-d3-shim.js');
},
treeForTestSupport: function () {
- return new Funnel('tests/helpers', {
- srcDir: '/',
- destDir: 'tests... | export test helpers to apps, closes #1 | ming-codes_ember-cli-d3 | train | js |
523816512213b4bfef98dfafd29885a504a5592c | diff --git a/tests/test_input_string_transform_factory.py b/tests/test_input_string_transform_factory.py
index <HASH>..<HASH> 100644
--- a/tests/test_input_string_transform_factory.py
+++ b/tests/test_input_string_transform_factory.py
@@ -75,6 +75,20 @@ def test_input_string_transform_factory_handles_us_locale(x, expec... | Add tests to challenge de locale
These tests make sure the locale number formatting regex works
correctly. | SethMMorton_natsort | train | py |
b734e59c4a95f54da400bbc52257381947546758 | diff --git a/src/UthandoCommon/Mapper/AbstractNestedSet.php b/src/UthandoCommon/Mapper/AbstractNestedSet.php
index <HASH>..<HASH> 100755
--- a/src/UthandoCommon/Mapper/AbstractNestedSet.php
+++ b/src/UthandoCommon/Mapper/AbstractNestedSet.php
@@ -284,7 +284,7 @@ abstract class AbstractNestedSet extends AbstractDbMapper... | made lgt_rgt 0 if no parent | uthando-cms_uthando-common | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.