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 |
|---|---|---|---|---|---|
6bf0225aecaab7db38088deb14d3eff82def697f | diff --git a/settings.js b/settings.js
index <HASH>..<HASH> 100644
--- a/settings.js
+++ b/settings.js
@@ -73,12 +73,12 @@ var settings = {
},
updates: {
"2b04:d006": {
- SystemFirmwareOne: "system-part1-0.4.3-photon.bin",
- SystemFirmwareTwo: "system-part2-0.4.3-photon.bin"
+ SystemFirmwareOne: "system-pa... | System firmware updates now at <I>-rc<I> | particle-iot_particle-cli | train | js |
0ef2324f0bdd2fb524b0e19973c2b1a093a5afc5 | diff --git a/xmlChart.go b/xmlChart.go
index <HASH>..<HASH> 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -253,7 +253,7 @@ type aLn struct {
Algn string `xml:"algn,attr,omitempty"`
Cap string `xml:"cap,attr,omitempty"`
Cmpd string `xml:"cmpd,attr,omitempty"`
- W int ... | fix unknown option in JSON struct tag | 360EntSecGroup-Skylar_excelize | train | go |
068a775db2d4910828706ff2c0af32783d006d2b | diff --git a/app/controllers/UsersController.java b/app/controllers/UsersController.java
index <HASH>..<HASH> 100644
--- a/app/controllers/UsersController.java
+++ b/app/controllers/UsersController.java
@@ -107,6 +107,9 @@ public class UsersController extends AuthenticatedController {
}
public Result newUse... | Block reader users access to users forms
Readers users will now only be available of seeing their own edit form.
Fixes #<I> | Graylog2_graylog2-server | train | java |
4a4968128a89cc323efa1621c5e7f49d9eb45c04 | diff --git a/rb/lib/selenium/webdriver/common/service.rb b/rb/lib/selenium/webdriver/common/service.rb
index <HASH>..<HASH> 100644
--- a/rb/lib/selenium/webdriver/common/service.rb
+++ b/rb/lib/selenium/webdriver/common/service.rb
@@ -135,12 +135,12 @@ module Selenium
end
def connect_to_server
- ... | Revert using HTTP default client for service shutdown
It doesn't play nicely with IEDriverServer which responds with text/html
content-type, while client only supports application/json
Basically reverts <I> while ensuring that default headers are used
so that User-Agent is set properly | SeleniumHQ_selenium | train | rb |
af822204dcdc818b2882b2832e522b9341accf0e | diff --git a/spec/point_spec.rb b/spec/point_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/point_spec.rb
+++ b/spec/point_spec.rb
@@ -2,11 +2,25 @@ require 'spec_helper'
describe GosuEnhanced::Point do
describe '#initialize' do
- it 'should work with two values' do
+ it 'should work with two positive value... | Updated Point spec for negative initialization | JulianNicholls_gosu_enhanced-gem | train | rb |
201e7fcdc438cb7cb4890ae74962419056a43571 | diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -155,7 +155,7 @@ module.exports = (function () {
});
return;
}
- next(err, me.config.createCustomIndex);
+ ... | fixed a bug that prevented the adapter from initializing | appscot_sails-orientdb | train | js |
1a401e82f5ff58f0621e864723dbfdd229bff53c | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -1337,6 +1337,7 @@ func (cl *Client) AddMagnet(uri string) (t Torrent, err error) {
defer cl.mu.Unlock()
t.torrent = cl.torrent(m.InfoHash)
if t.torrent != nil {
+ t.addTrackers([][]string{m.Trackers})
return
}... | Merge trackers by magnet links if the torrent is already present | anacrolix_torrent | train | go |
cc1ee3be927e365793bce5e323d6f92693ee6760 | diff --git a/EventListener/AbstractSerializationListener.php b/EventListener/AbstractSerializationListener.php
index <HASH>..<HASH> 100644
--- a/EventListener/AbstractSerializationListener.php
+++ b/EventListener/AbstractSerializationListener.php
@@ -26,27 +26,27 @@ abstract class AbstractSerializationListener implemen... | Changes in AbstractSerializerBundle | glavweb_GlavwebRestBundle | train | php |
76603126729e1f3b90b625f7192e00d5c1cbd06e | diff --git a/client/server/middleware/unsupported-browser.js b/client/server/middleware/unsupported-browser.js
index <HASH>..<HASH> 100644
--- a/client/server/middleware/unsupported-browser.js
+++ b/client/server/middleware/unsupported-browser.js
@@ -55,7 +55,9 @@ function allowPath( path ) {
? path.replace( new Reg... | Redirect even fewer assets (#<I>) | Automattic_wp-calypso | train | js |
71ecee7a1f5b875bd7eee5786434a96922e240b0 | diff --git a/lib/swag_dev/project/tools/vagrant/composer.rb b/lib/swag_dev/project/tools/vagrant/composer.rb
index <HASH>..<HASH> 100644
--- a/lib/swag_dev/project/tools/vagrant/composer.rb
+++ b/lib/swag_dev/project/tools/vagrant/composer.rb
@@ -2,6 +2,7 @@
require_relative '../vagrant'
require 'pathname'
+require... | vagrant/composer (tools) methods added | SwagDevOps_kamaze-project | train | rb |
1e73bc2044018443574d0412c29e036ee48c5701 | diff --git a/oandapyV20/definitions/trades.py b/oandapyV20/definitions/trades.py
index <HASH>..<HASH> 100644
--- a/oandapyV20/definitions/trades.py
+++ b/oandapyV20/definitions/trades.py
@@ -8,4 +8,23 @@ definitions = {
"CLOSE_WHEN_TRADABLE": "The Trade will be closed as soon as the "
... | Added: TradeStateFilter, TradePL | hootnot_oanda-api-v20 | train | py |
14c128870ebb0d728bf9114f4362f07aa14c3670 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -55,7 +55,7 @@ module.exports = {
+ '[ -f package.json ] && cat package.json | grep -q \'"' + cmd + '"\\s*:\'\n'
// package.json or script can't be found exit
+ '[ $? -ne 0 ] && exit 0\n'... | pass $1 to script if hook is commitmsg | typicode_husky | train | js |
bd7fd0f7554b45c1b06c39de57e9b479b250711f | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -399,7 +399,7 @@ class Libp2p extends EventEmitter {
* Called when libp2p has started and before it returns
* @private
*/
- _onDidStart () {
+ async _onDidStart () {
this._isStarted = true
... | fix: await peer discovery start in libp2p start (#<I>) | libp2p_js-libp2p | train | js |
49022f25438f155e352f21c6ae2ed2c61d6101ae | diff --git a/lib/install/loaders/erb.js b/lib/install/loaders/erb.js
index <HASH>..<HASH> 100644
--- a/lib/install/loaders/erb.js
+++ b/lib/install/loaders/erb.js
@@ -5,7 +5,7 @@ module.exports = {
use: [{
loader: 'rails-erb-loader',
options: {
- runner: 'bin/rails runner'
+ runner: (/^win/.test(... | Prepend bin/rails with ruby executable on Windows in erb-loader (#<I>) | rails_webpacker | train | js |
5ac1e8cf472e8a0cfceef956a50175792e61b50b | diff --git a/epyc/experiment.py b/epyc/experiment.py
index <HASH>..<HASH> 100644
--- a/epyc/experiment.py
+++ b/epyc/experiment.py
@@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with epyc. If not, see <http://www.gnu.org/licenses/gpl.html>.
-#from __future__ import ann... | Removed __future__ | simoninireland_epyc | train | py |
265f962f50fa035c386641a56996fba7fe0917ea | diff --git a/src/extensions/renderer/base/load-listeners.js b/src/extensions/renderer/base/load-listeners.js
index <HASH>..<HASH> 100644
--- a/src/extensions/renderer/base/load-listeners.js
+++ b/src/extensions/renderer/base/load-listeners.js
@@ -1508,7 +1508,7 @@ BRp.load = function(){
var dragDelta... | Dragging nodes via touch gives errors in some cases (extensions etc.) #<I> | cytoscape_cytoscape.js | train | js |
ab2a35f9b1742495f7279954601e82a1badc951f | diff --git a/base64.js b/base64.js
index <HASH>..<HASH> 100644
--- a/base64.js
+++ b/base64.js
@@ -12,7 +12,7 @@
len = string.length,
result = '';
- do {
+ while (i < len) {
a = string.charCodeAt(i++) || 0;
b = string.charCodeAt(i++) || 0;
c = string.charCodeAt(i... | Replaced `do while` loops with standard `while` loops. | davidchambers_Base64.js | train | js |
c2717f753c1eadd42c06d1205f4ee0848da94dcb | diff --git a/src/Core/Controller/AbstractCoreController.php b/src/Core/Controller/AbstractCoreController.php
index <HASH>..<HASH> 100644
--- a/src/Core/Controller/AbstractCoreController.php
+++ b/src/Core/Controller/AbstractCoreController.php
@@ -1,7 +1,15 @@
<?php
+/**
+ * YAWIK
+ *
+ * @filesource
+ * @copyright (c)... | Y<I> Change/Assign Company to Organization in Job offer | yawik_core | train | php |
e225acd179ec57f7b716ac3dd7c37ae4d0d7570f | diff --git a/server/client.go b/server/client.go
index <HASH>..<HASH> 100644
--- a/server/client.go
+++ b/server/client.go
@@ -1031,7 +1031,7 @@ func (c *client) readLoop(pre []byte) {
// Check if the account has mappings and if so set the local readcache flag.
// We check here to make sure any changes such as co... | Fix race accessing c.acc checking for mappings | nats-io_gnatsd | train | go |
30216a58e12d840579e80f5993be5d95ef3f1a4b | diff --git a/Resources/public/js/comments/controllers/portfoliosController.js b/Resources/public/js/comments/controllers/portfoliosController.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/comments/controllers/portfoliosController.js
+++ b/Resources/public/js/comments/controllers/portfoliosController.js
@@ -1... | [PortfolioBundle] Fix duplicate display of comments | claroline_Distribution | train | js |
cfdced2392a971627ef9ca7d96292341f17503d2 | diff --git a/interfaces/python/infomap.py b/interfaces/python/infomap.py
index <HASH>..<HASH> 100644
--- a/interfaces/python/infomap.py
+++ b/interfaces/python/infomap.py
@@ -1896,7 +1896,16 @@ class Infomap(InfomapWrapper):
_, ext = os.path.splitext(filename)
# remove the dot
- writer = "wri... | refactor(python): Map to writer methods inside "write" | mapequation_infomap | train | py |
fa0caab77e1f725442c1981283fddf02b458a88c | diff --git a/lib/Doctrine/DBAL/Schema/Constraint.php b/lib/Doctrine/DBAL/Schema/Constraint.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/DBAL/Schema/Constraint.php
+++ b/lib/Doctrine/DBAL/Schema/Constraint.php
@@ -21,10 +21,12 @@
namespace Doctrine\DBAL\Schema;
+use Doctrine\DBAL\Platforms\AbstractPlatform;
+... | Added a missing method in the Constraint interface | doctrine_dbal | train | php |
1c86f95ae4fdfe417644db6dd2f9e964ac75d246 | diff --git a/lollygag/core/single_site/link_crawler.py b/lollygag/core/single_site/link_crawler.py
index <HASH>..<HASH> 100644
--- a/lollygag/core/single_site/link_crawler.py
+++ b/lollygag/core/single_site/link_crawler.py
@@ -31,7 +31,8 @@ class LinkCrawler(HTMLParser, Crawler):
return HTMLParser.feed(self, d... | Linkcrawler will only search for links in <a> tags | snorrwe_lollygag | train | py |
c9358c4877994462a83f7b2f9c0b2f1e80490843 | diff --git a/src/providers/sh/util/index.js b/src/providers/sh/util/index.js
index <HASH>..<HASH> 100755
--- a/src/providers/sh/util/index.js
+++ b/src/providers/sh/util/index.js
@@ -253,7 +253,7 @@ module.exports = class Now extends EventEmitter {
if (!quiet && type === 'npm' && deployment.nodeVersion) {
i... | Ensure `chalk` is being used properly (#<I>) | zeit_now-cli | train | js |
0f400567a7f5e83d5da35347a4b9fb2684128f1c | diff --git a/couchbase/views/params.py b/couchbase/views/params.py
index <HASH>..<HASH> 100644
--- a/couchbase/views/params.py
+++ b/couchbase/views/params.py
@@ -510,9 +510,9 @@ class Query(object):
Returns the (uri_part, post_data_part) for a long query.
"""
uristr = self._encode(omit_keys=... | PYCBC-<I>, PYCBC-<I>: Don't send invalid JSON in POST when no keys
We might still want to consider what to do in this case, but sending
'None' is certainly wrong :)
Change-Id: I<I>f<I>f<I>cc1f<I>a<I>e<I>ea<I>
Reviewed-on: <URL> | couchbase_couchbase-python-client | train | py |
6862c0a997b453fdfb7da7fcb49021d69123f260 | diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -35,7 +35,7 @@ if platform == 'darwin':
setup(
name = 'cm_api',
- version = '8.0.0', # Compatible with API v8 (CM 5.2)
+ version = '9.0.0', # Compatible with API v9 (CM 5.3)
package... | OPSAPS-<I>. Bump API version to 9 for CM<I>.
Introduced V9 API for CM<I>. So bumping the version to 9 in the python API
too. | cloudera_cm_api | train | py,py |
7a17e9ba793a7ada9ed13fc4556c6d2018f79add | diff --git a/lib/cuke_modeler/example.rb b/lib/cuke_modeler/example.rb
index <HASH>..<HASH> 100644
--- a/lib/cuke_modeler/example.rb
+++ b/lib/cuke_modeler/example.rb
@@ -46,10 +46,11 @@ module CukeModeler
def add_row(row)
case
when row.is_a?(Array)
- @rows << Hash[@parameters.zip(row.coll... | Fix a few issues creating examples from scratch | enkessler_cuke_modeler | train | rb |
2814e1426b46381e82274a1f95973d3e15235baf | diff --git a/Admin/PageAdmin.php b/Admin/PageAdmin.php
index <HASH>..<HASH> 100644
--- a/Admin/PageAdmin.php
+++ b/Admin/PageAdmin.php
@@ -138,7 +138,18 @@ class PageAdmin extends Admin
->add('name')
->add('enabled', null, array('required' => false))
->add('position')
... | Tweak page type for internal page | sonata-project_SonataPageBundle | train | php |
860f4c078d68c208df36b82d09f35f623529c22b | diff --git a/src/Middleware/Collection.php b/src/Middleware/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/Collection.php
+++ b/src/Middleware/Collection.php
@@ -23,9 +23,9 @@ class Collection extends \ArrayObject
protected function validate(array $middlewares)
{
foreach ($middleware... | Relax validation in Middleware\Collection
This is intended to be a temporary measure to allow middlewares
included in Middleware\DefaultCollection to be considered valid
until such time as they implement Relay\MiddlewareInterface.
Refs #<I> | equip_framework | train | php,php |
d8dc262788bc6b5498e10689261237fea6060741 | diff --git a/client/gutenberg/editor/hooks/components/media-upload/utils.js b/client/gutenberg/editor/hooks/components/media-upload/utils.js
index <HASH>..<HASH> 100644
--- a/client/gutenberg/editor/hooks/components/media-upload/utils.js
+++ b/client/gutenberg/editor/hooks/components/media-upload/utils.js
@@ -2,7 +2,7 ... | Adds the expected type to the media library mapping to Gutenberg's media schema (#<I>) | Automattic_wp-calypso | train | js |
929c794a21924719d707e048d3e9621f0041221a | diff --git a/scripts/version.js b/scripts/version.js
index <HASH>..<HASH> 100644
--- a/scripts/version.js
+++ b/scripts/version.js
@@ -5,12 +5,12 @@ replace({
'files': 'dist/**/*.js',
'replace': 'VERSION_STRING',
'with': pkg.version
-}).then((changedFiles) => {
+}).then(function(changedFiles) {
if (changedF... | no arrow syntax for more compatibility | ionic-team_legacy-ionic-cloud | train | js |
c53852d8ea4209ea423ae5db1751e7aff0130189 | diff --git a/resource_aws_ecs_service.go b/resource_aws_ecs_service.go
index <HASH>..<HASH> 100644
--- a/resource_aws_ecs_service.go
+++ b/resource_aws_ecs_service.go
@@ -36,6 +36,7 @@ func resourceAwsEcsService() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Computed: true,
+ ForceN... | aws: Allow migrating (recreating) ecs_service to another cluster | terraform-providers_terraform-provider-aws | train | go |
e2e3f46ed36b3df7e7d768810e284597eaa0e1b1 | diff --git a/packages/notifications-flyout/src/presenters/PanelPresenter.js b/packages/notifications-flyout/src/presenters/PanelPresenter.js
index <HASH>..<HASH> 100644
--- a/packages/notifications-flyout/src/presenters/PanelPresenter.js
+++ b/packages/notifications-flyout/src/presenters/PanelPresenter.js
@@ -32,7 +32,... | fix: passing stylesheet incorrectly to flyout panel | Autodesk_hig | train | js |
a2d4b37c6d86937f21119e2fccd7e2668b67bb08 | diff --git a/bosh-stemcell/spec/bosh/stemcell/stage_collection_spec.rb b/bosh-stemcell/spec/bosh/stemcell/stage_collection_spec.rb
index <HASH>..<HASH> 100644
--- a/bosh-stemcell/spec/bosh/stemcell/stage_collection_spec.rb
+++ b/bosh-stemcell/spec/bosh/stemcell/stage_collection_spec.rb
@@ -200,6 +200,7 @@ module Bosh::... | Add missing package expectation in Google stemcell building test
- This should fix the failing Travis test on the PR
[#<I>](<URL>) | cloudfoundry_bosh | train | rb |
c13f6340d080734693d3814e9e961c4ed8a5f1ee | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -24,7 +24,7 @@ master_doc = 'index'
# General information about the project.
project = u'vtki'
copyright = u'2017-2019, Alex Kaszynski'
-author = u'Alex Kaszynski'
+author = u'Alex Kaszynski & Bane Sullivan'... | Add Bane to docs author list | vtkiorg_vtki | train | py |
3475c7a7b4de7caf82024ce01c02f0fe8af3c87f | diff --git a/lib/hci-socket/bindings.js b/lib/hci-socket/bindings.js
index <HASH>..<HASH> 100644
--- a/lib/hci-socket/bindings.js
+++ b/lib/hci-socket/bindings.js
@@ -121,6 +121,11 @@ BlenoBindings.prototype.onAddressChange = function(address) {
};
BlenoBindings.prototype.onReadLocalVersion = function(hciVer, hciRe... | Limit MTU to <I> for Intel devices
Intel <I> does not seem to like MTU's higher than <I>, making services and characteristics undiscoverable on devices such as iPhones. See Issue #<I> for more information. | noble_bleno | train | js |
ad53ff5fdf71600c5072e4bcef7e3c1c164993f6 | diff --git a/vm/vm.luajs.js b/vm/vm.luajs.js
index <HASH>..<HASH> 100644
--- a/vm/vm.luajs.js
+++ b/vm/vm.luajs.js
@@ -838,17 +838,16 @@ luajs.VM.Function.operations = [
{
name: 'VARARG',
handler: function (a, b) {
- var i;
+ var i,
+ limit = b === 0? this._params.length : b - 1;
- if (b === 0) {
... | Varargs hopefully put to bed. Now clears remaining register items after insertion. | gamesys_moonshine | train | js |
84ccfecf7c022e60ae664b78b7202aa37ea4969f | diff --git a/test/extended/util/db_image_helpers.go b/test/extended/util/db_image_helpers.go
index <HASH>..<HASH> 100644
--- a/test/extended/util/db_image_helpers.go
+++ b/test/extended/util/db_image_helpers.go
@@ -169,7 +169,7 @@ func WaitUntilUp(oc *CLI, d Database, timeout time.Duration) error {
// WaitUntilAllHelp... | increase timeout for helper pods | openshift_origin | train | go |
504b40ddb21b69796f81bf87cb1e5e33b07a58d0 | diff --git a/src/Charcoal/Admin/AdminScript.php b/src/Charcoal/Admin/AdminScript.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Admin/AdminScript.php
+++ b/src/Charcoal/Admin/AdminScript.php
@@ -14,11 +14,16 @@ use Charcoal\App\Script\AbstractScript;
// Module `charcoal-property` dependencies
use Charcoal\Propert... | Add translator to base admin script (therefore, all admin scripts). | locomotivemtl_charcoal-admin | train | php |
752cd77652e48e6be168610fd630dbe607d40997 | diff --git a/graphene/core/fields.py b/graphene/core/fields.py
index <HASH>..<HASH> 100644
--- a/graphene/core/fields.py
+++ b/graphene/core/fields.py
@@ -55,7 +55,12 @@ class Field(object):
if resolve_fn:
return resolve_fn(instance, args, info)
else:
- return instance.get_fiel... | Improved field resolving if instance is not wrapped | graphql-python_graphene | train | py |
3ceb4085cbce75d2d16a132f797389eede28b39f | diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java
index <HASH>..<HASH> 100644
--- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java
+++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java
@@ -91,8 +91,6 @@ public ... | fix test (not super happy about this fix, but I think it's the right thing to do) | jamesagnew_hapi-fhir | train | java |
2870f21446a4a9bfe2d8929cbc655bbb31498da7 | diff --git a/addok/index_utils.py b/addok/index_utils.py
index <HASH>..<HASH> 100644
--- a/addok/index_utils.py
+++ b/addok/index_utils.py
@@ -167,7 +167,7 @@ def index_document(doc, update_ngrams=True):
pipe = DB.pipeline()
housenumbers = None
index_geohash(pipe, key, doc['lat'], doc['lon'])
- import... | Parse importance to float before doing math | addok_addok | train | py |
9855de91b881e66f13440a7b50225c52670e9e22 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -41,7 +41,7 @@ try:
from setuptools import setup
kw = {
'install_requires': [
- 'pycrypto >= 2.1, != 2.4',
+ 'pycrypto>=2.1,!=2.4',
'ecdsa',
],
} | Remove whitespace in install_requires to avoid potential setuptools bugs
Fixes #<I> | paramiko_paramiko | train | py |
4fcb036fcacb8a92d5443707a221878e50ea44be | 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
@@ -32,7 +32,7 @@
* private/internal scale factor
* @ignore
*/
- this._scale = new me.Vector2d();
+ t... | Cleanup in me.Sprite; thanks @xorinzor | melonjs_melonJS | train | js |
4c930992588219fa2b46f5e53989ebe390c508e2 | diff --git a/src/server/pkg/sync/sync.go b/src/server/pkg/sync/sync.go
index <HASH>..<HASH> 100644
--- a/src/server/pkg/sync/sync.go
+++ b/src/server/pkg/sync/sync.go
@@ -151,8 +151,14 @@ func (p *Puller) Pull(client *pachclient.APIClient, root string, repo, commit, f
}
if tree != nil {
treePath := path.Join(... | Don't pull directories as files to stats branch. | pachyderm_pachyderm | train | go |
83f71540afb1efd8100fad1c5e359f8c3ae2b9de | diff --git a/core/src/main/java/hudson/model/Actionable.java b/core/src/main/java/hudson/model/Actionable.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/Actionable.java
+++ b/core/src/main/java/hudson/model/Actionable.java
@@ -267,8 +267,12 @@ public abstract class Actionable extends AbstractMod... | [JENKINS-<I>] Oleg wants to reduce the number of times we call `Action.equals()`
- cannot use a local variable as the optimization only applies while we have not found the action being added | jenkinsci_jenkins | train | java |
13a683180d86fa6f5bf182e7a08146c23e1e4170 | diff --git a/core/src/main/java/fr/labri/gumtree/io/TreeIoUtils.java b/core/src/main/java/fr/labri/gumtree/io/TreeIoUtils.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/fr/labri/gumtree/io/TreeIoUtils.java
+++ b/core/src/main/java/fr/labri/gumtree/io/TreeIoUtils.java
@@ -293,7 +293,7 @@ public final class Tr... | Make public
In case clients want a string and not a file write side effect. | GumTreeDiff_gumtree | train | java |
b1ace59a734b85e060862d9aecaf3801bd2e3017 | diff --git a/login/index.php b/login/index.php
index <HASH>..<HASH> 100644
--- a/login/index.php
+++ b/login/index.php
@@ -130,7 +130,7 @@
}
// check whether the user should be changing password
- if (get_user_preferences('auth_forcepasswordchange', false)){
+ ... | Anyone with the password "changeme" needs to change it | moodle_moodle | train | php |
f1084dc0fb0aa3aea2878e8db0b3591ce70e3003 | diff --git a/chunk/src/main/java/org/duracloud/chunk/writer/DuracloudContentWriter.java b/chunk/src/main/java/org/duracloud/chunk/writer/DuracloudContentWriter.java
index <HASH>..<HASH> 100644
--- a/chunk/src/main/java/org/duracloud/chunk/writer/DuracloudContentWriter.java
+++ b/chunk/src/main/java/org/duracloud/chunk/... | Improves code comment and ensures that chunks are written to temp file only when the file exists in storage and we're not in jump start mode. | duracloud_duracloud | train | java |
23e06679205c7023a2dbdf662a434bf168520a57 | diff --git a/demo/demo.php b/demo/demo.php
index <HASH>..<HASH> 100644
--- a/demo/demo.php
+++ b/demo/demo.php
@@ -30,7 +30,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-set_time_limit(60);
+set_time_limit(0);
$start = microtime(true);
require_once "../Highlight/Autoloader.php"; | Don't let demo.php time out | scrivo_highlight.php | train | php |
88497c87037cece9c4ebabcf2b1a0b8d2bd6b359 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
setup(
name='shipane_sdk',
- version='1.0.0.a15',
+ version='1.0.0.b1',
description=u'实盘易(ShiPanE)Python SDK,通达信自动化交易 API。',
... | Release <I>.b1 | sinall_ShiPanE-Python-SDK | train | py |
b5c5a03693c926e67b1b4d93894acf7056356764 | diff --git a/OrchidCore/src/main/java/com/eden/orchid/utilities/OrchidUtils.java b/OrchidCore/src/main/java/com/eden/orchid/utilities/OrchidUtils.java
index <HASH>..<HASH> 100644
--- a/OrchidCore/src/main/java/com/eden/orchid/utilities/OrchidUtils.java
+++ b/OrchidCore/src/main/java/com/eden/orchid/utilities/OrchidUtil... | Replaces foreach with iterator when removing empty command-line args | JavaEden_Orchid | train | java |
532df951c09e43659f86bab966b854b4cab79563 | diff --git a/src/ox_modules/module-web.js b/src/ox_modules/module-web.js
index <HASH>..<HASH> 100644
--- a/src/ox_modules/module-web.js
+++ b/src/ox_modules/module-web.js
@@ -280,11 +280,11 @@ export default class WebModule extends WebDriverModule {
async dispose(status) {
this._whenWebModuleDispose = def... | Temporary fix for calling dispose with null argument. | oxygenhq_oxygen | train | js |
3e0fc5a4cd9aaf6b00cbeba6d5778dd6de621f21 | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/common-nav.js b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/common-nav.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/common-nav.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/wid... | callbacks for showItem/expandItem may be undefined | eclipse_orion.client | train | js |
68d87bcebe1c4f5d35f043b0006dcbda39b1cac9 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -62,10 +62,9 @@ function parser (data, opts) {
function publish () {
if (opts.newline) {
var lines = this.payload.toString().split('\n').slice(0, -1)
-
lines.forEach(function (line) {
... | optimize publish() function with newline option, 3x faster, less memory usage | mcollina_docker-loghose | train | js |
372044b3bb932757eb50a5238c0fa783bae842dc | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -1853,6 +1853,18 @@ class QueryResultWrapperTestCase(ModelTestCase):
self.assertTrue(isinstance(comments._qr, NaiveQueryResultWrapper))
+ # Go up two levels and use aliases for the joined instances.
+ ... | Add additional test for join attrs. | coleifer_peewee | train | py |
bf5fc7d381404c2a218d4c28865b251d6e8e1cb8 | diff --git a/tool.go b/tool.go
index <HASH>..<HASH> 100644
--- a/tool.go
+++ b/tool.go
@@ -641,7 +641,15 @@ func (fs serveCommandFileSystem) Open(requestName string) (http.File, error) {
if isIndex {
// If there was no index.html file in any dirs, supply our own.
- return newFakeFile("index.html", []byte(`<html... | Added viewport support and defered execution on gopherjs serve (#<I>)
Added `<meta name="viewport" content="initial-scale=1">` for responsive web development
environment with gopherjs via gopherjs serve command. | gopherjs_gopherjs | train | go |
de058297248c2de427c9a144b2b32845d308816e | diff --git a/.rubocop.yml b/.rubocop.yml
index <HASH>..<HASH> 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -57,6 +57,11 @@ Metrics/LineLength:
Metrics/MethodLength:
Max: 224
+Metrics/ModuleLength:
+ Max: 160
+ Exclude:
+ - spec/**/*
+
Metrics/PerceivedComplexity:
Max: 13
diff --git a/lib/landable/co... | Removing redundant configuration checks in EventPublisher | enova_landable | train | yml,rb,rb |
a7e7201e9bcc3c1b334d3a482fba8366e272e61a | diff --git a/lib/reporters/console-watch.js b/lib/reporters/console-watch.js
index <HASH>..<HASH> 100644
--- a/lib/reporters/console-watch.js
+++ b/lib/reporters/console-watch.js
@@ -69,8 +69,10 @@ Reporter.prototype = Object.create(Base.prototype, extend({
this.data.on('change', function (event) {
if (event.t... | There were cases where report didn't exist | medikoo_xlint | train | js |
751f350117decf00d6d270d93f34744b60efa440 | diff --git a/SftpAdapter.php b/SftpAdapter.php
index <HASH>..<HASH> 100644
--- a/SftpAdapter.php
+++ b/SftpAdapter.php
@@ -66,6 +66,13 @@ class SftpAdapter implements FilesystemAdapter
return $this->connectionProvider->provideConnection()->is_file($location);
}
+ public function directoryExists(strin... | Added directoryExists method. | thephpleague_flysystem-sftp | train | php |
64c71c201480ca58165411868e19fad66fd2da71 | diff --git a/src/JSend/JSendResponse.php b/src/JSend/JSendResponse.php
index <HASH>..<HASH> 100644
--- a/src/JSend/JSendResponse.php
+++ b/src/JSend/JSendResponse.php
@@ -208,7 +208,7 @@ class JSendResponse implements \JsonSerializable
*
* @param string $json the raw JSON (JSend) to decode
* @param... | Check not needed
As the repo is now <I> and up, this check isn't needed. | NanneHuiges_JSend | train | php |
f9cbc209948e4cc3d3253175227ff6242ac16af7 | diff --git a/src/java/arjdbc/jdbc/RubyJdbcConnection.java b/src/java/arjdbc/jdbc/RubyJdbcConnection.java
index <HASH>..<HASH> 100644
--- a/src/java/arjdbc/jdbc/RubyJdbcConnection.java
+++ b/src/java/arjdbc/jdbc/RubyJdbcConnection.java
@@ -2729,13 +2729,10 @@ public class RubyJdbcConnection extends RubyObject {
... | use bit-length check with BigInt for (faster) long value conversion | jruby_activerecord-jdbc-adapter | train | java |
878ba2e8776f2fa5a5657910fcd8abd23ae4eb5e | diff --git a/go/chat/attachment_preview.go b/go/chat/attachment_preview.go
index <HASH>..<HASH> 100644
--- a/go/chat/attachment_preview.go
+++ b/go/chat/attachment_preview.go
@@ -166,14 +166,16 @@ func previewGIF(ctx context.Context, log logger.Logger, src io.Reader, basename
// don't resize if multiple frames a... | Add PreviewDurationMs when using original as preview | keybase_client | train | go |
af98f88b2439a6064401a1bc8e3c39481e563073 | diff --git a/inflect.py b/inflect.py
index <HASH>..<HASH> 100644
--- a/inflect.py
+++ b/inflect.py
@@ -54,9 +54,9 @@ from typing import Dict, Union
try:
- import importlib.metadata as importlib_metadata # type: ignore
+ from importlib import metadata # type: ignore
except ImportError:
- import importli... | 🧎♀️ Genuflect to the types. | jazzband_inflect | train | py |
7d893a07686b2a969fa423e82de18dc33b6be0b7 | diff --git a/engine/node/score-node-impl/src/main/java/io/cloudslang/engine/node/services/WorkerNodeServiceImpl.java b/engine/node/score-node-impl/src/main/java/io/cloudslang/engine/node/services/WorkerNodeServiceImpl.java
index <HASH>..<HASH> 100644
--- a/engine/node/score-node-impl/src/main/java/io/cloudslang/engine/... | remove read only on transactional (#<I>) | CloudSlang_score | train | java |
3fcbfb857bcebeed2587e679553abea17b02dfce | diff --git a/src/Languages.php b/src/Languages.php
index <HASH>..<HASH> 100644
--- a/src/Languages.php
+++ b/src/Languages.php
@@ -400,8 +400,9 @@ class Languages implements \ArrayAccess
private static function loadIntoCategory()
{
//func_get_arg to avoid override any variable or access to $this from... | fixed variable assignment in case when register_globals is turned on | rimelek_i18n | train | php |
db44031713018f882a70085935bae2ea2967fd6b | diff --git a/classes/PodsAdmin.php b/classes/PodsAdmin.php
index <HASH>..<HASH> 100644
--- a/classes/PodsAdmin.php
+++ b/classes/PodsAdmin.php
@@ -24,7 +24,6 @@ class PodsAdmin {
add_action('wp_ajax_pods_admin', array($this, 'admin_ajax'));
add_action('wp_ajax_nopriv_pods_admin', array($this, ... | removed redundant add_action call for admin bar links from PodsAdmin class | pods-framework_pods | train | php |
42f8a4715ebb9feba3bdf0b9708357bece0cd8db | diff --git a/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py b/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py
index <HASH>..<HASH> 100644
--- a/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py
+++ b/test/integration/022_bigquery_test/test_bigquery_... | Assert that single result has error | fishtown-analytics_dbt | train | py |
623aefd09aa71d241cef52d6b1ea31104e1f2eb5 | diff --git a/src/Deployment/Connection/SSHConnectionAdapter.php b/src/Deployment/Connection/SSHConnectionAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Deployment/Connection/SSHConnectionAdapter.php
+++ b/src/Deployment/Connection/SSHConnectionAdapter.php
@@ -151,7 +151,7 @@ class SSHConnectionAdapter implements Con... | Fixed implementation for replacing the ~ for the user 'home' directory in SSHConnectionAdapter | accompli_accompli | train | php |
165f51aa48e0ddc5aa3b687f2dc7f182ac0e40bd | diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/supervisor.rb
+++ b/lib/fluent/supervisor.rb
@@ -151,6 +151,8 @@ module Fluent
private
def dry_run
+ $log.info "starting fluentd-#{Fluent::VERSION} as dry run mode"
+
read_config
... | Dump version info at dry run mode | fluent_fluentd | train | rb |
f237f9927443382fb8e4d409c2fc56d8281b2d23 | diff --git a/src/IsoCodes/Iban.php b/src/IsoCodes/Iban.php
index <HASH>..<HASH> 100755
--- a/src/IsoCodes/Iban.php
+++ b/src/IsoCodes/Iban.php
@@ -73,7 +73,7 @@ class Iban implements IsoCodeInterface
'GB'=>'[A-Z]{4}[0-9]{14}'
);
/*On vérifie la longueur minimale*/
- ... | Change minimal number of IBAN characters
Belgium allows <I> characters and Norway <I> | ronanguilloux_IsoCodes | train | php |
562fed642855746fffc63c9e0e3634f88a5f1b91 | diff --git a/src/Scaffold_Command.php b/src/Scaffold_Command.php
index <HASH>..<HASH> 100644
--- a/src/Scaffold_Command.php
+++ b/src/Scaffold_Command.php
@@ -173,10 +173,8 @@ class Scaffold_Command extends WP_CLI_Command {
$raw_output = self::mustache_render( $raw_template, $vars );
if ( ! $control_args['raw']... | QA: don't unnecessarily use array_merge()
`array_merge()` is a "heavy" function in PHP and is not actually needed to achieve the desired result in this case. | wp-cli_scaffold-command | train | php |
aa7aee33cf966f09fd10caccff6c09ab7ae1b8e5 | diff --git a/src/Query.php b/src/Query.php
index <HASH>..<HASH> 100644
--- a/src/Query.php
+++ b/src/Query.php
@@ -254,6 +254,10 @@ class Query
return $this->all()->first();
}
+ public function execute()
+ {
+ return $this->_execute();
+ }
/**
* Executes this query and retur... | Add exeute method and use where in debugInfo | UseMuffin_Webservice | train | php |
a9bdddc0c230b56974a1c96e118b3723980a81d4 | diff --git a/app/AppKernel.php b/app/AppKernel.php
index <HASH>..<HASH> 100644
--- a/app/AppKernel.php
+++ b/app/AppKernel.php
@@ -27,6 +27,10 @@ class AppKernel extends Kernel
// Put here your own bundles!
);
+ if (in_array($this->environment, array('dev', 'test'))) {
+ $bundl... | Move environment specific bundles to the user app kernel | Sylius_Sylius | train | php,php |
5f3b4b616b24e5aad109a7710bb9b670f2b4a126 | diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php
+++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBui... | [Bridge/Doctrine] fix return type declarations | symfony_symfony | train | php |
3d65cc380e401cc442506de519a83cc60fe14927 | diff --git a/src/actions/editorialWorkflow.js b/src/actions/editorialWorkflow.js
index <HASH>..<HASH> 100644
--- a/src/actions/editorialWorkflow.js
+++ b/src/actions/editorialWorkflow.js
@@ -227,7 +227,7 @@ export function persistUnpublishedEntry(collection, existingUnpublishedEntry) {
const entryDraft = state.ent... | stop navigation on failed entry save in editorial workflow | netlify_netlify-cms | train | js |
9aea7deaa8065ae684255de771008aed96cc76ba | diff --git a/src/request_handlers/webelement_request_handler.js b/src/request_handlers/webelement_request_handler.js
index <HASH>..<HASH> 100644
--- a/src/request_handlers/webelement_request_handler.js
+++ b/src/request_handlers/webelement_request_handler.js
@@ -177,7 +177,6 @@ ghostdriver.WebElementReqHand = function(... | Completed the POST /session/:id/element/:id/value command. | detro_ghostdriver | train | js |
540b2e354eb295b4257f6ff6634d5245a6f1a71a | diff --git a/qiskit/quantum_info/operators/symplectic/clifford.py b/qiskit/quantum_info/operators/symplectic/clifford.py
index <HASH>..<HASH> 100644
--- a/qiskit/quantum_info/operators/symplectic/clifford.py
+++ b/qiskit/quantum_info/operators/symplectic/clifford.py
@@ -37,7 +37,7 @@ class Clifford(BaseOperator):
... | fix doc (#<I>) | Qiskit_qiskit-terra | train | py |
654b331643ca80d581c899d485369fbb5757fb94 | diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/fixtures.rb
+++ b/activerecord/lib/active_record/fixtures.rb
@@ -374,8 +374,9 @@ module ActiveRecord
#
# == Support for YAML defaults
#
- # You ... | [ci skip] less derogatory explanation of defaults | rails_rails | train | rb |
3c686fecdfc22a2ed7eb3c97f7bd1c156eff94d7 | diff --git a/telethon/tl/session.py b/telethon/tl/session.py
index <HASH>..<HASH> 100644
--- a/telethon/tl/session.py
+++ b/telethon/tl/session.py
@@ -2,12 +2,13 @@ import json
import os
import platform
import sqlite3
+import struct
import time
from base64 import b64decode
from os.path import isfile as file_exist... | Avoid more cyclic imports on the session file | LonamiWebs_Telethon | train | py |
409400ea035397b9e766439dfc4befdc178d358a | diff --git a/api/app/core/PushNotification/Notifier.php b/api/app/core/PushNotification/Notifier.php
index <HASH>..<HASH> 100644
--- a/api/app/core/PushNotification/Notifier.php
+++ b/api/app/core/PushNotification/Notifier.php
@@ -56,7 +56,7 @@ class Notifier {
foreach(static::getPlatformServices() as $platform => $... | push notification: fix platform reference when debugging errors | doubleleft_hook | train | php |
d9399039824de0ef68dc0017cd7db69253bb9ae5 | diff --git a/currencies/utils.py b/currencies/utils.py
index <HASH>..<HASH> 100644
--- a/currencies/utils.py
+++ b/currencies/utils.py
@@ -42,4 +42,8 @@ def get_currency_code(request):
def price_rounding(price, decimals=2):
- return price.quantize(D("0.{}".format('1'.zfill(decimals))), rounding=ROUND_UP)
+ d... | Don't allow rounding wih less than 2 decimals | panosl_django-currencies | train | py |
11a967571b70eeaff101f9c27e659f619eb5cfaa | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ setup(
author_email='hector.dearman@gmail.com',
packages=['essence'],
scripts=[],
- url='',
+ url='https://github.com/chromy/essence.git',
license='LICENSE.txt',
description='',
... | add url to setup.py | chromy_essence | train | py |
0f8187f068eaf50b480ebc79ca91dac9a5036f1f | diff --git a/modules/ezoe/upload.php b/modules/ezoe/upload.php
index <HASH>..<HASH> 100755
--- a/modules/ezoe/upload.php
+++ b/modules/ezoe/upload.php
@@ -121,6 +121,14 @@ if ( $http->hasPostVariable( 'uploadButton' ) || $forcedUpload )
$newObjectName = $newObject->attribute( 'name' );
$newObjectNodeI... | updated version with syntactic corrections | ezsystems_ezpublish-legacy | train | php |
191acd0758e4f8cc564185c55bc8a149cfbff408 | diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/oem/lenovo/imm.py
+++ b/pyghmi/ipmi/oem/lenovo/imm.py
@@ -1723,9 +1723,16 @@ class XCCClient(IMMClient):
'type': item['source'],
}, ''))
if summary.get(... | Have LED fallback force a sensor if no other explanation
This mitigates the poor appearance of the 'unexplained health'
scenario.
Change-Id: I5b<I>c<I>a<I>b<I>deee<I>f<I>b | openstack_pyghmi | train | py |
68bcfad6779e261cfd5f8ee67f25eedde1c3f72a | diff --git a/test/core/compiler/compiler.js b/test/core/compiler/compiler.js
index <HASH>..<HASH> 100644
--- a/test/core/compiler/compiler.js
+++ b/test/core/compiler/compiler.js
@@ -90,11 +90,14 @@ describe("Compiler", function() {
});
it("should compile and mark SVG elements", function() {
- var el = creat... | add tests for xlink:href | kbrsh_moon | train | js |
f2d458f8486afec97414465077be622347a4e09d | diff --git a/java/src/org/openqa/selenium/grid/node/local/LocalNode.java b/java/src/org/openqa/selenium/grid/node/local/LocalNode.java
index <HASH>..<HASH> 100644
--- a/java/src/org/openqa/selenium/grid/node/local/LocalNode.java
+++ b/java/src/org/openqa/selenium/grid/node/local/LocalNode.java
@@ -152,7 +152,7 @@ publi... | [grid] Fixing a log output [skip ci] | SeleniumHQ_selenium | train | java |
52515f4bb7378272a37dfaaa37dce878916e6f62 | diff --git a/prow/github/types.go b/prow/github/types.go
index <HASH>..<HASH> 100644
--- a/prow/github/types.go
+++ b/prow/github/types.go
@@ -161,7 +161,9 @@ type User struct {
}
// NormLogin normalizes GitHub login strings
-var NormLogin = strings.ToLower
+func NormLogin(login string) string {
+ return strings.Tr... | trim leading @ from logins when normalizing in github client | kubernetes_test-infra | train | go |
7b80dd1c7830881108c87c6c628dffd1831b6d49 | diff --git a/src/ValidatingTrait.php b/src/ValidatingTrait.php
index <HASH>..<HASH> 100644
--- a/src/ValidatingTrait.php
+++ b/src/ValidatingTrait.php
@@ -135,10 +135,9 @@ trait ValidatingTrait {
* 'saving' ruleset exists, fallback to '$rules' and otherwise return
* an empty array
*
- * @param st... | Remove unused parameter
This isn't used, or did you want to do `$this->getRuleset($ruleset)` instead? | dwightwatson_validating | train | php |
d192b11057c4fc1be2c6821e0a66cadaf175e8c0 | diff --git a/src/WPMissing/Util.php b/src/WPMissing/Util.php
index <HASH>..<HASH> 100644
--- a/src/WPMissing/Util.php
+++ b/src/WPMissing/Util.php
@@ -23,6 +23,6 @@ class Util {
}
}
- return \Missing\Date::strftime($date_string, $format, $else, $tz);
+ return \Missing\Dates::strftime($date_string, $... | Bump for new version of PHP-Missing | dxw_wp-missing | train | php |
27bca914b2b921d6b0b08e2d6afac0cc9c9cfe80 | diff --git a/server/irc/connection.js b/server/irc/connection.js
index <HASH>..<HASH> 100644
--- a/server/irc/connection.js
+++ b/server/irc/connection.js
@@ -460,7 +460,7 @@ IrcConnection.prototype.setEncoding = function (encoding) {
//This test is done to check if this encoding also supports
//the A... | Fix regression due to <I>d<I> | prawnsalad_KiwiIRC | train | js |
6b4dc381f98f97ef99489abd2ee7c3e59c4eb714 | diff --git a/pkg/minikube/node/cache.go b/pkg/minikube/node/cache.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/node/cache.go
+++ b/pkg/minikube/node/cache.go
@@ -124,6 +124,7 @@ func beginDownloadKicBaseImage(g *errgroup.Group, cc *config.ClusterConfig, down
baseImg := cc.KicBaseImage
if baseImg == kic.BaseI... | fix base image when using with custom image repository | kubernetes_minikube | train | go |
3bd0526df3c3b1010eef8efb23440715ecc82481 | diff --git a/openquake/engine/tools/make_html_report.py b/openquake/engine/tools/make_html_report.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/tools/make_html_report.py
+++ b/openquake/engine/tools/make_html_report.py
@@ -233,6 +233,9 @@ $("#tabs").tabs();
def make_tabs(tag_ids, tag_contents):
+ """
+ ... | Added a docstring
Former-commit-id: f<I>c7c<I>fb<I>c<I>d6bc1aa<I>e7b<I>cb<I> | gem_oq-engine | train | py |
b314a5606e2d464ee187a2c7306c4f63aa5d71ca | diff --git a/twython/twython.py b/twython/twython.py
index <HASH>..<HASH> 100644
--- a/twython/twython.py
+++ b/twython/twython.py
@@ -567,16 +567,3 @@ class Twython(object):
if isinstance(text, (str, unicode)):
return Twython.unicode2utf8(text)
return str(text)
-
-if __name__ == '__main_... | Deleting auth stuff, oops | ryanmcgrath_twython | train | py |
5aa39bc11db3c02fc10522c3f24a428cc5238f81 | diff --git a/lib/flapjack/cli/worker_manager.rb b/lib/flapjack/cli/worker_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/flapjack/cli/worker_manager.rb
+++ b/lib/flapjack/cli/worker_manager.rb
@@ -42,11 +42,3 @@ class WorkerManagerOptions
end
-module Daemons
- class PidFile
- # we override this method so cr... | removed daemons code into patches file | flapjack_flapjack | train | rb |
c109675645e218b7fa31e66975dcd8c5b6ede251 | diff --git a/holoviews/core/data.py b/holoviews/core/data.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data.py
+++ b/holoviews/core/data.py
@@ -1341,9 +1341,18 @@ class DictColumns(DataColumns):
class GridColumns(DictColumns):
"""
- Interface for simple dictionary-based columns format. The dictionary
... | Updated the class docstring for GridColumns | pyviz_holoviews | train | py |
838668dda650f77d29a053620d1f0b20113ff018 | diff --git a/benchexec/outputhandler.py b/benchexec/outputhandler.py
index <HASH>..<HASH> 100644
--- a/benchexec/outputhandler.py
+++ b/benchexec/outputhandler.py
@@ -229,7 +229,7 @@ class OutputHandler(object):
def format_line(key, value):
if value is None:
return ""
- ... | Avoid trailing whitespace in text file for results | sosy-lab_benchexec | train | py |
f0b834f692d892451e97ff07d090f808d004f736 | diff --git a/pycbc/__init__.py b/pycbc/__init__.py
index <HASH>..<HASH> 100644
--- a/pycbc/__init__.py
+++ b/pycbc/__init__.py
@@ -29,6 +29,12 @@ import subprocess, os, sys, tempfile
import logging
import signal
+try:
+ # This will fail when pycbc is imported during the build process,
+ # before version.py ha... | Append the git has to the weave cache path | gwastro_pycbc | train | py |
234892110805f67a5a73ccc2e2377f832815b00c | diff --git a/Connector/ZimbraConnector.php b/Connector/ZimbraConnector.php
index <HASH>..<HASH> 100644
--- a/Connector/ZimbraConnector.php
+++ b/Connector/ZimbraConnector.php
@@ -1006,9 +1006,9 @@ class ZimbraConnector
return $response;
}
- public function getFolders($accountName)
+ public functio... | Added ability to ignore delegated auth selectively on GetFolders requests | synaq_SynaqZasaBundle | train | php |
d3281ca7ecd0b8c0eb9f064a9a28350f7ea09763 | diff --git a/src/Charcoal/Property/AbstractProperty.php b/src/Charcoal/Property/AbstractProperty.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Property/AbstractProperty.php
+++ b/src/Charcoal/Property/AbstractProperty.php
@@ -181,10 +181,6 @@ abstract class AbstractProperty extends AbstractEntity implements
p... | Do not re-set dependencies that were set from constructor. | locomotivemtl_charcoal-property | 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.