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 |
|---|---|---|---|---|---|
94727f321611f2ba69cd8bcf3918cc54d55ef1c7 | diff --git a/includes/general.php b/includes/general.php
index <HASH>..<HASH> 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -1052,14 +1052,13 @@ function pods_shortcode_run( $tags, $content = null ) {
return $pod->form( $tags['fields'], $tags['label'], $tags['thank_you'] );
} elseif ( ! empty( ... | Fix template params
Both are always available as `null` so no need to check with `empty` | pods-framework_pods | train | php |
8605dc5a1b3dd27ad6ce373a614b8d11a9950699 | diff --git a/simple_open_graph/templatetags/simple_open_graph.py b/simple_open_graph/templatetags/simple_open_graph.py
index <HASH>..<HASH> 100644
--- a/simple_open_graph/templatetags/simple_open_graph.py
+++ b/simple_open_graph/templatetags/simple_open_graph.py
@@ -1,4 +1,5 @@
from django import template
+from django... | fix absolute links for url, image, video, audio OpenGraph properties | saippuakauppias_django-simple-open-graph | train | py |
9e3b375bfa13ee98b7fd5984f421afcd3943d5c7 | diff --git a/src/Eris/Shrinker/Random.php b/src/Eris/Shrinker/Random.php
index <HASH>..<HASH> 100644
--- a/src/Eris/Shrinker/Random.php
+++ b/src/Eris/Shrinker/Random.php
@@ -28,6 +28,7 @@ class Random // implements Shrinker
if ($elementsAfterShrink === $elements) {
$attempts->increase();
... | If $elements do not change there is no need to re-run the Evaluation | giorgiosironi_eris | train | php |
d5796931f77c44e70ad2de6140663dafb3671450 | diff --git a/cnxepub/html_parsers.py b/cnxepub/html_parsers.py
index <HASH>..<HASH> 100644
--- a/cnxepub/html_parsers.py
+++ b/cnxepub/html_parsers.py
@@ -21,7 +21,7 @@ def _squash_to_text(elm):
for child in elm.getchildren():
value.append(etree.tostring(child).decode('utf-8'))
value.append(child... | Allow html within the nav parsed titles | openstax_cnx-epub | train | py |
d3b5f5e23ccb3abb5ae72cf67a96b7469dc76985 | diff --git a/stp_zmq/zstack.py b/stp_zmq/zstack.py
index <HASH>..<HASH> 100644
--- a/stp_zmq/zstack.py
+++ b/stp_zmq/zstack.py
@@ -768,17 +768,20 @@ class ZStack(NetworkInterface):
try:
if not serialized:
msg = self.prepare_to_send(msg)
+
+ logger.trace('{} transmitting... | send regardless of whether remote is connected since it can be a Batch with ping/pongs | hyperledger_indy-plenum | train | py |
8af4ba63b2097d0fdea1fe2daf8084a1272db46f | diff --git a/examples/ex_cifar10_tf.py b/examples/ex_cifar10_tf.py
index <HASH>..<HASH> 100644
--- a/examples/ex_cifar10_tf.py
+++ b/examples/ex_cifar10_tf.py
@@ -14,7 +14,7 @@ from tensorflow.python.platform import flags
from cleverhans.attacks import FastGradientMethod
from cleverhans.utils_keras import cnn_model... | Adapt train() api to be compatible with the latest utils_tf version | tensorflow_cleverhans | train | py |
e4c719b55f635a22967284478230ab9cd3482735 | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -1073,7 +1073,7 @@ class Minion(MinionBase):
# Flag meaning minion has finished initialization including first connect to the master.
# True means the Minion is fully functional and re... | Ensure that the shared list of jids is passed when creating the Minion. Fixes an issue when minions are pointed at multiple syndics. | saltstack_salt | train | py |
98954da5a89b0aa33d5c46b14d7c5769a182adfe | diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js
index <HASH>..<HASH> 100644
--- a/src/project/ProjectManager.js
+++ b/src/project/ProjectManager.js
@@ -1630,10 +1630,9 @@ define(function (require, exports, module) {
* Respond to a FileSystem change event.
*/
_fileSystemChange... | Fix frequent project tree flickering & scroll pos loss: effectively revert
to master's behavior where tree is only refreshed manually by user (it's
still incrementally updated due to changes within Brackets, but updating to
pick up external changes - which is always a full, flickery refresh - never
occurs automatically... | adobe_brackets | train | js |
5d391fb3c535e5e3fe6bf4c21feff15bed61df8e | diff --git a/lib/data_mapper/adapters/mysql_adapter.rb b/lib/data_mapper/adapters/mysql_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/adapters/mysql_adapter.rb
+++ b/lib/data_mapper/adapters/mysql_adapter.rb
@@ -69,16 +69,16 @@ module DataMapper
query('SHOW VARIABLES WHERE `variable_name` = ?'... | Updated MySQL adapter to escape table and column names properly | datamapper_dm-core | train | rb |
11bbee3e2a5a85e3e23dbc61baee1d8859472cd9 | diff --git a/gromacs/analysis/plugins/distances.py b/gromacs/analysis/plugins/distances.py
index <HASH>..<HASH> 100644
--- a/gromacs/analysis/plugins/distances.py
+++ b/gromacs/analysis/plugins/distances.py
@@ -212,7 +212,10 @@ class _Distances(Worker):
# hack: callbacks for customization
... | protect call back with try
git-svn-id: svn+ssh://gonzo.med.jhmi.edu/scratch/svn/woolf_repository/users/oliver/Library/GromacsWrapper@<I> df5ba8eb-4b0b-<I>-8c<I>-c<I>f<I>b<I>c | Becksteinlab_GromacsWrapper | train | py |
631af0dfde487c40b3ccd71a432d425983beeb5d | diff --git a/src/components/cards/index.js b/src/components/cards/index.js
index <HASH>..<HASH> 100644
--- a/src/components/cards/index.js
+++ b/src/components/cards/index.js
@@ -15,8 +15,7 @@ const CardMedia = {
default: 'auto'
},
src: {
- type: String,
- required: true
+ type: String
... | made v-card-media src prop not required | vuetifyjs_vuetify | train | js |
0298767f1ac867750707198e981b3a1b6f70eb39 | diff --git a/pymc/Matplot.py b/pymc/Matplot.py
index <HASH>..<HASH> 100755
--- a/pymc/Matplot.py
+++ b/pymc/Matplot.py
@@ -1167,9 +1167,9 @@ def summary_plot(pymc_obj, name='model', format='png', suffix='-summary', path=
k = size(value)
if k>1:
- pyplot([min(r, 2)... | Fixed marker size bug in summary_plot | pymc-devs_pymc | train | py |
f8e3de1b7915bc5661acb334ccd7a6357bfb27bf | diff --git a/src/clients/MentionsClient.js b/src/clients/MentionsClient.js
index <HASH>..<HASH> 100644
--- a/src/clients/MentionsClient.js
+++ b/src/clients/MentionsClient.js
@@ -12,14 +12,15 @@ export default class MentionsClient extends _FetchClient {
return Promise.resolve([]);
}
- let... | Pull canonical data from coam | Cimpress_react-cimpress-comment | train | js |
3c7af569650858acaf3487d2bae73dc85551a87a | diff --git a/commands/MailQueueController.php b/commands/MailQueueController.php
index <HASH>..<HASH> 100644
--- a/commands/MailQueueController.php
+++ b/commands/MailQueueController.php
@@ -6,7 +6,7 @@
* @author Rochdi B. <rochdi80tn@gmail.com>
*/
-namespace nterms\mailqueue;
+namespace nterms\mailqueue\commands... | fix namesapce and set default action to process | nterms_yii2-mailqueue | train | php |
d97f0372b19c0d58261c8f357ddc27cb3265b5a4 | diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index <HASH>..<HASH> 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -1161,7 +1161,7 @@ func setSmartCard(ctx *cli.Context, cfg *node.Config) {
// Sanity check that the smartcard path is valid
fi, err := os.Stat(path)
if err != nil {
- log.Error("F... | accounts/scwallet: don't error when pcsc socket is missing (#<I>)
* scwallet: don't error when pcsc socket is missing
* review feedback
* more review feedback | ethereum_go-ethereum | train | go |
ef098db34234c4f533be2a3f5063bf609e960337 | diff --git a/aws/resource_aws_s3_access_point_test.go b/aws/resource_aws_s3_access_point_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_s3_access_point_test.go
+++ b/aws/resource_aws_s3_access_point_test.go
@@ -67,7 +67,7 @@ func testSweepS3AccessPoints(region string) error {
})
if testSweepSkipSweepE... | tests/resource/aws_s3_access_point: Fix log.Printf linting issue | terraform-providers_terraform-provider-aws | train | go |
b12c3b9b6e3b93ecd4d6ac3098e448a183f44ff8 | diff --git a/src/search/FindInFiles.js b/src/search/FindInFiles.js
index <HASH>..<HASH> 100644
--- a/src/search/FindInFiles.js
+++ b/src/search/FindInFiles.js
@@ -163,7 +163,7 @@ define(function (require, exports, module) {
return matches;
}
- function _showSearchResults(searchResults) {
+ ... | Added Enhancement: Search Query in Search Results Label | adobe_brackets | train | js |
984a076d9ab1d47945415908aae0ac718c12feb0 | diff --git a/salt/modules/systemd.py b/salt/modules/systemd.py
index <HASH>..<HASH> 100644
--- a/salt/modules/systemd.py
+++ b/salt/modules/systemd.py
@@ -132,7 +132,7 @@ def _untracked_custom_unit_found(name):
'''
unit_path = os.path.join('/etc/systemd/system',
_canonical_unit_n... | systemd.py: stat before iterating over known units
A stat is cheap and most units don't reside in /etc/systemd so the
expensive operation of gathering all known units and iterating over them
can be avoided. | saltstack_salt | train | py |
3ae3b6155c4d67dab6be6e88fc3b3bd237fe6728 | diff --git a/aeron-samples/src/main/java/uk/co/real_logic/aeron/samples/Ping.java b/aeron-samples/src/main/java/uk/co/real_logic/aeron/samples/Ping.java
index <HASH>..<HASH> 100644
--- a/aeron-samples/src/main/java/uk/co/real_logic/aeron/samples/Ping.java
+++ b/aeron-samples/src/main/java/uk/co/real_logic/aeron/samples... | [Java]: Formatting. | real-logic_aeron | train | java |
6ea320c2be23b5314032fab0d66a71dbfc268b22 | diff --git a/lib/nats/client.rb b/lib/nats/client.rb
index <HASH>..<HASH> 100644
--- a/lib/nats/client.rb
+++ b/lib/nats/client.rb
@@ -8,7 +8,7 @@ require "#{ep}/ext/json"
module NATS
- VERSION = '0.4.22'.freeze
+ VERSION = '0.4.24'.freeze
DEFAULT_PORT = 4222
DEFAULT_URI = "nats://localhost:#{DEFAULT_POR... | Bumped version to <I> | nats-io_ruby-nats | train | rb,rb |
28c3c45d3be82f115630c4a887a0cf5e611ef5e0 | diff --git a/docs/_static/js/script.js b/docs/_static/js/script.js
index <HASH>..<HASH> 100644
--- a/docs/_static/js/script.js
+++ b/docs/_static/js/script.js
@@ -6,7 +6,7 @@ $(function() {
if(window.location.pathname.toLocaleLowerCase().indexOf('installation-guide') != -1) {
$('<style>.closed, .opened {c... | [docs] make building of C++ tests section collapsable (#<I>) | Microsoft_LightGBM | train | js |
b5b115764a8b729e076fc91c1b5af9420dbeae3b | diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -49,7 +49,7 @@ except StandardError as err:
'''
-Copyright (c) 2014, Brooke M. Fujita.
+Copyright (c) 2014-2015, Brooke M. Fujita.
All rights reserved.
Redistribution and use... | __init__.py edited online with Bitbucket; updating copyright to include <I>. | buruzaemon_natto-py | train | py |
181c4cae4e8a1191e33469211dce28b2c46aa9b4 | diff --git a/pyrap_fitting/trunk/pyrap/fitting/fitting.py b/pyrap_fitting/trunk/pyrap/fitting/fitting.py
index <HASH>..<HASH> 100644
--- a/pyrap_fitting/trunk/pyrap/fitting/fitting.py
+++ b/pyrap_fitting/trunk/pyrap/fitting/fitting.py
@@ -177,7 +177,8 @@ class fitserver(object):
raise TypeError("No or ille... | Handle numpy arrays for (ndim functionals) | casacore_python-casacore | train | py |
c7f068c72d62354aae7b4a66dd23cea6df6ed7a1 | diff --git a/tests/ProxyManagerTest/Autoloader/AutoloaderTest.php b/tests/ProxyManagerTest/Autoloader/AutoloaderTest.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyManagerTest/Autoloader/AutoloaderTest.php
+++ b/tests/ProxyManagerTest/Autoloader/AutoloaderTest.php
@@ -29,6 +29,7 @@ use ProxyManager\Generator\Util\Uni... | Adding `@group Coverage` to explicitly differentiate coverage-related tests from others | Ocramius_ProxyManager | train | php |
c592a418ce183a85f0f6c662e1695ec0384b3850 | diff --git a/gridmap/job.py b/gridmap/job.py
index <HASH>..<HASH> 100644
--- a/gridmap/job.py
+++ b/gridmap/job.py
@@ -395,7 +395,7 @@ def _collect_jobs(sid, jobids, joblist, redis_server, uniq_id,
pool = ThreadPool()
retrieve_args = [(redis_server, uniq_id, ix) for ix in
ran... | Fixed issue where I was using map_async instead of map. | pygridtools_gridmap | train | py |
20d97b12f7040f9277a3f398b069164e4700f993 | diff --git a/storage/store.go b/storage/store.go
index <HASH>..<HASH> 100644
--- a/storage/store.go
+++ b/storage/store.go
@@ -335,7 +335,10 @@ func copyIDMap(idmap []idtools.IDMap) []idtools.IDMap {
m = make([]idtools.IDMap, len(idmap))
copy(m, idmap)
}
- return m[:]
+ if len(m) > 0 {
+ return m[:]
+ }
+ retu... | Never use empty ID maps
When setting up ID maps, never use an empty one, for which mapping fails
unconditionally. If we see an empty one, use nil, which is treated as
no mapping. | containers_storage | train | go |
484aeff75c5dbe9997cb621255a6e00190518e37 | diff --git a/src/Controller/Base.php b/src/Controller/Base.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Base.php
+++ b/src/Controller/Base.php
@@ -81,8 +81,10 @@ abstract class Base implements ControllerProviderInterface
$template = $twig->resolveTemplate($template);
- foreach ($globals as $... | Added "compatibility/twig_globals" flag for Controller\Base::render(). If false globals won't be assigned as twig globals.
If globals are not needed this can be set to false. More code will come later to remove dependency on current twig globals (record and pager). | bolt_bolt | train | php |
04097c4e7c7481b2cff070a16730f5d081fbce45 | diff --git a/src/style_manager/model/Layer.js b/src/style_manager/model/Layer.js
index <HASH>..<HASH> 100644
--- a/src/style_manager/model/Layer.js
+++ b/src/style_manager/model/Layer.js
@@ -33,6 +33,15 @@ module.exports = Backbone.Model.extend({
}
},
+ /**
+ * Get property at some index
+ * @param {Num... | Add some helper methods in Layer and PropertyStack | artf_grapesjs | train | js,js |
6d3b75c9ec5045b26b535a46375bfb62b63f2878 | diff --git a/lib/oxcelix/workbook.rb b/lib/oxcelix/workbook.rb
index <HASH>..<HASH> 100644
--- a/lib/oxcelix/workbook.rb
+++ b/lib/oxcelix/workbook.rb
@@ -48,6 +48,7 @@ module Oxcelix
# * Interpolation of the shared strings
# * adding comments to the cells
# * Converting each sheet to a Matrix object
+ ... | Parse will NOT take cary anymore of deleting the temp files. This is handled manually, or by the constructor from now on! | gbiczo_oxcelix | train | rb |
b0338faa151849f70cf163753e3999b90fa66412 | diff --git a/database/migrations/2018_07_27_000000_create_translations_table.php b/database/migrations/2018_07_27_000000_create_translations_table.php
index <HASH>..<HASH> 100644
--- a/database/migrations/2018_07_27_000000_create_translations_table.php
+++ b/database/migrations/2018_07_27_000000_create_translations_tab... | unique constraint on hash_id | sysoce_laravel-translation | train | php |
a770a7cf6c2b0a4703cf29f419c400266fee1530 | diff --git a/tornado/web.py b/tornado/web.py
index <HASH>..<HASH> 100644
--- a/tornado/web.py
+++ b/tornado/web.py
@@ -344,6 +344,16 @@ class RequestHandler(object):
if timestamp < time.time() - 31 * 86400:
logging.warning("Expired cookie %r", value)
return None
+ if timestamp ... | Check for far-future timestamps in secure cookies. | tornadoweb_tornado | train | py |
1e51d611fe4036a7f8de9b4d08d5ddd15e791a63 | diff --git a/angr/analyses/cfg/cfg_fast.py b/angr/analyses/cfg/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/cfg_fast.py
+++ b/angr/analyses/cfg/cfg_fast.py
@@ -3325,7 +3325,7 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method
# in the end, check the distance... | CFGFast: Use real_addr instead of addr to calculate the distance to the next block. | angr_angr | train | py |
c6a8ad9e3a960637526d2dd9dbd31a2080218532 | diff --git a/script/upload-index-json.py b/script/upload-index-json.py
index <HASH>..<HASH> 100755
--- a/script/upload-index-json.py
+++ b/script/upload-index-json.py
@@ -10,7 +10,7 @@ from lib.util import s3put, scoped_cwd, safe_mkdir
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
OUT_DIR ... | chore: remove v from script :sigh: (#<I>) | electron_electron | train | py |
4fe41aabbaa4e018ea4e0ae5e42e53859ac65f58 | diff --git a/src/Channel/Dispatcher/BroadcastingDispatcher.php b/src/Channel/Dispatcher/BroadcastingDispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Channel/Dispatcher/BroadcastingDispatcher.php
+++ b/src/Channel/Dispatcher/BroadcastingDispatcher.php
@@ -17,7 +17,7 @@ class BroadcastingDispatcher implements Message... | broadcasting with empty message handlers | SimplyCodedSoftware_integration-messaging | train | php |
9a377ddcd3f127603d4170e3704431a890c726f1 | diff --git a/tensorflow_probability/python/sts/local_level.py b/tensorflow_probability/python/sts/local_level.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/sts/local_level.py
+++ b/tensorflow_probability/python/sts/local_level.py
@@ -297,14 +297,13 @@ class LocalLevel(StructuralTimeSeries):
... | Fix bug in which necessary stats were not computed when both a level_scale_prior and initial_level_prior were specified for a LocalLevel model.
PiperOrigin-RevId: <I> | tensorflow_probability | train | py |
62c388bc090dd8db16af17b2f0b2df7e61a03142 | diff --git a/TYPO3.Fluid/Classes/Core/Parser/Configuration.php b/TYPO3.Fluid/Classes/Core/Parser/Configuration.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Fluid/Classes/Core/Parser/Configuration.php
+++ b/TYPO3.Fluid/Classes/Core/Parser/Configuration.php
@@ -33,19 +33,10 @@ namespace F3\Fluid\Core\Parser;
class Config... | [~TASK] TYPO3: Adjusted Policy.yaml to new expected format.
[~TASK] FLOW3: Some small fixes to doc comments and code.
[~TASK] Fluid (Parser): Got rid of the constructor in Parser\Configuration.
Original-Commit-Hash: 6e<I>e3f<I>e3e<I>bd<I>ff1d<I>c4a<I>e | neos_flow-development-collection | train | php |
df22c0aaeef7bffa856036f7114743faace44df3 | diff --git a/git/git.go b/git/git.go
index <HASH>..<HASH> 100644
--- a/git/git.go
+++ b/git/git.go
@@ -65,7 +65,7 @@ func LsRemote(remote, remoteRef string) (string, error) {
func ResolveRef(ref string) (*Ref, error) {
outp, err := subprocess.SimpleExec("git", "rev-parse", ref, "--symbolic-full-name", ref)
if err ... | Improved error-reporting in ResolveRef. This is required when SimpleExec stops swallowing the error return. Related test "ls-files: with zero files". | git-lfs_git-lfs | train | go |
95a7796d697d5ec25e838fcbc7f3be867bd30198 | diff --git a/plugins/PluginSessionRenegotiation.py b/plugins/PluginSessionRenegotiation.py
index <HASH>..<HASH> 100644
--- a/plugins/PluginSessionRenegotiation.py
+++ b/plugins/PluginSessionRenegotiation.py
@@ -93,6 +93,9 @@ class PluginSessionRenegotiation(PluginBase.PluginBase):
clientReneg = Fal... | Detect when Yahoo rejects a renegotiation
Fixes issue #<I> | nabla-c0d3_sslyze | train | py |
d3d8d186ff8b3706f3c0ba92d0ccc536f2614b53 | diff --git a/ewma.go b/ewma.go
index <HASH>..<HASH> 100644
--- a/ewma.go
+++ b/ewma.go
@@ -102,8 +102,9 @@ func (e *VariableEWMA) Add(value float64) {
// Value returns the current value of the average, or 0.0 if the series hasn't
// warmed up yet.
func (e *VariableEWMA) Value() float64 {
- if e.count < WARMUP_SAMPLE... | fix off by one error in VariableEWMA.Value() return | VividCortex_ewma | train | go |
4469a513ea68ce2a1b5211ce18cc10bfb1584e73 | diff --git a/fsdb/fsdb.py b/fsdb/fsdb.py
index <HASH>..<HASH> 100644
--- a/fsdb/fsdb.py
+++ b/fsdb/fsdb.py
@@ -260,7 +260,10 @@ class Fsdb(object):
"""Calculate digest of the file located at @filepath
Args:
- digest -- digest of the file to remove
+ filepath -- the filepath of... | fixed bug: wrong digest
digest was calculated only for the first chunk | ael-code_pyFsdb | train | py |
03a3f128df19172cbcda16a8846984b88e03354d | diff --git a/src/com/opera/core/systems/OperaDriver.java b/src/com/opera/core/systems/OperaDriver.java
index <HASH>..<HASH> 100644
--- a/src/com/opera/core/systems/OperaDriver.java
+++ b/src/com/opera/core/systems/OperaDriver.java
@@ -167,9 +167,9 @@ public class OperaDriver implements WebDriver, FindsByLinkText, Finds... | Fix for DSK-<I>, taking long to shutdown | operasoftware_operaprestodriver | train | java |
1ebbf27a4382d8f32da087008187f1c22f23b6bc | diff --git a/app/Http/RequestHandlers/SiteLogsPage.php b/app/Http/RequestHandlers/SiteLogsPage.php
index <HASH>..<HASH> 100644
--- a/app/Http/RequestHandlers/SiteLogsPage.php
+++ b/app/Http/RequestHandlers/SiteLogsPage.php
@@ -87,12 +87,12 @@ class SiteLogsPage implements RequestHandlerInterface
$user_options ... | Fix: trees with numeric names don't work in site logs | fisharebest_webtrees | train | php |
ba589430e084f2a0311ac9f2e1a9c58baf377fba | diff --git a/lib/components/form/date-time-preview.js b/lib/components/form/date-time-preview.js
index <HASH>..<HASH> 100644
--- a/lib/components/form/date-time-preview.js
+++ b/lib/components/form/date-time-preview.js
@@ -48,7 +48,7 @@ class DateTimePreview extends Component {
)
return (
- <div classN... | feat(form): Make full date/time tab clickable in desktop | opentripplanner_otp-react-redux | train | js |
5736ecf6e67d466216086f7d8b5d58c0a46ddda4 | diff --git a/grunt/tasks/browserify.js b/grunt/tasks/browserify.js
index <HASH>..<HASH> 100644
--- a/grunt/tasks/browserify.js
+++ b/grunt/tasks/browserify.js
@@ -35,7 +35,7 @@ var bundles = {
'standard-specs': {
src: [
'test/spec/src-browserify/standard.spec.js',
- 'test/spec/src-browserify/bundles... | Fix create-cdb specs being run | CartoDB_carto.js | train | js |
10716d73108197a2303d277a8a5a1fee9669c729 | diff --git a/lib/authn/config.rb b/lib/authn/config.rb
index <HASH>..<HASH> 100644
--- a/lib/authn/config.rb
+++ b/lib/authn/config.rb
@@ -5,8 +5,8 @@ module AuthN
class Config < AltStruct
DEFAULTS = {
- account_klass: :Account,
password_digest_method: :password_digest,
+ account_klass: "Acco... | Using a string instead of a symbol for the class name of the account | krainboltgreene_authn | train | rb,rb |
00dcf5eb1651b2265e858c3ed31d35d87e0fde30 | diff --git a/Framework/Request.php b/Framework/Request.php
index <HASH>..<HASH> 100644
--- a/Framework/Request.php
+++ b/Framework/Request.php
@@ -14,15 +14,6 @@ public $contentType;
public $pageCodeStop = false;
public function __construct($config, $t) {
- // Force removal of www subdomain.
- if(strpos($_SERVER["H... | Remove forcing of www removal, fixes #<I>. | PhpGt_WebEngine | train | php |
454365617a2a80b4e2b7e2f2ccd362bd94e3b9af | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -378,13 +378,17 @@ algos_ext = Extension('pandas._algos',
lib_depends = tseries_depends + ['pandas/src/numpy_helper.h',
'pandas/src/datetime/np_datetime.h',
... | BLD: don't link against math library on windows | pandas-dev_pandas | train | py |
f8c1e36690abd6edaff8881c812432a51678f77d | diff --git a/model/api/src/main/java/org/jboss/aerogear/unifiedpush/api/VariantMetricInformation.java b/model/api/src/main/java/org/jboss/aerogear/unifiedpush/api/VariantMetricInformation.java
index <HASH>..<HASH> 100644
--- a/model/api/src/main/java/org/jboss/aerogear/unifiedpush/api/VariantMetricInformation.java
+++ ... | add @jsonignore to child to avoid infinite recursion | aerogear_aerogear-unifiedpush-server | train | java |
7afb5a0dcf74746b45cb0e3ef99ed89434c5fe6e | diff --git a/src/Aws/Common/Enum/Region.php b/src/Aws/Common/Enum/Region.php
index <HASH>..<HASH> 100644
--- a/src/Aws/Common/Enum/Region.php
+++ b/src/Aws/Common/Enum/Region.php
@@ -22,7 +22,7 @@ use Aws\Common\Enum;
* Contains enumerable region code values. These should be useful in most cases,
* with Amazon S3 b... | Updated the @see tag in Aws\Common\Enum\Region to a @link tag for semantic reasons. | aws_aws-sdk-php | train | php |
a916ebfd3f29d26b775a6d61fcdfe1fc8006cb78 | diff --git a/src/config/bot-agent-list.php b/src/config/bot-agent-list.php
index <HASH>..<HASH> 100644
--- a/src/config/bot-agent-list.php
+++ b/src/config/bot-agent-list.php
@@ -123,4 +123,4 @@ $botagents=array("trueknowledgebot" => "TrueKnowledgeBot",
"mindupbot" => "mindUpBot (datenbutler.de)",
"ips-agent" => "htt... | [Insight] Text files should end with a newline character | BugBuster1701_botdetection | train | php |
1d24259c4f9aef129750e3035acb0b29a096bf62 | diff --git a/oidc_auth/authentication.py b/oidc_auth/authentication.py
index <HASH>..<HASH> 100644
--- a/oidc_auth/authentication.py
+++ b/oidc_auth/authentication.py
@@ -122,7 +122,7 @@ class JSONWebTokenAuthentication(BaseOidcAuthentication):
keys = self.jwks()
try:
id_token = JWS().ver... | Handle ValueError for badly formed JWT
If you pass `Authorization: JWT XXX.xxx.xxx` then ValueError from JSON decode would be raised, which isn't handled by this library and goes upwards instead of giving authentication error. | ByteInternet_drf-oidc-auth | train | py |
8835ff0d7c3c1e08fe5d4f0bacd4c7651f01e079 | diff --git a/go/graph/functions.go b/go/graph/functions.go
index <HASH>..<HASH> 100644
--- a/go/graph/functions.go
+++ b/go/graph/functions.go
@@ -7,9 +7,9 @@ import (
)
const (
- dequeued = -1 + iota
- unseen
- seen
+ dequeued = ^(1<<31 - 1)
+ unseen = 0
+ seen = 1
)
// O(V + E). It does not matter to tr... | change dequeued to ^(1<<<I>-1), removed edgeWeightBetween b/c node.state == minimum edge weight == edgeWeightBetween | twmb_algoimpl | train | go |
e95dd9e09bd483e152dff6b05948114b39492108 | diff --git a/conn/command_logout_test.go b/conn/command_logout_test.go
index <HASH>..<HASH> 100644
--- a/conn/command_logout_test.go
+++ b/conn/command_logout_test.go
@@ -26,7 +26,8 @@ var _ = Describe("LOGOUT Command", func() {
It("should give an error", func() {
SendLine("abcd.123 LOGOUT")
- ExpectResponse... | LOGOUT command should still work when not authenticated | jordwest_imap-server | train | go |
44c122d930bafffd95805c3b91a3831ceecf9bfd | diff --git a/test/k8sT/DatapathConfiguration.go b/test/k8sT/DatapathConfiguration.go
index <HASH>..<HASH> 100644
--- a/test/k8sT/DatapathConfiguration.go
+++ b/test/k8sT/DatapathConfiguration.go
@@ -631,6 +631,23 @@ var _ = Describe("K8sDatapathConfig", func() {
Expect(testPodConnectivityAcrossNodes(kubectl)).Shoul... | test: Minimal test for the host firewall in IPv4-only mode
This test is meant to catch complexity regressions such as fixed
in the previous commit. It runs only on GKE for now and will be extended
in follow up PRs. | cilium_cilium | train | go |
f415958ed6570a0ffc507826e6066bb331ca70c3 | diff --git a/redis_shard/shard.py b/redis_shard/shard.py
index <HASH>..<HASH> 100644
--- a/redis_shard/shard.py
+++ b/redis_shard/shard.py
@@ -15,13 +15,18 @@ _findhash = re.compile('.*\{(.*)\}.*', re.I)
class RedisShardAPI(object):
+ _servers = {}
+
def __init__(self, settings=None):
self.nodes =... | use a global pool to re-use the connections. | zhihu_redis-shard | train | py |
bd4abdfdd678592a28f3b7d24a2b5b49e066a8e5 | diff --git a/plotnine/utils.py b/plotnine/utils.py
index <HASH>..<HASH> 100644
--- a/plotnine/utils.py
+++ b/plotnine/utils.py
@@ -1016,7 +1016,7 @@ def order_as_mapping_data(*args):
if data is None or isinstance(data, aes):
mapping, data = data, mapping
- if mapping and not isinstance(mappin... | Fix potential truth check against a Series (#<I>) | has2k1_plotnine | train | py |
effa44bac8fdaa08e4843c311e9e77884d94594d | diff --git a/generators/gae/index.js b/generators/gae/index.js
index <HASH>..<HASH> 100644
--- a/generators/gae/index.js
+++ b/generators/gae/index.js
@@ -774,13 +774,13 @@ module.exports = class extends BaseGenerator {
if (this.buildTool === 'maven') {
this.log(chalk.bold('\nRun A... | simplify maven and gradle deployment commands to GAE
remove clean and thinresolve commands | jhipster_generator-jhipster | train | js |
aef966a6d802ad989a33d6bcd852129eb5c58ab3 | diff --git a/lib/marky-markov.rb b/lib/marky-markov.rb
index <HASH>..<HASH> 100755
--- a/lib/marky-markov.rb
+++ b/lib/marky-markov.rb
@@ -1,14 +1,23 @@
#!/usr/bin/env ruby -i
require_relative 'marky-markov/markov-dictionary'
-require_relative 'marky-markov/sentence-generator'
require_relative 'marky-markov/two-word... | Main runtime can use PersistentDictionary
Marky-Markov can build a dictionary based on a supplied file for one
time use or if left blank will build a sentence based on the
PersistentDictionary, if present. | zolrath_marky_markov | train | rb |
9136caeedb311de3d6176bb9f23e03ecbdc4bcfb | diff --git a/spikeextractors/extractors/cedextractors/cedrecordingextractor.py b/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
+++ b/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
@... | Update spikeextractors/extractors/cedextractors/cedrecordingextractor.py | SpikeInterface_spikeextractors | train | py |
386ed9d49bb444c60b6291715b6efd4d0e3130e0 | diff --git a/modules/custom/d_update/src/Updater.php b/modules/custom/d_update/src/Updater.php
index <HASH>..<HASH> 100644
--- a/modules/custom/d_update/src/Updater.php
+++ b/modules/custom/d_update/src/Updater.php
@@ -112,12 +112,20 @@ class Updater {
return FALSE;
}
- // If this is field storage, sav... | DROOP-<I> New update hook for <I>: attempt 6: changed field instance handling | droptica_droopler | train | php |
36081881e9064ea0d0c8b914a4785c00606ee15b | diff --git a/src/Charcoal/App/ServiceProvider/TranslatorServiceProvider.php b/src/Charcoal/App/ServiceProvider/TranslatorServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/App/ServiceProvider/TranslatorServiceProvider.php
+++ b/src/Charcoal/App/ServiceProvider/TranslatorServiceProvider.php
@@ -95,9 +95,... | Simplified creation of ResourceRepository | locomotivemtl_charcoal-app | train | php |
79828f7543f355180c6225442404dd833a0252a2 | diff --git a/tests/Composer/Test/Json/JsonManipulatorTest.php b/tests/Composer/Test/Json/JsonManipulatorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Composer/Test/Json/JsonManipulatorTest.php
+++ b/tests/Composer/Test/Json/JsonManipulatorTest.php
@@ -2310,6 +2310,22 @@ class JsonManipulatorTest extends TestCase
',... | Enhancement: Assert that key is removed when value is null | composer_composer | train | php |
ab98915d83988cc1c306302ca876253650980353 | diff --git a/tcp.go b/tcp.go
index <HASH>..<HASH> 100644
--- a/tcp.go
+++ b/tcp.go
@@ -5,7 +5,6 @@ import (
"fmt"
"net"
"sync"
- "time"
logging "github.com/ipfs/go-log"
reuseport "github.com/jbenet/go-reuseport"
@@ -56,8 +55,6 @@ func (t *TcpTransport) Dialer(laddr ma.Multiaddr, opts ...tpt.DialOpt) (tpt.Di... | remove the timeoutOpt
Timeout should only be set by using contexts. | libp2p_go-tcp-transport | train | go |
c8d74d1a7f1e328be57626f2a86d2262a84b1c55 | diff --git a/server/application/application.go b/server/application/application.go
index <HASH>..<HASH> 100644
--- a/server/application/application.go
+++ b/server/application/application.go
@@ -1272,8 +1272,9 @@ func (s *Server) plugins() ([]*v1alpha1.ConfigManagementPlugin, error) {
return nil, err
}
tools := ... | Fix bug where the same pointer is used. (#<I>) | argoproj_argo-cd | train | go |
faf4460742d503fd4a997e1b547d487892d0973f | diff --git a/src/com/xeiam/sundial/ee/SundialInitializerListener.java b/src/com/xeiam/sundial/ee/SundialInitializerListener.java
index <HASH>..<HASH> 100644
--- a/src/com/xeiam/sundial/ee/SundialInitializerListener.java
+++ b/src/com/xeiam/sundial/ee/SundialInitializerListener.java
@@ -127,6 +127,15 @@ public class Sun... | added global-lock-on-startup key to context listener | knowm_Sundial | train | java |
42b7ab193057177f270f8fc0e5c38dfe587bf6d0 | diff --git a/code/widgets/WidgetAreaEditor.php b/code/widgets/WidgetAreaEditor.php
index <HASH>..<HASH> 100644
--- a/code/widgets/WidgetAreaEditor.php
+++ b/code/widgets/WidgetAreaEditor.php
@@ -21,6 +21,8 @@ class WidgetAreaEditor extends FormField {
function FieldHolder() {
Requirements::css(CMS_DIR . '/css/W... | BUGFIX: Prevent JS errors when widget area is loaded (note: doesn't actually fix it fully yet) | silverstripe_silverstripe-siteconfig | train | php |
70d0bdb8063387ae6c83d37248b5485e18df478e | diff --git a/src/Tests/MespronosReminderTest.php b/src/Tests/MespronosReminderTest.php
index <HASH>..<HASH> 100644
--- a/src/Tests/MespronosReminderTest.php
+++ b/src/Tests/MespronosReminderTest.php
@@ -84,7 +84,7 @@ class MespronosReminderTest extends WebTestBase {
$this->better2 = $this->drupalCreateUser();
... | Reminder - uncomment all tests | mespronos_mespronos | train | php |
012a41bec5c8d5002d62f71b8f9f1acd0aebf520 | diff --git a/config/release.js b/config/release.js
index <HASH>..<HASH> 100644
--- a/config/release.js
+++ b/config/release.js
@@ -3,8 +3,7 @@ var execSync = require('child_process').execSync;
module.exports = {
// Publish the new release to NPM after a successful push
afterPush: function() {
- var output = e... | Ensure proper encoding of `npm publish` output. | ember-decorators_ember-decorators | train | js |
c5e5139a26f545a48c0a4b66a06b64efd6999c29 | diff --git a/acceptance/tests/direct_puppet/supports_utf8.rb b/acceptance/tests/direct_puppet/supports_utf8.rb
index <HASH>..<HASH> 100644
--- a/acceptance/tests/direct_puppet/supports_utf8.rb
+++ b/acceptance/tests/direct_puppet/supports_utf8.rb
@@ -1,6 +1,10 @@
test_name "C97172: static catalogs support utf8" do
-re... | (PUP-<I>) skip test supports_utf8.rb on cisco and solaris
Skip the test direct_puppet/supports_utf8.rb on cisco and solaris machines
where the LANG=C is set and we fail due to mixed encoding issues | puppetlabs_puppet | train | rb |
337666abedc56719b9b6932a7608c3f157e78842 | diff --git a/tests/ContainerTest.php b/tests/ContainerTest.php
index <HASH>..<HASH> 100644
--- a/tests/ContainerTest.php
+++ b/tests/ContainerTest.php
@@ -103,6 +103,24 @@ class ContainerTest extends \PHPUnit_Framework_TestCase
}
/**
+ * Asserts that fetching a shared item always returns the same item.
... | Enhancement: Assert that items can be shared | thephpleague_container | train | php |
77cc0ce064af6b1c4d4f41c9c175ca20e2724112 | diff --git a/features/step_definitions/setup_steps.rb b/features/step_definitions/setup_steps.rb
index <HASH>..<HASH> 100644
--- a/features/step_definitions/setup_steps.rb
+++ b/features/step_definitions/setup_steps.rb
@@ -132,6 +132,5 @@ end
Given /^the application has a session timeout of (\d+) seconds$/ do |timeout... | When updating bcsec configuration, restart all spawned servers. #<I>.
The CAS scenarios spin up multiple servers (application, CAS server, and
proxy callback). It's true that the application server is the only one
that requires a restart, but for now it's more convenient to just
restart them all. Should a server en... | NUBIC_aker | train | rb,rb |
fd3a7a94ebd0fb8d7c6cd51132b7c784a6b62570 | diff --git a/lib/ditty/cli.rb b/lib/ditty/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/ditty/cli.rb
+++ b/lib/ditty/cli.rb
@@ -47,7 +47,7 @@ module Ditty
desc 'migrate', 'Run the Ditty migrations'
def migrate
# Prep Ditty
- Rake::Task['ditty:prep'].invoke
+ Rake::Task['ditty:prep:migrations']... | fix: Only prep migrations when running migrations | EagerELK_ditty | train | rb |
8fa82dfcc111b61501c964bd73b65f84e6e14d48 | diff --git a/lib/curator/riak/data_store.rb b/lib/curator/riak/data_store.rb
index <HASH>..<HASH> 100644
--- a/lib/curator/riak/data_store.rb
+++ b/lib/curator/riak/data_store.rb
@@ -32,7 +32,7 @@ module Curator
object.content_type = options.fetch(:content_type, "application/json")
object.data = optio... | Update the way that Riak::DataStore normalizes indexes to be compatible with updated Riak client and protobufs. | braintree_curator | train | rb |
20c9967d7d20902311f0e0b2a67da31406f9c34b | diff --git a/src/js/create-world.js b/src/js/create-world.js
index <HASH>..<HASH> 100644
--- a/src/js/create-world.js
+++ b/src/js/create-world.js
@@ -55,15 +55,6 @@ module.exports = function(options) {
var fixturesDebug = require('debug')('fixtures');
- if (options.debug) {
- this.browser.on("response... | remove that responses will be converted from buffer to string automatically (this has side effects, when binary is queried) | webforge-labs_cuked-zombie | train | js |
1456b9ec559e23d489730b5bec4911cffdd27d15 | diff --git a/pycbc/distributions/boundaries.py b/pycbc/distributions/boundaries.py
index <HASH>..<HASH> 100644
--- a/pycbc/distributions/boundaries.py
+++ b/pycbc/distributions/boundaries.py
@@ -318,6 +318,11 @@ class Bounds(object):
else:
self._reflect = _pass
+ def __repr__(self):
+ ... | Add a __repr__ to Bounds. (#<I>)
* Add a __repr__ to Bounds.
* Include class name.w | gwastro_pycbc | train | py |
ad51c7d37213e6618d5f73d40b6c28b5967c68e8 | diff --git a/lib/util/search.js b/lib/util/search.js
index <HASH>..<HASH> 100644
--- a/lib/util/search.js
+++ b/lib/util/search.js
@@ -11,7 +11,6 @@
this.lastPos = null; this.query = this.replacing = null; this.marked = [];
}
function getSearchState(cm) {
- if (!cm) debugger;
return cm._searchState |... | Remove debugger statement in search.js
It was confusing the compressor. | codemirror_CodeMirror | train | js |
7fb345a3f81ebc180a7c079200fd8b15ea564f65 | diff --git a/consul/datadog_checks/consul/consul.py b/consul/datadog_checks/consul/consul.py
index <HASH>..<HASH> 100644
--- a/consul/datadog_checks/consul/consul.py
+++ b/consul/datadog_checks/consul/consul.py
@@ -1,6 +1,8 @@
# (C) Datadog, Inc. 2018
# All rights reserved
# Licensed under a 3-clause BSD style licen... | Finish supporting Py3 (#<I>) | DataDog_integrations-core | train | py |
c169fec4a8cfe5a1dd4334247480096c583b6619 | diff --git a/src/ol/renderer/Map.js b/src/ol/renderer/Map.js
index <HASH>..<HASH> 100644
--- a/src/ol/renderer/Map.js
+++ b/src/ol/renderer/Map.js
@@ -9,7 +9,7 @@ import {getWidth} from '../extent.js';
import {TRUE} from '../functions.js';
import {visibleAtResolution} from '../layer/Layer.js';
import {shared as icon... | Invert and set transform in one step | openlayers_openlayers | train | js |
1d4529df8d7eb23ccddb69c5984a4e02b2cd5c92 | diff --git a/js/kraken.js b/js/kraken.js
index <HASH>..<HASH> 100644
--- a/js/kraken.js
+++ b/js/kraken.js
@@ -761,7 +761,6 @@ module.exports = class kraken extends Exchange {
let request = {
'asset': currency['id'],
'method': method,
- 'new': 'false',
};
... | kraken fetchDepositAddress generating too many new addresses fix #<I> | ccxt_ccxt | train | js |
45b08628b7f9ef83d30bab15bcc77f020aaf3b97 | diff --git a/scanpy/plotting/_tools/scatterplots.py b/scanpy/plotting/_tools/scatterplots.py
index <HASH>..<HASH> 100644
--- a/scanpy/plotting/_tools/scatterplots.py
+++ b/scanpy/plotting/_tools/scatterplots.py
@@ -995,11 +995,10 @@ def _get_color_source_vector(
Get array from adata that colors will be based on.
... | scatterplots: Have missing color be used when color=None | theislab_scanpy | train | py |
1e823f6565020755565bd9130ada27498440aa4c | diff --git a/spec/repository_spec.rb b/spec/repository_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/repository_spec.rb
+++ b/spec/repository_spec.rb
@@ -7,7 +7,7 @@ require 'ronin/repository'
describe Repository do
include Helpers::Repositories
- subject { Repository }
+ subject { described_class }
descr... | Use described_class in the specs. | ronin-ruby_ronin | train | rb |
571b478b2da0278fe151ec8cd4b64b8f6935e546 | diff --git a/saltpylint/fileperms.py b/saltpylint/fileperms.py
index <HASH>..<HASH> 100644
--- a/saltpylint/fileperms.py
+++ b/saltpylint/fileperms.py
@@ -83,7 +83,7 @@ class FilePermsChecker(BaseChecker):
module_perms = str(module_perms)
if len(desired_perm) == 1:
- if module_perms !... | Don't compare against a list | saltstack_salt-pylint | train | py |
f270deca3a1f64124b9c1aad4e925535be0b01be | diff --git a/flink-queryable-state/flink-queryable-state-client-java/src/main/java/org/apache/flink/queryablestate/client/QueryableStateClient.java b/flink-queryable-state/flink-queryable-state-client-java/src/main/java/org/apache/flink/queryablestate/client/QueryableStateClient.java
index <HASH>..<HASH> 100644
--- a/f... | [FLINK-<I>] [QS] Reduce log level in getKvState to DEBUG.
This closes #<I>. | apache_flink | train | java |
f2952f22d599597937a88761142d825cbe9dbb02 | diff --git a/library/Controller/BaseController.php b/library/Controller/BaseController.php
index <HASH>..<HASH> 100644
--- a/library/Controller/BaseController.php
+++ b/library/Controller/BaseController.php
@@ -17,10 +17,19 @@ class BaseController
$this->getFooterLayout();
$this->getNavigationMenus();... | Allow pushing data to baseController with filter | helsingborg-stad_Municipio | train | php |
d2f9eb1a5fe550e3b07768e838c7992a22b31fce | diff --git a/src/Model/Backup.php b/src/Model/Backup.php
index <HASH>..<HASH> 100644
--- a/src/Model/Backup.php
+++ b/src/Model/Backup.php
@@ -8,9 +8,9 @@ namespace Platformsh\Client\Model;
* @property-read string $id The backup name/ID.
* @property-read string $status The status of the backup.
* @p... | Document backup "restorable" property | platformsh_platformsh-client-php | train | php |
67b9a80bcfbc7322f8a5d2f2c7f510b8351b4c6a | diff --git a/cake/libs/multibyte.php b/cake/libs/multibyte.php
index <HASH>..<HASH> 100644
--- a/cake/libs/multibyte.php
+++ b/cake/libs/multibyte.php
@@ -966,6 +966,7 @@ class Multibyte extends Object {
}
$string = array_values($string);
+ $value = array();
for ($i = 0; $i < $length; $i++) {
$value[] =... | Fix simple problem with substr where warning was being thrown
git-svn-id: <URL> | cakephp_cakephp | train | php |
5fecdf84053ca1083cd16d54a58d64191c938ae4 | diff --git a/{{cookiecutter.repo_name}}/config/wsgi.py b/{{cookiecutter.repo_name}}/config/wsgi.py
index <HASH>..<HASH> 100644
--- a/{{cookiecutter.repo_name}}/config/wsgi.py
+++ b/{{cookiecutter.repo_name}}/config/wsgi.py
@@ -20,7 +20,10 @@ from django.core.wsgi import get_wsgi_application
from whitenoise.django impo... | Fix for wsgi.py for Raven in dev | pydanny_cookiecutter-django | train | py |
c7a59b239f67b990c7235f0fd3a1eca0046d954d | diff --git a/python/ray/serve/controller.py b/python/ray/serve/controller.py
index <HASH>..<HASH> 100644
--- a/python/ray/serve/controller.py
+++ b/python/ray/serve/controller.py
@@ -154,7 +154,6 @@ class ActorStateReconciler:
backend_replicas_to_stop: Dict[BackendTag, List[ReplicaTag]] = field(
default_f... | Remove unused endpoints_to_remove (#<I>) | ray-project_ray | train | py |
9e1a2fbe2d708e980fbd02c338385461727e0803 | diff --git a/src/main/java/net/dv8tion/jda/managers/GuildManager.java b/src/main/java/net/dv8tion/jda/managers/GuildManager.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/dv8tion/jda/managers/GuildManager.java
+++ b/src/main/java/net/dv8tion/jda/managers/GuildManager.java
@@ -266,7 +266,7 @@ public class Guil... | made GuildManager#getBans() public | DV8FromTheWorld_JDA | train | java |
dc7cde887ae6c749ff2dd515b2b18fe2f24fdad1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -119,7 +119,7 @@ function serveError(requestUrl, response, entryResponse, localPath) {
function serveHeaders(response, entryResponse) {
// Not really a header, but...
- response.statusCode = entryResponse.status;
+ ... | Return status <I> when entry status is <I>
If <I> is set as status then no data can be returned in the request. | Stuk_server-replay | train | js |
8766147067a4db0fe2c4a5cce9d21240a0bd9fd6 | diff --git a/indra/tests/test_mesh.py b/indra/tests/test_mesh.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_mesh.py
+++ b/indra/tests/test_mesh.py
@@ -63,3 +63,15 @@ def test_mesh_term_name_norm():
assert mesh_name == 'Cellular Senescence'
+def test_mesh_term_lookups():
+ queries = {'Breast Cancer':... | Additional tests using medscan terms | sorgerlab_indra | train | py |
22eefb8f612b6b1efcd6544ea44e0d4d5e7d953c | diff --git a/libraries/joomla/mail/mail.php b/libraries/joomla/mail/mail.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/mail/mail.php
+++ b/libraries/joomla/mail/mail.php
@@ -193,16 +193,19 @@ class JMail extends PHPMailer
// If the recipient is an array, add each recipient... otherwise just add the one
i... | Fixing up code styling from #<I>. | joomla_joomla-framework | train | php |
20921f4bca90b408257f4c3614b4bdcd330fd83b | diff --git a/rapidoid-http-server/src/main/java/org/rapidoid/setup/App.java b/rapidoid-http-server/src/main/java/org/rapidoid/setup/App.java
index <HASH>..<HASH> 100644
--- a/rapidoid-http-server/src/main/java/org/rapidoid/setup/App.java
+++ b/rapidoid-http-server/src/main/java/org/rapidoid/setup/App.java
@@ -289,11 +2... | Allowing white-spaces in the proxy configuration entries. | rapidoid_rapidoid | train | java |
878ff98c3981e98293933ee1c208169efdcb0237 | diff --git a/src/Http/FormRequest.php b/src/Http/FormRequest.php
index <HASH>..<HASH> 100644
--- a/src/Http/FormRequest.php
+++ b/src/Http/FormRequest.php
@@ -18,7 +18,9 @@ class FormRequest extends IlluminateFormRequest
*/
protected function failedValidation(Validator $validator)
{
- if ($this->... | Allow validation to pass through on Internal Requests (#<I>)
* Allow validation to pass through on Internal Requests
* Fix StyleCI issue (oops) | laravie_api | train | php |
4ba24d0a127fdd5e715b023fa6ba46909587edee | diff --git a/lib/oar/scripting/script.rb b/lib/oar/scripting/script.rb
index <HASH>..<HASH> 100644
--- a/lib/oar/scripting/script.rb
+++ b/lib/oar/scripting/script.rb
@@ -29,16 +29,23 @@ class OAR::Scripting::Script
end # def:: self.load_scripts
def self.getargs
- job = { :id => ARGV[0],
- ... | Use oarstat when pro/epilogues are not called with enough arguments (like server pro/epilogues) | pmorillon_oar-scripting | train | rb |
f572595b767abbe60ff4deef29fc43236e445991 | diff --git a/dist/pelias-leaflet-geocoder.js b/dist/pelias-leaflet-geocoder.js
index <HASH>..<HASH> 100644
--- a/dist/pelias-leaflet-geocoder.js
+++ b/dist/pelias-leaflet-geocoder.js
@@ -247,7 +247,7 @@
resultItem.coords = feature.geometry.coordinates;
var iconSrc = this.getIconType(feature.properti... | Remove test for marker option when checking icon image source | pelias_leaflet-plugin | train | js |
5cfaef9ff9b121850f1e27afae6819023acadbf7 | diff --git a/src/event/eventTest.js b/src/event/eventTest.js
index <HASH>..<HASH> 100644
--- a/src/event/eventTest.js
+++ b/src/event/eventTest.js
@@ -7,8 +7,8 @@ test("toggle(Function, Function) - add toggle event and fake a few clicks", func
fn2 = function(e) { count--; },
preventDefault = function(e) { e.preve... | Exclude Opera from toggle test, too (#<I>) | jquery_jquery | train | js |
32c9954a7a392a97172eec0555ad6e43608b9365 | diff --git a/core/src/main/java/org/hibernate/ogm/transaction/emulated/impl/EmulatedLocalTransactionCoordinatorBuilder.java b/core/src/main/java/org/hibernate/ogm/transaction/emulated/impl/EmulatedLocalTransactionCoordinatorBuilder.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/hibernate/ogm/transaction/... | OGM-<I> On rollback NoopJdbcResourceTransaction has to return TransactionStatus.ROLLED_BACK
I think it's fine to use ROLLED_BACK in this case. There are some expectations around it
and if the status is different the rollback is tried again causing events to get caught twice
(and some of our tests fail). | hibernate_hibernate-ogm | train | java |
20e238d1c9df4175c115b3f97e8c561459a36d4c | diff --git a/core/src/main/java/org/infinispan/registry/impl/InternalCacheRegistryImpl.java b/core/src/main/java/org/infinispan/registry/impl/InternalCacheRegistryImpl.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/registry/impl/InternalCacheRegistryImpl.java
+++ b/core/src/main/java/org/infin... | ISPN-<I> Internal Caches with persistence don't need availability checks | infinispan_infinispan | train | java |
cf499da7ae9c18e01ff0c50eeb9b0e601d8e269f | diff --git a/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js b/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js
index <HASH>..<HASH> 100644
--- a/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js
+++ b/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js
@@ -62,16 +62,16 @@ export default class Keymap {... | Fix some formatting mistakes, to make eslint happy | keyboardio_chrysalis-api | train | js |
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.