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 |
|---|---|---|---|---|---|
9cd0d852b63563a6327356941a555b2d380bd0fa | diff --git a/lib/dragonfly/file_data_store.rb b/lib/dragonfly/file_data_store.rb
index <HASH>..<HASH> 100644
--- a/lib/dragonfly/file_data_store.rb
+++ b/lib/dragonfly/file_data_store.rb
@@ -168,7 +168,7 @@ module Dragonfly
end
def directory_empty?(path)
- Dir.entries(path) == ['.','..']
+ Dir.ent... | fix ruby <I> regression by not considering order of '.' and '..' nodes
when checking for empty directory | markevans_dragonfly | train | rb,rb |
38760c6f71ecfa476a6c8a0236ca1f9f82cbf142 | diff --git a/lib/Instance.js b/lib/Instance.js
index <HASH>..<HASH> 100644
--- a/lib/Instance.js
+++ b/lib/Instance.js
@@ -238,7 +238,7 @@ function Instance(opts) {
for (var k in opts.properties) {
if (opts.properties.hasOwnProperty(k) && !opts.data.hasOwnProperty(k) && k != opts.id) {
- opts.data[k] = null;
+... | Changes undefined instance properties initialization to undefined instead of null (#<I>) | dresende_node-orm2 | train | js |
bd75e63abf0a11f790ce1d27f41ed0dccf9545e1 | diff --git a/pastml/ml.py b/pastml/ml.py
index <HASH>..<HASH> 100755
--- a/pastml/ml.py
+++ b/pastml/ml.py
@@ -897,7 +897,7 @@ def optimise_likelihood(forest, avg_br_len, tree_len, num_edges, character, stat
optimise_kappa=optimise_kappa, avg_br_len=avg_br_len,
... | preoptimise tau with sf (frequencies fixed) then fix it for further optimisations | evolbioinfo_pastml | train | py |
6f6285e128b5c81398538d25ece8a9af988bfb4a | diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -20,5 +20,5 @@ __revision__ = "$Id$"
#
#--start constants--
-__version__ = "3.0a5"
+__version__ = "3.0b1"
#--end constants-- | Bump to <I>b1 | pypa_setuptools | train | py |
22d5c7ac044b0a07afb9a860105cb66099573ac9 | diff --git a/automation.py b/automation.py
index <HASH>..<HASH> 100644
--- a/automation.py
+++ b/automation.py
@@ -2520,7 +2520,7 @@ class RangeValuePattern():
'''Return bool'''
return _automationClient.dll.GetElementPattern(self.Element, PatternId.UIA_RangeValuePatternId) != 0
- def CurrentValue... | rename RangeValuePattern's methods | yinkaisheng_Python-UIAutomation-for-Windows | train | py |
2f88afec7d1afe54ee897c4e1e61c5593efcc46c | diff --git a/js/tests/unit/wee.js b/js/tests/unit/wee.js
index <HASH>..<HASH> 100644
--- a/js/tests/unit/wee.js
+++ b/js/tests/unit/wee.js
@@ -373,6 +373,25 @@ define(function(require) {
);
}
},
+ '$unobserve': function() {
+ var returnVal3;
+
+ Wee.controller.$set('testCtrlObserve', {});
+... | Add test for ‘$unobserve’ method | weepower_wee-core | train | js |
500a7d6138b2865a9ab596d11000250b6ed48a2a | diff --git a/src/plugins/remove_button/plugin.js b/src/plugins/remove_button/plugin.js
index <HASH>..<HASH> 100644
--- a/src/plugins/remove_button/plugin.js
+++ b/src/plugins/remove_button/plugin.js
@@ -57,7 +57,7 @@ Selectize.define('remove_button', function(options) {
e.preventDefault();
if (self.isLocked) ... | remove_button: fix event handler when label contains html | selectize_selectize.js | train | js |
e0e8538bfccf699391bbe6a83173b643c31f5980 | diff --git a/servlet/src/main/java/io/undertow/servlet/spec/AsyncContextImpl.java b/servlet/src/main/java/io/undertow/servlet/spec/AsyncContextImpl.java
index <HASH>..<HASH> 100644
--- a/servlet/src/main/java/io/undertow/servlet/spec/AsyncContextImpl.java
+++ b/servlet/src/main/java/io/undertow/servlet/spec/AsyncContex... | Make sure isAsyncStarted() returns false after complete() is called | undertow-io_undertow | train | java |
a89cd369335c617f649dce12ff84045d8a2edc53 | diff --git a/examples/plot_features.py b/examples/plot_features.py
index <HASH>..<HASH> 100755
--- a/examples/plot_features.py
+++ b/examples/plot_features.py
@@ -38,6 +38,7 @@ import json
import argparse
import numpy as np
import scipy.stats as _st
+from matplotlib.backends.backend_pdf import PdfPages
DISTS = ... | Feature plotter: save all plots to PDF file. | BlueBrain_NeuroM | train | py |
8ce4ef91706fcfe53426b67b109ae154d1efaf2d | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -4847,22 +4847,6 @@ class TestDataFrame(unittest.TestCase, CheckIndexing,
lines = f.readlines()
self.assert_(lines[1].... | TST: remove slow test duplicating an even slower test to reduce test time | pandas-dev_pandas | train | py |
c9bb4f560e13ad7bf8437e0cf32039805f6bc1e9 | diff --git a/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java b/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java
+++ b/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java
@@ -34,8 ... | [Java]: fix printing mixins. | real-logic_aeron | train | java |
7cddb5fdbdaee8136909c8cbea2af6b5c57a08bb | diff --git a/src/Web/Routing/LocaleControllerCollection.php b/src/Web/Routing/LocaleControllerCollection.php
index <HASH>..<HASH> 100644
--- a/src/Web/Routing/LocaleControllerCollection.php
+++ b/src/Web/Routing/LocaleControllerCollection.php
@@ -12,8 +12,15 @@ use Silex\Route;
*/
class LocaleControllerCollection ex... | [ControllerCollection] Updated default requirement for locale to a two letter regex. Locale list can still be passed in. | gmo_common | train | php |
323a6b76bef4c68fadb3867726fd988924f25c58 | diff --git a/src/Store/MockStore.php b/src/Store/MockStore.php
index <HASH>..<HASH> 100644
--- a/src/Store/MockStore.php
+++ b/src/Store/MockStore.php
@@ -16,7 +16,7 @@ class MockStore implements ValueStoreInterface, LockStoreInterface
public function get($key)
{
- if (!isset($this->values[$key])) {
... | MockStore: introduce exists() method to limit code duplication | sobstel_metaphore | train | php |
6da8bb7c89360456884945154bdef440ee849006 | diff --git a/cat/__init__.py b/cat/__init__.py
index <HASH>..<HASH> 100755
--- a/cat/__init__.py
+++ b/cat/__init__.py
@@ -8,7 +8,7 @@ cat is a amazing modul to get cat images. This Project won't be
posible without the great Cat API (http://thecatapi.com).
Big thanks!
-Project on github https://github.com/gravmatt/... | change setup and github url in source | gravmatt_random-cat | train | py,py |
d8ecdc582f5d21dd5b0e3784929d35ec3ed6debe | diff --git a/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js b/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js
index <HASH>..<HASH> 100644
--- a/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js
+++ b/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js
@@ -175,13 +175,13 @@... | Fixed the path and resourcePath in http event lambda proxy | dherault_serverless-offline | train | js |
db5febb6a7a10ee5748009c212b77b1d61725dc4 | diff --git a/core/codegen/src/main/java/org/overture/codegen/visitor/ExpVisitorCG.java b/core/codegen/src/main/java/org/overture/codegen/visitor/ExpVisitorCG.java
index <HASH>..<HASH> 100644
--- a/core/codegen/src/main/java/org/overture/codegen/visitor/ExpVisitorCG.java
+++ b/core/codegen/src/main/java/org/overture/cod... | Added fix for generation of variable expressions. When the node parent cannot be found the variable expression is generated as an identifier variable expression (instead of an explicit variable expression). | overturetool_overture | train | java |
91003a67e130488e829450b02bfb64bd6e57f6ce | diff --git a/code/buttons/BetterButton_New.php b/code/buttons/BetterButton_New.php
index <HASH>..<HASH> 100755
--- a/code/buttons/BetterButton_New.php
+++ b/code/buttons/BetterButton_New.php
@@ -37,6 +37,10 @@ class BetterButton_New extends BetterButton {
* @return boolean
*/
public function shouldDisp... | no need to show new record when creating a new record | unclecheese_silverstripe-gridfield-betterbuttons | train | php |
78596b2089479982b21be499058bf8bd5de1cb16 | diff --git a/nodeconductor/template/tasks.py b/nodeconductor/template/tasks.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/template/tasks.py
+++ b/nodeconductor/template/tasks.py
@@ -59,7 +59,7 @@ def template_group_execution_failed(self, task_uuid, template_group_result_uuid)
task_result = self.app.AsyncResul... | Fixed wording
- NC-<I> | opennode_waldur-core | train | py |
8933503f8397d5eb1edcbe495858eaed831d57bc | diff --git a/Eloquent/Concerns/HasAttributes.php b/Eloquent/Concerns/HasAttributes.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Concerns/HasAttributes.php
+++ b/Eloquent/Concerns/HasAttributes.php
@@ -543,9 +543,7 @@ trait HasAttributes
// which simply lets the developers tweak the attribute as it is set on
... | Extract setting mutated attribute into method | illuminate_database | train | php |
b28ec3e9b03f1595eaf4bb82ef1f01c3c4d1c2b6 | diff --git a/tasklib/task.py b/tasklib/task.py
index <HASH>..<HASH> 100644
--- a/tasklib/task.py
+++ b/tasklib/task.py
@@ -52,6 +52,19 @@ class Task(object):
return None
return datetime.datetime.strptime(date_str, DATE_FORMAT)
+ def serialize_annotations(self, annotations):
+ ann_list ... | Add serialize/deserialize methods for annotations | robgolding_tasklib | train | py |
2e492029fa22f0f2611fd28bfa692a10b0642fa8 | diff --git a/java/server/src/org/openqa/selenium/remote/server/SeleniumServer.java b/java/server/src/org/openqa/selenium/remote/server/SeleniumServer.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/selenium/remote/server/SeleniumServer.java
+++ b/java/server/src/org/openqa/selenium/remote/server/Selen... | Fix up a spacing issue. No logical changes | SeleniumHQ_selenium | train | java |
b8d67fbcaf654cfe7a10c62d604d95d87e3bf3c2 | diff --git a/hiyapyco/__init__.py b/hiyapyco/__init__.py
index <HASH>..<HASH> 100644
--- a/hiyapyco/__init__.py
+++ b/hiyapyco/__init__.py
@@ -320,6 +320,7 @@ class HiYaPyCo:
elif isinstance(b, listTypes):
logger.debug('simplemerge: listTypes a "%s" w/ b "%s"' % (a, b,))
if isinstanc... | make pylint silent on unused-variable | zerwes_hiyapyco | train | py |
9c16fe03c15c0fee5632ca12aa7cc9fed8d8f3a4 | diff --git a/publish_docs.py b/publish_docs.py
index <HASH>..<HASH> 100644
--- a/publish_docs.py
+++ b/publish_docs.py
@@ -41,6 +41,6 @@ for line in lines:
force=True,
nojekyll=True,
)
- break
+ break
else:
print_("No push to GitHub-Pages.") | Fix `publish_docs.py`.
So far, it published only when the current branch was the first branch listed in `relevant_branches.txt`. | hydpy-dev_hydpy | train | py |
3208e8c458a53b817a2f40562f2528670bb1a0d7 | diff --git a/modules/core/src/main/java/org/projectodd/wunderboss/ec/ConcreteDaemonContext.java b/modules/core/src/main/java/org/projectodd/wunderboss/ec/ConcreteDaemonContext.java
index <HASH>..<HASH> 100644
--- a/modules/core/src/main/java/org/projectodd/wunderboss/ec/ConcreteDaemonContext.java
+++ b/modules/core/src... | Notify stop callback whenever stop is called
even if the daemon is no longer running. | projectodd_wunderboss-release | train | java |
67b329e3e370f481da545a4c95577f60c9be08b6 | diff --git a/providers/dns/ovh/ovh.go b/providers/dns/ovh/ovh.go
index <HASH>..<HASH> 100644
--- a/providers/dns/ovh/ovh.go
+++ b/providers/dns/ovh/ovh.go
@@ -173,6 +173,13 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
return fmt.Errorf("ovh: error when call OVH api to delete challenge reco... | OVH: Refresh zone after deleting challenge record (#<I>)
After removing the challenge record from OVH, the zone itself
does not get refreshed and leaving the obsolete record in place.
Calling '/domain/zone/ZONE/refresh' after deleting the record will
apply the changes to the zone. | go-acme_lego | train | go |
06fbcefa3a080c283821e6d6ff392b1d189270ee | diff --git a/cloudant-client/src/main/java/com/cloudant/client/org/lightcouch/CouchDbClient.java b/cloudant-client/src/main/java/com/cloudant/client/org/lightcouch/CouchDbClient.java
index <HASH>..<HASH> 100644
--- a/cloudant-client/src/main/java/com/cloudant/client/org/lightcouch/CouchDbClient.java
+++ b/cloudant-clie... | Updated comments on <I> in CouchDbClient | cloudant_java-cloudant | train | java |
5e9c6c527902fd8361391f111a88a8f4b4ce71df | diff --git a/aospy/proj.py b/aospy/proj.py
index <HASH>..<HASH> 100644
--- a/aospy/proj.py
+++ b/aospy/proj.py
@@ -16,7 +16,6 @@ class Proj(object):
self.direc_out = direc_out
self.nc_dir_struc = nc_dir_struc
- self.vars = dict_name_keys(vars)
if models:
self.models = di... | Delete unnecessary vars attr of Proj | spencerahill_aospy | train | py |
0effbc5f563fd63844181b45b759c5a14f4abb18 | diff --git a/lib/cfa/augeas_parser.rb b/lib/cfa/augeas_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/cfa/augeas_parser.rb
+++ b/lib/cfa/augeas_parser.rb
@@ -217,7 +217,7 @@ module CFA
# @param matcher [Matcher]
# @return [Array<AugeasElement>] matching elements
def select(matcher)
- @data.select(&... | fix AugeasTree#select to skip already deleted items | config-files-api_config_files_api | train | rb,rb |
fd5bda76e4d72c718a89819e481f5116385e1ab6 | diff --git a/numprops.py b/numprops.py
index <HASH>..<HASH> 100644
--- a/numprops.py
+++ b/numprops.py
@@ -29,7 +29,7 @@ from traitlets import TraitType, TraitError
import numpy as np
-__version__ = '0.3.dev'
+__version__ = '0.3.dev0'
ASTROPY = 'astropy'
PINT = 'pint' | Minor change in the versioning (changed after a warning issued by setup.py). | astrofrog_numtraits | train | py |
bfa606f75084a0c3aa25a2578c5c3d8dc8cbc256 | diff --git a/common/src/rb/lib/selenium/webdriver/zip_helper.rb b/common/src/rb/lib/selenium/webdriver/zip_helper.rb
index <HASH>..<HASH> 100644
--- a/common/src/rb/lib/selenium/webdriver/zip_helper.rb
+++ b/common/src/rb/lib/selenium/webdriver/zip_helper.rb
@@ -13,9 +13,10 @@ module Selenium
Zip::ZipFile.op... | JariBakken: Only create directory if it doesn't exist while unzipping
r<I> | SeleniumHQ_selenium | train | rb |
a4901a39cf8181f52b31e6eb28acba30c3c41aa9 | diff --git a/locator/locator_test.go b/locator/locator_test.go
index <HASH>..<HASH> 100644
--- a/locator/locator_test.go
+++ b/locator/locator_test.go
@@ -35,8 +35,11 @@ var _ = Describe("Locator", func() {
})
It("should have the correct import path", func() {
- Expect(model.ImportPath).To(HavePrefix("gith... | Add better assertions to locator tests
This can be a much stronger assertion if we use a regex.
Optionally we could also pass in the expected directory
if we were not testing exported functions, but had a type
that we could configure. | maxbrunsfeld_counterfeiter | train | go |
1d3439d80833296eaca2e1c06b510d3f5bb5b301 | diff --git a/jbehave-core/src/main/java/org/jbehave/core/embedder/PerformableTree.java b/jbehave-core/src/main/java/org/jbehave/core/embedder/PerformableTree.java
index <HASH>..<HASH> 100644
--- a/jbehave-core/src/main/java/org/jbehave/core/embedder/PerformableTree.java
+++ b/jbehave-core/src/main/java/org/jbehave/core... | JBEHAVE-<I> Pass parent story meta to given stories | jbehave_jbehave-core | train | java |
0d9c7dcfe38023215caaa897b8762109aa7a5e9a | diff --git a/src/Reform/Validation/Rule/After.php b/src/Reform/Validation/Rule/After.php
index <HASH>..<HASH> 100644
--- a/src/Reform/Validation/Rule/After.php
+++ b/src/Reform/Validation/Rule/After.php
@@ -12,6 +12,7 @@ use Reform\Validation\Result;
class After extends AbstractRule
{
protected $datetime;
+ p... | Adding descriptive error to After rule. | glynnforrest_reform | train | php |
418014027d5595d21bb8f467370954002a52d3ad | diff --git a/spec/puppet-lint/check_whitespace_spec.rb b/spec/puppet-lint/check_whitespace_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/puppet-lint/check_whitespace_spec.rb
+++ b/spec/puppet-lint/check_whitespace_spec.rb
@@ -78,4 +78,36 @@ describe PuppetLint::Plugins::CheckWhitespace do
its(:warnings) { should ... | Add test case for issue #<I> | rodjek_puppet-lint | train | rb |
b58de6aeee37afa8cc182c0b3303ad22b3d80f96 | diff --git a/examples/image2video.js b/examples/image2video.js
index <HASH>..<HASH> 100644
--- a/examples/image2video.js
+++ b/examples/image2video.js
@@ -1,4 +1,4 @@
-var ffmpeg = require('../index');
+var ffmpeg = require('fluent-ffmpeg');
// make sure you set the correct path to your video file
var proc = new ff... | Update image2video.js
Better to get the library by its name rather then the relative path | fluent-ffmpeg_node-fluent-ffmpeg | train | js |
5b2ff8a1475258472753755792f54298e785e66f | diff --git a/sshtunnel.py b/sshtunnel.py
index <HASH>..<HASH> 100644
--- a/sshtunnel.py
+++ b/sshtunnel.py
@@ -1183,12 +1183,17 @@ class SSHTunnelForwarder(object):
_socket.settimeout(SSH_TIMEOUT)
_socket.connect((self.ssh_host, self.ssh_port))
transport = paramiko.Transport(_socket)
... | sshtunnel: log transport socket info | pahaz_sshtunnel | train | py |
302d0dfd058ff255a2608aa181722c9f6423ea84 | diff --git a/src/main/java/org/graylog2/inputs/syslog/SyslogUDPInput.java b/src/main/java/org/graylog2/inputs/syslog/SyslogUDPInput.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/graylog2/inputs/syslog/SyslogUDPInput.java
+++ b/src/main/java/org/graylog2/inputs/syslog/SyslogUDPInput.java
@@ -63,6 +63,7 @@ pub... | also set ReceiveBufferSize for syslog udp | Graylog2_graylog2-server | train | java |
5039456c38766383d26db962d884edd940dc3134 | diff --git a/lib/em-hiredis/lock.rb b/lib/em-hiredis/lock.rb
index <HASH>..<HASH> 100644
--- a/lib/em-hiredis/lock.rb
+++ b/lib/em-hiredis/lock.rb
@@ -29,15 +29,23 @@ module EM::Hiredis
end
# Release the lock
+ #
+ # Returns a deferrable
def unlock
EM.cancel_timer(@expire_timer) if @expire... | Lock: New returns a deferrable
Removed logging, find out what happened via df | mloughran_em-hiredis | train | rb |
d26423362e1ca17432dc874cab6b210e3454c31c | diff --git a/Handler/ProcessHandler.php b/Handler/ProcessHandler.php
index <HASH>..<HASH> 100644
--- a/Handler/ProcessHandler.php
+++ b/Handler/ProcessHandler.php
@@ -140,6 +140,19 @@ class ProcessHandler implements ProcessHandlerInterface
}
/**
+ * Returns the current model state.
+ *
+ * @para... | can get current model state from process handler | lexik_LexikWorkflowBundle | train | php,php |
f2684271fe2bec1c55d20100d8ab50611bb4aacf | diff --git a/src/feat/agencies/replay.py b/src/feat/agencies/replay.py
index <HASH>..<HASH> 100644
--- a/src/feat/agencies/replay.py
+++ b/src/feat/agencies/replay.py
@@ -380,6 +380,9 @@ class Replay(log.FluLogKeeper, log.Logger):
if self.medium is not None:
raise ReplayError(
'Re... | Set log name and category in replay mode. This fixes replayability issues. | f3at_feat | train | py |
b190afa49a6b0939d692adcaee2396c619e632ff | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,13 @@
from distutils.core import setup
import os
+import io
import inflect
here = os.path.dirname(__file__)
readme_path = os.path.join(here, 'README.rst')
-readme = open(readme_path, 'rb').read().decode('ut... | Use io module for simplicity and closer alignment to recommended usage. | jazzband_inflect | train | py |
d174809b5437cc1c32b726a49355170305683497 | diff --git a/modules/ve/ce/ve.ce.Surface.js b/modules/ve/ce/ve.ce.Surface.js
index <HASH>..<HASH> 100644
--- a/modules/ve/ce/ve.ce.Surface.js
+++ b/modules/ve/ce/ve.ce.Surface.js
@@ -760,7 +760,7 @@ ve.ce.Surface.prototype.handleDelete = function( backspace, isPartial ) {
cursorAt = selection.start;
}
this.docum... | replacing showCursorAt calls with correct showCursor method | wikimedia_parsoid | train | js |
228331a6a4658f3c34206c421ddbfa65ba000ce9 | diff --git a/lib/perpetuity/mongodb.rb b/lib/perpetuity/mongodb.rb
index <HASH>..<HASH> 100644
--- a/lib/perpetuity/mongodb.rb
+++ b/lib/perpetuity/mongodb.rb
@@ -60,8 +60,6 @@ module Perpetuity
end
def retrieve klass, criteria, options = {}
- objects = []
-
# MongoDB uses '_id' as its ID field.... | Refactor MongoDB#retrieve | jgaskins_perpetuity | train | rb |
b81dc37620431a181e54e6214eb0fcccff184836 | diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
+++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
@@ -31,12 +31,12 @@ use Webmozart\Assert\Assert;
class... | Change application's version to <I> | Sylius_Sylius | train | php |
d944c3dacc673e8b125c2b039d65c7a84e14189f | diff --git a/src/Discord/Parts/User/Member.php b/src/Discord/Parts/User/Member.php
index <HASH>..<HASH> 100644
--- a/src/Discord/Parts/User/Member.php
+++ b/src/Discord/Parts/User/Member.php
@@ -295,7 +295,7 @@ class Member extends Part
public function __toString()
{
if ($this->nick) {
- r... | Fixing nickname mention, closes #<I> | teamreflex_DiscordPHP | train | php |
27beb103f10ca5ebe9021ab826607245c6b160d1 | diff --git a/app/models/lit/localization.rb b/app/models/lit/localization.rb
index <HASH>..<HASH> 100644
--- a/app/models/lit/localization.rb
+++ b/app/models/lit/localization.rb
@@ -14,7 +14,7 @@ module Lit
## ASSOCIATIONS
belongs_to :locale
- belongs_to :localization_key, touch: true
+ belongs_to :l... | Moves touch out of belongs to relation | prograils_lit | train | rb |
41a2b5ed73aa5e39a6cd207a61c1aaaa69b8171e | diff --git a/discord/gateway.py b/discord/gateway.py
index <HASH>..<HASH> 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -549,7 +549,7 @@ class DiscordVoiceWebSocket(websockets.client.WebSocketClientProtocol):
data = msg.get('d')
if op == self.READY:
- interval = (data['heart... | Actually read from the voice websocket & fix heartbeat.
This change makes it so that the buffer doesn't fill and the voice server drops the socket.
Also, use correct interval for voice websocket heartbeat. | Rapptz_discord.py | train | py,py |
369ed6782dad8de22efbb6fd55cb860546a12f22 | diff --git a/picotui/widgets.py b/picotui/widgets.py
index <HASH>..<HASH> 100644
--- a/picotui/widgets.py
+++ b/picotui/widgets.py
@@ -41,6 +41,13 @@ class Dialog(Widget):
self.h = max(self.h, h + self.border_h - 1) + extra_h
def redraw(self):
+ # Init some state on first redraw
+ if self.... | widgets: Dialog: Init some internal state on 1st call to redraw().
Instead of in overriden loop(). Generally, avoid overriding loop()
(there's no guarantee it will be called, input handling is done with
handle_input()). | pfalcon_picotui | train | py |
89d5ca3462e55f3cbf15b169f7587b2d52691fc8 | diff --git a/api.js b/api.js
index <HASH>..<HASH> 100644
--- a/api.js
+++ b/api.js
@@ -202,7 +202,7 @@ app.post('/api/v1/validate', upload.single('filename'), function(req,res){
if (!req.body.source && !req.file) payload.status = 200; // Dredd
}
var obj = getObj(body,payload);
- var options = { re... | Don't try to resolve POST requests | Mermade_openapi-webconverter | train | js |
9af89ff534f86f7243b28bcbe4d6a36fab6fddd7 | diff --git a/javascript/firefox-driver/js/syntheticMouse.js b/javascript/firefox-driver/js/syntheticMouse.js
index <HASH>..<HASH> 100644
--- a/javascript/firefox-driver/js/syntheticMouse.js
+++ b/javascript/firefox-driver/js/syntheticMouse.js
@@ -116,7 +116,7 @@ SyntheticMouse.prototype.isElementClickable = function(el... | multiple selects when checking for clickability should be treated similarly to regular selects | SeleniumHQ_selenium | train | js |
cb3be113406df0fc9fe20f2f12f7a27368277aee | diff --git a/src/RouterCommand.php b/src/RouterCommand.php
index <HASH>..<HASH> 100644
--- a/src/RouterCommand.php
+++ b/src/RouterCommand.php
@@ -363,7 +363,7 @@ class RouterCommand
if (is_array($response) || strpos($this->request->headers->get('Accept'), 'application/json') !== false) {
$this->r... | Fixed issue related with returning Response instance to json. | izniburak_php-router | train | php |
dae7875389ac64f861383fdfecac989ae3b042b2 | diff --git a/tinytag/tinytag.py b/tinytag/tinytag.py
index <HASH>..<HASH> 100644
--- a/tinytag/tinytag.py
+++ b/tinytag/tinytag.py
@@ -450,6 +450,7 @@ class ID3(TinyTag):
'WXXX': 'extra.url',
'TXXX': 'extra.text',
'TKEY': 'extra.initial_key',
+ 'USLT': 'extra.lyrics',
}
IMAGE... | added support for USLT lyrics data as part of the `extra` field #<I> | devsnd_tinytag | train | py |
38c5e4cea65995e38ca24370d1d523cedd2c7247 | diff --git a/tests/unit/py2/nupic/encoders/utility_test.py b/tests/unit/py2/nupic/encoders/utility_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/py2/nupic/encoders/utility_test.py
+++ b/tests/unit/py2/nupic/encoders/utility_test.py
@@ -38,7 +38,7 @@ class UtilityEncoderTest(unittest.TestCase):
self.scoreEnc... | rm forced (not yet) | numenta_nupic | train | py |
081d18750d5d0fb5c20f916eb3149a646f0cabbf | diff --git a/javamelody-spring-boot-starter/src/main/java/net/bull/javamelody/JavaMelodyConfigurationProperties.java b/javamelody-spring-boot-starter/src/main/java/net/bull/javamelody/JavaMelodyConfigurationProperties.java
index <HASH>..<HASH> 100644
--- a/javamelody-spring-boot-starter/src/main/java/net/bull/javamelod... | follow-up to #<I> | javamelody_javamelody | train | java |
c2e88c3e9f778b36fce3af48f8fe6a1530087bf8 | diff --git a/ws-connect.js b/ws-connect.js
index <HASH>..<HASH> 100644
--- a/ws-connect.js
+++ b/ws-connect.js
@@ -14,7 +14,7 @@ function connect(signalhost) {
return new WebSocket(signalhost);
}
-module.exports = function(signalhost, callback) {
+module.exports = function(signalhost, opts, callback) {
var ws ... | Update vanilla websocket connector to accept an opts argument | rtc-io_rtc-signaller | train | js |
5dffbf0a87432d71d8a880ebaf506f05c5487242 | diff --git a/AdvancedHTTPServer.py b/AdvancedHTTPServer.py
index <HASH>..<HASH> 100644
--- a/AdvancedHTTPServer.py
+++ b/AdvancedHTTPServer.py
@@ -65,7 +65,7 @@ ExecStop=/bin/kill -INT $MAINPID
WantedBy=multi-user.target
"""
-__version__ = '0.2.73'
+__version__ = '0.2.74'
__all__ = [
'AdvancedHTTPServer',
'Adv... | Check and log the rpc clients serializer | zeroSteiner_AdvancedHTTPServer | train | py |
2cd55dffc2e05892f08aa45fb585d3a0c2904991 | diff --git a/src/naarad/utils.py b/src/naarad/utils.py
index <HASH>..<HASH> 100644
--- a/src/naarad/utils.py
+++ b/src/naarad/utils.py
@@ -589,7 +589,6 @@ def check_slas(obj):
"""
if not hasattr(obj, 'sla_map'):
return 0
-
ret = 0
for sub_metric in obj.sla_map.keys():
for stat_name in obj.sla_map[... | add CDF support to Naarad: add CDF diff graph support and print failed SLA summaries | linkedin_naarad | train | py |
86e7c18c07d7e37613e2b5b56a52a32d0540321f | diff --git a/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php b/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
index <HASH>..<HASH> 100644
--- a/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
+++ b/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
@@ -124,6 +124,20 @@ class HybridAuth ext... | Check for allowed user state if enabled. | SocalNick_ScnSocialAuth | train | php |
6341de025e18b118bb467e3ed8f06130c09c13d5 | diff --git a/src/Symfony/Bundle/TwigBundle/TwigEngine.php b/src/Symfony/Bundle/TwigBundle/TwigEngine.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/TwigBundle/TwigEngine.php
+++ b/src/Symfony/Bundle/TwigBundle/TwigEngine.php
@@ -17,7 +17,7 @@ use Symfony\Component\Templating\TemplateNameParserInterface;
use ... | Be more specific in phpdoc (Fixes #<I>) | symfony_symfony | train | php |
83f187fa7e255898e94a7f46c3573e2d97a62832 | diff --git a/tests/test_cloudformation/test_stack_parsing.py b/tests/test_cloudformation/test_stack_parsing.py
index <HASH>..<HASH> 100644
--- a/tests/test_cloudformation/test_stack_parsing.py
+++ b/tests/test_cloudformation/test_stack_parsing.py
@@ -66,8 +66,8 @@ get_attribute_output = {
}
}
-outputs_template ... | fix python 3 issue merging dicts | spulec_moto | train | py |
d7394e62ab8b374bcdd1dbeaedec0f6c35624571 | diff --git a/src/Charcoal/Admin/Script/Tools/CopyAssetsScript.php b/src/Charcoal/Admin/Script/Tools/CopyAssetsScript.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Admin/Script/Tools/CopyAssetsScript.php
+++ b/src/Charcoal/Admin/Script/Tools/CopyAssetsScript.php
@@ -106,10 +106,10 @@ class CopyAssetsScript extends ... | Fixed phpcs errors in CopyAssetsScript | locomotivemtl_charcoal-admin | train | php |
6ebd4e9072e32aa86905da5b96056664d7d34f10 | diff --git a/amazon/api.py b/amazon/api.py
index <HASH>..<HASH> 100644
--- a/amazon/api.py
+++ b/amazon/api.py
@@ -1253,6 +1253,14 @@ class AmazonProduct(LXMLWrapper):
"""
return self._safe_get_element_text('ItemAttributes.ProductTypeName')
+ @property
+ def formatted_price(self):
+ """... | Add support for product formatted price property parsing in the AmazonProduct class | yoavaviram_python-amazon-simple-product-api | train | py |
4adad4bf1d7a07ab7b07c3c19e3019ce3628a067 | diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/Kernel.php
+++ b/src/Symfony/Component/HttpKernel/Kernel.php
@@ -59,12 +59,12 @@ abstract class Kernel implements KernelInterface, TerminableInterface... | bumped Symfony version to <I> | symfony_symfony | train | php |
6c1f304d676a796be1fe9db0ec02d503a41913fd | diff --git a/webgl.go b/webgl.go
index <HASH>..<HASH> 100644
--- a/webgl.go
+++ b/webgl.go
@@ -6,6 +6,7 @@ package webgl
import (
"errors"
+
"github.com/gopherjs/gopherjs/js"
)
@@ -340,7 +341,7 @@ type Context struct {
// If an error is returned it means you won't have access to WebGL
// functionality.
fun... | Update to new gopherjs/js API for null and undefined. | gopherjs_webgl | train | go |
df1b79ff937e4a5dfe639f8d044cfd0188c9c52d | diff --git a/lib/cronofy/errors.rb b/lib/cronofy/errors.rb
index <HASH>..<HASH> 100644
--- a/lib/cronofy/errors.rb
+++ b/lib/cronofy/errors.rb
@@ -42,6 +42,10 @@ module Cronofy
end
class InvalidRequestError < APIError
+ def message
+ "#{super} - #{errors.inspect}"
+ end
+
def errors
@erro... | Changes invalid request message to include errors
Makes the source of the error more visible to developers so that they
may be able to resolve the problem more easily. | cronofy_cronofy-ruby | train | rb,rb |
5067a03f61c33808a63446887144cca266dd8756 | diff --git a/spyder/utils/syntaxhighlighters.py b/spyder/utils/syntaxhighlighters.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/syntaxhighlighters.py
+++ b/spyder/utils/syntaxhighlighters.py
@@ -515,9 +515,9 @@ class CythonSH(PythonSH):
"""Cython Syntax Highlighter"""
ADDITIONAL_KEYWORDS = [
"c... | Remove tabs from utils/syntaxhighlighters | spyder-ide_spyder | train | py |
731658a6b778e7dd010de601f7c80dc1a22044e8 | diff --git a/tests/React/FunctionalTests/Stomp/AckTest.php b/tests/React/FunctionalTests/Stomp/AckTest.php
index <HASH>..<HASH> 100644
--- a/tests/React/FunctionalTests/Stomp/AckTest.php
+++ b/tests/React/FunctionalTests/Stomp/AckTest.php
@@ -7,7 +7,9 @@ class AckTest extends FunctionalTestCase
/** @test */
p... | Disable AckTest functional test only for apollo | friends-of-reactphp_stomp | train | php |
3e7556be6435611fb50d16c031316197236f8b9a | diff --git a/bcbio/pipeline/qcsummary.py b/bcbio/pipeline/qcsummary.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/qcsummary.py
+++ b/bcbio/pipeline/qcsummary.py
@@ -324,9 +324,9 @@ def _run_coverage_qc(bam_file, data, out_dir):
if dd.get_coverage_interval(data) != "genome":
target_na... | QC: another bug fix for genome coverage | bcbio_bcbio-nextgen | train | py |
8d066ce41cb2c7d3123314586d86f83738cdf6a5 | diff --git a/sentry-core/src/main/java/io/sentry/core/transport/AsyncConnection.java b/sentry-core/src/main/java/io/sentry/core/transport/AsyncConnection.java
index <HASH>..<HASH> 100644
--- a/sentry-core/src/main/java/io/sentry/core/transport/AsyncConnection.java
+++ b/sentry-core/src/main/java/io/sentry/core/transpor... | ref: Rename currentEventCache to currentEnvelopeCache (getsentry/sentry-android#<I>)
In AsyncConnection.send the variable for IEnvelopeCache was named currentEventCache.
It was renamed to currentEnvelopeCache. | getsentry_sentry-java | train | java |
1a9bfe22f534e676d604e13b132c440023f34685 | diff --git a/bin/ris.js b/bin/ris.js
index <HASH>..<HASH> 100755
--- a/bin/ris.js
+++ b/bin/ris.js
@@ -91,7 +91,7 @@ const getYarnPrefix = () => {
return path.join(process.env.LOCALAPPDATA, 'Yarn', 'config', 'global')
}
- return path.join(os.homedir(), 'config', 'yarn', 'global')
+ return path.join(os.homed... | Fix path to yarn globals on non-Windows systems | rispa-io_rispa-cli | train | js |
5453b4298d3d9abf580bb2bb41a9f54da435076d | diff --git a/lib/twitter-bootstrap-rails-cdn.rb b/lib/twitter-bootstrap-rails-cdn.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter-bootstrap-rails-cdn.rb
+++ b/lib/twitter-bootstrap-rails-cdn.rb
@@ -1,4 +1,4 @@
-require 'twitter-bootstrap-rails-cdn/engine' if ::Rails.version >= 3.1
+require 'twitter-bootstrap-rails-cdn... | Can't compare string with float - whoops! | nbarthelemy_twitter-bootstrap-rails-cdn | train | rb |
80db2333e52ffff09cd6df68f5942771165e2125 | diff --git a/lib/docker_cloud.rb b/lib/docker_cloud.rb
index <HASH>..<HASH> 100644
--- a/lib/docker_cloud.rb
+++ b/lib/docker_cloud.rb
@@ -31,6 +31,9 @@ require 'docker_cloud/api/container_api'
require 'docker_cloud/api/stack_api'
require 'docker_cloud/api/registry_api'
+# ruby libs
+require 'base64'
+
module Dock... | Add a spec around the headers and the base<I> require | jntullo_ruby-docker-cloud | train | rb,rb |
f2f462280774ec8d327fc1a449d35b7508a6aa76 | diff --git a/packages/tyranid/src/core/path.js b/packages/tyranid/src/core/path.js
index <HASH>..<HASH> 100644
--- a/packages/tyranid/src/core/path.js
+++ b/packages/tyranid/src/core/path.js
@@ -675,16 +675,31 @@ Object.defineProperties(Path.prototype, {
let pi = 0,
denormal;
- for (; pi < plen; ... | fix for processing denormals in paths when a denormal has an embedded compound name | tyranid-org_tyranid | train | js |
43f06de45c62c31e5cd45d8f4394bbd335f9db8f | diff --git a/devices/lellki.js b/devices/lellki.js
index <HASH>..<HASH> 100644
--- a/devices/lellki.js
+++ b/devices/lellki.js
@@ -99,7 +99,7 @@ module.exports = [
device.save();
},
options: [exposes.options.measurement_poll_interval()],
- exposes: [e.switch().withEndpoint('l1'), e... | Fix LELLKI XF-EU-S<I>-1-M not controllable (#<I>)
fix swtich dont work Touch switch 1 gang (with power monitoring) XF-EU-S<I>-1-M | Koenkk_zigbee-shepherd-converters | train | js |
10369ff2d4fd1423f2a478c1d51171e90466c59b | diff --git a/angr/analyses/cfg_fast.py b/angr/analyses/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg_fast.py
+++ b/angr/analyses/cfg_fast.py
@@ -294,10 +294,6 @@ class CFGFast(Analysis):
# All IRSBs with an indirect exit target
self._indirect_jumps = set()
- self._unassured_... | CFGFast: remove two unused members. | angr_angr | train | py |
836eb4d2245fc54c0f49d530fe2888e04c66b184 | diff --git a/core-bundle/src/Resources/contao/dca/tl_article.php b/core-bundle/src/Resources/contao/dca/tl_article.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/dca/tl_article.php
+++ b/core-bundle/src/Resources/contao/dca/tl_article.php
@@ -687,7 +687,7 @@ class tl_article extends Backend
... | [Core] Correctly assign articles to columns (see #<I>) | contao_contao | train | php |
e5160ba1ae29a6106f5f6ef020a99d64d0c4723c | diff --git a/src/Illuminate/Auth/Guard.php b/src/Illuminate/Auth/Guard.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Auth/Guard.php
+++ b/src/Illuminate/Auth/Guard.php
@@ -280,10 +280,11 @@ class Guard {
$this->lastAttempted = $user = $this->provider->retrieveByCredentials($credentials);
- // If an imple... | check for null instead of instanceof UserInterface | laravel_framework | train | php |
034fbe915ab76c59237d3a12e711020e06537f73 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ Coins
from setuptools import setup
setup(
- name='Coins',
+ name='coins',
version='0.1.3',
url='https://github.com/halfmoonlabs/coins',
license='MIT', | change the name of the package so it is all lowercase | blockstack_pybitcoin | train | py |
38a96c359faa18000837cbffe319ba219873b3c2 | diff --git a/xkcd.py b/xkcd.py
index <HASH>..<HASH> 100644
--- a/xkcd.py
+++ b/xkcd.py
@@ -17,6 +17,8 @@ import random
import urllib2 as urllib
import webbrowser
+explanationUrl = "http://explainxkcd.com/"
+
class Comic:
def __init__(self, number):
@@ -60,6 +62,11 @@ class Comic:
def getImageName(self):
... | Added basic getExplanation function for explain xkcd. | TC01_python-xkcd | train | py |
13f329aeaf713fb87a62c1d0c390959cea4d58e5 | diff --git a/packages/create-resolve-app/bin/index.js b/packages/create-resolve-app/bin/index.js
index <HASH>..<HASH> 100755
--- a/packages/create-resolve-app/bin/index.js
+++ b/packages/create-resolve-app/bin/index.js
@@ -11,7 +11,7 @@ const EOL = require('os').EOL
const optionDefinitions = [
{ name: 'scripts', ... | fix(create-resolve-app): rename sample -> todo (#<I>) | reimagined_resolve | train | js |
b1681c3c81476cc03b1f465b7c3d50bacf64322e | diff --git a/spec/unit/interface_spec.rb b/spec/unit/interface_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/interface_spec.rb
+++ b/spec/unit/interface_spec.rb
@@ -180,7 +180,7 @@ describe Puppet::Interface do
display_global_options "modulepath"
end
end
- face.display_global_optio... | (PUP-<I>) Ruby <I> warning: Object#=~
`warning: deprecated Object#=~ is called on Puppet::Type::File; it
always returns nil` | puppetlabs_puppet | train | rb |
91fe7024c1a264ec07ff9686a6ebb08914422d40 | diff --git a/Client/Tests/Api/StatementsApiClientTest.php b/Client/Tests/Api/StatementsApiClientTest.php
index <HASH>..<HASH> 100644
--- a/Client/Tests/Api/StatementsApiClientTest.php
+++ b/Client/Tests/Api/StatementsApiClientTest.php
@@ -71,6 +71,24 @@ class StatementsApiClientTest extends ApiClientTest
$this... | add a test case to ensure that a statement's id is not overwritten when it is stored in a learning record store (for #1) | php-xapi_serializer | train | php |
df30fad2a681801700a2fcb18d18943b0d9f9960 | diff --git a/libre/apps/data_drivers/renderers.py b/libre/apps/data_drivers/renderers.py
index <HASH>..<HASH> 100644
--- a/libre/apps/data_drivers/renderers.py
+++ b/libre/apps/data_drivers/renderers.py
@@ -126,7 +126,7 @@ class LeafletRenderer(renderers.TemplateHTMLRenderer):
return template.render(context)
... | Don't parse again binary geometries | commonwealth-of-puerto-rico_libre | train | py |
dfd66dc21488ee0e1575e6cde92868dfd9917a72 | diff --git a/src/viz/shapes/area.js b/src/viz/shapes/area.js
index <HASH>..<HASH> 100644
--- a/src/viz/shapes/area.js
+++ b/src/viz/shapes/area.js
@@ -55,21 +55,21 @@ d3plus.shape.area = function(vars,selection,enter,exit) {
"angle": d3.range(-70,71,1),
"aspectRatio": ratio,
"tolerance"... | fixed stacked area for null paths | alexandersimoes_d3plus | train | js |
f14fb6ea0b49e19dfa1b9940980c768cbd7b05c8 | diff --git a/src/com/google/javascript/jscomp/colors/ObjectColor.java b/src/com/google/javascript/jscomp/colors/ObjectColor.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/colors/ObjectColor.java
+++ b/src/com/google/javascript/jscomp/colors/ObjectColor.java
@@ -18,6 +18,7 @@ package com.google.... | Serialize prototype and instance type instead of implicit prototype
Ambiguation needs to access a class's prototype to know the owner type of its member functions, and needs to know instance type and prototypes of constructors that are never explicitly new'd in the AST
PiperOrigin-RevId: <I> | google_closure-compiler | train | java |
ba20c34962d6322bcd439c0cb95bb7319f1c31df | diff --git a/dist/sandbox.js b/dist/sandbox.js
index <HASH>..<HASH> 100644
--- a/dist/sandbox.js
+++ b/dist/sandbox.js
@@ -36,7 +36,7 @@ map2.bind().log("map2 changed");
var list1 = new can.List([1,2,3]);
var list2 = list1.bind().toCanList(new can.List([1,2,3]));
// This one doesn't work quite as well as one would h... | Gotta fix this two-way bindig bug at some point | canjs_can-bacon | train | js,js |
3144620d2eb37b86a10f004c7b3efefd9f3f4688 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -83,7 +83,7 @@ JazzUpdateSitePlugin.prototype.apply = function(compiler) {
+ ` <plugin download-size="0" id="${projectId}" install-size="0" version="${version}" />\n`
+ `</feature>`;
- ... | run plugin on after-emit to make sure that all emit plugins have completed | innerjoin_jazz-update-site-webpack-plugin | train | js |
194a38b0a35d51ebc248412d14fb979d2a788405 | diff --git a/mod/wiki/files.php b/mod/wiki/files.php
index <HASH>..<HASH> 100644
--- a/mod/wiki/files.php
+++ b/mod/wiki/files.php
@@ -88,6 +88,13 @@ $PAGE->set_heading($course->fullname);
$PAGE->navbar->add(format_string(get_string('wikifiles', 'wiki')));
echo $OUTPUT->header();
echo $OUTPUT->heading(format_string(... | MDL-<I> mod_wiki: Ensure completion conditions displayed on all tabs | moodle_moodle | train | php |
8278f031367df98929387a7918a833702bbe3a18 | diff --git a/src/includes/admin/class-papi-admin.php b/src/includes/admin/class-papi-admin.php
index <HASH>..<HASH> 100644
--- a/src/includes/admin/class-papi-admin.php
+++ b/src/includes/admin/class-papi-admin.php
@@ -443,21 +443,6 @@ final class Papi_Admin {
}
/**
- * Setup globals.
- *
- * @since 1.0.0
- *... | Removed dublicated setup_globals from Papi_Admin | wp-papi_papi | train | php |
7b67e3ae1769e81e8d9dba209df565a7baf65fb5 | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -828,6 +828,13 @@ const devices = [
extend: hue.light_onoff_brightness_colortemp_colorxy,
},
{
+ zigbeeModel: ['LCG002'],
+ model: '929001953101',
+ vendor: 'Philips',
+ d... | Added support for LCG<I> Hue GU<I> White + Color (#<I>)
* Added support for LCG<I> Hue GU<I> White + Color
* Added support for LCG<I> Hue GU<I> White + Color | Koenkk_zigbee-shepherd-converters | train | js |
9c0beaa4c5ad3c0b81c4ea36c91ee3353642b8f8 | diff --git a/lib/oneview-sdk/resource/api200/volume.rb b/lib/oneview-sdk/resource/api200/volume.rb
index <HASH>..<HASH> 100644
--- a/lib/oneview-sdk/resource/api200/volume.rb
+++ b/lib/oneview-sdk/resource/api200/volume.rb
@@ -123,7 +123,7 @@ module OneviewSDK
# @return [true] if snapshot was created successfull... | Resolving issue with removing snapshot as etag doesnot match | HewlettPackard_oneview-sdk-ruby | train | rb |
22fbfd72911b6d3af9afa5e79b30f533f7a62fa5 | diff --git a/spec/high_chart_spec.rb b/spec/high_chart_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/high_chart_spec.rb
+++ b/spec/high_chart_spec.rb
@@ -22,11 +22,11 @@ describe "HighChart" do
it "should take an optional 'placeholder' argument" do
LazyHighCharts::HighChart.new(@placeholder).placeholder.s... | merging xiaods branch fro gem support | michelson_lazy_high_charts | train | rb |
7b190e6a2be0ae339049d1afafb4d99d7bf98c0a | diff --git a/value.go b/value.go
index <HASH>..<HASH> 100644
--- a/value.go
+++ b/value.go
@@ -36,6 +36,11 @@ func (v *Value) IsString() bool {
return v.getResolvedValue().Kind() == reflect.String
}
+// Checks whether the underlying value is a bool
+func (v *Value) IsBool() bool {
+ return v.getResolvedValue().Kin... | Value.IsBool() added | flosch_pongo2 | train | go |
91e002e31eb50329a5936dab3286b41571868653 | diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -120,13 +120,12 @@ module ActiveSupport
end
end
- def c... | dup the callback and set the chain | rails_rails | train | rb |
f258de49c1a6080c1f1209e28ce9d08c77749982 | diff --git a/fastimport/commands.py b/fastimport/commands.py
index <HASH>..<HASH> 100644
--- a/fastimport/commands.py
+++ b/fastimport/commands.py
@@ -382,6 +382,20 @@ class FileDeleteAllCommand(FileCommand):
def __repr__(self):
return "deleteall"
+class NoteModifyCommand(FileCommand):
+
+ def __init... | Add NoteModify command
No parsing support, but can at least be used to generate a note and attach it
to a commit. | jelmer_python-fastimport | train | py |
a26aa501df52aa99c95ab4dbd747158418593ba3 | diff --git a/karma-base.conf.js b/karma-base.conf.js
index <HASH>..<HASH> 100644
--- a/karma-base.conf.js
+++ b/karma-base.conf.js
@@ -74,7 +74,8 @@ module.exports = config => {
width: 768,
webPreferences: {
pageVisibility: true
- }
+ },
+ flags: ['--no-sandbox']
},
// ... | add '--no-sandbox' flag for electron since it is now required when running under root | JetBrains_ring-ui | train | js |
24f2e657df2b06b9c59a431df3877410b5f69f35 | diff --git a/src/main/java/io/github/lukehutch/fastclasspathscanner/utils/LogNode.java b/src/main/java/io/github/lukehutch/fastclasspathscanner/utils/LogNode.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/lukehutch/fastclasspathscanner/utils/LogNode.java
+++ b/src/main/java/io/github/lukehutch/fastclass... | Add seconds and milliseconds to log timestamp | classgraph_classgraph | train | java |
ab6e899c7e3151f693d7ccf2d559c8b2c933629d | diff --git a/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php b/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php
index <HASH>..<HASH> 100755
--- a/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php
+++ b/extensions/mentions/src/Listener/AddPostMentionedByRelationsh... | Fix fatal error when viewing a discussion with multiple pages of posts | flarum_core | train | php |
c4c35a25aac9bc2fcb2778a51f5dcdeea54dc579 | diff --git a/tests/utils/test_config_utils.py b/tests/utils/test_config_utils.py
index <HASH>..<HASH> 100644
--- a/tests/utils/test_config_utils.py
+++ b/tests/utils/test_config_utils.py
@@ -197,7 +197,7 @@ def test_update_config(monkeypatch):
'database': {'host': 'test-host', 'name': 'bigchaindb', 'port': 280... | Fix #<I> (#<I>) | bigchaindb_bigchaindb | train | py |
a3cd451931f4f1b4d6400d2e34d88042ae789a16 | diff --git a/gwpy/tests/test_plotter.py b/gwpy/tests/test_plotter.py
index <HASH>..<HASH> 100644
--- a/gwpy/tests/test_plotter.py
+++ b/gwpy/tests/test_plotter.py
@@ -249,6 +249,8 @@ class TimeSeriesPlotTestCase(TimeSeriesMixin, PlotTestCase):
for ax in fig.axes:
self.assertEqual(len(ax.lines), 1)... | tests: added regression test for bug #<I> | gwpy_gwpy | 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.