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 |
|---|---|---|---|---|---|
55f30d77cb864b39ecc3113fdce8dd26585bc888 | diff --git a/app/helpers/forever_style_guide/application_helper.rb b/app/helpers/forever_style_guide/application_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/forever_style_guide/application_helper.rb
+++ b/app/helpers/forever_style_guide/application_helper.rb
@@ -113,7 +113,7 @@ module ForeverStyleGuide
... | update artisan & opportunity urls | forever-inc_forever-style-guide | train | rb |
512642f8e2dda97d3446f2bb1fb4b1599f8846ef | diff --git a/src/ol/renderer/vector.js b/src/ol/renderer/vector.js
index <HASH>..<HASH> 100644
--- a/src/ol/renderer/vector.js
+++ b/src/ol/renderer/vector.js
@@ -7,6 +7,11 @@ import ImageState from '../ImageState.js';
import {getUid} from '../util.js';
/**
+ * Feature callback. The callback will be called with thr... | Document geometry argument of the feature callback for internal use | openlayers_openlayers | train | js |
a1ec4a8fcc4d74e38d76bf5b1ae66366991fb8e1 | diff --git a/lib/models/group.js b/lib/models/group.js
index <HASH>..<HASH> 100644
--- a/lib/models/group.js
+++ b/lib/models/group.js
@@ -11,6 +11,6 @@ var Group = function(properties) {
this[property] = properties[property];
}
}
-}
+};
module.exports = Group;
diff --git a/lib/models/user.js b/lib/mo... | Add missing ; to end of var/function declaration | gheeres_node-activedirectory | train | js,js |
f6830bd7f2d1597990a531d8903c6cf1063021a6 | diff --git a/generator.go b/generator.go
index <HASH>..<HASH> 100644
--- a/generator.go
+++ b/generator.go
@@ -135,7 +135,23 @@ func main() {
}
log.Println("Start parsing")
- parser.ParseGeneralApiInfo(path.Join(gopath, "src", *mainApiFile))
+
+ //Support gopaths with multiple directories
+ dirs := strings.Split(... | support multiple directories on the GOPATH | yvasiyarov_swagger | train | go |
f5ab80b67ed0ad69d57b520eb60b74fbd1669a60 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,7 @@ setup(
'Babel >= 0.9.4',
'Biryani[datetimeconv] >= 0.10.4',
'numpy >= 1.11',
- 'OpenFisca-Core[parsers] >= 9.0, < 10.0',
+ 'OpenFisca-Core[parsers] >= 10.0.1, < 11.0',
... | Require version of Core with typo fixes in error messages | openfisca_openfisca-web-api | train | py |
ad1a161e4d19b724e33bd88c1f5e1fdc8ca2023b | diff --git a/version.go b/version.go
index <HASH>..<HASH> 100644
--- a/version.go
+++ b/version.go
@@ -10,4 +10,4 @@ const Version = "0.2.3"
// A pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release
// such as "dev" (in develop... | Bumping version to <I> final | hashicorp_nomad | train | go |
184e5302cf006f13b5863720183c1cd8c78b0f6c | diff --git a/packages/VSTouchable/index.js b/packages/VSTouchable/index.js
index <HASH>..<HASH> 100644
--- a/packages/VSTouchable/index.js
+++ b/packages/VSTouchable/index.js
@@ -33,19 +33,19 @@ export default class VSTouchable extends React.Component {
render() {
if (TouchableComponent === TouchableNativeFee... | fix: pass down testID & other stuff with other props | vivintsolar-oss_react-native-components | train | js |
530c65792e6b4dbea952b936c952ed7216bfcfd5 | diff --git a/buildbot/steps/source.py b/buildbot/steps/source.py
index <HASH>..<HASH> 100644
--- a/buildbot/steps/source.py
+++ b/buildbot/steps/source.py
@@ -953,7 +953,7 @@ class Mercurial(Source):
if branch:
self.args['branch'] = branch
else:
- self.args['repourl'] =... | Fix "TypeError: cannot concatenate 'str' and 'NoneType' objects" error when repourl is None and branch is None. | buildbot_buildbot | train | py |
9374328868fa68da91a5678d2b3cecb018d7ddce | diff --git a/agent.go b/agent.go
index <HASH>..<HASH> 100644
--- a/agent.go
+++ b/agent.go
@@ -44,6 +44,7 @@ type agentS struct {
fsm *fsmS
from *fromS
host string
+ port string
client *http.Client
logger LeveledLogger
}
@@ -54,6 +55,7 @@ func newAgent(sensor *sensorS) *agentS {
agent := &agentS{
... | Preserve the agent port within instana.agentS | instana_go-sensor | train | go |
a7b09677ac94f4f5fdf07c81adcc0f6ce97e92b3 | diff --git a/daemon/daemon.go b/daemon/daemon.go
index <HASH>..<HASH> 100644
--- a/daemon/daemon.go
+++ b/daemon/daemon.go
@@ -929,8 +929,10 @@ func NewDaemon(dp datapath.Datapath) (*Daemon, *endpointRestoreState, error) {
if err := ipsec.LoadIPSecKeysFile(option.Config.IPSecKeyFile); err != nil {
return nil, ni... | cilium: ipsec, support kernel without ipv6 support
If kernel does not have ipv6 support forwarding file will not exist
so do not try to set the file if ipv6 is disabled. | cilium_cilium | train | go |
ca0e38e58b3367bffb2d600cccf96ca5579ee148 | diff --git a/rpcserver.go b/rpcserver.go
index <HASH>..<HASH> 100644
--- a/rpcserver.go
+++ b/rpcserver.go
@@ -1030,6 +1030,7 @@ func createTxRawResult(net btcwire.BitcoinNet, txSha string, mtx *btcwire.MsgTx,
vinList[i].Vout = int(uint32(v.PreviousOutpoint.Index))
disbuf, _ := btcscript.DisasmString(v.Signat... | Update for recent btcjson getrawtransaction change.
The ScriptSig field of the Vin type for TxRawResult is now a pointer in
btcjson so it can be properly omitted. This commit updates the code to
create the new ScriptSig object as needed. | btcsuite_btcd | train | go |
5050c5ffedbc48ba04a53431364a185fd8cbb2f4 | diff --git a/command/node_drain_test.go b/command/node_drain_test.go
index <HASH>..<HASH> 100644
--- a/command/node_drain_test.go
+++ b/command/node_drain_test.go
@@ -59,8 +59,7 @@ func TestNodeDrainCommand_Detach(t *testing.T) {
Name: "mock_task",
Driver: "mock_driver",
Config: map[string]interf... | command: Remove Extraneous field in nodedrain test | hashicorp_nomad | train | go |
a8eb13e486e31e2e6fff8f0c77610b4b80a516e4 | diff --git a/Test/EncapsulationTestAwareTrait.php b/Test/EncapsulationTestAwareTrait.php
index <HASH>..<HASH> 100644
--- a/Test/EncapsulationTestAwareTrait.php
+++ b/Test/EncapsulationTestAwareTrait.php
@@ -119,7 +119,7 @@ trait EncapsulationTestAwareTrait
$stub = $this->getStub();
- if (!isset($stu... | Checking if stub is set with "$stub === null" | ongr-io_ElasticsearchBundle | train | php |
98b52cd949d9272656e7bbd8ccb3beb0f151481f | diff --git a/lib/models.js b/lib/models.js
index <HASH>..<HASH> 100644
--- a/lib/models.js
+++ b/lib/models.js
@@ -670,14 +670,19 @@ class TypeConstraint extends Constraint {
}
class IncludesTypeConstraint extends Constraint {
- constructor(isA, card, path) {
+ constructor(isA, card, path, isOnValue=false) {
... | Working includesTypeConstraint
full support for fields, mostly supports values | standardhealth_shr-models | train | js |
cb8dfac6dfcfcdbb2ae4598088ea8bba5d0e9471 | diff --git a/src/Pagination/IlluminatePaginatorAdapter.php b/src/Pagination/IlluminatePaginatorAdapter.php
index <HASH>..<HASH> 100755
--- a/src/Pagination/IlluminatePaginatorAdapter.php
+++ b/src/Pagination/IlluminatePaginatorAdapter.php
@@ -28,7 +28,7 @@ class IlluminatePaginatorAdapter extends Paginator implements P... | Support Illuminate\Pagination\Paginator from <I>-dev+
From version <I>-dev Environment is renamed to Factory.
Added a method_exists() check to use the one existing. | thephpleague_fractal | train | php |
19691d6db62623dc006ac449167600dc5e9310c8 | diff --git a/pyemma/msm/estimators/lagged_model_validators.py b/pyemma/msm/estimators/lagged_model_validators.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/estimators/lagged_model_validators.py
+++ b/pyemma/msm/estimators/lagged_model_validators.py
@@ -373,7 +373,7 @@ class ChapmanKolmogorovValidator(LaggedModelValid... | use model instead of estimator to access active_set | markovmodel_PyEMMA | train | py |
38cb5ec2d037626fab93aca2d6400eb950a2bec6 | diff --git a/config/webpack.loaders.js b/config/webpack.loaders.js
index <HASH>..<HASH> 100644
--- a/config/webpack.loaders.js
+++ b/config/webpack.loaders.js
@@ -15,7 +15,6 @@ module.exports = [
loader: 'url-loader?limit=8192',
},{
test: /\.css$/,
- include: /node_modules/,
loade... | fix(Loaders): Make css loader rule work on *all* css files. | Kitware_paraviewweb | train | js |
a40c1df2a836d38aab25f53300fc59ced49a26d2 | diff --git a/livy/client.py b/livy/client.py
index <HASH>..<HASH> 100644
--- a/livy/client.py
+++ b/livy/client.py
@@ -58,15 +58,7 @@ class JsonClient:
def _request(self, method: str, endpoint: str, data: dict = None) -> dict:
url = self.url.rstrip("/") + endpoint
- response = self.session.reques... | Do not pass session attributes when making requests
I've tested out a requests session against badssl.com and confirmed that
this is not necessary - setting the `verify` attribute on the session is
sufficient. | acroz_pylivy | train | py |
ac014dd17012b539d07b83d485a056c7abd73a84 | diff --git a/hypercorn/protocol/h2.py b/hypercorn/protocol/h2.py
index <HASH>..<HASH> 100755
--- a/hypercorn/protocol/h2.py
+++ b/hypercorn/protocol/h2.py
@@ -108,9 +108,9 @@ class H2Protocol:
pass
elif isinstance(event, (EndBody, StreamClosed)):
self.connection.end_stream... | Bugfix flush before closing the stream
This ensures that the closing data is sent before the stream is torn
down and closed. | pgjones_hypercorn | train | py |
6810c6b6f6877a3074e53fda6a4204aee72ae721 | diff --git a/tests/unit/components/LMap.spec.js b/tests/unit/components/LMap.spec.js
index <HASH>..<HASH> 100644
--- a/tests/unit/components/LMap.spec.js
+++ b/tests/unit/components/LMap.spec.js
@@ -213,13 +213,12 @@ describe('component: LMap.vue', () => {
noBlockingAnimations: true,
});
- expect(wrapp... | Set new prop values once in quarantined test | KoRiGaN_Vue2Leaflet | train | js |
488266694f21b41aff2b5cc55c343997f80545f6 | diff --git a/cmd/swagger/commands/generate/client.go b/cmd/swagger/commands/generate/client.go
index <HASH>..<HASH> 100644
--- a/cmd/swagger/commands/generate/client.go
+++ b/cmd/swagger/commands/generate/client.go
@@ -102,7 +102,14 @@ func (c *Client) Execute(args []string) error {
return err
}
- rp, err := fil... | Fixes bug revealed due to baseImport target path resolution | go-swagger_go-swagger | train | go |
2b483230a1f79e2127b62032ef42d388ba1f991f | diff --git a/tests/vit_mae/test_modeling_tf_vit_mae.py b/tests/vit_mae/test_modeling_tf_vit_mae.py
index <HASH>..<HASH> 100644
--- a/tests/vit_mae/test_modeling_tf_vit_mae.py
+++ b/tests/vit_mae/test_modeling_tf_vit_mae.py
@@ -427,7 +427,9 @@ class TFViTMAEModelTest(TFModelTesterMixin, unittest.TestCase):
... | Raise diff tolerance value for TFViTMAEModelTest (#<I>)
* Raise diff tolerance value | huggingface_pytorch-pretrained-BERT | train | py |
b2f3a021348a899a84d6b3cefdfeb798bb09e7ee | diff --git a/src/ruby/lib/grpc/generic/active_call.rb b/src/ruby/lib/grpc/generic/active_call.rb
index <HASH>..<HASH> 100644
--- a/src/ruby/lib/grpc/generic/active_call.rb
+++ b/src/ruby/lib/grpc/generic/active_call.rb
@@ -59,7 +59,7 @@ module GRPC
include Core::CallOps
extend Forwardable
attr_reader(:de... | Allow `peer` and `peer_cert` to be used from ActiveCall::SingleReqView | grpc_grpc | train | rb |
50b0dcbe73a5acb85aad5985b97b20654309e14c | diff --git a/lib/fog/hp/storage.rb b/lib/fog/hp/storage.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/hp/storage.rb
+++ b/lib/fog/hp/storage.rb
@@ -167,7 +167,11 @@ module Fog
encoded_path = "#{path}/#{Fog::HP.escape(container)}/#{Fog::HP.escape(object)}"
string_to_sign = "#{method}\n#{expires}\n... | [HP|storage] Fix generate_object_temp_url to use signer that is backward compatible to <I> | fog_fog | train | rb |
dacc4881c5ef9312429e8565dca22da41eef6a37 | diff --git a/spec/ruby-lint/virtual_machine/classes/redefining_spec.rb b/spec/ruby-lint/virtual_machine/classes/redefining_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ruby-lint/virtual_machine/classes/redefining_spec.rb
+++ b/spec/ruby-lint/virtual_machine/classes/redefining_spec.rb
@@ -20,5 +20,20 @@ end
.... | Spec to see if constants can be re-defined. | YorickPeterse_ruby-lint | train | rb |
9a697745be24146e4c7648703fa0fa3d1c34ced2 | diff --git a/Bootstraps/Symfony.php b/Bootstraps/Symfony.php
index <HASH>..<HASH> 100644
--- a/Bootstraps/Symfony.php
+++ b/Bootstraps/Symfony.php
@@ -150,7 +150,7 @@ class Symfony implements BootstrapInterface, HooksInterface, ApplicationEnvironm
//Symfony\Bundle\TwigBundle\Loader\FilesystemLoader
... | Only register twig files when debugging (#<I>) | php-pm_php-pm-httpkernel | train | php |
791160d3802a1e294dab734b7e5cce7c8b8e36c9 | diff --git a/Task/Generate/ComponentClassHandler.php b/Task/Generate/ComponentClassHandler.php
index <HASH>..<HASH> 100644
--- a/Task/Generate/ComponentClassHandler.php
+++ b/Task/Generate/ComponentClassHandler.php
@@ -27,6 +27,10 @@ class ComponentClassHandler {
// DIRTY HACK.
$machine_name = str_replace(':'... | Added exception throwing to class handler. | drupal-code-builder_drupal-code-builder | train | php |
9e6314ddc3efb7e0d8629d805c517b02a3347b2f | diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index <HASH>..<HASH> 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -8,6 +8,9 @@ var gulp = require('gulp'),
runSequence = require('run-sequence'),
toc = require('gulp-doctoc'),
styleguide = require('./lib/styleguide'),
+ sass = require('gu... | Process sass files before giving them to styleguide for applying | SC5_sc5-styleguide | train | js |
3c0e41a2052e0959dd33952188ba6891cf9db3cd | diff --git a/tests/regressionTest.php b/tests/regressionTest.php
index <HASH>..<HASH> 100644
--- a/tests/regressionTest.php
+++ b/tests/regressionTest.php
@@ -563,6 +563,21 @@ class regressionTest extends PHPUnit_Framework_TestCase
),
Array(
+ 'id' => 138,
+ 'te... | add test for #<I> , now 1 failed test | zordius_lightncandy | train | php |
3fe1a1cacd0cfb8173570753c7a29481755d4ac8 | diff --git a/querydsl-sql/src/test/java/com/mysema/query/SelectBase.java b/querydsl-sql/src/test/java/com/mysema/query/SelectBase.java
index <HASH>..<HASH> 100644
--- a/querydsl-sql/src/test/java/com/mysema/query/SelectBase.java
+++ b/querydsl-sql/src/test/java/com/mysema/query/SelectBase.java
@@ -630,6 +630,7 @@ publi... | Exclude Like_Escape test for Firebird | querydsl_querydsl | train | java |
851a7ed1a0070839dd50f2efd6d9c4e763563c07 | diff --git a/connect-utils/src/main/java/com/github/jcustenborder/kafka/connect/utils/config/validators/ValidHostAndPort.java b/connect-utils/src/main/java/com/github/jcustenborder/kafka/connect/utils/config/validators/ValidHostAndPort.java
index <HASH>..<HASH> 100644
--- a/connect-utils/src/main/java/com/github/jcuste... | Corrected toString() for ValidHostAndPort. Fixes #<I>. (#<I>) | jcustenborder_connect-utils | train | java |
070329cbfb84d8a72ee8a7b3f544516430828500 | diff --git a/billy/bin/validate_api.py b/billy/bin/validate_api.py
index <HASH>..<HASH> 100755
--- a/billy/bin/validate_api.py
+++ b/billy/bin/validate_api.py
@@ -19,7 +19,7 @@ def get_xml_schema():
schema_dir = os.path.join(cwd, "../schemas/relax/")
rnc_path = os.path.join(schema_dir, 'api.rnc')
- rng_p... | don't require writes to schema directory for XML validation | openstates_billy | train | py |
74509f3286efd2755caff116e1019d1c63f227dc | diff --git a/examples/explorer.go b/examples/explorer.go
index <HASH>..<HASH> 100644
--- a/examples/explorer.go
+++ b/examples/explorer.go
@@ -8,6 +8,7 @@ import (
"log"
"os"
"strings"
+ "time"
"github.com/paypal/gatt"
"github.com/paypal/gatt/examples/option"
@@ -115,9 +116,24 @@ func onPeriphConnected(p ga... | explorer: subscribe to characters, if possible | paypal_gatt | train | go |
b5365d8c015b11a26b5ac6f29a40cd4d59e550e3 | diff --git a/tornado/options.py b/tornado/options.py
index <HASH>..<HASH> 100644
--- a/tornado/options.py
+++ b/tornado/options.py
@@ -175,7 +175,7 @@ class _Options(dict):
def __getattr__(self, name):
if isinstance(self.get(name), _Option):
return self[name].value()
- raise Error("Unr... | Make options.__getattr__ raise AttributeError instead of Error for consistency
with standard attribute lookups (so getattr(options, 'foo', None) works
if no option 'foo' has been defined). | tornadoweb_tornado | train | py |
be5b701636364221ef34251b54b556186825f1c5 | diff --git a/internal/service/account/alternate_contact_test.go b/internal/service/account/alternate_contact_test.go
index <HASH>..<HASH> 100644
--- a/internal/service/account/alternate_contact_test.go
+++ b/internal/service/account/alternate_contact_test.go
@@ -1,4 +1,4 @@
-package account
+package account_test
imp... | Package is 'account_test'. | terraform-providers_terraform-provider-aws | train | go |
0c578216d13cfd80c0241979c42f541cae81c116 | diff --git a/lib/impala/cursor.rb b/lib/impala/cursor.rb
index <HASH>..<HASH> 100644
--- a/lib/impala/cursor.rb
+++ b/lib/impala/cursor.rb
@@ -99,7 +99,7 @@ module Impala
row = {}
fields = raw.split(metadata.delim)
- fields.zip(metadata.schema.fieldSchemas).each do |raw_value, schema|
+ metada... | zip by schema first, then values
this fixes a bug where if a row has a single value which is nil, the result
will be:
{:foo=>1},
{},
{:foo=>3}
instead of:
{:foo=>1},
{:foo=>nil},
{:foo=>3} | colinmarc_impala-ruby | train | rb |
72d9726e7fee678fd8e815f02b751e7fc5a4a49c | diff --git a/channeldb/channel.go b/channeldb/channel.go
index <HASH>..<HASH> 100644
--- a/channeldb/channel.go
+++ b/channeldb/channel.go
@@ -1673,12 +1673,12 @@ type ChannelCloseSummary struct {
// IsPending indicates whether this channel is in the 'pending close'
// state, which means the channel closing trans... | channeldb/channel: update IsPending godoc
The pending state definitin in ChannelCloseSummary was slightly changed
in such a way that channels that has had their commitment broadcasted
now is no longer considered "pending close". They now instead stay in
the open chan bucket with the ChanStatus "CommitmentBroadcasted" ... | lightningnetwork_lnd | train | go |
c81deb9a2df54290ea2eb73374c022632fdaaf56 | diff --git a/lib/modules/coverage/contract_source.js b/lib/modules/coverage/contract_source.js
index <HASH>..<HASH> 100644
--- a/lib/modules/coverage/contract_source.js
+++ b/lib/modules/coverage/contract_source.js
@@ -278,7 +278,7 @@ class ContractSource {
}
default:
- console.log(`Don't k... | Don't log that we don't know how to handle node | embark-framework_embark | train | js |
d025e9b4ad40e9103d84ce7afffc25c65644d718 | diff --git a/cli/lib/kontena/cli/apps/monitor_command.rb b/cli/lib/kontena/cli/apps/monitor_command.rb
index <HASH>..<HASH> 100644
--- a/cli/lib/kontena/cli/apps/monitor_command.rb
+++ b/cli/lib/kontena/cli/apps/monitor_command.rb
@@ -31,12 +31,14 @@ module Kontena::Cli::Apps
nodes = {}
services.each ... | do not raise error on app monitor when service not found | kontena_kontena | train | rb |
3b9b06227e3483ebd6a690e72e5b2dd4197fa517 | diff --git a/src/structures/Message.js b/src/structures/Message.js
index <HASH>..<HASH> 100644
--- a/src/structures/Message.js
+++ b/src/structures/Message.js
@@ -535,7 +535,7 @@ class Message {
}
_addReaction(emoji, user) {
- const emojiID = emoji.id ? `${emoji.name}:${emoji.id}` : emoji.name;
+ const em... | Fix _removeReaction's reaction lookup (#<I>)
* Fix _removeReaction's `this.reactions` lookup
* Use emoji.identifier for reaction collection keys | discordjs_discord.js | train | js |
7bce0325f54ff1b6398ba7cfefba0d60209da098 | diff --git a/lib/rack/timeout.rb b/lib/rack/timeout.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/timeout.rb
+++ b/lib/rack/timeout.rb
@@ -103,7 +103,7 @@ module Rack
sleep(sleep_seconds)
end
RT._set_state! env, :timed_out
- app_thread.raise(RequestTimeoutError, "Request #{"w... | this is being printed in ms, not seconds | heroku_rack-timeout | train | rb |
9c5d96bee9b976268c23f61174b67219ebc4b613 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -310,5 +310,5 @@ v = Validator()
# -- Options for extlinks extension --------------------------------------------
extlinks = {
- 'issue': ('https://github.com/sphinx-doc/sphinx/issues/%s', '#')
+ 'iss... | Fixes base url for issues in docs/conf.py
Closes #<I>. | pyeve_cerberus | train | py |
d91df46bd4b406609e395d5ba8f34ce49a84bf34 | diff --git a/src/Processors/MarkdownProcessor.php b/src/Processors/MarkdownProcessor.php
index <HASH>..<HASH> 100644
--- a/src/Processors/MarkdownProcessor.php
+++ b/src/Processors/MarkdownProcessor.php
@@ -48,9 +48,8 @@ class MarkdownProcessor extends AbstractProcessor
protected function getContent(SplFileInfo $f... | :bug: Process blade first then markdown (#<I>) | serenohq_core | train | php |
5fa2d6d3a8adcad7a9ec20af1ea8d09bdee996c2 | diff --git a/extensions/yii/bootstrap/NavBar.php b/extensions/yii/bootstrap/NavBar.php
index <HASH>..<HASH> 100644
--- a/extensions/yii/bootstrap/NavBar.php
+++ b/extensions/yii/bootstrap/NavBar.php
@@ -76,7 +76,7 @@ class NavBar extends Widget
}
echo Html::endTag('div');
- echo Html::beginTag('div', ['class' ... | Allow multiple navbars
Changed the navbar target to be based of the widget id and not static. | yiisoft_yii2-debug | train | php |
071e8922ce5e9f559ffd3f62884fec8e0ae07fd9 | diff --git a/tests/ShoutTest.php b/tests/ShoutTest.php
index <HASH>..<HASH> 100644
--- a/tests/ShoutTest.php
+++ b/tests/ShoutTest.php
@@ -362,5 +362,21 @@ class ShoutTest extends \PHPUnit_Framework_TestCase {
$shout->setMaximumLogLevel('test');
}
+ public function testNullLogLevelLimitValueDisablesL... | Added test to check if "null" limit disables limiting log level. | kiler129_Shout | train | php |
7cc151b83d7ac59e35e1c765cd416399d6d23bb6 | diff --git a/go/test/endtoend/onlineddl/vrepl_suite/onlineddl_vrepl_suite_test.go b/go/test/endtoend/onlineddl/vrepl_suite/onlineddl_vrepl_suite_test.go
index <HASH>..<HASH> 100644
--- a/go/test/endtoend/onlineddl/vrepl_suite/onlineddl_vrepl_suite_test.go
+++ b/go/test/endtoend/onlineddl/vrepl_suite/onlineddl_vrepl_sui... | support extra flags for online ddl strategy | vitessio_vitess | train | go |
ec76fd4540c874ae75c4bef8e6e5ae7bdcdf7768 | diff --git a/angr/simos.py b/angr/simos.py
index <HASH>..<HASH> 100644
--- a/angr/simos.py
+++ b/angr/simos.py
@@ -174,7 +174,7 @@ class SimLinux(SimOS):
self.proj.hook(randaddr, IFuncResolver, kwargs=kwargs)
self.proj.loader.memory.write_addr_at(gotaddr, randaddr)
- ... | Allow chroot option to be passed as a state creation option | angr_angr | train | py |
4ca394ab0162bd9f4cc96023f319dd38952eeac6 | diff --git a/esptool.py b/esptool.py
index <HASH>..<HASH> 100755
--- a/esptool.py
+++ b/esptool.py
@@ -600,7 +600,7 @@ def write_flash(esp, args):
def image_info(args):
image = ESPFirmwareImage(args.filename)
- print ('Entry point: %08x' % image.entrypoint) if image.entrypoint != 0 else 'Entry point not set'... | Formatting: Remove space before open parenthesis | espressif_esptool | train | py |
8e10dffbab4b03fbf3263e2f48d381f64503e5ce | diff --git a/lib/mini_magick/configuration.rb b/lib/mini_magick/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/mini_magick/configuration.rb
+++ b/lib/mini_magick/configuration.rb
@@ -87,7 +87,7 @@ module MiniMagick
base.validate_on_write = true
base.whiny = true
base.shell_api = "open3"
- ... | Set default logger's level to INFO
The default logger's level is DEBUG, which means that by default
MiniMagick would log commands, which is a change from previous
behaviour. We want our logging to be for debugging, opt-in, so we
disable it by default by setting logger level to INFO. | minimagick_minimagick | train | rb,rb |
cfa3be4ca26399e9d45776442f75069e77ee25b9 | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -440,13 +440,12 @@ class ClassicalCalculator(base.HazardCalculator):
logging.info(MAXMEMORY % (T, num_levels, max... | Generate at max 5C tasks [skip hazardlib] | gem_oq-engine | train | py |
43a86dccaa41c5403f3a173275393af8207e5f64 | diff --git a/lib/active_scaffold/finder.rb b/lib/active_scaffold/finder.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/finder.rb
+++ b/lib/active_scaffold/finder.rb
@@ -137,6 +137,11 @@ module ActiveScaffold
time_parts = [[:hour, '%H'], [:min, '%M'], [:sec, '%S']].collect {|part, format_part| for... | complete datetime if people write only date | activescaffold_active_scaffold | train | rb |
34791dbf690bb1746ad13750042eede1de90024f | diff --git a/src/test/java/com/suse/saltstack/netapi/event/TyrusWebSocketEventsTest.java b/src/test/java/com/suse/saltstack/netapi/event/TyrusWebSocketEventsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/suse/saltstack/netapi/event/TyrusWebSocketEventsTest.java
+++ b/src/test/java/com/suse/saltstack/neta... | try-with-resources is not useful if you need to check the reference outside
of the block. And if an exception happens, we want the test to fail anyway. | SUSE_salt-netapi-client | train | java |
41445246d9e7d2ff3b390ae6a1267ec842822c06 | diff --git a/.dassie/config/initializers/hyrax.rb b/.dassie/config/initializers/hyrax.rb
index <HASH>..<HASH> 100644
--- a/.dassie/config/initializers/hyrax.rb
+++ b/.dassie/config/initializers/hyrax.rb
@@ -15,6 +15,7 @@ Hyrax.config do |config|
config.register_curation_concern :monograph
config.iiif_image_serv... | Allow dassie app to create resources without files | samvera_hyrax | train | rb |
c79586d767f8e73d092684b7747d7032ab23636d | diff --git a/core/server/master/src/main/java/alluxio/master/DefaultAlluxioMaster.java b/core/server/master/src/main/java/alluxio/master/DefaultAlluxioMaster.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/DefaultAlluxioMaster.java
+++ b/core/server/master/src/main/java/alluxio/ma... | Update DefaultAlluxioMaster.java
edit the import class of location | Alluxio_alluxio | train | java |
fc02b8ac18249c5ed427a2c40541e28babc823b6 | diff --git a/docs/web_modules/layouts/Showcase/index.js b/docs/web_modules/layouts/Showcase/index.js
index <HASH>..<HASH> 100644
--- a/docs/web_modules/layouts/Showcase/index.js
+++ b/docs/web_modules/layouts/Showcase/index.js
@@ -52,7 +52,7 @@ const Showcase = (props) => {
{
"To add your own, y... | Docs: fix Showcase "edit this file" link. | phenomic_phenomic | train | js |
551651f73437258238ca7e2fb94ecb0bd94f43e0 | diff --git a/src/03.Language._build.js b/src/03.Language._build.js
index <HASH>..<HASH> 100644
--- a/src/03.Language._build.js
+++ b/src/03.Language._build.js
@@ -435,11 +435,14 @@ Language.build = function () {
next_rpn(the_operator);
}
if (rpn_stack.length !== 1) {
- console.warn('Stack not the right size... | Free variables
Specify unbound variables in a parsed expression (only on the root
Expression object). E.g: M('x^2').unbound.x will be the symbol 'x' in
the equation. Remember that M('x') != M('x') as a new variable is
created in each context. | aantthony_javascript-cas | train | js |
ae940290c078cdbf255cde957c3e6c3c224abc9c | diff --git a/spec/watirspec/lib/server.rb b/spec/watirspec/lib/server.rb
index <HASH>..<HASH> 100644
--- a/spec/watirspec/lib/server.rb
+++ b/spec/watirspec/lib/server.rb
@@ -106,7 +106,6 @@ module WatirSpec
set :environment, :production
set :bind, "localhost" if WatirSpec.platform == :windows
... | support all servers supported by Sinatra | watir_watir | train | rb |
967f2d0afd4e2794c2c9175ce9097270c6d6ff16 | diff --git a/salt/modules/tomcat.py b/salt/modules/tomcat.py
index <HASH>..<HASH> 100644
--- a/salt/modules/tomcat.py
+++ b/salt/modules/tomcat.py
@@ -21,8 +21,9 @@ def __catalina_home():
locations = ['/usr/share/tomcat*', '/opt/tomcat']
for location in locations:
catalina_home = glob.glob(location)
... | Correcting a logic error where for loop would continue
instead of returning when the catalina_home is found.
Additionally using glob.glob('/usr/local/tomcat*') might be
dangerous because it could return invalid catalina_homes::
>>> import glob
>>> glob.glob( '/usr/share/tomcat*' )
['/usr/share/tomcat7-root', '/usr... | saltstack_salt | train | py |
42d7c6f9d6aac5fae8e570e9fdd985d767e3c0bd | diff --git a/lib/apivore/rspec_builder.rb b/lib/apivore/rspec_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/apivore/rspec_builder.rb
+++ b/lib/apivore/rspec_builder.rb
@@ -7,7 +7,8 @@ module Apivore
module RspecBuilder
include Apivore::RspecMatchers
include ActionDispatch::Integration
-
+ include RSp... | Support expect and allow in apivore_setup. | westfieldlabs_apivore | train | rb,rb |
0764b57689cfe21fa33397f73b9188b3073d515c | diff --git a/lib/autosign/decoder.rb b/lib/autosign/decoder.rb
index <HASH>..<HASH> 100644
--- a/lib/autosign/decoder.rb
+++ b/lib/autosign/decoder.rb
@@ -17,6 +17,9 @@ module Autosign
rescue OpenSSL::X509::RequestError
@log.error "Rescued OpenSSL::X509::RequestError; unable to decode CSR"
retu... | catch openssl exceptions more aggressively because under JRuby you get a very confusing error if you pass jruby-openssl an invalid CSR | danieldreier_autosign | train | rb |
45a2638e6dd75095fd8b79c1253b22ce8c85c442 | diff --git a/checkmgr/check.go b/checkmgr/check.go
index <HASH>..<HASH> 100644
--- a/checkmgr/check.go
+++ b/checkmgr/check.go
@@ -147,10 +147,7 @@ func (cm *CheckManager) initializeTrapURL() error {
}
} else {
searchCriteria := fmt.Sprintf(
- "(active:1)(host:\"%s\")(type:\"%s\")(tags:%s)",
- cm.checkTarge... | upd: remove host from search criteria. active, type, search tag and filter on instance id | circonus-labs_circonus-gometrics | train | go |
44e1ca845409e5a9f989e446556f85e0d219114b | diff --git a/gary/potential/tests/test_cbuiltin.py b/gary/potential/tests/test_cbuiltin.py
index <HASH>..<HASH> 100644
--- a/gary/potential/tests/test_cbuiltin.py
+++ b/gary/potential/tests/test_cbuiltin.py
@@ -84,7 +84,12 @@ class PotentialTestBase(object):
def test_numerical_gradient_vs_gradient(self):
... | fix test to not go to 0 and 3d grid | adrn_gala | train | py |
104f9f4797d18dd4ec4afdf7b56cf3b7014a7570 | diff --git a/ghettoq/backends/couch_db.py b/ghettoq/backends/couch_db.py
index <HASH>..<HASH> 100644
--- a/ghettoq/backends/couch_db.py
+++ b/ghettoq/backends/couch_db.py
@@ -74,4 +74,6 @@ class CouchdbBackend(BaseBackend):
return item['payload']
def purge(self, queue):
- return self.client.delet... | only attempt a delete if the queue is non-empty | ask_ghettoq | train | py |
e368a61247c33585588b4162d191afe8bfb5de7b | diff --git a/src/Language.php b/src/Language.php
index <HASH>..<HASH> 100644
--- a/src/Language.php
+++ b/src/Language.php
@@ -206,7 +206,7 @@ class Language
sprintf(
'%1$s() is deprecated and will be removed in 3.0, use %2$s::translate() instead.',
__METHOD__,
- Language::class
+ self::class
),... | Use self:: to appease PHPCS | joomla-framework_language | train | php |
41ad5d00acdffaf9c7c59cc3cd7c0dd19c2c7600 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ class test(cmd.Command):
setup(
- name='factory_boy_rbarrois',
+ name='factory_boy',
version=VERSION,
description="A test fixtures replacement based on thoughtbot's factory_girl for Ruby.",
... | Fix package name for re-upload to PyPI. | FactoryBoy_factory_boy | train | py |
d4d175f2e3126e1c2ed3149afd99af25f04813b3 | diff --git a/tests/test_decorators.py b/tests/test_decorators.py
index <HASH>..<HASH> 100644
--- a/tests/test_decorators.py
+++ b/tests/test_decorators.py
@@ -341,6 +341,16 @@ def test_marshmallow_support():
assert hug.test.get(api, 'test_marshmallow_input', item='bacon').data == {'errors': {'item': {'type': 'in... | Add test to define how marshmallow style fields should work | hugapi_hug | train | py |
837d9421ae7614a50767867c1dadecfb2a2fab75 | diff --git a/plan/client.go b/plan/client.go
index <HASH>..<HASH> 100644
--- a/plan/client.go
+++ b/plan/client.go
@@ -98,6 +98,10 @@ func (c Client) Update(id string, params *stripe.PlanParams) (*stripe.Plan, erro
body.Add("statement_descriptor", params.Statement)
}
+ if params.TrialPeriod > 0 {
+ body.Add... | Add trial_period_days to plan update method | stripe_stripe-go | train | go |
3c2fd851ef99f329e7874038f9319ffd0dd3f2dc | diff --git a/src/commands/build/AndroidBuilder.js b/src/commands/build/AndroidBuilder.js
index <HASH>..<HASH> 100644
--- a/src/commands/build/AndroidBuilder.js
+++ b/src/commands/build/AndroidBuilder.js
@@ -43,7 +43,7 @@ export default class AndroidBuilder extends BaseBuilder {
if (this.options.clearCredentials ||... | changed list type to rawlist
fbshipit-source-id: <I>a2 | expo_exp | train | js,js |
2c5349a448217ad5fe74573ae92840d0e9177518 | diff --git a/src/Leevel/Log/Console/Clear.php b/src/Leevel/Log/Console/Clear.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Log/Console/Clear.php
+++ b/src/Leevel/Log/Console/Clear.php
@@ -27,8 +27,6 @@ use Leevel\Kernel\IApp;
/**
* log 文件缓存清理.
- *
- * @codeCoverageIgnore
*/
class Clear extends Command
{
@@ ... | refactor(log): remove @codeCoverageIgnore and rename $cachePath to $cacheDir | hunzhiwange_framework | train | php |
8ebee67f80267cf049fa3f36022606bbcf9264c5 | diff --git a/src/wyil/lang/Type.java b/src/wyil/lang/Type.java
index <HASH>..<HASH> 100755
--- a/src/wyil/lang/Type.java
+++ b/src/wyil/lang/Type.java
@@ -1711,7 +1711,7 @@ public abstract class Type {
case K_FUNCTION:
return new Fun(automata);
case K_LABEL:
- return T_LABEL((String)root.data);
+ re... | Bug fix for labels. Standard library compiles again. | Whiley_WhileyCompiler | train | java |
787515ad1ae58104238d895cf8cb5876e98a103e | diff --git a/lib/jschema/schema_ref.rb b/lib/jschema/schema_ref.rb
index <HASH>..<HASH> 100644
--- a/lib/jschema/schema_ref.rb
+++ b/lib/jschema/schema_ref.rb
@@ -7,7 +7,10 @@ module JSchema
end
def __getobj__
- @schema ||= JSONReference.dereference(@uri, @parent)
+ @schema ||= begin
+ JSON... | Fail if schema reference cannot be found | soylent_jschema | train | rb,rb |
0866512f4994a1234b9a1e3ad6417dee58c46bab | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,14 +28,14 @@ setup(
version="0.6.1", # Update in ores/__init__.py too.
author="Aaron Halfaker",
author_email="ahalfaker@wikimedia.org",
- description=("A webserver for hosting scoring services."),
+ d... | Minor cleanip to setup.py | wikimedia_ores | train | py |
4fa75f91d23282627775bb69457c012cfac1e3dd | diff --git a/Xlib/protocol/display.py b/Xlib/protocol/display.py
index <HASH>..<HASH> 100644
--- a/Xlib/protocol/display.py
+++ b/Xlib/protocol/display.py
@@ -1,4 +1,4 @@
-# $Id: display.py,v 1.20 2006-06-08 23:01:52 mggrant Exp $
+# $Id: display.py,v 1.21 2006-06-08 23:50:16 mggrant Exp $
#
# Xlib.protocol.display -... | Mangled name into ASCII as a workaround for encoding issues | python-xlib_python-xlib | train | py |
277accc973fd3c5bece0f30fce9ace8e2a83954a | diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -1673,18 +1673,6 @@ def directory(name,
- user
- group
- mode
- - ignore_files
-
- /var/l... | Fix up a dup doc entry. | saltstack_salt | train | py |
66a3ca69e67a929a294764845656f95334b542a5 | diff --git a/lib/fog/bluebox/requests/compute/create_block.rb b/lib/fog/bluebox/requests/compute/create_block.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/bluebox/requests/compute/create_block.rb
+++ b/lib/fog/bluebox/requests/compute/create_block.rb
@@ -20,7 +20,7 @@ module Fog
# * body<~Hash>:
def... | Correct the Blue Box create_block method to check for ssh_public_key, not public_key | fog_fog | train | rb |
9f3441a14fc6e4760d33874d25c30ab8afa49245 | diff --git a/mongoose_fixtures.js b/mongoose_fixtures.js
index <HASH>..<HASH> 100644
--- a/mongoose_fixtures.js
+++ b/mongoose_fixtures.js
@@ -121,7 +121,7 @@ function loadObject(data, db, callback) {
var iterator = function(modelName, next){
insertCollection(modelName, data[modelName], db, next);
};... | Changed the argument to forEach to be an array of object keys | powmedia_mongoose-fixtures | train | js |
1238bf69c0903b5f3a78911bece9cf5b8106db19 | diff --git a/list.go b/list.go
index <HASH>..<HASH> 100644
--- a/list.go
+++ b/list.go
@@ -10,6 +10,8 @@ import (
"time"
)
+// List represents Trello lists.
+// https://developers.trello.com/reference/#list-object
type List struct {
client *Client
ID string `json:"id"`
@@ -21,11 +23,13 @@ type List str... | Add comments to public members of list (golint) | adlio_trello | train | go |
49c5e4fa9ba1ba586eb3b218e67437250d0ef9ad | diff --git a/scripts/webpack/cssBundler.js b/scripts/webpack/cssBundler.js
index <HASH>..<HASH> 100644
--- a/scripts/webpack/cssBundler.js
+++ b/scripts/webpack/cssBundler.js
@@ -82,11 +82,11 @@ function cssBundler() {
devtool: 'source-map',
module: {
rules: [
+ ...rules,
{
- ... | chore(scripts): cssBundler
Add new property to options object to add additonal rules to bundler. | trend-community_trend-components | train | js |
b1b81750ffbf2884fde0e40e9471c1973b0a6049 | diff --git a/lib/express_templates/components/base.rb b/lib/express_templates/components/base.rb
index <HASH>..<HASH> 100644
--- a/lib/express_templates/components/base.rb
+++ b/lib/express_templates/components/base.rb
@@ -73,7 +73,11 @@ module ExpressTemplates
end
def self.inherited(subclass)
- ... | [#<I>] expose builder_method_name in Components::Base | aelogica_express_templates | train | rb |
6c43ce710ddc60bb0fcfe55d78a166564e90a053 | diff --git a/requests_oauthlib/oauth2_session.py b/requests_oauthlib/oauth2_session.py
index <HASH>..<HASH> 100644
--- a/requests_oauthlib/oauth2_session.py
+++ b/requests_oauthlib/oauth2_session.py
@@ -198,7 +198,7 @@ class OAuth2Session(requests.Session):
password=password, **kwargs)
clien... | Allow explicit bypass of basic auth logic branch | requests_requests-oauthlib | train | py |
3a23e7026e9d61524a2a90115eecc9ad8d20309b | diff --git a/payment_paypal/indico_payment_paypal/controllers.py b/payment_paypal/indico_payment_paypal/controllers.py
index <HASH>..<HASH> 100644
--- a/payment_paypal/indico_payment_paypal/controllers.py
+++ b/payment_paypal/indico_payment_paypal/controllers.py
@@ -69,6 +69,10 @@ class RHPaypalIPN(RH):
cu... | Payment/PayPal: Add logger for refund request | indico_indico-plugins | train | py |
a915f91ab7b766c8e31bf64655d1d7839217c80f | diff --git a/salt/config/__init__.py b/salt/config/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/config/__init__.py
+++ b/salt/config/__init__.py
@@ -72,9 +72,8 @@ if salt.utils.platform.is_windows():
# Otherwise, it will not respond to CLI calls
_MASTER_USER = "SYSTEM"
elif salt.utils.platform.is_proxy... | removing extra definition for _DFLT_FQDNS_GRAINS | saltstack_salt | train | py |
e50eac457e86ac42ccd40e4199f43bedaedf9366 | diff --git a/Tests/Fixtures/IO/MockIO.php b/Tests/Fixtures/IO/MockIO.php
index <HASH>..<HASH> 100644
--- a/Tests/Fixtures/IO/MockIO.php
+++ b/Tests/Fixtures/IO/MockIO.php
@@ -99,6 +99,14 @@ class MockIO extends BaseIO
/**
* {@inheritDoc}
*/
+ public function writeError($messages, $newline = true)
+ ... | Implement new methods of IOInterface | fxpio_composer-asset-plugin | train | php |
7dc17abd0ef433b58cbbc4c66f3a59a08fcf63b8 | diff --git a/src/Middleware/Firewall.php b/src/Middleware/Firewall.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/Firewall.php
+++ b/src/Middleware/Firewall.php
@@ -2,6 +2,7 @@
namespace Psr7Middlewares\Middleware;
use RuntimeException;
+use Psr7Middlewares\Middleware;
use M6Web\Component\Firewall\Firewall a... | fixed not found class in Firewall middleware | oscarotero_psr7-middlewares | train | php |
03fa9ebe833762a27c40cfbf2689da0a12390564 | diff --git a/spyder/plugins/editor/panels/edgeline.py b/spyder/plugins/editor/panels/edgeline.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor/panels/edgeline.py
+++ b/spyder/plugins/editor/panels/edgeline.py
@@ -39,6 +39,10 @@ class EdgeLine(Panel):
x = self.editor.fontMetrics().width(column * '... | add sizeHint missing method in some Panel classes | spyder-ide_spyder | train | py,py |
5a2bfb85217185b52f6d43635c7144e91fa525a7 | diff --git a/library/src/main/java/com/evernote/client/android/asyncclient/EvernoteClientFactory.java b/library/src/main/java/com/evernote/client/android/asyncclient/EvernoteClientFactory.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/evernote/client/android/asyncclient/EvernoteClientFactory.java
+++ ... | Fix wrong username for business notebook helper | evernote_evernote-sdk-android | train | java |
9a3e754da3503e9a68368c3a1d0f4d6220a851c5 | diff --git a/src/fieldwork/validators/IbanFieldValidator.php b/src/fieldwork/validators/IbanFieldValidator.php
index <HASH>..<HASH> 100644
--- a/src/fieldwork/validators/IbanFieldValidator.php
+++ b/src/fieldwork/validators/IbanFieldValidator.php
@@ -23,7 +23,7 @@ class IbanFieldValidator extends RegexFieldValidator
... | Fixed the IbanFieldValidator when the openIban service is not connected | sgtlambda_fieldwork | train | php |
820dfab7b2085dc23ac102a3fdfc58b5093b32e1 | diff --git a/reporters/junit_reporter.go b/reporters/junit_reporter.go
index <HASH>..<HASH> 100644
--- a/reporters/junit_reporter.go
+++ b/reporters/junit_reporter.go
@@ -50,7 +50,7 @@ type JUnitFailureMessage struct {
}
type JUnitSkipped struct {
- XMLName xml.Name `xml:"skipped"`
+ Message string `xml:",chardata"... | Print Skip reason in JUnit reporter if one was provided | onsi_ginkgo | train | go |
d8888ca4d0534460955babde926590ad807d5bb8 | diff --git a/scripts/buildBin.js b/scripts/buildBin.js
index <HASH>..<HASH> 100644
--- a/scripts/buildBin.js
+++ b/scripts/buildBin.js
@@ -32,11 +32,9 @@ require('rollup')
.then(printDone)
.then(function writeBundle(bundle) {
'use strict';
- var jslint = '/*jslint\n es6, node\n*/\n';
-
... | Inline a variable in build script | tensor5_JSLinter | train | js |
533e2fd55f937d3f41598ffebdd7c46d0f39bbb7 | diff --git a/climlab/model/ebm.py b/climlab/model/ebm.py
index <HASH>..<HASH> 100644
--- a/climlab/model/ebm.py
+++ b/climlab/model/ebm.py
@@ -64,7 +64,8 @@ class EBM(EnergyBudget):
self.topdown = False # call subprocess compute methods first
newdiags = ['OLR',
'ASR',
- ... | EBM now has icelat diagnostic again. | brian-rose_climlab | train | py |
40f4941ae52e5f84018f2841cbe8f4493f6b2a26 | diff --git a/lib/lock_jar.rb b/lib/lock_jar.rb
index <HASH>..<HASH> 100644
--- a/lib/lock_jar.rb
+++ b/lib/lock_jar.rb
@@ -99,6 +99,35 @@ module LockJar
def self.read( lockfile )
LockJar::Domain::Lockfile.read( lockfile )
end
+
+ # Add a Jarfile to be eventually loaded together with other
+ def self.regist... | Allow multiple jarfiles to be registered, then merge and lock them all as one.
This should allow for simple project-level jar dependencies as long as
the call to LockJar.lock_registered_jarfiles can be deferred. | mguymon_lock_jar | train | rb |
cfc2b75b317761934114ed41f669e314d220d9c1 | diff --git a/fcn/models/fcn32s.py b/fcn/models/fcn32s.py
index <HASH>..<HASH> 100644
--- a/fcn/models/fcn32s.py
+++ b/fcn/models/fcn32s.py
@@ -101,7 +101,7 @@ class FCN32s(chainer.Chain):
upscore = h # 1
# score
- h = upscore[:, :, 19+x.data.shape[2], 19+x.data.shape[3]]
+ h = upscore... | Fix FCN<I>s splitting | wkentaro_fcn | train | py |
0a28b94e77fe5f7ced8f299215acd0a1260ee2b7 | diff --git a/lib/reporter.js b/lib/reporter.js
index <HASH>..<HASH> 100644
--- a/lib/reporter.js
+++ b/lib/reporter.js
@@ -114,7 +114,6 @@ Reporter.prototype._bindTonerListeners = function () {
var self = this;
this.toner.before(function(req, res, cb) {
-
var prom = self.beforeRenderListeners.fire(... | changing response.result to response.content preparing release with jsreport toner | jsreport_jsreport-core | train | js |
82ddae2ba94efa7bf0ab717705ef9f181a75a21f | diff --git a/namesys/republisher/repub.go b/namesys/republisher/repub.go
index <HASH>..<HASH> 100644
--- a/namesys/republisher/repub.go
+++ b/namesys/republisher/repub.go
@@ -72,7 +72,7 @@ func (rp *Republisher) Run(proc goprocess.Process) {
timer.Reset(rp.Interval)
err := rp.republishEntries(proc)
if err !... | reduce log level when we can't republish
This is almost never an error, it just means we don't have any connections. We
could leave this at Warning but we'd like to be able to turn those on by
default at some point.
fixes #<I>
License: MIT | ipfs_go-ipfs | train | go |
17261566dbe916fc221c07df8b8a3b286c8e9fe0 | diff --git a/tensorpack/predict/base.py b/tensorpack/predict/base.py
index <HASH>..<HASH> 100644
--- a/tensorpack/predict/base.py
+++ b/tensorpack/predict/base.py
@@ -12,6 +12,7 @@ from ..tfutils.tower import TowerContext
from ..input_source import PlaceholderInput
from ..utils.develop import log_deprecated
from ..u... | don't warn too much about deprecation | tensorpack_tensorpack | train | py |
a742f509dfcb18c63cd1b66bb2ae0559d697881a | diff --git a/aeron-client/src/main/java/io/aeron/ControlledFragmentAssembler.java b/aeron-client/src/main/java/io/aeron/ControlledFragmentAssembler.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/io/aeron/ControlledFragmentAssembler.java
+++ b/aeron-client/src/main/java/io/aeron/ControlledFragmentAsse... | [Java] Javadoc correction. | real-logic_aeron | train | java,java |
82dc294218047bd2a63f4dc6789ca24394810726 | diff --git a/pkg/ipcache/kvstore.go b/pkg/ipcache/kvstore.go
index <HASH>..<HASH> 100644
--- a/pkg/ipcache/kvstore.go
+++ b/pkg/ipcache/kvstore.go
@@ -254,6 +254,8 @@ func upsertIPNetsToKVStore(prefixes []*net.IPNet, identities []*identity.Identit
}).Error("Failed to clean up CIDR->ID mappings")
}
}
+
+ ... | ipcache: Fix multiple key deletions if upsertIPNetsToKVStore() fails
When upsertIPNetsToKVStore() was asked to inject multiple CIDRs and multiple
failures occured, previously successfully inserted ipcache entries would be
released multiple times which would result in a premature kvstore release or
underflow. | cilium_cilium | train | go |
e73185a3371306f2ff3daa1b0d950106fffdc6a6 | diff --git a/mtp/mtp-impl/src/main/java/org/mobicents/protocols/ss7/mtp/Mtp2.java b/mtp/mtp-impl/src/main/java/org/mobicents/protocols/ss7/mtp/Mtp2.java
index <HASH>..<HASH> 100755
--- a/mtp/mtp-impl/src/main/java/org/mobicents/protocols/ss7/mtp/Mtp2.java
+++ b/mtp/mtp-impl/src/main/java/org/mobicents/protocols/ss7/mtp... | [SS7] adding piece of code that was missed...
git-svn-id: <URL> | RestComm_jss7 | train | java |
8a164b6846daf486c3c15ff219fcd311e1097334 | diff --git a/ghost/admin/tests/integration/components/gh-profile-image-test.js b/ghost/admin/tests/integration/components/gh-profile-image-test.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/tests/integration/components/gh-profile-image-test.js
+++ b/ghost/admin/tests/integration/components/gh-profile-image-test.js
@... | Fixed gh-profile-image tests
no issue
- stubbed `ghostPaths` service did not have the expected `ghostPaths.assetRoot` property that the `gh-profile-image` component started calling `.replace` on in <URL> | TryGhost_Ghost | train | js |
d5fb0bee0c6426dcbacfe085903684fe07527caf | diff --git a/fost_authn_debug/views.py b/fost_authn_debug/views.py
index <HASH>..<HASH> 100644
--- a/fost_authn_debug/views.py
+++ b/fost_authn_debug/views.py
@@ -3,7 +3,7 @@ from django.shortcuts import render_to_response
def root(request):
- return HttpResponse("Debug helper", mimetype='text/plain')
+ retu... | The signed view just returns the username that is logged in when the
request has been signed. | Felspar_django-fost-authn | 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.