hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
61ff27b12b2189b5b9e3e046b66cf940d5221636 | diff --git a/lib/jsdom/browser/index.js b/lib/jsdom/browser/index.js
index <HASH>..<HASH> 100644
--- a/lib/jsdom/browser/index.js
+++ b/lib/jsdom/browser/index.js
@@ -58,30 +58,50 @@ exports.windowAugmentation = function(dom, options) {
return window;
};
+/*
+ inheritance from a native object
+ http://www.mail-ar... | Fixed JavaScript to run in a shared context.
Made the window to inherit node::Context native object.
Used the undocumented but ever existed runInContext method.
I have done a quite extensive research about it <URL> | jsdom_jsdom | train |
4f78849e47e28243eeab22b9ca9f526b699a0afe | diff --git a/src/config.js b/src/config.js
index <HASH>..<HASH> 100644
--- a/src/config.js
+++ b/src/config.js
@@ -429,7 +429,11 @@ export function newConfig() {
function callbackWithBidder(bidder) {
return function(cb) {
return function(...args) {
- return runWithBidder(bidder, utils.bind.call(cb... | add validation to callbackWithBidder to ensure called with function (#<I>)
* add validation to callbackWithBidder to ensure called with function
* better error message in callbackWithBidder | prebid_Prebid.js | train |
b2eb233e59c7f57696a9298e3af635cf23e8dc39 | diff --git a/state/cloudimagemetadata/image.go b/state/cloudimagemetadata/image.go
index <HASH>..<HASH> 100644
--- a/state/cloudimagemetadata/image.go
+++ b/state/cloudimagemetadata/image.go
@@ -75,7 +75,6 @@ func (s *storage) SaveMetadata(metadata Metadata) error {
err := s.runTransaction(buildTxn)
if err != nil... | Added source. Key is back to being attributes amalgamation. More comments. | juju_juju | train |
0d1d252e380d460bd481ef09e2b7714929ed08e3 | diff --git a/Controller/RssReaderController.php b/Controller/RssReaderController.php
index <HASH>..<HASH> 100644
--- a/Controller/RssReaderController.php
+++ b/Controller/RssReaderController.php
@@ -3,12 +3,12 @@
namespace Claroline\RssReaderBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controlle... | [RssReaderBundle] Removed access denied http exception | claroline_Distribution | train |
d6aa2e9e32431400520a41bce73f2a7c59f289fc | diff --git a/registration/tests/test_hmac_backend.py b/registration/tests/test_hmac_backend.py
index <HASH>..<HASH> 100644
--- a/registration/tests/test_hmac_backend.py
+++ b/registration/tests/test_hmac_backend.py
@@ -1,6 +1,7 @@
import datetime
import time
+from django.conf import settings
from django.contrib.au... | Avoid hard-coded magic number. | ubernostrum_django-registration | train |
5d60fdb730d0848bd64d7e974adaf37198319f19 | diff --git a/bcbio/bam/callable.py b/bcbio/bam/callable.py
index <HASH>..<HASH> 100644
--- a/bcbio/bam/callable.py
+++ b/bcbio/bam/callable.py
@@ -56,7 +56,8 @@ def calc_callable_loci(data, region=None, out_file=None):
"""
if data["config"].get("parallel", {}).get("log_queue"):
handler = setup_local_... | Avoid picking up tarballs located in snpeff data directory. Fixes #<I>. Clean up logging test code for multiprocessing inside ipython | bcbio_bcbio-nextgen | train |
ed9d6b8eb549a7767853a89e6036d44a34b18015 | diff --git a/pychord/constants/qualities.py b/pychord/constants/qualities.py
index <HASH>..<HASH> 100644
--- a/pychord/constants/qualities.py
+++ b/pychord/constants/qualities.py
@@ -33,6 +33,7 @@ DEFAULT_QUALITIES = [
('M7+5', (0, 4, 8, 11)),
('mM7', (0, 3, 7, 11)),
('add9', (0, 4, 7, 14)),
+ ('Madd9... | adds Madd9 as an alias to add9 | yuma-m_pychord | train |
c7e8a580160c30f101a6bd64848b27a5c47c584e | diff --git a/src/scroll.js b/src/scroll.js
index <HASH>..<HASH> 100644
--- a/src/scroll.js
+++ b/src/scroll.js
@@ -133,8 +133,8 @@ Scroll.prototype = {
/**
* Sets element's property to a value.
- * @param prop
- * @param value
+ * @param {string} prop - The property to set
+ * @param {Numbe... | Add unit test to ensure cross-browser html element is scrolled in less-capable browsers like IE | mkay581_scroll-js | train |
24e48fc3001d4c1010292d0b435460c09a4fed27 | diff --git a/mad/parsing.py b/mad/parsing.py
index <HASH>..<HASH> 100644
--- a/mad/parsing.py
+++ b/mad/parsing.py
@@ -44,6 +44,7 @@ reserved = {
"tail-drop": "TAIL_DROP",
"think": "THINK",
"throttling": "THROTTLING",
+ "timeout": "TIMEOUT"
}
# List of token names. This is always required
@@ -29... | Adding support for timeout in the parser | fchauvel_MAD | train |
da964e10db0875416a159422aff972406d7854f3 | diff --git a/tests/postgres.py b/tests/postgres.py
index <HASH>..<HASH> 100644
--- a/tests/postgres.py
+++ b/tests/postgres.py
@@ -1,5 +1,6 @@
#coding:utf-8
import datetime
+from types import MethodType
from peewee import *
from playhouse.postgres_ext import *
@@ -8,6 +9,7 @@ from .base import BaseTestCase
from ... | Simple tests for server-side cursor. | coleifer_peewee | train |
5ddf9b8cbae5439655283cccee0e8bd2c3b14bdf | diff --git a/safe/gui/widgets/dock.py b/safe/gui/widgets/dock.py
index <HASH>..<HASH> 100644
--- a/safe/gui/widgets/dock.py
+++ b/safe/gui/widgets/dock.py
@@ -886,14 +886,10 @@ class Dock(QtGui.QDockWidget, FORM_CLASS):
self.show_question_button.setVisible(True)
self.question_group.setEnabled(True)
... | hide_busy should not touch the run button (#<I>) | inasafe_inasafe | train |
0fcc1931972d116481be8fbf949e3f906e5919bf | diff --git a/model/model_test.go b/model/model_test.go
index <HASH>..<HASH> 100644
--- a/model/model_test.go
+++ b/model/model_test.go
@@ -242,17 +242,20 @@ func BenchmarkRequest(b *testing.B) {
}
func TestActivityMap(t *testing.T) {
+ isValid := func(protocol.NodeID) bool {
+ return true
+ }
m := make(activityM... | Handle disconnected nodes better in puller | syncthing_syncthing | train |
60b595e4b806dd52c66e9f3c82772deb9c67b770 | diff --git a/src/util/__tests__/createServerRootMixin.test.js b/src/util/__tests__/createServerRootMixin.test.js
index <HASH>..<HASH> 100644
--- a/src/util/__tests__/createServerRootMixin.test.js
+++ b/src/util/__tests__/createServerRootMixin.test.js
@@ -362,6 +362,163 @@ Array [
await renderToString(wrapper);... | fix(ssr): forward slots of the AisInstantSearchSsr component (#<I>)
* fix(ssr): forward slots of the AisInstantSearchSsr component
The clone created in findResultsState also manually needs to forward slots, or the data won't be available.
* Update src/util/createServerRootMixin.js
* chore: also forward root
... | algolia_vue-instantsearch | train |
956933079345c94fc1b9122d57e88ddfc1126c62 | diff --git a/ios/src/playn/ios/IOSPlatform.java b/ios/src/playn/ios/IOSPlatform.java
index <HASH>..<HASH> 100644
--- a/ios/src/playn/ios/IOSPlatform.java
+++ b/ios/src/playn/ios/IOSPlatform.java
@@ -21,11 +21,10 @@ import java.io.PrintStream;
import java.util.HashMap;
import java.util.Map;
-import cli.System.DateTi... | Prevent game time running backwards on iOS. | threerings_playn | train |
6a6f098824af2fdfe14131a8be830a54b407a69c | diff --git a/MangoPay/Libraries/ApiBase.php b/MangoPay/Libraries/ApiBase.php
index <HASH>..<HASH> 100644
--- a/MangoPay/Libraries/ApiBase.php
+++ b/MangoPay/Libraries/ApiBase.php
@@ -26,7 +26,7 @@ abstract class ApiBase
*/
private $_methods = array(
'authentication_base' => array( '/clients/', Reque... | Removed a space from oauth url | Mangopay_mangopay2-php-sdk | train |
fb54c7172ba9fb0dcf8471f193bda2a1a797c796 | diff --git a/devices/plaid.js b/devices/plaid.js
index <HASH>..<HASH> 100644
--- a/devices/plaid.js
+++ b/devices/plaid.js
@@ -1,6 +1,6 @@
-const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
-const exposes = require('zigbee-herdsman-converters/lib/exposes');
-const reporting = require('zigbee-herds... | plaid.js: fix relative import (#<I>) | Koenkk_zigbee-shepherd-converters | train |
54f3406fdefc0a796e9e2c66ded5d36198b71651 | diff --git a/geopy/distance.py b/geopy/distance.py
index <HASH>..<HASH> 100644
--- a/geopy/distance.py
+++ b/geopy/distance.py
@@ -115,6 +115,7 @@ An attempt to calculate distances between points with different altitudes
would result in a ``ValueError`` exception.
"""
+import abc
from math import asin, atan2, cos,... | Distance: extend abc.ABC | geopy_geopy | train |
c4349f69a54628793d79c13c81a1ba3d01a6ff48 | diff --git a/ews.js b/ews.js
index <HASH>..<HASH> 100644
--- a/ews.js
+++ b/ews.js
@@ -1,9 +1,10 @@
'use strict';
let ws = require('ws');
-let Promise = require('bluebird').Promise;
+let Promise = require('bluebird');
let uuid = require('node-uuid');
let EventEmitter = require('events').EventEmitter;
+require('pr... | Deep resolve promises when sending and returning messages | virtkick_node-ews | train |
1a0cc571a9dfee3bd14cf8a9f6961c5e568d0932 | diff --git a/cassiopeia/datastores/riotapi/match.py b/cassiopeia/datastores/riotapi/match.py
index <HASH>..<HASH> 100644
--- a/cassiopeia/datastores/riotapi/match.py
+++ b/cassiopeia/datastores/riotapi/match.py
@@ -70,9 +70,10 @@ class MatchAPI(RiotAPIService):
has("account.id").as_(int).also. \
has("... | quick fix for matchlist endpoint; need to make MatchHistory into a generator instead | meraki-analytics_cassiopeia | train |
68a3133bbb3b5177b2209aacf35314ecc4fe48dc | diff --git a/extensions/package-manager/src/Command/CheckForUpdatesHandler.php b/extensions/package-manager/src/Command/CheckForUpdatesHandler.php
index <HASH>..<HASH> 100755
--- a/extensions/package-manager/src/Command/CheckForUpdatesHandler.php
+++ b/extensions/package-manager/src/Command/CheckForUpdatesHandler.php
@... | Prepend input to composer output log (Fixes #7) | flarum_core | train |
71452190a8d56bfa8d97267978471617d313e7ea | diff --git a/src/grid-item/index.js b/src/grid-item/index.js
index <HASH>..<HASH> 100644
--- a/src/grid-item/index.js
+++ b/src/grid-item/index.js
@@ -94,7 +94,7 @@ export default createComponent({
<Icon
name={this.icon}
dot={this.dot}
- info={info}
+ badge={in... | fix(GridItem): should not emit deprecation warning (#<I>) | youzan_vant | train |
68a462393079a230a71375ca0a0565693472ba69 | diff --git a/spyderlib/plugins/ipythonconsole.py b/spyderlib/plugins/ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/ipythonconsole.py
+++ b/spyderlib/plugins/ipythonconsole.py
@@ -705,9 +705,10 @@ class IPythonConsole(SpyderPluginWidget):
def closing_plugin(self, cancelable=False):
... | IPython console: Shutdown the kernel associated with a client | spyder-ide_spyder | train |
933e1d828271aa188b4723d361c39510d382c41d | diff --git a/common/lib/common/exceptions.rb b/common/lib/common/exceptions.rb
index <HASH>..<HASH> 100644
--- a/common/lib/common/exceptions.rb
+++ b/common/lib/common/exceptions.rb
@@ -22,7 +22,7 @@
begin
require 'chef/exceptions'
-rescue LoadError
+rescue LoadError => e
# Make sure we're dealing with a legi... | Oops! Rescue was missing a => variable binding, causing a NoMethodError on "e". | rightscale_right_agent | train |
90e026af6031234ec39b79650bdbcf9022286084 | diff --git a/rb/lib/selenium/webdriver/common/platform.rb b/rb/lib/selenium/webdriver/common/platform.rb
index <HASH>..<HASH> 100644
--- a/rb/lib/selenium/webdriver/common/platform.rb
+++ b/rb/lib/selenium/webdriver/common/platform.rb
@@ -140,7 +140,11 @@ module Selenium
def find_binary(*binary_names)
... | [rb] allow windows drivers to be executed from batch files | SeleniumHQ_selenium | train |
241b29347e6c8195b18d2b32376fa88f4a069ffa | diff --git a/TYPO3.TYPO3CR/Classes/Domain/Service/ContentTypeManager.php b/TYPO3.TYPO3CR/Classes/Domain/Service/ContentTypeManager.php
index <HASH>..<HASH> 100644
--- a/TYPO3.TYPO3CR/Classes/Domain/Service/ContentTypeManager.php
+++ b/TYPO3.TYPO3CR/Classes/Domain/Service/ContentTypeManager.php
@@ -78,7 +78,7 @@ class C... | [~TASK] TYPO3CR: Docblock fix
The change from typo3:page to TYPO3:Page was not reflected in all places.
Change-Id: I<I>fa9bc<I>a<I>b0fc<I>a<I>fd7c0ef5ba
Original-Commit-Hash: <I>b7c<I>e<I>cf8c<I>c<I>aa0e1b<I>c | neos_neos-development-collection | train |
cd0f729a9fb07ba79271a71cbbef648a3c38f8a7 | diff --git a/src/main/java/com/github/davidmoten/rx2/internal/flowable/FlowableRepeatingTransform.java b/src/main/java/com/github/davidmoten/rx2/internal/flowable/FlowableRepeatingTransform.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/davidmoten/rx2/internal/flowable/FlowableRepeatingTransform.java
+... | repeatingTransform - dev | davidmoten_rxjava2-extras | train |
5e855ee133af8f33063bbceb468b84d6e1a8b134 | diff --git a/src/init.js b/src/init.js
index <HASH>..<HASH> 100644
--- a/src/init.js
+++ b/src/init.js
@@ -105,8 +105,7 @@ function onInstall(projectDir, testMode) {
})();
}
-module.exports = function init(projectDir) {
+module.exports = function init(projectDir, testMode) {
projectDir = projectDir ? proje... | fix(publish): remove the undocumented '--test-mode' option that can be added to npm scripts | inikulin_publish-please | train |
cc4106d78561aec3ddd49b27e150b2c974d51ced | diff --git a/example/src/main/java/android/ext/example/eventbus/FirstActivity.java b/example/src/main/java/android/ext/example/eventbus/FirstActivity.java
index <HASH>..<HASH> 100644
--- a/example/src/main/java/android/ext/example/eventbus/FirstActivity.java
+++ b/example/src/main/java/android/ext/example/eventbus/Firs... | Example: keep last event in FirstActivity. | shamanland_xdroid | train |
dccf96f640e55626bf86ef31b4d9a744e4e7966b | diff --git a/phonopy/api_phonopy.py b/phonopy/api_phonopy.py
index <HASH>..<HASH> 100644
--- a/phonopy/api_phonopy.py
+++ b/phonopy/api_phonopy.py
@@ -857,7 +857,7 @@ class Phonopy:
return False
self._qpoints_phonon = QpointsPhonon(
- q_points,
+ np.reshape(q_points, (-1, 3... | Minor update to handle 1 dimensional q-point | atztogo_phonopy | train |
6663990e89e55f8e9076849bd1ecc496c7817afc | diff --git a/src/sap.ui.table/src/sap/ui/table/extensions/ScrollingIOS.js b/src/sap.ui.table/src/sap/ui/table/extensions/ScrollingIOS.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.table/src/sap/ui/table/extensions/ScrollingIOS.js
+++ b/src/sap.ui.table/src/sap/ui/table/extensions/ScrollingIOS.js
@@ -122,27 +122,35 @@... | [INTERNAL][FIX] Table: Scrolling with custom scrollbar for IOS
If the table renders only the rows, the event listeners required for the custom
scrollbar are no longer attached. They are now attached again.
Change-Id: I9bc<I>a<I>c<I>a<I>e8bcc<I>d<I>c<I>fb7d | SAP_openui5 | train |
081edb7823f3e0126ce2a6b51f675f543621e053 | diff --git a/Integration/CityStateFromPostalCodeIntegration.php b/Integration/CityStateFromPostalCodeIntegration.php
index <HASH>..<HASH> 100644
--- a/Integration/CityStateFromPostalCodeIntegration.php
+++ b/Integration/CityStateFromPostalCodeIntegration.php
@@ -73,12 +73,13 @@ class CityStateFromPostalCodeIntegration ... | [Eng-<I>] Solved here (findOneBy returns null on an empty select, I was checking for false) | TheDMSGroup_mautic-enhancer | train |
c3271e2d5f5231f7fe37a1bf3780be4cee72aecc | diff --git a/test/colors/colors.test.js b/test/colors/colors.test.js
index <HASH>..<HASH> 100644
--- a/test/colors/colors.test.js
+++ b/test/colors/colors.test.js
@@ -3,7 +3,7 @@ const { run, isWebpack5 } = require('../utils/test-utils');
const { resolve } = require('path');
const { options: coloretteOptions } = requ... | chore: fix typo (#<I>) | webpack_webpack-cli | train |
581bbf686cfc2522a7ea2254b5da233b576eb94e | diff --git a/src/main/java/org/minimalj/frontend/impl/json/JsonClientSession.java b/src/main/java/org/minimalj/frontend/impl/json/JsonClientSession.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/minimalj/frontend/impl/json/JsonClientSession.java
+++ b/src/main/java/org/minimalj/frontend/impl/json/JsonClientSe... | Web: remove concept of focusPageId
PageManager.showDetail already gets the mainPage. If the application
behaves ok, it should work with that | BrunoEberhard_minimal-j | train |
385a0a9ff4ab233fb3bcc8ac2b37a03b513f08f5 | diff --git a/admin/create_record_test.go b/admin/create_record_test.go
index <HASH>..<HASH> 100644
--- a/admin/create_record_test.go
+++ b/admin/create_record_test.go
@@ -237,7 +237,6 @@ func TestCreateRecordWithJSON(t *testing.T) {
var languages []Language
db.Model(&user).Related(&languages, "Languages")
- fm... | Fix necessary association replace when primary value is zero | qor_qor | train |
e5495e26ecd377474a10759061c94c345697b3cc | diff --git a/MY_Model.php b/MY_Model.php
index <HASH>..<HASH> 100644
--- a/MY_Model.php
+++ b/MY_Model.php
@@ -101,7 +101,7 @@ class MY_Model extends CI_Model {
trigger_error("_id is unset for model {$this->model} via DefineSchema. It must be a string pointer to the ID or the schema structure.") && die();
if (... | BUGFIX: _model in schema now actually maps to the model | hash-bang_Joyst | train |
67c48bc02b26720c1009a2508f4939ec140c3faa | diff --git a/integration/shared/isolated/delete_orphaned_routes_command_test.go b/integration/shared/isolated/delete_orphaned_routes_command_test.go
index <HASH>..<HASH> 100644
--- a/integration/shared/isolated/delete_orphaned_routes_command_test.go
+++ b/integration/shared/isolated/delete_orphaned_routes_command_test.... | Add integration test for delete-orphaned-routes help text
[#<I>] | cloudfoundry_cli | train |
8e5cfba4672be5c382c766c2db79fb410c840cf8 | diff --git a/openquake/calculators/reportwriter.py b/openquake/calculators/reportwriter.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/reportwriter.py
+++ b/openquake/calculators/reportwriter.py
@@ -68,7 +68,7 @@ class ReportWriter(object):
avglosses_data_transfer='Estimated data transfer for the a... | Renamed taskinfo -> task_info | gem_oq-engine | train |
a8d2964d63e7e0486247a96b4c4f0cc6ab500bee | diff --git a/drools-compiler/src/test/java/org/drools/integrationtests/StreamsTest.java b/drools-compiler/src/test/java/org/drools/integrationtests/StreamsTest.java
index <HASH>..<HASH> 100644
--- a/drools-compiler/src/test/java/org/drools/integrationtests/StreamsTest.java
+++ b/drools-compiler/src/test/java/org/drools... | JBRULES-<I>: ignoring broken serialization tests until the new serialization framework is implemented | kiegroup_drools | train |
50539e09c1c39c8132f42b11e2dfd772f62896c4 | diff --git a/src/MiniAsset.php b/src/MiniAsset.php
index <HASH>..<HASH> 100644
--- a/src/MiniAsset.php
+++ b/src/MiniAsset.php
@@ -2,6 +2,7 @@
namespace hiqdev\themes\adminlte;
+use hiqdev\assets\icheck\iCheckAsset;
use yii\web\AssetBundle;
class MiniAsset extends AssetBundle
@@ -12,7 +13,12 @@ class MiniAsset... | Added iCheckAsset and fontawesome depends | hiqdev_yii2-theme-adminlte | train |
cc4c211384b992e7286752cafd91b57e4f47eff5 | diff --git a/engine/src/test/java/org/camunda/bpm/engine/test/concurrency/ConcurrencyTestCase.java b/engine/src/test/java/org/camunda/bpm/engine/test/concurrency/ConcurrencyTestCase.java
index <HASH>..<HASH> 100644
--- a/engine/src/test/java/org/camunda/bpm/engine/test/concurrency/ConcurrencyTestCase.java
+++ b/engine/... | chore(tests): avoid race condition in concurrency tests (#<I>)
- it could happen that a controlled thread would set the main thread's
interruption status, which could lead to InterruptedExceptions down
the road
related to CAM-<I>, closes PR #<I> | camunda_camunda-bpm-platform | train |
f2ea945273c9f81fda378f7c4f6c84e7df55514c | diff --git a/lib/tty/prompt/slider.rb b/lib/tty/prompt/slider.rb
index <HASH>..<HASH> 100644
--- a/lib/tty/prompt/slider.rb
+++ b/lib/tty/prompt/slider.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+#
+require 'tty/prompt/symbols'
module TTY
# A class responsible for shell prompt interactions.
@@ -7,6 +9,8 @@ module TTY
... | Change to use unicode symbols. | piotrmurach_tty-prompt | train |
2177ed57910ead32c0a58c724a331fb681e9d3fa | diff --git a/oleaster-matcher/src/test/java/com/mscharhag/oleaster/matcher/matchers/MapMatcherTest.java b/oleaster-matcher/src/test/java/com/mscharhag/oleaster/matcher/matchers/MapMatcherTest.java
index <HASH>..<HASH> 100644
--- a/oleaster-matcher/src/test/java/com/mscharhag/oleaster/matcher/matchers/MapMatcherTest.jav... | Added missing tests for MapMatcher | mscharhag_oleaster | train |
723285b3edc4ae9abbd435283b3f08ee8cbcac9e | diff --git a/google-cloud-dialogflow/samples/detect_intent_stream.rb b/google-cloud-dialogflow/samples/detect_intent_stream.rb
index <HASH>..<HASH> 100644
--- a/google-cloud-dialogflow/samples/detect_intent_stream.rb
+++ b/google-cloud-dialogflow/samples/detect_intent_stream.rb
@@ -15,8 +15,6 @@
require "securerando... | chore(dialogflow): fixed lingering rubocop violations in the samples (#<I>) | googleapis_google-cloud-ruby | train |
2808e7b1b1732f5bae3fa47cec05fec47600c1e7 | diff --git a/paxtools-console/src/main/java/org/biopax/paxtools/examples/ProteinAnalyzer.java b/paxtools-console/src/main/java/org/biopax/paxtools/examples/ProteinAnalyzer.java
index <HASH>..<HASH> 100644
--- a/paxtools-console/src/main/java/org/biopax/paxtools/examples/ProteinAnalyzer.java
+++ b/paxtools-console/src/m... | Looks like my paxtools copy and Jenkins copy see different versions of PathwayCommons2Client. This commit makes my copy fail to compile, but hopefully will make Jenkins happy. | BioPAX_Paxtools | train |
7396e6f1ce768871e91f2ace05a77dd3c52eda3c | diff --git a/tests/integration/basetests.py b/tests/integration/basetests.py
index <HASH>..<HASH> 100644
--- a/tests/integration/basetests.py
+++ b/tests/integration/basetests.py
@@ -45,6 +45,10 @@ class BaseTest(unittest.TestCase):
else:
self.fail('Command {} should throw an error'.format(cmd))
... | Of course the previous commit broke 4 other tests. | glormph_msstitch | train |
68a4588dd927b973ab35a70d8c815a5b5268a148 | diff --git a/rebulk/__version__.py b/rebulk/__version__.py
index <HASH>..<HASH> 100644
--- a/rebulk/__version__.py
+++ b/rebulk/__version__.py
@@ -4,4 +4,4 @@
Version module
"""
# pragma: no cover
-__version__ = '0.7.1'
+__version__ = '0.7.2.dev0' | Back to development: <I> | Toilal_rebulk | train |
ec9b04ab1c2c02601a4b0e860022c791c6909c86 | diff --git a/cobra/core/Solution.py b/cobra/core/Solution.py
index <HASH>..<HASH> 100644
--- a/cobra/core/Solution.py
+++ b/cobra/core/Solution.py
@@ -1,8 +1,6 @@
-#cobra.core.Solution.py
-##########################
-#BEGIN Class Solution
-#
from .Object import Object
+
+
class Solution(Object):
"""Stores the so... | Fix Solution __repr__
- Updating f after creation will now reflect in repr
- Display non-optimal status in repr | opencobra_cobrapy | train |
633bba839a662fcfe2f622774a2f72116f014e75 | diff --git a/api.js b/api.js
index <HASH>..<HASH> 100755
--- a/api.js
+++ b/api.js
@@ -112,28 +112,28 @@ var createActionHero = function(){
initActions: function(next){ actionHero.initActions(api, next); },
initPostVariables: function(next){ actionHero.initPostVariables(api, next); },
initFileServer: functi... | fixing more load order bugs when socket is already being poled | actionhero_actionhero | train |
be7eb22e8871fb9cb332bacfd3810a698f52636b | diff --git a/testing/test_runner.py b/testing/test_runner.py
index <HASH>..<HASH> 100644
--- a/testing/test_runner.py
+++ b/testing/test_runner.py
@@ -738,6 +738,22 @@ def test_importorskip_module_level(testdir):
result.stdout.fnmatch_lines(["*collected 0 items / 1 skipped*"])
+def test_importorskip_custom_rea... | Add test case for `importorskip` custom reason | pytest-dev_pytest | train |
d751728ca47e0860a83e3a1bc7437eb178ed4de2 | diff --git a/rollbar.php b/rollbar.php
index <HASH>..<HASH> 100644
--- a/rollbar.php
+++ b/rollbar.php
@@ -812,7 +812,7 @@ class RollbarNotifier {
}
protected function load_agent_file() {
- $this->_agent_log = fopen($this->agent_log_location . '/rollbar-relay.' . getmypid() . '.rollbar', 'a');
+ ... | Append timestamp to the process id to ensure a unique filename | rollbar_rollbar-php | train |
d22c04b20d52a60f3feaf60f14e7a29051f01e96 | diff --git a/polyaxon_schemas/build.py b/polyaxon_schemas/build.py
index <HASH>..<HASH> 100644
--- a/polyaxon_schemas/build.py
+++ b/polyaxon_schemas/build.py
@@ -44,7 +44,8 @@ class BuildSchema(BaseSchema):
build_steps = fields.List(fields.Str(), allow_none=True)
env_vars = fields.List(fields.List(fields.Raw... | Make commit and branch explicit in build config | polyaxon_polyaxon | train |
bce5a46c7cb484e4996754407e6d4410f4c6cdd3 | diff --git a/lib/nexpose/common.rb b/lib/nexpose/common.rb
index <HASH>..<HASH> 100644
--- a/lib/nexpose/common.rb
+++ b/lib/nexpose/common.rb
@@ -149,13 +149,18 @@ module Nexpose
attr_accessor :day
attr_accessor :occurrence
attr_accessor :start_month
- # Timezone cannot be set on schedule create, it ... | Add console start and timezone. Adjust timezone comments. | rapid7_nexpose-client | train |
06997fcc2559828068063ecd9a03c657e45fa7eb | diff --git a/concrete/blocks/youtube/view.php b/concrete/blocks/youtube/view.php
index <HASH>..<HASH> 100644
--- a/concrete/blocks/youtube/view.php
+++ b/concrete/blocks/youtube/view.php
@@ -1,4 +1,8 @@
-<?php defined('C5_EXECUTE') or die('Access Denied.');
+<?php
+
+use League\Url\Url;
+
+defined('C5_EXECUTE') or die(... | Build youtube embed url with the league url class | concrete5_concrete5 | train |
aee958c02500e5c7986607b82002d89be3f16ddc | diff --git a/pythran/pythonic/operator_/div.hpp b/pythran/pythonic/operator_/div.hpp
index <HASH>..<HASH> 100644
--- a/pythran/pythonic/operator_/div.hpp
+++ b/pythran/pythonic/operator_/div.hpp
@@ -22,6 +22,7 @@ namespace operator_
double div(double a, double b)
{
+ assert(b != 0 && "divide by zero");
... | Detect divide by zero in debug mode
Update test cases accordingly - some of them had invalid input. | serge-sans-paille_pythran | train |
13238af4240f0c79ac5615e99974d0ad8cba0760 | diff --git a/spec/unit/face/module/uninstall_spec.rb b/spec/unit/face/module/uninstall_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/face/module/uninstall_spec.rb
+++ b/spec/unit/face/module/uninstall_spec.rb
@@ -17,7 +17,7 @@ describe "puppet module uninstall" do
end
it "should not require any op... | (#<I>) Fix broken tests for uninstall action on module face | puppetlabs_puppet | train |
e9e201aabdbd25f0d2470efc91d29da874962dbb | diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py
index <HASH>..<HASH> 100755
--- a/fontbakery-check-ttf.py
+++ b/fontbakery-check-ttf.py
@@ -544,6 +544,13 @@ def main():
ttf[f.filename] = ttLib.TTFont(os.path.join(dirname, f.filename))
# ----------------------------------------------------... | test if family designer field is 'unknown' (issue #<I>) | googlefonts_fontbakery | train |
bf4116eb937888ae005154daa7917325bb0c7b44 | diff --git a/pkg/serverinit/genconfig.go b/pkg/serverinit/genconfig.go
index <HASH>..<HASH> 100644
--- a/pkg/serverinit/genconfig.go
+++ b/pkg/serverinit/genconfig.go
@@ -457,7 +457,6 @@ func genLowLevelPrefixes(params *configPrefixesParams, ownerName string) (m json
"handler": "importer-picasa",
"handlerArgs":... | genconfig: picasaa importer doesn't have a path
Was removed during codereview, but not removed from here.
Change-Id: I<I>f<I>fe<I>bcc0b<I>acac<I>c<I>b<I> | perkeep_perkeep | train |
7c88ace8384564dfeabb3948b13f7ce2c05e9e89 | diff --git a/src/RuleSet/Php56.php b/src/RuleSet/Php56.php
index <HASH>..<HASH> 100644
--- a/src/RuleSet/Php56.php
+++ b/src/RuleSet/Php56.php
@@ -197,7 +197,13 @@ final class Php56 extends AbstractRuleSet
'target' => 'newest',
],
'php_unit_fqcn_annotation' => true,
- 'php_unit_int... | Enhancement: Enable and configure php_unit_internal_class fixer | localheinz_php-cs-fixer-config | train |
7a853d9e7dcce553e4ec9606bf72b0b3518d36ac | diff --git a/config/database.php b/config/database.php
index <HASH>..<HASH> 100644
--- a/config/database.php
+++ b/config/database.php
@@ -89,6 +89,7 @@ return [
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ... | Support charset for sqlsrv connection | orchestral_lumen | train |
0f6fb091307ab91e3ef60598b1dcd1a3e5621312 | diff --git a/externs/w3c_anim_timing.js b/externs/w3c_anim_timing.js
index <HASH>..<HASH> 100644
--- a/externs/w3c_anim_timing.js
+++ b/externs/w3c_anim_timing.js
@@ -64,12 +64,12 @@ function mozCancelRequestAnimationFrame(handle) {};
* @param {Element=} opt_element
* @return {number}
*/
-function ieRequestAnimat... | oops! the function is msRequestAnimationFrame, not ieRequestAnimationFrame
R=bcornell
DELTA=4 (0 added, 0 deleted, 4 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train |
4488d1429c4e062585c9be1a1e0ce7af19f973d6 | diff --git a/sign.go b/sign.go
index <HASH>..<HASH> 100644
--- a/sign.go
+++ b/sign.go
@@ -9,7 +9,7 @@ import (
"io/ioutil"
"net/http"
"net/url"
- "path/filepath"
+ "path"
"sort"
"strings"
"time"
@@ -151,16 +151,16 @@ func (s *Service) writeBody(w io.Writer, r *http.Request) {
}
func (s *Service) writeU... | uses path.Clean instead of filepath.Clean to correct an issue on Windows. go test now passes on windows. | sendgridlabs_go-kinesis | train |
181e58f04452e102ecb9d7472f6eb368667b608b | diff --git a/src/controls.js b/src/controls.js
index <HASH>..<HASH> 100644
--- a/src/controls.js
+++ b/src/controls.js
@@ -27,18 +27,34 @@ Crafty.extend({
* ~~~
* @see Keyboard, Crafty.keys
*/
-
detectBlur: function (e) {
var selected = ((e.clientX > Crafty.stage.x && e.clientX < Crafty.... | Resolved #<I>
- Entities stop moving when focus is lost (eg. `CTRL+F`, `CTRL+E`)
- Blur correctly traps all keys, except `CTRL+H`
- Various fixes from code-review
- Tested in IE, Chrome, and FF | craftyjs_Crafty | train |
c9c229b0ff72e662d8e33388c73e17fd686f939c | diff --git a/h5netcdf/tests/test_h5netcdf.py b/h5netcdf/tests/test_h5netcdf.py
index <HASH>..<HASH> 100644
--- a/h5netcdf/tests/test_h5netcdf.py
+++ b/h5netcdf/tests/test_h5netcdf.py
@@ -2,6 +2,8 @@ import netCDF4
import numpy as np
import gc
import re
+import string
+import random
import h5netcdf
from h5netcdf ... | Randomize HDF5 resource names in tests | shoyer_h5netcdf | train |
bd0890594fe3242c49307c1a106c9061512d9628 | diff --git a/libxml/test/Doc_test.go b/libxml/test/Doc_test.go
index <HASH>..<HASH> 100644
--- a/libxml/test/Doc_test.go
+++ b/libxml/test/Doc_test.go
@@ -3,6 +3,7 @@ package test
import (
"libxml"
"libxml/help"
+ "libxml/tree"
"testing"
)
@@ -70,7 +71,7 @@ func TestInjectAtBottom(t *testing.T) {
root := do... | add another test to reproduce the memory leak in snow, but failed | moovweb_gokogiri | train |
ff5917252efc9dc92f00ccd0c5b1f95cac8533a3 | diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/__init__.py
+++ b/python/phonenumbers/__init__.py
@@ -147,7 +147,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency
# Version number is taken from the ... | Prep for <I> release | daviddrysdale_python-phonenumbers | train |
df7d665c232249028ba96116eb78838d4fe429cb | diff --git a/packages/parallel-coordinates/src/ParallelCoordinatesAxisDensityCircles.js b/packages/parallel-coordinates/src/ParallelCoordinatesAxisDensityCircles.js
index <HASH>..<HASH> 100644
--- a/packages/parallel-coordinates/src/ParallelCoordinatesAxisDensityCircles.js
+++ b/packages/parallel-coordinates/src/Parall... | feat(parallel-coordinates): adjustments for react-spring@next | plouc_nivo | train |
bcc874f5173bc9471a5f6a59e703766bbede6a18 | diff --git a/lib/HttpClient.js b/lib/HttpClient.js
index <HASH>..<HASH> 100644
--- a/lib/HttpClient.js
+++ b/lib/HttpClient.js
@@ -383,10 +383,14 @@ class HttpClient extends events.EventEmitter {
))
})
.on('socket', (socket) => {
- socket.on('connect', () => {
- this.__p... | Update HttpClient.js
Bug fix: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. <I> connect listeners added to [Socket] | ebaauw_homebridge-lib | train |
349e8621052ff5f729765b03b3c5529a44f6c1a9 | diff --git a/src/Promise/PromiseInterface.php b/src/Promise/PromiseInterface.php
index <HASH>..<HASH> 100644
--- a/src/Promise/PromiseInterface.php
+++ b/src/Promise/PromiseInterface.php
@@ -6,8 +6,8 @@ interface PromiseInterface
/**
* Assigns a set of callback functions to the promise, and returns a new pro... | Update callable types in doc blocks | icicleio_icicle | train |
84e34111bcec5f428da0bc68c84e842612c927ad | diff --git a/src/Swagger/Document.php b/src/Swagger/Document.php
index <HASH>..<HASH> 100644
--- a/src/Swagger/Document.php
+++ b/src/Swagger/Document.php
@@ -5,6 +5,58 @@ use Swagger\Object as SwaggerObject;
class Document extends SwaggerObject\AbstractObject
{
+ protected $operationsById = [];
+
+ public fu... | Switch to exception-based reporting of non-existent properties.
Add an enumeration of operations by ID to the document. | TheFrozenFire_PHP-Swagger-Parser | train |
0b21578a3ada5cc36739cab8af5335bb9be175cf | diff --git a/src/helpers/helpers.canvas.js b/src/helpers/helpers.canvas.js
index <HASH>..<HASH> 100644
--- a/src/helpers/helpers.canvas.js
+++ b/src/helpers/helpers.canvas.js
@@ -102,7 +102,7 @@ export function _longestText(ctx, font, arrayOfThings, cache) {
*/
export function _alignPixel(chart, pixel, width) {
c... | Improved alignment of pixels in scales at low widths (#<I>)
* Improved alignment of pixels in scales at low widths
* Undo scale changes | chartjs_Chart.js | train |
7b79f51bb56464bcabcd82a31b8ea75c74677689 | diff --git a/fpdf.go b/fpdf.go
index <HASH>..<HASH> 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -245,6 +245,26 @@ func (f *Fpdf) Error() error {
return f.err
}
+// Return the current page's width and height. This is the paper's size. To
+// compute the size of the area being used, subtract the margins (see
+// GetMargin... | Add GetMargins() and GetPageSize() methods. | jung-kurt_gofpdf | train |
be678ba87232567969265158b9b0c56b594afa8b | diff --git a/tasks/dist/generate-distributables.js b/tasks/dist/generate-distributables.js
index <HASH>..<HASH> 100644
--- a/tasks/dist/generate-distributables.js
+++ b/tasks/dist/generate-distributables.js
@@ -4,36 +4,33 @@ const UglifyJS = require('uglify-js')
const packageInfo = require('../../package.json')
const... | refactors code for readability | archilogic-com_3dio-js | train |
877148a9b0b1fa15055074dd65922c4804c6e2f1 | diff --git a/datasources/sql/DbRelation.php b/datasources/sql/DbRelation.php
index <HASH>..<HASH> 100644
--- a/datasources/sql/DbRelation.php
+++ b/datasources/sql/DbRelation.php
@@ -18,6 +18,9 @@ class DbRelation extends LogAwareObject {
public $conditions = [];
public $joins = [];
public $joinType = 'L... | Added options for order, limit and offset | mpf-soft_mpf | train |
ffafbd656f2f18541692e4adf9cac55399e641b2 | diff --git a/DependencyInjection/Compiler/ExtensionDriverPass.php b/DependencyInjection/Compiler/ExtensionDriverPass.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Compiler/ExtensionDriverPass.php
+++ b/DependencyInjection/Compiler/ExtensionDriverPass.php
@@ -10,7 +10,6 @@
namespace Bazinga\Bundle\Hateoas... | Provide ConfigurationExtensionInterface class name as string for check as ::class is not available in PHP <I>. | willdurand_BazingaHateoasBundle | train |
4f9408fd2d8ccb42c021ea784804cb158c49322b | diff --git a/src/views/client/_form.php b/src/views/client/_form.php
index <HASH>..<HASH> 100644
--- a/src/views/client/_form.php
+++ b/src/views/client/_form.php
@@ -14,8 +14,8 @@ $form = ActiveForm::begin([
]);
?>
-<?= $form->field($model, '[0]login')->textInput(['autocomplete' => 'off']) ?>
-<?= $form->field($mo... | fix client autocomplete in email and password | hiqdev_hipanel-module-client | train |
90334170855aa3b3795d14fbf4f34c37b3367e95 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -31,15 +31,13 @@ module.exports = function(options) {
options.entry = file.path;
rollup.rollup(options).then(function(bundle) {
- try {
- var res = bundle.generate(options);
- ... | Told Promises to stop eating all of our errors | mcasimir_gulp-rollup | train |
d870d391e1d6feab39ba4306e93a4b49c2e43596 | diff --git a/bashlex/parser.py b/bashlex/parser.py
index <HASH>..<HASH> 100644
--- a/bashlex/parser.py
+++ b/bashlex/parser.py
@@ -115,7 +115,11 @@ def p_redirection(p):
def _expandword(tokenizer, tokenword):
quoted = bool(tokenword.flags & flags.word.QUOTED)
- parts, expandedword = subst._expandwordinternal... | subst: correctly do single quote removal | idank_bashlex | train |
ca7033d62621c9605743e394f7f584ca9ece8239 | diff --git a/lib/sphericalmercator.js b/lib/sphericalmercator.js
index <HASH>..<HASH> 100644
--- a/lib/sphericalmercator.js
+++ b/lib/sphericalmercator.js
@@ -1,6 +1,7 @@
var mapnik = require('mapnik');
-var mercator = new mapnik.Projection('+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=... | expose raw proj4 string as property of mercator object | mapnik_node-mapnik | train |
d3643730a09d2c6be6ec09be3ecaa0ba2baef38b | diff --git a/examples/consume_many_messages_and_shutdown_randomly.rb b/examples/consume_many_messages_and_shutdown_randomly.rb
index <HASH>..<HASH> 100644
--- a/examples/consume_many_messages_and_shutdown_randomly.rb
+++ b/examples/consume_many_messages_and_shutdown_randomly.rb
@@ -18,6 +18,8 @@ require File.expand_pat... | set prefetch count to <I> in 'consume many messages example' | xing_beetle | train |
d9d5db6da619e642509bd576d5bfb8cf2c68596b | diff --git a/CHANGES.rst b/CHANGES.rst
index <HASH>..<HASH> 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -11,6 +11,7 @@ TidyPy Change Log
**Enhancements**
* Upgraded the ``pylint`` and ``secrets`` tools.
+* Added a reporter that emulates ``pylint``'s "parseable" output format.
0.8.0 (2019-01-30)
diff --git a/... | Added pylint-parseable reporter | jayclassless_tidypy | train |
ba2542ec291d51d76219f64035fadf090ba5dc4d | diff --git a/cake/libs/object.php b/cake/libs/object.php
index <HASH>..<HASH> 100644
--- a/cake/libs/object.php
+++ b/cake/libs/object.php
@@ -174,7 +174,7 @@ class Object {
}
/**
* Used to report user friendly errors.
- * If there is a file app/error.php this file will be loaded
+ * If there is a file app/error.p... | Fixing infinite loop when importing models that have relations that are also fixturized. Closes #<I>.
Tests updated and added.
Added documentation concerning use of app_error.php
git-svn-id: <URL> | cakephp_cakephp | train |
3794bad5550e6c2f684c547852b717f15546fd08 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## [Unreleased]
+### Added
+- Added new class `EduAdminBookingHandler`, to process bookings from the plugin
+
+
## [0.10.12]
### Added
- Bugfix: Fixed a bug where you were unabl... | Added new class `EduAdminBookingHandler`, to process bookings from the plugin | MultinetInteractive_EduAdmin-WordPress | train |
01a2f4fdcde545f4fcb3ed5243dbaa07cb0d392d | diff --git a/fireplace/card.py b/fireplace/card.py
index <HASH>..<HASH> 100644
--- a/fireplace/card.py
+++ b/fireplace/card.py
@@ -106,6 +106,16 @@ class BaseCard(BaseEntity):
setattr(ret, k, v)
return ret
+ def is_playable(self) -> bool:
+ """
+ Return whether the card can be played.
+ Do not confuse with ... | Implement is_playable() and play() errors for all non-playable cards | jleclanche_fireplace | train |
b55df4fff07eb70c54e87ba1d3a0f105926f9493 | diff --git a/openstack_dashboard/karma.conf.js b/openstack_dashboard/karma.conf.js
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/karma.conf.js
+++ b/openstack_dashboard/karma.conf.js
@@ -83,7 +83,14 @@ module.exports = function (config) {
// TODO: These should be mocked.
'../../horizon/static/ho... | Dashboard karma is missing framework files
We currently have two Karma files: one for horizon and one for
dashboard. Because dashboard code relies horizon, the karma conf in
dashboard should include the needed files from framework.
Change-Id: I<I>f2ebe1da<I>f<I>a<I>e8ad9e6a7ffb<I>
Closes-Bug: #<I> | openstack_horizon | train |
da4bc8efc87f04e0b6f8bc7f6d22b701bdaa53e6 | diff --git a/src/I18n.php b/src/I18n.php
index <HASH>..<HASH> 100644
--- a/src/I18n.php
+++ b/src/I18n.php
@@ -162,7 +162,7 @@ class I18n extends Adapter
public static function setLocale($locale)
{
static::$instance or static::$instance = static::$di->getShared('i18n');
- static::_setLocale($l... | fix(i<I>n): Non-static method Phwoolcon\I<I>n::_setLocale() should not be called statically | phwoolcon_phwoolcon | train |
2c5c98a034bada90b8faf91d7d1ab7dabd7db6bb | diff --git a/pinax/blog/urls.py b/pinax/blog/urls.py
index <HASH>..<HASH> 100644
--- a/pinax/blog/urls.py
+++ b/pinax/blog/urls.py
@@ -1,5 +1,6 @@
from django.conf.urls import url, patterns
+from .conf import settings
from .views import (
BlogIndexView,
DateBasedPostDetailView,
@@ -14,9 +15,19 @@ urlpatte... | Do not include both post detail urls | pinax_pinax-blog | train |
ae778fc0429350e901cce1e94fa3cdc0cd3574ac | diff --git a/h2quic/server.go b/h2quic/server.go
index <HASH>..<HASH> 100644
--- a/h2quic/server.go
+++ b/h2quic/server.go
@@ -142,6 +142,11 @@ func (s *Server) handleRequest(session streamCreator, headerStream utils.Stream,
return nil
}
+func (s *Server) Close() error {
+ // TODO: implement
+ return nil
+}
+
// ... | add mock close method to h2quic.Server | lucas-clemente_quic-go | train |
82f6f06d08840a8dec02a787686371ce6b4eceb6 | diff --git a/lib/rules/no-unused-vars.js b/lib/rules/no-unused-vars.js
index <HASH>..<HASH> 100644
--- a/lib/rules/no-unused-vars.js
+++ b/lib/rules/no-unused-vars.js
@@ -13,7 +13,8 @@ module.exports = function(context) {
var allowUnusedGlobals = context.options[0] === "all" ? false : true;
- var variables ... | optimize findVariable() in no-unused-vars
This is the lowest-hanging fruit - findVariable() was taking a
significant portion of the overall time due to a linear search of
all variables. The first step, with the smallest change to the
code, was to add a map of variable names to indices. Look up the
variable by name, th... | eslint_eslint | train |
b59871dc4ff0d51e62d1b910486cb181453c651c | diff --git a/src/js/services/linkedin.js b/src/js/services/linkedin.js
index <HASH>..<HASH> 100644
--- a/src/js/services/linkedin.js
+++ b/src/js/services/linkedin.js
@@ -2,6 +2,8 @@
module.exports = function(shariff) {
var url = encodeURIComponent(shariff.getURL());
+ var title = encodeURIComponent(shariff.... | improved share link to linkedIn
more control over the title and summary text | heiseonline_shariff | train |
53f39e4616d1dcc0862c3c6ad62e4e0dc5fb60c0 | diff --git a/Backoffice/Form/Type/SiteType.php b/Backoffice/Form/Type/SiteType.php
index <HASH>..<HASH> 100644
--- a/Backoffice/Form/Type/SiteType.php
+++ b/Backoffice/Form/Type/SiteType.php
@@ -93,6 +93,7 @@ class SiteType extends AbstractType
'label' => 'open_orchestra_backoffice.form.website.metaAut... | remove require meta author (#<I>) | open-orchestra_open-orchestra-cms-bundle | train |
39dd41cab82314f9e7aab01a7a2bdf77bb89ae17 | diff --git a/tests/pathops_test.py b/tests/pathops_test.py
index <HASH>..<HASH> 100644
--- a/tests/pathops_test.py
+++ b/tests/pathops_test.py
@@ -119,6 +119,23 @@ class PathTest(object):
# ('lineTo', ((100.0, 100.0),)),
('closePath', ())]
+ @staticmethod
+ def round(path, ndigits):
+ ... | pathops_test: assert almost equal within 4 decimal digit precision
otherwise the transform test fails when run on linux aarch<I> (ARM<I>) architecture (no idea why, but 4 digits are ok). | fonttools_skia-pathops | train |
edd56c6bf043a8ab1476f295b8f8b5f73021c07f | diff --git a/lib/commands/crdt/updatemap.js b/lib/commands/crdt/updatemap.js
index <HASH>..<HASH> 100644
--- a/lib/commands/crdt/updatemap.js
+++ b/lib/commands/crdt/updatemap.js
@@ -156,6 +156,14 @@ UpdateMap.prototype.onSuccess = function(dtUpdateResp) {
};
UpdateMap.prototype._populate = function(mapOp, pbMapOp)... | Add String detection to setRegister() | basho_riak-nodejs-client | train |
f837d3f8fdb3e48ce2afede7d1b764ff62d37c01 | diff --git a/gwpy/signal/qtransform.py b/gwpy/signal/qtransform.py
index <HASH>..<HASH> 100644
--- a/gwpy/signal/qtransform.py
+++ b/gwpy/signal/qtransform.py
@@ -34,6 +34,7 @@ from six.moves import xrange
import numpy
from numpy import fft as npfft
+from ..utils import round_to_power
from ..segments import Segmen... | Use round_to_power for various Q-transform bits and pieces | gwpy_gwpy | train |
da6ce36bd818199f6fe5ae325a2dbede64c8de51 | diff --git a/packages/ember-glimmer/lib/syntax/outlet.js b/packages/ember-glimmer/lib/syntax/outlet.js
index <HASH>..<HASH> 100644
--- a/packages/ember-glimmer/lib/syntax/outlet.js
+++ b/packages/ember-glimmer/lib/syntax/outlet.js
@@ -183,7 +183,7 @@ class OutletComponentDefinition extends AbstractOutletComponentDefini... | Share the OutletLayoutCompiler which is identical to the RenderLayoutCompiler | emberjs_ember.js | train |
00fe36dc7311116eb946f01c8b279091f1730a73 | diff --git a/KafNafParserPy/coreference_data.py b/KafNafParserPy/coreference_data.py
index <HASH>..<HASH> 100644
--- a/KafNafParserPy/coreference_data.py
+++ b/KafNafParserPy/coreference_data.py
@@ -86,6 +86,13 @@ class Ccoreference:
new_span = Cspan()
new_span.create_from_ids(term_span)
self... | added functions for coreference data and for the KafNafParser | cltl_KafNafParserPy | train |
77676c27d27242910ab668162d6da7bd5dddae86 | diff --git a/transformers/modeling_tf_roberta.py b/transformers/modeling_tf_roberta.py
index <HASH>..<HASH> 100644
--- a/transformers/modeling_tf_roberta.py
+++ b/transformers/modeling_tf_roberta.py
@@ -20,7 +20,6 @@ from __future__ import (absolute_import, division, print_function,
import logging
-import numpy as... | adding positional embeds masking to TFRoBERTa | huggingface_pytorch-pretrained-BERT | train |
7f6ede1b0a66d8af999e95484cc7570613d2c4c9 | diff --git a/jax/api.py b/jax/api.py
index <HASH>..<HASH> 100644
--- a/jax/api.py
+++ b/jax/api.py
@@ -380,7 +380,8 @@ def grad(fun: Callable, argnums: Union[int, Sequence[int]] = 0,
return grad_f_aux if has_aux else grad_f
def value_and_grad(fun: Callable, argnums: Union[int, Sequence[int]] = 0,
- ... | Make type of value_and_grad slightly more precise. (#<I>) | tensorflow_probability | train |
5e29d018beb94071c45fd0a353f8ec9b92c62581 | diff --git a/cltk/corpus/common/compiler.py b/cltk/corpus/common/compiler.py
index <HASH>..<HASH> 100644
--- a/cltk/corpus/common/compiler.py
+++ b/cltk/corpus/common/compiler.py
@@ -366,17 +366,36 @@ class Compile(object):
except IOError:
logging.error('Failed to open TLG index file LSTSCDCN.DIR'... | tlg author reading half working
Former-commit-id: <I>dd<I>e<I>c<I>ac<I>d8d<I>a<I>f8 | cltk_cltk | train |
aab659b0dc810d93abd8b7de69425819821e5d99 | diff --git a/bigtable-client-core-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/async/BigtableAsyncUtilities.java b/bigtable-client-core-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/async/BigtableAsyncUtilities.java
index <HASH>..<HASH> 100644
--- a/bigtable-client... | Adding logging before cancels in BigtableAsyncUtilities. (#<I>) | googleapis_cloud-bigtable-client | train |
82ac7555ab69c1ae11360d2b9bd8dfd723a13485 | diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -70,17 +70,6 @@ module ActiveRecord
instantiate_instance_of(klass, at... | Don't expose `instantiate_instance_of` for internal use | rails_rails | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.