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 |
|---|---|---|---|---|---|
1fcb638b391afe253d990afd5a6fa52221a14b8a | diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Model.php
+++ b/src/Illuminate/Database/Eloquent/Model.php
@@ -1324,7 +1324,7 @@ abstract class Model implements ArrayAccess, ArrayableInterface, Jsonab... | Allow $model->visible to declare custom accessors | laravel_framework | train | php |
44558d53533d0ca22c8191dddae0d2769f00982d | diff --git a/cmd.js b/cmd.js
index <HASH>..<HASH> 100755
--- a/cmd.js
+++ b/cmd.js
@@ -108,8 +108,8 @@ if (process.env.DEBUG) {
}
var VLC_ARGS = process.env.DEBUG
- ? '-q --video-on-top --play-and-exit'
- : '--video-on-top --play-and-exit --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt'
+... | VLC should not open on top (fix #<I>) | webtorrent_webtorrent-cli | train | js |
9daa9a781b3e29e2ece3405c1ec826a7deabdc2f | diff --git a/tool/tsh/tsh.go b/tool/tsh/tsh.go
index <HASH>..<HASH> 100644
--- a/tool/tsh/tsh.go
+++ b/tool/tsh/tsh.go
@@ -578,10 +578,15 @@ func onListNodes(cf *CLIConf) {
if err != nil {
utils.FatalError(err)
}
+
+ // Get list of all nodes in backend and sort by "Node Name".
nodes, err := tc.ListNodes(contex... | Sort nodes by "Node Name" in tsh ls. | gravitational_teleport | train | go |
d6558b33ba5739ce857e2dce532b51ea4ca149a7 | diff --git a/www/include/minify/groupsConfig.php b/www/include/minify/groupsConfig.php
index <HASH>..<HASH> 100644
--- a/www/include/minify/groupsConfig.php
+++ b/www/include/minify/groupsConfig.php
@@ -86,6 +86,8 @@ $groups = array(
, '//prod/page0.js'
, '//prod/jquery.WorkZone.js'
, '//prod... | add pixastic and thumbExtractor to prod application | alchemy-fr_Phraseanet | train | php |
2843006e63bac137c65023ea0f0218176709fbab | diff --git a/aiodocker/docker.py b/aiodocker/docker.py
index <HASH>..<HASH> 100644
--- a/aiodocker/docker.py
+++ b/aiodocker/docker.py
@@ -124,8 +124,12 @@ class Docker:
if (response.status // 100) in [4, 5]:
what = await response.read()
+ content_type = response.headers.get('content-... | fix query with content-type check! | aio-libs_aiodocker | train | py |
e7420b8d3524547f3f7416b139189b5f295b17f1 | diff --git a/resources/views/form/switchfield.blade.php b/resources/views/form/switchfield.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/form/switchfield.blade.php
+++ b/resources/views/form/switchfield.blade.php
@@ -7,7 +7,7 @@
@include('admin::form.error')
<input type="checkbox" clas... | Unnecessary class attribute for hidden field | z-song_laravel-admin | train | php |
10688d8400330884e84fda114088afa0378af8b0 | diff --git a/src/article/metadata/MetadataPackage.js b/src/article/metadata/MetadataPackage.js
index <HASH>..<HASH> 100644
--- a/src/article/metadata/MetadataPackage.js
+++ b/src/article/metadata/MetadataPackage.js
@@ -60,6 +60,7 @@ export default {
config.addComponent('article-record', ArticleRecordEditor)
c... | Use translatable editor for keywords. | substance_texture | train | js |
57027c675da228b7cb53cb0628368e654e0ca768 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -34,8 +34,8 @@ extensions = [
'sphinx.ext.pngmath',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
- 'matplotlib.sphinxext.ipython_console_highlighting',
- 'matplotlib.sphinxext.ipython_dire... | Using extensions packaged with IPython. | abakan-zz_napi | train | py |
e3bd4690e03a2771d236b2fd193926d02f3e0761 | diff --git a/lib/pagelib.php b/lib/pagelib.php
index <HASH>..<HASH> 100644
--- a/lib/pagelib.php
+++ b/lib/pagelib.php
@@ -573,7 +573,6 @@ class moodle_page {
* state. This is our last change to initialise things.
*/
protected function starting_output() {
- global $CFG;
if (!$this->_cou... | blocklib: MDL-<I> move the check for whether the right database tables exist - and we no longer need this global. | moodle_moodle | train | php |
93a80bf71582e368a969bd1f398589a4e77670b1 | diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -247,6 +247,7 @@ class SSH(object):
que = multiprocessing.Queue()
running = {}
target_iter = self.targets.__iter__()
+ ... | fix race condition where return value is omitted | saltstack_salt | train | py |
7903697c36bbd79e729695e3ca35e24f7674a5bb | diff --git a/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java b/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java
index <HASH>..<HASH> 100644
--- a/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java
+++ b/transport/src/main/java/io/netty/channel/ChannelOutboundBuffe... | Remove Arrays.fill(..., null)
.. because we can just set each element to null while looping | netty_netty | train | java |
660652e6a1ca7d3d6214abcc79c41afe2c52ab52 | diff --git a/metrics-core/src/main/java/com/yammer/metrics/core/Metered.java b/metrics-core/src/main/java/com/yammer/metrics/core/Metered.java
index <HASH>..<HASH> 100644
--- a/metrics-core/src/main/java/com/yammer/metrics/core/Metered.java
+++ b/metrics-core/src/main/java/com/yammer/metrics/core/Metered.java
@@ -2,6 +... | Fix javadocs for Metered. | dropwizard_metrics | train | java |
5c12c91ce190d914cb5db4815a4e03c3532dd48b | diff --git a/lib/methods/platform.py b/lib/methods/platform.py
index <HASH>..<HASH> 100644
--- a/lib/methods/platform.py
+++ b/lib/methods/platform.py
@@ -2,8 +2,12 @@ from base import BaseMethod
from fabric.api import *
from fabric.colors import green, red
from lib import configuration
+from drush import DrushMetho... | FIx platform.sh integration, allow drush commands | factorial-io_fabalicious | train | py |
55769c4dec87d97cb2ace3176fe5be54689a2c67 | diff --git a/src/main/com/mongodb/OutMessage.java b/src/main/com/mongodb/OutMessage.java
index <HASH>..<HASH> 100644
--- a/src/main/com/mongodb/OutMessage.java
+++ b/src/main/com/mongodb/OutMessage.java
@@ -120,9 +120,10 @@ class OutMessage extends BasicBSONEncoder {
}
void doneWithMessage(){
- if ( ... | Added missing braces to conditional | mongodb_mongo-java-driver | train | java |
5b7dcab32ec5b56dab6168d179b5149446578bea | diff --git a/src/sap.m/src/sap/m/ListBase.js b/src/sap.m/src/sap/m/ListBase.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/ListBase.js
+++ b/src/sap.m/src/sap/m/ListBase.js
@@ -541,9 +541,6 @@ function(
// announce accessibility details at the initial focus
ListBase.prototype.bAnnounceDetails = true;
- ... | [INTERNAL] ListBase: Updating Listbase by removing outdated property
Previously bPreventMassSelection was used to prevent mass selection. Currently
the range selection is allowed in clearAll mode of the multiSelectMode property
but selectAll method is disabled for clearAll mode.
Change-Id: I<I>e<I>c<I>cf<I>a<I>f7abf4... | SAP_openui5 | train | js |
5b1f98e843eb57f5960d30f1c8a87baa8c50c0fc | diff --git a/test/test-generator-base.js b/test/test-generator-base.js
index <HASH>..<HASH> 100644
--- a/test/test-generator-base.js
+++ b/test/test-generator-base.js
@@ -63,7 +63,8 @@ describe('Generator Base', () => {
});
it('returns an up-to-date state', () => {
assert.deep... | Fix test not to rely on order of entities | jhipster_generator-jhipster | train | js |
41b710db471dbf84fcd590e181d567b930e5a3d2 | diff --git a/src/nwmatcher.js b/src/nwmatcher.js
index <HASH>..<HASH> 100644
--- a/src/nwmatcher.js
+++ b/src/nwmatcher.js
@@ -828,7 +828,7 @@ NW.Dom = (function(global) {
}
// caching enabled ?
- if (cachingEnabled && !cachingPaused && from.nodeType == 9 || !isDisconnected(from, root)) {
+ i... | fixed bug with IE where the engine was checking elements against the document using .contains() | dperini_nwmatcher | train | js |
69495701632e5f3f218c1a8db4d862ea7d7c2257 | diff --git a/lib/fb_graph_rails/fb_action_controller_extension.rb b/lib/fb_graph_rails/fb_action_controller_extension.rb
index <HASH>..<HASH> 100644
--- a/lib/fb_graph_rails/fb_action_controller_extension.rb
+++ b/lib/fb_graph_rails/fb_action_controller_extension.rb
@@ -18,7 +18,9 @@ module FbGraphRails::FbActionContro... | Using JS to redirect to FBs OAuth Page as documented | zickzackv_fb_graph_rails | train | rb |
673e9f37e768c8e1cfa8455b099dc5cc66cc53ac | diff --git a/test/andpush_test.rb b/test/andpush_test.rb
index <HASH>..<HASH> 100644
--- a/test/andpush_test.rb
+++ b/test/andpush_test.rb
@@ -8,6 +8,7 @@ class AndpushTest < Minitest::Test
client = Andpush.build(server_key)
json = {
to: device_token,
+ dry_run: true,
notification: {
... | Do not actually push notifiactions in test | yuki24_andpush | train | rb |
f3c2049874cff86a38105e0f63013c728913d065 | diff --git a/tests/settings.py b/tests/settings.py
index <HASH>..<HASH> 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -24,6 +24,15 @@ INSTALLED_APPS = (
'pgallery',
)
+MIDDLEWARE_CLASSES = (
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.middleware.common.CommonMiddleware'... | Added MIDDLEWARE_CLASSES to test settings for Django <I>+ compatibility. | zsiciarz_django-pgallery | train | py |
bee07496c39686377529de5a8dabd60dabbd6a55 | diff --git a/src/Underscore.php b/src/Underscore.php
index <HASH>..<HASH> 100644
--- a/src/Underscore.php
+++ b/src/Underscore.php
@@ -102,7 +102,7 @@ class Underscore
public static function mixin(array $functions)
{
foreach ($functions as $name => $function) {
- static::$registry->alias($... | Ensure $registry is initialized | Im0rtality_Underscore | train | php |
e3a72e9a3dcf7a9797f879ed9a75e8ef740a63c1 | diff --git a/examples/RDS_VPC.py b/examples/RDS_VPC.py
index <HASH>..<HASH> 100644
--- a/examples/RDS_VPC.py
+++ b/examples/RDS_VPC.py
@@ -107,7 +107,7 @@ mydb = t.add_resource(DBInstance(
EngineVersion="5.5",
MasterUsername=Ref(dbuser),
MasterUserPassword=Ref(dbpassword),
- DBSubnetGroupName=Ref(myvp... | Use subnet group for param, not vpc securitygroup | cloudtools_troposphere | train | py |
6de81a7de381a761d23383b9a3fba992beccfcfd | diff --git a/lib/deployml/rake/tasks.rb b/lib/deployml/rake/tasks.rb
index <HASH>..<HASH> 100644
--- a/lib/deployml/rake/tasks.rb
+++ b/lib/deployml/rake/tasks.rb
@@ -12,6 +12,18 @@ namespace :deploy do
@project.remote_sh args.command
end
+ desc 'Executes a rake task on the deploy server'
+ task :task, [:na... | Added the deploy:task task, for running tasks on the deploy server. | postmodern_deployml | train | rb |
aedfef7be13cf7c7815a345e51bb57de04eddc8f | diff --git a/bin/hydra.js b/bin/hydra.js
index <HASH>..<HASH> 100755
--- a/bin/hydra.js
+++ b/bin/hydra.js
@@ -52,9 +52,21 @@ hydraConfig.plugins.forEach(function(pluginDef) {
pluginObject.name = pluginDef.name;
hydra.registerPluginObject(pluginObject);
- console.log("Registering hydra plugin " +
- ... | Show plugin number of tests (not only heads) | robohydra_robohydra | train | js |
3b677b3caed073de15e0ba88c0ab5e766f02e071 | diff --git a/NavigationReact/sample/native/web/SceneNavigator.js b/NavigationReact/sample/native/web/SceneNavigator.js
index <HASH>..<HASH> 100644
--- a/NavigationReact/sample/native/web/SceneNavigator.js
+++ b/NavigationReact/sample/native/web/SceneNavigator.js
@@ -23,10 +23,10 @@ class SceneNavigator extends Componen... | Restored url as key because same url can't repeat
Because the crumbs appear in the url the same url can't appear more than
once | grahammendick_navigation | train | js |
dd876ae501f9ec51e7af059cfb7deece2fb7270e | diff --git a/sources/EngineWorks/DBAL/Pager.php b/sources/EngineWorks/DBAL/Pager.php
index <HASH>..<HASH> 100644
--- a/sources/EngineWorks/DBAL/Pager.php
+++ b/sources/EngineWorks/DBAL/Pager.php
@@ -242,7 +242,7 @@ class Pager
if (false === $value) {
throw new \RuntimeException("Unable to query th... | getTotalRecordsBySelectCount and getTotalRecordsByQueryCount cast the return value to integer | eclipxe13_engineworks-dbal | train | php |
5c1b990ad16e0cf6b540f6c114f4529fd1ef2574 | diff --git a/server/webapp/WEB-INF/rails.new/app/helpers/application_helper.rb b/server/webapp/WEB-INF/rails.new/app/helpers/application_helper.rb
index <HASH>..<HASH> 100644
--- a/server/webapp/WEB-INF/rails.new/app/helpers/application_helper.rb
+++ b/server/webapp/WEB-INF/rails.new/app/helpers/application_helper.rb
@... | Use a proper find method instead of a `each` with return | gocd_gocd | train | rb |
55e30740624b64a88cd19e8ea4dbd474853e2a76 | diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js b/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/te... | Bug <I> - [MAC] Typing Home on editor moves caret | eclipse_orion.client | train | js |
a915d56fb2c80b69bc2a25f0078bf072b71862ba | diff --git a/functional/FunctionalTest.java b/functional/FunctionalTest.java
index <HASH>..<HASH> 100644
--- a/functional/FunctionalTest.java
+++ b/functional/FunctionalTest.java
@@ -3848,6 +3848,7 @@ public class FunctionalTest {
Map<String, String> env = pb.environment();
env.put("MINIO_ROOT_USER", "minio")... | add MINIO_CI_CD=1 environment value (#<I>) | minio_minio-java | train | java |
0caa5cc5fa8098ef8270109db03205ad40d8f873 | diff --git a/pkg/testing/integration/program.go b/pkg/testing/integration/program.go
index <HASH>..<HASH> 100644
--- a/pkg/testing/integration/program.go
+++ b/pkg/testing/integration/program.go
@@ -161,7 +161,9 @@ func (opts *ProgramTestOptions) GetDebugLogLevel() int {
return opts.DebugLogLevel
}
if du := os.G... | Making linter happy. (#<I>) | pulumi_pulumi | train | go |
af9505ffa24da7eb2e77bec0400de5dfb50ca0fd | diff --git a/builtin/providers/aws/resource_aws_key_pair.go b/builtin/providers/aws/resource_aws_key_pair.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/resource_aws_key_pair.go
+++ b/builtin/providers/aws/resource_aws_key_pair.go
@@ -75,8 +75,10 @@ func resourceAwsKeyPairCreate(d *schema.ResourceData, meta... | aws_key_pair: Ensure key_name attribute is set
Ensure that the `key_name` attribute is available to `aws_key_pair`
resource dependents, even when the attribute is not specifically
set (i.e., when `key_name_prefix` or automatic naming is performed).
Fixes #<I>. | hashicorp_terraform | train | go |
9dbc34f06c4864e43d831b6a6766e1cae3cc3840 | diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/__init__.py
+++ b/python/phonenumbers/__init__.py
@@ -139,7 +139,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency
# Version number is taken from the ... | Prep for <I> release | daviddrysdale_python-phonenumbers | train | py |
c47fb40c3a3f74e443ca2722eb161f2f2fe180b6 | diff --git a/lib/mochawesome.js b/lib/mochawesome.js
index <HASH>..<HASH> 100755
--- a/lib/mochawesome.js
+++ b/lib/mochawesome.js
@@ -240,14 +240,15 @@ function cleanSuite (suite) {
*/
function cleanTest (test) {
- var code = '',
+ var code = test.fn ? test.fn.toString() : test.body,
err = test.err ? _.p... | look for code block in test.body for mocha <I> | adamgruber_mochawesome | train | js |
5f0ec9128fba517087d069ab7475fc3043d2fc6b | diff --git a/scripts/getBuildData.js b/scripts/getBuildData.js
index <HASH>..<HASH> 100644
--- a/scripts/getBuildData.js
+++ b/scripts/getBuildData.js
@@ -4,7 +4,7 @@ module.exports = (isCompiled = false) => {
let buildData = '';
if (git.branch() !== 'master') {
- buildData += '\n';
+ buildData += '';
... | refactor: Remove superfluous newline | nostalgic-css_NES.css | train | js |
8a67402b5aa3a636abad216cdde48d2224e63ce3 | diff --git a/lib/contracts/decorators.rb b/lib/contracts/decorators.rb
index <HASH>..<HASH> 100644
--- a/lib/contracts/decorators.rb
+++ b/lib/contracts/decorators.rb
@@ -5,6 +5,12 @@ module Contracts
class << klass
attr_accessor :decorated_methods
+
+ def self.owner_class
+ ObjectSpac... | singleton class usage :: add support for eigenclasses | egonSchiele_contracts.ruby | train | rb,rb |
3ede89b8e295d59b5290863330f5149f8542eb81 | diff --git a/lib/appium/AppiumRunner.js b/lib/appium/AppiumRunner.js
index <HASH>..<HASH> 100644
--- a/lib/appium/AppiumRunner.js
+++ b/lib/appium/AppiumRunner.js
@@ -56,7 +56,7 @@ function AppiumRunner(options) {
}
function getAppiumServerPath() {
- return path.resolve(process.cwd(), 'cordova-paramedic/node_mod... | CB-<I> Run Appium tests from any directory | ratson_cordova-testbed | train | js |
adfc53a605c5c157f2656a1b18a60331135bb3c3 | diff --git a/optaplanner-examples/src/main/java/org/optaplanner/examples/tsp/domain/Visit.java b/optaplanner-examples/src/main/java/org/optaplanner/examples/tsp/domain/Visit.java
index <HASH>..<HASH> 100644
--- a/optaplanner-examples/src/main/java/org/optaplanner/examples/tsp/domain/Visit.java
+++ b/optaplanner-example... | tsp: switch back to LatitudeVisitDifficultyComparator for FFD by default | kiegroup_optaplanner | train | java |
549763db63b004b3c0dc2a7c87c7077e2216046a | diff --git a/js/core/Component.js b/js/core/Component.js
index <HASH>..<HASH> 100644
--- a/js/core/Component.js
+++ b/js/core/Component.js
@@ -250,7 +250,9 @@ define(["require", "js/core/Element", "js/core/TextElement", "js/core/Bindable",
if (_.indexOf(addedDescriptors, child.$descriptor... | fixed adding of children with no descriptor | rappid_rAppid.js | train | js |
d1dfa0cefbe670ea10999bce8cf99379724ce373 | diff --git a/ntfy/backends/pushover.py b/ntfy/backends/pushover.py
index <HASH>..<HASH> 100644
--- a/ntfy/backends/pushover.py
+++ b/ntfy/backends/pushover.py
@@ -1,10 +1,10 @@
import requests
-def notify(title, message, api_token, user_key, device=None, **kwargs):
+def notify(title, message, user_key,
+ ... | include default pushover key
No need for user to set up their own pushover app. | dschep_ntfy | train | py |
739a236b360181a3a5e5c7db379abeef7e72f75d | diff --git a/plugins/PrivacyManager/DoNotTrackHeaderChecker.php b/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
index <HASH>..<HASH> 100644
--- a/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
+++ b/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
@@ -49,8 +49,10 @@ class DoNotTrackHeaderChecker
... | Fix for issue <I> (#<I>)
Fix for issue <I> - Tk should equal N not 1 | matomo-org_matomo | train | php |
27e7823cfe682a749b07b8ca747d13c9ab929fd5 | diff --git a/src/test/com/twitter/elephantbird/pig/load/TestErrorsInInput.java b/src/test/com/twitter/elephantbird/pig/load/TestErrorsInInput.java
index <HASH>..<HASH> 100644
--- a/src/test/com/twitter/elephantbird/pig/load/TestErrorsInInput.java
+++ b/src/test/com/twitter/elephantbird/pig/load/TestErrorsInInput.java
@... | skip test if there is no lzo configured | twitter_elephant-bird | train | java |
c5fa8994da644448c3f3bca1a4ebd417a08f7e6d | diff --git a/src/Build.php b/src/Build.php
index <HASH>..<HASH> 100644
--- a/src/Build.php
+++ b/src/Build.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
namespace ReallySimpleJWT;
use ReallySimpleJWT\TokenAbstract;
diff --git a/tests/BuildTest.php b/tests/BuildTest.php
index <HASH>..<HASH> 100644
--- a/t... | Added set issuer method and tests to build class. | RobDWaller_ReallySimpleJWT | train | php,php |
e0216f210aa0d9bda5ceb5aad8a91ea2a103a631 | diff --git a/test/interactive/interactive_init.rb b/test/interactive/interactive_init.rb
index <HASH>..<HASH> 100644
--- a/test/interactive/interactive_init.rb
+++ b/test/interactive/interactive_init.rb
@@ -1,3 +1,4 @@
+ENV['LOG_TAGS'] ||= '_untagged,consumer'
ENV['LOG_LEVEL'] ||= 'info'
require_relative '../test_i... | Log tags are set by interactive init | eventide-project_consumer-event-store | train | rb |
7146f5b601a4d2e2fe6d5ba82b5200834e50c806 | diff --git a/modules/custom/wxt_core/src/Commands/Hooks.php b/modules/custom/wxt_core/src/Commands/Hooks.php
index <HASH>..<HASH> 100644
--- a/modules/custom/wxt_core/src/Commands/Hooks.php
+++ b/modules/custom/wxt_core/src/Commands/Hooks.php
@@ -58,7 +58,9 @@ class Hooks extends DrushCommands {
* @hook pre-command... | Issue #<I>: Flushing caches during preUpdate hook should set maintenance mode | drupalwxt_wxt | train | php |
b5c061a41f751ff98f2261d92a2d806a43c980e6 | diff --git a/core/lib/refinery/helpers/image_helper.rb b/core/lib/refinery/helpers/image_helper.rb
index <HASH>..<HASH> 100644
--- a/core/lib/refinery/helpers/image_helper.rb
+++ b/core/lib/refinery/helpers/image_helper.rb
@@ -28,10 +28,18 @@ module Refinery
# call rails' image tag function with default alt ... | Automagically insert image width and height dimensions if the developer is cropping their image because we can work those out. | refinery_refinerycms | train | rb |
709ddfedfd31eea43bf8f683db5b09a28d293700 | diff --git a/lib/httparty/logger/logger.rb b/lib/httparty/logger/logger.rb
index <HASH>..<HASH> 100644
--- a/lib/httparty/logger/logger.rb
+++ b/lib/httparty/logger/logger.rb
@@ -5,7 +5,7 @@ module HTTParty
module Logger
def self.build(logger, level, formatter)
level ||= :info
- format ||= :apache
... | Initialize formatter if not given by caller same way as level | jnunemaker_httparty | train | rb |
91e0c91d7c6ead882bee1fa500a5085f94716718 | diff --git a/lib/active_admin/views/index_as_block.rb b/lib/active_admin/views/index_as_block.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/views/index_as_block.rb
+++ b/lib/active_admin/views/index_as_block.rb
@@ -21,7 +21,7 @@ module ActiveAdmin
def build(page_presenter, collection)
add_clas... | Only show the batch action panel if there are batch actions. Fixes #<I> | activeadmin_activeadmin | train | rb,rb |
37cb93d1506c95cc474487bd8abcffdfae8d0e48 | diff --git a/test/extended/router/shard/shard.go b/test/extended/router/shard/shard.go
index <HASH>..<HASH> 100644
--- a/test/extended/router/shard/shard.go
+++ b/test/extended/router/shard/shard.go
@@ -29,8 +29,6 @@ var ingressControllerNonDefaultAvailableConditions = []operatorv1.OperatorCondit
{Type: operatorv1.In... | extended/test/router: omit DNS managed conditions for shards
When standing up a new router shard omit the DNS managed conditions.
The remainder of the tests that spin up new shards go on to assert
that host names can be resolved so these conditions are not necessary
and will, in general, avoid tests failing on UPI pla... | openshift_origin | train | go |
1651988144c13c39d351eba57b69ef3206961cf1 | diff --git a/samples/amt.rb b/samples/amt.rb
index <HASH>..<HASH> 100644
--- a/samples/amt.rb
+++ b/samples/amt.rb
@@ -57,7 +57,7 @@ def sol_stop client
instance.RequestStateChange(32768)
when 32771
# SOL and IDE-R are enabled
- instance.RequestStateChange(32769,nil,0)
+ instance.RequestStateChange(3... | amt.rb: only pass one arg to RequestStateChange | kkaempf_ruby-wbem | train | rb |
3820c12b81502f27ecf1f0caef00f5acadca086c | diff --git a/plugin/requirejs.js b/plugin/requirejs.js
index <HASH>..<HASH> 100644
--- a/plugin/requirejs.js
+++ b/plugin/requirejs.js
@@ -19,7 +19,7 @@
function resolveName(name, data) {
var excl = name.indexOf("!");
- if (excl > -1) name = name.slice(excl + 1);
+ if (excl > -1) name = name.slice(0, ex... | [requirejs plugin] Change (half-assed) handling of | ternjs_tern | train | js |
10cd038ddf21237e24a5e853104a578bfca097dc | diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100755
--- a/autopep8.py
+++ b/autopep8.py
@@ -4363,7 +4363,12 @@ def main(argv=None, apply_config=True):
assert len(args.files) == 1
assert not args.recursive
- ret = fix_multiple_files(args.files, args, sys.stdo... | fix incompatible exit code with --jobs=0 and --exit-code | hhatto_autopep8 | train | py |
2b8d1fd6d66006e4cb62db9fd392dd358c867c5c | diff --git a/src/com/google/javascript/jscomp/WhitelistWarningsGuard.java b/src/com/google/javascript/jscomp/WhitelistWarningsGuard.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/WhitelistWarningsGuard.java
+++ b/src/com/google/javascript/jscomp/WhitelistWarningsGuard.java
@@ -256,7 +256,7 @@ p... | Skip some text in the whitelist if the whitelist doesn't contain any warnings. This is helpful when the whitelist is part of a larger set of warnings.
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
85c44012ffd14e247d64d8d4821b5bc07d63e140 | diff --git a/lib/rest-core/client/flurry.rb b/lib/rest-core/client/flurry.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-core/client/flurry.rb
+++ b/lib/rest-core/client/flurry.rb
@@ -101,7 +101,7 @@ module RestCore::Flurry::Client
private
def calculate_query_and_opts query, opts
days = opts[:days] || (opts[:... | flurry.rb: by default, query only for 1 week | godfat_rest-more | train | rb |
d84fa36f5df51096b31856f6dc5543743009f653 | diff --git a/storops/unity/enums.py b/storops/unity/enums.py
index <HASH>..<HASH> 100644
--- a/storops/unity/enums.py
+++ b/storops/unity/enums.py
@@ -537,6 +537,7 @@ class SFPSpeedValuesEnum(UnityEnum):
_10GbPS = (10000, '10GbPS')
_12GbPS = (12000, '12GbPS')
_16GbPS = (16000, '16GbPS')
+ _25GbPS = (2... | Unity: fix enums issue (#<I>) | emc-openstack_storops | train | py |
2b4a6a1fbf69d98062f433ab690e55db316abb02 | diff --git a/benchexec/tools/two_ls.py b/benchexec/tools/two_ls.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/two_ls.py
+++ b/benchexec/tools/two_ls.py
@@ -50,7 +50,7 @@ class Tool(benchexec.tools.template.BaseTool2):
elif returncode == 0:
status = result.RESULT_TRUE_PROP
elif retu... | updated two_ls: replaced length check on run.output | sosy-lab_benchexec | train | py |
54f9a6ff77a1a0af6639ced5acfd32c195d03db0 | diff --git a/dusty/cli/__init__.py b/dusty/cli/__init__.py
index <HASH>..<HASH> 100644
--- a/dusty/cli/__init__.py
+++ b/dusty/cli/__init__.py
@@ -84,7 +84,7 @@ def _run_command(sock, command):
data = sock.recv(65535)
timer.cancel()
if data:
- stripped = data.decode('utf-8').replac... | Remove extraneous utf-8 decode in CLI socket recv | gamechanger_dusty | train | py |
f804b410ef3a0db0510f46e96aa05c681c4ac5e2 | diff --git a/core/BaseView.core.php b/core/BaseView.core.php
index <HASH>..<HASH> 100644
--- a/core/BaseView.core.php
+++ b/core/BaseView.core.php
@@ -77,6 +77,15 @@ class BaseView {
}//construct
+ /**
+ * Allow the page to be printed by echoing
+ * the Template object.
+ */
+ publi... | added magic __toString() method to enable echoing the view | discophp_framework | train | php |
16639aafdcb308f57e7a022142bcf366f0b2cc24 | diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/db/models.py
+++ b/openquake/engine/db/models.py
@@ -94,7 +94,7 @@ LOSS_TYPES = ["structural", "nonstructural", "occupants", "contents"]
#: relative tolerance to consider two risk outputs (... | increased the tolerance to <I>%
Former-commit-id: d<I>e<I>c<I>b4ea<I>cead3dde4fe<I>b<I>c1 | gem_oq-engine | train | py |
6c22d837ef8d6d68b25f16887af37608e22219f0 | diff --git a/src/main/java/com/atomist/rug/spi/ExportFunction.java b/src/main/java/com/atomist/rug/spi/ExportFunction.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/atomist/rug/spi/ExportFunction.java
+++ b/src/main/java/com/atomist/rug/spi/ExportFunction.java
@@ -8,7 +8,6 @@ import java.lang.annotation.*;
... | Removed Inherited annotation on ExportFunction | atomist-attic_rug | train | java |
d327642299b5ecda2c81870c94ce4b275adb1386 | diff --git a/src/ox_modules/module-web.js b/src/ox_modules/module-web.js
index <HASH>..<HASH> 100644
--- a/src/ox_modules/module-web.js
+++ b/src/ox_modules/module-web.js
@@ -217,7 +217,11 @@ export default class WebModule extends WebDriverModule {
// maximize browser window
try {
this.dr... | CBS-<I> "Re-open session on each iteration" doesn't work | oxygenhq_oxygen | train | js |
c4666f5039da71337f4ff572212fe7bc7e286058 | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -78,8 +78,8 @@ module Discordrb
end
when "MESSAGE_CREATE"
message = Message.new(data)
-
- # TODO: Call event handlers
+ event = MessageEven... | Raise an event upon receiving a message | meew0_discordrb | train | rb |
1917de1058d4d73fbef094d2efb66da32424c7e8 | diff --git a/planet/clients/data.py b/planet/clients/data.py
index <HASH>..<HASH> 100644
--- a/planet/clients/data.py
+++ b/planet/clients/data.py
@@ -70,9 +70,6 @@ class DataClient():
def _searches_url(self):
return f'{self._base_url}{SEARCHES_PATH}'
- def _stats_url(self):
- return f'{self._... | refactor small fcn | planetlabs_planet-client-python | train | py |
e957e451adae05a841b7089585148b95654760de | diff --git a/salt/client/api.py b/salt/client/api.py
index <HASH>..<HASH> 100644
--- a/salt/client/api.py
+++ b/salt/client/api.py
@@ -273,7 +273,7 @@ class APIClient(object):
raise EauthAuthenticationError(
"Authentication failed with {0}.".format(repr(ex)))
- if not 'token' in t... | Fix PEP8 E<I> - test for membership should be "not in" | saltstack_salt | train | py |
be3d529767c6daa2a2d30ecff8e7488c1df73960 | diff --git a/text/text.go b/text/text.go
index <HASH>..<HASH> 100644
--- a/text/text.go
+++ b/text/text.go
@@ -174,9 +174,8 @@ func getGlyphImages(face font.Face, runes []rune) []*glyphImage {
d.Dot = fixed.Point26_6{fixed.I(x) - b.Min.X, -b.Min.Y}
d.DrawString(string(r))
- img, _ := ebiten.NewImageFromImag... | text: Bug fix: one image should be used for multiple glyphs (#<I>) | hajimehoshi_ebiten | train | go |
1e03c2d8c1134026bf762e9c5f704f5c8539db99 | diff --git a/src/Core/Application.php b/src/Core/Application.php
index <HASH>..<HASH> 100644
--- a/src/Core/Application.php
+++ b/src/Core/Application.php
@@ -17,7 +17,14 @@ class Application extends \Tsugi\Silex\Application {
$this['tsugi']->output->buffer = false;
$P7 = strpos(phpversion(), '7') =... | Add a few routes for PHP 5 | tsugiproject_koseu-php | train | php |
48953297137470c14ca084ec3fe8809ed3505b99 | diff --git a/spec/unit/node/environment.rb b/spec/unit/node/environment.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/node/environment.rb
+++ b/spec/unit/node/environment.rb
@@ -171,7 +171,7 @@ describe Puppet::Node::Environment do
env.expects(:modulepath).returns %w{/a}
Dir.expects(:... | Fix for #<I> (test not checking for what it really wanted) | puppetlabs_puppet | train | rb |
80a13b2b3b201384610714a1ee6c977eecff4206 | diff --git a/pygc/__init__.py b/pygc/__init__.py
index <HASH>..<HASH> 100644
--- a/pygc/__init__.py
+++ b/pygc/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.2'
+__version__ = '0.3-dev'
from pygc.gc import great_circle
from pygc.gc import great_distance | Bump to <I>-dev | axiom-data-science_pygc | train | py |
bedf3c82a55b4b67eed93f686cb17e82f7ab19cd | diff --git a/redis/lock.py b/redis/lock.py
index <HASH>..<HASH> 100644
--- a/redis/lock.py
+++ b/redis/lock.py
@@ -77,7 +77,6 @@ class Lock:
self,
redis,
name: str,
- *,
timeout: Optional[Number] = None,
sleep: Number = 0.1,
blocking: bool = True,
diff --git ... | Fix Lock crash, and versioning <I> (#<I>)
* fix lock
* <I> | andymccurdy_redis-py | train | py,py |
cd3c9588ac6a6a408351dfa1aff8d6ab2a7362f5 | diff --git a/edit_osx.go b/edit_osx.go
index <HASH>..<HASH> 100644
--- a/edit_osx.go
+++ b/edit_osx.go
@@ -8,7 +8,7 @@ import (
"time"
)
-const charInvervalMs = 50
+const charInvervalMs = 20
/*
EditField is a single-line text edit contol. Edit field consumes some keyboard | smoother delay for more natural keyboard entry | VladimirMarkelov_clui | train | go |
bc75b1ac96b5c675aa27397250c5c02b1e0e46a7 | diff --git a/packages/ember-viewstates/lib/view_state.js b/packages/ember-viewstates/lib/view_state.js
index <HASH>..<HASH> 100644
--- a/packages/ember-viewstates/lib/view_state.js
+++ b/packages/ember-viewstates/lib/view_state.js
@@ -243,7 +243,8 @@ var get = Ember.get, set = Ember.set;
`view` that references the `... | Add @scope so properties are picked up by JsDoc | emberjs_ember.js | train | js |
2d427b1d86285b41799a725953954dc23fca66b5 | diff --git a/tests/test_bootstrap_sampler.py b/tests/test_bootstrap_sampler.py
index <HASH>..<HASH> 100644
--- a/tests/test_bootstrap_sampler.py
+++ b/tests/test_bootstrap_sampler.py
@@ -246,7 +246,6 @@ class SamplerTests(unittest.TestCase):
func,
bad_re... | Completed initial test suite for bootstrap_samplyer.py | timothyb0912_pylogit | train | py |
d41556a2f33fb5eafbbb4f8f8ecdb44c5e8b41e9 | diff --git a/lib/Form/Basic.php b/lib/Form/Basic.php
index <HASH>..<HASH> 100644
--- a/lib/Form/Basic.php
+++ b/lib/Form/Basic.php
@@ -242,7 +242,7 @@ class Form_Basic extends View implements ArrayAccess {
function addSeparator($class='',$attr=array()){
if(!isset($this->template_chunks['form_separator']))... | if you use
$this->addSeperetor('any-class')
inside the form
the class 'any-class' goes nowhere.
This fix set provided class to fieldset_class of Form | atk4_atk4 | train | php |
95dc9302fb6cd6b35d70effffc5149b516484e54 | diff --git a/db/jobs.go b/db/jobs.go
index <HASH>..<HASH> 100644
--- a/db/jobs.go
+++ b/db/jobs.go
@@ -79,7 +79,7 @@ type JobFilter struct {
ExactMatch bool
}
-func (f *JobFilter) Query(driver string) (string, []interface{}, error) {
+func (f *JobFilter) Query() (string, []interface{}, error) {
wheres := []strin... | Remove 'driver' reference
We don't support multiple drivers any more | starkandwayne_shield | train | go |
88d19b7d558cb0168bbc49f1494fdb14d52fb2cc | diff --git a/phy/utils/_misc.py b/phy/utils/_misc.py
index <HASH>..<HASH> 100644
--- a/phy/utils/_misc.py
+++ b/phy/utils/_misc.py
@@ -103,13 +103,17 @@ def _show_shortcuts(shortcuts, name=''):
def _git_version():
+ curdir = os.getcwd()
filedir, _ = op.split(__file__)
+ os.chdir(filedir)
try:
... | Reverted commit <I>b<I> to support git pre-<I> | kwikteam_phy | train | py |
2c4c3309a1fe2538ee714e65072748c70bea135b | diff --git a/tests/integration/test.basics.js b/tests/integration/test.basics.js
index <HASH>..<HASH> 100644
--- a/tests/integration/test.basics.js
+++ b/tests/integration/test.basics.js
@@ -80,6 +80,15 @@ adapters.forEach(function (adapter) {
});
});
+ it('Get invalid id', function () {
+ var db ... | (#<I>) - Add tets for invalid id in get | pouchdb_pouchdb | train | js |
5bc5dd697065c448b9dd5e06e52cc29965bcaacd | diff --git a/crabpy/tests/gateway/test_crab.py b/crabpy/tests/gateway/test_crab.py
index <HASH>..<HASH> 100644
--- a/crabpy/tests/gateway/test_crab.py
+++ b/crabpy/tests/gateway/test_crab.py
@@ -785,7 +785,7 @@ class StraatTests(unittest.TestCase):
def test_wegobjecten(self):
crab = CrabGateway(... | added missing () which was causing failing tests | OnroerendErfgoed_crabpy | train | py |
342daccc0e06595c7dde969bc21c28c8bf9434f1 | diff --git a/goatools/anno/extensions/factory.py b/goatools/anno/extensions/factory.py
index <HASH>..<HASH> 100755
--- a/goatools/anno/extensions/factory.py
+++ b/goatools/anno/extensions/factory.py
@@ -1,6 +1,7 @@
"""Annotation Extension for relational expressions.
https://link.springer.com/protocol/10.1007/978... | Added comment: link to annotation extension documentation | tanghaibao_goatools | train | py |
4f1d0f6b7e5718d629795b94ac12616241791334 | diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/activ... | remove_index now uses quote_table_name() [#<I> state:resolved] | rails_rails | train | rb |
e35669e1bf35ecdd24373d644734b199763e1625 | diff --git a/lib/rfd.rb b/lib/rfd.rb
index <HASH>..<HASH> 100644
--- a/lib/rfd.rb
+++ b/lib/rfd.rb
@@ -424,7 +424,8 @@ module Rfd
FileUtils.touch File.join(current_dir, filename)
else
Zip::File.open(current_zip.path) do |zip|
- zip.file.open(filename, 'w') {|_f| }
+ # zip.file... | Ugly hack aiming #touch in a .zip file not to create an unneeded temporary file | amatsuda_rfd | train | rb |
14230e80819156c590cc83b36bff8e3ab885e043 | diff --git a/language/fr_FR.interface.php b/language/fr_FR.interface.php
index <HASH>..<HASH> 100644
--- a/language/fr_FR.interface.php
+++ b/language/fr_FR.interface.php
@@ -573,7 +573,7 @@ return [
// tinymce
'tr_meliscore_tinymce_file_manager' => 'File Manager',
'tr_meliscore_tinymce_insert_edit_link_... | fixed issue on add tree view button not appearing on other language used | melisplatform_melis-core | train | php |
3255178dc663980e1bc4270ce4adc9b14ef465b2 | diff --git a/pelix/rsa/providers/distribution/xmlrpc.py b/pelix/rsa/providers/distribution/xmlrpc.py
index <HASH>..<HASH> 100644
--- a/pelix/rsa/providers/distribution/xmlrpc.py
+++ b/pelix/rsa/providers/distribution/xmlrpc.py
@@ -285,7 +285,7 @@ class XmlRpcImportContainer(ImportContainer):
xmlrpc.client.Serv... | XML-RPC proxy inherits from object()
Fixes tests on Python <I> | tcalmant_ipopo | train | py |
180fe0e9036c3dd00662fbeedde4209af065870b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -49,5 +49,6 @@ setup(
tests_require=['coverage', 'nose'],
install_requires=['pyserial'],
package_dir={'kiss': 'kiss'},
+ packages=['kiss'],
zip_safe=False
) | adding packages param to setup.py. | Syncleus_apex-aprs | train | py |
392c5fcc15c1dace509876e6f180580f135b79cc | diff --git a/lib/sprinkle/installers/installer.rb b/lib/sprinkle/installers/installer.rb
index <HASH>..<HASH> 100644
--- a/lib/sprinkle/installers/installer.rb
+++ b/lib/sprinkle/installers/installer.rb
@@ -3,9 +3,9 @@ module Sprinkle
class Installer
attr_accessor :delivery, :package, :options
- def ... | Add support for arbitrary options to be passed to an installer during initialization, in addition to being within blocks | sprinkle-tool_sprinkle | train | rb |
e6a73b4b29ace4cc3377098087fd1358ad94343a | diff --git a/spyder/plugins/editor.py b/spyder/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor.py
+++ b/spyder/plugins/editor.py
@@ -2202,8 +2202,8 @@ class Editor(SpyderPluginWidget):
@Slot(bool)
def toggle_show_blanks(self, checked):
- editor = self.get_current_editor()... | Fix error show blanks spaces only applied to curret editor. | spyder-ide_spyder | train | py |
5bacc59e23ec472c0eca1875a7c36928ea541a4b | diff --git a/tests/linalg_test.py b/tests/linalg_test.py
index <HASH>..<HASH> 100644
--- a/tests/linalg_test.py
+++ b/tests/linalg_test.py
@@ -324,7 +324,7 @@ class ScipyLinalgTest(jtu.JaxTestCase):
self.skipTest("No LU implementation available")
a = rng(shape, dtype)
- jtu.check_grads(jsp.linalg.lu, (... | Relax tolerance of LuGrad test to make it pass in jax_enable_x<I> mode. | tensorflow_probability | train | py |
79be11e03b7c1aef1886f7c9c30c788c21f755eb | diff --git a/primus.js b/primus.js
index <HASH>..<HASH> 100644
--- a/primus.js
+++ b/primus.js
@@ -120,7 +120,7 @@ function Primus(url, options) {
};
//
- //
+ // Create our reconnection instance.
//
primus.recovery = new Recovery(options.reconnect); | [minor] Added missing comment | primus_primus | train | js |
b965b4353d2e2623b6733b502fa9909bc025d916 | diff --git a/functions/post-formats.php b/functions/post-formats.php
index <HASH>..<HASH> 100644
--- a/functions/post-formats.php
+++ b/functions/post-formats.php
@@ -319,7 +319,7 @@ function hybrid_image_content( $content ) {
preg_match( '/<img.*?>/', $content, $matches );
if ( empty( $matches ) && current_the... | Make sure to call the 'large' size image and don't use the 'meta_key' argument. Also, return the original post content. | justintadlock_hybrid-core | train | php |
4b79d3e791d6e2c72f2734a0636b77a364262652 | diff --git a/lib/mic.js b/lib/mic.js
index <HASH>..<HASH> 100644
--- a/lib/mic.js
+++ b/lib/mic.js
@@ -56,7 +56,7 @@ var mic = function mic(options) {
'-t', fileType, '-'], audioProcessOptions)
}
else {
- audioProcess = spawn('arecord', ['-c', ... | added fileType parameter to arecord
Added the fileType option (already defaults to raw) as a parameter that gets passed to the spawned `arecord` process. This resolves the issues noted in <URL>, meaning that `arecord` will run indefinitely. For any given fileType the user supplies, the expected behavior is that `areco... | ashishbajaj99_mic | train | js |
258f08e7f0d4e113103fef1f027e9628b8c8af8e | diff --git a/src/WordpressClient.php b/src/WordpressClient.php
index <HASH>..<HASH> 100644
--- a/src/WordpressClient.php
+++ b/src/WordpressClient.php
@@ -772,6 +772,8 @@ class WordpressClient
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_request);
curl_setop... | Added User-Agent header to cURL request
Added User-Agent header to cURL request as WordPress.com blogs now
require this to be set before accepting an XML-RPC request. | letrunghieu_wordpress-xmlrpc-client | train | php |
97b6f4628095fd6c46ddf087f9d32324c382809a | diff --git a/webmagic-core/src/main/java/us/codecraft/webmagic/Page.java b/webmagic-core/src/main/java/us/codecraft/webmagic/Page.java
index <HASH>..<HASH> 100644
--- a/webmagic-core/src/main/java/us/codecraft/webmagic/Page.java
+++ b/webmagic-core/src/main/java/us/codecraft/webmagic/Page.java
@@ -94,7 +94,7 @@ public ... | Bugfix: break loop in addTargetRequests #<I> | code4craft_webmagic | train | java |
a5b228b58170eeb2819c92049708c4ed83bff8d7 | diff --git a/resolwe/flow/executors/logger.py b/resolwe/flow/executors/logger.py
index <HASH>..<HASH> 100644
--- a/resolwe/flow/executors/logger.py
+++ b/resolwe/flow/executors/logger.py
@@ -26,6 +26,10 @@ class JSONFormatter(logging.Formatter):
# Exception and Traceback cannot be serialized.
data['ex... | Ensure logging messages in JSONFormater are instatiated to strings | genialis_resolwe | train | py |
b93ca8d020a96272a4391e274c0759cbed8c5679 | diff --git a/scruffy/config.py b/scruffy/config.py
index <HASH>..<HASH> 100644
--- a/scruffy/config.py
+++ b/scruffy/config.py
@@ -80,9 +80,6 @@ class ConfigNode(object):
def __le__(self, other):
return self._get_value() <= other
- def __le__(self, other):
- return self._get_value() <= other
-... | while we're at it, fix a couple bugs the linter caught | snare_scruffy | train | py,py |
133f7ae04ff3eec250fb2eb27406bf9ed493ba19 | diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -42,7 +42,7 @@ def session_fixture():
raise
yield
import shutil
- shutil.rmtree(tempfile.tempdir)
+ shutil.rmtree(tempfile.tempdir, ignore_errors=True)
def pytest_collection_modify... | [conftest] ignore errors during tidying up. | markovmodel_PyEMMA | train | py |
91a37233428054436bb9e3052f0c424f052bf611 | diff --git a/spec/unit/part_spec.rb b/spec/unit/part_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/part_spec.rb
+++ b/spec/unit/part_spec.rb
@@ -62,15 +62,4 @@ RSpec.describe Dry::View::Part do
expect { part.farewell }.to raise_error(NoMethodError)
end
end
-
- def itself_with(**overrides)
- des... | Remove unused spec helper method | dry-rb_dry-view | train | rb |
517480e63dc450b870a2208bbcafe6bac14bfd98 | diff --git a/pyoko/db/base.py b/pyoko/db/base.py
index <HASH>..<HASH> 100644
--- a/pyoko/db/base.py
+++ b/pyoko/db/base.py
@@ -277,6 +277,9 @@ class DBObjects(object):
'BUCKET': self.index_name,
'TIME': round(time.time() - t1, 5)})
if self._cfg['rtype'] == ReturnType.M... | raise cleaner errors when referenced object does not exists | zetaops_pyoko | train | py |
42c171147b890aedd38f064d7c1ec15069d0a04c | diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php
index <HASH>..<HASH> 100644
--- a/core/Plugin/Manager.php
+++ b/core/Plugin/Manager.php
@@ -67,7 +67,6 @@ class Manager extends Singleton
'DBStats',
'DevicesDetection',
// 'Events',
- 'TreemapVisualization', // should be mov... | Removing Treemap from core plugins disabled by default | matomo-org_matomo | train | php |
d0d7baebf33ac4fb25f57a7f856e6e5515f65b6d | diff --git a/lang/fr/forum.php b/lang/fr/forum.php
index <HASH>..<HASH> 100644
--- a/lang/fr/forum.php
+++ b/lang/fr/forum.php
@@ -94,6 +94,7 @@ $string['nownotsubscribed'] = 'Les messages du forum
$string['nowsubscribed'] = 'Les messages du forum � $a->forum � seront envoy�s � $a->name.';
$string['numposts'] = '$a ... | New string for 'recent news' block | moodle_moodle | train | php |
292ead33ad297a23978020bd37ff54600225e9bc | diff --git a/bulbs/videos/api.py b/bulbs/videos/api.py
index <HASH>..<HASH> 100644
--- a/bulbs/videos/api.py
+++ b/bulbs/videos/api.py
@@ -50,7 +50,7 @@ class VideoViewSet(viewsets.ModelViewSet):
video.name = request.POST.get('name')
try:
- s3_path = os.path.join(settings.VIDEO_ENCODI... | Fixing encode endpoint (I hope) | theonion_django-bulbs | train | py |
db9ef08a8da60fe28b64bfa0136e7549d526f24d | diff --git a/actionview/test/template/digestor_test.rb b/actionview/test/template/digestor_test.rb
index <HASH>..<HASH> 100644
--- a/actionview/test/template/digestor_test.rb
+++ b/actionview/test/template/digestor_test.rb
@@ -17,8 +17,7 @@ class FixtureFinder < ActionView::LookupContext
FIXTURES_DIR = "#{File.dirna... | the lookup context looks in the cwd, so prefix isn't necessary | rails_rails | train | rb |
5886a9ad10e360a0c582c8883e282436d9077b27 | diff --git a/ibis/backends/pandas/client.py b/ibis/backends/pandas/client.py
index <HASH>..<HASH> 100644
--- a/ibis/backends/pandas/client.py
+++ b/ibis/backends/pandas/client.py
@@ -1,10 +1,13 @@
"""The pandas client implementation."""
+from collections.abc import Mapping, Sequence
+
import numpy as np
import pan... | fix(pandas): fix struct inference from dict in the pandas backend | ibis-project_ibis | 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.