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 |
|---|---|---|---|---|---|
1574c8d2a77270cf4c8ed835510e820b9be5d5dc | diff --git a/public_html/profiles/social/modules/social_features/social_post/src/Form/PostForm.php b/public_html/profiles/social/modules/social_features/social_post/src/Form/PostForm.php
index <HASH>..<HASH> 100644
--- a/public_html/profiles/social/modules/social_features/social_post/src/Form/PostForm.php
+++ b/public_... | DS-<I> by jochemvn: Set display id for visibility settings and fetch display from EntityFormDisplay | goalgorilla_open_social | train | php |
2b0404d0b358275cded52e7a78411e53e840ef27 | diff --git a/analyzere/resources.py b/analyzere/resources.py
index <HASH>..<HASH> 100644
--- a/analyzere/resources.py
+++ b/analyzere/resources.py
@@ -66,8 +66,7 @@ class Treaty(EmbeddedResource):
# Layers
class Fee(EmbeddedResource):
- def ref(self):
- return {'ref': ['layer', 'fees', self.name]}
+ pa... | Remove helper functions other than FeeReference.from_fee | analyzere_analyzere-python | train | py |
933b28f94efc7a24a79ebd48b65fc066c4a47786 | diff --git a/message.go b/message.go
index <HASH>..<HASH> 100644
--- a/message.go
+++ b/message.go
@@ -220,7 +220,7 @@ func (m *Message) LastEdited() time.Time {
// IsForwarded says whether message is forwarded copy of another
// message or not.
func (m *Message) IsForwarded() bool {
- return m.OriginalChat != nil
+... | fixed IsForwarded()
reverts a tiny change from dbc2cd7f6, we need to check both fields because:
- m.OriginalChat is nil when message is not forwarded from a channel
- m.OriginalSender can be nil if the message is forwarded from a channel
(doc: <URL>) | tucnak_telebot | train | go |
c35e4d4f6a87e879f96739f7209d550e21c46e07 | diff --git a/werkzeug/debug/shared/debugger.js b/werkzeug/debug/shared/debugger.js
index <HASH>..<HASH> 100644
--- a/werkzeug/debug/shared/debugger.js
+++ b/werkzeug/debug/shared/debugger.js
@@ -185,11 +185,12 @@ function openShell(consoleNode, target, frameID) {
var command = $('<input type="text" autocomplete="off... | Clear Console with CtrlL | pallets_werkzeug | train | js |
a146986632a2ba902fc0e938fa4619ca3edfe92d | diff --git a/lib/statistrano/deployment/branches.rb b/lib/statistrano/deployment/branches.rb
index <HASH>..<HASH> 100644
--- a/lib/statistrano/deployment/branches.rb
+++ b/lib/statistrano/deployment/branches.rb
@@ -24,13 +24,6 @@ module Statistrano
config.post_deploy_task = "#{@name}:generate_index"
end... | rm redundant method in Deployment::Branches | mailchimp_statistrano | train | rb |
bd19262562af0816747944c239c86c4e944de72f | diff --git a/src/main/java/com/phonedeck/gcm4j/DefaultGcm.java b/src/main/java/com/phonedeck/gcm4j/DefaultGcm.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/phonedeck/gcm4j/DefaultGcm.java
+++ b/src/main/java/com/phonedeck/gcm4j/DefaultGcm.java
@@ -92,7 +92,6 @@ public class DefaultGcm implements Gcm {
p... | Ensure whitespace is removed when marshalling to send to Gcm. | phonedeck_gcm4j | train | java |
ca8df95546ba04c45678d6fb764927baaa05e32f | diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php
index <HASH>..<HASH> 100644
--- a/core/Plugin/Visualization.php
+++ b/core/Plugin/Visualization.php
@@ -445,12 +445,18 @@ class Visualization extends ViewDataTable
continue;
}
+ $valueToConvert = false;... | do not send variables to client having value false | matomo-org_matomo | train | php |
bf39fba083ff71430ac6a204b4edf3ade1b92194 | diff --git a/src/component/entity-form.js b/src/component/entity-form.js
index <HASH>..<HASH> 100644
--- a/src/component/entity-form.js
+++ b/src/component/entity-form.js
@@ -1,5 +1,6 @@
-import {customElement, bindable} from 'aurelia-framework';
+import {customElement, bindable, computedFrom} from 'aurelia-framework';... | refactor(entity-form): use metadata in form generation | SpoonX_aurelia-form | train | js |
e8df79c3c2e4f1a72ba035691fd786fb87e139e1 | diff --git a/lib/node.js b/lib/node.js
index <HASH>..<HASH> 100644
--- a/lib/node.js
+++ b/lib/node.js
@@ -328,6 +328,24 @@ var node = module.exports = {
});
},
+ removeLabel: function(node, label, callback) {
+ if (Array.isArray(node)) {
+ var txn = this._safeBatch();
+ async.map(node, naan.ncu... | labels: implemented removing a label from a node | brikteknologier_seraph | train | js |
4b45a47a5fe04616b30c649a82379ceca63416f6 | diff --git a/go/vt/vttest/vtprocess.go b/go/vt/vttest/vtprocess.go
index <HASH>..<HASH> 100644
--- a/go/vt/vttest/vtprocess.go
+++ b/go/vt/vttest/vtprocess.go
@@ -221,6 +221,7 @@ func VtcomboProcess(env Environment, args *Config, mysql MySQLManager) *VtProces
"-mycnf_server_id", "1",
"-mycnf_socket_file", socket,... | disable field caching in vttestserver | vitessio_vitess | train | go |
b0cd95be6096bb4ae1c38f2e0909c773599f6143 | diff --git a/inotify_test.go b/inotify_test.go
index <HASH>..<HASH> 100644
--- a/inotify_test.go
+++ b/inotify_test.go
@@ -332,6 +332,8 @@ func TestInotifyInnerMapLength(t *testing.T) {
_ = <-w.Events // consume Remove event
<-time.After(50 * time.Millisecond) // wait IN_IGNORE propagated
+ w... | inotify: fix race in test | fsnotify_fsnotify | train | go |
b53a910edc66120b84378bff624e7bfcebc18a15 | diff --git a/paginationlinks/templatetags/pagination_links.py b/paginationlinks/templatetags/pagination_links.py
index <HASH>..<HASH> 100644
--- a/paginationlinks/templatetags/pagination_links.py
+++ b/paginationlinks/templatetags/pagination_links.py
@@ -1,8 +1,15 @@
+import django
from django import template
regis... | Avoid assignment_tag warning in Django <I> | developersociety_django-paginationlinks | train | py |
9c28e6146a6eb1572e631309fdfa431bbcf9a318 | diff --git a/src/mesh/geometry/Geometry.js b/src/mesh/geometry/Geometry.js
index <HASH>..<HASH> 100644
--- a/src/mesh/geometry/Geometry.js
+++ b/src/mesh/geometry/Geometry.js
@@ -1,4 +1,5 @@
import Attribute from './Attribute';
+import Buffer from './Buffer';
import GeometryStyle from './GeometryStyle';
import Geome... | create the buffer automatically is an array is passed | pixijs_pixi.js | train | js |
94bd114fc5848ec130497d0e40ef7c96e7f14696 | diff --git a/src/Result/AllPlayersResult.php b/src/Result/AllPlayersResult.php
index <HASH>..<HASH> 100644
--- a/src/Result/AllPlayersResult.php
+++ b/src/Result/AllPlayersResult.php
@@ -1,6 +1,8 @@
<?php
namespace MiniGame\Result;
-interface AllPlayersResult
+use MiniGame\GameResult;
+
+interface AllPlayersResult ... | all players result is a game result | remi-san_mini-game | train | php |
cde96083f0fbfe439bfef1c22ca78dcd10f4728d | diff --git a/settings.py b/settings.py
index <HASH>..<HASH> 100644
--- a/settings.py
+++ b/settings.py
@@ -27,4 +27,4 @@ class git():
repo_prefix = 'git@github.com:'
repo_suffix = 'mit-probabilistic-computing-project/tabular-predDB.git'
repo = repo_prefix + repo_suffix
- branch = 'multinomial-integrat... | default branch to user on server is master | probcomp_crosscat | train | py |
a19eff0c573d808fed867f31b506f385b0c7e2cc | diff --git a/src/ui.js b/src/ui.js
index <HASH>..<HASH> 100644
--- a/src/ui.js
+++ b/src/ui.js
@@ -105,10 +105,15 @@ base.exportTo('ui', function() {
return el;
}
- // f.name is not directly writable. So make it writable anyway.
- Object.defineProperty(
- f, 'name',
- {value: tagName, ... | Handle type error on Object.defineProperty.
Calling the defineProperty for f.name is causing a
'TypeError: Cannot redefine property: name' error to be thrown when running
chrome://tracing.
This CL catches and ignores the error as it appears that the value is correclty
begin set.
BUG=
R=<EMAIL>
Review URL: <URL> | catapult-project_catapult | train | js |
79b5e81ffe4e298ced53b2a127723b9c73ad2c78 | diff --git a/purell.go b/purell.go
index <HASH>..<HASH> 100644
--- a/purell.go
+++ b/purell.go
@@ -43,7 +43,7 @@ const (
FlagSortQuery // http://host/path?c=3&b=2&a=1&b=1 -> http://host/path?a=1&b=1&b=2&c=3
// Normalizations not in the wikipedia article, required to cover tests cases
- // submitted b... | fix comment for newer flags, now included in FlagsAll* | PuerkitoBio_purell | train | go |
c59b189bfac0c1442f8143c0d4151ad59fff08e9 | diff --git a/test/hobo/env_test.rb b/test/hobo/env_test.rb
index <HASH>..<HASH> 100644
--- a/test/hobo/env_test.rb
+++ b/test/hobo/env_test.rb
@@ -24,16 +24,17 @@ class EnvTest < Test::Unit::TestCase
assert_equal file, Hobo::Env::CONFIG.keys.first
{ :setting => 1 }
end
- assert_equal Hobo:... | Fixed hobo dir tests to work even if the dir is already present | hashicorp_vagrant | train | rb |
4011ca382041bdf11644d578665e4f5bf2e8d571 | diff --git a/code/RegistryImportFeed.php b/code/RegistryImportFeed.php
index <HASH>..<HASH> 100644
--- a/code/RegistryImportFeed.php
+++ b/code/RegistryImportFeed.php
@@ -67,6 +67,10 @@ class RegistryImportFeed_Entry extends ViewableData {
}
class RegistryImportFeed_Controller extends Controller {
+ private static ... | BUGFIX: Add allowed_actions to RegistryImportFeed_Controller (fixes CWPBUG-<I>) | silverstripe_silverstripe-registry | train | php |
31387a61a3d9c111ed7dc8b282493ee93a52b4d8 | diff --git a/cmd/format/format.go b/cmd/format/format.go
index <HASH>..<HASH> 100644
--- a/cmd/format/format.go
+++ b/cmd/format/format.go
@@ -29,6 +29,9 @@ var directory = new(string)
// map holds all of the filenames and a count to account for duplicates
var filenameCount = make(map[string]int)
+// characters to ... | Strip chars from the filename for certs that are not allowed on windows | cloudflare_cfssl_trust | train | go |
a223f24cd69c9c0a403b18cc03b3ab56891c125b | diff --git a/impact_functions/core.py b/impact_functions/core.py
index <HASH>..<HASH> 100644
--- a/impact_functions/core.py
+++ b/impact_functions/core.py
@@ -178,7 +178,7 @@ def requirement_check(params, require_str, verbose=False):
msg = ('Error in plugin requirements'
'Must not use P... | Commented logging out - until we get it to work properly | inasafe_inasafe | train | py |
f5feb3ab70cc478c848631d0dce59f7bacd57747 | diff --git a/kernel/classes/eznodeviewfunctions.php b/kernel/classes/eznodeviewfunctions.php
index <HASH>..<HASH> 100644
--- a/kernel/classes/eznodeviewfunctions.php
+++ b/kernel/classes/eznodeviewfunctions.php
@@ -320,7 +320,16 @@ class eZNodeviewfunctions
{
// $contents = $cacheFile->fetchContents();... | - Fixed a bug with ezfs2 and permission system
# When we access a node that is not readable the cache
# file generation was lost
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 |
6a14a9814e383b8a10d80ac1c8877b6c3048ed53 | diff --git a/packages/ember-runtime/lib/mixins/promise_proxy.js b/packages/ember-runtime/lib/mixins/promise_proxy.js
index <HASH>..<HASH> 100644
--- a/packages/ember-runtime/lib/mixins/promise_proxy.js
+++ b/packages/ember-runtime/lib/mixins/promise_proxy.js
@@ -34,7 +34,7 @@ function tap(proxy, promise) {
}
/**
- ... | [DOC release] Fix tiny grammar mistakes in Ember.PromiseProxy docs | emberjs_ember.js | train | js |
c44c4f02086f8687de6673d965cc920332eb510d | diff --git a/heron/statemgrs/src/python/zkstatemanager.py b/heron/statemgrs/src/python/zkstatemanager.py
index <HASH>..<HASH> 100644
--- a/heron/statemgrs/src/python/zkstatemanager.py
+++ b/heron/statemgrs/src/python/zkstatemanager.py
@@ -93,6 +93,11 @@ class ZkStateManager(StateManager):
ret["result"] = data
... | [ISSUE-<I>] fix tracker crash when zk root topologies path does not … (#<I>)
* [ISSUE-<I>] fix tracker crash when zk root topologies path does not exist.
* Fix checksytle. | apache_incubator-heron | train | py |
5e09da1298f59825ea8ab745bd6f99f14b825673 | diff --git a/image.go b/image.go
index <HASH>..<HASH> 100644
--- a/image.go
+++ b/image.go
@@ -310,7 +310,7 @@ func (i *Image) drawImage(img *Image, options *DrawImageOptions) {
}
vs := src.QuadVertices(0, 0, w, h, 0.5, 0, 0, 0.5, 0, 0, 1, 1, 1, 1)
is := graphicsutil.QuadIndices()
- s.DrawImage(src, vs, is, o... | graphics: Bug fix: don't apply color matrix when creating mipmap images
TODO: Add tests.
Fixes #<I> | hajimehoshi_ebiten | train | go |
6672b398ea1f988921983ac3b757357c1f95b002 | diff --git a/src/test/java/net/snowflake/client/jdbc/PreparedStatementIT.java b/src/test/java/net/snowflake/client/jdbc/PreparedStatementIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/net/snowflake/client/jdbc/PreparedStatementIT.java
+++ b/src/test/java/net/snowflake/client/jdbc/PreparedStatementIT.java
@@ -1... | SNOW-<I>: Test for Support bind variable in row generator table function. The fix is in the server | snowflakedb_snowflake-jdbc | train | java |
88393df6a6687750bf47761a7cf4763682a2c68a | diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py
index <HASH>..<HASH> 100644
--- a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py
+++ b/sdk/... | Replace TokenCredential reference with AsyncTokenCredential (#<I>) | Azure_azure-sdk-for-python | train | py |
7d209354119a8d5d273def3a7f5c6d011c4baa0a | diff --git a/lib/kaminari/helpers/paginator.rb b/lib/kaminari/helpers/paginator.rb
index <HASH>..<HASH> 100644
--- a/lib/kaminari/helpers/paginator.rb
+++ b/lib/kaminari/helpers/paginator.rb
@@ -80,8 +80,8 @@ module Kaminari
# It is threadsafe, but might not repress logging
# consistently in a high-lo... | Ask if defined? against the instance. And don't open it if doing nothing | kaminari_kaminari | train | rb |
d0d063a15588926bd6e7e1410eaa656a1b31d274 | diff --git a/packages/blueprint/lib/Application.js b/packages/blueprint/lib/Application.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint/lib/Application.js
+++ b/packages/blueprint/lib/Application.js
@@ -248,6 +248,7 @@ Application.prototype.start = function (callback) {
* @param callback
*/
Application.pro... | Forgot to emit app.restart event | onehilltech_blueprint | train | js |
ceda0a79c2eec62c1a0c4e7c8a6e78e16b06895c | diff --git a/src/Monarkee/Bumble/BumbleServiceProvider.php b/src/Monarkee/Bumble/BumbleServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Monarkee/Bumble/BumbleServiceProvider.php
+++ b/src/Monarkee/Bumble/BumbleServiceProvider.php
@@ -20,10 +20,19 @@ class BumbleServiceProvider extends ServiceProvider {
*... | Update service provider to publish config and public assets | monarkee_bumble | train | php |
c0cc26021bf4dc5be40e1eff987fc8eb25b767df | diff --git a/sanic/base.py b/sanic/base.py
index <HASH>..<HASH> 100644
--- a/sanic/base.py
+++ b/sanic/base.py
@@ -11,7 +11,7 @@ from sanic.mixins.routes import RouteMixin
from sanic.mixins.signals import SignalMixin
-VALID_NAME = re.compile(r"^[a-zA-Z][a-zA-Z0-9_\-]*$")
+VALID_NAME = re.compile(r"^[a-zA-Z_][a-zA-... | Allow underscore to start instance names (#<I>) | huge-success_sanic | train | py |
61fd7cd9ed24a72717cd3f2dd23a7dbe26ba35fe | diff --git a/activesupport/test/ts_isolated.rb b/activesupport/test/ts_isolated.rb
index <HASH>..<HASH> 100644
--- a/activesupport/test/ts_isolated.rb
+++ b/activesupport/test/ts_isolated.rb
@@ -1,6 +1,7 @@
$:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib')
require 'test/unit'
+require 'active_support/... | Require ActiveSupport::TestCase form ActiveSupport isolation tests | rails_rails | train | rb |
73139e1b1672205c4fa61b40e82749b3a64c98b5 | diff --git a/lib/terraforming/cli.rb b/lib/terraforming/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/terraforming/cli.rb
+++ b/lib/terraforming/cli.rb
@@ -28,6 +28,11 @@ module Terraforming
execute(Terraforming::Resource::ElastiCacheCluster, options)
end
+ desc "ecsn", "ElastiCache Subnet Group"
+ d... | Define CLI command ecsn for ElastiCacheSubnetGroup | dtan4_terraforming | train | rb,rb |
3cec71fec57231e29272ff5aed19539a25fbae6d | diff --git a/wfdb/io/download.py b/wfdb/io/download.py
index <HASH>..<HASH> 100644
--- a/wfdb/io/download.py
+++ b/wfdb/io/download.py
@@ -300,12 +300,13 @@ def get_record_list(db_dir, records='all'):
# Check for a RECORDS file
if records == 'all':
- response = requests.get(posixpath.join(db_url, 'RE... | get_record_list: use _get_url in place of requests.get.
Note that this will handle errors (e.g. a file that we are not
authorized to access) and raise an exception, rather than trying to
parse the error document. Previously, <I> errors were handled, but
other types of errors were not. | MIT-LCP_wfdb-python | train | py |
f1f9de960cbe0a7b055c66d86ef2b624b28e3659 | diff --git a/Command/GenerateRepositoriesDoctrineODMCommand.php b/Command/GenerateRepositoriesDoctrineODMCommand.php
index <HASH>..<HASH> 100644
--- a/Command/GenerateRepositoriesDoctrineODMCommand.php
+++ b/Command/GenerateRepositoriesDoctrineODMCommand.php
@@ -51,7 +51,7 @@ EOT
if ($metadatas = $this->getBun... | removed empty lines/trailing spaces | doctrine_DoctrineMongoDBBundle | train | php,php |
fdc54f2a99617932cd971078772038982d188d70 | diff --git a/src/main/java/org/camunda/bpm/model/xml/test/AbstractModelElementInstanceTest.java b/src/main/java/org/camunda/bpm/model/xml/test/AbstractModelElementInstanceTest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/camunda/bpm/model/xml/test/AbstractModelElementInstanceTest.java
+++ b/src/main/java/or... | chore(test): ensure model element instance test was correctly setup | camunda_camunda-xml-model | train | java |
d52ae2e6bd3ea7d5a5cbc396b35148b2bee96f10 | diff --git a/src/components/TransactionalBehavior.php b/src/components/TransactionalBehavior.php
index <HASH>..<HASH> 100644
--- a/src/components/TransactionalBehavior.php
+++ b/src/components/TransactionalBehavior.php
@@ -13,7 +13,8 @@ use yii\db\Transaction;
/**
* Class TransactionalBehavior
- * @package vr\core... | Make TransactionalBehavior deprecated because it was moved to voodoo-rocks/yii2-api | voodoo-rocks_yii2-core | train | php |
678ed6e5da4fe38a3fa06b4af1fb6e1a6446474d | diff --git a/testsuite/manualmode/src/test/java/org/jboss/as/test/manualmode/logging/Log4jAppenderTestCase.java b/testsuite/manualmode/src/test/java/org/jboss/as/test/manualmode/logging/Log4jAppenderTestCase.java
index <HASH>..<HASH> 100644
--- a/testsuite/manualmode/src/test/java/org/jboss/as/test/manualmode/logging/L... | [WFCORE-<I>] Ensure the server has been started before executing operations. | wildfly_wildfly-core | train | java |
64f1588595b1a03e3844fc1ddc458eb45d45f0c0 | diff --git a/lib/config/babel.js b/lib/config/babel.js
index <HASH>..<HASH> 100644
--- a/lib/config/babel.js
+++ b/lib/config/babel.js
@@ -6,10 +6,10 @@ module.exports = function (webpackConfig) {
let babelConfig = {
cacheDirectory: tmpDir,
presets: [
+ // https://segmentfault.com/a/11... | refactor: improve babel config
No longer support ie8 | zuzucheFE_guido | train | js |
84704e03f1b49a295ab1e931904746faf83dc26b | diff --git a/raiden/ui/cli.py b/raiden/ui/cli.py
index <HASH>..<HASH> 100644
--- a/raiden/ui/cli.py
+++ b/raiden/ui/cli.py
@@ -290,12 +290,13 @@ def run(ctx, **kwargs):
app_ = ctx.invoke(app, **kwargs)
- app_.discovery.register(
+ # spawn address registration to avoid block while waiting for ... | Do not block during startup (#<I>)
As address/socket pair registration requires confirmation of the
tx, polling until it appears in the next block introduces a delay
until other services/cli can be started. This fix spawns a
separate gevent for the registration to speed up the startup. | raiden-network_raiden | train | py |
5e242a1cd119a4a103121e4105e755bc6748abe8 | diff --git a/CHANGES.txt b/CHANGES.txt
index <HASH>..<HASH> 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,2 +1,7 @@
Change Log
==========
+
+v0.1 (2014-02-17)
+-----------------
+
+* Initial release.
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -55,7... | Bumps version to <I>. | tsroten_dragonmapper | train | txt,py,py |
dae591e8b48ec64d106dd9b6b6ce5733a49268ed | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ setup script
from setuptools import setup, find_packages
-_VERSION = '0.1.3'
+_VERSION = '0.2'
setup(
name='jut-tools', | bumping to <I> to see if pypi and pip behave correctly | jut-io_jut-python-tools | train | py |
7d893e9e44bb56d70117d2fdabdf9acedb050837 | diff --git a/src/Drivers/Baidu/BaiduResponse.php b/src/Drivers/Baidu/BaiduResponse.php
index <HASH>..<HASH> 100644
--- a/src/Drivers/Baidu/BaiduResponse.php
+++ b/src/Drivers/Baidu/BaiduResponse.php
@@ -31,9 +31,16 @@ class BaiduResponse implements ResponseInterface
*/
public function __get($name)
{
+
+... | add a knid access to response | crisenchou_ai | train | php |
a5134251fa6d8869067eb7dd0c0e906b7a010e2c | diff --git a/app_generators/ahn/ahn_generator.rb b/app_generators/ahn/ahn_generator.rb
index <HASH>..<HASH> 100644
--- a/app_generators/ahn/ahn_generator.rb
+++ b/app_generators/ahn/ahn_generator.rb
@@ -37,6 +37,9 @@ class AhnGenerator < RubiGen::Base
m.file *["components/disabled/restful_rpc/example-client.rb"... | Adding the sandbox component to all new Adhearsion apps (initially disabled) | adhearsion_adhearsion | train | rb |
27ee54b0080deb6d861e3ad5d1a06da6a0d05527 | diff --git a/image.go b/image.go
index <HASH>..<HASH> 100644
--- a/image.go
+++ b/image.go
@@ -494,6 +494,9 @@ func (i *Image) DrawTriangles(vertices []Vertex, indices []uint16, img *Image, o
}
// TODO: Implement this.
+ if img.isSubImage() {
+ panic("using a subimage at DrawTriangles is not implemented")
+ }
... | graphics: Forbid using a subimage at DrawTriangles (#<I>) | hajimehoshi_ebiten | train | go |
618138eaac7463b9e2afd6e8d28c2e27cf294f87 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@ setup(
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
... | Add official support for Python <I> | hsluv_hsluv-python | train | py |
be00914816247914ebd9c5f1948218f6d32068c0 | diff --git a/lib/hyrax/transactions/transaction.rb b/lib/hyrax/transactions/transaction.rb
index <HASH>..<HASH> 100644
--- a/lib/hyrax/transactions/transaction.rb
+++ b/lib/hyrax/transactions/transaction.rb
@@ -42,6 +42,9 @@ module Hyrax
# @example unwapping values safely with handling for failures
# tx.cal... | Add documentation for `Result#or` to transaction
This use of `#or` is likely to be a common pattern in controllers, where we
often won't care to unwrap a newly saved value (instead redirecting to an
index-driven page), but want to handle errors carefully. | samvera_hyrax | train | rb |
ee2191c79f6f1afc9638e3bbb8e414d0a519a0c2 | diff --git a/server_status/__init__.py b/server_status/__init__.py
index <HASH>..<HASH> 100644
--- a/server_status/__init__.py
+++ b/server_status/__init__.py
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# pylint: disable=missing-docstring
-__version__ = '0.3.0' # pragma: no cover
+__version__ = '0.3.1' # pragma: no cov... | Catch all exceptions during celery requests. | mitodl_django-server-status | train | py,py |
f1855e79872647f16b7e1fd73141200a32795d1f | diff --git a/visidata/sheets.py b/visidata/sheets.py
index <HASH>..<HASH> 100644
--- a/visidata/sheets.py
+++ b/visidata/sheets.py
@@ -236,7 +236,7 @@ class TableSheet(BaseSheet):
return type(self)._rowtype()
def openRow(self, row):
- k = self.rowkey(row) or [self.cursorRowIndex]
+ k = sel... | [openrow-] fix missed parm | saulpw_visidata | train | py |
e034b4f60548a7aa8c85240598aa6979e81e45ee | diff --git a/structr-ui/src/main/resources/structr/js/command.js b/structr-ui/src/main/resources/structr/js/command.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/command.js
+++ b/structr-ui/src/main/resources/structr/js/command.js
@@ -474,7 +474,7 @@ var Command = {
var data = {};
... | Don't log localStorage for performance reasons. | structr_structr | train | js |
c7ba3307637a3e29c3a98bee6e681ae8ab8102e2 | diff --git a/cloudvolume/storage/storage.py b/cloudvolume/storage/storage.py
index <HASH>..<HASH> 100644
--- a/cloudvolume/storage/storage.py
+++ b/cloudvolume/storage/storage.py
@@ -13,7 +13,7 @@ from tqdm import tqdm
from cloudvolume import compression
from cloudvolume.exceptions import UnsupportedProtocolError
-... | deprecate: mark storage as obsolete | seung-lab_cloud-volume | train | py |
6e0a9525a14587019bc69808656fc8f3edf7a89e | diff --git a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/XmlParserR4Test.java b/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/XmlParserR4Test.java
index <HASH>..<HASH> 100644
--- a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/XmlParserR4Test.java
+++ b/hapi-fhir-structures-r4/src/tes... | Remove dependency on public test server in unit test | jamesagnew_hapi-fhir | train | java |
c3a324f5a5c186c1ead3f7f80af09733e8cb2168 | diff --git a/woocommerce/api.py b/woocommerce/api.py
index <HASH>..<HASH> 100644
--- a/woocommerce/api.py
+++ b/woocommerce/api.py
@@ -56,7 +56,7 @@ class API(object):
url = self.__get_url(endpoint)
auth = None
headers = {
- "user-agent": "WooCommerce API Client-Node.js/%s" % __ver... | Changed user-agent from Node.js to Python | woocommerce_wc-api-python | train | py |
5e19a0da63d578dd0638cba9b112076eed530fa8 | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/SessionClusterEntrypoint.java b/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/SessionClusterEntrypoint.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/SessionClusterEntry... | [FLINK-<I>] [flip-6] Pass in proper configuration to Dispatcher component
This closes #<I>. | apache_flink | train | java |
3d6c5f9c4aa9e5d7afbfc95e97d81b3510f13898 | diff --git a/tests/src/Phossa2/Storage/StorageTest.php b/tests/src/Phossa2/Storage/StorageTest.php
index <HASH>..<HASH> 100644
--- a/tests/src/Phossa2/Storage/StorageTest.php
+++ b/tests/src/Phossa2/Storage/StorageTest.php
@@ -551,11 +551,10 @@ class StorageTest extends \PHPUnit_Framework_TestCase
// put
... | rename a dir to a file is not OK | phossa2_storage | train | php |
75e36813d6765c9725262fec954f6c3f221011b0 | diff --git a/lib/ghtorrent/command.rb b/lib/ghtorrent/command.rb
index <HASH>..<HASH> 100644
--- a/lib/ghtorrent/command.rb
+++ b/lib/ghtorrent/command.rb
@@ -52,7 +52,11 @@ class Command
command.go
rescue => e
STDERR.puts e.message
- STDERR.puts e.backtrace.join("\n") if command.options... | Print error location when not in verbose mode | gousiosg_github-mirror | train | rb |
8a73f57081b36ea72050050ee81be85fde37bfd6 | diff --git a/lang/en/moodle.php b/lang/en/moodle.php
index <HASH>..<HASH> 100644
--- a/lang/en/moodle.php
+++ b/lang/en/moodle.php
@@ -1398,6 +1398,7 @@ $string['rss'] = 'RSS';
$string['rssarticles'] = 'Number of RSS recent articles';
$string['rsserror'] = 'Error reading RSS data';
$string['rsserrorauth'] = 'Your RS... | rss MDL-<I> added some support for <I> rss feed requests | moodle_moodle | train | php |
d40d024711c5444056e08bb3f762f9f5db4f91c4 | diff --git a/test/suite.js b/test/suite.js
index <HASH>..<HASH> 100644
--- a/test/suite.js
+++ b/test/suite.js
@@ -21,13 +21,25 @@ describe('new Client()', function() {
});
describe('#_uploadGeneratePath()', function() {
- it('should return an avaiable path', function(done) {
+ it('should return avaiable ... | Add test spies and test retry functionality | Turistforeningen_node-s3-uploader | train | js |
ee16f6ee0479b0f96dea255a87bcdecd83660487 | diff --git a/arctic/generics.py b/arctic/generics.py
index <HASH>..<HASH> 100755
--- a/arctic/generics.py
+++ b/arctic/generics.py
@@ -273,10 +273,16 @@ class ListView(View, base.ListView):
else:
name = field_name
try:
- item['label'] = f... | Title-case field names in headers, unless a verbose name is set explicitly. | sanoma_django-arctic | train | py |
32ab77c2039bf0b27426cb2cdc61b5a6c9b8c5f3 | diff --git a/i3pystatus/core/modules.py b/i3pystatus/core/modules.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/core/modules.py
+++ b/i3pystatus/core/modules.py
@@ -107,7 +107,7 @@ class Module(SettingsBase):
if cb is not "run":
getattr(self, cb)(*args)
else:
- execut... | Module: External programs are launched in detached mode. | enkore_i3pystatus | train | py |
fecaa8a7fe8835a2806c02c879d22c83827d1572 | diff --git a/mungers/submit-queue.go b/mungers/submit-queue.go
index <HASH>..<HASH> 100644
--- a/mungers/submit-queue.go
+++ b/mungers/submit-queue.go
@@ -394,6 +394,7 @@ func (sq *SubmitQueue) AddFlags(cmd *cobra.Command, config *github.Config) {
"kubernetes-e2e-gce",
"kubernetes-e2e-gce-slow",
"kubernetes-e2... | add gke-serial into the list | kubernetes_test-infra | train | go |
76edfcb13dfd6a8ce1b4df3a64f1dd1bc61cde11 | diff --git a/lib/command/CommandClient.js b/lib/command/CommandClient.js
index <HASH>..<HASH> 100644
--- a/lib/command/CommandClient.js
+++ b/lib/command/CommandClient.js
@@ -230,6 +230,7 @@ class CommandClient extends Client {
throw new Error("You have already registered a command for " + label);
... | Fix insensitive command label option (#<I>) | abalabahaha_eris | train | js |
6477f25676b58636e72d6be839ad603271db4c5a | diff --git a/src/components/TabbedCard/TabbedCard.react.js b/src/components/TabbedCard/TabbedCard.react.js
index <HASH>..<HASH> 100644
--- a/src/components/TabbedCard/TabbedCard.react.js
+++ b/src/components/TabbedCard/TabbedCard.react.js
@@ -1 +1,17 @@
// @flow
+
+import * as React from "react";
+
+import Card fr... | Added default TabbedCard as basic card. | tabler_tabler-react | train | js |
126fd0e7fde0f6dc0bf6b1290794294b1311c4fb | diff --git a/hagelslag/processing/TrackModeler.py b/hagelslag/processing/TrackModeler.py
index <HASH>..<HASH> 100644
--- a/hagelslag/processing/TrackModeler.py
+++ b/hagelslag/processing/TrackModeler.py
@@ -86,8 +86,8 @@ class TrackModeler(object):
self.data[mode]["step"] = self.data[mode]["step"].fillna(value=0)
... | Changed "train" mode to create "member" | djgagne_hagelslag | train | py |
d6707465793e79933c146d535991dac4f7a01b23 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -35,7 +35,6 @@ var ErrAlreadyConnecting = errors.New("already connecting")
var ErrNotConnected = errors.New("not connected")
var ErrMissingClientID = errors.New("missing client id")
var ErrConnectionDenied = errors.New(... | do not raise error if there was an unsupported packet type | 256dpi_gomqtt | train | go |
2b729be91332650d81fb6541f86f45de7adfcaaf | diff --git a/src/de/triplet/simpleprovider/AbstractProvider.java b/src/de/triplet/simpleprovider/AbstractProvider.java
index <HASH>..<HASH> 100644
--- a/src/de/triplet/simpleprovider/AbstractProvider.java
+++ b/src/de/triplet/simpleprovider/AbstractProvider.java
@@ -73,7 +73,11 @@ public abstract class AbstractProvider... | Set notification uri before returning the cursor to get notified about changes | Triple-T_simpleprovider | train | java |
e10060e8ece479a4dfc1860af144b287cf59d421 | diff --git a/devassistant/command_helpers.py b/devassistant/command_helpers.py
index <HASH>..<HASH> 100644
--- a/devassistant/command_helpers.py
+++ b/devassistant/command_helpers.py
@@ -179,7 +179,7 @@ class ZenityHelper(object):
c_zenity = 'zenity'
@classmethod
- def ask_for_password(cls, title, text='... | Text in case of password has not to be visible | devassistant_devassistant | train | py |
7062a6e55d4d7c964fda19fc9b4d08a601cffcce | diff --git a/script/prerelease.js b/script/prerelease.js
index <HASH>..<HASH> 100755
--- a/script/prerelease.js
+++ b/script/prerelease.js
@@ -24,7 +24,6 @@ github.repos.getReleases({owner: 'electron', repo: 'electron'})
const draft = drafts[0]
check(draft.tag_name === `v${pkg.version}`, `draft release vers... | remove the condition where release draft has to have a `prerelease` flag | electron_electron | train | js |
da39fa1fa3c1fe323900b5653d8d1d2d4aad3ffa | diff --git a/chef/lib/chef/provider/deploy.rb b/chef/lib/chef/provider/deploy.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/provider/deploy.rb
+++ b/chef/lib/chef/provider/deploy.rb
@@ -273,7 +273,6 @@ class Chef
links_info = @new_resource.symlinks.map { |src, dst| "#{src} => #{dst}" }.join(", ")
... | CHEF-<I>: do not create directories for links | chef_chef | train | rb |
7dacdb9c9a302725f99daf4ac34045f552c2a51c | diff --git a/classes/meta_box.class.php b/classes/meta_box.class.php
index <HASH>..<HASH> 100644
--- a/classes/meta_box.class.php
+++ b/classes/meta_box.class.php
@@ -153,7 +153,7 @@ class Cuztom_Meta_Box extends Cuztom_Meta
if( $field->show_column ) $columns[$id_name] = $field->label;
}
- $columns['date'] = ... | Removes cuztom text domain from 'Date'
WordPress already 'Date' already. | gizburdt_cuztom | train | php |
e36e4f62049d96cb27c2771e79733e81ed78e012 | diff --git a/motor/core.py b/motor/core.py
index <HASH>..<HASH> 100644
--- a/motor/core.py
+++ b/motor/core.py
@@ -129,8 +129,7 @@ class AgnosticClient(AgnosticBaseProperties):
else:
io_loop = self._framework.get_event_loop()
- # For Synchro's sake, add undocumented "_connect" option, def... | PyMongo 3 renamed _connect to connect. | mongodb_motor | train | py,py |
9ea4b03363e908c7aeb3ca00dc73a5748e138a55 | diff --git a/src/Product/Product.php b/src/Product/Product.php
index <HASH>..<HASH> 100644
--- a/src/Product/Product.php
+++ b/src/Product/Product.php
@@ -8,7 +8,7 @@ class Product
* @var ProductId
*/
private $productId;
-
+
/**
* @var ProductAttributeList
*/
@@ -45,18 +45,14 @@ cl... | Issue #<I>: Make loop code more declarative using array_map | lizards-and-pumpkins_catalog | train | php |
f1c2cf416077797b7a3f28a826490e7da1be4e92 | diff --git a/galois_amd64.go b/galois_amd64.go
index <HASH>..<HASH> 100644
--- a/galois_amd64.go
+++ b/galois_amd64.go
@@ -1,4 +1,5 @@
//+build !noasm
+//+build !appengine
// Copyright 2015, Klaus Post, see LICENSE for details.
diff --git a/galois_amd64.s b/galois_amd64.s
index <HASH>..<HASH> 100644
--- a/galois_... | Don't use assembler on app engine. | klauspost_reedsolomon | train | go,s,go |
8ef48574cd9392cb036fb352f4f82af9ef7face2 | diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/board/board.py
+++ b/ELiDE/ELiDE/board/board.py
@@ -258,7 +258,7 @@ class Board(RelativeLayout):
self.selection = None
self.keep_selection = False
touch.ungrab(self)
- ... | Make Board let scrolling happen if it doesn't have a reason to stop it | LogicalDash_LiSE | train | py |
ab0b01a8e8e0a7e1fb78f89f7fb91f80e40f14dc | diff --git a/lib/kuniri/core/configuration/language_available.rb b/lib/kuniri/core/configuration/language_available.rb
index <HASH>..<HASH> 100644
--- a/lib/kuniri/core/configuration/language_available.rb
+++ b/lib/kuniri/core/configuration/language_available.rb
@@ -7,6 +7,6 @@
module Configuration
# Handling the l... | use [] instead of () in %w-literals | Kuniri_kuniri | train | rb,rb |
4fa201245d75d0bd72e8f2472938fb7ae7ba186f | diff --git a/django_fsm/signals.py b/django_fsm/signals.py
index <HASH>..<HASH> 100644
--- a/django_fsm/signals.py
+++ b/django_fsm/signals.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from django.dispatch import Signal
-pre_transition = Signal(providing_args=['instance', 'name', 'source', 'target'])
-post_transition... | mRemoved providing_args kwarg from Signal constructor. | viewflow_django-fsm | train | py |
2a560eb050e786512a8c808150cfbd8a1d61c09a | diff --git a/lib/perfectqueue/engine.rb b/lib/perfectqueue/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/perfectqueue/engine.rb
+++ b/lib/perfectqueue/engine.rb
@@ -56,7 +56,7 @@ module PerfectQueue
@processors << @processor_class.new(@runner, @processors.size+1, config)
end
elsif extra < 0... | - is weaker than .; needs parenthesis | treasure-data_perfectqueue | train | rb |
0511cdc1c4096044bb59ec33e8e2fa411630dbc0 | diff --git a/test/callback.js b/test/callback.js
index <HASH>..<HASH> 100644
--- a/test/callback.js
+++ b/test/callback.js
@@ -181,7 +181,12 @@ describe('Callback', function () {
process.removeAllListeners('uncaughtException')
process.once('uncaughtException', function (e) {
assert(/ffi/.test(e.m... | test: properly re-add Mocha's uncaught listeners | node-ffi-napi_node-ffi-napi | train | js |
4361574b7ab725f2e36b4eeb7fcc087748563a0c | diff --git a/bin/eg-generator.js b/bin/eg-generator.js
index <HASH>..<HASH> 100644
--- a/bin/eg-generator.js
+++ b/bin/eg-generator.js
@@ -1,10 +1,6 @@
const Generator = require('yeoman-generator');
const config = require('../lib/config');
-Generator.prototype.stdout = function () {
- // eslint-disable-next-line n... | Fixing stdout on CLI generators. (#<I>) | ExpressGateway_express-gateway | train | js |
7d25c7f3a64fd77127f49dfd3244e5d91c3ed033 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -8,6 +8,8 @@ const { createCompiledModule, Module } = require("./compiler/compile/module");
const { Memory } = require("./interpreter/runtime/values/memory");
const { Table } = require("./interpreter/runtime/... | feat: expose ast types and traverse | xtuc_webassemblyjs | train | js |
ad146a3eb6c13de400817a611ebd3af66982fcbb | diff --git a/plugins/net.js b/plugins/net.js
index <HASH>..<HASH> 100644
--- a/plugins/net.js
+++ b/plugins/net.js
@@ -89,7 +89,7 @@ module.exports = function (opts) {
stringify: function (scope) {
scope = scope || 'device'
if(!isScoped(scope)) return
- var _host = (scope == 'public' && opts.ext... | Fix `stringify()` in net and ws to respect host
Previously we were disregarding the `host` setting for all configs
except in cases where `scope === 'public' && `opts.external != null`.
This resolves the error by first checking whether `opts.host` is defined
before falling back to automatic detection methods. | ssbc_multiserver | train | js,js |
ab4fbb9553889a93e2c8368f207033812261e4ba | diff --git a/quilt/cli/parser.py b/quilt/cli/parser.py
index <HASH>..<HASH> 100644
--- a/quilt/cli/parser.py
+++ b/quilt/cli/parser.py
@@ -43,8 +43,8 @@ import six
def get_declared_instances_list(bases, attrs, collect_cls, instance_attr):
- instances = [(name, attrs.pop(name)) for name, obj in attrs.items() if
... | Fix iterating over attrs in python 3
It's not possible to change attrs in iteration loop with python3. | bjoernricks_python-quilt | train | py |
cf886a78d3c34a8ef34f1e5149b4208281a927da | diff --git a/h2o-algos/src/main/java/hex/tree/DRealHistogram.java b/h2o-algos/src/main/java/hex/tree/DRealHistogram.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/tree/DRealHistogram.java
+++ b/h2o-algos/src/main/java/hex/tree/DRealHistogram.java
@@ -25,7 +25,7 @@ public class DRealHistogram extends... | PUBDEV-<I>: Fix variance computation for DRealHistogram when there's only 1 count (N=1), was dividing by 0 during 1/N * 1/(N-1) | h2oai_h2o-3 | train | java |
eb888c49c06444d944ecfcf64fab406664b52206 | diff --git a/src/rezplugins/shell/_utils/powershell_base.py b/src/rezplugins/shell/_utils/powershell_base.py
index <HASH>..<HASH> 100644
--- a/src/rezplugins/shell/_utils/powershell_base.py
+++ b/src/rezplugins/shell/_utils/powershell_base.py
@@ -3,11 +3,13 @@ import re
from subprocess import PIPE
from rez.config i... | fix for powershell in cases where the executable command string gets quoted | nerdvegas_rez | train | py |
df3c3847c96627c38f9060957fc3fe20427aa6eb | diff --git a/plugin.php b/plugin.php
index <HASH>..<HASH> 100644
--- a/plugin.php
+++ b/plugin.php
@@ -4,7 +4,7 @@
* Description: JSON-based REST API for WordPress, developed as part of GSoC 2013.
* Author: WP REST API Team
* Author URI: http://wp-api.org
- * Version: 2.0-beta1.1
+ * Version: 2.0-beta2
* Plugin... | Bump plugin version to <I>-beta2 | WP-API_WP-API | train | php |
d4a1367f26940e70d580b51a245892c59c250588 | diff --git a/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php b/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php
+++ b/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php
@@ -54,7 +54,7 @@ class DOMDiffTest extends TestCase {
// precisely here. An... | Fix complaint that test did not perform any assertions
Change-Id: I<I>c<I>edcc3a0c5cda5dc<I>c8c<I>d1 | wikimedia_parsoid | train | php |
4478238ff673cdc9c5024dc8d989ba9b8d48f1a8 | diff --git a/command/agent/agent.go b/command/agent/agent.go
index <HASH>..<HASH> 100644
--- a/command/agent/agent.go
+++ b/command/agent/agent.go
@@ -199,8 +199,8 @@ func (a *Agent) clientConfig() (*clientconfig.Config, error) {
}
conf.MaxKillTimeout = dur
}
- conf.ClientMaxPort = a.config.Client.ClientMaxPort... | Fixed an issue around parsing client max and min ports | hashicorp_nomad | train | go,go |
8a0595c80e10da639734556deb9f85cb08925803 | diff --git a/xkcd.py b/xkcd.py
index <HASH>..<HASH> 100644
--- a/xkcd.py
+++ b/xkcd.py
@@ -91,7 +91,6 @@ class WhatIfArchiveParser(HTMLParser.HTMLParser):
for pair in attrs:
if pair[0] == "href":
link = pair[1]
- print link
# If we fail to find a link for whatever reason or if the parsing... | Remove some debugging print statements. | TC01_python-xkcd | train | py |
b7a0f62f0f9079d0d628a284a77af0c474eb9375 | diff --git a/utils/jsonmessage.go b/utils/jsonmessage.go
index <HASH>..<HASH> 100644
--- a/utils/jsonmessage.go
+++ b/utils/jsonmessage.go
@@ -52,7 +52,7 @@ func (p *JSONProgress) String() string {
}
numbersBox = fmt.Sprintf("%8v/%v", current, total)
- if p.Start > 0 && percentage < 50 {
+ if p.Current > 0 && p.S... | fix divide by zero error
Docker-DCO-<I>- | moby_moby | train | go |
270c5c3e0f05d8c349aff408f13029832d93028a | diff --git a/angr/analyses/sse.py b/angr/analyses/sse.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/sse.py
+++ b/angr/analyses/sse.py
@@ -47,7 +47,7 @@ class CallTracingFilter(object):
addr = call_target_state.se.exactly_int(ip)
except (SimValueError, SimSolverModeError):
self._s... | Better logging. Switch to PathGrou.stash_addr(). | angr_angr | train | py |
55bb73125d7db4f1636918d61724967e5df91da5 | diff --git a/tests/Go/Core/GoAspectContainerTest.php b/tests/Go/Core/GoAspectContainerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Go/Core/GoAspectContainerTest.php
+++ b/tests/Go/Core/GoAspectContainerTest.php
@@ -16,8 +16,9 @@ class GoAspectContainerTest extends TestCase
protected function setUp()
{
-... | Fix test by injecting system options into container | goaop_framework | train | php |
1da9f7bad007c2b3f5a3ea8fd5bdf7efd962315d | diff --git a/glitch/glitch.py b/glitch/glitch.py
index <HASH>..<HASH> 100644
--- a/glitch/glitch.py
+++ b/glitch/glitch.py
@@ -32,6 +32,7 @@ import base64
import random
import string
import docopt
+import os
class Glitch:
def __init__(self):
@@ -58,6 +59,8 @@ class Glitch:
with open(glitchfile, ... | Add: Remove realy break image file and support of decrease error. | trsqxyz_glitch | train | py |
072e11b3bbf24fa624ada1b8e02ec0d85a6fdcfe | diff --git a/src/schema.js b/src/schema.js
index <HASH>..<HASH> 100644
--- a/src/schema.js
+++ b/src/schema.js
@@ -194,8 +194,6 @@ class Attribute {
// Marks
-let warnedAboutInclusive = false
-
// ::- Like nodes, marks (which are associated with nodes to signify
// things like emphasis or being part of a link) a... | Drop backwards-compat support for inclusiveRight | ProseMirror_prosemirror-model | train | js |
f3cc40eeab3056bf93de96f01d4f16322664b46b | diff --git a/lib/grit.rb b/lib/grit.rb
index <HASH>..<HASH> 100644
--- a/lib/grit.rb
+++ b/lib/grit.rb
@@ -7,6 +7,7 @@ require 'time'
# stdlib
require 'timeout'
require 'logger'
+require 'digest/sha1'
if defined? RUBY_ENGINE && RUBY_ENGINE == 'jruby'
require 'open3'
@@ -17,7 +18,6 @@ end
# third party
requir... | digest is in stdlib | mojombo_grit | train | rb |
4b58456e9cb4defb3bd73a33cff93a9b8046cb89 | diff --git a/src/OData/Client.php b/src/OData/Client.php
index <HASH>..<HASH> 100644
--- a/src/OData/Client.php
+++ b/src/OData/Client.php
@@ -3,7 +3,7 @@
namespace Kily\Tools1C\OData;
use Psr\Http\Message\ResponseInterface;
-use GuzzleHttp\Exception\TransferException;
+use GuzzleHttp\Exception\BadResponseException... | fix(guzzle): that fixes #<I> issue | kilylabs_odata-1c | train | php |
f6412775f836f4a2b3bb8ec4b61d5aaeeff3a983 | diff --git a/src/collectors/memcached/test/testmemcached.py b/src/collectors/memcached/test/testmemcached.py
index <HASH>..<HASH> 100644
--- a/src/collectors/memcached/test/testmemcached.py
+++ b/src/collectors/memcached/test/testmemcached.py
@@ -5,6 +5,7 @@
from test import CollectorTestCase
from test import get_col... | Add test for stats packets across boundaries. | python-diamond_Diamond | train | py |
8a8d9c8a8d0f3452d5de67cd760297bb5759f637 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -41,3 +41,4 @@ setup(name="untwisted",
+ | Fixing setup.py version. | untwisted_untwisted | train | py |
d99641f31e64d63623c7cf58d4355dccea7e80d0 | diff --git a/cmd/init.go b/cmd/init.go
index <HASH>..<HASH> 100644
--- a/cmd/init.go
+++ b/cmd/init.go
@@ -40,7 +40,7 @@ func newInitCmd() *initCmd {
return err
}
defer gitignore.Close()
- if _, err := gitignore.WriteString("dist/\n"); err != nil {
+ if _, err := gitignore.WriteString("\ndist/\n"); err... | fix: gitignore patching needs leading newline (#<I>) | goreleaser_goreleaser | train | go,go |
85bf9f9928272a0c3c95b964413c4a83677d1ac1 | diff --git a/pylast/__init__.py b/pylast/__init__.py
index <HASH>..<HASH> 100644
--- a/pylast/__init__.py
+++ b/pylast/__init__.py
@@ -2052,11 +2052,6 @@ class Track(_Opus):
self._request(self.ws_prefix + '.unlove')
- def ban(self):
- """Ban this track from ever playing on the radio. """
-
- ... | Remove dead Last.fm track ban | pylast_pylast | train | py |
f621023c0d93b3d175ac92957e18a2d240dcaa8d | diff --git a/hwt/pyUtils/arrayQuery.py b/hwt/pyUtils/arrayQuery.py
index <HASH>..<HASH> 100755
--- a/hwt/pyUtils/arrayQuery.py
+++ b/hwt/pyUtils/arrayQuery.py
@@ -1,4 +1,5 @@
# select = map, groupBy = itertools.groupby
+from collections import deque
from itertools import zip_longest
from math import inf
from types ... | arrayQuery.flatten support for set, deque | Nic30_hwt | 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.