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 |
|---|---|---|---|---|---|
de475f15a2a88fdc2a4997738a1fe6abbad178a8 | diff --git a/tests/unit/core/oxserialCeTest.php b/tests/unit/core/oxserialCeTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/core/oxserialCeTest.php
+++ b/tests/unit/core/oxserialCeTest.php
@@ -1,4 +1,5 @@
<?php
+
/**
* This file is part of OXID eShop Community Edition.
*
@@ -16,7 +17,7 @@
* along with OXI... | Serial CE test comment updated by removing edition tag | OXID-eSales_oxideshop_ce | train | php |
2eb9dc6a7e1aaa9b8f4f0906af788d67cf886b0a | diff --git a/lib/toto.rb b/lib/toto.rb
index <HASH>..<HASH> 100644
--- a/lib/toto.rb
+++ b/lib/toto.rb
@@ -6,6 +6,9 @@ require 'digest'
require 'rdiscount'
require 'builder'
+
+$:.unshift File.dirname(__FILE__)
+
require 'ext'
module Toto | add dir to path, to properly load files | cloudhead_toto | train | rb |
495dd967a242bdc96936388fa2d634e6c7b2d647 | diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete.rb
+++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete.rb
@... | [API] Fixed documentation for indices.delete
Use '_all' to delete all indices and do not leave empty.
Closes #<I> | elastic_elasticsearch-ruby | train | rb |
d6419aa86d6ad385e15d685bf47242bb6c67653e | diff --git a/gitlab/tests/test_gitlab.py b/gitlab/tests/test_gitlab.py
index <HASH>..<HASH> 100644
--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -673,14 +673,15 @@ class TestGitlab(unittest.TestCase):
self.assertEqual(status.emoji, "thumbsup")
def test_todo(self):
- t... | test: remove warning about open files from test_todo()
When running unittests python warns that the json file from test_todo()
was still open. Use with to open, read, and create encoded json data
that is used by resp_get_todo(). | python-gitlab_python-gitlab | train | py |
114f60359007c09a464bc2496a8d5735dde63f99 | diff --git a/tests/test_country_converter.py b/tests/test_country_converter.py
index <HASH>..<HASH> 100644
--- a/tests/test_country_converter.py
+++ b/tests/test_country_converter.py
@@ -7,7 +7,7 @@ import collections
TESTPATH = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(TESTPATH, '..'))
... | ignored pep8 error in test with # noqa | konstantinstadler_country_converter | train | py |
81508c06314ba0bb1cfc4ac0eca4f912f2ac76f5 | diff --git a/symphony/lib/toolkit/class.field.php b/symphony/lib/toolkit/class.field.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/class.field.php
+++ b/symphony/lib/toolkit/class.field.php
@@ -475,7 +475,11 @@ class Field
{
// Create header
$location = ($this->get('location') ? $thi... | Add id as title attribute
This makes it easier for developers to know the fields id | symphonycms_symphony-2 | train | php |
3b08bbfc56ce85a3a2ad06a8c62ee0fd9a0dc73d | diff --git a/library/pulse/handling.rb b/library/pulse/handling.rb
index <HASH>..<HASH> 100644
--- a/library/pulse/handling.rb
+++ b/library/pulse/handling.rb
@@ -32,7 +32,7 @@ module Pulse
# Someone has changed their nickname
# mk!mk@maero.dk NICK mk_
def got_nick command
- each_user comman... | Critical bugfix for when someone changes their nick | mkroman_blur | train | rb |
695c9433b61b619ad1ab0024030d5eb5e57093d2 | diff --git a/djangocms_spa/forms.py b/djangocms_spa/forms.py
index <HASH>..<HASH> 100644
--- a/djangocms_spa/forms.py
+++ b/djangocms_spa/forms.py
@@ -203,7 +203,6 @@ class SpaApiModelForm(six.with_metaclass(ModelFormMetaclass, BaseModelForm)):
return {
'component': 'cmp-form-submit',
... | Remove recaptcha from default model form view | dreipol_djangocms-spa | train | py |
ae680e56e66a6c628f872710c032615e926484f4 | diff --git a/docroot/modules/custom/ymca_mindbody/src/Form/MindbodyPTForm.php b/docroot/modules/custom/ymca_mindbody/src/Form/MindbodyPTForm.php
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/ymca_mindbody/src/Form/MindbodyPTForm.php
+++ b/docroot/modules/custom/ymca_mindbody/src/Form/MindbodyPTForm.php
@@ -4... | [YPTF-<I>] Catch PT form exception | ymcatwincities_openy | train | php |
d36d2379f8313e6fdae61a744553aae8a7e881e7 | diff --git a/packages/hw-app-str/src/Str.js b/packages/hw-app-str/src/Str.js
index <HASH>..<HASH> 100644
--- a/packages/hw-app-str/src/Str.js
+++ b/packages/hw-app-str/src/Str.js
@@ -43,6 +43,7 @@ const SW_CANCEL = 0x6985;
const SW_UNKNOWN_OP = 0x6c24;
const SW_MULTI_OP = 0x6c25;
const SW_SAFE_MODE = 0x6c66;
+const ... | Show unsupported message for Stellar app version <I> | LedgerHQ_ledgerjs | train | js |
098f975b4875fc065acc377e9e32e04a246a457e | diff --git a/collector/cpu_darwin.go b/collector/cpu_darwin.go
index <HASH>..<HASH> 100644
--- a/collector/cpu_darwin.go
+++ b/collector/cpu_darwin.go
@@ -31,6 +31,7 @@ import (
/*
#cgo LDFLAGS:
#include <stdlib.h>
+#include <limits.h>
#include <sys/sysctl.h>
#include <sys/mount.h>
#include <mach/mach_init.h>
@@ ... | Correct the ClocksPerSec scaling factor on Darwin (#<I>)
* Update cpu_darwin.go
Change the definition of ClocksPerSec to read from limits.h
* Update cpu_darwin.go | prometheus_node_exporter | train | go |
3a338186e25c5f5ff067e01698ba187f93eba5da | diff --git a/spec/github/repos/contributors_spec.rb b/spec/github/repos/contributors_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/github/repos/contributors_spec.rb
+++ b/spec/github/repos/contributors_spec.rb
@@ -27,6 +27,11 @@ describe Github::Repos, '#contributors' do
expect { subject.contributors user, nil ... | Ensure filters are applied to parameters. | piotrmurach_github | train | rb |
f6a58626ad2cc8fdbb2ceb36b3c9e915291e3567 | diff --git a/lib/event_listeners.js b/lib/event_listeners.js
index <HASH>..<HASH> 100644
--- a/lib/event_listeners.js
+++ b/lib/event_listeners.js
@@ -132,13 +132,13 @@ AWS.EventListeners = {
add('RETRY_DELAY_SEND', 'retry', function RETRY_DELAY_SEND(req, resp) {
var delay = 0;
if (resp.error) {
- ... | Fix off-by-1 error in RETRY_DELAY_SEND event | aws_aws-sdk-js | train | js |
d554dde50ca7760d3f34c1863978b1e9964d3e93 | diff --git a/src/vizabi-gapminder.js b/src/vizabi-gapminder.js
index <HASH>..<HASH> 100644
--- a/src/vizabi-gapminder.js
+++ b/src/vizabi-gapminder.js
@@ -104,7 +104,7 @@ BarChart.define('default_model', {
BarRankChart.define('default_model', {
state: {
time: {
- start: "1800",
+ start: "1950",
... | Hide the bug when loading data from CSV. Worth re-investigating when we are done with loading procedure and racing conditions | vizabi_vizabi | train | js |
35f0ce1966c043136749fb8cbacbf9381cd596c9 | diff --git a/getset.go b/getset.go
index <HASH>..<HASH> 100644
--- a/getset.go
+++ b/getset.go
@@ -1,7 +1,6 @@
package goutil
import (
- "fmt"
"reflect"
) | removing import
forgot to remove this import, thats what i get for trying to commit via a web client | xchapter7x_goutil | train | go |
2fdae3faf26e75b1b74b2e68dd7123ae64d0c325 | diff --git a/openquake/commonlib/parallel.py b/openquake/commonlib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/parallel.py
+++ b/openquake/commonlib/parallel.py
@@ -199,6 +199,11 @@ class TaskManager(object):
"""
executor = executor
+ @classmethod
+ def restart(cls):
+ cls... | Implemented a TaskManager.restart functionality | gem_oq-engine | train | py |
f6e39f571ee25127eb62efe1513629d944b658d5 | diff --git a/telephus/protocol.py b/telephus/protocol.py
index <HASH>..<HASH> 100644
--- a/telephus/protocol.py
+++ b/telephus/protocol.py
@@ -4,6 +4,7 @@ from twisted.internet.protocol import ReconnectingClientFactory
from twisted.internet import defer, reactor
from twisted.internet.error import UserError
from tele... | Don't retry on IRE or ITR | driftx_Telephus | train | py |
ad6409bfe02cb920a33c61455a6ee5b174017149 | diff --git a/scapy/sendrecv.py b/scapy/sendrecv.py
index <HASH>..<HASH> 100644
--- a/scapy/sendrecv.py
+++ b/scapy/sendrecv.py
@@ -489,7 +489,7 @@ def sendpfast(x, # type: _PacketIterable
"""Send packets at layer 2 using tcpreplay for performance
:param pps: packets per second
- :param mpbs: MBits per ... | Fix a typo in the documentation
This may be my dyslexic moment, but I believe it should read "mbps", not "mpbs". | secdev_scapy | train | py |
83ade52b1b7eef0ed526a3180b507338dd6c74b2 | diff --git a/pymongo/__init__.py b/pymongo/__init__.py
index <HASH>..<HASH> 100644
--- a/pymongo/__init__.py
+++ b/pymongo/__init__.py
@@ -55,7 +55,7 @@ TEXT = "text"
.. _text index: http://mongodb.com/docs/manual/core/index-text/
"""
-version_tuple: Tuple[Union[int, str], ...] = (4, 2, 0, ".dev1")
+version_tuple: ... | bump to <I>b0 | mongodb_mongo-python-driver | train | py,py |
e089c9cf264a48205787afaf1fb81b80c907c50e | diff --git a/src/components/Popup.js b/src/components/Popup.js
index <HASH>..<HASH> 100644
--- a/src/components/Popup.js
+++ b/src/components/Popup.js
@@ -37,6 +37,8 @@ export default class Popup extends React.Component {
apps: [],
loading: true
}
+
+ this._renderAppItem = this._renderAppItem.bind... | Fixing this.props undefined | leanmotherfuckers_react-native-map-link | train | js |
814dc4f107cbc07112da08584ab31abeb90c5df5 | diff --git a/html/pfappserver/root/static/admin/common.js b/html/pfappserver/root/static/admin/common.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/static/admin/common.js
+++ b/html/pfappserver/root/static/admin/common.js
@@ -652,9 +652,9 @@ $(function () { // DOM ready
var index = target.children... | (web admin) Trigger event once parent is visible
Fixes #<I> | inverse-inc_packetfence | train | js |
3c90d3654c84f2a5f58564d2243f6a6e83da3fba | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/filecache/FileCache.java b/flink-runtime/src/main/java/org/apache/flink/runtime/filecache/FileCache.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/filecache/FileCache.java
+++ b/flink-runtime/src/main/java/org... | [FLINK-<I>] Fix support multiple identical temp directories in FileCache
This closes #<I> | apache_flink | train | java |
40e1cc550bad168ce57da3cde89fa7a2833525e8 | diff --git a/src/org/parboiled/common/Reference.java b/src/org/parboiled/common/Reference.java
index <HASH>..<HASH> 100644
--- a/src/org/parboiled/common/Reference.java
+++ b/src/org/parboiled/common/Reference.java
@@ -71,12 +71,12 @@ public class Reference<T> {
/**
* Retrieves this references value field ... | Small naming improvement in org.parboiled.common.Reference | sirthias_parboiled | train | java |
d210d791490ffc7d70c970476d3b8a0af128d7af | diff --git a/src/test/java/redis/clients/jedis/commands/unified/SortedSetCommandsTestBase.java b/src/test/java/redis/clients/jedis/commands/unified/SortedSetCommandsTestBase.java
index <HASH>..<HASH> 100644
--- a/src/test/java/redis/clients/jedis/commands/unified/SortedSetCommandsTestBase.java
+++ b/src/test/java/redis... | Prevent test base classes from testing (#<I>)
This PR is in response of #<I>. SortedSetCommandsTestBase is the only class that missed `abstract`. | xetorthio_jedis | train | java |
b06e83afec8e943d923185a1383fde19717ff556 | diff --git a/tests/dummy/app/controllers/nodes/detail/index.js b/tests/dummy/app/controllers/nodes/detail/index.js
index <HASH>..<HASH> 100644
--- a/tests/dummy/app/controllers/nodes/detail/index.js
+++ b/tests/dummy/app/controllers/nodes/detail/index.js
@@ -28,7 +28,12 @@ export default Ember.Controller.extend(Comment... | Modify variables passing in in dummy app. | CenterForOpenScience_ember-osf | train | js |
2dab751f615e7bc138a155f38cf79a8061d7c2b9 | diff --git a/lib/hmachine/posh/base.rb b/lib/hmachine/posh/base.rb
index <HASH>..<HASH> 100644
--- a/lib/hmachine/posh/base.rb
+++ b/lib/hmachine/posh/base.rb
@@ -56,17 +56,11 @@ module HMachine
end
def to_h
- return @to_h if @to_h
- @to_h = {}
- has_one = self.class.instance_... | Check if POSH format has a certain property | mwunsch_prism | train | rb |
a103994339fc12e9f52494235379104e7cbf5907 | diff --git a/gffutils/db.py b/gffutils/db.py
index <HASH>..<HASH> 100644
--- a/gffutils/db.py
+++ b/gffutils/db.py
@@ -379,17 +379,27 @@ class FeatureDB:
self.db_fn = db_fn
self.conn = sqlite3.connect(db_fn)
self.conn.text_factory = str
- c = self.conn.cursor()
- c.execute('''
-... | more robust way to figure out GFF/GTF for backwards compatibility | daler_gffutils | train | py |
51ad2b971cf2d739e07b51b7d6b0983869925c7a | diff --git a/components/header/tray-icon.js b/components/header/tray-icon.js
index <HASH>..<HASH> 100644
--- a/components/header/tray-icon.js
+++ b/components/header/tray-icon.js
@@ -19,7 +19,6 @@ export default class TrayIcon extends Component {
const classes = classnames(styles.icon, className);
return (
... | RG-<I> Drop not needed state management from Icon component: remove hoverColor usage
Former-commit-id: 5d<I>a<I>da<I>a<I>f<I>c<I>d9b<I>cc0ed5a5 | JetBrains_ring-ui | train | js |
f6d93512d6068f18cc2ec14f7c0906b87ab08967 | diff --git a/tests/examples/examples_report_plugin.py b/tests/examples/examples_report_plugin.py
index <HASH>..<HASH> 100644
--- a/tests/examples/examples_report_plugin.py
+++ b/tests/examples/examples_report_plugin.py
@@ -162,8 +162,7 @@ class ExamplesTestReport(object):
if pytest.config.option.upload:
... | Use the config option for the example report upload | bokeh_bokeh | train | py |
108c5c88ccaf62f2d0532a564d8f2ab859de68d8 | diff --git a/tests/unit/test_protocol_errors.py b/tests/unit/test_protocol_errors.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_protocol_errors.py
+++ b/tests/unit/test_protocol_errors.py
@@ -83,3 +83,10 @@ class TestFrontendErrors(unittest.TestCase):
request.page_token = badType
... | Worked around some non-working tests. | ga4gh_ga4gh-server | train | py |
b984ca404877e55794facc938d7546b3532f45e1 | diff --git a/src/client/pps.go b/src/client/pps.go
index <HASH>..<HASH> 100644
--- a/src/client/pps.go
+++ b/src/client/pps.go
@@ -158,7 +158,8 @@ func NewUnionInput(input ...*pps.Input) *pps.Input {
// NewCronInput returns an input which will trigger based on a timed schedule.
// It uses cron syntax to specify the... | upgrade NewCronInput doc to explain the timestamp format | pachyderm_pachyderm | train | go |
ad1abb58dd1d0d9bf123e760d7105f1d91ae5cd0 | diff --git a/lib/fastfix/nuke.rb b/lib/fastfix/nuke.rb
index <HASH>..<HASH> 100644
--- a/lib/fastfix/nuke.rb
+++ b/lib/fastfix/nuke.rb
@@ -9,7 +9,7 @@ module Fastfix
def run(params)
self.params = params
- self.params[:path] = GitHelper.clone(self.params[:git_url])
+ self.params[:path] = GitHelpe... | Fixed nuke command when not having a git_url | fastlane_fastlane | train | rb |
a40ba18272112e180205910f5c8007e8b1ecbd0d | diff --git a/i3pystatus/network.py b/i3pystatus/network.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/network.py
+++ b/i3pystatus/network.py
@@ -289,6 +289,8 @@ class Network(IntervalModule, ColorRangeModule):
on_leftclick = "nm-connection-editor"
on_rightclick = "cycle_interface"
+ on_upscroll = ['cyc... | Allow users to scroll through interfaces. | enkore_i3pystatus | train | py |
0e562af58895b893e301fb968f426be9b4958840 | diff --git a/gnucash_portfolio/pricesaggregate.py b/gnucash_portfolio/pricesaggregate.py
index <HASH>..<HASH> 100644
--- a/gnucash_portfolio/pricesaggregate.py
+++ b/gnucash_portfolio/pricesaggregate.py
@@ -14,7 +14,8 @@ class PricesAggregate:
""" Gets the price for commodity on given date or last known before... | getting the correct price, filtering by symbol | MisterY_gnucash-portfolio | train | py |
26f8c2e7bb1bd52438f9a9a6418f90e491c07fbf | diff --git a/library/src/test/java/com/wdullaer/materialdatetimepicker/time/TimepointTest.java b/library/src/test/java/com/wdullaer/materialdatetimepicker/time/TimepointTest.java
index <HASH>..<HASH> 100644
--- a/library/src/test/java/com/wdullaer/materialdatetimepicker/time/TimepointTest.java
+++ b/library/src/test/ja... | Moved Timepoint tests to time subpackage | wdullaer_MaterialDateTimePicker | train | java |
7358a3065aa477d1c4c391e019d0808044a7d25a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -123,8 +123,8 @@ def get_version_info():
vinfo = _version_helper.generate_git_version_info()
except:
vinfo = vdummy()
- vinfo.version = '1.15.3'
- vinfo.release = 'True'
+ vinfo.vers... | reset back to development (#<I>) | gwastro_pycbc | train | py |
697cdada327059dcac347cc3f7fba66b4064353c | diff --git a/lib/skpm-publish.js b/lib/skpm-publish.js
index <HASH>..<HASH> 100644
--- a/lib/skpm-publish.js
+++ b/lib/skpm-publish.js
@@ -178,7 +178,7 @@ auth.getToken().then(function (_token) {
return exec('rm -f ' + tempZip)
})
.then(function () {
- if (!program.noRegistry && !packageJSON.private) {
+ if (pro... | fix publishing to registry even with -n flag | skpm_skpm | train | js |
d193d04cea862e2db84ac40226cfdbdb39be46d5 | diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js
index <HASH>..<HASH> 100644
--- a/src/structures/Webhook.js
+++ b/src/structures/Webhook.js
@@ -90,7 +90,7 @@ class Webhook {
* The source guild of the webhook
* @type {?(Guild|APIGuild)}
*/
- this.sourceGuild = this.client.... | fix(Webhook): Resolve source guild only if cached (#<I>) | discordjs_discord.js | train | js |
17f63d18a59541399795a3c308fbc4e85ffe26e1 | diff --git a/mod/scorm/report/objectives/classes/report.php b/mod/scorm/report/objectives/classes/report.php
index <HASH>..<HASH> 100644
--- a/mod/scorm/report/objectives/classes/report.php
+++ b/mod/scorm/report/objectives/classes/report.php
@@ -665,7 +665,7 @@ function get_scorm_objectives($scormid) {
$params[] ... | MDL-<I> mod_scorm: Apply alias to compare text column | moodle_moodle | train | php |
ebe2012112205bf6992b6a9fa11c9d4c71a0c08d | diff --git a/fireplace/cards/classic/rogue.py b/fireplace/cards/classic/rogue.py
index <HASH>..<HASH> 100644
--- a/fireplace/cards/classic/rogue.py
+++ b/fireplace/cards/classic/rogue.py
@@ -117,9 +117,7 @@ class EX1_145:
play = Buff(FRIENDLY_HERO, "EX1_145o")
class EX1_145o:
- events = OWN_SPELL_PLAY.after(
- la... | Trigger Preparation buff on() instead of after(), removing the guard | jleclanche_fireplace | train | py |
285dab816f6d87ef318eb35cb5741fa5c7d3b6c7 | diff --git a/lib/rom/processor/transproc.rb b/lib/rom/processor/transproc.rb
index <HASH>..<HASH> 100644
--- a/lib/rom/processor/transproc.rb
+++ b/lib/rom/processor/transproc.rb
@@ -25,7 +25,7 @@ module ROM
end
def to_fn
- fns.compact.reduce(:+) || default
+ fns.reduce(:+) || defa... | Remove reduntant call to compact (^5 mutant) | rom-rb_rom | train | rb |
dddda2dce1eba3666999d34eaa0f24b061b19095 | diff --git a/src/Behaviours/CountCache/CountCacheManager.php b/src/Behaviours/CountCache/CountCacheManager.php
index <HASH>..<HASH> 100644
--- a/src/Behaviours/CountCache/CountCacheManager.php
+++ b/src/Behaviours/CountCache/CountCacheManager.php
@@ -106,12 +106,12 @@ class CountCacheManager
protected function cou... | related model required if the explicit array isn't complete | kirkbushell_eloquence | train | php |
ae46ca5fcc8823c446fba6b275daa02f5c8a7973 | diff --git a/lib/classes/plugin_manager.php b/lib/classes/plugin_manager.php
index <HASH>..<HASH> 100644
--- a/lib/classes/plugin_manager.php
+++ b/lib/classes/plugin_manager.php
@@ -1141,7 +1141,7 @@ class core_plugin_manager {
'tool' => array(
'assignmentupgrade', 'availabilityconditio... | MDL-<I> core: Adding tool_filetypes to the standard plugins list | moodle_moodle | train | php |
f4d005b1afeecb5559b7914e99885a94de0ed453 | diff --git a/cryptographic_fields/settings.py b/cryptographic_fields/settings.py
index <HASH>..<HASH> 100644
--- a/cryptographic_fields/settings.py
+++ b/cryptographic_fields/settings.py
@@ -4,6 +4,6 @@ from django.core.exceptions import ImproperlyConfigured
FIELD_ENCRYPTION_KEY = str(getattr(settings, 'FIELD_ENCRYP... | Raise an error in settings.py only when encryption key is None | foundertherapy_django-cryptographic-fields | train | py |
552f548071f4d8eafe9a5176389fcb5fc2ab1c7a | diff --git a/editor/models/file.js b/editor/models/file.js
index <HASH>..<HASH> 100644
--- a/editor/models/file.js
+++ b/editor/models/file.js
@@ -180,11 +180,13 @@ define([
.then(function(_path) {
return rpc.execute("fs/write", {
'path': _path,
- ... | Fix option override option on write method | CodeboxIDE_codebox | train | js,js |
cea8b8e14d1deb6d3d013c965ed903034930d77f | diff --git a/lib/active_force/association/belongs_to_association.rb b/lib/active_force/association/belongs_to_association.rb
index <HASH>..<HASH> 100644
--- a/lib/active_force/association/belongs_to_association.rb
+++ b/lib/active_force/association/belongs_to_association.rb
@@ -17,6 +17,7 @@ module ActiveForce
... | Complete spec and implementation of assigning a belonged object. | ionia-corporation_active_force | train | rb,rb |
a24114aadfa27da0e5b8d30868d89a3180dac7ae | diff --git a/concrete/src/File/Image/BasicThumbnailer.php b/concrete/src/File/Image/BasicThumbnailer.php
index <HASH>..<HASH> 100644
--- a/concrete/src/File/Image/BasicThumbnailer.php
+++ b/concrete/src/File/Image/BasicThumbnailer.php
@@ -310,7 +310,9 @@ class BasicThumbnailer implements ThumbnailerInterface, Applicati... | Aboid recalculating the thumbnail format | concrete5_concrete5 | train | php |
b304d352703e2fc7127ea1f6ef4d80402c44df54 | diff --git a/src/share/classes/com/sun/tools/javac/file/Paths.java b/src/share/classes/com/sun/tools/javac/file/Paths.java
index <HASH>..<HASH> 100644
--- a/src/share/classes/com/sun/tools/javac/file/Paths.java
+++ b/src/share/classes/com/sun/tools/javac/file/Paths.java
@@ -152,7 +152,7 @@ public class Paths {
... | <I>: Paths.isDefaultBootClassPath needs to be public
Reviewed-by: mcimadamore | wmdietl_jsr308-langtools | train | java |
cd41dde1facf1927827c94f716926a20c50c2621 | diff --git a/src/Models/MetadataTrait.php b/src/Models/MetadataTrait.php
index <HASH>..<HASH> 100644
--- a/src/Models/MetadataTrait.php
+++ b/src/Models/MetadataTrait.php
@@ -2,7 +2,6 @@
namespace AlgoWeb\PODataLaravel\Models;
use Illuminate\Support\Facades\Schema;
-use Illuminate\Support\Facades\DB;
use Illuminat... | updated trait to explicitly declare the visibility for abstracts | Algo-Web_POData-Laravel | train | php |
70379d77be4908a0b127e2fa12d7a38e87940237 | diff --git a/sure/__init__.py b/sure/__init__.py
index <HASH>..<HASH> 100644
--- a/sure/__init__.py
+++ b/sure/__init__.py
@@ -606,6 +606,7 @@ class AssertionBuilder(object):
eql = equal
equals = equal
+ equal_to = equal
@assertionmethod
def an(self, klass): | Added `equal_to` as an alias for `equal`.
So now you can write `(2).should.be.equal_to(2)`. This reads better than `(2).should.be.equal(2)` | gabrielfalcao_sure | train | py |
9efd04b8ed792e39bbbb1b34f900eca5f54944a6 | diff --git a/lib/anemone/core.rb b/lib/anemone/core.rb
index <HASH>..<HASH> 100644
--- a/lib/anemone/core.rb
+++ b/lib/anemone/core.rb
@@ -50,9 +50,9 @@ module Anemone
:accept_cookies => false,
# skip any link with a query string? e.g. http://foo.com/?u=user
:skip_query_strings => false,
- # p... | rename proxy_address to proxy_host | chriskite_anemone | train | rb,rb |
96d8261cc00f0c1b949dd19421fb37cec16a31dd | diff --git a/tests/CRUDlexTests/ServiceProviderTest.php b/tests/CRUDlexTests/ServiceProviderTest.php
index <HASH>..<HASH> 100644
--- a/tests/CRUDlexTests/ServiceProviderTest.php
+++ b/tests/CRUDlexTests/ServiceProviderTest.php
@@ -331,4 +331,11 @@ class ServiceProviderTest extends \PHPUnit_Framework_TestCase {
... | testing ServiceProvider::arrayColumn | philiplb_CRUDlex | train | php |
51191f5d976177f64e61859618555d37c48d1880 | diff --git a/everest/views/base.py b/everest/views/base.py
index <HASH>..<HASH> 100644
--- a/everest/views/base.py
+++ b/everest/views/base.py
@@ -82,7 +82,7 @@ class ResourceView(object):
Respond with a 500 "Internal Server Error".
"""
- self._logger.debug('Request errors\n'
+ ... | Changed log level to "error" for exception handling in the view classes. | helixyte_everest | train | py |
37d4d29f5181c588ea7ef5b5cb6cbc3fb088a514 | diff --git a/lib/y2r/ast/ruby.rb b/lib/y2r/ast/ruby.rb
index <HASH>..<HASH> 100644
--- a/lib/y2r/ast/ruby.rb
+++ b/lib/y2r/ast/ruby.rb
@@ -753,7 +753,11 @@ module Y2R
end
def to_ruby_multi_line(context)
- wrapped_line_list(elements, "[", ",", "]", context)
+ if !elements.empty?
+ ... | Formatting: Never split an empty array to multiple lines | yast_y2r | train | rb,rb |
21d51d71bec4ca9ae375ffb24c5028ae83acb008 | diff --git a/examples/rational-pow.js b/examples/rational-pow.js
index <HASH>..<HASH> 100644
--- a/examples/rational-pow.js
+++ b/examples/rational-pow.js
@@ -36,6 +36,6 @@ f(x) = x^d - (a/b)^c
f'(x) = dx^(d-1)
Newton method:
-xp = xn - f(x) / f'(x)
+xp = xn - f(xn) / f'(xn)
*/ | Update rational-pow.js | infusion_Fraction.js | train | js |
e016f4fa98025f99175fad5ee010e049ff6d461e | diff --git a/pyked/chemked.py b/pyked/chemked.py
index <HASH>..<HASH> 100644
--- a/pyked/chemked.py
+++ b/pyked/chemked.py
@@ -14,7 +14,7 @@ import numpy as np
# Local imports
from .validation import schema, OurValidator, yaml
from .utils import Q_
-from .converters import datagroup_properties
+from .converters impo... | Add a method to construct a ChemKED class instance from ReSpecTh XML
Utilize the ability of the ReSpecTh class to return a dictionary to
instantiate the ChemKED without writing an intermediate file | pr-omethe-us_PyKED | train | py |
51103159e5bc68f5a64c91656af0e48be8f9ee62 | diff --git a/src/nupic/regions/SDRClassifierRegion.py b/src/nupic/regions/SDRClassifierRegion.py
index <HASH>..<HASH> 100755
--- a/src/nupic/regions/SDRClassifierRegion.py
+++ b/src/nupic/regions/SDRClassifierRegion.py
@@ -470,15 +470,3 @@ class SDRClassifierRegion(PyRegion):
return self.maxCategoryCount
el... | Remove main function from SDRClassifierRegion | numenta_nupic | train | py |
22b9ea3984d2b2f857008dd2863e4b2ead62eec7 | diff --git a/src/design.js b/src/design.js
index <HASH>..<HASH> 100644
--- a/src/design.js
+++ b/src/design.js
@@ -201,8 +201,8 @@ export class Design {
const ref = getRefFromNode(property);
if (!properties[ref]) {
properties[ref] = property;
+ values(property.propertyLookup).forEach(addUn... | should only recurse if property was not added | csenn_schesign-js-graph-utils | train | js |
994f6743316a2465c06d0fb735e743201d5eebe7 | diff --git a/src/Config/ConfigServiceProvider.php b/src/Config/ConfigServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Config/ConfigServiceProvider.php
+++ b/src/Config/ConfigServiceProvider.php
@@ -19,9 +19,22 @@ class ConfigServiceProvider extends ServiceProvider
// Provide some compatibility with Themos... | * Added some logic to detect if there's already a config.finder bound the app as some users will be importing config service provider in their theme's providers config file (as per the instructions, doh!) and not out and out replacing the service provider in a MU plugin like we are.
* TODO: we need a test suite around ... | djgadd_themosis-illuminate | train | php |
ff915244b127b88762878b7c57108a2791dd5a51 | diff --git a/examples/load_test/client.js b/examples/load_test/client.js
index <HASH>..<HASH> 100644
--- a/examples/load_test/client.js
+++ b/examples/load_test/client.js
@@ -47,7 +47,7 @@ async.forEachSeries(SIZES, function(n, cb) {
connectThem(n, {
jid: "test@localhost",
password: "test",
- boshURL:... | examples/load_test client: don't use localhost dns name | xmppjs_xmpp.js | train | js |
f83211c684b0a1031001c448ff7a4cfbac8c1c1f | diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js
index <HASH>..<HASH> 100644
--- a/src/ajax/ajax.js
+++ b/src/ajax/ajax.js
@@ -622,7 +622,7 @@ jQuery.extend({
// Wait for a response to come back
var onreadystatechange = function(isTimeout){
// The transfer is complete and the data is available, or the request... | Added a fix to prevent the completion callback from firing multiple times in Firefox on OSX (fixed bug #<I>). | jquery_jquery | train | js |
efc12c8459d79a0beec105c1a8094f8957f016f7 | diff --git a/lib/brackets.js b/lib/brackets.js
index <HASH>..<HASH> 100644
--- a/lib/brackets.js
+++ b/lib/brackets.js
@@ -15,15 +15,17 @@ const brackets = {
current = [''];
last(stack).push(current);
stack.push(current);
+ continue;
+ }
- ... | [Refactor] Removes redundant else structures (#<I>)
Uses early returns (continue inside loops) so else statements are made redundant.
Result: less indentation, less code, more readable, easier to follow | postcss_autoprefixer | train | js |
9a05931b3d2be819196d7e8f1f0c6986d474a304 | diff --git a/lib/wrong/adapters/minitest.rb b/lib/wrong/adapters/minitest.rb
index <HASH>..<HASH> 100644
--- a/lib/wrong/adapters/minitest.rb
+++ b/lib/wrong/adapters/minitest.rb
@@ -9,6 +9,11 @@ class MiniTest::Unit::TestCase
MiniTest::Assertion
end
+ if MiniTest::VERSION >= "5.0.6"
+ alias_method :_asse... | found this minitest patch in my stash | sconover_wrong | train | rb |
c36f306a1da4e6b09bb472282adcb06fe71aa975 | diff --git a/server/v2/tests/delete_handler_test.go b/server/v2/tests/delete_handler_test.go
index <HASH>..<HASH> 100644
--- a/server/v2/tests/delete_handler_test.go
+++ b/server/v2/tests/delete_handler_test.go
@@ -87,7 +87,7 @@ func TestV2DeleteDirectoryRecursiveImpliesDir(t *testing.T) {
// Ensures that a key is del... | test(delete_handler_test.go) fix inconsistent between test case and comments | etcd-io_etcd | train | go |
974ce15910ef815829044bb8973e615c10abb054 | diff --git a/src/wyc/stages/NameResolution.java b/src/wyc/stages/NameResolution.java
index <HASH>..<HASH> 100755
--- a/src/wyc/stages/NameResolution.java
+++ b/src/wyc/stages/NameResolution.java
@@ -58,7 +58,7 @@ import wyc.util.*;
* the first occurrence of a matching symbol, and records this as an attribute
* on ... | Ok, I think I've had enough documenting! Still quite a long ways to go ... | Whiley_WhileyCompiler | train | java |
97ff95c5545a05136d871bd3c38c550911d7c19a | diff --git a/src/sos/workflow_executor.py b/src/sos/workflow_executor.py
index <HASH>..<HASH> 100755
--- a/src/sos/workflow_executor.py
+++ b/src/sos/workflow_executor.py
@@ -1003,7 +1003,7 @@ class Base_Executor:
# if the job is failed
elif isinstance(res, Exception):
... | Stop displaying an error message because it will be added to exec_error later #<I> | vatlab_SoS | train | py |
73a1bf799c35fd8ba270987f71024d5ee5c6e165 | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100755
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -2,11 +2,18 @@
var install = require('./install');
var command = require('./command');
+var parsedArgv = require('minimist')(process.argv.slice(2));
-if (process.argv[2] === 'install') {
- install(require('minim... | Better check for install command (#4)
* use minimist instead
* update to pass logLevel | Shopify_node-themekit | train | js |
3bd4f9bed9d15b5247c19af0de46cc20bf14b82c | diff --git a/src/main/java/org/davidmoten/rx/pool/MemberSingle.java b/src/main/java/org/davidmoten/rx/pool/MemberSingle.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/davidmoten/rx/pool/MemberSingle.java
+++ b/src/main/java/org/davidmoten/rx/pool/MemberSingle.java
@@ -242,7 +242,7 @@ final class MemberSingle<... | set log level for one statement to debug | davidmoten_rxjava2-jdbc | train | java |
3385f70fb920effc4018a271ebf6a00985d2fecc | diff --git a/generators/generator-base.js b/generators/generator-base.js
index <HASH>..<HASH> 100644
--- a/generators/generator-base.js
+++ b/generators/generator-base.js
@@ -48,11 +48,6 @@ const SERVER_MAIN_RES_DIR = constants.SERVER_MAIN_RES_DIR;
* The method signatures in public API should not be changed without a... | Load needleApi with a lazyLoading getter
Instead of initialise needleApi in the constructor we have to
do it in a getter to be sur it's never undefined (backwards
compatibility)
<URL> | jhipster_generator-jhipster | train | js |
d973359b1714536c36cf989278b7be8eff3e30ad | diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -107,7 +107,7 @@ class Application extends Container
static::setInstance($this);
$this->instance('app', $this);
- $this->instance(static::class, $this);
+ ... | Fix overwriting the Application class
Added a test to verify the correct behavior. | laravel_lumen-framework | train | php,php |
410b0ab0ccc043370d6b67a8111c1e7000656620 | diff --git a/geocoder/google.py b/geocoder/google.py
index <HASH>..<HASH> 100644
--- a/geocoder/google.py
+++ b/geocoder/google.py
@@ -47,7 +47,7 @@ class Google(Base):
'key': None if self.client and self.client_secret else kwargs.get('key', google_key),
'client': self.client,
'bo... | Added Place_ID field and fix language param | DenisCarriere_geocoder | train | py |
6d080904fac49a7ff48750484220df98c20fd415 | diff --git a/pkg/services/alerting/result_handler.go b/pkg/services/alerting/result_handler.go
index <HASH>..<HASH> 100644
--- a/pkg/services/alerting/result_handler.go
+++ b/pkg/services/alerting/result_handler.go
@@ -29,7 +29,7 @@ func NewResultHandler() *DefaultResultHandler {
func (handler *DefaultResultHandler) H... | tech(alerting): empty string does not update database | grafana_grafana | train | go |
8e5d501ca2657b1d5ebb46e1c945b87775bbe863 | diff --git a/django_rq/views.py b/django_rq/views.py
index <HASH>..<HASH> 100644
--- a/django_rq/views.py
+++ b/django_rq/views.py
@@ -3,6 +3,7 @@ from django.contrib.admin.views.decorators import staff_member_required
from django.http import Http404
from django.shortcuts import redirect, render
+from redis.excepti... | Treat EVALSHA errors on Redis < <I>
This closes #<I>. | rq_django-rq | train | py |
391de51d100f619e66d70e6ca214b114d577c46e | diff --git a/code/libraries/koowa/components/com_files/controller/behavior/thumbnailable.php b/code/libraries/koowa/components/com_files/controller/behavior/thumbnailable.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/components/com_files/controller/behavior/thumbnailable.php
+++ b/code/libraries/koowa/comp... | Make sure we don't fetch the whole folder when there are no files to generate thumbnails for. | joomlatools_joomlatools-framework | train | php |
5b3fdb5a383583bd1aa7a455fc47b549606b9005 | diff --git a/app/models/bit_player/participant_status.rb b/app/models/bit_player/participant_status.rb
index <HASH>..<HASH> 100644
--- a/app/models/bit_player/participant_status.rb
+++ b/app/models/bit_player/participant_status.rb
@@ -12,6 +12,10 @@ module BitPlayer
)
end
+ def decrement_content_positi... | Update participant_status.rb
This method is called by the navigator (i.e., fetch_previous_content) when a user proceeds to previous content. | NU-CBITS_bit_player | train | rb |
c441357101058abecf3abba4d217111237615ff8 | diff --git a/helpers/constants.py b/helpers/constants.py
index <HASH>..<HASH> 100644
--- a/helpers/constants.py
+++ b/helpers/constants.py
@@ -68,7 +68,7 @@ NOTIFICATION CONSTANTS
SOCKETIO_URL = 'https://my.goabode.com'
SOCKETIO_HEADERS = {
- 'Origin': 'https://my.goabode.com'
+ 'Origin': 'https://my.goabode.... | Add trailing slash to Origin header
This is to avoid an "origin not allowed" response. | MisterWil_abodepy | train | py |
b5e6c77b9f96b04b3bfc9ae8b1330a1a902a75f3 | diff --git a/test/delocalize_test.rb b/test/delocalize_test.rb
index <HASH>..<HASH> 100644
--- a/test/delocalize_test.rb
+++ b/test/delocalize_test.rb
@@ -31,7 +31,7 @@ class DelocalizeActiveRecordTest < ActiveRecord::TestCase
assert_equal date, @product.released_on
end
- test "delocalizes localized datetime... | Make sure that datetime test runs across years. | clemens_delocalize | train | rb |
a8d4bff552f674dd7944d97c0144409bf7260eaf | diff --git a/test/base.js b/test/base.js
index <HASH>..<HASH> 100644
--- a/test/base.js
+++ b/test/base.js
@@ -9,8 +9,11 @@ describe("base", function () {
it("supports multiple instances", function () {
var
+ path = require("path"),
previousGpf = g... | Improved access to latest gpf-debug | ArnaudBuchholz_gpf-js | train | js |
3cfe7e276a1caceff7ebf134b5a3f053687be5ea | diff --git a/__tests__/old-unit/support/RequestBuilder.js b/__tests__/old-unit/support/RequestBuilder.js
index <HASH>..<HASH> 100644
--- a/__tests__/old-unit/support/RequestBuilder.js
+++ b/__tests__/old-unit/support/RequestBuilder.js
@@ -28,16 +28,11 @@ module.exports = class RequestBuilder {
addHeader(key, value... | Simplify adding rawHeaders in RequestBuilder | dherault_serverless-offline | train | js |
eab4f537cb72c67c2cfdc4715eb45ce41d675490 | diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/description/annotation/AnnotationDescription.java b/byte-buddy-dep/src/main/java/net/bytebuddy/description/annotation/AnnotationDescription.java
index <HASH>..<HASH> 100644
--- a/byte-buddy-dep/src/main/java/net/bytebuddy/description/annotation/AnnotationDescripti... | Fixed another type inference compatibility issue for JDK 6. | raphw_byte-buddy | train | java |
25966e11484b691b437b19283352b485e87be14a | diff --git a/pkg/controller/garbagecollector/garbagecollector.go b/pkg/controller/garbagecollector/garbagecollector.go
index <HASH>..<HASH> 100644
--- a/pkg/controller/garbagecollector/garbagecollector.go
+++ b/pkg/controller/garbagecollector/garbagecollector.go
@@ -581,6 +581,9 @@ func (gc *GarbageCollector) worker() ... | gc retries failed garbage collection | kubernetes_kubernetes | train | go |
fb038cfa6c90fe5f5675abacf70ad4a9a19cdbf9 | diff --git a/src/Codeception/Module/WPDb.php b/src/Codeception/Module/WPDb.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/WPDb.php
+++ b/src/Codeception/Module/WPDb.php
@@ -2538,7 +2538,7 @@ class WPDb extends Db
*/
public function haveUserCapabilitiesInDatabase($userId, $role)
{
- ... | Pass the configured table prefix to the user capability builder. | lucatume_wp-browser | train | php |
cb13abf738709b57b3a481658d7c0226845704f3 | diff --git a/src/Model/Activity.php b/src/Model/Activity.php
index <HASH>..<HASH> 100644
--- a/src/Model/Activity.php
+++ b/src/Model/Activity.php
@@ -120,10 +120,22 @@ class Activity extends Resource
/**
* Get a human-readable description of the activity.
*
+ * @param bool $html Whether to include... | Use the activity description in the API if available | platformsh_platformsh-client-php | train | php |
110b5791284c5390f9908a0ccd058ead65667f2b | diff --git a/lib/parinfer.js b/lib/parinfer.js
index <HASH>..<HASH> 100644
--- a/lib/parinfer.js
+++ b/lib/parinfer.js
@@ -269,12 +269,12 @@ function commitChar(result, origCh) {
// Misc Utils
//------------------------------------------------------------------------------
-function clamp(val, min, max) {
- if (mi... | rename min and max (these are often reserved words) | shaunlebron_parinfer | train | js |
8ca8293d111611c8046463238098dbce1709c8f6 | diff --git a/influxql/functions.go b/influxql/functions.go
index <HASH>..<HASH> 100644
--- a/influxql/functions.go
+++ b/influxql/functions.go
@@ -935,28 +935,20 @@ type firstLastMapOutput struct {
}
// MapFirst collects the values to pass to the reducer
+// This function assumes time ordered input
func MapFirst(i... | only look at the first values for first()
Since we set up the aggregate queries so that iterator is ordered,
we only need to look at the first value. This cuts about <I> seconds
off a large single series query running first. | influxdata_influxdb | train | go |
e59ec3ee9ad7955321195f4c8bb23802fd8dd32e | diff --git a/src/TerminalObject/Helper/Art.php b/src/TerminalObject/Helper/Art.php
index <HASH>..<HASH> 100644
--- a/src/TerminalObject/Helper/Art.php
+++ b/src/TerminalObject/Helper/Art.php
@@ -68,6 +68,7 @@ trait Art
* Find a valid art path
*
* @param string $art
+ *
* @return array
... | more specific about art paths variable, added docs | thephpleague_climate | train | php |
aa4c1aa7b940838576151fdbf140d46827b2e1f9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -36,11 +36,11 @@ function tileToGeoJSON(tile) {
var poly = {
type: 'Polygon',
coordinates: [[
- [bbox[0], bbox[1]],
[bbox[0], bbox[3]],
- [bbox[2], bbox[3]],
+ ... | - fixes winding of GeoJSON to follow right-hand rule (#<I>) | mapbox_tilebelt | train | js,js |
5685de9c11df582c1d1f8661abc8eaca4111f604 | diff --git a/perceval/backends/mozilla/kitsune.py b/perceval/backends/mozilla/kitsune.py
index <HASH>..<HASH> 100644
--- a/perceval/backends/mozilla/kitsune.py
+++ b/perceval/backends/mozilla/kitsune.py
@@ -29,12 +29,12 @@ import requests
from grimoirelab.toolkit.datetime import str_to_datetime
from grimoirelab.toolk... | [kitsune] Import perceval modules using relative paths
This patch changes the way how perceval modules are imported.
Now absolute paths are replaced by relative ones. | chaoss_grimoirelab-perceval-mozilla | train | py |
ee978362f0a2c423f4fcea31aeb3ae5e5ce8df5f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,6 +32,9 @@ def parse_requirements(filename):
# If py<=3.6 and opencv-contrib-python has not been installed, install version==3.2.0.7
reqs.remove("opencv-contrib-python")
reqs.append("opencv-contr... | if it is py2, do not install facebook-wda
(cherry picked from commit ef9a<I>ae3da9cdc<I>c<I>ff7ce2c<I>bab9b) | AirtestProject_Airtest | train | py |
f8b0999122a52154716a549cdafe7d36190a4a4b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -29,7 +29,6 @@ function PgError(pgErr) {
this.pgErr = pgErr;
}
PgError.prototype = Object.create(Error.prototype);
-// PgError.prototype.constructor = PgError;
function createOrDropDatabase(action) {
action = action... | nit: remove commented out code | olalonde_pgtools | train | js |
11efd1943d9333986a008ce908963d80c90b881f | diff --git a/python/bigdl/utils/common.py b/python/bigdl/utils/common.py
index <HASH>..<HASH> 100644
--- a/python/bigdl/utils/common.py
+++ b/python/bigdl/utils/common.py
@@ -600,7 +600,7 @@ def _java2py(gateway, r, encoding="bytes"):
clsName = 'JavaRDD'
if clsName == 'JavaRDD':
- jrd... | fix java to python (#<I>) | intel-analytics_BigDL | train | py |
119bf67a61fab939f4bfc9443d3c338ea42ca354 | diff --git a/holoviews/operation/element.py b/holoviews/operation/element.py
index <HASH>..<HASH> 100644
--- a/holoviews/operation/element.py
+++ b/holoviews/operation/element.py
@@ -406,8 +406,11 @@ class contours(ElementOperation):
else:
contour_fn = plt.contour
contour_type = Conto... | Fixed bug when applying contour operation to Raster
Addresses issue #<I> | pyviz_holoviews | train | py |
8fc98526533e509e8c6cf03a411bf7b76cb65a7a | diff --git a/Kwc/Newsletter/Controller.php b/Kwc/Newsletter/Controller.php
index <HASH>..<HASH> 100644
--- a/Kwc/Newsletter/Controller.php
+++ b/Kwc/Newsletter/Controller.php
@@ -47,6 +47,7 @@ class Kwc_Newsletter_Controller extends Kwc_Directories_Item_Directory_Controlle
$newDetailRow = $newDetail->row;
... | also reset count_sent when duplicating newsletter | koala-framework_koala-framework | train | php |
2db1c6c54cf99ceb5215c85c9948157c0a891edc | diff --git a/remodel/models.py b/remodel/models.py
index <HASH>..<HASH> 100644
--- a/remodel/models.py
+++ b/remodel/models.py
@@ -109,11 +109,11 @@ class Model(object):
if result['errors'] > 0:
raise OperationError(result['first_error'])
- delattr(self.fields, 'id')
# Remove any... | moved the removal of the id attribute to after the removal of relations | linkyndy_remodel | train | py |
f631057bdc9a95050fa507b5ac0395b59104f810 | diff --git a/Minimal-J/src/main/java/ch/openech/mj/toolkit/ClientToolkit.java b/Minimal-J/src/main/java/ch/openech/mj/toolkit/ClientToolkit.java
index <HASH>..<HASH> 100644
--- a/Minimal-J/src/main/java/ch/openech/mj/toolkit/ClientToolkit.java
+++ b/Minimal-J/src/main/java/ch/openech/mj/toolkit/ClientToolkit.java
@@ -9... | ClientToolkit: removed dead comment about focus first component. Not
part of the Toolkit class anymore but handled by the toolkits
internally. | BrunoEberhard_minimal-j | train | java |
908799d68061a7cd89019471e087d0aef52f4fa9 | diff --git a/src/request.php b/src/request.php
index <HASH>..<HASH> 100644
--- a/src/request.php
+++ b/src/request.php
@@ -53,16 +53,16 @@ public static function get_url() {
* or false for unknown types
*/
public static function get_method() {
- if (empty($_SERVER['HTTP_METHOD'])) {
+ if (em... | Use REQUEST_METHOD to find method of request
Instead op HTTP_METHOD REQUEST_METHOD should be used. | lode_fem | train | php |
71a0f325a12e20d1ab4b824f76bbc98ca82b40ac | diff --git a/src/test/java/io/vlingo/http/resource/RequestHandler0Test.java b/src/test/java/io/vlingo/http/resource/RequestHandler0Test.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/vlingo/http/resource/RequestHandler0Test.java
+++ b/src/test/java/io/vlingo/http/resource/RequestHandler0Test.java
@@ -37,7 +37,... | changed RequestHandler0Test method renamed | vlingo_vlingo-http | train | java |
43275848f1519d138f7010a2cf644c5dfff13fab | diff --git a/client/gutenberg/extensions/simple-payments/edit.js b/client/gutenberg/extensions/simple-payments/edit.js
index <HASH>..<HASH> 100644
--- a/client/gutenberg/extensions/simple-payments/edit.js
+++ b/client/gutenberg/extensions/simple-payments/edit.js
@@ -111,7 +111,11 @@ class SimplePaymentsEdit extends Com... | Simple payments block: fix small code smells (#<I>) | Automattic_wp-calypso | train | js |
9a3e82975252c3bb2930902d3a9e8dc782daa22f | diff --git a/epsilon/hotfixes/trial_assertwarns.py b/epsilon/hotfixes/trial_assertwarns.py
index <HASH>..<HASH> 100644
--- a/epsilon/hotfixes/trial_assertwarns.py
+++ b/epsilon/hotfixes/trial_assertwarns.py
@@ -1,12 +1,9 @@
"""
-failUnlessWarns assertion from twisted.trial in the pending 2.6 release.
-
-This is from... | Merge update-assertwarns-<I>
Author: exarkun
Reviewer: moea
Fixes: #<I>
Change the Epsilon hotfix for twisted.trial.unittest.TestCase.assertWarns
so that it matches the code actually released in Twisted <I>. | twisted_epsilon | train | py |
e2c8e691218a1a6346954dc7f5b9a335967655c6 | diff --git a/test/test.py b/test/test.py
index <HASH>..<HASH> 100755
--- a/test/test.py
+++ b/test/test.py
@@ -3,10 +3,17 @@
from __future__ import absolute_import, division, print_function, unicode_literals
-import os, sys, shutil, argparse, subprocess, unittest, io, contextlib
+import os, sys, shutil, argparse, ... | Fix failing test in Python <I> (#<I>) | kislyuk_argcomplete | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.