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 |
|---|---|---|---|---|---|
53a373dfeb6775c3a9d6b7de742f3bdead7673c1 | diff --git a/lib/pact/consumer_contract/query.rb b/lib/pact/consumer_contract/query.rb
index <HASH>..<HASH> 100644
--- a/lib/pact/consumer_contract/query.rb
+++ b/lib/pact/consumer_contract/query.rb
@@ -99,7 +99,7 @@ module Pact
else
params[k] ||= {}
raise ParameterTypeError, "expected Hash (go... | fix: removed undefined depth from query | pact-foundation_pact-support | train | rb,rb |
eee81009580526dfe1844a2e750f7bc925e1487c | diff --git a/lib/sensu/settings.rb b/lib/sensu/settings.rb
index <HASH>..<HASH> 100644
--- a/lib/sensu/settings.rb
+++ b/lib/sensu/settings.rb
@@ -218,6 +218,20 @@ module Sensu
})
end
end
+ if check.has_key?(:low_flap_threshold)
+ unless check[:low_flap_threshold].is_a?(... | validate [low|high]_flap_thresholds | sensu_sensu | train | rb |
ab44967bbb72228cb5c92a0159d584e796192087 | diff --git a/packages/cozy-client/src/CozyClient.spec.js b/packages/cozy-client/src/CozyClient.spec.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-client/src/CozyClient.spec.js
+++ b/packages/cozy-client/src/CozyClient.spec.js
@@ -993,6 +993,16 @@ describe('CozyClient', () => {
)
})
+ it('should di... | test: Add test if no skip and no bookmark | cozy_cozy-client | train | js |
8150a21b41d7ce422e403b13d3d1a42d277a0dff | diff --git a/src/collection.js b/src/collection.js
index <HASH>..<HASH> 100644
--- a/src/collection.js
+++ b/src/collection.js
@@ -382,6 +382,15 @@
var id = data.id; // id is finalised, now let's keep a ref
+ if( ele.isNode() ){ // extra checks for nodes
+ var node = ele;
+ var pos = _priv... | Nodes with unspecified position dimensions set to 0 #<I> | cytoscape_cytoscape.js | train | js |
39f7d5010d033b1db009831e9efba3eb309f6bcf | diff --git a/test/framebuffer-simple.js b/test/framebuffer-simple.js
index <HASH>..<HASH> 100644
--- a/test/framebuffer-simple.js
+++ b/test/framebuffer-simple.js
@@ -370,12 +370,14 @@ tape('framebuffer', function (t) {
// this test doesn't seem to pass.
// TODO: fix
+ // we will uncomment this once issue #154... | test/framebuffer-simple.js: Add two TODOs. | regl-project_regl | train | js |
b5696003f7d33bf45f1769b8a26c5256a5309657 | diff --git a/src/chart/bar/BarSeries.js b/src/chart/bar/BarSeries.js
index <HASH>..<HASH> 100644
--- a/src/chart/bar/BarSeries.js
+++ b/src/chart/bar/BarSeries.js
@@ -33,9 +33,9 @@ define(function(require) {
// 默认自适应
// barWidth: null,
// 柱间距离,默认为柱形宽度的30%,可设固定值
- barGap... | barGap and barCategoryGap multiple series overwrite fix | apache_incubator-echarts | train | js |
c61be13a22110f5d2a96f2d4211c6134aa2296e9 | diff --git a/shared/actions/teams.js b/shared/actions/teams.js
index <HASH>..<HASH> 100644
--- a/shared/actions/teams.js
+++ b/shared/actions/teams.js
@@ -543,7 +543,11 @@ function* createNewTeamFromConversation(state, action) {
)
}
}
- yield Saga.put(Chat2Gen.createPreviewConversation({... | fix convert to team flow (#<I>) | keybase_client | train | js |
3b8dc6abbc17b07e68b838f939a461b288d08400 | diff --git a/lib/puppet/pgraph.rb b/lib/puppet/pgraph.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/pgraph.rb
+++ b/lib/puppet/pgraph.rb
@@ -158,11 +158,6 @@ class Puppet::PGraph < GRATR::Digraph
next
end
add_edge!(s, t, edge.label)
- ... | Removing the cycle checks from the splice! method in pgraph, which *considerably* speeds up splicing of very large graphs.
git-svn-id: <URL> | puppetlabs_puppet | train | rb |
db8f50983948a044980e2ffb24ac875c8adbdc55 | diff --git a/tests/unit/src/AbstractQueryTest.php b/tests/unit/src/AbstractQueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/src/AbstractQueryTest.php
+++ b/tests/unit/src/AbstractQueryTest.php
@@ -40,6 +40,10 @@ abstract class AbstractQueryTest extends \PHPUnit_Framework_TestCase
$actual = preg_repla... | Remove all line endings from queries to be sure tests will pass on windows and mac | auraphp_Aura.SqlQuery | train | php |
762401121896671e5abc942ae51ac7622d70e9e4 | diff --git a/client/boot/index.js b/client/boot/index.js
index <HASH>..<HASH> 100644
--- a/client/boot/index.js
+++ b/client/boot/index.js
@@ -19,7 +19,6 @@ var React = require( 'react' ),
qs = require( 'querystring' ),
injectTapEventPlugin = require( 'react-tap-event-plugin' ),
i18n = require( 'i18n-calypso' ),
... | Framework: Fix visible sidebar on theme info in Safari (#<I>)
* Framework: Fix layout unmount in Safari
isEmpty() not a suitable method for testing return value of
`getElementsByClassName` across all browsers, since type of
returned collection differs. Testing length property works
for all return types.
Fixes... | Automattic_wp-calypso | train | js |
bfd2f3ea5dcd6d487cf5c1636b1b3cf9b7b81c8d | diff --git a/cli/Valet/Brew.php b/cli/Valet/Brew.php
index <HASH>..<HASH> 100644
--- a/cli/Valet/Brew.php
+++ b/cli/Valet/Brew.php
@@ -8,6 +8,7 @@ class Brew
{
const SUPPORTED_PHP_VERSIONS = [
'php',
+ 'php@7.4',
'php@7.3',
'php@7.2',
'php@7.1',
@@ -20,7 +21,7 @@ class B... | Updated SUPPORTED_PHP_VERSIONS and LATEST_PHP_VERSION constants to <I> | laravel_valet | train | php |
5283fa661e82ca2b74661c6b629919c6b62bc13a | diff --git a/tests/integration/states/compiler.py b/tests/integration/states/compiler.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/compiler.py
+++ b/tests/integration/states/compiler.py
@@ -50,7 +50,8 @@ class CompileTest(integration.ModuleCase):
template = [
'{0}:'.format(managed... | Adapt tests to behaviour introduced in #<I> | saltstack_salt | train | py |
fbed2dec7ac9b38279e6c794b8f2d393b52653a4 | diff --git a/PrintJob.php b/PrintJob.php
index <HASH>..<HASH> 100755
--- a/PrintJob.php
+++ b/PrintJob.php
@@ -26,6 +26,7 @@ class PrintNode_PrintJob extends PrintNode_Entity
protected $filesize;
protected $createTimestamp;
protected $state;
+ protected $expireAt;
public function foreignKeyEnti... | Added missing property "expireAt" in PrintNode_PrintJob
The missing property caused an exception to be raised whenever the API returned a PrintJob. | PrintNode_PrintNode-PHP | train | php |
5f0f17e38df4943ae63723bd4791cc6ffd8a5c79 | diff --git a/pwkit/environments/sas/data.py b/pwkit/environments/sas/data.py
index <HASH>..<HASH> 100644
--- a/pwkit/environments/sas/data.py
+++ b/pwkit/environments/sas/data.py
@@ -432,5 +432,5 @@ class Lightcurve (GTIData, RegionData):
lines=False)
if ccdnum is not None:
... | pwkit/environments/sas/data.py: correct light curve plot axis | pkgw_pwkit | train | py |
30bc4d843422bdca0ece42a967d67588ce040f32 | diff --git a/core/ghost.js b/core/ghost.js
index <HASH>..<HASH> 100644
--- a/core/ghost.js
+++ b/core/ghost.js
@@ -230,6 +230,9 @@ Ghost.prototype.initTheme = function (app) {
var self = this;
return function initTheme(req, res, next) {
app.set('view engine', 'hbs');
+ // return the correct mi... | Fix for WOFF files
- get express to return the correct mime type for woff files | TryGhost_Ghost | train | js |
32c0436ee222f6ba2bcacdd4080af5409bb9ac34 | diff --git a/lib/express_templates/components/forms/form_component.rb b/lib/express_templates/components/forms/form_component.rb
index <HASH>..<HASH> 100644
--- a/lib/express_templates/components/forms/form_component.rb
+++ b/lib/express_templates/components/forms/form_component.rb
@@ -32,7 +32,7 @@ module ExpressTempl... | [#<I>] @config should take precedence | aelogica_express_templates | train | rb |
1c8573fac5104d51c6fb624f224952a27a6cf6b5 | diff --git a/azurerm/resource_arm_role_assignment.go b/azurerm/resource_arm_role_assignment.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_role_assignment.go
+++ b/azurerm/resource_arm_role_assignment.go
@@ -81,7 +81,7 @@ func resourceArmRoleAssignmentCreate(d *schema.ResourceData, meta interface{}) e
rol... | fix role assignment when using role definition name (#<I>) | terraform-providers_terraform-provider-azurerm | train | go |
7a06b5b1fb1339b17953173362403446eb40d687 | diff --git a/tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php b/tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
+++ b/tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
@@ -880,7 +880,7 @@ class QueryBuilderTest extends \D... | Update QueryBuilderTest.php
fixed typo | doctrine_dbal | train | php |
1ea825cb4655ec23b3f20f403081a63e4c2ced8a | diff --git a/src/MetaModels/Item.php b/src/MetaModels/Item.php
index <HASH>..<HASH> 100644
--- a/src/MetaModels/Item.php
+++ b/src/MetaModels/Item.php
@@ -526,7 +526,10 @@ class Item implements IItem
}
$event = new GetPageDetailsEvent($intJumpTo);
- $this->getEventDispatcher()->dispatch(Conta... | Do only look up the jumpTo page when one has been defined. | MetaModels_core | train | php |
99bfcb5093bee1110f075e94e941d7b2301c382a | diff --git a/src/app/Classes/TableInit.php b/src/app/Classes/TableInit.php
index <HASH>..<HASH> 100644
--- a/src/app/Classes/TableInit.php
+++ b/src/app/Classes/TableInit.php
@@ -169,11 +169,7 @@ class TableInit
Language::pluck('name')->each(function ($locale) {
$langFile = \File::exists(resource_... | fix #<I>. If a dt-lang file is missing it will take the corresponding file for config(app.falback_locale) instead. The missing file will still need to be added to the lib | laravel-enso_DataTable | train | php |
0170b77016742f1a6d189f800c244d3231ca645a | diff --git a/code/Addressable.php b/code/Addressable.php
index <HASH>..<HASH> 100644
--- a/code/Addressable.php
+++ b/code/Addressable.php
@@ -54,7 +54,13 @@ class Addressable extends DataObjectDecorator {
}
public function updateCMSFields($fields) {
- $fields->addFieldsToTab('Root.Content.Address', $this->getAd... | BUGFIX: Updated Addressable::updateCMSFields() to work when the Content tab is not available (i.e. it is not applied to a SiteTree object). | symbiote_silverstripe-addressable | train | php |
86787303ca2b02a680c86dc369396f8ca7406c98 | diff --git a/lib/defaults/router.js b/lib/defaults/router.js
index <HASH>..<HASH> 100644
--- a/lib/defaults/router.js
+++ b/lib/defaults/router.js
@@ -31,21 +31,10 @@ Router.prototype.parse = function (filepath) {
};
Router.prototype.error = function (code, error) {
-
- // Create a JSON stringify able error object... | [cleanup] JSON.stringify is no longer used | AndreasMadsen_piccolo | train | js |
056d7ecda3cb2bc457bdfd1b0b5735727f849d35 | diff --git a/lenstronomy/Util/util.py b/lenstronomy/Util/util.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Util/util.py
+++ b/lenstronomy/Util/util.py
@@ -395,6 +395,18 @@ def points_on_circle(radius, num_points):
def neighborSelect(a, x, y):
"""
#TODO replace by from scipy.signal import argrelextrema fo... | todo list added for speed-up | sibirrer_lenstronomy | train | py |
a21d833dbc0e020d9864984bdc353927c6f36db2 | diff --git a/itest/src/test/java/org/ops4j/pax/web/itest/WhiteboardRootFilterTCIntegrationTest.java b/itest/src/test/java/org/ops4j/pax/web/itest/WhiteboardRootFilterTCIntegrationTest.java
index <HASH>..<HASH> 100644
--- a/itest/src/test/java/org/ops4j/pax/web/itest/WhiteboardRootFilterTCIntegrationTest.java
+++ b/ites... | disabled the still failing test for PAXWEB-<I> | ops4j_org.ops4j.pax.web | train | java |
2cad888667f761486aea47b4e98d9ca10c189361 | diff --git a/js/data/validator/EmailValidator.js b/js/data/validator/EmailValidator.js
index <HASH>..<HASH> 100644
--- a/js/data/validator/EmailValidator.js
+++ b/js/data/validator/EmailValidator.js
@@ -3,7 +3,7 @@ define(['js/data/validator/RegExValidator'], function (RegExValidator) {
return RegExValidator.inher... | set TLD max length in Email Validator to 6 | rappid_rAppid.js | train | js |
c1c522760ec499405e66d13be8554ec639c298d0 | diff --git a/inflect.py b/inflect.py
index <HASH>..<HASH> 100644
--- a/inflect.py
+++ b/inflect.py
@@ -593,7 +593,7 @@ pl_sb_uninflected_s_complete = [
"mumps",
# MISCELLANEOUS OTHERS...
- "diabetes", "jackanapes", "series", "species", "rabies",
+ "diabetes", "jackanapes", "series", "species", "subspecies... | Add "subspecies" to the self-plural list, because I was getting "subspecy" from singular_noun when running over some Wikipedia data. | jazzband_inflect | train | py |
ce4563370cbbee2d67e86f1ba4668cce16b2cd03 | diff --git a/cmd/xl-sets.go b/cmd/xl-sets.go
index <HASH>..<HASH> 100644
--- a/cmd/xl-sets.go
+++ b/cmd/xl-sets.go
@@ -1010,9 +1010,6 @@ func (s *xlSets) ReloadFormat(ctx context.Context, dryRun bool) (err error) {
// If it is a single node XL and all disks are root disks, it is most likely a test setup, else it is a ... | Distributed: Allow healing if all disks are on root partitions (#<I>)
If all the disks are on root partitions in distributed mode, consider it
to be a test setup and allow healing to proceed.
Fixes #<I> | minio_minio | train | go |
83bf087d4965db4a16b757be60d985ccf9740014 | diff --git a/src/jottalib/cli.py b/src/jottalib/cli.py
index <HASH>..<HASH> 100644
--- a/src/jottalib/cli.py
+++ b/src/jottalib/cli.py
@@ -435,6 +435,7 @@ def mkdir(argv=None):
argv = sys.argv[1:]
parser = argparse.ArgumentParser(description='Create a new folder in Jottacloud.')
parser.add_argument('... | Make sure arguments to cli commands are properly decoded | havardgulldahl_jottalib | train | py |
7c449450d8d9f69f150c49a238cd88e483d6a749 | diff --git a/dlkit/records/repository/edx/utilities.py b/dlkit/records/repository/edx/utilities.py
index <HASH>..<HASH> 100644
--- a/dlkit/records/repository/edx/utilities.py
+++ b/dlkit/records/repository/edx/utilities.py
@@ -82,7 +82,7 @@ class EdXUtilitiesMixin(object):
fixed_path = remove_redundant_drafts(... | set correct file permissions on olx export | mitsei_dlkit | train | py |
1d13a65607189db4373604e342170fa180158883 | diff --git a/src/test/java/io/vlingo/http/sample/user/ProfileResource.java b/src/test/java/io/vlingo/http/sample/user/ProfileResource.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/vlingo/http/sample/user/ProfileResource.java
+++ b/src/test/java/io/vlingo/http/sample/user/ProfileResource.java
@@ -34,12 +34,11 ... | Refactored to support new Completes<T> nested async actions. | vlingo_vlingo-http | train | java |
9d99e44aca1ec1430131cfabeceb4ec96e408757 | diff --git a/nodeshot/ui/default/static/ui/nodeshot/js/utils.js b/nodeshot/ui/default/static/ui/nodeshot/js/utils.js
index <HASH>..<HASH> 100755
--- a/nodeshot/ui/default/static/ui/nodeshot/js/utils.js
+++ b/nodeshot/ui/default/static/ui/nodeshot/js/utils.js
@@ -159,13 +159,15 @@
*/
$.toggleLoading = function... | UI: improved loading indicator automatic width calculation | ninuxorg_nodeshot | train | js |
e697537e98c0927e3ab9f0931e8031880b3f3ddd | diff --git a/src/di/Container.js b/src/di/Container.js
index <HASH>..<HASH> 100644
--- a/src/di/Container.js
+++ b/src/di/Container.js
@@ -122,11 +122,10 @@ module.exports = class Container {
/**
* Registers an object instance in the container
- * @param {Object} instance Object instance to register
+ * @para... | - removed object requirement from container.registerInstance | snatalenko_node-cqrs | train | js |
e5ddc22dd3201d54d41a9217f843223ae7ac34bb | diff --git a/lib/daemon/runner.js b/lib/daemon/runner.js
index <HASH>..<HASH> 100644
--- a/lib/daemon/runner.js
+++ b/lib/daemon/runner.js
@@ -103,11 +103,7 @@ Runner.prototype.stop = function(exit, callback) {
Runner.prototype.sendToController = function(task) {
var task_json = JSON.stringify(task);
- try {
- ... | Remove try-catch block from Runner | meetings_gearsloth | train | js |
f74d0f10daeba2f7ce86d17e3edd31816a3d8cb3 | diff --git a/chevron/renderer.py b/chevron/renderer.py
index <HASH>..<HASH> 100644
--- a/chevron/renderer.py
+++ b/chevron/renderer.py
@@ -86,7 +86,7 @@ def _get_key(key, scopes):
return scope
except AttributeError:
return scope or ''
- except (AttributeError, K... | Catch ValueError when trying to parse keys as int | noahmorrison_chevron | train | py |
c8db766be427da39c9ae84cf8546223b8f11f85c | diff --git a/discord/app_commands/namespace.py b/discord/app_commands/namespace.py
index <HASH>..<HASH> 100644
--- a/discord/app_commands/namespace.py
+++ b/discord/app_commands/namespace.py
@@ -142,7 +142,8 @@ class Namespace:
self.__dict__[name] = value
elif opt_type == 10: # number
... | Fix empty strings crashing Namespace for float options
This feels like a Discord bug to me but it's causing issues | Rapptz_discord.py | train | py |
10f877e7b17f3c623f386b17fc812e80eabb2cd9 | diff --git a/lib/faker/internet.rb b/lib/faker/internet.rb
index <HASH>..<HASH> 100644
--- a/lib/faker/internet.rb
+++ b/lib/faker/internet.rb
@@ -44,7 +44,7 @@ module Faker
].sample
end
- def password(min_length = 8, max_length = 16, mix_case = true, special_chars = true)
+ def password(min... | Set default for special chars in password to false and added inverse test | stympy_faker | train | rb,rb |
5b254cd6352151c22355d8596f6b3d3cba9b96ed | diff --git a/app/controllers/front_end_builds/apps_controller.rb b/app/controllers/front_end_builds/apps_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/front_end_builds/apps_controller.rb
+++ b/app/controllers/front_end_builds/apps_controller.rb
@@ -5,14 +5,16 @@ module FrontEndBuilds
respond_to :... | appropriate controller responses in lieu of ams | tedconf_front_end_builds | train | rb |
8c14a0ded6ff84a695396fee781b8488a45f0f0a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup(
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_ver... | Added the version for the new release | stedmeister_easyargs | train | py |
9488de134706619259a59ade6b3eecbabce64780 | diff --git a/songpal/main.py b/songpal/main.py
index <HASH>..<HASH> 100644
--- a/songpal/main.py
+++ b/songpal/main.py
@@ -58,8 +58,8 @@ logging.getLogger("websockets.protocol").setLevel(logging.WARNING)
pass_dev = click.make_pass_decorator(Protocol)
-@click.group(invoke_without_command=True)
-@click.option("--end... | make endpoint optional for discover, remove automatic invocation of status as the event loop is already running at that point | rytilahti_python-songpal | train | py |
ec92b40ed3e70decaf72ba70a519d167f5e6d2bb | diff --git a/src/Psalm/Checker/StatementsChecker.php b/src/Psalm/Checker/StatementsChecker.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Checker/StatementsChecker.php
+++ b/src/Psalm/Checker/StatementsChecker.php
@@ -419,8 +419,13 @@ class StatementsChecker extends SourceChecker implements StatementsSource
... | If class checking fails for storage reasons, don’t quit analysis | vimeo_psalm | train | php |
7af9e8709284ed29ac9f14128d169bcbe83bcccd | diff --git a/src/Support/Field.php b/src/Support/Field.php
index <HASH>..<HASH> 100644
--- a/src/Support/Field.php
+++ b/src/Support/Field.php
@@ -140,7 +140,7 @@ abstract class Field
return function ($root, ...$arguments) use ($resolver) {
$middleware = $this->getMiddleware();
- retu... | Don't use Facade which won't work in Lumen | rebing_graphql-laravel | train | php |
ffc26f0b78b3b9201ddd210e7a79866cacfe8e64 | diff --git a/rapport/report.py b/rapport/report.py
index <HASH>..<HASH> 100644
--- a/rapport/report.py
+++ b/rapport/report.py
@@ -90,7 +90,10 @@ def create_report(plugins, timeframe):
try:
res = future.result()
if rapport.config.get_int("rapport", "verbosity") >= 2:
- ... | truncate plugin results if necessary
The results dict can get huge and push urxvt-<I>-color into an infinite
loop for some reason. | saschpe_rapport | train | py |
e7e0501b534c34ac74863e7a25723f5a3d6bd2a0 | diff --git a/Gemfile.lock b/Gemfile.lock
index <HASH>..<HASH> 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- forever_style_guide (3.2.0)
+ forever_style_guide (3.2.1)
bootstrap-sass
font-awesome-rails
jquery-rails
diff --git a/app/helpers/forever_s... | Minor Version bump to <I> to fix projects url bug (#<I>)
* link to projects instead of library
* minor version bump | forever-inc_forever-style-guide | train | lock,rb,rb |
90b6146c77ad020fc3c67d8e39cc53ce80a27101 | diff --git a/django_collect_offline/admin.py b/django_collect_offline/admin.py
index <HASH>..<HASH> 100644
--- a/django_collect_offline/admin.py
+++ b/django_collect_offline/admin.py
@@ -21,7 +21,8 @@ class TransactionModelAdminMixin:
def view(self, obj):
url = reverse(
"django_collect_offlin... | set autocomplete_fields to null | erikvw_django-collect-offline | train | py |
63601932fdcfc6af6fc0543f2a06b97450c587c5 | diff --git a/wafer/compare/admin.py b/wafer/compare/admin.py
index <HASH>..<HASH> 100644
--- a/wafer/compare/admin.py
+++ b/wafer/compare/admin.py
@@ -77,7 +77,7 @@ class CompareVersionAdmin(VersionAdmin):
the_diff = []
dmp = diff_match_patch()
- for field in current.field_dict:
+ for ... | Search for differences over keys from both the current and old revisions, to include removed fields | CTPUG_wafer | train | py |
6b9324ca39aff0c94731af8df8f1f8fedb532260 | diff --git a/types.go b/types.go
index <HASH>..<HASH> 100644
--- a/types.go
+++ b/types.go
@@ -2,6 +2,7 @@ package tgbotapi
import (
"encoding/json"
+ "fmt"
"time"
)
@@ -178,6 +179,13 @@ type File struct {
FilePath string `json:"file_path"`
}
+// Link returns a full path to the download URL for a File.
+... | helper method to generate a link for a file | go-telegram-bot-api_telegram-bot-api | train | go |
a19526f98684278a32495fc618d2d74e356928e1 | diff --git a/bat/lib/bat/bosh_helper.rb b/bat/lib/bat/bosh_helper.rb
index <HASH>..<HASH> 100644
--- a/bat/lib/bat/bosh_helper.rb
+++ b/bat/lib/bat/bosh_helper.rb
@@ -67,11 +67,7 @@ module Bat
@logger.info("--> ssh options: #{options.inspect}")
Net::SSH.start(host, user, options) do |ssh|
- outpu... | never return nil from ssh | cloudfoundry_bosh | train | rb |
1f40d78961e5d268ac072dca86176f9fb2aa7b13 | diff --git a/cypress/integration/examples/cypress_api.spec.js b/cypress/integration/examples/cypress_api.spec.js
index <HASH>..<HASH> 100644
--- a/cypress/integration/examples/cypress_api.spec.js
+++ b/cypress/integration/examples/cypress_api.spec.js
@@ -219,6 +219,6 @@ context('Cypress.spec', () => {
it('Get curren... | relax the spec assertion a little bit | cypress-io_cypress-example-kitchensink | train | js |
c4640ac2dd42c1b46fcd80347966bf05f1ace13c | diff --git a/desktop/renderer/index.js b/desktop/renderer/index.js
index <HASH>..<HASH> 100644
--- a/desktop/renderer/index.js
+++ b/desktop/renderer/index.js
@@ -46,16 +46,6 @@ class Keybase extends Component {
constructor () {
super()
- // This net.connect() is a heinous hack.
- //
- // On Windows,... | Remove the net.connect hack from renderer | keybase_client | train | js |
b7fbb999b6305c5c611a10283edcc64f8fe58c06 | diff --git a/src/BotApi.php b/src/BotApi.php
index <HASH>..<HASH> 100644
--- a/src/BotApi.php
+++ b/src/BotApi.php
@@ -182,7 +182,7 @@ class BotApi
$response = $this->executeCurl($options);
if ($this->returnArray) {
- if (!$response['ok']) {
+ if (!isset($response['ok'])) {
... | check array key by isset
check array key by isset | TelegramBot_Api | train | php |
5890aed495155f8eb52ba66e7e30da3fa5da83b1 | diff --git a/lib/ecdsa.rb b/lib/ecdsa.rb
index <HASH>..<HASH> 100644
--- a/lib/ecdsa.rb
+++ b/lib/ecdsa.rb
@@ -42,7 +42,7 @@ module ECDSA
elsif digest.is_a?(Integer)
digest
else
- raise ArgumentError, "Digest must be a string or integer."
+ raise ArgumentError, 'Digest must be a string or int... | Added a spec for normalize_digest. | DavidEGrayson_ruby_ecdsa | train | rb,rb |
317529ed1fb21a3c99e415fb9c107d11cc3bd394 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,7 @@ setup(
zip_safe=False,
keywords='bigchaindb_driver',
classifiers=[
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 4 - Beta',
'Intended Audience :: Developers'... | changed development status from Alpha to Beta in setup.py | bigchaindb_bigchaindb-driver | train | py |
125a8abc117884f6ff574d7284f8c221cf90c7eb | diff --git a/src/LogList.php b/src/LogList.php
index <HASH>..<HASH> 100644
--- a/src/LogList.php
+++ b/src/LogList.php
@@ -76,6 +76,24 @@ class LogList {
return $this->logs[ max( array_keys( $this->logs ) ) ];
}
+ /**
+ * @since 0.6
+ * @return Log|null Log or null if there is no log
+ */
+ public function ge... | Add LogList isEmpty and getOldest | addwiki_mediawiki-datamodel | train | php |
9909283856fb3fa854951d31263974236e14218e | diff --git a/gluonnlp/model/block.py b/gluonnlp/model/block.py
index <HASH>..<HASH> 100644
--- a/gluonnlp/model/block.py
+++ b/gluonnlp/model/block.py
@@ -68,8 +68,21 @@ class RNNCellLayer(Block):
class L2Normalization(HybridBlock):
- def __init__(self, axis=-1, eps=1E-6, prefix=None, params=None):
- sup... | docstring L2Normalization (#<I>) | dmlc_gluon-nlp | train | py |
1990e84e7190539f2af80a0383c75f4157eb7a10 | diff --git a/nodeserver/src/server/proj3ct.js b/nodeserver/src/server/proj3ct.js
index <HASH>..<HASH> 100644
--- a/nodeserver/src/server/proj3ct.js
+++ b/nodeserver/src/server/proj3ct.js
@@ -850,7 +850,14 @@ var Commander = function(storage,clients,clientId,transaction,CB){
/*main*/
called = false;
... | correction to intellyPaste (wrong ids were copied)
Former-commit-id: <I>a<I>b<I>debef6ba<I>dfd4daed4f<I>ec | webgme_webgme-engine | train | js |
c66ed02fed83e828c24581d803bc156849e24a61 | diff --git a/shinken/host.py b/shinken/host.py
index <HASH>..<HASH> 100644
--- a/shinken/host.py
+++ b/shinken/host.py
@@ -322,8 +322,8 @@ class Host(SchedulingItem):
logger.log(err)
#Ok now we manage special cases...
- if not hasattr(self, 'contacts') and not hasattr(self, 'contacgro... | Fix: (Nicolas Dupeux) typo in host contact groups check. | Alignak-monitoring_alignak | train | py |
2c61418d5699eb39e5474c87509c619f561576ce | diff --git a/salt/log.py b/salt/log.py
index <HASH>..<HASH> 100644
--- a/salt/log.py
+++ b/salt/log.py
@@ -139,25 +139,27 @@ class Logging(LOGGING_LOGGER_CLASS):
pass
return instance
+ # pylint: disable-msg=C0103
def makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None,
... | Fix `salt.log`. The encoding fixes were not included in the PyLint C<I> fixes. Refs #<I> and #<I>. | saltstack_salt | train | py |
505ed0ad315d4a1d6b55d5c31618eefc30fc9df2 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -6,16 +6,15 @@ try{
}catch( err ){
debug("unable to load tastypie-mongoose");
debug("MongooseResource not avaible");
- debug("npm install tastypie-mongoose --save"):
+ debug("npm install tastypie-mongoose ... | make sure the main lib file isn't busted | node-tastypie_tastypie | train | js,js |
b3168622b064f96f25902cd4d575335da9f09e15 | diff --git a/src/pyflex/window_selector.py b/src/pyflex/window_selector.py
index <HASH>..<HASH> 100644
--- a/src/pyflex/window_selector.py
+++ b/src/pyflex/window_selector.py
@@ -14,6 +14,7 @@ from __future__ import (absolute_import, division, print_function,
from future.builtins import * # NOQA
from future import s... | use copy of config object to not modify it | krischer_pyflex | train | py |
cf05462d12a5c15f5dc598fdc1d74da6cc1073a6 | diff --git a/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page/each_controller.rb b/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page/each_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_... | <I>_<I> Change image icon size of train operation and location | osorubeki-fujita_odpt_tokyo_metro | train | rb |
843c743eb1647d677440999c49d74fb45d181c56 | diff --git a/libraries/joomla/media/image/grayscale.php b/libraries/joomla/media/image/grayscale.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/media/image/grayscale.php
+++ b/libraries/joomla/media/image/grayscale.php
@@ -37,7 +37,6 @@ class JImageFilterGrayScale extends JImageFilter
throw new MediaExcepti... | Remove some comments, too obvious, just more text to update
Change-Id: I<I>d<I>b<I>f4a<I>cb6f7ec<I>b4d<I> | joomla_joomla-framework | train | php,php |
9ff767c6561324c31e6d764809aa9194f376dd40 | diff --git a/src/util/function/rename.js b/src/util/function/rename.js
index <HASH>..<HASH> 100644
--- a/src/util/function/rename.js
+++ b/src/util/function/rename.js
@@ -8,8 +8,11 @@
*/
function renameFunction(func, newName) {
// eslint-disable-next-line no-unused-vars
- const { value, ...others } = Object.... | Rename function - Make it safer for IE | KleeGroup_focus-core | train | js |
8c6c3165ffadb25369e59f02019bb490ab32fa76 | diff --git a/visidata/vdtui.py b/visidata/vdtui.py
index <HASH>..<HASH> 100755
--- a/visidata/vdtui.py
+++ b/visidata/vdtui.py
@@ -1903,7 +1903,7 @@ class ColumnsSheet(Sheet):
class SheetsSheet(Sheet):
- commands = [Command(ENTER, 'moveListItem(vd.sheets, cursorRowIndex, 0); vd.sheets.pop(1)', 'jump to sheet re... | [SheetsSheet] ENTER on SheetsSheet itself now does nothing | saulpw_visidata | train | py |
41841c62ff2c5cd10e5288acb0e40ca21ff8cb10 | diff --git a/lib/stripe_mock/request_handlers/helpers/subscription_helpers.rb b/lib/stripe_mock/request_handlers/helpers/subscription_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe_mock/request_handlers/helpers/subscription_helpers.rb
+++ b/lib/stripe_mock/request_handlers/helpers/subscription_helpers.rb
@@ -1... | Subscription items keep price info under :plan | rebelidealist_stripe-ruby-mock | train | rb |
b1f8ba138360cd67994d4134f57abca74f8528bc | diff --git a/actionpack/test/template/date_helper_test.rb b/actionpack/test/template/date_helper_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/template/date_helper_test.rb
+++ b/actionpack/test/template/date_helper_test.rb
@@ -1620,9 +1620,6 @@ class DateHelperTest < ActionView::TestCase
def test_date_se... | Remove unused variables to avoid warnings | rails_rails | train | rb |
ecf68d5f63bf6080598d76bc991435263787fd80 | diff --git a/source/crypto.js b/source/crypto.js
index <HASH>..<HASH> 100644
--- a/source/crypto.js
+++ b/source/crypto.js
@@ -72,7 +72,7 @@
decryptWithKeyFile: function(text, file, callback) {
var encryptedComponents = packing.unpackEncryptedContent(text);
- return derivation.deriveF... | Fix crypto for key file: include salt and rounds | perry-mitchell_iocane | train | js |
a5154485429b2754eb9cd189416433ad0412c0d8 | diff --git a/mwapi/__init__.py b/mwapi/__init__.py
index <HASH>..<HASH> 100644
--- a/mwapi/__init__.py
+++ b/mwapi/__init__.py
@@ -15,7 +15,6 @@ class MWApi:
Class representing a single API Session, with a single authenticated user.
Useful Attributes:
- tokens - Contains an edittoken & watch... | Moved populate_tokens into get_tokens, changed action used | mediawiki-utilities_python-mwapi | train | py |
d9de03a3d060c898122bfe599ae5220e32aa58d9 | diff --git a/src/utilphp/util.php b/src/utilphp/util.php
index <HASH>..<HASH> 100755
--- a/src/utilphp/util.php
+++ b/src/utilphp/util.php
@@ -817,9 +817,18 @@ class util
*
* @return boolean
*/
- public static function is_https()
+ public static function is_https($trust_proxy_headers = false)
... | Added proxy support to is_https() | brandonwamboldt_utilphp | train | php |
5c34acd7ec13d87847d891137d955eae4cce010c | diff --git a/lib/arjdbc/postgresql/adapter.rb b/lib/arjdbc/postgresql/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/postgresql/adapter.rb
+++ b/lib/arjdbc/postgresql/adapter.rb
@@ -594,6 +594,8 @@ module ArJdbc
end
def translate_exception(exception, message)
+ return super unless exception.is... | [<I>-<I>, postgres] Fix translate_exception()
Only JDBC errors are handled by the adapter specific version of
translate_exception(), everything else should be handled by the
super implementation. It accidentally turned an ActiveModel::RangeError
into an ActiveRecord::RangeError, failing finder tests.
Fixes two errors... | jruby_activerecord-jdbc-adapter | train | rb |
896a583f83506522e6bac74cc487028db1976ba1 | diff --git a/salt/runners/manage.py b/salt/runners/manage.py
index <HASH>..<HASH> 100644
--- a/salt/runners/manage.py
+++ b/salt/runners/manage.py
@@ -41,6 +41,11 @@ def _ping(tgt, tgt_type, timeout, gather_job_timeout):
if not pub_data:
return pub_data
+ log.debug(
+ 'manage runner will ping ... | Add debug logging for manage.up/down
This adds some debug logging which we can hopefully use to troubleshoot
<URL> | saltstack_salt | train | py |
88ba1fb03e24411f38c9dc8c776f17bcbd28dcdf | diff --git a/actionpack/test/dispatch/prefix_generation_test.rb b/actionpack/test/dispatch/prefix_generation_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/dispatch/prefix_generation_test.rb
+++ b/actionpack/test/dispatch/prefix_generation_test.rb
@@ -241,6 +241,11 @@ module TestGenerationPrefix
asser... | test case to lock down the behavior of #<I> | rails_rails | train | rb |
f489742ac48916af40adfcd0a1da97e4ee63c0a8 | diff --git a/src/wavesurfer.js b/src/wavesurfer.js
index <HASH>..<HASH> 100644
--- a/src/wavesurfer.js
+++ b/src/wavesurfer.js
@@ -138,6 +138,13 @@ var WaveSurfer = {
var peaks = this.backend.getPeaks(this.drawer.width);
var maxPeak = Math.max.apply(Math, peaks);
+ // Update percentage on any... | Fix rendering of markers added before audio is loaded
The location of a marker for a specific time in the audio cannot be
correctly calculated until we know the duration of the audio. So any
markers added before the audio has been downloaded and processed need to
have their locations (aka "percentages") recalculated o... | katspaugh_wavesurfer.js | train | js |
f4b238023fc3447cf8123327fda4681aec760414 | diff --git a/teamengine-spi/src/main/java/com/occamlab/te/spi/vocabulary/Config.java b/teamengine-spi/src/main/java/com/occamlab/te/spi/vocabulary/Config.java
index <HASH>..<HASH> 100644
--- a/teamengine-spi/src/main/java/com/occamlab/te/spi/vocabulary/Config.java
+++ b/teamengine-spi/src/main/java/com/occamlab/te/spi/... | Updated the basic cc element name in earl reporter. | opengeospatial_teamengine | train | java |
81eedf7cc5f0374912f3b7c93a51444eb557c4d4 | diff --git a/php/Exchange.php b/php/Exchange.php
index <HASH>..<HASH> 100644
--- a/php/Exchange.php
+++ b/php/Exchange.php
@@ -2256,13 +2256,13 @@ class Exchange {
}
public function safe_deposit_address($deposit_address, $currency = null) {
- return $this->extend([
- 'currency'=> $this->sa... | Exchange.php safe_deposit_address minor edits #<I> | ccxt_ccxt | train | php |
44fc397c801aa09f2b5438f65ab7adb4482d58be | diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators/base.rb
+++ b/railties/lib/rails/generators/base.rb
@@ -91,7 +91,7 @@ module Rails
#
# The lookup in this case for test_unit as input is:
#
- ... | Fix rails/generators/base.rb documentation for generator lookup | rails_rails | train | rb |
010d69b0b38d2a35c0d34a446dc402ab9f9aedf5 | diff --git a/Storage/ExportInclude.php b/Storage/ExportInclude.php
index <HASH>..<HASH> 100644
--- a/Storage/ExportInclude.php
+++ b/Storage/ExportInclude.php
@@ -58,7 +58,10 @@ class ExportInclude {
$directory = $this->environment->getHooksDirectory();
$data_file = "$directory/{$key}_processed.php";
if ... | Fixed tests failing due to export storage using include_once. | drupal-code-builder_drupal-code-builder | train | php |
e86b632a8cac65f77f768c92600b8180743379eb | diff --git a/src/layer/tile/TileLayer.js b/src/layer/tile/TileLayer.js
index <HASH>..<HASH> 100644
--- a/src/layer/tile/TileLayer.js
+++ b/src/layer/tile/TileLayer.js
@@ -114,7 +114,14 @@ L.TileLayer = L.Class.extend({
},
_reset: function(clearOldContainer) {
+ var key;
+ for (key in this._tiles) {
+ if ... | firing tileunload when a layer is being reset | axyjo_leaflet-rails | train | js |
f585334bd94a305a2dac5878c91ba09a6ec7ae77 | diff --git a/examples/multi/multi_top_level.rb b/examples/multi/multi_top_level.rb
index <HASH>..<HASH> 100644
--- a/examples/multi/multi_top_level.rb
+++ b/examples/multi/multi_top_level.rb
@@ -22,5 +22,3 @@ sp2.success
sleep 1
sp3.error
-
-spinners.error | Change to remove error condition as automatically marked as errored | piotrmurach_tty-spinner | train | rb |
15abead6b57181ef771e807dcb10c89e5192a2e7 | diff --git a/example/src/main/java/org/syphr/mythtv/example/Main.java b/example/src/main/java/org/syphr/mythtv/example/Main.java
index <HASH>..<HASH> 100644
--- a/example/src/main/java/org/syphr/mythtv/example/Main.java
+++ b/example/src/main/java/org/syphr/mythtv/example/Main.java
@@ -19,6 +19,7 @@ import java.awt.Dim... | added a warning that example app is not currently usable | syphr42_libmythtv-java | train | java |
ec04d9d7f077b83071de84a337338c9983db43bf | diff --git a/src/core/lombok/javac/handlers/HandleVal.java b/src/core/lombok/javac/handlers/HandleVal.java
index <HASH>..<HASH> 100644
--- a/src/core/lombok/javac/handlers/HandleVal.java
+++ b/src/core/lombok/javac/handlers/HandleVal.java
@@ -50,7 +50,7 @@ import com.sun.tools.javac.tree.JCTree.JCVariableDecl;
import ... | [trivial] update a comment to be more accurate about the priority of handler for val. | rzwitserloot_lombok | train | java |
43a916d9cf838e0e0b951c9b0a5be474fc114274 | diff --git a/lxd/storage_zfs.go b/lxd/storage_zfs.go
index <HASH>..<HASH> 100644
--- a/lxd/storage_zfs.go
+++ b/lxd/storage_zfs.go
@@ -1451,7 +1451,7 @@ func (s *storageZfs) MigrationSink(live bool, container container, snapshots []*
return err
}
- name := fmt.Sprintf("containers/%s@snapshot-%s", container.Na... | use GetName() in a few places | lxc_lxd | train | go |
005c072645c1ee4d1de0b1facc0a108b627edcf8 | diff --git a/examples/demo.py b/examples/demo.py
index <HASH>..<HASH> 100644
--- a/examples/demo.py
+++ b/examples/demo.py
@@ -51,6 +51,7 @@ import operator
models_and_scores = sorted([(m,s[-1]) for m,s
in zip(allmodels,allscores)],key=operator.itemgetter(1),reverse=True)
+plt.figure()
models_and_scores[0][0].... | added a missing call to plt.figure() | mattjj_pybasicbayes | train | py |
82a7f1f3c93f75143af2c562abfe18320046e8a0 | diff --git a/lib/adhearsion/console.rb b/lib/adhearsion/console.rb
index <HASH>..<HASH> 100644
--- a/lib/adhearsion/console.rb
+++ b/lib/adhearsion/console.rb
@@ -145,6 +145,11 @@ module Adhearsion
end
logger.debug "Interactive controller finished."
end
+
+ def hangup(*args)
+ super... | [BUGFIX] Hanging up a call in the console should exit the console context | adhearsion_adhearsion | train | rb |
48e4e5c02c03c36ff6e2edff7ebb0df437de5cc2 | diff --git a/protempa-framework/src/main/java/org/protempa/backend/BackendSpecLoader.java b/protempa-framework/src/main/java/org/protempa/backend/BackendSpecLoader.java
index <HASH>..<HASH> 100644
--- a/protempa-framework/src/main/java/org/protempa/backend/BackendSpecLoader.java
+++ b/protempa-framework/src/main/java/o... | <?> construct was somehow breaking compilation. | eurekaclinical_protempa | train | java |
337c9558bf58da056077de114f6e6d4d4ebe9092 | diff --git a/wikitextparser/_section.py b/wikitextparser/_section.py
index <HASH>..<HASH> 100644
--- a/wikitextparser/_section.py
+++ b/wikitextparser/_section.py
@@ -1,5 +1,5 @@
"""Define the Section class."""
-
+from typing import Optional
from regex import compile as regex_compile
@@ -53,11 +53,14 @@ class Se... | docs(Section.title): fix and update the doc
The getter returns None and a deleter has been added
since <I>. | 5j9_wikitextparser | train | py |
b81aa34c19e158007f505c52172b736d08a97c14 | diff --git a/lib/util/jsdoc.js b/lib/util/jsdoc.js
index <HASH>..<HASH> 100644
--- a/lib/util/jsdoc.js
+++ b/lib/util/jsdoc.js
@@ -1,7 +1,5 @@
'use strict';
-const jsdoc = require('jsdoc-api');
-
class ClassDef {
constructor(name) {
this.name = name;
@@ -87,7 +85,7 @@ class FileDescriptor {
}
exports.de... | perf (cloud) faster model loading | Backendless_JS-Code-Runner | train | js |
977c393a9d11b26a3455ea33583bd880dcc7578d | diff --git a/lib/csv_record/version.rb b/lib/csv_record/version.rb
index <HASH>..<HASH> 100644
--- a/lib/csv_record/version.rb
+++ b/lib/csv_record/version.rb
@@ -1,3 +1,3 @@
module CsvRecord
- VERSION = '2.0.0'
+ VERSION = '2.1.0'
end | Poiting to <I> | lukelex_csv_record | train | rb |
faf35b1a2a188f951b83f299af00636513a34d94 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -319,7 +319,7 @@ export default function createLogger(options = {}) {
let $duration;
- if (duration > 1000) {
+ if (duration >= 1000) {
let fixed = 6 - String(duration).l... | Fix wrong formatting for exactly <I>ms | PabloSichert_concurrency-logger | train | js |
ec30eccd760fc6a258c23b297e8d78dc8a47ffd7 | diff --git a/core/src/main/java/org/ocpsoft/prettytime/i18n/Resources_ms.java b/core/src/main/java/org/ocpsoft/prettytime/i18n/Resources_ms.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/ocpsoft/prettytime/i18n/Resources_ms.java
+++ b/core/src/main/java/org/ocpsoft/prettytime/i18n/Resources_ms.java
@@ -2... | Update Resources_ms.java
change 世纪 to abad | ocpsoft_prettytime | train | java |
c605900f9a2e069c924e5a9a6f11d7643fb0e8f1 | diff --git a/src/PuliPlugin.php b/src/PuliPlugin.php
index <HASH>..<HASH> 100644
--- a/src/PuliPlugin.php
+++ b/src/PuliPlugin.php
@@ -186,7 +186,8 @@ class PuliPlugin implements PluginInterface, EventSubscriberInterface
$package = $package->getAliasOf();
}
- $installPath = $i... | Paths returned by Composer are normalized now to fix package installation on Windows. Refs puli/issues#<I> | puli_composer-plugin | train | php |
b99b4ccaff51848ffa2e8327ecd09f9a1360419d | diff --git a/src/main/java/de/alpharogroup/swing/GenericShuffleJTable.java b/src/main/java/de/alpharogroup/swing/GenericShuffleJTable.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/alpharogroup/swing/GenericShuffleJTable.java
+++ b/src/main/java/de/alpharogroup/swing/GenericShuffleJTable.java
@@ -49,6 +49,8 @@... | removed warnings and added javadocs | lightblueseas_swing-components | train | java,java |
689c094582b1d65ead5af1b10d047e3fedf349a2 | diff --git a/cfgpy/tools.py b/cfgpy/tools.py
index <HASH>..<HASH> 100644
--- a/cfgpy/tools.py
+++ b/cfgpy/tools.py
@@ -156,6 +156,10 @@ class CfgPy(object):
node = node[key]
return node
+ def get_element(self, element_path):
+
+ return self.read_element(element_path)
+
def load_using_delimited_format_explic... | added 'get_element' as alias for 'read_element' | phenicle_cfgpy | train | py |
5bd5edfbc2e889b505c43becea5933b8fe013bd6 | diff --git a/oct2py/tests/test_oct2py.py b/oct2py/tests/test_oct2py.py
index <HASH>..<HASH> 100644
--- a/oct2py/tests/test_oct2py.py
+++ b/oct2py/tests/test_oct2py.py
@@ -422,7 +422,7 @@ class NumpyTest(test.TestCase):
blacklist_names = ['float128', 'float96', 'complex192', 'complex256']
def test_scalars(... | Remove redundant test and adjust test docstrings | blink1073_oct2py | train | py |
dbf917e9235666e1642fcfb07b39a40737546591 | diff --git a/src/resources/views/graphiql.php b/src/resources/views/graphiql.php
index <HASH>..<HASH> 100644
--- a/src/resources/views/graphiql.php
+++ b/src/resources/views/graphiql.php
@@ -79,6 +79,8 @@
history.replaceState(null, null, newSearch);
}
+ var xcrsfToken = null;
... | Handle x-csrf-token changes via response headers
This allow to tests queries in Graphiql even if VerifyCsrfToken is enabled with tokens passed via headers | rebing_graphql-laravel | train | php |
0523ea5b909a5e3a456bb87a2c1214bb22bebfd0 | diff --git a/src/foremast/securitygroup/create_securitygroup.py b/src/foremast/securitygroup/create_securitygroup.py
index <HASH>..<HASH> 100644
--- a/src/foremast/securitygroup/create_securitygroup.py
+++ b/src/foremast/securitygroup/create_securitygroup.py
@@ -295,8 +295,8 @@ class SpinnakerSecurityGroup(object):
... | fix: Remove default start/end port
We should fail if the ports are not specified. | foremast_foremast | train | py |
b0e4f963ddb73196fc0d57ac9f621aa6712d83c7 | diff --git a/src/Behat/Behat/Definition/Translator/DefinitionTranslator.php b/src/Behat/Behat/Definition/Translator/DefinitionTranslator.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Behat/Definition/Translator/DefinitionTranslator.php
+++ b/src/Behat/Behat/Definition/Translator/DefinitionTranslator.php
@@ -57,4 +57,... | Added getLocale method | Behat_Behat | train | php |
ff2f685f390dbc012e27486289cf483d836a35b9 | diff --git a/src/ace/Editor.js b/src/ace/Editor.js
index <HASH>..<HASH> 100644
--- a/src/ace/Editor.js
+++ b/src/ace/Editor.js
@@ -218,7 +218,7 @@ var Editor = function(renderer, doc) {
}
this.$highlightLineMarker = null;
- if (this.getHighlightActiveLine() && !this.selection.isMultiLine()) {... | show active line in if selection mode is "text" | joewalker_gcli | train | js |
b9d0421e0a8dcfd00aad14a60a6b06ebad7014bc | diff --git a/test/MarketContractRegistry.js b/test/MarketContractRegistry.js
index <HASH>..<HASH> 100644
--- a/test/MarketContractRegistry.js
+++ b/test/MarketContractRegistry.js
@@ -1,19 +1,16 @@
-const MarketContractOraclize = artifacts.require('TestableMarketContractOraclize');
+const MarketContractOraclize = artifa... | MarketContractRegistry test working | MARKETProtocol_MARKETProtocol | train | js |
bca223e2d606a25513df669c452534ca40e70359 | diff --git a/test/unit/baseClient-suite.js b/test/unit/baseClient-suite.js
index <HASH>..<HASH> 100644
--- a/test/unit/baseClient-suite.js
+++ b/test/unit/baseClient-suite.js
@@ -133,8 +133,28 @@ define(['requirejs'], function(requirejs, undefined) {
_this.assert(object, { json: 'object' });
... | started unit tests for BaseClient#saveObject | remotestorage_remotestorage.js | train | js |
b7d56ae01708258821ffd1a98e3ee0610b6851e9 | diff --git a/allennlp/training/trainer.py b/allennlp/training/trainer.py
index <HASH>..<HASH> 100644
--- a/allennlp/training/trainer.py
+++ b/allennlp/training/trainer.py
@@ -565,10 +565,10 @@ class Trainer(TrainerBase):
# Currently the ``training_state`` contains a serialized ``MetricTracker``.
if "m... | Fix typo when loading train state (#<I>)
* Fix typo when loading train state
* Fix comment | allenai_allennlp | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.