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 |
|---|---|---|---|---|---|
f7969b3845d675b70055e6f50f4687149f90103f | diff --git a/src/Selection.js b/src/Selection.js
index <HASH>..<HASH> 100644
--- a/src/Selection.js
+++ b/src/Selection.js
@@ -80,7 +80,7 @@ class Selection {
, collides, offsetData;
// Right clicks
- if (e.which === 3 || e.button === 2 || !isOverContainer(node, e.pageX, e.pageY))
+ if (e.which === ... | [fixed] use client coords to get node during selection | intljusticemission_react-big-calendar | train | js |
9c14a43df82dba21f3b015a40777046f40e842f0 | diff --git a/tests/model/test_exif.py b/tests/model/test_exif.py
index <HASH>..<HASH> 100644
--- a/tests/model/test_exif.py
+++ b/tests/model/test_exif.py
@@ -37,7 +37,7 @@ class TestOcrdExif(TestCase):
self.assertEqual(exif.photometricInterpretation, '1')
def test_png2(self):
- exif = OcrdExif(I... | fix test regression from OCR-D/assets#<I> | OCR-D_core | train | py |
30736ec76017e26369e00a56ad4578dc27ef008f | diff --git a/lib/passport/index.js b/lib/passport/index.js
index <HASH>..<HASH> 100644
--- a/lib/passport/index.js
+++ b/lib/passport/index.js
@@ -109,6 +109,15 @@ Passport.prototype.session = function() {
*
* Examples:
*
+ * passport.authenticate('local', { successRedirect: '/', failureRedirect: '/login' })(... | Add additional examples to passport.authenticate(). | jaredhanson_passport | train | js |
7c7fd86a456581e578eb17000a1e445fe50bb7c0 | diff --git a/src/main/resources/admin-ui/js/robe/ProfileManagement.js b/src/main/resources/admin-ui/js/robe/ProfileManagement.js
index <HASH>..<HASH> 100644
--- a/src/main/resources/admin-ui/js/robe/ProfileManagement.js
+++ b/src/main/resources/admin-ui/js/robe/ProfileManagement.js
@@ -31,6 +31,10 @@ function initializ... | ROBE-<I> cookie destroyed in client-side | robeio_robe | train | js |
ae7486bc591fe9586d830b266b2faa148b719fda | diff --git a/inigo_suite_test.go b/inigo_suite_test.go
index <HASH>..<HASH> 100644
--- a/inigo_suite_test.go
+++ b/inigo_suite_test.go
@@ -269,13 +269,13 @@ func beforeSuite(encodedSharedContext []byte) {
context.SharedContext.NsyncListenerPath,
"-etcdCluster", strings.Join(context.EtcdRunner.NodeURLS(), ","),
... | move circus/rep addr config to nsync | cloudfoundry_inigo | train | go |
6b9025bf1584ea0a1dd1ad0f4fccdb604c86bec4 | diff --git a/spec/unit/interface/face_collection_spec.rb b/spec/unit/interface/face_collection_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/interface/face_collection_spec.rb
+++ b/spec/unit/interface/face_collection_spec.rb
@@ -30,8 +30,8 @@ describe Puppet::Interface::FaceCollection do
after :all do
#... | (PUP-<I>) Fix a use of 'subject' in an after hook | puppetlabs_puppet | train | rb |
bf35f5b80578d1508fe29e8dffd998570eb633b7 | diff --git a/src/Parser/BaseParser.php b/src/Parser/BaseParser.php
index <HASH>..<HASH> 100644
--- a/src/Parser/BaseParser.php
+++ b/src/Parser/BaseParser.php
@@ -1,10 +1,5 @@
<?php
-/**
- * @file
- * Contains \Hedron\Parser\BaseParser.
- */
-
namespace Hedron\Parser;
use EclipseGc\Plugin\PluginDefinitionInterfa... | removing a non-essential file comment | HedronDev_hedron | train | php |
6b0b3158ff5e10aa6212aa1f9f51b20da71d2a75 | diff --git a/test/actions/nodesSpec.js b/test/actions/nodesSpec.js
index <HASH>..<HASH> 100644
--- a/test/actions/nodesSpec.js
+++ b/test/actions/nodesSpec.js
@@ -60,6 +60,7 @@ describe('Node actions with dependencies', () => {
x: 10,
y: 10,
},
+ properties:... | fix(tests): fix nodesSpec tests (missing new property "properties") | xodio_xod | train | js |
fc269bed858399ff2a8c5fbb64829e5ca4be1019 | diff --git a/Controller/Tool/RolesController.php b/Controller/Tool/RolesController.php
index <HASH>..<HASH> 100644
--- a/Controller/Tool/RolesController.php
+++ b/Controller/Tool/RolesController.php
@@ -401,8 +401,8 @@ class RolesController extends Controller
{
$this->checkAccess($workspace);
$th... | [CoreBundle] Commenting broken code. | claroline_Distribution | train | php |
91b434ba3daba177c2a352150322e61d85ba0a3d | diff --git a/pandas/core/panel.py b/pandas/core/panel.py
index <HASH>..<HASH> 100644
--- a/pandas/core/panel.py
+++ b/pandas/core/panel.py
@@ -1930,16 +1930,20 @@ def _get_combined_index(frames, intersect=False):
if intersect:
combine = Index.intersection
+ copy = Index
+ unique = lambda x... | ENH: contrib perf optimization in panel homogenization routine | pandas-dev_pandas | train | py |
ad7314f5b173476227f2933841a912e2c04c7c08 | diff --git a/lib/octocatalog-diff/catalog.rb b/lib/octocatalog-diff/catalog.rb
index <HASH>..<HASH> 100644
--- a/lib/octocatalog-diff/catalog.rb
+++ b/lib/octocatalog-diff/catalog.rb
@@ -222,7 +222,7 @@ module OctocatalogDiff
else
source_file
end
- "(#{filename}:#{line_number})"
+ "(#{f... | Drop environments/production from the start of file names | github_octocatalog-diff | train | rb |
2e2a840899d41fa62e067336d81209a616621c08 | diff --git a/lib/web.route.handler.js b/lib/web.route.handler.js
index <HASH>..<HASH> 100644
--- a/lib/web.route.handler.js
+++ b/lib/web.route.handler.js
@@ -48,7 +48,7 @@ function convertUrlSegmentToRegex(segment) {
return '(' + pieces[1].substring(0, pieces[1].length - 1) + ')';
}
else if (pieces.... | correctly allow more characters in url path parts for parsing | gethuman_pancakes | train | js |
b7b95f7d16a4a4d87639f4edbd7636a56daa3ace | diff --git a/transfer/adapterbase.go b/transfer/adapterbase.go
index <HASH>..<HASH> 100644
--- a/transfer/adapterbase.go
+++ b/transfer/adapterbase.go
@@ -99,6 +99,7 @@ func (a *adapterBase) worker(workerNum int) {
if signalAuthOnResponse {
authCallback = func() {
a.authWait.Done()
+ signalAuthOnResponse... | Fix retry; only confirm that auth signal done when auth func called | git-lfs_git-lfs | train | go |
b1cff118c7626d44156bad7f8435346086b1b79e | diff --git a/lib/datalib.php b/lib/datalib.php
index <HASH>..<HASH> 100644
--- a/lib/datalib.php
+++ b/lib/datalib.php
@@ -698,6 +698,11 @@ function get_courses_wmanagers($categoryid=0, $sort="c.sortorder ASC", $fields=a
return array(); // no courses!
}
+ $CFG->coursemanager = trim($CFG->coursemanage... | datalib:get_courses_wmanagers() handle empty $CFG->coursemanager more gracefully
Having no roles set as coursemanager is a valid setting.
get_courses_wmanagers() should not produce invalid SQL on it...
actually, it should not even try to get the course managers. | moodle_moodle | train | php |
cd552961e3610b840d9198ac6c1f972a780495b2 | diff --git a/structr-core/src/main/java/org/structr/core/graph/Tx.java b/structr-core/src/main/java/org/structr/core/graph/Tx.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/core/graph/Tx.java
+++ b/structr-core/src/main/java/org/structr/core/graph/Tx.java
@@ -46,7 +46,7 @@ public class Tx... | use the transaction notification flag from securityContext by default | structr_structr | train | java |
ee3b72ebb4ca355488bf06affda6b67ec913b7d7 | diff --git a/src/WebPageInspector.php b/src/WebPageInspector.php
index <HASH>..<HASH> 100644
--- a/src/WebPageInspector.php
+++ b/src/WebPageInspector.php
@@ -7,10 +7,6 @@ use webignition\WebResourceInterfaces\WebPageInterface;
class WebPageInspector
{
- const CHARSET_GB2312 = 'GB2312';
- const CHARSET_BIG5 =... | Remove WebPageInspector::CHARSET_* constants (#<I>) | webignition_web-page-inspector | train | php |
df6b146ae66560777d797c0399dbf9b2db189e47 | diff --git a/packages/feedback/src/FeedbackForm.js b/packages/feedback/src/FeedbackForm.js
index <HASH>..<HASH> 100644
--- a/packages/feedback/src/FeedbackForm.js
+++ b/packages/feedback/src/FeedbackForm.js
@@ -211,7 +211,6 @@ const FeedbackForm = ({
onClick={onClose}
color="secondary"
... | fix(feedback): removed console log | Availity_availity-react | train | js |
465cf5be889fcfde0b8c77aaa3414cb43dbcff75 | diff --git a/src/Sulu/Bundle/WebsocketBundle/Controller/FallbackController.php b/src/Sulu/Bundle/WebsocketBundle/Controller/FallbackController.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/WebsocketBundle/Controller/FallbackController.php
+++ b/src/Sulu/Bundle/WebsocketBundle/Controller/FallbackController.php
@... | added ob_clean if outputbuffer is not empty | sulu_sulu | train | php |
e2acfdb52d290f43393cb1da20003fac218b4cfc | diff --git a/Swat/SwatFrame.php b/Swat/SwatFrame.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatFrame.php
+++ b/Swat/SwatFrame.php
@@ -28,6 +28,13 @@ class SwatFrame extends SwatContainer implements SwatTitleable
public $subtitle = null;
/**
+ * An optional string to separate subtitle from the title
+ *
+ * @v... | Replace hardcoded space between title and subtitle with a public property named $title_seperator that defaults to ': '.
svn commit r<I> | silverorange_swat | train | php |
3b1a0b9f16da2c30e405b983563c9c1483f61ec3 | diff --git a/src/core/renderers/webgl/managers/FilterManager.js b/src/core/renderers/webgl/managers/FilterManager.js
index <HASH>..<HASH> 100644
--- a/src/core/renderers/webgl/managers/FilterManager.js
+++ b/src/core/renderers/webgl/managers/FilterManager.js
@@ -106,7 +106,7 @@ FilterManager.prototype.popFilter = funct... | Merged in dev conflict
# Conflicts:
# src/core/renderers/webgl/managers/FilterManager.js | pixijs_pixi.js | train | js |
54fd3c8b068d8d841f2e6ad8538c2c3e2069df1a | diff --git a/lib/perobs/IndexTreeNode.rb b/lib/perobs/IndexTreeNode.rb
index <HASH>..<HASH> 100644
--- a/lib/perobs/IndexTreeNode.rb
+++ b/lib/perobs/IndexTreeNode.rb
@@ -190,8 +190,8 @@ module PEROBS
# Recursively check this node and all sub nodes. Compare the found
# ID/address pairs with the corresponding ... | Fix: Eliminate yardoc warnings. | scrapper_perobs | train | rb,rb |
fa610e926620e74cdbedae0caa663aba719e8b7d | diff --git a/tests/Core/ModuleResolver/ResolverStackTest.php b/tests/Core/ModuleResolver/ResolverStackTest.php
index <HASH>..<HASH> 100644
--- a/tests/Core/ModuleResolver/ResolverStackTest.php
+++ b/tests/Core/ModuleResolver/ResolverStackTest.php
@@ -43,7 +43,7 @@ class ResolverStackTest extends PHPUnit_Framework_TestC... | need to write tests for the tests i think... | alanpich_slender | train | php |
17504863e5a041fabf23e03b2b7b1b961284fe2a | diff --git a/src/main/java/com/buschmais/jqassistant/plugin/maven3/api/scanner/MavenScope.java b/src/main/java/com/buschmais/jqassistant/plugin/maven3/api/scanner/MavenScope.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/buschmais/jqassistant/plugin/maven3/api/scanner/MavenScope.java
+++ b/src/main/java/com/b... | Renamed methods in the Scope interface and added some JavaDoc. | buschmais_jqa-maven3-plugin | train | java |
4c65772c4455404af65d988cd5e2873961598a59 | diff --git a/lib/jekyll/utils.rb b/lib/jekyll/utils.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/utils.rb
+++ b/lib/jekyll/utils.rb
@@ -6,7 +6,7 @@ module Jekyll
autoload :Ansi, "jekyll/utils/ansi"
# Constants for use in #slugify
- SLUGIFY_MODES = %w(raw default pretty urlsafe)
+ SLUGIFY_MODES = %w... | One final "urlsafe" replaced with "ascii" | jekyll_jekyll | train | rb |
9583427da1434c690a7a25a6526d3b2b8bfde315 | diff --git a/backtrader/strategy.py b/backtrader/strategy.py
index <HASH>..<HASH> 100644
--- a/backtrader/strategy.py
+++ b/backtrader/strategy.py
@@ -497,11 +497,13 @@ class Strategy(with_metaclass(MetaStrategy, StrategyBase)):
size = abs(size or possize)
if possize > 0:
- return self.se... | Correct method close of strategy by using kwargs which was not taking into account the existence of a plimit parameter in methods buy/sell and would pass the execution type as plimit | backtrader_backtrader | train | py |
f73dcfe68fb621f868b7cde2eaf60c38509bf1cc | diff --git a/monitor/schedule_test.go b/monitor/schedule_test.go
index <HASH>..<HASH> 100644
--- a/monitor/schedule_test.go
+++ b/monitor/schedule_test.go
@@ -286,7 +286,7 @@ func agentSchedule(t *testing.T, td *testData, queue *mockQueue,
// Tick here on purpose, so that not all events are ignored because
// the o... | Increased timeout for `mockQueue.awaitCompletion` | Privatix_dappctrl | train | go |
5438c6699dceae74228342dc0ff4ef05243f2b34 | diff --git a/php/WP_CLI/Bootstrap/DefineProtectedCommands.php b/php/WP_CLI/Bootstrap/DefineProtectedCommands.php
index <HASH>..<HASH> 100644
--- a/php/WP_CLI/Bootstrap/DefineProtectedCommands.php
+++ b/php/WP_CLI/Bootstrap/DefineProtectedCommands.php
@@ -40,7 +40,7 @@ final class DefineProtectedCommands implements Boot... | CS for php/WP_CLI/Bootstrap/*
Auto-fixing of sniffs no longer excluded.
See #<I>. | wp-cli_wp-cli | train | php |
ec143ac3f813bedaf05360aeb6050db3ef36a821 | diff --git a/promise/promise.py b/promise/promise.py
index <HASH>..<HASH> 100644
--- a/promise/promise.py
+++ b/promise/promise.py
@@ -818,7 +818,7 @@ class Promise(Generic[T]):
)
-_type_done_callbacks = WeakKeyDictionary() # type: Dict[type, bool]
+_type_done_callbacks = WeakKeyDictionary()
def is_f... | Remove incorrect type annotation
mypy complained that WeakKeyDictionary is not a Dict[type, bool]. | syrusakbary_promise | train | py |
492b666266c9b67a695476ead616a06e1f92c0d0 | diff --git a/src/werkzeug/middleware/shared_data.py b/src/werkzeug/middleware/shared_data.py
index <HASH>..<HASH> 100644
--- a/src/werkzeug/middleware/shared_data.py
+++ b/src/werkzeug/middleware/shared_data.py
@@ -35,7 +35,7 @@ class SharedDataMiddleware(object):
environments or simple server setups. Usage is qui... | Update documentation of SharedDataMiddleware
Let the doc of SharedDataMiddleware reflect its move to middleware.shared_data | pallets_werkzeug | train | py |
907fe255a1eb1bc6b227a5beb6aa144a37d3e422 | diff --git a/OpenPNM/Utilities/misc.py b/OpenPNM/Utilities/misc.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Utilities/misc.py
+++ b/OpenPNM/Utilities/misc.py
@@ -1,5 +1,5 @@
import scipy as _sp
-import time
+import time as _time
def iscoplanar(coords):
r'''
@@ -48,8 +48,8 @@ def tic():
Homemade version o... | A few updates to misc
- it is important to import other modules preceded with an underscore, or else they pollute the namespace
Former-commit-id: <I>a5b<I>b<I>d8da6c4bac3d6c9a<I>ae
Former-commit-id: 8f<I>be5dd<I>caf<I>e<I>abefdc<I>a<I>bdaaf<I>d | PMEAL_OpenPNM | train | py |
f045705aeaceeb80e4be8877ddb2a6435defc770 | diff --git a/src/Commands/Import.php b/src/Commands/Import.php
index <HASH>..<HASH> 100644
--- a/src/Commands/Import.php
+++ b/src/Commands/Import.php
@@ -104,8 +104,11 @@ class Import extends Command
foreach ($users as $user) {
try {
+ // Get the users credentials array.
+ ... | Fixed retrieving the existing users model during import. | Adldap2_Adldap2-Laravel | train | php |
21cf9e4a7214a97fa2c81c84cd970aac30311dda | diff --git a/lib/arel.rb b/lib/arel.rb
index <HASH>..<HASH> 100644
--- a/lib/arel.rb
+++ b/lib/arel.rb
@@ -1,5 +1,4 @@
require 'active_support/inflector'
-require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/object/blank'
d... | removing cattr_accessor | rails_rails | train | rb,rb |
ec5eeb82632f6f68208ddefa26f6903e00dee64d | diff --git a/backbone-formview.js b/backbone-formview.js
index <HASH>..<HASH> 100644
--- a/backbone-formview.js
+++ b/backbone-formview.js
@@ -1117,7 +1117,7 @@
} else {
$option = Backbone.$('<option>').text(val.display).attr('value', val.value);
if... | Change attr(selected) and attr(checked) calls to prop() calls, as they should be in newer versions of jQuery | 1stdibs_backbone-base-and-form-view | train | js |
2160285ae34158a66bdff872f7f6f5e68221108f | diff --git a/TYPO3.Neos/Classes/Routing/PageRoutePartHandler.php b/TYPO3.Neos/Classes/Routing/PageRoutePartHandler.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Neos/Classes/Routing/PageRoutePartHandler.php
+++ b/TYPO3.Neos/Classes/Routing/PageRoutePartHandler.php
@@ -53,7 +53,7 @@ class PageRoutePartHandler extends \F3\... | [+BUGFIX] FLOW3: Removed object and cache configuration for missing DatesReader class, resolving exception #<I>.
[~TASK] TYPO3 (Routing): Whitespace fixes, no functional changes.
Original-Commit-Hash: <I>cce0ab<I>f<I>f<I>e<I>be<I>e<I>ad9d<I> | neos_neos-development-collection | train | php |
e25816ccb980e6195d71260d5be0346bc31a09a6 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -29,7 +29,7 @@ module.exports = function(grunt) {
uglify: {
options: {
mangle: true,
- compress: true
+ compress: {}
},
uglified_build: {
files: { | type of setting changed in grunt-contrib-uglify | pfirpfel_image-viewer | train | js |
649243260d182f08164c6e4b175a0efbad4d5694 | diff --git a/lib/adminlib.php b/lib/adminlib.php
index <HASH>..<HASH> 100644
--- a/lib/adminlib.php
+++ b/lib/adminlib.php
@@ -8438,7 +8438,7 @@ class admin_setting_configcolourpicker extends admin_setting {
$content .= html_writer::empty_tag('input', array('type'=>'button','id'=>$this->get_id().'_preview'... | MDL-<I> admin: attached color label to input control | moodle_moodle | train | php |
095610fc5e71b1b7e05f6eea399113dbb7bf2e45 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -1793,9 +1793,9 @@
function resetInput(cm, user) {
var minimal, selected, doc = cm.doc;
- var range = doc.sel.primary();
- if (!range.empty()) {
+ if (cm.somethingSelected... | Fix resetInput to not confuse readInput when prim sel is empty but secondary is not
Closes #<I>
Closes #<I>
Closes #<I> | codemirror_CodeMirror | train | js |
f4cbccf16ede12c28adc529c1a495ccda5ced1d7 | diff --git a/chef/lib/chef/cookbook_uploader.rb b/chef/lib/chef/cookbook_uploader.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/cookbook_uploader.rb
+++ b/chef/lib/chef/cookbook_uploader.rb
@@ -23,7 +23,7 @@ class Chef
# generate checksums of cookbook files and create a sandbox
checksum_files = c... | Prevent double '/' in HTTP call to sandboxes | chef_chef | train | rb |
7b936cc0d741d9e84739648b3b023ab0fe8e9a3c | diff --git a/lib/chef/audit/reporter/automate.rb b/lib/chef/audit/reporter/automate.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/audit/reporter/automate.rb
+++ b/lib/chef/audit/reporter/automate.rb
@@ -88,14 +88,8 @@ class Chef
end
end
- # **************************************************... | Remove a misleading TODO and simplify some code. | chef_chef | train | rb |
6678eba1b9b2f4fdc027a57e60918ccda6184f1e | diff --git a/odinweb/constants.py b/odinweb/constants.py
index <HASH>..<HASH> 100644
--- a/odinweb/constants.py
+++ b/odinweb/constants.py
@@ -60,3 +60,14 @@ class Type(str, enum.Enum):
Boolean = "boolean", bool, fields.BooleanField
# Array = "array", list, fields.ListField
# File = "file", str, fields.S... | Added a path string regular expression to provide a good base point. | python-odin_odinweb | train | py |
25b4378e30f7bbede476ef5fc859c98a17f14568 | diff --git a/openquake/calculators/ebrisk.py b/openquake/calculators/ebrisk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/ebrisk.py
+++ b/openquake/calculators/ebrisk.py
@@ -61,9 +61,10 @@ def _calc(computers, events, min_iml, rlzs_by_gsim, weights,
for c in computers:
with mon_haz:
... | Stored the number of sites affected by each contributing ruptures
Former-commit-id: 4cc<I>fe8cc0e4a<I>aaf<I>eeab<I>cf4ced1a<I> [formerly be<I>cfba<I>b4fc1d<I>f<I>ef<I>d]
Former-commit-id: a<I>f<I>ede<I>d<I>d<I>e7e6 | gem_oq-engine | train | py |
0c964ee4a300dcd0af7f8c4d82c880a1ed9b335b | diff --git a/spec/support/kit/temp_dir.rb b/spec/support/kit/temp_dir.rb
index <HASH>..<HASH> 100644
--- a/spec/support/kit/temp_dir.rb
+++ b/spec/support/kit/temp_dir.rb
@@ -14,9 +14,10 @@ RSpec.configure do |config|
config.include RSpec::Kit::TempDirContext
config.before do |example|
- if example.metadata[... | Updated RSpec temp_dir clean to happen after test.
- Necessary to build new sub-directory structures within
the temp_dir without it being deleted with each before
block.
- Moves cleaning up of the temp_dir after each test. | bkuhlmann_milestoner | train | rb |
8d8c47aa2704f6909b0202cf2a22f5c353b2a839 | diff --git a/src/Check/Callback.php b/src/Check/Callback.php
index <HASH>..<HASH> 100644
--- a/src/Check/Callback.php
+++ b/src/Check/Callback.php
@@ -6,6 +6,13 @@ class Callback extends \Psecio\Validation\Check
{
public function execute($input)
{
- return false;
+ $addl = $this->get();
+ ... | making the Callback check work with a static class::method | psecio_validation | train | php |
8d8d569633853ea02d9ead983e9baf0c03dc7d82 | diff --git a/packages/ui-list/src/List/index.js b/packages/ui-list/src/List/index.js
index <HASH>..<HASH> 100644
--- a/packages/ui-list/src/List/index.js
+++ b/packages/ui-list/src/List/index.js
@@ -51,7 +51,7 @@ category: components
**/
@deprecated('8.0.0', {
variant: 'List with the isUnstyled boolean or InlineLi... | chore(ui-list): fix typo | instructure_instructure-ui | train | js |
0a21cee1565c459c1157f088e3c9fbf0e409b5df | diff --git a/src/victory-util/style.js b/src/victory-util/style.js
index <HASH>..<HASH> 100644
--- a/src/victory-util/style.js
+++ b/src/victory-util/style.js
@@ -54,6 +54,6 @@ export default {
blue: ["#002C61", "#004B8F", "#006BC9", "#3795E5", "#65B4F4"],
green: ["#354722", "#466631", "#649146", "#8AB25C... | Fix victory-util/style.js typo
Spelling of property 'grayscale' incrorrectly referenced as 'greyscale' in return statement of getColorScale function | FormidableLabs_victory | train | js |
5d3ca7fc192e03cfed8cc353b6b013f99ac1927c | diff --git a/lib/contentful_redis/model_base.rb b/lib/contentful_redis/model_base.rb
index <HASH>..<HASH> 100644
--- a/lib/contentful_redis/model_base.rb
+++ b/lib/contentful_redis/model_base.rb
@@ -11,6 +11,8 @@ module ContentfulRedis
class ModelBase
class << self
def find(id, env = nil)
+ raise ... | fix-issue <I> cannot call find with a hash (#<I>) | DigitalNZ_contentful-redis | train | rb,rb |
1563e5210a6d0388b504e878ad29aac7a2d1a5e3 | diff --git a/bika/lims/browser/__init__.py b/bika/lims/browser/__init__.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/__init__.py
+++ b/bika/lims/browser/__init__.py
@@ -65,12 +65,17 @@ def ulocalized_time(time, long_format=None, time_only=None, context=None,
time_str = _ut(time, long_format, time... | Additional try except. I know is ugly, but is just a temporary fix | senaite_senaite.core | train | py |
ee04c6d9e65701ea26b1cd3e93e45939c9b8b5d6 | diff --git a/decls/validator.js b/decls/validator.js
index <HASH>..<HASH> 100644
--- a/decls/validator.js
+++ b/decls/validator.js
@@ -3,6 +3,8 @@ declare type ValidatorDefinition = {
message?: string|Function // error message
}
+declare type ValidatorAsset = Function|ValidatorDefinition
+
declare type Validatio... | :shirt: refactor(asset): update flowtype | kazupon_vue-validator | train | js,js |
128c1942400a718114b7cca4350a7fa6dff4ee80 | diff --git a/ca/django_ca/models.py b/ca/django_ca/models.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/models.py
+++ b/ca/django_ca/models.py
@@ -148,6 +148,14 @@ class X509CertMixin(models.Model):
return 'critical,%s' % value
return str(value)
+ def extensions_cryptography(self):
+ ... | add method to print all extensions of the certificate | mathiasertl_django-ca | train | py |
3f850106539daba7ba263fc289245fbd9963ca63 | diff --git a/lib/trim-slash.js b/lib/trim-slash.js
index <HASH>..<HASH> 100644
--- a/lib/trim-slash.js
+++ b/lib/trim-slash.js
@@ -14,12 +14,10 @@
* @ nosideeffects
*/
function trimSlash(string) {
- if (typeof string !== 'string') {
- return string;
- }
- if (string.length > 0 && string.charAt(string.length ... | style: clean up trimSlash
This code violates the ESLint unicorn/prefer-negative-index rule. Clean
it up and simplify a bit. | kevinoid_travis-status | train | js |
0dac820b44abf2cb102d7829602ddc66014703de | diff --git a/salt/states/virt.py b/salt/states/virt.py
index <HASH>..<HASH> 100644
--- a/salt/states/virt.py
+++ b/salt/states/virt.py
@@ -15,11 +15,26 @@ from __future__ import absolute_import
# Import python libs
import os
+try:
+ import libvirt # pylint: disable=import-error
+ HAS_LIBVIRT = True
+except I... | Add __virtual__ to check if libvirt is installed for the virt state | saltstack_salt | train | py |
6b6298a2f3a07ba99d830c3e6ae91bc2bd094166 | diff --git a/lazysignup/tests.py b/lazysignup/tests.py
index <HASH>..<HASH> 100644
--- a/lazysignup/tests.py
+++ b/lazysignup/tests.py
@@ -191,4 +191,14 @@ class LazyTestCase(TestCase):
def testGetConvert(self):
self.client.get('/lazy/')
response = self.client.get('/convert/')
- self.asser... | Extra test to check that the same user is maintained | danfairs_django-lazysignup | train | py |
9b2c0028b5a624de5159de9b640728bd3b824145 | diff --git a/molgenis-data-mapper/src/main/java/org/molgenis/data/algorithm/AlgorithmServiceImpl.java b/molgenis-data-mapper/src/main/java/org/molgenis/data/algorithm/AlgorithmServiceImpl.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-mapper/src/main/java/org/molgenis/data/algorithm/AlgorithmServiceImpl.java
+++ ... | Catch exception if script eval fails while creating integrated dataset | molgenis_molgenis | train | java |
d80e01a9c596c2a19fac3115923e994c11b2e8fb | diff --git a/gns3server/version.py b/gns3server/version.py
index <HASH>..<HASH> 100644
--- a/gns3server/version.py
+++ b/gns3server/version.py
@@ -23,7 +23,7 @@
# or negative for a release candidate or beta (after the base version
# number has been incremented)
-__version__ = "2.1.1"
+__version__ = "2.1.2dev1"
__v... | Development on <I>dev1 | GNS3_gns3-server | train | py |
a1d76cc1893a0630394d70a1abd004b143fb81ad | diff --git a/hydpy/core/timetools.py b/hydpy/core/timetools.py
index <HASH>..<HASH> 100644
--- a/hydpy/core/timetools.py
+++ b/hydpy/core/timetools.py
@@ -373,6 +373,10 @@ class Date(object):
self.datetime = date
elif isinstance(date, str):
self._initfromstr(date)
+ elif isinst... | Allow TOY objects as initialization arguments for class Date.
Note that the year is generally set to <I>, which is a leap year. | hydpy-dev_hydpy | train | py |
c297c38e39fb3f2c181a5c30244db7746a99d230 | diff --git a/lib/ronin/database/database.rb b/lib/ronin/database/database.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/database/database.rb
+++ b/lib/ronin/database/database.rb
@@ -46,7 +46,7 @@ module Ronin
# Default configuration of the database
DEFAULT_CONFIG = {
- :adapter => :sqlite3,
+ :ad... | Make sure the :adapture option is a String for DM <I>. | ronin-ruby_ronin | train | rb |
a3d22ee6fc2bd6173502008be7d55926a433f9e6 | diff --git a/ipyrad/assemble/cluster_within.py b/ipyrad/assemble/cluster_within.py
index <HASH>..<HASH> 100644
--- a/ipyrad/assemble/cluster_within.py
+++ b/ipyrad/assemble/cluster_within.py
@@ -418,10 +418,10 @@ def build_clusters(data, sample):
LOGGER.info("exc indbld: %s %s", inserts, revseq)
... | Reverting a change that broke cluster_within | dereneaton_ipyrad | train | py |
e4fba52b33dd3a398e229128bf2269f79522c59f | diff --git a/lib/plugins/tag/img.js b/lib/plugins/tag/img.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/tag/img.js
+++ b/lib/plugins/tag/img.js
@@ -37,14 +37,10 @@ module.exports = ctx => {
let src;
// Find image URL and class name
- for (let i = 0, len = args.length; i < len; i++) {
- const item... | Changed not to use Array#slice() | hexojs_hexo | train | js |
8961f15644db6cc304392dab97c73706a7cbfbff | diff --git a/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/ParentController.java b/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/ParentController.java
index <HASH>..<HASH> 100644
--- a/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/ParentContr... | Require clearOptions to calls super | wix_react-native-navigation | train | java,java |
0314967d81f1275be5995652aa38ca2e64f7b819 | diff --git a/lib/dm-core/query/conditions/operation.rb b/lib/dm-core/query/conditions/operation.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/query/conditions/operation.rb
+++ b/lib/dm-core/query/conditions/operation.rb
@@ -96,7 +96,7 @@ module DataMapper
# TODO: document
# @api semipublic
... | Accommodating Arrays as operands | datamapper_dm-core | train | rb |
2545a6fa636fafac5381ece0ff72a46de3220360 | diff --git a/lib/gphoto2/camera.rb b/lib/gphoto2/camera.rb
index <HASH>..<HASH> 100644
--- a/lib/gphoto2/camera.rb
+++ b/lib/gphoto2/camera.rb
@@ -108,7 +108,7 @@ module GPhoto2
end
def [](key)
- config[key]
+ config[key.to_s]
end
def []=(key, value) | Allow config keys to be passed as symbols | zaeleus_ffi-gphoto2 | train | rb |
7163b3456dad79988553b8317ca5ed9426dcdafb | diff --git a/lib/mongoose/delete.js b/lib/mongoose/delete.js
index <HASH>..<HASH> 100644
--- a/lib/mongoose/delete.js
+++ b/lib/mongoose/delete.js
@@ -7,6 +7,7 @@ const async = require('async');
/**
+ * @module mongoose-rest-actions
* @name deletePlugin
* @function deletePlugin
* @description mongoose schema... | update delete jsdocs: | lykmapipo_mongoose-rest-actions | train | js |
6443d950440b5abb3aa63d016eff0e5340f1ff3b | diff --git a/dist/canvas.js b/dist/canvas.js
index <HASH>..<HASH> 100644
--- a/dist/canvas.js
+++ b/dist/canvas.js
@@ -87,8 +87,8 @@ Canvas.drawFunction = {
var y = this.Y(obj.points[0].y);
var w = obj.points[1].x - obj.points[0].x;
var h = - (obj.points[1].y - obj.points[0].y); // 左下を原点として扱っ... | bugfix: fill Rect.
fill() isn’t needed for rect. | pandanoir_unitaryjs | train | js |
b2cce386aeeb5292ef90fedb9fb9c7e09709e331 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ description = "Command line script that automatically searches for video subtitl
setup(
name = "ss",
- version = "1.2.0",
+ version = "1.1.0",
packages = [],
scripts = ['ss.py'],
... | bumping version to <I> | nicoddemus_ss | train | py |
0668063d7d362e296f7f3499b137c039d9280709 | diff --git a/lib/motion/dealloc_logging.rb b/lib/motion/dealloc_logging.rb
index <HASH>..<HASH> 100644
--- a/lib/motion/dealloc_logging.rb
+++ b/lib/motion/dealloc_logging.rb
@@ -15,7 +15,7 @@ class RMX
end
def self.log_dealloc(object, verbose=false)
- LOG_DEALLOC_QUEUE.sync do
+ LOG_DEALLOC_QUEUE.async d... | need to use async with RM <I>, not sure exactly why yet | joenoon_rmx | train | rb |
9b45778770862c2dc143060a71aaf9ee24a61c54 | diff --git a/generators/Generator.py b/generators/Generator.py
index <HASH>..<HASH> 100644
--- a/generators/Generator.py
+++ b/generators/Generator.py
@@ -9,7 +9,7 @@ import os
import operator
import generators
-from generators import iterable, consume, itemgetter
+from generators import iterable, consume, itemgett... | added easy benchmarking to the Generator class | CodyKochmann_generators | train | py |
c40d0317c347e6f85637d23bf918434c02015e1a | diff --git a/scripts/init.js b/scripts/init.js
index <HASH>..<HASH> 100644
--- a/scripts/init.js
+++ b/scripts/init.js
@@ -149,13 +149,17 @@ module.exports = function(
console.log(chalk.cyan(` ${displayedCommand} start`));
console.log(' Starts the development server.');
console.log();
- console.log(chalk.... | Suggest "yarn build" rather than "yarn run build" (#<I>)
* Fix for issue #<I>: Suggested 'yarn build' versus 'yarn run build'
* remove 'run' from 'yarn test' command as well
* conditionally show 'run' if Yarn is not available | Pajn_tscomp | train | js |
bc5bfeb479d5123ad3c9cfc8bf9636bb1535802e | diff --git a/lnwire/onion_error.go b/lnwire/onion_error.go
index <HASH>..<HASH> 100644
--- a/lnwire/onion_error.go
+++ b/lnwire/onion_error.go
@@ -663,7 +663,7 @@ func (f *FailFeeInsufficient) Code() FailCode {
//
// NOTE: Implements the error interface.
func (f FailFeeInsufficient) Error() string {
- return fmt.Spr... | lnwire: fix logging for FeeInsufficient, show amt not fee
Fixes #<I>. | lightningnetwork_lnd | train | go |
4b2726e9feb0dbcaa07cf6dfe7d7bec3656d4ea0 | diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/GraphHistory.js b/server/sonar-web/src/main/js/apps/projectActivity/components/GraphHistory.js
index <HASH>..<HASH> 100644
--- a/server/sonar-web/src/main/js/apps/projectActivity/components/GraphHistory.js
+++ b/server/sonar-web/src/main/js/apps/... | Do not round numbers in project activity graph's tooltips | SonarSource_sonarqube | train | js |
2166f9768eda31dcbaccff8714a44023a3243c3c | diff --git a/fastcore.py b/fastcore.py
index <HASH>..<HASH> 100644
--- a/fastcore.py
+++ b/fastcore.py
@@ -265,7 +265,7 @@ def fastcore_lp10_cplex(model, subset_k, subset_p, epsilon):
zs_names = []
for rxnid in subset_p:
zs_names.append('z_'+rxnid)
- prob.variables.add(names=zs_names, lb=[0]*len(z... | fastcore: Fix variable bounds in LP<I> cplex | zhanglab_psamm | train | py |
6d45be5ba04ef6eb5046f704adc1c3690af17cc3 | diff --git a/activemodel/lib/active_model/validations/confirmation.rb b/activemodel/lib/active_model/validations/confirmation.rb
index <HASH>..<HASH> 100644
--- a/activemodel/lib/active_model/validations/confirmation.rb
+++ b/activemodel/lib/active_model/validations/confirmation.rb
@@ -9,7 +9,7 @@ module ActiveModel
... | *_confirmation is defined as a public method | rails_rails | train | rb |
d315bc215ede0a2d78f34393be4549a68a579dd7 | diff --git a/src/test/entry.test.js b/src/test/entry.test.js
index <HASH>..<HASH> 100644
--- a/src/test/entry.test.js
+++ b/src/test/entry.test.js
@@ -307,3 +307,26 @@ test('entry by duration with date', t => {
t.end()
})
+
+test('entry duration whitespace', t => {
+ let e
+ e = new Entry(userId, '1-2pm ate 4 h... | Add tests with full entry parsing | tickbin_parser | train | js |
133a831ab923aec1744862811b21177cc1672e65 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -80,7 +80,7 @@ setup(
"Programming Language :: Python :: 3.8",
],
keywords="api graphql protocol rest relay graphene",
- packages=find_packages(exclude=["tests", "tests.*", "examples"]),
+ packages=fin... | Update excluded packages list to properly exclude examples pack… (#<I>)
* examples package will not be installed with graphene | graphql-python_graphene | train | py |
907a4fed7f7129bfe40003760f15bc5ed1fc54d0 | diff --git a/rxandroidble/src/main/java/com/polidea/rxandroidble/internal/RxBleLog.java b/rxandroidble/src/main/java/com/polidea/rxandroidble/internal/RxBleLog.java
index <HASH>..<HASH> 100644
--- a/rxandroidble/src/main/java/com/polidea/rxandroidble/internal/RxBleLog.java
+++ b/rxandroidble/src/main/java/com/polidea/r... | Fixed retention policy of RxBleLog log levels. | Polidea_RxAndroidBle | train | java |
5230178f41619b180ed975fd7bc4c521979a7d2f | diff --git a/lib/pool.js b/lib/pool.js
index <HASH>..<HASH> 100644
--- a/lib/pool.js
+++ b/lib/pool.js
@@ -22,32 +22,16 @@ class Pool {
}, () => new Client(url, options))
}
- stream (opts, factory, cb) {
- if (cb === undefined) {
- return new Promise((resolve, reject) => {
- this.stream(opts, ... | refactor: pool doesn't need to create promise | mcollina_undici | train | js |
6efa10f6687d78f15ee0a3a192b5b41f215c84a9 | diff --git a/api/server/router/volume/volume.go b/api/server/router/volume/volume.go
index <HASH>..<HASH> 100644
--- a/api/server/router/volume/volume.go
+++ b/api/server/router/volume/volume.go
@@ -5,13 +5,13 @@ import (
"github.com/docker/docker/api/server/router/local"
)
-// volumesRouter is a router to talk wi... | Modify improper comments in api/server/router/volume/volume.go | moby_moby | train | go |
be487959fd6eda993dbc705be8c838e90a215fc3 | diff --git a/src/FamilySearch.js b/src/FamilySearch.js
index <HASH>..<HASH> 100644
--- a/src/FamilySearch.js
+++ b/src/FamilySearch.js
@@ -24,7 +24,7 @@
* @param {String} options.tokenCookie Name of the cookie that the access token
* will be saved in.
*/
- var FamilySearch = function(options){
+ var Famil... | fix body processing and missing callback error | FamilySearch_fs-js-lite | train | js |
eaa99305eee46770683a7bf7951360c83ac555aa | diff --git a/Classes/Domain/Repository/RedirectionRepository.php b/Classes/Domain/Repository/RedirectionRepository.php
index <HASH>..<HASH> 100644
--- a/Classes/Domain/Repository/RedirectionRepository.php
+++ b/Classes/Domain/Repository/RedirectionRepository.php
@@ -87,6 +87,21 @@ class RedirectionRepository extends Re... | TASK: Use DQL and generator to find by target uri and host | neos_redirecthandler-databasestorage | train | php |
4066c1181bebc52e7a69554fd85e53b480102fd8 | diff --git a/config/admin/jsonadm/resource.php b/config/admin/jsonadm/resource.php
index <HASH>..<HASH> 100644
--- a/config/admin/jsonadm/resource.php
+++ b/config/admin/jsonadm/resource.php
@@ -250,7 +250,7 @@ return [
* @param array List of user group names
* @since 2017.10
*/
- 'groups' => ['admin',... | Restrict locale/* resources to super admins only | aimeos_ai-admin-jsonadm | train | php |
d5033b04a28da4afba21d37e5f9568f7616bdf3a | diff --git a/discord/state.py b/discord/state.py
index <HASH>..<HASH> 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -215,7 +215,7 @@ class ConnectionState:
self.clear()
- def clear(self) -> None:
+ def clear(self, *, views: bool = True) -> None:
self.user: Optional[ClientUser] = No... | Don't clear views in READY | Rapptz_discord.py | train | py |
01640b32aee876d18d2b18b450ac7fbfb8996c71 | diff --git a/core/Object.php b/core/Object.php
index <HASH>..<HASH> 100755
--- a/core/Object.php
+++ b/core/Object.php
@@ -418,9 +418,12 @@ abstract class Object {
// merge with existing static vars
$extensions = self::uninherited_static($class, 'extensions');
+
// We use unshift rather than push so that... | BUGFIX: Ameneded r<I> so that the application order of extensions is the same as it was previously.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9 | silverstripe_silverstripe-framework | train | php |
ac5273383b314ac2ef348d232c1e209af9c946d9 | diff --git a/src/Subjects/AbstractSubject.php b/src/Subjects/AbstractSubject.php
index <HASH>..<HASH> 100644
--- a/src/Subjects/AbstractSubject.php
+++ b/src/Subjects/AbstractSubject.php
@@ -870,7 +870,7 @@ abstract class AbstractSubject implements SubjectInterface, FilesystemSubjectInt
// log a message th... | Switch log level for message when a file has successfully been processed from info to notice to make it visible on CLI | techdivision_import | train | php |
08199fc4cb0cdf1f169136c56d58dbaa1c5c02ca | diff --git a/src/cmdline/settings.py b/src/cmdline/settings.py
index <HASH>..<HASH> 100644
--- a/src/cmdline/settings.py
+++ b/src/cmdline/settings.py
@@ -170,11 +170,12 @@ class SettingsParser(BaseCommand):
parser.add_argument(arg, **_info)
- if subcommands:
+ command_info = args.get('_C... | Add subcommands that do not have any additional settings | rca_cmdline | train | py |
3cc624aeefe3d5ca525af0872f470509f87d0425 | diff --git a/lib/Github/Api/Repo.php b/lib/Github/Api/Repo.php
index <HASH>..<HASH> 100644
--- a/lib/Github/Api/Repo.php
+++ b/lib/Github/Api/Repo.php
@@ -143,6 +143,20 @@ class Repo extends AbstractApi
{
return $this->delete('repos/'.rawurlencode($username).'/'.rawurlencode($repository));
}
+
+ ... | Add API request to get the readme content
Adding a `readme` method to the repo api to get the readme for a repository. This is described by <URL> | KnpLabs_php-github-api | train | php |
6ba1a0ea0d0973043082bb0d917222072e94990f | diff --git a/src/components/column/Column.js b/src/components/column/Column.js
index <HASH>..<HASH> 100644
--- a/src/components/column/Column.js
+++ b/src/components/column/Column.js
@@ -41,7 +41,8 @@ export class Column extends Component {
excludeGlobalFilter: false,
rowReorder: false,
rowRe... | Fixed #<I> - Add exportable property to Column | primefaces_primereact | train | js |
3aab8ee2e7152eaddb1617dae603c32d775e5792 | diff --git a/api/src/main/java/org/ehcache/resilience/ResilienceStrategy.java b/api/src/main/java/org/ehcache/resilience/ResilienceStrategy.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/org/ehcache/resilience/ResilienceStrategy.java
+++ b/api/src/main/java/org/ehcache/resilience/ResilienceStrategy.java
@@ -2... | #<I> : add javadoc clarifying writer/loader and resilience strategy interactions | ehcache_ehcache3 | train | java |
a7803c7d298d47ae50a9f86e3c361a7ad8eb2db9 | diff --git a/nodeserver/src/client/js/corewrapper.js b/nodeserver/src/client/js/corewrapper.js
index <HASH>..<HASH> 100644
--- a/nodeserver/src/client/js/corewrapper.js
+++ b/nodeserver/src/client/js/corewrapper.js
@@ -881,6 +881,7 @@ define(['logManager',
};
ClientNode = function(node,core){
var o... | getChildrenIds was corrected
Former-commit-id: db7f<I>cbfe<I>c<I>bb<I>c<I>dea<I>f<I> | webgme_webgme-engine | train | js |
72946fcfaad04010d57a26e8e2bce9664c8b4933 | diff --git a/lib/util/wrap.js b/lib/util/wrap.js
index <HASH>..<HASH> 100644
--- a/lib/util/wrap.js
+++ b/lib/util/wrap.js
@@ -23,16 +23,16 @@ exports.wrapExport = function (wrapFunction, required, optional) {
var collectOptions = true;
if (length === 1 && (first instanceof Object)) {
assum... | Fix if there is only one argument and the function has no required arguments
Will now search through all the optional arguments. | sentanos_roblox-js | train | js |
72813c7f50fcebed70296e0af31f2aed289e096c | diff --git a/src/resolvers/helpers/filter.js b/src/resolvers/helpers/filter.js
index <HASH>..<HASH> 100644
--- a/src/resolvers/helpers/filter.js
+++ b/src/resolvers/helpers/filter.js
@@ -77,6 +77,10 @@ export const filterHelperArgs = (
);
}
+ if (inputComposer.getFieldNames().length === 0) {
+ return {};
... | fix filterHelper, it does not return `filter` arg, if its fields are empty | graphql-compose_graphql-compose-mongoose | train | js |
70416284c5b784256e7ee30e2704bc5da1d98678 | diff --git a/src/UrlRoute.php b/src/UrlRoute.php
index <HASH>..<HASH> 100644
--- a/src/UrlRoute.php
+++ b/src/UrlRoute.php
@@ -29,7 +29,7 @@ class UrlRoute extends Route {
return $this->callback;
}
- public function dispatch(array $args) {
+ public function dispatch(array &$args) {
$callb... | UrlRoute fix and doc comments. | vanilla_garden | train | php |
615c667c818de67d924442758fa3ad103b734fd6 | diff --git a/openquake/commands/restore.py b/openquake/commands/restore.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/restore.py
+++ b/openquake/commands/restore.py
@@ -22,6 +22,7 @@ import time
import os.path
import zipfile
import sqlite3
+import requests
from openquake.baselib import sap
from openquake... | Extended oq restore to download from URLs [skip CI]
Former-commit-id: dcc<I>c<I>a0ff3c<I>d7d<I>e<I>b<I>f<I>f | gem_oq-engine | train | py |
3dfdba092c408470570df5e781b8e02fd2c2ba5d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,7 @@ setup(
version=version,
description='Python API for accessing the REST API of the Xero accounting tool.',
long_description=long_description,
+ long_description_content_type='text/markdown',
... | Corrected markup content type for long description. | freakboy3742_pyxero | train | py |
17d73b77f0676d9a9188ddc066ee65d76a440721 | diff --git a/src/components/inputs/select-input/select-input.spec.js b/src/components/inputs/select-input/select-input.spec.js
index <HASH>..<HASH> 100644
--- a/src/components/inputs/select-input/select-input.spec.js
+++ b/src/components/inputs/select-input/select-input.spec.js
@@ -116,6 +116,25 @@ describe('in single ... | chore(select-input): add test for when autoFocussed is true (#<I>)
* chore(select-input): add test for when autoFocussed is true | commercetools_ui-kit | train | js |
9dd187ff074883a40b01aa04a3bd9c709b027bf4 | diff --git a/test/specs/utils/Sorter.js b/test/specs/utils/Sorter.js
index <HASH>..<HASH> 100644
--- a/test/specs/utils/Sorter.js
+++ b/test/specs/utils/Sorter.js
@@ -1,7 +1,8 @@
-var Sorter = require('undefined');
+// import Sorter from '../../../src/utils/Sorter.js'
-describe('Sorter', () => {
- var fixtures;
+// ... | Skip sorter test (awaiting migrate to jest) | artf_grapesjs | train | js |
edaafab62fb2ba1b9fba1dcf877a90b27e287397 | diff --git a/Framework/FileOrganiser.php b/Framework/FileOrganiser.php
index <HASH>..<HASH> 100644
--- a/Framework/FileOrganiser.php
+++ b/Framework/FileOrganiser.php
@@ -4,7 +4,19 @@
* of the FileOrganiser to copy the required files into the webroot when
* required. The files may need to be minified and compiled b... | Started re-implementing FileOrganiser for #<I> | PhpGt_WebEngine | train | php |
4f3e38e745c389af48525f6355a19359a374e987 | diff --git a/lib/dml/mysqli_native_moodle_database.php b/lib/dml/mysqli_native_moodle_database.php
index <HASH>..<HASH> 100644
--- a/lib/dml/mysqli_native_moodle_database.php
+++ b/lib/dml/mysqli_native_moodle_database.php
@@ -853,8 +853,8 @@ class mysqli_native_moodle_database extends moodle_database {
re... | MDL-<I> improve emulate_bound_params() for mysqli
Looping over large numbers of items with array_shift() is expensive.
Reverse the array and fetch items from the top of the pile. | moodle_moodle | train | php |
6916743e614f126f95c652def790daa0be8002b4 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -161,7 +161,14 @@ class DissectHtml {
babelJs(js) {
try {
return Babel.transform(js, {
- presets: ['es2015']
+ presets: [
+ ['es2015',
+ {
+ modules... | babel blacklist use strict. #9 | aruntk_wc-loader | train | js |
5c042befee5306bb552be98538dca7abb312006f | diff --git a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/DiscreteMovementCommandsImplementation.java b/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/DiscreteMovementCommandsImplementation.java
index <HASH>..<HASH> 100755
--- a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/Dis... | Less stupid fix for discrete -ve movement. | Microsoft_malmo | train | java |
a54b66b0609d18b77934222cf8ae48742b330b0d | diff --git a/spec/viewport_spec.rb b/spec/viewport_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/viewport_spec.rb
+++ b/spec/viewport_spec.rb
@@ -8,6 +8,6 @@ describe Remedy::Viewport do
joke << "A: Purple, because ice cream has no bones!"
screen = ::Remedy::Viewport.new
- screen.draw joke
+ screen.d... | Don't actually execute draw if we're on CI, since it will break. | acook_remedy | train | rb |
6b6eb22ca1b560f13cefc78bd5b0985b3d85a0da | diff --git a/lib/test-server/client/slave-client.js b/lib/test-server/client/slave-client.js
index <HASH>..<HASH> 100644
--- a/lib/test-server/client/slave-client.js
+++ b/lib/test-server/client/slave-client.js
@@ -251,7 +251,8 @@
var replaceConsoleFunction = function (console, name, scope) {
var oldFunct... | fix #<I> On IE versions older than 9 native methods on the "console" object don't have an "apply" method
The workaround is to call the generic "apply" (from "Function"'s prototype) using its own "call" method with proper arguments. | attester_attester | 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.