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 |
|---|---|---|---|---|---|
6e6f562759695f5e59f45bb28d5cf8f724d0952b | diff --git a/lib/email.js b/lib/email.js
index <HASH>..<HASH> 100644
--- a/lib/email.js
+++ b/lib/email.js
@@ -199,8 +199,6 @@ Email.prototype.send = function send (callback) {
var parsedUrl = parse(self.amazon);
var headers = self.headers();
- headers['Connection'] = 'Keep-Alive';
-
var options = {
... | Make work with eu-central-1 region | aheckmann_node-ses | train | js |
f213ba93b994030b5558dcf16d46da07934854b9 | diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php
index <HASH>..<HASH> 100644
--- a/auth/mnet/auth.php
+++ b/auth/mnet/auth.php
@@ -1088,7 +1088,7 @@ class auth_plugin_mnet extends auth_plugin_base {
$mnetsessions = $DB->get_records('mnet_session', array('userid' => $userid, 'useragent' => $useragent));
... | MDL-<I> remove additional reference to (now undefined) $sql | moodle_moodle | train | php |
5325abd25b2b36ff6908fef9c723f5dd05b0e107 | diff --git a/lib/websearch_webcoll.py b/lib/websearch_webcoll.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_webcoll.py
+++ b/lib/websearch_webcoll.py
@@ -726,9 +726,9 @@ class Collection:
# (note: explicitly remove DELETED records)
if CFG_CERN_SITE:
reclist = search_p... | WebSearch: better detection of deleted records
* webcoll now uses MARC tag <I> to detect deleted records instead of using
the `collection' index, because this latter one was emptied in case
of deleted records by bibindex, leading to a kind of Catch-<I> situation
between bibindex emptying the index and webcoll re... | inveniosoftware_invenio-records | train | py |
ece801bc5d35636dd1db456a15402aaeb5db42d8 | diff --git a/lib/haml/template.rb b/lib/haml/template.rb
index <HASH>..<HASH> 100644
--- a/lib/haml/template.rb
+++ b/lib/haml/template.rb
@@ -3,6 +3,11 @@ require 'haml/engine'
require 'haml/helpers/action_view_mods'
require 'haml/helpers/action_view_extensions'
+if defined?(ActionPack::VERSION::STRING) &&
+ Ac... | [Haml] Raise an error if Haml is used with Rails <I>. | sass_ruby-sass | train | rb |
b8f48e35e0aba10f810423b2aa9a0f3ecc3bb019 | diff --git a/statsd/counter.py b/statsd/counter.py
index <HASH>..<HASH> 100644
--- a/statsd/counter.py
+++ b/statsd/counter.py
@@ -38,8 +38,11 @@ class Counter(statsd.Client):
>>> counter = Counter('application_name')
>>> counter.increment('counter_name', 10)
+ True
>>> counter.incre... | Updated doctests to expect True/False responses when calling statsd methods that invoke _send | WoLpH_python-statsd | train | py,py |
aa4b0666c6df1f4a3c571cd428a08595dae559a1 | diff --git a/src/Serialization/DomainEventSerializer.php b/src/Serialization/DomainEventSerializer.php
index <HASH>..<HASH> 100644
--- a/src/Serialization/DomainEventSerializer.php
+++ b/src/Serialization/DomainEventSerializer.php
@@ -1,5 +1,7 @@
<?php namespace EventSourcery\EventSourcery\Serialization;
+use EventS... | Update DomainEventSerializer.php | event-sourcery_event-sourcery | train | php |
e1f1ccac52aaf689512eb382251ffa9cf72f0655 | diff --git a/src/js/form.js b/src/js/form.js
index <HASH>..<HASH> 100644
--- a/src/js/form.js
+++ b/src/js/form.js
@@ -96,6 +96,9 @@ ui.form = function(conf){
// Shoot validations
for(var i = 0, j = that.children.length; i < j; i ++){
that.children[i].validate();
+ // Issue UI-332: On validation must focus ... | UI-<I> Errors on submit don't focus the first field SOLVED | mercadolibre_chico | train | js |
62f7570d3d7bd4c5dce33942d4f62142b7df4fdf | diff --git a/models/player_decorators.go b/models/player_decorators.go
index <HASH>..<HASH> 100644
--- a/models/player_decorators.go
+++ b/models/player_decorators.go
@@ -58,10 +58,16 @@ func DecoratePlayerProfileJson(p *Player) PlayerProfile {
profile.ExternalLinks = p.ExternalLinks
// TODO ban info
- var lobbie... | Fix query for getting recent lobbies. | TF2Stadium_Helen | train | go |
9453a099eed619fa9bfc11b4a214cd211b25c37c | diff --git a/tests/test_system.py b/tests/test_system.py
index <HASH>..<HASH> 100644
--- a/tests/test_system.py
+++ b/tests/test_system.py
@@ -3,8 +3,14 @@ import os
@pytest.mark.asyncio
-async def test_system_info(docker):
+async def test_system_info_id(docker):
docker_info = await docker.system.info()
... | Skip failed test is DOCKER_VERSION is not set | aio-libs_aiodocker | train | py |
39df7a74f724467375bf2d5f01d1e14f13ae9dc0 | diff --git a/core/test/functional/admin/02_dashboard_test.js b/core/test/functional/admin/02_dashboard_test.js
index <HASH>..<HASH> 100644
--- a/core/test/functional/admin/02_dashboard_test.js
+++ b/core/test/functional/admin/02_dashboard_test.js
@@ -28,3 +28,24 @@ casper.test.begin("Ghost dashboard is correct", 13, fu... | Add in CasperJS test to check if Dashboard Widgets are moveable
Requires .time-widget | TryGhost_Ghost | train | js |
b8e1f82f3710d1bda436e9c57f6c819efe610362 | diff --git a/core/client/app/components/modals/leave-editor.js b/core/client/app/components/modals/leave-editor.js
index <HASH>..<HASH> 100644
--- a/core/client/app/components/modals/leave-editor.js
+++ b/core/client/app/components/modals/leave-editor.js
@@ -3,7 +3,7 @@ import ModalComponent from 'ghost/components/moda... | fix leave editor modal
no issue
- following up from <I>, fixes a missing set of parentheses | TryGhost_Ghost | train | js |
e60834405cca8e79efc81cdab58b2e8678fcdf58 | diff --git a/validate.js b/validate.js
index <HASH>..<HASH> 100644
--- a/validate.js
+++ b/validate.js
@@ -100,7 +100,7 @@ function checkExample(ex, openapi, options) {
//}
for (let k in ex) {
if (!k.startsWith('x-')) {
- should(['summary','description','value','externalValue'].indexOf(k))... | Start process of ensuring no additionalProperties | wework_speccy | train | js |
f2a0f0d14566f3202a310fd98c2110aa9a74bcdb | diff --git a/lib/bud/collections.rb b/lib/bud/collections.rb
index <HASH>..<HASH> 100644
--- a/lib/bud/collections.rb
+++ b/lib/bud/collections.rb
@@ -253,11 +253,13 @@ module Bud
pending_merge o
end
+ # Called at the end of each time step: prepare the collection for the next
+ # timestep.
def ... | Improve error detection in tick().
If @new_delta, @delta or a channel's @pending are non-empty when we see tick(),
something is wrong -- raise an exception. | bloom-lang_bud | train | rb |
47526e8b4d1134f261182998f9fb077b4e68b6a4 | diff --git a/lib/Cake/Network/Email/CakeEmail.php b/lib/Cake/Network/Email/CakeEmail.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Network/Email/CakeEmail.php
+++ b/lib/Cake/Network/Email/CakeEmail.php
@@ -1065,16 +1065,21 @@ class CakeEmail {
$contents = $this->transportClass()->send($this);
if (!empty($this-... | Refactor code to not use extract()/compact() | cakephp_cakephp | train | php |
fa538315647e547ec03dbf5b97187ab179d51975 | diff --git a/lib/centurion/deploy.rb b/lib/centurion/deploy.rb
index <HASH>..<HASH> 100644
--- a/lib/centurion/deploy.rb
+++ b/lib/centurion/deploy.rb
@@ -108,6 +108,7 @@ module Centurion::Deploy
info "Starting new container #{container['Id'][0..7]}"
server.start_container(container['Id'], host_config)
+ ... | Add a comment about starting up the container if it gets to the point of successfully starting. | newrelic_centurion | train | rb |
0381d4e80390bed3285227a6ba49de672d9cc4a7 | diff --git a/import_export/admin.py b/import_export/admin.py
index <HASH>..<HASH> 100644
--- a/import_export/admin.py
+++ b/import_export/admin.py
@@ -13,7 +13,6 @@ from django.contrib import messages
from django.contrib.admin.models import LogEntry, ADDITION, CHANGE, DELETION
from django.contrib.contenttypes.models ... | Update import of reverse for django 2.x
According to <URL> | django-import-export_django-import-export | train | py |
1e2a166d263d8d8a644f03589ec0eafc2023ec54 | diff --git a/deluge_client/tests.py b/deluge_client/tests.py
index <HASH>..<HASH> 100644
--- a/deluge_client/tests.py
+++ b/deluge_client/tests.py
@@ -43,3 +43,5 @@ class TestDelugeClient(TestCase):
self.client.call('core.get_free_space', '1', '2')
except Exception as e:
self.assertEq... | Ensure exception test actually receives an exception | JohnDoee_deluge-client | train | py |
641248fb80cff804648bacf6725114bf73f57159 | diff --git a/src/Calotype/SEO/Generators/SitemapGenerator.php b/src/Calotype/SEO/Generators/SitemapGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Calotype/SEO/Generators/SitemapGenerator.php
+++ b/src/Calotype/SEO/Generators/SitemapGenerator.php
@@ -155,7 +155,7 @@ class SitemapGenerator
$requ... | Improve the error messages when a required property is missing. | vinicius73_SeoTools | train | php |
41d1247fb6cd6c28408083cdd24b11ee1ca0c2fe | diff --git a/src/main/java/org/efaps/ui/wicket/models/field/AbstractUIField.java b/src/main/java/org/efaps/ui/wicket/models/field/AbstractUIField.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/efaps/ui/wicket/models/field/AbstractUIField.java
+++ b/src/main/java/org/efaps/ui/wicket/models/field/AbstractUIFiel... | - better logging for debugging | eFaps_eFaps-WebApp | train | java |
368c1bb6744a1fa9928aa620b25d3461a78c7e10 | diff --git a/grade/report/user/lib.php b/grade/report/user/lib.php
index <HASH>..<HASH> 100644
--- a/grade/report/user/lib.php
+++ b/grade/report/user/lib.php
@@ -731,7 +731,12 @@ class grade_report_user extends grade_report {
if ($gradecat->aggregation == GRADE_AGGREGATE_SUM) {
//... | MDL-<I> grade/report/user: Fix division by zero
When using "sum of grades" and $grademax is zero, a division by zero
error occurs in fill_contributions_column() in
grade/report/user/lib.php. | moodle_moodle | train | php |
15bc73b64445ad570a368ffe520876272c75c5e2 | diff --git a/spec/unit/resource_collection_spec.rb b/spec/unit/resource_collection_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/resource_collection_spec.rb
+++ b/spec/unit/resource_collection_spec.rb
@@ -83,4 +83,34 @@ describe ActiveAdmin::ResourceCollection do
end
end
+ describe ".add" do
+ let(:... | Add failing specs for #<I>.
Add a renamed resource before adding the original resource and asserting
that both are present in the ResourceCollection. | activeadmin_activeadmin | train | rb |
513f60906dd7af747dc0d3f363af6b2e0cfb756b | diff --git a/3502.js b/3502.js
index <HASH>..<HASH> 100644
--- a/3502.js
+++ b/3502.js
@@ -55,13 +55,11 @@ function read_alu_operand(addressing_mode) {
return {read_arg, write_arg};
}
-function execute_alu_instruction(operation, addressing_mode) {
- console.log('alu',n2bts(operation), addressing_mode);
+function... | Move alu argument reading out of execute | thirdcoder_cpu3502 | train | js |
cb44589156fc4bba2e1c22a757e1fe0f0d3fdd29 | diff --git a/config/projects/chefdk.rb b/config/projects/chefdk.rb
index <HASH>..<HASH> 100644
--- a/config/projects/chefdk.rb
+++ b/config/projects/chefdk.rb
@@ -36,7 +36,7 @@ override :chef, version: "master"
override :ohai, version: "master"
override :chefdk, version: "master"
-overri... | Bump berkshelf to <I> | chef_chef | train | rb |
750f440b1a691b5d6ac2ee84f79d6ee1938eefe4 | diff --git a/fastly/models.py b/fastly/models.py
index <HASH>..<HASH> 100644
--- a/fastly/models.py
+++ b/fastly/models.py
@@ -28,6 +28,9 @@ class Model(object):
return self.__class__.query(self.conn, self.COLLECTION_PATTERN, method, suffix, body, **self.attrs)
def save(self):
+ if self._original... | fix(models): Do not perform save if `attrs` is unchanged | fastly_fastly-py | train | py |
027bac4d0f3668f6bf59744ece5e713b47907e91 | diff --git a/graphics/shapes.py b/graphics/shapes.py
index <HASH>..<HASH> 100644
--- a/graphics/shapes.py
+++ b/graphics/shapes.py
@@ -207,7 +207,10 @@ class Text( Image ):
return [[False if char == ' ' else True for char in self.text],]
def char( self, pos ):
- return self.text[pos[0]]
+ ... | Fixed shapes.Text to return True for zero length strings, to allow for use as single default charicter pixel. | olls_graphics | train | py |
87c13839a83e8269433bcc561e25733f2f9fa3b7 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100755
--- a/src/index.js
+++ b/src/index.js
@@ -156,7 +156,6 @@ export default class Swup {
destroy() {
// remove delegated listeners
this.delegatedListeners.click.destroy();
- this.delegatedListeners.mouseover.destroy();
// remove popstate li... | remove destroy of mouseover listener as it was moved to the preload plugin | gmrchk_swup | train | js |
6305cb403c9c3ab09786496de989b6948ddafd85 | diff --git a/src/txkube/_memory.py b/src/txkube/_memory.py
index <HASH>..<HASH> 100644
--- a/src/txkube/_memory.py
+++ b/src/txkube/_memory.py
@@ -107,9 +107,9 @@ def response(request, status, obj):
def _message(details, event):
if details.get(u"group") is None:
- fmt = u"{kind} \"{name}\" {event}"
+ ... | Simplify the quoting in internal helper | LeastAuthority_txkube | train | py |
fe61c8ae5331ac61af26fba8cdabe8c07d83dfa6 | diff --git a/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php b/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php
index <HASH>..<HASH> 100644
--- a/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php
+++ b/kernel/classes/datatypes/ezobjectrelatio... | PHP<I> fix: Added array check before count. (#<I>)
* Added array check before counting
* Apply suggestions from code review
Check for existence of post variable | ezsystems_ezpublish-legacy | train | php |
3bdcf7b440febde90c3eb5d0260716cba70847df | diff --git a/lib/Cake/Model/AclNode.php b/lib/Cake/Model/AclNode.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Model/AclNode.php
+++ b/lib/Cake/Model/AclNode.php
@@ -163,7 +163,7 @@ class AclNode extends Model {
'joins' => array(array(
'table' => $table,
'alias' => "{$type}0",
- 'type' => 'LEFT',
... | Use inner join instead of a left join.
In some database servers an INNER join performs better than a LEFT join.
Fixes #<I> | cakephp_cakephp | train | php |
3b8ebbac9e33e5e83fc5ac6643be6fdf638bd136 | diff --git a/pkg/api/apipanic.go b/pkg/api/apipanic.go
index <HASH>..<HASH> 100644
--- a/pkg/api/apipanic.go
+++ b/pkg/api/apipanic.go
@@ -16,8 +16,11 @@ package api
import (
"net/http"
+ "os"
"runtime/debug"
+ "github.com/cilium/cilium/pkg/logging"
+
"github.com/sirupsen/logrus"
)
@@ -38,7 +41,9 @@ func ... | apipanic: Write stack directly to stdout in debug case
This properly formats the output in the log instead of one giant log
line with embedded '\n' strings. We do similar in the lockdebug library,
so follow that example. | cilium_cilium | train | go |
2b3c5b269a328337602b78489089a4e6eb9280bd | diff --git a/common/src/test/java/org/duracloud/common/web/RestHttpHelperTest.java b/common/src/test/java/org/duracloud/common/web/RestHttpHelperTest.java
index <HASH>..<HASH> 100644
--- a/common/src/test/java/org/duracloud/common/web/RestHttpHelperTest.java
+++ b/common/src/test/java/org/duracloud/common/web/RestHttpH... | Travis seems not to like connections to localhost. | duracloud_duracloud | train | java |
30bb0d04f559c92e639d4dc9e3da4442fa4961af | diff --git a/mozilla/gcli/index.js b/mozilla/gcli/index.js
index <HASH>..<HASH> 100644
--- a/mozilla/gcli/index.js
+++ b/mozilla/gcli/index.js
@@ -56,6 +56,7 @@ define(function(require, exports, module) {
require('gcli/types/javascript').startup();
require('gcli/types/node').startup();
require('gcli/cli').star... | Bug <I> (help): Include 'help' in the moz build | joewalker_gcli | train | js |
949c27a026d2b2276b2a13166e6ed7065b260fea | diff --git a/lib/modinfolib.php b/lib/modinfolib.php
index <HASH>..<HASH> 100644
--- a/lib/modinfolib.php
+++ b/lib/modinfolib.php
@@ -492,7 +492,7 @@ class course_modinfo {
// Loop through each piece of module data, constructing it
static $modexists = array();
foreach ($coursemodinfo->modinf... | MDL-<I> course: prevent warnings on half-uninstall mod | moodle_moodle | train | php |
05d82c05693960621a43e05107cb9f4640315376 | diff --git a/lib/gollum/frontend/public/gollum/javascript/gollum.js b/lib/gollum/frontend/public/gollum/javascript/gollum.js
index <HASH>..<HASH> 100755
--- a/lib/gollum/frontend/public/gollum/javascript/gollum.js
+++ b/lib/gollum/frontend/public/gollum/javascript/gollum.js
@@ -214,14 +214,18 @@ $(document).ready(funct... | Attach unsaved changes warning to trigger only after changes are made | gollum_gollum-lib | train | js |
89f7e33dc5161ade61660561004766a04f51a860 | diff --git a/Form/Type/ModelType.php b/Form/Type/ModelType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/ModelType.php
+++ b/Form/Type/ModelType.php
@@ -16,7 +16,7 @@ use Symfony\Bridge\Propel1\Form\DataTransformer\CollectionToArrayTransformer;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\For... | [Form] setDefaultOptions() is now coded against OptionsResolverInterface | symfony_propel1-bridge | train | php |
7e671cdcecd0b750eb05be8c13351a7f9544509f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,9 +14,7 @@ setup(
long_description=open(os.path.join(here, 'README.rst')).read(),
install_requires=[],
packages=find_packages(),
- package_data = {
- '': ['*.js', '*.html'],
- },
+ include_pa... | Package data from MANIFEST.in | makinacorpus_django-templatetag-handlebars | train | py |
d3792e2ec8a94bdf03215acc6d332df2164290dd | diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/CodeHelperTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/CodeHelperTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/CodeHelperTest.php
+++ b/src/Symfony/Bundle/FrameworkBun... | [FrameworkBundle] cleaned up test class | symfony_symfony | train | php |
d027ceb301d8c3d1d9e92ca3827687b331296dd2 | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100644
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -46,6 +46,8 @@ var cleanUp = function(runner, log) {
util.puts('Shutting down selenium standalone server');
server.stop();
}
+
+ process.exit(passed? 0 : 1);
};
var printVersion = function () { | fix(cleanUp): Added step to exit process with error code if tests did not pass. | angular_protractor | train | js |
a5e357e9848ec1571374d1de9095b12295028429 | diff --git a/wordcloud/wordcloud_cli.py b/wordcloud/wordcloud_cli.py
index <HASH>..<HASH> 100644
--- a/wordcloud/wordcloud_cli.py
+++ b/wordcloud/wordcloud_cli.py
@@ -90,8 +90,11 @@ def main(args, text, imagefile):
wordcloud.generate(text)
image = wordcloud.to_image()
- with imagefile:
+ try:
... | Replaces the imagefile context manager with try/finally. | amueller_word_cloud | train | py |
47b65d5792529859595ff8e195fab09e321871cf | diff --git a/client.diff/src/main/java/com/github/gumtreediff/client/diff/webdiff/WebDiff.java b/client.diff/src/main/java/com/github/gumtreediff/client/diff/webdiff/WebDiff.java
index <HASH>..<HASH> 100644
--- a/client.diff/src/main/java/com/github/gumtreediff/client/diff/webdiff/WebDiff.java
+++ b/client.diff/src/mai... | fix: now monaco diff is the default client | GumTreeDiff_gumtree | train | java |
0688b1f352061b2db39cd22ea19d3224c8c3a7cb | diff --git a/functional/util.py b/functional/util.py
index <HASH>..<HASH> 100644
--- a/functional/util.py
+++ b/functional/util.py
@@ -59,8 +59,6 @@ def is_namedtuple(val):
if len(bases) != 1 or bases[0] != tuple:
return False
fields = getattr(val_type, '_fields', None)
- if not isinstance(fields,... | Eliminate line that is never hit | EntilZha_PyFunctional | train | py |
becc295dedddb5ad6a6020864f9ebdaad8f1d85f | diff --git a/bcbio/bam/fasta.py b/bcbio/bam/fasta.py
index <HASH>..<HASH> 100644
--- a/bcbio/bam/fasta.py
+++ b/bcbio/bam/fasta.py
@@ -36,7 +36,7 @@ def strip_transcript_versions(fasta, out_file):
with open(fasta) as in_handle:
for line in in_handle:
if line.startswith... | Avoid an extra newline when stripping transcript versions. | bcbio_bcbio-nextgen | train | py |
11627345d821be5df81f774c98f0ced684922913 | diff --git a/lib/email_spec/deliveries.rb b/lib/email_spec/deliveries.rb
index <HASH>..<HASH> 100644
--- a/lib/email_spec/deliveries.rb
+++ b/lib/email_spec/deliveries.rb
@@ -38,7 +38,7 @@ module EmailSpec
def last_email_sent
if email = Email.last
- Mail.read(email.mail)
+ parse_to_mail(emai... | Refactor to use #parse_to_mail method which does the same | email-spec_email-spec | train | rb |
bef7484610dd206d7c749e32f5d91a0f67ef405a | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapKeyedStateBackend.java b/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapKeyedStateBackend.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapKeyedStateBackend.jav... | [FLINK-<I>] [runtime] Add null check for state meta info snapshotting in heap backend
This closes #<I>. | apache_flink | train | java |
1b756e5909ab7d485b1f399e7e16d25a8550be72 | diff --git a/src/CacheEntry.php b/src/CacheEntry.php
index <HASH>..<HASH> 100644
--- a/src/CacheEntry.php
+++ b/src/CacheEntry.php
@@ -147,13 +147,17 @@ class CacheEntry
// No TTL if we have a way to re-validate the cache
return 0;
}
+
if ($this->staleIfErrorTo !== null) {
... | #<I> Don't return 0 if it isn't for caching | Kevinrob_guzzle-cache-middleware | train | php |
ad271235587e3b9632af58362576c2786aaee101 | diff --git a/samples/webhook.js b/samples/webhook.js
index <HASH>..<HASH> 100644
--- a/samples/webhook.js
+++ b/samples/webhook.js
@@ -16,6 +16,7 @@
// [START dialogflow_es_webhook]
+// TODO: Add handleWebhook to 'Entry point' in the Google Cloud Function
exports.handleWebhook = (request, response) => {
const ... | samples: added comments (#<I>) | googleapis_nodejs-dialogflow | train | js |
692c35e7e2b72b28697532cb677f3625f74179ab | diff --git a/tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php b/tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php
+++ b/tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php
@@ -832,6 +832,17 @@ class Se... | DDC-<I>, DDC-<I>, DDC-<I> - Added another testcase to verify mapped superclass + association dql alias generation | doctrine_orm | train | php |
0f4c0e461f7f4b9603bc26d274c144142e3dec16 | diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index <HASH>..<HASH> 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -65,8 +65,7 @@ def parse_args():
"slaves across multiple (an additional $0.01/Gb for bandwidth" +
"between zones applies)")
parser.add_option("-a", "--ami", default="l... | Removing now defunct ami documentation | apache_spark | train | py |
3f060164d82cea8efbe43569d8c67ea5e87b9b00 | diff --git a/face_recognition/cli.py b/face_recognition/cli.py
index <HASH>..<HASH> 100644
--- a/face_recognition/cli.py
+++ b/face_recognition/cli.py
@@ -34,7 +34,7 @@ def test_image(image_to_check, known_names, known_face_encodings):
# Scale down image if it's giant so things run a little faster
if unknow... | Convert <I> to a float.
If `unknown_image.shape[1] > <I>` then `scale_factor` will be always calculated `0` because `<I> / unknown_image.shape[1]` is an `int` over `int` division which in turn will always raise a ValueError in `PIL.Image.resize`. Making `<I>` a float (<I>) fixes the issue. | ageitgey_face_recognition | train | py |
0d748d8e34e4fe4b0a2a7910b8d70f0e27666454 | diff --git a/c7n/mu.py b/c7n/mu.py
index <HASH>..<HASH> 100644
--- a/c7n/mu.py
+++ b/c7n/mu.py
@@ -707,11 +707,11 @@ class PolicyLambda(AbstractLambdaFunction):
@property
def security_groups(self):
- return None
+ return self.policy.data['mode'].get('security_groups', None)
@property
... | mu/lambda policies - support vpc configuration for lambda provisioning (#<I>) | cloud-custodian_cloud-custodian | train | py |
f90dfe878bd0a439f3338abda5cb3693524e9841 | diff --git a/src/leaflet.js b/src/leaflet.js
index <HASH>..<HASH> 100644
--- a/src/leaflet.js
+++ b/src/leaflet.js
@@ -174,10 +174,10 @@ var root = (module.exports = function(yasr) {
}
if (markerPos) {
var shouldDrawSeparateMarker = !!feature.getBounds; //a lat/lng is already a marker... | fixed issue where a leaflet feature wasnt recognized as point | OpenTriply_YASGUI.YASR | train | js |
aa73d6bdc3d4b5804a83dfed2f155bc4d9afb105 | diff --git a/pyvista/core/filters/structured_grid.py b/pyvista/core/filters/structured_grid.py
index <HASH>..<HASH> 100644
--- a/pyvista/core/filters/structured_grid.py
+++ b/pyvista/core/filters/structured_grid.py
@@ -147,6 +147,7 @@ class StructuredGridFilters(DataSetFilters):
# slice to cut off the repeated... | Fix use of a slice tuple for numpy <I> (#<I>) | vtkiorg_vtki | train | py |
d8b9ca837b89caf1cf1b8ea907b1c149a53ae0e9 | diff --git a/plugins/storage/hbase/src/test/java/org/mwg/StorageTest.java b/plugins/storage/hbase/src/test/java/org/mwg/StorageTest.java
index <HASH>..<HASH> 100644
--- a/plugins/storage/hbase/src/test/java/org/mwg/StorageTest.java
+++ b/plugins/storage/hbase/src/test/java/org/mwg/StorageTest.java
@@ -1,11 +1,8 @@
pac... | delete unused dependency test (failure on bench server) | datathings_greycat | train | java |
85c5856b823cddb127e81ed4e43940169b879313 | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/sites/siteCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/sites/siteCommands.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/sites/siteCommands.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/sites/siteComma... | Bug <I> - Local Editor Settings button needs an accessible name
(Start button needs to also display text and not icon). | eclipse_orion.client | train | js |
ae51230280eab0876a9f5c93bd116aed750166cc | diff --git a/eduadmin.php b/eduadmin.php
index <HASH>..<HASH> 100644
--- a/eduadmin.php
+++ b/eduadmin.php
@@ -8,7 +8,9 @@ if(!session_id())
* Plugin URI: http://www.eduadmin.se
* Description: EduAdmin plugin to allow visitors to book courses at your website
* Tags: booking, participants, courses, events, eduad... | 1 file changed, 3 insertions(+), 1 deletion(-)
Changes: M eduadmin.php
?? includes/_apiFunctions.php | MultinetInteractive_EduAdmin-WordPress | train | php |
bd937949b305b58448b76e873dfbd262d575e128 | diff --git a/fut/core.py b/fut/core.py
index <HASH>..<HASH> 100644
--- a/fut/core.py
+++ b/fut/core.py
@@ -1038,12 +1038,12 @@ class Core(object):
return [itemParse({'itemData': i}) for i in rc.get('itemData', ())]
- def sell(self, item_id, bid, buy_now=10000, duration=3600):
+ def sell(self, item_id... | remove default buy now price for sell method to avoid mistakes | futapi_fut | train | py |
07cd33245682371db91bbe40e0ee34dc73fe7778 | diff --git a/lib/l20n/context.js b/lib/l20n/context.js
index <HASH>..<HASH> 100644
--- a/lib/l20n/context.js
+++ b/lib/l20n/context.js
@@ -209,6 +209,7 @@ define(function (require, exports, module) {
this.get = get;
this.getEntity = getEntity;
+ this.getEntities = getEntities;
this.localize = locali... | add getEntities needed for fullDict | l20n_l20n.js | train | js |
d95649d77a4f140e7ec5eba9fcdcd79499b86a00 | diff --git a/lib/twitter.rb b/lib/twitter.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter.rb
+++ b/lib/twitter.rb
@@ -109,7 +109,16 @@ module Twitter
end
def self.parse(response)
- MultiJson.decode(response.body)
+ case response.body
+ when ''
+ nil
+ when 'true'
+ true
+ when 'false'
... | Add support for JSON parsers that can't handle responses that don't contain at least two octets. | sferik_twitter | train | rb |
5eedfe23148a234211ba477f76fc2ea2e8529189 | diff --git a/common/py_vulcanize/py_vulcanize/parse_html_deps.py b/common/py_vulcanize/py_vulcanize/parse_html_deps.py
index <HASH>..<HASH> 100644
--- a/common/py_vulcanize/py_vulcanize/parse_html_deps.py
+++ b/common/py_vulcanize/py_vulcanize/parse_html_deps.py
@@ -8,6 +8,7 @@ from __future__ import print_function
... | vulcanizer: Filter out soupsieve warnings
Beautiful soup warns about the lack of soupsieve package under py3,
but we don't need it.
Bug: chromium:<I>
Change-Id: If<I>a9bf1ac5ff<I>a7f<I>a<I>e<I>e<I>aa<I>acd<I>
Reviewed-on: <URL> | catapult-project_catapult | train | py |
4dfef5e9efac2a372df752e3e345c5c83b55895c | diff --git a/course/externallib.php b/course/externallib.php
index <HASH>..<HASH> 100644
--- a/course/externallib.php
+++ b/course/externallib.php
@@ -2087,6 +2087,18 @@ class core_course_external extends external_api {
$context = context_course::instance($course->id);
self::validate_context($context)... | MDL-<I> webservices: Validate section number (exists and visibility) | moodle_moodle | train | php |
f07bc2a3806ecc99cf7ffe249fa307e4fcc0ecfa | diff --git a/src/main/java/com/github/lwhite1/tablesaw/api/Table.java b/src/main/java/com/github/lwhite1/tablesaw/api/Table.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/lwhite1/tablesaw/api/Table.java
+++ b/src/main/java/com/github/lwhite1/tablesaw/api/Table.java
@@ -902,7 +902,7 @@ public class Tabl... | Need to add the cell to the returning table. | jtablesaw_tablesaw | train | java |
87b7dbf0b40ca69785f47203aa37d030612de78a | diff --git a/hazelcast-client/src/main/java/com/hazelcast/client/proxy/ClientAtomicLongProxy.java b/hazelcast-client/src/main/java/com/hazelcast/client/proxy/ClientAtomicLongProxy.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/main/java/com/hazelcast/client/proxy/ClientAtomicLongProxy.java
+++ b/hazelcast-... | AtomicLong functions: import cleanup | hazelcast_hazelcast | train | java |
8e2e1004177a9872f3813dd7218f1946b5560ef2 | diff --git a/lib/deas/version.rb b/lib/deas/version.rb
index <HASH>..<HASH> 100644
--- a/lib/deas/version.rb
+++ b/lib/deas/version.rb
@@ -1,3 +1,3 @@
module Deas
- VERSION = "0.13.0"
+ VERSION = "0.13.1"
end | version to <I>
* template engine: look in `:views` option first, fallback to sinatra views (#<I>) | redding_deas | train | rb |
66716f1cbd0888e99d305985b661b1ec50b50fc2 | diff --git a/examples/ao.js b/examples/ao.js
index <HASH>..<HASH> 100644
--- a/examples/ao.js
+++ b/examples/ao.js
@@ -193,7 +193,7 @@ const lightEnt = renderer.entity([
}),
renderer.directionalLight({
color: [1, 1, 1, 1],
- intensity: 5,
+ intensity: 2,
castShadows: true,
bias: 0.01
}) | Decrease lights intensity in ao example | pex-gl_pex-renderer | train | js |
87d9dcfd2613f770861274f755834a017a760af2 | diff --git a/tests/tests/kernel/datatypes/ezxmltext/ezxmlinputparser.php b/tests/tests/kernel/datatypes/ezxmltext/ezxmlinputparser.php
index <HASH>..<HASH> 100644
--- a/tests/tests/kernel/datatypes/ezxmltext/ezxmlinputparser.php
+++ b/tests/tests/kernel/datatypes/ezxmltext/ezxmlinputparser.php
@@ -70,7 +70,7 @@ class e... | Fixed: tests defined with parameter not provided by their @dataProvider | ezsystems_ezpublish-legacy | train | php |
d126184338747233c72b7b5fbbd37ae62bb1034f | diff --git a/ixexplorer/ixe_statistics_view.py b/ixexplorer/ixe_statistics_view.py
index <HASH>..<HASH> 100644
--- a/ixexplorer/ixe_statistics_view.py
+++ b/ixexplorer/ixe_statistics_view.py
@@ -23,7 +23,7 @@ class IxeStat(IxeObject):
TclMember('duplexMode', type=int, flags=FLAG_RDONLY),
TclMe... | disabled linkFaultState stats | shmir_PyIxExplorer | train | py |
d9eef6490133d835cd2d610f151d1e8c96c33097 | diff --git a/src/Psr17FactoryDiscovery.php b/src/Psr17FactoryDiscovery.php
index <HASH>..<HASH> 100644
--- a/src/Psr17FactoryDiscovery.php
+++ b/src/Psr17FactoryDiscovery.php
@@ -127,7 +127,7 @@ final class Psr17FactoryDiscovery extends ClassDiscovery
*
* @throws Exception\NotFoundException
*
- * ... | Updated deprecated commented with correct method (#<I>) | php-http_discovery | train | php |
c35128bc83c7861ba1b2f48763b0908896b41aed | diff --git a/xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/event/ExtensionUpgradedEvent.java b/xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/event/ExtensionUpgradedEvent.java
index <HASH>..<HASH> 100644... | [Misc] Fix wrong @since committed in XCOMMONS-<I> | xwiki_xwiki-commons | train | java |
de78cd999f9a1e62c4a46eb0cd8adc951b0ffc09 | diff --git a/commands/DoctorCommand.js b/commands/DoctorCommand.js
index <HASH>..<HASH> 100644
--- a/commands/DoctorCommand.js
+++ b/commands/DoctorCommand.js
@@ -215,7 +215,7 @@ DoctorCommand.prototype = extend(BaseCommand.prototype, {
this._displayStepTitle('Clearing and setting up Wi-Fi settings');
console.l... | Add expected time for Wi-Fi credential clear | particle-iot_particle-cli | train | js |
a441cbb1cecbc87e3282c7016910a35b5e38e3e5 | diff --git a/core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java b/core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
+++ b/core/src/main/java/hudson/init/impl/InstallUnc... | Add logging ID to uncaught exception handler. | jenkinsci_jenkins | train | java |
0e5d0279d9369a123df001efbf1ef9bf21285f67 | diff --git a/javascript/zenvalidator.js b/javascript/zenvalidator.js
index <HASH>..<HASH> 100644
--- a/javascript/zenvalidator.js
+++ b/javascript/zenvalidator.js
@@ -1,7 +1,11 @@
(function($) {
$.entwine('ss.zenvalidator', function($) {
- $('form.parsley').parsley({
- excluded: 'input[type=button], input[type=s... | on match for hidden forms
If a form is in a panel (eg foundations tabs) the js will still validate when the form is revealed & the user clicks submit - because of the onmatch wrapper. | sheadawson_silverstripe-zenvalidator | train | js |
644f223dd83c0a5bce00c4f003c8ee59a73f7a7e | diff --git a/src/main/java/com/restfb/Version.java b/src/main/java/com/restfb/Version.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/restfb/Version.java
+++ b/src/main/java/com/restfb/Version.java
@@ -107,19 +107,26 @@ public enum Version {
VERSION_10_0("v10.0"),
/**
- * <tt>Graph API 11.0</tt>, ava... | Issue #<I> - graph api <I> added to version | restfb_restfb | train | java |
f3316b1561d479bd2622d685eada5193ed653603 | diff --git a/Entity/Base.php b/Entity/Base.php
index <HASH>..<HASH> 100644
--- a/Entity/Base.php
+++ b/Entity/Base.php
@@ -146,9 +146,13 @@ abstract class Base
*
* @param \DateTime|null $createdAt
*/
- public function setCreatedAt(\DateTime $createdAt = null)
+ public function setCreatedAt($cre... | entity created,updated at argument change | skillberto_SonataExtendedAdminBundle | train | php |
88b329a7a4d645221db7a4167f2fd5d694ef4fab | diff --git a/spec/unit/mongoid/associations_spec.rb b/spec/unit/mongoid/associations_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/mongoid/associations_spec.rb
+++ b/spec/unit/mongoid/associations_spec.rb
@@ -56,7 +56,7 @@ describe Mongoid::Associations do
end
- describe "#belongs_to" do
+ describe ".bel... | Making sure associations specs use right describe syntax | mongodb_mongoid | train | rb |
0b89ea093f501d8c988915312b6d21829506e9d9 | diff --git a/unpackers/myobfuscate_unpacker.js b/unpackers/myobfuscate_unpacker.js
index <HASH>..<HASH> 100644
--- a/unpackers/myobfuscate_unpacker.js
+++ b/unpackers/myobfuscate_unpacker.js
@@ -28,7 +28,13 @@
var MyObfuscate = {
detect: function (str) {
- return /^var _?[0O1lI]{3}\=('|\[).*\)\)\);/.test... | Make myobfuscate.com scripts work | beautify-web_js-beautify | train | js |
354fa75eaa39872b149fa825a4533c53e7e10126 | diff --git a/lib/generators/acts_as_approvable/templates/approvals_controller.rb b/lib/generators/acts_as_approvable/templates/approvals_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/acts_as_approvable/templates/approvals_controller.rb
+++ b/lib/generators/acts_as_approvable/templates/approvals_control... | Integer check did not allow for negative values (which we need for 'All') | Tapjoy_acts_as_approvable | train | rb |
894103e3e34d5b904f7c3ffc3aa2b52873f7ac0a | diff --git a/tests/frontend/org/voltcore/utils/TestRateLimitedLogger.java b/tests/frontend/org/voltcore/utils/TestRateLimitedLogger.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltcore/utils/TestRateLimitedLogger.java
+++ b/tests/frontend/org/voltcore/utils/TestRateLimitedLogger.java
@@ -44,6 +44,10 @@ pu... | Fix up a time-dependent intermittent failure. Flip from atLeast,
which could be violated due to process scheduling, other sadness, to
atMost, which is the intent of the RateLimitedLogger anyway. | VoltDB_voltdb | train | java |
c3fdb872bbc110cf1fbbfc865ce933bac928098d | diff --git a/pysc2/env/sc2_env.py b/pysc2/env/sc2_env.py
index <HASH>..<HASH> 100644
--- a/pysc2/env/sc2_env.py
+++ b/pysc2/env/sc2_env.py
@@ -316,7 +316,7 @@ class SC2Env(environment.Base):
def save_replay(self, replay_dir):
replay_path = self._run_config.save_replay(
self._controllers[0].save_replay(... | Remove prints in favor of logging.info
PiperOrigin-RevId: <I> | deepmind_pysc2 | train | py |
8289b4d473635822db65b56f0969e9f97298c9bd | diff --git a/ntp_test.go b/ntp_test.go
index <HASH>..<HASH> 100644
--- a/ntp_test.go
+++ b/ntp_test.go
@@ -38,9 +38,7 @@ func isNil(t *testing.T, err error) bool {
func assertValid(t *testing.T, r *Response) {
err := r.Validate()
- if err != nil {
- t.Errorf("[%s] Response invalid: %s\n", host, err)
- }
+ _ = isN... | Unit tests won't fail on kiss of death or timeout. | beevik_ntp | train | go |
ce74828516269dc8e3880ac971a85d336140d799 | diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/client/indices.py
+++ b/elasticsearch/client/indices.py
@@ -495,7 +495,7 @@ class IndicesClient(NamespacedClient):
return data
@query_params('master_timeout')
- def put_warme... | Index isn't required for put_warmer any more | elastic_elasticsearch-py | train | py |
7b1d4bd71db85e87c653b697f0b1e06603e1f7e0 | diff --git a/File/src/File.php b/File/src/File.php
index <HASH>..<HASH> 100644
--- a/File/src/File.php
+++ b/File/src/File.php
@@ -362,11 +362,22 @@ class File implements FileInterface
/**
* @param string $dir
* @return bool
+ * @throws \RuntimeException
* @internal
*/
protected ... | File::mkdir(): Throw descriptive error on failure | rockettheme_toolbox | train | php |
03c457fc1b7b3c1c45242953f71e16bd325448a3 | diff --git a/src/back/models/Entity.js b/src/back/models/Entity.js
index <HASH>..<HASH> 100644
--- a/src/back/models/Entity.js
+++ b/src/back/models/Entity.js
@@ -36,8 +36,7 @@ Entity.specify = function (specification) {
/**
* This is a read-only property to get the type of an Entity instance. It is
* just an alia... | Type is an instance member instead of a static one | back4app_back4app-entity | train | js |
9773eba47d742c9dc77b1ccfb300d622319db92e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -80,12 +80,11 @@ setup(
'pyyaml',
'webencodings',
'gevent==1.1.2',
- 'webassets==0.12.0',
+ 'webassets==0.12.1',
'portalocker'
#'pyamf'
],
dependency_links=[... | setup reqs: use webassets==<I> (with pyinstaller support), remove dependency on custom branch | webrecorder_pywb | train | py |
09e4ee4b016b54a3d3a480bced0be34197d1f56c | diff --git a/pysnmp/entity/rfc3413/ntforg.py b/pysnmp/entity/rfc3413/ntforg.py
index <HASH>..<HASH> 100644
--- a/pysnmp/entity/rfc3413/ntforg.py
+++ b/pysnmp/entity/rfc3413/ntforg.py
@@ -55,9 +55,11 @@ class NotificationOriginator:
if statusInformation:
if origRetries == origRetryCount:
- ... | refactor NotificationOriginator to allow receiption method
customization | etingof_pysnmp | train | py |
f271eb584cadebe00c956b159a0eba7f711194e0 | diff --git a/src/main/java/com/j256/ormlite/android/AndroidCompiledStatement.java b/src/main/java/com/j256/ormlite/android/AndroidCompiledStatement.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/ormlite/android/AndroidCompiledStatement.java
+++ b/src/main/java/com/j256/ormlite/android/AndroidCompiledStat... | Exposed the getCursor() method so folks can use it directly. | j256_ormlite-android | train | java |
41739c36ebdac9529a5d8fa8c7341157630cb0c4 | diff --git a/lib/ansiblelint/rules/NoFormattingInWhenRule.py b/lib/ansiblelint/rules/NoFormattingInWhenRule.py
index <HASH>..<HASH> 100644
--- a/lib/ansiblelint/rules/NoFormattingInWhenRule.py
+++ b/lib/ansiblelint/rules/NoFormattingInWhenRule.py
@@ -22,7 +22,7 @@ class NoFormattingInWhenRule(AnsibleLintRule):
def... | Don't crash on empty roles. (#<I>)
Rule NoFormattingInWhen is crashing when rules is empty, which is
common in developing playbooks. | ansible_ansible-lint | train | py |
480650545875cc8fd3115fc128469c3eec4f007b | diff --git a/lib/responders.rb b/lib/responders.rb
index <HASH>..<HASH> 100644
--- a/lib/responders.rb
+++ b/lib/responders.rb
@@ -1,4 +1,5 @@
require 'action_controller'
+require 'rails/railtie'
module ActionController
autoload :Responder, 'action_controller/responder' | Require "rails/raitlie"
fixes #<I> | plataformatec_responders | train | rb |
9f54ade66c00f3e499b66aa5ff49acd7410219dd | diff --git a/lxd/cluster/heartbeat.go b/lxd/cluster/heartbeat.go
index <HASH>..<HASH> 100644
--- a/lxd/cluster/heartbeat.go
+++ b/lxd/cluster/heartbeat.go
@@ -295,7 +295,7 @@ func Heartbeat(gateway *Gateway, cluster *db.Cluster, nodeRefreshTask func(*APIH
continue
}
- err := tx.NodeHeartbeat(node.Addres... | lxd/cluster/heartbeat: Use current timestamp for DB record | lxc_lxd | train | go |
37d5dd6530857a1abc1db50a48ba22c3459826a1 | diff --git a/reflect.go b/reflect.go
index <HASH>..<HASH> 100644
--- a/reflect.go
+++ b/reflect.go
@@ -1023,6 +1023,8 @@ func isEmpty(rt reflect.Type, rv reflect.Value, opts Options) bool {
}
return false
} else {
+ // TODO: A faster alternative might be to call writeReflectJSON
+ // onto a buffer and check i... | isEmpty note from review | tendermint_go-amino | train | go |
cb97a100cf16126646e90703ee76971645f393c6 | diff --git a/js/tag-it.js b/js/tag-it.js
index <HASH>..<HASH> 100644
--- a/js/tag-it.js
+++ b/js/tag-it.js
@@ -87,7 +87,9 @@
});
tag_input.autocomplete({
- source: options.availableTags,
+ source: function(req, show_choices){
+ show_choices(subtract_array(options.availableTags,assigned_tags()));
+... | remove already assigned tags from autocomplete suggestion | aehlke_tag-it | train | js |
d4905dedba2d65523edb297482a012f1615f998d | diff --git a/examples/lucky.js b/examples/lucky.js
index <HASH>..<HASH> 100644
--- a/examples/lucky.js
+++ b/examples/lucky.js
@@ -2,7 +2,7 @@
const Cursor = require('../lib/Cursor');
const cursor = Cursor.create().reset();
-const colors = ['RED', 'CYAN_1', 'YELLOW', 'GREEN', 'BLUE'];
+const colors = ['red', 'cyan'... | docs(cursor): Fix issue with colors in examples | kittikjs_cursor | train | js,js |
52239a9b6cd017127d52c29ac0e2a0d3818e7d9e | diff --git a/cms_lab_members/admin.py b/cms_lab_members/admin.py
index <HASH>..<HASH> 100644
--- a/cms_lab_members/admin.py
+++ b/cms_lab_members/admin.py
@@ -7,6 +7,7 @@ from lab_members.admin import ScientistAdmin
class CMSScientistAdmin(PlaceholderAdminMixin, ScientistAdmin):
fieldsets = [
ScientistAd... | Add new lab_members fieldset_website to fieldsets for cms_lab_members | mfcovington_djangocms-lab-members | train | py |
23e2c2ccdb1c3c215076924453c8c6f6e1f0196d | diff --git a/lib/zenaton.rb b/lib/zenaton.rb
index <HASH>..<HASH> 100644
--- a/lib/zenaton.rb
+++ b/lib/zenaton.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require 'zenaton/version'
+require 'zenaton/client'
# Top level namespace for the Zenaton ruby library
module Zenaton
diff --git a/spec/spec_helper.rb ... | Load Zenaton Client
There are some circular dependencies. Load the client first to ensure
the zenatonable trait is loaded before classes that depend on it. | zenaton_zenaton-ruby | train | rb,rb |
983339d8c7c70c83a653da536419027da307601b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -46,7 +46,14 @@ module.exports = (rootDirs, { delay = 50, suppressReporting }) => {
}
});
- return emitter;
+ return {
+ on(name, fn) {
+ emitter.on(name, fn);
+ },
+ terminate() {
+ watcher.close();
+ }
+ };
}... | Add option to shut down watcher
let watcher = niteOwl(…)
…
watcher.terminate();
this is primarily useful for tests, as otherwise the watcher being
persistent will prevent the process from exiting | faucet-pipeline_nite-owl | train | js |
421aed3ad96741475fe6dc191d5bdabc6da445c2 | diff --git a/src/Bluz/Grid/Grid.php b/src/Bluz/Grid/Grid.php
index <HASH>..<HASH> 100644
--- a/src/Bluz/Grid/Grid.php
+++ b/src/Bluz/Grid/Grid.php
@@ -107,6 +107,12 @@ abstract class Grid
protected $controller;
/**
+ * Custom array params
+ * @var array
+ */
+ protected $params = array();
+
+... | Fixed #<I>
Added support if custom params for Grid package | bluzphp_framework | train | php |
93982b39fac623c9c8ba0c65527c7e8522fd6cdd | diff --git a/src/grid/grid-cell.js b/src/grid/grid-cell.js
index <HASH>..<HASH> 100644
--- a/src/grid/grid-cell.js
+++ b/src/grid/grid-cell.js
@@ -1,9 +1,15 @@
import React from 'react';
-export default function Cell(props) {
- return (
- <span>
- {props.active ? 'cell!' : 'cell'}
- </span>
- );
+export... | Convert Cell into a class component
It needs to focus itself when it becomes active. | juanca_react-aria-components | train | js |
936a82972797e4fd116f6ef096e8102fd66c9c54 | diff --git a/director/lib/director/jobs/update_release.rb b/director/lib/director/jobs/update_release.rb
index <HASH>..<HASH> 100644
--- a/director/lib/director/jobs/update_release.rb
+++ b/director/lib/director/jobs/update_release.rb
@@ -35,9 +35,11 @@ module Bosh::Director
"/releases/#{@release_name}/#{@rele... | fix cleanup, did not work if the release version was already there | cloudfoundry_bosh | train | rb |
e061c8385d00fe07884193a23f65a550b7431c38 | diff --git a/salesforce/backend/compiler.py b/salesforce/backend/compiler.py
index <HASH>..<HASH> 100644
--- a/salesforce/backend/compiler.py
+++ b/salesforce/backend/compiler.py
@@ -285,7 +285,10 @@ class SQLCompiler(compiler.SQLCompiler):
assert len(alias2table) == len(alias_map_items)
# Recognize the top table... | Fixed error message for a query unsupported by SFDC. #<I>
Only queries with one top child model are supported by Salesforce,
not with objects restricted by WHERE condition based on a sibling.
A subquery should be used instead. | django-salesforce_django-salesforce | train | py |
86210b0fc52a5fa73516964b26d628cd00f2dc20 | diff --git a/telemetry/telemetry/core/platform/profiler/perf_profiler.py b/telemetry/telemetry/core/platform/profiler/perf_profiler.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/platform/profiler/perf_profiler.py
+++ b/telemetry/telemetry/core/platform/profiler/perf_profiler.py
@@ -47,7 +47,7 @@ Try rer... | This param you sent seems like it should be in the default output.
BUG=
Review URL: <URL> | catapult-project_catapult | train | py |
3f2824306d09cc27f928146126ce36474756a838 | diff --git a/scout/ext/backend/event_handler.py b/scout/ext/backend/event_handler.py
index <HASH>..<HASH> 100644
--- a/scout/ext/backend/event_handler.py
+++ b/scout/ext/backend/event_handler.py
@@ -115,8 +115,8 @@ class EventHandler(object):
user (User): A User object
link (str): The url to b... | fix assign issue, fix #<I> | Clinical-Genomics_scout | 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.