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 |
|---|---|---|---|---|---|
1d4be7aed1fe2e8cc492324b3af1d529bbe0cfe2 | diff --git a/py/selenium/common/exceptions.py b/py/selenium/common/exceptions.py
index <HASH>..<HASH> 100644
--- a/py/selenium/common/exceptions.py
+++ b/py/selenium/common/exceptions.py
@@ -310,6 +310,6 @@ class SessionNotCreatedException(WebDriverException):
class UnknownMethodException(WebDriverException):
"... | Fix grammar typo in exceptions.py (#<I>) [skip ci]
* Fix grammar typo
* Update py/selenium/common/exceptions.py | SeleniumHQ_selenium | train | py |
2ba301f3a01fe92b1999118a66ccaa57d5a39b51 | diff --git a/test/test.basic.js b/test/test.basic.js
index <HASH>..<HASH> 100644
--- a/test/test.basic.js
+++ b/test/test.basic.js
@@ -282,6 +282,32 @@ define(['Chance', 'mocha', 'chai', 'underscore'], function (Chance, mocha, chai,
expect(string).to.have.length(length);
});
... | Test: Provide same options for string as character #<I>
Added Tests | chancejs_chancejs | train | js |
fa04c1b3c90fda34ed2ec4a921b232992b317521 | diff --git a/transformations/src/main/java/jp/wasabeef/glide/transformations/RoundedCornersTransformation.java b/transformations/src/main/java/jp/wasabeef/glide/transformations/RoundedCornersTransformation.java
index <HASH>..<HASH> 100755
--- a/transformations/src/main/java/jp/wasabeef/glide/transformations/RoundedCorn... | fixed drawDiagonalFromTopLeftRoundRect (#<I>) | wasabeef_glide-transformations | train | java |
e2787b04f66d3c690edcadb09f5cf1982fdf3c21 | diff --git a/public/js/content.js b/public/js/content.js
index <HASH>..<HASH> 100644
--- a/public/js/content.js
+++ b/public/js/content.js
@@ -9,7 +9,7 @@ if (!window.apos) {
var apos = window.apos;
// A prepublish script updates this
-apos.version = "0.5.260";
+apos.version = "0.5.262";
apos.handlers = {}; | Version numbers matter in content js for some reason. | apostrophecms_apostrophe | train | js |
1bb1886301da9e3ae10b0d88d3f418a3de98751b | diff --git a/src/motor/Motor.js b/src/motor/Motor.js
index <HASH>..<HASH> 100644
--- a/src/motor/Motor.js
+++ b/src/motor/Motor.js
@@ -110,7 +110,8 @@ class Motor {
_runRenderTasks(timestamp) {
for (const task of this._allRenderTasks) {
- task(timestamp)
+ if (task(timestamp) === f... | Retrun from a render task to remove the task. closes #<I> | trusktr_infamous | train | js |
a0c13a9acfa608a6a43a7ddaf3506b1b5f7ae39e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,8 @@ setup(name='chevron',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
-
+ 'Programming Languag... | Add Python <I> and <I> to setup.py | noahmorrison_chevron | train | py |
341d7d77ef86244b4974c4416933c4b61ba69c32 | diff --git a/andes/routines/eig.py b/andes/routines/eig.py
index <HASH>..<HASH> 100644
--- a/andes/routines/eig.py
+++ b/andes/routines/eig.py
@@ -304,10 +304,7 @@ class EIG(BaseRoutine):
t2, s = elapsed(t1)
self.exec_time = t2 - t1
- logger.info(' Positive %6g', self.n_positive)
- l... | Separate statistics into `EIG.stats()`. | cuihantao_andes | train | py |
3c706e35fc5c756de8fcc3139cdcf125b8f9a50f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ setup(
name='cyrtranslit',
packages=['cyrtranslit'],
version='0.4',
- description='Bi-directional Cyrillic transliteration. Transliterate Cyrillic text to Latin and vice versa.',
+ description='Bi-direc... | Updated classifier list in setup.py to include mention of support for Python <I> and <I> | opendatakosovo_cyrillic-transliteration | train | py |
aed4369502064eb2aedc9ba736aeda39aede3aca | diff --git a/spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/Log4JLoggingSystemTests.java b/spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/Log4JLoggingSystemTests.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-netfli... | Add ignored test to show that blitz4j is not responding
Blitz4j is definitely preventing the log levels from being changed at runtime
through the normal Spring boot channels.
Fixes gh-<I> | spring-cloud_spring-cloud-netflix | train | java |
1c33aa1858b211a662bbbd8f0451189f6fb3bd2e | diff --git a/classes/Gems/Email/EmailFormAbstract.php b/classes/Gems/Email/EmailFormAbstract.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/Email/EmailFormAbstract.php
+++ b/classes/Gems/Email/EmailFormAbstract.php
@@ -54,7 +54,7 @@ abstract class Gems_Email_EmailFormAbstract extends Gems_Form
*/
protec... | Merge r<I> from <I>-pulse | GemsTracker_gemstracker-library | train | php |
4871e2dca3bc3d94ac2fbc0c0166449a5293d4be | diff --git a/packages/helpers/classes/mail.js b/packages/helpers/classes/mail.js
index <HASH>..<HASH> 100644
--- a/packages/helpers/classes/mail.js
+++ b/packages/helpers/classes/mail.js
@@ -121,7 +121,7 @@ class Mail {
if (typeof from === 'undefined') {
return;
}
- if (typeof from !== 'object' || t... | fix: correct the email address type checks | sendgrid_sendgrid-nodejs | train | js |
edd54a82d4d083b89d6c3d3fbedc5bbdc47aa983 | diff --git a/audit-package.js b/audit-package.js
index <HASH>..<HASH> 100644
--- a/audit-package.js
+++ b/audit-package.js
@@ -131,6 +131,21 @@ auditPackagesImpl = function(depList, callback) {
purl = dep.pm + ":" + scope + "/" + name + "@" + dep.version;
}
+ // For now we will ignore Git URL and local pat... | FIX #<I> Ignore URL and path based dependencies for now | OSSIndex_auditjs | train | js |
b99e14ba54b3316eea9c2957d0c2652d88c1b101 | diff --git a/src/Queue/Adapter/RedisAdapter.php b/src/Queue/Adapter/RedisAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Queue/Adapter/RedisAdapter.php
+++ b/src/Queue/Adapter/RedisAdapter.php
@@ -92,6 +92,6 @@ class RedisAdapter implements AdapterInterface
$id = isset($payload['id']) ? $payload['id'] : nu... | Pass arguments from Payload, not payload | Mezzle_queuejitsu | train | php |
1578bfa3d4a10a01b2ab12856e1e72375924195c | diff --git a/lib/watir-screenshot-stitch.rb b/lib/watir-screenshot-stitch.rb
index <HASH>..<HASH> 100644
--- a/lib/watir-screenshot-stitch.rb
+++ b/lib/watir-screenshot-stitch.rb
@@ -149,7 +149,7 @@ module Watir
end
def webdrivers_defined?
- 'Webdrivers'.constantize
+ Object.const_get("Web... | Remove dependency to ActiveSupport to find geckodriver
`.constantize` is a method defined in ActiveRecord (<URL>) and not available for plain Ruby projects.
Replacing this line with `Object.const_get` will fix it, and will allow us to run in all environments. | samnissen_watir-screenshot-stitch | train | rb |
ef2e1c6ba7d02a50dd7c79a0924cbb99049a81c0 | diff --git a/transformers/engine.io/client.js b/transformers/engine.io/client.js
index <HASH>..<HASH> 100644
--- a/transformers/engine.io/client.js
+++ b/transformers/engine.io/client.js
@@ -49,6 +49,15 @@ module.exports = function client() {
forceBase64: true,
//
+ // XDR has been source of pain f... | [fix] Force XDR off in Engine.IO. Fixes #<I> | primus_primus | train | js |
72be5749783b3c88f1e94d6880de4bcc0ec1ed54 | diff --git a/src/main/java/net/kuujo/copycat/impl/DefaultStateMachineExecutor.java b/src/main/java/net/kuujo/copycat/impl/DefaultStateMachineExecutor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/kuujo/copycat/impl/DefaultStateMachineExecutor.java
+++ b/src/main/java/net/kuujo/copycat/impl/DefaultStateMachin... | Handle NPE in state machine executor. | atomix_atomix | train | java |
a52aa42fcf964d869a85ec83ec0f43bd52273606 | diff --git a/app/models/task.rb b/app/models/task.rb
index <HASH>..<HASH> 100644
--- a/app/models/task.rb
+++ b/app/models/task.rb
@@ -2,11 +2,26 @@ class Task < ActiveRecord::Base
belongs_to :project
belongs_to :person
+ attr_accessor :minutes, :hours
+
validates :project, :presence => true
validate... | Proper validations added for the times. | raskhadafi_bookyt_projects | train | rb |
ae945f574f1988f81ab04ecfabc2be384e426833 | diff --git a/metoffer.py b/metoffer.py
index <HASH>..<HASH> 100644
--- a/metoffer.py
+++ b/metoffer.py
@@ -382,6 +382,8 @@ class Weather():
dt = (date + datetime.timedelta(seconds=int(rep["$"]) * 60), "") # dt always a tuple
except(ValueError):
dt ... | KeyError exception for reps w/o $s; fixed bug
Fix "data" in line <I> to "self.data". Also some reps don't have $s so have added a KeyError (line <I>) exception. | sludgedesk_metoffer | train | py |
fd165c69a4f366a71777b6be45c8ab3bac1048a1 | diff --git a/lib/dpl/providers/cloudformation.rb b/lib/dpl/providers/cloudformation.rb
index <HASH>..<HASH> 100644
--- a/lib/dpl/providers/cloudformation.rb
+++ b/lib/dpl/providers/cloudformation.rb
@@ -182,7 +182,7 @@ module Dpl
end
def credentials
- Aws::Credentials.new(access_key_id, sec... | removed session_token as parameter is now missing | travis-ci_dpl | train | rb |
482ef32186f2476a6ad365dd049b38e6ea1718ac | diff --git a/src/rinoh/image.py b/src/rinoh/image.py
index <HASH>..<HASH> 100644
--- a/src/rinoh/image.py
+++ b/src/rinoh/image.py
@@ -264,7 +264,9 @@ class Figure(Float, InseparableFlowables, StaticGroupedFlowables):
document = flowable_target.document
number = document.counters.setdefault(self.categ... | Figure: set the 'reference' reference | brechtm_rinohtype | train | py |
94b7db4a80a797452c144a692184994335ff86d8 | diff --git a/spec/controllers/api/systems_controller_spec.rb b/spec/controllers/api/systems_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/api/systems_controller_spec.rb
+++ b/spec/controllers/api/systems_controller_spec.rb
@@ -134,7 +134,7 @@ describe Api::SystemsController do
it "use... | <I> - update spec test when activating system with activation key to check for hidden user | Katello_katello | train | rb |
d50ddb866d517411b30c66d08e2d1ba6f0c70681 | diff --git a/liquibase-core/src/main/java/liquibase/database/core/OracleDatabase.java b/liquibase-core/src/main/java/liquibase/database/core/OracleDatabase.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/database/core/OracleDatabase.java
+++ b/liquibase-core/src/main/java/liquibase/databas... | Support for hyphenated Oracle schemas | liquibase_liquibase | train | java |
2973167cf0dcd2acaecadafb3a69013a1a605382 | diff --git a/tests/test_parser.py b/tests/test_parser.py
index <HASH>..<HASH> 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -389,6 +389,17 @@ def _make_parser_test(LEXER, PARSER):
# B: A
# """)
+ def test_empty(self):
+ # Fails an Ea... | Added a test for empty rules | lark-parser_lark | train | py |
0c8c00ce439cde9393e3a002a254199e051cf283 | diff --git a/concrete/src/Page/Type/PublishTarget/Type/ParentPageType.php b/concrete/src/Page/Type/PublishTarget/Type/ParentPageType.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Page/Type/PublishTarget/Type/ParentPageType.php
+++ b/concrete/src/Page/Type/PublishTarget/Type/ParentPageType.php
@@ -21,7 +21,7 @@ cla... | Remove usage of HOME_CID from Page\Type\ParentPageType | concrete5_concrete5 | train | php |
7d5ecf939548efdc554d8e1225ff53991d843fc5 | diff --git a/lib/Models/ArcGisMapServerCatalogItem.js b/lib/Models/ArcGisMapServerCatalogItem.js
index <HASH>..<HASH> 100644
--- a/lib/Models/ArcGisMapServerCatalogItem.js
+++ b/lib/Models/ArcGisMapServerCatalogItem.js
@@ -252,7 +252,12 @@ ArcGisMapServerCatalogItem.prototype._load = function() {
this.laye... | [#<I>] ArcGisMapServerCatalogItem: Refactor to remove lint and simplify the expression. | TerriaJS_terriajs | train | js |
05d1e32a1f1fcbf0b254652e7e35a8eb2aaed682 | diff --git a/inception/decoder.go b/inception/decoder.go
index <HASH>..<HASH> 100644
--- a/inception/decoder.go
+++ b/inception/decoder.go
@@ -138,6 +138,7 @@ func handleFieldAddr(ic *Inception, name string, takeAddr bool, typ reflect.Type
} else if (typ.Elem().Kind() == reflect.Struct || typ.Elem().Kind() == reflec... | Fallback requires encoding/json. Fix for #<I>. | pquerna_ffjson | train | go |
1334abcf159d9549086c0d35e1d484d7198eef89 | diff --git a/src/main/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java b/src/main/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java
+++ b/src/main/org/codehaus/groovy/transform/stc/... | Methods from outer class should be added if an inner class is not static | apache_groovy | train | java |
863fbd18b2194849b678664b97afcf4c46c85b41 | diff --git a/blitzdb/backends/file/index.py b/blitzdb/backends/file/index.py
index <HASH>..<HASH> 100644
--- a/blitzdb/backends/file/index.py
+++ b/blitzdb/backends/file/index.py
@@ -143,4 +143,5 @@ class TransactionalIndex(Index):
if not hasattr(self,'_cached_index'):
raise NotInTransaction
... | Added removal of _cached_index attribute on rollback to Index class.! | adewes_blitzdb | train | py |
6e496fb0b0ee9eb9eeaa2220e48b316439fa4cd0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -49,8 +49,8 @@ class PyTest(TestCommand):
setup(
name='hepdata_validator',
- version='0.1.5',
- summary='0.1.5 release',
+ version='0.1.6',
+ summary='0.1.6 release',
url='https://github.com/hepdata/he... | global: version bump to <I> | HEPData_hepdata-validator | train | py |
8ed3d97811bc47589108b5e775f11617e9c1fef8 | diff --git a/src/mist/cmd/ansible.py b/src/mist/cmd/ansible.py
index <HASH>..<HASH> 100644
--- a/src/mist/cmd/ansible.py
+++ b/src/mist/cmd/ansible.py
@@ -7,6 +7,8 @@ def install_and_import(package):
import importlib
try:
importlib.import_module(package)
+ if package == "ansible":
+ ... | Print that ansible depndency is met | mistio_mist.client | train | py |
ddefb0f92fa420594777c9d2d47d7e515503ceab | diff --git a/util/src/main/java/org/kaazing/gateway/util/ssl/SslCipherSuites.java b/util/src/main/java/org/kaazing/gateway/util/ssl/SslCipherSuites.java
index <HASH>..<HASH> 100644
--- a/util/src/main/java/org/kaazing/gateway/util/ssl/SslCipherSuites.java
+++ b/util/src/main/java/org/kaazing/gateway/util/ssl/SslCipherS... | No need to override hashCode() in OtherSslCipher (as it is exactly same as base class) | kaazing_gateway | train | java |
4005ff4d32972121fde11a2323a7d52fd7fbc490 | diff --git a/lib/BasicResolver.php b/lib/BasicResolver.php
index <HASH>..<HASH> 100644
--- a/lib/BasicResolver.php
+++ b/lib/BasicResolver.php
@@ -49,9 +49,9 @@ final class BasicResolver implements Resolver {
public function __construct(Cache $cache = null, ConfigLoader $configLoader = null) {
$this->ca... | Fix a precedence issue whee supplying your own ConfigLoader to the BasicResolver resulted in a WindowsConfigLoader being instantiated instead. | amphp_dns | train | php |
e0928ef344ea665b4d95bb68065cfe4606cf1806 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,8 @@
# winrm-s Change Log
+Release: 0.3.4
+--------------
+* [Issue #32](https://github.com/chef/winrm-s/issues/32): Fixes incompatibility with winrm 1.5
+
Release: 0.3.3
--------------
* Do not em... | fixes #<I> repairing incompatibility with winrm <I> | chef-boneyard_winrm-s | train | md,rb,rb |
a866b255e76c51fe60e70e6d4d764d91e8d9245b | diff --git a/acme_tiny.py b/acme_tiny.py
index <HASH>..<HASH> 100644
--- a/acme_tiny.py
+++ b/acme_tiny.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-import argparse, subprocess, json, os, urllib2, sys, base64, binascii, time, \
+import argparse, subprocess, json, os, os.path, urllib2, sys, base64, binascii, time, \
... | Join paths platform-neutrally
Use os.path to join paths in a more platform-neutral fashion | diafygi_acme-tiny | train | py |
5395d29696956c579375635b88e439ab12770fdc | diff --git a/Classes/Lib/Sorting.php b/Classes/Lib/Sorting.php
index <HASH>..<HASH> 100644
--- a/Classes/Lib/Sorting.php
+++ b/Classes/Lib/Sorting.php
@@ -116,6 +116,9 @@ class Sorting
$sortByDir = $this->changeOrdering($sortByDir);
}
+ $url = $this->ge... | [BUGFIX] fix sorting links | teaminmedias-pluswerk_ke_search | train | php |
b11cb99d64987b44e9e90341dfd05a77de6b98cf | diff --git a/app/setup.php b/app/setup.php
index <HASH>..<HASH> 100644
--- a/app/setup.php
+++ b/app/setup.php
@@ -118,7 +118,7 @@ add_action('after_setup_theme', function () {
// die(var_dump($viewPaths));
config([
- 'assets.manifest' => "{$paths['dir.stylesheet']}/dist/assets.json",
+ 'a... | Fixed production manifest path (#<I>) | roots_sage | train | php |
4ddb41733fbfa98c58e330326ea4b74dfd2a2a21 | diff --git a/tests/Cygnite/Common/Mail/MailerTest.php b/tests/Cygnite/Common/Mail/MailerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Cygnite/Common/Mail/MailerTest.php
+++ b/tests/Cygnite/Common/Mail/MailerTest.php
@@ -66,7 +66,7 @@ class MailerTest extends PHPUnit_Framework_TestCase
//$mailer->expects($th... | Fixed Mailer test method setBody() should call 1 time but called 0 times | cygnite_framework | train | php |
6c0a97668de101934719c7c8f55fad779fc637b5 | diff --git a/src/main/resources/core/scripts/selenium-executionloop.js b/src/main/resources/core/scripts/selenium-executionloop.js
index <HASH>..<HASH> 100644
--- a/src/main/resources/core/scripts/selenium-executionloop.js
+++ b/src/main/resources/core/scripts/selenium-executionloop.js
@@ -119,7 +119,7 @@ TestLoop.prot... | Don't tell people to e-mail <EMAIL>, because non-subscribers can't send e-mail there. Instead, just send them to the forums.
r<I> | SeleniumHQ_selenium | train | js |
e13da8b8f5a03e8eb090fb7a09dbde7fc619fe47 | diff --git a/references/detection/coco_utils.py b/references/detection/coco_utils.py
index <HASH>..<HASH> 100644
--- a/references/detection/coco_utils.py
+++ b/references/detection/coco_utils.py
@@ -156,7 +156,7 @@ def convert_to_coco_api(ds):
img_dict["height"] = img.shape[-2]
img_dict["width"] = img... | Avoid inplace modification of target boxes in detection references (#<I>)
@datumbox | pytorch_vision | train | py |
4e1c65b0d2dac4b2c1cd444e949b8f5a8138f420 | diff --git a/tests/test_functional/test_constructs.py b/tests/test_functional/test_constructs.py
index <HASH>..<HASH> 100644
--- a/tests/test_functional/test_constructs.py
+++ b/tests/test_functional/test_constructs.py
@@ -509,6 +509,14 @@ class Var(TestCase):
var = __unit__.Var(value)
self.as... | Tests for .functional.constructs.Var.__reversed__ | Xion_taipan | train | py |
9e427f63f1839abbfa6c7aa34a62ab3e2ba4c0f8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ setup(
url='https://github.com/cea-cosmic/ModOpt',
download_url='https://github.com/cea-cosmic/ModOpt',
packages=find_packages(),
- install_requires=['numpy>=1.14.1', 'future>=0.16.0', 'scipy==... | Retaining Python <I> support | CEA-COSMIC_ModOpt | train | py |
f7968e438691e354421525509aba63e843e66fb6 | diff --git a/gshell-core/src/main/java/org/sonatype/gshell/core/completer/FileNameCompleter.java b/gshell-core/src/main/java/org/sonatype/gshell/core/completer/FileNameCompleter.java
index <HASH>..<HASH> 100644
--- a/gshell-core/src/main/java/org/sonatype/gshell/core/completer/FileNameCompleter.java
+++ b/gshell-core/s... | Comments why this shit is broke | jdillon_gshell | train | java |
21473ff089832f71a0fc687bbb34160562fd2c8c | diff --git a/gffutils/create.py b/gffutils/create.py
index <HASH>..<HASH> 100644
--- a/gffutils/create.py
+++ b/gffutils/create.py
@@ -655,7 +655,7 @@ class _GTFDBCreator(_DBCreator):
# TODO: recreate indexes?
-def create_db(data, dbfn, id_spec=None, force=False, verbose=True,
+def create_db(data, dbfn, id... | verbose=False by default, and pass text_factory kwarg | daler_gffutils | train | py |
35f18ed41d19323913d5d8fbae09bf6e75da7dba | diff --git a/simuvex/procedures/libc___so___6/__libc_start_main.py b/simuvex/procedures/libc___so___6/__libc_start_main.py
index <HASH>..<HASH> 100644
--- a/simuvex/procedures/libc___so___6/__libc_start_main.py
+++ b/simuvex/procedures/libc___so___6/__libc_start_main.py
@@ -22,6 +22,11 @@ class __libc_start_main(simuve... | Fix: set thumb mode in __libc_start_main | angr_angr | train | py |
171586440051b2e114cdb76bb7a94982d69bc431 | diff --git a/util/print-list.js b/util/print-list.js
index <HASH>..<HASH> 100644
--- a/util/print-list.js
+++ b/util/print-list.js
@@ -25,6 +25,7 @@ function printTasks (tasks) {
function formatDate (date) {
var dt = moment(date)
+ var overdue = dt.isBefore(moment(), 'day')
var text = dt.format('ddd D MMMM')
... | display overdue task due dates in red | wayneashleyberry_wunderline | train | js |
a20e8ec7e00532e08b84950456a9e68595a46acd | diff --git a/cmd/influxd/main.go b/cmd/influxd/main.go
index <HASH>..<HASH> 100644
--- a/cmd/influxd/main.go
+++ b/cmd/influxd/main.go
@@ -43,7 +43,7 @@ func main() {
}
// Special case -h immediately following binary name
- if args[0] == "-h" {
+ if len(args) > 0 && args[0] == "-h" {
cmd = "help"
} | Fix panic when just 'influxd' is run | influxdata_influxdb | train | go |
4ab45d967572db1d9c251eed787696459a433af6 | diff --git a/client/my-sites/pages/page/index.js b/client/my-sites/pages/page/index.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/pages/page/index.js
+++ b/client/my-sites/pages/page/index.js
@@ -33,7 +33,6 @@ import { isFrontPage, isPostsPage } from 'state/pages/selectors';
import { recordGoogleEvent } from 's... | Pages: Fix duplicate import
This particular function wasn't correctly exported anyway. | Automattic_wp-calypso | train | js |
3e9f8d812268c75100f2fe499485429ae60f7359 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -53,6 +53,7 @@ setuptools.setup(
'django-model-utils<2.4', # See: https://github.com/jp74/django-model-publisher/pull/26
'django-mptt<0.8', # 0.8 requires Django 1.8. See: https://github.com/django-mptt/dja... | Pin django-polymorphic to <<I> to avoid incompatible API changes | ic-labs_django-icekit | train | py |
1810a049d0b6bc3fd3f2d695ac2fd74beb0b336b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,8 +12,8 @@
from setuptools import find_packages, setup
setup(
- name='experirun',
- version='0.0.1',
+ name='experi',
+ version='0.0.8',
python_requires='>=3.6',
setup_requires=[],
install_re... | Change name and version number
Getting ready to put on github, I prefer the shorter experi name,
although I am still not set on that as the name. | malramsay64_experi | train | py |
2a4ead9c28ed149efa9f354e65eea4c401381289 | diff --git a/packages/ember-application/tests/system/engine_test.js b/packages/ember-application/tests/system/engine_test.js
index <HASH>..<HASH> 100644
--- a/packages/ember-application/tests/system/engine_test.js
+++ b/packages/ember-application/tests/system/engine_test.js
@@ -1,12 +1,14 @@
+import Ember from 'ember-m... | [FEATURE ember-application-engines] Tests for engines.
Replicate appropriate tests from applications. We don’t want to yet move
tests while engines are feature flagged and in flux. | emberjs_ember.js | train | js |
5e5ceee88268eeb8ba5d4678b84174267d00f8a6 | diff --git a/check.go b/check.go
index <HASH>..<HASH> 100644
--- a/check.go
+++ b/check.go
@@ -169,6 +169,19 @@ func CheckArgs(args []string, onPath func(string), onWarn func(Warn)) error {
return nil
}
+// CheckArgsList is like CheckArgs, but returning a list of all the
+// warnings instead.
+func CheckArgsList(a... | Add CheckArgsList
For convenience, basically. | mvdan_interfacer | train | go |
f1d3d9fe719322cd7d78338cefbd8f6505e7ecdf | diff --git a/src/Storage/Repository.php b/src/Storage/Repository.php
index <HASH>..<HASH> 100644
--- a/src/Storage/Repository.php
+++ b/src/Storage/Repository.php
@@ -35,7 +35,7 @@ class Repository implements ObjectRepository
}
if (null === $hydrator) {
- $this->setHydrator(new Hy... | pass in the entire class to the hydrator constructor | bolt_bolt | train | php |
040f60e241b551843a210e1c9fcd17bba7d7cb45 | diff --git a/openhtf/util/measurements.py b/openhtf/util/measurements.py
index <HASH>..<HASH> 100644
--- a/openhtf/util/measurements.py
+++ b/openhtf/util/measurements.py
@@ -142,11 +142,11 @@ class Measurement( # pylint: disable=no-init
"""Creates a new Measurement, see openhtf.PhaseInfo.WithArgs."""
new_me... | don't try to format NoneType docstrings | google_openhtf | train | py |
4063eaab2e05a070b619bc1bdc9211d86d80b508 | diff --git a/Manager/Front/ClientManager.php b/Manager/Front/ClientManager.php
index <HASH>..<HASH> 100755
--- a/Manager/Front/ClientManager.php
+++ b/Manager/Front/ClientManager.php
@@ -12,6 +12,7 @@
namespace WellCommerce\Bundle\ClientBundle\Manager\Front;
+use WellCommerce\Bundle\CoreBundle\Helper\Helper;
use ... | Removed UserCallable after merged PR
(cherry picked from commit <I>ab<I>a<I>b<I>d<I>e9c<I>f8f1f<I>c8c<I>d) | WellCommerce_WishlistBundle | train | php,php |
00338fdd1a47853628866055a970bed7e6aef640 | diff --git a/spec/lib/content_downloader_spec.rb b/spec/lib/content_downloader_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/content_downloader_spec.rb
+++ b/spec/lib/content_downloader_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe Jenkins::Peace::ContentDownloader do
- VALID_URL = 'http://jenkin... | Bump Jenkins version to <I> | jbox-web_jenkins-peace | train | rb |
48bf94c80fce4de8a1233e74b0d3f4f859800b22 | diff --git a/godbf/table_test.go b/godbf/table_test.go
index <HASH>..<HASH> 100644
--- a/godbf/table_test.go
+++ b/godbf/table_test.go
@@ -407,3 +407,25 @@ func TestDbfTable_Float64FieldValueByName(t *testing.T) {
g.Expect(valueError).To(BeNil())
g.Expect(actualFloatFieldValue).To(BeNumerically("==", expectedFloatV... | Adding tests for FieldDescriptor functions. | LindsayBradford_go-dbf | train | go |
caa5c663befb123d158aa928716c194a11e8f51d | diff --git a/lib/sup/util.rb b/lib/sup/util.rb
index <HASH>..<HASH> 100644
--- a/lib/sup/util.rb
+++ b/lib/sup/util.rb
@@ -11,6 +11,7 @@ require 'benchmark'
require 'unicode'
require 'unicode/display_width'
require 'fileutils'
+require 'string-scrub' if /^2\.0\./ =~ RUBY_VERSION
module ExtendedLockfile
def gen... | scrub strings in fix_encoding! rather than triple-encoding
This will have the same effect, but it should be more efficient since in
the normal case there will be no extra allocations. This matters for
fix_encoding! since it's applied to a lot of strings everywhere. | sup-heliotrope_sup | train | rb |
6a4de017699ec3eaef3c1b8b1163988c2b3d3a14 | diff --git a/spyderlib/utils/introspection/plugin_manager.py b/spyderlib/utils/introspection/plugin_manager.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/introspection/plugin_manager.py
+++ b/spyderlib/utils/introspection/plugin_manager.py
@@ -17,7 +17,7 @@ from spyderlib.qt.QtCore import SIGNAL, QThread, QObjec... | Calltip and docs now working with rope and jedi. | spyder-ide_spyder | train | py |
eb7af82d7a192f732a465f7b81130c07d121eaf7 | diff --git a/lib/inherited_resources/class_methods.rb b/lib/inherited_resources/class_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/inherited_resources/class_methods.rb
+++ b/lib/inherited_resources/class_methods.rb
@@ -285,7 +285,11 @@ module InheritedResources
# Initialize resources configuration hash
... | resource_configuration inheritance now works in production | activeadmin_inherited_resources | train | rb |
c2fd1597bdebbfe878aefba4bea5f37d7b14b9e9 | diff --git a/languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/atom/MatchDatabase.java b/languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/atom/MatchDatabase.java
index <HASH>..<HASH> 100644
--- a/languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/atom/MatchDatabase.... | fix: limit length of error context (to avoid MySQL error) | languagetool-org_languagetool | train | java |
07ecf402b01a1180b11402a0d378a7645f9c804a | diff --git a/packages/gestalt/src/Flex.js b/packages/gestalt/src/Flex.js
index <HASH>..<HASH> 100644
--- a/packages/gestalt/src/Flex.js
+++ b/packages/gestalt/src/Flex.js
@@ -103,6 +103,8 @@ export default function Flex({
Flex.Item = FlexItem;
+Flex.displayName = 'Flex';
+
Flex.propTypes = {
alignContent: Alig... | Internal: Give Flex and FlexItem display names for debugging (#<I>) | pinterest_gestalt | train | js,js |
1c4dd1e2abb4b1a7e85206d843bdc12626e2964e | diff --git a/src/router.js b/src/router.js
index <HASH>..<HASH> 100644
--- a/src/router.js
+++ b/src/router.js
@@ -1,6 +1,5 @@
'use strict';
import Promise from 'promise';
-import path from 'path';
import Listen from 'listen-js';
import _ from 'lodash';
import Module from 'module-js'; | Removing unnecessary path module... wonder how that got in there | mkay581_router-component | train | js |
d2adfb7f1e2f92c0a1801d956720f69e245c6ce2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
description='Double entry book keeping in Django',
long_description=open('README.rst').read() if exists("README.rst") else "",
install_requires=[
- 'django>=1.10'
+ 'django>=1... | Fixing error in setup.py | adamcharnock_django-hordak | train | py |
6c3f77f60e0be4ff9be1c6038a2ee56c7ec737ea | diff --git a/src/com/jayantkrish/jklol/ccg/lexicon/AbstractCcgLexicon.java b/src/com/jayantkrish/jklol/ccg/lexicon/AbstractCcgLexicon.java
index <HASH>..<HASH> 100644
--- a/src/com/jayantkrish/jklol/ccg/lexicon/AbstractCcgLexicon.java
+++ b/src/com/jayantkrish/jklol/ccg/lexicon/AbstractCcgLexicon.java
@@ -12,7 +12,8 @@... | one more serializability fix1 | jayantk_jklol | train | java |
801aaa883e1085d4500b68d857112901102a6986 | diff --git a/lib/fog/aws/storage.rb b/lib/fog/aws/storage.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/aws/storage.rb
+++ b/lib/fog/aws/storage.rb
@@ -140,6 +140,10 @@ module Fog
def signed_url(params, expires)
expires = expires.to_i
+ if @aws_session_token
+ params[:headers]||... | [AWS|Storage] fixed signed urls when using session tokens
the session token needs to be added to the signature as a header
(as well as being included in the query string) | fog_fog | train | rb |
1fb18c126e66c99ce5801a4f38f972ee364ca3cf | diff --git a/lib/helpers.js b/lib/helpers.js
index <HASH>..<HASH> 100644
--- a/lib/helpers.js
+++ b/lib/helpers.js
@@ -234,6 +234,16 @@ module.exports.getUser = function(req, res, next) {
// If there is session data, we'll fetch the user from Stormpath.
if (req.session && req.session.user) {
+
+ // TODO: Rem... | Adding backwards compatibility support for older session data. | stormpath_express-stormpath | train | js |
c58d9fc81f148f2c0545905738fa9f674f51521e | diff --git a/lib/xcodeproj/project/object.rb b/lib/xcodeproj/project/object.rb
index <HASH>..<HASH> 100644
--- a/lib/xcodeproj/project/object.rb
+++ b/lib/xcodeproj/project/object.rb
@@ -245,7 +245,7 @@ module Xcodeproj
unless object_plist.empty?
raise "[!] Xcodeproj doesn't know about the fol... | [Project::Object] Improve report of unknonw attributes | CocoaPods_Xcodeproj | train | rb |
68aeaab01e9b7f5b61dfaddf79e19ee53a0992df | diff --git a/lang/pt.js b/lang/pt.js
index <HASH>..<HASH> 100644
--- a/lang/pt.js
+++ b/lang/pt.js
@@ -38,7 +38,7 @@
},
relativeTime : {
future : "em %s",
- past : "%s atrás",
+ past : "há %s",
s : "segundos",
m : "um minuto",
m... | More natural "time ago" expression for PT locale | moment_moment | train | js |
5c8a1262cbab556c18a8028fda5c77465c19b0df | diff --git a/thrifty-java-codegen/src/main/java/com/bendb/thrifty/gen/ThriftyCodeGenerator.java b/thrifty-java-codegen/src/main/java/com/bendb/thrifty/gen/ThriftyCodeGenerator.java
index <HASH>..<HASH> 100644
--- a/thrifty-java-codegen/src/main/java/com/bendb/thrifty/gen/ThriftyCodeGenerator.java
+++ b/thrifty-java-cod... | Fix generated tostring for empty structs | Microsoft_thrifty | train | java |
b917dc466afa1c2e6cde2aed61ec7d6dedd257bb | diff --git a/plugins/commands/serve/service/internal_service.rb b/plugins/commands/serve/service/internal_service.rb
index <HASH>..<HASH> 100644
--- a/plugins/commands/serve/service/internal_service.rb
+++ b/plugins/commands/serve/service/internal_service.rb
@@ -10,6 +10,7 @@ module VagrantPlugins
module CommandServ... | Implement stop on the ruby internal service | hashicorp_vagrant | train | rb |
6572d2a998bfd6aa00417c10d3dd77de40cba262 | diff --git a/application/Espo/Core/Mail/Sender.php b/application/Espo/Core/Mail/Sender.php
index <HASH>..<HASH> 100644
--- a/application/Espo/Core/Mail/Sender.php
+++ b/application/Espo/Core/Mail/Sender.php
@@ -344,8 +344,6 @@ class Sender
$this->transport->send($message);
- $this->transport... | no disconnect for smtp | espocrm_espocrm | train | php |
4b1bca04025a66c54e6e9d5eb6e4d4056bfa92f0 | diff --git a/activerecord/test/cases/adapters/postgresql/connection_test.rb b/activerecord/test/cases/adapters/postgresql/connection_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/adapters/postgresql/connection_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/connection_test.rb
@@ -99,8 +99,... | Stop being silly with formatting of method aliasing. | rails_rails | train | rb |
15ee528c546c2ad28acaeb748557a5b9cde28b02 | diff --git a/Model/Menu/Import/SampleFile.php b/Model/Menu/Import/SampleFile.php
index <HASH>..<HASH> 100644
--- a/Model/Menu/Import/SampleFile.php
+++ b/Model/Menu/Import/SampleFile.php
@@ -26,7 +26,7 @@ class SampleFile
NodeInterface::UPDATE_TIME
];
- const STORES_DATA = ['<An integer store ID>', '... | [<I>] Update stores default data in import sample file | SnowdogApps_magento2-menu | train | php |
3333ba77676f12fbb3dd1d3600dbbf276491dce4 | diff --git a/python_modules/dagster/dagster/core/telemetry.py b/python_modules/dagster/dagster/core/telemetry.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster/core/telemetry.py
+++ b/python_modules/dagster/dagster/core/telemetry.py
@@ -24,6 +24,7 @@ import sys
import time
import uuid
import zlib
+... | Wrap telemetry decorator
Summary: This is required for docstrings to be available on the wrapped functions.
Test Plan: Unit
Reviewers: catherinewu, sashank
Reviewed By: sashank
Differential Revision: <URL> | dagster-io_dagster | train | py |
4638b818c5d74cd5d752a8abae1b791538554447 | diff --git a/test/mocha/using.js b/test/mocha/using.js
index <HASH>..<HASH> 100644
--- a/test/mocha/using.js
+++ b/test/mocha/using.js
@@ -110,6 +110,12 @@ function transaction() {
return _connect().disposer(transactionDisposer);
}
+function transactionWithAnotherPromiseAfterConnect() {
+ return _connect().t... | Add a failing test for more complex transaction creation | petkaantonov_bluebird | train | js |
6ee7a304ef7719513429e903303be262b21ec39e | diff --git a/shopify/resources.py b/shopify/resources.py
index <HASH>..<HASH> 100644
--- a/shopify/resources.py
+++ b/shopify/resources.py
@@ -190,7 +190,13 @@ class Redirect(ShopifyResource):
class Webhook(ShopifyResource):
- pass
+ def __get_format(self):
+ return self.attributes.get("format")
+
+ ... | Fix bug in setting format attribute on Webhook instances.
Previously the class method was getting set rather than the attribute. | Shopify_shopify_python_api | train | py |
bb1cdc3fa4e2e4c7e1183c83825c80c43c16e16c | diff --git a/example_test.go b/example_test.go
index <HASH>..<HASH> 100644
--- a/example_test.go
+++ b/example_test.go
@@ -28,19 +28,24 @@ import (
func ExampleColorLogS() {
coloredLog := com.ColorLogS(fmt.Sprintf(
- "[WARN] This is a tesing log that should be colored, path( %s )," +
- " highlight # %s #, er... | Updated func: ExecCmd | Unknwon_com | train | go |
4af8ce5b4ad16e13d9fd933a2b683ca160aea7e8 | diff --git a/nerdz/project.go b/nerdz/project.go
index <HASH>..<HASH> 100644
--- a/nerdz/project.go
+++ b/nerdz/project.go
@@ -62,9 +62,10 @@ func (prj *Project) Members() []*User {
}
// NumericOwner returns the Id of the owner of the project
-func (prj *Project) NumericOwner() (owner uint64) {
- db.Model(ProjectOw... | Fixes generated query in Project.NumericOwner | nerdzeu_nerdz-api | train | go |
01972dc636a56cadefe51bca4b0ecea977070730 | diff --git a/src/Extension/FluentExtension.php b/src/Extension/FluentExtension.php
index <HASH>..<HASH> 100644
--- a/src/Extension/FluentExtension.php
+++ b/src/Extension/FluentExtension.php
@@ -594,10 +594,8 @@ class FluentExtension extends DataExtension
);
unset($localisedUpdate['fields']['id']);
... | BUG fix issue where rows were not written to _Localised tables | tractorcow-farm_silverstripe-fluent | train | php |
16c0eff87e7762d82fdd37d9949e33a7376d5357 | diff --git a/redis/client.py b/redis/client.py
index <HASH>..<HASH> 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -587,7 +587,8 @@ class Redis(threading.local):
def mset(self, mapping):
"Sets each key in the ``mapping`` dict to its corresponding value"
items = []
- [items.extend(pa... | slight optimization to hmset, mset, and msetnx for both clarity and speed | andymccurdy_redis-py | train | py |
fc647a3c27c1fa841dd097c7eb312786da64fdd9 | diff --git a/mediawiki.go b/mediawiki.go
index <HASH>..<HASH> 100644
--- a/mediawiki.go
+++ b/mediawiki.go
@@ -87,7 +87,7 @@ func (r *Response) GenPageList() {
}
}
-// A MediaWiki page and its metadata
+// A Page represents a MediaWiki page and its metadata.
type Page struct {
Pageid int
Ns int | Make type comment a full sentence with a period
This is because it's used by godoc. | sadbox_mediawiki | train | go |
122c999536ea354353d85bf1889cb90bec2b4198 | diff --git a/enrol/manual/classes/enrol_users_form.php b/enrol/manual/classes/enrol_users_form.php
index <HASH>..<HASH> 100644
--- a/enrol/manual/classes/enrol_users_form.php
+++ b/enrol/manual/classes/enrol_users_form.php
@@ -123,9 +123,7 @@ class enrol_manual_enrol_users_form extends moodleform {
$roles = ... | MDL-<I> enrol_manual: Fixes not working default role | moodle_moodle | train | php |
4ccfd872250c9654b7972d7bf508fe1c372e7c2b | diff --git a/src/main/java/com/vdurmont/semver4j/Semver.java b/src/main/java/com/vdurmont/semver4j/Semver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/vdurmont/semver4j/Semver.java
+++ b/src/main/java/com/vdurmont/semver4j/Semver.java
@@ -522,7 +522,6 @@ public class Semver implements Comparable<Semver> {
... | Clarify that (only) STRICT is the default type
STRICT is the default used in the constructor. | vdurmont_semver4j | train | java |
679c2b88d8fbc121615b6170616fc357d411b27f | diff --git a/packages/ember-handlebars/tests/helpers/view_test.js b/packages/ember-handlebars/tests/helpers/view_test.js
index <HASH>..<HASH> 100644
--- a/packages/ember-handlebars/tests/helpers/view_test.js
+++ b/packages/ember-handlebars/tests/helpers/view_test.js
@@ -63,7 +63,7 @@ test("By default, without a contain... | Tags are all caps under IE8. Fix test assuming lower. | emberjs_ember.js | train | js |
6518979bd2741ce24aee24b0c76c833aecab5ffd | diff --git a/www/src/py2js.js b/www/src/py2js.js
index <HASH>..<HASH> 100644
--- a/www/src/py2js.js
+++ b/www/src/py2js.js
@@ -1335,15 +1335,7 @@ function $CallCtx(context){
// from this node until we reach the current node being processed.
// Take output from to_js and append to exec... | Minor cleanings in py2js.js | brython-dev_brython | train | js |
f64d0b99ac044fc4a46174e860c4918d8843d42f | diff --git a/tests/test_s3/test_s3.py b/tests/test_s3/test_s3.py
index <HASH>..<HASH> 100644
--- a/tests/test_s3/test_s3.py
+++ b/tests/test_s3/test_s3.py
@@ -793,6 +793,7 @@ def test_ranged_get():
key.set_contents_from_string(rep * 10)
key.get_contents_as_string(headers={'Range': 'bytes=0-'}).should.equal(re... | Tests for last-byte-pos behavior. | spulec_moto | train | py |
30cb67343766658e9f51739969f21fe96107a652 | diff --git a/spec/models/jar.rb b/spec/models/jar.rb
index <HASH>..<HASH> 100644
--- a/spec/models/jar.rb
+++ b/spec/models/jar.rb
@@ -1,5 +1,5 @@
class Jar
include Mongoid::Document
- identity type: Integer
+ identity :type => Integer
has_many :cookies, :class_name => "Cookie"
end | Fix <I>.x syntax error in spec models | mongodb_mongoid | train | rb |
87bf33c603f8d7fe1b8d412a189b97760ca0a46e | diff --git a/src/lib/customPropTypes.js b/src/lib/customPropTypes.js
index <HASH>..<HASH> 100644
--- a/src/lib/customPropTypes.js
+++ b/src/lib/customPropTypes.js
@@ -203,7 +203,7 @@ export const itemShorthand = (...args) => every([
/**
* Collection shorthand ensures a prop is an array of item shorthand.
*/
-expor... | fix(customPropTypes): itemsShorthand -> collectionShorthand (#<I>) | Semantic-Org_Semantic-UI-React | train | js |
0d800b5df8efa42628695f10b829e56b30bb216b | diff --git a/bin/netlify.js b/bin/netlify.js
index <HASH>..<HASH> 100644
--- a/bin/netlify.js
+++ b/bin/netlify.js
@@ -21,7 +21,10 @@ const packageJSON = require('../package.json')
exports.setupSite = async (token, slug) => {
// Slugs should be normalized to lower case, as netlify will do this
// internally, so ... | Remove punctuation from netlify site slug
Change-type: patch | balena-io_landr | train | js |
3726067923c72f5349c3cc5fb0ff6f7a53c5412e | diff --git a/src/parser-typescript.js b/src/parser-typescript.js
index <HASH>..<HASH> 100644
--- a/src/parser-typescript.js
+++ b/src/parser-typescript.js
@@ -35,7 +35,10 @@ function tryParseTypeScript(text, jsx) {
tokens: true,
comment: true,
useJSXTextNode: true,
- ecmaFeatures: { jsx }
+ ecmaFea... | Override tsep loggerFn with noop (#<I>)
* Override tsep loggerFn with noop
* Extra function to keep Vjeux happy :P | josephfrazier_prettier_d | train | js |
89bcb7411485ac5f23089d448fc3baa64900a483 | diff --git a/match_wikiTags.js b/match_wikiTags.js
index <HASH>..<HASH> 100644
--- a/match_wikiTags.js
+++ b/match_wikiTags.js
@@ -41,14 +41,16 @@ function getKeysToMatch() {
let tryMatch = {};
let seen = {};
Object.keys(brands).forEach(k => {
- // if `brand:wikidata` or `brand:wikipedia` tags are... | make wikimatch smarter
it will stop breaking fine thinks like KKM, and where valid wikimatch will detect issues in more usable way | osmlab_name-suggestion-index | train | js |
017074619d0c1abeccdb52d3300d05f0c6550bd2 | diff --git a/Collection.php b/Collection.php
index <HASH>..<HASH> 100755
--- a/Collection.php
+++ b/Collection.php
@@ -353,40 +353,7 @@ class Collection implements ArrayAccess, ArrayableInterface, Countable, Iterator
*/
public function lists($value, $key = null)
{
- $results = array();
-
- foreach ($this-... | Call array_pluck in lists method instead of using its own implementation | illuminate_support | train | php |
47f428b9afa67def3635aef62badde9b8d49adb6 | diff --git a/ghost/admin/app/routes/editor.js b/ghost/admin/app/routes/editor.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/app/routes/editor.js
+++ b/ghost/admin/app/routes/editor.js
@@ -29,7 +29,7 @@ export default AuthenticatedRoute.extend(ShortcutsRoute, {
// edge has known issues
if (this.user... | Removed suggestion to use Ghost-Desktop
- Ghost-Desktop is now deprecated and so we shouldn't suggest it to
users | TryGhost_Ghost | train | js |
7815ee95cf38d42b4fe9a68072b67ab05ba144f7 | diff --git a/lib/daemon/runner.js b/lib/daemon/runner.js
index <HASH>..<HASH> 100644
--- a/lib/daemon/runner.js
+++ b/lib/daemon/runner.js
@@ -11,7 +11,7 @@ var log = require('../log');
function Runner(conf) {
events.EventEmitter.call(this);
var that = this;
- this._default_controller = conf.controllername;
+ ... | Magically know default controller in case it is undefined | meetings_gearsloth | train | js |
593cef76d31207fe261ce0c860013b6bc87de4c3 | diff --git a/tests/js/server/watcher-tests.js b/tests/js/server/watcher-tests.js
index <HASH>..<HASH> 100644
--- a/tests/js/server/watcher-tests.js
+++ b/tests/js/server/watcher-tests.js
@@ -67,15 +67,21 @@ gpii.tests.handlebars.watcher.cleanup = function (that) {
fluid.each(resolvedWatchDirs, function (resolvedWa... | GPII-<I>: Added try/catch to cleanup code to mitigate EPERM errors in CI. | GPII_gpii-handlebars | train | js |
d9bd7f516fd18ac0256fc95af454c7f113ecc734 | diff --git a/schema.js b/schema.js
index <HASH>..<HASH> 100644
--- a/schema.js
+++ b/schema.js
@@ -59,9 +59,9 @@ export class NodeType {
return this.schema.subKind(type.name, this.contains)
}
- canContainChildren(node, liberal, from = 0, to = node.length) {
+ canContainChildren(node, liberal) {
if (!li... | Fix textblock offset/block offset confusion in ancestor transform | ProseMirror_prosemirror-model | train | js |
83d07852ee7d76a8590823b9f6279776faf0fc35 | diff --git a/Library/ClassMethod.php b/Library/ClassMethod.php
index <HASH>..<HASH> 100644
--- a/Library/ClassMethod.php
+++ b/Library/ClassMethod.php
@@ -1958,11 +1958,22 @@ class ClassMethod
$code .= $initCode . $initVarCode;
$codePrinter->preOutput($code);
+ // @deprecated Will be removed ... | Add hack to serve superglobals in ZE2 | phalcon_zephir | train | php |
5480d39edc2b367bdabce4c5adf5e5bd91d44274 | diff --git a/lib/chef/resource_inspector.rb b/lib/chef/resource_inspector.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource_inspector.rb
+++ b/lib/chef/resource_inspector.rb
@@ -40,7 +40,10 @@ module ResourceInspector
data[:properties] = properties.each_with_object([]) do |(n, k), acc|
opts = k.optio... | add name_property to resource inspector | chef_chef | train | rb |
7985e4d39e9e7e68872cee9f901ade9881cec002 | diff --git a/src/ArrayContainer.php b/src/ArrayContainer.php
index <HASH>..<HASH> 100644
--- a/src/ArrayContainer.php
+++ b/src/ArrayContainer.php
@@ -40,19 +40,6 @@ class ArrayContainer implements ArrayAccess, Iterator
}
/**
- * Push value onto the collection.
- *
- * @deprecated this isn't use... | :truck: Removed obsolete method as per #<I> | tapestry-cloud_tapestry | train | php |
472f9ccaa16776c6661189e6a5bb0b11fd4768cd | diff --git a/lib/attach/attachment.rb b/lib/attach/attachment.rb
index <HASH>..<HASH> 100644
--- a/lib/attach/attachment.rb
+++ b/lib/attach/attachment.rb
@@ -75,13 +75,21 @@ module Attach
child(role) || self
end
+ # rubocop:disable Metrics/AbcSize
def add_child(role, &block)
- attachment = c... | fix: fixes Attachment#add_child
(This needs a test!) | adamcooke_attach | train | rb |
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.