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 |
|---|---|---|---|---|---|
43b2b485b53dcb1f67e4696c25be41fa9aa0f49e | diff --git a/src/main/java/net/sf/mpxj/primavera/ResultSetRow.java b/src/main/java/net/sf/mpxj/primavera/ResultSetRow.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/sf/mpxj/primavera/ResultSetRow.java
+++ b/src/main/java/net/sf/mpxj/primavera/ResultSetRow.java
@@ -85,6 +85,7 @@ final class ResultSetRow extend... | Add workaround for SQL Server JDBC Driver issue (#<I>) | joniles_mpxj | train | java |
a520511fdd2f0efd44833dbb6fcb3d25c111a170 | diff --git a/lib/Alchemy/Phrasea/Plugin/Schema/Manifest.php b/lib/Alchemy/Phrasea/Plugin/Schema/Manifest.php
index <HASH>..<HASH> 100644
--- a/lib/Alchemy/Phrasea/Plugin/Schema/Manifest.php
+++ b/lib/Alchemy/Phrasea/Plugin/Schema/Manifest.php
@@ -67,7 +67,7 @@ class Manifest
public function getServices()
{
... | Fix issue when services is not declared in manifest | alchemy-fr_Phraseanet | train | php |
c9800ca04dad092dc870132c4f76b5c8e4d57a20 | diff --git a/public/javascripts/content.js b/public/javascripts/content.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/content.js
+++ b/public/javascripts/content.js
@@ -205,6 +205,7 @@ KT.content = (function(){
},
update_item = function(element, starttime, duration, progress, size, package... | disabling fade in for sync page | Katello_katello | train | js |
b051babfffc1128b0406fe901f9add59d8b87814 | diff --git a/pyinfra/api/util.py b/pyinfra/api/util.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/util.py
+++ b/pyinfra/api/util.py
@@ -342,7 +342,7 @@ def make_command(
# Use sudo (w/user?)
if sudo:
- sudo_bits = ['sudo', '-H']
+ sudo_bits = ['sudo', '-S', '-H']
if preserve_sudo... | Pass `-S` to sudo to read from stdin. | Fizzadar_pyinfra | train | py |
19d4650a707297954d77c2818c873ede0d906b3c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,6 +20,7 @@ const functionTemplateFile = path.join('templates', 'function-template.ejs');
const validFunctionRuntimes = [
'aws-nodejs4.3',
+ 'aws-nodejs6.10',
];
const humanReadableFunctionRuntimes = `${validFunc... | added nodejs<I> to index.js as runtime | nordcloud_serverless-mocha-plugin | train | js |
da5481c4dceddbb0f5e3c482e6288108f9992049 | diff --git a/src/org/openscience/cdk/test/qsar/model/R2/QSARRModelTests.java b/src/org/openscience/cdk/test/qsar/model/R2/QSARRModelTests.java
index <HASH>..<HASH> 100644
--- a/src/org/openscience/cdk/test/qsar/model/R2/QSARRModelTests.java
+++ b/src/org/openscience/cdk/test/qsar/model/R2/QSARRModelTests.java
@@ -12,7 ... | Added the directory for seperate rJava based tests
git-svn-id: <URL> | cdk_cdk | train | java |
1354a197da2226bef65c02e14b1ba51e01d7eac2 | diff --git a/cgjs/core.js b/cgjs/core.js
index <HASH>..<HASH> 100644
--- a/cgjs/core.js
+++ b/cgjs/core.js
@@ -2,7 +2,8 @@
/*! (c) 2017 Andrea Giammarchi - @WebReflection (ISC) */
const path = (dir, path) => dir.resolve_relative_path(path);
[
- // console and process should have priority
+ // WARNING: co... | Added cgjs.core.module(name) to simplify core modules development.
When a core module needs another core dependency it can now
install it as dev-dependency within its project scope
and land without any dependency on main cgjs project.
To import another core module it should use the following:
```js
const util = impo... | cgjs_cgjs | train | js |
fa1dadcd16c52abb93723f7b67f77a4a96c35c2c | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/NettyShuffleEnvironment.java b/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/NettyShuffleEnvironment.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/NettyShuffleEnvironme... | [FLINK-<I>][metric]fix input group and output group of the task metric are reversed | apache_flink | train | java |
24eb3402876a187ea6441e4bf83e530492ab2c38 | diff --git a/code/ElementsExtension.php b/code/ElementsExtension.php
index <HASH>..<HASH> 100644
--- a/code/ElementsExtension.php
+++ b/code/ElementsExtension.php
@@ -246,7 +246,7 @@ class ElementsExtension extends DataExtension
$tabName = "Root.{$relationName}";
$label = _t("Element_Relations... | set proper model class for one element only | arillo_silverstripe-elements | train | php |
b4c7ce8e11bf6f72ec4662f80ae0e47000d37111 | diff --git a/autorest/mocks/mocks.go b/autorest/mocks/mocks.go
index <HASH>..<HASH> 100644
--- a/autorest/mocks/mocks.go
+++ b/autorest/mocks/mocks.go
@@ -131,7 +131,13 @@ func (c *Sender) Do(r *http.Request) (resp *http.Response, err error) {
} else {
err = c.responses[0].e
}
- time.Sleep(c.responses[0].d)
... | Honor the request context in mock sender (#<I>)
If the request's context has expired return the error. This allows
mocking of requests that take too long, triggering deadline exceeded. | Azure_go-autorest | train | go |
b2685cd554dc7c0ba4ea8f8735151c4706327034 | diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -1778,7 +1778,7 @@ class ClearFuncs(object):
log.warning('Authentication failure of type "token" occurred.')
return ''
good = self.ckminions.runner_check(
... | only pull eauth value from the token object | saltstack_salt | train | py |
785e9200653bbb59df7dae413d972c3b6c43b3f8 | diff --git a/nerdamer.core.js b/nerdamer.core.js
index <HASH>..<HASH> 100644
--- a/nerdamer.core.js
+++ b/nerdamer.core.js
@@ -4848,6 +4848,15 @@ var nerdamer = (function(imports) {
return TeX;
}
+ if (isVector(symbol)) {
+ var TeX = '\\left[';
+ ... | LaTeX printing for vector type
Used in roots() method (Algebra). | jiggzson_nerdamer | train | js |
9ef2c33ccd0cc7371a8f73c12bfc9877415dc533 | diff --git a/src/Bkwld/Upchuck/Helpers.php b/src/Bkwld/Upchuck/Helpers.php
index <HASH>..<HASH> 100644
--- a/src/Bkwld/Upchuck/Helpers.php
+++ b/src/Bkwld/Upchuck/Helpers.php
@@ -46,7 +46,7 @@ class Helpers {
* @return string
*/
public function url($path) {
- return $this->config['url_prefix'].$path;
+ return... | Paths shouldn't have a leading slash | BKWLD_upchuck | train | php |
bd086244c61acaddea0cc773eac2c11804b56300 | diff --git a/hazelcast/src/main/java/com/hazelcast/core/IdGenerator.java b/hazelcast/src/main/java/com/hazelcast/core/IdGenerator.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/core/IdGenerator.java
+++ b/hazelcast/src/main/java/com/hazelcast/core/IdGenerator.java
@@ -25,7 +25,7 @@ package... | copyedit. ids, not id's, no ' with plurals. | hazelcast_hazelcast | train | java |
c272f86a5657e1a8d21c378606713e5444a06993 | diff --git a/test/test-utils.js b/test/test-utils.js
index <HASH>..<HASH> 100644
--- a/test/test-utils.js
+++ b/test/test-utils.js
@@ -50,13 +50,13 @@ Target.prototype = {
mkdirp.sync(self.databaseDir);
self.gcs = runServer(self.gcsPath, gcsOptions, function() {
+ process.on('exit', function() {
+ ... | Hook should be set at least one server is started | groonga_gcs-console | train | js |
e3cf0975f9074f221974f7f7c82389786854999d | diff --git a/pre_commit/util.py b/pre_commit/util.py
index <HASH>..<HASH> 100644
--- a/pre_commit/util.py
+++ b/pre_commit/util.py
@@ -76,8 +76,11 @@ def no_git_env():
# while running pre-commit hooks in submodules.
# GIT_DIR: Causes git clone to clone wrong thing
# GIT_INDEX_FILE: Causes 'error invalid ... | Adds whitelist for GIT_* env vars containing only GIT_SSH | pre-commit_pre-commit | train | py |
2a3908a9c48e0cd31c3d28cbf41558a2698a2d21 | diff --git a/lib/tod/time_of_day.rb b/lib/tod/time_of_day.rb
index <HASH>..<HASH> 100644
--- a/lib/tod/time_of_day.rb
+++ b/lib/tod/time_of_day.rb
@@ -113,7 +113,7 @@ module Tod
# TimeOfDay.parse "515p" # => 17:15:00
# TimeOfDay.parse "151253" # => 15:12:53
... | Refactored try_parse methods | jackc_tod | train | rb |
a189a5182a7981f8628b18d6afd10cccc132a9ca | diff --git a/lib/api_connect_client/user.rb b/lib/api_connect_client/user.rb
index <HASH>..<HASH> 100644
--- a/lib/api_connect_client/user.rb
+++ b/lib/api_connect_client/user.rb
@@ -1,11 +1,13 @@
class User < Base
- def initialize
+ def initialize(admin_user, admin_pass)
@headers = {
'X-IBM-APIManagemen... | feat(user): Add admin credentials to user#create | cffiebigc_api-connect-client | train | rb |
8ac6cb8bfa1079b9f12adf8ba64955060f6f1da6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -10,7 +10,8 @@ compressible.get = get
function compressible(type) {
if (!type || typeof type !== "string") return false
- var spec = compressible.specs[type.split(';')[0]]
+ var i = type.indexOf(';')
+ , spec = comp... | [major] Improved performance ~<I>x - <I>x!
String.split() is slow for our use case.
Closes #7. | jshttp_compressible | train | js |
faed7f8f1aa6ce447fc949b11ae83664257358cf | diff --git a/core/src/polyfills.js b/core/src/polyfills.js
index <HASH>..<HASH> 100644
--- a/core/src/polyfills.js
+++ b/core/src/polyfills.js
@@ -6,10 +6,10 @@
// because import statements are hoisted during compilation.
import './polyfill-switches';
-// Polyfill Custom Elements v1 with global namespace pollution
... | fix(polyfills): Load ECMAScript standard features polyfills before Custom Elements polyfill. | OnsenUI_OnsenUI | train | js |
89e9f139f68a192025d3deedc3c0b8dba00b803f | diff --git a/shared/chat/routes.js b/shared/chat/routes.js
index <HASH>..<HASH> 100644
--- a/shared/chat/routes.js
+++ b/shared/chat/routes.js
@@ -24,11 +24,18 @@ const editChannel = {
children: {},
}
+const createChannel = {
+ component: CreateChannel,
+ tags: makeLeafTags({hideStatusBar: true}),
+ children: ... | add create channel as child route (#<I>) | keybase_client | train | js |
00951825926463794f4ce9b1f98fbc753c5267f3 | diff --git a/sc2common/constants.py b/sc2common/constants.py
index <HASH>..<HASH> 100644
--- a/sc2common/constants.py
+++ b/sc2common/constants.py
@@ -145,4 +145,11 @@ GAME_STOP = "stop"
################################################################################
# unit properties
INVULNERABLE_HEAL... | - consolidated standard SC2 file extensions into sc2common | ttinies_sc2common | train | py |
bdee82e994ee3ce0e26e552ad2fba8393f32ce45 | diff --git a/sbot/roots.js b/sbot/roots.js
index <HASH>..<HASH> 100644
--- a/sbot/roots.js
+++ b/sbot/roots.js
@@ -99,9 +99,10 @@ module.exports = function (ssb, config) {
// FILTER ROOTS
pull.filter(item => {
var root = item.root || item
+ var isPrivate = root.value && typ... | whoops, don't include private messages in public feed | ssbc_patchwork | train | js |
e1d00700ccfcfe43e04479700343ea0b151de2ef | diff --git a/test/unit/storage.rb b/test/unit/storage.rb
index <HASH>..<HASH> 100644
--- a/test/unit/storage.rb
+++ b/test/unit/storage.rb
@@ -169,5 +169,16 @@ class UtStorage < Test::Unit::TestCase
assert_equal %w[ estereo nada ouinouin toto ], @s.ids('dogfood')
end
+
+ def test_get_many
+
+ 30.times do ... | added storage test for get_many(:limit) | jmettraux_ruote | train | rb |
d4ebb2240035cb765e95ce988e968b8ad36dfe89 | diff --git a/integration/gcs_general_test.go b/integration/gcs_general_test.go
index <HASH>..<HASH> 100644
--- a/integration/gcs_general_test.go
+++ b/integration/gcs_general_test.go
@@ -95,10 +95,17 @@ var _ = Describe("Integration", func() {
},
configurations...)
- // Perform a large file put causing GCS t... | integration: reduce multi-part to single configuration | cloudfoundry_bosh-gcscli | train | go |
41e7a2b461cb3780b8045f9e2d87e66aec88bf68 | diff --git a/src/Modules/ModelModule.php b/src/Modules/ModelModule.php
index <HASH>..<HASH> 100644
--- a/src/Modules/ModelModule.php
+++ b/src/Modules/ModelModule.php
@@ -388,17 +388,6 @@ class ModelModule implements ModuleInterface
// ------------------------------------------------------------------------------
... | Removed unused methods from modelmodule | czim_laravel-cms-models | train | php |
f9a5fb03dd5a0d08b0cb2ef595338a87fd6f6dc6 | diff --git a/webwhatsapi/js/wapi.js b/webwhatsapi/js/wapi.js
index <HASH>..<HASH> 100755
--- a/webwhatsapi/js/wapi.js
+++ b/webwhatsapi/js/wapi.js
@@ -34,13 +34,27 @@ window.WAPI._serializeChatObj = (obj) => {
delete data.previewMessage;
delete data.shouldShowUnreadDivider;
delete data.presenceResendTime... | Fetch chat in a better way | mukulhase_WebWhatsapp-Wrapper | train | js |
86bdbc4c7e44ff9e67db0fe852f590b0cfd66242 | diff --git a/client/js/s3/s3.xhr.upload.handler.js b/client/js/s3/s3.xhr.upload.handler.js
index <HASH>..<HASH> 100644
--- a/client/js/s3/s3.xhr.upload.handler.js
+++ b/client/js/s3/s3.xhr.upload.handler.js
@@ -391,12 +391,11 @@ qq.s3.XhrUploadHandler = function(spec, proxy) {
/* jshint eqnull:tr... | fix(s3-xhr-uploads): concurrently chunked S3 uploads w/ async key stall
fixes #<I> | FineUploader_fine-uploader | train | js |
0ec76fc3d51c4e229d9bd4070df086b4e7eafa04 | diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/sources_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/sources_controller.rb
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/sources_controller.rb
+++ b/sonar-server/src/main/webapp... | SONAR-<I> Remove display of resource name to prevent XSS issue | SonarSource_sonarqube | train | rb |
289226f74ff1607d50e18452bfccf9d0237baab0 | diff --git a/ah-fs.processor.js b/ah-fs.processor.js
index <HASH>..<HASH> 100644
--- a/ah-fs.processor.js
+++ b/ah-fs.processor.js
@@ -9,7 +9,16 @@ const WriteStreamProcessor = require('./lib/write-stream.processor')
// However {Read|Write}StreamProcessor share a stream tick, thus we need to
// add logic to only remo... | api: renaming process to processFileSystem | nodesource_ah-fs.processor | train | js |
08003146a6033188aa2df04d44414d7d7adfa7b4 | diff --git a/src/Utils/DOMDataUtils.php b/src/Utils/DOMDataUtils.php
index <HASH>..<HASH> 100644
--- a/src/Utils/DOMDataUtils.php
+++ b/src/Utils/DOMDataUtils.php
@@ -375,11 +375,11 @@ class DOMDataUtils {
* @param stdClass $data data
*/
public static function storeInPageBundle( DOMElement $node, Env $env, stdC... | Match php storeInPageBundle with js
This prevents shadowing id when none was present, fixing some roundtrip
diffs.
Bug: T<I>
Change-Id: Ia8d<I>e<I>b<I>af0d<I>e<I>bb<I>e<I>ab | wikimedia_parsoid | train | php |
50923b1d280290414724dd4b7756d3cf82d3c152 | diff --git a/src/main/java/org/spout/nbt/stream/NBTOutputStream.java b/src/main/java/org/spout/nbt/stream/NBTOutputStream.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/spout/nbt/stream/NBTOutputStream.java
+++ b/src/main/java/org/spout/nbt/stream/NBTOutputStream.java
@@ -352,4 +352,11 @@ public final class N... | Added flush to NBTOutputStream | flow_nbt | train | java |
183c2cc237ab6c5796126d728f135ed5b1f6b797 | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -10,7 +10,7 @@ if (@!include __DIR__ . '/../vendor/autoload.php') {
}
// configure environment
-Tester\Helpers::setup();
+Tester\Environment::setup();
class_alias('Tester\Assert... | Fixed compatibility with newer versions of nette/tester | Tharos_LeanMapper | train | php |
6fc4c458df41eb5d72f18f4330f550b769e83952 | diff --git a/base.php b/base.php
index <HASH>..<HASH> 100644
--- a/base.php
+++ b/base.php
@@ -2632,6 +2632,33 @@ class View extends Prefab {
}
/**
+ * Send resource to browser using HTTP/2 server push
+ * @return string
+ * @param $file string
+ **/
+ function push($file) {
+ $fw=Base::instance();
+ $hive=$fw-... | Rudimentary HTTP2 server support via template push() | bcosca_fatfree-core | train | php |
f0cdce0bf9bbb2e0b9f68cb521bd91de33ec8985 | diff --git a/lib/tempFileHandler.js b/lib/tempFileHandler.js
index <HASH>..<HASH> 100644
--- a/lib/tempFileHandler.js
+++ b/lib/tempFileHandler.js
@@ -21,13 +21,7 @@ module.exports = function(options, fieldname, filename) {
writeStream.write(data);
hash.update(data);
fileSize += data.length;
- ... | Use debug log for logging. | richardgirges_express-fileupload | train | js |
3ea04eb93cfc42c8734eba2c345b94c1ca500967 | diff --git a/compiler/grammar2.py b/compiler/grammar2.py
index <HASH>..<HASH> 100644
--- a/compiler/grammar2.py
+++ b/compiler/grammar2.py
@@ -47,7 +47,7 @@ COMPONENT_NAME = r'(?:[a-z][a-zA-Z0-9._]*\.)?[A-Z][A-Za-z0-9]*'
component_name = re.compile(COMPONENT_NAME)
component_name_lookahead = re.compile(COMPONENT_NAME ... | allow underscore in propery_type_re | pureqml_qmlcore | train | py |
4453b9f73f95d0055e68d4adfbd0e6b63c423b1b | diff --git a/openid/server/server.py b/openid/server/server.py
index <HASH>..<HASH> 100644
--- a/openid/server/server.py
+++ b/openid/server/server.py
@@ -276,7 +276,7 @@ class PlainTextServerSession(object):
@see: AssociateRequest
"""
session_type = 'no-encryption'
- allowed_assoc_types = ['HMAC-SHA1... | [project @ server.server: s/HMAC-SHA<I>/HMAC-SHA<I>-SIGNALL/] | openid_python-openid | train | py |
4b7261e5ba51b28a28f9f7cb08568843e34d9f3b | diff --git a/DoctrineBundle.php b/DoctrineBundle.php
index <HASH>..<HASH> 100644
--- a/DoctrineBundle.php
+++ b/DoctrineBundle.php
@@ -17,6 +17,7 @@ namespace Doctrine\Bundle\DoctrineBundle;
use Doctrine\Common\Util\ClassUtils;
use Doctrine\Bundle\DoctrineBundle\Command\CreateDatabaseDoctrineCommand;
use Doctrine\Bu... | Enable doctrine:database:import command (#<I>)
The command is the proxy to dbal:import and is not related to Docrine ORM.
So we can include it without ORM installed. | doctrine_DoctrineBundle | train | php |
1deef0e2bf039a0e817ea6f19aaf1947dc9fafbc | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,10 @@ from __future__ import unicode_literals
import io
from os import path
-from pip.req import parse_requirements
+try: # for pip >= 10 (From: https://stackoverflow.com/questions/25192794/no-module-named-pip-re... | Problems with pip >=<I> and pip.req (#<I>)
Hello,
it seems that pip <I> does not allow the use of pip.req (<URL> | tonioo_sievelib | train | py |
6513039ccae179085a2470df9569e9a8d0475934 | diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/cache.py
+++ b/allegedb/allegedb/cache.py
@@ -531,6 +531,8 @@ class Cache(Signal):
if turn in kc:
kcturn = kc[turn]
kcturn.truncate(tick)
+ ... | Handle a case of incomplete cache deletion I missed | LogicalDash_LiSE | train | py |
c77812c6d0d180066e9515fe682815352d115675 | diff --git a/lib/csvlint/cli.rb b/lib/csvlint/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/csvlint/cli.rb
+++ b/lib/csvlint/cli.rb
@@ -27,21 +27,22 @@ module Csvlint
if source.nil?
# If no source is present, try reading from stdin
if !$stdin.tty?
- return StringIO.new(ARGF.read... | Refactor read_source and add comments | theodi_csvlint.rb | train | rb |
bf4c6ed262d13c89247406f7009e1c8c06939ce1 | diff --git a/skorch/net.py b/skorch/net.py
index <HASH>..<HASH> 100644
--- a/skorch/net.py
+++ b/skorch/net.py
@@ -752,8 +752,11 @@ class NeuralNet(object):
y_pred : numpy ndarray
"""
- self.module_.train(False)
- return self.predict_proba(X).argmax(-1)
+ y_preds = []
+ f... | Apply argmax batchwise in predict()
It takes up a lot less memory to do
[n.argmax() for n in forward_iter()]
than doing
[n for n in forward_iter()].argmax()
especially when the probability vector is
high dimensional (<I>k+, e.g. word vectors). | skorch-dev_skorch | train | py |
02a99b27504d736f09e80946b81d38587965f377 | diff --git a/rest_registration/api/views/login.py b/rest_registration/api/views/login.py
index <HASH>..<HASH> 100644
--- a/rest_registration/api/views/login.py
+++ b/rest_registration/api/views/login.py
@@ -68,7 +68,10 @@ def logout(request):
if not request.user.is_authenticated:
raise BadRequest('Not log... | Issue #<I>: added revoke_token option (#<I>)
* Added revoke_token option
* Formatted to PEP8 | apragacz_django-rest-registration | train | py |
c1499f8d08cf9755a72aa0585254898c99489733 | diff --git a/yolog/main.py b/yolog/main.py
index <HASH>..<HASH> 100644
--- a/yolog/main.py
+++ b/yolog/main.py
@@ -42,7 +42,7 @@ Usage: yolog [<additional optional commands>]
def main():
git_arguments = sys.argv[1:]
- if sys.argv[1] == "-h" or sys.argv[1] == "--help":
+ if git_arguments and (sys.argv[1] =... | Only check for help args if git_arguments not empty.
Original: If you run yolog without arguments, you get IndexError because
you're indexing into empty list git_arguments.
Fix: First check if git_arguments is not empty, and then check for help
args.
Result: running yolog without arguments shows all commits, similar... | kdexd_yolog | train | py |
af081eda97dc698ed45f622d63c5051579763b18 | diff --git a/src/shapes/rectangle.js b/src/shapes/rectangle.js
index <HASH>..<HASH> 100644
--- a/src/shapes/rectangle.js
+++ b/src/shapes/rectangle.js
@@ -172,6 +172,7 @@
* @param {me.Vector2d} v x,y position for the rectangle
* @param {Number} w width of the rectangle
* @param {Number} h ... | Allowed some of the function to be chainable | melonjs_melonJS | train | js |
1396f978e32d666e75578ca755e73d3a3abbdd32 | diff --git a/liquibase-core/src/main/java/liquibase/integration/ant/AntResourceAccessor.java b/liquibase-core/src/main/java/liquibase/integration/ant/AntResourceAccessor.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/integration/ant/AntResourceAccessor.java
+++ b/liquibase-core/src/main/j... | Handle path separator differences in AntLoader
DAT-<I> | liquibase_liquibase | train | java |
20cd9dc6177d6343dffc62a6d18784b0e2f8964d | diff --git a/lib/Collection.php b/lib/Collection.php
index <HASH>..<HASH> 100644
--- a/lib/Collection.php
+++ b/lib/Collection.php
@@ -242,7 +242,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate
}
/**
- * Get the first item from the collection.
+ * Gets the first ... | Update lib/Collection.php | stripe_stripe-php | train | php |
cfdc16d360696bf33040bba4ec63fa8a7b6ff246 | diff --git a/lib/geoengineer/resource.rb b/lib/geoengineer/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/geoengineer/resource.rb
+++ b/lib/geoengineer/resource.rb
@@ -226,6 +226,7 @@ class GeoEngineer::Resource
end
def self.build(resource_hash)
+ return nil unless resource_hash
GeoEngineer::Resource... | [Fix] fix return nil from individual remote resource | coinbase_geoengineer | train | rb |
9ebfb7f8c8bd314085ef93df1e3f3fe7ce04445a | diff --git a/bika/lims/setuphandlers.py b/bika/lims/setuphandlers.py
index <HASH>..<HASH> 100644
--- a/bika/lims/setuphandlers.py
+++ b/bika/lims/setuphandlers.py
@@ -231,7 +231,6 @@ class BikaGenerator:
mp(ViewResults, ['Manager', 'LabManager', 'Analyst', 'Sampler','RegulatoryInspector'], 1)
mp(EditR... | Remove "Cancel and Reinstate" permission for Owner role | senaite_senaite.core | train | py |
e0541eb3c5d38e125320552f0ea775d43e210105 | diff --git a/lib/mws/fulfillment_inbound_shipment/client.rb b/lib/mws/fulfillment_inbound_shipment/client.rb
index <HASH>..<HASH> 100644
--- a/lib/mws/fulfillment_inbound_shipment/client.rb
+++ b/lib/mws/fulfillment_inbound_shipment/client.rb
@@ -362,6 +362,7 @@ module MWS
.add('ShipmentId' => shipment_id,
... | prep_list support for build inbound shipment | hakanensari_peddler | train | rb |
9adb38f16ad1ce929fcabba34249b0cbdd334496 | diff --git a/selenium.go b/selenium.go
index <HASH>..<HASH> 100644
--- a/selenium.go
+++ b/selenium.go
@@ -358,7 +358,8 @@ type WebElement interface {
Submit() error
/* Clear */
Clear() error
- /* Move mouse to relative coordinates */
+ /* Move mouse to relative coordinates from center of element,
+ If the elemen... | add more doc for scrolling into element | tebeka_selenium | train | go |
b0df93bd70eb22acdadb18c5cd8850c03d00d546 | diff --git a/classes/fields/pick.php b/classes/fields/pick.php
index <HASH>..<HASH> 100644
--- a/classes/fields/pick.php
+++ b/classes/fields/pick.php
@@ -866,7 +866,12 @@ class PodsField_Pick extends PodsField {
$options[ $args->type . '_limit' ] = $limit;
- $pod_id = (int) $args->pod->pod_id;
+ if ( is_objec... | There are cases where `$args->pod` is not set | pods-framework_pods | train | php |
db27b85033586b07993550aada2d685284f2db85 | diff --git a/command/agent/command.go b/command/agent/command.go
index <HASH>..<HASH> 100644
--- a/command/agent/command.go
+++ b/command/agent/command.go
@@ -262,6 +262,13 @@ func (c *Command) Run(args []string) int {
info["client"] = strconv.FormatBool(config.Client.Enabled)
info["log level"] = config.LogLevel
... | agent: adding Atlas and Region to output | hashicorp_nomad | train | go |
df4b7c88dbf9cd87477c2e6433f10afc0a892833 | diff --git a/src/main/java/com/synopsys/integration/blackduck/codelocation/CodeLocationWaiter.java b/src/main/java/com/synopsys/integration/blackduck/codelocation/CodeLocationWaiter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/synopsys/integration/blackduck/codelocation/CodeLocationWaiter.java
+++ b/src/mai... | chore: Add logging of the expected code locations to wait for at debug. | blackducksoftware_blackduck-common | train | java |
db97f1c1f68d5f95ad2d952225a3e359c2c06a07 | diff --git a/cmd/influx/task.go b/cmd/influx/task.go
index <HASH>..<HASH> 100644
--- a/cmd/influx/task.go
+++ b/cmd/influx/task.go
@@ -484,7 +484,7 @@ func taskRunFindCmd(f *globalFlags, opt genericCLIOpts) *cobra.Command {
cmd.Flags().StringVarP(&taskRunFindFlags.runID, "run-id", "", "", "run id")
cmd.Flags().Stri... | fix(influx): update default value of list tasks influx command to <I> (#<I>) | influxdata_influxdb | train | go |
cf172471a7a7751a9af1ba54882c3287ec8a3d92 | diff --git a/lib/recaptcha/configuration.rb b/lib/recaptcha/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/recaptcha/configuration.rb
+++ b/lib/recaptcha/configuration.rb
@@ -44,7 +44,7 @@ module Recaptcha
@default_env = ENV['RAILS_ENV'] || ENV['RACK_ENV'] || (Rails.env if defined? Rails.env)
@ski... | Support reading configuration from an env variable | ambethia_recaptcha | train | rb |
c51cd478b8afae31eee61174492f4aaf9d324ed7 | diff --git a/Vps/Update/Action/Component/ConvertComponentIds.php b/Vps/Update/Action/Component/ConvertComponentIds.php
index <HASH>..<HASH> 100644
--- a/Vps/Update/Action/Component/ConvertComponentIds.php
+++ b/Vps/Update/Action/Component/ConvertComponentIds.php
@@ -16,8 +16,7 @@ class Vps_Update_Action_Component_Conve... | Bug in UpdateAction ConvertComponentIds | koala-framework_koala-framework | train | php |
1374fb3a2d1e649205ac0125c8ae5ffdd07a3103 | diff --git a/patroni/postgresql.py b/patroni/postgresql.py
index <HASH>..<HASH> 100644
--- a/patroni/postgresql.py
+++ b/patroni/postgresql.py
@@ -799,7 +799,6 @@ class Postgresql(object):
else:
logger.error('unable to rewind the former master')
self.remove_data_directory(... | Set role to uninitialized when removing data directory | zalando_patroni | train | py |
258ebbcbfc172acf4f63d8b3483d596976decd35 | diff --git a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityLogSupport.java b/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityLogSupport.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityLogSupport.java
+... | fix NPE with task directory finder | HubSpot_Singularity | train | java |
69c0ab0f4b77ab566cc108525cfe5770ea8eb182 | diff --git a/Kwf/Model/Db.php b/Kwf/Model/Db.php
index <HASH>..<HASH> 100644
--- a/Kwf/Model/Db.php
+++ b/Kwf/Model/Db.php
@@ -411,7 +411,7 @@ class Kwf_Model_Db extends Kwf_Model_Abstract
}
if ($expr instanceof Kwf_Model_Select_Expr_CompareField_Abstract) {
if ($expr->getValue() instance... | Model_Db: add DATE() only for DATETIME fields
prior <I> we didn't have own datetime type | koala-framework_koala-framework | train | php |
a6dcc1304952bc81f2bc870e29415aaa202efdcd | diff --git a/lib/rabl/version.rb b/lib/rabl/version.rb
index <HASH>..<HASH> 100644
--- a/lib/rabl/version.rb
+++ b/lib/rabl/version.rb
@@ -1,3 +1,3 @@
module Rabl
- VERSION = "0.5.5.f"
+ VERSION = "0.5.5.g"
end | Bump to <I>.g | nesquena_rabl | train | rb |
b719d61a21094edbceec492dc73eb96656f44ea4 | diff --git a/lib/get-release.js b/lib/get-release.js
index <HASH>..<HASH> 100644
--- a/lib/get-release.js
+++ b/lib/get-release.js
@@ -1,16 +1,11 @@
const githubQueue = require('./github-queue')
module.exports = async function ({ installationId, owner, repo, version, sha }) {
- const headers = {
- Accept: 'appl... | fix(get-release): remove deprecated header | greenkeeperio_greenkeeper | train | js |
3458f0608421d8ebd38af610e59da3e46d24f56a | diff --git a/examples/select-option-groups.php b/examples/select-option-groups.php
index <HASH>..<HASH> 100644
--- a/examples/select-option-groups.php
+++ b/examples/select-option-groups.php
@@ -23,24 +23,3 @@ if ($objForm->isValid() && $objForm->isSubmitted()) {
} else {
$strOutput = $objForm->toHtml();
}
-
-?>... | Get rid of output, only prepare the $strOutput variable | validformbuilder_validformbuilder | train | php |
84f73fce01b3ce01ad6c9dc98be333d86ec40160 | diff --git a/awkward/persist.py b/awkward/persist.py
index <HASH>..<HASH> 100644
--- a/awkward/persist.py
+++ b/awkward/persist.py
@@ -208,6 +208,10 @@ def json2type(obj, whitelist=whitelist):
def serialize(obj, storage, name=None, delimiter="-", suffix=None, schemasuffix=None, compression=compression, **kwargs):
... | disallow arbitrary kwargs in serialize | scikit-hep_awkward-array | train | py |
eb7433a830c0fffedacd87739eb89d2512980f62 | diff --git a/mythril/laser/ethereum/state/calldata.py b/mythril/laser/ethereum/state/calldata.py
index <HASH>..<HASH> 100644
--- a/mythril/laser/ethereum/state/calldata.py
+++ b/mythril/laser/ethereum/state/calldata.py
@@ -16,6 +16,7 @@ class BaseCalldata:
Base calldata class
This represents the calldata prov... | Adaption to calldata style | ConsenSys_mythril-classic | train | py |
ec99b94a93ae8cd0c68a118a6acfc44b85807c85 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import find_packages, setup
MIN_PY_VERSION = "3.9"
PACKAGES = find_packages(exclude=["tests", "tests.*"])
-VERSION = "97"
+VERSION = "98"
setup(
name="pydeconz", | Bump to <I> (#<I>) | Kane610_deconz | train | py |
34708aa6eefe3a1eafe3f4abdb4f03bbd032d487 | diff --git a/remix-debug/src/solidity-decoder/internalCallTree.js b/remix-debug/src/solidity-decoder/internalCallTree.js
index <HASH>..<HASH> 100644
--- a/remix-debug/src/solidity-decoder/internalCallTree.js
+++ b/remix-debug/src/solidity-decoder/internalCallTree.js
@@ -81,7 +81,7 @@ class InternalCallTree {
*/
... | take into account when scopeId is empty string | ethereum_remix | train | js |
9db3ba5f6eb1ca6975b65b62064000c22cfe455f | diff --git a/lib/fluent/command/fluentd.rb b/lib/fluent/command/fluentd.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/command/fluentd.rb
+++ b/lib/fluent/command/fluentd.rb
@@ -19,8 +19,6 @@ require 'fluent/supervisor'
require 'fluent/log'
require 'fluent/env'
require 'fluent/version'
-require 'windows/library'
-i... | Move windows related code into inside windows condition | fluent_fluentd | train | rb |
50566a85404b0cbf26db8dcd4241fd426de1bdb7 | diff --git a/packages/cli/commands/telemetry/index.js b/packages/cli/commands/telemetry/index.js
index <HASH>..<HASH> 100644
--- a/packages/cli/commands/telemetry/index.js
+++ b/packages/cli/commands/telemetry/index.js
@@ -1,12 +1,12 @@
const { sendEvent } = require("@webiny/cli/utils/sendEvent");
-const { globalConfi... | fix: use built-in utils to enable/disable telemetry | Webiny_webiny-js | train | js |
c630f3dbff5591dffa0b60359f9426b2d72b8e47 | diff --git a/test/CoreTestUtils/TestCase/SetterGetterTrait.php b/test/CoreTestUtils/TestCase/SetterGetterTrait.php
index <HASH>..<HASH> 100644
--- a/test/CoreTestUtils/TestCase/SetterGetterTrait.php
+++ b/test/CoreTestUtils/TestCase/SetterGetterTrait.php
@@ -126,6 +126,19 @@ trait SetterGetterTrait
$spec =... | [Core,Organizations] Fixes unit test for organization entity.
* Improves SetterGetterTrait: new spec key "@value" to create an instance with arguments as value. | yawik_core | train | php |
e66db801a29962ee556982592b3f63f8ed86202e | diff --git a/slither/printers/summary/function_ids.py b/slither/printers/summary/function_ids.py
index <HASH>..<HASH> 100644
--- a/slither/printers/summary/function_ids.py
+++ b/slither/printers/summary/function_ids.py
@@ -34,7 +34,12 @@ class FunctionIds(AbstractPrinter):
if variable.visibility in ['p... | function-ids printer: fix incorrect type in case of multi-dim arrays | crytic_slither | train | py |
f314e7059fd687502dc28e8fc57db0e617bd7bb7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -13,6 +13,7 @@ module.exports = function(source) {
if (this.cacheable) this.cacheable();
var loaderCallback = this.async();
var query = this.query instanceof Object ? this.query : loaderUtils.parseQuery(this.query);
+ va... | add inputDir option
I need this desperately :)... | bendman_soy-loader | train | js |
c028c547f4cdbb7c0d87511163fd9ac36bdd92be | diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/utils/ResourceCompare.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/utils/ResourceCompare.java
index <HASH>..<HASH> 100644
--- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/utils/ResourceCompare.java
+++ b/k... | Fix ResourceCompare.equals()
We are not using the `right` param.
This causes equals to always return true. | fabric8io_kubernetes-client | train | java |
b3a2dcd7d7c29918ca47e01e80aa68e3e48b0756 | diff --git a/hazelcast/src/main/java/com/hazelcast/jet/impl/JobCoordinationService.java b/hazelcast/src/main/java/com/hazelcast/jet/impl/JobCoordinationService.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/jet/impl/JobCoordinationService.java
+++ b/hazelcast/src/main/java/com/hazelcast/je... | Use jobId to sort JetService#getJobs when 2 jobs have same creationTime (#<I>)
Fixes #<I> | hazelcast_hazelcast | train | java |
8f2e1b479e55ab878c4991db97aa16908b491c29 | diff --git a/src/python/dxpy/bindings/dxgtable_functions.py b/src/python/dxpy/bindings/dxgtable_functions.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/bindings/dxgtable_functions.py
+++ b/src/python/dxpy/bindings/dxgtable_functions.py
@@ -26,7 +26,7 @@ def open_dxgtable(dxid, project=None, mode=None):
Ex... | Updating docs to use "gtable-xxxx" | dnanexus_dx-toolkit | train | py |
8a91367bbed505e6e35db7af46b4271d68456b4c | diff --git a/src/com/google/javascript/jscomp/AstValidator.java b/src/com/google/javascript/jscomp/AstValidator.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/AstValidator.java
+++ b/src/com/google/javascript/jscomp/AstValidator.java
@@ -17,7 +17,6 @@
package com.google.javascript.jscomp;
i... | Remove invalid assumption from type info check in AstValidator.
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
2b0afd023052500998eb5571e88b73b4856f60c5 | diff --git a/salt/states/boto_iam.py b/salt/states/boto_iam.py
index <HASH>..<HASH> 100644
--- a/salt/states/boto_iam.py
+++ b/salt/states/boto_iam.py
@@ -363,7 +363,9 @@ def user_present(name, policies=None, policies_from_pillars=None, password=None,
The password for the new user. Must comply with account pol... | Add versionadded to new path option | saltstack_salt | train | py |
aab4ae3a4d6fd1168b58f9c60c7687551e542aa7 | diff --git a/rapport/__init__.py b/rapport/__init__.py
index <HASH>..<HASH> 100644
--- a/rapport/__init__.py
+++ b/rapport/__init__.py
@@ -24,4 +24,5 @@
"""
__author__ = "Sascha Peilicke <saschpe@gmx.de>"
-__version__ = '0.0.1'
+__version_info__ = ("0", "0", "2")
+__version__ = ".".join(__version_info__) | Add __version_info__ | saschpe_rapport | train | py |
acaf134dfe68ba25736ab83168d05caec2fe10cc | diff --git a/lib/model/model.go b/lib/model/model.go
index <HASH>..<HASH> 100644
--- a/lib/model/model.go
+++ b/lib/model/model.go
@@ -1168,6 +1168,10 @@ func (m *Model) updateLocals(folder string, fs []protocol.FileInfo) {
m.fmut.RLock()
files := m.folderFiles[folder]
m.fmut.RUnlock()
+ if files == nil {
+ // T... | Don't crash on folder remove while pulling (fixes #<I>) | syncthing_syncthing | train | go,go |
9a0b2cc772bc042a99522234c9e99d2287ae2e50 | diff --git a/Adyen/validation.py b/Adyen/validation.py
index <HASH>..<HASH> 100644
--- a/Adyen/validation.py
+++ b/Adyen/validation.py
@@ -7,7 +7,7 @@ from functools import wraps
actions = {}
actions['listRecurringDetails'] = ["shopperReference"]
actions['disable'] = ["shopperReference"]
-actions['directory'] = ["cu... | Removed "shipBeforeDate" from DirectoryLookUp validation since it is not required. | Adyen_adyen-python-api-library | train | py |
faf7ca0393c6dda6b03736a857ce8453da405652 | diff --git a/drools-core/src/main/java/org/drools/core/reteoo/ReteooBuilder.java b/drools-core/src/main/java/org/drools/core/reteoo/ReteooBuilder.java
index <HASH>..<HASH> 100644
--- a/drools-core/src/main/java/org/drools/core/reteoo/ReteooBuilder.java
+++ b/drools-core/src/main/java/org/drools/core/reteoo/ReteooBuilde... | [RHDM-<I>] avoid NPE when trying to remove a not existing rule coming from a broken drl during an incremental compilation | kiegroup_drools | train | java |
c00198c5a43a8525b2e10c2f9b3cf5b455882740 | diff --git a/net/http/Route.php b/net/http/Route.php
index <HASH>..<HASH> 100644
--- a/net/http/Route.php
+++ b/net/http/Route.php
@@ -229,7 +229,7 @@ class Route extends \lithium\core\Object {
protected function _init() {
parent::_init();
- if (!$this->_config['continue'] && !preg_match('@{:action:.*?}@', $thi... | Small optimization to reduce preg_match calls in route. | UnionOfRAD_lithium | train | php |
03d851048638e434cf5eb9d65e377d9d0dba9293 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,7 @@ These are the commands currently implemented:
- [x] /slap
- [x] /topic
- [x] /voice
+- [x] /whoami
- [x] /whois
## Install
diff --git a/client/js/chat.js b/client/js/chat.js
index <HASH>..<HASH> 10064... | Added '/whoami' command | erming_shout | train | md,js,js |
7a4469ae5691bd2906eb77d3ae297a8328f3c7df | diff --git a/salt/modules/virt.py b/salt/modules/virt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virt.py
+++ b/salt/modules/virt.py
@@ -343,7 +343,7 @@ def get_disks(vm_):
sep = ' '
if i == 0:
sep = '-'
- output... | Add "" around values, so yaml doesn't serialize to datetime and etc. | saltstack_salt | train | py |
90b773a350d0086fabcdc73a2641dc06eb0ec17f | diff --git a/lib/plugins/aws/customResources/index.js b/lib/plugins/aws/customResources/index.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/customResources/index.js
+++ b/lib/plugins/aws/customResources/index.js
@@ -13,7 +13,7 @@ function copyCustomResources(srcDirPath, destDirPath) {
}
function installDepen... | Fix install command
--prefix is not documented, and works differently on Windows | serverless_serverless | train | js |
a5f28fcc6a6b8f1fbd6000cba112ad947c4be548 | diff --git a/ioc_module.js b/ioc_module.js
index <HASH>..<HASH> 100644
--- a/ioc_module.js
+++ b/ioc_module.js
@@ -56,13 +56,10 @@ function registerInContainer(container) {
container
.register('ConsumerApiManualTaskService', ManualTaskService)
.dependencies(
- 'CorrelationService',
'EventAggreg... | :fire: Remove obsolete dependencies from ManualTaskService | process-engine_consumer_api_core | train | js |
dd252d5b8df73ecb680ae972c8bc95ca827c307f | diff --git a/apps/distgo/pkg/git/git.go b/apps/distgo/pkg/git/git.go
index <HASH>..<HASH> 100644
--- a/apps/distgo/pkg/git/git.go
+++ b/apps/distgo/pkg/git/git.go
@@ -22,7 +22,7 @@ import (
"github.com/pkg/errors"
)
-const Unspecified = "Unspecified"
+const Unspecified = "unspecified"
type ProjectInfo struct {
... | Fix regression in value of 'unspecified' string (#<I>)
Value was inadvertently changed from "unspecified" to "Unspecified". | palantir_godel | train | go |
14e9d4e7636e703a2c4811e8f2e65c7a7876e8a5 | diff --git a/tests/base.py b/tests/base.py
index <HASH>..<HASH> 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -1,6 +1,5 @@
from nose.tools import assert_equals, assert_true, assert_false
from fake_webapp import EXAMPLE_APP
-
from find_elements import FindElementsTest
from form_elements import FormElementsTest
... | fixed pep8 issues in test/base.py | cobrateam_splinter | train | py |
0105429c7758d6fd402c6e2dba7c6d8fed9154e1 | diff --git a/checklist-model.js b/checklist-model.js
index <HASH>..<HASH> 100644
--- a/checklist-model.js
+++ b/checklist-model.js
@@ -50,7 +50,7 @@ angular.module('checklist-model', [])
var checklistChange = $parse(attrs.checklistChange);
// value added to list
- var value = $parse(attrs.checklistValue)... | value attribute if checklist-value is not present | vitalets_checklist-model | train | js |
7c90d623da4bbc0aa8aa513bd37a27ed669d500d | diff --git a/lib/GameDB.js b/lib/GameDB.js
index <HASH>..<HASH> 100644
--- a/lib/GameDB.js
+++ b/lib/GameDB.js
@@ -61,7 +61,7 @@
}
if (!this.state) {
this.h('state', function(gb) {
- return gb.state.toHash('S.s.r');
+ return GameState.toHash(gb.state, 'S.s.r');
});
}
if (!this.key) { | GameDB uses static method to hash gamestate | nodeGame_nodegame-client | train | js |
f3c35627dbb3130bd8349148df112e496b32bb6e | diff --git a/test_isort.py b/test_isort.py
index <HASH>..<HASH> 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -2359,3 +2359,11 @@ def test_to_ensure_imports_are_brought_to_top_issue_651():
'multiline text\n'
'"""\n')
assert SortImports(file_contents=test_input).o... | Add test for issue #<I> | timothycrosley_isort | train | py |
e0f08889b43943bc160d21413d7f35a1069df3e4 | diff --git a/Pair/RatioProvider/ECBRatioProvider.php b/Pair/RatioProvider/ECBRatioProvider.php
index <HASH>..<HASH> 100644
--- a/Pair/RatioProvider/ECBRatioProvider.php
+++ b/Pair/RatioProvider/ECBRatioProvider.php
@@ -54,14 +54,14 @@ class ECBRatioProvider implements RatioProviderInterface
$xml = $this->getXM... | Fixed ECB provider for money3 | TheBigBrainsCompany_TbbcMoneyBundle | train | php |
c1688e781168e83756128c663273b8527a2153c1 | diff --git a/src/Minify.php b/src/Minify.php
index <HASH>..<HASH> 100644
--- a/src/Minify.php
+++ b/src/Minify.php
@@ -52,8 +52,8 @@ class Minify
*/
public function run(MinifyContext $context, $options = [])
{
- $context->addMeasurementStep($context->getContents(), 'Initial step');
$cont... | Initial step should be measured after placeholders are set for better percentages. | ArjanSchouten_HtmlMinifier | train | php |
ccc27bd5c436d504ced7260fa9a68cd4bdc1d93a | diff --git a/src/system/modules/metamodels/MetaModelBackend.php b/src/system/modules/metamodels/MetaModelBackend.php
index <HASH>..<HASH> 100644
--- a/src/system/modules/metamodels/MetaModelBackend.php
+++ b/src/system/modules/metamodels/MetaModelBackend.php
@@ -85,6 +85,14 @@ class MetaModelBackend
$Env->base = $En... | Bugfix for login after the session died. | MetaModels_core | train | php |
d72e57ce506b4ac45d96e99cb7c0db30617c5eac | diff --git a/app/services/geo_concerns/delivery/geoserver.rb b/app/services/geo_concerns/delivery/geoserver.rb
index <HASH>..<HASH> 100644
--- a/app/services/geo_concerns/delivery/geoserver.rb
+++ b/app/services/geo_concerns/delivery/geoserver.rb
@@ -77,6 +77,10 @@ module GeoConcerns
path.gsub(CurationConcer... | generate correct shapefile path in delivery job | samvera-labs_geo_works | train | rb |
1597247ef0fc331530e3675b73b0716c5391e319 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,12 +10,15 @@ setuptools.setup(name='nestcheck',
description=('Error analysis, diagnostic tests and plots for '
'nested sampling calculations'),
url='https:... | adding futures to setup.py for backwards compatibility | ejhigson_nestcheck | train | py |
669f43e9692cd98bd8f5a724440dd053a9806e56 | diff --git a/pycbc/types/array.py b/pycbc/types/array.py
index <HASH>..<HASH> 100644
--- a/pycbc/types/array.py
+++ b/pycbc/types/array.py
@@ -556,7 +556,7 @@ class Array(object):
""" Used internally by SWIG typemaps to ensure @_convert is called and scheme is correct """
if type(self._data) is not... | Change error for Array._swighelper to NotImplemented | gwastro_pycbc | train | py |
dada68dc3158bc8938cf9a8e0e8c6e7a7755a132 | diff --git a/pliers/converters/video.py b/pliers/converters/video.py
index <HASH>..<HASH> 100644
--- a/pliers/converters/video.py
+++ b/pliers/converters/video.py
@@ -53,6 +53,10 @@ class FrameSamplingConverter(VideoToDerivedVideoConverter):
_log_attributes = ('every', 'hertz', 'top_n')
def __init__(self, e... | ensure FrameSamplingConverter is initialized with at least one non-None argument | tyarkoni_pliers | train | py |
f36d4c2a288884a357f62b7c41df3a31ac4ad6d7 | diff --git a/ext_tables.php b/ext_tables.php
index <HASH>..<HASH> 100755
--- a/ext_tables.php
+++ b/ext_tables.php
@@ -1,5 +1,5 @@
<?php
-call_user_func(static function () {
+(static function () {
$configuration = (array)@unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['logs']);
if (empty($config... | [REFACTOR] Replace call_user_func with immediate lambda execution | vertexvaar_logs | train | php |
e2cf49e0456b98b5cf7cdf41923c27ad05ea846e | diff --git a/src/shared/test/java/com/couchbase/lite/EncodingTest.java b/src/shared/test/java/com/couchbase/lite/EncodingTest.java
index <HASH>..<HASH> 100644
--- a/src/shared/test/java/com/couchbase/lite/EncodingTest.java
+++ b/src/shared/test/java/com/couchbase/lite/EncodingTest.java
@@ -58,7 +58,13 @@ public class E... | CBL-<I>: fix: encoding test with UTF8 (#<I>)
* 1st 4 byte char and 2nd is legal. But 3rd char is not legal without preceding a 4byte char similar to the 1st.
* some how windows is allowing this. | couchbase_couchbase-lite-java | train | java |
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.