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 |
|---|---|---|---|---|---|
f044916f946e8ede94206f99e10eaaf443f63d28 | diff --git a/test/integration/registerable_test.rb b/test/integration/registerable_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/registerable_test.rb
+++ b/test/integration/registerable_test.rb
@@ -203,7 +203,7 @@ class RegistrationTest < ActionController::IntegrationTest
fill_in 'password', :with =... | Use correct current_password in RegistrationTest of invalid confirmation
In DatabaseAuthenticatable#update_with_password, password is now deleted if
the current_password is invalid. dm-validations will not check the
confirmation in that case, so this test was failing in dm-devise. | plataformatec_devise | train | rb |
e445377e4ba0371d499be635b330ac979821d515 | diff --git a/spec/support/pageflow/used_file_test_helper.rb b/spec/support/pageflow/used_file_test_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/support/pageflow/used_file_test_helper.rb
+++ b/spec/support/pageflow/used_file_test_helper.rb
@@ -1,10 +1,10 @@
module UsedFileTestHelper
# creates a file with usage i... | Allow passing traits to create_used_file
Match FactoryBot API.
REDMINE-<I> | codevise_pageflow | train | rb |
a04980d2773feca8d769ea7496d14bd8df4e098f | diff --git a/lib/daru/date_time/offsets.rb b/lib/daru/date_time/offsets.rb
index <HASH>..<HASH> 100644
--- a/lib/daru/date_time/offsets.rb
+++ b/lib/daru/date_time/offsets.rb
@@ -124,7 +124,7 @@ module Daru
FREQ = 'S'.freeze
def multiplier
- 1.1574074074074073e-05
+ 1.to_r / 24 / 60 / 60
... | Use Rational instead of Float (#<I>)
This commit make it to be more clear
what the value of `#multiplier` means. | SciRuby_daru | train | rb |
76d18d147d71a79427edb93a9e011f4bf7f6d31a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,6 +24,7 @@ setup(name='docrep',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :... | Add Python <I> as Programming Language [skip ci] | Chilipp_docrep | train | py |
cc159d70902d29acdd0dc070649686c080643d72 | diff --git a/packages/insomnia-app/app/ui/components/modals/request-switcher-modal.js b/packages/insomnia-app/app/ui/components/modals/request-switcher-modal.js
index <HASH>..<HASH> 100644
--- a/packages/insomnia-app/app/ui/components/modals/request-switcher-modal.js
+++ b/packages/insomnia-app/app/ui/components/modals... | Fix request switcher active index when only workspaces match | getinsomnia_insomnia | train | js |
c6a239763d3251591223d90b84e2d7e27d8f16c2 | diff --git a/lib/gofer.js b/lib/gofer.js
index <HASH>..<HASH> 100644
--- a/lib/gofer.js
+++ b/lib/gofer.js
@@ -96,7 +96,7 @@ function preventComplexMerge(objValue, srcValue) {
return srcValue || objValue;
}
- return mergeWith(objValue, srcValue, preventComplexMerge);
+ return mergeWith({}, objValue, srcValu... | fix: Prevent mutation of defaults | groupon_gofer | train | js |
ca1634575ee582fcb51738165fcf5b2809191526 | diff --git a/broadlink/__init__.py b/broadlink/__init__.py
index <HASH>..<HASH> 100644
--- a/broadlink/__init__.py
+++ b/broadlink/__init__.py
@@ -139,6 +139,7 @@ SUPPORTED_TYPES = {
lb1: {
0x5043: ("SB800TD", "Broadlink (OEM)"),
0x504E: ("LB1", "Broadlink"),
+ 0x606E: ("SB500TD", "Broadli... | Add support for Clas Ohlson SL-2 E<I> (0x<I>) (#<I>) | mjg59_python-broadlink | train | py |
166816080196d241e7d571faa458c29646ad3f5c | diff --git a/src/Knp/DoctrineBehaviors/Model/Timestampable/Timestampable.php b/src/Knp/DoctrineBehaviors/Model/Timestampable/Timestampable.php
index <HASH>..<HASH> 100644
--- a/src/Knp/DoctrineBehaviors/Model/Timestampable/Timestampable.php
+++ b/src/Knp/DoctrineBehaviors/Model/Timestampable/Timestampable.php
@@ -23,14... | Update src/Knp/DoctrineBehaviors/Model/Timestampable/Timestampable.php
Change $createdAt, $updatedAt to protected so that it can be used in abstract class | KnpLabs_DoctrineBehaviors | train | php |
18650ec3760d6293ad56fa70c3eabddcb24ccf02 | diff --git a/src/main/java/org/urish/gwtit/dev/linker/GwtTitaniumLinker.java b/src/main/java/org/urish/gwtit/dev/linker/GwtTitaniumLinker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/urish/gwtit/dev/linker/GwtTitaniumLinker.java
+++ b/src/main/java/org/urish/gwtit/dev/linker/GwtTitaniumLinker.java
@@ -50,6 ... | Support for 0 permutations mode in the GWT Titanium Linker | urish_gwt-titanium | train | java |
c43618754d27273f3a64ff5d2c6ed5c96125e888 | diff --git a/ansible/plugins/lookup/hashivault.py b/ansible/plugins/lookup/hashivault.py
index <HASH>..<HASH> 100755
--- a/ansible/plugins/lookup/hashivault.py
+++ b/ansible/plugins/lookup/hashivault.py
@@ -61,7 +61,7 @@ class LookupModule(LookupBase):
params['username'] = self._get_environment(environment... | Add support of token from ansible environment | TerryHowe_ansible-modules-hashivault | train | py |
4f81d3d51b537e51c7d90f15a6448864ac2db6ce | diff --git a/shared/archive_linux.go b/shared/archive_linux.go
index <HASH>..<HASH> 100644
--- a/shared/archive_linux.go
+++ b/shared/archive_linux.go
@@ -85,7 +85,7 @@ func Unpack(file string, path string, blockBackend bool, runningInUserns bool, t
}
// Check if we're running out of space
- if int64(fs.Bfree)... | shared/archive: Fix out of space logic
Closes #<I> | lxc_lxd | train | go |
c98fbe0736b8f6e720d3c2e5210645c9f81a8822 | diff --git a/templates/refinery/edge.rb b/templates/refinery/edge.rb
index <HASH>..<HASH> 100644
--- a/templates/refinery/edge.rb
+++ b/templates/refinery/edge.rb
@@ -1,8 +1,9 @@
gem 'refinerycms', :git => 'git://github.com/resolve/refinerycms.git'
run 'bundle install'
+rake 'db:create'
generate 'refinery:cms'
rake... | rake db:create needs to run before rails g refinery:cms | refinery_refinerycms | train | rb |
e73045dbddbd5e1650520a8656efd20ff6dda8be | diff --git a/jwt/__init__.py b/jwt/__init__.py
index <HASH>..<HASH> 100644
--- a/jwt/__init__.py
+++ b/jwt/__init__.py
@@ -220,13 +220,14 @@ def load(jwt):
def verify_signature(payload, signing_input, header, signature, key='',
verify_expiration=True, leeway=0):
try:
- key = prepare_key_method... | Allow algorithm names to be upper- or lower-case
The standard doesn't seem to specify whether algorithm names must be
capitalized or lower-case. I had an issue with spurious failures due to
a lower-case algorithm name ("hs<I>"), so here is a patch that converts
the incoming name to capital letters before looking it u... | jpadilla_pyjwt | train | py |
e8de280f7b74c8fd9033e0d8446e181ff66a062d | diff --git a/salt/loader/lazy.py b/salt/loader/lazy.py
index <HASH>..<HASH> 100644
--- a/salt/loader/lazy.py
+++ b/salt/loader/lazy.py
@@ -213,7 +213,7 @@ class LazyLoader(salt.utils.lazy.LazyDict):
- singletons (per tag)
"""
- mod_dict_class = salt.utils.odict.OrderedDict
+ mod_dict_class = dict
... | Use python's default dictionary implementation. No need to force order. | saltstack_salt | train | py |
2643e89340dbbd7d18d60d1025f709255f36244b | diff --git a/src/IO/GeoJSON/Feature.php b/src/IO/GeoJSON/Feature.php
index <HASH>..<HASH> 100644
--- a/src/IO/GeoJSON/Feature.php
+++ b/src/IO/GeoJSON/Feature.php
@@ -63,7 +63,7 @@ final class Feature
public function withProperties(?stdClass $properties): Feature
{
$that = clone $this;
- $this... | Fix Feature::withProperties() setting value on the wrong object | brick_geo | train | php |
d1332acbd8abec8baaa8efef605bfcab2fc12a0f | diff --git a/mocha.js b/mocha.js
index <HASH>..<HASH> 100644
--- a/mocha.js
+++ b/mocha.js
@@ -4544,16 +4544,17 @@ Runner.prototype.uncaught = function(err){
Runner.prototype.run = function(fn){
var self = this
- , fn = fn || function(){};
+ , fn = fn || function(){}
+ , uncaught = function(err){
+ ... | Update built mocha.js file | mochajs_mocha | train | js |
5071bd6d0c8f68481ae8328828342eea0f6998c4 | diff --git a/manager/api/rest-impl/src/main/java/io/apiman/manager/api/rest/impl/OrganizationResourceImpl.java b/manager/api/rest-impl/src/main/java/io/apiman/manager/api/rest/impl/OrganizationResourceImpl.java
index <HASH>..<HASH> 100644
--- a/manager/api/rest-impl/src/main/java/io/apiman/manager/api/rest/impl/Organiz... | fix for APIMAN-<I> | apiman_apiman | train | java |
ed78941f10a37ff9e4e0bb770993f6db84983326 | diff --git a/picklable_itertools/__init__.py b/picklable_itertools/__init__.py
index <HASH>..<HASH> 100644
--- a/picklable_itertools/__init__.py
+++ b/picklable_itertools/__init__.py
@@ -283,8 +283,11 @@ class islice(BaseItertool):
self._iterable = _iter(iterable)
i = 0
while i < start:
- ... | Fix bug where the starting point is beyond the end of the iterator | mila-iqia_picklable-itertools | train | py,py |
c0be224e26b200a66f2639952f5a4facf81aeb97 | diff --git a/satpy/resample.py b/satpy/resample.py
index <HASH>..<HASH> 100644
--- a/satpy/resample.py
+++ b/satpy/resample.py
@@ -577,8 +577,8 @@ class NativeResampler(BaseResampler):
out_shape = target_geo_def.shape
in_shape = data.shape
- y_repeats = out_shape[y_axis] / float(in_shape[y_ax... | Fix native resampler for arrays with more than 2 dimensions | pytroll_satpy | train | py |
707a735487b0b03294f56147f6422363bed8c5da | diff --git a/src/js/components/Select/Select.js b/src/js/components/Select/Select.js
index <HASH>..<HASH> 100644
--- a/src/js/components/Select/Select.js
+++ b/src/js/components/Select/Select.js
@@ -399,6 +399,7 @@ const Select = forwardRef(
{selectValue || displayLabelKey}
<Hidden... | fix for issue #<I> (#<I>) | grommet_grommet | train | js |
a963cd09601f94880dc14c572d15a697d7e98298 | diff --git a/src/Frozennode/Administrator/Fields/Relationships/Relationship.php b/src/Frozennode/Administrator/Fields/Relationships/Relationship.php
index <HASH>..<HASH> 100644
--- a/src/Frozennode/Administrator/Fields/Relationships/Relationship.php
+++ b/src/Frozennode/Administrator/Fields/Relationships/Relationship.p... | fixing weird legacy issue with array_get default argument (closes #<I>) | FrozenNode_Laravel-Administrator | train | php |
ef88c5024bbb172da513f2cbaa268c14ce2847ee | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -51,10 +51,10 @@ setup(
"toolz>=0.9.0,<1.0.0;implementation_name=='pypy'",
"cytoolz>=0.9.0,<1.0.0;implementation_name=='cpython'",
'eth-keys>=0.2.0b3,<1',
- 'eth-tester>=0.1.0b24,<0.1.0b25',
+... | Remove bytecode compilation if bytecode field not in manifest | ethpm_py-ethpm | train | py |
48005898c2d57221d99b088c325311b1549f5c1f | diff --git a/src/game.js b/src/game.js
index <HASH>..<HASH> 100644
--- a/src/game.js
+++ b/src/game.js
@@ -220,7 +220,7 @@
frameRate = ~~(0.5 + 60 / me.sys.fps);
// set step size based on the updatesPerSecond
- stepSize = (1000 / Math.min(me.sys.updatesPerSecond, me.sy... | Allow updates to run faster than draw calls | melonjs_melonJS | train | js |
fca0df28e931f3243563a8e4f1670113bcb57f4f | diff --git a/htlcswitch/switch.go b/htlcswitch/switch.go
index <HASH>..<HASH> 100644
--- a/htlcswitch/switch.go
+++ b/htlcswitch/switch.go
@@ -1402,11 +1402,22 @@ func (s *Switch) htlcForwarder() {
continue
}
+ // If the diff of num updates is negative, then some
+ // links may have been unregistered fro... | htlcswitch: fix periodic calculation of satoshis sent/received
In this commit, we fix an issue where users would be displayed negative
amounts of satoshis either as sent or received. This can happen if the
total amount of channel updates decreases due to channels being closed.
To fix this, we properly handle a negati... | lightningnetwork_lnd | train | go |
3920ed3fd8cb9c2264b31c47064185891aa19461 | diff --git a/Controller/ResourceController.php b/Controller/ResourceController.php
index <HASH>..<HASH> 100644
--- a/Controller/ResourceController.php
+++ b/Controller/ResourceController.php
@@ -469,7 +469,7 @@ class ResourceController extends Controller
$this->isGrantedOr403($configuration, ResourceActions::U... | Exception while apply refund transition
Admin refund action throws exception
"Argument 1 passed to Symfony\Bundle\FrameworkBundle\Controller\Controller::isCsrfTokenValid() must be of the type string, integer given" | Sylius_SyliusResourceBundle | train | php |
2eacfcaa00738f248c4be3db188860938ca9c498 | diff --git a/src/WebDriver/Session.php b/src/WebDriver/Session.php
index <HASH>..<HASH> 100644
--- a/src/WebDriver/Session.php
+++ b/src/WebDriver/Session.php
@@ -52,6 +52,8 @@ class Session
* a value.
*
* @param string $url A URL to access
+ *
+ * @return Session
*/
public function... | Session::open is fluid | alexandresalome_php-webdriver | train | php |
7e076f6a04d97aec4914438846715c0f7deffb6d | diff --git a/console/command/Help.php b/console/command/Help.php
index <HASH>..<HASH> 100644
--- a/console/command/Help.php
+++ b/console/command/Help.php
@@ -155,13 +155,12 @@ class Help extends \lithium\console\Command {
$methods = Inspector::methods($class)->map($map, array('collect' => false));
$results = arr... | Fixing issue in `Help` command to filter out protected methods. | UnionOfRAD_lithium | train | php |
48ff0c4928081796efa3a9e6d763101dc0ee8d6a | diff --git a/src/Form/Form.php b/src/Form/Form.php
index <HASH>..<HASH> 100644
--- a/src/Form/Form.php
+++ b/src/Form/Form.php
@@ -2,7 +2,6 @@
namespace Sco\Admin\Form;
-
use Illuminate\Database\Eloquent\Model;
use Sco\Admin\Contracts\Form\Elements\ElementInterface;
use Sco\Admin\Contracts\Form\FormInterface; | Apply fixes from StyleCI (#3) | ScoLib_admin | train | php |
219774a5851d9be61ca881f3e0a2efdb8aab86d6 | diff --git a/src/litmus.js b/src/litmus.js
index <HASH>..<HASH> 100644
--- a/src/litmus.js
+++ b/src/litmus.js
@@ -709,7 +709,6 @@ pkg.define('litmus', ['promise'], function (promise) {
return handle.finished;
})),
function () {
- run.state = finishedState;
... | Add exception to message about exceptions being added after test run has finished. Place wrong number of tests exception before the state is changed to finished. | usenode_litmus.js | train | js |
a7eb271db02130ee8c7cf3d7688d4857f8b90525 | diff --git a/src/scene.js b/src/scene.js
index <HASH>..<HASH> 100755
--- a/src/scene.js
+++ b/src/scene.js
@@ -939,7 +939,7 @@ export default class Scene {
this.config_path = config_path || Utils.pathForURL(this.config_source);
}
else {
- this.config_path = null;
+ t... | fix path expansion regression loading from local files | tangrams_tangram | train | js,js |
761099358c0d49eb4c533d4dfc8748cec74a170c | diff --git a/controllers/socket/handler/player.go b/controllers/socket/handler/player.go
index <HASH>..<HASH> 100644
--- a/controllers/socket/handler/player.go
+++ b/controllers/socket/handler/player.go
@@ -215,7 +215,7 @@ func (Player) PlayerDisableTwitchBot(so *wsevent.Client, _ struct{}) interface{}
return emptySu... | Rename PlayerGetRecentLobbies -> PlayerRecentLobbies | TF2Stadium_Helen | train | go |
ff20a4496bf2fcf76b4c246b92a882d557f9314f | diff --git a/test/tabbable.test.js b/test/tabbable.test.js
index <HASH>..<HASH> 100644
--- a/test/tabbable.test.js
+++ b/test/tabbable.test.js
@@ -93,7 +93,20 @@ describe('tabbable', function() {
});
it('non-linear', function() {
+ var originalSort = Array.prototype.sort;
+
+ // This sort piggy-backs on t... | Enhanced the non-linear test case to simulate an unstable Array sort | davidtheclark_tabbable | train | js |
8bd58aa44187774cbe15a3e8e45833ba3d8af987 | diff --git a/openid/store/sqlstore.py b/openid/store/sqlstore.py
index <HASH>..<HASH> 100644
--- a/openid/store/sqlstore.py
+++ b/openid/store/sqlstore.py
@@ -1,6 +1,10 @@
"""
This module contains C{L{OpenIDStore}} implementations that use
various SQL databases to back them.
+
+Example of how to initialize a store d... | [project @ store.sqlstore: add example to docstring of a one-liner for store creation]
This should really probably be a script and/or incorporated into the install
documentation. | openid_python-openid | train | py |
347931e9bf082b7c49c0529a01db3f91b25090fa | diff --git a/src/main/java/org/dasein/cloud/openstack/nova/os/NovaLocationServices.java b/src/main/java/org/dasein/cloud/openstack/nova/os/NovaLocationServices.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/openstack/nova/os/NovaLocationServices.java
+++ b/src/main/java/org/dasein/cloud/openstack... | Removed zone look-up in host aggregate | dasein-cloud_dasein-cloud-openstack | train | java |
357a50ee41397834cb3816cd42094a6425dec881 | diff --git a/bundles/org.eclipse.orion.client.git/static/js/git-commit-navigator.js b/bundles/org.eclipse.orion.client.git/static/js/git-commit-navigator.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.git/static/js/git-commit-navigator.js
+++ b/bundles/org.eclipse.orion.client.git/static/js/git-c... | Log UI for Remote does not disaply commits [fixed] | eclipse_orion.client | train | js |
edfb6d65d67074a62da60c6a7d252c61564d1b03 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -219,7 +219,9 @@ $.powerTip = {
* @return {jQuery|Element} The original jQuery object or DOM Element.
*/
show: function apiShowTip(element, event) {
- if (event) {
+ // if we were supplied an event with a... | Added mouse event checking to API show() method.
This will prevent this function from throwing an error if it receives a
non-mouse event. | stevenbenner_jquery-powertip | train | js |
eebd46d662410bea9fa6af038ec857c9cbaca8a3 | diff --git a/vendor/assets/javascripts/bootstrap.js b/vendor/assets/javascripts/bootstrap.js
index <HASH>..<HASH> 100644
--- a/vendor/assets/javascripts/bootstrap.js
+++ b/vendor/assets/javascripts/bootstrap.js
@@ -2022,4 +2022,6 @@
})
-}(window.jQuery);
\ No newline at end of file
+}(window.jQuery);
+
+$('body'... | Quick'n'dirty patch to address touchscreen issues
The code taken from here:
<URL> | huginn_huginn | train | js |
cbdb6bc064e02225b37071efe65a9fa32d6fbd0b | diff --git a/mbed/mbed.py b/mbed/mbed.py
index <HASH>..<HASH> 100644
--- a/mbed/mbed.py
+++ b/mbed/mbed.py
@@ -1196,10 +1196,10 @@ class Program(object):
paths = []
mbed_os_path = self.get_os_dir()
if mbed_os_path:
+ paths.append([mbed_os_path, 'tools'])
paths.append([... | Support requirements.txt under the tools directory | ARMmbed_mbed-cli | train | py |
15ecbccbd3ec36fa96ea69d76bf4965705710290 | diff --git a/src/Providers/RouteServiceProvider.php b/src/Providers/RouteServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/RouteServiceProvider.php
+++ b/src/Providers/RouteServiceProvider.php
@@ -5,6 +5,7 @@ namespace TypiCMS\Modules\Users\Providers;
use Illuminate\Foundation\Support\Providers\Route... | SetLocale middleware added. | TypiCMS_Users | train | php |
d5fba7906dfb2ed02d3d3c88e63594fc69eefed7 | diff --git a/azure-eventhubs/src/main/java/com/microsoft/azure/eventhubs/PartitionReceiver.java b/azure-eventhubs/src/main/java/com/microsoft/azure/eventhubs/PartitionReceiver.java
index <HASH>..<HASH> 100644
--- a/azure-eventhubs/src/main/java/com/microsoft/azure/eventhubs/PartitionReceiver.java
+++ b/azure-eventhubs/... | Modifying traces in PartitionReceiver to avoid NPE (#<I>) | Azure_azure-sdk-for-java | train | java |
d616529afc6477226f2941ff03f8da9e91e5ec4d | diff --git a/category.go b/category.go
index <HASH>..<HASH> 100644
--- a/category.go
+++ b/category.go
@@ -39,9 +39,9 @@ func (c *commandCategories) AddCommand(category string, command *Command) {
}
func (c *commandCategories) Categories() []CommandCategory {
- ret := []CommandCategory{}
- for _, cat := range *c {
... | Use make once instead of a loop with append | urfave_cli | train | go |
a9cf5f952e18e528dc977bc7938b22a8ed5a2c90 | diff --git a/tests/json-fixtures/test_transactions.py b/tests/json-fixtures/test_transactions.py
index <HASH>..<HASH> 100644
--- a/tests/json-fixtures/test_transactions.py
+++ b/tests/json-fixtures/test_transactions.py
@@ -34,6 +34,9 @@ from eth.vm.forks.constantinople.transactions import (
from eth.vm.forks.petersbur... | test: Add IstanbulTransaction to json tests | ethereum_py-evm | train | py |
06e4c28ba5c1af63c192d3e4740c217541d91139 | diff --git a/src/org/joml/Math.java b/src/org/joml/Math.java
index <HASH>..<HASH> 100644
--- a/src/org/joml/Math.java
+++ b/src/org/joml/Math.java
@@ -243,7 +243,23 @@ public class Math {
return java.lang.Math.acos(r);
}
+ /**
+ * https://math.stackexchange.com/questions/1098487/atan2-faster-appr... | Add Math.atan2() approximation | JOML-CI_JOML | train | java |
4e847ce02075d621b16478da892a2c7b4ef357dd | diff --git a/util/pkg/vfs/s3context.go b/util/pkg/vfs/s3context.go
index <HASH>..<HASH> 100644
--- a/util/pkg/vfs/s3context.go
+++ b/util/pkg/vfs/s3context.go
@@ -130,7 +130,9 @@ func (s *S3Context) getRegionForBucket(bucket string) (string, error) {
var response *s3.GetBucketLocationOutput
s3Client, err := s.get... | Fix swallowed err variable in vfs package | kubernetes_kops | train | go |
864f14344ea05d133149102a0ccd5ebba33b07e5 | diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Page/Page.php
+++ b/system/src/Grav/Common/Page/Page.php
@@ -583,16 +583,50 @@ class Page
return $this->content;
}
+ /**
+ * Get the contentMeta array ... | Add method to get contentMeta and initialize content if needed | getgrav_grav | train | php |
155f1afe7a2c9a8e6863736f4ec793bb359bc075 | diff --git a/bin/extras/users/public-routes.js b/bin/extras/users/public-routes.js
index <HASH>..<HASH> 100644
--- a/bin/extras/users/public-routes.js
+++ b/bin/extras/users/public-routes.js
@@ -331,6 +331,10 @@ module.exports = function(model, app, express, models) {
//we email our user, notifying them that their... | corrected mail merge error with showing hashed password and not exposed password | haseebnqureshi_apiworks | train | js |
7b8519f50ec842cd2ece4058259fc034ea3da0c9 | diff --git a/libs/canvas.py b/libs/canvas.py
index <HASH>..<HASH> 100644
--- a/libs/canvas.py
+++ b/libs/canvas.py
@@ -283,14 +283,12 @@ class Canvas(QWidget):
if self.selectedVertex(): # A vertex is marked for selection.
index, shape = self.hVertex, self.hShape
shape.highlightVertex... | fix a bug to select a small bounding box | tzutalin_labelImg | train | py |
3a3d57c6ba906fc544edea132d3286616ed3d167 | diff --git a/scripts/convert5.3.php b/scripts/convert5.3.php
index <HASH>..<HASH> 100755
--- a/scripts/convert5.3.php
+++ b/scripts/convert5.3.php
@@ -40,6 +40,10 @@ function convertCustom($filepath, &$file)
array(
'if ($this->isFilter($tokenId))',
'if ($_this->isFilter($tokenId))'
+ ),
+ array(
+ ... | Play nicer with PHP <I> | s9e_TextFormatter | train | php |
8b9d3e7547c4832f4506251c56e70b650611b7bb | diff --git a/retrieval/scrape.go b/retrieval/scrape.go
index <HASH>..<HASH> 100644
--- a/retrieval/scrape.go
+++ b/retrieval/scrape.go
@@ -505,7 +505,7 @@ mainLoop:
// The append failed, probably due to a parse error.
// Call sl.append again with an empty scrape to trigger stale markers.
if _, _, err = sl.a... | Put end of run staleness handler in seperate function.
Improve log message. | prometheus_prometheus | train | go |
ec9731bfaf0026c038e48b2596206413b98f8ab2 | diff --git a/openid/message.py b/openid/message.py
index <HASH>..<HASH> 100644
--- a/openid/message.py
+++ b/openid/message.py
@@ -369,8 +369,9 @@ class Message(object):
namespace = self._fixNS(namespace)
del self.args[(namespace, key)]
-#XXX: testme!
class NamespaceMap(object):
+ """Maintains a... | [project @ Add a couple doc strings.] | openid_python-openid | train | py |
95dc9a58bf658326a21bdccd292d5e44e376dce3 | diff --git a/src/Object/BaseApiResource.php b/src/Object/BaseApiResource.php
index <HASH>..<HASH> 100644
--- a/src/Object/BaseApiResource.php
+++ b/src/Object/BaseApiResource.php
@@ -54,6 +54,18 @@ abstract class BaseApiResource extends BaseApiObject
}
/**
+ * @param array
+ * @return $this
+ */... | S<I> Move setData with tracking to BaseApiResource object | ExpandOnline_klipfolio-api-php | train | php,php |
c60f992c518853bd1f145fad8bd0f4f2ffa2581d | diff --git a/config/initializers/field_with_error_fix.rb b/config/initializers/field_with_error_fix.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/field_with_error_fix.rb
+++ b/config/initializers/field_with_error_fix.rb
@@ -1,3 +1,3 @@
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance|
- ... | fix encoding on field with errors | refinery_refinerycms | train | rb |
e88ec9eff09fae15b5bfb30392c826f0311608db | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -516,8 +516,11 @@ lib.watch = function(path) {
if (!h) {
// console.log('unknown changed file "'+p+'"')
} else {
- // console.log('Changed file "'+p+'"')
- onChangedPath(h)
+ if (!st... | Fixed bug: do not reload removed file. | lucidogen_lucy-live | train | js |
cff48e65e2fbccde8ee9fef0707c70adcd1505dd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ install_requires = ['enum-compat']
setup(
name='i3ipc',
- version='1.3.0',
+ version='1.4.0',
description='An improved Python library for i3wm extensions',
long_description=long_description... | Bump to version <I>
Version <I> adds the following bugfixes and features:
* Add container property 'floating'
* Add container property 'focus' (the focus stack)
* Add container info for window gaps
* Use native byte order everywhere
* Add descendents iterator to Con
* Add `Con.find_instanced()`
* Add documentation an... | acrisci_i3ipc-python | train | py |
9b7482afc5f5618e2cfc8c983ec556fff7a28094 | diff --git a/controllers/ThemeController.php b/controllers/ThemeController.php
index <HASH>..<HASH> 100644
--- a/controllers/ThemeController.php
+++ b/controllers/ThemeController.php
@@ -74,7 +74,7 @@ class ThemeController extends ApiController
if ($return)
return false;
- throw new CHttp... | Themes isInstalled now returns <I> instead of <I> when a theme is not installed | ciims_ciims-modules-api | train | php |
af24410360b3a836ff2e7ef91333cb15e2e4f2e2 | diff --git a/honcho/process.py b/honcho/process.py
index <HASH>..<HASH> 100644
--- a/honcho/process.py
+++ b/honcho/process.py
@@ -210,8 +210,8 @@ class ProcessManager(object):
def _enqueue_output(proc, queue):
- if not proc.quiet:
- for line in iter(proc.stdout.readline, b''):
+ for line in iter(proc... | process: Read stdout from "quiet" processes
It seems that simply not reading data from the STDOUT of quiet processes
could lead to all kinds of buffering problems. All we really need to
achieve is silent output, so this commit moves the conditional inwards
-- output is read, just not relayed by Honcho. | nickstenning_honcho | train | py |
df8f23da21f25459ee3bfcf74a20f81591b3a418 | diff --git a/spyder/widgets/variableexplorer/dataframeeditor.py b/spyder/widgets/variableexplorer/dataframeeditor.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/variableexplorer/dataframeeditor.py
+++ b/spyder/widgets/variableexplorer/dataframeeditor.py
@@ -14,7 +14,6 @@ Pandas DataFrame Editor Dialog
"""
# ... | Testing: Fix a couple of errors after Pandas <I> was released | spyder-ide_spyder | train | py |
1bc8560a7dc11b11b8d3edf0828a21748f534d91 | diff --git a/src/command.js b/src/command.js
index <HASH>..<HASH> 100644
--- a/src/command.js
+++ b/src/command.js
@@ -50,7 +50,7 @@ var command = function(name, opts, cb) {
if(matchedCommand) {
var commandResult = matchedCommand.getValue(_.drop(cliArgs, 1), cliOpts, parsedOptions.success, parentNam... | Subcommand usage: fix parent options passing | CleverCloud_cliparse-node | train | js |
a2d3cdc82d4cce6ea8d701d9ea9addac2a7226fc | diff --git a/src/phpDocumentor/Descriptor/Cache/ProjectDescriptorMapper.php b/src/phpDocumentor/Descriptor/Cache/ProjectDescriptorMapper.php
index <HASH>..<HASH> 100644
--- a/src/phpDocumentor/Descriptor/Cache/ProjectDescriptorMapper.php
+++ b/src/phpDocumentor/Descriptor/Cache/ProjectDescriptorMapper.php
@@ -70,7 +70,... | Make Settings import from Cache more resilient
Sometimes the import of the cache fails and the settings will actually cause
a fatal crash in the application. I have added a fix for this by making
the check for settings more strict by verifying if the received object is
actually a settings object instead of whether it ... | phpDocumentor_phpDocumentor2 | train | php |
63085b6ccd12953d210adcaef5b607b5fa21a5b6 | diff --git a/backbone.js b/backbone.js
index <HASH>..<HASH> 100644
--- a/backbone.js
+++ b/backbone.js
@@ -121,6 +121,7 @@
this.cid = _.uniqueId('c');
this.set(attributes || {}, {silent : true});
this._previousAttributes = _.clone(this.attributes);
+ if (this.initialize) this.initialize(attributes);
... | Calling 'initialize', if it is defined. | jashkenas_backbone | train | js |
234fd8793b0582715e1b238e8ee354202d81dd3a | diff --git a/lib/simple_oauth/header.rb b/lib/simple_oauth/header.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_oauth/header.rb
+++ b/lib/simple_oauth/header.rb
@@ -6,6 +6,9 @@ require 'cgi'
module SimpleOAuth
class Header
ATTRIBUTE_KEYS = [:callback, :consumer_key, :nonce, :signature_method, :timestamp, :to... | add IGNORED_KEYS for options used in signature calculations | laserlemon_simple_oauth | train | rb |
01c8a7c2e3b1dfc3fa5bb679f03d9fd9e5b5ad7e | diff --git a/test/samples/stats/unparsable_example.rb b/test/samples/stats/unparsable_example.rb
index <HASH>..<HASH> 100644
--- a/test/samples/stats/unparsable_example.rb
+++ b/test/samples/stats/unparsable_example.rb
@@ -1,2 +1 @@
-factory :<%= singular_name %> do
-end
+unparsable :<%= | Simplify file sample used for some tests | whitesmith_rubycritic | train | rb |
dbaec2e0c55023b687a9f9fb710c884167e57233 | diff --git a/nodeconductor/structure/executors.py b/nodeconductor/structure/executors.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/executors.py
+++ b/nodeconductor/structure/executors.py
@@ -125,7 +125,7 @@ class SynchronizableUpdateExecutor(SynchronizableExecutorMixin, ErrorExecutorMix
"""
... | Remove async kwarg from pre apply methods
- nc-<I> | opennode_waldur-core | train | py |
f288dc547568b1a0d391430131f2d63dedae5ac5 | diff --git a/src/ClassMemberNode.php b/src/ClassMemberNode.php
index <HASH>..<HASH> 100644
--- a/src/ClassMemberNode.php
+++ b/src/ClassMemberNode.php
@@ -15,6 +15,22 @@ class ClassMemberNode extends ParentNode {
*/
protected $value;
+ /**
+ * Creates a new class member.
+ *
+ * @param string $name
+ ... | Doc'd ClassMemberNode::create(). | grom358_pharborist | train | php |
7d95866919197a224303e104aa0ee7b69bbded74 | diff --git a/src/includes/functions/.build.in-base-dir.php b/src/includes/functions/.build.in-base-dir.php
index <HASH>..<HASH> 100644
--- a/src/includes/functions/.build.in-base-dir.php
+++ b/src/includes/functions/.build.in-base-dir.php
@@ -1,4 +1,10 @@
<?php
+/**
+ * Functions.
+ *
+ * @author @jaswsinc
+ * @copyri... | Enhancing docBlocks. | wpsharks_core | train | php |
0d782dd82fbab7784a5a1d0dafd19768df8c1768 | diff --git a/glfw.py b/glfw.py
index <HASH>..<HASH> 100644
--- a/glfw.py
+++ b/glfw.py
@@ -163,6 +163,7 @@ else:
['',
'/usr/lib64', '/usr/local/lib64',
'/usr/lib', '/usr/local/lib',
+ '/run/current-system/sw/lib... | Added a library search path for NixOS | FlorianRhiem_pyGLFW | train | py |
2acb85006a6d44c815b603803678a53825913d39 | diff --git a/src/python/grpcio_tests/tests/unit/_logging_test.py b/src/python/grpcio_tests/tests/unit/_logging_test.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio_tests/tests/unit/_logging_test.py
+++ b/src/python/grpcio_tests/tests/unit/_logging_test.py
@@ -15,15 +15,28 @@
import unittest
import six
-impor... | Add test for 'No handlers could be found' problem | grpc_grpc | train | py |
5621e9af2718015def5d926d52253909e1bb5b96 | diff --git a/tests/utils/helpers.py b/tests/utils/helpers.py
index <HASH>..<HASH> 100644
--- a/tests/utils/helpers.py
+++ b/tests/utils/helpers.py
@@ -194,7 +194,7 @@ def run_job(config_file, params=None, check_output=False):
If the return code of the subprocess call is not 0, a
:exception:`subprocess... | Also, use --force-inputs by default when running jobs in a test environment. (Makes for a cleaner test setup.) | gem_oq-engine | train | py |
1a0e55bf595b5f00eddc67c5d3684af31a1ae785 | diff --git a/Lib/fontParts/objects/abstract/contour.py b/Lib/fontParts/objects/abstract/contour.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/objects/abstract/contour.py
+++ b/Lib/fontParts/objects/abstract/contour.py
@@ -29,13 +29,11 @@ class BaseContour(BaseObject):
"""
Draw the contour with th... | These can be implemented by the base class. | robotools_fontParts | train | py |
3bd2c6714d75effea8c0c10ea929a69d497d96ea | diff --git a/tests/features/session/test_session.py b/tests/features/session/test_session.py
index <HASH>..<HASH> 100644
--- a/tests/features/session/test_session.py
+++ b/tests/features/session/test_session.py
@@ -5,7 +5,7 @@ from tests import TestCase
class TestSession(TestCase):
def test_default_sessiondriver(... | Dont rely on “default” driver as it may change | MasoniteFramework_masonite | train | py |
920dc25531373f00c0748face7f8e4f8ac3f1645 | diff --git a/cmd/kubeadm/app/constants/constants.go b/cmd/kubeadm/app/constants/constants.go
index <HASH>..<HASH> 100644
--- a/cmd/kubeadm/app/constants/constants.go
+++ b/cmd/kubeadm/app/constants/constants.go
@@ -469,7 +469,7 @@ var (
16: "3.3.17-0",
17: "3.4.3-0",
18: "3.4.3-0",
- 19: "3.4.9-1",
+ 19: "3.... | etcd version for <I> is <I> for cve fixes | kubernetes_kubernetes | train | go |
5d14555f878edcc3f1dd18e70706c47baedb74c8 | diff --git a/src/libtrash/tests/__init__.py b/src/libtrash/tests/__init__.py
index <HASH>..<HASH> 100755
--- a/src/libtrash/tests/__init__.py
+++ b/src/libtrash/tests/__init__.py
@@ -207,13 +207,15 @@ class TestTrashDirectory(unittest.TestCase) :
self.assertEqual(File("/"), td.volume)
def test_trash(self)... | Fixed TestTrashDirectory.test_trash, now works even if the volume of 'sandbox' is not '/'. | andreafrancia_trash-cli | train | py |
129f084609bc16a4bf2aff2bf059a77624b553f4 | diff --git a/platform/bb/rhodes/src/rhomobile/PushListeningThread.java b/platform/bb/rhodes/src/rhomobile/PushListeningThread.java
index <HASH>..<HASH> 100644
--- a/platform/bb/rhodes/src/rhomobile/PushListeningThread.java
+++ b/platform/bb/rhodes/src/rhomobile/PushListeningThread.java
@@ -59,7 +59,7 @@ public class Pu... | run only mds push by default | rhomobile_rhodes | train | java |
79f73d62e5082ee8d6b86a2487fd6267c1495fcd | diff --git a/transport/http2_server.go b/transport/http2_server.go
index <HASH>..<HASH> 100644
--- a/transport/http2_server.go
+++ b/transport/http2_server.go
@@ -342,7 +342,10 @@ func (t *http2Server) HandleStreams(handle func(*Stream), traceCtx func(context.
// Check the validity of client preface.
preface := mak... | Suppress server log message when EOF without receiving data for preface (#<I>) | grpc_grpc-go | train | go |
ebbde95ae93928dddeed35a745ba6a005f6499be | diff --git a/lib/active_merchant/billing/gateways/paypal_adaptive_payments/adaptive_payment_response.rb b/lib/active_merchant/billing/gateways/paypal_adaptive_payments/adaptive_payment_response.rb
index <HASH>..<HASH> 100644
--- a/lib/active_merchant/billing/gateways/paypal_adaptive_payments/adaptive_payment_response.r... | Expose raw and request objects for easier logging / debugging | jpablobr_active_paypal_adaptive_payment | train | rb |
3fefc607534d5da9c1831bd81eecaa7e588a0619 | diff --git a/heroku_connect/db/models/fields.py b/heroku_connect/db/models/fields.py
index <HASH>..<HASH> 100644
--- a/heroku_connect/db/models/fields.py
+++ b/heroku_connect/db/models/fields.py
@@ -15,9 +15,9 @@ from django.db import models
from django.utils import timezone
__all__ = (
- 'HerokuConnectFieldMixi... | Add TextAreaLong to __all__ along with the other classes (#<I>)
That should fix #<I> | Thermondo_django-heroku-connect | train | py |
021e0c5edc88dd2789866013a60bb9bfb0c4b3f1 | diff --git a/spec/dummy_test_app/config/application.rb b/spec/dummy_test_app/config/application.rb
index <HASH>..<HASH> 100644
--- a/spec/dummy_test_app/config/application.rb
+++ b/spec/dummy_test_app/config/application.rb
@@ -7,8 +7,9 @@ require "browse_everything"
module Dummy
class Application < Rails::Applica... | test with defaults for currently running Rails version | samvera_browse-everything | train | rb |
f6bdd064dd7f4a33434aed39075e84ed9f0eb289 | diff --git a/grimoire_elk/enriched/enrich.py b/grimoire_elk/enriched/enrich.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/enrich.py
+++ b/grimoire_elk/enriched/enrich.py
@@ -862,6 +862,12 @@ class Enrich(ElasticItems):
# Find the uuid for a given id.
id = utils.uuid(backend_name, ... | [enrich] Prevent find identities for none ids
This code prevents to query SortingHat when the ids returned by
the utils.uuid is none. A warning message is added to the log. | chaoss_grimoirelab-elk | train | py |
2439c8396e8ad89041081473a114e9a61039dab5 | diff --git a/timestreamdb.js b/timestreamdb.js
index <HASH>..<HASH> 100644
--- a/timestreamdb.js
+++ b/timestreamdb.js
@@ -36,10 +36,14 @@ function TimestreamDB(instance, options) {
var db = Version(instance, options)
- db.ts = function (key) {
- return ts(db.versionStream(key, {reverse: true}).pipe(toTimest... | Add support for start and end ranges at query time | brycebaril_timestreamdb | train | js |
8e47cd571d4f934476679bc8a78332baba2982cf | diff --git a/liquibase-core/src/main/java/liquibase/command/core/SnapshotCommand.java b/liquibase-core/src/main/java/liquibase/command/core/SnapshotCommand.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/command/core/SnapshotCommand.java
+++ b/liquibase-core/src/main/java/liquibase/command... | Log info message when doing a snapshot-related command on a non-Liquibase Pro supported platform
DAT-<I> | liquibase_liquibase | train | java |
1a5a2f76948ee345bcb91d409ede03e2563d1c33 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionOptimistic.java b/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionOptimistic.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionOptimistic.java
+++ b/core/src/main... | Reverted commit caused issues (found by CI) | orientechnologies_orientdb | train | java |
b86d3d692aa1a5417c2890f3fef78cc2dcfa6577 | diff --git a/buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java b/buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java
index <HASH>..<HASH> 100644
--- a/buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java
+++ b/buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java
@@ -331,7 +331,7 @@ public abstra... | Fix a bug where AbstractByteBuf.order() doesn't return a swapped buffer if capacity is 0.
- Fixes #<I> | netty_netty | train | java |
d81b3dd2bfb36abe23aaaf326744a97f3d000d90 | diff --git a/api/v1/api.go b/api/v1/api.go
index <HASH>..<HASH> 100644
--- a/api/v1/api.go
+++ b/api/v1/api.go
@@ -219,8 +219,14 @@ func (a *Api) setSinks(req *restful.Request, resp *restful.Response) {
func (a *Api) getSinks(req *restful.Request, resp *restful.Response) {
sinkUris := a.manager.SinkUris()
+ var st... | Fix bug introduced in <I>cc2d0c<I>b6
When introducing the new Uris type, I forgot to make the API endpoint return
the string representations of the type, and not the type itself.
This fixes the sinks endpoint integration tests. | kubernetes-retired_heapster | train | go |
7daac56de7b34bfd47f844f7d6cc64facded628b | diff --git a/source/rafcon/mvc/controllers/state_machine_tree.py b/source/rafcon/mvc/controllers/state_machine_tree.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/controllers/state_machine_tree.py
+++ b/source/rafcon/mvc/controllers/state_machine_tree.py
@@ -100,7 +100,9 @@ class StateMachineTreeController(Exte... | update method-ignore-list for notifications observed by state-machine-tree-widget | DLR-RM_RAFCON | train | py |
46051dad9cdf8889a6d854a0d84c6bd9d301e914 | diff --git a/bin/inline_forms_installer_core.rb b/bin/inline_forms_installer_core.rb
index <HASH>..<HASH> 100755
--- a/bin/inline_forms_installer_core.rb
+++ b/bin/inline_forms_installer_core.rb
@@ -9,7 +9,7 @@ gem 'rake'
gem 'jquery-rails'
gem 'jquery-ui-sass-rails'
gem 'capistrano'
-gem 'will_paginate', git: 'http... | will_paginate gave error; removed my branch and see if it still works with remote | acesuares_inline_forms | train | rb,rb |
f25893e31a1c38d9ff3d61f5083e40978ac0ac0d | diff --git a/net/interface.go b/net/interface.go
index <HASH>..<HASH> 100644
--- a/net/interface.go
+++ b/net/interface.go
@@ -27,7 +27,7 @@ type Network interface {
ClosePeer(peer.Peer) error
// IsConnected returns whether a connection to given peer exists.
- IsConnected(peer.Peer) (bool, error)
+ IsConnected(pe... | style(net) rm unused error
having an error return value makes the interface a bit confusing to
use. Just ponder... What would an error returned from a predicate
function mean?
License: MIT | ipfs_go-ipfs | train | go,go |
7e4fc94601d4f3545b1d221a8152842441183961 | diff --git a/flask_security/datastore.py b/flask_security/datastore.py
index <HASH>..<HASH> 100644
--- a/flask_security/datastore.py
+++ b/flask_security/datastore.py
@@ -195,7 +195,7 @@ class SQLAlchemyUserDatastore(SQLAlchemyDatastore, UserDatastore):
def _is_numeric(self, value):
try:
int(... | Fail silently for get_user(None)
get_user(identifier) checks if the identifier is a number by trying to convert it to int. This works for strings, but in a particular case, when identifier is None, it fails. Checking for both TypeError and ValueError fixes it. | mattupstate_flask-security | train | py |
0a2ad1311f4c81f1923035d381909a55ddabf4f0 | diff --git a/test/optimizer/level-1/optimize-test.js b/test/optimizer/level-1/optimize-test.js
index <HASH>..<HASH> 100644
--- a/test/optimizer/level-1/optimize-test.js
+++ b/test/optimizer/level-1/optimize-test.js
@@ -412,6 +412,10 @@ vows.describe('level 1 optimizations')
'8-value hex': [
'.block{colo... | See #<I> - adds test for HSL color with variables.
This has been fixed by level-1 optimizations rewrite. | jakubpawlowicz_clean-css | train | js |
feca4152ca00238a4c1ee26af907c79b558c8641 | diff --git a/src/Translator.php b/src/Translator.php
index <HASH>..<HASH> 100644
--- a/src/Translator.php
+++ b/src/Translator.php
@@ -16,8 +16,8 @@ class Translator implements \Nette\Localization\ITranslator {
/** @var Loader */
protected $loader;
- function __construct() {
- $this->loader = new Loader;
... | allowed manually setting loader for translator (via constructor) | nexendrie_translation | train | php |
0c49788b068efce246c97510aafb0de8f65a1803 | diff --git a/app/controllers/kuroko2/job_instances_controller.rb b/app/controllers/kuroko2/job_instances_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/kuroko2/job_instances_controller.rb
+++ b/app/controllers/kuroko2/job_instances_controller.rb
@@ -65,7 +65,7 @@ class Kuroko2::JobInstancesController <... | Fix N<I> query in /instances/working | cookpad_kuroko2 | train | rb |
65b1d7603bcb1fca06b1bb250897ff0247745f63 | diff --git a/stancache/stancache.py b/stancache/stancache.py
index <HASH>..<HASH> 100644
--- a/stancache/stancache.py
+++ b/stancache/stancache.py
@@ -50,10 +50,7 @@ def _make_digest_dict(k, prefix=''):
s = _make_digest(item, prefix=key+'-')
result.update({pre_key: _digest(s.encode())})
... | use hash for pandas DataFrame instead of pickled tuple | hammerlab_stancache | train | py |
14e8a283775e9cecf626599de1166684f5cc99c9 | diff --git a/openquake/baselib/tests/config_test.py b/openquake/baselib/tests/config_test.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/tests/config_test.py
+++ b/openquake/baselib/tests/config_test.py
@@ -17,6 +17,7 @@
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
import os
+import ... | Removed an assertion in ConfigPathsTestCase | gem_oq-engine | train | py |
08ab426e1edc5cffd4efbcb06196ddd9467e1c84 | diff --git a/spec/factories/notifications_client.rb b/spec/factories/notifications_client.rb
index <HASH>..<HASH> 100644
--- a/spec/factories/notifications_client.rb
+++ b/spec/factories/notifications_client.rb
@@ -2,8 +2,8 @@ FactoryGirl.define do
factory :notifications_client,
class: Notifications::Clie... | Use <I> char UUIDs
This makes it a more realistic test | alphagov_notifications-ruby-client | train | rb |
7ba229247886f3fedb98f887f68fcba1e344d9f2 | diff --git a/graylog2-server/src/main/java/org/graylog2/security/RestPermissions.java b/graylog2-server/src/main/java/org/graylog2/security/RestPermissions.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/security/RestPermissions.java
+++ b/graylog2-server/src/main/java/org/graylog2/sec... | Add JOURNAL_READ to reader base permissions.
This allows reader users to see the journal status and does not show a
misleading message about a disabled journal.
Fixes #<I>. | Graylog2_graylog2-server | train | java |
fbaef9bbb6266a427acd6fd3beedc0bd0c41e0fb | diff --git a/parsers/parser.class.php b/parsers/parser.class.php
index <HASH>..<HASH> 100644
--- a/parsers/parser.class.php
+++ b/parsers/parser.class.php
@@ -344,9 +344,15 @@ abstract class kintParser extends kintVariableData
{
// copy the object as an array
- $array = (array)$variable;
- $hash = spl_object_... | spl_object_hash implementation for <<I> PHP versions | kint-php_kint | train | php |
4c14b302f612b4da5acce69baf0a2071d1db1deb | diff --git a/patroni/utils.py b/patroni/utils.py
index <HASH>..<HASH> 100644
--- a/patroni/utils.py
+++ b/patroni/utils.py
@@ -362,7 +362,7 @@ def polling_loop(timeout, interval=1):
def split_host_port(value, default_port):
t = value.rsplit(':', 1)
if ':' in t[0]:
- t[0] = t[0].strip('[]')
+ t[... | Remove [] characters from IPv6 hosts when splitting to host and port (#<I>)
Close #<I> | zalando_patroni | train | py |
ee227809fd2e115cf48c1dff1d2efd4a29d7d89c | diff --git a/lib/pxproxy.js b/lib/pxproxy.js
index <HASH>..<HASH> 100644
--- a/lib/pxproxy.js
+++ b/lib/pxproxy.js
@@ -252,11 +252,15 @@ function parseBody(req) {
}
else {
if (typeof(req.body) === "object") {
- let result = [];
- for (key ... | added check for content type in parseBody (#<I>) | PerimeterX_perimeterx-node-core | train | js |
942074b6b51725046371eb62ed70399400d7f8eb | diff --git a/lib/preen.js b/lib/preen.js
index <HASH>..<HASH> 100644
--- a/lib/preen.js
+++ b/lib/preen.js
@@ -14,7 +14,8 @@ function preen(options, callback) {
bowerJSON = require(process.cwd()+'/'+bower.config.json);
}
catch(err) {
- console.error('\u001b[31m'+'Did not find '+bower.config.json+'\u001b[0... | Log out the error when reading bower.json fails
Also changed the wording in the error message to be more generic.
After a few minutes of trying to figure out why Preen couldn't find the
bower.json file in the directory I was running it in, I put in the error
logging and saw the problem was actually a a JSON formattin... | BradDenver_Preen | train | js |
6d933518f2689760bfc7b8aebab5c3b624a6946f | diff --git a/jOOX/src/main/java/org/joox/Match.java b/jOOX/src/main/java/org/joox/Match.java
index <HASH>..<HASH> 100644
--- a/jOOX/src/main/java/org/joox/Match.java
+++ b/jOOX/src/main/java/org/joox/Match.java
@@ -1677,12 +1677,14 @@ public interface Match extends Iterable<Element> {
Match empty();
/**
... | [#<I>] Improve Javadoc on the Match.remove() method | jOOQ_jOOX | train | java |
0b76100da08c67de00eebea2e4cbfe5c3413f1fe | diff --git a/command/init.go b/command/init.go
index <HASH>..<HASH> 100644
--- a/command/init.go
+++ b/command/init.go
@@ -165,7 +165,7 @@ func (c *InitCommand) Run(args []string) int {
// error suggesting the user upgrade their config manually or with
// Terraform v0.12
c.Ui.Error(strings.TrimSpace(errInitCon... | init: return proper config errors (#<I>)
Fixed a bug where we were returning earlyConfDiags instead of confDiags. | hashicorp_terraform | train | go |
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.