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 |
|---|---|---|---|---|---|
d59c6a0b739f4dc4c77358eab673ea14208b6f54 | diff --git a/src/engine/runtime.js b/src/engine/runtime.js
index <HASH>..<HASH> 100644
--- a/src/engine/runtime.js
+++ b/src/engine/runtime.js
@@ -983,7 +983,7 @@ class Runtime extends EventEmitter {
*/
_convertForScratchBlocks (blockInfo, categoryInfo) {
if (blockInfo === '---') {
- retu... | Fix missing arg for extension block separators | LLK_scratch-vm | train | js |
9c7293827ffc05da59cc8b0c1a7b78f4df1b96cb | diff --git a/algoliasearch/types_index.go b/algoliasearch/types_index.go
index <HASH>..<HASH> 100644
--- a/algoliasearch/types_index.go
+++ b/algoliasearch/types_index.go
@@ -1,15 +1,15 @@
package algoliasearch
type IndexRes struct {
- CreatedAt string `json:"createdAt"`
- DataSize int `json... | fix: Add missing trailing S to IndexRes' NumberOfPendingTasks (closes #<I>) | algolia_algoliasearch-client-go | train | go |
08ff28f7b24dbbe0e24e9080f6c517d16a826363 | diff --git a/bot/action/extra/messages/analyzer.py b/bot/action/extra/messages/analyzer.py
index <HASH>..<HASH> 100644
--- a/bot/action/extra/messages/analyzer.py
+++ b/bot/action/extra/messages/analyzer.py
@@ -162,6 +162,8 @@ class PhotoMessageAnalyzer(MessageAnalyzer):
text.newline().newline()
text.... | Display caption in photo if original message had it | alvarogzp_telegram-bot-framework | train | py,py |
652326e1a81a7b0434a155cda6eb5a350f6abca0 | diff --git a/lib/resourceful/core.js b/lib/resourceful/core.js
index <HASH>..<HASH> 100644
--- a/lib/resourceful/core.js
+++ b/lib/resourceful/core.js
@@ -157,7 +157,12 @@ resourceful.define = function (name, definition) {
//
});
- (definition || function () {}).call(Factory);
+ if (typeof definition === 'o... | [core] resourceful.define({schema}) | flatiron_resourceful | train | js |
ebfddaaace0a3b545d868bcf42840fb0bf11b6b4 | diff --git a/ui-v2/app/adapters/application.js b/ui-v2/app/adapters/application.js
index <HASH>..<HASH> 100644
--- a/ui-v2/app/adapters/application.js
+++ b/ui-v2/app/adapters/application.js
@@ -1,4 +1,5 @@
import Adapter from 'ember-data/adapters/rest';
+import { AbortError } from 'ember-data/adapters/errors';
impor... | ui: ember-data AbortError should have a `0` status (#<I>) | hashicorp_consul | train | js |
2e49d66cdc58ca64ab82e7e2fec321c03423a907 | diff --git a/cumulusci/core/tests/test_pageobjects.py b/cumulusci/core/tests/test_pageobjects.py
index <HASH>..<HASH> 100644
--- a/cumulusci/core/tests/test_pageobjects.py
+++ b/cumulusci/core/tests/test_pageobjects.py
@@ -104,7 +104,7 @@ class TestPageObjects(unittest.TestCase):
)
self.assertEqual(po... | Fix mock; PageObjects now uses a different method for logging | SFDO-Tooling_CumulusCI | train | py |
ab58cca3f7d7a077a951ee0c4fa1602e075b0d17 | diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Page/Page.php
+++ b/system/src/Grav/Common/Page/Page.php
@@ -2955,4 +2955,26 @@ class Page
return $route;
}
}
+
+ /**
+ * Gets the Page Unmo... | Add getter methods for original and action to the Page object. (#<I>) | getgrav_grav | train | php |
99c172b2b4b6edebecf10cb1b26407f0ffda4d6f | diff --git a/extensions/subscriptions/bootstrap.php b/extensions/subscriptions/bootstrap.php
index <HASH>..<HASH> 100644
--- a/extensions/subscriptions/bootstrap.php
+++ b/extensions/subscriptions/bootstrap.php
@@ -16,7 +16,8 @@ use Illuminate\Contracts\View\Factory;
return [
(new Extend\Assets('forum'))
- ... | Extender: List all assets explicitly | flarum_core | train | php |
dba8e6e23ea338a8db685f33418dc80ed8aeff10 | diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -487,7 +487,7 @@ accessed. Python regular expressions are accepted.'}
if not isinstance(arg, astroid.Starred):
conti... | Use safe_infer when inferring a Starred node's value. | PyCQA_pylint | train | py |
e55d4cae8d19ed50ed4eee1a22336002534935fa | diff --git a/lib/friendly_id.rb b/lib/friendly_id.rb
index <HASH>..<HASH> 100644
--- a/lib/friendly_id.rb
+++ b/lib/friendly_id.rb
@@ -1,13 +1,5 @@
require "babosa"
require "forwardable"
-require "active_support/core_ext/class/attribute_accessors"
-begin
- require "active_support/core_ext/object/blank"
-rescue Missi... | Don't depend on Active Support if we don't need to. | norman_friendly_id | train | rb |
b49bf4299c257a6211de883f0925c87e3c7ca714 | diff --git a/lang/en/admin.php b/lang/en/admin.php
index <HASH>..<HASH> 100644
--- a/lang/en/admin.php
+++ b/lang/en/admin.php
@@ -1302,6 +1302,7 @@ $string['unbookmarkthispage'] = 'Unbookmark this page';
$string['unicoderequired'] = 'It is required that you store all your data in Unicode format (UTF-8). New installat... | MDL-<I> lang: Add the unoconvwarning string back
It has been deprecated and removed by mistake. | moodle_moodle | train | php |
a2c1acf97c8c7b8a00cdd26fc35de25d6844fe4a | diff --git a/lib/topology_lib_ip/library.py b/lib/topology_lib_ip/library.py
index <HASH>..<HASH> 100644
--- a/lib/topology_lib_ip/library.py
+++ b/lib/topology_lib_ip/library.py
@@ -160,5 +160,6 @@ def ping(enode, count, destination):
__all__ = [
'interface',
'add_route',
+ 'add_6_route',
'ping'
] | fix: dev: Forgot to add to public interface. | HPENetworking_topology_lib_ip | train | py |
c9d28add321035e5c6b92e967a82ae3bb37e6907 | diff --git a/src/main/java/com/github/sebhoss/common/annotation/PMDWarnings.java b/src/main/java/com/github/sebhoss/common/annotation/PMDWarnings.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/sebhoss/common/annotation/PMDWarnings.java
+++ b/src/main/java/com/github/sebhoss/common/annotation/PMDWarning... | Added marker for the controversial rule set | sebhoss_common-annotations | train | java |
36cdac2b924334236b80bada8c819c51b872d386 | diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -38,6 +38,7 @@ class InteractionTest(AdminSeleniumWebDriverTestCase):
def test_widget_interactions(self):
self.admin_login('super', 'secret')
driver = self.selenium
+ drive... | Added a page load timeout in order to spot travis issues. | charettes_django-admin-enhancer | train | py |
ac169ba1a1205f0976f717a3d75f71debbcbf7a0 | diff --git a/lib/voice/VoiceConnection.js b/lib/voice/VoiceConnection.js
index <HASH>..<HASH> 100644
--- a/lib/voice/VoiceConnection.js
+++ b/lib/voice/VoiceConnection.js
@@ -348,7 +348,11 @@ class VoiceConnection extends EventEmitter {
this.udpSocket = null;
}
if(this.ws) {
- ... | Proxy errors caused by disconnecting VoiceConnections | abalabahaha_eris | train | js |
1a3bb60986d90e32c04575111b1ccb8eab24a3e5 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -627,8 +627,6 @@ func (c *Client) execute(req *Request) (*Response, error) {
c.transport.Proxy = http.ProxyURL(req.proxyURL)
} else if c.proxyURL != nil {
c.transport.Proxy = http.ProxyURL(c.proxyURL)
- } else {
- ... | #<I> don't set transport proxy to nil by default | go-resty_resty | train | go |
31846415490fe90d79e84b8c9e38b7b528207746 | diff --git a/telethon/events/__init__.py b/telethon/events/__init__.py
index <HASH>..<HASH> 100644
--- a/telethon/events/__init__.py
+++ b/telethon/events/__init__.py
@@ -77,6 +77,8 @@ class _EventCommon(abc.ABC):
self._input_chat = None
self._chat = None
+ self.pattern_match = None
+
... | Allow access to events' pattern match (#<I>) | LonamiWebs_Telethon | train | py |
2dc0b6ae79a22644c6d7f0359e25e9986160fa98 | diff --git a/src/ChunkDecoder/PressureChunkDecoder.php b/src/ChunkDecoder/PressureChunkDecoder.php
index <HASH>..<HASH> 100644
--- a/src/ChunkDecoder/PressureChunkDecoder.php
+++ b/src/ChunkDecoder/PressureChunkDecoder.php
@@ -33,7 +33,7 @@ class PressureChunkDecoder extends MetarChunkDecoder implements MetarChunkDecod... | Fix bad ratio for pressure in inHg unit | SafranCassiopee_php-metar-decoder | train | php,php |
7039c5e814328f6fe975f13d6a7a14e0e72cf9c1 | diff --git a/requests_oauthlib/oauth2_session.py b/requests_oauthlib/oauth2_session.py
index <HASH>..<HASH> 100644
--- a/requests_oauthlib/oauth2_session.py
+++ b/requests_oauthlib/oauth2_session.py
@@ -338,6 +338,10 @@ class OAuth2Session(requests.Session):
request_kwargs["params"] = dict(urldecode(body))... | Also added support for `access_token_request` hook | requests_requests-oauthlib | train | py |
ccfeec6b6d439f604adc95b433a05791802ad746 | diff --git a/src/plugins/google_analytics/google_analytics.js b/src/plugins/google_analytics/google_analytics.js
index <HASH>..<HASH> 100644
--- a/src/plugins/google_analytics/google_analytics.js
+++ b/src/plugins/google_analytics/google_analytics.js
@@ -44,7 +44,7 @@ class GoogleAnalytics extends ContainerPlugin {
... | google_analytics: listen to container event (close #<I>) | clappr_clappr | train | js |
1c087c91062c4f5c5ef74c2063a3c81ba0ae0320 | 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
@@ -135,7 +135,7 @@ define(function (require, exports, module) {
if (highlightEndCh <= MAX_DISPLAY_LENGTH) {
// Don't... | Actually pass the right value to substr | adobe_brackets | train | js |
3cd9f3d61470c9e564f7a162dabd17a359542d27 | diff --git a/rest/handler.go b/rest/handler.go
index <HASH>..<HASH> 100644
--- a/rest/handler.go
+++ b/rest/handler.go
@@ -8,6 +8,7 @@ import (
// ResourceHandler implements the http.Handler interface and acts a router for the defined Routes.
// The defaults are intended to be developemnt friendly, for production you... | deprecation warning in the docstring too | ant0ine_go-json-rest | train | go |
dbbc83558437f572f8848dc7b5569b1430d0108f | diff --git a/config.go b/config.go
index <HASH>..<HASH> 100644
--- a/config.go
+++ b/config.go
@@ -8,6 +8,7 @@ import (
type cors struct {
allowAllOrigins bool
+ allowCredentials bool
allowOriginFunc func(string) bool
allowOrigins []string
exposeHeaders []string
@@ -22,6 +23,7 @@ func newCors(config... | Fix logic error for when setting allowedAllOrigins and allowedCredentials
`Access-Control-Allow-Origin` should returning `Origin` originally of
requests when allowCredentials and allowAllOrigins. | gin-contrib_cors | train | go |
234bc0b99003fd0fbf06cb4f38174660c667a123 | diff --git a/lib/signed-xml.js b/lib/signed-xml.js
index <HASH>..<HASH> 100644
--- a/lib/signed-xml.js
+++ b/lib/signed-xml.js
@@ -820,7 +820,7 @@ SignedXml.prototype.computeSignature = function(xml, opts, callback) {
signatureDoc.insertBefore(self.createSignature(prefix), signedInfoNode.nextSibling)
... | enable more use cases by returning the xml object in callback | yaronn_xml-crypto | train | js |
fb1226e57e5c1201922b700198df0ad9f59b325f | diff --git a/analyzers/VirusTotal/virustotal.py b/analyzers/VirusTotal/virustotal.py
index <HASH>..<HASH> 100755
--- a/analyzers/VirusTotal/virustotal.py
+++ b/analyzers/VirusTotal/virustotal.py
@@ -36,7 +36,11 @@ class VirusTotalAnalyzer(Analyzer):
)
self.obs_path = None
self.proxies = self.... | add download as vt_pay case | TheHive-Project_Cortex-Analyzers | train | py |
08499749f77a6d2a72c4f460f222f6c0115c3ad7 | diff --git a/lib/external_authentication_cern_wrapper.py b/lib/external_authentication_cern_wrapper.py
index <HASH>..<HASH> 100644
--- a/lib/external_authentication_cern_wrapper.py
+++ b/lib/external_authentication_cern_wrapper.py
@@ -58,11 +58,6 @@ class AuthCernWrapper:
self._headers = {"Content-type": "appl... | By debugging via register_exceptions it appear that at random times a 'Connection reset by peer' error happend. Hence I try to solve this by opening the soap connection,
doing the request and closing it. It can be slow, but safer. | inveniosoftware_invenio-access | train | py |
106bf4aa4a1c8fbaef0a0d0a6659da04127bd7fe | diff --git a/App.php b/App.php
index <HASH>..<HASH> 100644
--- a/App.php
+++ b/App.php
@@ -28,13 +28,13 @@ class App extends AbstractHandler
/**
* App constructor
*
- * @param RequestHandlerInterface $businessLogicHandler The concrete request handler.
- * @param MiddlewareInterface|null $middl... | ♻️ rename Voltage\App constructor param | litphp_voltage | train | php |
bfec0496ef502b6eb5a5410e8f3e2e21a8a55fbd | diff --git a/examples/examples.py b/examples/examples.py
index <HASH>..<HASH> 100644
--- a/examples/examples.py
+++ b/examples/examples.py
@@ -35,7 +35,7 @@ def example_003_list_all_clients(plex):
def example_004_play_avatar_on_iphone(plex):
""" Example 4: Play the Movie Avatar on my iPhone. """
avatar = ple... | Fix / in playQueues; Update iphone-name | pkkid_python-plexapi | train | py,py |
53da35744219426e6bd8552a3a7a7a3470e70191 | diff --git a/src/reducer.js b/src/reducer.js
index <HASH>..<HASH> 100644
--- a/src/reducer.js
+++ b/src/reducer.js
@@ -200,7 +200,7 @@ const createReducer = structure => {
const previousValues = getIn(state, 'values')
const previousInitialValues = getIn(state, 'initial')
registeredFields.forE... | Fix form re-initializing when using Immutable (#<I>) | erikras_redux-form | train | js |
8c3f78a3cf399632a4e161eadf252f4c71918f68 | diff --git a/spec/danger_plugin_spec.rb b/spec/danger_plugin_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/danger_plugin_spec.rb
+++ b/spec/danger_plugin_spec.rb
@@ -44,6 +44,10 @@ module Danger
@swiftlint_response = '[{ "rule_id" : "force_cast", "reason" : "Force casts should be avoided.", "character" : 19... | Resetting the environment variable in an after(:each) block | ashfurrow_danger-ruby-swiftlint | train | rb |
26e7af92e5d4dd79a7bf598d1bee2efa0d675e80 | diff --git a/websrv/mux.go b/websrv/mux.go
index <HASH>..<HASH> 100644
--- a/websrv/mux.go
+++ b/websrv/mux.go
@@ -146,8 +146,8 @@ import (
"strings"
)
-// Handle registers handler to handle paths of the form given by pattern.
-func Handle(pattern string, handler interface{}) {
+// Handle registers fn to handle pa... | websrv: fix build (thanks Skip Tavakkolian) | rsc_rsc | train | go |
40f6179b86c7d48bf76608b0ee491d406f327c15 | diff --git a/lib/rails_email_preview/integrations/comfortable_mexica_sofa.rb b/lib/rails_email_preview/integrations/comfortable_mexica_sofa.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_email_preview/integrations/comfortable_mexica_sofa.rb
+++ b/lib/rails_email_preview/integrations/comfortable_mexica_sofa.rb
@@ -9,7 +... | Compatibly with namespaced mailers for the CMS | glebm_rails_email_preview | train | rb |
2fb02ebb87ae11385b5ab8aab25e21b58e5387cf | diff --git a/algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java b/algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
index <HASH>..<HASH> 100644
--- a/algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
+++ b/algoliasearch/src/offline/java/com/algolia/... | [offline] Forbid syncs with no data selection queries | algolia_algoliasearch-client-android | train | java |
48ebf1ce3de5ad188718622b2cabee30dccd4a93 | diff --git a/Supra/Package/Cms/Pages/Request/PageRequest.php b/Supra/Package/Cms/Pages/Request/PageRequest.php
index <HASH>..<HASH> 100644
--- a/Supra/Package/Cms/Pages/Request/PageRequest.php
+++ b/Supra/Package/Cms/Pages/Request/PageRequest.php
@@ -869,6 +869,15 @@ abstract class PageRequest extends Request implement... | PageController now detects locale correctly (though, using wrong approach) | sitesupra_sitesupra | train | php |
ebfb7dc97d50ceada450e01f4f4b1377f0ae6057 | diff --git a/lib/xray/engine.rb b/lib/xray/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/xray/engine.rb
+++ b/lib/xray/engine.rb
@@ -31,7 +31,7 @@ module Xray
def render_with_xray(*args, &block)
path = identifier
source = render_without_xray(*args, &block)
- suitable_template =... | Add hamlc to supported templates | brentd_xray-rails | train | rb |
cc37125b9d185bcc0c662b4d9de4c70de69e05a1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ if root_dir != '':
os.chdir(root_dir)
src_dir = "sqlakombu"
-install_requires = []
+install_requires = ["sqlalchemy", "kombu"]
def osx_install_data(install_data): | Added Kombu + SQLAlchemy to install_requires | ask_kombu-sqlalchemy | train | py |
d8e9e1d1d3ba8f778037e03b0f5674648f5daf48 | diff --git a/tests/file-metadata.test.js b/tests/file-metadata.test.js
index <HASH>..<HASH> 100644
--- a/tests/file-metadata.test.js
+++ b/tests/file-metadata.test.js
@@ -46,7 +46,7 @@ describe('after uploading a file using this adapter, Skipper', function() {
it('should be an object', function (){
_.each... | Use _.isObject instead of typeof to avoid false positives with null. | balderdashy_skipper-adapter-tests | train | js |
6e74bdc25df66792a4d28c64386ac793c9b6ae38 | diff --git a/src/Jaguar/Canvas/CanvasInterface.php b/src/Jaguar/Canvas/CanvasInterface.php
index <HASH>..<HASH> 100644
--- a/src/Jaguar/Canvas/CanvasInterface.php
+++ b/src/Jaguar/Canvas/CanvasInterface.php
@@ -212,19 +212,6 @@ interface CanvasInterface {
public function fill(ColorInterface $color, Coordinate $coo... | Removed "fillPattern" from CanvasInterface | hyyan_jaguar | train | php |
c45ba2ab8d85c160508de216cf92d5e2ebd78fec | diff --git a/src/ChipInput.js b/src/ChipInput.js
index <HASH>..<HASH> 100644
--- a/src/ChipInput.js
+++ b/src/ChipInput.js
@@ -318,6 +318,9 @@ class ChipInput extends React.Component {
overrideRootStyles.cursor = 'not-allowed'
}
+ const chips = this.props.value || this.state.chips
+ const autoComple... | Remove chips from autocomplete that are already selected.
#8 | TeamWertarbyte_material-ui-chip-input | train | js |
47b27cf39c9630ba519cb971480ff25ee44906b6 | diff --git a/photutils/detection/findstars.py b/photutils/detection/findstars.py
index <HASH>..<HASH> 100644
--- a/photutils/detection/findstars.py
+++ b/photutils/detection/findstars.py
@@ -929,7 +929,6 @@ class DAOStarFinder(StarFinderBase):
If no stars are found then an empty table is returned.
- ... | removing duplicate references [docs only] | astropy_photutils | train | py |
64e272c36105983f8671e744ca0ded4daeef5f2d | diff --git a/wffweb/src/main/java/com/webfirmframework/wffweb/internal/ObjectId.java b/wffweb/src/main/java/com/webfirmframework/wffweb/internal/ObjectId.java
index <HASH>..<HASH> 100644
--- a/wffweb/src/main/java/com/webfirmframework/wffweb/internal/ObjectId.java
+++ b/wffweb/src/main/java/com/webfirmframework/wffweb/... | Minor improvements related to internal objectId | webfirmframework_wff | train | java |
d6a999736d1ae6cd553dbc4af41d57e8a04539bb | diff --git a/alib/src/main/java/net/darkmist/alib/collection/CollectionUtil.java b/alib/src/main/java/net/darkmist/alib/collection/CollectionUtil.java
index <HASH>..<HASH> 100644
--- a/alib/src/main/java/net/darkmist/alib/collection/CollectionUtil.java
+++ b/alib/src/main/java/net/darkmist/alib/collection/CollectionUti... | change from abstract to concrete with private construtor, add javadoc | schallee_alib4j | train | java |
7bbb4ee33ee9e91109dfe166ebc0d173716f7eae | diff --git a/lib/github-backup.rb b/lib/github-backup.rb
index <HASH>..<HASH> 100644
--- a/lib/github-backup.rb
+++ b/lib/github-backup.rb
@@ -17,8 +17,14 @@ class Github::Backup
if (options[:token] && !options[:login])
options[:login] = @username
end
+
@debug = false
- @client = Octokit::Clien... | Create authenticated client if token option is set
If a token is passed as an option, create a client authenticated by the
token, otherwise just create an unauthenticated client.
An unauthenticated client can only access public repositories for the
given username.
Also renames incorrect :oauth_token option to :acces... | ddollar_github-backup | train | rb |
7f00e370992a1ad8df2ce4993f3399c6bcdbaa13 | diff --git a/src/Server.php b/src/Server.php
index <HASH>..<HASH> 100644
--- a/src/Server.php
+++ b/src/Server.php
@@ -1,8 +1,6 @@
<?php
namespace Jasny\SSO;
-require_once __DIR__ . '/../vendor/autoload.php';
-
use Desarrolla2\Cache\Cache;
use Desarrolla2\Cache\Adapter;
@@ -145,6 +143,7 @@ abstract class Server... | Removed require_once from Server.php | legalthings_sso | train | php |
7a93d2cb818542e3d4e9de70d7ab723eaa9ee303 | diff --git a/lib/nugrant/version.rb b/lib/nugrant/version.rb
index <HASH>..<HASH> 100644
--- a/lib/nugrant/version.rb
+++ b/lib/nugrant/version.rb
@@ -1,3 +1,3 @@
module Nugrant
- VERSION = "1.1.1.dev1"
+ VERSION = "2.0.0.dev1"
end | Bumped version to <I> development
* Next changes will introduced BC with old config and parameters
system. | maoueh_nugrant | train | rb |
94af020c11ee0d640869ea2ba9f80427ccd0a17a | diff --git a/Command/JobsCommand.php b/Command/JobsCommand.php
index <HASH>..<HASH> 100644
--- a/Command/JobsCommand.php
+++ b/Command/JobsCommand.php
@@ -104,9 +104,11 @@ class JobsCommand extends Command
protected function getContext()
{
$container = $this->getContainer();
+ $aimeos = $container->get('aimeos'... | Provide HTML client templates to job controllers | aimeos_aimeos-symfony | train | php |
d63a77d8b1607d299d836b126c8e8bf81bcc2c68 | diff --git a/build.go b/build.go
index <HASH>..<HASH> 100644
--- a/build.go
+++ b/build.go
@@ -210,7 +210,7 @@ func createPackage(options linuxPackageOptions) {
// copy sample ini file to /etc/grafana
runPrint("cp", "conf/sample.ini", filepath.Join(packageRoot, options.configFilePath))
// copy sample ldap toml co... | fix(build): fixed ldap config file sample issue and build script | grafana_grafana | train | go |
f5fc87e968c97147ed953750bf885c6af581019b | diff --git a/sources/scala/tools/scalai/ExpressionCompiler.java b/sources/scala/tools/scalai/ExpressionCompiler.java
index <HASH>..<HASH> 100644
--- a/sources/scala/tools/scalai/ExpressionCompiler.java
+++ b/sources/scala/tools/scalai/ExpressionCompiler.java
@@ -218,7 +218,7 @@ public class ExpressionCompiler {
... | - Simplified by using isStatic | scala_scala | train | java |
0ec01f4e78229f1424c7c64465291d52af5bfad0 | diff --git a/internal/versioner/staggered.go b/internal/versioner/staggered.go
index <HASH>..<HASH> 100644
--- a/internal/versioner/staggered.go
+++ b/internal/versioner/staggered.go
@@ -116,10 +116,11 @@ func (v Staggered) clean() {
}
} else {
// Regular file, or possibly a symlink.
-
- extension := filen... | Distinguish files with same name but different extension in staggered versioner (fixes #<I>) | syncthing_syncthing | train | go |
6c26d39f65a66429ae1ec9a00d9676f29c408c45 | diff --git a/{{cookiecutter.project_slug}}/config/settings/base.py b/{{cookiecutter.project_slug}}/config/settings/base.py
index <HASH>..<HASH> 100644
--- a/{{cookiecutter.project_slug}}/config/settings/base.py
+++ b/{{cookiecutter.project_slug}}/config/settings/base.py
@@ -110,9 +110,15 @@ MANAGERS = ADMINS
# See: ht... | Unconditionally connect to database from DATABASE_URL env when opting for Docker
Closes #<I>. | pydanny_cookiecutter-django | train | py |
4e47f089d6af2eb938687817245a36466be4c987 | diff --git a/lib/sprinkle/deployment.rb b/lib/sprinkle/deployment.rb
index <HASH>..<HASH> 100644
--- a/lib/sprinkle/deployment.rb
+++ b/lib/sprinkle/deployment.rb
@@ -80,10 +80,10 @@ module Sprinkle
end
rescue Sprinkle::Errors::RemoteCommandFailure => e
e.print_summary
- exit
+ ex... | Squashed commit of the following:
commit 5ff<I>ca<I>dda<I>b<I>d<I>f<I>e<I>a3 | sprinkle-tool_sprinkle | train | rb |
786f3cc79b00c059f717207f59391414db23565e | diff --git a/rating/lib.php b/rating/lib.php
index <HASH>..<HASH> 100644
--- a/rating/lib.php
+++ b/rating/lib.php
@@ -32,6 +32,8 @@ define ('RATING_AGGREGATE_MAXIMUM', 3);
define ('RATING_AGGREGATE_MINIMUM', 4);
define ('RATING_AGGREGATE_SUM', 5);
+define ('RATING_SCALE_OUT_OF_5', 5);
+
/**
* The rating class r... | rating MDL-<I> put default scale in a constant | moodle_moodle | train | php |
44b0e7d58cdab721ca4bd02d7f99fc6aad4c9ef1 | diff --git a/src/Symfony/Component/ErrorRenderer/Exception/FlattenException.php b/src/Symfony/Component/ErrorRenderer/Exception/FlattenException.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/ErrorRenderer/Exception/FlattenException.php
+++ b/src/Symfony/Component/ErrorRenderer/Exception/FlattenException.p... | Created alias to FlattenException to avoid BC break | symfony_symfony | train | php |
51843d8e8ee43ab3918521421d4bc91a4642056f | diff --git a/codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttConnectPayload.java b/codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttConnectPayload.java
index <HASH>..<HASH> 100644
--- a/codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttConnectPayload.java
+++ b/codec-mqtt/src/main/java/io/netty/... | MqttConnectPayload.toString() should use Arrays.toString() instead of [].toString() (#<I>)
Motivation:
The toString() method should use Arrays.toString() to produce a meaningful String representation for arrays.
Modification:
Use Arrays.toString()
Result:
More useful toString() implementation | netty_netty | train | java |
4420e370ffd2e08ab43ed6c390ea8c91c762e19d | diff --git a/zipline/gens/tradesimulation.py b/zipline/gens/tradesimulation.py
index <HASH>..<HASH> 100644
--- a/zipline/gens/tradesimulation.py
+++ b/zipline/gens/tradesimulation.py
@@ -223,7 +223,6 @@ class AlgorithmSimulator(object):
self.process_event(event)
if benchmark_event_occurred:
... | MAINT: Move call to `updated_portfolio` in `AlgorithmSimulator`.
We guarantee that `TradingAlgorithm.updated_portfolio` is called at least once
between each perf message emission. This change moves that guaranteed call
into `AlgorithmSimulator.get_message` and adds a comment to make it clear why
updated_portfolio is ... | quantopian_zipline | train | py |
a0c8f1e3de2bc7a7c7b52b9fe6de35e4fc817ea7 | diff --git a/src/rez/resolved_context.py b/src/rez/resolved_context.py
index <HASH>..<HASH> 100644
--- a/src/rez/resolved_context.py
+++ b/src/rez/resolved_context.py
@@ -1520,7 +1520,7 @@ class ResolvedContext(object):
amqp_settings=config.context_tracking_amqp,
routing_key=routing_key,
... | replace async reserved keyword with block, invert conditionals/defaults | nerdvegas_rez | train | py,py |
21d88179d162e2673591c3a01d6e8838a6cc1beb | diff --git a/liquibase-core/src/main/java/liquibase/diff/output/StandardObjectChangeFilter.java b/liquibase-core/src/main/java/liquibase/diff/output/StandardObjectChangeFilter.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/diff/output/StandardObjectChangeFilter.java
+++ b/liquibase-core/s... | CORE-<I> includeObjects/excludeObjects not work for UniqueConstraint. Change filter change to check for UniqueConstraints. | liquibase_liquibase | train | java |
ac20d5498debaa650f56ef7451102ce8bfb29ea6 | diff --git a/groupy/api/endpoint.py b/groupy/api/endpoint.py
index <HASH>..<HASH> 100644
--- a/groupy/api/endpoint.py
+++ b/groupy/api/endpoint.py
@@ -521,6 +521,29 @@ class Users(Endpoint):
)
return cls.response(r)
+ @classmethod
+ def update(cls, avatar_url=None, name=None, email=None, zip_c... | Adds support for updating user info
Adds new method Users.update() that allows the modification of the user's avatar_url, name, email, and zip_code. | rhgrant10_Groupy | train | py |
6c740900b895e1ab40d1df7b3b4a6cbc20413297 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,6 @@ setup(name='CleanerVersion',
license='Apache License 2.0',
packages=find_packages(exclude=['cleanerversion.settings.*']),
url='https://github.com/swisscom/cleanerversion',
- install_req... | Removed django-dependency from setup.py to remove testing interference | swisscom_cleanerversion | train | py |
4a85755f9013e760ef0e3c608f936beb894da3c3 | diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/selinux.py
+++ b/sos/plugins/selinux.py
@@ -13,6 +13,7 @@
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
from sos.plugins import Plugin, RedHatPlugin
+from os.path import join
class SELinux(Pl... | Add ausearch and semange customisations to SELinux plug-in | sosreport_sos | train | py |
916479811a154c0b282591ae4380de548a235271 | diff --git a/app/models/profile.rb b/app/models/profile.rb
index <HASH>..<HASH> 100644
--- a/app/models/profile.rb
+++ b/app/models/profile.rb
@@ -1,6 +1,7 @@
class Profile < ActiveRecord::Base
serialize :modules
validates_uniqueness_of :label
+ has_and_belongs_to_many :rights
ADMIN = 'admin' | Reciprocate relation between rights and profiles | publify_publify | train | rb |
9768e32c73dd497af627bf70ca14249e33b0e31f | diff --git a/src/wtf/trace/providers/xhrprovider.js b/src/wtf/trace/providers/xhrprovider.js
index <HASH>..<HASH> 100644
--- a/src/wtf/trace/providers/xhrprovider.js
+++ b/src/wtf/trace/providers/xhrprovider.js
@@ -93,12 +93,15 @@ wtf.trace.providers.XhrProvider.prototype.injectXhr_ = function() {
var descriptor = w... | Adding XHR constructor events. | google_tracing-framework | train | js |
4f829a371230d3b344e14e291020d8836a56ef98 | diff --git a/sendsms/backends/esendex.py b/sendsms/backends/esendex.py
index <HASH>..<HASH> 100644
--- a/sendsms/backends/esendex.py
+++ b/sendsms/backends/esendex.py
@@ -4,8 +4,7 @@ from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.utils.encoding import force_unicod... | Remove lxml imports | stefanfoulis_django-sendsms | train | py |
105f74b254ab3773d3adc17ca017cba0fa73c03d | diff --git a/src/server/views/helpers/handlebars.js b/src/server/views/helpers/handlebars.js
index <HASH>..<HASH> 100644
--- a/src/server/views/helpers/handlebars.js
+++ b/src/server/views/helpers/handlebars.js
@@ -28,18 +28,18 @@ const helpers = {
},
block(name) {
- var blocks = this._blocks;
- content =... | Make sure variables are declared; use ES6 syntax consistently | bee-queue_arena | train | js |
7eb08c1f11fb5393bee95841eaaf7e5c3daf802a | diff --git a/test/tools/javac/diags/Example.java b/test/tools/javac/diags/Example.java
index <HASH>..<HASH> 100644
--- a/test/tools/javac/diags/Example.java
+++ b/test/tools/javac/diags/Example.java
@@ -421,7 +421,7 @@ class Example implements Comparable<Example> {
if (verbose)
System.err.... | <I>: options included twice in Example SimpleCompiler
Reviewed-by: darcy | wmdietl_jsr308-langtools | train | java |
d8c2213b22a60f50cf567d79a76d659869aba5b2 | diff --git a/dpark/rdd.py b/dpark/rdd.py
index <HASH>..<HASH> 100644
--- a/dpark/rdd.py
+++ b/dpark/rdd.py
@@ -1566,7 +1566,8 @@ import binascii
try:
import quicklz
except ImportError:
- pass
+ quicklz = None
+
try:
from fnv1a import get_hash
def fnv1a(d):
@@ -1609,7 +1610,7 @@ def restore_value... | bugfix: saveAsBeansdb with compress=True | douban_dpark | train | py |
6bfaca370a76de93a4617754add713910b456cb6 | diff --git a/src/Krystal/Iso/ISO3166/Country.php b/src/Krystal/Iso/ISO3166/Country.php
index <HASH>..<HASH> 100644
--- a/src/Krystal/Iso/ISO3166/Country.php
+++ b/src/Krystal/Iso/ISO3166/Country.php
@@ -299,7 +299,7 @@ final class Country
*/
public function getCountryByCode($code)
{
- return $thi... | Make sure a code exists, before returning a value | krystal-framework_krystal.framework | train | php |
7c877819adf738b519a5776fb2d4ad35b7f096a1 | diff --git a/lib/analyze/browsertime.js b/lib/analyze/browsertime.js
index <HASH>..<HASH> 100644
--- a/lib/analyze/browsertime.js
+++ b/lib/analyze/browsertime.js
@@ -133,12 +133,12 @@ function runBrowsertime(args, callback) {
var bt = spawn('java', childArgs);
bt.stdout.on('data', function(data) {
- //conso... | more logging to get firefox work on travis | sitespeedio_sitespeed.io | train | js |
3c805ead74f0ac7015d6818348119eec29677786 | diff --git a/lib/easy_app_helper/scripts/sub_command_manager.rb b/lib/easy_app_helper/scripts/sub_command_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/easy_app_helper/scripts/sub_command_manager.rb
+++ b/lib/easy_app_helper/scripts/sub_command_manager.rb
@@ -8,6 +8,10 @@ module EasyAppHelper
EasyAppHelper.... | Fixed running sub-command using alias | lbriais_easy_app_helper | train | rb |
cc28bf751b73db25069c2918f46c592cfc1ab18b | diff --git a/lib/xmpp/session.js b/lib/xmpp/session.js
index <HASH>..<HASH> 100644
--- a/lib/xmpp/session.js
+++ b/lib/xmpp/session.js
@@ -166,7 +166,10 @@ Session.prototype.resume = function() {
Session.prototype.send = function(stanza) {
if (this.connection)
- this.connection.send(stanza.root())
+ ... | make user send xml string directly instead of ltx object | xmppjs_xmpp.js | train | js |
5756b7b31de4ca7b6945fe01967a079808cd76e7 | diff --git a/cli/typings.js b/cli/typings.js
index <HASH>..<HASH> 100644
--- a/cli/typings.js
+++ b/cli/typings.js
@@ -14,7 +14,8 @@ const tsTypeMapping = {
Date: 'Date',
GeoPoint: 'GeoPoint',
JsonArray: '[]',
- JsonObject: '{}'
+ JsonObject: '{}',
+ File: 'binding.File'
};
const nativeTypes = ['User', ... | Correctly generate file references in typings (fix #<I>) | Baqend_js-sdk | train | js |
17f3f81484ab356e6a235980de375065a3287998 | diff --git a/harvestingkit/contrast_out.py b/harvestingkit/contrast_out.py
index <HASH>..<HASH> 100644
--- a/harvestingkit/contrast_out.py
+++ b/harvestingkit/contrast_out.py
@@ -58,7 +58,8 @@ except ImportError:
register_exception = lambda a=1, b=2: True
from .ftp_utils import FtpHandler
-from .scoap3utils imp... | contrast_out: fix missing MD5Error import | inspirehep_harvesting-kit | train | py |
99350223a6ac83bde770d1189787ffa93d3f2e3c | diff --git a/termbox_windows.go b/termbox_windows.go
index <HASH>..<HASH> 100644
--- a/termbox_windows.go
+++ b/termbox_windows.go
@@ -522,8 +522,16 @@ func prepare_diff_messages() {
}
}
+func get_ct(table []word, idx int) word {
+ idx = idx & 0x0F
+ if idx >= len(table) {
+ idx = len(table) - 1
+ }
+ return tabl... | Add function to get color from table on Windows | nsf_termbox-go | train | go |
a32bbe7d51383f9b67aa6268492b6f65fefc1470 | diff --git a/grammpy/Rule.py b/grammpy/Rule.py
index <HASH>..<HASH> 100644
--- a/grammpy/Rule.py
+++ b/grammpy/Rule.py
@@ -9,20 +9,25 @@ Part of grammpy
from .Constants import EPSILON
+
class Rule:
right = [EPSILON]
left = [EPSILON]
rule = ([EPSILON], [EPSILON])
rules = [([EPSILON], [EPSILON])... | is_ methods in Rule mark as static | PatrikValkovic_grammpy | train | py |
fea39940f1a828dbfaf55e928134a72d235a1291 | diff --git a/lib/reel/response_writer.rb b/lib/reel/response_writer.rb
index <HASH>..<HASH> 100644
--- a/lib/reel/response_writer.rb
+++ b/lib/reel/response_writer.rb
@@ -34,13 +34,17 @@ module Reel
@socket << response.body
when IO
begin
- if !defined?(JRUBY_VERSION)
- ... | Defer IO.copy_stream
Otherwise these calls will block Reel's reactor | celluloid_reel | train | rb |
c6e1ad1b68e0b394eb16c703ed7fe495ff293c2e | diff --git a/src/main/org/codehaus/groovy/classgen/asm/WriterController.java b/src/main/org/codehaus/groovy/classgen/asm/WriterController.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/classgen/asm/WriterController.java
+++ b/src/main/org/codehaus/groovy/classgen/asm/WriterController.java
@@ -65,7 ... | Set the default version of bytecode as <I> | apache_groovy | train | java |
3818c4a3e2fb1215d444b826e91b883cae2bf6b4 | diff --git a/tools/log_tools/logmerger.py b/tools/log_tools/logmerger.py
index <HASH>..<HASH> 100755
--- a/tools/log_tools/logmerger.py
+++ b/tools/log_tools/logmerger.py
@@ -176,7 +176,7 @@ class LogfilePackage():
raise IOError(f + " isn't a valid logfile package")
def get_logs(self):
- pat ... | fix regex of server logs in logfile package | VoltDB_voltdb | train | py |
4526454a1844679955f4a4a2a913492ab2959627 | diff --git a/src/bosh/agent/action/mount_disk.go b/src/bosh/agent/action/mount_disk.go
index <HASH>..<HASH> 100644
--- a/src/bosh/agent/action/mount_disk.go
+++ b/src/bosh/agent/action/mount_disk.go
@@ -2,18 +2,22 @@ package action
import (
bosherr "bosh/errors"
- boshplatform "bosh/platform"
boshsettings "bosh/... | Use an unexported interface for mounting disk
Smaller interfaces FTW | cloudfoundry_bosh-agent | train | go |
8b0e61523246b8b29bd88157bf892523a4a2068c | diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Command/ShowCommand.php
+++ b/src/Composer/Command/ShowCommand.php
@@ -256,6 +256,8 @@ EOT
}
if (Platform::isWindows()) {
$width--;
+ } else {
+ ... | Assume at least <I>char wide terminal, fixes #<I> | composer_composer | train | php |
9482961b1cfd2e72200edddf7b015e8ba4ee5169 | diff --git a/agent/consul/stream/event_snapshot_test.go b/agent/consul/stream/event_snapshot_test.go
index <HASH>..<HASH> 100644
--- a/agent/consul/stream/event_snapshot_test.go
+++ b/agent/consul/stream/event_snapshot_test.go
@@ -121,6 +121,12 @@ func TestEventSnapshot(t *testing.T) {
require.NoError(t, err,
... | stream: handle empty event in TestEventSnapshot
When the race detector is enabled we see this test fail occasionally. The reordering of execution seems to make it possible for the snapshot splice to happen before any events are published to the topicBuffers.
We can handle this case in the test the same way it is hand... | hashicorp_consul | train | go |
fb38c5c88da4183ba325cb4fbc2eb83fe30f04a8 | diff --git a/lib/skittles/client/venue.rb b/lib/skittles/client/venue.rb
index <HASH>..<HASH> 100644
--- a/lib/skittles/client/venue.rb
+++ b/lib/skittles/client/venue.rb
@@ -175,6 +175,10 @@ module Skittles
# @option options [String] query A search term to be applied against titles.
# @option options [Integer]... | Updated documentation for venue search endpoint. | anthonator_skittles | train | rb |
696a7f96202d591a4dccf0cb8f62a291c61bdab7 | diff --git a/core/src/main/java/hudson/model/User.java b/core/src/main/java/hudson/model/User.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/User.java
+++ b/core/src/main/java/hudson/model/User.java
@@ -477,8 +477,18 @@ public class User extends AbstractModelObject implements AccessControlled, D... | Add API to allow complete roundtrip from Authentication to User
Without this change you need to do:
```
User user;
final SecurityContext oldContext = ACL.impersonate(a);
try {
user = User.current();
} finally {
SecurityContextHolder.setContext(oldContext);
}
```
Which seems incredibly wasteful.
Or else you ... | jenkinsci_jenkins | train | java |
2be3a0a8e169cd3fcd139703e80bafa88e275d8c | diff --git a/imagemounter/volume.py b/imagemounter/volume.py
index <HASH>..<HASH> 100644
--- a/imagemounter/volume.py
+++ b/imagemounter/volume.py
@@ -558,7 +558,7 @@ class Volume(object):
# we have two possible sources for determining the FS type: the description given to us by the detection
... | There's no point in checking statfstype in determine_fs_type, since fsstat data is loaded after determining the fs type. | ralphje_imagemounter | train | py |
73b71844bdbe17659c7baaec5fd41a7eeadb0da6 | diff --git a/tabula/file_util.py b/tabula/file_util.py
index <HASH>..<HASH> 100644
--- a/tabula/file_util.py
+++ b/tabula/file_util.py
@@ -1,5 +1,6 @@
import os
import shutil
+import uuid
from urllib.parse import quote, urlparse, uses_netloc, uses_params, uses_relative
from urllib.request import Request, urlopen
... | fix: create unique file name for temporaly file
Since creating pid based file name causes multi thread issue, i.e.,
temporary file will be removed with concurrent task. Use uuid instead of
pid to prevent unintended removal with io.BytesIO.
close #<I> | chezou_tabula-py | train | py |
b38f683e2a878647e3b994a4cc87aa7cff4a4694 | diff --git a/holoviews/plotting/bokeh/callbacks.py b/holoviews/plotting/bokeh/callbacks.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/callbacks.py
+++ b/holoviews/plotting/bokeh/callbacks.py
@@ -8,6 +8,7 @@ from ...core import OrderedDict
from ...streams import (Stream, PointerXY, RangeXY, Selection1D,... | Configured callbacks for deprecated position streams | pyviz_holoviews | train | py |
4545fc38901e00ccdfb6f33b4745c3bba742a6c6 | diff --git a/lib/pclzip/pclzip.lib.php b/lib/pclzip/pclzip.lib.php
index <HASH>..<HASH> 100644
--- a/lib/pclzip/pclzip.lib.php
+++ b/lib/pclzip/pclzip.lib.php
@@ -2629,7 +2629,7 @@
$v_result=1;
// ----- Check the path
- if (($p_path == "") || ((substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3) !... | Solved one condition that caused some errors in Win<I> when extracting. | moodle_moodle | train | php |
ce3f4f11c0717217544eb488a870e07a1900a26d | diff --git a/kubernetes_asyncio/watch/watch_test.py b/kubernetes_asyncio/watch/watch_test.py
index <HASH>..<HASH> 100644
--- a/kubernetes_asyncio/watch/watch_test.py
+++ b/kubernetes_asyncio/watch/watch_test.py
@@ -86,7 +86,7 @@ class WatchTest(TestCase):
cnt = 0
async for _ in watch.stream(fake_api.g... | PR feedback: use `assertEqual` instead of `assert` | tomplus_kubernetes_asyncio | train | py |
51bb07a23a531f5f4b37cb48e7931f93d7fb06e0 | diff --git a/src/dhis2.angular.services.js b/src/dhis2.angular.services.js
index <HASH>..<HASH> 100644
--- a/src/dhis2.angular.services.js
+++ b/src/dhis2.angular.services.js
@@ -92,7 +92,7 @@ var d2Services = angular.module('d2Services', ['ngResource'])
authority.canUncompleteEvent = auth['F_UNCOMPLETE_EV... | Currently, F_EDIT_EXPIRED_STUFF does not exist on backend, created a new auth F_EDIT_EXPIRED. | dhis2_d2-tracker | train | js |
09b43fd0963f54671a2774912961b39733276927 | diff --git a/simra/engine.go b/simra/engine.go
index <HASH>..<HASH> 100644
--- a/simra/engine.go
+++ b/simra/engine.go
@@ -50,18 +50,22 @@ func (simra *Simra) onUpdate() {
if p1.x >= (x2-w2/2) && p1.x <= (x2+w2/2) &&
p1.y >= (y2-h2/2) && p1.y <= (y2+h2/2) {
v.listener.OnCollision()
+ return
}
if p2.x... | [#<I>] add missing return in collision detection | pankona_gomo-simra | train | go |
2ca5c01c5295c1ea11653fdee0c5e71be00f237a | diff --git a/components/header/header.js b/components/header/header.js
index <HASH>..<HASH> 100644
--- a/components/header/header.js
+++ b/components/header/header.js
@@ -348,7 +348,6 @@ export default class Header extends RingComponent {
_getLinkElement(href, isActive, className, children) {
const fullClassNam... | RG-<I>: Fixed. Services popup list has wrong markup
Former-commit-id: 0b4e9c<I>bab0f<I>c3ccca<I>c1ac<I>ec | JetBrains_ring-ui | train | js |
1eea43e669a0b506c3460e8392ff0ffb158d26a4 | diff --git a/test/spec/ol/source/raster.test.js b/test/spec/ol/source/raster.test.js
index <HASH>..<HASH> 100644
--- a/test/spec/ol/source/raster.test.js
+++ b/test/spec/ol/source/raster.test.js
@@ -594,6 +594,23 @@ where('Uint8ClampedArray').describe('Processor', function () {
done();
}, 1000);
})... | Add test for multiple raster threads | openlayers_openlayers | train | js |
95786a807083224a4d0f764cb9e426495f7b6e37 | diff --git a/python/dllib/test/bigdl/test_simple_integration.py b/python/dllib/test/bigdl/test_simple_integration.py
index <HASH>..<HASH> 100644
--- a/python/dllib/test/bigdl/test_simple_integration.py
+++ b/python/dllib/test/bigdl/test_simple_integration.py
@@ -263,7 +263,7 @@ class TestSimple():
print(st... | Refactor Python API: model test to model evaluation (#<I>)
* Change model.test to model.evaluate in Python
* Add model evaluation code in docs and correct some typo
* update docs
* Remove duplicate evaluate(self) definition from previous two PRs
* fix same function name but different arguments for evaluate... | intel-analytics_BigDL | train | py |
c880a7437f39c60e20c8c9a9ed92af18370da144 | diff --git a/PyFunceble.py b/PyFunceble.py
index <HASH>..<HASH> 100755
--- a/PyFunceble.py
+++ b/PyFunceble.py
@@ -642,7 +642,7 @@ class AutoSave(object):
time_of_start = int(Settings.start) + \
(int(Settings.travis_autosave_minutes) * 60)
- if current_time >= time_of_start or self.last:
... | Fix PyFunceble.bypass() not working as it should be | funilrys_PyFunceble | train | py |
107995534992b53c4dd13cce98202460a4564909 | diff --git a/library/Theme/Archive.php b/library/Theme/Archive.php
index <HASH>..<HASH> 100644
--- a/library/Theme/Archive.php
+++ b/library/Theme/Archive.php
@@ -15,7 +15,9 @@ class Archive
public function replaceGridClasses($classname)
{
+
$classname = str_replace('grid-md-12', 'o-grid-12@md', $c... | Added o-grid-6@md to filter | helsingborg-stad_Municipio | train | php |
ba191f2f9557ca3ade1c353650f0ddc9d8d30d53 | diff --git a/lib/parameters/instance_param.rb b/lib/parameters/instance_param.rb
index <HASH>..<HASH> 100644
--- a/lib/parameters/instance_param.rb
+++ b/lib/parameters/instance_param.rb
@@ -14,11 +14,14 @@ module Parameters
# @param [Symbol, String] name
# The name of the instance parameter.
#
+ # ... | Added type coersion to InstanceParam#value=. | postmodern_parameters | train | rb |
e44fc503e6f5fefabd7e1cca49191003a7727ed2 | diff --git a/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/config/etcd.go b/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/config/etcd.go
index <HASH>..<HASH> 100644
--- a/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/config/etcd.g... | UPSTREAM: Use ExtractObj instead of ExtractList in Kubelet
Resulted in running pods being stopped when the Kubelet was restarted. | openshift_origin | train | go |
1882a789ac4afdd91a04b77a04bbf3cdcc3f3654 | diff --git a/test/e2e/pd.go b/test/e2e/pd.go
index <HASH>..<HASH> 100644
--- a/test/e2e/pd.go
+++ b/test/e2e/pd.go
@@ -74,8 +74,7 @@ var _ = framework.KubeDescribe("Pod Disks", func() {
mathrand.Seed(time.Now().UTC().UnixNano())
})
- // Flaky-- Issue #27691
- It("[Flaky] should schedule a pod w/ a RW PD, ungrace... | Move ungraceful PD tests out of flaky | kubernetes_kubernetes | train | go |
178a25cad08890f8fbab0242192aae45a82cdd53 | diff --git a/structr/structr-rest/src/main/java/org/structr/rest/resource/IdsOnlyResource.java b/structr/structr-rest/src/main/java/org/structr/rest/resource/IdsOnlyResource.java
index <HASH>..<HASH> 100644
--- a/structr/structr-rest/src/main/java/org/structr/rest/resource/IdsOnlyResource.java
+++ b/structr/structr-res... | temporarily allow PUT/POST/DELETE again | structr_structr | train | java |
b5b10bf1afcfa90970b3e517355d1bd5e75982fa | diff --git a/livetests.py b/livetests.py
index <HASH>..<HASH> 100755
--- a/livetests.py
+++ b/livetests.py
@@ -51,7 +51,7 @@ def _initialize(api):
api.get("/changes/")
-@pytest.fixture(scope="module", params=["2.16.22", "3.0.12", "3.1.8", "3.2.3"])
+@pytest.fixture(scope="module", params=["2.16.22", "3.0.13", ... | Update livetests to use the latest Gerrit <I> | dpursehouse_pygerrit2 | train | py |
ae0e6d50113a6cea21e93bcc7eda7932ad78e02b | diff --git a/bokeh/charts/bar.py b/bokeh/charts/bar.py
index <HASH>..<HASH> 100644
--- a/bokeh/charts/bar.py
+++ b/bokeh/charts/bar.py
@@ -25,7 +25,7 @@ except ImportError:
print("bokeh.charts needs numpy installed to work properly!")
raise
-from ._chartobject import ChartObject
+from ._charts import Chart
... | move some attrs initiation to Chart | bokeh_bokeh | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.