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 |
|---|---|---|---|---|---|
ac6188c6763333af9b1826d0c445edac93c8cc32 | diff --git a/test/e2e/deployment.go b/test/e2e/deployment.go
index <HASH>..<HASH> 100644
--- a/test/e2e/deployment.go
+++ b/test/e2e/deployment.go
@@ -183,8 +183,9 @@ func stopDeployment(c *clientset.Clientset, oldC client.Interface, ns, deploymen
Expect(err).NotTo(HaveOccurred())
Expect(rss.Items).Should(HaveLen(0... | Print the remaining pods to debug test flake | kubernetes_kubernetes | train | go |
bbb8d6af29d8197237fdee2241eca1dfc061f566 | diff --git a/src/transports/flash_transport.js b/src/transports/flash_transport.js
index <HASH>..<HASH> 100644
--- a/src/transports/flash_transport.js
+++ b/src/transports/flash_transport.js
@@ -35,7 +35,11 @@
try {
return !!(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'));
} catch (e) {
- ret... | Change the Flash check if mimeTypes are absent | pusher_pusher-js | train | js |
d764b09c8450cb4d53fc8b4f0bd2cae511738443 | diff --git a/src/main/java/de/btobastian/javacord/utils/DiscordWebSocketAdapter.java b/src/main/java/de/btobastian/javacord/utils/DiscordWebSocketAdapter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/btobastian/javacord/utils/DiscordWebSocketAdapter.java
+++ b/src/main/java/de/btobastian/javacord/utils/Discor... | Log an error that happens during invocation of callback methods | Javacord_Javacord | train | java |
cf52ba771cbe48a4758f24a737807dbbdeb33f2f | diff --git a/lib/yql_query.rb b/lib/yql_query.rb
index <HASH>..<HASH> 100644
--- a/lib/yql_query.rb
+++ b/lib/yql_query.rb
@@ -131,6 +131,10 @@ module YqlQuery
self.query.conditions << conditions
elsif conditions.kind_of?(Array)
self.query.conditions += conditions
+ elsif conditions.kind_o... | allow conditions to be passed as a hash | stve_yql-query | train | rb,rb |
c1c2436f490c36619aec8cd16b43fba319161c9f | diff --git a/indra/biopax/processor.py b/indra/biopax/processor.py
index <HASH>..<HASH> 100644
--- a/indra/biopax/processor.py
+++ b/indra/biopax/processor.py
@@ -24,11 +24,16 @@ class BiopaxProcessor(object):
bpe = cast_biopax_element(obj)
if not is_complex(bpe):
continue
+ ... | Fill Evidence object for Complex statements in BioPAX | sorgerlab_indra | train | py |
9750817bf02a1228369c962a0ae2dcdd13a8ffb5 | diff --git a/test/request.test.js b/test/request.test.js
index <HASH>..<HASH> 100644
--- a/test/request.test.js
+++ b/test/request.test.js
@@ -61,10 +61,23 @@ module.exports = {
res.send('ok');
});
+ app.get('/type', function(req, res){
+ assert.strictEqual(true, req.ac... | Added more tests for req.accepts() | expressjs_express | train | js |
b523b605b0c68f6cde99d3081b5db59839c2c507 | diff --git a/cmd/juju/constraints.go b/cmd/juju/constraints.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/constraints.go
+++ b/cmd/juju/constraints.go
@@ -37,8 +37,8 @@ precedence.
Examples:
- set-constraints mem=8G (all new machines in the environment must have at least 8GB of RAM)
- set-constra... | fix for bug <I>: bad set-constraints example. | juju_juju | train | go |
8f8280efd6f6b59447a7340704fc7792296eb6e1 | diff --git a/lib/memcached/rails.rb b/lib/memcached/rails.rb
index <HASH>..<HASH> 100644
--- a/lib/memcached/rails.rb
+++ b/lib/memcached/rails.rb
@@ -1,7 +1,8 @@
-
class Memcached
alias :get_multi :get #:nodoc:
+ alias :servers= :set_servers #:nodoc:
+ public :servers=
# A legacy compatibility wrapper for... | memcache-client allows (forces?) you to set servers with a `servers=` setter | arthurnn_memcached | train | rb |
4faec9440167b016c41406db5dd84d08e7cdba0f | diff --git a/features/step_definitions/cli_steps.rb b/features/step_definitions/cli_steps.rb
index <HASH>..<HASH> 100644
--- a/features/step_definitions/cli_steps.rb
+++ b/features/step_definitions/cli_steps.rb
@@ -3,8 +3,9 @@ Given /^the environment variable (.+) is "(.+)"$/ do |variable, value|
end
Then /^the exi... | Wow Ruby <I>, you suck | tas50_stove | train | rb |
0aca065b4fc282e6787ec2f35e80edc6382f752d | diff --git a/fi/validation.php b/fi/validation.php
index <HASH>..<HASH> 100644
--- a/fi/validation.php
+++ b/fi/validation.php
@@ -28,10 +28,10 @@ return array(
"array" => "The :attribute must have between :min - :max items."
),
"confirmed" => ":attribute vahvistus ei täsmää.",
- "date" ... | Update validation.php
Fixing some lines in the fi lang file. | caouecs_Laravel-lang | train | php |
34df3097a288550f77b84c52aa039e285cdcc745 | diff --git a/test/browser/routes-test.js b/test/browser/routes-test.js
index <HASH>..<HASH> 100644
--- a/test/browser/routes-test.js
+++ b/test/browser/routes-test.js
@@ -630,3 +630,18 @@ createTest('setRoute with a single parameter should change location correctly',
self.finish();
}, 14)
});
+
+createTest('r... | [test] Test `_` and `.` in browser routes test | flatiron_director | train | js |
ca64ec34edcfd04bef4e87554b7cb28d646094f3 | diff --git a/lib/wiston-honeybadger.js b/lib/wiston-honeybadger.js
index <HASH>..<HASH> 100644
--- a/lib/wiston-honeybadger.js
+++ b/lib/wiston-honeybadger.js
@@ -63,7 +63,11 @@ Honey.prototype.log = function(level, msg, meta, callback) {
}
if (level === 'error') {
- callback(null, true);
+
+ ... | LIB: Update how we handle post updates | goliatone_winston-honeybadger | train | js |
31e530b37c217b5bbe23bdc95c0f9953ddacc1c0 | diff --git a/src/Admin/AbstractAdmin.php b/src/Admin/AbstractAdmin.php
index <HASH>..<HASH> 100644
--- a/src/Admin/AbstractAdmin.php
+++ b/src/Admin/AbstractAdmin.php
@@ -2914,7 +2914,7 @@ EOT;
$mapper = new ListMapper($this->getListBuilder(), $this->list, $this);
- if (\count($this->getBatchActions... | Fix batch checkbox display when list page is loaded through Ajax | sonata-project_SonataAdminBundle | train | php |
1953280da4aad34614e3248c8c7caa9ab9c02bcd | diff --git a/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php b/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php
+++ b/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php
@@ -11,7 +11,7 @@
namespace Symfony\Br... | [MonologBridge] updated the class name from Monolog | symfony_symfony | train | php |
249b4f51ec9ade57ee4320d9d8395ed443cde722 | diff --git a/lib/fernet/token.rb b/lib/fernet/token.rb
index <HASH>..<HASH> 100644
--- a/lib/fernet/token.rb
+++ b/lib/fernet/token.rb
@@ -92,13 +92,12 @@ module Fernet
if valid_base64?
if unknown_token_version?
errors.add :version, "is unknown"
+ elsif enforce_ttl? && !issued_recent_e... | Check TTL as soon as possible during validation | fernet_fernet-rb | train | rb |
81cfa9072b79fee57ba8fe1b9ddf8d774aa41f2e | diff --git a/lib/suite.js b/lib/suite.js
index <HASH>..<HASH> 100644
--- a/lib/suite.js
+++ b/lib/suite.js
@@ -102,6 +102,7 @@ Suite.prototype.clone = function() {
var suite = new Suite(this.title);
debug('clone');
suite.ctx = this.ctx;
+ suite.root = this.root;
suite.timeout(this.timeout());
suite.retr... | Copy Suite property "root" when cloning; closes #<I> (#<I>) | mochajs_mocha | train | js,js |
6cac4df0f66a8624eb553169291c2f09842120e1 | diff --git a/tests/Notifications/NotificationMailChannelTest.php b/tests/Notifications/NotificationMailChannelTest.php
index <HASH>..<HASH> 100644
--- a/tests/Notifications/NotificationMailChannelTest.php
+++ b/tests/Notifications/NotificationMailChannelTest.php
@@ -294,7 +294,7 @@ class NotificationMailChannelTestNoti... | remove leading slash and extra brackets | laravel_framework | train | php |
838cc9f3971d628157b47ba868d582fe4c26ba84 | diff --git a/alarmdecoder/decoder.py b/alarmdecoder/decoder.py
index <HASH>..<HASH> 100644
--- a/alarmdecoder/decoder.py
+++ b/alarmdecoder/decoder.py
@@ -793,7 +793,7 @@ class AlarmDecoder(object):
exit = self._exit
if self.mode == DSC:
- i... | Added 'EXIT DELAY' pattern test to DSC arming panel state logic | nutechsoftware_alarmdecoder | train | py |
3420052176195d03f416ceb7f4c370111719e679 | diff --git a/jss/jss.py b/jss/jss.py
index <HASH>..<HASH> 100755
--- a/jss/jss.py
+++ b/jss/jss.py
@@ -1458,7 +1458,7 @@ class Package(JSSContainerObject):
feu = ElementTree.SubElement(self, "fill_existing_users")
feu.text = "false"
boot_volume = ElementTree.SubElement(self, "boot_volume_requ... | Set all packages to install on reboot. | jssimporter_python-jss | train | py |
94be0ea4532bac64d3ff4466618eb0d3b93f6b19 | diff --git a/src/Awjudd/FeedReader/FeedReader.php b/src/Awjudd/FeedReader/FeedReader.php
index <HASH>..<HASH> 100644
--- a/src/Awjudd/FeedReader/FeedReader.php
+++ b/src/Awjudd/FeedReader/FeedReader.php
@@ -66,6 +66,13 @@ class FeedReader
// Grab the cache location
$cache_location = storage_path($this... | Fixing a minor bug where the feed reader wasn't dropping the .gitignore file into the storage folder | awjudd_l4-feed-reader | train | php |
0ce868ff144528d95aeee50e86dc20467d6fd646 | diff --git a/tests/src/ApiTest.php b/tests/src/ApiTest.php
index <HASH>..<HASH> 100644
--- a/tests/src/ApiTest.php
+++ b/tests/src/ApiTest.php
@@ -155,9 +155,11 @@ class ApiTest extends PHPUnit_Framework_TestCase
{
$api_mock = new Mock\Api_Uri('POSTMARK_API_TEST');
+ // Either: Postmark delivery ... | Fix wrong URI test to work both locally and on Travis | OpenBuildings_postmark | train | php |
1f568554dc719b6034528da5cd82e5ee54cc00f3 | diff --git a/tests/karma.conf.js b/tests/karma.conf.js
index <HASH>..<HASH> 100644
--- a/tests/karma.conf.js
+++ b/tests/karma.conf.js
@@ -14,10 +14,9 @@ module.exports = function (config) {
// list of files / patterns to load in the browser
- // TODO: changing this to .ts files causes the test to become le... | tests: mocha reporter and include ts files (#<I>) | NativeScript_nativescript-angular | train | js |
12e9853d23a683b6a052da7c10a9eb7f1abb33a4 | diff --git a/spyder/plugins/ipythonconsole/widgets/control.py b/spyder/plugins/ipythonconsole/widgets/control.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole/widgets/control.py
+++ b/spyder/plugins/ipythonconsole/widgets/control.py
@@ -113,6 +113,7 @@ class ControlWidget(TracebackLinksMixin, GetHelpM... | IPython console: Process mouseMoveEvent's in control widget
Without this it was not possible to select text in the console. | spyder-ide_spyder | train | py |
cb2c9b3bbc29a89eb84f92f6c9e047f7e4f14f60 | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js b/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js
@@ -70,16 +70,11 @@ define([
... | BCD & DI AVT - Some popup panels can't be closed by keyboard org-ids/web-ide-issues#<I> | eclipse_orion.client | train | js |
e084353d7c23f0b2c6727395c48ee1869ab3706a | diff --git a/database/migrations/2018_08_25_102000_create_uploads_table.php b/database/migrations/2018_08_25_102000_create_uploads_table.php
index <HASH>..<HASH> 100644
--- a/database/migrations/2018_08_25_102000_create_uploads_table.php
+++ b/database/migrations/2018_08_25_102000_create_uploads_table.php
@@ -11,6 +11,... | adds file_id in uploads table; | laravel-enso_FileManager | train | php |
d781ec4985c312d8f77c5da0dd660836e2defc0c | diff --git a/segments/cwd.py b/segments/cwd.py
index <HASH>..<HASH> 100644
--- a/segments/cwd.py
+++ b/segments/cwd.py
@@ -47,6 +47,8 @@ def get_fg_bg(name):
def add_cwd_segment():
cwd = powerline.cwd or os.getenv('PWD')
+ if not py3:
+ cwd = cwd.decode("utf-8")
cwd = replace_home_dir(cwd)
... | fix unicode issue in cwd | b-ryan_powerline-shell | train | py |
1df80ba111f0234686a1a35e2544ab7154ef3870 | diff --git a/libmachine/provision/utils.go b/libmachine/provision/utils.go
index <HASH>..<HASH> 100644
--- a/libmachine/provision/utils.go
+++ b/libmachine/provision/utils.go
@@ -95,7 +95,7 @@ func ConfigureAuth(p Provisioner) error {
// TODO: Switch to passing just authOptions to this func
// instead of all these ... | Adding localhost to the list of alt_names
When attempting to connect to the docker api from the machine itself,
the TLS verification of the certificate checked against the public
IP address of the primary interface. This is undesirable on hosts
which have NAT rules that block access to that address by default.
Addin... | docker_machine | train | go |
839a5f6029d43a28f73bf61086986888c285d5b3 | diff --git a/chainer_ui/register.py b/chainer_ui/register.py
index <HASH>..<HASH> 100644
--- a/chainer_ui/register.py
+++ b/chainer_ui/register.py
@@ -24,7 +24,7 @@ def main():
arguments = parser.parse_args()
- result_path = arguments.result
+ result_path = os.path.abspath(arguments.result)
if con... | allow logs to be aliased | chainer_chainerui | train | py |
e97f7edda27aa3909672e04a1c4376d3680ef4e2 | diff --git a/lib/sailthru.rb b/lib/sailthru.rb
index <HASH>..<HASH> 100644
--- a/lib/sailthru.rb
+++ b/lib/sailthru.rb
@@ -126,7 +126,7 @@ module Sailthru
# http://docs.sailthru.com/api/send
def send(template_name, email, vars={}, options = {}, schedule_time = nil)
warn "[DEPRECATION] `send` is depreca... | Removing assignment of vars in deprecated #send method | sailthru_sailthru-ruby-client | train | rb |
b8da856c971739196bef8c088895d07da1e06b2e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -4,13 +4,14 @@ var xml2js = require('xml2js');
var xmlParser = new xml2js.Parser({explicitArray: false});
module.exports = function (callback) {
- return function xmlHttpResponse(res) {
+ return function xmlHttpRespo... | Added `res.end()` call to the `req.on('end', ...` call to close the connection instantly instead of after a (long) timeout period. | bazwilliams_parsexmlresponse | train | js |
6584c8b7849502ba34ee8309481e555c7cb7a76c | diff --git a/src/InfoViz/Native/HistogramSelector/index.js b/src/InfoViz/Native/HistogramSelector/index.js
index <HASH>..<HASH> 100644
--- a/src/InfoViz/Native/HistogramSelector/index.js
+++ b/src/InfoViz/Native/HistogramSelector/index.js
@@ -674,8 +674,7 @@ function histogramSelector(publicAPI, model) {
model.con... | fix(HistogramSelector): Prevent HistogramSelector from editing its container style element | Kitware_paraviewweb | train | js |
293d929dd2e628a11bd14d447ec1eeecba80c9d1 | diff --git a/comments-bundle/src/Resources/contao/Comments.php b/comments-bundle/src/Resources/contao/Comments.php
index <HASH>..<HASH> 100644
--- a/comments-bundle/src/Resources/contao/Comments.php
+++ b/comments-bundle/src/Resources/contao/Comments.php
@@ -94,7 +94,7 @@ class Comments extends Frontend
{
$obj... | [Comments] Various minor issues | contao_contao | train | php |
9f1223bdf5733ea2289b5d87940cfcae69aec8b6 | diff --git a/rundeckapp/grails-app/assets/javascripts/optionEditKO.js b/rundeckapp/grails-app/assets/javascripts/optionEditKO.js
index <HASH>..<HASH> 100644
--- a/rundeckapp/grails-app/assets/javascripts/optionEditKO.js
+++ b/rundeckapp/grails-app/assets/javascripts/optionEditKO.js
@@ -25,9 +25,10 @@ function OptionEdi... | when playing around with option type, original input type and default value type is holded | rundeck_rundeck | train | js |
2dcf71c8bc550d33087a3e76727ada47683d44d2 | diff --git a/src/Factory/MetamorphFactory.php b/src/Factory/MetamorphFactory.php
index <HASH>..<HASH> 100644
--- a/src/Factory/MetamorphFactory.php
+++ b/src/Factory/MetamorphFactory.php
@@ -10,7 +10,7 @@ final class MetamorphFactory
{
public function __invoke(ContainerInterface $container): Metamorph
{
- ... | fix what gets grabbed from the container | MetamorphPHP_metamorph | train | php |
e53b73fcfb6df36c1a40b6a9961e11bfadf6128a | diff --git a/syn/base/b/wrapper.py b/syn/base/b/wrapper.py
index <HASH>..<HASH> 100644
--- a/syn/base/b/wrapper.py
+++ b/syn/base/b/wrapper.py
@@ -65,7 +65,10 @@ class ListWrapper(Base, Harvester):
attrs = super(ListWrapper, self)._istr_attrs(base, pretty, indent)
strs = [istr(val, pretty, indent) for... | Fixing ListWrapper display when there are no list elements | mbodenhamer_syn | train | py |
47b00937694e66f6093e43abc91621db63270e65 | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -86,6 +86,33 @@ func (s *server) handleFuseRequest(fuseReq bazilfuse.Request) {
s.logger.Println("Responding:", fuseResp)
typed.Respond(fuseResp)
+ case *bazilfuse.LookupRequest:
+ // Convert the request.
+ req :... | Added server support for lookup. | jacobsa_fuse | train | go |
b9d7d5228336efaa411c11c431442476d9e3c24e | diff --git a/src/section/SectionBuilder.php b/src/section/SectionBuilder.php
index <HASH>..<HASH> 100644
--- a/src/section/SectionBuilder.php
+++ b/src/section/SectionBuilder.php
@@ -47,7 +47,7 @@ class SectionBuilder extends AbstractBuilder
if (($content instanceof SafeString) === false) {
$conte... | Designate content as safe after nl2br. | AthensFramework_Core | train | php,php |
4aef635965e0c0d129076a4242a0e1e3ae9aed41 | diff --git a/Kwf/Util/Setup.php b/Kwf/Util/Setup.php
index <HASH>..<HASH> 100644
--- a/Kwf/Util/Setup.php
+++ b/Kwf/Util/Setup.php
@@ -86,10 +86,8 @@ class Kwf_Util_Setup
$ret .= "if (!defined('KWF_PATH')) define('KWF_PATH', '".KWF_PATH."');\n";
$ret .= "if (!defined('VENDOR_PATH')) define('VENDOR_PAT... | don't just add zf to include_path, add all libraries from composer include_paths
fixes phpunit autoloading | koala-framework_koala-framework | train | php |
82e020ed3adcf0be840d8bba4af7f059a49e438f | diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py
index <HASH>..<HASH> 100644
--- a/salt/modules/iptables.py
+++ b/salt/modules/iptables.py
@@ -507,6 +507,9 @@ def check(table='filter', chain=None, rule=None, family='ipv4'):
ipt_cmd = _iptables_cmd(family)
if _has_option('--check', family):
+... | check for check then check, not check twice
fixes #<I>; if --check is available, use it rather than use the more
elaborate logic in the check function to workaround older iptables that
don't have --check. | saltstack_salt | train | py |
a0d8432db284eb47b14e66ca83f9820c40e382d2 | diff --git a/lib/grizzly.js b/lib/grizzly.js
index <HASH>..<HASH> 100644
--- a/lib/grizzly.js
+++ b/lib/grizzly.js
@@ -3,7 +3,7 @@
const {promisify} = require('util');
const path = require('path');
-const github = require('@octokit/rest')();
+const Octokit= require('@octokit/rest');
const log = require('debug')('g... | feature(grizzly) octokit | coderaiser_node-grizzly | train | js |
09bfb0df0dbfd317ddc20285c41c5856015d069a | diff --git a/src/expressions/sceneExpression.js b/src/expressions/sceneExpression.js
index <HASH>..<HASH> 100644
--- a/src/expressions/sceneExpression.js
+++ b/src/expressions/sceneExpression.js
@@ -73,12 +73,13 @@ export function evaluateScene(_sceneId, _dynamicState, _context) {
}
}
- ... | Set desc even if scene has no content. | jhorneman_choba-engine | train | js |
f6c852018a98773679df02c5571b4336d6c3249b | diff --git a/ucms_tree/src/Form/TreeEditForm.php b/ucms_tree/src/Form/TreeEditForm.php
index <HASH>..<HASH> 100644
--- a/ucms_tree/src/Form/TreeEditForm.php
+++ b/ucms_tree/src/Form/TreeEditForm.php
@@ -76,6 +76,18 @@ class TreeEditForm extends FormBase
$form['is_creation'] = ['#type' => 'value', '#value' =>... | tree: added support for umenu.role property if configured for | makinacorpus_drupal-ucms | train | php |
6400d8c934e2245915ee7a58e43a85f75028f619 | diff --git a/hpcbench/benchmark/iossd.py b/hpcbench/benchmark/iossd.py
index <HASH>..<HASH> 100644
--- a/hpcbench/benchmark/iossd.py
+++ b/hpcbench/benchmark/iossd.py
@@ -31,6 +31,9 @@ class IOSSDExtractor(MetricsExtractor):
BANDWIDTH_OSX_RE = \
re.compile(r'^\s*\d+\s\w+\s\w+\s\w+\s\d*\.?\d+\s\w+\s[(](\d+... | Fix: Initialize member variable in class the uses it. | BlueBrain_hpcbench | train | py |
91c898018fce2102e3e400f25e9cb4b01e65927b | diff --git a/jira/exceptions.py b/jira/exceptions.py
index <HASH>..<HASH> 100644
--- a/jira/exceptions.py
+++ b/jira/exceptions.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
import os
import tempfile | added unicode literals to exceptions | pycontribs_jira | train | py |
1ddb5e00b7122df7cec134e2e4424f3533159984 | diff --git a/hitch/key.py b/hitch/key.py
index <HASH>..<HASH> 100644
--- a/hitch/key.py
+++ b/hitch/key.py
@@ -215,6 +215,20 @@ def bdd(*keywords):
.shortcut(*keywords).play()
+
+@expected(HitchStoryException)
+def rbdd(*keywords):
+ """
+ Run stories matching keywords.
+ """
+ settings = _pers... | HITCH : Rewrite bdd command. | crdoconnor_strictyaml | train | py |
8d6d73071c0b23e76230aa0879bdfb370588f6b7 | diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -841,9 +841,8 @@ def qsub(func, allargs, authkey=None):
listener = Listener((host, 0), backlog=5, authkey=authkey)
try:
hos... | Used subprocess.call for compatibility with Python 2 | gem_oq-engine | train | py |
1e006407a07d0cf07d8f73ceafa78c515c806020 | diff --git a/src/acdhOeaw/schema/file/File.php b/src/acdhOeaw/schema/file/File.php
index <HASH>..<HASH> 100644
--- a/src/acdhOeaw/schema/file/File.php
+++ b/src/acdhOeaw/schema/file/File.php
@@ -187,7 +187,10 @@ class File extends SchemaObject {
$meta->addLiteral(RC::titleProp(), basename($this->path));
... | File class hardened against mime_content_type() returning a warning | acdh-oeaw_repo-php-util | train | php |
fbd915622b24f9e15e3ce294ef0a088e523b319f | diff --git a/src/commands/sites/sites-create.js b/src/commands/sites/sites-create.js
index <HASH>..<HASH> 100644
--- a/src/commands/sites/sites-create.js
+++ b/src/commands/sites/sites-create.js
@@ -50,7 +50,7 @@ const getSiteNameInput = async (name, user, api) => {
validate: (input) => /^[a-zA-Z\d-]+$/.test(i... | fix: make site suggestion flow consistent (#<I>) | netlify_cli | train | js |
de96916c8f2a071e0177f9e6f5c8f9fd0d5ef37c | diff --git a/ocupy/measures.py b/ocupy/measures.py
index <HASH>..<HASH> 100644
--- a/ocupy/measures.py
+++ b/ocupy/measures.py
@@ -344,7 +344,7 @@ def faster_roc(actuals, controls):
# (add the missing triangle)
if false_pos_rate[-2] == 1:
auc += ((1-true_pos_rate[-3])*.5*(1-false_pos_rate[-3]))
- ... | Return only auc, tpr and fpr for faster_roc | nwilming_ocupy | train | py |
6efe2a50492e92579bfac3748597d03ae527e656 | diff --git a/lib/core/src/server/manager/manager-webpack.config.js b/lib/core/src/server/manager/manager-webpack.config.js
index <HASH>..<HASH> 100644
--- a/lib/core/src/server/manager/manager-webpack.config.js
+++ b/lib/core/src/server/manager/manager-webpack.config.js
@@ -10,7 +10,7 @@ import { version } from '../../... | Update lib/core/src/server/manager/manager-webpack.config.js | storybooks_storybook | train | js |
d5268c090a9a5ff1062d5e9952819ca91f7cd613 | diff --git a/peewee.py b/peewee.py
index <HASH>..<HASH> 100644
--- a/peewee.py
+++ b/peewee.py
@@ -1266,8 +1266,9 @@ class SelectQuery(BaseQuery):
if model not in q:
continue
- if q[model] == ['*']:
- q[model] = model._meta.get_field_names()
+ ... | Smarter replacement of '*' in query | coleifer_peewee | train | py |
72ca0fd1d0b8557102ff8719039b444c8ea0e9e6 | diff --git a/src/js/components/Topology.js b/src/js/components/Topology.js
index <HASH>..<HASH> 100644
--- a/src/js/components/Topology.js
+++ b/src/js/components/Topology.js
@@ -312,7 +312,7 @@ export default class Topology extends Component {
let cp1xDelta =
Math.max(linkOffset, (delta[0] ... | Fixed undefined variable issue in Topology. | grommet_grommet | train | js |
83ced3537c21a19db98df1abc539944c1c5dfaa1 | diff --git a/monascaclient/common/http.py b/monascaclient/common/http.py
index <HASH>..<HASH> 100644
--- a/monascaclient/common/http.py
+++ b/monascaclient/common/http.py
@@ -221,8 +221,8 @@ class HTTPClient(object):
resp = self._make_request(method, url, allow_redirects,
... | Correct reraising of exception
When an exception was caught and rethrown, it should
call 'raise' without any arguments because it shows
the place where an exception occured initially instead
of place where the exception re-raised
Change-Id: Ida<I>fc<I>eebea<I>c3caa0efc8f7f4c9b<I>f2 | openstack_python-monascaclient | train | py |
b9e6beaf95c76e83eeff9312eb1c279f65f378bd | diff --git a/app/helpers/binco/bootstrap_form_builder.rb b/app/helpers/binco/bootstrap_form_builder.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/binco/bootstrap_form_builder.rb
+++ b/app/helpers/binco/bootstrap_form_builder.rb
@@ -34,8 +34,8 @@ module Binco
# Since select2 support multiple choices (checkboxe... | Update collection_select2 html_options | codn_binco | train | rb |
1a864de9724aebbc809d9ccd042c396b88e4d515 | diff --git a/pkg/auth/ldaputil/query_test.go b/pkg/auth/ldaputil/query_test.go
index <HASH>..<HASH> 100644
--- a/pkg/auth/ldaputil/query_test.go
+++ b/pkg/auth/ldaputil/query_test.go
@@ -21,8 +21,8 @@ const (
DefaultQueryAttribute string = "uid"
)
-var DefaultAttributes []string = []string{"dn", "cn", "uid"}... | fix typo and drop = nil drop []string | openshift_origin | train | go,go |
f57b91fdbfb24d52dbf8eb973c516eba663e0611 | diff --git a/src/terminal-utils.js b/src/terminal-utils.js
index <HASH>..<HASH> 100644
--- a/src/terminal-utils.js
+++ b/src/terminal-utils.js
@@ -1,11 +1,19 @@
const readline = require('readline');
+const isCI = !!process.env.CI;
+
const utils = {
clearLine() {
+ if (isCI) {
+ return;
+ }
readli... | skip logging on CI
In a CI env the logging on same line
is not reported correctly in ui | qlik-oss_after-work.js | train | js |
8c955d439f623fdb462e74f44ff3500e19104121 | diff --git a/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php b/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php
index <HASH>..<HASH> 100644
--- a/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php
+++ b/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php
@... | Changed pre-esque font size. | strident_Trident | train | php |
c82b86d7c76c91aae631ce1e0722d4fc8dc23c34 | diff --git a/lib/speakerdeck-scraper.js b/lib/speakerdeck-scraper.js
index <HASH>..<HASH> 100644
--- a/lib/speakerdeck-scraper.js
+++ b/lib/speakerdeck-scraper.js
@@ -25,7 +25,7 @@ function fetchPath(path) {
function getUser(userId, page) {
if(!userId) { throw new Error("User id needed to scrape"); }
- page ... | Ensure page param is a Number | phamann_speakerdeck-scraper | train | js |
baaa339151ee31837b7875396b425410bb039eb1 | diff --git a/lib/component.js b/lib/component.js
index <HASH>..<HASH> 100644
--- a/lib/component.js
+++ b/lib/component.js
@@ -58,7 +58,7 @@
*/
Backbone.React.Component.extend = function () {
var Clazz = arguments[0];
- var ReactComponent = React.createClass(_.extend({}, Backbone.React.Component.prototyp... | getModel method that crawls to the owner and gets the model | magalhas_backbone-react-component | train | js |
4810fc17fb27fb1b63a721ce7f9f731539ea0e39 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -22,8 +22,8 @@ function hash(filepath, bits, format) {
resolve(imageFromBuffer(content));
});
})
- .then(image => hashRaw(getImageData(image), bits))
- .then(hexHash => {
+ .then((image) => hashRaw(getI... | fix(chore): prettier check | pwlmaciejewski_imghash | train | js |
915ea60174cafce7baf376977e3afb910c781fe1 | diff --git a/django_libs/raven_default_settings.py b/django_libs/raven_default_settings.py
index <HASH>..<HASH> 100644
--- a/django_libs/raven_default_settings.py
+++ b/django_libs/raven_default_settings.py
@@ -2,6 +2,7 @@
RAVEN_IGNORABLE_USER_AGENTS = [
r'^.*AhrefsBot.*$',
r'^.*EasouSpider.*$',
+ r'^.*Fa... | Added FacebookBot to ignorable user agents | bitlabstudio_django-libs | train | py |
8196cbf0b6fdb739b331045feb81a404aec9a587 | diff --git a/fish_crawler/fish_crawler/items.py b/fish_crawler/fish_crawler/items.py
index <HASH>..<HASH> 100644
--- a/fish_crawler/fish_crawler/items.py
+++ b/fish_crawler/fish_crawler/items.py
@@ -8,11 +8,13 @@
import scrapy
-class FishCrawlerItem(scrapy.Item):
+class CommonItem(scrapy.Item):
title = scrapy... | Alter fish_crawler module: amend field of CommonItem in the items.py | SylvanasSun_FishFishJump | train | py |
fdf3885693ff194157b76d1f2b2c67601af4c2b7 | diff --git a/LiSE/character.py b/LiSE/character.py
index <HASH>..<HASH> 100644
--- a/LiSE/character.py
+++ b/LiSE/character.py
@@ -126,13 +126,15 @@ class StatSet(object):
def _stat_set(self, k, v):
if hasattr(self, '_on_stat_set'):
+ (branch, tick) = self.engine.time
for fun in ... | more informative way to call the callbacks | LogicalDash_LiSE | train | py |
6aa20f81df05d668db8e6191f59ee5d60cd836c6 | diff --git a/usbiss/spi.py b/usbiss/spi.py
index <HASH>..<HASH> 100644
--- a/usbiss/spi.py
+++ b/usbiss/spi.py
@@ -75,14 +75,18 @@ class SPI(USBISS):
self.sck_divisor = self.iss_spi_divisor(val)
def xfer(self, data):
- """Spidev function for transferring bytes to port
+ """
+ Perfor... | Enforce the rule that first element of received SPIS data is ACK and
discard it if it is 0. | DancingQuanta_pyusbiss | train | py |
f9a3688be185b51dea56d3adeb4abc5bd57400ce | diff --git a/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java b/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java
index <HASH>..<HASH> 100644
--- a/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java
+++ b/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java
@@ -362,6... | The removed the dark overlay of the toolbar on tablets, when the navigation is hidden. | michael-rapp_AndroidPreferenceActivity | train | java |
d29e5269ed80fb75afa4e6e31d44049187de9697 | diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js
index <HASH>..<HASH> 100644
--- a/src/playbacks/hls/hls.js
+++ b/src/playbacks/hls/hls.js
@@ -115,7 +115,7 @@ export default class HLS extends HTML5VideoPlayback {
this._extrapolatedWindowNumSegments = !this.options.playback || typeof (this.options.p... | refactor(hls): change _lasTimeUpdate initial value | clappr_clappr | train | js |
734e95fb86be9194fff173d46130cf717d719dd1 | diff --git a/public_methods.go b/public_methods.go
index <HASH>..<HASH> 100644
--- a/public_methods.go
+++ b/public_methods.go
@@ -17,6 +17,18 @@ func (fig figure) Print() {
}
}
+// returns a colored string
+func (fig figure) ColorString() string {
+ s := ""
+ for _, printRow := range fig.Slicify() {
+ if fig.col... | Add a ColorString method (#<I>)
Example use cases
- Use the colored string and use it in a template | common-nighthawk_go-figure | train | go |
9b45b973e1d6063bae6b595fe7bfeaeb09e3f8c9 | diff --git a/gwpy/timeseries/core.py b/gwpy/timeseries/core.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/core.py
+++ b/gwpy/timeseries/core.py
@@ -1159,15 +1159,17 @@ class TimeSeriesBaseDict(OrderedDict):
# -- find frametype(s)
if frametype is None:
- frametypes = dict()
- ... | TimeSeriesDict.find: use multi-channel find_frametype
most of the time a user wants to find many channels in a single type, so should optimise to search for all in one | gwpy_gwpy | train | py |
ee806a6b30e760f55fe992a2ca2d0fb6bf7e5937 | diff --git a/vendor/shims/chai.js b/vendor/shims/chai.js
index <HASH>..<HASH> 100644
--- a/vendor/shims/chai.js
+++ b/vendor/shims/chai.js
@@ -1,5 +1,9 @@
/* global self, define */
+// Declare `expect` as a global here instead of as a var in individual tests.
+// This avoids jshint warnings re: `Redefinition of 'exp... | shims/chai: Create "expect" global
"ember-cli-mocha" does this as well, and while I don't agree with it we should keep it for legacy reasons for now and eventually deprecate. | ember-cli_ember-cli-chai | train | js |
cf56e433ccec17b7d57898d8a857885244db64e4 | diff --git a/pyani/pyani_graphics.py b/pyani/pyani_graphics.py
index <HASH>..<HASH> 100644
--- a/pyani/pyani_graphics.py
+++ b/pyani/pyani_graphics.py
@@ -235,16 +235,19 @@ def add_mpl_colorbar(dfr, fig, dend, params, orientation='row'):
cblist.append(classdict[name])
cbar = pd.Series(cblist)
- #... | fix colorbar bug introduced in refactor | widdowquinn_pyani | train | py |
63089592edf461aca2fd7c98802c2865bd83ef96 | diff --git a/IPython/html/tests/widgets/widget.js b/IPython/html/tests/widgets/widget.js
index <HASH>..<HASH> 100644
--- a/IPython/html/tests/widgets/widget.js
+++ b/IPython/html/tests/widgets/widget.js
@@ -216,7 +216,7 @@ casper.notebook_test(function () {
' self.msg = [content, buffers]',
'x=... | Convert some test code to python2/3 (add parens for print) | jupyter-widgets_ipywidgets | train | js |
f68cadaf2b43d16d85b55697d39365ccc9534e49 | diff --git a/oauth.go b/oauth.go
index <HASH>..<HASH> 100644
--- a/oauth.go
+++ b/oauth.go
@@ -550,7 +550,7 @@ func (c *Consumer) httpExecute(
req.Header.Set("Content-Length", strconv.Itoa(len(body)))
if c.debug {
- fmt.Printf("Request: %v", req)
+ fmt.Printf("Request: %v\n", req)
}
resp, err := c.HttpClien... | Add a newline to the debugging output for the HTTP request. | mrjones_oauth | train | go |
1e1f8999b9b86dd109a4b39810e3b8727b7f5a93 | diff --git a/extract_toc/extract_toc.py b/extract_toc/extract_toc.py
index <HASH>..<HASH> 100644
--- a/extract_toc/extract_toc.py
+++ b/extract_toc/extract_toc.py
@@ -41,6 +41,8 @@ def extract_toc(content):
toc.extract()
content._content = soup.decode()
content.toc = toc.decode()
+ if ... | remove undesired <html> and <body> tags from bsoup | getpelican_pelican-plugins | train | py |
dd57d6f8705880ba686399440ca295c301b41e30 | diff --git a/lib/chef/knife/xargs.rb b/lib/chef/knife/xargs.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/xargs.rb
+++ b/lib/chef/knife/xargs.rb
@@ -62,6 +62,11 @@ class Chef
:short => '-t',
:description => "Print command to be run on the command line"
+ option :null_separator,
+ :... | Add xargs -0 for null separator, split on space as well as newline | chef_chef | train | rb |
034023730a7dd4b8fb040b11dc2abbf8d4849b71 | diff --git a/src/test/java/co/aurasphere/botmill/fb/test/autoreply/template/AnnotatedTemplatedBehaviourTest.java b/src/test/java/co/aurasphere/botmill/fb/test/autoreply/template/AnnotatedTemplatedBehaviourTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/co/aurasphere/botmill/fb/test/autoreply/template/Annotate... | Fixed test case for Annotated Example | BotMill_fb-botmill | train | java |
078a0dcebd2fac975bc3e35ddc64b9847092b0c4 | diff --git a/multiqc/modules/seqyclean/seqyclean.py b/multiqc/modules/seqyclean/seqyclean.py
index <HASH>..<HASH> 100644
--- a/multiqc/modules/seqyclean/seqyclean.py
+++ b/multiqc/modules/seqyclean/seqyclean.py
@@ -97,8 +97,7 @@ class MultiqcModule(BaseMultiqcModule):
)
self.add_section (
name = 'Seqyclean Re... | modified bar graph ID's to be different | ewels_MultiQC | train | py |
c90e8384955c4e73a94ce2a5976cdff2e4960149 | diff --git a/agent/http.go b/agent/http.go
index <HASH>..<HASH> 100644
--- a/agent/http.go
+++ b/agent/http.go
@@ -892,7 +892,7 @@ func (s *HTTPServer) parseTokenInternal(req *http.Request, token *string) {
value := strings.TrimSpace(strings.Join(parts[1:], " "))
// <Scheme> must be "Bearer"
- if scheme == ... | Case sensitive Authorization header with lower-cased scheme in… (#<I>) | hashicorp_consul | train | go |
3d2142247ab8d036dc178b0c166aeb21e44d41a7 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/OSQLHelper.java b/core/src/main/java/com/orientechnologies/orient/core/sql/OSQLHelper.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/sql/OSQLHelper.java
+++ b/core/src/main/java/com/orientechnologies/orien... | Fixed issue <I>
with the contribution of Konrad | orientechnologies_orientdb | train | java |
94e3bd0ee31ede4f14b37e5e642a55a99b7c3890 | diff --git a/lib/travis/model/repository.rb b/lib/travis/model/repository.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/repository.rb
+++ b/lib/travis/model/repository.rb
@@ -94,7 +94,7 @@ class Repository < ActiveRecord::Base
end
def admin
- @admin ||= Travis::Github::Admin.for_repository(self)
+ ... | Travis::Github was moved to Services | travis-ci_travis-core | train | rb |
d400854644b22f015923df9eb6f708ccacfbea0d | diff --git a/mama_cas/tests/views.py b/mama_cas/tests/views.py
index <HASH>..<HASH> 100644
--- a/mama_cas/tests/views.py
+++ b/mama_cas/tests/views.py
@@ -612,6 +612,21 @@ class ProxyViewTests(TestCase):
self.assertEqual(response.status_code, 405)
+ def test_proxy_view_no_service(self):
+ """
+ ... | Add test for no service provided to /proxy | jbittel_django-mama-cas | train | py |
dbb2322e620f69bf44271e8600e701a389ca1c9a | diff --git a/lang/fr/error.php b/lang/fr/error.php
index <HASH>..<HASH> 100755
--- a/lang/fr/error.php
+++ b/lang/fr/error.php
@@ -25,6 +25,7 @@ $string['modulerequirementsnotmet'] = 'Le module
$string['mustbeteacher'] = 'Vous devez �tre enseignant pour voir cette page';
$string['noinstances'] = 'Il n\'a y aucune in... | Participation report - check for course modules and print an error if there are none. | moodle_moodle | train | php |
d09e8e6f500d0c6b237ec1979d5fa64025fbc152 | diff --git a/plugins/guests/redhat/cap/nfs_client.rb b/plugins/guests/redhat/cap/nfs_client.rb
index <HASH>..<HASH> 100644
--- a/plugins/guests/redhat/cap/nfs_client.rb
+++ b/plugins/guests/redhat/cap/nfs_client.rb
@@ -15,12 +15,12 @@ module VagrantPlugins
protected
- def self.systemd?
- `p... | guests/redhat: Fixed the NFS detection on guest, not host [GH-<I>] | hashicorp_vagrant | train | rb |
6bfeea942dac63d5402ad8af3a802468b2a54af2 | diff --git a/build/debug.js b/build/debug.js
index <HASH>..<HASH> 100644
--- a/build/debug.js
+++ b/build/debug.js
@@ -24,6 +24,7 @@ write(
'\n' +
syscall.predicate
);
+
write(
'./packages/@glimmer/interfaces/lib/vm-opcodes.d.ts',
machine.enumString + '\n\n' + syscall.enumString
@@ -62,6 +63,10 @@ ${c... | Fix bug in opcode generation | glimmerjs_glimmer-vm | train | js |
3fe63d10b9a655d350526de69c98c9d9f9bc9d44 | diff --git a/src/Core/CoreConstants.php b/src/Core/CoreConstants.php
index <HASH>..<HASH> 100644
--- a/src/Core/CoreConstants.php
+++ b/src/Core/CoreConstants.php
@@ -298,7 +298,7 @@ class CoreConstants
* The Request source header value.
* @var string REQUESTSOURCEHEADER
*/
- const USERAGENT = "V3P... | Update user agent to the latest release. | intuit_QuickBooks-V3-PHP-SDK | train | php |
e6d2a8aacdd2cd84174021e7befd4a04e95dd069 | diff --git a/src/main/java/org/acra/dialog/CrashReportDialog.java b/src/main/java/org/acra/dialog/CrashReportDialog.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/acra/dialog/CrashReportDialog.java
+++ b/src/main/java/org/acra/dialog/CrashReportDialog.java
@@ -62,9 +62,9 @@ public class CrashReportDialog exte... | chain listener setup (simplify) | ACRA_acra | train | java |
b4b13c4e843b02c7b0a07600352e7b9491163944 | diff --git a/tests/exec.js b/tests/exec.js
index <HASH>..<HASH> 100644
--- a/tests/exec.js
+++ b/tests/exec.js
@@ -25,6 +25,37 @@ exports['exec with callback, calls query'] = function (test) {
});
};
+exports['exec with callback and options, calls query'] = function (test) {
+ test.expect(4);
+ var q = queryize.se... | Added test case for exec() with options. | Twipped_QueryizeJS | train | js |
8f4fc3d80b16107fa22b36541aa5567abbdfb569 | diff --git a/lib/irt/extensions/method.rb b/lib/irt/extensions/method.rb
index <HASH>..<HASH> 100644
--- a/lib/irt/extensions/method.rb
+++ b/lib/irt/extensions/method.rb
@@ -12,7 +12,7 @@ class Method
end
arr = Array.new(n)
set_trace_func proc{ |event, file, line, meth_name, binding, classname|
- ... | fix "Method#location raises TypeError with ruby <I>" bug | ddnexus_irt | train | rb |
a80622697abb5444a392c9efa7bdaa2880fbe922 | diff --git a/docroot/modules/custom/ymca_google/src/GooglePush.php b/docroot/modules/custom/ymca_google/src/GooglePush.php
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/ymca_google/src/GooglePush.php
+++ b/docroot/modules/custom/ymca_google/src/GooglePush.php
@@ -494,6 +494,7 @@ class GooglePush {
}... | First steps, some todos | ymcatwincities_openy | train | php |
c727626e9b78f5ee796a1474076e985a31fc45e5 | diff --git a/src/TigerApp.php b/src/TigerApp.php
index <HASH>..<HASH> 100644
--- a/src/TigerApp.php
+++ b/src/TigerApp.php
@@ -416,7 +416,7 @@ class TigerApp
break;
case "s3":
$clientConfig = [];
- if(isset($client['BaseUrl'])) {
+ if(isset($c... | Change to using the older adaptor for dreamhost compatability | Thruio_TigerKit | train | php |
d5a11561316d743f5d5875210e00e924b47e585e | diff --git a/src/widgets/star-rating/star-rating.js b/src/widgets/star-rating/star-rating.js
index <HASH>..<HASH> 100644
--- a/src/widgets/star-rating/star-rating.js
+++ b/src/widgets/star-rating/star-rating.js
@@ -29,7 +29,8 @@ starRating({
/**
* Instantiate a list of refinements based on a rating attribute
- * T... | docs(star-rating): ratings must be integers
fixes #<I>
this is a documentation hotfix | algolia_instantsearch.js | train | js |
d759873b329d9041bd601b9f53202e773c4452d7 | diff --git a/test/functional/test_document.rb b/test/functional/test_document.rb
index <HASH>..<HASH> 100644
--- a/test/functional/test_document.rb
+++ b/test/functional/test_document.rb
@@ -61,7 +61,6 @@ class DocumentTest < Test::Unit::TestCase
doc.tags.should == %w(foo bar)
@document.find(doc.id).t... | Fixed failing test with sleep. Annoying. | mongomapper_mongomapper | train | rb |
14951a3f53baf2ba828f00843ba7b4ed09c6df1f | diff --git a/redpipe/structs.py b/redpipe/structs.py
index <HASH>..<HASH> 100644
--- a/redpipe/structs.py
+++ b/redpipe/structs.py
@@ -87,7 +87,8 @@ class Struct(object):
return
for k, v in ref.result.items():
- self._data[k] = v
+ if k != ke... | confirm behavior if Struct primary key field is overlapped somehow with a redis hash member name | 72squared_redpipe | train | py,py |
1f172c5dbb102da965aca3393348bf9a4c0228a9 | diff --git a/src/capture.js b/src/capture.js
index <HASH>..<HASH> 100644
--- a/src/capture.js
+++ b/src/capture.js
@@ -3,7 +3,7 @@
var _ = require('lodash'),
fs = require('fs'),
logger = require('winston'),
- util = require('util'),
+ path = require('path'),
utils = require('./utils'),
SCRI... | Fix path to output file: use platform-specific path separator | vbauer_manet | train | js |
d7dfc63393db8f2770eab2698d885678ba0f77d4 | diff --git a/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/BigtableOptionsFactory.java b/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/BigtableOptionsFactory.java
index <HASH>..<HASH> 100644
--- a/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/BigtableOptionsFactory.java
+++ ... | Removing the check for active connections on shutdown. | googleapis_cloud-bigtable-client | train | java |
60a2d32283b452617e4d164cf0a2b3041241697b | diff --git a/src/frontend/org/voltdb/VoltDB.java b/src/frontend/org/voltdb/VoltDB.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/VoltDB.java
+++ b/src/frontend/org/voltdb/VoltDB.java
@@ -413,6 +413,12 @@ public class VoltDB {
m_startAction = START_ACTION.CREATE;
... | Give a clear error message if pauseless rejoin is requested in the community
edition. | VoltDB_voltdb | train | java |
cb15a12287cc08df5fcedc054f28cadec88af590 | diff --git a/lib/datagrid/helper.rb b/lib/datagrid/helper.rb
index <HASH>..<HASH> 100644
--- a/lib/datagrid/helper.rb
+++ b/lib/datagrid/helper.rb
@@ -30,11 +30,11 @@ module Datagrid
protected
- def datagrid_header(grid, options)
+ def datagrid_header(grid, options = {})
header = empty_string
... | Datagrid::Helper#datagrid_header :order option support | bogdan_datagrid | train | rb |
12bee843713eee7e1600a305faf280569f1d1e43 | diff --git a/sen/tui/init.py b/sen/tui/init.py
index <HASH>..<HASH> 100644
--- a/sen/tui/init.py
+++ b/sen/tui/init.py
@@ -192,8 +192,10 @@ class UI(urwid.MainLoop):
add_subwidget(str(containers_count), "status_text_red")
add_subwidget(", Running: ")
- add_subwidget(str(len(self.d.sorted_... | status: print 0 running containers in gray | TomasTomecek_sen | train | py |
5cb3d07f44d35a904db511c01dcd8fc64dfd64ec | diff --git a/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.php b/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.php
index <HASH>..<HASH> 100644
--- a/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.php
+++ b/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.p... | FIX: Avoid pass-literal-by-reference warning in PHP 8 | silverstripe_silverstripe-framework | train | php |
acd3e1925e3276af6fc9eaf6c9e8c0e071e61444 | diff --git a/graylog2-web-interface/src/domainActions/notifyingAction.js b/graylog2-web-interface/src/domainActions/notifyingAction.js
index <HASH>..<HASH> 100644
--- a/graylog2-web-interface/src/domainActions/notifyingAction.js
+++ b/graylog2-web-interface/src/domainActions/notifyingAction.js
@@ -1,6 +1,7 @@
// @flow... | Display error page when <I> error gets catched with notifyingAction | Graylog2_graylog2-server | train | js |
7763502738c3c08ce075c73c18ee91c7d8fbda9a | diff --git a/spec/hash_spec.rb b/spec/hash_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/hash_spec.rb
+++ b/spec/hash_spec.rb
@@ -5,7 +5,11 @@ describe Hash, '#jsoned_into' do
include Helpers
it "should convert a single parsed json into card" do
- Trello::Card.should_receive(:new).once.with(cards_details.fi... | Migrate spec/hash_spec.rb to `expect` syntax and add a missing assertion (ie: was not testing anything) | jeremytregunna_ruby-trello | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.