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 |
|---|---|---|---|---|---|
01d573825f98349bf67fa1e64b06c6b383672c8d | diff --git a/spec/cycle_spec.rb b/spec/cycle_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cycle_spec.rb
+++ b/spec/cycle_spec.rb
@@ -5,6 +5,8 @@ require 'tmpdir'
class Chicken < ActiveRecord::Base
end
+ActiveRecord::Base.logger = Logger.new(File.join(DumpRake::RailsRoot, 'log/dump.log'))
+
def database_configs
... | move setting logger to cycle_spec | toy_dump | train | rb,rb |
4d8e0fa166dc47325bf4693865075669b4e09fcd | diff --git a/profile/legacy_profile.go b/profile/legacy_profile.go
index <HASH>..<HASH> 100644
--- a/profile/legacy_profile.go
+++ b/profile/legacy_profile.go
@@ -373,6 +373,15 @@ func cpuProfile(b []byte, period int64, parse func(b []byte) (uint64, []byte)) (
}
}
+ if err := p.ParseMemoryMap(bytes.NewBuffer(b))... | Apply leaf cleanup to threadz samples
The legacy profilez parser handles duplicate leaf samples that are a
common artifact of satck unwinding. Apply the same technique to threadz
profiles where duplicate samples also occur. | google_pprof | train | go |
c074516053bd9a0a357fc71db72844ab8b987feb | diff --git a/indra/tests/test_statements.py b/indra/tests/test_statements.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_statements.py
+++ b/indra/tests/test_statements.py
@@ -1337,6 +1337,7 @@ def test_serialize():
st2 = stmts_from_json([jstr])[0]
assert(st.equals(st2))
assert unicode_strs((ev1, ... | Check hash is persistend through to_json-from_json. | sorgerlab_indra | train | py |
09637a30fa00f86fe81a3191069304effb44cbd5 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -96,15 +96,23 @@ describe('node-serialize', function () {
'',
'http://www.w3.org/1999/xhtml'
);
-
- // Some older browsers require the DOCTYPE to be within a Document,
- // otherwise th... | test: add HTML5 Doctype test, for <I>% test code coverage! | webmodules_dom-serialize | train | js |
cfcc96c896408a433fee088d4034bc6a6b566968 | diff --git a/examples/conversations.php b/examples/conversations.php
index <HASH>..<HASH> 100644
--- a/examples/conversations.php
+++ b/examples/conversations.php
@@ -32,7 +32,7 @@ $filters = (new ConversationFilters())
->withSortField('createdAt')
->withSortOrder('asc')
// See https://developer.helpscou... | Removing parenthesis from the example since it's not required | helpscout_helpscout-api-php | train | php,php |
d848629349643bb04194efa0af2aeecdf8b16fe0 | diff --git a/packages/ember-metal/lib/platform.js b/packages/ember-metal/lib/platform.js
index <HASH>..<HASH> 100644
--- a/packages/ember-metal/lib/platform.js
+++ b/packages/ember-metal/lib/platform.js
@@ -38,7 +38,6 @@ if (!Ember.create) {
Ember.create.isSimulated = true;
}
-Object.defineProperty = null;
/** @... | Let ES5 browsers actually work | emberjs_ember.js | train | js |
e7afdda0356ee32ba600e3408586365147ac5457 | diff --git a/src/Sql/Relator/OneMany.php b/src/Sql/Relator/OneMany.php
index <HASH>..<HASH> 100644
--- a/src/Sql/Relator/OneMany.php
+++ b/src/Sql/Relator/OneMany.php
@@ -39,6 +39,8 @@ class OneMany extends Base
);
if ($relation[0] == 'one' && $result) {
$result = current($result);
+ ... | result should not return empty array from OneMany getRelated | shabbyrobe_amiss | train | php |
64ffa2a2432216e8685f483733a3b6c3be9835a6 | diff --git a/filter/tex/latex.php b/filter/tex/latex.php
index <HASH>..<HASH> 100644
--- a/filter/tex/latex.php
+++ b/filter/tex/latex.php
@@ -44,14 +44,19 @@
}
else {
$this->supported_platform = false;
- return false;
}
$this->path_lat... | Added check so render returns with false if unsupported platform. | moodle_moodle | train | php |
dbb680bf11300eceeb364168b667c78c335ecc0e | diff --git a/base/src/org/droidparts/manager/AbstractPrefsManager.java b/base/src/org/droidparts/manager/AbstractPrefsManager.java
index <HASH>..<HASH> 100644
--- a/base/src/org/droidparts/manager/AbstractPrefsManager.java
+++ b/base/src/org/droidparts/manager/AbstractPrefsManager.java
@@ -67,8 +67,14 @@ public abstrac... | PrefsManager helper methods. | droidparts_droidparts | train | java |
4d683eee9594df60cd9aae92bff337057f3b76b8 | diff --git a/productmd/composeinfo.py b/productmd/composeinfo.py
index <HASH>..<HASH> 100644
--- a/productmd/composeinfo.py
+++ b/productmd/composeinfo.py
@@ -580,12 +580,8 @@ class VariantBase(productmd.common.MetadataBase):
if variant.parent is None and '-' in variant_id and variant.type != "optional":
... | Fix VariantBase._validate_variants()
Refer to the implementation of Variants.add(), variant_id could be
any value.
This patch could cover the case we met currently, but the validation
will fail if people pass other variant_id value to Variants.add()
JIRA: RHELCMP-<I> | release-engineering_productmd | train | py |
f30ca2d5d68dd00625714c440c7940dee5b27140 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,6 +3,7 @@
"""The setup script."""
import sys
+
from setuptools import setup, find_packages
with open('README.rst') as readme_file: | space btw stdlib and related third-party libs re: pep8 guidance. | remix_partridge | train | py |
6247fa5b8f296b6bd67bb5263387562c20c92e27 | diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -36,8 +36,8 @@ def send():
def start():
with cd(env.tsuru_path):
run("tar -xzf dist.tar.gz")
- run("nohup %s/dist/collector >& /dev/null < /dev/null &" % env.tsuru_path, pty=False)
- run("nohup %s/... | fabfile: redirecting output from collector and webserver to files | tsuru_tsuru | train | py |
d89e81cd66e0b3df02f198bf405bc7b4a9af1ffd | diff --git a/lib/Core/Values/BlockCreateStruct.php b/lib/Core/Values/BlockCreateStruct.php
index <HASH>..<HASH> 100644
--- a/lib/Core/Values/BlockCreateStruct.php
+++ b/lib/Core/Values/BlockCreateStruct.php
@@ -29,10 +29,6 @@ class BlockCreateStruct extends APIBlockCreateStruct
*/
public function setParamete... | Remove uneeded check from block structs | netgen-layouts_layouts-core | train | php,php |
d322ddb49c5de05925124bb062141f4f9e7c29d7 | diff --git a/lib/log.js b/lib/log.js
index <HASH>..<HASH> 100644
--- a/lib/log.js
+++ b/lib/log.js
@@ -13,7 +13,7 @@ log.addLevel('debug', 999, {fg: 'grey'}, 'debu');
// monkey patch npmlog…
log.heading = '';
log.headingStyle.fg = 'blue';
-log.disp.verbose = 'verbose';
+log.disp.verbose = 'verb';
log.disp.error = '... | normalize verbose level output to 4 char | YahooArchive_mojito-cli-doc | train | js |
c70e8c11ec812f1a8a5fbb06c69419d47bd24a2a | diff --git a/src/javascripts/ng-admin/Main/component/service/config/Field.js b/src/javascripts/ng-admin/Main/component/service/config/Field.js
index <HASH>..<HASH> 100644
--- a/src/javascripts/ng-admin/Main/component/service/config/Field.js
+++ b/src/javascripts/ng-admin/Main/component/service/config/Field.js
@@ -45,22... | Remove needless method (added by Configurable) | marmelab_ng-admin | train | js |
593a192f0c6dd79dd29845c4efe27d33e6843343 | diff --git a/nanomath/version.py b/nanomath/version.py
index <HASH>..<HASH> 100644
--- a/nanomath/version.py
+++ b/nanomath/version.py
@@ -1 +1 @@
-__version__ = "0.22.0"
+__version__ = "0.23.0" | bumping version after pull request speeding up ave_qual | wdecoster_nanomath | train | py |
046b8f2fa56c83daedbfbfd29a21878160f9b884 | diff --git a/pyemma/msm/models/msm.py b/pyemma/msm/models/msm.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/models/msm.py
+++ b/pyemma/msm/models/msm.py
@@ -139,11 +139,9 @@ class MSM(_Model):
"""
# we set reversible first, so it can be derived from P, if None was given.
self.update_model_p... | [msm] use multiple calls to update_model_params to preserve order.
This restores the old behaviour: if a param is set to None it can be overriden,
but not set twice. Setting a parameter twice causes problems with other
Estimators like ChapmanKolmogorov, which invokes set_model_params again with None. | markovmodel_PyEMMA | train | py |
c1d915df5bfab86bd27784f99eaca9a2e2b1e526 | diff --git a/test/e2e_node/runner/run_e2e.go b/test/e2e_node/runner/run_e2e.go
index <HASH>..<HASH> 100644
--- a/test/e2e_node/runner/run_e2e.go
+++ b/test/e2e_node/runner/run_e2e.go
@@ -104,7 +104,7 @@ func main() {
noColour = "\033[0m"
}
- go arc.getArchive()
+ arc.getArchive()
defer arc.deleteArchive()
... | Wait for arc.getArchive() to complete before running tests | kubernetes_kubernetes | train | go |
3850b05388a01ac369d78be58a9db04ebb93408c | diff --git a/server/client.go b/server/client.go
index <HASH>..<HASH> 100644
--- a/server/client.go
+++ b/server/client.go
@@ -310,23 +310,28 @@ func (c *client) processConnect(arg []byte) error {
c.mu.Lock()
c.clearAuthTimer()
c.last = time.Now()
+ typ := c.typ
+ r := c.route
+ srv := c.srv
c.mu.Unlock()
i... | Fix data race
When processing a connect request, there was a risk of race condition
when the server was being shutdown. Capture fields that are checked
under lock and lock when setting the route's remote ID.
Resolves #<I> | nats-io_gnatsd | train | go |
75cb03535f7b48eea7a8bbddf773f55962e09de3 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -5,7 +5,7 @@ require "rdkafka"
def rdkafka_config
config = {
:"bootstrap.servers" => "localhost:9092",
- :"group.id" => "ruby-test-#{Random.new.rand(0..10_000)}",
+ :"... | Take partition into account in wait_for_message spec helper | appsignal_rdkafka-ruby | train | rb |
d606bcb7fd0afc69e35eea301573a0d530e7b211 | diff --git a/lib/Cake/Cache/Engine/FileEngine.php b/lib/Cake/Cache/Engine/FileEngine.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Cache/Engine/FileEngine.php
+++ b/lib/Cake/Cache/Engine/FileEngine.php
@@ -388,7 +388,7 @@ class FileEngine extends CacheEngine {
return false;
}
- $key = Inflector::underscore(s... | convert forbidden character in filename(Windows) with underline | cakephp_cakephp | train | php |
f65a4568f23a276622833ddcda6a6e6b153f7d68 | diff --git a/klue/swagger/client.py b/klue/swagger/client.py
index <HASH>..<HASH> 100644
--- a/klue/swagger/client.py
+++ b/klue/swagger/client.py
@@ -218,7 +218,8 @@ class ClientCaller():
raise e
# max_attempts has been reached: propagate the last received Exception
- log.info("R... | Fix bug of undefined exception when retrying 3 times with no error | pymacaron_pymacaron-core | train | py |
b20185aa7f6780c6f5736d91bc8ee724805d80aa | diff --git a/decoda.php b/decoda.php
index <HASH>..<HASH> 100644
--- a/decoda.php
+++ b/decoda.php
@@ -351,25 +351,25 @@ class Decoda {
}
}
}
+ }
+
+ // Make urls/emails clickable
+ if ($this->__config['clickable']) {
+ $string = $this->__clickable($string);
+ ... | Trigger utility functions even if parse is false. | milesj_decoda | train | php |
ee254021b67eda4bba1a8e3a2216e289bde64ba0 | diff --git a/src/Charcoal/Core/IndexableTrait.php b/src/Charcoal/Core/IndexableTrait.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Core/IndexableTrait.php
+++ b/src/Charcoal/Core/IndexableTrait.php
@@ -10,11 +10,21 @@ trait IndexableTrait
/**
* @var mixed $_id The object (unique) identifier
*/
- ... | set_indexable_data, to be called from classes (set_data) that uses the Indexable trait | locomotivemtl_charcoal-core | train | php |
ff2e56ffc3a292c79a2c249559d4decf69416397 | diff --git a/ph-oton-uicore/src/main/java/com/helger/photon/uicore/icon/DefaultIcons.java b/ph-oton-uicore/src/main/java/com/helger/photon/uicore/icon/DefaultIcons.java
index <HASH>..<HASH> 100644
--- a/ph-oton-uicore/src/main/java/com/helger/photon/uicore/icon/DefaultIcons.java
+++ b/ph-oton-uicore/src/main/java/com/h... | Added JavaDocs :) | phax_ph-oton | train | java |
ecb6dfdece9a02a114df200b6bce549b302ec4b7 | diff --git a/campaigns.go b/campaigns.go
index <HASH>..<HASH> 100644
--- a/campaigns.go
+++ b/campaigns.go
@@ -1,15 +1,15 @@
package mailgun
type Campaign struct {
- Id string
- Name string
- CreatedAt string
- DeliveredCount int
- ClickedCount int
- OpenedCount int... | Added JSON-names and did gofmt. | mailgun_mailgun-go | train | go |
e89761368bd8722e6cbc72964b10773c6bbc4d0c | diff --git a/src/Entity/Base.php b/src/Entity/Base.php
index <HASH>..<HASH> 100644
--- a/src/Entity/Base.php
+++ b/src/Entity/Base.php
@@ -10,6 +10,7 @@ abstract class Base
*/
protected $apiRequest = null;
protected $playerInformation = null;
+ protected $parameters = null;
public function s... | get ressource method for player + method for get parametters | Game-scan_WoW | train | php,php |
6b151c3159d120ab9e8a04e8b5c883bc7129ae52 | diff --git a/splunklib/searchcommands/internals.py b/splunklib/searchcommands/internals.py
index <HASH>..<HASH> 100644
--- a/splunklib/searchcommands/internals.py
+++ b/splunklib/searchcommands/internals.py
@@ -580,7 +580,7 @@ class RecordWriter(object):
value = str(value.real)
... | Pull request for DVPL-<I> to treat the integer and long variables same
in both python versions | splunk_splunk-sdk-python | train | py |
0b902838c0f8eae52570d6b1b84411a93c0b02f2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,9 @@ setup(
license='MIT',
packages=find_packages(),
install_requires=['nose>=1.3', 'six'],
+ dependency_links=[
+ 'https://github.com/nose-devs/nose/tarball/c0f777e488337dc7dde933453799986c4... | Hit github for Nose for now, boo | bitprophet_spec | train | py |
7396f47a7fdfaf65142fdd736c56b4060806235e | diff --git a/src/File/Path/Basepath/DefaultTrait.php b/src/File/Path/Basepath/DefaultTrait.php
index <HASH>..<HASH> 100644
--- a/src/File/Path/Basepath/DefaultTrait.php
+++ b/src/File/Path/Basepath/DefaultTrait.php
@@ -30,6 +30,7 @@ trait DefaultTrait
$replacements = [
'{primaryKey}' => $this->ent... | Add {table} placeholder for path. | FriendsOfCake_cakephp-upload | train | php |
7bd8549df705507b3b8d8a70e160779a33aef28f | diff --git a/src/API/AbstractAPIClient.php b/src/API/AbstractAPIClient.php
index <HASH>..<HASH> 100644
--- a/src/API/AbstractAPIClient.php
+++ b/src/API/AbstractAPIClient.php
@@ -58,9 +58,9 @@ abstract class AbstractAPIClient implements APIInterface
$method = $request->getMethod();
// Since ... | PI-<I> fixed method for Guzzle setBody | cloudflare_cloudflare-plugin-backend | train | php |
7342bd9f7523efe29d7fe91ca326938f92e458bb | diff --git a/ui/plugins/annotations/controller.js b/ui/plugins/annotations/controller.js
index <HASH>..<HASH> 100644
--- a/ui/plugins/annotations/controller.js
+++ b/ui/plugins/annotations/controller.js
@@ -21,8 +21,7 @@ treeherder.controller('AnnotationsPluginCtrl', [
}, true);
$scope.deleteClassif... | Bug <I> - Don't re-create bugjobmap
and classification objects in the annotations plugin controller | mozilla_treeherder | train | js |
7274d54058c618a956a60f97c582e2e9bb11a34f | diff --git a/src/Strategies/Settings.php b/src/Strategies/Settings.php
index <HASH>..<HASH> 100644
--- a/src/Strategies/Settings.php
+++ b/src/Strategies/Settings.php
@@ -45,13 +45,13 @@ class Settings implements SettingsStrategyInterface
const KEY_SERVER_ORIGIN = 0;
/** Settings key */
- const KEY_SERVE... | Close #<I>
make keys compatible with keys from parse_url | neomerx_cors-psr7 | train | php |
a7b9a27c585298bb4744f65d69c1f02b6db24cfa | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -57,7 +57,7 @@ class Client {
// Shared functions
- listBuckets(data) {
+ listBuckets() {
return this.aws.request('S3', 'listBuckets', {}, this.stage, this.region).bind(this);
}
@@ -107,18 +107,19 @@ class C... | Adds a delay just incase | fernando-mc_serverless-finch | train | js |
4b6804eaabe26516069ca16063b9bef45107d9f3 | diff --git a/src/Extensions/GroupSubsites.php b/src/Extensions/GroupSubsites.php
index <HASH>..<HASH> 100644
--- a/src/Extensions/GroupSubsites.php
+++ b/src/Extensions/GroupSubsites.php
@@ -47,7 +47,7 @@ class GroupSubsites extends DataExtension implements PermissionProvider
}
// Migration for Group.... | [SS-<I>-<I>] Group table name is escaped to prevent possibility of SQL injection | silverstripe_silverstripe-subsites | train | php |
41dfb46462bf25f329c56032dbfdfece39eafef6 | diff --git a/javascript/node/selenium-webdriver/lib/webdriver.js b/javascript/node/selenium-webdriver/lib/webdriver.js
index <HASH>..<HASH> 100644
--- a/javascript/node/selenium-webdriver/lib/webdriver.js
+++ b/javascript/node/selenium-webdriver/lib/webdriver.js
@@ -1229,6 +1229,19 @@ class WebDriver {
if (target ... | [js] Add a check for Grid CDP endpoint | SeleniumHQ_selenium | train | js |
2c5bc3070e622e4bd7a33c1e6e186b2b3b1dfbe8 | diff --git a/realtime/shake_data.py b/realtime/shake_data.py
index <HASH>..<HASH> 100644
--- a/realtime/shake_data.py
+++ b/realtime/shake_data.py
@@ -336,18 +336,19 @@ class ShakeData:
:file:`/tmp/inasafe/realtime/shakemaps-extracted/20131105060809`
- After extraction the complete path will appear ... | Fix last pylint violation. | inasafe_inasafe | train | py |
eec6e1dcf61ccbc91cf70fc94d4050cd52396758 | diff --git a/instant/templates/instant/channels/superuser/client.js b/instant/templates/instant/channels/superuser/client.js
index <HASH>..<HASH> 100644
--- a/instant/templates/instant/channels/superuser/client.js
+++ b/instant/templates/instant/channels/superuser/client.js
@@ -10,6 +10,7 @@ var superuser_callbacks_{% ... | Correction in js superuser channel client | synw_django-instant | train | js |
fecd31dd46b4f790f9c0cfe28eff3909fd0945b5 | diff --git a/lib/ee.js b/lib/ee.js
index <HASH>..<HASH> 100644
--- a/lib/ee.js
+++ b/lib/ee.js
@@ -20,10 +20,8 @@ module.exports = {
var args = slice.call(arguments, 1),
array = this._events[ev];
- array && array.forEach(invokeHandler, this);
-
- function invokeHandler(handler) {
-... | Use `for` instead of `forEach` as it minifies better. | Raynos_eventemitter-light | train | js |
c670274b9f63a12c3b08f5011b54e2bffb4fca46 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -235,6 +235,12 @@ func (c *Client) User() string {
return c.namenode.User
}
+// Name returns the unique name that the Client uses in communication
+// with namenodes and datanodes.
+func (c *Client) Name() string {
+ ... | Allow to get an unique name of the client | colinmarc_hdfs | train | go |
f7473c7f85fa1d1a7fa4dcb4e581ac4fa7c8f541 | diff --git a/modules/adgenerationBidAdapter.js b/modules/adgenerationBidAdapter.js
index <HASH>..<HASH> 100644
--- a/modules/adgenerationBidAdapter.js
+++ b/modules/adgenerationBidAdapter.js
@@ -75,11 +75,6 @@ export const spec = {
return [];
}
const bidRequest = bidRequests.bidRequest;
- if (!bidRe... | update AdGenetation adapter (<I> squashed commit) (#<I>)
Squashed commits:
[1b<I>ca0] update AdGenetation adapter | prebid_Prebid.js | train | js |
0c62773c4664fc51d36d9375be94481439865332 | diff --git a/tests/unit/AbstractClientTest.php b/tests/unit/AbstractClientTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/AbstractClientTest.php
+++ b/tests/unit/AbstractClientTest.php
@@ -162,7 +162,7 @@ class ClientTest extends Unit
$client->send($request2);
$transport = $this->createMock(Tr... | modify the test to be ok with the new commit definition. | flash-global_api-client | train | php |
5b6a66599e7a686559ee59d3b91eb5867e2a8cce | diff --git a/api/app.go b/api/app.go
index <HASH>..<HASH> 100644
--- a/api/app.go
+++ b/api/app.go
@@ -1638,6 +1638,15 @@ func forceDeleteLock(w http.ResponseWriter, r *http.Request, t auth.Token) error
return nil
}
+// title: register unit
+// path: /apps/{app}/units/register
+// method: POST
+// consume: applica... | api/apps: add comments to describe register unit | tsuru_tsuru | train | go |
71ee033078e56115d0325b75dd2289943f2fcf16 | diff --git a/djstripe/models.py b/djstripe/models.py
index <HASH>..<HASH> 100644
--- a/djstripe/models.py
+++ b/djstripe/models.py
@@ -283,15 +283,13 @@ Use ``Customer.sources`` and ``Customer.subscriptions`` to access them.
In this case, use ``Customer.subscriptions`` instead.
"""
- ... | Exclude canceled subscriptions from Customer.subscriptions | dj-stripe_dj-stripe | train | py |
72fe6164be33d98f28497488bb6773516ff1fde8 | diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js
index <HASH>..<HASH> 100644
--- a/jquery.multiple.select.js
+++ b/jquery.multiple.select.js
@@ -48,10 +48,6 @@
this.selectAllName = 'name="selectAll' + name + '"';
this.selectGroupName = 'name="selectGroup' + name + '"';
this.... | Fix #<I>: call open function after init when isOpen and filter options are set to true. | wenzhixin_multiple-select | train | js |
92295999e2a0e181d861bd843eb622b55a02dc23 | diff --git a/test/connection_test.py b/test/connection_test.py
index <HASH>..<HASH> 100755
--- a/test/connection_test.py
+++ b/test/connection_test.py
@@ -61,7 +61,7 @@ class BaseTest(unittest.TestCase):
json.dump(klass.dbconfig, f)
@classmethod
- def setUpClass(klass):
+ def _setUpClass(klass):
os.m... | Make connection_test.py work in both <I> and <I>. | vitessio_vitess | train | py |
742154be9a26e849f02d296073c077e0a7c23828 | diff --git a/association.go b/association.go
index <HASH>..<HASH> 100644
--- a/association.go
+++ b/association.go
@@ -267,15 +267,16 @@ func (association *Association) Count() int {
query = scope.DB()
)
- if relationship.Kind == "many_to_many" {
+ switch relationship.Kind {
+ case "many_to_many":
quer... | rewrite if-else chain as switch statement (#<I>)
From effective Go: <URL> | jinzhu_gorm | train | go |
e509a733a4a0b8821512be1222e4945d5e27f51b | diff --git a/packages/blueprint/lib/application.js b/packages/blueprint/lib/application.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint/lib/application.js
+++ b/packages/blueprint/lib/application.js
@@ -145,13 +145,15 @@ module.exports = BO.extend (Events, {
* Destroy the application.
*/
destroy () {... | The application failed to stop at the end of testing | onehilltech_blueprint | train | js |
4df699b383403e48e9446322167b083194211e48 | diff --git a/lib/active_record/connection_adapters/oracle_enhanced_schema_statements.rb b/lib/active_record/connection_adapters/oracle_enhanced_schema_statements.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/connection_adapters/oracle_enhanced_schema_statements.rb
+++ b/lib/active_record/connection_adapters/or... | Use the index name explicitly provided in a migration when reverting
see rails/rails#<I> | rsim_oracle-enhanced | train | rb |
2ce819df062792b2c3919d027ed09286de2ce409 | diff --git a/modules/admin/resources/js/controllers.js b/modules/admin/resources/js/controllers.js
index <HASH>..<HASH> 100644
--- a/modules/admin/resources/js/controllers.js
+++ b/modules/admin/resources/js/controllers.js
@@ -389,11 +389,15 @@
});
};
+ $scope.$on('topMenuClick', function(e) {
+ $scope.cu... | fixed bug where activ class on dashboard still appears closing #<I> | luyadev_luya | train | js |
c289a4d54635b6b1cb54c78d85ca9fc51242c031 | diff --git a/yarl/__init__.py b/yarl/__init__.py
index <HASH>..<HASH> 100644
--- a/yarl/__init__.py
+++ b/yarl/__init__.py
@@ -10,7 +10,7 @@ import idna
from .quoting import _Quoter, _Unquoter
-__version__ = '1.2.5a2'
+__version__ = '1.2.5a3'
__all__ = ('URL',) | Bump to <I>a3 | aio-libs_yarl | train | py |
38904353afcaff507e87711b7b239f0a00c633e1 | diff --git a/wafer/settings.py b/wafer/settings.py
index <HASH>..<HASH> 100644
--- a/wafer/settings.py
+++ b/wafer/settings.py
@@ -147,9 +147,9 @@ INSTALLED_APPS = (
'wafer.sponsors',
'wafer.pages',
'wafer.tickets',
+ 'wafer.compare',
# Django isn't finding the overridden templates
'registra... | Keep all the wafer apps together in the settings file | CTPUG_wafer | train | py |
6a8713ba2072f7f0684e1e09fb560a3568198c00 | diff --git a/src/cli.js b/src/cli.js
index <HASH>..<HASH> 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -37,17 +37,13 @@ commander
/^(trace|debug|info|warn|error|silent)$/i,
'warn')
.action((host, file, options) => {
- const { port, username, password, loglevel, command } = options;
-
if (!host) {
... | Fix setting correct cli log level
Setting of log level has been moved into `connect`, so whatever we do outside of
it will be reverted by connect. Which is why we also have to pass along all
options to `connect`. | cisco-ce_jsxapi | train | js |
02b653bd42bef7854d0175f14f3747829fdbc8b2 | diff --git a/cloudinit/cloudinit_test.go b/cloudinit/cloudinit_test.go
index <HASH>..<HASH> 100644
--- a/cloudinit/cloudinit_test.go
+++ b/cloudinit/cloudinit_test.go
@@ -220,9 +220,7 @@ var ctests = []struct {
},
{
"AddFile",
- "runcmd:\n" +
- "- install -m 644 /dev/null '/etc/apt/apt.conf.d/99proxy'\n" +
- ... | - Switch expected to a literla string. | juju_juju | train | go |
98e815f7d23114b6bc9e54e309f65efe1cc8d073 | diff --git a/DependencyInjection/Compiler/EnvironmentVariablesPass.php b/DependencyInjection/Compiler/EnvironmentVariablesPass.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Compiler/EnvironmentVariablesPass.php
+++ b/DependencyInjection/Compiler/EnvironmentVariablesPass.php
@@ -13,6 +13,7 @@ namespace ONGR\... | Use server value from request instead of super global variable | ongr-io_SettingsBundle | train | php |
1474db937c44f4adcabdc182e222d1554cf1c434 | diff --git a/lib/excon/socket.rb b/lib/excon/socket.rb
index <HASH>..<HASH> 100644
--- a/lib/excon/socket.rb
+++ b/lib/excon/socket.rb
@@ -36,10 +36,20 @@ module Excon
end
end
- def read(max_length)
+ def read(max_length=nil)
begin
- until @read_buffer.length >= max_length
- @... | fix nonblock stuff to work properly in read until socket closes case | excon_excon | train | rb |
78e01c4834552cb1826178866be983c973fbbd91 | diff --git a/lib/pubcontrolclient.js b/lib/pubcontrolclient.js
index <HASH>..<HASH> 100644
--- a/lib/pubcontrolclient.js
+++ b/lib/pubcontrolclient.js
@@ -9,7 +9,7 @@
* Licensed under the MIT License, see file COPYING for details.
*/
-var fetch = (global.fetch !== undefined) ? global.fetch : require('node-fetch')... | node-fetch workaround for webpack | fanout_node-pubcontrol | train | js |
07f2df8b49f0b05338223673f9d32a8db7680f4d | diff --git a/src/toil/test/docs/scriptsTest.py b/src/toil/test/docs/scriptsTest.py
index <HASH>..<HASH> 100644
--- a/src/toil/test/docs/scriptsTest.py
+++ b/src/toil/test/docs/scriptsTest.py
@@ -127,9 +127,9 @@ class ToilDocumentationTest(ToilTest):
def testArguments(self):
self.checkExpectedOut("tutorial... | Comment out docker test and investigate on jenkins later. | DataBiosphere_toil | train | py |
bb31e62ecccba6bac05ccb4a5be9599cf2340385 | diff --git a/lib/turbine/vertex.rb b/lib/turbine/vertex.rb
index <HASH>..<HASH> 100644
--- a/lib/turbine/vertex.rb
+++ b/lib/turbine/vertex.rb
@@ -3,6 +3,9 @@ module Turbine
# formed: a directed graph consists of a set of vertices and a set of arcs
# (ordered pairs of vertices).
class Vertex
+ # Public: Ret... | Vertex.new must be provided a key. | quintel_turbine | train | rb,rb |
d19c496f2872b178cb76de14b7590d633092e53b | diff --git a/model/execution/implementation/KvLtiDeliveryExecutionService.php b/model/execution/implementation/KvLtiDeliveryExecutionService.php
index <HASH>..<HASH> 100644
--- a/model/execution/implementation/KvLtiDeliveryExecutionService.php
+++ b/model/execution/implementation/KvLtiDeliveryExecutionService.php
@@ -1... | check if links of execution are not empty | oat-sa_extension-tao-ltideliveryprovider | train | php |
d86d28054a73a8584b708401c205b7c702e1e81a | diff --git a/gettext.go b/gettext.go
index <HASH>..<HASH> 100644
--- a/gettext.go
+++ b/gettext.go
@@ -42,9 +42,9 @@ var (
// LcAll is for all of the locale.
LcAll = uint(C.LC_ALL)
- // LcColate is for regular expression matching (it determines the meaning of
+ // LcCollate is for regular expression matching (it ... | Adding old LC_* style constants for backward compatibility. | gosexy_gettext | train | go |
35e025fec400786330ddc89ae4352dba0e7026d4 | diff --git a/bucky/cfg.py b/bucky/cfg.py
index <HASH>..<HASH> 100644
--- a/bucky/cfg.py
+++ b/bucky/cfg.py
@@ -30,7 +30,9 @@ graphite_pickle_buffer_size = 500
full_trace = False
name_prefix = None
+name_prefix_parts = None
name_postfix = None
+name_postfix_parts = None
name_replace_char = '_'
name_strip_duplicat... | Allow prefix and postfix to have multiple parts. | trbs_bucky | train | py,py |
81308a21b3f2ac4c40a8c714b9111806e50e9c2a | diff --git a/cache2k-config/src/test/java/org/cache2k/extra/config/test/IntegrationTest.java b/cache2k-config/src/test/java/org/cache2k/extra/config/test/IntegrationTest.java
index <HASH>..<HASH> 100644
--- a/cache2k-config/src/test/java/org/cache2k/extra/config/test/IntegrationTest.java
+++ b/cache2k-config/src/test/j... | ignore test again, need to fix module configuration first | cache2k_cache2k | train | java |
b344d158dcb02e7dd8e3f6d1dfc8f3363e014704 | diff --git a/lib/happymapper.rb b/lib/happymapper.rb
index <HASH>..<HASH> 100644
--- a/lib/happymapper.rb
+++ b/lib/happymapper.rb
@@ -1,5 +1,3 @@
-require 'rubygems'
-gem 'libxml-ruby', '=1.1.3'
require 'date'
require 'time'
require 'xml'
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 1... | Removing rubygems. | jnunemaker_happymapper | train | rb,rb |
20c594066b48b9b17b167419a78063015467a3c5 | diff --git a/test/e2e/cluster_dns.go b/test/e2e/cluster_dns.go
index <HASH>..<HASH> 100644
--- a/test/e2e/cluster_dns.go
+++ b/test/e2e/cluster_dns.go
@@ -37,6 +37,11 @@ func TestClusterDNS(c *client.Client) bool {
return true
}
+ if testContext.provider == "vagrant" {
+ glog.Infof("Skipping test which is broke... | Disable a couple of e2e tests for vagrant for now.
The core issue is that vagrant lacks connectivity from master to containers. | kubernetes_kubernetes | train | go,go |
864f312fa95a1fd285d6382200c48a43bbb4442a | diff --git a/samoa-api/src/main/java/com/yahoo/labs/samoa/learners/classifiers/ensemble/Bagging.java b/samoa-api/src/main/java/com/yahoo/labs/samoa/learners/classifiers/ensemble/Bagging.java
index <HASH>..<HASH> 100644
--- a/samoa-api/src/main/java/com/yahoo/labs/samoa/learners/classifiers/ensemble/Bagging.java
+++ b/s... | Updated Bagging deafault base classifier option | YahooArchive_samoa | train | java |
264cdd367675b8ac0bfbc3f21eb53625fd5bf53c | diff --git a/src/ContainerBuilder.php b/src/ContainerBuilder.php
index <HASH>..<HASH> 100644
--- a/src/ContainerBuilder.php
+++ b/src/ContainerBuilder.php
@@ -492,7 +492,9 @@ class ContainerBuilder {
// process services
foreach ($config["services"] as $key => $definition) {
// check if th... | Only alias a key if it is not already aliased | lexide_syringe | train | php |
1499d755b62a7a57ac71356b3cc0999349504da2 | diff --git a/backbone.js b/backbone.js
index <HASH>..<HASH> 100644
--- a/backbone.js
+++ b/backbone.js
@@ -619,7 +619,7 @@
if (ev == 'destroy') {
this._remove(model, options);
}
- if (ev === 'change:' + model.idAttribute) {
+ if (model && ev === 'change:' + model.idAttribute) {
... | Check for model before accessing its properties, fixes #<I> | jashkenas_backbone | train | js |
c458424f2ea7f81a175a294c1d329d744911c007 | diff --git a/trump/orm.py b/trump/orm.py
index <HASH>..<HASH> 100644
--- a/trump/orm.py
+++ b/trump/orm.py
@@ -538,20 +538,25 @@ class Symbol(Base, ReprMixin):
def __init__(self, name, description=None, units=None,
agg_method="PRIORITY_FILL",
indexname="UNNAMED", indeximp="Dat... | Change Symbol docstring to numpy style | Equitable_trump | train | py |
3e3ddb9348ac7cdaefcde33db18620da6e2ebeb5 | diff --git a/lib/inject.js b/lib/inject.js
index <HASH>..<HASH> 100644
--- a/lib/inject.js
+++ b/lib/inject.js
@@ -54,14 +54,11 @@ function injectAllRequirements() {
if (!get(f, 'module')) {
set(f, ['module'], '.');
}
- if (!doneModules.includes(f.module)) {
- injectRequirem... | Include requirements into every package, even when it's in the root | UnitedIncome_serverless-python-requirements | train | js |
fd009b436532c939930051b7778f9d22ebd28b1c | diff --git a/src/renderable/sprite.js b/src/renderable/sprite.js
index <HASH>..<HASH> 100644
--- a/src/renderable/sprite.js
+++ b/src/renderable/sprite.js
@@ -21,7 +21,7 @@
* @param {Number} [settings.rotation] Initial rotation angle in radians.
* @param {Boolean} [settings.flipX] Initial flip for X-axis.
... | [documentation] better highlight the default value for the anchor point in the `me.Sprite` constructor | melonjs_melonJS | train | js |
7090db0c446b0c4c0daa84c9dfa5e62642729475 | diff --git a/src/Themosis/Route/RouteServiceProvider.php b/src/Themosis/Route/RouteServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Themosis/Route/RouteServiceProvider.php
+++ b/src/Themosis/Route/RouteServiceProvider.php
@@ -2,21 +2,14 @@
namespace Themosis\Route;
-use Illuminate\Events\Dispatcher;
-use ... | Themosis route service provider extends the illuminate routing provider. | themosis_framework | train | php |
df5bb5e1219096d78c346bf48ba83421c8b5ef65 | diff --git a/src/Api/Issues.php b/src/Api/Issues.php
index <HASH>..<HASH> 100644
--- a/src/Api/Issues.php
+++ b/src/Api/Issues.php
@@ -97,7 +97,7 @@ class Issues extends AbstractApi
*
* @return mixed
*/
- public function reorder($project_id, $issue_iid, array $params)
+ public function reorder($... | Added missing scalar type | m4tthumphrey_php-gitlab-api | train | php |
94db5b306e3a9a716aa67edcce8b6f4747d2be3c | diff --git a/anyvcs/git.py b/anyvcs/git.py
index <HASH>..<HASH> 100644
--- a/anyvcs/git.py
+++ b/anyvcs/git.py
@@ -146,11 +146,11 @@ class GitRepo(VCSRepo):
cmd.append('--no-merges')
single = False
if revrange is None:
- pass
+ cmd.append('--all')
elif isinstance(revrange, tuple):
... | fix bug in GitRepo.log when revrange=None or (None,None) | ScottDuckworth_python-anyvcs | train | py |
24ece5cbc0b2953fe8228d9a723e05c242507677 | diff --git a/sacred/initialize.py b/sacred/initialize.py
index <HASH>..<HASH> 100755
--- a/sacred/initialize.py
+++ b/sacred/initialize.py
@@ -240,8 +240,18 @@ def create_scaffolding(experiment, sorted_ingredients):
named_configs=experiment.named_configs,
config_hooks=experiment.config_hooks,
... | create_scaffolding raise exception when pathes aren't unique | IDSIA_sacred | train | py |
fb19e42ceef19e858b2a3ab946124489d4e61351 | diff --git a/spec/wordpress/api_spec.rb b/spec/wordpress/api_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/wordpress/api_spec.rb
+++ b/spec/wordpress/api_spec.rb
@@ -37,7 +37,9 @@ describe Wordpress::API do
it "should raise error with invalid parameter" do
expect {
- obj = client.send(method... | Improve the argument format in spec. | dtaniwaki_wordpress-client | train | rb |
c65bf5bbc6f8829849b58fbdd18704672b20b51b | diff --git a/core/src/elements/ons-fab.js b/core/src/elements/ons-fab.js
index <HASH>..<HASH> 100755
--- a/core/src/elements/ons-fab.js
+++ b/core/src/elements/ons-fab.js
@@ -72,6 +72,13 @@ export default class FabElement extends BaseElement {
*/
init() {
+ // The following statements can be executed before... | fix(ons-fab): Execute this.show() and some statements before contentReady. | OnsenUI_OnsenUI | train | js |
47493a03577b500615cb9757d9581e4908ff10e5 | diff --git a/Pdf/Engine/WkHtmlToPdfEngine.php b/Pdf/Engine/WkHtmlToPdfEngine.php
index <HASH>..<HASH> 100644
--- a/Pdf/Engine/WkHtmlToPdfEngine.php
+++ b/Pdf/Engine/WkHtmlToPdfEngine.php
@@ -26,14 +26,6 @@ class WkHtmlToPdfEngine extends AbstractPdfEngine {
* @return string raw pdf data
*/
public function output(... | move binary setting to _getCommand | FriendsOfCake_CakePdf | train | php |
45724d362c1bb9ca10222abb1a4c68a7e716b3e7 | diff --git a/widgets/RelTabs.php b/widgets/RelTabs.php
index <HASH>..<HASH> 100755
--- a/widgets/RelTabs.php
+++ b/widgets/RelTabs.php
@@ -58,14 +58,23 @@ class RelTabs extends \dlds\rels\components\Widget {
*/
protected function renderViews()
{
- $widget = $this->relViewClass;
+ if (empty... | RelTabs updated - added warning when no related model exist | dlds_yii2-rels | train | php |
1e7e6275bd4140f1f84e8882696d15e31871bebd | diff --git a/pyocd/commands/commands.py b/pyocd/commands/commands.py
index <HASH>..<HASH> 100755
--- a/pyocd/commands/commands.py
+++ b/pyocd/commands/commands.py
@@ -1561,8 +1561,7 @@ class HelpCommand(CommandBase):
}
HELP_ADDENDUM = """
-All register names are also available as commands that print... | commands: help: fix addendum regarding register name commands. | mbedmicro_pyOCD | train | py |
e8f7743c85e9267cdac838a81d6fcf20353a5764 | diff --git a/sprd/manager/ProductManager.js b/sprd/manager/ProductManager.js
index <HASH>..<HASH> 100644
--- a/sprd/manager/ProductManager.js
+++ b/sprd/manager/ProductManager.js
@@ -5,6 +5,8 @@ define(["sprd/manager/IProductManager", "underscore", "flow", "sprd/util/Product
var PREVENT_VALIDATION_OPTIONS = {
... | DEV-<I> - First Text to big for small product types | spreadshirt_rAppid.js-sprd | train | js |
dfb5165d2c88e62d313c0806319d9b6961997c32 | diff --git a/sonar-server/src/main/webapp/javascripts/navigator/filters/rule-filters.js b/sonar-server/src/main/webapp/javascripts/navigator/filters/rule-filters.js
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/webapp/javascripts/navigator/filters/rule-filters.js
+++ b/sonar-server/src/main/webapp/javascripts... | SONAR-<I> Little change to support rule language after page reload | SonarSource_sonarqube | train | js |
27a7be4bf78424a74327e26180b55209a67d93d1 | diff --git a/test/test-suite.js b/test/test-suite.js
index <HASH>..<HASH> 100644
--- a/test/test-suite.js
+++ b/test/test-suite.js
@@ -1264,15 +1264,22 @@ self
{
JScrewIt = arg || global.JScrewIt;
featureSet = Object.create(null);
- EMU_FEATURES.forEach(
- function (feature) { f... | Minor fix in test-suite.js | fasttime_JScrewIt | train | js |
952ae2d11b03419b1ce3398b8a25478e36f0b43c | diff --git a/index.es6.js b/index.es6.js
index <HASH>..<HASH> 100644
--- a/index.es6.js
+++ b/index.es6.js
@@ -50,11 +50,11 @@ function shim(iter, root) {
value: function () {
let result = iter.nextNode();
_pointerBeforeReferenceNode = false;
- if (result !== null) {
- _referenc... | Positive assertions and correct code are good | tilgovi_dom-node-iterator | train | js |
1dea2ba7060777eabca4959312736b1b3e1eae97 | diff --git a/library/Garp/Model/Helper.php b/library/Garp/Model/Helper.php
index <HASH>..<HASH> 100755
--- a/library/Garp/Model/Helper.php
+++ b/library/Garp/Model/Helper.php
@@ -11,6 +11,11 @@
*/
abstract class Garp_Model_Helper extends Garp_Util_ObserverAbstract {
/**
+ * Configuration
+ */
+ protected $_con... | Added Dateable behavior for to/from dates with themes. | grrr-amsterdam_garp3 | train | php |
ee82b48efcd4c9a18bbeeb5862cd67d9b8b0e2bd | diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php
index <HASH>..<HASH> 100644
--- a/mod/lesson/locallib.php
+++ b/mod/lesson/locallib.php
@@ -2756,7 +2756,7 @@ class lesson extends lesson_base {
$result->newpageid = $page->nextpageid;
}
} else {
- ... | MDL-<I> lesson: Replace old var reference by self | moodle_moodle | train | php |
9221338890dc9e7361509fbfc03d14bf94616ec1 | diff --git a/lib/lotus/utils/escape.rb b/lib/lotus/utils/escape.rb
index <HASH>..<HASH> 100644
--- a/lib/lotus/utils/escape.rb
+++ b/lib/lotus/utils/escape.rb
@@ -528,9 +528,10 @@ module Lotus
# @since 0.4.0
# @api private
def self.encode(input)
- input.to_s.encode(Encoding::UTF_8)
+ ... | Ensure immutability for encoded strings which failed the conversion Ref #<I> | hanami_utils | train | rb,rb |
fe584796965ce1920d28627ffcc4a020e1c0cb0b | diff --git a/spec/custom_field_spec.rb b/spec/custom_field_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/custom_field_spec.rb
+++ b/spec/custom_field_spec.rb
@@ -10,7 +10,7 @@ module Trello
before do
allow(client)
.to receive(:get)
- .with('customFields/abcdef123456789123456789', {})
+ ... | Updated custom field creation test and added deletion test | jeremytregunna_ruby-trello | train | rb |
9a499f3fe491102300fc1003f00e958916d7bba4 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -59,6 +59,8 @@ module.exports = function (opts, onConnection) {
wsServer.close()
return emitter
}
+
+ emitter.address = server.address.bind(server)
return emitter
} | expose .address from underlying server | pull-stream_pull-ws | train | js |
e231af8d2081125fb8c4cfa4c17ad857669177c4 | diff --git a/lib/rnes/ppu.rb b/lib/rnes/ppu.rb
index <HASH>..<HASH> 100644
--- a/lib/rnes/ppu.rb
+++ b/lib/rnes/ppu.rb
@@ -82,6 +82,8 @@ module Rnes
case address
when 0x0002
registers.status
+ when 0x0004
+ read_from_sprite_ram(@sprite_ram_address)
when 0x0007
read_fro... | Implement reading OAM data from PPU $<I> | r7kamura_rnes | train | rb |
e296a4911fe8811fd557f523af5e7d1abf52dac6 | diff --git a/spyderlib/widgets/dicteditorutils.py b/spyderlib/widgets/dicteditorutils.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/dicteditorutils.py
+++ b/spyderlib/widgets/dicteditorutils.py
@@ -186,7 +186,7 @@ def value_to_display(value, truncate=False, trunc_len=80, minmax=False):
return '%s Mod... | Variable Explorer: Fix another freeze when creating DataFrames on PY 2
- This is a regression introduced when trying to fix issue #<I> | spyder-ide_spyder | train | py |
166057f84c6b68b810565b30913d5eaa9e94d528 | diff --git a/abilian/services/audit/service.py b/abilian/services/audit/service.py
index <HASH>..<HASH> 100644
--- a/abilian/services/audit/service.py
+++ b/abilian/services/audit/service.py
@@ -48,6 +48,9 @@ class AuditService(Service):
Service.start(self)
self.register_classes()
+ def is_auditable(self, ... | audit: added method to determine if an item is auditable (factorization) | abilian_abilian-core | train | py |
d68842d74778ca3bd994f775e167837be25944e0 | diff --git a/minio/thread_pool.py b/minio/thread_pool.py
index <HASH>..<HASH> 100644
--- a/minio/thread_pool.py
+++ b/minio/thread_pool.py
@@ -45,7 +45,7 @@ class Worker(Thread):
""" Continously receive tasks and execute them """
while True:
task = self.tasks_queue.get()
- if t... | fix formatting as per pep8 in thread_pool.py (#<I>) | minio_minio-py | train | py |
78eea4a27a131f0fa82d8831dffb0f500a9e5d01 | diff --git a/src/command/KeyBindingManager.js b/src/command/KeyBindingManager.js
index <HASH>..<HASH> 100644
--- a/src/command/KeyBindingManager.js
+++ b/src/command/KeyBindingManager.js
@@ -469,8 +469,11 @@ define(function (require, exports, module) {
*/
function handleKey(key) {
if (_enabled && _k... | be smarter about key event propagation | adobe_brackets | train | js |
22bfc8ccad309abb0181531aea684f9039a35a1f | diff --git a/diego/lifecycle_test.go b/diego/lifecycle_test.go
index <HASH>..<HASH> 100644
--- a/diego/lifecycle_test.go
+++ b/diego/lifecycle_test.go
@@ -94,4 +94,21 @@ var _ = Describe("Application Lifecycle", func() {
describeLifeCycle()
})
+
+ Describe("An existing DEA-based app being migrated to Diego", fun... | Add test for switching DEA app to diego | cloudfoundry_cf-acceptance-tests | train | go |
f7a8564c52f39e57c335ca1c522ca64f835f9080 | diff --git a/packages/cli/utils/PluginsContainer.js b/packages/cli/utils/PluginsContainer.js
index <HASH>..<HASH> 100644
--- a/packages/cli/utils/PluginsContainer.js
+++ b/packages/cli/utils/PluginsContainer.js
@@ -35,6 +35,10 @@ module.exports = class PluginsContainer {
return Array.from(plugins);
}
+ ... | fix: add missing findByType method | Webiny_webiny-js | train | js |
ec5938942160135f3ed6c8375c8a35746aa293b3 | diff --git a/src/entity/Entity.Geometry.js b/src/entity/Entity.Geometry.js
index <HASH>..<HASH> 100644
--- a/src/entity/Entity.Geometry.js
+++ b/src/entity/Entity.Geometry.js
@@ -100,7 +100,7 @@ meta.class("Entity.Geometry",
this._updateAnchor();
- if(this.renderer.culling) {
+ if(this.renderer.culling && this... | Culling is now used only for entities that is on main layer only. | tenjou_meta2d | train | js |
78b208c17c0f64d5ccc3563916cb316e4dd4d548 | diff --git a/examples/examples.py b/examples/examples.py
index <HASH>..<HASH> 100644
--- a/examples/examples.py
+++ b/examples/examples.py
@@ -11,13 +11,15 @@ from halo.halo import Halo
spinner = Halo({'text': 'Such Spin', 'spinner': 'dots'})
-
-spinner.start()
-time.sleep(2)
-spinner.text = 'Much Colors'
-spinner... | Example: Now handles KeyboardInterrupts too! | manrajgrover_halo | train | py |
616f16ebdd6fb410fb48c30a64473d23c23dbf4b | diff --git a/bread/__init__.py b/bread/__init__.py
index <HASH>..<HASH> 100644
--- a/bread/__init__.py
+++ b/bread/__init__.py
@@ -1,5 +1,5 @@
__title__ = 'bread'
-__version__ = '2.0.0'
+__version__ = '2.1.0'
__author__ = 'Alex Rasmussen'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015 Alex Rasmussen'
diff --gi... | Bumping version to <I> | alexras_bread | train | py,py,py |
4993d5fe00cfc0e4dd59d2ec7249898b1f8cc917 | diff --git a/lib/dml/tests/dml_test.php b/lib/dml/tests/dml_test.php
index <HASH>..<HASH> 100644
--- a/lib/dml/tests/dml_test.php
+++ b/lib/dml/tests/dml_test.php
@@ -4176,6 +4176,7 @@ class dml_testcase extends database_driver_testcase {
$t->allow_commit();
$j++;
}
+ ... | MDL-<I> add missing rs close
Thanks Eloy! | moodle_moodle | 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.