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 |
|---|---|---|---|---|---|
4b70b31e3da3b36f7b077a3fe1679569d6f7bcf3 | diff --git a/inenv/venv.py b/inenv/venv.py
index <HASH>..<HASH> 100644
--- a/inenv/venv.py
+++ b/inenv/venv.py
@@ -7,6 +7,7 @@ import copy
import signal
import sys
+from atomicwrites import atomic_write
from virtualenv import create_environment
from virtualenv import path_locations
@@ -47,7 +48,7 @@ class Virtu... | Fix race on cache file by using POSIX atomic overwrite semantics. | pnegahdar_inenv | train | py,py |
38e7135eee67f1a24e25ec524aa471b6e1bac0d4 | diff --git a/tests/SlimTest.php b/tests/SlimTest.php
index <HASH>..<HASH> 100644
--- a/tests/SlimTest.php
+++ b/tests/SlimTest.php
@@ -372,10 +372,10 @@ class SlimTest extends PHPUnit_Framework_TestCase {
public function testSlimRedirectTemporary() {
Slim::init();
Slim::get('/', function () {
- Slim::redirect... | Updating Slim redirect unit tests so they use the correct status codes | slimphp_Slim | train | php |
f4ddd0eac5850434905f110e58aba16a7a4adaf0 | diff --git a/lib/fog/aws/requests/compute/register_image.rb b/lib/fog/aws/requests/compute/register_image.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/aws/requests/compute/register_image.rb
+++ b/lib/fog/aws/requests/compute/register_image.rb
@@ -73,10 +73,10 @@ module Fog
'imageOwnerId' => self.data[:ow... | [compute|aws] Respect extra register_image options when mocking. | fog_fog | train | rb |
bde39777994422935f755687cf83e5ad86cd5e16 | diff --git a/bundles/org.eclipse.orion.client.core/web/orion/i18n.js b/bundles/org.eclipse.orion.client.core/web/orion/i18n.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/i18n.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/i18n.js
@@ -13,6 +13,7 @@
define(function() {
... | Bug <I> - Git status page broken in deployed build | eclipse_orion.client | train | js |
f62fa053890105aa5c2024bb81812127c05ec90b | diff --git a/src/util/Util.js b/src/util/Util.js
index <HASH>..<HASH> 100644
--- a/src/util/Util.js
+++ b/src/util/Util.js
@@ -76,7 +76,7 @@ class Util {
static parseEmoji(text) {
if (text.includes('%')) text = decodeURIComponent(text);
if (!text.includes(':')) return { animated: false, name: text, id: nul... | fix(Message#addReaction): incorrect regex (#<I>) | discordjs_discord.js | train | js |
1cf7975319b8cdf4a02d8a42a451bd8efe9a39b6 | diff --git a/spec/google/api_client/result_spec.rb b/spec/google/api_client/result_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/google/api_client/result_spec.rb
+++ b/spec/google/api_client/result_spec.rb
@@ -103,7 +103,7 @@ describe Google::APIClient::Result do
'https://www.googleapis.com/plus/v1/people... | G+ API changed schema :( | googleapis_google-api-ruby-client | train | rb |
fdc91b78baee29acd4ded83c820fde6b6ee7de45 | diff --git a/base/app/assets/javascripts/toolbar.js b/base/app/assets/javascripts/toolbar.js
index <HASH>..<HASH> 100644
--- a/base/app/assets/javascripts/toolbar.js
+++ b/base/app/assets/javascripts/toolbar.js
@@ -1 +1,22 @@
-//= require menu
+function initMenu() {
+ $('.toolbar_menu ul li ul').hide();
+ $('.toolbar_m... | Rearrange of toolbar javascript | ging_social_stream | train | js |
07059767dfc57dac3726aa520f17ee3a4f405df6 | diff --git a/spyderlib/widgets/colors.py b/spyderlib/widgets/colors.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/colors.py
+++ b/spyderlib/widgets/colors.py
@@ -19,10 +19,10 @@ class ColorButton(QPushButton):
self._color = QColor()
def choose_color(self):
- rgba, valid = QColorDi... | Fix color selection dialog, which was not shown on PySide, because
it was invoked through deprecated QColorDialog.getRgba() function
absent there | spyder-ide_spyder | train | py |
01d89baa5392fd3a3eddd91e7e216e37f0f5b805 | diff --git a/lib/hacker_term.rb b/lib/hacker_term.rb
index <HASH>..<HASH> 100644
--- a/lib/hacker_term.rb
+++ b/lib/hacker_term.rb
@@ -125,9 +125,7 @@ module HackerTerm
def sort_on!(mode)
case mode
when :score
- @data = @data.sort do |a, b|
- a['score'].to_f <=> b['score'].to_f
- ... | Added inline block for sorting. | ciaranarcher_hacker_term | train | rb |
2b84d3b72626aefb3a9a7b44b7061cd587420af6 | diff --git a/src/Network/Request.php b/src/Network/Request.php
index <HASH>..<HASH> 100644
--- a/src/Network/Request.php
+++ b/src/Network/Request.php
@@ -1388,7 +1388,7 @@ class Request implements ArrayAccess
*
* @param string $name The dot separated path to insert $value at.
* @param mixed $value Th... | Use static instead of self as IDEs deal with it better. | cakephp_cakephp | train | php |
d486a4efab3c0974f2ca9b101c77dbab102cf5d4 | diff --git a/ruby/deploy.rb b/ruby/deploy.rb
index <HASH>..<HASH> 100644
--- a/ruby/deploy.rb
+++ b/ruby/deploy.rb
@@ -9,6 +9,18 @@ _cset(:sake_path) { "./framework/sake" }
# The migrate task takes care of doing the dev/build
namespace :deploy do
+ task :pre_checks do
+ # Abort the deployment if we discover the cu... | Add a sanity check to deployments. | silverstripe-archive_deploynaut | train | rb |
1c6f36a9a8cb0fdef380bf9d7399524ee0c7da2f | diff --git a/backup/restorelib.php b/backup/restorelib.php
index <HASH>..<HASH> 100644
--- a/backup/restorelib.php
+++ b/backup/restorelib.php
@@ -4411,6 +4411,18 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
} else {
$status = false;
}
+ // MDL-14326 remo... | MDL-<I> Remove all course_modules that remained empty (i.e. with instance==0) after the particular restore process. Merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
7343cac64738ffb3e56412d0070218e2051422a0 | diff --git a/src/lib/Pagination/Pagerfanta/URLSearchAdapter.php b/src/lib/Pagination/Pagerfanta/URLSearchAdapter.php
index <HASH>..<HASH> 100644
--- a/src/lib/Pagination/Pagerfanta/URLSearchAdapter.php
+++ b/src/lib/Pagination/Pagerfanta/URLSearchAdapter.php
@@ -56,6 +56,7 @@ class URLSearchAdapter implements AdapterIn... | Prevented multiple count operations when attempting to paginate URL tab (#<I>) | ezsystems_ezplatform-admin-ui | train | php |
a9fe389db8fc1d09549f8ea878408bedf705acee | diff --git a/archive-commons/src/main/java/org/archive/url/URLParser.java b/archive-commons/src/main/java/org/archive/url/URLParser.java
index <HASH>..<HASH> 100644
--- a/archive-commons/src/main/java/org/archive/url/URLParser.java
+++ b/archive-commons/src/main/java/org/archive/url/URLParser.java
@@ -83,7 +83,7 @@ pub... | add other unicode line terminators to STRAY_SPACING regex | iipc_webarchive-commons | train | java |
bd9baaed6ca832fcb5e04a8d5c32c182314c9cd5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name="django-extra-tools",
- version='0.1.0b2',
+ version='0.2.0b1',
author='Tomasz Jakub Rup',
author_email='tomasz.rup@gmail.com',
... | New version <I>b1 | tomi77_django-extra-tools | train | py |
a48cd7cb1d1c16583fc140004b6d875edd429b27 | diff --git a/lib/command.js b/lib/command.js
index <HASH>..<HASH> 100644
--- a/lib/command.js
+++ b/lib/command.js
@@ -1,8 +1,7 @@
(function() {
- var BANNER, CoffeeScript, EventEmitter, SWITCHES, compileJoin, compileOptions, compileScript, compileScripts, compileStdio, contents, exec, forkNode, fs, helpers, lint, lo... | Removed dependency on util to extend support to node <I> | jashkenas_coffeescript | train | js |
864f40bf6f5d7ece1aa663f8419a50c7ee31b3af | diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Model.php
+++ b/src/Illuminate/Database/Eloquent/Model.php
@@ -418,6 +418,23 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSe... | Added forceFill and forceCreate methods. | laravel_framework | train | php |
5958143c99376682723846dcc297f90316b5003a | diff --git a/lib/jquery.jcarousel.js b/lib/jquery.jcarousel.js
index <HASH>..<HASH> 100644
--- a/lib/jquery.jcarousel.js
+++ b/lib/jquery.jcarousel.js
@@ -1,4 +1,4 @@
-/**
+/*!
* jCarousel - Riding carousels with jQuery
* http://sorgalla.com/jcarousel/
* | C-Style comment to be preserved with compressors like YUI Compressor etc. | jsor_jcarousel | train | js |
494c6e0e0d388ec8a5b6749eaf1bd76fd7072e67 | diff --git a/qiime_tools/test/test_util.py b/qiime_tools/test/test_util.py
index <HASH>..<HASH> 100644
--- a/qiime_tools/test/test_util.py
+++ b/qiime_tools/test/test_util.py
@@ -1,7 +1,7 @@
import unittest
from qiime_tools import util as qtu
-class SplitPhylogenyTest(unittest.TestCase):
+class split_phylogeny_Test... | Updated test_util.py
Changed test class name to conform with function name. | smdabdoub_phylotoast | train | py |
9fdd291512e7e4cfcb7dde0a05d713f989238aab | diff --git a/indra/tests/test_pybel_api.py b/indra/tests/test_pybel_api.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_pybel_api.py
+++ b/indra/tests/test_pybel_api.py
@@ -1,5 +1,6 @@
import os
from urllib import request
+
from nose.plugins.attrib import attr
from pybel import BELGraph
from pybel.dsl import... | Update mirna test with new expected behavior | sorgerlab_indra | train | py |
c27ca1eadea6d5d295d130deed5948b35a98b964 | diff --git a/vodka/app.py b/vodka/app.py
index <HASH>..<HASH> 100644
--- a/vodka/app.py
+++ b/vodka/app.py
@@ -53,12 +53,10 @@ def load(name, cfg):
if cfg.get("module"):
mod = importlib.import_module("%s.application" % cfg.get("module"))
- print "MOD", mod
cfg["home"] = os.path.dirna... | when loading applications from a source directory, append to sys path instead of doing import hooks | 20c_vodka | train | py |
4ac00e1bad087e8be7e054a3c3ef264ac9735ad9 | diff --git a/eZ/Publish/MVC/View/Manager.php b/eZ/Publish/MVC/View/Manager.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/MVC/View/Manager.php
+++ b/eZ/Publish/MVC/View/Manager.php
@@ -68,7 +68,7 @@ class Manager
public function getAllViewProviders()
{
if ( empty( $this->sortedViewProviders ) )
- ... | Fixed wrong naming/calls in ViewManager | ezsystems_ezpublish-kernel | train | php |
561c4f6efee21ba7fd01f4fa62874997d325181d | diff --git a/src/rinoh/frontend/__init__.py b/src/rinoh/frontend/__init__.py
index <HASH>..<HASH> 100644
--- a/src/rinoh/frontend/__init__.py
+++ b/src/rinoh/frontend/__init__.py
@@ -26,8 +26,10 @@ class TreeNode(object):
try:
return cls._mapping[node_name.replace('-', '_')](node)
except ... | Report location of unmapped node in the source file | brechtm_rinohtype | train | py |
b3857bd69038f2cbb652858345d4dbd7618eb3eb | diff --git a/lib/Connection.js b/lib/Connection.js
index <HASH>..<HASH> 100644
--- a/lib/Connection.js
+++ b/lib/Connection.js
@@ -201,6 +201,7 @@ class Session extends EventEmitter {
}
async dispose() {
+ console.assert(!!this._connection, 'Protocol error: Connection closed. Most likely the page has been cl... | fix(page): page.close() assert that connection is not closed (#<I>) | GoogleChrome_puppeteer | train | js |
6f2cd9df7fdae1f0ae55604452c2afd38af9bccf | diff --git a/test/www/jxcore/CITestMode.js b/test/www/jxcore/CITestMode.js
index <HASH>..<HASH> 100644
--- a/test/www/jxcore/CITestMode.js
+++ b/test/www/jxcore/CITestMode.js
@@ -76,16 +76,21 @@ function copyCINodeTestClass() {
function emptyAlliOSTestFilesButOne() {
try {
const path = '../../../lib/ios/ThaliC... | Throw error when SimpleTestCase doesn't exists | thaliproject_Thali_CordovaPlugin | train | js |
7f5850982e78b46a0db4d23778698e1889e24d67 | diff --git a/examples/hash-mode/app.js b/examples/hash-mode/app.js
index <HASH>..<HASH> 100644
--- a/examples/hash-mode/app.js
+++ b/examples/hash-mode/app.js
@@ -32,7 +32,7 @@ new Vue({
router,
template: `
<div id="app">
- <h1>Basic</h1>
+ <h1>Mode: 'hash'</h1>
<ul>
<li><router-lin... | test: fix examples h1 text (#<I>) | vuejs_vue-router | train | js,js |
4b1896882fa8c368e75a110e6d39a59e1399ef50 | diff --git a/src/Whoops/Util/TemplateHelper.php b/src/Whoops/Util/TemplateHelper.php
index <HASH>..<HASH> 100644
--- a/src/Whoops/Util/TemplateHelper.php
+++ b/src/Whoops/Util/TemplateHelper.php
@@ -120,14 +120,14 @@ class TemplateHelper
// re-use the same DumpOutput instance, so it won't re-render the glo... | changed var cloner to cloneVar | filp_whoops | train | php |
4d2983a466c01a9793963e1ae74585dff4993932 | diff --git a/python/dllib/src/bigdl/dllib/optim/optimizer.py b/python/dllib/src/bigdl/dllib/optim/optimizer.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/optim/optimizer.py
+++ b/python/dllib/src/bigdl/dllib/optim/optimizer.py
@@ -522,8 +522,6 @@ class Optimizer(JavaValue):
:param val_rdd: ... | add rnn example in local_integration test | intel-analytics_BigDL | train | py |
7b57b0b8d39b4cf64936cf42ca1c37bfe2b432cf | diff --git a/state/allwatcher.go b/state/allwatcher.go
index <HASH>..<HASH> 100644
--- a/state/allwatcher.go
+++ b/state/allwatcher.go
@@ -1087,7 +1087,6 @@ func newAllWatcherStateBacking(st *State) Backing {
machinesC,
unitsC,
applicationsC,
- remoteApplicationsC,
relationsC,
annotationsC,
statusesC... | Remove remoteApplication collection from watcher | juju_juju | train | go |
3a9f5c35005301874923a960e11e29210f00913d | diff --git a/lib/utils.js b/lib/utils.js
index <HASH>..<HASH> 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -103,6 +103,10 @@ function normalizeQueryConfig (config, values, callback) {
}
module.exports = {
- prepareValue: prepareValue,
+ prepareValue: function prepareValueWrapper (value) {
+ //this ensures t... | wrap entry point to prepareValue to only accept 1 arg | brianc_node-postgres | train | js |
b24546607fcceb63e024c0dabc32e8830861c038 | diff --git a/salt/modules/rh_ip.py b/salt/modules/rh_ip.py
index <HASH>..<HASH> 100644
--- a/salt/modules/rh_ip.py
+++ b/salt/modules/rh_ip.py
@@ -10,6 +10,9 @@ import StringIO
# import third party libs
import jinja2
+# Import Salt libs
+import salt.utils
+
# Set up logging
log = logging.getLogger(__name__) | fix for network state handling on RH-based machines
this is in response to issue #<I> (and thanks to the suggested fix
from UtahDave!) | saltstack_salt | train | py |
4d400c82bf2aad8438038422ecbdc6cc2a8bfd4f | diff --git a/library/Admin/UI/BackEnd.php b/library/Admin/UI/BackEnd.php
index <HASH>..<HASH> 100644
--- a/library/Admin/UI/BackEnd.php
+++ b/library/Admin/UI/BackEnd.php
@@ -8,6 +8,30 @@ class BackEnd
{
add_action('admin_footer', array($this, 'hostingEnviroment'));
add_action('admin_title', arra... | Prefix frontend title with test/beta/local | helsingborg-stad_Municipio | train | php |
d574405094ce0e1fc0b6f12fb58664bd5f1e83ed | diff --git a/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapStoreEvictionTest.java b/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapStoreEvictionTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapStoreEvictionTest.java
+++ b/hazelcast/src/test/java/com/hazelc... | reverted back previous `assertSizeEventually` commit since it seems to cause timeout failures and normally we should not need it because map load mode is EAGER. | hazelcast_hazelcast | train | java |
cbc9749a15664460667752563e1d8a19c4833f2c | diff --git a/tests/ci.js b/tests/ci.js
index <HASH>..<HASH> 100755
--- a/tests/ci.js
+++ b/tests/ci.js
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
var path = require('path');
var filename = __filename.replace(__dirname + '/', '');
-var elmTest = path.join(__dirname, '..', 'bin', 'elm-test');
+var elmTest = "elm-t... | Use the npm link-ed version in ci.js | rtfeldman_node-test-runner | train | js |
320cc5713be0b83df7f0f5009726a4f13f7e3050 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -63,7 +63,13 @@ func NewClient(id string, addrs []string, config *ClientConfig) (*Client, error)
// do an initial fetch of all cluster metadata by specifing an empty list of topics
err := client.RefreshAllMetadata()
... | Don't fail to create the client on LeaderNotAvailable
It indicates that part of the cluster is probably down, but it shouldn't be
fatal. | Shopify_sarama | train | go |
62d11c147b5827d6b44352c4f9acd891526a7ee2 | diff --git a/public/app/plugins/datasource/cloudwatch/query_parameter_ctrl.js b/public/app/plugins/datasource/cloudwatch/query_parameter_ctrl.js
index <HASH>..<HASH> 100644
--- a/public/app/plugins/datasource/cloudwatch/query_parameter_ctrl.js
+++ b/public/app/plugins/datasource/cloudwatch/query_parameter_ctrl.js
@@ -1... | (cloudwatch) fix dimension value find query (#<I>) | grafana_grafana | train | js |
31244686fe4e6fc613de04b85497b2b0285610df | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -222,7 +222,11 @@ class Tab extends EventEmitter {
tabGroup.viewContainer.removeChild(this.webview);
TabGroupPrivate.removeTab.bind(tabGroup)(this, true);
this.emit("close", this);
- TabGroupP... | Don't change active tab if closed tab wasn't active | brrd_electron-tabs | train | js |
8767862da3c313ed7a968311760b1b455527a643 | diff --git a/src/conbo/collections/RemoteList.js b/src/conbo/collections/RemoteList.js
index <HASH>..<HASH> 100644
--- a/src/conbo/collections/RemoteList.js
+++ b/src/conbo/collections/RemoteList.js
@@ -14,7 +14,7 @@ conbo.RemoteList = conbo.List.extend
*/
constructor: function(source, options)
{
- options || (... | Added support for default options in RemoteHash and RemoteList | mesmotronic_conbo | train | js,js |
683f91f5e7126146fafbaf5dddf86b67e44249eb | diff --git a/integration/networking/ip_test.go b/integration/networking/ip_test.go
index <HASH>..<HASH> 100644
--- a/integration/networking/ip_test.go
+++ b/integration/networking/ip_test.go
@@ -69,26 +69,4 @@ var _ = Describe("IP settings", func() {
})
})
- Describe("the internet", func() {
- It("is reachable ... | Remove the container -> <I> ping test.
[network-tests-#<I>] | cloudfoundry-attic_garden-linux | train | go |
f78e7ef26e1ce68b48abfe7d807bcfb377f3fc86 | diff --git a/spec/mongoid/criteria_spec.rb b/spec/mongoid/criteria_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongoid/criteria_spec.rb
+++ b/spec/mongoid/criteria_spec.rb
@@ -4898,6 +4898,31 @@ describe Mongoid::Criteria do
end
end
+ describe "#text_search" do
+
+ let(:criteria) do
+ Word.all
+ ... | Hook text search into criteria.
[ #<I> ] | mongodb_mongoid | train | rb |
08ad3dd4b7ca4bcdc51d13f32e5475b5843c1515 | diff --git a/qubits/__version__.py b/qubits/__version__.py
index <HASH>..<HASH> 100644
--- a/qubits/__version__.py
+++ b/qubits/__version__.py
@@ -1 +1 @@
-__version__ = '0.3.3'
+__version__ = '0.3.4' | added volume and discovery rate reporting to results file | thespacedoctor_qubits | train | py |
46bb19d4f4cae1d567204cd44ff14d1acb4a3865 | diff --git a/src/test/java/org/jfree/svg/TestSVGGraphics2D.java b/src/test/java/org/jfree/svg/TestSVGGraphics2D.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/jfree/svg/TestSVGGraphics2D.java
+++ b/src/test/java/org/jfree/svg/TestSVGGraphics2D.java
@@ -379,16 +379,15 @@ public class TestSVGGraphics2D {
... | Enable clip with line test - behaviour is strange but JFreeSVG is matching what is observed in the JDK | jfree_jfreesvg | train | java |
f4cbf4eeccdcf204652c96b0502c8572cf8282cf | diff --git a/aioblescan/aioblescan.py b/aioblescan/aioblescan.py
index <HASH>..<HASH> 100644
--- a/aioblescan/aioblescan.py
+++ b/aioblescan/aioblescan.py
@@ -999,7 +999,7 @@ class HCI_LE_Meta_Event(Packet):
data=x.decode(data)
code=self.payload[0]
if code.val==b"\x02":
- ev=Re... | HCI_LE_Meta_Event: use Reports for RepeatedField name
Field names are also used as search key. As the inner data field
HCI_LEM_Adv_Report is already using "Adv Report", it would be better the
encapsulating parent container use another name to avoid more chaos. | frawau_aioblescan | train | py |
33b43103c92f185b0ab66c291579dcd242627949 | diff --git a/lxd/network/acl/driver_common.go b/lxd/network/acl/driver_common.go
index <HASH>..<HASH> 100644
--- a/lxd/network/acl/driver_common.go
+++ b/lxd/network/acl/driver_common.go
@@ -525,11 +525,17 @@ func (d *common) Update(config *api.NetworkACLPut) error {
return errors.Wrapf(err, "Failed getting network... | lxd/network/acl/driver/common: Calls OVNPortGroupDeleteIfUnused during Update | lxc_lxd | train | go |
eeda97ab7deec397f0f6ee8f19b17051edea190f | diff --git a/src/sqlline/SqlLine.java b/src/sqlline/SqlLine.java
index <HASH>..<HASH> 100644
--- a/src/sqlline/SqlLine.java
+++ b/src/sqlline/SqlLine.java
@@ -3888,6 +3888,10 @@ public class SqlLine
private void setCompletions (boolean skipmeta)
throws SQLException, IOException
{
+ final String extraNameCha... | Use the database metadata to determine if a character is a valid name identifier, and if so, do not break tab-completion on those characters. | julianhyde_sqlline | train | java |
93759946145ad12afa44847d96ba4600f6a0097f | diff --git a/nodeconductor/structure/admin.py b/nodeconductor/structure/admin.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/admin.py
+++ b/nodeconductor/structure/admin.py
@@ -314,7 +314,7 @@ class ServiceSettingsAdmin(ChangeReadonlyMixin, admin.ModelAdmin):
# filter out certain fields from the ... | Fix SharedServiceSettings reference [WAL-<I>] | opennode_waldur-core | train | py |
420a70a9e9157ba60e9c85e2884f06e90b651dfe | diff --git a/test/Select-test.js b/test/Select-test.js
index <HASH>..<HASH> 100644
--- a/test/Select-test.js
+++ b/test/Select-test.js
@@ -1808,10 +1808,11 @@ describe('Select', () => {
beforeEach(() => {
- var instance = createControl({
+ var wrapper = createControlWithWrapper({
clearable: true,
... | When selection is empty, onChange now called with null | HubSpot_react-select-plus | train | js |
23dd79b91faaf91d7682ee43a97a745f1213ae23 | diff --git a/tests/test_customers.py b/tests/test_customers.py
index <HASH>..<HASH> 100644
--- a/tests/test_customers.py
+++ b/tests/test_customers.py
@@ -48,20 +48,23 @@ def test_customers_all(client, response):
response.get('https://api.mollie.com/v2/customers', 'customer_multiple')
customers = client.cus... | Make test_customers_all() the same as all similar tests | mollie_mollie-api-python | train | py |
f02f59d5797f83883f4a4961c1c6377e2e865a58 | diff --git a/plugins/shared/cmd/launcher/command/device.go b/plugins/shared/cmd/launcher/command/device.go
index <HASH>..<HASH> 100644
--- a/plugins/shared/cmd/launcher/command/device.go
+++ b/plugins/shared/cmd/launcher/command/device.go
@@ -22,6 +22,7 @@ import (
"github.com/hashicorp/nomad/plugins/device"
"githu... | fix plugin launcher SetConfig msgpack params (#<I>)
* fix plugin launcher SetConfig msgpack params
The plugin launcher tool was passing the wrong byte array into
`SetConfig`, resulting in msgpack decoding errors. This was fixed in
a<I> (#<I>) but accidentally reverted in 6aff<I>d (#<I>). | hashicorp_nomad | train | go |
2f8349aee835f4fa3f0128c946f06be0f5fb58c7 | diff --git a/spillway/forms/fields.py b/spillway/forms/fields.py
index <HASH>..<HASH> 100644
--- a/spillway/forms/fields.py
+++ b/spillway/forms/fields.py
@@ -99,6 +99,8 @@ class OGRGeometryField(forms.GeometryField):
# Handle a comma delimited extent.
elif list(value).count(',') == 3:
va... | Handle dict in OGRGeometryField | bkg_django-spillway | train | py,py |
95683ab3f85b6676a5e3e689b10eb84c6f389938 | diff --git a/src/middleware/auth/AbstractAuthMethod.php b/src/middleware/auth/AbstractAuthMethod.php
index <HASH>..<HASH> 100644
--- a/src/middleware/auth/AbstractAuthMethod.php
+++ b/src/middleware/auth/AbstractAuthMethod.php
@@ -29,7 +29,7 @@ abstract class AbstractAuthMethod
return password_verify($... | Fixing authmiddle ware to respect new return policy for ORMs | ntentan_ntentan | train | php |
a43d8072976d4cfe1c5962bef43ca1b336303034 | diff --git a/Kwf/View/Helper/Image.php b/Kwf/View/Helper/Image.php
index <HASH>..<HASH> 100644
--- a/Kwf/View/Helper/Image.php
+++ b/Kwf/View/Helper/Image.php
@@ -59,13 +59,13 @@ class Kwf_View_Helper_Image extends Kwf_Component_View_Helper_Abstract
if ($class != '') { $attributes['class'] = $class; }
... | fix image helper typo and change back order of attributes
many test rely on this order | koala-framework_koala-framework | train | php |
b419afdf5644e489068742f5476dbf7a429dd24e | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js
@@ -3... | Bug <I> - Launch conf properties are lost on retry | eclipse_orion.client | train | js |
6724f68fe2b3b7927a4f77f71331c5848d8d3023 | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -1 +1,5 @@
<?php declare(strict_types = 1);
+
+use Keboola\Component\BaseComponent;
+
+BaseComponent::setEnvironment(); | Call setEnvironment in tests bootstrap | keboola_php-component | train | php |
bb64ac9d4dad503cf3d3a5617d158d259397a322 | diff --git a/pandas/io/data.py b/pandas/io/data.py
index <HASH>..<HASH> 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -95,9 +95,11 @@ def get_quote_yahoo(symbols):
for line in lines:
fields = line.strip().split(',')
- #print fields
for i,field in enumerate(fields):
- ... | parse change_pct as a float instead of a string | pandas-dev_pandas | train | py |
8f33f33c3ea11df792ce10bab0eaec088835f6af | diff --git a/structr-core/src/main/java/org/structr/schema/export/StructrPropertyDefinition.java b/structr-core/src/main/java/org/structr/schema/export/StructrPropertyDefinition.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/schema/export/StructrPropertyDefinition.java
+++ b/structr-core/... | Fixed bug that prevented the date pattern to be included in JSON schema export. | structr_structr | train | java |
13015d2e7ebef9d7b9b8b5acb84a35b8dfde5502 | diff --git a/ts/blueprints/ember-cli-typescript/index.js b/ts/blueprints/ember-cli-typescript/index.js
index <HASH>..<HASH> 100644
--- a/ts/blueprints/ember-cli-typescript/index.js
+++ b/ts/blueprints/ember-cli-typescript/index.js
@@ -125,7 +125,7 @@ module.exports = {
}
let packages = [
- { name: 'emb... | chore: install the latest stable ember-cli-typescript-blueprints in our host | typed-ember_ember-cli-typescript | train | js |
21d06ad9a616a2dbee87410fb84cb51ae40d5986 | diff --git a/ElectronClient/app/ElectronAppWrapper.js b/ElectronClient/app/ElectronAppWrapper.js
index <HASH>..<HASH> 100644
--- a/ElectronClient/app/ElectronAppWrapper.js
+++ b/ElectronClient/app/ElectronAppWrapper.js
@@ -82,7 +82,7 @@ class ElectronAppWrapper {
}));
// Uncomment this to view errors if the app... | Tools: Optional open dev tools in Developer Mode (#<I>)
* Require --open-dev-tools along with --env dev in command line options to make opening of Dev Tools optional when in Developer mode.
* Restore original lines then comment out the call to openDevTools | laurent22_joplin | train | js |
9a9dc20dd7acaaeab94beef631557f97ca7f7e7a | diff --git a/tests/test_cmd.py b/tests/test_cmd.py
index <HASH>..<HASH> 100644
--- a/tests/test_cmd.py
+++ b/tests/test_cmd.py
@@ -8,10 +8,10 @@ import os
import subprocess
os.chdir(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
+outfile = 'tests/output.txt'
def setup_function(function):
tr... | Update test_cmd.py
Moved definition of outfile to module level. | aburrell_apexpy | train | py |
40f125c46f6b12e4f08e9803861e97acf8ebad6d | diff --git a/org.jrebirth.af/modular/src/main/java/org/jrebirth/af/modular/ModuleConfigFileParser.java b/org.jrebirth.af/modular/src/main/java/org/jrebirth/af/modular/ModuleConfigFileParser.java
index <HASH>..<HASH> 100644
--- a/org.jrebirth.af/modular/src/main/java/org/jrebirth/af/modular/ModuleConfigFileParser.java
+... | Fix an issue when no warmup classes are defined | JRebirth_JRebirth | train | java |
0b01fb42e0d99a2a6572a925913d36de2208034d | diff --git a/test/dynobject-test.js b/test/dynobject-test.js
index <HASH>..<HASH> 100644
--- a/test/dynobject-test.js
+++ b/test/dynobject-test.js
@@ -48,21 +48,21 @@ describe('DynObject', function() {
});
describe('with specific change handler', function() {
- var changeHandler;
+ ... | Completed first batch of tests for DynObject | VDSFoundry_dynel-core | train | js |
5afe766e637827ede728ec7a9fefcfea691dfa35 | diff --git a/scripts/build-native.js b/scripts/build-native.js
index <HASH>..<HASH> 100644
--- a/scripts/build-native.js
+++ b/scripts/build-native.js
@@ -34,9 +34,8 @@ async function build() {
shell: true,
});
- yarn.on('error', reject);
- yarn.on('close', resolve);
- });
+ yarn.on(... | Fail when unable to build a native package (#<I>) | parcel-bundler_parcel | train | js |
80aa54100fb15de1ea858bab524792ce51495128 | diff --git a/modules/social_features/social_comment/src/SocialCommentLazyRenderer.php b/modules/social_features/social_comment/src/SocialCommentLazyRenderer.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_comment/src/SocialCommentLazyRenderer.php
+++ b/modules/social_features/social_comment/src/Soc... | Issue #<I> by ronaldtebrake: Now comments are lazy rendered, we need to make sure the renderer also adds classes required by ajax comments, since the render array only contains a lazy_builder reference we cant process these untill we actually have the rendered output | goalgorilla_open_social | train | php |
84155d2a88d01b3a1ad1f940943c8e6e22f9c892 | diff --git a/tests/test_generator.py b/tests/test_generator.py
index <HASH>..<HASH> 100644
--- a/tests/test_generator.py
+++ b/tests/test_generator.py
@@ -52,7 +52,7 @@ def test__template_generator__global_context_passed_to_tasks():
side_effect=lambda **kwargs: kwargs)
def test__template_generator_... | fixed python <I> compatibility and typo | moltob_pymultigen | train | py |
bbe1661be21bd7e1b32a650aea3e4d72eccd2347 | diff --git a/quickstart-archetype/quickstart-webdriver-testng/src/main/resources/archetype-resources/src/test/java/WebDriverWithHelperTest.java b/quickstart-archetype/quickstart-webdriver-testng/src/main/resources/archetype-resources/src/test/java/WebDriverWithHelperTest.java
index <HASH>..<HASH> 100644
--- a/quickstar... | Include username/password in construction of SauceOnDemandAuthentication | saucelabs_sauce-java | train | java |
f3253aa5a71fb1d7b16d0bf37dcb25a66b387ae2 | diff --git a/test/formatter.spec.js b/test/formatter.spec.js
index <HASH>..<HASH> 100644
--- a/test/formatter.spec.js
+++ b/test/formatter.spec.js
@@ -121,6 +121,22 @@ describe('Formatter', function () {
);
});
+ it('should handle a "like" document', function () {
+ delete baseMicroformatData.prop... | tests(main): explicitly test "like-of" formatting | voxpelli_node-format-microformat | train | js |
ae1da73551b1a3af5c1a67519634174a06bd8186 | diff --git a/app/routines/openstax/utilities/search_relation.rb b/app/routines/openstax/utilities/search_relation.rb
index <HASH>..<HASH> 100644
--- a/app/routines/openstax/utilities/search_relation.rb
+++ b/app/routines/openstax/utilities/search_relation.rb
@@ -53,8 +53,13 @@ module OpenStax
# Scoping
- ... | Catch KeywordSearch::ParseError and convert to search routine error | openstax_openstax_utilities | train | rb |
53b207c4dacea266c3a62196fda2a578c0f3b1db | diff --git a/tests/pytests/unit/modules/test_schedule.py b/tests/pytests/unit/modules/test_schedule.py
index <HASH>..<HASH> 100644
--- a/tests/pytests/unit/modules/test_schedule.py
+++ b/tests/pytests/unit/modules/test_schedule.py
@@ -698,9 +698,23 @@ def test_modify(sock_dir, job1, schedule_config_file):
... | Fixing failing test. Order of OrderedDict not guaranteed on older Python versions. | saltstack_salt | train | py |
65dd9355741988f2edba13bd1e0d95a9bdbf219e | diff --git a/tests/test-timber-helper.php b/tests/test-timber-helper.php
index <HASH>..<HASH> 100644
--- a/tests/test-timber-helper.php
+++ b/tests/test-timber-helper.php
@@ -20,8 +20,7 @@
remove_all_filters('wp_title');
$post_id = $this->factory->post->create(array('post_title' => 'My New Post'));
... | Changed wp_title test to match proper WP_UnitTestCase methods for setting current page | timber_timber | train | php |
8bfdae4760d8911931cb8a9070006ec57fa8aa38 | diff --git a/base-sync.js b/base-sync.js
index <HASH>..<HASH> 100644
--- a/base-sync.js
+++ b/base-sync.js
@@ -418,10 +418,7 @@ BaseSync.prototype = {
var ms = this.options.timeout
var sync = this
var timeout = setTimeout(function () {
- if (sync.connected) {
- sync.sendError(new SyncError(sy... | Do not send timeout to timeouted client | logux_core | train | js,js |
1ec38f207c164241d3fae627e87987c981c90a86 | diff --git a/lib/virtualbox/com/interface/progress.rb b/lib/virtualbox/com/interface/progress.rb
index <HASH>..<HASH> 100644
--- a/lib/virtualbox/com/interface/progress.rb
+++ b/lib/virtualbox/com/interface/progress.rb
@@ -29,7 +29,7 @@ module VirtualBox
# This method blocks the execution while the operations ... | Progress#wait method now exits properly on complete, rather than <I>% | mitchellh_virtualbox | train | rb |
12882f02e16fd3915ab252c12357f987a4856a64 | diff --git a/cloudaux/__about__.py b/cloudaux/__about__.py
index <HASH>..<HASH> 100644
--- a/cloudaux/__about__.py
+++ b/cloudaux/__about__.py
@@ -13,7 +13,7 @@ __title__ = 'cloudaux'
__summary__ = 'Cloud Auxiliary is a python wrapper and orchestration module for interacting with cloud providers'
__uri__ = 'https://g... | Upped the version number to <I> | Netflix-Skunkworks_cloudaux | train | py |
97f98956fdfa97d6fd13c318ed82363ac1a02b02 | diff --git a/src/nazarpc/BananaHTML.php b/src/nazarpc/BananaHTML.php
index <HASH>..<HASH> 100644
--- a/src/nazarpc/BananaHTML.php
+++ b/src/nazarpc/BananaHTML.php
@@ -749,12 +749,13 @@ class BananaHTML {
*/
protected static function __callStatic_fast_render ($selector, $data) {
if (
+ is_array($data) &&
+ i... | Small fix, check re-ordering | nazar-pc_BananaHTML | train | php |
e85b60877eb35ee31913150af93d2757b415b942 | diff --git a/windpowerlib/wind_turbine.py b/windpowerlib/wind_turbine.py
index <HASH>..<HASH> 100644
--- a/windpowerlib/wind_turbine.py
+++ b/windpowerlib/wind_turbine.py
@@ -191,9 +191,8 @@ def read_turbine_data(**kwargs):
if 'filename' not in kwargs:
kwargs['filename'] = 'cp_values.csv'
- file = os... | Join lines in read_turbine_data | wind-python_windpowerlib | train | py |
597d50f378aa966034feb6e28c064e390b92f879 | diff --git a/src/EntitySpecificationRepositoryTrait.php b/src/EntitySpecificationRepositoryTrait.php
index <HASH>..<HASH> 100644
--- a/src/EntitySpecificationRepositoryTrait.php
+++ b/src/EntitySpecificationRepositoryTrait.php
@@ -13,6 +13,13 @@ trait EntitySpecificationRepositoryTrait
private $alias = 'e';
... | Added createQueryBuilder as abstract method in the trait | Happyr_Doctrine-Specification | train | php |
1e767556cb6934243199ad0d2b923fa00f9ceb55 | diff --git a/cordova-lib/src/plugman/prepare-browserify.js b/cordova-lib/src/plugman/prepare-browserify.js
index <HASH>..<HASH> 100644
--- a/cordova-lib/src/plugman/prepare-browserify.js
+++ b/cordova-lib/src/plugman/prepare-browserify.js
@@ -193,7 +193,10 @@ module.exports = function handlePrepare(project_dir, platfor... | CB-<I> added hasModule check to browserify code | apache_cordova-lib | train | js |
2da7021083d5535691fda3161da4521c744faa4f | diff --git a/src/vue-ckeditor.js b/src/vue-ckeditor.js
index <HASH>..<HASH> 100644
--- a/src/vue-ckeditor.js
+++ b/src/vue-ckeditor.js
@@ -92,7 +92,7 @@ export default {
computed: {
emptyValueProvided () {
- return this.$options.propsData.hasOwnProperty('emptyValue')
+ return Object.prototype.hasOwn... | src : Disallow use of Object.prototypes builtins directly (no-prototype-builtins) | igorxut_vue-ckeditor5 | train | js |
21fda116ac02291303373e86f7d06c2689780779 | diff --git a/django_toolkit/fallbacks/circuit_breaker.py b/django_toolkit/fallbacks/circuit_breaker.py
index <HASH>..<HASH> 100644
--- a/django_toolkit/fallbacks/circuit_breaker.py
+++ b/django_toolkit/fallbacks/circuit_breaker.py
@@ -34,6 +34,8 @@ class CircuitBreaker:
return self.cache.get(self.failure_cache... | Set circuit breaker cache key before logging | luizalabs_django-toolkit | train | py |
cb1ccf98a972037c464afc42244eeb4ffa99720e | diff --git a/spec/LdapTools/Bundle/LdapToolsBundle/DataCollector/LdapToolsDataCollectorSpec.php b/spec/LdapTools/Bundle/LdapToolsBundle/DataCollector/LdapToolsDataCollectorSpec.php
index <HASH>..<HASH> 100644
--- a/spec/LdapTools/Bundle/LdapToolsBundle/DataCollector/LdapToolsDataCollectorSpec.php
+++ b/spec/LdapTools/B... | Fix the spec....again. | ldaptools_ldaptools-bundle | train | php |
7484893d60e9d3f93ca00bd08ff8a0746a685da5 | diff --git a/docs/examples/example.php b/docs/examples/example.php
index <HASH>..<HASH> 100644
--- a/docs/examples/example.php
+++ b/docs/examples/example.php
@@ -30,12 +30,12 @@ if (!session_id()) {
require_once 'IDS/Init.php';
try {
-
- /*
+
+ /*
* It's pretty easy to get the PHPIDS running
- * 1. Define... | array_merge() is a problematic example, because if $_POST and $_GET both have a key 'foo', it is overwrited. This is a serious security problem, as someone could bypass the IDS | PHPIDS_PHPIDS | train | php |
9f3ac7a9e879694194d73cd3a48bdae1654e8a31 | diff --git a/src/Validator.php b/src/Validator.php
index <HASH>..<HASH> 100644
--- a/src/Validator.php
+++ b/src/Validator.php
@@ -42,7 +42,7 @@ class Validator
$pattern = '[0-9]+(\.[0-9]+)?';
if ($signed) {
- $pattern = '\-' . $pattern;
+ $pattern = '\-?' . $pattern;
... | validate amounts for BcMath | furqansiddiqui_ethereum-rpc | train | php |
2c2bdf43f2840ae1926732e5f77e0bc2c36c167f | diff --git a/lib/mobility/plugin.rb b/lib/mobility/plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/mobility/plugin.rb
+++ b/lib/mobility/plugin.rb
@@ -54,6 +54,7 @@ method calls on +Mobility::Attributes+ instance.
end
def depends_on(plugin)
+ require "mobility/plugins/#{plugin}"
dependencies << ... | Require plugin when declaring a dependency on it | shioyama_mobility | train | rb |
6eb7eccddc96fb7b0a3fe6e26be0481724105e29 | diff --git a/lib/updateMemberInfo.js b/lib/updateMemberInfo.js
index <HASH>..<HASH> 100644
--- a/lib/updateMemberInfo.js
+++ b/lib/updateMemberInfo.js
@@ -21,16 +21,16 @@ UpdateMemberInfo.prototype = {
logger.win("Config updated.")
return Promise.resolve();
}
- , error = function(reason) {... | catch and exit if persistant storage fails | OpenSTFoundation_openst-platform | train | js |
5e15b1edd654498c4a288c9581aa9382a5c2d9ab | diff --git a/rocketbelt/components/images/rocketbelt.images-lazyload.js b/rocketbelt/components/images/rocketbelt.images-lazyload.js
index <HASH>..<HASH> 100644
--- a/rocketbelt/components/images/rocketbelt.images-lazyload.js
+++ b/rocketbelt/components/images/rocketbelt.images-lazyload.js
@@ -4,7 +4,7 @@
$(document... | feat(Lazyload): Append alt to large image from small image. | Pier1_rocketbelt | train | js |
f515add0475086c194ae69940832f3086b8e2372 | diff --git a/src/ansiblecmdb/parser.py b/src/ansiblecmdb/parser.py
index <HASH>..<HASH> 100644
--- a/src/ansiblecmdb/parser.py
+++ b/src/ansiblecmdb/parser.py
@@ -248,6 +248,11 @@ class HostsParser(object):
"""
for entry in section['entries']:
for hostname in self.expand_hostdef(entry['na... | Ignore hosts that don't actually exists when applying section vars. | fboender_ansible-cmdb | train | py |
6d51ab21fb854a5352e4f38d673897e0e79c5c44 | diff --git a/config/rafwell-simplegrid.php b/config/rafwell-simplegrid.php
index <HASH>..<HASH> 100644
--- a/config/rafwell-simplegrid.php
+++ b/config/rafwell-simplegrid.php
@@ -4,7 +4,7 @@ return [
'export'=>[
'pdf'=>[
'enabled'=>false,
- 'bootstrapCss'=>'',
+ 'bootstrapCss'=>'assets/bootstrap/css/bootst... | Ajust initial config for pdf export | rafwell_laravel-simplegrid | train | php,php |
16835fe7e64968ad28462115380af6d9a85574b3 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -5,6 +5,7 @@ module.exports = function(grunt) {
src: [
'lib/events.js',
'lib/tox.js',
+ 'lib/toxencryptsave.js',
'lib/toxoptions.js',
'lib/tox_old.j... | Include lib/toxencryptsave.js when building docs | saneki-discontinued_node-toxcore | train | js |
6e3ac6d6ffd3354005b79cd200bfbacf4771c0a8 | diff --git a/src/main/java/com/hp/autonomy/frontend/view/hod/HodViewService.java b/src/main/java/com/hp/autonomy/frontend/view/hod/HodViewService.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hp/autonomy/frontend/view/hod/HodViewService.java
+++ b/src/main/java/com/hp/autonomy/frontend/view/hod/HodViewServic... | Added JavaDoc to view service interface. [rev: none] | microfocus-idol_haven-search-components | train | java |
a7ef57d4da4903f1bebd25ba3024bff1b584614e | diff --git a/blocks/section_links/block_section_links.php b/blocks/section_links/block_section_links.php
index <HASH>..<HASH> 100644
--- a/blocks/section_links/block_section_links.php
+++ b/blocks/section_links/block_section_links.php
@@ -68,7 +68,7 @@ class block_section_links extends block_base {
if (!empty(... | Making section links point to #section-NNN instead of #NNN | moodle_moodle | train | php |
7e996cf4a21cfabbcc26d04dba6ff3b0fbc2f45a | diff --git a/client/task_runner.go b/client/task_runner.go
index <HASH>..<HASH> 100644
--- a/client/task_runner.go
+++ b/client/task_runner.go
@@ -181,6 +181,7 @@ func (r *TaskRunner) Run() {
}
// Monitoring the Driver
+ defer r.DestroyState()
err = r.monitorDriver(r.handle.WaitCh(), r.updateCh, r.destroyCh)
... | Don't set the alloc status twice when not restarting | hashicorp_nomad | train | go |
406f2ee01f5cf8e5c9430f76c723dc6251c6959c | diff --git a/bench/util/benchwarmer.js b/bench/util/benchwarmer.js
index <HASH>..<HASH> 100644
--- a/bench/util/benchwarmer.js
+++ b/bench/util/benchwarmer.js
@@ -11,7 +11,7 @@ function BenchWarmer() {
this.errors = {};
}
-var print = require('sys').print;
+var print = require('util').print;
BenchWarmer.protot... | require('sys') is deprecated, using 'util' instead
(node:<I>) DeprecationWarning: sys is deprecated. Use util instead.
(cherry picked from commit 9a<I> by @travnels) | wycats_handlebars.js | train | js |
23dca5edfd2f152fcc2f638553ecee4ebb3a5d41 | diff --git a/txstore/tx.go b/txstore/tx.go
index <HASH>..<HASH> 100644
--- a/txstore/tx.go
+++ b/txstore/tx.go
@@ -1322,10 +1322,10 @@ func (s *Store) Records() (records []*TxRecord) {
// Unconfirmed records are saved unsorted, and must be sorted by
// received date on the fly.
- unconfirmed := make([]*TxRecord, ... | Fix bug returning unconfirmed txstore records.
The incorrect slice was being appended to, causing some unconfirmedg
records to be dropped from the return result. | btcsuite_btcwallet | train | go |
405ac7d295343c796f23b95a94a9f1f3b434c7c5 | diff --git a/emitter.go b/emitter.go
index <HASH>..<HASH> 100644
--- a/emitter.go
+++ b/emitter.go
@@ -16,7 +16,9 @@ type Event struct {
Peripheral Peripheral
}
-type EventHandlerFunc func(Event)
+// The event handler function.
+// Return true to terminate
+type EventHandlerFunc func(Event) bool
// Emitter is a... | handlers now return a boolean to stop the processor (true: close the channel and terminate the goroutine) | raff_goble | train | go |
a547730615e710c22a1acf8d7bcd6ab20d5ddb3f | diff --git a/properties/task.py b/properties/task.py
index <HASH>..<HASH> 100644
--- a/properties/task.py
+++ b/properties/task.py
@@ -4,7 +4,7 @@ from properties.base import HasProperties
from properties.basic import String, Bool
-class Result(HasProperties):
+class BaseResult(HasProperties):
"""The result o... | Rename Result to BaseResult. | seequent_properties | train | py |
76d6681f68f198f7a37661b0dec77f54ff4b2089 | diff --git a/lib/Predis/Connection/PhpiredisStreamConnection.php b/lib/Predis/Connection/PhpiredisStreamConnection.php
index <HASH>..<HASH> 100644
--- a/lib/Predis/Connection/PhpiredisStreamConnection.php
+++ b/lib/Predis/Connection/PhpiredisStreamConnection.php
@@ -61,6 +61,16 @@ class PhpiredisStreamConnection extend... | Fix unserialization of Predis/Connection/PhpiredisStreamConnection. | imcj_predis | train | php |
cc2902ab205180fabcba613eae6028d75ba1df3b | diff --git a/components/Composition.php b/components/Composition.php
index <HASH>..<HASH> 100644
--- a/components/Composition.php
+++ b/components/Composition.php
@@ -2,6 +2,8 @@
namespace admin\components;
+use \luya\helpers\Url;
+
class Composition extends \yii\base\Component
{
private $_composition = [];... | added links full_url, added preview button to cms admin | luyadev_luya-module-admin | train | php |
894dbd0420c9c09d3763d3bfaf4184b1a88fc291 | diff --git a/mod/scorm/db/upgrade.php b/mod/scorm/db/upgrade.php
index <HASH>..<HASH> 100644
--- a/mod/scorm/db/upgrade.php
+++ b/mod/scorm/db/upgrade.php
@@ -552,7 +552,7 @@ function xmldb_scorm_upgrade($oldversion) {
$table = new xmldb_table('scorm_seq_objective');
$field = new xmldb_field('objectiv... | MDL-<I> - fix version in upgrade - thanks Andrew | moodle_moodle | train | php |
7d3899dba93e83aefe28daae35c60432aa89d30c | diff --git a/lib/transforms/cloneForEachLocale.js b/lib/transforms/cloneForEachLocale.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/cloneForEachLocale.js
+++ b/lib/transforms/cloneForEachLocale.js
@@ -39,8 +39,10 @@ function assetNeedsLocalization(asset, assetGraph) {
}
} else if (asset.isHtml || as... | cloneForEachLocale: Don't consider an data-i<I>n attribute with a value of "" sufficient for the asset to require localization. | assetgraph_assetgraph-builder | train | js |
1fe66f26de7d1350faad40e111ff9c635df84447 | diff --git a/mailer/models.py b/mailer/models.py
index <HASH>..<HASH> 100644
--- a/mailer/models.py
+++ b/mailer/models.py
@@ -122,6 +122,15 @@ class Message(models.Model):
verbose_name = _("message")
verbose_name_plural = _("messages")
+ def __str__(self):
+ try:
+ email = self... | More helpful `__str__ for Message and MessageLog | pinax_django-mailer | train | py |
902b7dd0bd51062f0f1ce4c3c9c6e4789e077ba3 | diff --git a/app/models/marty/script.rb b/app/models/marty/script.rb
index <HASH>..<HASH> 100644
--- a/app/models/marty/script.rb
+++ b/app/models/marty/script.rb
@@ -141,8 +141,10 @@ class Marty::Script < Marty::Base
engine = Marty::ScriptSet.new(tag).get_engine(script)
# IMPORTANT: engine evals (e.g. eval... | allow script calls with frozen params | arman000_marty | train | rb,rb |
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.