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 |
|---|---|---|---|---|---|
f71fb8478aacbb2e354b1c4f1a050297fb9be12c | diff --git a/vis/visualization/saliency.py b/vis/visualization/saliency.py
index <HASH>..<HASH> 100644
--- a/vis/visualization/saliency.py
+++ b/vis/visualization/saliency.py
@@ -176,7 +176,7 @@ def visualize_cam_with_losses(input_tensor, losses, seed_input, penultimate_laye
weights = np.mean(grads, axis=tuple(oth... | Fix #<I>. By this improvement, Tensor's shape is got from acutual input/ouput data, not from model's definition. | raghakot_keras-vis | train | py |
80f6178e9ce5dca00c3ae0c4937a8bf016e122e5 | diff --git a/gbdxtools/images/meta.py b/gbdxtools/images/meta.py
index <HASH>..<HASH> 100644
--- a/gbdxtools/images/meta.py
+++ b/gbdxtools/images/meta.py
@@ -100,7 +100,7 @@ def load_urls(collection, shape=(8,256,256), timeout=0.1):
fp.close()
try:
arr = imread(fp.name)
- if l... | all compute workflows functioning after fixing logic bug in load_urls during read | DigitalGlobe_gbdxtools | train | py |
e99eb87ba9694d5b570ac094a10ddc1f360d9730 | diff --git a/src/runcommands/util/printer.py b/src/runcommands/util/printer.py
index <HASH>..<HASH> 100644
--- a/src/runcommands/util/printer.py
+++ b/src/runcommands/util/printer.py
@@ -93,6 +93,8 @@ class Printer:
def print(self, *args, color=None, sep=" ", **kwargs):
string = self.colorize(*args, col... | Ignore flush arg in Printer.print()
Rich handles flushing for us.
Amends f<I>b<I>b<I>b7a<I>a<I>a<I>c<I>fda5c2b<I> | wylee_runcommands | train | py |
b0e2e212c6eb7ef0d0c23cbcf674f8727ca46b24 | diff --git a/ws4redis/__init__.py b/ws4redis/__init__.py
index <HASH>..<HASH> 100644
--- a/ws4redis/__init__.py
+++ b/ws4redis/__init__.py
@@ -1,2 +1,3 @@
# -*- coding: utf-8 -*-
__version__ = '0.3.0'
+from ws4redis import signals | Signal handler which populates session store with groups for logged in user | jrief_django-websocket-redis | train | py |
4ba9368980a88f81645a1b351a65f5af9213df39 | diff --git a/examples/i18n/uz/features/step_definitons/calculator_steps.rb b/examples/i18n/uz/features/step_definitons/calculator_steps.rb
index <HASH>..<HASH> 100644
--- a/examples/i18n/uz/features/step_definitons/calculator_steps.rb
+++ b/examples/i18n/uz/features/step_definitons/calculator_steps.rb
@@ -4,7 +4,7 @@
... | And and But are no longer allowed in step definitions. | cucumber_cucumber-ruby | train | rb |
0a0bf8ee668a5e9364bb332079541bb8feea6839 | diff --git a/tests/org.eclipse.xtext.tests/src/org/eclipse/xtext/parsetree/formatter/ElementMatcherTest.java b/tests/org.eclipse.xtext.tests/src/org/eclipse/xtext/parsetree/formatter/ElementMatcherTest.java
index <HASH>..<HASH> 100644
--- a/tests/org.eclipse.xtext.tests/src/org/eclipse/xtext/parsetree/formatter/Element... | fixed a bug that could lead to an endless loop | eclipse_xtext-extras | train | java |
4ba24b100cf21f1953031d12573da19492ad2213 | diff --git a/constants.js b/constants.js
index <HASH>..<HASH> 100644
--- a/constants.js
+++ b/constants.js
@@ -12,10 +12,10 @@ exports.COUNT_MC_BALLS_FOR_PAID_WITNESSING = 100;
exports.version = '1.0';
exports.alt = '1';
-exports.GENESIS_UNIT = 'rg1RzwKwnfRHjBojGol3gZaC5w7kR++rOR6O61JRsrQ=';
+exports.GENESIS_UNIT =... | Update dev genesis unit and fundation address | trustnote_trustnote-pow-common | train | js |
f623de1806f2b01b2de6c3c2db2e225b453b6bfb | diff --git a/iserve-sal-gwt/src/main/java/uk/ac/open/kmi/iserve/sal/gwt/client/widget/ServiceListWidget.java b/iserve-sal-gwt/src/main/java/uk/ac/open/kmi/iserve/sal/gwt/client/widget/ServiceListWidget.java
index <HASH>..<HASH> 100644
--- a/iserve-sal-gwt/src/main/java/uk/ac/open/kmi/iserve/sal/gwt/client/widget/Servic... | Added autofill to the services grid | kmi_iserve | train | java |
f74f49cf710b3edc68ddae641303d364fb20968a | diff --git a/flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/connector/kafka/sink/KafkaCommitterTest.java b/flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/connector/kafka/sink/KafkaCommitterTest.java
index <HASH>..<HASH> 100644
--- a/flink-connectors/flink-connector-kafka/sr... | [FLINK-<I>][connectors/kafka] Force immediate shutdown of FlinkInternalKafkaProducer to speed up testRetryComittableOnRetriableError | apache_flink | train | java |
4779694a98edcc5ff51b9afcf95909df1f334726 | diff --git a/boiler/cli/cli.py b/boiler/cli/cli.py
index <HASH>..<HASH> 100644
--- a/boiler/cli/cli.py
+++ b/boiler/cli/cli.py
@@ -1,6 +1,7 @@
import click, os
from boiler.cli.colors import *
from boiler import bootstrap
+import importlib
# -------------------------------------------------------------------------... | Fixing a minor issue where testing for IPython presence with try/excep bubbles up in stacktrace | projectshift_shift-boiler | train | py |
4b4554a85fabf608808536c40a782a87f46c0166 | diff --git a/test/extensions/test/jsreport.config.js b/test/extensions/test/jsreport.config.js
index <HASH>..<HASH> 100644
--- a/test/extensions/test/jsreport.config.js
+++ b/test/extensions/test/jsreport.config.js
@@ -1,6 +1,7 @@
module.exports = {
'name': 'test',
'main': 'main.js',
- 'dependencies': [ ]
+ 'd... | avoid loading test extension in production ui | jsreport_jsreport-core | train | js |
62901d13c6369d25cceed07f1288063ba06662a8 | diff --git a/HARK/ConsumptionSaving/ConsIndShockModel.py b/HARK/ConsumptionSaving/ConsIndShockModel.py
index <HASH>..<HASH> 100644
--- a/HARK/ConsumptionSaving/ConsIndShockModel.py
+++ b/HARK/ConsumptionSaving/ConsIndShockModel.py
@@ -1564,6 +1564,22 @@ class ConsKinkedRsolver(ConsIndShockSolver):
points in th... | Chris's comments on KinkedR stable points | econ-ark_HARK | train | py |
643d923885a5ea3127375053de3512f710ced83c | diff --git a/proselint/checks/garner/sexism.py b/proselint/checks/garner/sexism.py
index <HASH>..<HASH> 100644
--- a/proselint/checks/garner/sexism.py
+++ b/proselint/checks/garner/sexism.py
@@ -48,6 +48,8 @@ def check(text):
["men and women", ["men and girls"]],
["comedian", ["comedienne"]... | Add rule on "women scientists" | amperser_proselint | train | py |
cadf5e238905d8fe3b38f852b11b2627df0ae42f | diff --git a/lib/types/wadl.js b/lib/types/wadl.js
index <HASH>..<HASH> 100644
--- a/lib/types/wadl.js
+++ b/lib/types/wadl.js
@@ -52,9 +52,14 @@ function convertToSwagger(wadl, callback) {
}
}
var convertType = function(wadlType) {
- assert(!_.isUndefined(wadlType));
- assert(wadlType.indexOf('xsd:') ... | Wadl: support XML namespaces other than 'xsd' | LucyBot-Inc_api-spec-converter | train | js |
6bcfba1f675e00ba10461ceb3a9356706ca1c921 | diff --git a/htmresearch/frameworks/poirazi_neuron_model/neuron_model.py b/htmresearch/frameworks/poirazi_neuron_model/neuron_model.py
index <HASH>..<HASH> 100644
--- a/htmresearch/frameworks/poirazi_neuron_model/neuron_model.py
+++ b/htmresearch/frameworks/poirazi_neuron_model/neuron_model.py
@@ -25,7 +25,6 @@ import ... | PUB-<I> Remove outdated neuron model code | numenta_htmresearch | train | py |
9d3040c45db1605eae1c383ddd0678aecf0b99a9 | diff --git a/src/views/server/index.php b/src/views/server/index.php
index <HASH>..<HASH> 100644
--- a/src/views/server/index.php
+++ b/src/views/server/index.php
@@ -222,20 +222,6 @@ JS
],
'toggleButtonTemplate' => '<li>{toggleButton}</li>',
... | Remove old bulk action link from server index page | hiqdev_hipanel-module-server | train | php |
20b87503786fdc25d14ebbe88e650ec7b892b0fb | diff --git a/Controller/ExerciseController.php b/Controller/ExerciseController.php
index <HASH>..<HASH> 100755
--- a/Controller/ExerciseController.php
+++ b/Controller/ExerciseController.php
@@ -124,7 +124,8 @@ class ExerciseController extends Controller
return $this->redirect(
$this->gene... | [ExoBundle] Correction bug to edit an exercise | claroline_Distribution | train | php |
e28b3540b5c685bab4764559b81b3e2e2fbe0365 | diff --git a/Request.php b/Request.php
index <HASH>..<HASH> 100644
--- a/Request.php
+++ b/Request.php
@@ -71,11 +71,19 @@ class Request extends AbstractRequest
/**
* @param null|string|UriInterface $uri
- * @return static
+ * @param bool $preserveHost
*/
- public function setUri($uri)
+ ... | Request::setUri
Adapt method for constructor. | kapiphp_http | train | php |
7222d38a236693bd23308231613d748d92a359e8 | diff --git a/html/pfappserver/root/src/views/Users/_store/index.js b/html/pfappserver/root/src/views/Users/_store/index.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/src/views/Users/_store/index.js
+++ b/html/pfappserver/root/src/views/Users/_store/index.js
@@ -411,7 +411,7 @@ const mutations = {
}
... | fix(admin(js)): correct user store status | inverse-inc_packetfence | train | js |
1f602855f149ad849ebd935a46f1f7f082011cc8 | diff --git a/core/common/src/main/java/alluxio/extensions/ExtensionsClassLoader.java b/core/common/src/main/java/alluxio/extensions/ExtensionsClassLoader.java
index <HASH>..<HASH> 100644
--- a/core/common/src/main/java/alluxio/extensions/ExtensionsClassLoader.java
+++ b/core/common/src/main/java/alluxio/extensions/Exte... | Move extension class loader log to debug (#<I>) | Alluxio_alluxio | train | java |
ab39722ce60c421f708a68a755e939131bbc7bb8 | diff --git a/controller/src/main/java/io/pravega/controller/server/SegmentHelper.java b/controller/src/main/java/io/pravega/controller/server/SegmentHelper.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/io/pravega/controller/server/SegmentHelper.java
+++ b/controller/src/main/java/io/pravega/controller... | Issue <I>: Txn Commit Segment must be idempotent (#<I>) | pravega_pravega | train | java |
c8f2517c3cd5c35a3d80924e34ef4891fc0ba5c7 | diff --git a/lib/geokit/mappable.rb b/lib/geokit/mappable.rb
index <HASH>..<HASH> 100644
--- a/lib/geokit/mappable.rb
+++ b/lib/geokit/mappable.rb
@@ -111,7 +111,7 @@ module Geokit
heading=from.heading_to(to)
distance=from.distance_to(to,options)
- midpoint=from.endpoint(heading,distance/2,op... | warning: assigned but unused variable - midpoint | geokit_geokit | train | rb |
a1ad7a00620bcbd6257a088b740d3e59cb8fb687 | diff --git a/python/src/nnabla/utils/converter/tflite/exporter.py b/python/src/nnabla/utils/converter/tflite/exporter.py
index <HASH>..<HASH> 100644
--- a/python/src/nnabla/utils/converter/tflite/exporter.py
+++ b/python/src/nnabla/utils/converter/tflite/exporter.py
@@ -67,6 +67,13 @@ class DataFormat(Enum):
class T... | prompt user to install flatbuffers package | sony_nnabla | train | py |
7e301f3abe5ac5691a29018535e2503708bbfa64 | diff --git a/ontobio/io/assocwriter.py b/ontobio/io/assocwriter.py
index <HASH>..<HASH> 100644
--- a/ontobio/io/assocwriter.py
+++ b/ontobio/io/assocwriter.py
@@ -171,9 +171,9 @@ class GafWriter(AssocWriter):
self._write("!gaf-version: {}\n".format(self.version))
self._write("!\n")
- self._wr... | updating gaf writer to correct new header requirements in gaf <I> | biolink_ontobio | train | py |
866abc2b7bab5b783be2c91265197614c0b5579a | diff --git a/src/main/java/com/sun/tools/xjc/addon/krasa/JaxbValidationsPlugins.java b/src/main/java/com/sun/tools/xjc/addon/krasa/JaxbValidationsPlugins.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/sun/tools/xjc/addon/krasa/JaxbValidationsPlugins.java
+++ b/src/main/java/com/sun/tools/xjc/addon/krasa/JaxbV... | Best possible fix for #<I> due to impedance mismatch JSR<I> vs XSD | krasa_krasa-jaxb-tools | train | java |
a845bb40926d6f9b4e1ae1a14172ae1a70e1d751 | diff --git a/src/Responses/Response.php b/src/Responses/Response.php
index <HASH>..<HASH> 100644
--- a/src/Responses/Response.php
+++ b/src/Responses/Response.php
@@ -39,4 +39,10 @@ abstract class Response extends Fluent
$this->content = $content;
return $this;
}
+
+ public function view(strin... | fixed returning a view for jira ext | discodian_extend | train | php |
2b343b5ab3dbe3fe255d360ff1390b9b04dfbfd4 | diff --git a/resources/console/template/model_table_localised.php b/resources/console/template/model_table_localised.php
index <HASH>..<HASH> 100644
--- a/resources/console/template/model_table_localised.php
+++ b/resources/console/template/model_table_localised.php
@@ -21,7 +21,7 @@ CREATE TABLE `{{TABLE_WITH_PREFIX}}... | Fix sisue with creating localised models | nails_common | train | php |
1604fe745d7cab903e73f1e478a2d51da3630249 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -25,12 +25,13 @@ var gulpSass = function gulpSass(options, sync) {
if (file.isStream()) {
return cb(new gutil.PluginError(PLUGIN_NAME, 'Streaming not supported'));
}
- if (!file.contents.length) {
- re... | :bug: Fix empty partials copied to CSS folder
Resolves #<I> | dlmanning_gulp-sass | train | js |
cfb5b34999961a7853b4bf2a25836e058a1555a6 | diff --git a/alot/db/envelope.py b/alot/db/envelope.py
index <HASH>..<HASH> 100644
--- a/alot/db/envelope.py
+++ b/alot/db/envelope.py
@@ -212,12 +212,13 @@ class Envelope(object):
plaintext = crypto.email_as_string(unencrypted_msg)
logging.debug('encrypting plaintext: ' + plaintext)
- ... | give useful error message if key can't be found | pazz_alot | train | py |
2f411eab5e5114073ff187eb8236fd7b6540963f | diff --git a/src/transactions/exclusive.js b/src/transactions/exclusive.js
index <HASH>..<HASH> 100644
--- a/src/transactions/exclusive.js
+++ b/src/transactions/exclusive.js
@@ -51,7 +51,7 @@ const deserializeInvocationExclusive = (ss) => {
const serializeInvocationExclusive = (tx) => {
if (tx.type !== 0xd1) t... | length bug
divide by 2 because hexstring length is double of byte length | CityOfZion_neon-js | train | js |
3dd343ab2f904d651b2fb2c620580053edf4d4c1 | diff --git a/actor-sdk/sdk-core-android/android-google-push/src/main/java/im/actor/push/PushManager.java b/actor-sdk/sdk-core-android/android-google-push/src/main/java/im/actor/push/PushManager.java
index <HASH>..<HASH> 100644
--- a/actor-sdk/sdk-core-android/android-google-push/src/main/java/im/actor/push/PushManager.... | fix(android): register push on every app launch | actorapp_actor-platform | train | java |
b72b227dbf5ab0900dc661d7ac9a462a51db9f2e | diff --git a/src/Picqer/Financials/Exact/Query/Findable.php b/src/Picqer/Financials/Exact/Query/Findable.php
index <HASH>..<HASH> 100644
--- a/src/Picqer/Financials/Exact/Query/Findable.php
+++ b/src/Picqer/Financials/Exact/Query/Findable.php
@@ -10,7 +10,7 @@ trait Findable
'$top' => 1, // The result will... | Fix __construct() error when record is not found (returning NULL where it should be an array) | picqer_exact-php-client | train | php |
2495af6f33bd7b058cc50a63353952d9b1e14da9 | diff --git a/test/test_broker.py b/test/test_broker.py
index <HASH>..<HASH> 100644
--- a/test/test_broker.py
+++ b/test/test_broker.py
@@ -76,16 +76,6 @@ class ProxyService(object):
def entrypoint(self, arg):
return self.example_rpc.method(arg)
- @dummy
- def retry(self, arg):
- results = [... | don't need the retry logic now that rpc reconnects and retries itself | nameko_nameko | train | py |
70d2be81c9b2babb2f6ad04f2fb7d40e7fa4cbfc | diff --git a/source/application/models/oxvarianthandler.php b/source/application/models/oxvarianthandler.php
index <HASH>..<HASH> 100644
--- a/source/application/models/oxvarianthandler.php
+++ b/source/application/models/oxvarianthandler.php
@@ -331,7 +331,7 @@ class oxVariantHandler extends oxSuperCfg
fo... | ESDEV-<I> Fix bug <I>: Variants with the same name are not displayed in the front end (cherry picked from commit a<I>) | OXID-eSales_oxideshop_ce | train | php |
7cf5f7a1aedc1e11e8ddf9da0802c71575273891 | diff --git a/agent.go b/agent.go
index <HASH>..<HASH> 100644
--- a/agent.go
+++ b/agent.go
@@ -131,7 +131,7 @@ func (a *Agent) auditRequest(request protocol.Request, mcrequest *Request) {
}
defer f.Close()
- _, err = f.Write(j)
+ _, err = f.WriteString(fmt.Sprintf("%s\n", string(j)))
if err != nil {
a.Log.Wa... | (#<I>) write audit on individual lines | choria-io_go-choria | train | go |
fa0dca2363f412c03eabc57d72e9a726af221306 | diff --git a/config/module.config.php b/config/module.config.php
index <HASH>..<HASH> 100644
--- a/config/module.config.php
+++ b/config/module.config.php
@@ -11,6 +11,9 @@ return array(
),
),
'translator' => array(
+ // Change you locale here if needed, and uncomment line below with 'locale' setting... | Erased language setting from module Bootstrap, and added as comment on module config file. | goalio_GoalioForgotPassword | train | php,php |
75c01c4d8557e9d8df887510055cd4f642131b96 | diff --git a/tests/components/SettingManagerTest.php b/tests/components/SettingManagerTest.php
index <HASH>..<HASH> 100644
--- a/tests/components/SettingManagerTest.php
+++ b/tests/components/SettingManagerTest.php
@@ -1,4 +1,5 @@
<?php
+
namespace tests\components;
use Yii;
@@ -6,7 +7,7 @@
class SettingManage... | #<I>Fix model name for setting manager test. | pulsarvp_vps-tools | train | php |
cd6c35cee9d2dba2785b8b61557ab0d78d8ea5b3 | diff --git a/lib/commonmarker.rb b/lib/commonmarker.rb
index <HASH>..<HASH> 100755
--- a/lib/commonmarker.rb
+++ b/lib/commonmarker.rb
@@ -517,7 +517,7 @@ module CommonMarker
end
def link(node)
- self.out('<a href="', URI.escape(node.url), '"')
+ self.out('<a href="', node.url.nil? ? '' : URI.esca... | Don't try to escape null pointer. | gjtorikian_commonmarker | train | rb |
5686bd9c75ce4117d081ee122e206230b433da29 | diff --git a/HyperMerge.js b/HyperMerge.js
index <HASH>..<HASH> 100644
--- a/HyperMerge.js
+++ b/HyperMerge.js
@@ -210,7 +210,9 @@ module.exports = class HyperMerge extends EventEmitter {
feed (hex = null) {
if (hex && this.feeds[hex]) return this.feeds[hex]
- return this._trackFeed(this.core.createFeed(he... | Always pass a buffer to createFeed | automerge_hypermerge | train | js |
dbda3c5a6f8554973125f31fefea8d499984f20e | diff --git a/km3pipe/core.py b/km3pipe/core.py
index <HASH>..<HASH> 100644
--- a/km3pipe/core.py
+++ b/km3pipe/core.py
@@ -167,10 +167,10 @@ class Pipeline(object):
for service_name, obj in module.provided_services.items():
self.services.register(service_name, obj)
if ... | Dict join problem occured in python3 fixed | tamasgal_km3pipe | train | py |
3f34cdb226603d2643b8805eb9dc43f7c4a5c4c8 | diff --git a/spring-social-core/src/main/java/org/springframework/social/greenhouse/EventSession.java b/spring-social-core/src/main/java/org/springframework/social/greenhouse/EventSession.java
index <HASH>..<HASH> 100644
--- a/spring-social-core/src/main/java/org/springframework/social/greenhouse/EventSession.java
+++ ... | Added method to return a String containing a concatenated list of leaders for SOCIAL-<I> | spring-projects_spring-social | train | java |
b7edc2f94e2a9ca7cc9c3968137c0fa9855d76f5 | diff --git a/tests/ref.py b/tests/ref.py
index <HASH>..<HASH> 100644
--- a/tests/ref.py
+++ b/tests/ref.py
@@ -44,12 +44,15 @@ def backend_check(backend, ref=None, childprocess=True):
ref='scrot'
else:
ref='pil'
- if sys.platform != 'darwin':
-
-... | test: ref or size test, not both | ponty_pyscreenshot | train | py |
c910ee83ede968cb2edea8c079ea0c00520ed19d | diff --git a/sorl_watermarker/engines/base.py b/sorl_watermarker/engines/base.py
index <HASH>..<HASH> 100644
--- a/sorl_watermarker/engines/base.py
+++ b/sorl_watermarker/engines/base.py
@@ -1,12 +1,8 @@
-import os
-
-
from django.contrib.staticfiles.finders import find
from sorl.thumbnail.engines.base import EngineB... | base.py unused imports removed | originell_sorl-watermark | train | py |
bfa232218013a2a57e4248be0c7d63324c8e1ed9 | diff --git a/chef/lib/chef/provider/ruby_block.rb b/chef/lib/chef/provider/ruby_block.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/provider/ruby_block.rb
+++ b/chef/lib/chef/provider/ruby_block.rb
@@ -25,9 +25,10 @@ class Chef
end
def action_create
- @new_resource.block.call
- Chef::Log.... | Why-run handling for ruby block provider | chef_chef | train | rb,rb |
fccab6da8d3a9731179f0dd33c76a69991ff771d | diff --git a/services/duplicationservice/src/test/java/org/duracloud/services/duplication/impl/ContentDuplicatorReportingImplTest.java b/services/duplicationservice/src/test/java/org/duracloud/services/duplication/impl/ContentDuplicatorReportingImplTest.java
index <HASH>..<HASH> 100644
--- a/services/duplicationservice... | Attempts to resolve a message timing issue in a duplication service test.
git-svn-id: <URL> | duracloud_duracloud | train | java |
d802cdf98aab2d61b3997fb7a0f9c7708d59ac7a | diff --git a/lib/trax/model/base.rb b/lib/trax/model/base.rb
index <HASH>..<HASH> 100644
--- a/lib/trax/model/base.rb
+++ b/lib/trax/model/base.rb
@@ -3,10 +3,6 @@ module Trax
module Base
extend ::ActiveSupport::Concern
- included do
- self::ActiveRecord_Relation.include(::Trax::Model::Relatio... | and actually fix, remove inclusion from base | jasonayre_trax_model | train | rb |
eb2d32f30916c57f3011480e12772dd801f67070 | diff --git a/actionpack/lib/action_view/helpers/ajax_helper.rb b/actionpack/lib/action_view/helpers/ajax_helper.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_view/helpers/ajax_helper.rb
+++ b/actionpack/lib/action_view/helpers/ajax_helper.rb
@@ -56,6 +56,11 @@ module ActionView
# See FormHelper#form... | remote_form_for now supports :confirm | rails_rails | train | rb |
20c1b95bc8cb654dc46f621e69adccdc06b67c86 | diff --git a/ddl/ddl_worker_test.go b/ddl/ddl_worker_test.go
index <HASH>..<HASH> 100644
--- a/ddl/ddl_worker_test.go
+++ b/ddl/ddl_worker_test.go
@@ -450,6 +450,11 @@ func (s *testDDLSuite) TestCancelJob(c *C) {
if job.State == model.JobStateSynced || job.State == model.JobStateCancelled || job.State == model.JobSt... | ddl: fix ddl test fail by paralle test (#<I>) | pingcap_tidb | train | go |
0b3f36f9b6a73ce12cde372266fe91ed5348dd20 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ setup(
include_package_data=True,
# Package dependencies.
- install_requires=['simplejson', 'requests'],
+ install_requires=['simplejson', 'requests>=0.13.0'],
# Metadata for PyPI.
... | Need to at least have requests <I> | ryanmcgrath_twython | train | py |
b1fa9fca5d5c73045d44faa4c1185e0faa065c8a | diff --git a/core/lib/refinery/crud.rb b/core/lib/refinery/crud.rb
index <HASH>..<HASH> 100644
--- a/core/lib/refinery/crud.rb
+++ b/core/lib/refinery/crud.rb
@@ -161,11 +161,14 @@ module Refinery
paging_options = {:page => params[:page]}
+ # Use per_page from crudify options.
+ i... | Added option per_page to crudify used in administration only | refinery_refinerycms | train | rb |
0e59927bc6d4a64af57c61a8d2c08a9018140f96 | diff --git a/lib/active_scaffold/bridges/chosen.rb b/lib/active_scaffold/bridges/chosen.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/bridges/chosen.rb
+++ b/lib/active_scaffold/bridges/chosen.rb
@@ -12,6 +12,8 @@ class ActiveScaffold::Bridges::Chosen < ActiveScaffold::DataStructures::Bridge
end
def ... | Added the new file for chosen. | activescaffold_active_scaffold | train | rb |
ec549266f3f9db5c0b6216c8fe03198c7f1f4da4 | diff --git a/setup_cython.py b/setup_cython.py
index <HASH>..<HASH> 100644
--- a/setup_cython.py
+++ b/setup_cython.py
@@ -105,7 +105,7 @@ extension_folder, target_pydevd_name, target_frame_eval, force_cython = process_
extension_name = "pydevd_cython"
if target_pydevd_name is None:
target_pydevd_name = extensio... | Fix in building binaries (pxd was not being included). | fabioz_PyDev.Debugger | train | py |
235a4ee8c86744abbc5d4838da0f96c67641e156 | diff --git a/course/lib.php b/course/lib.php
index <HASH>..<HASH> 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -92,7 +92,7 @@ function print_recent_selector_form($course, $advancedfilter=0, $selecteduser=0,
$activities["section/$mod->section"] = "-------------- $strsection $mod->section ----... | Now course/recent.php is workink with filterall. | moodle_moodle | train | php,php |
f13ba29f7f5ed07c0358277aac61fd8a4fe906f8 | diff --git a/domain_capabilities.go b/domain_capabilities.go
index <HASH>..<HASH> 100644
--- a/domain_capabilities.go
+++ b/domain_capabilities.go
@@ -96,6 +96,7 @@ type DomainCapsDevices struct {
Graphics *DomainCapsDevice `xml:"graphics"`
Video *DomainCapsDevice `xml:"video"`
HostDev *DomainCapsDevice `xml:... | Add RNG device type to domain capabilities | libvirt_libvirt-go-xml | train | go |
7233d2d086b50c5d7214e50191fd664b50801355 | diff --git a/src/MB_Toolbox.php b/src/MB_Toolbox.php
index <HASH>..<HASH> 100644
--- a/src/MB_Toolbox.php
+++ b/src/MB_Toolbox.php
@@ -288,7 +288,7 @@ class MB_Toolbox
throw new Exception('MB_Toolbox->createNorthstarUser() - Response Code: ' . $result[1] . ' Response: ' . print_r($result[0], true));
}
- ... | Return request results in createNorthstarUser call | DoSomething_mb-toolbox | train | php |
9c3c33aaaf17a602fb0d22f735aa454c1320b36b | diff --git a/src/sources/geojson.js b/src/sources/geojson.js
index <HASH>..<HASH> 100644
--- a/src/sources/geojson.js
+++ b/src/sources/geojson.js
@@ -67,7 +67,8 @@ export class GeoJSONSource extends NetworkSource {
this.tiled = true;
this.load_data = null;
this.tile_indexes = {}; // geojson-... | tweak settings for non-tiled GeoJSON | tangrams_tangram | train | js |
5c3fb1a8b57c43d16cb473b261595159423fa30c | diff --git a/kopeme-core/src/main/java/kieker/monitoring/writer/filesystem/AggregatedTreeWriter.java b/kopeme-core/src/main/java/kieker/monitoring/writer/filesystem/AggregatedTreeWriter.java
index <HASH>..<HASH> 100644
--- a/kopeme-core/src/main/java/kieker/monitoring/writer/filesystem/AggregatedTreeWriter.java
+++ b/k... | Time in mikroseconds for aggregated trees | DaGeRe_KoPeMe | train | java |
cd66a9ef61125f84187077cbf691c2b1bd3b12a4 | diff --git a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java b/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java
index <HASH>..<HASH> 100644
--- a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java
+++ b/dependency-ch... | Demonstrating the benefit of commons-io instead of the simpler string dissection. | jeremylong_DependencyCheck | train | java |
52f2b20caad4b4a2daaed2840d44a07f4c1f3ec4 | diff --git a/lib/Gitlab/Model/Pipeline.php b/lib/Gitlab/Model/Pipeline.php
index <HASH>..<HASH> 100644
--- a/lib/Gitlab/Model/Pipeline.php
+++ b/lib/Gitlab/Model/Pipeline.php
@@ -32,7 +32,7 @@ class Pipeline extends AbstractModel
{
$pipeline = new static($project, $data['id'], $client);
- return ... | Default value for jobs method and fixing bug in pipeline class | m4tthumphrey_php-gitlab-api | train | php,php |
e447935b7e40d9192243f31c7ef31fb738181c11 | diff --git a/phablet.py b/phablet.py
index <HASH>..<HASH> 100755
--- a/phablet.py
+++ b/phablet.py
@@ -416,9 +416,10 @@ class RemoteTemporaryDirectory:
def __enter__(self):
if self.phablet.port is None:
self.phablet.connect()
- self.dirname = subprocess.check_output(
- self.... | Fix RemoteTemporaryDirectory's dirname not to have trailing junk | zyga_python-phablet | train | py |
2bf5df06b207a7aab7d58aaf733a05fb18385fd3 | diff --git a/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java b/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java
index <HASH>..<HASH> 100755
--- a/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java
+++ b/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java
@@ -145,6 +145,19 @@ public c... | don't report STB inside for loops, as too many FPs would occur | mebigfatguy_fb-contrib | train | java |
19a4c4e87b3ca88f442b1925902e7f55c7d84f98 | diff --git a/Tests/Command/StatusesHomeTimelineTest.php b/Tests/Command/StatusesHomeTimelineTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Command/StatusesHomeTimelineTest.php
+++ b/Tests/Command/StatusesHomeTimelineTest.php
@@ -109,4 +109,24 @@ class StatusesHomeTimelineTest extends StatusesBase
$displa... | Add test for StatusesHomeTimelineCommand#execute() with 3 tweets in database (increase code coverage to <I>%) | alexislefebvre_AsyncTweetsBundle | train | php |
ff19517215b33ef7fb3743699af1cdf27b4cdd98 | diff --git a/upload/admin/model/extension/payment/eway.php b/upload/admin/model/extension/payment/eway.php
index <HASH>..<HASH> 100644
--- a/upload/admin/model/extension/payment/eway.php
+++ b/upload/admin/model/extension/payment/eway.php
@@ -144,6 +144,7 @@ class ModelExtensionPaymentEway extends Model {
$refund_d... | Copy eWay refund currency code fix from previous patch on <I>_Maintenance branch
Ref: <URL> | opencart_opencart | train | php |
8f98a08ee2da9a0238dcaf92ab786be77ae47b73 | diff --git a/protocol-designer/src/components/FilePage.js b/protocol-designer/src/components/FilePage.js
index <HASH>..<HASH> 100644
--- a/protocol-designer/src/components/FilePage.js
+++ b/protocol-designer/src/components/FilePage.js
@@ -19,10 +19,11 @@ export type FilePageProps = {
}
const FilePage = ({formConnec... | fix(protocol-designer): do not navigate on FilePage form submit
- do not navigate on FilePage form submit (it made the page reload!) | Opentrons_opentrons | train | js |
f3b32f7d012790fee19a19c38f2fb4a869b14075 | diff --git a/xhtml2pdf/util.py b/xhtml2pdf/util.py
index <HASH>..<HASH> 100644
--- a/xhtml2pdf/util.py
+++ b/xhtml2pdf/util.py
@@ -301,7 +301,7 @@ def getSize(value, relative=0, base=None, default=0.0):
return 0.0
elif relative:
if value[-3:] == 'rem': # XXX
- # 1em = ... | Fix the wrong comment, changing from em to rem | xhtml2pdf_xhtml2pdf | train | py |
4343600850be78307be3cbe429764dd314e19db0 | diff --git a/Swat/SwatTableView.php b/Swat/SwatTableView.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatTableView.php
+++ b/Swat/SwatTableView.php
@@ -104,6 +104,32 @@ class SwatTableView extends SwatControl implements SwatUIParent
}
// }}}
+ // {{{ public function init()
+
+ /**
+ * Initializes this table-view
... | Make the init() sequence for table-views happen the same as the rest of
Swat.
svn commit r<I> | silverorange_swat | train | php |
05286180151b372121bffaa38c04ab7e96279471 | diff --git a/openid/consumer/interface.py b/openid/consumer/interface.py
index <HASH>..<HASH> 100644
--- a/openid/consumer/interface.py
+++ b/openid/consumer/interface.py
@@ -70,12 +70,15 @@ class OpenIDProxy(object):
raise NotImplementedError
def verifyReturnTo(self, return_to):
- """This method... | [project @ Change interface to split verifyReturnTo and getToken] | openid_python-openid | train | py |
a1a34c7a0af858d65e3f0f02db8cc1411eadaa40 | diff --git a/src/AudioPlayer.js b/src/AudioPlayer.js
index <HASH>..<HASH> 100644
--- a/src/AudioPlayer.js
+++ b/src/AudioPlayer.js
@@ -419,9 +419,6 @@ class AudioPlayer extends Component {
);
return;
}
- if (maintainPlaybackRate) {
- this.audio.playbackRate = this.state.playbackRate;
- }
... | Removed redundant playbackRate check. | benwiley4000_cassette | train | js |
d313cb7a37f0d31aa02115c72be0638a98f77075 | diff --git a/DataFixtures/ORM/LoadUserData.php b/DataFixtures/ORM/LoadUserData.php
index <HASH>..<HASH> 100644
--- a/DataFixtures/ORM/LoadUserData.php
+++ b/DataFixtures/ORM/LoadUserData.php
@@ -42,7 +42,7 @@ class LoadUserData extends AbstractFixture implements OrderedFixtureInterface, C
$userAdmin = new User... | [User] Create admin user as SUPER_ADMIN | Clastic_UserBundle | train | php |
4dd39d60d02190bb6bc38d498f54902f94865926 | diff --git a/spec/models/starburst/announcement_spec.rb b/spec/models/starburst/announcement_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/starburst/announcement_spec.rb
+++ b/spec/models/starburst/announcement_spec.rb
@@ -110,7 +110,7 @@ describe Announcement do
end
it "shows up for the proper user... | Prevents Starburst::Announcement specs from interfering with global state | csm123_starburst | train | rb |
3272aa27238512346e4a30a9c5ca40914ae2cddc | diff --git a/src/infi/gevent_utils/json_utils.py b/src/infi/gevent_utils/json_utils.py
index <HASH>..<HASH> 100644
--- a/src/infi/gevent_utils/json_utils.py
+++ b/src/infi/gevent_utils/json_utils.py
@@ -3,7 +3,7 @@ from infi.pyutils.lazy import cached_function
import json
import time
import gevent
-from io import St... | HOSTDEV-<I> use StringIO from six instead of checking for python version | Infinidat_infi.gevent_utils | train | py |
e70ced2a8314efbd26a5f62e1a3a526948313950 | diff --git a/_examples/chat/main.go b/_examples/chat/main.go
index <HASH>..<HASH> 100644
--- a/_examples/chat/main.go
+++ b/_examples/chat/main.go
@@ -35,6 +35,7 @@ func main() {
c := ws.Upgrade(w, r)
if err := c.Err(); err != nil {
http.Error(w, fmt.Sprintf("websocket error: %v\n", err), http.StatusServiceUn... | fix example: exit from handler forgotten | kataras_go-websocket | train | go |
a04bef5e8293c72752586ad63c7dd4d0eeaa6f0e | diff --git a/core/Twig.php b/core/Twig.php
index <HASH>..<HASH> 100644
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -68,6 +68,29 @@ class Piwik_Twig
}
});
$this->twig->addFunction($includeAssetsFunction);
+ $urlFunction = new Twig_SimpleFunction('url', function($params) {
+ ... | Implemented another function in Twig | matomo-org_matomo | train | php |
f6bddb36fd2e7dfde7e4220a2c07a03c2883acdd | diff --git a/acra/src/main/java/org/acra/collector/CrashReportDataFactory.java b/acra/src/main/java/org/acra/collector/CrashReportDataFactory.java
index <HASH>..<HASH> 100644
--- a/acra/src/main/java/org/acra/collector/CrashReportDataFactory.java
+++ b/acra/src/main/java/org/acra/collector/CrashReportDataFactory.java
@... | Allow LogCat collection for devices with JellyBean and later (API >= <I>)
Since JellyBean, READ_LOGS is not granted to third-party apps anymore for security reasons.
Though, we can call logcat without any permission and still get traces related to our app. | ACRA_acra | train | java |
a65b18d289786a4d4673590c0a8947fd53d5155c | diff --git a/gwpy/plotter/table.py b/gwpy/plotter/table.py
index <HASH>..<HASH> 100644
--- a/gwpy/plotter/table.py
+++ b/gwpy/plotter/table.py
@@ -368,7 +368,7 @@ class EventTablePlot(TimeSeriesPlot, SpectrumPlot, Plot):
for arg in ['linewidth', 'facecolor', 'edgecolor', 'marker', 'cmap',
... | EventTablePlot: added rasterized to kwarg parsing | gwpy_gwpy | train | py |
1abc9eb5453a4884e25fa95c17621a303e23bb17 | diff --git a/server/sts-auth.js b/server/sts-auth.js
index <HASH>..<HASH> 100644
--- a/server/sts-auth.js
+++ b/server/sts-auth.js
@@ -209,8 +209,7 @@ app.all('/sts-auth', function (req, res, next) {
});
});
app.all('*', function (req, res, next) {
- res.writeHead(404);
- res.send('404 Not Found');
+ re... | 修复 [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client 的报错 | tencentyun_cos-js-sdk-v5 | train | js |
389f04dc6b1106d20124ede9a16d12e742fefb83 | diff --git a/lib/megatron/command/npm.rb b/lib/megatron/command/npm.rb
index <HASH>..<HASH> 100644
--- a/lib/megatron/command/npm.rb
+++ b/lib/megatron/command/npm.rb
@@ -31,12 +31,6 @@ module Megatron
system "npm install"
end
- def bool_ask(question)
- print "#{question} (Y\\n): "
- response... | Removed unnecessary bool ask method | imathis_spark | train | rb |
9e51f285e43070a721542c155bd83321cfea0666 | diff --git a/zengine/management_commands.py b/zengine/management_commands.py
index <HASH>..<HASH> 100644
--- a/zengine/management_commands.py
+++ b/zengine/management_commands.py
@@ -558,15 +558,15 @@ class CheckList(Command):
"""
from pyoko.db.schema_update import SchemaUpdater
from socket i... | FIX, SchemaUpdater params are updated in CheckList command. rref #<I> | zetaops_zengine | train | py |
8bd7ed21c3fcd85f104a8969934155bf62006e2b | diff --git a/influx/query.go b/influx/query.go
index <HASH>..<HASH> 100644
--- a/influx/query.go
+++ b/influx/query.go
@@ -21,6 +21,10 @@ func Convert(influxQL string) (chronograf.QueryConfig, error) {
return chronograf.QueryConfig{}, err
}
+ if itsDashboardTime {
+ influxQL = strings.Replace(influxQL, "now() -... | After the query is parsed, return to :dashboardTime: | influxdata_influxdb | train | go |
2db55efe556f0d2ea5fab2ed7e100902e9606b7d | diff --git a/lib/fake_rest_services/models/fixture.rb b/lib/fake_rest_services/models/fixture.rb
index <HASH>..<HASH> 100644
--- a/lib/fake_rest_services/models/fixture.rb
+++ b/lib/fake_rest_services/models/fixture.rb
@@ -1,4 +1,6 @@
class Fixture < ActiveRecord::Base
+ attr_accessible :url, :content, :description
+... | only allow certain model attributes for mass assignment | artemave_REST-assured | train | rb,rb |
8b5f018f540f4e4bc83828bbd448c07873019a2c | diff --git a/cmd/tusd/main.go b/cmd/tusd/main.go
index <HASH>..<HASH> 100644
--- a/cmd/tusd/main.go
+++ b/cmd/tusd/main.go
@@ -66,7 +66,7 @@ func init() {
flag.StringVar(&basepath, "base-path", "/files/", "Basepath of the HTTP server")
flag.Int64Var(&timeout, "timeout", 30*1000, "Read timeout for connections in mil... | Provide description for hooks-dir flag | tus_tusd | train | go |
32ee7e0d1003b61c4f1194c8f64d2a6408a32418 | diff --git a/hypercorn/websocket.py b/hypercorn/websocket.py
index <HASH>..<HASH> 100644
--- a/hypercorn/websocket.py
+++ b/hypercorn/websocket.py
@@ -36,6 +36,7 @@ class WebsocketServer(HTTPServer):
transport: asyncio.BaseTransport,
) -> None:
super().__init__(loop, config, transport, 'wspro... | Bugfix c5eecd<I>db<I>af<I>e<I>d<I>f2
Ensure that websocket connections are not killed by the timeout. | pgjones_hypercorn | train | py |
dedecea977aacfe4cae772f0d40591ff2de9a1f4 | diff --git a/allel/__init__.py b/allel/__init__.py
index <HASH>..<HASH> 100644
--- a/allel/__init__.py
+++ b/allel/__init__.py
@@ -3,7 +3,14 @@
from allel import model
-from allel.model import *
+from allel.model.ndarray import GenotypeArray, HaplotypeArray, \
+ AlleleCountsArray, VariantTable, FeatureTable, So... | rejig imports to avoid name clashes | cggh_scikit-allel | train | py,py |
4f34f61b701f537bc77bfcbc31cafe3e29b0c133 | diff --git a/lib/adapters/xhr.js b/lib/adapters/xhr.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/xhr.js
+++ b/lib/adapters/xhr.js
@@ -27,7 +27,7 @@ module.exports = function xhrAdapter(resolve, reject, config) {
// Create the request
var request = new(XMLHttpRequest || ActiveXObject)('Microsoft.XMLHTTP');
... | Delete fails in IE8/IE9, the verb needs to be capitalized. | axios_axios | train | js |
33bf6789ed4c6659c9494fbe4ba8cf5fd0e5ab68 | diff --git a/features/step_definitions/background-caddis-started.js b/features/step_definitions/background-caddis-started.js
index <HASH>..<HASH> 100644
--- a/features/step_definitions/background-caddis-started.js
+++ b/features/step_definitions/background-caddis-started.js
@@ -12,8 +12,12 @@ module.exports = function(... | investigating double callback exception on travis. | bustardcelly_caddis | train | js |
85f76b7f989a12997d0a159dcc514ab8a124e822 | diff --git a/containers/default/pythia.py b/containers/default/pythia.py
index <HASH>..<HASH> 100644
--- a/containers/default/pythia.py
+++ b/containers/default/pythia.py
@@ -23,5 +23,6 @@ def setlimits():
p = subprocess.Popen(["/task/run"], preexec_fn=setlimits, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
p.... | Better handling of stdout | UCL-INGI_INGInious | train | py |
4e42ed215ab41e3b469014cf47ebc36d25d8e6e5 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -44,7 +44,7 @@ extensions = ['sphinx.ext.autodoc',
'matplotlib.sphinxext.plot_directive']
# Inheritance diagram configuration
-inheritance_graph_attrs = dict(rankdir="TB", ratio='compress')
+i... | Use LR when generating inheritance diagram [skip ci] | orbingol_NURBS-Python | train | py |
0f9377a0c1001f957acbd4d1626ee387dff0b5e6 | diff --git a/liquibase-core/src/main/java/liquibase/Liquibase.java b/liquibase-core/src/main/java/liquibase/Liquibase.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/Liquibase.java
+++ b/liquibase-core/src/main/java/liquibase/Liquibase.java
@@ -542,7 +542,11 @@ public class Liquibase imple... | Generate deployment ID for update to tag DAT-<I> | liquibase_liquibase | train | java |
65f8027a8497471a4ebe9836ff76d1b43cc04db1 | diff --git a/spec/graphql/query_spec.rb b/spec/graphql/query_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/graphql/query_spec.rb
+++ b/spec/graphql/query_spec.rb
@@ -243,10 +243,33 @@ describe GraphQL::Query do
instrument(:query, Instrumenter)
}
}
+
it "can access #result" do
+ ... | Add some instrumenter .result tests | rmosolgo_graphql-ruby | train | rb |
bb06c4a1ec61843b267836d09a73701ea1c63c0c | diff --git a/rpmfile/headers.py b/rpmfile/headers.py
index <HASH>..<HASH> 100644
--- a/rpmfile/headers.py
+++ b/rpmfile/headers.py
@@ -148,7 +148,7 @@ def _readheader(fileobj):
while char != b'\x8e':
char = fileobj.read(1)
- if char is None:
+ if char is None or char == '':
ra... | Fixed never ending loop
io.read returns either None or '' on reaching the end of the file. | srossross_rpmfile | train | py |
dc9a5b606a7c013ede50817569db7fe9fe29cedc | diff --git a/lib/command_factory.js b/lib/command_factory.js
index <HASH>..<HASH> 100644
--- a/lib/command_factory.js
+++ b/lib/command_factory.js
@@ -73,14 +73,14 @@ CommandFactory.prototype.addCommand = function(command, name, format, action_ali
compiled_template = _.template('hubot ${command}');
command_string... | Avoid calling `getRegexForFormatString` for `display` parameters
Fixes #<I>
There’s a bug that makes a `display` string, which is meant solely for
appearing in Hubot’s help, to go through the same transformations as
normal commands, which means it will be converted to a regex. It’s not
just unnecessary, but actually ... | StackStorm_hubot-stackstorm | train | js |
ece561a3155d94b1de2a212141c12826569418d1 | diff --git a/bpmn-model/src/main/java/org/camunda/bpm/model/bpmn/builder/AbstractFlowNodeBuilder.java b/bpmn-model/src/main/java/org/camunda/bpm/model/bpmn/builder/AbstractFlowNodeBuilder.java
index <HASH>..<HASH> 100644
--- a/bpmn-model/src/main/java/org/camunda/bpm/model/bpmn/builder/AbstractFlowNodeBuilder.java
+++ ... | chore(fluent-api): add method to set the current sequence flow id | camunda_camunda-bpmn-model | train | java |
eaf6f34293f2158f52bcac27356ad565d82a58ce | diff --git a/lib/sockets/pub.js b/lib/sockets/pub.js
index <HASH>..<HASH> 100644
--- a/lib/sockets/pub.js
+++ b/lib/sockets/pub.js
@@ -3,7 +3,7 @@
* Module dependencies.
*/
-var Queue = require('./queue')
+var Socket = require('./sock')
, Batch = require('../batch');
/**
@@ -19,7 +19,7 @@ module.exports = P... | Removes queueing from PubSocket. | orangemi_axon | train | js |
2dd283ab31ef184bfb5d891e906c2771a0cf08c0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
# parse requirements
req_lines = [line.strip() for line in open(
@@ -18,7 +18,7 @@ setup(
author='Eric Amador',
author_email... | Updated setup.py to use find_packages | nimbis_cmsplugin-newsplus | train | py |
8f147ac66de4568c42d3e0e3d0e467771664c1f3 | diff --git a/chess/__init__.py b/chess/__init__.py
index <HASH>..<HASH> 100644
--- a/chess/__init__.py
+++ b/chess/__init__.py
@@ -3401,13 +3401,13 @@ class Board(object):
array = POLYGLOT_RANDOM_ARRAY
# Hash in the castling flags.
- if self.castling_rights & BB_H1:
+ if self.has_k... | Better Chess<I> support for zobrist_hash() | niklasf_python-chess | train | py |
7798b555920c5be904b5cde38a8c139fbc393561 | diff --git a/tasks/mspec.js b/tasks/mspec.js
index <HASH>..<HASH> 100644
--- a/tasks/mspec.js
+++ b/tasks/mspec.js
@@ -69,7 +69,6 @@ module.exports = function(grunt) {
var log = function(message) {
console.log(message.toString('utf8'));
};
-
var mspecProcess = grunt.util.spawn({
cmd: c... | More space and enters amending to minimize unneeded changes. | marcofranssen_grunt-dotnet-mspec | train | js |
eb1c1560659695e9e55b00c45480325671b7700e | diff --git a/core/src/main/java/hudson/model/User.java b/core/src/main/java/hudson/model/User.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/User.java
+++ b/core/src/main/java/hudson/model/User.java
@@ -688,7 +688,7 @@ public class User extends AbstractModelObject implements AccessControlled, De... | [JENKINS-<I>] use id in User.toString()
Change toString() to use the id rather than fullName.
This is because a full name may not be unique and as such when used in log
messages we get something that is less than helpful.
as such we should print the user's Id so we can actually identify the
user. | jenkinsci_jenkins | train | java |
b4c37f480c521f2c2f74bf8b065d422bc4becf43 | diff --git a/meteor/index.js b/meteor/index.js
index <HASH>..<HASH> 100644
--- a/meteor/index.js
+++ b/meteor/index.js
@@ -30,7 +30,7 @@ Meteor.startup(function(){
function log(){
var args = Array.prototype.slice.call(arguments);
- console.log('electrify:meteor:index@'+ where, args);
+ console.log('electrify:me... | cleaning up log msgs | arboleya_electrify | train | js |
791c4fa2d0c1bc50b84145cd217e43ddcf20b380 | diff --git a/lib/evidence/mongo.rb b/lib/evidence/mongo.rb
index <HASH>..<HASH> 100644
--- a/lib/evidence/mongo.rb
+++ b/lib/evidence/mongo.rb
@@ -20,32 +20,6 @@ module OpenBEL
:port => port,
:database => db
)
-# if @collection.index_information['TextIndex'].nil?
-# @c... | clean up comments/print statements
refs #<I> | OpenBEL_openbel-api | train | rb |
e995454bcfe9ec418dfcb49e5e9b3e692efc0b27 | diff --git a/fmn/rules/pagure.py b/fmn/rules/pagure.py
index <HASH>..<HASH> 100644
--- a/fmn/rules/pagure.py
+++ b/fmn/rules/pagure.py
@@ -43,7 +43,7 @@ def pagure_specific_project_filter(config, message, project=None, *args, **kw):
@hint(categories=['pagure'], invertible=False)
def pagure_specific_project_tag_filt... | Adjust title as per @ralphbean's suggestions | fedora-infra_fmn.rules | 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.