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 |
|---|---|---|---|---|---|
47ca4675e3a9463e16d5d8f8a2f5968aed360055 | diff --git a/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb b/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb
index <HASH>..<HASH> 100644
--- a/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb
+++ b/lib/shoulda/matchers/active_record/validate_uniqueness_of_... | uniqueness: don't use a private Rails API
`ActiveRecord::Validations#_validations` is a private API.
Fortunately, Rails provides an API that does exactly what's needed here,
and it's been in Rails since at least <I>, so let's use that instead. | thoughtbot_shoulda-matchers | train | rb |
9b2d496b88d6b893aada4aefb93a53f8d5108cce | diff --git a/cwltool/stdfsaccess.py b/cwltool/stdfsaccess.py
index <HASH>..<HASH> 100644
--- a/cwltool/stdfsaccess.py
+++ b/cwltool/stdfsaccess.py
@@ -45,4 +45,6 @@ class StdFsAccess(object):
return os.path.join(path, *paths)
def realpath(self, path): # type: (Text) -> Text
+ if os.name == 'nt':... | On windows os.realpath appends Drive letter, we need to avoid that | common-workflow-language_cwltool | train | py |
ff343656c019221b89188176ba7118e470e87e8e | diff --git a/src/org/openscience/cdk/atomtype/StructGenAtomTypeGuesser.java b/src/org/openscience/cdk/atomtype/StructGenAtomTypeGuesser.java
index <HASH>..<HASH> 100644
--- a/src/org/openscience/cdk/atomtype/StructGenAtomTypeGuesser.java
+++ b/src/org/openscience/cdk/atomtype/StructGenAtomTypeGuesser.java
@@ -86,7 +86,... | Be more flexible in what possible matches are, as this class should do.
git-svn-id: <URL> | cdk_cdk | train | java |
57363540ad24e8df38588668b697be77d570f9e1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -7,15 +7,11 @@ versionfile = open('VERSION', 'r')
ver = versionfile.read().strip()
versionfile.close()
-setup(name='SCoT',
+setup(name='scot',
version=ver,
description='Source Connectivity Toolbox',
au... | Update setup.py (remove binica, change SCoT to scot, and add scot.external). | scot-dev_scot | train | py |
9746273b81faad17006f2532273e15e7643c6e88 | diff --git a/source/application/transforms/react/index.js b/source/application/transforms/react/index.js
index <HASH>..<HASH> 100644
--- a/source/application/transforms/react/index.js
+++ b/source/application/transforms/react/index.js
@@ -77,7 +77,7 @@ export default function createReactCodeFactory(application) {
f... | fix: use manifest.name for plain jsx class names | patternplate-archive_patternplate-server | train | js |
1c47ccaf9b95bef97f3865d30b1b632d7a361917 | diff --git a/src/Versioned.php b/src/Versioned.php
index <HASH>..<HASH> 100644
--- a/src/Versioned.php
+++ b/src/Versioned.php
@@ -686,7 +686,6 @@ class Versioned extends DataExtension implements TemplateGlobalProvider, Resetta
*/
protected function promoteConditions(SQLSelect $baseQuery, SQLSelect $newQuery... | Remove empty line to fix linting error | silverstripe_silverstripe-versioned | train | php |
7081f4230bc9c93cdacda30145e2fcee221d4c37 | diff --git a/packages/cli/lib/lib/webpack/webpack-client-config.js b/packages/cli/lib/lib/webpack/webpack-client-config.js
index <HASH>..<HASH> 100644
--- a/packages/cli/lib/lib/webpack/webpack-client-config.js
+++ b/packages/cli/lib/lib/webpack/webpack-client-config.js
@@ -229,6 +229,7 @@ function isProd(config) {
... | Configure terser to not extract comments in production mode (#<I>)
Sets `extractComments: false` in webpack production config.
Fixes this error message I was seeing during builds:
```
× ERROR The comment file "route-dataset/index.tsx.chunk<I>d<I>e.esm.js.LICENSE.txt" conflicts with an existing asset, this may lea... | developit_preact-cli | train | js |
01699f99b7a9a1f60fcee813f01d3007e042049c | diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/data.rb
+++ b/lib/discordrb/data.rb
@@ -252,6 +252,13 @@ module Discordrb
# A member is a user on a server. It differs from regular users in that it has roles, voice statuses and things like
# that.
class... | Create readers for mute and deaf | meew0_discordrb | train | rb |
34cb53239b797bf0a31c0f3b656562dd36fae0f5 | diff --git a/service-name-handler.js b/service-name-handler.js
index <HASH>..<HASH> 100644
--- a/service-name-handler.js
+++ b/service-name-handler.js
@@ -47,8 +47,8 @@ TChannelServiceNameHandler.prototype.handleRequest = function handleRequest(req,
if (self.isBusy) {
var busyInfo = self.isBusy();
- ... | just returning string reason from isBusy | uber_tchannel-node | train | js,js |
c3214f82b53c72eb6884359020fa23449ba789b4 | diff --git a/MatchMakingLobby/Match/Plugin.php b/MatchMakingLobby/Match/Plugin.php
index <HASH>..<HASH> 100644
--- a/MatchMakingLobby/Match/Plugin.php
+++ b/MatchMakingLobby/Match/Plugin.php
@@ -601,10 +601,22 @@ class Plugin extends \ManiaLive\PluginHandler\Plugin
\ManiaLive\Utilities\Logger::debug('Player illegal ... | Fix rare bug when changing state multiple times | maniaplanet_matchmaking-lobby | train | php |
906d023d29cb428fa350746b7286d24ae9cd04b2 | diff --git a/lib/sequent/core/command_record.rb b/lib/sequent/core/command_record.rb
index <HASH>..<HASH> 100644
--- a/lib/sequent/core/command_record.rb
+++ b/lib/sequent/core/command_record.rb
@@ -43,8 +43,9 @@ module Sequent
def parent
EventRecord
- .find_by(aggregate_id: event_aggregate_i... | Fix broken selecting parent of CommandRecord | zilverline_sequent | train | rb |
e975fdab010f555022d086b209f2241ecb283589 | diff --git a/src/engine/keyManager.js b/src/engine/keyManager.js
index <HASH>..<HASH> 100644
--- a/src/engine/keyManager.js
+++ b/src/engine/keyManager.js
@@ -377,19 +377,19 @@ export class KeyManager {
}
if (newPubKey) {
const index = children.length
- const pubKeyHash = await this.hash160(newPub... | create key correctly for nested address under bip<I> | EdgeApp_edge-currency-bitcoin | train | js |
1fc2fa5c9fe8cfa4a7b820cac90eff4d9dcbd762 | diff --git a/examples/router/router-mock.js b/examples/router/router-mock.js
index <HASH>..<HASH> 100644
--- a/examples/router/router-mock.js
+++ b/examples/router/router-mock.js
@@ -5,6 +5,20 @@ Vue.component('RouterLink', {
tag: { type: String, default: 'a' }
},
render(createElement) {
- return createElement(... | docs(router): add href to examples | vue-styleguidist_vue-styleguidist | train | js |
13b54ada7f65c85b02b964dc58b97d805d498527 | diff --git a/includes/functions-auth.php b/includes/functions-auth.php
index <HASH>..<HASH> 100644
--- a/includes/functions-auth.php
+++ b/includes/functions-auth.php
@@ -157,9 +157,11 @@ function yourls_store_cookie( $user = null ) {
die('Stealing cookies?'); // This should never happen
}
$time = time() + ... | Remove warning when trying to store cookie after headers sent
git-svn-id: <URL> | YOURLS_YOURLS | train | php |
652b3f90bc8170a41b04b589d147d366a7858424 | diff --git a/pyrogram/client/ext/base_client.py b/pyrogram/client/ext/base_client.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/ext/base_client.py
+++ b/pyrogram/client/ext/base_client.py
@@ -105,10 +105,10 @@ class BaseClient:
async def resolve_peer(self, *args, **kwargs):
pass
- async def fe... | Remove async from some method signatures. They are not asynchronous | pyrogram_pyrogram | train | py |
b02ee1c220a9968c67888ca631b42a2e09512853 | diff --git a/js/jquery.fileupload.js b/js/jquery.fileupload.js
index <HASH>..<HASH> 100644
--- a/js/jquery.fileupload.js
+++ b/js/jquery.fileupload.js
@@ -1,5 +1,5 @@
/*
- * jQuery File Upload Plugin 5.16.1
+ * jQuery File Upload Plugin 5.16.2
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, S... | Refactored last merge and updated version number. | blueimp_jQuery-File-Upload | train | js |
03fb84d5592ac145d5cdb342011cf0f10e37d888 | diff --git a/bika/lims/browser/js/utils.js b/bika/lims/browser/js/utils.js
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/js/utils.js
+++ b/bika/lims/browser/js/utils.js
@@ -369,8 +369,12 @@ $(document).ready(function(){
}
});
- // Archetypes :int inputs get numeric class
- $("input[name*='\\:int']").addCla... | Filter archetypes integer widget values
This prevents entry of anything but integers. fixes #<I> | senaite_senaite.core | train | js |
479330a49a28e4f7443982ba235d2adee3e49d58 | diff --git a/google_auth_oauthlib/interactive.py b/google_auth_oauthlib/interactive.py
index <HASH>..<HASH> 100644
--- a/google_auth_oauthlib/interactive.py
+++ b/google_auth_oauthlib/interactive.py
@@ -166,7 +166,7 @@ def get_user_credentials(
client_config, scopes=scopes
)
- port = find_open_port()... | fix: Pass port range from `get_user_credentials` to `find_open_port` (#<I>)
* Port range now passed in | googleapis_google-auth-library-python-oauthlib | train | py,py |
ea2ea33d828d699c4ad3cc186b63e0eb29478d19 | diff --git a/provision/local/lxc.go b/provision/local/lxc.go
index <HASH>..<HASH> 100644
--- a/provision/local/lxc.go
+++ b/provision/local/lxc.go
@@ -15,7 +15,7 @@ func runCmd(cmd string, args ...string) error {
command := exec.Command(cmd, args...)
out, err := command.CombinedOutput()
log.Printf("running the cm... | provision/local: converting bytes do string. | tsuru_tsuru | train | go |
bdaef48743df6f22d6ffbdf9e72efee73986d6b5 | diff --git a/src/pyoram/storage/block_storage_sftp.py b/src/pyoram/storage/block_storage_sftp.py
index <HASH>..<HASH> 100644
--- a/src/pyoram/storage/block_storage_sftp.py
+++ b/src/pyoram/storage/block_storage_sftp.py
@@ -29,6 +29,7 @@ class BlockStorageSFTP(BlockStorageFile):
_filesystem=sshclient.open_s... | set pipelined mode to true on the paramiko sftp object | ghackebeil_PyORAM | train | py,py |
6bc348f4a9e07e621da5fcd501706e79884fddcc | diff --git a/src/filter/RuleHelper.js b/src/filter/RuleHelper.js
index <HASH>..<HASH> 100644
--- a/src/filter/RuleHelper.js
+++ b/src/filter/RuleHelper.js
@@ -143,7 +143,7 @@ export class RuleHelper {
case ngeoFormatAttributeType.GEOMETRY:
rule = new ngeoRuleGeometry({
name: name,
- ... | Set default spatial operator to INTERSECTS | camptocamp_ngeo | train | js |
7156acf5e583f1ee9b15d027321cb8e26bac1898 | diff --git a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/rollup/Granularity.java b/blueflood-core/src/main/java/com/rackspacecloud/blueflood/rollup/Granularity.java
index <HASH>..<HASH> 100644
--- a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/rollup/Granularity.java
+++ b/blueflood-core/src/... | [square] doesn't need to be private | rackerlabs_blueflood | train | java |
8a63a08c695e59e0d3a769ac133685484fe80e82 | diff --git a/example/grouptest/settings.py b/example/grouptest/settings.py
index <HASH>..<HASH> 100644
--- a/example/grouptest/settings.py
+++ b/example/grouptest/settings.py
@@ -136,8 +136,8 @@ INSTALLED_APPS = (
)
-MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
-INSTALLED_APPS += ('de... | Disable debug_toolbar
Could probably do with removing this altogether. | bennylope_django-organizations | train | py |
34ab47758eb318009a99168eb66e5934f6ce8e18 | diff --git a/app/index.js b/app/index.js
index <HASH>..<HASH> 100644
--- a/app/index.js
+++ b/app/index.js
@@ -285,10 +285,6 @@ module.exports = yeoman.Base.extend({
},
babel: function () {
- if (!this.options.babel) {
- return;
- }
-
this.fs.copy(
this.templatePath('babelrc'),
thi... | Copy babelrc in anytime | yeoman_generator-chrome-extension | train | js,js |
d15f1ec2793c3d7cb12f7bd49c73192222f0fd81 | diff --git a/openquake/utils/db/loader.py b/openquake/utils/db/loader.py
index <HASH>..<HASH> 100644
--- a/openquake/utils/db/loader.py
+++ b/openquake/utils/db/loader.py
@@ -158,10 +158,10 @@ def parse_mfd(fault, mfd_java_obj):
min_mag = mfd_java_obj.getMinX() - (delta / 2)
max_mag = mfd_java_obj.get... | re-added bug fix; (I had removed it to exercise a test)
Former-commit-id: <I>be<I>c9a<I>b7e<I>d8bad | gem_oq-engine | train | py |
63258a8c2a764980da94722fb129ad9f6ac53dd8 | diff --git a/abydos/bm.py b/abydos/bm.py
index <HASH>..<HASH> 100644
--- a/abydos/bm.py
+++ b/abydos/bm.py
@@ -409,7 +409,7 @@ def normalize_language_attributes(text, strip):
"""
uninitialized = -1; # all 1's
attrib = uninitialized
- while text.find('[') != -1:
+ while '[' in text:
bracket... | simplified a few str.finds to ins | chrislit_abydos | train | py |
2f8dd847fc2565336b9b5bdbbabaf9582dd639a9 | diff --git a/core-bundle/src/Resources/contao/library/Contao/Message.php b/core-bundle/src/Resources/contao/library/Contao/Message.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/library/Contao/Message.php
+++ b/core-bundle/src/Resources/contao/library/Contao/Message.php
@@ -178,7 +178,15 @@ clas... | Do not reset the entire flash bag when resetting the message system (see #<I>)
Description
-----------
| Q | A
| -----------------| ---
| Fixed issues | Fixes #<I>
| Docs PR or issue | -
Commits
-------
ef0a8bfb Do not reset the entire flash bag when resetting the message system
4ff<I>f0 Adjust t... | contao_contao | train | php |
76c99950031a2310f982876a0ecf9e085af342c1 | diff --git a/state/allcollections.go b/state/allcollections.go
index <HASH>..<HASH> 100644
--- a/state/allcollections.go
+++ b/state/allcollections.go
@@ -319,7 +319,11 @@ func allCollections() CollectionSchema {
// These collections hold information associated with machines.
containerRefsC: {},
- instanceData... | Adds index for model UUID and machine ID to instanceData collection.
Full scans are being seen against this table even when filters are
applied. | juju_juju | train | go |
6971d6443cb5c9bd2f43cde032f3fb036c348e89 | diff --git a/src/RedisClustr.js b/src/RedisClustr.js
index <HASH>..<HASH> 100644
--- a/src/RedisClustr.js
+++ b/src/RedisClustr.js
@@ -614,9 +614,17 @@ setupCommands(RedisClustr);
* @date 2014-11-19
* @return {RedisBatch} A RedisBatch which has a very similar interface ... | Added pre-defined commands support to batch() and multi(). | gosquared_redis-clustr | train | js |
d77b7ed18829ae833b6083b04019ed90eb938864 | diff --git a/src/providers/index.js b/src/providers/index.js
index <HASH>..<HASH> 100644
--- a/src/providers/index.js
+++ b/src/providers/index.js
@@ -1,22 +1,18 @@
import BitcoinRPCProvider from './bitcoin/BitcoinRPCProvider'
import BitcoinLedgerProvider from './bitcoin/BitcoinLedgerProvider'
-import BitcoinSwapProv... | Removed swap from providers
They are in another branch ;-) | liquality_chainabstractionlayer | train | js |
2866c82cef0b028519bdc89f526462846b38da22 | diff --git a/engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/util/container/TomcatServerBootstrap.java b/engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/util/container/TomcatServerBootstrap.java
index <HASH>..<HASH> 100644
--- a/engine-rest/engine-rest/src/test/java/org/camunda/bpm/e... | test(engine-rest): try harder to let shrinkwrap work offline
related to #CAM-<I> | camunda_camunda-bpm-platform | train | java |
2e266d8ac19495646c61388953bdbc57508f0f2a | diff --git a/lib/Doctrine/MongoDB/Query/Builder.php b/lib/Doctrine/MongoDB/Query/Builder.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/MongoDB/Query/Builder.php
+++ b/lib/Doctrine/MongoDB/Query/Builder.php
@@ -1308,22 +1308,20 @@ class Builder
* field name (key) and order (value) pairs.
*
* @para... | Refactor Builder::sort() to not use recursion | doctrine_mongodb | train | php |
72f5fa9e099dae230de38f4da25546c054c494e4 | diff --git a/src/wyc/stages/ModuleBuilder.java b/src/wyc/stages/ModuleBuilder.java
index <HASH>..<HASH> 100755
--- a/src/wyc/stages/ModuleBuilder.java
+++ b/src/wyc/stages/ModuleBuilder.java
@@ -676,7 +676,7 @@ public class ModuleBuilder {
String lab = Block.freshLabel();
postcondition = new Block();
p... | Another bug fix for post-conditions. | Whiley_WhileyCompiler | train | java |
f294431c8157b63d16bf67b74a774eed334dc4c9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -50,7 +50,7 @@ else:
# We will embed this metadata into the package so it can be recalled for debugging.
-version = '0.5.0'
+version = '0.5.1.dev0'
try:
git_commit, _ = Popen(['git', 'describe', '--tags'], stdout=PI... | Bump to the next dev version.
We forgot to do this for <I>-dev. Whoops! | mikeboers_PyAV | train | py |
3f482ba8a8c7d50ac53fa6a772283d8ed457c20e | diff --git a/Facades/Facade.php b/Facades/Facade.php
index <HASH>..<HASH> 100755
--- a/Facades/Facade.php
+++ b/Facades/Facade.php
@@ -62,7 +62,6 @@ abstract class Facade
/**
* Initiate a mock expectation on the facade.
*
- * @param mixed
* @return \Mockery\Expectation
*/
public s... | Fix possible errors on DocBlocks (#<I>)
Generating documentation using Sami, it reported some errors.
I'm not sure if the tags in the comments are wrong or we should just
ignore the error output of Sami.
Anyway this is not a big issue at all, just a minor detail. | illuminate_support | train | php |
59a61f8dd39fa6c7418a5775f028f9f2a796a14f | diff --git a/pid/__init__.py b/pid/__init__.py
index <HASH>..<HASH> 100644
--- a/pid/__init__.py
+++ b/pid/__init__.py
@@ -37,7 +37,7 @@ class PidFile(object):
def __init__(self, pidname=None, piddir=None, enforce_dotpid_postfix=True,
register_term_signal_handler=True, term_signal_handler=None,
... | default to lazy setup for all instantiations | trbs_pid | train | py |
33a621acc7f48e53d3873f4ae3711beed6ed0951 | diff --git a/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb b/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb
index <HASH>..<HASH> 100644
--- a/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb
+++ b/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb
@@ -11,4 +11,28 @@ describe "... | Added a bunch of pending specs. | publify_publify | train | rb |
6d842aa92eb10796e392e971d585554e5d6542d5 | diff --git a/awss/awsc.py b/awss/awsc.py
index <HASH>..<HASH> 100644
--- a/awss/awsc.py
+++ b/awss/awsc.py
@@ -79,8 +79,11 @@ def get_all_aminames(i_info):
"""
for i in i_info:
- # pylint: disable=maybe-no-member
- i_info[i]['aminame'] = EC2R.Image(i_info[i]['ami']).name
+ try:
+ ... | Change AMI-Name Lookup to Account for AMI-index without a name
If an AMI-number does not have a corresponding name, it is assigned the value “Unknown”
This value will display in instance lists
This value used as a special-case in the cmd_ssh_user function
[ci skip] | robertpeteuil_aws-shortcuts | train | py |
a41c0a4c5bab438c50a9c26e6a6b6660733fd6ed | diff --git a/lib/git_wit/auth.rb b/lib/git_wit/auth.rb
index <HASH>..<HASH> 100644
--- a/lib/git_wit/auth.rb
+++ b/lib/git_wit/auth.rb
@@ -1,5 +1,8 @@
module GitWit
def self.user_for_authentication(username)
+ if config.user_for_authentication.respond_to?(:call)
+ return config.user_for_authentication.call(... | Fix user fetching in GitWit::Auth. | xdissent_git_wit | train | rb |
5837401bc97b4c401483dea96865642a80f0a549 | diff --git a/tests/test_cookiecutter_invocation.py b/tests/test_cookiecutter_invocation.py
index <HASH>..<HASH> 100644
--- a/tests/test_cookiecutter_invocation.py
+++ b/tests/test_cookiecutter_invocation.py
@@ -38,6 +38,7 @@ def project_dir(request):
return rendered_dir
+@pytest.mark.usefixtures('clean_system'... | Use clean up fixture in test_cookiecutter_invocation | audreyr_cookiecutter | train | py |
0f4ec56f9a8c8663656b3fa8b2e195d100bcba45 | diff --git a/packages/node_modules/@ciscospark/internal-plugin-wdm/test/integration/spec/ping.js b/packages/node_modules/@ciscospark/internal-plugin-wdm/test/integration/spec/ping.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@ciscospark/internal-plugin-wdm/test/integration/spec/ping.js
+++ b/packages/node... | test(@ciscospark/i-plugin-wdm): decomission stickies service | webex_spark-js-sdk | train | js |
55df6b8a6a090bdffbad6a713932ff92ad826cac | diff --git a/dvc/command/remove.py b/dvc/command/remove.py
index <HASH>..<HASH> 100644
--- a/dvc/command/remove.py
+++ b/dvc/command/remove.py
@@ -13,8 +13,8 @@ class CmdRemove(CmdBase):
for target in self.args.targets:
try:
self.repo.remove(target, outs=self.args.outs)
- ... | cli: remove: Show traceback on verbose (#<I>) | iterative_dvc | train | py |
eddf2483f9eda8e9b4da79d50d28d8984246cc13 | diff --git a/lib/xlsx/xlsx.js b/lib/xlsx/xlsx.js
index <HASH>..<HASH> 100644
--- a/lib/xlsx/xlsx.js
+++ b/lib/xlsx/xlsx.js
@@ -46,8 +46,6 @@ var XLSX = module.exports = function (workbook) {
};
-var getTheme1Xml = utils.readModuleFile(require.resolve('./xml/theme1.xml'));
-
XLSX.RelType = require('./rel-type');
... | Stops Bluebird warning about unreturned promise
Fixes guyonroche/exceljs#<I> | exceljs_exceljs | train | js |
1be5bf7a577e6353de966b2a29cd70743c845b97 | diff --git a/lib/cancan/can_definition.rb b/lib/cancan/can_definition.rb
index <HASH>..<HASH> 100644
--- a/lib/cancan/can_definition.rb
+++ b/lib/cancan/can_definition.rb
@@ -104,7 +104,7 @@ module CanCan
def nested_subject_matches_conditions?(subject_hash)
parent, child = subject_hash.shift
- matche... | don't fail if association conditions aren't specified for nested association check | ryanb_cancan | train | rb,rb |
a6886ebb769628221945b7f54cbcb3e5ee2424f8 | diff --git a/indra/databases/hgnc_client.py b/indra/databases/hgnc_client.py
index <HASH>..<HASH> 100644
--- a/indra/databases/hgnc_client.py
+++ b/indra/databases/hgnc_client.py
@@ -1,17 +1,14 @@
-from __future__ import absolute_import, print_function, unicode_literals
-from builtins import dict, str
import os
impor... | Don't require requests as import for hgnc_client. | sorgerlab_indra | train | py |
750ee341290d9b5c5abeec4c1ed6506ed147924d | diff --git a/tests/frontend/org/voltdb/regressionsuites/TestFunctionsSuite.java b/tests/frontend/org/voltdb/regressionsuites/TestFunctionsSuite.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/regressionsuites/TestFunctionsSuite.java
+++ b/tests/frontend/org/voltdb/regressionsuites/TestFunctionsSuite.ja... | add messages when fails according to Paul's comment. | VoltDB_voltdb | train | java |
2e86cec48bf2da0fd0d1fe8de605ba73725bef61 | diff --git a/aurelia-slickgrid/assets/lib/multiple-select/multiple-select.js b/aurelia-slickgrid/assets/lib/multiple-select/multiple-select.js
index <HASH>..<HASH> 100644
--- a/aurelia-slickgrid/assets/lib/multiple-select/multiple-select.js
+++ b/aurelia-slickgrid/assets/lib/multiple-select/multiple-select.js
@@ -670,7... | fix(select): multiple-select autoAdjustDropWidth sometime incorrect | ghiscoding_aurelia-slickgrid | train | js |
8e592876bc04b007ec3c0687ab9f803327721608 | diff --git a/internal/services/storage/storage_account_resource.go b/internal/services/storage/storage_account_resource.go
index <HASH>..<HASH> 100644
--- a/internal/services/storage/storage_account_resource.go
+++ b/internal/services/storage/storage_account_resource.go
@@ -996,9 +996,6 @@ func resourceStorageAccountCr... | remove invalid storage account restriction (#<I>) | terraform-providers_terraform-provider-azurerm | train | go |
8a033fc1cb93042793e9b169de1396aaa4cecdf7 | diff --git a/glue/ligolw/table.py b/glue/ligolw/table.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/table.py
+++ b/glue/ligolw/table.py
@@ -423,8 +423,6 @@ class TableStream(ligolw.Stream):
parent element, and knows how to turn the parent's rows back into a
character stream.
"""
- __slots__ = ["__tokenizer", "... | The __slots__ thing isn't doing anything for the TableStream element, so get
rid of it (it was never working, or how else could an instance have a
parentNode attribute?). | gwastro_pycbc-glue | train | py |
18ae10eef196e0806f08c68e47238d415b8e3596 | diff --git a/packages/ember-glimmer/lib/helpers/action.js b/packages/ember-glimmer/lib/helpers/action.js
index <HASH>..<HASH> 100644
--- a/packages/ember-glimmer/lib/helpers/action.js
+++ b/packages/ember-glimmer/lib/helpers/action.js
@@ -205,8 +205,8 @@ export const ACTION = symbol('ACTION');
If you need the defa... | [DOC release] Fix links in {{action}} helper documentation
Documentation in the `{{action}}` helper still referred to Ember.View
documentation.
Fixes #<I> | emberjs_ember.js | train | js |
ce88f1fbaa2a68d5852d13203205cd51f79787b2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ classifiers = ["License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Testing",
"Operating System :: Microsoft :: Windows",
"Opera... | do not support python <I> | KarlGong_ptest | train | py |
fe9047d51b26df35a314190813ce24c7bc11f74d | diff --git a/registry/registry.go b/registry/registry.go
index <HASH>..<HASH> 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -132,7 +132,8 @@ func (c *client) GetRepository(repository string) (_ []flux.ImageDescription, er
Transport: roundtripperFunc(func(r *http.Request) (*http.Response, error) {
... | Add a client timeout to all registry requests | weaveworks_flux | train | go |
ade6dbaa9bc52265962762fbaf17b0b9c690fa9d | diff --git a/lib/songkickr/remote_api/upcoming_events.rb b/lib/songkickr/remote_api/upcoming_events.rb
index <HASH>..<HASH> 100644
--- a/lib/songkickr/remote_api/upcoming_events.rb
+++ b/lib/songkickr/remote_api/upcoming_events.rb
@@ -86,8 +86,8 @@ module Songkickr
#
# ==== Query Parameters
# * +na... | Update location search example docs
The examples in the docs for location_search show queries surrounded with braces, but those queries throw an APIError
APIError: Bad request. Please check the documentation: parameter 'location' must be one of the forms: 'geo:-<I>,<I>', 'clientip' or 'ip:<I>'
This just updates... | jrmehle_songkickr | train | rb |
7481ae45207bddb2f47be3beeb951a34e10e862a | diff --git a/lib/hooks.rb b/lib/hooks.rb
index <HASH>..<HASH> 100644
--- a/lib/hooks.rb
+++ b/lib/hooks.rb
@@ -77,11 +77,18 @@ module Hooks
end
def define_hook_writer(name)
- instance_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
+ instance_eval *hook_writer_args(name)
+ end
+
+ def hook_writer_... | move the dynamic writer method code to ::hook_writer_args. | apotonick_hooks | train | rb |
545a0d04d08b5a166b5bc5be9c1ac6d38cb792e1 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -2,7 +2,7 @@
const os = require('os')
const assert = require('chai').assert
-const uuid = require('uuid/v4')
+const uuid = require('uuid').v4
const index = require('./../src/index')
const fsify = re... | Remove deep requiring of uuid | electerious_require-data | train | js |
3ab11970d80f86e19576526fd52da32b77f5878b | diff --git a/test/e2e/load.go b/test/e2e/load.go
index <HASH>..<HASH> 100644
--- a/test/e2e/load.go
+++ b/test/e2e/load.go
@@ -77,11 +77,12 @@ var _ = Describe("Load capacity", func() {
AfterEach(func() {
deleteAllRC(configs)
- framework.afterEach()
// Verify latency metrics
highLatencyRequests, err := Hi... | Properly use framework in load test | kubernetes_kubernetes | train | go |
c4079216440af73c03343f53a6a4734688c87b60 | diff --git a/pkg/markup/orgmode.go b/pkg/markup/orgmode.go
index <HASH>..<HASH> 100644
--- a/pkg/markup/orgmode.go
+++ b/pkg/markup/orgmode.go
@@ -8,6 +8,8 @@ import (
"path/filepath"
"strings"
+ log "gopkg.in/clog.v1"
+
"github.com/chaseadamsio/goorgeous"
)
@@ -25,7 +27,14 @@ func IsOrgModeFile(name string)... | orgmode: recover panic from third-party package | gogs_gogs | train | go |
300649e2d91d497ed462dbf01c275989bca98075 | diff --git a/migrations/m141222_110026_update_ip_field.php b/migrations/m141222_110026_update_ip_field.php
index <HASH>..<HASH> 100644
--- a/migrations/m141222_110026_update_ip_field.php
+++ b/migrations/m141222_110026_update_ip_field.php
@@ -39,8 +39,22 @@ class m141222_110026_update_ip_field extends Migration
... | migrations/update_ip_field::down()
I manage all the migrations in my application automatically, including extensions' migrations.
A migration should be revertible.
I created the down function for this migration. | dektrium_yii2-user | train | php |
598ce1e3540ff86827ed2633af0424a30b97aef1 | diff --git a/cmd/erasure-server-pool.go b/cmd/erasure-server-pool.go
index <HASH>..<HASH> 100644
--- a/cmd/erasure-server-pool.go
+++ b/cmd/erasure-server-pool.go
@@ -27,6 +27,7 @@ import (
"net/http"
"sort"
"strconv"
+ "strings"
"sync"
"time"
@@ -1723,14 +1724,16 @@ func (z *erasureServerPools) Walk(ctx co... | supply prefix filtering when necessary (#<I>)
currently filterPefix was never used and set
that would filter out entries when needed
when `prefix` doesn't end with `/` - this
often leads to objects getting Walked(), Healed()
that were never requested by the caller. | minio_minio | train | go |
a8161e1a2e731fcb59271d213dbd249a9d89d105 | diff --git a/tasks/cucumber.js b/tasks/cucumber.js
index <HASH>..<HASH> 100644
--- a/tasks/cucumber.js
+++ b/tasks/cucumber.js
@@ -86,6 +86,7 @@ module.exports = function(grunt) {
cucumber = spawn(binPath, commands);
cucumber.stdout.on('data', function(data) {
+ process.stdout.write(data);
if (o... | Added changes so that grunt cucumber.js can output live
Added `process.stdout.write` so that grunt cucumberjs can output live on whats happening. This is great when you are debugging a test, you don't need to wait to look at console output until after test execution is complete | mavdi_grunt-cucumberjs | train | js |
c79b62f86945f32266e936c5a6179e2d05c7daa9 | diff --git a/api/server.js b/api/server.js
index <HASH>..<HASH> 100644
--- a/api/server.js
+++ b/api/server.js
@@ -17,10 +17,27 @@ if (cluster.isMaster) {
}
cluster.on('death', function(worker) {
- console.log('worker ' + worker.pid + ' died, restarting.');
- // restart worker
- cluster.fork();
+ if(!work... | When the main server process is killed, kill the children too
Change-Id: If<I>a8c<I>d5c1d4ac<I>fe8cd<I>ef<I>c<I> | wikimedia_parsoid | train | js |
21ad7a743de095343bc425da1829943d5ed431fb | diff --git a/zxbpp.py b/zxbpp.py
index <HASH>..<HASH> 100755
--- a/zxbpp.py
+++ b/zxbpp.py
@@ -198,7 +198,7 @@ def p_token(p):
def p_include_file(p):
''' include_file : include NEWLINE program _ENDFILE_
'''
- p[0] = [p[1]] + p[3] + [p[4]]
+ p[0] = [p[1] + p[2]] + p[3] + [p[4]]
CURRENT_FILE.pop() #... | Fixed a bug in file include which was removing the 1st newline. | boriel_zxbasic | train | py |
de17fcd6f60ec18462761e453c1fce2a282e9693 | diff --git a/cmd/influxd/run/server.go b/cmd/influxd/run/server.go
index <HASH>..<HASH> 100644
--- a/cmd/influxd/run/server.go
+++ b/cmd/influxd/run/server.go
@@ -346,7 +346,7 @@ func (s *Server) startServerReporting() {
func (s *Server) reportServer() {
dis, err := s.MetaStore.Databases()
if err != nil {
- log.P... | missing parens to call func | influxdata_influxdb | train | go |
9e212cf23df0df7a6ef22a9fc4a6537d1f0638de | diff --git a/tools/visualizations/next-century/neon/charts/src/main/javascript/timeline.js b/tools/visualizations/next-century/neon/charts/src/main/javascript/timeline.js
index <HASH>..<HASH> 100644
--- a/tools/visualizations/next-century/neon/charts/src/main/javascript/timeline.js
+++ b/tools/visualizations/next-centu... | accidentally committed code to move timeline that was from an experimental branch | NextCenturyCorporation_neon | train | js |
572de3670c6038bb1d15ec72e7cba982d988b717 | diff --git a/plugin/PhpVersion/Php53.php b/plugin/PhpVersion/Php53.php
index <HASH>..<HASH> 100644
--- a/plugin/PhpVersion/Php53.php
+++ b/plugin/PhpVersion/Php53.php
@@ -84,6 +84,7 @@ class Php53 implements PhpVersion, MemoryLimit, PostLimit, UploadFileLimit, Defa
*/
$phpFpmService->addLinksFrom($mainService);
... | added link from master service to fpm | ipunkt_rancherize-php53 | train | php |
2a2de66304460481e95e5575aa35019e52650b83 | diff --git a/src/parser/Scanner.js b/src/parser/Scanner.js
index <HASH>..<HASH> 100644
--- a/src/parser/Scanner.js
+++ b/src/parser/Scanner.js
@@ -16,19 +16,18 @@ function Scanner(source) {
this.get = function get() {
_currentIndex += 1;
-
+
+ if (_currentIndex > _lastIndex) {
+ _currentIndex = _l... | update Scanner.get to handle end of file properly | lps-js_lps.js | train | js |
f8d34d6c2ff52c87ee1fc2972c0145d5180aab1e | diff --git a/src/processor/intents/spawns/_charge-energy.js b/src/processor/intents/spawns/_charge-energy.js
index <HASH>..<HASH> 100644
--- a/src/processor/intents/spawns/_charge-energy.js
+++ b/src/processor/intents/spawns/_charge-energy.js
@@ -15,7 +15,7 @@ module.exports = function(spawn, roomObjects, cost, bulk, r... | Fixed order of energy charged for spawns. (#<I>)
* Fixed order of energy charged for spawns.
* Update _charge-energy.js
Fixed whitespace mess.
* Update _charge-energy.js
Added return true.
Added extra whitespace after extension sorting. | screeps_engine | train | js |
47c9c8f5dd6a03b32df135df4634adeb7a38e1ca | diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index <HASH>..<HASH> 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -1948,7 +1948,7 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link
echo '<td class="topic starter">';
}
- echo '<div class="subject">'.$po... | Added one missing format_string() to post->subject
Merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
19b4ad57890cf81d12a9a06d54370630927693a2 | diff --git a/src/cf/commands/application/helpers.go b/src/cf/commands/application/helpers.go
index <HASH>..<HASH> 100644
--- a/src/cf/commands/application/helpers.go
+++ b/src/cf/commands/application/helpers.go
@@ -39,7 +39,7 @@ func extractLogHeader(msg *logmessage.Message) (logHeader, coloredLogHeader stri
}
//... | Adjust spacing around loggregator jobs
[#<I>] | cloudfoundry_cli | train | go |
2bd25877ce5d79a4c3936fc165bc3c079dcddb29 | diff --git a/h2o-core/src/main/java/water/parser/CsvParser.java b/h2o-core/src/main/java/water/parser/CsvParser.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/parser/CsvParser.java
+++ b/h2o-core/src/main/java/water/parser/CsvParser.java
@@ -716,6 +716,10 @@ MAIN_LOOP:
// now guess the types... | Fixed guess parse setup to stop at the last full line. | h2oai_h2o-3 | train | java |
b0c5a86addf7eb0dbf84a5469380576e155eb151 | diff --git a/core/src/main/java/hudson/model/AbstractProject.java b/core/src/main/java/hudson/model/AbstractProject.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/AbstractProject.java
+++ b/core/src/main/java/hudson/model/AbstractProject.java
@@ -1198,7 +1198,12 @@ public abstract class Abstract... | [JENKINS-<I>] - Prevent NPE in AbstractProject.checkout when agent disconnects during the build (#<I>)
[JENKINS-<I>] - Prevent NPE in AbstractProject.checkout when agent disconnects during the build | jenkinsci_jenkins | train | java |
34e144bafa0af123a088843d1e9668f011aa3fca | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,12 +1,10 @@
// main component
export AutoForm from './AutoForm.js';
-
-//TODO JS: add redux-autoform-utils import
// component factories
export ComponentFactory from 'redux-autoform-utils/lib/factory/C... | Default factories will not be exposed anymore by the index.js since they will get it's own packages. | redux-autoform_redux-autoform | train | js |
f06f90c5b2b1fa43b3b52b81e19e7f59f839f479 | diff --git a/lib/detect-dependencies.js b/lib/detect-dependencies.js
index <HASH>..<HASH> 100644
--- a/lib/detect-dependencies.js
+++ b/lib/detect-dependencies.js
@@ -140,7 +140,7 @@ function gatherInfo(config) {
var componentConfigFile = findComponentConfigFile(config, component);
if (!componentConfigFile)... | more helpful missing component error message - in case you uninstalled a component without --save | taptapship_wiredep | train | js,js |
5b1503e20b838a584dc2c89dac57afe79176dcc3 | diff --git a/src/main/java/org/jboss/pressgang/ccms/utils/common/DocBookUtilities.java b/src/main/java/org/jboss/pressgang/ccms/utils/common/DocBookUtilities.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/pressgang/ccms/utils/common/DocBookUtilities.java
+++ b/src/main/java/org/jboss/pressgang/ccms/util... | Added a helper method for create link elements. | pressgang-ccms_PressGangCCMSCommonUtilities | train | java |
21475cf64dfd5b6a4b9414ffe07fbd53c0ab9f6e | diff --git a/demo/load.js b/demo/load.js
index <HASH>..<HASH> 100644
--- a/demo/load.js
+++ b/demo/load.js
@@ -27,8 +27,8 @@
* mode during development.
*/
(function() { // anonymous namespace
- // The URL of the page itself, without URL fragments.
- var pageUrl = location.href.split('#')[0];
+ // The URL of th... | Fixed urls with query strings.
In a previous change, urls with query strings were broken such that
if one contained a /, it caused the demo page to fail to load.
Therefore, legacy custom URLs from before we added URL fragments which
contain asset or license URIs stopped working.
This change accounts for that.
Fixes: ... | google_shaka-player | train | js |
ea61387a7a06d1f2ff0d6ca916a5c95519d128f4 | diff --git a/brikar-server/src/main/java/com/truward/brikar/server/launcher/StandardLauncher.java b/brikar-server/src/main/java/com/truward/brikar/server/launcher/StandardLauncher.java
index <HASH>..<HASH> 100644
--- a/brikar-server/src/main/java/com/truward/brikar/server/launcher/StandardLauncher.java
+++ b/brikar-ser... | Configuring loggers in the class constructor instead of launcher's start method | truward_brikar | train | java |
ae36b2a7278741176fc9777ad32aeabb7c151090 | diff --git a/src/main/java/com/googlecode/lanterna/terminal/virtual/DefaultVirtualTerminal.java b/src/main/java/com/googlecode/lanterna/terminal/virtual/DefaultVirtualTerminal.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/terminal/virtual/DefaultVirtualTerminal.java
+++ b/src/main/java/co... | Issue #<I>: Fixing SwingTerminal color regression | mabe02_lanterna | train | java |
9bcb39538792834f316dab01b780e429abb89f02 | diff --git a/code/Model/RedirectorPage.php b/code/Model/RedirectorPage.php
index <HASH>..<HASH> 100644
--- a/code/Model/RedirectorPage.php
+++ b/code/Model/RedirectorPage.php
@@ -136,7 +136,7 @@ class RedirectorPage extends Page
}
}
- public function onBeforeWrite()
+ protected function onBeforeWr... | Changing to protected to match the rest of the changes | silverstripe_silverstripe-cms | train | php |
8826e526cca16d6bd8f38e5912482ba4b050738c | diff --git a/mesh_tensorflow/transformer/utils.py b/mesh_tensorflow/transformer/utils.py
index <HASH>..<HASH> 100644
--- a/mesh_tensorflow/transformer/utils.py
+++ b/mesh_tensorflow/transformer/utils.py
@@ -422,7 +422,8 @@ def tpu_estimator_model_fn(model_type,
# Verify that the right features exist, and transform... | fix a bug - targets may be present when evaluating in inference mode
PiperOrigin-RevId: <I> | tensorflow_mesh | train | py |
7a54dc390843b3d501c2e4a69fbd8a7ca23a9930 | diff --git a/php/WporgClient.php b/php/WporgClient.php
index <HASH>..<HASH> 100644
--- a/php/WporgClient.php
+++ b/php/WporgClient.php
@@ -24,6 +24,11 @@ class WporgClient extends GuzzleClient
return new self($client, $description, $config);
}
+ public static function toObject(array $array)
+ {
+ ... | Reverted object casting to the method. | Rarst_wporg-client | train | php,php |
869f77b8d5a59f016cf62c84cc80192e45ed21d9 | diff --git a/src/i18n-module.php b/src/i18n-module.php
index <HASH>..<HASH> 100644
--- a/src/i18n-module.php
+++ b/src/i18n-module.php
@@ -270,7 +270,7 @@ class Yoast_I18n_v3 {
echo '<div>';
echo '<h2>' . sprintf( __( 'Translation of %s', $this->textdomain ), $this->plugin_name ) . '</h2>';
- if ( isset( $t... | CS/QA: replace a loose comparison
Reasoning:
* Initially the property is `null` (not set).
* The property may get initialized by it being passed in via `$args`. In that case, it is expected to be a `string`, but there is no type check anywhere, so it could be something else.
Having said that, changing this to a stric... | Yoast_i18n-module | train | php |
062ca0592712cc557c0ed3488f768a5824b02458 | diff --git a/lib/store_configurable/object.rb b/lib/store_configurable/object.rb
index <HASH>..<HASH> 100644
--- a/lib/store_configurable/object.rb
+++ b/lib/store_configurable/object.rb
@@ -1,8 +1,4 @@
-begin
- require 'active_support/basic_object'
-rescue LoadError
- require 'active_support/proxy_object'
-end
+requ... | In Rails <I> and up, there is only the ProxyObject. | metaskills_store_configurable | train | rb |
8ca59435d4e2827171d3428db821da6e70111139 | diff --git a/examples/books-AMD/app/views.js b/examples/books-AMD/app/views.js
index <HASH>..<HASH> 100644
--- a/examples/books-AMD/app/views.js
+++ b/examples/books-AMD/app/views.js
@@ -37,4 +37,4 @@ define(["underscore", "backbone"], function (_, Backbone) {
};
return views;
-});
\ No newline at end o... | Insert missing line break at end-of-file | biril_backbone-faux-server | train | js |
049183e00cae8abf4ed94a0cf09d2418b2c038a6 | diff --git a/ok.views.js b/ok.views.js
index <HASH>..<HASH> 100644
--- a/ok.views.js
+++ b/ok.views.js
@@ -4,8 +4,6 @@
ok.View = ok.Base.extend({
el: null,
- ownerDocument: null,
- nodeType: 1,
tagName: 'div',
constructor: function (options) {
options = options || {};
@@ -33,7 +31,6 @@ ok.View = ok.Base.ext... | Remove `ownerDocument` property from view | j-_ok | train | js |
1a0eebe7564b0dd360dd36d9809cf8613b6658cd | diff --git a/src/sap.ui.rta/test/sap/ui/rta/internal/testdata/rta/GroupElementTest.flexibility.js b/src/sap.ui.rta/test/sap/ui/rta/internal/testdata/rta/GroupElementTest.flexibility.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.rta/test/sap/ui/rta/internal/testdata/rta/GroupElementTest.flexibility.js
+++ b/src/sap.ui... | [INTERNAL] sap.ui.rta - Fixed specific change handler for test app
The control-specific change handler in the RTA test app was missing the
revertChange method.
Change-Id: Id<I>ddda1b<I>c6e9d<I>fbec1e<I>fa5 | SAP_openui5 | train | js |
21efa2a16d270fb3a8436f608094cbca4fcd8fb1 | diff --git a/classes/PodsInit.php b/classes/PodsInit.php
index <HASH>..<HASH> 100644
--- a/classes/PodsInit.php
+++ b/classes/PodsInit.php
@@ -243,8 +243,10 @@ class PodsInit {
define( 'TRIBE_HIDE_MARKETING_NOTICES', true );
}
- // Disable shortcode handling since we aren't using that.
+ // Disable s... | Disable TC customizer/widget handling too | pods-framework_pods | train | php |
bf78c5425fdca4cf19df8049ee9da6ccf762f8aa | diff --git a/djstripe/models/billing.py b/djstripe/models/billing.py
index <HASH>..<HASH> 100644
--- a/djstripe/models/billing.py
+++ b/djstripe/models/billing.py
@@ -2096,6 +2096,11 @@ class TaxCode(StripeModel):
def __str__(self):
return f"{self.name}: {self.id}"
+ @classmethod
+ def _find_owner... | Overode TaxCode._find_owner_account as they are independent of Stripe Accounts. | dj-stripe_dj-stripe | train | py |
bb2a2d81f73a33d55757f8c5937e26dabc07b087 | diff --git a/visidata/canvas.py b/visidata/canvas.py
index <HASH>..<HASH> 100644
--- a/visidata/canvas.py
+++ b/visidata/canvas.py
@@ -190,7 +190,9 @@ class Plotter(BaseSheet):
def getPixelAttrMost(self, x, y):
'most common attr at this pixel.'
r = self.pixels[y][x]
- c = [(len(rows), attr... | [canvas perf] early out if no pixels | saulpw_visidata | train | py |
63540eeaca083cd4b44e22c735679dfb7c24237b | diff --git a/dryscrape/xvfb.py b/dryscrape/xvfb.py
index <HASH>..<HASH> 100644
--- a/dryscrape/xvfb.py
+++ b/dryscrape/xvfb.py
@@ -5,13 +5,13 @@ _xvfb = None
def start_xvfb():
- from xvfbwrapper import Xvfb
- global _xvfb
- _xvfb = Xvfb()
- _xvfb.start()
- atexit.register(_xvfb.stop)
+ from xvfbwra... | Two space indent size to be consistent | niklasb_dryscrape | train | py |
bdcaab0331fcb34e34941993023aff4cdc573b04 | diff --git a/widgets/ace/WhAceEditor.php b/widgets/ace/WhAceEditor.php
index <HASH>..<HASH> 100644
--- a/widgets/ace/WhAceEditor.php
+++ b/widgets/ace/WhAceEditor.php
@@ -106,7 +106,7 @@ class WhAceEditor extends CInputWidget
/* @var $cs CClientScript */
$cs = Yii::app()->getClientScript();
- ... | Update WhAceEditor.php
Register script (.js) at END instead of TOP | 2amigos_yiiwheels | train | php |
27b0cda0547fb1da708d849153e23c22bc5e23d6 | diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php
index <HASH>..<HASH> 100644
--- a/forms/HtmlEditorField.php
+++ b/forms/HtmlEditorField.php
@@ -429,14 +429,17 @@ class HtmlEditorField_Toolbar extends RequestHandler {
$tabSet = new TabSet(
"MediaFormInsertMediaTabs",
new Tab(
+ 'FromComp... | FIX Localized HtmlEditorField Tabs
Tabs can have only lattin characters in it's name | silverstripe_silverstripe-framework | train | php |
eba04185d4a023de98f92e61d03979ca5941dcff | diff --git a/lib/common/common.go b/lib/common/common.go
index <HASH>..<HASH> 100644
--- a/lib/common/common.go
+++ b/lib/common/common.go
@@ -336,8 +336,22 @@ func parseDockerUser(dockerUser string) (string, string) {
}
func subtractWhiteouts(pathWhitelist []string, whiteouts []string) []string {
- for _, whiteout... | common: remove from pathWhiteList also files inside whited out directories.
If a directory is whited out, subtractWhiteouts should remove from
pathWhiteList also all the files inside it. | appc_docker2aci | train | go |
98bdbe7a767c7b8b1434aad46f735515e0283b3f | diff --git a/core/src/main/java/hudson/Util.java b/core/src/main/java/hudson/Util.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/Util.java
+++ b/core/src/main/java/hudson/Util.java
@@ -64,9 +64,11 @@ public class Util {
// identify the key
int end=idx+1;
while(en... | Fixed such that more interesting macro expressions, such as /$FOO/bar will work.
git-svn-id: <URL> | jenkinsci_jenkins | train | java |
fc4fd47deba61610f136b330b2c939f70f9dc5ed | diff --git a/pkg/services/accesscontrol/ossaccesscontrol/permissions_services.go b/pkg/services/accesscontrol/ossaccesscontrol/permissions_services.go
index <HASH>..<HASH> 100644
--- a/pkg/services/accesscontrol/ossaccesscontrol/permissions_services.go
+++ b/pkg/services/accesscontrol/ossaccesscontrol/permissions_servi... | change managed permissions for service accounts (#<I>) | grafana_grafana | train | go |
c208dac9e4e3d8d0ccca8db2a58aae6195c586bd | diff --git a/ladybug/datacollection.py b/ladybug/datacollection.py
index <HASH>..<HASH> 100644
--- a/ladybug/datacollection.py
+++ b/ladybug/datacollection.py
@@ -400,8 +400,7 @@ class LBDataCollection(list):
DBT = epw.dryBulbTemperature
filteredDBT = DBT.filterByHOYs(HOYs)
"""
- ... | Fixed bug with filterByHOYs | ladybug-tools_ladybug | train | py |
3b2d0577462fec5985fdca75c524870b985de18c | diff --git a/lib/gir_ffi/in_pointer.rb b/lib/gir_ffi/in_pointer.rb
index <HASH>..<HASH> 100644
--- a/lib/gir_ffi/in_pointer.rb
+++ b/lib/gir_ffi/in_pointer.rb
@@ -16,7 +16,7 @@ module GirFFI
end
def self.from type, val
- ArgHelper.utf8_to_inptr val
+ self.new ArgHelper.utf8_to_inptr(val)
end
... | InPointer.from must return an InPointer. | mvz_gir_ffi | train | rb,rb |
f2c1e53a8e58c86bc4fa2db68cc9a881cf80527d | diff --git a/Module.php b/Module.php
index <HASH>..<HASH> 100644
--- a/Module.php
+++ b/Module.php
@@ -28,7 +28,7 @@ class Module implements
$app->getEventManager()->attach($strategy);
}
- public function getServiceConfiguration()
+ public function getServiceConfig()
{
return array(
... | s/Configuration/Config for ZF2 master | bjyoungblood_BjyAuthorize | train | php |
8d83bf80b28f71f32a3b1d6da01860a7e99f335c | diff --git a/oshino/core/heart.py b/oshino/core/heart.py
index <HASH>..<HASH> 100644
--- a/oshino/core/heart.py
+++ b/oshino/core/heart.py
@@ -84,7 +84,7 @@ async def main_loop(cfg: Config,
init(agents)
- while continue_fn():
+ while True:
ts = time()
await step(client, agents, loop=loo... | Do sleep only if we consider to continue | CodersOfTheNight_oshino | train | py |
631de09630492c10f2cc930c4c969d7deaf17d99 | diff --git a/bin/wasm-init.js b/bin/wasm-init.js
index <HASH>..<HASH> 100644
--- a/bin/wasm-init.js
+++ b/bin/wasm-init.js
@@ -47,21 +47,21 @@ if (args['clean'] || args['clean-all']) {
process.stdout.write(colors.yellow('Deleting WASM template...\n'));
folders.forEach(el => {
if (fs.existsSync(el)) {
- ... | rewriting delete file commands with Node | shamadee_wasm-init | train | js |
9ccb8ad07c6279cf708dbe3760a9abf64cd685a3 | diff --git a/machina/apps/search/forms.py b/machina/apps/search/forms.py
index <HASH>..<HASH> 100644
--- a/machina/apps/search/forms.py
+++ b/machina/apps/search/forms.py
@@ -6,6 +6,7 @@ from django import forms
from django.db.models import get_model
from django.utils.translation import ugettext_lazy as _
from hayst... | 'search' app updated to allow restricting the search to topic subjects | ellmetha_django-machina | train | py |
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.