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 |
|---|---|---|---|---|---|
17e930747991ec170fbdf7e6bf6f3401992ec553 | diff --git a/tracks/track.py b/tracks/track.py
index <HASH>..<HASH> 100755
--- a/tracks/track.py
+++ b/tracks/track.py
@@ -40,13 +40,14 @@ for i,(ff,sf,t) in enumerate(zip(ffs,sfs,tracktime)):
if i>5:
break;
print("reading {} and {}".format(ff,sf));
+ print(" reading sclrs and flds");
fd=rea... | works, let's make it faster | noobermin_lspreader | train | py |
acb8fd8d74657cfac3b25c82e9c6028b93eb6c92 | diff --git a/foreman/api.py b/foreman/api.py
index <HASH>..<HASH> 100644
--- a/foreman/api.py
+++ b/foreman/api.py
@@ -55,7 +55,7 @@ class Api:
"""
def _log(self, *args, **kwargs):
ret = function(self, *args, **kwargs)
- if len(self.history)>self.maxHistory:
+ if len... | Correct PEP8 E<I>
missing whitespace around operator | davidblaisonneau-orange_foreman | train | py |
23f6b1bb8184d443bad42cbf9a215cfdac085fa1 | diff --git a/indra/reach/processor.py b/indra/reach/processor.py
index <HASH>..<HASH> 100644
--- a/indra/reach/processor.py
+++ b/indra/reach/processor.py
@@ -116,12 +116,20 @@ class ReachProcessor(object):
self.statements.append(Dephosphorylation(*args))
elif modification_type == 'ubiquit... | Extract more modification types in REACH processor | sorgerlab_indra | train | py |
746fc462a551744f70864d61dd107d7964307e11 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,15 +1,12 @@
from setuptools import setup, find_packages
+with open('README.rst') as file:
+ long_description = file.read()
+
setup(name='ledger-autosync',
version="0.1",
description="Automatically sync ... | read long desc from README | egh_ledger-autosync | train | py |
33605f6cde3c3ca4cfb30b4c6e582b040815c33c | diff --git a/api/gui_test.go b/api/gui_test.go
index <HASH>..<HASH> 100644
--- a/api/gui_test.go
+++ b/api/gui_test.go
@@ -41,6 +41,7 @@ func (s *clientSuite) TestUploadGUIArchive(c *gc.C) {
).Close()
// Check that the API client POSTs the GUI archive to the correct endpoint.
- client.UploadGUIArchive(bytes.NewRe... | Improve error handling in GUI archive api client test. | juju_juju | train | go |
f5217e1dc07b372b48ac73963acf0745a01674ad | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,10 @@
#!/usr/bin/env python
+"""
+Run the following to publish to PyPI:
+
+> python setup.py publish
+
+"""
import os
import sys
@@ -25,7 +31,7 @@ setup(name='pystache',
url='http://github.com/defunkt/pysta... | Added a module docstring to setup.py. | defunkt_pystache | train | py |
597d6e9d178bb4361cb9833838b3cd12af3c30e2 | diff --git a/lib/chewy/index/actions.rb b/lib/chewy/index/actions.rb
index <HASH>..<HASH> 100644
--- a/lib/chewy/index/actions.rb
+++ b/lib/chewy/index/actions.rb
@@ -177,7 +177,7 @@ module Chewy
if settings_hash[:settings] && settings_hash[:settings][:index]
index_settings = setting... | Fixed refresh_interval settings after import | toptal_chewy | train | rb |
7afffb3fda743d14086932cedc7cade835356ea9 | diff --git a/models/activityobject.js b/models/activityobject.js
index <HASH>..<HASH> 100644
--- a/models/activityobject.js
+++ b/models/activityobject.js
@@ -44,6 +44,10 @@ ActivityObject.schema = {
indices: ["id"]
};
+ActivityObject.pkey = function() {
+ return "url";
+};
+
ActivityObject.ensure = functio... | Make sure pkey is always URL | e14n_pump.io-client-app | train | js |
8a92ab4b2c0de50559b8906914b2eef63112d9f3 | diff --git a/tests/Doctrine/ODM/MongoDB/Tests/BaseTest.php b/tests/Doctrine/ODM/MongoDB/Tests/BaseTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/ODM/MongoDB/Tests/BaseTest.php
+++ b/tests/Doctrine/ODM/MongoDB/Tests/BaseTest.php
@@ -66,12 +66,10 @@ abstract class BaseTest extends \PHPUnit_Framework_TestCase
... | Better teardown that doesn't segfault. | doctrine_mongodb-odm | train | php |
1ef61c260dd0d301ee7bc0210efe2db82be9dc6f | diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php
index <HASH>..<HASH> 100644
--- a/blocks/moodleblock.class.php
+++ b/blocks/moodleblock.class.php
@@ -418,8 +418,8 @@ class block_base {
* @todo finish documenting this function
*/
function applicable_formats() {
- // Defau... | Pull all blocks out of quiz pages. We can see about allowing them later. | moodle_moodle | train | php |
476e6e64d22a1078cf7d35ce48c1aa7296f17981 | diff --git a/carelib.php b/carelib.php
index <HASH>..<HASH> 100644
--- a/carelib.php
+++ b/carelib.php
@@ -26,7 +26,9 @@ require_once trailingslashit( dirname( __FILE__ ) ) . 'inc/library.php';
* @return object CareLib
*/
function carelib() {
- return CareLib::instance( __FILE__ );
+ $plugin = CareLib::instance()... | Handle paths outside of the instance getter | cipherdevgroup_carelib | train | php,php |
98f6629e4ef6d5db84b2f44538c7691dc126f470 | diff --git a/owo/aiohttp2.py b/owo/aiohttp2.py
index <HASH>..<HASH> 100644
--- a/owo/aiohttp2.py
+++ b/owo/aiohttp2.py
@@ -6,7 +6,6 @@ from aiohttp.multipart import TOKEN
from aiohttp.hdrs import CONTENT_DISPOSITION
from urllib.parse import quote
-import asyncio
import aiohttp
diff --git a/owo/owo.py b/owo/owo... | Made all code flake8
except for __init__ for obvious reasons | whats-this_owo.py | train | py,py |
4bd234b67937b6852a87cdca4236831439b94bd3 | diff --git a/pkg/apis/extensions/types.go b/pkg/apis/extensions/types.go
index <HASH>..<HASH> 100644
--- a/pkg/apis/extensions/types.go
+++ b/pkg/apis/extensions/types.go
@@ -182,7 +182,7 @@ type ThirdPartyResourceData struct {
api.ObjectMeta `json:"metadata,omitempty"`
// Data is the raw JSON data for this data.... | Correct a typo in the json/yaml tags for 3rd party objects. | kubernetes_kubernetes | train | go,go |
1e46f989dd57958521ec34715b177a497159e652 | diff --git a/demo/basic-reflection/example2.php b/demo/basic-reflection/example2.php
index <HASH>..<HASH> 100644
--- a/demo/basic-reflection/example2.php
+++ b/demo/basic-reflection/example2.php
@@ -1,4 +1,5 @@
<?php
+
// Load an autoloadable class
require_once __DIR__ . '/../../vendor/autoload.php';
@@ -8,4 +9,3 ... | [docs] example2.php - flip fallen space from the bottom | Roave_BetterReflection | train | php |
bbf35cdf7f30199757da6bde009d6ccd700e9ccb | diff --git a/src/models/Comment.php b/src/models/Comment.php
index <HASH>..<HASH> 100644
--- a/src/models/Comment.php
+++ b/src/models/Comment.php
@@ -57,6 +57,11 @@ class Comment extends \Eloquent {
{
$commentable = $this->commentable;
+ if ( ! is_object($commentable) || ! method_exists($commentable, 'ge... | added defensive coding to check getAttributes exists before calling it | FbF_Laravel-Comments | train | php |
2005e048f7342c011f4bc08899d5cb4d4a15357a | diff --git a/debugtools/middleware/xviewmiddleware.py b/debugtools/middleware/xviewmiddleware.py
index <HASH>..<HASH> 100644
--- a/debugtools/middleware/xviewmiddleware.py
+++ b/debugtools/middleware/xviewmiddleware.py
@@ -1,7 +1,14 @@
+import django
from debugtools.utils.xview import track_view_name, get_used_view_na... | Add MiddlewareMixin for Django <I> middleware compatibility | edoburu_django-debugtools | train | py |
a37eb9243cb633a0f0e2b6c87fe0f05acd5956d4 | diff --git a/asammdf/mdf.py b/asammdf/mdf.py
index <HASH>..<HASH> 100644
--- a/asammdf/mdf.py
+++ b/asammdf/mdf.py
@@ -3001,6 +3001,13 @@ class MDF(object):
size = UINT64_u(stream.read(8))[0] - 24
texts[addr] = randomized_string(size)
+ for at in mdf.attach... | add scrambling of attachments in mdf.scramble | danielhrisca_asammdf | train | py |
32a3c78bc904b9816169ff256f06dbbedbb551d2 | diff --git a/src/Billing/SubscriptionGateway.php b/src/Billing/SubscriptionGateway.php
index <HASH>..<HASH> 100644
--- a/src/Billing/SubscriptionGateway.php
+++ b/src/Billing/SubscriptionGateway.php
@@ -524,8 +524,10 @@ class SubscriptionGateway extends StripeGateway {
if ( ! array_get($stripeSubscriptions, $subscr... | tweak the syncWithStripe() method on the subscription gateway | cartalyst_stripe | train | php |
652efed86dfea1b411ce313766ae56ad8d8067ee | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ setup(name = 'python-safe',
author = 'Ole Nielsen, Tim Sutton, Ariel Núñez',
author_email = 'ole.moller.nielsen@gmail.com',
url = 'http://github.com/AIFDR/inasafe',
- ... | Chaged way to access README file | inasafe_inasafe | train | py |
b34911104b835856f28f07b9fc32a6edb553b296 | diff --git a/src/chisel/__init__.py b/src/chisel/__init__.py
index <HASH>..<HASH> 100644
--- a/src/chisel/__init__.py
+++ b/src/chisel/__init__.py
@@ -5,7 +5,7 @@
TODO
"""
-__version__ = '0.9.93'
+__version__ = '0.9.94'
from .action import \
Action, \ | chisel <I> | craigahobbs_chisel | train | py |
08c909900ad0f67be6e1a46d9f1f1165153e3030 | diff --git a/lib/json_constants_parser.js b/lib/json_constants_parser.js
index <HASH>..<HASH> 100755
--- a/lib/json_constants_parser.js
+++ b/lib/json_constants_parser.js
@@ -30,7 +30,9 @@ var LJM_JSON_FILE_LOCATION;
if (process.platform === 'win32') {
var modernPath = process.env.ALLUSERSPROFILE + '\\LabJack\\LJM\\... | Fixed a depreciated function call for existsSync | chrisJohn404_LabJack-nodejs | train | js |
ff0577ee4c68a8d81c8a55cc37ad07415b428759 | diff --git a/p2p/net/connmgr/connmgr.go b/p2p/net/connmgr/connmgr.go
index <HASH>..<HASH> 100644
--- a/p2p/net/connmgr/connmgr.go
+++ b/p2p/net/connmgr/connmgr.go
@@ -141,12 +141,18 @@ func NewConnManager(low, hi int, opts ...Option) (*BasicConnMgr, error) {
}
// memoryEmergency is run when we run low on memory.
-/... | always trim to the low watermark in a memory emergency | libp2p_go-libp2p | train | go |
742f11e42d212eaba23124d1e7c8cd031c32979d | diff --git a/tests/org.eclipse.xtext.common.types.tests/tests/org/eclipse/xtext/common/types/xtext/ui/ContentAssistTest.java b/tests/org.eclipse.xtext.common.types.tests/tests/org/eclipse/xtext/common/types/xtext/ui/ContentAssistTest.java
index <HASH>..<HASH> 100644
--- a/tests/org.eclipse.xtext.common.types.tests/test... | [pde] added missing plugin.properties file to binary build | eclipse_xtext-extras | train | java |
fe9aab1055604e772be05a1cbbb36a207c177055 | diff --git a/transformers/tokenization_xlm_roberta.py b/transformers/tokenization_xlm_roberta.py
index <HASH>..<HASH> 100644
--- a/transformers/tokenization_xlm_roberta.py
+++ b/transformers/tokenization_xlm_roberta.py
@@ -30,8 +30,8 @@ VOCAB_FILES_NAMES = {'vocab_file': 'sentencepiece.bpe.model'}
PRETRAINED_VOCAB_FIL... | tokenization: use S3 location for XLM-RoBERTa model | huggingface_pytorch-pretrained-BERT | train | py |
30d24416b2e171d1fec86b0f36cdfe316fd8dd57 | diff --git a/tika/__init__.py b/tika/__init__.py
index <HASH>..<HASH> 100644
--- a/tika/__init__.py
+++ b/tika/__init__.py
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "1.16"
+__version__ = "1.18"
try:
__import__('pkg... | Upgrade to <I>. This closes #<I>. | chrismattmann_tika-python | train | py,py |
189450da9088c28a82324adb1f1a22d1244f931b | diff --git a/src/plugins/AwsS3/index.js b/src/plugins/AwsS3/index.js
index <HASH>..<HASH> 100644
--- a/src/plugins/AwsS3/index.js
+++ b/src/plugins/AwsS3/index.js
@@ -60,12 +60,18 @@ module.exports = class AwsS3 extends Plugin {
value: 1
})
return params
+ }).catch((error) => {... | s3: Emit upload-error when generating upload parameters fails. | transloadit_uppy | train | js |
39dd83d692d0cb984af851b38e89b0cd8ea302b6 | diff --git a/store.go b/store.go
index <HASH>..<HASH> 100644
--- a/store.go
+++ b/store.go
@@ -222,10 +222,10 @@ func (s *FilesystemStore) save(session *Session) error {
if err != nil {
return err
}
+ defer fp.Close()
if _, err = fp.Write([]byte(encoded)); err != nil {
return err
}
- fp.Close()
return n... | ensure FilesystemStore closes the file even on error.
Fixes #<I> | gorilla_sessions | train | go |
63ccd4f77ef039e8398471486f966b079169a8f6 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -35,6 +35,20 @@ class Mock(object):
# pylint: enable=R0903
MOCK_MODULES = [
+ # third-party libs (for netapi modules)
+ 'flask',
+ 'flask.globals',
+ 'flask.views',
+ 'werkzeug',
+ 'werkzeug.e... | Mocked several modules in order to build the docs | saltstack_salt | train | py |
00f4dc643c9a2624d0c358e4224490ae2fb12185 | diff --git a/provision/kubernetes/deploy.go b/provision/kubernetes/deploy.go
index <HASH>..<HASH> 100644
--- a/provision/kubernetes/deploy.go
+++ b/provision/kubernetes/deploy.go
@@ -166,7 +166,8 @@ func createBuildPod(params buildPodParams) error {
while id=$(docker ps -aq -f "label=io.kubernetes.container.nam... | provision/kubernetes: prevent image commit of a failed deploy | tsuru_tsuru | train | go |
34ce08500dd70a5528fc1696bbe4587359badf02 | diff --git a/lib/tangle/graph.rb b/lib/tangle/graph.rb
index <HASH>..<HASH> 100644
--- a/lib/tangle/graph.rb
+++ b/lib/tangle/graph.rb
@@ -59,11 +59,12 @@ module Tangle
#
# edges => Array
#
- def edges(&selector)
+ def edges(vertex: nil, &selector)
+ edges = vertex.nil? ? @edges : @edges_by_ve... | Add vertex pre-selection to Graph#edges
Limit searched/returned edges to those that touch the given vertex, by using the `@edges_by_vertex` index. | notCalle_ruby-tangle | train | rb |
594c9176bdc42580f0c844bee4cf50767a32a5bf | diff --git a/lib/travis/task.rb b/lib/travis/task.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/task.rb
+++ b/lib/travis/task.rb
@@ -19,13 +19,17 @@ module Travis
class << self
def run(type, data, options = {})
- if false && Travis.env == 'staging'
- publisher('tasks').publish(:data => d... | use a feature flip for travis-tasks | travis-ci_travis-core | train | rb |
f6831aeff6ce60f2d78d3ba7d6ed7a2a1c2f3eb4 | diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/common/services/DefaultTerminalConverters.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/common/services/DefaultTerminalConverters.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/common/services/DefaultTerminalCo... | [xtext] value converters should be marked as singletons by default | eclipse_xtext-core | train | java |
dda740ecf0fbb1a513af8239b1386f2c4e98fbab | diff --git a/core/src/main/java/com/orientechnologies/common/console/OConsoleApplication.java b/core/src/main/java/com/orientechnologies/common/console/OConsoleApplication.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/common/console/OConsoleApplication.java
+++ b/core/src/main/java/com... | Fix multiple spaces in console CONNECT
Resolves: #<I> | orientechnologies_orientdb | train | java |
77d0a08c38d10e3ed509350fcfcc24cc2c296c62 | diff --git a/python/ray/autoscaler/_private/docker.py b/python/ray/autoscaler/_private/docker.py
index <HASH>..<HASH> 100644
--- a/python/ray/autoscaler/_private/docker.py
+++ b/python/ray/autoscaler/_private/docker.py
@@ -18,7 +18,7 @@ def _check_docker_file_mounts(file_mounts: Dict[str, str]) -> None:
if Pat... | [docker] Fix missing space in docker.py warning (#<I>) | ray-project_ray | train | py |
1398d4e29a1c64a7c4a239f272d2a6d656fa0f41 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -93,7 +93,7 @@ function HttpProxyMiddleware(context, opts) {
// store uri before it gets rewritten for logging
var originalPath = req.url;
- var newProxyOptions = _.cloneDeep(proxyOpt... | fix(ntlm authentication) (#<I>) | chimurai_http-proxy-middleware | train | js |
495995cd08b2f45e27416a878051dd87a4263d80 | diff --git a/src/motor/Observable.js b/src/motor/Observable.js
index <HASH>..<HASH> 100644
--- a/src/motor/Observable.js
+++ b/src/motor/Observable.js
@@ -4,6 +4,10 @@ const instanceofSymbol = Symbol('instanceofSymbol')
const ObservableMixin = base => {
class Observable extends base {
+ constructor(optio... | All mixins should follow the constructor(options = {}) pattern. | trusktr_infamous | train | js,js |
0a8c427ae54537f277c6b91a788ad5398cc40d87 | diff --git a/imagepipeline/src/main/java/com/facebook/imagepipeline/decoder/ImageDecoder.java b/imagepipeline/src/main/java/com/facebook/imagepipeline/decoder/ImageDecoder.java
index <HASH>..<HASH> 100644
--- a/imagepipeline/src/main/java/com/facebook/imagepipeline/decoder/ImageDecoder.java
+++ b/imagepipeline/src/main... | Remove synchronization from ImageDecoder | facebook_fresco | train | java |
96dd072cd9dd7ec2ef32cf78268efd9c8ec9bdde | diff --git a/spec/cube_solver/cube_spec.rb b/spec/cube_solver/cube_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cube_solver/cube_spec.rb
+++ b/spec/cube_solver/cube_spec.rb
@@ -39,12 +39,12 @@ describe CubeSolver::Cube do
describe '#solved?' do
it 'returns true when cube is solved' do
- expect(subject.... | Use RSpec-isms for testing Cube#solved? | chrishunt_rubiks-cube | train | rb |
68d06d22fc591194ee59cff1ce85635c29b073a5 | diff --git a/src/Framework/Application/Application.php b/src/Framework/Application/Application.php
index <HASH>..<HASH> 100644
--- a/src/Framework/Application/Application.php
+++ b/src/Framework/Application/Application.php
@@ -153,10 +153,19 @@ class Application implements ApplicationInterface, LoggerAwareInterface
... | Add debug logging for other exception types | phOnion_framework | train | php |
63a6e77b7982e6fde0c2f3b58cad87d720cea4af | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -7,6 +7,11 @@ require 'active_support'
FIXTURES_DIR = File.join(Dir.pwd, 'test', 'fixtures')
+class Minitest::Test
+ FileUtils.rm_rf File.join(FIXTURES_DIR, 'output')
+ FileUt... | Clean up stale output before full run | gjtorikian_nanoc-conref-fs | train | rb |
5088e4f364e801ac5e4113d3b7c05e08e89cf6a1 | diff --git a/abstract.js b/abstract.js
index <HASH>..<HASH> 100644
--- a/abstract.js
+++ b/abstract.js
@@ -525,7 +525,8 @@ ee(Object.defineProperties(PersistenceDriver.prototype, assign({
type: 'size',
direct: true,
keyPath: keyPath,
- searchValue: searchValue
+ searchValue: searchValue,
+ filter: fil... | Expose filter on index meta data | medikoo_dbjs-persistence | train | js |
e4ee7fc7d79d8f4297fefad0dbd16ea826b07d21 | diff --git a/lib/Alchemy/Phrasea/Core/Provider/SearchEngineServiceProvider.php b/lib/Alchemy/Phrasea/Core/Provider/SearchEngineServiceProvider.php
index <HASH>..<HASH> 100644
--- a/lib/Alchemy/Phrasea/Core/Provider/SearchEngineServiceProvider.php
+++ b/lib/Alchemy/Phrasea/Core/Provider/SearchEngineServiceProvider.php
@... | Fix broken phrasea engine (introduced in #<I>) | alchemy-fr_Phraseanet | train | php |
3cde6e57e635d130ddb26189adb4323aeda6899d | diff --git a/test/TransactionServiceUTest.php b/test/TransactionServiceUTest.php
index <HASH>..<HASH> 100644
--- a/test/TransactionServiceUTest.php
+++ b/test/TransactionServiceUTest.php
@@ -164,7 +164,8 @@ class TransactionServiceUTest extends \PHPUnit_Framework_TestCase
$this->assertInstanceOf($class, $servi... | put opening brace on the next line | wirecard_paymentSDK-php | train | php |
6ab614371a7d6b6d117fbe644986c6a29050353a | diff --git a/update.php b/update.php
index <HASH>..<HASH> 100644
--- a/update.php
+++ b/update.php
@@ -105,7 +105,7 @@
}
$code = sprintf($shell,
-' <h1>Update Symphony <em>Version '.kVERSION.'</em><em><a href="http://overture21.com/forum/comments.php?DiscussionID=754">change log</a></em></h1>
+' <h1... | removed the remaining static changelog URL reference | symphonycms_symphony-2 | train | php |
4b86353b9dc875eb61d432d14af6a1f3bfe59298 | diff --git a/lib/engineyard-serverside/version.rb b/lib/engineyard-serverside/version.rb
index <HASH>..<HASH> 100644
--- a/lib/engineyard-serverside/version.rb
+++ b/lib/engineyard-serverside/version.rb
@@ -1,5 +1,5 @@
module EY
module Serverside
- VERSION = '2.5.1.pre'
+ VERSION = '2.6.0.pre'
end
end | <I> version is next.
Minor bump for new features that are backwards compatible. | engineyard_engineyard-serverside | train | rb |
24f4d6dc56f38f98b0a0b980ff318e882d436947 | diff --git a/tpot/builtins/nn.py b/tpot/builtins/nn.py
index <HASH>..<HASH> 100644
--- a/tpot/builtins/nn.py
+++ b/tpot/builtins/nn.py
@@ -239,9 +239,9 @@ class _MLP(nn.Module):
self.hidden_size = round((input_size+num_classes)/2)
- self.fc1 = nn.Linear(input_size, hidden_size)
+ self.fc1 = n... | Make hidden size an instance attribute in _MLP | EpistasisLab_tpot | train | py |
13881f2002e8821555cab00307867a1c47957c8b | diff --git a/core/typechecker/src/main/java/org/overture/typechecker/visitor/TypeCheckerDefinitionVisitor.java b/core/typechecker/src/main/java/org/overture/typechecker/visitor/TypeCheckerDefinitionVisitor.java
index <HASH>..<HASH> 100644
--- a/core/typechecker/src/main/java/org/overture/typechecker/visitor/TypeChecker... | Fix to make measure_f same access specifier as main function | overturetool_overture | train | java |
72470f0fe0ac71cd36e18d585404a90c6ce382bb | diff --git a/lib/scenario.js b/lib/scenario.js
index <HASH>..<HASH> 100644
--- a/lib/scenario.js
+++ b/lib/scenario.js
@@ -95,7 +95,6 @@ module.exports.test = (test) => {
*/
module.exports.injected = function (fn, suite, hookName) {
return function (done) {
-
const errHandler = (err) => {
recorder.ses... | refactor: fix eslint errors (#<I>) | Codeception_CodeceptJS | train | js |
627735b49e5e9a0fdcbade4b35df0aa8e21c0e05 | diff --git a/intranet/apps/eighth/models.py b/intranet/apps/eighth/models.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/eighth/models.py
+++ b/intranet/apps/eighth/models.py
@@ -1080,7 +1080,7 @@ class EighthScheduledActivity(AbstractBaseEighthModel):
capacity = self.get_true_capacity()
return ca... | refactor(eighth): fix type annotation | tjcsl_ion | train | py |
483dc02e83258b1bce5905ada96ba74fb937970c | diff --git a/src/Connections/ConnectionInterface.php b/src/Connections/ConnectionInterface.php
index <HASH>..<HASH> 100644
--- a/src/Connections/ConnectionInterface.php
+++ b/src/Connections/ConnectionInterface.php
@@ -1,7 +1,6 @@
<?php
namespace Adldap\Connections;
-use Adldap\AdldapError;
/**
* The Connectio... | Throw connection exception if start TLS fails. | Adldap2_Adldap2 | train | php,php |
56ddbcba2dfd1f197e864eff379cc942cf064292 | diff --git a/maven-plugin/src/main/java/net/revelc/code/formatter/FormatterMojo.java b/maven-plugin/src/main/java/net/revelc/code/formatter/FormatterMojo.java
index <HASH>..<HASH> 100644
--- a/maven-plugin/src/main/java/net/revelc/code/formatter/FormatterMojo.java
+++ b/maven-plugin/src/main/java/net/revelc/code/format... | [ci] Remove redundant final in try with resources block | revelc_formatter-maven-plugin | train | java |
af2b2ec67bdbce8066364772b1875ec5297afeb8 | diff --git a/src/AlphaRPC/Common/Socket/Stream.php b/src/AlphaRPC/Common/Socket/Stream.php
index <HASH>..<HASH> 100644
--- a/src/AlphaRPC/Common/Socket/Stream.php
+++ b/src/AlphaRPC/Common/Socket/Stream.php
@@ -100,6 +100,10 @@ class Stream implements StreamInterface
}
/**
+ * Handles messages that are ... | Improved comments on Stream::handle(). | alphacomm_alpharpc | train | php |
203c43ff4415f664c5ecc0cf2b0ade9ae9807c3a | diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py
index <HASH>..<HASH> 100755
--- a/codespell_lib/_codespell.py
+++ b/codespell_lib/_codespell.py
@@ -220,9 +220,8 @@ def parse_options(args):
action='append', metavar='FILE',
help='Custom dictionary file ... | Drop path in help output to make the build reproducible (#<I>)
Closes #<I> | codespell-project_codespell | train | py |
24507b0731c0077da252a8e7892b5b0419625a84 | diff --git a/src/Expression.php b/src/Expression.php
index <HASH>..<HASH> 100644
--- a/src/Expression.php
+++ b/src/Expression.php
@@ -28,9 +28,12 @@ class Expression implements \ArrayAccess, \IteratorAggregate
*
* $args['custom'] is used to store hash of custom template replacements.
*
+ * This p... | make args public (#<I>) | atk4_dsql | train | php |
c5545d151969b66f87cda3feee98d12b45638bed | diff --git a/src/DocBlock/Tags/Method.php b/src/DocBlock/Tags/Method.php
index <HASH>..<HASH> 100644
--- a/src/DocBlock/Tags/Method.php
+++ b/src/DocBlock/Tags/Method.php
@@ -218,6 +218,7 @@ final class Method extends BaseTag implements Factory\StaticMethod
$argument['type'] = new Void_();
... | Adds sort to order expected keys
Without this sort the order of argument name and type matter. But
we accually don't care about the order. Only name and type are allowed
but the order doesn't matter. | phpDocumentor_ReflectionDocBlock | train | php |
0aa3717d7d93a08dd3eb30512f817135456fa3db | diff --git a/torchvision/ops/boxes.py b/torchvision/ops/boxes.py
index <HASH>..<HASH> 100644
--- a/torchvision/ops/boxes.py
+++ b/torchvision/ops/boxes.py
@@ -66,8 +66,7 @@ def batched_nms(
_log_api_usage_once("torchvision.ops.batched_nms")
# Benchmarks that drove the following thresholds are at
# https:... | Change batched NMS threshold to choose for-loop version (#<I>)
According to the benchmark link <URL>.
This PR changes the threshold to be device dependent. | pytorch_vision | train | py |
6d7529c34f54ff51843c8ae46e079dc79299bb54 | diff --git a/commons-types/src/main/java/se/l4/commons/types/reflect/Annotated.java b/commons-types/src/main/java/se/l4/commons/types/reflect/Annotated.java
index <HASH>..<HASH> 100644
--- a/commons-types/src/main/java/se/l4/commons/types/reflect/Annotated.java
+++ b/commons-types/src/main/java/se/l4/commons/types/refl... | fix(types): hasAnnotation should only take in annotation types | LevelFourAB_commons | train | java |
702c7c41ade2e1d9aefdd15706c8c78146a1a567 | diff --git a/src/Amadeus/Client/SoapClient.php b/src/Amadeus/Client/SoapClient.php
index <HASH>..<HASH> 100644
--- a/src/Amadeus/Client/SoapClient.php
+++ b/src/Amadeus/Client/SoapClient.php
@@ -115,8 +115,8 @@ class SoapClient extends \SoapClient implements Log\LoggerAwareInterface
$newRequest = $request;... | Another attempt at fixing failing unittest (newlines) | amabnl_amadeus-ws-client | train | php |
990173f8b1c0e36e9b6fdc4aeddb6f563d83658b | diff --git a/topydo/lib/ListFormat.py b/topydo/lib/ListFormat.py
index <HASH>..<HASH> 100644
--- a/topydo/lib/ListFormat.py
+++ b/topydo/lib/ListFormat.py
@@ -193,9 +193,9 @@ class ListFormatParser(object):
# relative completion date
'X': lambda t: 'x ' + humanize_date(t.completion_date()) if ... | Don't print colors codes when colors are turned off | bram85_topydo | train | py |
bf395348dc2d9e940ad16007cb3475ab063e1fd8 | diff --git a/src/photini/__init__.py b/src/photini/__init__.py
index <HASH>..<HASH> 100644
--- a/src/photini/__init__.py
+++ b/src/photini/__init__.py
@@ -1,5 +1,5 @@
from __future__ import unicode_literals
-__version__ = '14.12.0.dev172'
-_dev_no = '172'
-_commit = '66849e9'
+__version__ = '14.12.0.dev173'
+_dev_no... | Bug fix: could quit with unsaved files
If the unsaved files weren't selected the "do you want to save?" dialog
wasn't happening. | jim-easterbrook_Photini | train | py,py |
56d09ecbee95e101317637243d35182f82c1110a | diff --git a/bika/lims/content/abstractroutineanalysis.py b/bika/lims/content/abstractroutineanalysis.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/abstractroutineanalysis.py
+++ b/bika/lims/content/abstractroutineanalysis.py
@@ -519,13 +519,3 @@ class AbstractRoutineAnalysis(AbstractAnalysis):
# ... | Remove guard_to_be_preserved from analysis (#<I>)
to_be_preserved state and transitions are no longer supported in
analysis_workflow | senaite_senaite.core | train | py |
6690fbd9a2ba00e40d7484425808c84d44233f0c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ setup(
long_description="""API's for cryptocurrency exchanges """,
license="BSD",
packages=['cryptoexchange', 'cryptoexchange/util'],
- install_requires = ["websocket-client"],
+ install_req... | add bitcoin-price-api as dependence | joequant_cryptoexchange | train | py |
d2137c1984cdfbd66259d3e117464a55251b0a42 | diff --git a/src/Resource/Customer.php b/src/Resource/Customer.php
index <HASH>..<HASH> 100644
--- a/src/Resource/Customer.php
+++ b/src/Resource/Customer.php
@@ -362,7 +362,7 @@ class Customer extends MoipResource
/**
* Set tax document from customer.
*
- * @param int $number Document number.
+... | taxDocument.number is a string (because it can start with '0') | wirecardBrasil_moip-sdk-php | train | php |
04bef05b571e6dc8679b5beddb383038883f80b2 | diff --git a/mobly/controllers/android_device_lib/services/snippet_management_service.py b/mobly/controllers/android_device_lib/services/snippet_management_service.py
index <HASH>..<HASH> 100644
--- a/mobly/controllers/android_device_lib/services/snippet_management_service.py
+++ b/mobly/controllers/android_device_lib/... | Clean up legacy code (#<I>) | google_mobly | train | py |
41f0096badab95a86b6f121327ae3c78b76d5a86 | diff --git a/src/createApp.js b/src/createApp.js
index <HASH>..<HASH> 100644
--- a/src/createApp.js
+++ b/src/createApp.js
@@ -56,8 +56,7 @@ function createApp (views) {
var givenProps = this.state[key + '_props'];
var props = xtend({
key: key,
- app: this,
- viewClassName: this.state[key + '_class']... | createApp: 'view' classname is now defunct | touchstonejs_touchstonejs | train | js |
c84ab09a0e249151298d193018d45c58034faf86 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -231,6 +231,19 @@ function merge(source, target, filter) {
return target;
}
+function pedantic(value, period) {
+ period = period || '.';
+ value = /[a-zA-Z0-9]$/.test(value) ? value + period : value
+ // sane if it e... | Add pedantic function, requires testing. | cli-kit_cli-util | train | js |
95c89717f9a4f1199d26741cf910978aedf544d4 | diff --git a/lib/tty/prompt/reader.rb b/lib/tty/prompt/reader.rb
index <HASH>..<HASH> 100644
--- a/lib/tty/prompt/reader.rb
+++ b/lib/tty/prompt/reader.rb
@@ -345,7 +345,8 @@ module TTY
#
# @api public
def windows?
- ::File::ALT_SEPARATOR == "\\"
+ ::File::ALT_SEPARATOR == '\\' &&
+ ... | Change to treat cygwin as unix compatible reader and fix issue #<I> | piotrmurach_tty-prompt | train | rb |
988c8564d2dc08432e08bae53560258863cfad49 | diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/vasp/sets.py
+++ b/pymatgen/io/vasp/sets.py
@@ -267,7 +267,7 @@ class DictSet(VaspInputSet):
if self.vdw:
vdw_par = loadfn(os.path.join(MODULE_DIR, "vdW_parameters.yaml"))
if... | Override config dict rather than user_incar_settings. | materialsproject_pymatgen | train | py |
2a4f77d2039e1f94b8e0c1f24fe3c0267c520064 | diff --git a/tests/integration/remove.php b/tests/integration/remove.php
index <HASH>..<HASH> 100644
--- a/tests/integration/remove.php
+++ b/tests/integration/remove.php
@@ -44,6 +44,9 @@ class removeTestCase extends WatchmanTestCase {
system("rm -rf $root ; mkdir -p $root/notme");
+ if (PHP_OS == 'Linux' ... | and one more to persuade travis-ci to be happier | facebook_watchman | train | php |
7cc30c513b7ca5d36f66cd8b7a15d84c3063089a | diff --git a/src/main/java/org/jamesframework/core/problems/objectives/AbstractObjective.java b/src/main/java/org/jamesframework/core/problems/objectives/AbstractObjective.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jamesframework/core/problems/objectives/AbstractObjective.java
+++ b/src/main/java/org/jame... | added some final modifiers to AbstractObjective | hdbeukel_james-core | train | java |
4da0be87592ec5d5ddd4ce0cf4e87b0caf9bffcd | diff --git a/src/nupic/research/spatial_pooler.py b/src/nupic/research/spatial_pooler.py
index <HASH>..<HASH> 100644
--- a/src/nupic/research/spatial_pooler.py
+++ b/src/nupic/research/spatial_pooler.py
@@ -897,7 +897,7 @@ class SpatialPooler(object):
value is meaningless if global inhibition is enabled.
"""
... | Fix broken Spatial Pooler serialization | numenta_nupic | train | py |
862023a06c0bc52cedbc32eb1d55fc7813b785af | diff --git a/admin-tools-quartz/src/main/resources/static/admintool/quartz/js/quartz.js b/admin-tools-quartz/src/main/resources/static/admintool/quartz/js/quartz.js
index <HASH>..<HASH> 100644
--- a/admin-tools-quartz/src/main/resources/static/admintool/quartz/js/quartz.js
+++ b/admin-tools-quartz/src/main/resources/st... | Fix: #<I> - CSRF header added | andrehertwig_admintool | train | js |
a92dc703983662111f27b9e9f3bf78b49971087e | diff --git a/src/integrations/sproutimport/importers/fields/SuperTableImporter.php b/src/integrations/sproutimport/importers/fields/SuperTableImporter.php
index <HASH>..<HASH> 100644
--- a/src/integrations/sproutimport/importers/fields/SuperTableImporter.php
+++ b/src/integrations/sproutimport/importers/fields/SuperTab... | Fix webhooks incompatibility | verbb_super-table | train | php |
e6cb5c75bca0772c9d5c27ac2083e2d6cb634148 | diff --git a/web/js/bkjs-ko.js b/web/js/bkjs-ko.js
index <HASH>..<HASH> 100644
--- a/web/js/bkjs-ko.js
+++ b/web/js/bkjs-ko.js
@@ -307,14 +307,14 @@ bkjs.koRestoreComponent = function(path, dflt)
bkjs.koBootpopup = function(options)
{
var _before = options.before;
- options.before = function(b) {
- if ... | use passed popup in the koBootpopup properly | vseryakov_backendjs | train | js |
09edd54b32a6315df241358efba1de8c67a69594 | diff --git a/app/Packages/RealmAPI/Providers/RealmApiServiceProvider.php b/app/Packages/RealmAPI/Providers/RealmApiServiceProvider.php
index <HASH>..<HASH> 100644
--- a/app/Packages/RealmAPI/Providers/RealmApiServiceProvider.php
+++ b/app/Packages/RealmAPI/Providers/RealmApiServiceProvider.php
@@ -23,7 +23,7 @@ class R... | - fixed realm api service provider | vainproject_vain-cms | train | php |
5c40fd1799646a63c3ef1e76eb1f587f4402bc89 | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -55,7 +55,7 @@ repo_name = u"dtoolcore"
# built documents.
#
# The short X.Y version.
-version = u"3.7.0"
+version = u"3.8.0"
# The full version, including alpha/beta/rc tags.
r... | Update the version number to <I> | jic-dtool_dtoolcore | train | py,py,py |
f1da9f883329e3974b29963f8824da54ef60ce72 | diff --git a/ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/LogDiagnosticContextRecoveryInterceptor.java b/ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/LogDiagnosticContextRecoveryInterceptor.java
index <HASH>..<HASH> 100644
--- a/ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/L... | [WFLY-<I>] improve perf on use of MDC.map | wildfly_wildfly | train | java |
ce4350bc63154b3b4abffa1ae3cdae2d4c84589b | diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Page/Page.php
+++ b/system/src/Grav/Common/Page/Page.php
@@ -1938,7 +1938,12 @@ class Page
} else {
$result = [];
foreach($value as $key =>... | Fix to address #<I> - ability to have multiple collections in a regular list. | getgrav_grav | train | php |
51f6c4b918d4cf31183aca211689e79836443d7c | diff --git a/test/yargs-parser.js b/test/yargs-parser.js
index <HASH>..<HASH> 100644
--- a/test/yargs-parser.js
+++ b/test/yargs-parser.js
@@ -1117,6 +1117,13 @@ describe('yargs-parser', function () {
result.should.have.property('a').and.deep.equal([])
})
+ it('should not attempt to default array if an... | Add test to ensure arrays are not unintentionally defaulting to [] | yargs_yargs-parser | train | js |
04007576b57a3888e05df983e495244c169fe6fa | diff --git a/spyder/plugins/findinfiles/widgets.py b/spyder/plugins/findinfiles/widgets.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/findinfiles/widgets.py
+++ b/spyder/plugins/findinfiles/widgets.py
@@ -598,14 +598,14 @@ class FindOptions(QWidget):
self.ok_button = create_toolbutton(self, text=_("Searc... | Find: Remove tooltips for the search and stop buttons | spyder-ide_spyder | train | py |
c3eb64980f9cfd907c30c25853a45124138ae88d | diff --git a/src/node/test/math/math_server.js b/src/node/test/math/math_server.js
index <HASH>..<HASH> 100644
--- a/src/node/test/math/math_server.js
+++ b/src/node/test/math/math_server.js
@@ -68,7 +68,7 @@ function mathDiv(call, cb) {
function mathFib(stream) {
// Here, call is a standard writable Node object St... | node: fix math server minor bug | grpc_grpc | train | js |
3de1869914a02b6386e61cad50cd3ff22333cdbc | diff --git a/lib/docusign_rest/client.rb b/lib/docusign_rest/client.rb
index <HASH>..<HASH> 100644
--- a/lib/docusign_rest/client.rb
+++ b/lib/docusign_rest/client.rb
@@ -1781,7 +1781,7 @@ module DocusignRest
signHereTabs: get_tabs(tabs[:sign_here_tabs], options.merge!(sign_here_tab: true), index),
... | Allow text tabs to be passed when adding recipient tabs | jondkinney_docusign_rest | train | rb |
4fb6976e886aea29ee36113a9419e6e6131e20cc | diff --git a/app/controllers/govuk_publishing_components/application_controller.rb b/app/controllers/govuk_publishing_components/application_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/govuk_publishing_components/application_controller.rb
+++ b/app/controllers/govuk_publishing_components/application... | Remove "report a problem" header
We can't use this because otherwise apps that are upgrading to the
latest version of slimmer
(<URL>) stop working because the
`report_a_problem ` header isn't allowed anymore. It would be better to
bump the slimmer version here too, but we can't do that yet because it
would require app... | alphagov_govuk_publishing_components | train | rb |
317f24076eeaf221b74d7ef1eb5a549c0c8b1169 | diff --git a/src/util/Util.js b/src/util/Util.js
index <HASH>..<HASH> 100644
--- a/src/util/Util.js
+++ b/src/util/Util.js
@@ -24,12 +24,11 @@ class Util {
static flatten(obj, ...props) {
if (!isObject(obj)) return obj;
- props = Object.assign(
- ...Object.keys(obj)
- .filter(k => !k.startsWith... | fix(Util): support empty array for flatten (#<I>) | discordjs_discord.js | train | js |
eb5d6e66caf1e990bb422afd100a1d4f81370064 | diff --git a/flask_mail.py b/flask_mail.py
index <HASH>..<HASH> 100644
--- a/flask_mail.py
+++ b/flask_mail.py
@@ -292,7 +292,6 @@ class Message(object):
"""
assert self.recipients, "No recipients have been added"
- assert self.body or self.html, "No body or HTML has been set"
assert... | Allow sending mails with no body. | nicolas-van_mailflash | train | py,py |
1b5f097f23059e9d5fc0681e6571d586038d6bd7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ PACKAGES = [
MOD_NAMES = [
'thinc.linalg',
- #'thinc.prng',
+ 'thinc.prng',
'thinc.structs',
'thinc.typedefs',
'thinc.linear.avgtron', | * Uncomment loading of PRNG | explosion_thinc | train | py |
ad275cb4adee492b51e66e10af13b5a2e9982e73 | diff --git a/lib/grade/grade_grade.php b/lib/grade/grade_grade.php
index <HASH>..<HASH> 100644
--- a/lib/grade/grade_grade.php
+++ b/lib/grade/grade_grade.php
@@ -794,10 +794,16 @@ class grade_grade extends grade_object {
// Get course-module
$cm = get_coursemodule_from_instance($this->grade_item->ite... | MDL-<I> Fix debugging message when deleting activity with grade completion | moodle_moodle | train | php |
d44b08e7ee67857d8a6e841d79c730370c51bfb5 | diff --git a/src/rituals/acts/releasing.py b/src/rituals/acts/releasing.py
index <HASH>..<HASH> 100644
--- a/src/rituals/acts/releasing.py
+++ b/src/rituals/acts/releasing.py
@@ -45,7 +45,16 @@ PKG_INFO_MULTIKEYS = ('Classifier',)
INSTALLER_BASH = """#!/usr/bin/env bash
set -e
-target="${1:?You need to provide a ta... | :arrow_upper_right: proper usage for installer script | jhermann_rituals | train | py |
2a0f63d19bd6e666ad432ee459762489d6b6033a | diff --git a/py/selenium/webdriver/safari/webdriver.py b/py/selenium/webdriver/safari/webdriver.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/safari/webdriver.py
+++ b/py/selenium/webdriver/safari/webdriver.py
@@ -22,6 +22,7 @@ except ImportError:
from selenium.webdriver.common.desired_capabilities impo... | Fix Safari webdriver AttributeError for python client driver #<I> | SeleniumHQ_selenium | train | py |
9339fe50f20edbc7ec99c1b036245509955f1b9e | diff --git a/packages/node_modules/@webex/plugin-meetings/test/unit/spec/meeting/index.js b/packages/node_modules/@webex/plugin-meetings/test/unit/spec/meeting/index.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/plugin-meetings/test/unit/spec/meeting/index.js
+++ b/packages/node_modules/@webex/plugi... | test(plugin-meetings): update unit test for wait in lobby | webex_spark-js-sdk | train | js |
3127b3f4a1597abdf65e8041dc2b321ca434fb19 | diff --git a/src/CSPBuilder.php b/src/CSPBuilder.php
index <HASH>..<HASH> 100644
--- a/src/CSPBuilder.php
+++ b/src/CSPBuilder.php
@@ -328,10 +328,12 @@ class CSPBuilder
/**
* Send the compiled CSP as a header()
*
+ * @param boolean $legacy Send legacy headers?
+ *
* @return boolean
... | Add legacy headers, closes #1 (thanks @timoh6) | paragonie_csp-builder | train | php |
4c9da9b810a3b84e9303ab0afe344a085889e23d | diff --git a/src/psd_tools/api/layers.py b/src/psd_tools/api/layers.py
index <HASH>..<HASH> 100644
--- a/src/psd_tools/api/layers.py
+++ b/src/psd_tools/api/layers.py
@@ -908,10 +908,10 @@ class ShapeLayer(Layer):
elif self.has_vector_mask():
bbox = self.vector_mask.bbox
s... | Use round to shape bbox calculation | psd-tools_psd-tools | train | py |
99e86cc2f6341fa03d20c258ac05edd199a75f0b | diff --git a/ella/core/admin.py b/ella/core/admin.py
index <HASH>..<HASH> 100644
--- a/ella/core/admin.py
+++ b/ella/core/admin.py
@@ -1,4 +1,3 @@
-from app_data import multiform_factory
from app_data.admin import AppDataModelAdmin
from django.contrib import admin
from django.forms import models as modelforms
@@ -22... | no need for eplicit multiform any more | ella_ella | train | py |
cc9a769ca1e97237c0f5aee3ac331f00f742c795 | diff --git a/django_core/models.py b/django_core/models.py
index <HASH>..<HASH> 100644
--- a/django_core/models.py
+++ b/django_core/models.py
@@ -178,3 +178,8 @@ class AbstractBaseModel(models.Model):
if field.attname == field_name:
# This is the for_objs model class
retu... | added post_save hook so it's save to call super post_save | InfoAgeTech_django-core | train | py |
3a016f252594cd4b316de6fc590a737eb59401d2 | diff --git a/src/main/java/com/hivemq/spi/services/AsyncMetricService.java b/src/main/java/com/hivemq/spi/services/AsyncMetricService.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hivemq/spi/services/AsyncMetricService.java
+++ b/src/main/java/com/hivemq/spi/services/AsyncMetricService.java
@@ -25,7 +25,6 @@... | removed nullable annotation from async metric service | hivemq_hivemq-spi | train | java |
00f067d42efdc65c2516b855b1c7226c4f92c7c3 | diff --git a/Security/SecurityConfiguration.php b/Security/SecurityConfiguration.php
index <HASH>..<HASH> 100644
--- a/Security/SecurityConfiguration.php
+++ b/Security/SecurityConfiguration.php
@@ -11,8 +11,6 @@
namespace Darvin\UserBundle\Security;
use Darvin\AdminBundle\Security\Configuration\AbstractSecurityCon... | Simplify securable configurations. | DarvinStudio_DarvinUserBundle | train | php |
1ea97c7297b91510fa120f1051c1b7c2cd7b7302 | diff --git a/api/src/opentrons/hardware_control/api.py b/api/src/opentrons/hardware_control/api.py
index <HASH>..<HASH> 100644
--- a/api/src/opentrons/hardware_control/api.py
+++ b/api/src/opentrons/hardware_control/api.py
@@ -118,6 +118,9 @@ class API(HardwareAPILike):
except Exception:
m... | fix(api): Prevent extra pipette movement after homing (#<I>) | Opentrons_opentrons | train | py |
496960068a943880d895d76ae11521efa6280e26 | diff --git a/src/Environment.php b/src/Environment.php
index <HASH>..<HASH> 100644
--- a/src/Environment.php
+++ b/src/Environment.php
@@ -136,6 +136,9 @@ class Environment
);
$this->options = array_merge($default_options, $options);
+ if ($loader instanceof iEnvironmentAware) {
+ ... | Fix: Inject environment into template loader. | bugadani_Minty | train | php |
9313b665b0912df4add9d1117bb4d13a717d9464 | diff --git a/PyFunceble.py b/PyFunceble.py
index <HASH>..<HASH> 100755
--- a/PyFunceble.py
+++ b/PyFunceble.py
@@ -1804,6 +1804,7 @@ class Referer(object):
'ge',
'gr',
'mil',
+ 'mt',
'np',
'pa',
'tt',
@@ -2577,7 +2578,7 @@ if __nam... | Introduction of `mt` into the list of ignored extensions
cf: Whois lookup to <URL> | funilrys_PyFunceble | train | py |
8fed3cea46a9d12b38f68ce6c5f36b4bea729bd3 | diff --git a/lib/SDPInfo.js b/lib/SDPInfo.js
index <HASH>..<HASH> 100644
--- a/lib/SDPInfo.js
+++ b/lib/SDPInfo.js
@@ -1330,6 +1330,8 @@ SDPInfo.parse = function(string)
{
//Create track
track = new TrackInfo(media,trackId);
+ //Set the media id
+ track.setMediaId(mid);
//Set s... | Always set mediaId even on plan B | medooze_semantic-sdp-js | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.