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 |
|---|---|---|---|---|---|
ca30f5a70ea2fab4deb96917ce29f9e9405ed97c | diff --git a/lib/LineCol.php b/lib/LineCol.php
index <HASH>..<HASH> 100644
--- a/lib/LineCol.php
+++ b/lib/LineCol.php
@@ -80,10 +80,11 @@ final class LineCol
}
throw new OutOfBoundsException(sprintf(
- 'Position %s:%s is larger than text length %s',
+ 'Position %s:%s is larger... | Fix bug with line-at-offset | phpactor_text-document | train | php,php |
5d98ca49cad2f29e8fb0eaf8e6c1779a75a0c135 | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -2,6 +2,8 @@ require 'rubygems'
require 'test/unit'
$:.unshift File.expand_path('../../lib', __FILE__)
+ENV["TMUX"] = "true"
+
module FakeTmux
attr_reader :tmux_commands | Travis does not use tmux unfortunately :( | v-yarotsky_tmuxall | train | rb |
d0a2af1944b2f47549ed89fb17efe3a0509a1e82 | diff --git a/splinter/driver/webdriver/cookie_manager.py b/splinter/driver/webdriver/cookie_manager.py
index <HASH>..<HASH> 100644
--- a/splinter/driver/webdriver/cookie_manager.py
+++ b/splinter/driver/webdriver/cookie_manager.py
@@ -3,15 +3,10 @@
# Copyright 2012 splinter authors. All rights reserved.
# Use of this... | Remove useless py2x version check (#<I>) | cobrateam_splinter | train | py |
85d9d3244aa8cbc1e4809544ea86620a0e539160 | diff --git a/ptest/screencapturer.py b/ptest/screencapturer.py
index <HASH>..<HASH> 100644
--- a/ptest/screencapturer.py
+++ b/ptest/screencapturer.py
@@ -290,11 +290,12 @@ def take_screenshots():
if system() == 'Darwin' and not pyobjc_installed:
screenshot["error"] = "The package pyobjc is necessary for ... | Fix empty screenshot when failed to capture screenshot. | KarlGong_ptest | train | py |
38fa8650971d2e46168a1167d6b05ddf2d87927f | diff --git a/eli5/formatters/image.py b/eli5/formatters/image.py
index <HASH>..<HASH> 100644
--- a/eli5/formatters/image.py
+++ b/eli5/formatters/image.py
@@ -46,6 +46,9 @@ def format_as_image(expl,
image = expl.image
heatmap = expl.heatmap
+ # We first 1. colorize 2. resize
+ # as opposed 1. resi... | Replace starred expression with manual indexing (py<I> build fix) | TeamHG-Memex_eli5 | train | py,py |
e88a00f0c1de94147f10af40302036f54210b85f | diff --git a/tinyrpc/protocols/jsonrpc.py b/tinyrpc/protocols/jsonrpc.py
index <HASH>..<HASH> 100644
--- a/tinyrpc/protocols/jsonrpc.py
+++ b/tinyrpc/protocols/jsonrpc.py
@@ -139,7 +139,7 @@ class JSONRPCRequest(RPCRequest):
jdata['params'] = self.args
if self.kwargs:
jdata['params'] ... | Support notifications, with <URL> | mbr_tinyrpc | train | py |
8c29749ae7ce7548235d3e429452c0f992c5a453 | diff --git a/test/api-configuration.test.js b/test/api-configuration.test.js
index <HASH>..<HASH> 100644
--- a/test/api-configuration.test.js
+++ b/test/api-configuration.test.js
@@ -134,9 +134,13 @@ function PATTERN_IndexDocumentsResponse(members) {
IndexDocumentsResponse: {
'@': { xmlns: '' },
Inde... | Fix expected patterns for IndexDocuments response | groonga_gcs | train | js |
5fee3b589c74d4304471dae7a76af9f0698af4dc | diff --git a/safe/gui/tools/minimum_needs/needs_manager_dialog.py b/safe/gui/tools/minimum_needs/needs_manager_dialog.py
index <HASH>..<HASH> 100644
--- a/safe/gui/tools/minimum_needs/needs_manager_dialog.py
+++ b/safe/gui/tools/minimum_needs/needs_manager_dialog.py
@@ -702,10 +702,6 @@ class NeedsManagerDialog(QDialog... | remove useless code about IF function combobox in minimumneeds dialog | inasafe_inasafe | train | py |
f4f15aeed400b02ad577735b0b3537c028db5a9d | diff --git a/test/functional/test_dirty.rb b/test/functional/test_dirty.rb
index <HASH>..<HASH> 100644
--- a/test/functional/test_dirty.rb
+++ b/test/functional/test_dirty.rb
@@ -99,6 +99,13 @@ class DirtyTest < Test::Unit::TestCase
should "be false if no keys changed" do
@document.new.changed?.should be_fa... | Added test: _changed? should not raise when key name is 'value' | mongomapper_mongomapper | train | rb |
9bf2a7f4ebb899244886ed4d0742895fa834fc91 | diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go
index <HASH>..<HASH> 100644
--- a/pkg/features/kube_features.go
+++ b/pkg/features/kube_features.go
@@ -123,7 +123,7 @@ const (
EnableEquivalenceClassCache utilfeature.Feature = "EnableEquivalenceClassCache"
// owner: @k82cn
- // alpha: v1... | Upgrade TaintNodesByCondition to beta. | kubernetes_kubernetes | train | go |
40ab2f2f12ebd83a911fd425f29d88bc91bb2a26 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -335,10 +335,12 @@ function setFSEventsListener(path, realPath, callback, rawEmitter) {
};
}
-FSWatcher.prototype._watchWithFsEvents = function(watchPath, realPath) {
+FSWatcher.prototype._watchWithFsEvents = function(wa... | Fix path resolution through symlinks
gh-<I> | paulmillr_chokidar | train | js |
9f28d01fa1599a148fa0822c39b661500efc2379 | diff --git a/webapp/js/nextserver.js b/webapp/js/nextserver.js
index <HASH>..<HASH> 100644
--- a/webapp/js/nextserver.js
+++ b/webapp/js/nextserver.js
@@ -112,8 +112,8 @@ function showPopup() {
x = $(this).find("ul.subnav");
// var t = $(this).parents().filter("td.actions-col");
// x.css({ "left": + t.pos... | Add new parrent to showPopup function | nextreports_nextreports-server | train | js |
2824f16c49d87dbd03462fcce5396c85fd04a2c9 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -174,7 +174,7 @@ Server.prototype._onHttpRequest = function (req, res) {
}
if (left === 0) swarm.complete += 1
else swarm.incomplete += 1
- swarm.peers[addr] = {
+ peer = swarm.peers[addr] = ... | don't assume peer var will exist | webtorrent_bittorrent-tracker | train | js |
a414f275f4c406c2b7f595c2478ee7e807e36353 | diff --git a/lib/lita/adapters/shell.rb b/lib/lita/adapters/shell.rb
index <HASH>..<HASH> 100644
--- a/lib/lita/adapters/shell.rb
+++ b/lib/lita/adapters/shell.rb
@@ -3,6 +3,8 @@ module Lita
module Adapters
# An adapter that runs Lita in a UNIX shell.
class Shell < Adapter
+ config :private_chat, defa... | Use new-style config for shell adapter. | litaio_lita | train | rb,rb |
cc7f1ed1f6eee7017aa97f6e90e86eb15299070b | diff --git a/Eloquent/Builder.php b/Eloquent/Builder.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Builder.php
+++ b/Eloquent/Builder.php
@@ -1143,6 +1143,28 @@ class Builder
}
/**
+ * Add the given scopes to the current builder instance.
+ *
+ * @param array $scopes
+ * @return mixed
+ ... | Add method to implement multiple scopes with variable names | illuminate_database | train | php |
1ebf5933766e112a8f53bb4fc64af3ca54ace741 | diff --git a/KrToolBaseClass.php b/KrToolBaseClass.php
index <HASH>..<HASH> 100644
--- a/KrToolBaseClass.php
+++ b/KrToolBaseClass.php
@@ -8,11 +8,15 @@ class KrToolBaseClass {
public function setSettings( $settings ) {
foreach ( $this->settingsKeys as $key ) {
- if ( !array_key_exists( $key, $settings ) ) {
+... | Allow ToolBaseClass to have default settings | Krinkle_toollabs-base | train | php |
747e58ebf7f82d41734fd52abcadc67c97520675 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,8 +14,8 @@ setup(
long_description=open(join(here, 'README.rst')).read(),
packages=find_packages(),
test_suite='tests',
- dependency_links=['https://github.com/trezor/python-mnemonic/archive/master.zip#eg... | Uses mnemonic>=<I> (improved UTF8 handling) | trezor_python-trezor | train | py |
3aa2583b2201b1e60c7ab774c18d0c788276cbd4 | diff --git a/src/Phinx/Db/Adapter/MysqlAdapter.php b/src/Phinx/Db/Adapter/MysqlAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Phinx/Db/Adapter/MysqlAdapter.php
+++ b/src/Phinx/Db/Adapter/MysqlAdapter.php
@@ -350,8 +350,7 @@ class MysqlAdapter extends PdoAdapter implements AdapterInterface
*/
public functi... | refs #<I> comment, sprintf and fetAll as one line | cakephp_phinx | train | php |
c49ba28bbffe74860c845f313882b49c0e85988d | diff --git a/src/providers/sh/util/alias.js b/src/providers/sh/util/alias.js
index <HASH>..<HASH> 100755
--- a/src/providers/sh/util/alias.js
+++ b/src/providers/sh/util/alias.js
@@ -217,7 +217,7 @@ module.exports = class Alias extends Now {
return bail(new Error(body.error.message))
}
- // The t... | Fixed a few comment typos (#<I>) | zeit_now-cli | train | js |
42a6d1e1ddf841a456c392512e7289d88134cef9 | diff --git a/config/environment.rb b/config/environment.rb
index <HASH>..<HASH> 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -17,13 +17,11 @@ Radiant::Initializer.run do |config|
# Only load the extensions named here, in the order given. By default all
# extensions in vendor/extensions are lo... | a little more parity with the instance generator environment.rb | radiant_radiant | train | rb |
b6234c36db3bd740ba6a2ef36309c99286f3eb75 | diff --git a/libnfldap.py b/libnfldap.py
index <HASH>..<HASH> 100644
--- a/libnfldap.py
+++ b/libnfldap.py
@@ -221,6 +221,7 @@ COMMIT
class LDAP(object):
def __init__(self, url, bind_dn, bind_passwd):
self.conn = ldap.initialize(url)
+ self.conn.start_tls_s()
self.conn.simple_bind_s(bind_dn, bind_passwd)
s... | Add STARTTLS to LDAP connection | mozilla_libnfldap | train | py |
01a20bb3d948765338e60f80f763486caf97b615 | diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based.py
+++ b/openquake/calculators/event_based.py
@@ -600,8 +600,11 @@ class EventBasedCalculator(ClassicalCalculator):
# save individual curves
... | Added a warning for zero hazard curves
Former-commit-id: fe<I>d<I>ef<I>c4b<I>b<I>defdcc<I>a<I>a | gem_oq-engine | train | py |
ae34140794738226dcdffd1951090a51a27bb59d | diff --git a/plugins/worker/web_client/JobStatus.js b/plugins/worker/web_client/JobStatus.js
index <HASH>..<HASH> 100644
--- a/plugins/worker/web_client/JobStatus.js
+++ b/plugins/worker/web_client/JobStatus.js
@@ -28,7 +28,7 @@ JobStatus.registerStatus({
WORKER_CANCELING: {
value: 824,
text: 'Ca... | Change canceling icon to 'spinning orange' | girder_girder | train | js |
51dad72a0693e04918df56d03df5724dce7f9d76 | diff --git a/src/Symfony/Component/Workflow/Workflow.php b/src/Symfony/Component/Workflow/Workflow.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Workflow/Workflow.php
+++ b/src/Symfony/Component/Workflow/Workflow.php
@@ -126,10 +126,10 @@ class Workflow
$this->enter($subject, $transition, $mark... | [Workflow] Set the marking then announce enabled transition
It allows to auto-apply some transition from a listener.
The feature was asked here: <URL> | symfony_symfony | train | php |
b369e0e6a492b88e3be2b674613bfe89ce84b08f | diff --git a/lib/hmr/client.js b/lib/hmr/client.js
index <HASH>..<HASH> 100644
--- a/lib/hmr/client.js
+++ b/lib/hmr/client.js
@@ -7,20 +7,12 @@ var socket = socketIOClient(opts.root + opts.namespace, {
path: opts.path
});
-var hot = false;
-
var currentHash = '';
var reload = function() {
- if (hot) {
- ... | Removed auto reload from the client-side hmr | markfinger_webpack-build | train | js |
0d4eaeb6f116a6913005ef36207c768b5c83d178 | diff --git a/tornado/testing.py b/tornado/testing.py
index <HASH>..<HASH> 100644
--- a/tornado/testing.py
+++ b/tornado/testing.py
@@ -417,10 +417,8 @@ class AsyncHTTPSTestCase(AsyncHTTPTestCase):
Interface is generally the same as `AsyncHTTPTestCase`.
"""
def get_http_client(self):
- # Some versi... | Remove a special case that avoided using curl in tests for HTTPS.
This problem should have long since been fixed; any problematic
configurations don't deserve to misleadingly pass the tests. | tornadoweb_tornado | train | py |
3872d53af40a3fc49f5b5b9e80e71aea3f29ac8a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,5 +24,5 @@ setup(
description='Modular Optimisation tools for soliving inverse problems.',
long_description=release_info["__about__"],
setup_requires=['pytest-runner', ],
- tests_require=['pytest', 'pytes... | fixed pytest version for python <I> support | CEA-COSMIC_ModOpt | train | py |
47013d66fd110ed9e3776596bbf805d91f2e017e | diff --git a/features/step_definitions/wait_steps.rb b/features/step_definitions/wait_steps.rb
index <HASH>..<HASH> 100644
--- a/features/step_definitions/wait_steps.rb
+++ b/features/step_definitions/wait_steps.rb
@@ -78,7 +78,8 @@ Then('the removing collection of sections disappears') do
end
Then('I can wait a va... | Ensure that when doing the negative wait we pass in the counter to be zeroed, and not just counter to be active£ | natritmeyer_site_prism | train | rb |
59520c083aa1da961c124d4bf13193fa27d7c909 | diff --git a/utils/utils.go b/utils/utils.go
index <HASH>..<HASH> 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -76,10 +76,12 @@ func RunUnderSystemdScope(pid int, slice, unitName string) error {
return err
}
properties = append(properties,
- systemdDbus.PropSlice(slice),
newProp("PIDs", []uint32{uint3... | utils: check that the slice name is not null | cri-o_cri-o | train | go |
023f52ae4a26caf5508226da1846587450cc4edd | diff --git a/master/buildbot/test/unit/test_mq_wamp.py b/master/buildbot/test/unit/test_mq_wamp.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_mq_wamp.py
+++ b/master/buildbot/test/unit/test_mq_wamp.py
@@ -13,6 +13,7 @@
#
# Copyright Buildbot Team Members
import os
+import textwrap
import moc... | fix WAMP warning formatting
Previsously it was seen as:
```
[SKIPPED]
define WAMP_ROUTER_URL to a wamp router to run this test e.g: WAMP_ROUTER_URL=ws://localhost:<I>/ws
``` | buildbot_buildbot | train | py |
34a100d8fcbee6b1874fa3bfcb4ec8e1e6b10465 | diff --git a/lib/view.js b/lib/view.js
index <HASH>..<HASH> 100755
--- a/lib/view.js
+++ b/lib/view.js
@@ -37,13 +37,23 @@ require("./request").call(View.prototype);
*
* @return {object} this Chainable
*/
-View.prototype.query = function (query, callback) {
+View.prototype.query = function (query, postData, call... | Updating view module to allow POSTing to views - for sending keys=[] | dominicbarnes_node-couchdb-api | train | js |
7e366e1fe95d170d71b4b7168eceff25d05da107 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -379,7 +379,7 @@ gulp.task('docs-default', function (callback) {
});
// Generates a new local build of the docs.
-gulp.task('docs-local', ['docs-default'], shell.task('bundle exec jekyll build --config=_config.... | Added missing docs-config-local dependency to docs-local | UCF_Athena-Framework | train | js |
2e26466979a2b457b68b8ace8a9e42849e51956b | diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
index <HASH>..<HASH> 100644
--- a/build/gulpfile.vscode.js
+++ b/build/gulpfile.vscode.js
@@ -333,7 +333,7 @@ gulp.task('clean-vscode-linux-arm', util.rimraf(path.join(path.dirname(root), 'V
gulp.task('clean-vscode-linux-ia32-deb', util.rimraf('.build/li... | Enable optimze-vscode again for vscode-win<I> | Microsoft_vscode | train | js |
6534729676ce67a4f6df153ed0491d7259a7faf4 | diff --git a/cassandra/src/main/java/org/opennms/newts/persistence/cassandra/Aggregation.java b/cassandra/src/main/java/org/opennms/newts/persistence/cassandra/Aggregation.java
index <HASH>..<HASH> 100644
--- a/cassandra/src/main/java/org/opennms/newts/persistence/cassandra/Aggregation.java
+++ b/cassandra/src/main/jav... | collate by label, not source name | OpenNMS_newts | train | java |
322a857569c5f42ba87a75afa94f551029b2cb04 | diff --git a/PluginBase/src/org/bimserver/database/queries/om/JsonQueryObjectModelConverter.java b/PluginBase/src/org/bimserver/database/queries/om/JsonQueryObjectModelConverter.java
index <HASH>..<HASH> 100644
--- a/PluginBase/src/org/bimserver/database/queries/om/JsonQueryObjectModelConverter.java
+++ b/PluginBase/sr... | Don't require includeAllSubTypes field | opensourceBIM_BIMserver | train | java |
688e4d4e3d1bcbda9b0514d15283faa960813e35 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ with open('README.md') as f:
with open('LICENSE') as f:
license = f.read()
-__version__ = '0.0.0.dev10'
+__version__ = '1.0.0'
setup(
name='aperturelib', | Updated version to <I> | Aperture-py_aperture-lib | train | py |
a91ad5a2a53c9f2ace9a19cba0cda5e319881846 | diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/data.rb
+++ b/lib/discordrb/data.rb
@@ -260,6 +260,12 @@ module Discordrb
attr_reader :deaf
alias_method :deafened?, :deaf
+ # @return [Time] when this member joined the server.
+ attr_reader :jo... | Create a reader for joined_at | meew0_discordrb | train | rb |
2d099ef718baf1423cb654efee1cba674fcf2a45 | diff --git a/lib/sorcery/version.rb b/lib/sorcery/version.rb
index <HASH>..<HASH> 100644
--- a/lib/sorcery/version.rb
+++ b/lib/sorcery/version.rb
@@ -1,3 +1,3 @@
module Sorcery
- VERSION = "0.10.14"
+ VERSION = "0.9.1"
end | Fixes version (I was testing) | Sorcery_sorcery | train | rb |
8d84c5d756d91fca9a766e0e0db687e88d79e700 | diff --git a/tests/system/Log/FileHandlerTest.php b/tests/system/Log/FileHandlerTest.php
index <HASH>..<HASH> 100644
--- a/tests/system/Log/FileHandlerTest.php
+++ b/tests/system/Log/FileHandlerTest.php
@@ -10,6 +10,7 @@ class FileHandlerTest extends \CIUnitTestCase
protected function setUp(): void
{
+ parent::s... | Fix FilerHandlerTest.php wierdness
All tests would fail when this class was run by itself.
setUp() method needed call the parent::setUp() | codeigniter4_CodeIgniter4 | train | php |
01867ebd9571a463bf85ed66236f9fa480255f8b | diff --git a/src/controllers/admin/AdminCrudController.php b/src/controllers/admin/AdminCrudController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/admin/AdminCrudController.php
+++ b/src/controllers/admin/AdminCrudController.php
@@ -101,6 +101,10 @@ abstract class AdminCrudController extends AdminAngelControl... | add_redirect and edit_redirect | JVMartin_angel-core | train | php |
2b9a71909af76f573bca0c5201768e8670e1f601 | diff --git a/assets/app/js/app.utils.js b/assets/app/js/app.utils.js
index <HASH>..<HASH> 100755
--- a/assets/app/js/app.utils.js
+++ b/assets/app/js/app.utils.js
@@ -360,6 +360,10 @@
return App.Utils.renderer.default(v);
};
+ App.Utils.renderer.wysiwyg = function(v) {
+ v = App.Utils.stripTag... | added simple wysiwg renderer
It strips tags and than truncates words instead of characters to
preserve special chars like `ä` | agentejo_cockpit | train | js |
172c6df375a5a00a6155a016c2a2d0ec3c2f14bf | diff --git a/rockAtlas/cl_utils.py b/rockAtlas/cl_utils.py
index <HASH>..<HASH> 100644
--- a/rockAtlas/cl_utils.py
+++ b/rockAtlas/cl_utils.py
@@ -135,7 +135,8 @@ def main(arguments=None):
from rockAtlas.phot import download
data = download(
log=log,
- settings=settings
+ ... | dev_flag to downloader | thespacedoctor_rockAtlas | train | py,py |
1ec39b23c4477cd969033c11860e1124d39b37a7 | diff --git a/src/Ubiquity/log/Logger.php b/src/Ubiquity/log/Logger.php
index <HASH>..<HASH> 100644
--- a/src/Ubiquity/log/Logger.php
+++ b/src/Ubiquity/log/Logger.php
@@ -93,7 +93,7 @@ abstract class Logger {
public static function close() {
if (self::$test) {
- self::$instance->close ();
+ self::$instance->... | fix recursive pb | phpMv_ubiquity | train | php |
94019516d43bc2072378e021450183dc8e6964d4 | diff --git a/web/concrete/src/Tree/TreeType.php b/web/concrete/src/Tree/TreeType.php
index <HASH>..<HASH> 100644
--- a/web/concrete/src/Tree/TreeType.php
+++ b/web/concrete/src/Tree/TreeType.php
@@ -57,7 +57,7 @@ class TreeType extends Object
$db = Database::connection();
$row = $db->GetRow('select * ... | Use LSB in TreeType
Late static bindings allow us to instantiate the called class rather than the class that the constructor is defined in.
Former-commit-id: <I>fd4e<I>bcf6dae3cca<I>ae9e<I>b<I>cf0
Former-commit-id: <I>f4cbd<I>afe8e7eabbe<I>b<I>e<I>b<I>eb2 | concrete5_concrete5 | train | php |
a390e19edadb8277a6e7e9ad966c5bda3941a2c9 | diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py
index <HASH>..<HASH> 100644
--- a/spyder/app/mainwindow.py
+++ b/spyder/app/mainwindow.py
@@ -1208,13 +1208,18 @@ class MainWindow(QMainWindow):
else:
# Load last project if a project was active when Spyder
# was close... | Main Window: Load previous session if Projects is disabled | spyder-ide_spyder | train | py |
455948ad144adc44d99a605adc1eff1b273c6cca | diff --git a/public/app/features/playlist/playlist_routes.js b/public/app/features/playlist/playlist_routes.js
index <HASH>..<HASH> 100644
--- a/public/app/features/playlist/playlist_routes.js
+++ b/public/app/features/playlist/playlist_routes.js
@@ -3,7 +3,7 @@ define([
'app/core/config',
'lodash'
],
-function ... | fix(playlist): fix broken build. unused vars | grafana_grafana | train | js |
67bcfb4772da82679e4b1d1fc4ada34812f60604 | diff --git a/aiogram/types/user.py b/aiogram/types/user.py
index <HASH>..<HASH> 100644
--- a/aiogram/types/user.py
+++ b/aiogram/types/user.py
@@ -69,7 +69,7 @@ class User(base.TelegramObject):
as_html = True
if name is None:
- name = self.mention
+ name = self.full_name
... | Use User.full_name instead User.mention in User.get_mention() method. | aiogram_aiogram | train | py |
d3dbc66ec9b27d97e2180f1c58b16add017d53c7 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -251,7 +251,7 @@ function parseData(chunk, telnetObj, callback) {
if (promptIndex === -1 && stringData.length !== 0) {
if (search(stringData, telnetObj.pageSeparator) !== -1) {
- telnetObj.... | use Buffer.from instead of Buffer | mkozjak_node-telnet-client | train | js |
6d820b9ff71ca520ab1faa479c9617f95bb0adc3 | diff --git a/test/tape/raw.js b/test/tape/raw.js
index <HASH>..<HASH> 100644
--- a/test/tape/raw.js
+++ b/test/tape/raw.js
@@ -71,16 +71,6 @@ test('allows for options in raw queries, #605', function(t) {
})
})
-test('undefined named bindings are ignored', function(t) {
-
- t.plan(2)
-
- t.equal(raw('select ... | Remove test "undefined named bindings are ignored" as they are no longer ignored. | tgriesser_knex | train | js |
e624cdf9ee281dcd3eef962ad4d848c08a83de7a | diff --git a/tests/Gliph/Visitor/DepthFirstBasicVisitorTest.php b/tests/Gliph/Visitor/DepthFirstBasicVisitorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Gliph/Visitor/DepthFirstBasicVisitorTest.php
+++ b/tests/Gliph/Visitor/DepthFirstBasicVisitorTest.php
@@ -88,7 +88,7 @@ class DepthFirstBasicVisitorTest extends Si... | Let the DepthFirstVisitor test do find_sources() for coverage. | sdboyer_gliph | train | php |
e2a1995aa28adaea48600010cb3d0d4eb4db4040 | diff --git a/test/connection.js b/test/connection.js
index <HASH>..<HASH> 100644
--- a/test/connection.js
+++ b/test/connection.js
@@ -15,11 +15,14 @@ describe('connection', function() {
});
});
- it('should work in a worker', function(done){
- var worker = new Worker('/test/support/worker.js');
- work... | test: disable worker test via feature detection | socketio_engine.io-client | train | js |
83fd3a0dcea3cd1a37a2457d685f0b93dc0c7de7 | diff --git a/storage.js b/storage.js
index <HASH>..<HASH> 100644
--- a/storage.js
+++ b/storage.js
@@ -687,13 +687,15 @@ function updateMinRetrievableMciAfterStabilizingMci(conn, last_stable_mci, handl
findLastBallMciOfMci(conn, last_stable_mci, function(last_ball_mci){
if (last_ball_mci <= min_retrievable_mci) //... | narrow mci interval for faster select | byteball_ocore | train | js |
8cec7c43b64e4fe2bd8bc643eb7d7957761f030e | diff --git a/Swat/SwatWidgetCellRenderer.php b/Swat/SwatWidgetCellRenderer.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatWidgetCellRenderer.php
+++ b/Swat/SwatWidgetCellRenderer.php
@@ -312,7 +312,7 @@ class SwatWidgetCellRenderer extends SwatCellRenderer implements SwatUIParent,
*
* @return array an array of wi... | Don't return reference since it is not needed.
svn commit r<I> | silverorange_swat | train | php |
d76a980ad6b66c4b31f342608a62b9981108e3e2 | diff --git a/Condorcet.class.php b/Condorcet.class.php
index <HASH>..<HASH> 100644
--- a/Condorcet.class.php
+++ b/Condorcet.class.php
@@ -207,13 +207,14 @@ class Condorcet
///
- public function __construct ($algo = null)
+ public function __construct ($method = null)
{
$this->_method = self::$_class_method... | Bugfix about object method in constructor | julien-boudry_Condorcet | train | php |
a230d97b491ace0a828da975b9cbaa5d97517f97 | diff --git a/integration-tests/spec/backgroundable_spec.rb b/integration-tests/spec/backgroundable_spec.rb
index <HASH>..<HASH> 100644
--- a/integration-tests/spec/backgroundable_spec.rb
+++ b/integration-tests/spec/backgroundable_spec.rb
@@ -24,7 +24,7 @@ describe "backgroundable tests" do
visit "/background"
... | More sleep to account for async runtime creation going slow, sometimes. | torquebox_torquebox | train | rb |
6177809933591544931e4d6c1a410ddab51afb99 | diff --git a/contrib/externs/jquery-1.12_and_2.2.js b/contrib/externs/jquery-1.12_and_2.2.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/jquery-1.12_and_2.2.js
+++ b/contrib/externs/jquery-1.12_and_2.2.js
@@ -1265,9 +1265,10 @@ jQuery.map = function(arg1, callback) {};
jQuery.prototype.map = function(callback) {... | Corrected the type signature of $.merge to indicate that its arguments are mandatory and its return value is never null/undefined
-------------
Created by MOE: <URL> | google_closure-compiler | train | js |
86ca729e28c77088cb6af9ae0151cbef64541205 | diff --git a/examples/app.py b/examples/app.py
index <HASH>..<HASH> 100644
--- a/examples/app.py
+++ b/examples/app.py
@@ -33,9 +33,9 @@ You should execute these commands in the examples-directory.
$ pip install invenio-theme
$ pip install invenio-assets
- $ flask -a app.py bower
- $ cd instance
- $ bow... | examples: migration from bower to npm | inveniosoftware_invenio-accounts | train | py |
4745f44c8c852c9d90d469bbf0687e03c0d6bf9f | diff --git a/src/main/java/br/com/digilabs/jqplot/chart/AbstractChart.java b/src/main/java/br/com/digilabs/jqplot/chart/AbstractChart.java
index <HASH>..<HASH> 100644
--- a/src/main/java/br/com/digilabs/jqplot/chart/AbstractChart.java
+++ b/src/main/java/br/com/digilabs/jqplot/chart/AbstractChart.java
@@ -413,7 +413,7 ... | Change getter of rendererOptions to correct one. | inaiat_jqplot4java | train | java |
81394e79a7a53e46acd2ee6b1acb51f68b92ff37 | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -172,12 +172,9 @@ class PSHACalculator(base.HazardCalculator):
num_tasks = 0
num_sources = 0
... | Better logging [skip CI] | gem_oq-engine | train | py |
2435355fb7432078127ccf70402365df522cafb0 | diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -111,8 +111,9 @@ class Application extends \Pimple\Container
["exception" => $routeNotFound]
);
+ $response->setStatusCode(404)
... | set <I> status code and rethrow exception
let the output component handle the display of that exception | SlaxWeb_Bootstrap | train | php |
cb2682c1cf47edb9adfe693ecaa86191199f746e | diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb
index <HASH>..<HASH> 100644
--- a/spec/dummy/config/application.rb
+++ b/spec/dummy/config/application.rb
@@ -40,7 +40,7 @@ module Dummy
config.active_support.escape_html_entities_in_json = true
# Enable the asset pipeline
- ... | Disable dummy app asset pipeline
MS-<I> | rapid7_metasploit-model | train | rb |
347b0f49fcb759493f3faf63d7beb8a905221c79 | diff --git a/astrobase/checkplot.py b/astrobase/checkplot.py
index <HASH>..<HASH> 100644
--- a/astrobase/checkplot.py
+++ b/astrobase/checkplot.py
@@ -1393,8 +1393,6 @@ def _pkl_finder_objectinfo(objectinfo,
distance_upper_bound=match_xyzdist
)
- import... | lcproc: add neighbor stuff to parallel_cp workers and driver | waqasbhatti_astrobase | train | py |
2cf410ae98dd29fdd17ab775e1aebe4d2f34b20e | diff --git a/includes/class-freemius.php b/includes/class-freemius.php
index <HASH>..<HASH> 100755
--- a/includes/class-freemius.php
+++ b/includes/class-freemius.php
@@ -11016,7 +11016,9 @@
$api = $this->get_api_site_scope();
$uid = $this->get_anonymous_id();
- $result = $a... | [user-recovery] [minor] Added a helper var to store the API request path. | Freemius_wordpress-sdk | train | php |
9ee3edbc3f2f546dc40530b51794a67cbcc03983 | diff --git a/src/bosh-director/lib/bosh/director/disk_manager.rb b/src/bosh-director/lib/bosh/director/disk_manager.rb
index <HASH>..<HASH> 100644
--- a/src/bosh-director/lib/bosh/director/disk_manager.rb
+++ b/src/bosh-director/lib/bosh/director/disk_manager.rb
@@ -117,8 +117,6 @@ module Bosh::Director
end
... | Remove unneeded call to stop in unmount_disk action
[#<I>](<URL>) | cloudfoundry_bosh | train | rb |
dbdb2e43830df20af4b619cab7cb9736bc33ac17 | diff --git a/vstutils/static/js/common.js b/vstutils/static/js/common.js
index <HASH>..<HASH> 100644
--- a/vstutils/static/js/common.js
+++ b/vstutils/static/js/common.js
@@ -1,7 +1,7 @@
function loadQUnitTests()
{
- $('body').append('<script src=\'' + window.pmStaticPath + 'js/tests/qUnitTest.js\'></script>');
... | fix var name from pmStaticPath to guiStaticPath | vstconsulting_vstutils | train | js |
7f8b7d5e97c151eb497f436311b46325afdd50a1 | diff --git a/src/bin.js b/src/bin.js
index <HASH>..<HASH> 100755
--- a/src/bin.js
+++ b/src/bin.js
@@ -9,5 +9,5 @@ const cli = meow(`
`);
(async () => {
- await process(await getConfig());
+ await process(await getConfig(), cli.flags);
})(); | Pass CLI flags into config function. | treshugart_conartist | train | js |
4db33dd4fc9ded57b82939e4b86fe39bf3c9ac03 | diff --git a/vendor/plugins/typo_avatar_gravatar/lib/typo_avatar_gravatar.rb b/vendor/plugins/typo_avatar_gravatar/lib/typo_avatar_gravatar.rb
index <HASH>..<HASH> 100644
--- a/vendor/plugins/typo_avatar_gravatar/lib/typo_avatar_gravatar.rb
+++ b/vendor/plugins/typo_avatar_gravatar/lib/typo_avatar_gravatar.rb
@@ -23,7 ... | Typo expects avatars to be <I> pixels by default | publify_publify | train | rb |
52bab82d7d451ffe48b70c15abd422f7a7cc6d6c | diff --git a/imbox/__init__.py b/imbox/__init__.py
index <HASH>..<HASH> 100644
--- a/imbox/__init__.py
+++ b/imbox/__init__.py
@@ -13,6 +13,7 @@ class Imbox(object):
def logout(self):
+ self.connection.close()
self.connection.logout()
def query_uids(self, **kwargs): | imbox: call close() before logout
The imaplib documentation recommends calling close() before logout to ensure
that 'deleted messages are removed from writable mailbox.' | martinrusev_imbox | train | py |
02da4f54b67f7bf7b360063800c06e9a87d16a20 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ EXTRA_REQUIREMENTS = {
'cli': ['click', 'requests'],
'html': ['lxml'], # apt: libxslt-dev libxml2-dev
'ods': ['lxml'],
- 'parquet': ['parquet'],
+ 'parquet': ['parquet>=1... | Force parquet version to the new one
Starting from version <I>, it supports Python 3. | turicas_rows | train | py |
4a5ce536a3fa2ae9ca98bac56adc91672218ef41 | diff --git a/src/View/Helper/MenuHelper.php b/src/View/Helper/MenuHelper.php
index <HASH>..<HASH> 100644
--- a/src/View/Helper/MenuHelper.php
+++ b/src/View/Helper/MenuHelper.php
@@ -1,6 +1,7 @@
<?php
namespace Menu\View\Helper;
+use Cake\Core\Configure;
use Cake\View\Helper;
use Cake\View\View;
@@ -14,6 +15,7 ... | add logic for calling getMenu method from all controllers or from a single one (ask #<I>) | QoboLtd_cakephp-menu | train | php |
3e8fb63997bd525f760fbf0bad1b13fa85084059 | diff --git a/lib/service_mock/server.rb b/lib/service_mock/server.rb
index <HASH>..<HASH> 100644
--- a/lib/service_mock/server.rb
+++ b/lib/service_mock/server.rb
@@ -43,7 +43,7 @@ module ServiceMock
class Server
include CommandLineOptions
- attr_accessor :inherit_io, :wait_for_process, :remote_host, :clas... | added flag for use_ssl | cheezy_service_mock | train | rb |
5e01f04e129385eb797e3735760b8e13cb1769d9 | diff --git a/state/pool.go b/state/pool.go
index <HASH>..<HASH> 100644
--- a/state/pool.go
+++ b/state/pool.go
@@ -10,6 +10,7 @@ import (
"sync"
"time"
+ "github.com/juju/clock"
"github.com/juju/errors"
"github.com/juju/loggo"
"github.com/juju/pubsub"
@@ -185,6 +186,11 @@ func OpenStatePool(args OpenParams)... | Allow access to the StatePool's clock. | juju_juju | train | go |
3863d1701286ee388f77cd8db641ed0ca46f5401 | diff --git a/graphdb/src/test/java/com/orientechnologies/orient/graph/blueprints/TestLoadGraph.java b/graphdb/src/test/java/com/orientechnologies/orient/graph/blueprints/TestLoadGraph.java
index <HASH>..<HASH> 100755
--- a/graphdb/src/test/java/com/orientechnologies/orient/graph/blueprints/TestLoadGraph.java
+++ b/grap... | Renamed "tinkerpop" database -> "GratefulDeadConcerts" | orientechnologies_orientdb | train | java |
2dc65abbb0f362ee21787e488102af11090ca517 | diff --git a/lib/ascii-data-tools/record_type.rb b/lib/ascii-data-tools/record_type.rb
index <HASH>..<HASH> 100644
--- a/lib/ascii-data-tools/record_type.rb
+++ b/lib/ascii-data-tools/record_type.rb
@@ -66,10 +66,14 @@ module AsciiDataTools
end
end
- class Type
+ module FixedLengthType
in... | extracted the fixed length type-specific modules into own module | benilovj_ascii-data-tools | train | rb |
d5d7499c41f7a59c2d46fded41d981a10ab63d3e | diff --git a/test/runtime/kvstore.go b/test/runtime/kvstore.go
index <HASH>..<HASH> 100644
--- a/test/runtime/kvstore.go
+++ b/test/runtime/kvstore.go
@@ -25,7 +25,7 @@ import (
"github.com/sirupsen/logrus"
)
-var _ = Describe("RuntimeKVStoreTest", func() {
+var _ = Describe("RuntimeValidatedKVStoreTest", func() {... | test/runtime: mark KVStore test as validated | cilium_cilium | train | go |
8e72d84256446175ff8f4687841ac28ab5372ec7 | diff --git a/aframe.js b/aframe.js
index <HASH>..<HASH> 100644
--- a/aframe.js
+++ b/aframe.js
@@ -1548,16 +1548,20 @@ var aFrame = function(){
},
database : database,
el : el,
+ fx : fx,
+ json : json,
+ label : label,
listener : {
add : observer.add,
list : observer.list,
remove : obser... | Refactored the closure by moving listener{} and created state{} which will be used to implement stateful binding in observer{}. | avoidwork_abaaso | train | js |
72efbc775e97e649c00403d425888fd9d4e27bfa | diff --git a/color.js b/color.js
index <HASH>..<HASH> 100644
--- a/color.js
+++ b/color.js
@@ -277,7 +277,7 @@ Color.prototype = {
clone: function() {
return new Color(this.rgb());
- },
+ }
}
@@ -305,7 +305,7 @@ Color.prototype.setValues = function(space, vals) {
"rgb": [255, 255, 255],
... | remove useless commas, make IE family happy | Qix-_color | train | js |
76d3a2d63984e89e5ac06cc2e59d677faac9a7da | diff --git a/src/org/openscience/cdk/modeling/forcefield/IPotentialFunction.java b/src/org/openscience/cdk/modeling/forcefield/IPotentialFunction.java
index <HASH>..<HASH> 100644
--- a/src/org/openscience/cdk/modeling/forcefield/IPotentialFunction.java
+++ b/src/org/openscience/cdk/modeling/forcefield/IPotentialFunctio... | The variable functionEvaluationNumber was included in the PotentialFunction interface.
git-svn-id: <URL> | cdk_cdk | train | java,java |
c5319fc379885834682685447c9c72911b27b69f | diff --git a/src/Psalm/Internal/PhpVisitor/ReflectorVisitor.php b/src/Psalm/Internal/PhpVisitor/ReflectorVisitor.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/PhpVisitor/ReflectorVisitor.php
+++ b/src/Psalm/Internal/PhpVisitor/ReflectorVisitor.php
@@ -1264,7 +1264,9 @@ class ReflectorVisitor extends PhpParse... | fix: mixin parameter of self should be properly resolved (#<I>) | vimeo_psalm | train | php |
4c09de2bb007db20bc6f122c15a090aef220cd32 | diff --git a/sprout/lib/sprout.rb b/sprout/lib/sprout.rb
index <HASH>..<HASH> 100644
--- a/sprout/lib/sprout.rb
+++ b/sprout/lib/sprout.rb
@@ -9,10 +9,15 @@ require 'rake/clean'
# includes open-uri, while older versions do not.
# When open-uri is included twice, we get a bunch of nasty
# warnings because constants a... | Added warning if version of RubyGems is less than <I> | lukebayes_project-sprouts | train | rb |
1a118e57734e66547c430a85bce881c0f11016b5 | diff --git a/spec/gibbon/gibbon_spec.rb b/spec/gibbon/gibbon_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/gibbon/gibbon_spec.rb
+++ b/spec/gibbon/gibbon_spec.rb
@@ -73,7 +73,7 @@ describe Gibbon do
expect(@gibbon.proxy).to be_nil
end
- it "sets an proxy url key from the 'MAILCHIMP_PROXY_URL' ENV vari... | fix typo MAILCHIMP_PROXY in spec | amro_gibbon | train | rb |
a500e2946ae0c24d82242ec075d02a3e993e81c5 | 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
@@ -146,7 +146,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency
# Version number is taken from the ... | Prep for <I> release | daviddrysdale_python-phonenumbers | train | py |
88208bfee8aab96825368cc8a27c1fe3b7740982 | diff --git a/salmonella/widgets.py b/salmonella/widgets.py
index <HASH>..<HASH> 100644
--- a/salmonella/widgets.py
+++ b/salmonella/widgets.py
@@ -1,11 +1,15 @@
from django.conf import settings
from django.contrib.admin import widgets
-from django.urls import reverse, NoReverseMatch
from django.core.exceptions impor... | Backwards compatibility for Django <<I>
In order to preserve compatibility with Django before the <I> release, catch import errors when importing from `django.urls` and use `django.core.urlresolvers` instead. | lincolnloop_django-dynamic-raw-id | train | py |
4d665f59b0dad088025cdcefc544dd9ad7f73b85 | diff --git a/src/Composer/Package/Locker.php b/src/Composer/Package/Locker.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Package/Locker.php
+++ b/src/Composer/Package/Locker.php
@@ -258,7 +258,10 @@ class Locker
$lock['packages-dev'] = $this->lockPackages($devPackages);
}
- if (empty... | Create lock if we only have platform dependencies | mothership-ec_composer | train | php |
9c530f3d56f3afc3641f3461aa30f15b671f688e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -2,8 +2,8 @@ from setuptools import setup
setup(
name='django-extra-views',
- version='0.6.1',
- url='https://github.com/miguelrestrepo/django-extra-views',
+ version='0.6.2',
+ url='https://github.com/Andr... | corrected url in setup.py | AndrewIngram_django-extra-views | train | py |
67c3b12da7628ed679cee0060c9ab13412d9112c | diff --git a/src/TwitterApio.php b/src/TwitterApio.php
index <HASH>..<HASH> 100644
--- a/src/TwitterApio.php
+++ b/src/TwitterApio.php
@@ -50,9 +50,9 @@ class TwitterApio extends tmhOAuth
public function __construct($settings = [], $config = [])
{
include dirname(__DIR__) . '/config/config.php';
- ... | Fix missing merge from twitter settings into general config. | j3j5_twitterapio | train | php |
210013c722b9827e6b02cb9aa2eed89b4d0fb973 | diff --git a/indra/sources/biopax/api.py b/indra/sources/biopax/api.py
index <HASH>..<HASH> 100644
--- a/indra/sources/biopax/api.py
+++ b/indra/sources/biopax/api.py
@@ -157,6 +157,8 @@ def process_owl(owl_filename):
A BiopaxProcessor containing the obtained BioPAX model in bp.model.
"""
model = pcc... | Don't process file if it can't be opened | sorgerlab_indra | train | py |
c29d88bf1a86bd62e724403c25c9bbac6bc91e2c | diff --git a/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java b/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java
+++ b/src/main/java/org/dasein/cloud/azure/compute/image/AzureOS... | Avoid an NPE when image class not set in filter options | dasein-cloud_dasein-cloud-azure | train | java |
e8bea5cc1e01c8ad26281a2b7fb8d6bcc3972503 | diff --git a/lib/socket.js b/lib/socket.js
index <HASH>..<HASH> 100644
--- a/lib/socket.js
+++ b/lib/socket.js
@@ -388,10 +388,9 @@
if (wasConnected) {
this.transport.clearTimeouts();
-
this.publish('disconnect', reason);
- if (this.options.reconnect && !this.reconnecting) {
+ if ('boot... | Fixed; avoid reconnection on forced client disconnections (both for when the server
kicks a client and the client disconnects itself. | tsjing_socket.io-client | train | js |
d7d116b80afa8976952c05087584ff18e14ae1d7 | diff --git a/simuvex/s_helpers.py b/simuvex/s_helpers.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_helpers.py
+++ b/simuvex/s_helpers.py
@@ -13,18 +13,25 @@ l = logging.getLogger("s_helpers")
### Helper functions ###
########################
-# Returns size, in BYTES, of a type
-def get_size(t):
+def size_bits(t)... | split get_size into size_bytes and size_bits | angr_angr | train | py |
8c5f42f058ee1e8d80f10883b98c72c062843f31 | diff --git a/src/processors/save.js b/src/processors/save.js
index <HASH>..<HASH> 100644
--- a/src/processors/save.js
+++ b/src/processors/save.js
@@ -27,10 +27,12 @@
options || (options = {});
options.purge = options.purge !== false;
- if (!isDir && linq(outputs).count().run() > 1) {
+ ... | Save processor should not reuse cached outputs | candrholdings_publishjs | train | js |
bc5a5c3f1f4da0a816021dc9a4a04fba34a261ec | diff --git a/lib/sub_diff/adapter.rb b/lib/sub_diff/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/sub_diff/adapter.rb
+++ b/lib/sub_diff/adapter.rb
@@ -2,7 +2,7 @@ module SubDiff
class Adapter
extend Forwardable
- def_delegators :@differ, :builder
+ def_delegators :differ, :builder
def_delegator... | Refer to method instead of ivar | shuber_sub_diff | train | rb |
8deb5c2cecda28dd1511767d4282cb9fabded93e | diff --git a/aws/data_source_aws_outposts_site_test.go b/aws/data_source_aws_outposts_site_test.go
index <HASH>..<HASH> 100644
--- a/aws/data_source_aws_outposts_site_test.go
+++ b/aws/data_source_aws_outposts_site_test.go
@@ -4,6 +4,7 @@ import (
"regexp"
"testing"
+ "github.com/aws/aws-sdk-go/service/outposts"
... | tests/ds/outposts_site: Add ErrorCheck | terraform-providers_terraform-provider-aws | train | go |
47caddefce106e70cf24163f597cf5f4f40ec436 | diff --git a/lib/modifier.js b/lib/modifier.js
index <HASH>..<HASH> 100644
--- a/lib/modifier.js
+++ b/lib/modifier.js
@@ -24,6 +24,8 @@ util.inherits(Modifier, Pipeline);
//Internals
+Modifier.prototype._aggregatePluginResults = SerializationPlugin.getHtml;
+
Modifier.prototype._enablePlugin = function (plugin, ... | Swap code lines FTW =) | inikulin_ineed | train | js |
06cc4e177e4f15413c9288e6893a1144c5fc1865 | diff --git a/lib/resource/Application.js b/lib/resource/Application.js
index <HASH>..<HASH> 100644
--- a/lib/resource/Application.js
+++ b/lib/resource/Application.js
@@ -12,6 +12,9 @@ Application.prototype.authenticateAccount = function authenticateApplicationAcco
username = authcRequest.username,
password =... | added support of authcRequest.accountStore param as string | stormpath_stormpath-sdk-node | train | js |
abeba0a1de8e276255beba46b048627a4f529720 | diff --git a/core/rawdb/schema.go b/core/rawdb/schema.go
index <HASH>..<HASH> 100644
--- a/core/rawdb/schema.go
+++ b/core/rawdb/schema.go
@@ -29,10 +29,10 @@ var (
// databaseVerisionKey tracks the current database version.
databaseVerisionKey = []byte("DatabaseVersion")
- // headHeaderKey tracks the latest know... | core/rawdb: fix typo (#<I>) | ethereum_go-ethereum | train | go |
5ef8d571b7c8031da2b162b3647180d2b4932d26 | diff --git a/lib/po2icu.js b/lib/po2icu.js
index <HASH>..<HASH> 100644
--- a/lib/po2icu.js
+++ b/lib/po2icu.js
@@ -71,7 +71,7 @@ module.exports = {
format = msg.comments.flag;
}
var msgid = msg.msgid;
- var msgstr = msg.msgstr;
+ var msgstr = msg.msgstr[0];
var ic... | Get string from msgstr array
since it's an array | LLK_po2icu | train | js |
a609418f40272c12c11c1191476346e79e260cc7 | diff --git a/gem-proxy/src/main/java/de/saumya/mojo/proxy/Controller.java b/gem-proxy/src/main/java/de/saumya/mojo/proxy/Controller.java
index <HASH>..<HASH> 100644
--- a/gem-proxy/src/main/java/de/saumya/mojo/proxy/Controller.java
+++ b/gem-proxy/src/main/java/de/saumya/mojo/proxy/Controller.java
@@ -187,8 +187,12 @@ ... | Return <I> instead of <I> from the gem proxy when asked for files it doesn't have | torquebox_jruby-maven-plugins | train | java |
abc875365c6ae0f27f866e5fef2d22cbffe4d094 | diff --git a/google-cloud-storage/lib/google/cloud/storage/file/verifier.rb b/google-cloud-storage/lib/google/cloud/storage/file/verifier.rb
index <HASH>..<HASH> 100644
--- a/google-cloud-storage/lib/google/cloud/storage/file/verifier.rb
+++ b/google-cloud-storage/lib/google/cloud/storage/file/verifier.rb
@@ -50,7 +50,... | fix(storage): Update File::Verifier to test for File#to_path
closes: #<I> | googleapis_google-cloud-ruby | train | rb |
e4ecb8bce88fb8a30e220ce6b49bffcdb5f0678d | diff --git a/Kwf/Config.php b/Kwf/Config.php
index <HASH>..<HASH> 100644
--- a/Kwf/Config.php
+++ b/Kwf/Config.php
@@ -11,6 +11,10 @@ class Kwf_Config
$cfg = Kwf_Registry::get('config');
foreach (explode('.', $var) as $i) {
+ if (!isset($cfg->$i)) {
+ $cfg = null;
+ ... | change Kwf_Config::getValueArray to not cause error if parent setting doesn't exist, like getValue does | koala-framework_koala-framework | train | php |
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.