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 |
|---|---|---|---|---|---|
ec4bebd130f27cc966d8866a0f383002a70b0adc | diff --git a/tcex/tcex_batch_v2.py b/tcex/tcex_batch_v2.py
index <HASH>..<HASH> 100644
--- a/tcex/tcex_batch_v2.py
+++ b/tcex/tcex_batch_v2.py
@@ -788,7 +788,7 @@ class Group(object):
self._group_data['attribute'].append(attr.data)
else:
self.tcex.log.debug('In... | + added validation of tag name and attribute value to prevent null values in JSON. | ThreatConnect-Inc_tcex | train | py |
bed0f7146ae91bbbc19a2e8f31cde745d0982e0a | diff --git a/csr/csr.go b/csr/csr.go
index <HASH>..<HASH> 100644
--- a/csr/csr.go
+++ b/csr/csr.go
@@ -274,6 +274,9 @@ func getHosts(cert *x509.Certificate) []string {
for _, dns := range cert.DNSNames {
hosts = append(hosts, dns)
}
+ for _, email := range cert.EmailAddresses {
+ hosts = append(hosts, email)
+ ... | added e-mail address retrieval to getHosts() | cloudflare_cfssl | train | go |
1dc48f8a03a75f43dc913856fe0c6633e69ad962 | diff --git a/stacktrace.go b/stacktrace.go
index <HASH>..<HASH> 100644
--- a/stacktrace.go
+++ b/stacktrace.go
@@ -23,10 +23,10 @@ type Stacktrace struct {
func (s *Stacktrace) Class() string { return "sentry.interfaces.Stacktrace" }
func (s *Stacktrace) Culprit() string {
- if len(s.Frames) > 0 {
- f := s.Frames[... | Only report in-app culprits.
Closes cupcake/raven-go#<I>.
Condense initializer | getsentry_raven-go | train | go |
7b4229aa1b95b2050b31cc93e38fda1a72258675 | diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_downstream.py
+++ b/pandas/tests/test_downstream.py
@@ -92,6 +92,7 @@ def test_pandas_datareader():
pandas_datareader.get_data_google('AAPL')
+@pytest.mark.xfail(reason="install no... | TST: xfail geopandas downstream test (#<I>)
xref #<I> | pandas-dev_pandas | train | py |
1dbeaa7499753b7e9d35c9acc179025c9491c653 | diff --git a/spec/unit/timeout_spec.rb b/spec/unit/timeout_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/timeout_spec.rb
+++ b/spec/unit/timeout_spec.rb
@@ -96,7 +96,7 @@ describe 'Flor unit' do
exid = @unit.launch(flon)
- sleep 0.350
+ sleep 0.777
expect(
@unit.timers.colle... | Slow down timeout spec for JRuby | floraison_flor | train | rb |
b77445c07560f48a896770e482e5110eda33e9c2 | diff --git a/pyimgur/request.py b/pyimgur/request.py
index <HASH>..<HASH> 100644
--- a/pyimgur/request.py
+++ b/pyimgur/request.py
@@ -92,9 +92,12 @@ def send_request(url, params=None, method='GET', data_field='data',
if data_field is not None:
content = content[data_field]
if not resp.ok:
- e... | Wrap imgur error in try... except
If the response isn't json with a error key, such as a
<I> bad request, then the error handling would error out. | Damgaard_PyImgur | train | py |
2131fb0978fc01b61b9a90653237cbdd6f5b2950 | diff --git a/src/packet/secret_key.js b/src/packet/secret_key.js
index <HASH>..<HASH> 100644
--- a/src/packet/secret_key.js
+++ b/src/packet/secret_key.js
@@ -324,7 +324,7 @@ async function produceEncryptionKey(s2k, passphrase, algorithm) {
* @async
*/
SecretKey.prototype.decrypt = async function (passphrase) {
- ... | Fix error message for legacy encrypted private keys | openpgpjs_openpgpjs | train | js |
0ba21047b55f75f0a00a5ad7ac260cba577cfdd1 | diff --git a/src/Drupal/DrupalExtension/Context/DrupalContext.php b/src/Drupal/DrupalExtension/Context/DrupalContext.php
index <HASH>..<HASH> 100644
--- a/src/Drupal/DrupalExtension/Context/DrupalContext.php
+++ b/src/Drupal/DrupalExtension/Context/DrupalContext.php
@@ -195,7 +195,7 @@ class DrupalContext extends MinkC... | Issue #<I> by Vanille: Added Function to get region from region_map(). | jhedstrom_drupalextension | train | php |
38eb71989201803b0035ed42264f7d506fabe9a7 | diff --git a/src/java/voldemort/utils/ByteBufferBackedInputStream.java b/src/java/voldemort/utils/ByteBufferBackedInputStream.java
index <HASH>..<HASH> 100644
--- a/src/java/voldemort/utils/ByteBufferBackedInputStream.java
+++ b/src/java/voldemort/utils/ByteBufferBackedInputStream.java
@@ -56,7 +56,7 @@ public class By... | Fixed error where negative byte values were read causing the DataInputStream to throw an EOFException. | voldemort_voldemort | train | java |
b2f07a56ea7fc14b26858a2e593d86e4be2dc198 | diff --git a/py/selenium/webdriver/remote/webelement.py b/py/selenium/webdriver/remote/webelement.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/webelement.py
+++ b/py/selenium/webdriver/remote/webelement.py
@@ -203,7 +203,10 @@ class WebElement(object):
return self._id
def __eq__(sel... | Bring python implementation of web element equality in conformance with
other languages | SeleniumHQ_selenium | train | py |
9487595965d0dc292f4d1b48c7e7d30b2ef5a1ce | diff --git a/register.js b/register.js
index <HASH>..<HASH> 100644
--- a/register.js
+++ b/register.js
@@ -1,9 +1,9 @@
var pug = require('./');
-var resolvedPug = require.resolve('./');
+var resolvedPug = JSON.stringify(require.resolve('./'));
function compileTemplate(module, filename) {
var template = pug.compi... | Fixed register.js for Windows. (#<I>) | pugjs_then-pug | train | js |
8565c712a51de22bd8bd615c1e46496945294a42 | diff --git a/webhook/client_handler_test.go b/webhook/client_handler_test.go
index <HASH>..<HASH> 100644
--- a/webhook/client_handler_test.go
+++ b/webhook/client_handler_test.go
@@ -28,7 +28,7 @@ func Example() {
}
defer req.Body.Close()
- fmt.Fprintf(w, "Received signed event: %t", event)
+ fmt.Fprintf(w, "... | Correct `Fprintf` format verb
Go-tip is failing because it looks like `Fprintf` got a little more
picky about the use of inappropriate verbs.
`%t` is meant to be used for booleans (it prints the word "true" or
"false"). I think what we actually wanted here was `%v`. | stripe_stripe-go | train | go |
50a86ee89168663049df806bbe98924a3d4df1c2 | diff --git a/tests/framework/web/CUploadedFileTest.php b/tests/framework/web/CUploadedFileTest.php
index <HASH>..<HASH> 100644
--- a/tests/framework/web/CUploadedFileTest.php
+++ b/tests/framework/web/CUploadedFileTest.php
@@ -100,7 +100,7 @@ class CUploadedFileTest extends CTestCase
*
* @see https://github.com/y... | Test case "CUploadedFileTest::testGetInstancesByNamePartOfOtherName()" has been fixed to expose issue #<I>. | yiisoft_yii | train | php |
7007bafde9755a6314761c48b1103aec7b23866d | diff --git a/redash_client.py b/redash_client.py
index <HASH>..<HASH> 100644
--- a/redash_client.py
+++ b/redash_client.py
@@ -9,14 +9,12 @@ class RedashClient(object):
self.api_key = api_key
def new_query(self, name, query_string, data_source_id):
- r0 = requests.post(
+ query_id = requests.post(
... | Cleaning up new_query() function. | mozilla_redash_client | train | py |
e32d79807f0babb86596b2d67e6bd2f0fc25e203 | diff --git a/tests/test_serialization.py b/tests/test_serialization.py
index <HASH>..<HASH> 100644
--- a/tests/test_serialization.py
+++ b/tests/test_serialization.py
@@ -15,6 +15,7 @@
from nose_parameterized import parameterized
from unittest import TestCase
+from zipline.finance.trading import TradingEnvironment
... | TEST: Object serialization test requires a trading environment
The object serialization test case requires a trading environment
because risk report generation requires treasury curves. | quantopian_zipline | train | py |
cee6317edbc533711bfe60f205a02fbf685f591d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,8 @@ setup(
include_package_data = True,
install_requires = [
'Django >= 1.6',
+ # Form helper.
+ 'django-crispy-forms >= 1.4',
# Needed for address field.
'django-c... | Added django-crispy-forms dependency. | theduke_django-baseline | train | py |
532c49d1dbcd63decd9fa5037fc2510e5f955103 | diff --git a/src/Illuminate/Database/Seeder.php b/src/Illuminate/Database/Seeder.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Seeder.php
+++ b/src/Illuminate/Database/Seeder.php
@@ -2,6 +2,7 @@
namespace Illuminate\Database;
+use Illuminate\Support\Arr;
use InvalidArgumentException;
use Illumina... | Use Arr::wrap when calling seeders (#<I>) | laravel_framework | train | php |
e51d4f33b47ed8af30c3e0f517b371f7f944195a | diff --git a/wss-agent-report/src/main/java/org/whitesource/agent/report/PolicyCheckReport.java b/wss-agent-report/src/main/java/org/whitesource/agent/report/PolicyCheckReport.java
index <HASH>..<HASH> 100644
--- a/wss-agent-report/src/main/java/org/whitesource/agent/report/PolicyCheckReport.java
+++ b/wss-agent-report... | WSE-<I> - undo escaping to the json | whitesource_agents | train | java |
a991f4cf262b6b6d98ca34a78935d6274e8a1611 | diff --git a/src/sap.ui.unified/src/sap/ui/unified/CalendarMonthInterval.js b/src/sap.ui.unified/src/sap/ui/unified/CalendarMonthInterval.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.unified/src/sap/ui/unified/CalendarMonthInterval.js
+++ b/src/sap.ui.unified/src/sap/ui/unified/CalendarMonthInterval.js
@@ -443,6 +44... | [INTERNAL] sap.ui.unified.CalendarMonthInterval - Correct context is now returned from setters
-setMonths return correct context
- setPickerPopup return correct context
- Global qunit test will be added with gerrit change <I>
Change-Id: I<I>b<I>c<I>a4c4f5fc<I>e9ed<I>a<I>bc | SAP_openui5 | train | js |
14ecae9b1e2b125447dc0ea0d6e04363949b9d01 | diff --git a/build/gulpfile.hygiene.js b/build/gulpfile.hygiene.js
index <HASH>..<HASH> 100644
--- a/build/gulpfile.hygiene.js
+++ b/build/gulpfile.hygiene.js
@@ -225,14 +225,16 @@ const hygiene = exports.hygiene = (some, options) => {
});
}
- const program = tslint.Linter.createProgram("src/tsconfig.json");
+ c... | ensure to only lint files in the src program | Microsoft_vscode | train | js |
90edd68d14987a6e95f4bca01c5658b148f28e4b | diff --git a/laravel/bootstrap/app.php b/laravel/bootstrap/app.php
index <HASH>..<HASH> 100644
--- a/laravel/bootstrap/app.php
+++ b/laravel/bootstrap/app.php
@@ -7,7 +7,7 @@ $DB_CONNECTION = $_SERVER['DB_CONNECTION'] ?? $_ENV['DB_CONNECTION'] ?? 'testin
$config = ['env' => ['APP_KEY="'.$APP_KEY.'"', 'DB_CONNECTION... | Use getcwd() to determine working path. | orchestral_testbench-core | train | php |
df30e675b0f170328cc0a39062e345b37933248f | diff --git a/phy/cluster/manual/session.py b/phy/cluster/manual/session.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/session.py
+++ b/phy/cluster/manual/session.py
@@ -61,6 +61,15 @@ class BaseSession(EventEmitter):
return func
+ @property
+ def actions(self):
+ """List of registere... | Added actions property in session. Closes #<I>. | kwikteam_phy | train | py,py |
c99d29cf9345d3a21660ba9f2e06c3f06addb429 | diff --git a/src/_utils/reakitTheme.js b/src/_utils/reakitTheme.js
index <HASH>..<HASH> 100644
--- a/src/_utils/reakitTheme.js
+++ b/src/_utils/reakitTheme.js
@@ -22,6 +22,12 @@ const buildFontSizeFromTheme = (property, { theme, ...props }) => {
return `${property}: ${size}em !important;`;
};
+const buildFontWeig... | Add ability to specify font weight from theme for the fontWeight prop | fannypackui_fannypack | train | js |
2743e0bbee29cb86362d23dc822ce48d5b3d830e | diff --git a/test/mp/runtime/directives/class.spec.js b/test/mp/runtime/directives/class.spec.js
index <HASH>..<HASH> 100644
--- a/test/mp/runtime/directives/class.spec.js
+++ b/test/mp/runtime/directives/class.spec.js
@@ -254,4 +254,25 @@ describe(':class', () => {
expectRootClass('foo a')
}).then(done)
... | test: add test for merging only static parent class | kaola-fed_megalo | train | js |
7381a4d287c6194433e91b304a5c7dff409cb6bf | diff --git a/lib/js/app/components/explorer/EmbedHTML.js b/lib/js/app/components/explorer/EmbedHTML.js
index <HASH>..<HASH> 100644
--- a/lib/js/app/components/explorer/EmbedHTML.js
+++ b/lib/js/app/components/explorer/EmbedHTML.js
@@ -65,6 +65,7 @@ class EmbedHTML extends Component {
propertyNames,
latest... | fix: 🐛 embed code
add chart type to embed code feature | keen_explorer | train | js |
36b11c530fb11c446ca47503f1a135d492ef7309 | diff --git a/lib/api/gitlab.js b/lib/api/gitlab.js
index <HASH>..<HASH> 100644
--- a/lib/api/gitlab.js
+++ b/lib/api/gitlab.js
@@ -498,7 +498,10 @@ async function createFile(branchName, filePath, fileContents, message) {
content: Buffer.from(fileContents).toString('base64'),
};
} else {
- url = `proje... | Fix: filepath encoding for gitlab createFile and updateFile (#<I>)
Relates to #<I> and #<I>
Auto detected file names are not encoded correctly so here's a fix for that. | renovatebot_renovate | train | js |
571e669313c16651fb59b7123dffd500b1eb5bc0 | diff --git a/container/lxd/container.go b/container/lxd/container.go
index <HASH>..<HASH> 100644
--- a/container/lxd/container.go
+++ b/container/lxd/container.go
@@ -270,7 +270,7 @@ func (s *Server) CreateContainerFromSpec(spec ContainerSpec) (*Container, error)
op, err := s.CreateContainerFromImage(spec.Image.LXDSe... | Better naming for waiting for running state method | juju_juju | train | go |
ac87c7959921254bc0235da6634a54364b3abe8c | diff --git a/lib/beaker/hypervisor/vagrant.rb b/lib/beaker/hypervisor/vagrant.rb
index <HASH>..<HASH> 100644
--- a/lib/beaker/hypervisor/vagrant.rb
+++ b/lib/beaker/hypervisor/vagrant.rb
@@ -201,7 +201,8 @@ module Beaker
f.write(ssh_config)
f.rewind
- host['ssh'] = {:config => f.path()}
+
+ ... | (BKR-<I>) Fix SSH settings in nodesets
Allow SSH settings from nodesets to propagate properly into the host's
SSH configuration.
BKR-<I> #close | puppetlabs_beaker-vagrant | train | rb |
5b563a30f3d671fc497299f04686bb71c4f78768 | diff --git a/nats/js/client.py b/nats/js/client.py
index <HASH>..<HASH> 100644
--- a/nats/js/client.py
+++ b/nats/js/client.py
@@ -303,7 +303,7 @@ class JetStreamContext(JetStreamManager):
if cb and not manual_ack:
cb = self._auto_ack_callback(cb)
if config.deliver_subject is None:
- ... | require deliver_subject in JS subscribe_bind | nats-io_asyncio-nats | train | py |
5900a671160aaf8e2c606d98ae4439899fd1d6e6 | diff --git a/lib/negroku/modes/app.rb b/lib/negroku/modes/app.rb
index <HASH>..<HASH> 100644
--- a/lib/negroku/modes/app.rb
+++ b/lib/negroku/modes/app.rb
@@ -15,6 +15,7 @@ module Negroku::Modes
ask_features
custom_capify data
+ install_binstubs
end
@@ -37,6 +38,10 @@ module Negroku::Modes... | feat(app): run bundle binstub on app creation | platanus_negroku | train | rb |
b5bf89de628350e58514421150839318c1338c55 | diff --git a/src/main/java/org/junit/runners/model/FrameworkMethod.java b/src/main/java/org/junit/runners/model/FrameworkMethod.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/junit/runners/model/FrameworkMethod.java
+++ b/src/main/java/org/junit/runners/model/FrameworkMethod.java
@@ -69,6 +69,15 @@ public cla... | Javadoc on FrameworkMethod augmented | junit-team_junit4 | train | java |
0b1041dd724ec963e44cf78fea2d2e7fa798432f | diff --git a/salt/cloud/clouds/vsphere.py b/salt/cloud/clouds/vsphere.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/vsphere.py
+++ b/salt/cloud/clouds/vsphere.py
@@ -367,6 +367,9 @@ def _deploy(vm_):
),
'sudo_password': config.get_cloud_config_value(
'sudo_password', vm_, __opts_... | adding key_filename param to vsphere provider | saltstack_salt | train | py |
d0782ed7e81a181f0541e1ce7c8cba0825a80299 | diff --git a/src/event.js b/src/event.js
index <HASH>..<HASH> 100644
--- a/src/event.js
+++ b/src/event.js
@@ -72,12 +72,9 @@ jQuery.event = {
eventHandle = elemData.handle = function( e ) {
// Discard the second event of a jQuery.event.trigger() and
// when an event is called after a page has unloaded
- ... | Event: Fix #<I>. Remove elem from event handle, close gh-<I>.
This also reduces memory leaks if the element is removed without cleaning
events (e.g with native DOM operations).
Not pickable into the 1.x branch because oldIE still needs this. | jquery_jquery | train | js |
be281ccecd95fa72e28d78537857f4ae47dba481 | diff --git a/src/utils/types.js b/src/utils/types.js
index <HASH>..<HASH> 100644
--- a/src/utils/types.js
+++ b/src/utils/types.js
@@ -59,6 +59,8 @@ const types = {
enableQueryRules: bool,
enableSearchRelevancy: bool,
recordAnalytics: bool,
+ emptyQuery: bool,
+ suggestionAnalytics: bool,
userId: string,
... | fix: revert wrongly removed properties | appbaseio_reactivecore | train | js |
95eb0169da7bb5e726fb73dcf704c3785a98dc02 | diff --git a/Connection.php b/Connection.php
index <HASH>..<HASH> 100644
--- a/Connection.php
+++ b/Connection.php
@@ -73,6 +73,11 @@ use Yii;
class Connection extends Component
{
/**
+ * @event Event an event that is triggered after a DB connection is established
+ */
+ const EVENT_AFTER_OPEN = 'afterOpen';
+
+ ... | mongodb method "open" not triggered event "after open connection" | yiisoft_yii2-mongodb | train | php |
adcfa68a8ea5230d0ba74fbda8d78af726d96bf0 | diff --git a/lib/cloudformer/stack.rb b/lib/cloudformer/stack.rb
index <HASH>..<HASH> 100644
--- a/lib/cloudformer/stack.rb
+++ b/lib/cloudformer/stack.rb
@@ -105,7 +105,7 @@ class Stack
end
printed.concat(printable_events.map(&:event_id))
break if !stack.status.match(/_COMPLETE$/).nil?
- ... | Reducing the poll time for stack events. | kunday_cloudformer | train | rb,rb |
513f100c6541075608ec4834c6a62da69f2c753c | diff --git a/amaascore/transactions/mtm_result.py b/amaascore/transactions/mtm_result.py
index <HASH>..<HASH> 100644
--- a/amaascore/transactions/mtm_result.py
+++ b/amaascore/transactions/mtm_result.py
@@ -55,7 +55,7 @@ class MTMResult(AMaaSModel):
@mtm_value.setter
def mtm_value(self, val):
- if no... | made mtm_value nullable | amaas-fintech_amaas-core-sdk-python | train | py,py |
f344973938ea8643e387a6e98957833875290e98 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -43,6 +43,9 @@ let request = module.exports._requestDefaults();
query.limit = query.limit || 50;
query.sort = query.sort || '_id';
+ const __no_skip__ = !!query.__no_skip__;
+ delete query.__no_skip__;
+
... | fix(api): prevent `__no_skip__` being sent as query parameter | Turbasen_turbasen.js | train | js |
d3626af431c9949b2e466a72d6b28ef727effb29 | diff --git a/lib/mongo/cluster.rb b/lib/mongo/cluster.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/cluster.rb
+++ b/lib/mongo/cluster.rb
@@ -472,19 +472,11 @@ module Mongo
end
def servers_list
- @update_lock.synchronize do
- @servers.reduce([]) do |servers, server|
- servers << server... | RUBY-<I> No reason to use reduce, just dup instead | mongodb_mongo-ruby-driver | train | rb |
af3af67609a67f43d851d3a248fe91a6e7d4c8ee | diff --git a/lib/pysynphot/spectrum.py b/lib/pysynphot/spectrum.py
index <HASH>..<HASH> 100644
--- a/lib/pysynphot/spectrum.py
+++ b/lib/pysynphot/spectrum.py
@@ -518,6 +518,12 @@ class CompositeSourceSpectrum(SourceSpectrum):
if self.operation == 'multiply':
return self.component1(wavelength) * s... | Add an iterator to CompositeSourceSpectrum, for the use of callers that want to inspect its pieces
git-svn-id: <URL> | spacetelescope_pysynphot | train | py |
6f9afb3347b5bded80fbd700b36ffe837b2dcf93 | diff --git a/tests/unit/test_http.py b/tests/unit/test_http.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_http.py
+++ b/tests/unit/test_http.py
@@ -216,7 +216,6 @@ class TestHTTP(object):
conn = serve.recv()
for request in conn:
conn.socket.close()
- requ... | actually, it's fine .. just a timing issue which I'm not sure we care about | cablehead_vanilla | train | py |
85878079e52278c74f883b971c06fa6d7e7e12c4 | diff --git a/src/Codeception/Module/SOAP.php b/src/Codeception/Module/SOAP.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/SOAP.php
+++ b/src/Codeception/Module/SOAP.php
@@ -266,7 +266,7 @@ EOF;
public function seeSoapResponseEquals($xml)
{
$xml = SoapUtils::toXml($xml);
- $this->... | inverse expected and actual (#<I>) | Codeception_base | train | php |
4f49c47df7261e1fcc4eeeff121e81c3e75bc08c | diff --git a/src/main/java/picocli/AbbreviationMatcher.java b/src/main/java/picocli/AbbreviationMatcher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/picocli/AbbreviationMatcher.java
+++ b/src/main/java/picocli/AbbreviationMatcher.java
@@ -92,16 +92,16 @@ class AbbreviationMatcher {
private static boolean s... | Change isHyphenPrefix to isNonAlphabetic to match splitIntoChunks | remkop_picocli | train | java |
dac59ef36b8211ad9f6b97fe47fc168fd8dd05c9 | diff --git a/masonite/providers/AppProvider.py b/masonite/providers/AppProvider.py
index <HASH>..<HASH> 100644
--- a/masonite/providers/AppProvider.py
+++ b/masonite/providers/AppProvider.py
@@ -75,7 +75,7 @@ class AppProvider(ServiceProvider):
Autoload(self.app).load(directories)
def _set_application_d... | E<I> comparison to False should be 'if cond is False:' or 'if not cond:' | MasoniteFramework_masonite | train | py |
261ec470cf690ef36448495d0443e1e82a00a617 | diff --git a/spec/decorators/socializer/person_decorator_spec.rb b/spec/decorators/socializer/person_decorator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/decorators/socializer/person_decorator_spec.rb
+++ b/spec/decorators/socializer/person_decorator_spec.rb
@@ -7,7 +7,6 @@ module Socializer
let(:decorated_per... | extra empty line detected at block body beginning | socializer_socializer | train | rb |
f0f43a4f531da286d775ae017416c6173aea6c01 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,21 +1,5 @@
-import sys
-from setuptools import setup, Command
-
-
-class Tox(Command):
-
- user_options = []
-
- def initialize_options(self):
- pass
-
- def finalize_options(self):
- pass
-
- de... | Remove Tox runner from setup.py
This isn't used to run Tox by the Makefile, so it's just dead code with
unfortunate dependency installation implications. | ciena_afkak | train | py |
aa77470ae773911ad8e4c4f9b24d013528b97778 | diff --git a/lib/smartsheet/client.rb b/lib/smartsheet/client.rb
index <HASH>..<HASH> 100644
--- a/lib/smartsheet/client.rb
+++ b/lib/smartsheet/client.rb
@@ -46,7 +46,7 @@ module Smartsheet
request_logger =
logger ?
- API::RequestLogger.new(logger, log_full_body) :
+ API::... | Ensure log_full_body is a named param. | smartsheet-platform_smartsheet-ruby-sdk | train | rb |
b71a630c557ad3c4dec60a4a33a950f5f15566d5 | diff --git a/response.go b/response.go
index <HASH>..<HASH> 100644
--- a/response.go
+++ b/response.go
@@ -68,6 +68,16 @@ func (r *Response) fixCharset(detectCharset bool, defaultEncoding string) error
return nil
}
contentType := strings.ToLower(r.Headers.Get("Content-Type"))
+
+ if strings.Contains(contentType... | Ignore certain MIME types in fixCharset
Some MIME types do not involve any text data and should not be processed
in fixCharset. This should be done instead of forcing the user to
toggle the Collector.DetectCharset flag as it could prove problematic.
Fix #<I> | gocolly_colly | train | go |
40e3ce44683b2d444bd02298851071aa4aae74f2 | diff --git a/shopify/base.py b/shopify/base.py
index <HASH>..<HASH> 100644
--- a/shopify/base.py
+++ b/shopify/base.py
@@ -137,16 +137,10 @@ class ShopifyResource(ActiveResource, mixins.Countable):
self._update(self.__class__.format.decode(response.body))
def __get_id(self):
- if self.klass.prima... | Fix id property compatibility with latest pyactiveresource. | Shopify_shopify_python_api | train | py |
50f07af81d5b3cdf62dc1c593dac70debc5c73ae | diff --git a/lib/plugins/disco.js b/lib/plugins/disco.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/disco.js
+++ b/lib/plugins/disco.js
@@ -168,7 +168,7 @@ module.exports = function (client, stanzas) {
client.registerFeature('caps', 100, function (features, cb) {
this.emit('disco:caps', {
- ... | Fallback to use configured server for stream feature caps | legastero_stanza.io | train | js |
fb8bd8f1b979faef8733853065536fc7db111612 | diff --git a/distribute_setup.py b/distribute_setup.py
index <HASH>..<HASH> 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -47,7 +47,7 @@ except ImportError:
return os.spawnl(os.P_WAIT, sys.executable, *args) == 0
DEFAULT_VERSION = "0.6.13"
-DEFAULT_URL = "http://pypi.python.org/packages/sour... | Fix: PyPi only supports HTTPS/TLS downloads now | explorigin_Rocket | train | py |
4379504be1d001a0d36faed23e4fca03c5add237 | diff --git a/report/src/main/java/com/buschmais/jqassistant/core/report/api/graph/SubGraphFactory.java b/report/src/main/java/com/buschmais/jqassistant/core/report/api/graph/SubGraphFactory.java
index <HASH>..<HASH> 100644
--- a/report/src/main/java/com/buschmais/jqassistant/core/report/api/graph/SubGraphFactory.java
+... | throw exception in SubGraphFactory if a provided virtual relationship is inconsistent | buschmais_jqa-core-framework | train | java |
1b533d4b4be9ea26210d2afbdc639c865ce48157 | diff --git a/features/support/demo_app.rb b/features/support/demo_app.rb
index <HASH>..<HASH> 100644
--- a/features/support/demo_app.rb
+++ b/features/support/demo_app.rb
@@ -13,7 +13,7 @@ class DemoApp
end
def teardown
- [@app, @test_app].each do |app|
+ all_apks do |app|
puts "Removing #{app[:pac... | refactor apks.each into block call | leandog_brazenhead | train | rb |
7e6cb9c13132e7b5f07276be58617bca6e0074fb | diff --git a/src/main/java/de/timroes/axmlrpc/serializer/DateTimeSerializer.java b/src/main/java/de/timroes/axmlrpc/serializer/DateTimeSerializer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/timroes/axmlrpc/serializer/DateTimeSerializer.java
+++ b/src/main/java/de/timroes/axmlrpc/serializer/DateTimeSerialize... | Return empty datetime elements as NULL | gturri_aXMLRPC | train | java |
915f87c260dd3ec45d89042d870ba6caf64716c3 | diff --git a/evfl/timeline.py b/evfl/timeline.py
index <HASH>..<HASH> 100644
--- a/evfl/timeline.py
+++ b/evfl/timeline.py
@@ -71,20 +71,20 @@ class Oneshot(BinaryObject):
class Cut(BinaryObject):
def __init__(self) -> None:
super().__init__()
- self.duration = -1.0 # TODO: is this correct?
+ ... | timeline: Fix cut structure
The float is not a duration; it seems to be the start time. | zeldamods_evfl | train | py |
4565e04eee74ab1166f861814e727460cff07e10 | diff --git a/snmpsim/grammar/snmprec.py b/snmpsim/grammar/snmprec.py
index <HASH>..<HASH> 100644
--- a/snmpsim/grammar/snmprec.py
+++ b/snmpsim/grammar/snmprec.py
@@ -47,7 +47,5 @@ class SnmprecGrammar(AbstractGrammar):
rfc1902.IpAddress.tagSet):
nval = value.asNumbers()
... | hopefully final fix to hexifyValue() | etingof_snmpsim | train | py |
4c182edfcbec9196ec0b027a8aacd249a1b3b1a3 | diff --git a/queue/queue.go b/queue/queue.go
index <HASH>..<HASH> 100644
--- a/queue/queue.go
+++ b/queue/queue.go
@@ -147,7 +147,7 @@ func (q *Queue) Run(c *colly.Collector) error {
q.finish()
continue
}
- r.Retry(true)
+ r.Do()
q.finish()
}
}(c, wg)
diff --git a/request.go b/request... | Add Request.Do() method which repects AllowURLRevisit | gocolly_colly | train | go,go |
6fff9c4ca236616b74d3d21fd0d9060169d8eaef | diff --git a/test/aggregate_tests.rb b/test/aggregate_tests.rb
index <HASH>..<HASH> 100644
--- a/test/aggregate_tests.rb
+++ b/test/aggregate_tests.rb
@@ -42,7 +42,10 @@ class TestSensuAggregate < TestCase
assert_equal(2, body[:outputs].size)
assert(body[:results].is_a?(Array))
... | [aggregate-limit] minor delete aggregate test | sensu_sensu | train | rb |
b033cf26b8b6ef5a61922f9abcc9a9b7ef4e8885 | diff --git a/lib/engine-client.js b/lib/engine-client.js
index <HASH>..<HASH> 100644
--- a/lib/engine-client.js
+++ b/lib/engine-client.js
@@ -16,6 +16,22 @@ exports.version = '0.1.0';
exports.protocol = 1;
/**
+ * Utils.
+ *
+ * @api public
+ */
+
+exports.util = require('./util');
+
+/**
+ * Parser.
+ *
+ * @api ... | Exposed util and parser. | socketio_engine.io-client | train | js |
1c4a8bfc671282c002e39fd67afd5f4ccef0ee4c | diff --git a/kafka/consumer/fetcher.py b/kafka/consumer/fetcher.py
index <HASH>..<HASH> 100644
--- a/kafka/consumer/fetcher.py
+++ b/kafka/consumer/fetcher.py
@@ -492,8 +492,7 @@ class Fetcher(six.Iterator):
def _create_fetch_requests(self):
"""Create fetch requests for all assigned partitions, grouped by... | Update docstring and comments in _create_fetch_requests re KAFKA-<I> | dpkp_kafka-python | train | py |
97bc5b260d52f26915b60bf9d583081c9ac57c8e | diff --git a/server/peer_server.go b/server/peer_server.go
index <HASH>..<HASH> 100644
--- a/server/peer_server.go
+++ b/server/peer_server.go
@@ -122,6 +122,8 @@ func NewPeerServer(name string, path string, url string, bindAddr string, tlsCon
s.raftServer.AddEventListener(raft.HeartbeatTimeoutEventType, s.raftEventL... | feat(metrics): Publish peer heartbeat events as metrics | etcd-io_etcd | train | go |
3dadbe13b9e90546d50a46ad6a0028352f900bec | diff --git a/src/main/java/com/samskivert/util/Randoms.java b/src/main/java/com/samskivert/util/Randoms.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/samskivert/util/Randoms.java
+++ b/src/main/java/com/samskivert/util/Randoms.java
@@ -146,18 +146,20 @@ public class Randoms
* Pick a random key from the... | What was I thinking?: we can't just pick a random number once.
Unsmoke that crack.
git-svn-id: <URL> | samskivert_samskivert | train | java |
dd434fb71b7ce5bdbb29e93be666c0ff6b09b159 | diff --git a/builtin/providers/aws/resource_aws_db_subnet_group_test.go b/builtin/providers/aws/resource_aws_db_subnet_group_test.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/resource_aws_db_subnet_group_test.go
+++ b/builtin/providers/aws/resource_aws_db_subnet_group_test.go
@@ -107,6 +107,7 @@ resource ... | providers/aws: add description to test
cc/ @buth
Looks like the schema was correctly defining description as required,
added it to the tests and it's passing now. | hashicorp_terraform | train | go |
6fe95f7da39fa00aac1604c4b206fb087acd709c | diff --git a/core/Pimf/Util/Validator.php b/core/Pimf/Util/Validator.php
index <HASH>..<HASH> 100644
--- a/core/Pimf/Util/Validator.php
+++ b/core/Pimf/Util/Validator.php
@@ -295,7 +295,9 @@ class Validator
protected function middleware($fieldName, $comparing, $operator, $expecting)
{
if (in_array($o... | refactoring of create_function()
- that has been deprecated in PHP <I>
- and will be removed from PHP in the next major version. | gjerokrsteski_pimf-framework | train | php |
3da5aea1f5d5796c857911fc0a37b210267e0690 | diff --git a/lxd/db/db_internal_test.go b/lxd/db/db_internal_test.go
index <HASH>..<HASH> 100644
--- a/lxd/db/db_internal_test.go
+++ b/lxd/db/db_internal_test.go
@@ -63,7 +63,7 @@ func (s *dbTestSuite) CreateTestDb() (*Cluster, func()) {
s.Nil(err)
}
- db, cleanup := NewTestCluster(s.T())
+ db, cleanup := NewTe... | lxd/db: Fix for new testify | lxc_lxd | train | go |
00c7ac3c870c8bcc1480ec1d0a1d5ccfecd3fc63 | diff --git a/src/python/dxpy/utils/resolver.py b/src/python/dxpy/utils/resolver.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/utils/resolver.py
+++ b/src/python/dxpy/utils/resolver.py
@@ -227,7 +227,7 @@ def resolve_container_id_or_name(raw_string, is_error=False, unescape=True, mult
return ([cached_pro... | dxpy.utils.resolver: fixed bug where it would not resolve projects for which you have < CONTRIBUTE access | dnanexus_dx-toolkit | train | py |
2e0451490717fd06370856cc3e9c4ed35327471e | diff --git a/pybromo/timestamps.py b/pybromo/timestamps.py
index <HASH>..<HASH> 100644
--- a/pybromo/timestamps.py
+++ b/pybromo/timestamps.py
@@ -171,14 +171,14 @@ class TimestapSimulation:
print('%s Donor timestamps - %s' % (header, ctime()), flush=True)
self.S.simulate_timestamps_mix(
... | Fix TimestampSimulation from previous update | tritemio_PyBroMo | train | py |
0e1bb94b576e83edcbeec6f2da56bebdbb1cc9d1 | diff --git a/libnavigation-ui/src/main/java/com/mapbox/navigation/ui/route/NavigationMapRoute.java b/libnavigation-ui/src/main/java/com/mapbox/navigation/ui/route/NavigationMapRoute.java
index <HASH>..<HASH> 100644
--- a/libnavigation-ui/src/main/java/com/mapbox/navigation/ui/route/NavigationMapRoute.java
+++ b/libnavi... | added update to listener that was erroneously omitted | mapbox_mapbox-navigation-android | train | java |
5d9df01c21603dff098ab02802083fb9b7f85624 | diff --git a/terminal/output.go b/terminal/output.go
index <HASH>..<HASH> 100644
--- a/terminal/output.go
+++ b/terminal/output.go
@@ -6,13 +6,13 @@ import (
"io"
)
-// Returns special stdout, which converts escape sequences to Windows API calls
+// NewAnsiStdout returns special stdout, which converts escape seque... | Fix function comments based on best practices from Effective Go (#<I>) | AlecAivazis_survey | train | go |
c7fd3ff2cc77fa1bf161c09cf0067d7fd286745f | diff --git a/gibica/interpreter.py b/gibica/interpreter.py
index <HASH>..<HASH> 100644
--- a/gibica/interpreter.py
+++ b/gibica/interpreter.py
@@ -115,7 +115,14 @@ class Interpreter(NodeVisitor):
def visit_Assignment(self, node):
"""Visitor for `Assignment` AST node."""
- self.memory[node.left.id... | Better memory management of mutable variables | matthieugouel_gibica | train | py |
054d88f7c3526d9fa792fbe6670a6b871694aa06 | diff --git a/library/src/main/java/de/mrapp/android/dialog/MaterialDialog.java b/library/src/main/java/de/mrapp/android/dialog/MaterialDialog.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/de/mrapp/android/dialog/MaterialDialog.java
+++ b/library/src/main/java/de/mrapp/android/dialog/MaterialDialog.java
@... | Added getContext-method to Builder. | michael-rapp_AndroidMaterialDialog | train | java |
c2fcc07a89fbfc0612a965074865e36f709a65ed | diff --git a/project_generator/project.py b/project_generator/project.py
index <HASH>..<HASH> 100644
--- a/project_generator/project.py
+++ b/project_generator/project.py
@@ -471,19 +471,23 @@ class Project:
def _set_output_dir_path(self, tool, workspace_path):
if self.pgen_workspace.settings.generated_... | Project - set output dir path - add comments | project-generator_project_generator | train | py |
49ef237a9929a4f76ac5b6f24c4718504478cad4 | diff --git a/aws/resource_aws_secretsmanager_secret_policy_test.go b/aws/resource_aws_secretsmanager_secret_policy_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_secretsmanager_secret_policy_test.go
+++ b/aws/resource_aws_secretsmanager_secret_policy_test.go
@@ -28,7 +28,7 @@ func testSweepSecretsManagerSec... | tests/r/secretsmanager_secret_policy: Use consistent var name | terraform-providers_terraform-provider-aws | train | go |
79f48d93e9a1be1744e86a405f3089f7c0143035 | diff --git a/Form/Type/ImmutableArrayType.php b/Form/Type/ImmutableArrayType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/ImmutableArrayType.php
+++ b/Form/Type/ImmutableArrayType.php
@@ -21,9 +21,12 @@ class ImmutableArrayType extends AbstractType
public function buildForm(FormBuilder $builder, array $options)... | mmutableArrayType buildForm with FormBuilder as option | sonata-project_SonataAdminBundle | train | php |
78f555d7f5d193f5204c50df5d0fea2de12dbba5 | diff --git a/aikif/project.py b/aikif/project.py
index <HASH>..<HASH> 100644
--- a/aikif/project.py
+++ b/aikif/project.py
@@ -80,11 +80,6 @@ class Project(object):
res += t.name + '\n'
return res
- def add_goal(self, goal_id, name, due_date=None, priority=None):
- """
- add... | removed project functions add_link add_goal | acutesoftware_AIKIF | train | py |
93f838b8b8e0df0556aabb363e438751d09dc753 | diff --git a/neo4jrestclient/query.py b/neo4jrestclient/query.py
index <HASH>..<HASH> 100644
--- a/neo4jrestclient/query.py
+++ b/neo4jrestclient/query.py
@@ -215,7 +215,7 @@ class Q(BaseQ):
op_not = self._not.get_query_objects(params=params,
version=versio... | Update NOT check to in query.Q to use True=NOT() | versae_neo4j-rest-client | train | py |
41d4b89d44a168c384a27ce04efc07a8fad7c8f7 | diff --git a/lib/workable/client.rb b/lib/workable/client.rb
index <HASH>..<HASH> 100644
--- a/lib/workable/client.rb
+++ b/lib/workable/client.rb
@@ -57,7 +57,7 @@ module Workable
when 404
raise Errors::NotFound, response.body
when 503
- raise Errors::RequestToLong, "Response code: #{resp... | We know it's <I>, let's return body as message | emq_workable | train | rb |
cb10be18e3911d57141cd8cd5c18df90d34f2bf3 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -35,8 +35,10 @@ module.exports = {
var headerConfig = appConfig.contentSecurityPolicy;
if (options.liveReload) {
- headerConfig['connect-src'] = headerConfig['connect-src'] + ' ws://localhost:' + options... | Allow both <I> and localhost for livereload. | rwjblue_ember-cli-content-security-policy | train | js |
f20b526903a4fa1abbfa080fcef1e6602f06173e | diff --git a/lib/bootstrap.js b/lib/bootstrap.js
index <HASH>..<HASH> 100644
--- a/lib/bootstrap.js
+++ b/lib/bootstrap.js
@@ -38,7 +38,7 @@ module.exports = function(options, db) {
}, function(err, file) {
if (!file) {
- fs.createReadStream(appPath + '/public/lib/bootstrap/dist/c... | update path to bower_components | linnovate_mean-cli | train | js |
770f1e8bfab4ba9576cf399e8785bdd02a3832c9 | diff --git a/src/SVGImage.php b/src/SVGImage.php
index <HASH>..<HASH> 100644
--- a/src/SVGImage.php
+++ b/src/SVGImage.php
@@ -20,8 +20,8 @@ class SVGImage
private $document;
/**
- * @param int $width The image's width, in pixels.
- * @param int $height The image's height, in pixe... | Fix misleading SVGImage constructor doc comment
The size does not have to be in pixels, and neither of type int. | meyfa_php-svg | train | php |
151dec5caf5d7e3b0715bda4ea44f51931123def | diff --git a/kernel/content/ezcontentoperationcollection.php b/kernel/content/ezcontentoperationcollection.php
index <HASH>..<HASH> 100644
--- a/kernel/content/ezcontentoperationcollection.php
+++ b/kernel/content/ezcontentoperationcollection.php
@@ -283,9 +283,9 @@ class eZContentOperationCollection
... | #- Moved the restoration of the current user (PreGeneration) to outside of
# the siteaccess loop.
# (Manually merged from stable/<I> (<I>) rev. <I>)
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
366225f07cb8fea3809487e0b38bcf3fa491d621 | diff --git a/lib/Model.js b/lib/Model.js
index <HASH>..<HASH> 100644
--- a/lib/Model.js
+++ b/lib/Model.js
@@ -150,7 +150,7 @@ function Model(opts) {
if (data.length === 0) {
return cb(new Error("Not found"));
}
- Singleton.get(opts.table + "/" + id, {
+ Singleton.get(opts.driver.uid + "/" + opts.table... | Changes singleton uid creation to use driver uid (#<I>) | dresende_node-orm2 | train | js |
00480082307c69893c68dce20ffd7e351276b0f1 | diff --git a/core/core.go b/core/core.go
index <HASH>..<HASH> 100644
--- a/core/core.go
+++ b/core/core.go
@@ -117,7 +117,7 @@ type Config struct {
Vault struct {
Address string `yaml:"address" env:"SHIELD_VAULT_ADDRESS"`
- CACert string `yaml:"ca" env:"SHIELD_VAULT_CA"`
+ CACert string `yaml:"ca" env:"... | More environment configuration in SHIELD core | starkandwayne_shield | train | go |
a7d13ecf2b925f7e452a90d8abb756fbfefdee4f | diff --git a/grade/report/user/externallib.php b/grade/report/user/externallib.php
index <HASH>..<HASH> 100644
--- a/grade/report/user/externallib.php
+++ b/grade/report/user/externallib.php
@@ -115,6 +115,9 @@ class gradereport_user_external extends external_api {
require_once($CFG->dirroot . '/grade/lib.php'... | MDL-<I> gradereport_user: Force regrade in external function | moodle_moodle | train | php |
bed41d6c9d6be1f35e5134e08b88c20f1772d364 | diff --git a/semantic_version/base.py b/semantic_version/base.py
index <HASH>..<HASH> 100644
--- a/semantic_version/base.py
+++ b/semantic_version/base.py
@@ -91,13 +91,13 @@ class Version(object):
return int(value)
def next_major(self):
- if self.prerelease and self.minor is 0 and self.patch is ... | Don't use `is` for integer comparisons.
Closes #<I>. | rbarrois_python-semanticversion | train | py |
b6bd1177b40d1ad1077502baa91afd7040ccb84c | diff --git a/sdjournal/journal.go b/sdjournal/journal.go
index <HASH>..<HASH> 100644
--- a/sdjournal/journal.go
+++ b/sdjournal/journal.go
@@ -736,14 +736,13 @@ func (j *Journal) GetEntry() (*JournalEntry, error) {
entry.MonotonicTimestamp = uint64(monotonicUsec)
var c *C.char
- defer C.free(unsafe.Pointer(c))
-
... | sdjournal: free correct pointer
Since defer creates a closure, it ends up freeing the wrong
pointer in these situations (i.e. not the one that ends up
getting allocated by asprintf during the actual sdjournal
call). | coreos_go-systemd | train | go |
3ebd0a7d0084ffa8b0c4a304508aedd9bebcf89f | diff --git a/server/storage/backend/backend_test.go b/server/storage/backend/backend_test.go
index <HASH>..<HASH> 100644
--- a/server/storage/backend/backend_test.go
+++ b/server/storage/backend/backend_test.go
@@ -32,7 +32,7 @@ func TestBackendClose(t *testing.T) {
b, _ := betesting.NewTmpBackend(t, time.Hour, 10000... | fixing the goroutine leak in TestBackendClose | etcd-io_etcd | train | go |
006b9b126dca278db450d164a2f402268a545b6f | diff --git a/cli/command/config/remove_test.go b/cli/command/config/remove_test.go
index <HASH>..<HASH> 100644
--- a/cli/command/config/remove_test.go
+++ b/cli/command/config/remove_test.go
@@ -77,6 +77,7 @@ func TestConfigRemoveContinueAfterError(t *testing.T) {
cmd := newConfigRemoveCommand(cli)
cmd.SetArgs(na... | fixed the output leak from error test case for config/remove | docker_cli | train | go |
b77dd718226291bd699cb5d3a8eebda8cb05c275 | diff --git a/src/cf/terminal/ui.go b/src/cf/terminal/ui.go
index <HASH>..<HASH> 100644
--- a/src/cf/terminal/ui.go
+++ b/src/cf/terminal/ui.go
@@ -50,8 +50,7 @@ func (c TerminalUI) Ok() {
func (c TerminalUI) Failed(message string) {
c.Say(FailureColor("FAILED"))
c.Say(message)
-
- return
+ os.Exit(1)
}
func (c... | exit with status 1 on failure
[#<I>] | cloudfoundry_cli | train | go |
bf0e1cab44563004082aff7e92ed0ccc7a5744fe | diff --git a/code/editor/EditableCheckboxGroupField.php b/code/editor/EditableCheckboxGroupField.php
index <HASH>..<HASH> 100755
--- a/code/editor/EditableCheckboxGroupField.php
+++ b/code/editor/EditableCheckboxGroupField.php
@@ -65,7 +65,7 @@ class EditableCheckboxGroupField extends EditableFormField {
continue;... | BUGFIX added isset to [->ID] | silverstripe_silverstripe-userforms | train | php |
f44ded1e869190ea7ddceab57496ebee9e67343a | diff --git a/lib/components/Redoc/redoc.js b/lib/components/Redoc/redoc.js
index <HASH>..<HASH> 100644
--- a/lib/components/Redoc/redoc.js
+++ b/lib/components/Redoc/redoc.js
@@ -12,8 +12,8 @@ import {ChangeDetectionStrategy} from 'angular2/angular2';
providers: [SchemaManager],
templateUrl: './lib/components/Red... | uncomment changeDetection spec in redoc | Rebilly_ReDoc | train | js |
01419ef8b349a92555cd911f5dd8629ea33aab30 | diff --git a/core/server/models/base/index.js b/core/server/models/base/index.js
index <HASH>..<HASH> 100644
--- a/core/server/models/base/index.js
+++ b/core/server/models/base/index.js
@@ -118,6 +118,7 @@ ghostBookshelf.Model = ghostBookshelf.Model.extend({
debug(model.tableName, event);
if (!opti... | Added base model debug log for events
no issue | TryGhost_Ghost | train | js |
0ebd3338d6499857244250ab15bff1e0e3fe9a3c | diff --git a/addon/components/tour-start-button.js b/addon/components/tour-start-button.js
index <HASH>..<HASH> 100644
--- a/addon/components/tour-start-button.js
+++ b/addon/components/tour-start-button.js
@@ -195,9 +195,9 @@ export default Ember.Component.extend({
let tour = get(this, 'tour');
let callout =... | Do not use array deconstructing on jQuery collection
This caused the code to fail on environments where Symbol is not natively available (e.g. IE or phantomjs) | mydea_ember-site-tour | train | js |
343733120455a3f872d932b1c6f0ac0d4f4e7974 | diff --git a/tests/PosPaymentTest.php b/tests/PosPaymentTest.php
index <HASH>..<HASH> 100644
--- a/tests/PosPaymentTest.php
+++ b/tests/PosPaymentTest.php
@@ -62,7 +62,6 @@ class PosPaymentTest extends TestCase
$this->validateApiPermission($e);
}
- print $result;
$this->assertTru... | PW-<I>: removed print statement | Adyen_adyen-php-api-library | train | php |
12cc387dba0c377df6c5276cbc8ca95c955263aa | diff --git a/go/vt/vtadmin/cluster/cluster.go b/go/vt/vtadmin/cluster/cluster.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtadmin/cluster/cluster.go
+++ b/go/vt/vtadmin/cluster/cluster.go
@@ -211,14 +211,20 @@ func New(ctx context.Context, cfg Config) (*Cluster, error) {
// to avoid data races in tests (the latter of t... | Fix data race in vtadmin (#<I>)
The schema cache has a backfill goroutine running which depends on the
clutser's Vtctld, so there's a more subtle `Close` ordering dependency
here.
It's okay (and good!) to close caches concurrently, and proxy connections
concurrently, but never concurrently _with each other_, and... | vitessio_vitess | train | go |
7c1901e301d79475b45773b1d2e031f4889633e6 | diff --git a/src/livestreamer/plugins/tvcatchup.py b/src/livestreamer/plugins/tvcatchup.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer/plugins/tvcatchup.py
+++ b/src/livestreamer/plugins/tvcatchup.py
@@ -25,7 +25,7 @@ class TVCatchup(Plugin):
stream_url = match.groupdict()["stream_url"]
... | tvcatchup now returns a variant playlist | streamlink_streamlink | train | py |
b5a2ea8125b896d3e7b1d9ade96d25fc22c5d68b | diff --git a/client/http_client.go b/client/http_client.go
index <HASH>..<HASH> 100644
--- a/client/http_client.go
+++ b/client/http_client.go
@@ -11,10 +11,10 @@ import (
"os"
"path/filepath"
"regexp"
- "text/template"
+ "strconv"
"strings"
+ "text/template"
"time"
- "strconv"
)
const NON_VERBOSE = "NON_... | Need to cast to time.Duration | maximilien_softlayer-go | train | go |
e17410ce1b4e7b21570858b60051615a84c31f9c | diff --git a/xmantissa/tdb.py b/xmantissa/tdb.py
index <HASH>..<HASH> 100644
--- a/xmantissa/tdb.py
+++ b/xmantissa/tdb.py
@@ -142,6 +142,7 @@ class TabularDataModel:
# hasNextPage and hasPrevPage methosd. We gracefully handle it
# anyway simply because we expect multiple frontends for this
... | ensure "totalItems" and "totalPages" are always attributes of the TDM, even if their values are 0. | twisted_mantissa | train | py |
c17ed636bf596b0c51d01ae38952b88438fd031b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -371,7 +371,7 @@ wjs.prototype.addPlayer = function(wcpSettings) {
} else vlcs[wjsPlayer.context].hideUI = setTimeout(function(i) { return function() { hideUI.call(players[i]); } }(wjsPlayer.context),3000)... | Fixed mouse cursor on UI hidden | jaruba_wcjs-player | train | js |
bbb0f00ea81b1c379e8336437c3c6845a99affb4 | diff --git a/.tools/validate.go b/.tools/validate.go
index <HASH>..<HASH> 100644
--- a/.tools/validate.go
+++ b/.tools/validate.go
@@ -210,7 +210,7 @@ func GitCommits(commitrange string) ([]CommitEntry, error) {
// GitFetchHeadCommit returns the hash of FETCH_HEAD
func GitFetchHeadCommit() (string, error) {
- outpu... | .tools: make GetFetchHeadCommit do what it says | opencontainers_runtime-spec | train | go |
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.