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 |
|---|---|---|---|---|---|
ad15aed2377cb39a117373e53e31bfffd32a72f0 | diff --git a/pyoko/db/adapter/db_riak.py b/pyoko/db/adapter/db_riak.py
index <HASH>..<HASH> 100644
--- a/pyoko/db/adapter/db_riak.py
+++ b/pyoko/db/adapter/db_riak.py
@@ -62,7 +62,6 @@ class BlockSave(object):
key_list = list(set(Adapter.block_saved_keys))
indexed_obj_count = self.mdl.objects.filter(k... | removed leftover print statement
added more explicit error message for key found in solr but not in riak exception.
rref #<I> ref GH-<I> | zetaops_pyoko | train | py |
3d08a20276872da5c649058fd2bf163d5f88d8a7 | diff --git a/each.js b/each.js
index <HASH>..<HASH> 100644
--- a/each.js
+++ b/each.js
@@ -12,6 +12,7 @@ module.exports = function(items, ctx, fn) {
}
} else {
for (var key in items) {
+ if (!items.hasOwnProperty(key)) { continue }
fn.call(ctx, items[key], key)
}
} | Don't loop over inherited properties in each | marcuswestin_std.js | train | js |
bc6950c24587c453682bda0464efbb2c3597c925 | diff --git a/rAppid.js b/rAppid.js
index <HASH>..<HASH> 100644
--- a/rAppid.js
+++ b/rAppid.js
@@ -196,7 +196,7 @@
if (err) {
callback(err);
} else {
- applicationContext.createApplicationInstance(document, function (err, stage, application) {
+ ... | create application context with window instead of document | rappid_rAppid.js | train | js |
9a7ee3533c01e0312f6b3669aba405b5a42462a2 | diff --git a/EventListener/ConfigSubscriber.php b/EventListener/ConfigSubscriber.php
index <HASH>..<HASH> 100644
--- a/EventListener/ConfigSubscriber.php
+++ b/EventListener/ConfigSubscriber.php
@@ -149,7 +149,7 @@ class ConfigSubscriber extends CommonSubscriber
// $this->extendedFields = $this->leadModel-... | [ENG-<I>] fix model instance from lead to field | TheDMSGroup_mautic-extended-field | train | php |
a97231063b7fd6c0c88bf681431bc79982485bfd | diff --git a/src/main/java/graphql/introspection/Introspection.java b/src/main/java/graphql/introspection/Introspection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/graphql/introspection/Introspection.java
+++ b/src/main/java/graphql/introspection/Introspection.java
@@ -408,6 +408,7 @@ public class Introspectio... | Add SUBSCRIPTION to __DirectiveLocation enum | graphql-java_graphql-java | train | java |
6b1eda5bb2d831e2de3590692e3ec0eb2092e8ee | diff --git a/master/buildbot/test/unit/test_db_migrate_versions_018_add_sourcestampset.py b/master/buildbot/test/unit/test_db_migrate_versions_018_add_sourcestampset.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_db_migrate_versions_018_add_sourcestampset.py
+++ b/master/buildbot/test/unit/test_db_... | actually create the indexes on buildsets in test setup | buildbot_buildbot | train | py |
7bc999c1f37498f82f57533d54e76d478918d9b8 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/type/tree/OMVRBTreeRID.java b/core/src/main/java/com/orientechnologies/orient/core/type/tree/OMVRBTreeRID.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/type/tree/OMVRBTreeRID.java
+++ b/core/src/main/java/com... | Fixed bug on OMVRBTreeRID: sometimes add was lazy and in case of db close could be not saved on disk | orientechnologies_orientdb | train | java |
b24fdef76b631947b5d3f77140a526ef6a69229d | diff --git a/discover/client.go b/discover/client.go
index <HASH>..<HASH> 100644
--- a/discover/client.go
+++ b/discover/client.go
@@ -205,7 +205,7 @@ func (s *ServiceSet) Unwatch(ch chan *ServiceUpdate) {
}
func (s *ServiceSet) Wait() (*ServiceUpdate, error) {
- updateCh := make(chan *ServiceUpdate, 1)
+ updateCh ... | discoverd: ran into race regarding bringCurrent. temp workaround until handled as separate issue | flynn_flynn | train | go,go |
c8c035e041a5eb9b527f7af465a5131bfed6eec1 | diff --git a/tests/test_mixture_smoothing.py b/tests/test_mixture_smoothing.py
index <HASH>..<HASH> 100644
--- a/tests/test_mixture_smoothing.py
+++ b/tests/test_mixture_smoothing.py
@@ -23,3 +23,5 @@ class MS_Tester(unittest.TestCase):
0.0911574, 0.0911574]), array([1, 1, 1, 1])))
+if __name_... | adding if __name__=='__main__' to tests missing it | pysal_mapclassify | train | py |
bc15841c1da63846b9517a6abc01a1522cf99414 | diff --git a/lib/markdown/highlightLines.js b/lib/markdown/highlightLines.js
index <HASH>..<HASH> 100644
--- a/lib/markdown/highlightLines.js
+++ b/lib/markdown/highlightLines.js
@@ -39,7 +39,7 @@ module.exports = md => {
})
if (inRange) {
return {
- code: `<span class="highlighted-line"... | fix: highlight line issue for empty lines | vuejs_vuepress | train | js |
68d490917f61c3dcfc150107b7ffb65ef050e4d0 | diff --git a/trezorlib/client.py b/trezorlib/client.py
index <HASH>..<HASH> 100644
--- a/trezorlib/client.py
+++ b/trezorlib/client.py
@@ -384,6 +384,11 @@ class ProtocolMixin(object):
return []
n = n.split('/')
+
+ # m/a/b/c => a/b/c
+ if n[0] == 'm':
+ n = n[1:]
+
... | trezorctl: accept also m/a/b/c as get_address path | trezor_python-trezor | train | py |
f9247dc60867d96ff7946929395eba626710a176 | diff --git a/src/Form/EventListener/GenerateAddressFieldsSubscriber.php b/src/Form/EventListener/GenerateAddressFieldsSubscriber.php
index <HASH>..<HASH> 100644
--- a/src/Form/EventListener/GenerateAddressFieldsSubscriber.php
+++ b/src/Form/EventListener/GenerateAddressFieldsSubscriber.php
@@ -175,6 +175,7 @@ class Gen... | Add the PIN postal code type (used by India). | commerceguys_addressing | train | php,php |
6993dc01a549073dd47ce9be81d9ce339e65ffae | diff --git a/BeforeQueryTrait.php b/BeforeQueryTrait.php
index <HASH>..<HASH> 100644
--- a/BeforeQueryTrait.php
+++ b/BeforeQueryTrait.php
@@ -7,6 +7,9 @@ trait BeforeQueryTrait
public static function find()
{
+ /**
+ * @var $obj ActiveRecord
+ */
$obj = new static;
... | Update BeforeQueryTrait.php
Fix error with models not support "soft delete" | sibds_yii2-activerecord | train | php |
014e3d1ce134257cbed049b8aa4402bcb5a284c2 | diff --git a/client/createReducer.js b/client/createReducer.js
index <HASH>..<HASH> 100644
--- a/client/createReducer.js
+++ b/client/createReducer.js
@@ -10,6 +10,9 @@ from '~routes/admin/authenticated/sidebar/community-settings/recipient/page'
// Reapop
import { reducer as notificationsReducer } from 'reapop'
+//... | chore(graphql): add reducer mode on apollo client | nossas_bonde-client | train | js,js |
1361264710da33c67a6e65c5e1f74a56ba5f182b | diff --git a/lib/jss/api_object/self_servable.rb b/lib/jss/api_object/self_servable.rb
index <HASH>..<HASH> 100644
--- a/lib/jss/api_object/self_servable.rb
+++ b/lib/jss/api_object/self_servable.rb
@@ -177,10 +177,12 @@ module JSS
notifications_supported: :ssvc_and_nctr,
notification_reminders: true
... | jamf fixed the selfservice data for mac apps as of Jamf Pro <I> | PixarAnimationStudios_ruby-jss | train | rb |
14aad3d5ea4c323bcd7a2137e735da24a76e814c | diff --git a/jsonpb/jsonpb.go b/jsonpb/jsonpb.go
index <HASH>..<HASH> 100644
--- a/jsonpb/jsonpb.go
+++ b/jsonpb/jsonpb.go
@@ -1116,6 +1116,8 @@ func (s mapKeys) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
func (s mapKeys) Less(i, j int) bool {
if k := s[i].Kind(); k == s[j].Kind() {
switch k {
+ case reflect.Str... | jsonpb: avoid copying string-valued map-keys (#<I>) | golang_protobuf | train | go |
6cac8820306e713c4f901c023cfd9c4ea9ab7c6d | diff --git a/connection.go b/connection.go
index <HASH>..<HASH> 100644
--- a/connection.go
+++ b/connection.go
@@ -534,7 +534,7 @@ func (cn *connection) updatePiecePriority(piece int) {
default:
panic(tpp)
}
- prio += piece
+ prio += piece / 2
cn.pieceRequestOrder.Set(piece, prio)
cn.updateRequests()
} | Reduce the impact of preferring earlier pieces
I think urgent pieces at the end of a torrent were getting fairly starved. | anacrolix_torrent | train | go |
046d52da0e924c4da6e2663c8153dd70ea8f46a6 | diff --git a/src/main/java/nl/jqno/equalsverifier/AbstractDelegationChecker.java b/src/main/java/nl/jqno/equalsverifier/AbstractDelegationChecker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/jqno/equalsverifier/AbstractDelegationChecker.java
+++ b/src/main/java/nl/jqno/equalsverifier/AbstractDelegationChecke... | FindBugs: might ignore exception | jqno_equalsverifier | train | java |
cf4da728a60bcc9a6f1f02cb9d571990f5624315 | diff --git a/logfmt.go b/logfmt.go
index <HASH>..<HASH> 100644
--- a/logfmt.go
+++ b/logfmt.go
@@ -83,17 +83,8 @@ func writeBytesKey(buf *bytes.Buffer, b []byte) {
buf.Write(bytesNull)
return
}
- index := bytes.IndexFunc(b, invalidKey)
- if index < 0 {
- buf.Write(b)
- return
- }
- if index > 0 {
- buf.Write... | Remove unnecessary code in writeBytesKey | jjeffery_kv | train | go |
42e60e296e8a17ebc6c35c1c0d58c14ebd9b24db | diff --git a/lib/cisco_node_utils/snmpuser.rb b/lib/cisco_node_utils/snmpuser.rb
index <HASH>..<HASH> 100644
--- a/lib/cisco_node_utils/snmpuser.rb
+++ b/lib/cisco_node_utils/snmpuser.rb
@@ -241,7 +241,7 @@ module Cisco
# Retrieve password hashes
hashed_pw = SnmpUser.auth_password('dummy_user', @engin... | snmpuser: dummy_user var does not exist | cisco_cisco-network-node-utils | train | rb |
49522ac1f590937df11131da5f76721290fa8332 | diff --git a/src/ConfigTrait.php b/src/ConfigTrait.php
index <HASH>..<HASH> 100644
--- a/src/ConfigTrait.php
+++ b/src/ConfigTrait.php
@@ -41,6 +41,7 @@ trait ConfigTrait
try {
$keys = func_get_args();
array_shift($keys);
+ \Assert\thatAll($keys)->string()->... | Assert that all keys are non-empty strings. | brightnucleus_config | train | php |
299ca8af998549fb5d3464944ff6df681186aaf8 | diff --git a/TYPO3.Flow/Classes/Monitor/ChangeDetectionStrategy/F3_FLOW3_Monitor_ChangeDetectionStrategy_ModificationTime.php b/TYPO3.Flow/Classes/Monitor/ChangeDetectionStrategy/F3_FLOW3_Monitor_ChangeDetectionStrategy_ModificationTime.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/Monitor/ChangeDetectionStr... | FLOW3:
* small fix to "modification time" change detection strategy
* fixes php lint bus error along the way - see r<I> for a previous case of that
Original-Commit-Hash: 0fe<I>e3fdf<I>f4db4c<I>d2b8a<I>fecdb1 | neos_flow-development-collection | train | php |
eab0fac1c1de2cd780ed1c218234c5e3a588d00e | diff --git a/src/nls/ru/strings.js b/src/nls/ru/strings.js
index <HASH>..<HASH> 100644
--- a/src/nls/ru/strings.js
+++ b/src/nls/ru/strings.js
@@ -257,7 +257,7 @@ define({
"BASEURL_ERROR_SEARCH_DISALLOWED" : "Основной URL не может содержать такие параметры поиска как \"{0}\".",
"BASEURL_ERROR_HASH_DISALL... | UNKOWN -> UNKNOWN | adobe_brackets | train | js |
1dc8f5f28938b5e790adec36719a4ab65e6f27bb | diff --git a/tests/unit/states/grains_test.py b/tests/unit/states/grains_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/states/grains_test.py
+++ b/tests/unit/states/grains_test.py
@@ -157,7 +157,7 @@ class GrainsTestCase(TestCase):
with patch.dict(grains.__opts__, {'test': True}):
with pa... | unit test update
grain value looks for list in assertion | saltstack_salt | train | py |
3233f32dfb8ccc869d8772436a58dd48496d8c0a | diff --git a/lib/behat/behat_base.php b/lib/behat/behat_base.php
index <HASH>..<HASH> 100644
--- a/lib/behat/behat_base.php
+++ b/lib/behat/behat_base.php
@@ -597,6 +597,11 @@ class behat_base extends Behat\MinkExtension\Context\RawMinkContext {
* @throws ExpectationException
*/
protected function resi... | MDL-<I> behat: Resize window only possible with javascript | moodle_moodle | train | php |
7f48ff671787e5d789394a2effb5de7c35c796c0 | diff --git a/watchtower/wtclient/session_queue.go b/watchtower/wtclient/session_queue.go
index <HASH>..<HASH> 100644
--- a/watchtower/wtclient/session_queue.go
+++ b/watchtower/wtclient/session_queue.go
@@ -316,8 +316,8 @@ func (q *sessionQueue) drainBackups() {
// before attempting to dequeue any pending updates.
... | watchtower: fix linter errors | lightningnetwork_lnd | train | go |
d23a761e6b460e177145be2833f5f130f3b4e934 | diff --git a/lib/MwbExporter/Formatter/Doctrine2/Yaml/Model/Table.php b/lib/MwbExporter/Formatter/Doctrine2/Yaml/Model/Table.php
index <HASH>..<HASH> 100644
--- a/lib/MwbExporter/Formatter/Doctrine2/Yaml/Model/Table.php
+++ b/lib/MwbExporter/Formatter/Doctrine2/Yaml/Model/Table.php
@@ -281,11 +281,12 @@ class Table ext... | Merge model variables with its parent. | mysql-workbench-schema-exporter_doctrine2-exporter | train | php |
7d992fbf9ca5d719d9b21095acf56f2986d810f8 | diff --git a/test.php b/test.php
index <HASH>..<HASH> 100644
--- a/test.php
+++ b/test.php
@@ -5,10 +5,9 @@ echo '<pre>';
set_time_limit(300);
-require realpath(dirname(__FILE__)) . '/GameQ/Autoloader.php';
+require realpath(dirname(__FILE__)) . '/src/GameQ/Autoloader.php';
-
-$gq = new GameQ();
+$gq = new \Game... | Updated test file while building as example for others. | Austinb_GameQ | train | php |
aafa3ced07105a4f8670a7adfee789c5691f8c2c | diff --git a/tools/loggraphdiff/loggraphdiff.go b/tools/loggraphdiff/loggraphdiff.go
index <HASH>..<HASH> 100644
--- a/tools/loggraphdiff/loggraphdiff.go
+++ b/tools/loggraphdiff/loggraphdiff.go
@@ -49,11 +49,11 @@ func main() {
old, err := readGraph(os.Args[1])
if err != nil {
- log.Fatal("failed to read %s: %s... | tools/loggraphdiff: Fix vet warnings | hashicorp_terraform | train | go |
c77cd092c41e7f95700904c0283cdd89fea8b47e | diff --git a/scripts/github/merge_dev_to_feature.py b/scripts/github/merge_dev_to_feature.py
index <HASH>..<HASH> 100644
--- a/scripts/github/merge_dev_to_feature.py
+++ b/scripts/github/merge_dev_to_feature.py
@@ -7,6 +7,7 @@ REPO_NAME=os.environ.get('REPOSITORY')
MASTER_NAME=os.environ.get('MASTER','dev')
USERNAME=... | Added support for passing a commit id from master branch for merge | SFDO-Tooling_CumulusCI | train | py |
99d1dea07ae3ae914efaa2ad6e2af7e2d721b81f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -18,7 +18,7 @@ function attachVirtuals(schema) {
var virtuals = [];
var keys = Object.keys(schema.virtuals);
for (var i = 0; i < keys.length; ++i) {
- if (!schema.virtuals[keys[i]].ref) {
+ if (!schema... | Fix for where 'ref' is in options | vkarpov15_mongoose-lean-virtuals | train | js |
3412596f57844090f2e3fb3af0cf7711dd1e35c6 | diff --git a/automl/synth.py b/automl/synth.py
index <HASH>..<HASH> 100644
--- a/automl/synth.py
+++ b/automl/synth.py
@@ -26,7 +26,7 @@ versions = ["v1beta1"]
# Generate automl GAPIC layer
# ----------------------------------------------------------------------------
for version in versions:
- library = gapic.py... | Include protos in synth. (#<I>) | googleapis_google-cloud-python | train | py,py |
a532f6405b16ac9b49acb4689662add18c4cbdd5 | diff --git a/functions.php b/functions.php
index <HASH>..<HASH> 100644
--- a/functions.php
+++ b/functions.php
@@ -1024,7 +1024,7 @@ function pods_shortcode ( $tags, $content = null ) {
if ( !empty( $pod ) ) {
$tags[ 'name' ] = get_post_type();
- $tags[ 'id' ] = get_the_ID... | Minor tweaks to shortcode slug/id handling | pods-framework_pods | train | php |
fe5df1b39649a49d1ea59a2628b40534114817c3 | diff --git a/lib/dynflow/rails/configuration.rb b/lib/dynflow/rails/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/dynflow/rails/configuration.rb
+++ b/lib/dynflow/rails/configuration.rb
@@ -168,7 +168,7 @@ module Dynflow
if remote?
false
else
- if defined?(::Sidekiq) && !S... | Properly detect which executor core to use
We used to check if `Sidekiq.options[:dynflow_executor]` is not nil, but in
rails this was being set after the world was initialized. That led to Parallel
core being used instead of Sidekiq one. | Dynflow_dynflow | train | rb |
0a74a9eec07f148ba3554ed70e4bbda901bbcb6b | diff --git a/kafka/codec.py b/kafka/codec.py
index <HASH>..<HASH> 100644
--- a/kafka/codec.py
+++ b/kafka/codec.py
@@ -2,6 +2,7 @@ import gzip
from io import BytesIO
import struct
+import six
from six.moves import xrange
_XERIAL_V1_HEADER = (-126, b'S', b'N', b'A', b'P', b'P', b'Y', 0, 1, 1)
@@ -100,10 +101,15 ... | Python3 does not support buffer -- use memoryview in snappy_decode | dpkp_kafka-python | train | py |
3bfde37a53edc8502052696e53fde3758686b718 | diff --git a/lib/extras/liquid_view.rb b/lib/extras/liquid_view.rb
index <HASH>..<HASH> 100644
--- a/lib/extras/liquid_view.rb
+++ b/lib/extras/liquid_view.rb
@@ -11,16 +11,25 @@ class LiquidView
end
- def render(template, local_assigns)
+ def render(template, local_assigns_for_rails_less_than_2_1_0 = nil)
... | Enable rails <I>.x compaitibility by allowing the render method to accept an ActionView::Template object.
This seems to complete the earlier 'ugly hack' for rails <I>.x compatibility | Shopify_liquid | train | rb |
8c35f56add46144dde137e2fb703eb779fd10074 | diff --git a/test/packages.test.js b/test/packages.test.js
index <HASH>..<HASH> 100644
--- a/test/packages.test.js
+++ b/test/packages.test.js
@@ -10,6 +10,7 @@ import {
DropzonesPackage,
EmphasisPackage,
FilePackage,
+ FindAndReplacePackage,
GridPackage,
GutterPackage,
HeadingPackage,
@@ -53,6 +54,7... | Test find and replace package importing. | substance_substance | train | js |
132235924e6523b3aa34a85e03fc55215fc21eaf | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -244,12 +244,12 @@ function runMongoMigrate(direction, migrationEnd) {
function performMigration(direction, migrateTo) {
var db = require('./lib/db');
db.getConnection(dbConfig || require(cwd + path.sep + configFileNam... | don't try to use db connection if error is thrown
Currently, if there are issues connecting to mongo
db.migrationCollection is still called. If db is undefined, this will
raise an exception. Moving error conditional up, so that an error is
logged instead. | afloyd_mongo-migrate | train | js |
8295e4be8ec402830e2f9b142decc20d439713d8 | diff --git a/src/inner-slider.js b/src/inner-slider.js
index <HASH>..<HASH> 100644
--- a/src/inner-slider.js
+++ b/src/inner-slider.js
@@ -401,6 +401,7 @@ export class InnerSlider extends React.Component {
changeSlide = (options, dontAnimate = false) => {
const spec = { ...this.props, ...this.state };
let ... | avoid slide change if it is already on the same slide | akiran_react-slick | train | js |
41016566a6f72dd036907bb0d26d9f781ad3c346 | diff --git a/src/modules/Parallax.js b/src/modules/Parallax.js
index <HASH>..<HASH> 100644
--- a/src/modules/Parallax.js
+++ b/src/modules/Parallax.js
@@ -84,10 +84,10 @@ class Parallax extends Component {
return true;
}
- componentDidUpdate(nextProps) {
- const { parent, bgImage, bgImageSrcSe... | fix: reference current this.props in cDU | RRutsche_react-parallax | train | js |
9f7f3370aabe6f99d8b51f3edaffa642412b8a68 | diff --git a/middleman-core/lib/middleman-core/renderers/coffee_script.rb b/middleman-core/lib/middleman-core/renderers/coffee_script.rb
index <HASH>..<HASH> 100644
--- a/middleman-core/lib/middleman-core/renderers/coffee_script.rb
+++ b/middleman-core/lib/middleman-core/renderers/coffee_script.rb
@@ -31,7 +31,9 @@ mod... | Catch JRuby/Coffee exception correctly | middleman_middleman | train | rb |
7bd967cff5748624d7da700ac7900ff5a4b7d8b2 | diff --git a/modules/cms/controllers/Index.php b/modules/cms/controllers/Index.php
index <HASH>..<HASH> 100644
--- a/modules/cms/controllers/Index.php
+++ b/modules/cms/controllers/Index.php
@@ -162,15 +162,15 @@ class Index extends Controller
/*
* Extensibility
*/
- Event::fire('cms... | Fix cms.template.save event, should always pass the primary object as the first/second parameter.
This may be a breaking change for some, sorry about that. | octobercms_october | train | php |
7d73727d6c40e617d5713577399e5430e3ab95e4 | diff --git a/packages/net/csp/transports.js b/packages/net/csp/transports.js
index <HASH>..<HASH> 100644
--- a/packages/net/csp/transports.js
+++ b/packages/net/csp/transports.js
@@ -206,11 +206,8 @@ transports.xhr = Class(baseTransport, function(supr) {
} else if('onreadystatechange' in xhr) {
xhr.onreadystatec... | this line was accidently deleted in 3b<I>b7beb1d9ce<I> (mcarter) - fixes spinning loading indicators in webkit | gameclosure_js.io | train | js |
fa378a7f8c164af7cc873969cb31163ebdbff89b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -147,7 +147,7 @@ function serveManifest(paths, opts, callback) {
watchers.push(watcher);
checkReady();
},
- catchupDelay: 500
+ catchupDelay: ('catchupDelay' in opts) ? opts['ca... | Allow opts to override the catchupDelay value | isaacsimmons_cache-manifest-generator | train | js |
b02ccff55ff8735edd4d96eb0eedecb347ed79bc | diff --git a/lib/auger/request.rb b/lib/auger/request.rb
index <HASH>..<HASH> 100644
--- a/lib/auger/request.rb
+++ b/lib/auger/request.rb
@@ -1,7 +1,7 @@
module Auger
class Request
- attr_accessor :tests, :before_tests_proc, :response, :arg
+ attr_accessor :tests, :before_tests_proc, :arg
def self.... | no need for @response in request | rlister_auger | train | rb |
b7bdc3a88c153b3d433cda3f0ac9f2ecded3d63d | diff --git a/ccmlib/common.py b/ccmlib/common.py
index <HASH>..<HASH> 100644
--- a/ccmlib/common.py
+++ b/ccmlib/common.py
@@ -527,7 +527,7 @@ def get_version_from_build(install_dir=None, node_path=None):
def get_dse_version(install_dir):
for root, dirs, files in os.walk(install_dir):
for file in files:
... | added support to find version using new dse jar name format | riptano_ccm | train | py |
538395b333d25a59cce4e30b2a41da7354d10865 | diff --git a/text_formatter.go b/text_formatter.go
index <HASH>..<HASH> 100644
--- a/text_formatter.go
+++ b/text_formatter.go
@@ -46,15 +46,22 @@ type TextFormatter struct {
// Enable logging the full timestamp when a TTY is attached instead of just
// the time passed since beginning of execution.
FullTimestamp ... | text_formatter: add field to disable sorting | sirupsen_logrus | train | go,go |
5a8a10d6504d55f3b99e64fd301f63e0bc954840 | diff --git a/pkg/cmd/cli/cli.go b/pkg/cmd/cli/cli.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/cli/cli.go
+++ b/pkg/cmd/cli/cli.go
@@ -36,9 +36,8 @@ run new-app:
$ %[1]s new-app openshift/ruby-20-centos7~https://github.com/openshift/ruby-hello-world.git
This will create an application based on the Docker image 'o... | Fix docs of oc | openshift_origin | train | go |
f13297cec77984470fb52b7f09c7eb946db0d4f8 | diff --git a/zechframework.php b/zechframework.php
index <HASH>..<HASH> 100755
--- a/zechframework.php
+++ b/zechframework.php
@@ -1,9 +1,6 @@
<?php
require __DIR__ . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php";
-error_reporting(E_ALL);
-ini_set('display_errors', 1);
-
// Define constants... | for now I removed the php init settings. best to leave the server configuration on the server. | zewadesign_framework | train | php |
aae4dd2280f8f3e1f1babee51c2ba227bd1def9f | diff --git a/src/Request.php b/src/Request.php
index <HASH>..<HASH> 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -209,12 +209,11 @@ final class Request
/**
* Get all GET params.
- * @param bool $setNoneNull
* @return array
*/
- final public function getParams(bool $setNoneNull ... | Remove $setNoneNull options. | froq_froq-http | train | php |
6c1a18f034165c8313deafe2e56b4e2c553ce5b5 | diff --git a/go/engine/gpg_import_key.go b/go/engine/gpg_import_key.go
index <HASH>..<HASH> 100644
--- a/go/engine/gpg_import_key.go
+++ b/go/engine/gpg_import_key.go
@@ -149,7 +149,7 @@ func (e *GPGImportKeyEngine) Run(ctx *Context) (err error) {
break
}
}
- if duplicate {
+ if duplicate && !e.arg.OnlyImport ... | Fix `--only-import` of existing key in PGP select
Address one aspect of CORE-<I> | keybase_client | train | go |
333d8f60d31be07d73fbbc00bb53d7ca29135ef2 | diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/documentation/impl/MultiLineJavaDocTypeReferenceProvider.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/documentation/impl/MultiLineJavaDocTypeReferenceProvider.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/doc... | [Xbase] Fix problem in compiling JavaDoc | eclipse_xtext-core | train | java |
f7a07d9b8b4d635e6f024293f344b41ce7690aa7 | diff --git a/api.php b/api.php
index <HASH>..<HASH> 100644
--- a/api.php
+++ b/api.php
@@ -1616,7 +1616,7 @@ class PHP_CRUD_API {
echo '{"swagger":"2.0",';
echo '"info":{';
echo '"title":"'.$database.'",';
- echo '"description":"API generated with [PHP_CRUD_API](https://github.com/mevdschee/php-crud-api)",';
... | Update project name in swagger output | mevdschee_php-crud-api | train | php |
f4c515d6362fdee01cd378fb945b55466549a5e0 | diff --git a/sllurp/llrp_proto.py b/sllurp/llrp_proto.py
index <HASH>..<HASH> 100644
--- a/sllurp/llrp_proto.py
+++ b/sllurp/llrp_proto.py
@@ -27,6 +27,8 @@ import logging
import struct
from collections import defaultdict
from binascii import hexlify
+from six import iteritems
+
from .util import BIT, BITMASK, func... | use iteritems from six | ransford_sllurp | train | py |
f490a68d7dd630d2368af4198229600c6d3ad745 | diff --git a/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java b/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java
index <HASH>..<HASH> 100644
--- a/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java
+++ b/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java
@@ -136,7... | Prevent autoPlay from playing an animation before it is attached to a window
Fixes #<I> | airbnb_lottie-android | train | java |
11dc58a58ca60daf6221f858ad42dab1530fd423 | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -1193,10 +1193,10 @@ const devices = [
extend: hue.light_onoff_brightness_colortemp_colorxy,
},
{
- zigbeeModel: ['LCA002'],
+ zigbeeModel: ['LCA001', 'LCA002'],
model: '929002... | Added LCA<I> Philips Hue White and Ambiance E<I> (#<I>)
* Added LCA<I> Philips Hue White and Ambiance E<I>
* Added a space between LCA<I> and LCA<I> | Koenkk_zigbee-shepherd-converters | train | js |
da39fe3da5aaad9f0dccfc082b66ac347591b354 | diff --git a/rest_framework_extensions/compat.py b/rest_framework_extensions/compat.py
index <HASH>..<HASH> 100644
--- a/rest_framework_extensions/compat.py
+++ b/rest_framework_extensions/compat.py
@@ -211,7 +211,10 @@ else:
# handle different QuerySet representations
def queryset_to_value_list(queryset):
- ass... | added python <I> compatibility for string/unicode comparison | chibisov_drf-extensions | train | py |
664c8c691ccdbe6d2dceedee6315a5fc3f55fad6 | diff --git a/bcbio/pipeline/run_info.py b/bcbio/pipeline/run_info.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/run_info.py
+++ b/bcbio/pipeline/run_info.py
@@ -799,6 +799,8 @@ def _add_algorithm_defaults(algorithm):
Converts allowed multiple inputs into lists if specified as a single item.
Converts req... | Fix error caused by an empty algorithm in the config YAML.
Closes #<I>. | bcbio_bcbio-nextgen | train | py |
6733137d98f8d927d8b03174bcbf77601c227f5e | diff --git a/js/jquery.mapael.js b/js/jquery.mapael.js
index <HASH>..<HASH> 100644
--- a/js/jquery.mapael.js
+++ b/js/jquery.mapael.js
@@ -317,12 +317,12 @@
options.text.attrs["text-anchor"] = textPosition.textAnchor;
elem.textElem = paper.text(textPosition.x, textPosition.y, options.text.content).attr(options.... | Bind event handlers before the binding of mouseover and mouseout events | neveldo_jQuery-Mapael | train | js |
43ae9ab2c97f165c4cddf51b5215ad4917a78365 | diff --git a/languagetool-dev/src/test/java/org/languagetool/dev/eval/LanguageDetectionEval.java b/languagetool-dev/src/test/java/org/languagetool/dev/eval/LanguageDetectionEval.java
index <HASH>..<HASH> 100644
--- a/languagetool-dev/src/test/java/org/languagetool/dev/eval/LanguageDetectionEval.java
+++ b/languagetool-... | add ngram path (commented out) | languagetool-org_languagetool | train | java |
00ef9a5e442c9bf9ccec4b58e2ce6b86d270708d | diff --git a/src/main/java/com/github/jinahya/bit/io/BitIoConstraints.java b/src/main/java/com/github/jinahya/bit/io/BitIoConstraints.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/jinahya/bit/io/BitIoConstraints.java
+++ b/src/main/java/com/github/jinahya/bit/io/BitIoConstraints.java
@@ -98,7 +98,7 @@... | Fix wrong size constraint for char | jinahya_bit-io | train | java |
72712f5247deba610906f1a8d7add3298c3c5732 | diff --git a/lib/luban/cli/version.rb b/lib/luban/cli/version.rb
index <HASH>..<HASH> 100644
--- a/lib/luban/cli/version.rb
+++ b/lib/luban/cli/version.rb
@@ -1,5 +1,5 @@
module Luban
module CLI
- VERSION = "0.4.4"
+ VERSION = "0.4.5"
end
end | bump up version to <I> | lubanrb_cli | train | rb |
576c9ee0dcf84c278a4130bc257a3caeb8cd9fb4 | diff --git a/segmentstore/server/src/main/java/io/pravega/segmentstore/server/reading/StreamSegmentReadIndex.java b/segmentstore/server/src/main/java/io/pravega/segmentstore/server/reading/StreamSegmentReadIndex.java
index <HASH>..<HASH> 100644
--- a/segmentstore/server/src/main/java/io/pravega/segmentstore/server/read... | Issue <I>: (SegmentStore) Logging the exception in StreamSegmentReadIndex.queueStorageRead (#<I>)
Fixed the error logging in StreamSegmentReadIndex.queueStorageRead to log the exception, not just the message. | pravega_pravega | train | java |
e900c7574b86aad2211575b3880cec4852132301 | diff --git a/findspark.py b/findspark.py
index <HASH>..<HASH> 100644
--- a/findspark.py
+++ b/findspark.py
@@ -137,7 +137,10 @@ def init(spark_home=None, python_path=None, edit_rc=False, edit_profile=False):
# add pyspark to sys.path
spark_python = os.path.join(spark_home, 'python')
- py4j = glob(os.path... | Added descriptive error when py4j can't be found
Ran into this issue while attempting to use the library and got a "IndexError", this change makes it much more clear that something is probably wrong with the user's config of Spark, since py4j cannot be found (at least, this is what happened in my case, open to a more ... | minrk_findspark | train | py |
c2fbe8c3cc9ae3a78f8f72fa0034d6aea4bbf100 | diff --git a/osbs/conf.py b/osbs/conf.py
index <HASH>..<HASH> 100644
--- a/osbs/conf.py
+++ b/osbs/conf.py
@@ -615,7 +615,7 @@ class Configuration(object):
continue
platform = section.split("platform:")[1]
platform_descriptor = {}
- logger.warning("user configuratio... | conf: fix errant comma in deprecation warnings | projectatomic_osbs-client | train | py |
51706c436fb24b4a89548b6afac7d8c909c6a63e | diff --git a/tests/integ/test_training_compiler.py b/tests/integ/test_training_compiler.py
index <HASH>..<HASH> 100644
--- a/tests/integ/test_training_compiler.py
+++ b/tests/integ/test_training_compiler.py
@@ -32,6 +32,10 @@ def gpu_instance_type(request):
integ.test_region() not in integ.TRAINING_COMPILER_SUPPOR... | fix: integs for training compiler in non-PDX regions (#<I>) | aws_sagemaker-python-sdk | train | py |
6c6fc5f46e6ffc8fca99ecbb5dcd900e464d6032 | diff --git a/includes/functions.php b/includes/functions.php
index <HASH>..<HASH> 100644
--- a/includes/functions.php
+++ b/includes/functions.php
@@ -1483,6 +1483,13 @@ function yourls_salt( $string ) {
* 'var', 'value', $url
* If $url omitted, uses $_SERVER['REQUEST_URI']
*
+ * The result of this function ... | For hackers: add comment about preventing XSS | YOURLS_YOURLS | train | php |
21164655a0abb1c2055e13fa4bd3bb61beb239d8 | diff --git a/changelogs/changelogs.py b/changelogs/changelogs.py
index <HASH>..<HASH> 100644
--- a/changelogs/changelogs.py
+++ b/changelogs/changelogs.py
@@ -21,7 +21,7 @@ def _load_custom_functions(vendor, name):
:return: dict, functions
"""
functions = {}
- filename = "{}.py".format(name)
+ file... | Make custom functions case insensitive.
Some packages prefer different kind of casing in their name. For example
`SQLAlchemy` instead of `sqlalchemy`. | pyupio_changelogs | train | py |
fed36ec327867c065603081d81dc73e41cbc6db2 | diff --git a/src/test/java/org/jooq/lambda/SeqTest.java b/src/test/java/org/jooq/lambda/SeqTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/jooq/lambda/SeqTest.java
+++ b/src/test/java/org/jooq/lambda/SeqTest.java
@@ -272,10 +272,15 @@ public class SeqTest {
Supplier<Tuple2<Seq<Integer>, Seq<Integ... | [#<I>] Added failing integration test | jOOQ_jOOL | train | java |
b0ca8033ac69e2c4e6dcdc08f036dc317079b705 | diff --git a/lib/ember/version.rb b/lib/ember/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ember/version.rb
+++ b/lib/ember/version.rb
@@ -6,8 +6,12 @@ module Ember
# we might want to unify this with the ember version string,
# but consistency?
def rubygems_version_string
- major, rc = VERSION.sub('-','... | Fix ember-source to handle non-RCs | emberjs_ember.js | train | rb |
67151840e46d498f0aec789b26bec816bb5bc0df | diff --git a/km3pipe/io/aanet.py b/km3pipe/io/aanet.py
index <HASH>..<HASH> 100644
--- a/km3pipe/io/aanet.py
+++ b/km3pipe/io/aanet.py
@@ -103,6 +103,7 @@ class AanetPump(Pump):
'MCHits': HitSeries.from_aanet(event.mc_hits, event.id),
'MCTracks': TrackSeries.from_aanet(... | try reading aanet non-mc tracks | tamasgal_km3pipe | train | py |
4cd085bf9ffcee32907b8139b38474a30a917e84 | diff --git a/src/Groups/ANDGroup.php b/src/Groups/ANDGroup.php
index <HASH>..<HASH> 100644
--- a/src/Groups/ANDGroup.php
+++ b/src/Groups/ANDGroup.php
@@ -99,7 +99,7 @@ class ANDGroup implements Group
if ( ! $this->isSet())
{
$responses[] = new Response(
- $this->getPrintab... | update response to make sense in more cases | aidantwoods_BetterOptions | train | php |
dc910997039f11492437c61cb7bd818cc5b38bd6 | diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -111,8 +111,7 @@ def parse_config(source):
File-like object containing the config parameters.
:returns:
A `dict` of the parameter k... | engine:
Updated parse_config to have less side-effects, and simplified its
return interface.
Instead of creating Input records, we just return a dict of the input
model file paths and leave the Input creation to a later function in
the workflow.
Former-commit-id: <I>e<I>b4e<I>a<I>a<I>cedcd<I>e3ac<I>b | gem_oq-engine | train | py |
da2aa57879ecd82b3089d931d49c845e8f3ae100 | diff --git a/lib/features/complex-cell/ComplexCell.js b/lib/features/complex-cell/ComplexCell.js
index <HASH>..<HASH> 100644
--- a/lib/features/complex-cell/ComplexCell.js
+++ b/lib/features/complex-cell/ComplexCell.js
@@ -15,8 +15,8 @@ var assign = require('lodash/object/assign'),
* Complex Property:
* - temp... | feat(complex-cell): allow setting multiple class names
related to CAM-<I> | bpmn-io_table-js | train | js |
b5e211ed15e10b44e1ca5dd363a81a683ecfedc5 | diff --git a/src/main/java/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet.java b/src/main/java/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet.java
+++ ... | [CONJ-<I>] Clear Calendar instance before using it | MariaDB_mariadb-connector-j | train | java |
ef50c3f5e326706425de993aeb1dbd8c49c0ab51 | diff --git a/src/Network/FTP/Client/FtpClient.php b/src/Network/FTP/Client/FtpClient.php
index <HASH>..<HASH> 100644
--- a/src/Network/FTP/Client/FtpClient.php
+++ b/src/Network/FTP/Client/FtpClient.php
@@ -244,23 +244,6 @@ class FtpClient extends AbstractFtpClient {
}
/**
- * Returns a list of files in... | Remove a PHP <I> function used into FTP client | webeweb_core-library | train | php |
a180bd9dce2c89eb7da3ad4b78a94a71f517fc76 | diff --git a/build.php b/build.php
index <HASH>..<HASH> 100755
--- a/build.php
+++ b/build.php
@@ -22,7 +22,7 @@ if ($phpcsViolations > 0) {
}
$phpunitConfiguration = PHPUnit_Util_Configuration::getInstance(__DIR__ . '/phpunit.xml');
-$phpunitArguments = array('coverageHtml' => 'coverage', 'configuration' => $phpun... | Use the full path to the code coverage. | traderinteractive_image-util-php | train | php |
18b7ab638a52b1dc2899f2e32b33f41d931ce2f4 | diff --git a/setuptools/command/rotate.py b/setuptools/command/rotate.py
index <HASH>..<HASH> 100755
--- a/setuptools/command/rotate.py
+++ b/setuptools/command/rotate.py
@@ -2,6 +2,7 @@ from distutils.util import convert_path
from distutils import log
from distutils.errors import DistutilsOptionError
import os
+imp... | Handle not-zip-safe egg (folder) deletion in rotate command | pypa_setuptools | train | py |
48e7087e77fe583a11cda676d1db3a2f634c5dce | diff --git a/test/backends_bucket-at-most-once.js b/test/backends_bucket-at-most-once.js
index <HASH>..<HASH> 100644
--- a/test/backends_bucket-at-most-once.js
+++ b/test/backends_bucket-at-most-once.js
@@ -5,7 +5,7 @@ var should = require ('should');
var factory = null;
[
- {label: 'MongoDB Bucket', mq: require ... | bucket-at-most-once test: added drain calls | pepmartinez_keuss | train | js |
4232770d5cc58cf300c62f80e1376db8a3d9662c | diff --git a/src/Model.php b/src/Model.php
index <HASH>..<HASH> 100644
--- a/src/Model.php
+++ b/src/Model.php
@@ -36,6 +36,10 @@ trait Model
*/
public function __construct(iterable $input = null)
{
+ $cache = $this->__getModelPropertyDecorations();
+ foreach ($cache['properties'] as $fiel... | on initialization, always correctly set decorated properties (even with a null value) | ornament-orm_core | train | php |
bf87ac15b529447a0906f47fdeeb842faa5739ff | diff --git a/src/components/Cards/ImageCard.js b/src/components/Cards/ImageCard.js
index <HASH>..<HASH> 100644
--- a/src/components/Cards/ImageCard.js
+++ b/src/components/Cards/ImageCard.js
@@ -9,7 +9,7 @@ export default class ImageCard extends React.Component {
return (
<Card onClick={onClick} className={... | Make cards have h2s not h1s | netlify_netlify-cms | train | js |
e4b2698ec871b8a2f3e9c970f9e272f83be13d60 | diff --git a/connect.go b/connect.go
index <HASH>..<HASH> 100644
--- a/connect.go
+++ b/connect.go
@@ -140,6 +140,13 @@ const (
VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS = VirConnectGetAllDomainStatsFlags(C.VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS)
)
+type VirConnectFlags int
+
+const (
+ VIR_CONNECT_... | Add enum constants for connection open | libvirt_libvirt-go | train | go |
12f907209252af108ab81b4ebead472933b59508 | diff --git a/src/Maatwebsite/Excel/Excel.php b/src/Maatwebsite/Excel/Excel.php
index <HASH>..<HASH> 100644
--- a/src/Maatwebsite/Excel/Excel.php
+++ b/src/Maatwebsite/Excel/Excel.php
@@ -117,8 +117,8 @@ class Excel extends \PHPExcel
// Load the file
$this->excel = $this->reader->load($this->file);
-... | Changed return value of load() method | Maatwebsite_Laravel-Excel | train | php |
c3d9d72318f14181a1ecab68c7cd9cd13d14529c | diff --git a/src/basic/Textarea.js b/src/basic/Textarea.js
index <HASH>..<HASH> 100644
--- a/src/basic/Textarea.js
+++ b/src/basic/Textarea.js
@@ -34,6 +34,7 @@ class Textarea extends Component {
this.props.placeholderTextColor ? this.props.placeholderTextColor : variables.inputColorPlaceholder
}
underl... | Added disabled prop to TextArea | GeekyAnts_NativeBase | train | js |
3d219a42423ed34f384d3bce3b9df61d55fb6f9e | diff --git a/DeviceDetector.php b/DeviceDetector.php
index <HASH>..<HASH> 100644
--- a/DeviceDetector.php
+++ b/DeviceDetector.php
@@ -501,7 +501,7 @@ class DeviceDetector
* As most touch enabled devices are tablets and only a smaller part are desktops/notebooks we assume that
* all Windows 8 touch ... | detection for windows rt <I> tablets | matomo-org_device-detector | train | php |
5c27c530f449511481e3f437a5763f13d70c538a | diff --git a/src/Drupal/Driver/DrushDriver.php b/src/Drupal/Driver/DrushDriver.php
index <HASH>..<HASH> 100644
--- a/src/Drupal/Driver/DrushDriver.php
+++ b/src/Drupal/Driver/DrushDriver.php
@@ -134,6 +134,7 @@ class DrushDriver implements DriverInterface {
public function drush($command, array $arguments = array(),... | Issue #<I> by grendzy: Fixed DrushDriver: ANSI color output confuses XML parsers. | jhedstrom_DrupalDriver | train | php |
e5aa1c6f825b5cf2d5f2b0d33d077d174fcc3ccf | diff --git a/client/connection.go b/client/connection.go
index <HASH>..<HASH> 100644
--- a/client/connection.go
+++ b/client/connection.go
@@ -10,10 +10,10 @@ import (
"strings"
"time"
+ log "gopkg.in/inconshreveable/log15.v2"
"gopkg.in/macaroon-bakery.v2/httpbakery"
"github.com/lxc/lxd/shared"
- log "githu... | client: Update imports for log<I> | lxc_lxd | train | go |
c2a966b5183da197ff214d8c02e5d05dd3bf5642 | diff --git a/src/engine/GoalTree.js b/src/engine/GoalTree.js
index <HASH>..<HASH> 100644
--- a/src/engine/GoalTree.js
+++ b/src/engine/GoalTree.js
@@ -217,9 +217,6 @@ let resolveSimpleActions = function resolveSimpleActions(clause, possibleActions
});
thetaSet.forEach((tuple) => {
- if (tuple.unresolved.leng... | remove empty unresolved check for candidate actions selection | lps-js_lps.js | train | js |
74a97a9a8ad27aa38c02bfa56647659e34f62f0a | diff --git a/lib/roger_style_guide/templates/mustache/mustache_template.rb b/lib/roger_style_guide/templates/mustache/mustache_template.rb
index <HASH>..<HASH> 100644
--- a/lib/roger_style_guide/templates/mustache/mustache_template.rb
+++ b/lib/roger_style_guide/templates/mustache/mustache_template.rb
@@ -4,8 +4,14 @@ ... | Pass template context to lower level mustache renderers | DigitPaint_roger_style_guide | train | rb |
76a7febff2bf7dadb2ef0380599eb98fe52d8ce0 | diff --git a/test/helpers/kubectl.go b/test/helpers/kubectl.go
index <HASH>..<HASH> 100644
--- a/test/helpers/kubectl.go
+++ b/test/helpers/kubectl.go
@@ -1531,7 +1531,7 @@ func (kub *Kubectl) WaitForCiliumInitContainerToFinish() error {
}
for _, pod := range podList.Items {
for _, v := range pod.Status.InitC... | Add nil check for init container terminated state | cilium_cilium | train | go |
386bb71738d0a3245e55e2d7abe0272e0b804f30 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -27,6 +27,10 @@ describe('stripe-as-promised', () => {
sandbox.restore();
});
+ it('throws if no Promise is provided', () => {
+ expect(stripeAsPromised.bind()).to.throw('Promise');
+ });
+
... | Test w/out promise ctor | bendrucker_stripe-as-promised | train | js |
52069c50056a033c4840274d93398c07348391a8 | diff --git a/lib/data_mapper/mapper/attribute_set.rb b/lib/data_mapper/mapper/attribute_set.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/mapper/attribute_set.rb
+++ b/lib/data_mapper/mapper/attribute_set.rb
@@ -90,7 +90,9 @@ module DataMapper
end
end
- each { |attribute| instance <<... | Use do/end blocks for #each in AttributeSet#merge | rom-rb_rom | train | rb |
29afb6ad38bd5bfe49b46c711282ebe25ff56ff5 | diff --git a/pelix/framework.py b/pelix/framework.py
index <HASH>..<HASH> 100644
--- a/pelix/framework.py
+++ b/pelix/framework.py
@@ -283,7 +283,8 @@ class Bundle(object):
self._state = previous_state
# Re-raise directly Pelix exceptions
- _logger.exceptio... | Same exception behavior for bundle.start/stop
Re-raise the exception raised by the bundle activator on start or stop
without converting it, if it is a Pelix exception (Bundle/FrameworkException) | tcalmant_ipopo | train | py |
a1d7b092f65532f4f2ae9da6a45752d30927d301 | diff --git a/spec/clamp/command_spec.rb b/spec/clamp/command_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/clamp/command_spec.rb
+++ b/spec/clamp/command_spec.rb
@@ -435,6 +435,19 @@ describe Clamp::Command do
end
+ context "with option arguments that look like options" do
+
+ before do
+ ... | Test behaviour of option arguments that look like options.
This is a (failed) attempt to reproduce #<I>. Having failed to
reproduce, I realise I've actually mis-interpreted #<I>. But this
is still a useful test. | mdub_clamp | train | rb |
39337d2145fb955de2f3b9f43eebc27935486165 | diff --git a/upload/catalog/controller/payment/twocheckout.php b/upload/catalog/controller/payment/twocheckout.php
index <HASH>..<HASH> 100644
--- a/upload/catalog/controller/payment/twocheckout.php
+++ b/upload/catalog/controller/payment/twocheckout.php
@@ -7,7 +7,7 @@ class ControllerPaymentTwoCheckout extends Contro... | 2Checkout no longer has a seperate URL for the single page checkout routine. | opencart_opencart | train | php |
a03e5e328a67bd2efd479f7aebed4830a7d8f922 | diff --git a/lxd/cluster/gateway.go b/lxd/cluster/gateway.go
index <HASH>..<HASH> 100644
--- a/lxd/cluster/gateway.go
+++ b/lxd/cluster/gateway.go
@@ -407,7 +407,7 @@ func (g *Gateway) raftDial() client.DialFunc {
listener.Close()
- go dqliteProxy("raftDial", g.stopCh, conn, goUnix)
+ go dqliteProxy("raft", g.... | lxd/cluster/gateway: Standardise logging naming of dqliteProxy and dqliteNetworkDial | lxc_lxd | train | go |
9a1574a7e507a02c6d3814f8a76df89e98c74f7d | diff --git a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
index <HASH>..<HASH> 100755
--- a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
+++ b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
@@ -81,9 +81,6 @@ class CrawlerTest extends \... | removed @covers annotations in tests | symfony_symfony | train | php |
1af331c05c9feed01f0c652e472c76965a7d55f2 | diff --git a/cmd/server-startup-msg.go b/cmd/server-startup-msg.go
index <HASH>..<HASH> 100644
--- a/cmd/server-startup-msg.go
+++ b/cmd/server-startup-msg.go
@@ -109,7 +109,7 @@ func printServerCommonMsg(apiEndpoints []string) {
apiEndpointStr := strings.Join(apiEndpoints, " ")
// Colorize the message and print... | Remove unnecessary newline at beginning of server output (#<I>) | minio_minio | train | go |
93a3657f87aaeb4a4201acf21eb012b4af9104ca | diff --git a/indra/databases/identifiers.py b/indra/databases/identifiers.py
index <HASH>..<HASH> 100644
--- a/indra/databases/identifiers.py
+++ b/indra/databases/identifiers.py
@@ -35,7 +35,7 @@ identifiers_mappings = {
non_registry = {
'SDIS', 'SCHEM', 'SFAM', 'SCOMP', 'HMS-LINCS', 'NXPFA',
'OMIM', 'LSPCI... | Add more identifiers missing from registry | sorgerlab_indra | train | py |
85a1df9a18d61708a829e0a2cbfda6f2bea0ba8b | diff --git a/src/Ufo/Widgets/WidgetsStorageInterface.php b/src/Ufo/Widgets/WidgetsStorageInterface.php
index <HASH>..<HASH> 100644
--- a/src/Ufo/Widgets/WidgetsStorageInterface.php
+++ b/src/Ufo/Widgets/WidgetsStorageInterface.php
@@ -13,5 +13,22 @@ use Ufo\Core\Section;
interface WidgetsStorageInterface
{
+ /**... | chore: describe returning value structure in phpdoc | enikeishik_ufoframework | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.