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 |
|---|---|---|---|---|---|
3bc707ffca07a277beea3a6cbba7ff53dfabc2f8 | diff --git a/easyprocess/__init__.py b/easyprocess/__init__.py
index <HASH>..<HASH> 100644
--- a/easyprocess/__init__.py
+++ b/easyprocess/__init__.py
@@ -160,7 +160,7 @@ class EasyProcess(object):
ok = ret == return_code
if not ok:
raise EasyProcessError(
- self, 'check er... | Update __init__.py
fix format() field modifier to be backward-compatible with Python<I> (detected by Travis CI) | ponty_EasyProcess | train | py |
e37f830e7b7033a9d08a15694b744acf126dd856 | diff --git a/climlab/__init__.py b/climlab/__init__.py
index <HASH>..<HASH> 100644
--- a/climlab/__init__.py
+++ b/climlab/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.4.1'
+__version__ = '0.4.2dev'
# This list defines all the modules that will be loaded if a user invokes
# from climLab import * | Set version number to <I>dev | brian-rose_climlab | train | py |
9bf995a26154453d4890478767ffb28af2f85657 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -23,8 +23,8 @@ setup(
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
- 'Framework :: Django :: 1.8',
- 'Framework :: Django :: 1... | Adjust setup.py classifiers. | charettes_django-colorful | train | py |
31fa5e889eb9dab28768e3536b13a5a738ffc4af | diff --git a/hack/build-local-images.py b/hack/build-local-images.py
index <HASH>..<HASH> 100755
--- a/hack/build-local-images.py
+++ b/hack/build-local-images.py
@@ -53,6 +53,8 @@ Options:
os_image_prefix = getenv("OS_IMAGE_PREFIX", "openshift/origin")
image_namespace, image_prefix = os_image_prefix.split("/", 2)
... | Remove catalog from build-local-images | openshift_origin | train | py |
4a4e36341384481878bf0710a3a479ee76efd133 | diff --git a/src/Reports/MyReport.php b/src/Reports/MyReport.php
index <HASH>..<HASH> 100644
--- a/src/Reports/MyReport.php
+++ b/src/Reports/MyReport.php
@@ -116,7 +116,7 @@ class MyReport
private function convertToStdClass($stdClass)
{
if(!property_exists($stdClass,'@attributes'))
- retu... | Report result check for no @attributes property. | Edujugon_laravel-google-ads | train | php |
d37b73e7119306edcae6d62efe41ce3a223020d6 | diff --git a/src/Sokil/Mongo/Search.php b/src/Sokil/Mongo/Search.php
index <HASH>..<HASH> 100644
--- a/src/Sokil/Mongo/Search.php
+++ b/src/Sokil/Mongo/Search.php
@@ -140,15 +140,30 @@ class Search implements \Iterator, \Countable
return $this->where('_id', $id);
}
- public function byIdList(arra... | add helper to get list of MongoId objects from array of strings, MongoId's and Document's | sokil_php-mongo | train | php |
fe2cc23fc5322523f9e1b46ac31bcfda0477e6b3 | diff --git a/src/function/init.js b/src/function/init.js
index <HASH>..<HASH> 100644
--- a/src/function/init.js
+++ b/src/function/init.js
@@ -281,6 +281,7 @@ function($, emojione, blankImg, slice, css_class, emojioneSupportMode, invisible
filtersBtns.eq(0).click();
}
lazyLoad... | Trigger search.keypress handler on tone change to properly hide tone category if no matches. | mervick_emojionearea | train | js |
ec0d27d21fb3fc6a4a7c8622843904870c7d9256 | diff --git a/tej/submission.py b/tej/submission.py
index <HASH>..<HASH> 100644
--- a/tej/submission.py
+++ b/tej/submission.py
@@ -290,17 +290,24 @@ class RemoteQueue(object):
def destination_string(self):
return destination_as_string(self.destination)
+ def _ssh_client(self):
+ """Gets an SSH... | Allow SSHClient creation to be overloaded | VisTrails_tej | train | py |
c0f391026c445703f621a98bc1f0ecc29d2b437b | diff --git a/src/CatLab/Mailer/Models/Contact.php b/src/CatLab/Mailer/Models/Contact.php
index <HASH>..<HASH> 100644
--- a/src/CatLab/Mailer/Models/Contact.php
+++ b/src/CatLab/Mailer/Models/Contact.php
@@ -10,17 +10,15 @@ class Contact
{
/**
* @param mixed $email
- * @return mixed
+ * @return self
*/
publ... | Adding "setReplyTo" capabilities. | CatLabInteractive_Mailer | train | php |
4be20ca1a6805d6a7a9b63b60bc687c41fea71ba | diff --git a/lib/puppet/parser/e4_parser_adapter.rb b/lib/puppet/parser/e4_parser_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/parser/e4_parser_adapter.rb
+++ b/lib/puppet/parser/e4_parser_adapter.rb
@@ -19,7 +19,7 @@ class Puppet::Parser::E4ParserAdapter
@file_watcher = file_watcher || NullFileWatcher.... | (PUP-<I>) Change use of :undefined to :unspecified to avoid confusion
The use of this symbol in e4_parser_adapter has nothing to do with
:undef / nil, it is an internal state (what to parser file content
or content of string). | puppetlabs_puppet | train | rb |
5b697cd13d9e2983975d266f41b78d01666fd4fc | diff --git a/go/client/fork_server_windows.go b/go/client/fork_server_windows.go
index <HASH>..<HASH> 100644
--- a/go/client/fork_server_windows.go
+++ b/go/client/fork_server_windows.go
@@ -31,6 +31,11 @@ func spawnServer(g *libkb.GlobalContext, cl libkb.CommandLine, forkType keybase1
devnull, err = os.OpenFile("nul... | client: Pass invalid handles without a working NUL on Windows to StartProcess | keybase_client | train | go |
2c861a27bc15a8aa0d5125f28bc87ec3653b3753 | diff --git a/src/Middleware/AddHttp2ServerPush.php b/src/Middleware/AddHttp2ServerPush.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/AddHttp2ServerPush.php
+++ b/src/Middleware/AddHttp2ServerPush.php
@@ -50,6 +50,7 @@ class AddHttp2ServerPush
return $this->buildLinkHeaderString($url);
... | #<I> deduplicate header links (#<I>) | JacobBennett_laravel-HTTP2ServerPush | train | php |
e9e875766f906e5186887408cc34ec2052fdd13d | diff --git a/js/views/new_group_update_view.js b/js/views/new_group_update_view.js
index <HASH>..<HASH> 100644
--- a/js/views/new_group_update_view.js
+++ b/js/views/new_group_update_view.js
@@ -31,6 +31,13 @@
this.recipients_view = new Whisper.RecipientsInputView({
placeholder: "Add membe... | Group update recipient typeahead excludes exisiting members
Fixes #<I>
// FREEBIE | ForstaLabs_librelay-node | train | js |
0919af028c6719024285081e9f2855dec26b0c28 | diff --git a/src/ComboAsset.php b/src/ComboAsset.php
index <HASH>..<HASH> 100644
--- a/src/ComboAsset.php
+++ b/src/ComboAsset.php
@@ -16,14 +16,14 @@ namespace hiqdev\combo;
*/
class ComboAsset extends \yii\web\AssetBundle
{
- public $sourcePath = '@vendor/hiqdev/yii2-combo/src';
+ public $sourcePath = '@ven... | Changed sourcePath in ComboAsset | hiqdev_yii2-combo | train | php |
9ed7531ac2c8b35858e873da2fbcaafc36c61866 | diff --git a/api/src/main/java/net/automatalib/automata/transout/TransitionOutputAutomaton.java b/api/src/main/java/net/automatalib/automata/transout/TransitionOutputAutomaton.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/net/automatalib/automata/transout/TransitionOutputAutomaton.java
+++ b/api/src/main/jav... | revert parts of <I>b8
Throwing an exception when not being able to trace the whole input sequence
limits the generality of this method, as it imposes a "letter-transducer"
semenatic upon implementing classes. Hence, simply call "trace" as before. | LearnLib_automatalib | train | java |
e7ca9b6e2273d625db3a89856f4a377f8ee1d816 | diff --git a/lib/furnace/ssa/instructions/phi.rb b/lib/furnace/ssa/instructions/phi.rb
index <HASH>..<HASH> 100644
--- a/lib/furnace/ssa/instructions/phi.rb
+++ b/lib/furnace/ssa/instructions/phi.rb
@@ -30,12 +30,10 @@ module Furnace
protected
def awesome_print_operands(p)
- @operands.each_with_index d... | Make PhiInsn use AwesomePrinter#collection. | whitequark_furnace | train | rb |
27d827aba66f17ac0057796dbba15c9088829d7f | diff --git a/src/printer.js b/src/printer.js
index <HASH>..<HASH> 100644
--- a/src/printer.js
+++ b/src/printer.js
@@ -541,7 +541,7 @@ function genericPrintNoParens(path, options, print, args) {
return printStatementSequence(bodyPath, options, print);
}, "body");
- const hasContent = getFirstStri... | Remove hasContent (#<I>)
A content is a node that isn't an empty statement. | josephfrazier_prettier_d | train | js |
7b1ec57da00a63621181a7ce7d82ceab973b13d1 | diff --git a/lib/file-stream.js b/lib/file-stream.js
index <HASH>..<HASH> 100644
--- a/lib/file-stream.js
+++ b/lib/file-stream.js
@@ -66,11 +66,8 @@ FileStream.prototype.notify = function () {
self._notifying = true
var p = self._piece
- debug('before read %s', p)
self._storage.read(self._piece++, function... | Fix PR: fix buffer is not defined error | webtorrent_webtorrent | train | js |
6ee0ab2bf1de4956c6666ef6cd6f7c8db55c4a35 | diff --git a/tests/integration/test.changes.js b/tests/integration/test.changes.js
index <HASH>..<HASH> 100644
--- a/tests/integration/test.changes.js
+++ b/tests/integration/test.changes.js
@@ -2252,7 +2252,12 @@ adapters.forEach(function (adapter) {
since: 'now',
complete: function (err, res... | (#<I>) - Fix "calling db.changes{since:.." against CouchDB <I>
CouchDB <I> sequence numbers are an encoded representation of the different
shard states so cannot be easily compared. | pouchdb_pouchdb | train | js |
ce6b927e4c1ff7cbb893f3b7042aacb07bb12291 | diff --git a/src/Http/Client.php b/src/Http/Client.php
index <HASH>..<HASH> 100644
--- a/src/Http/Client.php
+++ b/src/Http/Client.php
@@ -43,8 +43,13 @@ class Client extends GuzzleClient {
// Provide a default User-Agent.
$handler->push(Middleware::mapRequest(function (RequestInterface $request) {
- $... | Catch credential exception and set default User-Agent. | drutiny_drutiny | train | php |
640afe94f3ce68c0d02821ce39613983a8db76c9 | diff --git a/spec/mdspell/text_line_spec.rb b/spec/mdspell/text_line_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mdspell/text_line_spec.rb
+++ b/spec/mdspell/text_line_spec.rb
@@ -92,7 +92,9 @@ describe MdSpell::TextLine do
end
context '::scan' do
- let(:complete_md) { Kramdown::Document.new(File.read('sp... | Fixed line length in text_line_spec.rb. | mtuchowski_mdspell | train | rb |
98f5d65e16cebd333bd6911a8417ee2d67b899bd | diff --git a/ccmlib/cluster.py b/ccmlib/cluster.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cluster.py
+++ b/ccmlib/cluster.py
@@ -235,9 +235,10 @@ class Cluster():
# 0.7 gossip messages seems less predictible that from 0.8 onwards and
# I don't care enough
for node, mark in marks... | Fix from_mark arg error in Cluster.start method
We should use mark value related to other_node insead of
the node we are comparing with. | riptano_ccm | train | py |
7cce75b2d48639044b842f63e057df19644a8e26 | diff --git a/src/grid/ServerGridView.php b/src/grid/ServerGridView.php
index <HASH>..<HASH> 100644
--- a/src/grid/ServerGridView.php
+++ b/src/grid/ServerGridView.php
@@ -42,14 +42,12 @@ class ServerGridView extends \hipanel\grid\BoxedGridView
{
if (Yii::$app->user->can('manage')) {
if ($mode... | changed Tariff column in server grid to be plain link to tariff | hiqdev_hipanel-module-server | train | php |
505b9047ba2e12ebd970ebcd031fc263be12472f | diff --git a/src/main/java/io/github/swagger2markup/Swagger2MarkupConverter.java b/src/main/java/io/github/swagger2markup/Swagger2MarkupConverter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/swagger2markup/Swagger2MarkupConverter.java
+++ b/src/main/java/io/github/swagger2markup/Swagger2MarkupConverte... | Updated javadoc of toPath | Swagger2Markup_swagger2markup | train | java |
941a1958e68f0c4aa02c2d4ac45f3bfc69843d0a | diff --git a/src/Utility/Security.php b/src/Utility/Security.php
index <HASH>..<HASH> 100644
--- a/src/Utility/Security.php
+++ b/src/Utility/Security.php
@@ -71,6 +71,7 @@ class Security {
* value to $string (Security.salt). If you are using blowfish the salt
* must be false or a previously generated salt.... | deprecating Security::hash | cakephp_cakephp | train | php |
569f1c80258154c2011fc139fe1cef8a83db3175 | diff --git a/lib/appengine/exec.rb b/lib/appengine/exec.rb
index <HASH>..<HASH> 100644
--- a/lib/appengine/exec.rb
+++ b/lib/appengine/exec.rb
@@ -355,7 +355,7 @@ module AppEngine
def build_config command, image, env_variables, cloud_sql_instances
args = ["-i", image]
env_variables.each do |k, v|
- ... | Escape $ symbols in environment config (#<I>)
Thanks! | GoogleCloudPlatform_appengine-ruby | train | rb |
b26f601834d76a5c9c2c7dc5607e9002c2982c75 | diff --git a/src/Entity/Address.php b/src/Entity/Address.php
index <HASH>..<HASH> 100644
--- a/src/Entity/Address.php
+++ b/src/Entity/Address.php
@@ -16,7 +16,7 @@ class Address extends ArraySerializeable
protected $companyName;
protected $zip;
protected $phone;
- protected $alias;
+ protected $ad... | Change address 'alias' to 'addressAlias' | expressly_php-common | train | php |
7bfbc81a3d2ef5e5a46168098ea687aef219961d | diff --git a/torchvision/models/densenet.py b/torchvision/models/densenet.py
index <HASH>..<HASH> 100644
--- a/torchvision/models/densenet.py
+++ b/torchvision/models/densenet.py
@@ -92,7 +92,6 @@ class _DenseLayer(nn.Module):
class _DenseBlock(nn.ModuleDict):
_version = 2
- __constants__ = ['layers']
... | Remove constants from DenseBlock (#<I>) | pytorch_vision | train | py |
e6078be52e550402ee8250941f86ea8b88b03a35 | diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php
index <HASH>..<HASH> 100755
--- a/code/model/SiteTree.php
+++ b/code/model/SiteTree.php
@@ -1531,7 +1531,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
$fieldsIgnoredByVersioning = array('HasBrokenLink', 'Status', '... | Update SiteTree.php
Minor type fix | silverstripe_silverstripe-cms | train | php |
3aac695039ce2d35fb447e1c1d3ff9769f593c82 | diff --git a/src/streamlink/plugins/connectcast.py b/src/streamlink/plugins/connectcast.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/plugins/connectcast.py
+++ b/src/streamlink/plugins/connectcast.py
@@ -18,7 +18,7 @@ class ConnectCast(Plugin):
url_match = _url_re.match(self.url)
stream_url = _... | plugins.connectcast: fix regex issue with python 3 (#<I>) | streamlink_streamlink | train | py |
12c656353ffd36e1a418d7854b8478d2ed79351d | diff --git a/lib/ridgepole/dumper.rb b/lib/ridgepole/dumper.rb
index <HASH>..<HASH> 100644
--- a/lib/ridgepole/dumper.rb
+++ b/lib/ridgepole/dumper.rb
@@ -1,6 +1,7 @@
class Ridgepole::Dumper
def initialize(options = {})
@options = options
+ @logger = Ridgepole::Logger.instance
end
def dump
@@ -29,6 ... | Show warning when ActiveRecord could not dump table. | winebarrel_ridgepole | train | rb |
dcd9c69aa8e7532355b7b8ccfd9fa2c454bfe236 | diff --git a/hugolib/pageSort.go b/hugolib/pageSort.go
index <HASH>..<HASH> 100644
--- a/hugolib/pageSort.go
+++ b/hugolib/pageSort.go
@@ -43,6 +43,9 @@ func (by PageBy) Sort(pages Pages) {
var DefaultPageSort = func(p1, p2 *Page) bool {
if p1.Weight == p2.Weight {
if p1.Date.Unix() == p2.Date.Unix() {
+ if p1.... | Use filepath as the last default sort key for pages | gohugoio_hugo | train | go |
928e6a2779ba8fb77ccb998f141614e878eb0bea | diff --git a/atomic_reactor/inner.py b/atomic_reactor/inner.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/inner.py
+++ b/atomic_reactor/inner.py
@@ -326,8 +326,11 @@ class DockerBuildWorkflow(object):
self.build_failed = build_result.is_failed()
- if not build_result.is_failed():
- ... | Abort build after docker build failure (fixes #<I>) | projectatomic_atomic-reactor | train | py,py |
251a1c3da8462eeb61df132594469491ffd83a7d | diff --git a/web/static/js/controllers/DeployWizard.js b/web/static/js/controllers/DeployWizard.js
index <HASH>..<HASH> 100644
--- a/web/static/js/controllers/DeployWizard.js
+++ b/web/static/js/controllers/DeployWizard.js
@@ -98,6 +98,14 @@ function DeployWizard($scope, $notification, $translate, resourcesService) {
... | Fixes CC-<I>
Only allow one template deployment at a time | control-center_serviced | train | js |
854fbd7f68ce57b60c84340201ee704c707b5c34 | diff --git a/src/Symfony/Component/HttpFoundation/File/File.php b/src/Symfony/Component/HttpFoundation/File/File.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/File/File.php
+++ b/src/Symfony/Component/HttpFoundation/File/File.php
@@ -460,7 +460,7 @@ class File
throw new FileNot... | [HttpFoundation] use realpath to ensure that there is no .. in file path (to match phpdoc) | symfony_symfony | train | php |
9b9d3731b2ee30ad771177aa3333fb26688c3938 | diff --git a/src/rasterstats/main.py b/src/rasterstats/main.py
index <HASH>..<HASH> 100644
--- a/src/rasterstats/main.py
+++ b/src/rasterstats/main.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
+from distutils.version import LooseVersion
from aff... | Updated method calls for numpy <I> | perrygeo_python-rasterstats | train | py |
9d57887416b121b2eff7fa468ee081891cbaaba1 | diff --git a/src/Providers/FeatureLayer.js b/src/Providers/FeatureLayer.js
index <HASH>..<HASH> 100644
--- a/src/Providers/FeatureLayer.js
+++ b/src/Providers/FeatureLayer.js
@@ -95,7 +95,11 @@ export var FeatureLayerProvider = FeatureLayerService.extend({
queryString.push(field + " LIKE upper('%" + text + "%')"... | expose option to filter which features are searched (#<I>) | Esri_esri-leaflet-geocoder | train | js |
e9f569d3907dba3245d28d4eb7ac70754acf00f1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -70,11 +70,11 @@ function buildControlFile (definition, callback) {
self.controlFile = {
Package: definition.info.name || definition.package.name,
Version: definition.package.version + '-' + (definition.info.rev |... | fix empty list on package remove, reported size | grunjol_nobin-debian-installer | train | js |
c8685daee3f53ea0889ec697ff61c20996904381 | diff --git a/lib/ansiblelint/__main__.py b/lib/ansiblelint/__main__.py
index <HASH>..<HASH> 100755
--- a/lib/ansiblelint/__main__.py
+++ b/lib/ansiblelint/__main__.py
@@ -41,7 +41,7 @@ def load_config(config_file):
if os.path.exists(config_path):
with open(config_path, "r") as stream:
try:
- ... | Use yaml.safe_load rather than yaml.load | ansible_ansible-lint | train | py |
6356ab83c2b8294a2d9fefb9090751af949008aa | diff --git a/lib/foreman_discovery/engine.rb b/lib/foreman_discovery/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/foreman_discovery/engine.rb
+++ b/lib/foreman_discovery/engine.rb
@@ -8,7 +8,7 @@ module ForemanDiscovery
# Load this before the Foreman config initizializers, so that the Setting.descendants
#... | Ensure setting table exists before trying to load the setting model | theforeman_foreman_discovery | train | rb |
384ea17616519495615c3a20906a45e7d35978e5 | diff --git a/lib/nodeserver/server.js b/lib/nodeserver/server.js
index <HASH>..<HASH> 100644
--- a/lib/nodeserver/server.js
+++ b/lib/nodeserver/server.js
@@ -44,6 +44,9 @@ function createServlet(Class) {
function HttpServer(handlers) {
this.handlers = handlers;
this.server = http.createServer(this.handleRequest... | feat(docular.server): log errors to sys
Causes errors to be reported (using sys.puts) when the node http server encounters them.
Closes #<I> | Vertafore_docular | train | js |
96b15a6eb7fa29fa39980488a835a3b1a34cd0c4 | diff --git a/upload/admin/model/extension/payment/pp_express.php b/upload/admin/model/extension/payment/pp_express.php
index <HASH>..<HASH> 100644
--- a/upload/admin/model/extension/payment/pp_express.php
+++ b/upload/admin/model/extension/payment/pp_express.php
@@ -54,6 +54,7 @@ class ModelExtensionPaymentPPExpress ex... | Default PP Express currency during module install to USD | opencart_opencart | train | php |
b1537f6e94fe41e7de4a121600952a9b67b0be37 | diff --git a/src/field.php b/src/field.php
index <HASH>..<HASH> 100644
--- a/src/field.php
+++ b/src/field.php
@@ -391,17 +391,15 @@ class Field {
* @access protected
*/
protected function set_attributes( array $args ) {
+ if ( ! ( $vars = \get_object_vars( $this ) ) ) {
+ return;
+ }
+
unset( $args['met... | minor enhancement to set_attributes method | GrottoPress_form-field | train | php |
379735723dfa3dc0a66c3781b197e07deae26f55 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -105,9 +105,9 @@ PacketStream.prototype._maybedone = function (err) {
return // not yet
// close
+ this.read(null, err || true)
this._closed = true
this._closecbs.forEach(function (cb) { cb(err) })
- this.rea... | when closing, update read() before doing close() | ssbc_packet-stream | train | js |
a71df57309ff583889cb73207c219a59a0f20208 | diff --git a/client/js/app/stores/ExplorerStore.js b/client/js/app/stores/ExplorerStore.js
index <HASH>..<HASH> 100644
--- a/client/js/app/stores/ExplorerStore.js
+++ b/client/js/app/stores/ExplorerStore.js
@@ -38,7 +38,11 @@ function _defaultAttrs(){
email: null,
latest: null,
filters: [],
- ... | Default timeframe's for all queries now. | keen_explorer | train | js |
d7f6c25f08c51bd7523c480f0bb06392def9f7fe | diff --git a/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java b/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java
index <HASH>..<HASH> 100755
--- a/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java
+++ b/common-core-open/src/main/java/com/bbn/bue/common/fi... | Added listFileNonNull to FileUtils | BBN-E_bue-common-open | train | java |
b98c3d102006f2848716301bce293ba0b692ccc2 | diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js
index <HASH>..<HASH> 100644
--- a/js/bootstrap-select.js
+++ b/js/bootstrap-select.js
@@ -2297,11 +2297,7 @@
this.setStyle();
this.setWidth();
- if (this.$newElement.hasClass('open')) {
- this.setSize(true);
- } else {
- ... | always call setSize on refresh (otherwise there could be issues if calling refresh when listening for show.bs.select) | snapappointments_bootstrap-select | train | js |
96719c862193c13ee01fb685e96c164b7459d4b2 | diff --git a/Tone/core/Clock.js b/Tone/core/Clock.js
index <HASH>..<HASH> 100644
--- a/Tone/core/Clock.js
+++ b/Tone/core/Clock.js
@@ -195,7 +195,7 @@ define(["Tone/core/Tone", "Tone/signal/TickSignal", "Tone/core/TimelineState",
this.ticks++;
} catch(e){
this.ticks++;
- throw new Error(e);... | Clock forwards the caught error
makes the source of the crash easier to find | Tonejs_Tone.js | train | js |
81fcf532816cdbaa95070ad355e9f1e7ac76c08a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import sys, os
-version = '0.2.0'
+version = '0.3.0'
description = "CKAN extension for creating/distributing budget data packages"
with open('README.rst') as rea... | Minor version <I>
* Update same dataset in OpenSpending when adding resource to CKAN | openspending_ckanext-budgets | train | py |
dac20b05800ec2a8eb66f5303671885fc6b2166f | diff --git a/packages/babel-preset-cozy-app/index.js b/packages/babel-preset-cozy-app/index.js
index <HASH>..<HASH> 100644
--- a/packages/babel-preset-cozy-app/index.js
+++ b/packages/babel-preset-cozy-app/index.js
@@ -59,16 +59,16 @@ module.exports = declare((api, options, dirname) => {
const plugins = [
// tr... | :wrench: fix: add babel transform spread for node | CPatchane_create-cozy-app | train | js |
b68e37f4c39b1abadac59ddc62062a40e8649213 | diff --git a/commands/cli/parse_test.go b/commands/cli/parse_test.go
index <HASH>..<HASH> 100644
--- a/commands/cli/parse_test.go
+++ b/commands/cli/parse_test.go
@@ -4,6 +4,7 @@ import (
"io"
"io/ioutil"
"os"
+ "path/filepath"
"runtime"
"strings"
"testing"
@@ -287,6 +288,15 @@ func TestArgumentParsing(t *t... | Resolve symlinks of testfiles
License: MIT | ipfs_go-ipfs | train | go |
06b34a07307e2ba8f34784ba3230371b8673e895 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -68,8 +68,9 @@ test('hashes', async t => {
const files = await getNpmFiles(fixture('hashes'))
const hashes = await hash(files)
t.is(hashes.size, 3)
- t.is(hashes.get('277c55a2042910b9fe706ad00859e... | fix non-determinism in tests | zeit_now-cli | train | js |
a4b01e9581bae445b5a2357c07464775eb9f6a17 | diff --git a/openhtf/__init__.py b/openhtf/__init__.py
index <HASH>..<HASH> 100644
--- a/openhtf/__init__.py
+++ b/openhtf/__init__.py
@@ -37,6 +37,7 @@ from openhtf import util
from openhtf.exe import triggers
from openhtf.io import http_api
from openhtf.io import test_record
+from openhtf.util import functions
fr... | Make SetupFramework only get called once
This limits flag parsing and logger setup to only happen on the first call to it or to Execute() | google_openhtf | train | py |
8b96ca8b6d90d0a03729a9275561fbaa2b0c2c27 | diff --git a/ui/Component.js b/ui/Component.js
index <HASH>..<HASH> 100644
--- a/ui/Component.js
+++ b/ui/Component.js
@@ -104,7 +104,7 @@ class Component extends DOMElement.Delegator {
@param {Object} props Properties against which this class must
be rendered the first time.
... | Allow to provide initial element for Component. | substance_substance | train | js |
3d6df44bb6b7afe0c196eaa9528adc84fc79341c | diff --git a/crispy/version.py b/crispy/version.py
index <HASH>..<HASH> 100644
--- a/crispy/version.py
+++ b/crispy/version.py
@@ -65,8 +65,8 @@ RELEASE_LEVEL_VALUE = {'dev': 0,
MAJOR = 0
MINOR = 7
-MICRO = 2
-RELEV = 'final' # <16
+MICRO = 3
+RELEV = 'dev' # <16
SERIAL = 0 # <16
date = __date__ | Update version number to <I>-dev | mretegan_crispy | train | py |
bb04b195a69d68685a253ee3ba314ba4e16e6ab3 | diff --git a/src/examples/table-props/table-props.js b/src/examples/table-props/table-props.js
index <HASH>..<HASH> 100644
--- a/src/examples/table-props/table-props.js
+++ b/src/examples/table-props/table-props.js
@@ -64,6 +64,12 @@ const props = {
desc: 'This is the `Icon` element to be displayed as icon of the '... | [doc] add documentation for prop isInitiallyOpen | smollweide_react-speed-dial | train | js |
aba5b8b4b3f720d11ae2dcbc83a2beaaee5d173a | diff --git a/torchtext/vocab.py b/torchtext/vocab.py
index <HASH>..<HASH> 100644
--- a/torchtext/vocab.py
+++ b/torchtext/vocab.py
@@ -78,6 +78,7 @@ class Vocab(object):
self.itos.append(word)
self.stoi[word] = len(self.itos) - 1
+ self.vectors = None
if vectors is not None:
... | Initialize vectors member to be None in vocab | pytorch_text | train | py |
4b7706f88ab98e7f6d92b09a89b69ff6080a6ed6 | diff --git a/src/styles/theme-manager.js b/src/styles/theme-manager.js
index <HASH>..<HASH> 100644
--- a/src/styles/theme-manager.js
+++ b/src/styles/theme-manager.js
@@ -1,7 +1,7 @@
const Colors = require('./colors');
const ColorManipulator = require('../utils/color-manipulator');
const Extend = require('../utils/e... | [theme-manager] fix react addons
`.addons` is not defined when importing only `react`. | mui-org_material-ui | train | js |
5c41eccfd548c9cf4621be4f1cb6d524473a41e4 | diff --git a/builder/amazon/chroot/communicator.go b/builder/amazon/chroot/communicator.go
index <HASH>..<HASH> 100644
--- a/builder/amazon/chroot/communicator.go
+++ b/builder/amazon/chroot/communicator.go
@@ -21,7 +21,7 @@ type Communicator struct {
func (c *Communicator) Start(cmd *packer.RemoteCmd) error {
com... | Fix the way we run commands in chroot.
* Single quotes around chroot command cause it to fail.
* The chroot command also gets passed through the CommandWrapper template, so having sudo would clash with however the user wants to run it.
* Fix spelling mistake. | hashicorp_packer | train | go |
b1a4d517138e4645f1bcb3dbe94c5956b4d11c76 | diff --git a/spec/lib/reveal-ck/presentation_spec.rb b/spec/lib/reveal-ck/presentation_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/reveal-ck/presentation_spec.rb
+++ b/spec/lib/reveal-ck/presentation_spec.rb
@@ -59,5 +59,21 @@ module RevealCK
end
end
+ describe '.load' do
+ it 'can work wit... | [presentation] Added specs because forgot how .load works. | jedcn_reveal-ck | train | rb |
1775dea43f862aa991d5713a3b2279f64ecf587e | diff --git a/test/server.js b/test/server.js
index <HASH>..<HASH> 100644
--- a/test/server.js
+++ b/test/server.js
@@ -1,6 +1,6 @@
import { expect } from 'chai';
-import uwave, { Uwave } from '../';
+import uwave, { Uwave } from '../src';
import testConfig from './test-server-config.json';
describe('üWave Core',... | test: Run using src/ files everywhere (#<I>) | u-wave_core | train | js,js |
e125afe55eb806633a9bd6cfb588eb34f4227198 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ setup(
url='https://github.com/yunify/qingstor-sdk-python',
author_email='sdk_group@yunify.com',
scripts=[],
- packages=find_packages('.'),
+ packages=find_packages('.', exclude=["*.tests", ... | setuptools: Ignore test files in packages | yunify_qingstor-sdk-python | train | py |
32dbbb7b31d11099e7bd8c919ff0b3aa62baf4bf | diff --git a/ontrack-model/src/main/java/net/nemerosa/ontrack/model/view/BranchStatusView.java b/ontrack-model/src/main/java/net/nemerosa/ontrack/model/view/BranchStatusView.java
index <HASH>..<HASH> 100644
--- a/ontrack-model/src/main/java/net/nemerosa/ontrack/model/view/BranchStatusView.java
+++ b/ontrack-model/src/m... | Branch status view: removed the optional class | nemerosa_ontrack | train | java |
2edbca82cef93b812408d4ddfbd87090d9967275 | diff --git a/examples/basic-fields/basic-string-input-field.php b/examples/basic-fields/basic-string-input-field.php
index <HASH>..<HASH> 100644
--- a/examples/basic-fields/basic-string-input-field.php
+++ b/examples/basic-fields/basic-string-input-field.php
@@ -11,7 +11,6 @@ $objForm->addField("name", "Enter your name... | Update basic-string-input-field.php
[skip ci] | validformbuilder_validformbuilder | train | php |
1bb1e5beb730d75e4f7dba79cdba534839cc4733 | diff --git a/rating/rate_ajax.php b/rating/rate_ajax.php
index <HASH>..<HASH> 100644
--- a/rating/rate_ajax.php
+++ b/rating/rate_ajax.php
@@ -25,6 +25,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+define('AJAX_SCRIPT', true);
+
require_once('../config.php');
require_once('lib.p... | rating MDL-<I> marking rate_ajax.php as being an ajax so the response should hopefully always be in json | moodle_moodle | train | php |
7e0def4632e56239efae9eeadc8f276a6b81ef23 | diff --git a/internal/service/sns/consts.go b/internal/service/sns/consts.go
index <HASH>..<HASH> 100644
--- a/internal/service/sns/consts.go
+++ b/internal/service/sns/consts.go
@@ -70,8 +70,3 @@ const (
TopicAttributeNameSQSSuccessFeedbackSampleRate = "SQSSuccessFeedbackSampleRate"
TopicAttributeNameTopic... | sns/topic: Remove unused consts | terraform-providers_terraform-provider-aws | train | go |
00091ae325b1962107fcbecd332f93f06ea92b16 | diff --git a/arcana/utils/interfaces.py b/arcana/utils/interfaces.py
index <HASH>..<HASH> 100644
--- a/arcana/utils/interfaces.py
+++ b/arcana/utils/interfaces.py
@@ -416,8 +416,14 @@ class CopyToDir(BaseInterface):
# Create filenames that will sort ascendingly with the order the
# file is inp... | added fix to copytodir when file extensions are None | MonashBI_arcana | train | py |
b09db78b5d0ccf42d7091e169d8b7a22ccc6f0f5 | diff --git a/jellyfish/_jellyfish.py b/jellyfish/_jellyfish.py
index <HASH>..<HASH> 100644
--- a/jellyfish/_jellyfish.py
+++ b/jellyfish/_jellyfish.py
@@ -220,11 +220,11 @@ def hamming_distance(s1, s2):
def nysiis(s):
- _check_type(s)
-
if not s:
return ''
+ _check_type(s)
+
s = s.upper(... | NoneType has to be checked first
This needs a test | jamesturk_jellyfish | train | py |
e72f679e4916174a0f98a6e8cac43bb986270891 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ setuptools.setup(
name="kconfiglib",
# MAJOR.MINOR.PATCH, per http://semver.org
version="10.39.0",
- description="A flexible Python Kconfig parser",
+ description="A flexible Python Kconfig im... | Say 'implementation' instead of 'parser' in description
Does more than just parsing. | ulfalizer_Kconfiglib | train | py |
3b0c1015231b1b1d3f7b41125412cac523ab258a | diff --git a/src/DataService/DataService.php b/src/DataService/DataService.php
index <HASH>..<HASH> 100644
--- a/src/DataService/DataService.php
+++ b/src/DataService/DataService.php
@@ -966,7 +966,7 @@ class DataService
* @param int $maxResults Page size
* @return array Returns an array of entities fulfill... | Update DataService Query() for includes
Allow for optional includes like invoiceLink in DataService queries. | intuit_QuickBooks-V3-PHP-SDK | train | php |
394af9e1e0e851467b8d513d6c8efc70b79c2928 | diff --git a/src/main/java/ch/ralscha/extdirectspring/util/ParameterInfo.java b/src/main/java/ch/ralscha/extdirectspring/util/ParameterInfo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/ch/ralscha/extdirectspring/util/ParameterInfo.java
+++ b/src/main/java/ch/ralscha/extdirectspring/util/ParameterInfo.java
@@ -7... | Resolves #<I>
Support @AliasFor on the Spring annotations | ralscha_extdirectspring | train | java |
8a8cf15d8bc95615161249de3658b4c2823b5e36 | diff --git a/salt/states/selinux.py b/salt/states/selinux.py
index <HASH>..<HASH> 100644
--- a/salt/states/selinux.py
+++ b/salt/states/selinux.py
@@ -296,7 +296,7 @@ def fcontext_policy_present(name, sel_type, filetype='a', sel_user=None, sel_lev
ret.update({'comment': 'Error adding new rule: {0}'.for... | states/selinux.py: Only return changes when they were succesfully applied | saltstack_salt | train | py |
efd88c32e894e325c72c6025c595521d3c87b1cf | diff --git a/modules/adkernelBidAdapter.js b/modules/adkernelBidAdapter.js
index <HASH>..<HASH> 100644
--- a/modules/adkernelBidAdapter.js
+++ b/modules/adkernelBidAdapter.js
@@ -78,7 +78,8 @@ export const spec = {
{code: 'catapultx'},
{code: 'ergadx'},
{code: 'turktelekom'},
- {code: 'felixads'}
+ ... | Adkernel Bid Adapter: add motionspots alias (#<I>) | prebid_Prebid.js | train | js |
a82539492e4289756ba912ced8a6d33b1757f604 | diff --git a/proso/django/cache.py b/proso/django/cache.py
index <HASH>..<HASH> 100644
--- a/proso/django/cache.py
+++ b/proso/django/cache.py
@@ -1,6 +1,7 @@
from django.core.cache.backends.locmem import LocMemCache
from django.views.decorators.cache import cache_page
from functools import wraps
+from proso.django.... | increase max number of entries in request cache | adaptive-learning_proso-apps | train | py |
a8adf3b16b9b40f71fa50cc056cf39550d08e885 | diff --git a/docs/src/layouts/doc-layout/use-search.js b/docs/src/layouts/doc-layout/use-search.js
index <HASH>..<HASH> 100644
--- a/docs/src/layouts/doc-layout/use-search.js
+++ b/docs/src/layouts/doc-layout/use-search.js
@@ -76,12 +76,9 @@ export default function useSearch (scope, $q, $route) {
* @param {Nu... | feat(docs): small tweaks to the client-side search | quasarframework_quasar | train | js |
3eb9ebe6ce1641a02356393b31320ff924f0fa37 | diff --git a/src/main/java/org/cp/elements/util/sort/annotation/Sortable.java b/src/main/java/org/cp/elements/util/sort/annotation/Sortable.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cp/elements/util/sort/annotation/Sortable.java
+++ b/src/main/java/org/cp/elements/util/sort/annotation/Sortable.java
@@ -6... | Changed the return type on the orderBy attribute of the @Sortable annotation to Class<? extends Comparator>. | codeprimate-software_cp-elements | train | java |
bccfb0db46d3cf5949034ea0f686bdf5438b6fbd | diff --git a/digsandpaper/main.py b/digsandpaper/main.py
index <HASH>..<HASH> 100644
--- a/digsandpaper/main.py
+++ b/digsandpaper/main.py
@@ -39,7 +39,7 @@ def main(args):
engine = Engine(config)
if server:
search_server.set_engine(engine)
- search_server.app.run(host, port)
+ search_s... | Enabled threading for flask | usc-isi-i2_dig-sandpaper | train | py |
f4a2c942ba167bb9925c56cd462c90b488822bf0 | diff --git a/code/HeydayWkHtmlToPdf.php b/code/HeydayWkHtmlToPdf.php
index <HASH>..<HASH> 100644
--- a/code/HeydayWkHtmlToPdf.php
+++ b/code/HeydayWkHtmlToPdf.php
@@ -1,5 +1,6 @@
<?php
+define('__DIR__', dirname(__FILE__) . DIRECTORY_SEPARATOR);
require_once __DIR__ . '/ThirdParty/wkhtmltopdf.php';
/** | UPDATE: added define for __DIR__ | heyday_silverstripe-wkhtml | train | php |
c1c8a3bb4e2701f8ed32ec04ce5868950d399319 | diff --git a/slack_sdk/socket_mode/websockets/__init__.py b/slack_sdk/socket_mode/websockets/__init__.py
index <HASH>..<HASH> 100644
--- a/slack_sdk/socket_mode/websockets/__init__.py
+++ b/slack_sdk/socket_mode/websockets/__init__.py
@@ -14,7 +14,9 @@ from typing import Union, Optional, List, Callable, Awaitable
im... | Change websockets imports to make it compatible with older versions (#<I>) | slackapi_python-slackclient | train | py |
8445683dc1bf18b87a7bd322d2480beee43a0d82 | diff --git a/bcbio/qc/damage.py b/bcbio/qc/damage.py
index <HASH>..<HASH> 100644
--- a/bcbio/qc/damage.py
+++ b/bcbio/qc/damage.py
@@ -12,7 +12,7 @@ from bcbio.qc import variant
def run(bam_file, data, out_dir):
out = {}
- vcinfo = variant.get_active_vcinfo(data)
+ vcinfo = variant.get_active_vcinfo(data,... | DNA damage: avoid using ensemble for summary QC. Fixes #<I> | bcbio_bcbio-nextgen | train | py |
9434fe58a2bc3b6deb360713b015110dfa31794c | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -772,7 +772,7 @@ func (cl *Client) outgoingConnection(t *Torrent, addr PeerRemoteAddr, ps PeerSou
cl.noLongerHalfOpen(t, addr.String())
if err != nil {
if cl.config.Debug {
- cl.logger.Printf("error establishing o... | Set debug log level for outgoing connection error
Contributed by @tsynik in <URL> | anacrolix_torrent | train | go |
58d210354b0cc768aacb3ed43ecb56b943d1963e | diff --git a/spec/panda_spec.rb b/spec/panda_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/panda_spec.rb
+++ b/spec/panda_spec.rb
@@ -3,7 +3,7 @@ require 'timecop'
describe Panda do
before(:each) do
- new_time = Time.local(20010, 1, 12, 1, 0, 0)
+ new_time = Time.utc(20010, 1, 12, 1, 0, 0)
Timecop.fre... | Fix: use utc time in the spec | pandastream_panda_gem | train | rb |
eda9895f9c32cc4ab1b788231911c390f601ed45 | diff --git a/core/maths/mathgen/src/main/java/org/arakhne/afc/math/MathUtil.java b/core/maths/mathgen/src/main/java/org/arakhne/afc/math/MathUtil.java
index <HASH>..<HASH> 100644
--- a/core/maths/mathgen/src/main/java/org/arakhne/afc/math/MathUtil.java
+++ b/core/maths/mathgen/src/main/java/org/arakhne/afc/math/MathUti... | [mathgen] Add the support of NaN to MathUtil.sign(). | gallandarakhneorg_afc | train | java |
ccbd57ae82303563701c1474d4babe34ee12c1f5 | diff --git a/lib/search.js b/lib/search.js
index <HASH>..<HASH> 100644
--- a/lib/search.js
+++ b/lib/search.js
@@ -30,7 +30,7 @@ module.exports = function(self) {
// Optimize a common case without paying the full performance price of i18n slugify
if (s.match(/^[A-Za-z0-9]+(-[A-Za-z0-9]+)?$/)) {
- retur... | Whoops, when we use the simpler slugifier we still have to convert to lower case. This caused uppercase searches to break and, more obviously, uppercase slugs to be created | apostrophecms_apostrophe | train | js |
6020e7f378398ae4210c7fdd2110597e992bc0d1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -60,7 +60,6 @@ function StyleLinter(inputNodes, options) {
var name = option.name;
var defaultValue = option.default || this[name];
this[name] = typeof options[name] === "undefined" ? defaultValue : options[nam... | don't mutate options
If the same options hash is passed to multiple StyleLinter instances,
the first one would previously delete all the options, leaving only
the defaults for any subsequent instances.
Resolves billybonks/ember-cli-stylelint#<I> | billybonks_broccoli-stylelint | train | js,js |
9b1d8a7dbcd175240d573ddde819c6b469a80d7f | diff --git a/src/javascripts/ng-admin/Crud/column/maColumn.js b/src/javascripts/ng-admin/Crud/column/maColumn.js
index <HASH>..<HASH> 100644
--- a/src/javascripts/ng-admin/Crud/column/maColumn.js
+++ b/src/javascripts/ng-admin/Crud/column/maColumn.js
@@ -36,7 +36,9 @@ function maColumn($state, $anchorScroll, $compile, ... | fix - JS error "values of undefined" on a missing reference in a column | marmelab_ng-admin | train | js |
bc515bb34af2db6773c5bd8f6f56859e076fa3a6 | diff --git a/gremlin-python/src/main/jython/tests/structure/io/test_graphson.py b/gremlin-python/src/main/jython/tests/structure/io/test_graphson.py
index <HASH>..<HASH> 100644
--- a/gremlin-python/src/main/jython/tests/structure/io/test_graphson.py
+++ b/gremlin-python/src/main/jython/tests/structure/io/test_graphson.... | Minor fix to assertions of g:Date in python to include timezone CTR | apache_tinkerpop | train | py |
2ca177cabd1d561c8b5cc56e6c16771804e07f6c | diff --git a/tests/python/test.py b/tests/python/test.py
index <HASH>..<HASH> 100644
--- a/tests/python/test.py
+++ b/tests/python/test.py
@@ -93,7 +93,7 @@ class TestParameters(unittest.TestCase):
self.lp1 = self.m.add_lookup_parameters((10, 10), init=dy.ConstInitializer(1))
self.lp2 = self.m.add_loo... | Fixed some mistakes in tests
Former-commit-id: eb8c<I>f<I>ed<I>b<I>d2b5f<I>e4cf<I>d<I>c | clab_dynet | train | py |
7772a0dd696d546bca3b38f2e0b24ea53319379c | diff --git a/libraries/core/helpers/version.js b/libraries/core/helpers/version.js
index <HASH>..<HASH> 100644
--- a/libraries/core/helpers/version.js
+++ b/libraries/core/helpers/version.js
@@ -19,8 +19,8 @@ export const defaultClientInformation = {
libVersion: '17.0',
appVersion: '5.18.0',
codebaseVersion: '... | PWA-<I> fixed structure of defaultClientInformation to match the real clientInformation form the device | shopgate_pwa | train | js |
6f6982b5e46b82be959af796d930f5b257a3acb3 | diff --git a/pydoop/hdfs/file.py b/pydoop/hdfs/file.py
index <HASH>..<HASH> 100644
--- a/pydoop/hdfs/file.py
+++ b/pydoop/hdfs/file.py
@@ -353,6 +353,8 @@ class local_file(file):
def pread(self, position, length):
_complain_ifclosed(self.closed)
+ if position < 0:
+ raise ValueError("P... | pread in local_file enforces read pos >= 0 | crs4_pydoop | train | py |
ff1991e1ba39ba7158cb146421d578e9569de636 | diff --git a/packages/NodeTypeResolver/src/PerNodeTypeResolver/PropertyFetchTypeResolver.php b/packages/NodeTypeResolver/src/PerNodeTypeResolver/PropertyFetchTypeResolver.php
index <HASH>..<HASH> 100644
--- a/packages/NodeTypeResolver/src/PerNodeTypeResolver/PropertyFetchTypeResolver.php
+++ b/packages/NodeTypeResolver... | fix PropertyFetchTypeResolver for Concat names | rectorphp_rector | train | php |
edf5e8eb24ba214c668e3c54bf78ef065fd39865 | diff --git a/spec/unit/pops/evaluator/comparison_ops_spec.rb b/spec/unit/pops/evaluator/comparison_ops_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/pops/evaluator/comparison_ops_spec.rb
+++ b/spec/unit/pops/evaluator/comparison_ops_spec.rb
@@ -91,6 +91,7 @@ describe 'Puppet::Pops::Evaluator::EvaluatorImpl' do
... | (#<I>) Add test that false != ''
A falsey value is not equal to false. | puppetlabs_puppet | train | rb |
bcd76c995ef472c2fc49558ec47061176a59ce72 | diff --git a/src/engine/runtime.js b/src/engine/runtime.js
index <HASH>..<HASH> 100644
--- a/src/engine/runtime.js
+++ b/src/engine/runtime.js
@@ -1477,7 +1477,8 @@ class Runtime extends EventEmitter {
const target = thread.target;
if (target === this._editingTarget) {
const b... | Always glow threads that come from stack clicks | LLK_scratch-vm | train | js |
a452fdcafd11e3c6a2a317ab05391842ed52bf4c | diff --git a/src/lang-apollo.js b/src/lang-apollo.js
index <HASH>..<HASH> 100644
--- a/src/lang-apollo.js
+++ b/src/lang-apollo.js
@@ -48,4 +48,4 @@ PR.registerLangHandler(
// A printable non-space non-special character
[PR.PR_PUNCTUATION, /^[^\w\t\n\r \xA0()\"\\\';]+/]
]),
- ['apollo'])... | Added .agc and .aea to the list of file extensions handled. | google_code-prettify | train | js |
af126ad987dc799762ea32f4ceabfee9847d3839 | diff --git a/Net/OpenID/CryptUtil.php b/Net/OpenID/CryptUtil.php
index <HASH>..<HASH> 100644
--- a/Net/OpenID/CryptUtil.php
+++ b/Net/OpenID/CryptUtil.php
@@ -624,7 +624,7 @@ class Net_OpenID_GmpMathWrapper extends Net_OpenID_MathWrapper {
}
}
-$Net_OpenID___mathLibrary = null;
+$_Net_OpenID___mathLibrary = nul... | [project @ Fix MathLibrary::getLibWrapper for no lib case] | openid_php-openid | train | php |
c95cc9c69c6b820b87e958018e18fd2a8c2b444f | diff --git a/HueLightBridge.js b/HueLightBridge.js
index <HASH>..<HASH> 100644
--- a/HueLightBridge.js
+++ b/HueLightBridge.js
@@ -377,8 +377,8 @@ HueLightBridge.prototype.meta = function () {
}
return {
- "iot:thing": _.id.thing_urn.unique("HueLight", self.native.uuid, self.initd.number),
- "... | device -> device-id; thing -> thing-id | dpjanes_homestar-hue | train | js |
7b2f5e427be71595b08936c56ef51ba76dec2571 | diff --git a/remoting/src/main/java/org/jboss/as/remoting/InjectedSocketBindingStreamServerService.java b/remoting/src/main/java/org/jboss/as/remoting/InjectedSocketBindingStreamServerService.java
index <HASH>..<HASH> 100644
--- a/remoting/src/main/java/org/jboss/as/remoting/InjectedSocketBindingStreamServerService.jav... | Fetch the ClientMapping applicable for the EJB remoting service from the remoting connector's socket binding
was: a<I>aeba<I>f<I>b7de<I>b<I>b<I>d<I>beb2 | wildfly_wildfly-core | train | java |
30ef60e18489c91ed7c55907e33d727d63905c2d | diff --git a/regression/src/org/ejml/RuntimeRegressionMasterApp.java b/regression/src/org/ejml/RuntimeRegressionMasterApp.java
index <HASH>..<HASH> 100644
--- a/regression/src/org/ejml/RuntimeRegressionMasterApp.java
+++ b/regression/src/org/ejml/RuntimeRegressionMasterApp.java
@@ -71,8 +71,8 @@ public class RuntimeReg... | Runtime Regression
- Made tolerance configurable and changed default to <I>% | lessthanoptimal_ejml | train | java |
bcc95c64a479b2fa59636b978edc238b447f19fb | diff --git a/test/jdk/javadoc/doclet/testIncluded/TestIncluded.java b/test/jdk/javadoc/doclet/testIncluded/TestIncluded.java
index <HASH>..<HASH> 100644
--- a/test/jdk/javadoc/doclet/testIncluded/TestIncluded.java
+++ b/test/jdk/javadoc/doclet/testIncluded/TestIncluded.java
@@ -23,7 +23,7 @@
/*
* @test
- * @bug ... | <I>: Fix bug id in test for JDK-<I>
Reviewed-by: bpatel | google_error-prone-javac | train | java |
e9c3d2dff6c8678765a35baca74b345a4567caf0 | diff --git a/contrib/mergeBenchmarkSets.py b/contrib/mergeBenchmarkSets.py
index <HASH>..<HASH> 100755
--- a/contrib/mergeBenchmarkSets.py
+++ b/contrib/mergeBenchmarkSets.py
@@ -69,6 +69,12 @@ def getWitnessResult(witness, verification_result):
# then leave status and category as is.
if status_from_validatio... | Reactivate witness invalidation for wrong syntax | sosy-lab_benchexec | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.