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 |
|---|---|---|---|---|---|
16bc5e292d8ba2679539e5c792e4344702c32077 | diff --git a/src/widgets/TbFileUpload.php b/src/widgets/TbFileUpload.php
index <HASH>..<HASH> 100644
--- a/src/widgets/TbFileUpload.php
+++ b/src/widgets/TbFileUpload.php
@@ -54,7 +54,7 @@ class TbFileUpload extends CJuiInputWidget
public $previewImages = true;
/**
- * Whether or not to add the image processing ... | Update TbFileUpload.php
Fixed typo in the comment | clevertech_YiiBooster | train | php |
101eddbe63eae014eb378186d84dc764574746a0 | diff --git a/src/Felixkiss/UniqueWithValidator/UniqueWithValidatorServiceProvider.php b/src/Felixkiss/UniqueWithValidator/UniqueWithValidatorServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Felixkiss/UniqueWithValidator/UniqueWithValidatorServiceProvider.php
+++ b/src/Felixkiss/UniqueWithValidator/UniqueWithVa... | Set ServiceProvider to be eagerly loaded (not deferred) | felixkiss_uniquewith-validator | train | php |
cc02161e659bf231af0e43b372496be4433dbd3a | diff --git a/src/Controller/SchemaApiController.php b/src/Controller/SchemaApiController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/SchemaApiController.php
+++ b/src/Controller/SchemaApiController.php
@@ -40,6 +40,7 @@ use PSX\Http\Filter\UserAgentEnforcer;
use PSX\Http\RequestInterface;
use PSX\Http\Respon... | wrap non record into passthru record so that an action could receive other request objects | apioo_fusio-impl | train | php |
78d8c076a2aa3001b47c14396c3066f110d4575d | diff --git a/tensorflow_probability/python/distributions/independent.py b/tensorflow_probability/python/distributions/independent.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/independent.py
+++ b/tensorflow_probability/python/distributions/independent.py
@@ -45,7 +45,7 @@ class Indep... | Docfix: Fix constraint on valid range of reinterpreted_batch_dims for Independent.
PiperOrigin-RevId: <I> | tensorflow_probability | train | py |
bb36e6ee7a3bf72234f8df32b8a35de9b2636ed5 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -668,6 +668,7 @@ Parser.prototype = {
get defined() {
var node = this.equality;
if (this.accept('is defined')) {
+ if (!node) throw new Error('illegal use of "is defined"');
node = ... | throw on illegal "is defined" usage | stylus_stylus | train | js |
abbc18a93a4a6cd2de6c6019fd01fc9c920a7cb9 | diff --git a/scoper.inc.php b/scoper.inc.php
index <HASH>..<HASH> 100644
--- a/scoper.inc.php
+++ b/scoper.inc.php
@@ -2,21 +2,16 @@
declare(strict_types=1);
-// see https://github.com/humbug/php-scoper
-
return [
'files-whitelist' => [
// do not prefix "trigger_deprecatoin" from symfony - https://g... | [ECS] Switch prefixed ecs.phar to automated package scoping in GitHub Action (#<I>)
* [ECS] Try build scoped package
* [debug] publish without running
* [ci-review] apply coding standards
* [ECS] Drop compiler, not needed
* cleanup
* remove unsued classes
* scope on master only | Symplify_MonorepoBuilder | train | php |
06aec3ed8d3f1b9097fe8d3e499d51fccd70cbac | diff --git a/src/Shell/Shell.php b/src/Shell/Shell.php
index <HASH>..<HASH> 100644
--- a/src/Shell/Shell.php
+++ b/src/Shell/Shell.php
@@ -54,7 +54,7 @@ class Shell
$this->out('Halting the VM.');
$this->out("");
- return system("vagrant halt");
+ system("vagrant suspend");
}
... | because of grub errors, the concept seems to work better with suspend instead of halt | strata-mvc_strata | train | php |
c0cda978642ac433dec00483471059f7ba6816af | diff --git a/django_q/cluster.py b/django_q/cluster.py
index <HASH>..<HASH> 100644
--- a/django_q/cluster.py
+++ b/django_q/cluster.py
@@ -16,6 +16,7 @@ import socket
import traceback
# Django
from django import db
+from django.conf import settings
from django.utils import timezone
from django.utils.translation im... | Don't save the next_run field as TZ aware when USE_TZ is False
arrow always returns a tz aware datetime, and we don't want this when we explicitly configured django with USE_TZ=False. This causes issues with MySQL. | Koed00_django-q | train | py |
e7ecd46dfe97f89acbfa3a609b00b19f139d4d47 | diff --git a/java_tests/org/gem/calc/DisaggregationTestHelper.java b/java_tests/org/gem/calc/DisaggregationTestHelper.java
index <HASH>..<HASH> 100644
--- a/java_tests/org/gem/calc/DisaggregationTestHelper.java
+++ b/java_tests/org/gem/calc/DisaggregationTestHelper.java
@@ -534,7 +534,6 @@ public class DisaggregationTe... | removed some commented code
Former-commit-id: <I>c<I>a<I>b0d<I>c4ae<I>a9ebbe<I>e6 | gem_oq-engine | train | java |
a9ea744bf121a405294772341ad2b732918c4058 | diff --git a/src/smoothy.js b/src/smoothy.js
index <HASH>..<HASH> 100644
--- a/src/smoothy.js
+++ b/src/smoothy.js
@@ -64,7 +64,7 @@
if (settings.type === 'speed') {
duration = Math.abs(distance / settings.speed) * 1000;
} else if (settings.type === 'time') {
- duration = t... | Bugfix for missing settings reference when using time as type for the scroll | kaloja_smoothy | train | js |
83a3c0d94e3346d4221745ee084850f75548ae2f | diff --git a/lenses/baselens.py b/lenses/baselens.py
index <HASH>..<HASH> 100644
--- a/lenses/baselens.py
+++ b/lenses/baselens.py
@@ -176,7 +176,8 @@ class DecodeLens(GetterSetterLens):
class ErrorLens(BaseLens):
- '''A lens that raises an exception whenever it is used.'''
+ '''A lens that raises an excepti... | better docstring for ErrorLens | ingolemo_python-lenses | train | py |
eb2f061574dadaa141047ad27a016ec96b36cf54 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ setup(
author='Derek Yarnell',
author_email='derek@umiacs.umd.edu',
packages=['qav'],
- url='https://gitlab.umiacs.umd.edu/staff/qav',
+ url='https://github.com/UMIACS/qav',
license='MI... | Update the project URL to point to github. | UMIACS_qav | train | py |
ea077b8a0441fd2bfcc29aebee176514770dfc4b | diff --git a/spec/contacts_spec.rb b/spec/contacts_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/contacts_spec.rb
+++ b/spec/contacts_spec.rb
@@ -79,10 +79,15 @@ describe Contactually::Contacts do
describe '#update' do
it 'calls the api with correct params' do
- allow(@master).to receive(:call).with('co... | Add unit test to check that the update contact operation returns an Contactually::Contact object. | railslove_contactually-api | train | rb |
50d08d0e16558c19d14c96dc959419dc5e6b797b | diff --git a/concrete/src/Entity/Site/Site.php b/concrete/src/Entity/Site/Site.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Entity/Site/Site.php
+++ b/concrete/src/Entity/Site/Site.php
@@ -301,12 +301,12 @@ class Site implements TreeInterface, ObjectInterface, PermissionObjectInterface
public function getSit... | Let Site::getSiteTreeObject return NULL if no locale is defined | concrete5_concrete5 | train | php |
ced3f6725ca338e460f20562c3d0f2ebb0af161a | diff --git a/query.go b/query.go
index <HASH>..<HASH> 100644
--- a/query.go
+++ b/query.go
@@ -4,7 +4,6 @@ package neutrino
import (
"fmt"
- "strings"
"sync"
"sync/atomic"
"time"
@@ -560,7 +559,7 @@ func (s *ChainService) GetBlockFromNetwork(blockHash chainhash.Hash,
}
// SendTransaction sends a transact... | query: don't filter out reject messages in SendTransaction | lightninglabs_neutrino | train | go |
77a0b23cad18f679c04799b01c976cb068049b92 | diff --git a/src/RESTful/RESTful.php b/src/RESTful/RESTful.php
index <HASH>..<HASH> 100644
--- a/src/RESTful/RESTful.php
+++ b/src/RESTful/RESTful.php
@@ -138,7 +138,7 @@ class RESTful implements RESTfulInterface
$ch = $this->_getCurlHandler($path, 'GET');
$return = curl_exec($ch);
... | updates to fix an issue found by scrutinizer-ci | brianpilati_restful-api-wrapper-php | train | php |
ad28bd7437281140dd6fa695a613cd3124f7f897 | diff --git a/spec/bitbucket_rest_api/repos/pull_request_spec.rb b/spec/bitbucket_rest_api/repos/pull_request_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/bitbucket_rest_api/repos/pull_request_spec.rb
+++ b/spec/bitbucket_rest_api/repos/pull_request_spec.rb
@@ -9,11 +9,19 @@ describe BitBucket::Repos::PullRequest do
... | Test .list with a block in pull_requests_spec | bitbucket-rest-api_bitbucket | train | rb |
2a63f4d5e23e33af36aa60257b2d1f4c3ec79625 | diff --git a/eliot/_message.py b/eliot/_message.py
index <HASH>..<HASH> 100644
--- a/eliot/_message.py
+++ b/eliot/_message.py
@@ -155,7 +155,9 @@ class WrittenMessage(PClass):
@ivar _logged_dict: The originally logged dictionary.
"""
- _logged_dict = pmap_field((str, unicode), object)
+ _logged_dict ... | Restrict values to stuff we know how to support. | itamarst_eliot | train | py |
75504132f041ba135c523c5bbcb651e5c250470b | diff --git a/packages/node_modules/ciscospark/src/ciscospark.js b/packages/node_modules/ciscospark/src/ciscospark.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/ciscospark/src/ciscospark.js
+++ b/packages/node_modules/ciscospark/src/ciscospark.js
@@ -9,7 +9,6 @@
/* eslint camelcase: [0] */
require('@cis... | remove plugin-phone from ciscospark package | webex_spark-js-sdk | train | js |
d52ff9782b2209a4d160c5399bd784820156f488 | diff --git a/src/ArrayList.php b/src/ArrayList.php
index <HASH>..<HASH> 100644
--- a/src/ArrayList.php
+++ b/src/ArrayList.php
@@ -121,7 +121,7 @@ class ArrayList extends CollectionArray implements VectorInterface, VectorConver
*/
public function offsetUnset($offset)
{
- if ($this->containsKey($o... | Fixed the strict comparison for booleans | italolelis_collections | train | php,php |
9ee97aaa2a26e1401a59829b5104012aeac65bbe | diff --git a/packer/rpc/communicator.go b/packer/rpc/communicator.go
index <HASH>..<HASH> 100644
--- a/packer/rpc/communicator.go
+++ b/packer/rpc/communicator.go
@@ -132,7 +132,12 @@ func (c *communicator) Start(cmd *packer.RemoteCmd) (err error) {
func (c *communicator) Upload(path string, r io.Reader, fi *os.FileIn... | while I'm at it, kill this race condition in uploads, too | hashicorp_packer | train | go |
95ff6fc537485efdde39e45d550c8ba8f5f0e334 | diff --git a/src/main/java/io/muserver/Http1Connection.java b/src/main/java/io/muserver/Http1Connection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/muserver/Http1Connection.java
+++ b/src/main/java/io/muserver/Http1Connection.java
@@ -352,11 +352,11 @@ class Http1Connection extends SimpleChannelInboundHandl... | Better cancelling of in-flight requests when idle timeout hits | 3redronin_mu-server | train | java |
98c50a43a15e6e3052c9ff7072dce9140f32a82f | diff --git a/Service/ExcelContainer.php b/Service/ExcelContainer.php
index <HASH>..<HASH> 100644
--- a/Service/ExcelContainer.php
+++ b/Service/ExcelContainer.php
@@ -23,8 +23,7 @@ class ExcelContainer
$this->stream_writer = $stream_writer;
$this->file_type = $file_type;
$this->response_class... | Removed obsolete line of code (probably a mistake) | liuggio_ExcelBundle | train | php |
53fe60de178d0a3c2a81e62c37e0d2688afab7e2 | diff --git a/tests/Runner/RunnerTest.php b/tests/Runner/RunnerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Runner/RunnerTest.php
+++ b/tests/Runner/RunnerTest.php
@@ -106,7 +106,7 @@ final class RunnerTest extends TestCase
{
$errorsManager = new ErrorsManager();
- $path = __DIR__.DIRECTORY_SE... | RunnerTest - workaround for failing Symfony <I> | FriendsOfPHP_PHP-CS-Fixer | train | php |
b523e9957cd2f46cc262e4fb1d4db644816f3e3f | diff --git a/Text/Bling.php b/Text/Bling.php
index <HASH>..<HASH> 100644
--- a/Text/Bling.php
+++ b/Text/Bling.php
@@ -141,14 +141,15 @@ class sb_Text_Bling{
public static function lists_to_html($str){
//wiki style lists
- $str = preg_replace_callback('/(?:^|\n)((?:\*|#)+.*?\n(?!(?:\*|#)+))/si', function($matc... | recomitting fix for textbling lists items after big mixup with toolkit and framework repos getting merged on github | surebert_surebert-framework | train | php |
fcd4c54630bf7f253f380063eddff09bb08f38cb | diff --git a/upload/install/model/upgrade/1007.php b/upload/install/model/upgrade/1007.php
index <HASH>..<HASH> 100644
--- a/upload/install/model/upgrade/1007.php
+++ b/upload/install/model/upgrade/1007.php
@@ -58,5 +58,12 @@ class ModelUpgrade1007 extends Model {
if ($query->num_rows) {
$this->db->query("ALTER ... | Update <I>.php
Added customer reset code column on upgrade | opencart_opencart | train | php |
50597d81a6be4601c62bd35417e70bc982d6d32a | diff --git a/src/Console/RunCommand.php b/src/Console/RunCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/RunCommand.php
+++ b/src/Console/RunCommand.php
@@ -218,8 +218,9 @@ class RunCommand extends SymfonyCommand
$path = $this->input->getOption('path', '');
$file = $this->input->getOption(... | Fix passing null to file_exists | laravel_envoy | train | php |
2612b07eaea0f62c3c7ed29bc65864affdc35ab1 | diff --git a/MAVProxy/modules/lib/mp_menu.py b/MAVProxy/modules/lib/mp_menu.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/lib/mp_menu.py
+++ b/MAVProxy/modules/lib/mp_menu.py
@@ -153,6 +153,14 @@ class MPMenuSubMenu(MPMenuGeneric):
'''add more items to a sub-menu'''
if not isinstance(items, li... | menu: added menu extensions, removing duplicates | ArduPilot_MAVProxy | train | py |
ddf07be1726eab13c09ae9003c52cdc76b058fd6 | diff --git a/spyder/plugins/ipythonconsole/widgets/client.py b/spyder/plugins/ipythonconsole/widgets/client.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole/widgets/client.py
+++ b/spyder/plugins/ipythonconsole/widgets/client.py
@@ -411,6 +411,7 @@ class ClientWidget(QWidget, SaveHistoryMixin):
... | IPython Console: Increase size of its toolbar buttons to match the Options one | spyder-ide_spyder | train | py |
0faee5896d5cd389cb022f6cea050bbf1bfd9443 | diff --git a/daemon/container_operations_unix.go b/daemon/container_operations_unix.go
index <HASH>..<HASH> 100644
--- a/daemon/container_operations_unix.go
+++ b/daemon/container_operations_unix.go
@@ -888,9 +888,6 @@ func (daemon *Daemon) setupIpcDirs(c *container.Container) error {
if err := syscall.Mount("mqueue... | Remove unecessary chown on mqueue device path
This was causing the host /dev/mqueue to be remapped to the daemon's
user namespace range root user and group. Given the perms are open on
the mqueue path, there is no need to chown this path at all.
Docker-DCO-<I>- | moby_moby | train | go |
79e1744615529edfbab224ace71ae9af83228f3e | diff --git a/lib/core/request.js b/lib/core/request.js
index <HASH>..<HASH> 100644
--- a/lib/core/request.js
+++ b/lib/core/request.js
@@ -146,7 +146,7 @@ class Request {
onUpgrade (statusCode, headers, socket) {
assert(!this.aborted)
assert(this.upgrade)
- this[kHandler].onUpgrade(statusCode, headers, ... | refactor: return onUpgrade | mcollina_undici | train | js |
13e400d36c2b4b1e7e3d66bd4633c702bd00030f | diff --git a/Grid/Grid.php b/Grid/Grid.php
index <HASH>..<HASH> 100644
--- a/Grid/Grid.php
+++ b/Grid/Grid.php
@@ -1619,7 +1619,11 @@ class Grid
*/
public function getPageCount()
{
- return ceil($this->getTotalCount() / $this->getLimit());
+ $pageCount = 1;
+ if ($this->getLimit() >... | Fix math - division by zero when limit zero or null | APY_APYDataGridBundle | train | php |
076a2145dba692dbc18e5341c0223de1996a4f09 | diff --git a/tests/test_repro.py b/tests/test_repro.py
index <HASH>..<HASH> 100644
--- a/tests/test_repro.py
+++ b/tests/test_repro.py
@@ -272,6 +272,8 @@ class TestReproChangedDirData(TestDvc):
stages = self.dvc.reproduce(stage.path)
self.assertEqual(len(stages), 0)
+ sleep()
+
with... | test: don't forget to sleep before modifying a file | iterative_dvc | train | py |
3284662b350688b651359f9124928856071bd3f5 | diff --git a/integration/multiple_servers_test.go b/integration/multiple_servers_test.go
index <HASH>..<HASH> 100644
--- a/integration/multiple_servers_test.go
+++ b/integration/multiple_servers_test.go
@@ -466,7 +466,7 @@ func (self *ServerSuite) TestDropSeries(c *C) {
c.Assert(resp.StatusCode, Equals, http.Status... | Fix an integration test that has changed in <I>c0
Non admin database users shouldn't be able to drop series. See #<I> for
more details | influxdata_influxdb | train | go |
3fe3974782332cd861d0a9c54cd6d7b4f833089c | diff --git a/src/test/php/routing/InterceptorsTest.php b/src/test/php/routing/InterceptorsTest.php
index <HASH>..<HASH> 100644
--- a/src/test/php/routing/InterceptorsTest.php
+++ b/src/test/php/routing/InterceptorsTest.php
@@ -34,7 +34,7 @@ class InterceptorsTest extends TestCase
*/
private $response;
/... | just allow everything and trust the calling test | stubbles_stubbles-webapp-core | train | php |
6ede8fef276b0e22de7667219d81f2c9e620682c | diff --git a/lib/multiprocessing.rb b/lib/multiprocessing.rb
index <HASH>..<HASH> 100644
--- a/lib/multiprocessing.rb
+++ b/lib/multiprocessing.rb
@@ -7,6 +7,14 @@ require File.expand_path(File.dirname(__FILE__) + '/multiprocessing/externalobje
module MultiProcessing
+ ##
+ #
+ # If Thread has handle_interrupt ... | added documentation for MultiProcessing.try_handle_interrupt | clicube_multiprocessing | train | rb |
8a08a9410459c4736ab774a382b4344876411374 | diff --git a/code/administrator/components/com_activities/controllers/behaviors/loggable.php b/code/administrator/components/com_activities/controllers/behaviors/loggable.php
index <HASH>..<HASH> 100644
--- a/code/administrator/components/com_activities/controllers/behaviors/loggable.php
+++ b/code/administrator/compon... | test #<I>: Log com_files calls in a separate behavior to allow logging
different components like Docman, Fileman etc. | joomlatools_joomlatools-framework | train | php |
8a40bcfec7a9d22d04dae6b0ce518f06cf83e2c9 | diff --git a/drools-core/src/main/java/org/drools/core/base/ClassFieldAccessorCache.java b/drools-core/src/main/java/org/drools/core/base/ClassFieldAccessorCache.java
index <HASH>..<HASH> 100644
--- a/drools-core/src/main/java/org/drools/core/base/ClassFieldAccessorCache.java
+++ b/drools-core/src/main/java/org/drools/... | Prevent NPE in ClassFieldAccessorCache when setter method does not exist
(cherry picked from commit f4df1a4c5c<I>cc7f<I>e<I>eef<I>abfd5) | kiegroup_drools | train | java |
7863e67eddd59a43737bf51d00a043ed9dc3a821 | diff --git a/stdlib/native.rb b/stdlib/native.rb
index <HASH>..<HASH> 100644
--- a/stdlib/native.rb
+++ b/stdlib/native.rb
@@ -143,7 +143,7 @@ module Native
value
end
else
- if as = options[:as]
+ if as
define_method new do |*args, &block|
if value = Nati... | Typo: fixup <I>f2a8a7c7 (docs: Add some API documentation for native.rb)
The kwargs change was supposed to be part of a different commit. (-.-’) | opal_opal | train | rb |
cf728d9f8931e319b1b2e0dc316f9870da6b52b9 | diff --git a/spec/semvergen/bump_spec.rb b/spec/semvergen/bump_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/semvergen/bump_spec.rb
+++ b/spec/semvergen/bump_spec.rb
@@ -1,5 +1,5 @@
describe Semvergen::Bump do
- let(:semvergen) { Semvergen::Bump.new nil, nil, nil, nil, nil, nil, nil }
+ let(:semvergen) { Semvergen:... | Fix spec broken by removing default arg | brendon9x_semvergen | train | rb |
b9b642e1a85cea0e26467b09833189c8648434c5 | diff --git a/pyinstrument/profiler.py b/pyinstrument/profiler.py
index <HASH>..<HASH> 100644
--- a/pyinstrument/profiler.py
+++ b/pyinstrument/profiler.py
@@ -7,7 +7,7 @@ from operator import attrgetter
class BaseProfiler(object):
def _identifier_for_frame(self, frame):
- return '%s\t%s:%i' % (frame.f_co... | Fix statistical profiler classifying different lines of the same method
as different methods | joerick_pyinstrument | train | py |
0c9133718f4ceb08c2210e601a393a3dc34ecbc0 | diff --git a/holoviews/ipython/display_hooks.py b/holoviews/ipython/display_hooks.py
index <HASH>..<HASH> 100644
--- a/holoviews/ipython/display_hooks.py
+++ b/holoviews/ipython/display_hooks.py
@@ -10,6 +10,7 @@ import IPython
from IPython import get_ipython
import holoviews
+from holoviews.plotting import Plot
f... | Registered Plot instances with the display hooks (#<I>) | pyviz_holoviews | train | py |
66a7297700c1f24f3ce19a1fe7b2b0a4885ae730 | diff --git a/src/nls/zh-tw/strings.js b/src/nls/zh-tw/strings.js
index <HASH>..<HASH> 100644
--- a/src/nls/zh-tw/strings.js
+++ b/src/nls/zh-tw/strings.js
@@ -106,9 +106,9 @@ define({
"LIVE_DEV_STATUS_TIP_OUT_OF_SYNC" : "即時預覽 (檔案儲存後重新載入)",
"LIVE_DEV_STATUS_TIP_SYNC_ERROR" : "即時預覽 (語法錯誤,不更新)",
- "LIV... | Shorten sentences to avoid unnecessary word wrapping. | adobe_brackets | train | js |
a280bbdf2fbaa0e325e6f6a6610f3705a4cfd0b8 | diff --git a/cobra/io/sbml.py b/cobra/io/sbml.py
index <HASH>..<HASH> 100644
--- a/cobra/io/sbml.py
+++ b/cobra/io/sbml.py
@@ -148,8 +148,7 @@ def create_cobra_model_from_sbml_file(sbml_filename, old_sbml=False, legacy_meta
except:
warn("charge of %s is not a number (%s)" % (tmp_metabolite... | sbml bugfix for detecting conflicting charges
Should check for 0, not None, now that getCharge is only read if isSet
is True | opencobra_cobrapy | train | py |
abdaa78a304d4d615714b6d6390dec0da2aa803d | diff --git a/public/build/js/bundle.js b/public/build/js/bundle.js
index <HASH>..<HASH> 100644
--- a/public/build/js/bundle.js
+++ b/public/build/js/bundle.js
@@ -34351,7 +34351,6 @@ var melisDashBoardDragnDrop = {
// specific for latest comments plugin / select option
if ( $select.length > 0 ... | grid-stack edits push files before composer update | melisplatform_melis-core | train | js,js |
8b1f7e7dfaa9531299c907c1b1c0c551e490ff2e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -96,7 +96,7 @@ var torrentStream = function(link, opts) {
}
var engine = new events.EventEmitter();
- var swarm = pws(infoHash, opts.id, {size:opts.connections || opts.size});
+ var swarm = pws(infoHash, opts.id, { size:... | Increase speedometer window to <I>s | mafintosh_torrent-stream | train | js |
dd5852a4e026f9600d2dbb875e83d96c51360457 | diff --git a/org/postgresql/core/v3/SimpleParameterList.java b/org/postgresql/core/v3/SimpleParameterList.java
index <HASH>..<HASH> 100644
--- a/org/postgresql/core/v3/SimpleParameterList.java
+++ b/org/postgresql/core/v3/SimpleParameterList.java
@@ -4,7 +4,7 @@
* Copyright (c) 2004, Open Cloud Limited.
*
* IDENTIFI... | Using callable statements against older server versions (<I> or <I>)
did not work because of recent changes to output parameter handling.
<I> and <I> do not support function output parameters, but they
still must support the functions return value. Every function must
have either a return value or an output parameter ... | pgjdbc_pgjdbc | train | java |
12e9d886f2ca647543e22fb7e7e37da22f7f24df | diff --git a/typedload/dataloader.py b/typedload/dataloader.py
index <HASH>..<HASH> 100644
--- a/typedload/dataloader.py
+++ b/typedload/dataloader.py
@@ -256,11 +256,11 @@ class Loader:
type_=type_
)
- # Add type to known types, to resolve ForwardRef later on
- if ... | Cache the type name for forward references only once
If the handler is cached, no need to do that again | ltworf_typedload | train | py |
1eabc74c04f3fa7897803d3a1c2426e649ae01aa | diff --git a/app/config/routes.php b/app/config/routes.php
index <HASH>..<HASH> 100644
--- a/app/config/routes.php
+++ b/app/config/routes.php
@@ -23,17 +23,18 @@ use lithium\core\Environment;
/**
* ### Continuation routes
*
- * With globalization enabled a localized route is configured by connecting a
+ * With gl... | Use comment style for disabling g<I>n cont. routes. | UnionOfRAD_framework | train | php |
d98671d021c2490b38fef325ceee8d177b48a0d7 | diff --git a/lib/gir_ffi/in_pointer.rb b/lib/gir_ffi/in_pointer.rb
index <HASH>..<HASH> 100644
--- a/lib/gir_ffi/in_pointer.rb
+++ b/lib/gir_ffi/in_pointer.rb
@@ -15,6 +15,10 @@ module GirFFI
self.new block
end
+ def self.from type, val
+ ArgHelper.utf8_to_inptr val
+ end
+
def self.from_u... | Start implementing InPointer.from, to handle :utf8 and :object. | mvz_gir_ffi | train | rb,rb |
85aa1fc8aa94a1c752732fbe5e8f2452ae8b2b46 | diff --git a/hydpy/models/evap/evap_model.py b/hydpy/models/evap/evap_model.py
index <HASH>..<HASH> 100644
--- a/hydpy/models/evap/evap_model.py
+++ b/hydpy/models/evap/evap_model.py
@@ -665,8 +665,7 @@ class Calc_PossibleSunshineDuration_V1(modeltools.Method):
class Calc_ClearSkySolarRadiation_V1(modeltools.Method):
... | Fix an unexpected indentation in method `Calc_ClearSkySolarRadiation_V1` of module `evap_model`. | hydpy-dev_hydpy | train | py |
ef73ff3e87393a5c50c0e4a02da8622aae78b6ba | diff --git a/lib/spidr/agent.rb b/lib/spidr/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/spidr/agent.rb
+++ b/lib/spidr/agent.rb
@@ -417,6 +417,8 @@ module Spidr
# The page for the response, or +nil+ if the request failed.
#
def get_page(url,&block)
+ url = URI(url.to_s) unless url.kind_of?(URI)... | Make sure Agent#get_page receives a URI. | postmodern_spidr | train | rb |
008259e5582bdd22c5db02fbdf90116c2325b200 | diff --git a/web/concrete/blocks/page_list/tools/blog_rss.php b/web/concrete/blocks/page_list/tools/blog_rss.php
index <HASH>..<HASH> 100644
--- a/web/concrete/blocks/page_list/tools/blog_rss.php
+++ b/web/concrete/blocks/page_list/tools/blog_rss.php
@@ -19,7 +19,7 @@ if($_GET['bID'] && $_GET['cID'] && $nh->integer($_G... | make sure we can use the blog rss for custom templates as well
Former-commit-id: 6acaaedfc<I>fc<I>d<I>c8c<I>f<I>f9 | concrete5_concrete5 | train | php |
28420e820a1f41747e74887ed4b4c29432aa4759 | diff --git a/nanocomp/NanoComp.py b/nanocomp/NanoComp.py
index <HASH>..<HASH> 100644
--- a/nanocomp/NanoComp.py
+++ b/nanocomp/NanoComp.py
@@ -123,6 +123,10 @@ def make_plots(df, path, args):
violin = True
else:
violin = False
+ nanoplotter.output_barplot(
+ df=df,
+ figformat=ar... | added barplots for length and total nucleotides sequenced | wdecoster_nanocomp | train | py,py |
085a83da442928465c72acc8bbd561611d56f93d | diff --git a/path/__init__.py b/path/__init__.py
index <HASH>..<HASH> 100644
--- a/path/__init__.py
+++ b/path/__init__.py
@@ -126,15 +126,14 @@ class Traversal:
`follow` is a function that takes an item and returns
True if that item should be followed and False otherwise.
"""
- def __init__(self, wal... | Let the Traversal class simply accept the function and then wrap the walker | jaraco_path.py | train | py,py |
a84b4a669ae053b17f37d1acab4d65daa82d2591 | diff --git a/state/local.go b/state/local.go
index <HASH>..<HASH> 100644
--- a/state/local.go
+++ b/state/local.go
@@ -119,8 +119,20 @@ func (s *LocalState) RefreshState() error {
s.mu.Lock()
defer s.mu.Unlock()
+ if s.PathOut == "" {
+ s.PathOut = s.Path
+ }
+
var reader io.Reader
- if !s.written {
+
+ // The... | use the open state file for refresh when possible
Only open a new file descriptor for RefreshState if we haven't written a
state, and don't have the correct state open already. This prevents
windows from failing to refresh a locked state. | hashicorp_terraform | train | go |
1fc9a187535aa1ff1d0d4066c00927963150e1b8 | diff --git a/lib/server/index.js b/lib/server/index.js
index <HASH>..<HASH> 100644
--- a/lib/server/index.js
+++ b/lib/server/index.js
@@ -130,6 +130,12 @@ module.exports.start = function () {
const assets = require('../assets');
app.use(assets);
+ // Catch and re-throw uncaught socket.io eceptions, so that thing... | fix(server): catch and re-throw otherwise uncaught socket.io errors | nodecg_nodecg | train | js |
4e84bdcdffcdb05f5b008456a8c77d5d64233c60 | diff --git a/src/Illuminate/Auth/MustVerifyEmail.php b/src/Illuminate/Auth/MustVerifyEmail.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Auth/MustVerifyEmail.php
+++ b/src/Illuminate/Auth/MustVerifyEmail.php
@@ -22,7 +22,7 @@ trait MustVerifyEmail
public function markEmailAsVerified()
{
return... | Apply fixes from StyleCI (#<I>) | laravel_framework | train | php |
545242c9ff3d0e78660e0f42d1873859dabbcdb4 | diff --git a/app/templates/_Gruntfile.js b/app/templates/_Gruntfile.js
index <HASH>..<HASH> 100644
--- a/app/templates/_Gruntfile.js
+++ b/app/templates/_Gruntfile.js
@@ -149,7 +149,7 @@ module.exports = function (grunt) {
var done = this.async();
var childProcess = require('child_process');
var exec = c... | Fixed issue #<I>. Windows .exe now contains the app name | Dica-Developer_generator-node-webkit | train | js |
79ea0b6324fcabc72c155c8cae4c521b171ce891 | diff --git a/RequestHeaderParser.php b/RequestHeaderParser.php
index <HASH>..<HASH> 100644
--- a/RequestHeaderParser.php
+++ b/RequestHeaderParser.php
@@ -5,6 +5,7 @@ namespace React\Http;
use Evenement\EventEmitter;
use Guzzle\Parser\Message\MessageParser;
+// Events: headers, error
class RequestHeaderParser exte... | Document events at the top of each EventEmitter class | reactphp_http | train | php,php |
3222b201e90875217a3076895d74d19b72f48819 | diff --git a/contrib/externs/angular-material.js b/contrib/externs/angular-material.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/angular-material.js
+++ b/contrib/externs/angular-material.js
@@ -295,14 +295,14 @@ md.$toast.options;
/**
* @param {md.$toast.options} options
- * @return {angular.$q.Promise}
+... | Improve types on md.$toast to return a non-nullable promise.
-------------
Created by MOE: <URL> | google_closure-compiler | train | js |
3ec9d09a2ad23b484fca3e5dc3313fefc51bdd60 | diff --git a/addon/controllers/edit-form.js b/addon/controllers/edit-form.js
index <HASH>..<HASH> 100644
--- a/addon/controllers/edit-form.js
+++ b/addon/controllers/edit-form.js
@@ -13,9 +13,26 @@ export default Ember.Controller.extend(Ember.Evented, FlexberryLookupMixin, Erro
/**
* Indicates whether the curr... | Add readonlyAttr on edit-form for HTML5 controls
For example, use {{input readonly=readonlyAttr}} instead of
{{input readonly=readonly}} due to W3C standard:
readonly can be "readonly" or undefined, not true or false. | Flexberry_ember-flexberry | train | js |
ddc39b8e871ff0b26d7ba3fd8e13a5e64c7e39ca | diff --git a/sos/plugins/azure.py b/sos/plugins/azure.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/azure.py
+++ b/sos/plugins/azure.py
@@ -8,8 +8,8 @@
#
# See the LICENSE file in the source distribution for further information.
-from sos.plugins import Plugin, UbuntuPlugin, RedHatPlugin
import os
+from sos.plu... | [azure] Added /var/log/azure directory to sosreport
Resolves: #<I> | sosreport_sos | train | py |
b886c5bcd1cc637f6249ec8fbcf34353cc4a565d | diff --git a/core/adapters/http/adapter.go b/core/adapters/http/adapter.go
index <HASH>..<HASH> 100644
--- a/core/adapters/http/adapter.go
+++ b/core/adapters/http/adapter.go
@@ -52,6 +52,11 @@ func NewAdapter(port uint, parser parser.PacketParser, ctx log.Interface) (*Adap
Client: http.Client{},
}
+ a.Reg... | Add /healthz endpoint in HTTP adapter
Resolves #<I> | TheThingsNetwork_ttn | train | go |
41b191698e40d4228c788ceed94842e956095d70 | diff --git a/lib/aasm/aasm.rb b/lib/aasm/aasm.rb
index <HASH>..<HASH> 100644
--- a/lib/aasm/aasm.rb
+++ b/lib/aasm/aasm.rb
@@ -107,10 +107,12 @@ module AASM
def human_state
begin
- var_model = self.class.model_name
- var = var_model.respond_to?(:i18n_key) ? var_model.i18n_key : var_model.underscore
... | rewrite human_state method to lookup ancestor's translation if inherited | aasm_aasm | train | rb |
ac8f475d8dc311586ef2d2ff2a5ca7d1770eee67 | diff --git a/src/Ftven/Build/Common/Command/PackageCommand.php b/src/Ftven/Build/Common/Command/PackageCommand.php
index <HASH>..<HASH> 100644
--- a/src/Ftven/Build/Common/Command/PackageCommand.php
+++ b/src/Ftven/Build/Common/Command/PackageCommand.php
@@ -33,7 +33,7 @@ class PackageCommand extends AbstractCommand
... | fix pb with --install in package | francetv_php-cli-common | train | php |
8e68ec4dcceb606853a50d41076c7d5e118089b7 | diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/commands/plugin.rb
+++ b/railties/lib/commands/plugin.rb
@@ -901,7 +901,7 @@ class RecursiveHTTPFetcher
def initialize(urls_to_fetch, level = 1, cwd = ".")
@level = level
@cwd = cwd... | Ruby <I> compat: use String#lines instead of to_a in Ruby <I>
[#<I> state:resolved] | rails_rails | train | rb |
0d8ca8e6fb34a83df8c880e081fb5f29e79ca2fe | diff --git a/mounted_file_system.go b/mounted_file_system.go
index <HASH>..<HASH> 100644
--- a/mounted_file_system.go
+++ b/mounted_file_system.go
@@ -122,10 +122,11 @@ type MountConfig struct {
//
// Normally on OS X we mount with the novncache option
// (cf. http://goo.gl/1pTjuk), which disables entry caching i... | Improved wording around EnableVnodeCaching. | jacobsa_fuse | train | go |
bde9507f18fd5bcfb3326478436dd351d4deea42 | diff --git a/xtraceback/shim.py b/xtraceback/shim.py
index <HASH>..<HASH> 100644
--- a/xtraceback/shim.py
+++ b/xtraceback/shim.py
@@ -20,12 +20,6 @@ class Shim(object):
return cls._instances[oid]
-class ClassShim(Shim):
-
- def __repr__(self):
- return "<class %s.%s>" % (self.target.__module... | don't need class shim | 0compute_xtraceback | train | py,py |
cbba6b40e216166e81a11424b9cb056d0f0adb78 | diff --git a/lib/hako/schedulers/ecs_elb_v2.rb b/lib/hako/schedulers/ecs_elb_v2.rb
index <HASH>..<HASH> 100644
--- a/lib/hako/schedulers/ecs_elb_v2.rb
+++ b/lib/hako/schedulers/ecs_elb_v2.rb
@@ -106,7 +106,11 @@ module Hako
load_balancer = describe_load_balancer
attributes = @elb_v2_config.fetch('... | Fix error in dry-run mode when ALB isn't created yet | eagletmt_hako | train | rb |
80f9a8e5e22713845a176838a6b85282d4d8d57d | diff --git a/wallet.go b/wallet.go
index <HASH>..<HASH> 100644
--- a/wallet.go
+++ b/wallet.go
@@ -1630,7 +1630,7 @@ func (c *Client) WalletPassphrase(passphrase string, timeoutSecs int64) error {
type FutureWalletPassphraseChangeResult chan *futureResult
// Receive waits for the response promised by the future and... | Fix FutureWalletPassphraseChange.Receive comment. | btcsuite_btcd | train | go |
2570fcff16571258471f85e17238ecf32b7e63e7 | diff --git a/spec/bonsai/page_spec.rb b/spec/bonsai/page_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/bonsai/page_spec.rb
+++ b/spec/bonsai/page_spec.rb
@@ -56,7 +56,7 @@ describe Bonsai::Page do
end
it "should have the correct name" do
- @page.assets.first[:name].should == "001.jpg"
+ ... | Specs to cover changes to asset name attribute | benschwarz_bonsai | train | rb |
da5d56275313fddbc0bc831af36b11c17fdca650 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ module = Extension('confluent_kafka.cimpl',
'confluent_kafka/src/Consumer.c'])
setup(name='confluent-kafka',
- version='0.11.0.1rc1',
+ version='0.11.0',
descript... | setup.py: change version back to <I> | confluentinc_confluent-kafka-python | train | py |
e745e24bbe5d524fbe2ac3e6149ce153741be05b | diff --git a/lib/hanami/configuration.rb b/lib/hanami/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/hanami/configuration.rb
+++ b/lib/hanami/configuration.rb
@@ -74,8 +74,11 @@ module Hanami
end
# Finalize nested configuration
- actions.finalize!
- views.finalize!
+ #
+ # TO... | Workaround an edge-case where views/actions are not configured
Need this to make hanami-cli tests pass. We'll be rebuilding config on
top of dry-configurable anyway so this will go away. | hanami_hanami | train | rb |
01814badb532648db09aa747b3d94c289e4a8ece | diff --git a/src/Ngram/Tool/Input/BlackList.php b/src/Ngram/Tool/Input/BlackList.php
index <HASH>..<HASH> 100644
--- a/src/Ngram/Tool/Input/BlackList.php
+++ b/src/Ngram/Tool/Input/BlackList.php
@@ -7,7 +7,7 @@ class BlackList
{
$blacklist = $preset['words'];
foreach ($blacklist as $word){
- ... | blacklist check term but as ' term' | iannsp_NGram | train | php,php |
76832bea768b2a34ec736049bab4744ba0fdcfe3 | diff --git a/compiler/code.py b/compiler/code.py
index <HASH>..<HASH> 100644
--- a/compiler/code.py
+++ b/compiler/code.py
@@ -1,3 +1,5 @@
+import re
+
def scan(text):
str_context = False
escape = False
@@ -55,7 +57,19 @@ def scan(text):
return text, invalid
+id_re = re.compile(r'([a-zA-Z]\w*)\.')
+
def pro... | replaced ids with get('id') | pureqml_qmlcore | train | py |
c98eac890bad779b0821fdbab768b2b6737264ee | diff --git a/DatArchive.js b/DatArchive.js
index <HASH>..<HASH> 100644
--- a/DatArchive.js
+++ b/DatArchive.js
@@ -356,6 +356,14 @@ class DatArchive {
return archive
}
+
+ static async load(url) {
+ const archive = new DatArchive(url)
+
+ await archive._loadPromise
+
+ return archive
+ }
}
modu... | Added DatArchive.load() | RangerMauve_dat-archive-web | train | js |
8a8f7415842ba96def769f96a3d2f17c86cc7ecb | diff --git a/filesystem/File.php b/filesystem/File.php
index <HASH>..<HASH> 100644
--- a/filesystem/File.php
+++ b/filesystem/File.php
@@ -286,8 +286,7 @@ class File extends DataObject {
}
function CMSThumbnail() {
- $filename = $this->Icon();
- return "<div style=\"text-align:center;width: 100px;padding-top: 1... | API CHANGE Returning image without links or subtitle from File->CMSThumbnail() for better compatibility with existing Image->getThumbnail() as well as new GridField viewing in AssetAdmin | silverstripe_silverstripe-framework | train | php |
29cf2aa17058e447e019c396c1c050d857568438 | diff --git a/src/Irazasyed/LaravelIdenticon/ServiceProvider.php b/src/Irazasyed/LaravelIdenticon/ServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Irazasyed/LaravelIdenticon/ServiceProvider.php
+++ b/src/Irazasyed/LaravelIdenticon/ServiceProvider.php
@@ -28,7 +28,7 @@ class ServiceProvider extends \Illuminate\S... | <I> Fix share() to singleton
replaced removed function share() with singleton
fixes #4 | irazasyed_laravel-identicon | train | php |
785be524676a3c60e25e95fcf31b8b2ab29a65bc | diff --git a/cleverhans/attacks.py b/cleverhans/attacks.py
index <HASH>..<HASH> 100644
--- a/cleverhans/attacks.py
+++ b/cleverhans/attacks.py
@@ -763,10 +763,10 @@ class MomentumIterativeMethod(Attack):
# If a data range was specified, check that the input was in that range
if self.clip_min is not None:
- ... | Master branch added new code that needed casts | tensorflow_cleverhans | train | py |
2418feaf19e428ec5eb746b56af0e052c6784930 | diff --git a/lib/handlebars/base.js b/lib/handlebars/base.js
index <HASH>..<HASH> 100644
--- a/lib/handlebars/base.js
+++ b/lib/handlebars/base.js
@@ -3,6 +3,8 @@
/*jshint eqnull:true*/
var Handlebars = {};
+(function() {
+
Handlebars.VERSION = "1.0.beta.5";
Handlebars.helpers = {};
@@ -95,6 +97,8 @@ Handlebar... | Wrap base Handlebars in a closure to prevent var leakage - fixes #<I> | wycats_handlebars.js | train | js |
4814ef003eb9a06635807be1e99ab74d0f7dbde5 | diff --git a/transport/nio/src/main/java/org/kaazing/gateway/transport/nio/internal/AbstractNioAcceptor.java b/transport/nio/src/main/java/org/kaazing/gateway/transport/nio/internal/AbstractNioAcceptor.java
index <HASH>..<HASH> 100644
--- a/transport/nio/src/main/java/org/kaazing/gateway/transport/nio/internal/Abstract... | Add TODO for deadlock prevention. | kaazing_gateway | train | java |
194422744d020afa7f3ab89ac12b13affa839dd0 | diff --git a/src/Configuration/LowlevelException.php b/src/Configuration/LowlevelException.php
index <HASH>..<HASH> 100644
--- a/src/Configuration/LowlevelException.php
+++ b/src/Configuration/LowlevelException.php
@@ -27,7 +27,7 @@ class LowlevelException extends \Exception
</head>
<body style="padding: 20px;">
- ... | Make lowlevel errors a but wider. Less breaking lines. Fixes #<I> | bolt_bolt | train | php |
2d31a064f38c6c2d3ff45f688b3ca7f4a31fca4f | diff --git a/builtin/credential/ldap/backend.go b/builtin/credential/ldap/backend.go
index <HASH>..<HASH> 100644
--- a/builtin/credential/ldap/backend.go
+++ b/builtin/credential/ldap/backend.go
@@ -202,14 +202,13 @@ func (b *backend) Login(req *logical.Request, username string, password string)
}
if len(ldapGr... | - fixed merge with upstream master | hashicorp_vault | train | go |
e81198228abdca2bd69c6e36fa26eba0188c632f | diff --git a/bvg.js b/bvg.js
index <HASH>..<HASH> 100644
--- a/bvg.js
+++ b/bvg.js
@@ -348,7 +348,7 @@ define([], function () {
var element = BVG('text', obj).noStroke()
.fill(175);
if (bvg.isBVG)
- bvg.content(element);
+ bvg.appendChild(element);
... | Properly adding text to parent element | Spaxe_BVG.js | train | js |
2f27f5b7501eeeca294d9e8a18a45fa09f50a40a | diff --git a/src/native-bindings.js b/src/native-bindings.js
index <HASH>..<HASH> 100644
--- a/src/native-bindings.js
+++ b/src/native-bindings.js
@@ -231,6 +231,21 @@ const _onGl3DConstruct = (gl, canvas) => {
}
}
});
+
+ const [fbo, tex, depthTex, msFbo, msTex, msDepthTex] = nativeWindow.c... | Add missing 3d context fbo generation on construct | exokitxr_exokit | train | js |
e641fd2607e2cc9bc1bbd0df076dd755e7d9b156 | diff --git a/tests/utils/helpers.py b/tests/utils/helpers.py
index <HASH>..<HASH> 100644
--- a/tests/utils/helpers.py
+++ b/tests/utils/helpers.py
@@ -62,6 +62,7 @@ MAX_WAIT_LOOPS = 10
#: Wraps mock.patch() to make mocksignature=True by default.
patch = functools.partial(mock_module.patch, mocksignature=True)
+
de... | fixed pep8 blanklines violation and added support of mock < <I>
Former-commit-id: 0cc<I>a<I>cd<I>e8f<I>eaf4a<I>bfaf3c<I>a<I> | gem_oq-engine | train | py |
a93b3c0fe1ec4680fbb34fc29ac8714b9a8c7da4 | diff --git a/googlemaps/client.py b/googlemaps/client.py
index <HASH>..<HASH> 100644
--- a/googlemaps/client.py
+++ b/googlemaps/client.py
@@ -54,6 +54,7 @@ class Client:
retry_timeout=60, requests_kwargs=None,
queries_per_second=50, channel=None,
retry_over_query_l... | feat: allow passings requests session (#<I>) | googlemaps_google-maps-services-python | train | py |
3125e082104e4768884d3f6bb30912c976aedce0 | diff --git a/src/Configurator/MakefileConfigurator.php b/src/Configurator/MakefileConfigurator.php
index <HASH>..<HASH> 100644
--- a/src/Configurator/MakefileConfigurator.php
+++ b/src/Configurator/MakefileConfigurator.php
@@ -22,6 +22,17 @@ class MakefileConfigurator extends AbstractConfigurator
{
$this-... | added a default header when creating the Makefile initially | symfony_flex | train | php |
f0ed65e0322fbbe8e4a7019fb838afa3e3d1cb5b | diff --git a/lib/autoscaling/models/GroupConfig.rb b/lib/autoscaling/models/GroupConfig.rb
index <HASH>..<HASH> 100644
--- a/lib/autoscaling/models/GroupConfig.rb
+++ b/lib/autoscaling/models/GroupConfig.rb
@@ -189,18 +189,18 @@ module Cumulus
# If the aws desired value is outside of the new min/max bounds t... | Allow local min and max to be undefined when diffing | lucidsoftware_cumulus | train | rb |
9c524d30919e615d680267ff3890ffe5e9674842 | diff --git a/lib/pronto/rails_schema/version.rb b/lib/pronto/rails_schema/version.rb
index <HASH>..<HASH> 100644
--- a/lib/pronto/rails_schema/version.rb
+++ b/lib/pronto/rails_schema/version.rb
@@ -1,5 +1,5 @@
module Pronto
module RailsSchemaVersion
- VERSION = "0.5.0"
+ VERSION = "0.6.0"
end
end | Increment version to <I>. | raimondasv_pronto-rails_schema | train | rb |
d2dd40aae22ff1500be0616e36bfea035750ed92 | diff --git a/addrmanager.go b/addrmanager.go
index <HASH>..<HASH> 100644
--- a/addrmanager.go
+++ b/addrmanager.go
@@ -1061,7 +1061,7 @@ func RFC6145(na *btcwire.NetAddress) bool {
return rfc6145.Contains(na.IP)
}
-var onioncatrange = net.IPNet{IP: net.ParseIP("FD87:d87e:eb43"),
+var onioncatrange = net.IPNet{IP: ... | fix tor range. add :: to make sure it is parsed as v6. | btcsuite_btcd | train | go |
e27883b875586f36dfc1a751c9d0aa96cdc96202 | diff --git a/spec/support/yap_spec_dsl.rb b/spec/support/yap_spec_dsl.rb
index <HASH>..<HASH> 100644
--- a/spec/support/yap_spec_dsl.rb
+++ b/spec/support/yap_spec_dsl.rb
@@ -13,6 +13,7 @@ module Yap
def clear
`> #{@filepath}`
+ @bytes_read = 0
end
def read | Update Yap::Spec::OutputFile to reset the @bytes_read on #clear. | zdennis_yap-shell-core | train | rb |
0d7395fdc87f615850e85353d10c8a3ee84d25fa | diff --git a/libfuse/start.go b/libfuse/start.go
index <HASH>..<HASH> 100644
--- a/libfuse/start.go
+++ b/libfuse/start.go
@@ -61,7 +61,7 @@ func Start(mounter Mounter, options StartOptions) *Error {
}
fs := NewFS(config, c, options.KbfsParams.Debug)
- ctx := context.WithValue(context.Background(), CtxAppIDKey, &... | libfuse: don't use double-pointer ctx app id
At some point NewFS was changed to return a pointer.
Issue: KBFS-<I> | keybase_client | train | go |
d5a67be445498824e99f6cb75e4fc95c4f2ec928 | diff --git a/src/Page/ProductPage.php b/src/Page/ProductPage.php
index <HASH>..<HASH> 100644
--- a/src/Page/ProductPage.php
+++ b/src/Page/ProductPage.php
@@ -395,6 +395,7 @@ class ProductPage extends \Page implements PermissionProvider
if ($this->getSortedImages()->count() > 0) {
return $this->ge... | BUGFIX ProductPage::getIsAvailable() returns false if no options preset
This is problematic for available products that don’t have options. If the product is marked as available and there are no options, it will return true for availability. | dynamic_foxystripe | train | php |
90d8d27600e552599f1d1153e7a7653034aeb7a7 | diff --git a/visidata/sheets.py b/visidata/sheets.py
index <HASH>..<HASH> 100644
--- a/visidata/sheets.py
+++ b/visidata/sheets.py
@@ -1033,8 +1033,8 @@ def push(vd, vs, pane=0):
if pane == -1:
vs.pane = 2 if vd.activePane == 1 else 1
elif pane == 0:
- if not vd.sheetstack(1): vs.pane=1
- ... | [splitwin-] switch to pane where sheet is pushed to | saulpw_visidata | train | py |
d3fca5cba81c4e2a269e4916e19ff6cd60dfc3b7 | diff --git a/lib/dmllib.php b/lib/dmllib.php
index <HASH>..<HASH> 100644
--- a/lib/dmllib.php
+++ b/lib/dmllib.php
@@ -777,7 +777,7 @@ function rs_next_record(&$rs) {
/**
* This function is used to get the current record from the recordset. It
- * doesn advance the recordset position.
+ * does advance the recordse... | nothing interesting, just a comment. | moodle_moodle | train | php |
c78a155f44cb60e0e9025f382f9e76e16a1b7a73 | diff --git a/src/DependencyInjection/CompilerPass/ParamMapperPass.php b/src/DependencyInjection/CompilerPass/ParamMapperPass.php
index <HASH>..<HASH> 100644
--- a/src/DependencyInjection/CompilerPass/ParamMapperPass.php
+++ b/src/DependencyInjection/CompilerPass/ParamMapperPass.php
@@ -23,6 +23,13 @@ final class ParamM... | [#<I>] Decrease complexity of ParamMapperPass | eps90_req2cmd-bundle | train | php |
feb5ef41b5f3315d4b9a3550bf5f6609737b3887 | diff --git a/ELiDE/ELiDE/statlist.py b/ELiDE/ELiDE/statlist.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/statlist.py
+++ b/ELiDE/ELiDE/statlist.py
@@ -281,6 +281,10 @@ class StatListView(ListView):
self.adapter = self.get_adapter()
@trigger
+ def refresh_mirror(self, *args):
+ self.mirror ... | Undo some refactoring that made some triggers trigger other triggers | LogicalDash_LiSE | train | py |
e5293647a3fd8faf626b449af0faa7c2893cc0cf | diff --git a/src/util/Constants.js b/src/util/Constants.js
index <HASH>..<HASH> 100644
--- a/src/util/Constants.js
+++ b/src/util/Constants.js
@@ -93,6 +93,7 @@ const Endpoints = exports.Endpoints = {
channels: `${base}/channels`,
profile: `${base}/profile`,
relationships: `${base}/relationships`,
... | (╯°□°)╯︵ ┻━┻ (#<I>) | discordjs_discord.js | train | js |
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.