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 |
|---|---|---|---|---|---|
b352114289ead1899453250cf317db182e934579 | diff --git a/core/kernel.rb b/core/kernel.rb
index <HASH>..<HASH> 100644
--- a/core/kernel.rb
+++ b/core/kernel.rb
@@ -198,7 +198,7 @@ module Kernel
%x{
for (var i = 0; i < strs.length; i++) {
if(strs[i] instanceof Array) {
- #{ puts *strs }
+ #{ puts *`strs[i]` }
} else ... | Fix Kernel#puts when dealing with arrays | opal_opal | train | rb |
6c6192fa4f08946ca77dede2e422925c5e037874 | diff --git a/pkg/monitor/cmd.go b/pkg/monitor/cmd.go
index <HASH>..<HASH> 100644
--- a/pkg/monitor/cmd.go
+++ b/pkg/monitor/cmd.go
@@ -6,6 +6,7 @@ import (
"io"
"os"
"os/signal"
+ "strings"
"syscall"
"time"
)
@@ -60,7 +61,8 @@ func (opt *Options) Run() error {
if !event.From.Equal(event.To) {
co... | make sure event messages end up one one line and include counts | openshift_origin | train | go,go |
560490f2951e4c73c1610e737c25a50d227b1134 | diff --git a/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/internal/utils/OpenShiftUserApiUtils.java b/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/internal/utils/OpenShiftUserApiUtils.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/i... | update to add project as the group after service account token introspection(2) | OpenLiberty_open-liberty | train | java |
fa2340b1c3b4e3f473a87cdd02aa92d4696ea8c3 | diff --git a/photon/apitypes.go b/photon/apitypes.go
index <HASH>..<HASH> 100644
--- a/photon/apitypes.go
+++ b/photon/apitypes.go
@@ -441,18 +441,6 @@ type Hosts struct {
Items []Host `json:"items"`
}
-// Creation spec for deployments.
-type DeploymentCreateSpec struct {
- NTPEndpoint interface{} ... | Remove DeploymentDeployOperation since it is not being used anymore.
Change-Id: I<I>bc<I>b3dd<I>b<I>e7ddbc<I>adbcfee5 | vmware_photon-controller-go-sdk | train | go |
d8e4a2ca21c8ef14f762b324e8e3e303f9b6274f | diff --git a/lib/boxgrinder/appliance-image.rb b/lib/boxgrinder/appliance-image.rb
index <HASH>..<HASH> 100644
--- a/lib/boxgrinder/appliance-image.rb
+++ b/lib/boxgrinder/appliance-image.rb
@@ -109,6 +109,7 @@ module BoxGrinder
@log.debug "Installing BoxGrinder version files..."
guestfs.sh( "echo 'BOXG... | add appliance_name info to /etc/boxgrinder file | boxgrinder_boxgrinder-build | train | rb |
714fee1e5aa243e937ccdff6dad731d163aa2647 | diff --git a/src/Manager.php b/src/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Manager.php
+++ b/src/Manager.php
@@ -123,8 +123,8 @@ class Manager{
"\(". // Match opening parenthesis
"[\'\"]". // Match " or '
"(". ... | Added a slash as separator to iterate with subdirectories when use find command. (#<I>) | barryvdh_laravel-translation-manager | train | php |
25f67e31cdd210589ddd66d18e05ec11764ab7e7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,13 +24,13 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
setup(
name='pyhacrf',
- version='0.0.9',
+ version='0.0.10',
packages=['pyhacrf'],
install_requires=['numpy>=1.9', 'PyL... | Merged in the pre-calculation of lattice limit indices. | dirko_pyhacrf | train | py |
bc9673efe03a42587fd6ff0c14b5f0d3343659f4 | diff --git a/src/Models/BaseServiceConfigModel.php b/src/Models/BaseServiceConfigModel.php
index <HASH>..<HASH> 100644
--- a/src/Models/BaseServiceConfigModel.php
+++ b/src/Models/BaseServiceConfigModel.php
@@ -105,6 +105,10 @@ abstract class BaseServiceConfigModel extends BaseModel implements ServiceConfig
if... | hiding hidden column/fields on service config models schema | dreamfactorysoftware_df-core | train | php |
b478c506a625c820629bc81efa38a845f9280d2f | diff --git a/synapse/lib/ingest.py b/synapse/lib/ingest.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/ingest.py
+++ b/synapse/lib/ingest.py
@@ -692,7 +692,7 @@ class Ingest(EventBus):
return None
# FIXME optimize away the following format string
- valu = valu.re... | Stringify any tval we are going to replace inside of ingest template. This allows the use of integer values in xref node templates, which will then get fed through their normalizers. | vertexproject_synapse | train | py |
9e99099f5bfd5f61854727f265ac8dd178c6850d | diff --git a/setuptools/tests/test_build_meta.py b/setuptools/tests/test_build_meta.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/test_build_meta.py
+++ b/setuptools/tests/test_build_meta.py
@@ -643,7 +643,7 @@ class TestBuildMetaBackend:
build_backend = self.get_build_backend()
assert not Pat... | Adapt test_build_meta to the new format of editable_wheel options | pypa_setuptools | train | py |
ea5c15f2aabc15abffe60aaaab27e148a09639cb | diff --git a/test/unit/query/builder.js b/test/unit/query/builder.js
index <HASH>..<HASH> 100644
--- a/test/unit/query/builder.js
+++ b/test/unit/query/builder.js
@@ -2293,6 +2293,28 @@ module.exports = function(qb, clientName, aliasName) {
});
});
+ it('correctly orders parameters when selecting from ... | Added unit test for #<I>. | tgriesser_knex | train | js |
389701fbb5f7d8a0e252b25baec7bc3179b41f7a | diff --git a/tensorflow_datasets/core/features/feature.py b/tensorflow_datasets/core/features/feature.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/core/features/feature.py
+++ b/tensorflow_datasets/core/features/feature.py
@@ -600,6 +600,10 @@ class OneOf(FeaturesDict):
super(OneOf, self).__init__(feat... | Add direct access to the choice attributes of OneOf
PiperOrigin-RevId: <I> | tensorflow_datasets | train | py |
dd6950288fbf5edd37e44561f10249a9345934c8 | diff --git a/hystrix-core/src/test/java/com/netflix/hystrix/HystrixCommandTest.java b/hystrix-core/src/test/java/com/netflix/hystrix/HystrixCommandTest.java
index <HASH>..<HASH> 100644
--- a/hystrix-core/src/test/java/com/netflix/hystrix/HystrixCommandTest.java
+++ b/hystrix-core/src/test/java/com/netflix/hystrix/Hystr... | Deflaked test of semaphore concurrency | Netflix_Hystrix | train | java |
3a4f5ff6d7699f34e7bcf4adba785881b84600d6 | diff --git a/hendrix/facilities/resources.py b/hendrix/facilities/resources.py
index <HASH>..<HASH> 100644
--- a/hendrix/facilities/resources.py
+++ b/hendrix/facilities/resources.py
@@ -90,7 +90,7 @@ class HendrixResource(resource.Resource):
name = parts[-1] # get the path part that we care about
... | Fixed incorrect method name. #<I>. | hendrix_hendrix | train | py |
ddf93685da3da298008e24bdfedd1950fa48e091 | diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb
index <HASH>..<HASH> 100644
--- a/spec/dummy/config/application.rb
+++ b/spec/dummy/config/application.rb
@@ -5,6 +5,7 @@ require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
require "sassc-rai... | Require Plek in the Dummy App
The dummy app located in `spec/dummy` couldn't be started because the Plek gem wasn't being included in `application.rb`.
Whilst this isn't needed for tests to run, it's useful to be able to fire up the dummy app in dev mode and view it in your browser.
To run the app:
```
cd spec/dumm... | alphagov_govuk_admin_template | train | rb |
3e3cfcc97b16f8e114031d78ba6399030ff1e708 | diff --git a/cmd/kubeadm/app/master/manifests.go b/cmd/kubeadm/app/master/manifests.go
index <HASH>..<HASH> 100644
--- a/cmd/kubeadm/app/master/manifests.go
+++ b/cmd/kubeadm/app/master/manifests.go
@@ -110,7 +110,6 @@ func WriteStaticPodManifests(cfg *kubeadmapi.MasterConfiguration) error {
VolumeMounts: []api.Vo... | Don't restrict etcd on self host installs b/c a clipped etcd can have
weird behaviors once it is loaded | kubernetes_kubernetes | train | go |
975ea60a5b100b2c27a0f75b078b991ac40bbf6d | diff --git a/public/javascripts/system_template.js b/public/javascripts/system_template.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/system_template.js
+++ b/public/javascripts/system_template.js
@@ -108,6 +108,13 @@ KT.templates = function() {
trail: ['templates', template_root],
u... | <I> - Fixes issue where creating a new system template and then clicking Package Groups resulted in being return to list of templates. | Katello_katello | train | js |
12ffb96249e7c42d6b6ac7f45a40f30f392c7459 | diff --git a/tests/Feature/FileAdder/MediaConversions/AddMedia.php b/tests/Feature/FileAdder/MediaConversions/AddMedia.php
index <HASH>..<HASH> 100644
--- a/tests/Feature/FileAdder/MediaConversions/AddMedia.php
+++ b/tests/Feature/FileAdder/MediaConversions/AddMedia.php
@@ -105,7 +105,7 @@ class AddMedia extends TestCa... | Use combined assignment operator (#<I>) | spatie_laravel-medialibrary | train | php |
f97ea075866cf67e873c072613e058be160d5340 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import setup
setup(
name='django-scheduler',
- version='0.7.1',
+ version='0.7.2',
description='A calendaring app for Django.',
author='Leonardo Lazzaro',
author_email=... | Update scheduler version for fixing a broken pypi build | llazzaro_django-scheduler | train | py |
fdaa9662b63a2e5c6203a2471bdf631da4ca1128 | diff --git a/test/org/mockito/internal/invocation/InvocationTest.java b/test/org/mockito/internal/invocation/InvocationTest.java
index <HASH>..<HASH> 100644
--- a/test/org/mockito/internal/invocation/InvocationTest.java
+++ b/test/org/mockito/internal/invocation/InvocationTest.java
@@ -134,6 +134,6 @@ public class Invo... | commented out to make build happy
--HG--
extra : convert_revision : svn%3Aaa2aecf3-ea3e-<I>-9d<I>-<I>e7c<I>/trunk%<I> | mockito_mockito | train | java |
c8e5574b385bcb5a64d6bd469a03fbf6c376471e | diff --git a/edeposit/amqp/alephdaemon.py b/edeposit/amqp/alephdaemon.py
index <HASH>..<HASH> 100755
--- a/edeposit/amqp/alephdaemon.py
+++ b/edeposit/amqp/alephdaemon.py
@@ -29,11 +29,15 @@ class AlephDaemon(pikadaemon.PikaDaemon):
#= Main program ===============================================================
if ... | --foreground invocation changed. | edeposit_edeposit.amqp | train | py |
4e0d0c226403c270c230d1f5753c8321e489e392 | diff --git a/commands/push_test.go b/commands/push_test.go
index <HASH>..<HASH> 100644
--- a/commands/push_test.go
+++ b/commands/push_test.go
@@ -30,7 +30,7 @@ func TestPushToMaster(t *testing.T) {
repo.WriteFile(filepath.Join(repo.Path, ".gitattributes"), "*.dat filter=lfs -crlf\n")
- // Add a hawser file
+ ... | Replace Hawser reference with Git LFS in comment
Just improves readability of test :) | git-lfs_git-lfs | train | go |
0030d6e6409292e22c2e710707cc5a7bbef64c0e | diff --git a/fudge/util.py b/fudge/util.py
index <HASH>..<HASH> 100644
--- a/fudge/util.py
+++ b/fudge/util.py
@@ -34,4 +34,3 @@ def fmt_dict_vals(dict_vals, shorten=True):
if not items:
return [fmt_val(None, shorten=shorten)]
return ["%s=%s" % (k, fmt_val(v, shorten=shorten)) for k,v in items]
- ... | Fixed white space error which caused a SyntaxError when imported from a zipfile | fudge-py_fudge | train | py |
801daeaec01bef143b3e8bdd60c00a1bf0ffdc01 | diff --git a/core/app/assets/javascripts/refinery/admin.js b/core/app/assets/javascripts/refinery/admin.js
index <HASH>..<HASH> 100644
--- a/core/app/assets/javascripts/refinery/admin.js
+++ b/core/app/assets/javascripts/refinery/admin.js
@@ -96,6 +96,7 @@ init_modal_dialogs = function(){
};
trigger_reordering = fu... | added a reference to the menu back in admin.js that was taken out by mistake | refinery_refinerycms | train | js |
3d05951b12c04219c30d27c31e52aa9f7c6913fb | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -181,13 +181,15 @@ setup(
"MutatorMath>=2.1.1",
"defcon>=0.5.2",
"booleanOperations>=0.8.0",
+ "ufoLib[lxml]>=2.3.1",
],
extras_require = {
"pathops": [
"skia-p... | setup.py: make lxml required, not extra
lxml now has wheels for all the platforms and python versions that we support,
so let's require it. | googlefonts_fontmake | train | py |
41a95b11cd1c5b7fc1cec8d6ea8f112c910faf5a | diff --git a/core/src/main/java/org/acegisecurity/userdetails/UserDetails.java b/core/src/main/java/org/acegisecurity/userdetails/UserDetails.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/acegisecurity/userdetails/UserDetails.java
+++ b/core/src/main/java/org/acegisecurity/userdetails/UserDetails.java
@... | Corrected wrong package name in Javadoc. | spring-projects_spring-security | train | java |
c656a1a15147ffce08be444727673cb637f19df4 | diff --git a/lib/engine_handlebars.js b/lib/engine_handlebars.js
index <HASH>..<HASH> 100644
--- a/lib/engine_handlebars.js
+++ b/lib/engine_handlebars.js
@@ -44,8 +44,8 @@ var engine_handlebars = {
return compiled(data);
},
- registerPartial: function (oPattern) {
- Handlebars.registerPartial(oPattern.ke... | Pass the unit tests -- had to convert pattern.key to pattern.patternPartial | pattern-lab_patternengine-node-underscore | train | js |
1c84bf726004c0f8af8476216e385957e23e96ce | diff --git a/plotypus.py b/plotypus.py
index <HASH>..<HASH> 100644
--- a/plotypus.py
+++ b/plotypus.py
@@ -36,10 +36,9 @@ def main():
norm_matrix)
eigenvectors, principle_scores, std_norm_reconstruction = pcat(
norm_matrix)
- reconstruction = unstandardize(unnormalize(
- ... | Had unnormalization and unstandardization in reverse order. Fixing that. | astroswego_plotypus | train | py |
d3d9dfadb1c8d1dafb119bdae933eea7e971f80d | diff --git a/test/unexpected.spec.js b/test/unexpected.spec.js
index <HASH>..<HASH> 100644
--- a/test/unexpected.spec.js
+++ b/test/unexpected.spec.js
@@ -864,12 +864,12 @@ describe('unexpected', function () {
expect(NaN, 'not to be finite');
expect(null, 'not to be finite');
expe... | Fixed some tests that was nested by mistake | unexpectedjs_unexpected | train | js |
3476a3d6feffdb5efb910ca98a9efdd976354cc9 | diff --git a/googleanalytics/columns.py b/googleanalytics/columns.py
index <HASH>..<HASH> 100644
--- a/googleanalytics/columns.py
+++ b/googleanalytics/columns.py
@@ -8,7 +8,6 @@ from addressable import map, filter
from . import utils
-TODO = utils.identity
TYPES = {
'STRING': utils.unicode, | Remove lingering reference to type preprocessing TODO. | debrouwere_google-analytics | train | py |
e57c20d6b7ca501bb055d04e23cfe15d01ac0307 | diff --git a/lib/wikipedia/page.rb b/lib/wikipedia/page.rb
index <HASH>..<HASH> 100644
--- a/lib/wikipedia/page.rb
+++ b/lib/wikipedia/page.rb
@@ -45,7 +45,7 @@ module Wikipedia
end
def summary
- s = (page['extract'].split(pattern="=="))[0].strip
+ (page['extract'].split(pattern="=="))[0].strip
... | Removed useless assignment to variable s | kenpratt_wikipedia-client | train | rb |
02294373de57aa9b485e33f6490df24ff964d2e2 | diff --git a/yotta/test/cli/publish.py b/yotta/test/cli/publish.py
index <HASH>..<HASH> 100644
--- a/yotta/test/cli/publish.py
+++ b/yotta/test/cli/publish.py
@@ -52,6 +52,13 @@ Private_Module_JSON = '''{
}
'''
+Public_Module_JSON = '''{
+ "name": "testmod",
+ "version": "0.0.0",
+ "license": "Apache-2.0"
+}'''
... | add test for non-interactive publish | ARMmbed_yotta | train | py |
91193e6521e3c85f85164f8e6d1752330a01d455 | diff --git a/gitlabhook.js b/gitlabhook.js
index <HASH>..<HASH> 100644
--- a/gitlabhook.js
+++ b/gitlabhook.js
@@ -111,7 +111,7 @@ function reply(statusCode, res) {
}
function executeShellCmds(self, address, data) {
- var repo = data.repository.name;
+ var repo = data.repository.name.replace(/[&|;$`]/gi, "");
... | [huntr.dev] <I>-JS-NODE-GITLAB-HOOK
Overview
Affected versions of this package are vulnerable to Arbitrary Code Execution. Function ExecFile executes commands without any sanitization. User input gets passed directly to this command.
Remediation
The fix handle malicious characters from the repository name.
Ref... | rolfn_node-gitlab-hook | train | js |
70d6ebe037ef7cf94d4c751a7a141a6e68d5e65b | diff --git a/Manager/DataTablesManager.php b/Manager/DataTablesManager.php
index <HASH>..<HASH> 100644
--- a/Manager/DataTablesManager.php
+++ b/Manager/DataTablesManager.php
@@ -30,7 +30,7 @@ class DataTablesManager extends AbstractManager {
*
* @var string
*/
- const SERVICE_NAME = "webeweb.jquer... | Fix service name (snake case) | webeweb_jquery-datatables-bundle | train | php,php |
baa306526b5d0239b7494df8aa3592e511501913 | diff --git a/test/transform-test.js b/test/transform-test.js
index <HASH>..<HASH> 100644
--- a/test/transform-test.js
+++ b/test/transform-test.js
@@ -234,9 +234,9 @@ $(document).ready( function() {
return each(__cb(_, function() {
f4();
return __();
- }), arr, function(_, elt) {
+ }), arr, function _... | fixed bug introduced by futures on anonymous functions | Sage_streamlinejs | train | js |
ae4029a97706366ca14fb0fcb24d1969df15f298 | diff --git a/pydocumentdb/http_constants.py b/pydocumentdb/http_constants.py
index <HASH>..<HASH> 100644
--- a/pydocumentdb/http_constants.py
+++ b/pydocumentdb/http_constants.py
@@ -245,7 +245,7 @@ class Versions:
"""
CurrentVersion = '2017-11-15'
SDKName = 'documentdb-python-sdk'
- SDKVersion = '2.3... | bumped version to <I>-SNAPSHOT | Azure_azure-cosmos-python | train | py,py |
7e319ce5b1aa0930abf2e7eea220aad626290ab8 | diff --git a/nodeconductor/cost_tracking/serializers.py b/nodeconductor/cost_tracking/serializers.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/cost_tracking/serializers.py
+++ b/nodeconductor/cost_tracking/serializers.py
@@ -132,7 +132,10 @@ def get_price_estimate_for_project(serializer, project):
try:
... | Expose default threshold and total for price estimate (NC-<I>) | opennode_waldur-core | train | py |
6f169a02b2bd489b5060422b3f1fda45c5f8b05e | diff --git a/closure/goog/ui/ac/autocomplete.js b/closure/goog/ui/ac/autocomplete.js
index <HASH>..<HASH> 100644
--- a/closure/goog/ui/ac/autocomplete.js
+++ b/closure/goog/ui/ac/autocomplete.js
@@ -647,7 +647,8 @@ goog.ui.ac.AutoComplete.prototype.selectHilited = function() {
if (!suppressUpdate) {
this.di... | Include the selected item's index on UPDATE events.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
df80bde74c7c05a8c15e3511cf29fbf27d092e62 | diff --git a/src/DB_Command.php b/src/DB_Command.php
index <HASH>..<HASH> 100644
--- a/src/DB_Command.php
+++ b/src/DB_Command.php
@@ -1026,7 +1026,7 @@ class DB_Command extends WP_CLI_Command {
/**
* Finds a string in the database.
*
- * Searches through all or a selection of database tables for a given strin... | Document that individual text columns are searched. | wp-cli_db-command | train | php |
ea435b1274989fa4f4ac085def4fd144ce9c1b22 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -53,7 +53,7 @@ var getTasks = module.exports.tasks = function (options) {
}
grunt.util.spawn({
cmd: 'grunt',
- args: [name, '--force']
+... | Pass verbose argument to spawned grunt command | maxov_gulp-grunt | train | js |
db5632d3ba51ba28c048c22ed8048cf627b9d872 | diff --git a/lib/offendersHelpers.js b/lib/offendersHelpers.js
index <HASH>..<HASH> 100644
--- a/lib/offendersHelpers.js
+++ b/lib/offendersHelpers.js
@@ -175,7 +175,7 @@ var OffendersHelpers = function() {
// Remove any line breaks
offender = offender.replace(/(\r\n|\n|\r)/gm, '');
- var par... | Fix a phantomas offender parsing problem with spaces | gmetais_YellowLabTools | train | js |
a51b2666d746738092b20196a79c02b8dc0c83ac | diff --git a/head.go b/head.go
index <HASH>..<HASH> 100644
--- a/head.go
+++ b/head.go
@@ -565,6 +565,8 @@ func (h *headBlock) create(hash uint64, lset labels.Labels) *memSeries {
lset: lset,
ref: uint32(len(h.series)),
}
+ // create the initial chunk and appender
+ s.cut()
// Allocate empty space until we... | Fix Panic When Accessing Uncut memorySeries
When calling AddFast, we check the details of the head chunk of the
referred memorySeries. But it could happen that there are no chunks in
the series at all.
Currently, we are deferring chunk creation to when we actually append
samples, but we can be sure that there will be... | prometheus_prometheus | train | go |
405110c27afcc01b916ebdddfc806e31448c2d8d | diff --git a/slumber/__init__.py b/slumber/__init__.py
index <HASH>..<HASH> 100644
--- a/slumber/__init__.py
+++ b/slumber/__init__.py
@@ -139,7 +139,7 @@ class Resource(ResourceAttributesMixin, object):
resp = self._request("PATCH", data=s.dumps(data), params=kwargs)
if 200 <= resp.status_code <= 2... | Using the correct status_code for PATCH requests (<I>). | samgiles_slumber | train | py |
50a329a93a00e10287bae88d5aa51313028aeb10 | diff --git a/src/main/java/com/couchbase/lite/replicator/ChangeTracker.java b/src/main/java/com/couchbase/lite/replicator/ChangeTracker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/couchbase/lite/replicator/ChangeTracker.java
+++ b/src/main/java/com/couchbase/lite/replicator/ChangeTracker.java
@@ -258,6 +25... | Fix for issue #<I>. Unit test added in last commit now passes.
<URL> | couchbase_couchbase-lite-java-core | train | java |
7b53074206622f5cf5d82091d891a7ed8b9f06cd | diff --git a/core/src/main/java/com/kaichunlin/transition/animation/TransitionAnimation.java b/core/src/main/java/com/kaichunlin/transition/animation/TransitionAnimation.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/kaichunlin/transition/animation/TransitionAnimation.java
+++ b/core/src/main/java/com/ka... | Fix TransitionAnimation.resetAnimation crashing when animation was not started | kaichunlin_android-transition | train | java |
d36542597eff015e5a3e959cee018e37fb72029f | diff --git a/svglib/svglib.py b/svglib/svglib.py
index <HASH>..<HASH> 100755
--- a/svglib/svglib.py
+++ b/svglib/svglib.py
@@ -1009,7 +1009,7 @@ class Svg2RlgShapeConverter(SvgShapeConverter):
shape.fillColor.alpha = shape.fillOpacity
-def svg2rlg(path,**kwargs):
+def svg2rlg(path, **kwargs):
"Con... | added Claude's pep8 space :(
--HG--
branch : colorConverter | deeplook_svglib | train | py |
56e7c71f094471fd3920381889295959a473f8b5 | diff --git a/chef/lib/chef/knife/cookbook_test.rb b/chef/lib/chef/knife/cookbook_test.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/knife/cookbook_test.rb
+++ b/chef/lib/chef/knife/cookbook_test.rb
@@ -45,15 +45,20 @@ class Chef
def run
config[:cookbook_path] ||= Chef::Config[:cookbook_path]
+ ... | Updating debugging when cookbook test has no cookbooks - CHEF-<I> | chef_chef | train | rb |
2e8ebc0e27745e66ecadfc2419826414c43326f0 | diff --git a/connection_test.go b/connection_test.go
index <HASH>..<HASH> 100644
--- a/connection_test.go
+++ b/connection_test.go
@@ -727,7 +727,4 @@ func TestFatalTxError(t *testing.T) {
if conn.IsAlive() {
t.Fatal("Connection should not be live but was")
}
- if conn.CauseOfDeath().Error() != "EOF" {
- t.Fata... | Don't test cause of death for killed connection
Different platforms have different causes of death | jackc_pgx | train | go |
800268bc8c416259da329bf6e59147a67ef90dfa | diff --git a/src/app/n2n/util/ex/IllegalStateException.php b/src/app/n2n/util/ex/IllegalStateException.php
index <HASH>..<HASH> 100644
--- a/src/app/n2n/util/ex/IllegalStateException.php
+++ b/src/app/n2n/util/ex/IllegalStateException.php
@@ -26,9 +26,9 @@ namespace n2n\util\ex;
* is not in an appropriate state for t... | Bs responsive img (MimgBs) added. | n2n_n2n-util | train | php |
ebec180691aa5642bf78324d68db547d93f6ae02 | diff --git a/fusesoc/capi1/core.py b/fusesoc/capi1/core.py
index <HASH>..<HASH> 100644
--- a/fusesoc/capi1/core.py
+++ b/fusesoc/capi1/core.py
@@ -338,7 +338,7 @@ class Core:
if 'tool' in flags:
if flags['tool'] in ['ghdl', 'icarus', 'isim', 'modelsim', 'rivierapro', 'xsim']:
flow... | CAPI1: Pass "synth" file lists to Spyglass | olofk_fusesoc | train | py |
9d3037f582cab94070f84fcc3bd72daaa7f99a9a | diff --git a/cleverhans_tutorials/tutorial_models.py b/cleverhans_tutorials/tutorial_models.py
index <HASH>..<HASH> 100644
--- a/cleverhans_tutorials/tutorial_models.py
+++ b/cleverhans_tutorials/tutorial_models.py
@@ -99,7 +99,7 @@ class Conv2D(Layer):
dummy_batch = tf.zeros(input_shape)
dummy_output... | correct batch_size in output_shape and delete a redundant method | tensorflow_cleverhans | train | py |
2370d39e8905529de585758c8ccdfe11943d7dd4 | diff --git a/plugins/outputs/graylog/graylog.go b/plugins/outputs/graylog/graylog.go
index <HASH>..<HASH> 100644
--- a/plugins/outputs/graylog/graylog.go
+++ b/plugins/outputs/graylog/graylog.go
@@ -214,7 +214,7 @@ func (g *Graylog) serialize(metric telegraf.Metric) ([]string, error) {
m := make(map[string]interfac... | fix: output timestamp with fractional seconds (#<I>) | influxdata_telegraf | train | go |
edc388f3984fbcaa1a093b822a3c2e20f33f7de4 | diff --git a/sharding-core/src/main/java/io/shardingsphere/core/yaml/sharding/YamlTableRuleConfiguration.java b/sharding-core/src/main/java/io/shardingsphere/core/yaml/sharding/YamlTableRuleConfiguration.java
index <HASH>..<HASH> 100644
--- a/sharding-core/src/main/java/io/shardingsphere/core/yaml/sharding/YamlTableRul... | Removed useless codes in YamlTableRuleConfiguration. | apache_incubator-shardingsphere | train | java |
ab308fb8a3d3ad747e5cc2c3ad6f4fd8b442844c | diff --git a/src/main/java/net/bootsfaces/component/fullCalendar/FullCalendarRenderer.java b/src/main/java/net/bootsfaces/component/fullCalendar/FullCalendarRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/bootsfaces/component/fullCalendar/FullCalendarRenderer.java
+++ b/src/main/java/net/bootsfaces/co... | DEV: added comment how to transfer changes to backing bean | TheCoder4eu_BootsFaces-OSP | train | java |
b171a6a8a3903e75b3d0cb59ceb9a85bb7d97ce2 | diff --git a/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php b/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php
+++ b/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php
@@ -49,6 +49,7 @@ class EntityType extends AbstractTy... | Added `group_by` to EntityType | symfony_symfony | train | php |
39a89cd905b34c851cafcd7532d989f948b86689 | diff --git a/dallinger/recruiters.py b/dallinger/recruiters.py
index <HASH>..<HASH> 100644
--- a/dallinger/recruiters.py
+++ b/dallinger/recruiters.py
@@ -685,12 +685,9 @@ class MTurkRecruiter(Recruiter):
hits = self.mturkservice.get_hits(
hit_filter=lambda h: h["annotation"] == experiment_id
... | Just use early return to avoid iterator paperwork | Dallinger_Dallinger | train | py |
d847b056c0bcea0ea4ba3f907b42cefa10ead51e | diff --git a/tests/cases/core/LibrariesTest.php b/tests/cases/core/LibrariesTest.php
index <HASH>..<HASH> 100644
--- a/tests/cases/core/LibrariesTest.php
+++ b/tests/cases/core/LibrariesTest.php
@@ -99,7 +99,7 @@ class LibrariesTest extends \lithium\test\Unit {
public function testLibraryConfigAccess() {
$result =... | Fixing a test in `\core\Libraries` where symlinked Lithium directories are matched properly. | UnionOfRAD_lithium | train | php |
a885f1bdff2ae3c39a3ea6d84dabc24775831e1d | diff --git a/command/agent/local.go b/command/agent/local.go
index <HASH>..<HASH> 100644
--- a/command/agent/local.go
+++ b/command/agent/local.go
@@ -439,7 +439,7 @@ func (l *localState) setSyncState() error {
eCopy := existing.Clone()
// Copy the server's check before modifying, otherwise
- // in-memory R... | Tweaks comment about side effects. | hashicorp_consul | train | go |
4f259ed84b169006c578eb13dfd8e0c650fd5807 | diff --git a/src/feat/web/webserver.py b/src/feat/web/webserver.py
index <HASH>..<HASH> 100644
--- a/src/feat/web/webserver.py
+++ b/src/feat/web/webserver.py
@@ -1873,7 +1873,9 @@ class Response(log.Logger):
return
status = http.Status[self._request._ref.code].name
- self._request.debug(... | Include information about time of processing of web request. | f3at_feat | train | py |
68e2a875da30cbea9e774b76ce39e8b340857e70 | diff --git a/test/dummy/db/migrate/20110208155312_set_up_test_tables.rb b/test/dummy/db/migrate/20110208155312_set_up_test_tables.rb
index <HASH>..<HASH> 100644
--- a/test/dummy/db/migrate/20110208155312_set_up_test_tables.rb
+++ b/test/dummy/db/migrate/20110208155312_set_up_test_tables.rb
@@ -12,7 +12,7 @@ class SetUp... | Get rid of deprecation warning on dummy app migrations on Travis | paper-trail-gem_paper_trail | train | rb |
fa45ec8d056df77f035e485d795e4e7d17912e00 | diff --git a/checker/tests/result_test.py b/checker/tests/result_test.py
index <HASH>..<HASH> 100644
--- a/checker/tests/result_test.py
+++ b/checker/tests/result_test.py
@@ -151,6 +151,7 @@ class FontToolsTest(TestCase):
url = 'http://fonts.googleapis.com/css?family=%s' % metadata['name'].replace(' ', '+')
... | If font is in GWF then check for visibility == 'External' | googlefonts_fontbakery | train | py |
2eea0635b874c4c55cdeb029ef55c9de5358e37d | diff --git a/Tests/System/ApplicationBundle/PhpListApplicationBundleTest.php b/Tests/System/ApplicationBundle/PhpListApplicationBundleTest.php
index <HASH>..<HASH> 100644
--- a/Tests/System/ApplicationBundle/PhpListApplicationBundleTest.php
+++ b/Tests/System/ApplicationBundle/PhpListApplicationBundleTest.php
@@ -51,7 ... | [CLEANUP] Use Guzzle's convenience methods in the system tests (#<I>)
This makes the code more concise. | phpList_core | train | php |
54df7bd86acf8b9ce2a07d6621e81351218e86ef | diff --git a/lib/Thelia/Core/Template/Loop/Feature.php b/lib/Thelia/Core/Template/Loop/Feature.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Core/Template/Loop/Feature.php
+++ b/lib/Thelia/Core/Template/Loop/Feature.php
@@ -123,11 +123,13 @@ class Feature extends BaseI18nLoop implements PropelSearchLoopInterface
... | Patch for #<I> for backend context | thelia_core | train | php |
7a7cf30fe5b02cb0bdb0b3d0f09ae1bb8f1b33a3 | diff --git a/bloop/engine.py b/bloop/engine.py
index <HASH>..<HASH> 100644
--- a/bloop/engine.py
+++ b/bloop/engine.py
@@ -237,7 +237,7 @@ class Engine:
projection=projection, limit=limit, consistent=consistent)
return iter(s.prepare())
- def stream(self, model, position, strict: bool=False) ... | remove strict arg from Stream.move_to #<I> | numberoverzero_bloop | train | py |
5b68f68e705381964cc0f3ea2b64ce1672ce8f32 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -172,4 +172,25 @@ describe('gulp-bump: JSON comparison fixtures', function() {
bumpS.write(fakeFile);
bumpS.end();
});
+
+ it('should bump one key by default', function(done) {
+ var fakeFi... | Add test for bumping only one key | stevelacy_gulp-bump | train | js |
3594bffbdc53615b50e8c27135b51ac00f311e30 | diff --git a/src/main/java/com/chaschev/chutils/Main.java b/src/main/java/com/chaschev/chutils/Main.java
index <HASH>..<HASH> 100755
--- a/src/main/java/com/chaschev/chutils/Main.java
+++ b/src/main/java/com/chaschev/chutils/Main.java
@@ -7,11 +7,17 @@ import com.google.common.base.Strings;
*/
public class Main {
... | Updated dialog for the Installation example. | chaschev_chutils | train | java |
4b501bdb6841a7a855b3d512efcb3e36a6fecccf | diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/hash_with_indifferent_access.rb
+++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -3... | Hide internal utility methods in the public API doc [ci skip]
I digged the history for the internal utility methods (`convert_key`,
`convert_value`, and `set_defaults`), I believe it is apparently not
intended to appear them in the public API doc.
* `convert_key`, `convert_value`: <I>
* `set_defaults`: #<I>
<URL>, s... | rails_rails | train | rb |
f47f7a21e666903c5c6fda473347d3013c11644c | diff --git a/lib/nearley.js b/lib/nearley.js
index <HASH>..<HASH> 100644
--- a/lib/nearley.js
+++ b/lib/nearley.js
@@ -69,8 +69,9 @@ State.prototype.process = function(location, ind, table, rules, addedRules) {
this.data = this.rule.postprocess(this.data, this.reference, Parser.fail);
}
i... | Fix for strict mode
Line <I> causes the following error in strict mode: `In strict mode, function declarations cannot be nested inside a statement or block. They may only appear at the top level or directly inside a function body.`
This is simply fixed by assigning the function to a variable. | kach_nearley | train | js |
ff8b47c61a7f71935c7fe554af4562472687a39a | diff --git a/salt/cli/caller.py b/salt/cli/caller.py
index <HASH>..<HASH> 100644
--- a/salt/cli/caller.py
+++ b/salt/cli/caller.py
@@ -169,6 +169,8 @@ class ZeroMQCaller(object):
ret['fun_args'] = self.opts['arg']
for returner in returners:
+ if not returner: # if we got an empty ret... | Catch case where 'return' not in opts, or other ways to get an empty returner (as it will just fail anyways) | saltstack_salt | train | py |
08db400a63ced7c6209f42f8dc12c2cd37474120 | diff --git a/structr-ui/src/main/resources/structr/js/widgets.js b/structr-ui/src/main/resources/structr/js/widgets.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/widgets.js
+++ b/structr-ui/src/main/resources/structr/js/widgets.js
@@ -281,6 +281,7 @@ var _Widgets = {
repaintRemoteWidge... | Bugfix: Fixes search in remote widgets | structr_structr | train | js |
e494382fab8e1d0aea1613cedd1824e8f23bb5ab | diff --git a/elasticsearch-extensions/lib/elasticsearch/extensions/version.rb b/elasticsearch-extensions/lib/elasticsearch/extensions/version.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-extensions/lib/elasticsearch/extensions/version.rb
+++ b/elasticsearch-extensions/lib/elasticsearch/extensions/version.rb
@@ -1... | [EXT] Release <I> | elastic_elasticsearch-ruby | train | rb |
f2040f88ef93a5dbdac4545213b9ebfe6d793cde | diff --git a/salt/runners/saltutil.py b/salt/runners/saltutil.py
index <HASH>..<HASH> 100644
--- a/salt/runners/saltutil.py
+++ b/salt/runners/saltutil.py
@@ -42,6 +42,7 @@ def sync_all(saltenv='base'):
ret['wheel'] = sync_wheel(saltenv=saltenv)
ret['engines'] = sync_engines(saltenv=saltenv)
ret['queues'... | add pillars to extmods sync_all commands
So that we can use _pillar from the fileserver | saltstack_salt | train | py |
7be8a72022e6b7f908ba2e5386ec5affccd10c98 | diff --git a/src/main/java/org/jbake/app/Parser.java b/src/main/java/org/jbake/app/Parser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jbake/app/Parser.java
+++ b/src/main/java/org/jbake/app/Parser.java
@@ -48,6 +48,7 @@ public class Parser {
private Map<String, Object> content = new HashMap<String, Objec... | Added new var to store current path. | jbake-org_jbake | train | java |
9b41a6a8a62331250f0787843c646fcb7f4aeb04 | diff --git a/src/stores/GuildMemberRoleStore.js b/src/stores/GuildMemberRoleStore.js
index <HASH>..<HASH> 100644
--- a/src/stores/GuildMemberRoleStore.js
+++ b/src/stores/GuildMemberRoleStore.js
@@ -106,7 +106,7 @@ class GuildMemberRoleStore extends DataStore {
* @readonly
*/
get highest() {
- return this... | fix: re-add highest property to RoleStore and GuildMemberRoleStore
closes #<I> | discordjs_discord.js | train | js,js |
edfe2106348c5c251f0f9f4f924dcd7ffd45ec48 | diff --git a/addon/wrap/hardwrap.js b/addon/wrap/hardwrap.js
index <HASH>..<HASH> 100644
--- a/addon/wrap/hardwrap.js
+++ b/addon/wrap/hardwrap.js
@@ -86,7 +86,8 @@
if (changes.length) cm.operation(function() {
for (var i = 0; i < changes.length; ++i) {
var change = changes[i];
- cm.replaceR... | [hardwrap addon] Don't generate null changes
Issue #<I> | codemirror_CodeMirror | train | js |
532f0cd974fd66e47f195038f947a5870ccc6d65 | diff --git a/editor/editor.py b/editor/editor.py
index <HASH>..<HASH> 100644
--- a/editor/editor.py
+++ b/editor/editor.py
@@ -973,8 +973,7 @@ class Editor(App):
def move_widget(self, css_key, value):
# css_key can be 'top' or 'left'
# value (int): positive or negative value
- if issubclas... | Editor: resize and move shortcuts not limited with absolute positioning. | dddomodossola_remi | train | py |
d467bdaac9b3b4984559afe79a7480daa5eeb2c4 | diff --git a/src/frontend/org/voltdb/iv2/TransactionTaskQueue.java b/src/frontend/org/voltdb/iv2/TransactionTaskQueue.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/iv2/TransactionTaskQueue.java
+++ b/src/frontend/org/voltdb/iv2/TransactionTaskQueue.java
@@ -329,6 +329,7 @@ public class TransactionTaskQ... | For ENG-<I>, fix a bug in TransactionTaskQueue where the first fragment was removed from the queue | VoltDB_voltdb | train | java |
a75f49ebbc1718260c4dd56a1e88a2676ffab659 | diff --git a/tests/classes/Gems/Util/MonitorTest.php b/tests/classes/Gems/Util/MonitorTest.php
index <HASH>..<HASH> 100644
--- a/tests/classes/Gems/Util/MonitorTest.php
+++ b/tests/classes/Gems/Util/MonitorTest.php
@@ -52,6 +52,9 @@ class MonitorTest extends \Gems_Test_DbTestAbstract
$this->transport = new \... | #<I> Make sure lock file can be written | GemsTracker_gemstracker-library | train | php |
ae8609dd86084aa78b7d8d0c8f0b57840a414597 | diff --git a/h5p.classes.php b/h5p.classes.php
index <HASH>..<HASH> 100644
--- a/h5p.classes.php
+++ b/h5p.classes.php
@@ -412,13 +412,13 @@ interface H5PFrameworkInterface {
* Start an atomic operation against the dependency storage
*/
public function lockDependencyStorage();
-
+
/**
* Stops an ato... | Replaced another rename function. | h5p_h5p-php-library | train | php |
f5bd5b928b2429bef55eaff1bc412e9371e8b09f | diff --git a/code/ZenFields.php b/code/ZenFields.php
index <HASH>..<HASH> 100755
--- a/code/ZenFields.php
+++ b/code/ZenFields.php
@@ -48,8 +48,12 @@ class ZenFields extends Extension {
* @param array The arguments to the method
* @return FieldList
*/
- public function __call($method, $args) {
+ public func... | ENHANCEMENT: Detect getters and fallback, i.e. FieldGroup::getTag conflict with TagField | unclecheese_silverstripe-zen-fields | train | php |
3b2a602d021cb32a43b6097a78e3f6c73e575cfb | diff --git a/src/DoctrineServiceProvider.php b/src/DoctrineServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/DoctrineServiceProvider.php
+++ b/src/DoctrineServiceProvider.php
@@ -263,6 +263,7 @@ class DoctrineServiceProvider extends ServiceProvider
AuthManager::class,
EntityManager::cl... | Add ConnectionManager to service provider
This way it can be used to extend(replace) and add custom connection drivers | laravel-doctrine_orm | train | php |
6a15922d5fa09f06d13f7eebe586192400622ebf | diff --git a/src/main/java/com/relayrides/pushy/apns/ApnsConnection.java b/src/main/java/com/relayrides/pushy/apns/ApnsConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/relayrides/pushy/apns/ApnsConnection.java
+++ b/src/main/java/com/relayrides/pushy/apns/ApnsConnection.java
@@ -304,6 +304,9 @@ publi... | Added a comment explaining the weird-ish queue maneuver when connections close. | relayrides_pushy | train | java |
12681f24e009299ff3d032312bc089b037f2771a | diff --git a/php-binance-api.php b/php-binance-api.php
index <HASH>..<HASH> 100644
--- a/php-binance-api.php
+++ b/php-binance-api.php
@@ -669,7 +669,7 @@ class API
/**
* withdrawFee get the withdrawal fee for an asset
*
- * $withdrawFee = $api->withdrawHistory( "BTC" );
+ * $withdrawFee = $api... | Add to withdrawHistory and depositHistory, new withdrawFee function | jaggedsoft_php-binance-api | train | php |
ab03deea8a3f9979988551e0cac0e77289f150f7 | diff --git a/src/test/java/org/springframework/data/solr/repository/query/SolrQueryMethodTests.java b/src/test/java/org/springframework/data/solr/repository/query/SolrQueryMethodTests.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/springframework/data/solr/repository/query/SolrQueryMethodTests.java
+++ b/src/... | DATASOLR-<I> - additional test for 'defType' in @Query | spring-projects_spring-data-solr | train | java |
d5a1003e42a7eb4f94bebf4b6d9a3fc89c0e3589 | diff --git a/ui/js/components/auth.js b/ui/js/components/auth.js
index <HASH>..<HASH> 100644
--- a/ui/js/components/auth.js
+++ b/ui/js/components/auth.js
@@ -162,10 +162,14 @@ treeherder.component("loginCallback", {
algorithm: 'sha256'
};
this.loginError = null;
- ... | Bug <I> - Support login with permanent credentials (empty cert) (#<I>) | mozilla_treeherder | train | js |
5f2e795677e7621ea02dfa2a43921c0840f5ac4f | diff --git a/src/gridstack.js b/src/gridstack.js
index <HASH>..<HASH> 100644
--- a/src/gridstack.js
+++ b/src/gridstack.js
@@ -429,11 +429,12 @@
if (this.opts.auto) {
var elements = [];
+ var _this = this;
this.container.children('.' + this.opts.item_class).each(function ... | Correctly sort nodes by using the total width instead of individual node width (becomes a problem with nodes of variable width). | gridstack_gridstack.js | train | js |
be7305a9caa0f69c812006412fe1c61dccd92299 | diff --git a/src/cf/commands/user/unset_space_role_test.go b/src/cf/commands/user/unset_space_role_test.go
index <HASH>..<HASH> 100644
--- a/src/cf/commands/user/unset_space_role_test.go
+++ b/src/cf/commands/user/unset_space_role_test.go
@@ -90,7 +90,6 @@ var _ = Describe("Testing with ginkgo", func() {
Expect(spac... | Remove stray debug println statement | cloudfoundry_cli | train | go |
beceb5ea3b92208294af1ebcc8a3a8414dd40271 | diff --git a/lib/devise_security_extension/models/password_archivable.rb b/lib/devise_security_extension/models/password_archivable.rb
index <HASH>..<HASH> 100644
--- a/lib/devise_security_extension/models/password_archivable.rb
+++ b/lib/devise_security_extension/models/password_archivable.rb
@@ -9,7 +9,7 @@ module De... | Added dependent destroy on the old passwords to help clean up the old password table for users that were removed. | phatworx_devise_security_extension | train | rb |
0f272fce3811fcd1dcfcf65e63f6ea541ce69568 | diff --git a/core/server/master/src/main/java/alluxio/master/file/meta/InodeTree.java b/core/server/master/src/main/java/alluxio/master/file/meta/InodeTree.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/file/meta/InodeTree.java
+++ b/core/server/master/src/main/java/alluxio/maste... | clarified the javadoc in InodeTree.java for method inodePathExists | Alluxio_alluxio | train | java |
1ac116dc72c74e42e75bbaed46e782b1624ca5cc | diff --git a/packages/utils-uuid/index.js b/packages/utils-uuid/index.js
index <HASH>..<HASH> 100644
--- a/packages/utils-uuid/index.js
+++ b/packages/utils-uuid/index.js
@@ -105,31 +105,6 @@ exports.humanized = function humanized (words = 6) {
return Random.sample(ENGENIE, english, words).join('.')
}
-// ───────... | Removed uuid.util
moved to @cactus-technologies/utils | CactusTechnologies_cactus-utils | train | js |
452c39d303da77f440c65f74b3ef91ce190ab55a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -73,7 +73,7 @@ setup(
# List run-time dependencies here. These will be installed by pip when
# your project is installed.
- install_requires=['requests'],
+ install_requires=['requests', 'pytz'],
# If... | add pytz in project requirements | EnergieID_smappy | train | py |
379a02f51e9ccb0558c2aa02143912389d40a283 | diff --git a/src/FeedIo/Feed.php b/src/FeedIo/Feed.php
index <HASH>..<HASH> 100644
--- a/src/FeedIo/Feed.php
+++ b/src/FeedIo/Feed.php
@@ -151,4 +151,12 @@ class Feed extends Node implements FeedInterface, \JsonSerializable
return $properties;
}
+
+ /**
+ * @return int
+ */
+ public functi... | Add \Countable to FeedInterface. Implement it in Feed | alexdebril_feed-io | train | php,php |
c8745ef203f5a37af3592cf114b49f5e065b7cd9 | diff --git a/pyxel/ui/widget.py b/pyxel/ui/widget.py
index <HASH>..<HASH> 100644
--- a/pyxel/ui/widget.py
+++ b/pyxel/ui/widget.py
@@ -68,7 +68,7 @@ class Widget:
def parent(self, value):
self._parent = value
- if value:
+ if value and self not in value._children:
value._child... | Added the check code for the parent property | kitao_pyxel | train | py |
16add0b82e9f1ea682d0e63a3c1b3b6ec8ed61ba | diff --git a/build-support/bin/_release_helper.py b/build-support/bin/_release_helper.py
index <HASH>..<HASH> 100644
--- a/build-support/bin/_release_helper.py
+++ b/build-support/bin/_release_helper.py
@@ -189,6 +189,7 @@ def validate_pants_pkg(version: str, venv_dir: Path, extra_pip_args: list[str])
... | [internal] CI: include java in release test (#<I>)
CI is broken after <URL> | pantsbuild_pants | train | py |
9a53ddb764065d503bd03e68847c18e0e4863126 | diff --git a/metricdef/metricdef.go b/metricdef/metricdef.go
index <HASH>..<HASH> 100644
--- a/metricdef/metricdef.go
+++ b/metricdef/metricdef.go
@@ -170,7 +170,7 @@ func GetMetrics(scroll_id string) ([]*schema.MetricDefinition, string, error) {
var err error
var out elastigo.SearchResult
if scroll_id == "" {
- ... | set doc count size to <I> to improve ES query performance. | grafana_metrictank | train | go |
ef2ba9518b043191257e308240ff7ab39ab023a8 | diff --git a/lib/callbacks/transform.js b/lib/callbacks/transform.js
index <HASH>..<HASH> 100644
--- a/lib/callbacks/transform.js
+++ b/lib/callbacks/transform.js
@@ -309,13 +309,13 @@ if (typeof exports !== 'undefined') {
* Preliminary pass: mark source nodes so we can map line numbers
* Also eliminate _fast_ sy... | Support options.callback != '_' in callbacks mode. | Sage_streamlinejs | train | js |
76e70440f53915a4c26328a0db4f6a05ac31230f | diff --git a/path.py b/path.py
index <HASH>..<HASH> 100644
--- a/path.py
+++ b/path.py
@@ -82,10 +82,10 @@ except AttributeError:
PY3 = sys.version_info[0] >= 3
if PY3:
def u(x):
- return codecs.unicode_escape_decode(x)[0]
+ return x
else:
def u(x):
- return x
+ return codecs.un... | Present the modern, Python 3 version first | jaraco_path.py | train | py |
6faacbca5f054d1e1afb951ce78f89ff97a6d69d | diff --git a/lib/magento/base.rb b/lib/magento/base.rb
index <HASH>..<HASH> 100644
--- a/lib/magento/base.rb
+++ b/lib/magento/base.rb
@@ -47,9 +47,20 @@ module Magento
end
end
- def method_missing(method, *args)
- return nil unless @attributes
- @attributes[method.to_s]
+ def ... | method_mising as in activeresource: support for setters plus raise error on missing attribute | pstuteville_magentor | train | rb |
3be0659975f1783ee72ac1686b5d94fd164f21ed | diff --git a/javascript/node/selenium-webdriver/lib/test/index.js b/javascript/node/selenium-webdriver/lib/test/index.js
index <HASH>..<HASH> 100644
--- a/javascript/node/selenium-webdriver/lib/test/index.js
+++ b/javascript/node/selenium-webdriver/lib/test/index.js
@@ -188,8 +188,23 @@ function suite(fn, opt_options) ... | Filter out browser specific tests when that browser is not currently selected for testing. | SeleniumHQ_selenium | train | js |
939c303c5a4edb3e01f317d86a7d2d3e624df087 | diff --git a/src/input/pointer.js b/src/input/pointer.js
index <HASH>..<HASH> 100644
--- a/src/input/pointer.js
+++ b/src/input/pointer.js
@@ -582,7 +582,7 @@
// check if mapped to a key
if (keycode) {
- if (e.type === POINTER_DOWN[0] || e.type === POINTER_DOWN[1] || e.type === POINTER_DO... | [#<I>] Add touchstart to pointer event check | melonjs_melonJS | train | js |
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.