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 |
|---|---|---|---|---|---|
f5e79bc5e1dd41d439c054ba423501e87ada1d08 | diff --git a/safe_qgis/tools/options_dialog.py b/safe_qgis/tools/options_dialog.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/tools/options_dialog.py
+++ b/safe_qgis/tools/options_dialog.py
@@ -123,7 +123,7 @@ class OptionsDialog(QtGui.QDialog, Ui_OptionsDialogBase):
ratio = float(settings.value(
... | Fix option dialog can't be opened. | inasafe_inasafe | train | py |
8468a05b87931d716bcc8c8cd381742de9fe2770 | diff --git a/extensions/tags/src/Listener/SaveTagsToDatabase.php b/extensions/tags/src/Listener/SaveTagsToDatabase.php
index <HASH>..<HASH> 100755
--- a/extensions/tags/src/Listener/SaveTagsToDatabase.php
+++ b/extensions/tags/src/Listener/SaveTagsToDatabase.php
@@ -118,6 +118,7 @@ class SaveTagsToDatabase
... | Unset tags relation after setting (#<I>)
This ensures that the proper tag values are returned to the API by clearing any cached tags before returning a response. It also makes sure that the listeners to the `DiscussionWasTagged` event won't have old data under `$event->discussion->tags`.
Fixes <URL> | flarum_core | train | php |
306ba81c376513803509ad7117229c763261a794 | diff --git a/lib/opal/cli_runners/chrome.js b/lib/opal/cli_runners/chrome.js
index <HASH>..<HASH> 100644
--- a/lib/opal/cli_runners/chrome.js
+++ b/lib/opal/cli_runners/chrome.js
@@ -12,6 +12,7 @@ fs.writeFileSync("/tmp/chrome-opal.js", opal_code);
fs.writeFileSync("/tmp/chrome-opal.html", "" +
"<html>" +
"<head... | Add charset meta tag to headless chrome runner | opal_opal | train | js |
60c80f5fe5c83cf0ac45414d6e56c86fe3b9a0a6 | diff --git a/vmware/tags.go b/vmware/tags.go
index <HASH>..<HASH> 100644
--- a/vmware/tags.go
+++ b/vmware/tags.go
@@ -22,9 +22,12 @@ type Tag struct {
}
func LoadTags() (Tags, error) {
- f, e := os.Open(tagsPath)
- if e != nil {
- return nil, e
+ f, err := os.Open(tagsPath)
+ if err != nil {
+ if os.IsNotExist(e... | vmware/vm: ignore errors if tags file does not exist | dynport_dgtk | train | go |
90904a80a8b8d19c4a1c889fb8e7881b1aeebb15 | diff --git a/config/admin/admin.go b/config/admin/admin.go
index <HASH>..<HASH> 100644
--- a/config/admin/admin.go
+++ b/config/admin/admin.go
@@ -171,6 +171,17 @@ func init() {
product.UseTheme("grid")
variationsResource := product.Meta(&admin.Meta{Name: "Variations", Config: &variations.VariationsConfig{}}).Res... | Add sizes to variations meta (need to refactor later) | qor_qor-example | train | go |
a93ce1bb2e3e9d42b94205d8572a51b4af6c1951 | diff --git a/arcrest/ago.py b/arcrest/ago.py
index <HASH>..<HASH> 100644
--- a/arcrest/ago.py
+++ b/arcrest/ago.py
@@ -41,3 +41,12 @@ class AGORoot(server.RestURL):
@property
def portals(self):
return self._get_subfolder("./portals/", Portals)
+
+class Community(server.RestURL):
+ pass
+
+c... | Stubs for ArcGIS Online APIs | jasonbot_arcrest | train | py |
7e129b2185db64ce9de5f24f4df5a5908a0045eb | diff --git a/crossplane/__init__.py b/crossplane/__init__.py
index <HASH>..<HASH> 100644
--- a/crossplane/__init__.py
+++ b/crossplane/__init__.py
@@ -8,7 +8,7 @@ __title__ = 'crossplane'
__summary__ = 'Reliable and fast NGINX configuration file parser.'
__url__ = 'https://github.com/nginxinc/crossplane'
-__version... | Updated version to <I> | nginxinc_crossplane | train | py |
829550c81fb0fc43c79e9f15f378610ad400529e | diff --git a/src/Titon/Db/Entity.php b/src/Titon/Db/Entity.php
index <HASH>..<HASH> 100644
--- a/src/Titon/Db/Entity.php
+++ b/src/Titon/Db/Entity.php
@@ -97,7 +97,14 @@ class Entity implements Serializable, JsonSerializable, Iterator, ArrayAccess, C
* @return array
*/
public function toArray() {
- ... | Fix Entity::toArray() not executing closures | titon_db | train | php |
a7359f0b46219b82194cf407a6ac6debceec408e | diff --git a/environs/cloudinit.go b/environs/cloudinit.go
index <HASH>..<HASH> 100644
--- a/environs/cloudinit.go
+++ b/environs/cloudinit.go
@@ -17,7 +17,6 @@ import (
// NewMachineConfig sets up a basic machine configuration. You'll still need
// to supply more information, but this takes care of the fixed entrie... | Satisfying that TODO. | juju_juju | train | go |
2d695b3c83e23a458421691f411ac0aa183fddf6 | diff --git a/fakeKeeper.js b/fakeKeeper.js
index <HASH>..<HASH> 100644
--- a/fakeKeeper.js
+++ b/fakeKeeper.js
@@ -23,7 +23,7 @@ function keeperForMap (map) {
getAll: function () {
return Q.resolve(values(map))
},
- close: function () {
+ destroy: function () {
return Q.resolve()
},
... | add keeper.destroy() to fakeKeeper | tradle_test-helpers | train | js |
42ad1ac59c048425f53c040b2d91e213ac37bdac | diff --git a/datatableview/static/js/datatableview.js b/datatableview/static/js/datatableview.js
index <HASH>..<HASH> 100644
--- a/datatableview/static/js/datatableview.js
+++ b/datatableview/static/js/datatableview.js
@@ -149,7 +149,7 @@ var datatableview = {
search_input.after(clear_button).after(' ');
... | Return own collection
New DataTable apis don't work well with this kind of collection | pivotal-energy-solutions_django-datatable-view | train | js |
9fb32a27fea416b077f47e154d17726cc28727fc | diff --git a/frasco_upload/__init__.py b/frasco_upload/__init__.py
index <HASH>..<HASH> 100644
--- a/frasco_upload/__init__.py
+++ b/frasco_upload/__init__.py
@@ -103,7 +103,7 @@ class UploadFeature(Feature):
@action(default_option='file')
def save_uploaded_file_temporarly(self, file, filename=None):
... | don't use subdirs in save_uploaded_file_temporarly() | frascoweb_frasco-upload | train | py,py |
a447aecd953a7a4ab469777b237624cca02ebbb3 | diff --git a/public/js/app.js b/public/js/app.js
index <HASH>..<HASH> 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -640,7 +640,7 @@ function initIssue() {
var clickedButton = undefined;
- $("button,input[type=\"submit\"]", fileInput.form).on("click", function() {
+ $('#issue-reply-... | Fix for erroneous Submitting mode on button
Click handler was also attaching to “Select Attachments” button, so
modified selector to grab #issue-reply-btn by ID and submit button | gogs_gogs | train | js |
1362ca631c1fbf1e1436d75b3b112ddedc39480a | diff --git a/packages/heroku-spaces/commands/create.js b/packages/heroku-spaces/commands/create.js
index <HASH>..<HASH> 100644
--- a/packages/heroku-spaces/commands/create.js
+++ b/packages/heroku-spaces/commands/create.js
@@ -54,7 +54,7 @@ Example:
{name: 'space', char: 's', hasValue: true, description: 'name of ... | misc: This shouldn't be a string | heroku_cli | train | js |
94ce1ef1e627c5ac12ab3988f38496765f6bf131 | diff --git a/shakedown/dcos/__init__.py b/shakedown/dcos/__init__.py
index <HASH>..<HASH> 100644
--- a/shakedown/dcos/__init__.py
+++ b/shakedown/dcos/__init__.py
@@ -1,6 +1,7 @@
import os
import dcos
import dcos.cluster
+import sys
import shakedown
@@ -9,7 +10,8 @@ def attach_cluster(url):
"""Attach to an... | Don't output exception if trying to attach
except silently and continue attachment attempts if a previously set-up
cluster is no longer reachable. | dcos_shakedown | train | py |
cb692b4000d8b195bac3030dac3ed1725b1e5c11 | diff --git a/django_js_reverse/core.py b/django_js_reverse/core.py
index <HASH>..<HASH> 100755
--- a/django_js_reverse/core.py
+++ b/django_js_reverse/core.py
@@ -2,7 +2,7 @@
import json
import re
import sys
-from distutils.version import StrictVersion
+from distutils.version import LooseVersion
import django
fr... | Now using LooseVersion instead of StrictVersion to avoid issues with rc releases. | ierror_django-js-reverse | train | py |
d35e490a52e365c9b74af7dc435fe62e7681d566 | diff --git a/app/models/scaptimony/scap_content.rb b/app/models/scaptimony/scap_content.rb
index <HASH>..<HASH> 100644
--- a/app/models/scaptimony/scap_content.rb
+++ b/app/models/scaptimony/scap_content.rb
@@ -6,7 +6,12 @@ require 'scaptimony/engine'
module Scaptimony
class DataStreamValidator < ActiveModel::Valid... | Error message for users uploading while editing. | OpenSCAP_scaptimony | train | rb |
d6a7b65cbed4412ec891cf1f718eff21f9a1ed8d | diff --git a/test/unit/lookups/yandex_test.rb b/test/unit/lookups/yandex_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/lookups/yandex_test.rb
+++ b/test/unit/lookups/yandex_test.rb
@@ -21,7 +21,7 @@ class YandexTest < GeocoderTestCase
end
def test_yandex_query_url_contains_bbox
- lookup = Geocoder::Loo... | Fix: incorrect lookup used in test. | alexreisner_geocoder | train | rb |
c536c09a44cb281b6c88e0241824a0c703d22a40 | diff --git a/provision/juju/healer.go b/provision/juju/healer.go
index <HASH>..<HASH> 100644
--- a/provision/juju/healer.go
+++ b/provision/juju/healer.go
@@ -185,6 +185,7 @@ func (h instanceAgentsConfigHealer) Heal() error {
if err != nil {
return err
}
+ defer conn.Close()
var apps []app.App
err = conn.App... | provision/juju: close database connections after using them
Related to #<I>. | tsuru_tsuru | train | go |
d11a9ea126975f415e7adc78d9cf942b89408f1c | diff --git a/uncompyle6/parsers/parse2.py b/uncompyle6/parsers/parse2.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/parse2.py
+++ b/uncompyle6/parsers/parse2.py
@@ -664,7 +664,7 @@ class Python2Parser(PythonParser):
elif lhs == "assert_expr_and":
jmp_false = ast[1]
jump_targ... | Remember rocky: use off2int() in offset testing! | rocky_python-uncompyle6 | train | py |
c6fe7d6a558624dfa6567f3c4d62e6615dcfca24 | diff --git a/asd/openvpn_manage.py b/asd/openvpn_manage.py
index <HASH>..<HASH> 100644
--- a/asd/openvpn_manage.py
+++ b/asd/openvpn_manage.py
@@ -108,10 +108,10 @@ class OpenVPNManager(ToolBase):
return missing_files
def __generate_client_keys(self, name):
- command = ['bash', '-c', 'source vars... | Openvpn: keys were not generated due typo | voidpp_asd | train | py,py |
2067525b65c0d507f8d3fa96c1d95175162fd192 | diff --git a/lib/sufia/version.rb b/lib/sufia/version.rb
index <HASH>..<HASH> 100644
--- a/lib/sufia/version.rb
+++ b/lib/sufia/version.rb
@@ -1,3 +1,3 @@
module Sufia
- VERSION = "4.1.0"
+ VERSION = "4.2.0"
end
diff --git a/sufia-models/lib/sufia/models/version.rb b/sufia-models/lib/sufia/models/version.rb
index <... | Preparing for <I> release | samvera_hyrax | train | rb,rb |
6c82cdc20d6f81c96772da73fc07a672a0a0a6ef | diff --git a/plotnine/stats/stat_bin_2d.py b/plotnine/stats/stat_bin_2d.py
index <HASH>..<HASH> 100644
--- a/plotnine/stats/stat_bin_2d.py
+++ b/plotnine/stats/stat_bin_2d.py
@@ -45,6 +45,10 @@ class stat_bin_2d(stat):
::
+ 'xmin' # x lower bound for the bin
+ 'xmax' # x upper bound for the... | DOC: xmin, ... computed aesthetics for stat_bin_2d | has2k1_plotnine | train | py |
782e728f10357cb0b8252e433078888c7f2a64e4 | diff --git a/src/Plinth/Main.php b/src/Plinth/Main.php
index <HASH>..<HASH> 100644
--- a/src/Plinth/Main.php
+++ b/src/Plinth/Main.php
@@ -128,6 +128,7 @@ class Main {
'templatebase' => 'base',
'templatepath' => __TEMPLATE,
'assetpath' => false,
+ 'route403' => false,
'route404' => false,
'ro... | Handle <I>'s more direct | Warsaalk_Plinth | train | php,php |
157547a51fd9a77ba929fca4631a3f52b124cb5a | diff --git a/class.phpmailer.php b/class.phpmailer.php
index <HASH>..<HASH> 100644
--- a/class.phpmailer.php
+++ b/class.phpmailer.php
@@ -2910,11 +2910,7 @@ class PHPMailer
}
$cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2
if ($this->addStringEmbeddedIma... | Fixing an issue with embedded images
Fixed the issue with html parsing when there was an embedded base<I>
encoded image in the source - which resulted in regexp errors (too long
regexp). | PHPMailer_PHPMailer | train | php |
7f9904deff6fcf2d9f2c71c543487c3f36e64a66 | diff --git a/lib/countries/country.rb b/lib/countries/country.rb
index <HASH>..<HASH> 100644
--- a/lib/countries/country.rb
+++ b/lib/countries/country.rb
@@ -112,7 +112,7 @@ class ISO3166::Country
def all(&blk)
blk ||= proc { |country, data| [data['name'], country] }
- Data.map &blk
+ Data.map(... | Add explicit parens to drop the Ruby warning | hexorx_countries | train | rb |
ce1a5b7d7ad02c581235b381a19b48785e3ee800 | diff --git a/post-processor/compress/post-processor.go b/post-processor/compress/post-processor.go
index <HASH>..<HASH> 100644
--- a/post-processor/compress/post-processor.go
+++ b/post-processor/compress/post-processor.go
@@ -144,8 +144,8 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (... | Print why we are only using one core | hashicorp_packer | train | go |
ed3bd1974b5b8abb8d8a9ede47df5d5dc2dc2a87 | diff --git a/mod/wiki/backuplib.php b/mod/wiki/backuplib.php
index <HASH>..<HASH> 100644
--- a/mod/wiki/backuplib.php
+++ b/mod/wiki/backuplib.php
@@ -55,7 +55,7 @@
fwrite ($bf,full_tag("MODTYPE",4,false,"wiki"));
fwrite ($bf,full_tag("NAME",4,false,$wiki->name));
fwrite ($bf,full_tag("SUMMAR... | Fixed old-glorious typo in wiki backup. MDL-<I> ; merged from <I>_STABLE | moodle_moodle | train | php |
3947637cfcff5fd81dfe39b8f27f871648845819 | diff --git a/code/MemberProfilePage.php b/code/MemberProfilePage.php
index <HASH>..<HASH> 100644
--- a/code/MemberProfilePage.php
+++ b/code/MemberProfilePage.php
@@ -744,6 +744,8 @@ class MemberProfilePage_Controller extends Page_Controller {
$member->ValidationKey = null;
$member->write();
+ $this->extend(... | Added an extension hook for email confirmation | symbiote_silverstripe-memberprofiles | train | php |
dc1bd03377e978937d3feb04a937254ba3e11f1b | diff --git a/spec/watirspec/div_spec.rb b/spec/watirspec/div_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/watirspec/div_spec.rb
+++ b/spec/watirspec/div_spec.rb
@@ -89,13 +89,13 @@ describe "Div" do
end
describe "#style" do
- not_compliant_on [:webdriver, :ie] do
+ not_compliant_on :ie do
it "ret... | modify guards for Watir | watir_watir | train | rb |
88be4bfbef4c3a803de75f5377f62451f945e6e1 | diff --git a/benchexec/tools/consequence.py b/benchexec/tools/consequence.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/consequence.py
+++ b/benchexec/tools/consequence.py
@@ -21,15 +21,21 @@ import benchexec.util as util
import benchexec.tools.template
import benchexec.result as result
+REQUIRED_PATHS = [
+... | Fix required paths for ConSequence | sosy-lab_benchexec | train | py |
195b837a21b845a05107971bd65665878f195e22 | diff --git a/ommprotocol/utils.py b/ommprotocol/utils.py
index <HASH>..<HASH> 100644
--- a/ommprotocol/utils.py
+++ b/ommprotocol/utils.py
@@ -76,7 +76,7 @@ def timed_input(prompt, timeout=300.0):
astring = None
try:
timer.start()
- astring = raw_input(prompt)
+ astring = raw_input()
... | fix: user prompt on emergency recovery was printed twice | insilichem_ommprotocol | train | py |
d9172d8f3dc16173cf2aef400712f8bd2663f2d2 | diff --git a/patch-op.js b/patch-op.js
index <HASH>..<HASH> 100644
--- a/patch-op.js
+++ b/patch-op.js
@@ -140,7 +140,7 @@ function reorderChildren(domNode, bIndex) {
}
node = children[move]
- insertNode = childNodes[i + insertOffset]
+ insertNode = childNodes[i + inser... | ensure insertBefore is passed null not undefined | Matt-Esch_vdom | train | js |
cf2b144d93f79568c6b4e31cc77c569f0820f193 | diff --git a/tests/testEngine.js b/tests/testEngine.js
index <HASH>..<HASH> 100644
--- a/tests/testEngine.js
+++ b/tests/testEngine.js
@@ -9,6 +9,11 @@ testEngine.command('delay', (_, {send}) => {
setTimeout(() => send('ok'), 500)
})
+testEngine.command('play', (command, {send, err}) => {
+ if (command.args.... | Add command to show how to get arguments | SabakiHQ_gtp | train | js |
b400a236c72f38e98f436733d5340a52a065a034 | diff --git a/lib/jinjs_prev.js b/lib/jinjs_prev.js
index <HASH>..<HASH> 100644
--- a/lib/jinjs_prev.js
+++ b/lib/jinjs_prev.js
@@ -122,7 +122,7 @@ function make_expr (str, ctx) {
if (str.charAt (0) == ".")
return str;
for (var i = 0; i < ctx.length; i++) {
- if (str.match (new ... | Fixed context issues in expression that resolved variables wrongly. | ravelsoft_node-jinjs | train | js |
e5a987a4caab7bae261018a39d6c693c03da5cd2 | diff --git a/lib/sudo.rb b/lib/sudo.rb
index <HASH>..<HASH> 100644
--- a/lib/sudo.rb
+++ b/lib/sudo.rb
@@ -26,7 +26,7 @@ module Sudo
def initialize(ruby_opts='')
@proxy = nil
- @socket = "/tmp/rubysu-#{rand(100000)}"
+ @socket = "/tmp/rubysu-#{Process.pid}-#{object_id}"
server_uri = "dr... | kill spawned process at_exit | gderosa_rubysu | train | rb |
e80291dba382465ec7731ee152db4de99619159f | diff --git a/angr/analyses/cfg_base.py b/angr/analyses/cfg_base.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg_base.py
+++ b/angr/analyses/cfg_base.py
@@ -826,17 +826,17 @@ class CFGBase(Analysis):
# if there are multiple jump out sites and we have determined the "returning status" from one... | CFGBase: micro-optimization to speed-up function analysis | angr_angr | train | py |
386f8910017200f204f4963ebb40ca6d526b74ff | diff --git a/includes/models/class.player.php b/includes/models/class.player.php
index <HASH>..<HASH> 100644
--- a/includes/models/class.player.php
+++ b/includes/models/class.player.php
@@ -15,26 +15,10 @@ class player extends stat_object {
*/
protected $_steamid;
/**
- * @var int
- */
- pro... | #<I> Cannot update with player_mapper_db | kronusme_dota2-api | train | php |
f36c218b13115950df8f25a7481796f302ee1e24 | diff --git a/fs.go b/fs.go
index <HASH>..<HASH> 100644
--- a/fs.go
+++ b/fs.go
@@ -77,6 +77,9 @@ var (
// Path rewriter is used in FS for translating the current request
// to the local filesystem path relative to FS.Root.
//
+// The returned path must not contain '/../' substrings due to security reasons,
+// since... | FS: make sure that the path returned from PathRewriteFunc doesn't contain '/../' due to security reasons | valyala_fasthttp | train | go |
d5517d4d8939dc256fb9cdc256b6590673c23db6 | diff --git a/lib/topsy/version.rb b/lib/topsy/version.rb
index <HASH>..<HASH> 100644
--- a/lib/topsy/version.rb
+++ b/lib/topsy/version.rb
@@ -1,3 +1,3 @@
module Topsy
- VERSION = '0.3.2'
+ VERSION = '0.3.3'
end
\ No newline at end of file | Bumped version to <I> | pengwynn_topsy | train | rb |
fd1f357d1373bde8fd6cfc1c33bb1e3cb51c9fbd | diff --git a/vendor/refinerycms/inquiries/config/routes.rb b/vendor/refinerycms/inquiries/config/routes.rb
index <HASH>..<HASH> 100644
--- a/vendor/refinerycms/inquiries/config/routes.rb
+++ b/vendor/refinerycms/inquiries/config/routes.rb
@@ -1,7 +1,6 @@
Refinery::Application.routes.draw do
- match '/contact', :to =>... | Use the routes better, no more /inquiries when you submit the form (ht: gidogeek) | refinery_refinerycms | train | rb |
a4f0f8cfed521ec047575322fa48bfac511c669d | diff --git a/pyemma/coordinates/io/featurizer.py b/pyemma/coordinates/io/featurizer.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/io/featurizer.py
+++ b/pyemma/coordinates/io/featurizer.py
@@ -698,9 +698,11 @@ class MDFeaturizer(object):
"""
# if there are no features selected, return given ... | [featurizer] flatten xyz array to 2d, if no features are selected. | markovmodel_PyEMMA | train | py |
191fe034ed468bda7fc5fdb46bf9db717c87c837 | diff --git a/yotta/lib/target.py b/yotta/lib/target.py
index <HASH>..<HASH> 100644
--- a/yotta/lib/target.py
+++ b/yotta/lib/target.py
@@ -296,7 +296,6 @@ class Target(pack.Pack):
try:
prog_path = os.path.join(builddir, program)
- signal.signal(signal.SIGINT, _ignoreSignal);
... | don't ignore ctrl+c while running the test command | ARMmbed_yotta | train | py |
920da7d175398b03598fa74e9c1a465beb8ac736 | diff --git a/oa-basic/lib/omniauth/strategies/http_basic.rb b/oa-basic/lib/omniauth/strategies/http_basic.rb
index <HASH>..<HASH> 100644
--- a/oa-basic/lib/omniauth/strategies/http_basic.rb
+++ b/oa-basic/lib/omniauth/strategies/http_basic.rb
@@ -1,4 +1,4 @@
-require 'restclient'
+require 'rest-client'
require 'omniau... | changed 'restclient' to 'rest-client' to match that library's new require style /HT achiu | omniauth_omniauth | train | rb |
075a352057e7906caf7d0bc5213079268883cab1 | diff --git a/src/Generator/Analyzer/Steps/AbstractProcessStep.php b/src/Generator/Analyzer/Steps/AbstractProcessStep.php
index <HASH>..<HASH> 100644
--- a/src/Generator/Analyzer/Steps/AbstractProcessStep.php
+++ b/src/Generator/Analyzer/Steps/AbstractProcessStep.php
@@ -37,6 +37,10 @@ abstract class AbstractProcessStep... | fixed bug where CMS field names have double spaces | czim_laravel-pxlcms | train | php |
97594cde61726496306b9773ff5fa7debd472cca | diff --git a/src/Kernel/AccessToken.php b/src/Kernel/AccessToken.php
index <HASH>..<HASH> 100644
--- a/src/Kernel/AccessToken.php
+++ b/src/Kernel/AccessToken.php
@@ -197,7 +197,7 @@ abstract class AccessToken implements AccessTokenInterface
}
/**
- * @return mixed|string
+ * @return string
*
... | Scrutinizer Auto-Fixes (#<I>)
This commit consists of patches automatically generated for this project on <URL> | overtrue_wechat | train | php,php |
f7bea27de3d3f374003bf262e8f847be16703fb3 | diff --git a/src/main/java/stormpot/whirlpool/Request.java b/src/main/java/stormpot/whirlpool/Request.java
index <HASH>..<HASH> 100644
--- a/src/main/java/stormpot/whirlpool/Request.java
+++ b/src/main/java/stormpot/whirlpool/Request.java
@@ -1,6 +1,6 @@
package stormpot.whirlpool;
-public class Request {
+class Req... | not sure what I need Request.clear for, but now it is there. | chrisvest_stormpot | train | java,java |
daa801b9ff8c81e6812a08a3f6ef82f593248e9d | diff --git a/lib/puppet/application/agent.rb b/lib/puppet/application/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/application/agent.rb
+++ b/lib/puppet/application/agent.rb
@@ -219,6 +219,10 @@ class Puppet::Application::Agent < Puppet::Application
Puppet.settings.use :main, :agent, :ssl
+ # Alway... | [#<I>] Temporary fix to stop agent from importing modules
Due to type collection madness, agent tries to import modules
to resolve resource types. That is wrong, decreases performance,
and causes problems. This patch forces agent to not import any
files by setting ignoreimport to true. | puppetlabs_puppet | train | rb |
34345affbae8530478d90e654c4a00e2e1f2a8d6 | diff --git a/pyes/es.py b/pyes/es.py
index <HASH>..<HASH> 100644
--- a/pyes/es.py
+++ b/pyes/es.py
@@ -368,7 +368,8 @@ class ES(object):
If `indices` is not supplied, returns the default_indices.
"""
- indices = indices or self.default_indices
+ if indices is None:
+ return ... | Changed ES.default_indices to a property that calls _validate_indices() on set | aparo_pyes | train | py |
4491f993239274c32ff99249cc71d888e91a2138 | diff --git a/src/Neevo/Manager.php b/src/Neevo/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Neevo/Manager.php
+++ b/src/Neevo/Manager.php
@@ -172,6 +172,9 @@ class Manager implements IObservable, IObserver {
$count++;
}
}
+ if($sql !== ''){
+ $this->connection->getDriver()->runQuery($sql);
+ }
f... | fix for loadFile() if not ending with semicolon | smasty_Neevo | train | php |
126f09111354febce5f6608928326b07a2ae4f33 | diff --git a/src/main/java/net/openhft/chronicle/hash/impl/util/CanonicalRandomAccessFiles.java b/src/main/java/net/openhft/chronicle/hash/impl/util/CanonicalRandomAccessFiles.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/openhft/chronicle/hash/impl/util/CanonicalRandomAccessFiles.java
+++ b/src/main/java/ne... | Add missing private constructor to CanonicalRandomAccessFiles to prohibit instantiation of this class | OpenHFT_Chronicle-Map | train | java |
b4ce3c7fae13b2f8cf378f4b3e4608528858f8c7 | diff --git a/glances/core/glances_autodiscover.py b/glances/core/glances_autodiscover.py
index <HASH>..<HASH> 100644
--- a/glances/core/glances_autodiscover.py
+++ b/glances/core/glances_autodiscover.py
@@ -204,6 +204,10 @@ class GlancesAutoDiscoverClient(object):
else:
logger.error("Could... | Correct server mode issue when no network interface is available (issue #<I>) | nicolargo_glances | train | py |
0328485c9f9d652c560c8500f3a5e09676d38918 | diff --git a/p2p/security/tls/transport.go b/p2p/security/tls/transport.go
index <HASH>..<HASH> 100644
--- a/p2p/security/tls/transport.go
+++ b/p2p/security/tls/transport.go
@@ -6,6 +6,7 @@ import (
"errors"
"net"
"os"
+ "sync"
ci "github.com/libp2p/go-libp2p-core/crypto"
"github.com/libp2p/go-libp2p-core/... | Fix: Connection Closed after handshake
The context-cancelled watchdog goroutine may start running way after the
handshake has finished and the associated context has been cancelled (by the
executeDial() function in go-libp2p-swarm usuaully).
This results in the connection being closed right after being stablished. | libp2p_go-libp2p | train | go |
d2948c47394681e1345225175f0a295acb486b63 | diff --git a/libfs/file.go b/libfs/file.go
index <HASH>..<HASH> 100644
--- a/libfs/file.go
+++ b/libfs/file.go
@@ -218,11 +218,26 @@ func (f *File) Unlock() (err error) {
return f.fs.config.MDServer().ReleaseLock(f.fs.ctx,
f.fs.root.GetFolderBranch().Tlf, f.getLockID())
}
- return jServer.FinishSingleOp(f.fs.c... | libfs: release lock explicitly if not in single op mode.
Since libgit.Autogit.Clone() can be run in non-single-op mode, and it
takes a lock, we need to have `File.Unlock()` explicitly release the
lock after flushing the journal.
Issue: KBFS-<I> | keybase_client | train | go |
fbea1ece2e9354deab89e2f05f39e0efec4c0336 | diff --git a/python/ray/actor.py b/python/ray/actor.py
index <HASH>..<HASH> 100644
--- a/python/ray/actor.py
+++ b/python/ray/actor.py
@@ -598,6 +598,9 @@ class ActorHandle(object):
# The last object returned is the dummy object that should be
# passed in to the next actor method. Do not retur... | Clear new actor handle list after submitting task. (#<I>) | ray-project_ray | train | py |
c28ba9a2ee3235b81017798c8c4748e9335488b3 | diff --git a/lib/selectors/source-map-stringifier.js b/lib/selectors/source-map-stringifier.js
index <HASH>..<HASH> 100644
--- a/lib/selectors/source-map-stringifier.js
+++ b/lib/selectors/source-map-stringifier.js
@@ -10,7 +10,6 @@ function Rebuilder(options, restoreCallback, inputMapTracker) {
this.line = 1;
th... | Simplifies resolving paths in source map stringifier. | jakubpawlowicz_clean-css | train | js |
ee01a5f66ffba7115939b72ac70530f387e51524 | diff --git a/cmd/influxd/server_integration_test.go b/cmd/influxd/server_integration_test.go
index <HASH>..<HASH> 100644
--- a/cmd/influxd/server_integration_test.go
+++ b/cmd/influxd/server_integration_test.go
@@ -581,6 +581,16 @@ func runTestsData(t *testing.T, testName string, nodes Cluster, database, retent
// A... | add test for stddev on 1 point | influxdata_influxdb | train | go |
b80c264e6be52370a82f1707051617940b9ff939 | diff --git a/py3status/modules/kdeconnector.py b/py3status/modules/kdeconnector.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/kdeconnector.py
+++ b/py3status/modules/kdeconnector.py
@@ -82,12 +82,12 @@ class Py3status:
self.device_id = self._get_device_id(_bus)
if self.device_id is No... | Fix a bug which occurred when no device id or device name was given | ultrabug_py3status | train | py |
ff07b23a869d2574a2e2049f41f1e1807609b3e0 | diff --git a/clients/python/pycellbase/cbconfig.py b/clients/python/pycellbase/cbconfig.py
index <HASH>..<HASH> 100755
--- a/clients/python/pycellbase/cbconfig.py
+++ b/clients/python/pycellbase/cbconfig.py
@@ -31,7 +31,7 @@ class ConfigClient(object):
config_dict = json.loads(config_fhand.read())
... | Fixed bug where config file info was not retrieved correctly | opencb_cellbase | train | py |
311cdbdcab8200d55186a42e9f598d52df18caba | diff --git a/terraform/eval_diff.go b/terraform/eval_diff.go
index <HASH>..<HASH> 100644
--- a/terraform/eval_diff.go
+++ b/terraform/eval_diff.go
@@ -775,33 +775,6 @@ func (n *EvalDiffDestroy) Eval(ctx EvalContext) (interface{}, error) {
return nil, nil
}
-// EvalDiffDestroyModule is an EvalNode implementation th... | core: Remove unused EvalDiffDestroyModule
This is no longer needed because the state structure self-prunes when
a module becomes empty. | hashicorp_terraform | train | go |
ef12ba00eed90e4d5ae3072a5a03f44a4eee78c3 | diff --git a/tests/junit/org/jgroups/tests/FlushCloseOpenTest.java b/tests/junit/org/jgroups/tests/FlushCloseOpenTest.java
index <HASH>..<HASH> 100644
--- a/tests/junit/org/jgroups/tests/FlushCloseOpenTest.java
+++ b/tests/junit/org/jgroups/tests/FlushCloseOpenTest.java
@@ -42,7 +42,7 @@ public class FlushCloseOpenTest... | test rewrite that uses createChannel properly | belaban_JGroups | train | java |
920566c9b4b095d01fb538f739b184bad5e53de7 | diff --git a/demos/plane/plane.js b/demos/plane/plane.js
index <HASH>..<HASH> 100644
--- a/demos/plane/plane.js
+++ b/demos/plane/plane.js
@@ -65,7 +65,7 @@ Plane.LANGUAGE_NAME = {
'tr': 'Türkçe',
'uk': 'Українська',
'vi': 'Tiếng Việt',
- 'zh-hans': '簡體中文',
+ 'zh-hans': '简体中文',
'zh-hant': '正體中文'
}; | fixed an translation error
change "簡體中文" to "简体中文" | LLK_scratch-blocks | train | js |
0781b005590a3becaa9e12499e44b7b37420e450 | diff --git a/tests/climodule/cli/BasicOperationsCest.php b/tests/climodule/cli/BasicOperationsCest.php
index <HASH>..<HASH> 100644
--- a/tests/climodule/cli/BasicOperationsCest.php
+++ b/tests/climodule/cli/BasicOperationsCest.php
@@ -22,6 +22,7 @@ class BasicOperationsCest
public function it_should_allow_creating... | tests(climodule) list posts in post creation test | lucatume_wp-browser | train | php |
fed3f5ccc390595afa24dfa5e0dd113c030dea60 | diff --git a/autolens/pipeline/tagging.py b/autolens/pipeline/tagging.py
index <HASH>..<HASH> 100644
--- a/autolens/pipeline/tagging.py
+++ b/autolens/pipeline/tagging.py
@@ -27,6 +27,9 @@ def pipeline_tag_from_pipeline_settings(
align_bulge_disk_axis_ratio=al... | Removing tags of pixelization in dummy release for Amy | Jammy2211_PyAutoLens | train | py |
0d36ebbdf5b742501df4fde3a73bba83f9929a7a | diff --git a/koala/Range.py b/koala/Range.py
index <HASH>..<HASH> 100644
--- a/koala/Range.py
+++ b/koala/Range.py
@@ -543,14 +543,20 @@ class RangeCore(dict):
@staticmethod
def is_superior_or_equal(a, b):
try:
- return check_value(a) >= check_value(b)
+ a = check_value(a)
+ ... | Range.>= and Range.<= use is_almost_equal() | anthill_koala | train | py |
611513acb2b3326d13b2997a7b476ac91b9d92af | diff --git a/pyout.py b/pyout.py
index <HASH>..<HASH> 100644
--- a/pyout.py
+++ b/pyout.py
@@ -287,6 +287,13 @@ def _adopt(style, new_style):
return {key: dict(style[key], **new_style.get(key, {})) for key in style}
+def _safe_get(mapping, key, default=None):
+ try:
+ return mapping.get(key, default)... | Add a helper for swallowing *.get attribute errors
This will be used when dealing with style keys that can either be a
dictionary or a simple type like a string or number. | pyout_pyout | train | py |
b4e25143dcbe6f17810d2bbd7e2f0fd00de48cb2 | diff --git a/lib/vagrant/util.rb b/lib/vagrant/util.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/util.rb
+++ b/lib/vagrant/util.rb
@@ -3,16 +3,15 @@ module Vagrant
def self.included(base)
base.extend Vagrant::Util
end
-
+
def error_and_exit(error)
- puts <<-error
+ abort <<-error... | error_and_exit now uses `abort`, which prints to stdout before exiting | hashicorp_vagrant | train | rb |
3625bf6400a7b2cffed7a7ad9d59ae4d98cc6089 | diff --git a/lib/how_is/builds.rb b/lib/how_is/builds.rb
index <HASH>..<HASH> 100644
--- a/lib/how_is/builds.rb
+++ b/lib/how_is/builds.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require "how_is/fetcher"
+require "tessellator/fetcher"
class HowIs
# Fetches metadata about CI builds. | how the everloving fuck did this work before? | duckinator_inq | train | rb |
12b05783084d79621efd4f0b0314ced24889950d | diff --git a/windpowerlib/wind_turbine.py b/windpowerlib/wind_turbine.py
index <HASH>..<HASH> 100644
--- a/windpowerlib/wind_turbine.py
+++ b/windpowerlib/wind_turbine.py
@@ -163,12 +163,12 @@ class WindTurbine(object):
data = np.delete(data, 0, 0)
df = pd.DataFrame(data, columns=['v_wind', se... | Convert nominal power and p_values in fetch_turbine_data to watt | wind-python_windpowerlib | train | py |
6aa868f26a65db6e69399e83d83034590622fb25 | diff --git a/lib/elastomer/client/cluster.rb b/lib/elastomer/client/cluster.rb
index <HASH>..<HASH> 100644
--- a/lib/elastomer/client/cluster.rb
+++ b/lib/elastomer/client/cluster.rb
@@ -84,6 +84,15 @@ module Elastomer
response.body
end
+ # Returns `true` if there items in the pending task list. ... | adding a `pending_tasks?` quick check method | github_elastomer-client | train | rb |
a023de61a792630d47fe7f69cfa042d309a12abd | diff --git a/pkg/addons/addons.go b/pkg/addons/addons.go
index <HASH>..<HASH> 100644
--- a/pkg/addons/addons.go
+++ b/pkg/addons/addons.go
@@ -332,7 +332,9 @@ func Start(wg *sync.WaitGroup, cc *config.ClusterConfig, toEnable map[string]boo
var awg sync.WaitGroup
- out.T(out.AddonEnable, "Enabling addons: {{.addon... | defer printing enabling addons | kubernetes_minikube | train | go |
6bc7a700471882f991bbee7912801cacc7e85d0c | diff --git a/src/Installer/AbstractModuleInstaller.php b/src/Installer/AbstractModuleInstaller.php
index <HASH>..<HASH> 100644
--- a/src/Installer/AbstractModuleInstaller.php
+++ b/src/Installer/AbstractModuleInstaller.php
@@ -452,7 +452,7 @@ abstract class AbstractModuleInstaller extends LibraryInstaller
if... | Fixed decting correct symlinks | contao-community-alliance_composer-plugin | train | php |
a6b6cd2b50cc26e201523446ff76a01b02a42689 | diff --git a/backends/graphite.js b/backends/graphite.js
index <HASH>..<HASH> 100644
--- a/backends/graphite.js
+++ b/backends/graphite.js
@@ -316,7 +316,7 @@ exports.init = function graphite_init(startup_time, config, events, logger) {
}
graphiteStats.last_flush = startup_time;
- graphiteStats.last_exception ... | Set last_exception time to 0 on initialisation
When this was being set to the startup_time it was causing confusion
with users of the admin panel, leading people to believe there had
been an exception which wasn't being logged. Since no exceptions are
occuring, a 0 initialisation seems reasonable here. | statsd_statsd | train | js |
d12fecd2eb012862b8d7654c879dccf5ccce833f | diff --git a/jose/backends/__init__.py b/jose/backends/__init__.py
index <HASH>..<HASH> 100644
--- a/jose/backends/__init__.py
+++ b/jose/backends/__init__.py
@@ -2,7 +2,10 @@
try:
from jose.backends.pycrypto_backend import RSAKey
except ImportError:
- from jose.backends.cryptography_backend import Cryptograp... | Enable Python RSA backend as a fallback. | mpdavis_python-jose | train | py |
9dcfcff548f2e101bb5de1c24f9a0629471d11e6 | diff --git a/build-tools/gulp-tasks/build-webpack/webpack.config.js b/build-tools/gulp-tasks/build-webpack/webpack.config.js
index <HASH>..<HASH> 100644
--- a/build-tools/gulp-tasks/build-webpack/webpack.config.js
+++ b/build-tools/gulp-tasks/build-webpack/webpack.config.js
@@ -33,8 +33,6 @@ const defaultConfig = {
... | fix: revert webpack config update -- no longer needed. | bolt-design-system_bolt | train | js |
b09e1c0f18a7845f5eb287d4768f021b0df9569f | diff --git a/carrot/backends/base.py b/carrot/backends/base.py
index <HASH>..<HASH> 100644
--- a/carrot/backends/base.py
+++ b/carrot/backends/base.py
@@ -93,6 +93,7 @@ class BaseMessage(object):
class BaseBackend(object):
"""Base class for backends."""
+ default_port = None
def __init__(self, connect... | BaseBackend.queue_purge now always returns 0 + new method:
close_connection(connection) to let the backend handle closing a backend connection
object. | ask_carrot | train | py |
30df4089ae0af774a3e4cccab636e94ad7a86680 | diff --git a/documentcloud.py b/documentcloud.py
index <HASH>..<HASH> 100644
--- a/documentcloud.py
+++ b/documentcloud.py
@@ -63,6 +63,24 @@ class Document(BaseAPIObject):
response = urllib2.urlopen(req)
return response.read()
full_text = property(get_full_text)
+
+ def get_small_image_ur... | Added methods for pull the image urls by page, with 1 being the default | datadesk_python-documentcloud | train | py |
a54cb6d9eb65cf7f33df310ea373296fe7c29b5f | diff --git a/openxmllib/utils.py b/openxmllib/utils.py
index <HASH>..<HASH> 100644
--- a/openxmllib/utils.py
+++ b/openxmllib/utils.py
@@ -57,10 +57,10 @@ class IndexableTextExtractor(object):
def addTextElement(self, element_name):
"""Adding an element that may contanin text to index
@param elem... | 'namespaces' is a named param of lxml.etree.XPath constructor. | glenfant_openxmllib | train | py |
80c349af7d4b08636d60d67c943e1c5b8bb39cc6 | diff --git a/src/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php b/src/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php
index <HASH>..<HASH> 100644
--- a/src/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php
+++ b/src/Bridge/Sy... | doc (external-vocabularies): guess IRI from validation constraints (code review) | api-platform_core | train | php |
2aa793cc2e20bc8485713b6d695d9e7a62202ea8 | diff --git a/lib/rbbt/workflow/util/provenance.rb b/lib/rbbt/workflow/util/provenance.rb
index <HASH>..<HASH> 100644
--- a/lib/rbbt/workflow/util/provenance.rb
+++ b/lib/rbbt/workflow/util/provenance.rb
@@ -78,6 +78,7 @@ class Step
name = info[:name] || File.basename(path)
status = :unsync if status == :done ... | Fix bug reporting wrong the status of repeated deps | mikisvaz_rbbt-util | train | rb |
cb03a35a3fa13e130d2ab0891eef3e30ed4aafcf | diff --git a/structr-ui/src/main/resources/structr/js/model.js b/structr-ui/src/main/resources/structr/js/model.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/model.js
+++ b/structr-ui/src/main/resources/structr/js/model.js
@@ -731,5 +731,7 @@ StructrContent.prototype.append = function(re... | expand node if content node is appended | structr_structr | train | js |
00690d57d27aa14053cc9a693c5cf3acb8574136 | diff --git a/src/requirementslib/models/dependency.py b/src/requirementslib/models/dependency.py
index <HASH>..<HASH> 100644
--- a/src/requirementslib/models/dependency.py
+++ b/src/requirementslib/models/dependency.py
@@ -314,12 +314,21 @@ class DependencyResolver(object):
elif not isinstance(dep, Abstrac... | Conclude resolution if dependencies are stable | sarugaku_requirementslib | train | py |
8fa39b442ffb31299fe2e477f4376f06987a9d4a | diff --git a/src/Moltin/SDK/Flows.php b/src/Moltin/SDK/Flows.php
index <HASH>..<HASH> 100644
--- a/src/Moltin/SDK/Flows.php
+++ b/src/Moltin/SDK/Flows.php
@@ -155,8 +155,10 @@ class Flows {
protected function _buildArgs($args, $val = true)
{
$string = '';
- foreach ( $args as $key => $value ) {
+ foreach ( $ar... | Don't add value="" for select boxes This could do with tidying up | moltin_php-sdk | train | php |
2481f016f4da79b5d1f3de15376a6c11f823e5fd | diff --git a/lib/rails_semantic_logger/extensions/rails/server.rb b/lib/rails_semantic_logger/extensions/rails/server.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_semantic_logger/extensions/rails/server.rb
+++ b/lib/rails_semantic_logger/extensions/rails/server.rb
@@ -9,7 +9,7 @@ module Rails
def log_to_stdout
... | Avoid warning when attempting to add a second console appender
Starting a rails server that already features a console appender results in the following warning:
``
<I>-<I>-<I> <I>:<I>:<I> W [<I>:<I>] SemanticLogger::Appenders -- Ignoring attempt to add a second console appender: SemanticLogger::Appender::IO since... | rocketjob_rails_semantic_logger | train | rb |
4f42f9a5215811d8e093a146ef02559a9ed3f48a | diff --git a/test/sass/scss/scss_test.rb b/test/sass/scss/scss_test.rb
index <HASH>..<HASH> 100755
--- a/test/sass/scss/scss_test.rb
+++ b/test/sass/scss/scss_test.rb
@@ -1270,4 +1270,29 @@ CSS
foo {color: darken(black, 10%)}
SCSS
end
+
+ # ref: https://github.com/nex3/sass/issues/104
+ def test_no_buffer_overfl... | Added test for patch to fix <URL> | sass_ruby-sass | train | rb |
45cfb23a65e135f3fbc2cecd757eaca8758ac002 | diff --git a/lib/BlockCypher/Core/BlockCypherLoggingManager.php b/lib/BlockCypher/Core/BlockCypherLoggingManager.php
index <HASH>..<HASH> 100644
--- a/lib/BlockCypher/Core/BlockCypherLoggingManager.php
+++ b/lib/BlockCypher/Core/BlockCypherLoggingManager.php
@@ -108,8 +108,16 @@ class BlockCypherLoggingManager
{
... | Fix bug thrown notice when mode has not been defined in config | blockcypher_php-client | train | php |
3d470ec3f2c471a16649473a552880b0601450c9 | diff --git a/tests/com/google/bitcoin/core/BlockTest.java b/tests/com/google/bitcoin/core/BlockTest.java
index <HASH>..<HASH> 100644
--- a/tests/com/google/bitcoin/core/BlockTest.java
+++ b/tests/com/google/bitcoin/core/BlockTest.java
@@ -58,7 +58,7 @@ public class BlockTest {
@Test
public void testDate() thr... | Make BlockTest.testDate pass outside of CET. | bitcoinj_bitcoinj | train | java |
365b8ae1e1ff9720b374babb1788023948e05778 | diff --git a/GPy/inference/latent_function_inference/laplace.py b/GPy/inference/latent_function_inference/laplace.py
index <HASH>..<HASH> 100644
--- a/GPy/inference/latent_function_inference/laplace.py
+++ b/GPy/inference/latent_function_inference/laplace.py
@@ -56,11 +56,8 @@ class Laplace(object):
#Compute h... | more chancges to laplace | SheffieldML_GPy | train | py |
1d8837009d13a72bd05792c2325e352284e2bcb1 | diff --git a/src/shuffle.js b/src/shuffle.js
index <HASH>..<HASH> 100644
--- a/src/shuffle.js
+++ b/src/shuffle.js
@@ -603,7 +603,15 @@ Shuffle.prototype._doesPassFilter = function( category, $item ) {
var keys = this.delimeter && !$.isArray( groups ) ?
groups.split( this.delimeter ) :
groups;
- ... | filter items that have every category in keys | Vestride_Shuffle | train | js |
09bafdd8e8285e810638e55858d888d32e4e3164 | diff --git a/Swat/SwatFileEntry.php b/Swat/SwatFileEntry.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatFileEntry.php
+++ b/Swat/SwatFileEntry.php
@@ -370,14 +370,15 @@ class SwatFileEntry extends SwatInputControl
// {{{ public static function getMaximumFileUploadSize()
/**
- * Returns the size (in bytes) of the... | Clean up the already good documentation.
svn commit r<I> | silverorange_swat | train | php |
75ce3ba4341845a4d8f3129311532db808a7e11e | diff --git a/lib/nissh/mock_session.rb b/lib/nissh/mock_session.rb
index <HASH>..<HASH> 100644
--- a/lib/nissh/mock_session.rb
+++ b/lib/nissh/mock_session.rb
@@ -7,8 +7,11 @@ module Nissh
class MockSession
+ attr_reader :executed_commands
+
def initialize
@mocked_commands = {}
+ @executed_co... | store all executed commands and add close method | adamcooke_nissh | train | rb,rb |
00279d8a06bd1f52e9b8e70896585bd16d88e430 | diff --git a/lib/less/node/dimension.js b/lib/less/node/dimension.js
index <HASH>..<HASH> 100644
--- a/lib/less/node/dimension.js
+++ b/lib/less/node/dimension.js
@@ -17,7 +17,7 @@ tree.Dimension.prototype = {
operate: function (op, other) {
return new(tree.Dimension)
(tree.operate(op, ... | in an operation, inherit the unit of either operand | less_less.js | train | js |
088830c0bb83404be4826c19db3c1db0fc915d7e | diff --git a/lib/plugins/datacollector/dataCollector.js b/lib/plugins/datacollector/dataCollector.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/datacollector/dataCollector.js
+++ b/lib/plugins/datacollector/dataCollector.js
@@ -8,13 +8,9 @@ const fs = require('fs'),
Promise.promisifyAll(fs);
-const TIME_FORMAT ... | Remove unused code from DataCollector. | sitespeedio_sitespeed.io | train | js,js |
4cc87cb68db95e6a84c838dd066bfab8ddcb5d9c | diff --git a/services/datalad/datalad_service/common/s3.py b/services/datalad/datalad_service/common/s3.py
index <HASH>..<HASH> 100644
--- a/services/datalad/datalad_service/common/s3.py
+++ b/services/datalad/datalad_service/common/s3.py
@@ -92,7 +92,7 @@ def validate_s3_config(dataset_path, realm):
# get annex o... | fix: Correctly decode reading remote.log | OpenNeuroOrg_openneuro | train | py |
438d79e4ef714f637f8f1cb50b01293e5232340a | diff --git a/lib/itamae/resource/file.rb b/lib/itamae/resource/file.rb
index <HASH>..<HASH> 100644
--- a/lib/itamae/resource/file.rb
+++ b/lib/itamae/resource/file.rb
@@ -60,15 +60,6 @@ module Itamae
run_command(["touch", attributes.path])
end
- change_target = @temppath || attributes.path
... | Set mode and owner correctly when file not changed
Previously always mode and owner had set to temppath even if file content is
not changed.
P.S. we need well-covered tests! | itamae-kitchen_itamae | train | rb |
47679e7392d471f4bb2e725f5ab27b82311b25f5 | diff --git a/tldap/base.py b/tldap/base.py
index <HASH>..<HASH> 100644
--- a/tldap/base.py
+++ b/tldap/base.py
@@ -24,7 +24,6 @@ import tldap.modlist
import ldap.dn
-import copy
import sys
default_object_class_field = tldap.fields.CharField(required=True, max_instances=None)
@@ -546,7 +545,7 @@ class LDAPobjec... | Use clone() instead of copy module.
Copy module doesn't call constructor of CaseInsensitiveDict, resulting
in random errors because lc is not definied. | Karaage-Cluster_python-tldap | train | py |
ab5fa7b1e2f857afbff7f6a66644c9540104f1a2 | diff --git a/src/ODataResource.js b/src/ODataResource.js
index <HASH>..<HASH> 100644
--- a/src/ODataResource.js
+++ b/src/ODataResource.js
@@ -12,7 +12,7 @@ function hook(resource, pos, fn) {
/*eslint-disable */
method.map((curr) => {
if (resource._hooks[curr][pos]) {
- const _fn = resource._hooks[metho... | fix(resource): cant set `all hook` over 1 more function for a resource. | TossShinHwa_node-odata | train | js |
ad69ab4e173a67adef0b41ff2cf5e9a340c07221 | diff --git a/lib/tty/prompt/reader/win_console.rb b/lib/tty/prompt/reader/win_console.rb
index <HASH>..<HASH> 100644
--- a/lib/tty/prompt/reader/win_console.rb
+++ b/lib/tty/prompt/reader/win_console.rb
@@ -41,7 +41,11 @@ module TTY
#
# @api private
def get_char(options)
- options[:e... | Change to fix console modes on windows. | piotrmurach_tty-prompt | train | rb |
21cc0dca2c3e9daeaffa740c4c86bb6c3212a52b | diff --git a/src/Command/Checker.php b/src/Command/Checker.php
index <HASH>..<HASH> 100644
--- a/src/Command/Checker.php
+++ b/src/Command/Checker.php
@@ -104,13 +104,7 @@ final class Checker extends Command
private function getDocheaderFileContent(InputInterface $input)
{
$docheaderFile = $input->ge... | Remove checker for `.docheader` file that was not needed and rename
`DocheaderFileResolution::__invoke()` to
`DocheaderFileResolution::resolve()` | malukenho_docheader | train | php,php |
843d6955aa2aac3b77b9094a1148bd5955e85f9f | diff --git a/subitem/client_test.go b/subitem/client_test.go
index <HASH>..<HASH> 100644
--- a/subitem/client_test.go
+++ b/subitem/client_test.go
@@ -21,7 +21,9 @@ func TestSubscriptionItemGet(t *testing.T) {
}
func TestSubscriptionItemList(t *testing.T) {
- i := List(&stripe.SubscriptionItemListParams{})
+ i := L... | Fix subscription item listing test
When listing subscription items a subscription ID is required. Our test
wasn't previously doing that, so here we add one in.
Caught while testing against a newer version of stripe-mock that
validates query parameters. | stripe_stripe-go | 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.