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 |
|---|---|---|---|---|---|
d0e54bf156bf91ec523d3494f2dd754a7856d5b8 | diff --git a/c7n/resources/fsx.py b/c7n/resources/fsx.py
index <HASH>..<HASH> 100644
--- a/c7n/resources/fsx.py
+++ b/c7n/resources/fsx.py
@@ -16,7 +16,7 @@ from c7n.manager import resources
from c7n.query import QueryResourceManager
from c7n.actions import ActionRegistry, BaseAction
from c7n.filters import FilterRe... | aws.fsx - add marked-for-op filter (#<I>) | cloud-custodian_cloud-custodian | train | py |
db46b5e640c4493875376bbc410374bf06fc5337 | diff --git a/test/specs/model.relation.js b/test/specs/model.relation.js
index <HASH>..<HASH> 100644
--- a/test/specs/model.relation.js
+++ b/test/specs/model.relation.js
@@ -31,8 +31,10 @@ describe("Model.Relation", function(){
var album = Album.create({name: "First Album"});
var photo = Photo.create({albu... | Added a failing assertion for #<I> | spine_spine | train | js |
0d036d818357d6c57f417e7aa3012cc6f1c12697 | diff --git a/ReactNativeClient/lib/models/BaseItem.js b/ReactNativeClient/lib/models/BaseItem.js
index <HASH>..<HASH> 100644
--- a/ReactNativeClient/lib/models/BaseItem.js
+++ b/ReactNativeClient/lib/models/BaseItem.js
@@ -126,7 +126,7 @@ class BaseItem extends BaseModel {
let s = p[p.length - 1].split('.');
let ... | Fixed regression following fix for #<I> | laurent22_joplin | train | js |
a29ff9ed78c11040a90da83cd21ee5cdb679b974 | diff --git a/lib/form_translation/for_model.rb b/lib/form_translation/for_model.rb
index <HASH>..<HASH> 100644
--- a/lib/form_translation/for_model.rb
+++ b/lib/form_translation/for_model.rb
@@ -34,18 +34,18 @@ module FormTranslation
end
end
- self.class.class_exec do
- define_meth... | define methods on the class not their superclass | Crunch09_form_translation | train | rb |
dadfad29a1029a0411cab8546ddf02ccbaedec30 | diff --git a/interfacer_test.go b/interfacer_test.go
index <HASH>..<HASH> 100644
--- a/interfacer_test.go
+++ b/interfacer_test.go
@@ -93,8 +93,13 @@ func doTestWant(t *testing.T, name, exp string, wantErr bool, args ...string) {
return
}
var b bytes.Buffer
- if len(args) == 0 {
+ switch len(args) {
+ case 0:
... | Add test coverage for no args | mvdan_interfacer | train | go |
c3d6fc533946e044a4761e44da900df14b536f6c | diff --git a/edc_sync/apps.py b/edc_sync/apps.py
index <HASH>..<HASH> 100644
--- a/edc_sync/apps.py
+++ b/edc_sync/apps.py
@@ -13,6 +13,7 @@ class AppConfig(ConfigIniMixin, DjangoAppConfig):
verbose_name = 'Data Synchronization'
role = 'server'
config_ini_attrs = {'edc_sync': ['role']}
+ edc_sync_file... | added edc_sync_files_using on appconfig | erikvw_django-collect-offline | train | py |
aef4d8351b3d36decaef244ea6a5599063282a61 | diff --git a/CordovaLib/javascript/cordova.ios.js b/CordovaLib/javascript/cordova.ios.js
index <HASH>..<HASH> 100644
--- a/CordovaLib/javascript/cordova.ios.js
+++ b/CordovaLib/javascript/cordova.ios.js
@@ -1,6 +1,6 @@
-// commit 2496c766b568d4de4d38ec6dd8432045cb476010
+// commit 32e35b75c5ea2946dffebbc6cf4d0fbc16c083... | [CB-<I>] Updated cordova-js to latest to support new common device module. | apache_cordova-ios | train | js |
b9080001e0d4d7b70b1a06bd977bcf012c8e7000 | diff --git a/lib/gusteau/node.rb b/lib/gusteau/node.rb
index <HASH>..<HASH> 100644
--- a/lib/gusteau/node.rb
+++ b/lib/gusteau/node.rb
@@ -40,7 +40,7 @@ module Gusteau
def hook(hook_type)
(@config[hook_type] || []).each do |cmd|
- Kernel.system cmd
+ Kernel.system({ 'GUSTEAU_NODE' => name },... | Pass active node name into ENV for hook commands | locomote_gusteau | train | rb,rb |
0729900fca87386b2a0557ec9cb048df6999be0d | diff --git a/gof3r/put.go b/gof3r/put.go
index <HASH>..<HASH> 100644
--- a/gof3r/put.go
+++ b/gof3r/put.go
@@ -4,6 +4,7 @@ import (
"io"
"log"
"net/http"
+ "net/url"
"os"
"github.com/rlmcpherson/s3gof3r"
@@ -31,6 +32,7 @@ func (put *Put) Execute(args []string) (err error) {
}
conf.PartSize = put.PartSiz... | QueryEscape key on puts. | rlmcpherson_s3gof3r | train | go |
a950de688647fe051dd4462db69186d5a28457e0 | diff --git a/regobj.py b/regobj.py
index <HASH>..<HASH> 100644
--- a/regobj.py
+++ b/regobj.py
@@ -140,7 +140,7 @@ And that's that - enjoy!
__ver_major__ = 0
__ver_minor__ = 1
-__ver_patch__ = 2
+__ver_patch__ = 3
__ver_sub__ = ""
__version__ = "%d.%d.%d%s" % (__ver_major__,__ver_minor__,
... | save 'long' instances as type REG_DWORD by default | rfk_regobj | train | py |
e510872addb0a76e684c6a9db91d6b4f47f1c3a2 | diff --git a/post_office/__init__.py b/post_office/__init__.py
index <HASH>..<HASH> 100644
--- a/post_office/__init__.py
+++ b/post_office/__init__.py
@@ -1,4 +1,4 @@
-VERSION = (0, 3, 0)
+VERSION = (0, 3, 1)
from .backends import EmailBackend
from .models import PRIORITY
diff --git a/setup.py b/setup.py
index <HAS... | Bumped version to <I>. | ui_django-post_office | train | py,py |
b8e4b0bb2f744cd19346aaea2a712537193a46e3 | diff --git a/src/FieldHandlers/BaseRelatedFieldHandler.php b/src/FieldHandlers/BaseRelatedFieldHandler.php
index <HASH>..<HASH> 100644
--- a/src/FieldHandlers/BaseRelatedFieldHandler.php
+++ b/src/FieldHandlers/BaseRelatedFieldHandler.php
@@ -151,8 +151,6 @@ abstract class BaseRelatedFieldHandler extends BaseFieldHandl... | Temporarily removed sanitization from BaseRelatedFieldHandler (task #<I>)
This will be fixed once the `renderValue()` method is refactored to
use renderer class. | QoboLtd_cakephp-csv-migrations | train | php |
69ea416f47aef9bc41a157b492190eee8f54bb84 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='behave-django',
version='0.1.0',
- packages=find_packages(),
+ packages=find_packages(exclude=['test*'])... | Fixed setup.py to not include test apps and projects | behave_behave-django | train | py |
fba53224e6fe53ab8c21af10b14c9b31b95e6476 | diff --git a/molecule/command/converge.py b/molecule/command/converge.py
index <HASH>..<HASH> 100644
--- a/molecule/command/converge.py
+++ b/molecule/command/converge.py
@@ -42,7 +42,7 @@ class Converge(base.Base):
validation of input. Options passed on the CLI override options
provided in provisioner's `op... | Corrected converge docs with --tags | ansible_molecule | train | py |
da31765397ee7e4097aa1d47db1e21f7969f85e2 | diff --git a/mopidy_spotify/library.py b/mopidy_spotify/library.py
index <HASH>..<HASH> 100644
--- a/mopidy_spotify/library.py
+++ b/mopidy_spotify/library.py
@@ -45,6 +45,11 @@ class SpotifyLibraryProvider(backend.LibraryProvider):
uri='spotify:top:artists', name='Top artists'),
]
+ ... | library: Refactor config lookup | mopidy_mopidy-spotify | train | py |
3f8bb48ac556e82dd481ce84d29e7886159d1f9a | diff --git a/common/controllers/base/Controller.php b/common/controllers/base/Controller.php
index <HASH>..<HASH> 100644
--- a/common/controllers/base/Controller.php
+++ b/common/controllers/base/Controller.php
@@ -68,6 +68,9 @@ abstract class Controller extends \yii\web\Controller {
Yii::$app->assetManager->forceC... | Added support to log user's last activity. | cmsgears_module-core | train | php,php |
1d79650b47a3bcea827e44dc1d52812705c4580c | diff --git a/tests/test_commit_logs.py b/tests/test_commit_logs.py
index <HASH>..<HASH> 100644
--- a/tests/test_commit_logs.py
+++ b/tests/test_commit_logs.py
@@ -4,6 +4,8 @@ import pytest
from changelogs import get_commit_log
+# Todo: find a way to make this test run on travis
+"""
@pytest.fixture(autouse=True)
... | disable test, failing on travis | pyupio_changelogs | train | py |
51f41567be805d12dd6bfbed0791f73d8d54646b | diff --git a/dciclient/v1/api/job.py b/dciclient/v1/api/job.py
index <HASH>..<HASH> 100644
--- a/dciclient/v1/api/job.py
+++ b/dciclient/v1/api/job.py
@@ -21,7 +21,7 @@ import json
RESOURCE = 'jobs'
-TABLE_HEADERS = ['id', 'recheck', 'jobdefinition_id', 'remoteci_id',
+TABLE_HEADERS = ['id', 'status', 'recheck', '... | Show the job status on the ouput
The jobstatus is given by the API but not shown in the output
Change-Id: If<I>c<I>b<I>a9e<I>ffc0d<I>fc<I>e1fa<I>a7 | redhat-cip_python-dciclient | train | py |
0501ed7d61e7afe5fbfcbe71f2d14f8a2ceff8ca | diff --git a/lib/dynflow/action.rb b/lib/dynflow/action.rb
index <HASH>..<HASH> 100644
--- a/lib/dynflow/action.rb
+++ b/lib/dynflow/action.rb
@@ -157,7 +157,6 @@ module Dynflow
def plan_self(input)
self.input = input
- add_trigger_reference if trigger
@run_step.input = self.input
@fina... | Make the input from trigger available in planning phase | Dynflow_dynflow | train | rb,rb |
afbd9ed594f3b4a15dae8717472ae82f502583ea | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -8,6 +8,7 @@ var $ = require('gulp-load-plugins')();
gulp.task('lint', function () {
return gulp.src([
'gulpfile.js',
+ 'test/**/*.js',
'slushfile.js/**/*.js'
])
.pipe($.jshint('.jshintr... | Ensure test files are lint free. | rblopes_generator-phaser-plus | train | js |
e938aa811ac0e0dd8d2edd3fcd1f21e0b705c5ec | diff --git a/src/galleries.js b/src/galleries.js
index <HASH>..<HASH> 100644
--- a/src/galleries.js
+++ b/src/galleries.js
@@ -55,6 +55,7 @@ exports.fromDisk = function(mediaPath, mediaPrefix) {
var files = wrench.readdirSyncRecursive(mediaPath);
return _(files).filter(byExtension)
.map(fileInfo... | Sort photos by date (newest at the end) | thumbsup_thumbsup | train | js |
65ee880ead2512e3fa9800a440c54979c8b53397 | diff --git a/lib/angular/ng-modules/sync-service.js b/lib/angular/ng-modules/sync-service.js
index <HASH>..<HASH> 100644
--- a/lib/angular/ng-modules/sync-service.js
+++ b/lib/angular/ng-modules/sync-service.js
@@ -35,6 +35,18 @@ function wrapManager($q, $timeout, manager) {
}
, delete: manager.delete
, list... | Added a method to filter the results by workorder id | raincatcher-beta_raincatcher-result | train | js |
e553d422d9c65fac5afa2c7ca7adfb4bd2a4b847 | diff --git a/meta_request/lib/meta_request/version.rb b/meta_request/lib/meta_request/version.rb
index <HASH>..<HASH> 100644
--- a/meta_request/lib/meta_request/version.rb
+++ b/meta_request/lib/meta_request/version.rb
@@ -1,3 +1,3 @@
module MetaRequest
- VERSION = '0.4.3'
+ VERSION = '0.5.0'
end | bump meta_request version to <I> | dejan_rails_panel | train | rb |
dd28ab01054e071ffd76484d3a57eaf0e8db3dd1 | diff --git a/lib/spectus/expectation_target.rb b/lib/spectus/expectation_target.rb
index <HASH>..<HASH> 100644
--- a/lib/spectus/expectation_target.rb
+++ b/lib/spectus/expectation_target.rb
@@ -14,16 +14,6 @@ module Spectus
@challenges = [::Defi.send(:call)]
end
- # @!attribute [r] subject
- #
- ... | set ExpectationTarget's #subject & #challenges private | fixrb_spectus | train | rb |
c48cc20960437bfc6811d234861d5527d7fdea90 | diff --git a/includes/class-freemius.php b/includes/class-freemius.php
index <HASH>..<HASH> 100755
--- a/includes/class-freemius.php
+++ b/includes/class-freemius.php
@@ -1511,7 +1511,7 @@
$this->_logger->entrance();
if ( is_admin() ) {
- add_action( 'plugins_loaded', array... | [action-links] [fix] Load the action links on 'admin_init' instead of 'plugins_loaded' to support action links for theme's add-ons that are initialized after the theme is loaded. | Freemius_wordpress-sdk | train | php |
43bd779fb7f8d9d19bec8bfd98dd4a5c29a1f76a | diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index <HASH>..<HASH> 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -237,6 +237,10 @@ func (b *Bslack) handleSlack() {
if message.Raw.SubType == "me_message" {
msg.Event = config.EVENT_USER_ACTION
}
+ if message.Raw.SubType == ... | Handle leave/join events (slack). Closes #<I> | 42wim_matterbridge | train | go |
2e1ef4d10f72c799c90acf14052181f35535b81c | diff --git a/src/Command/Integration/IntegrationCommandBase.php b/src/Command/Integration/IntegrationCommandBase.php
index <HASH>..<HASH> 100644
--- a/src/Command/Integration/IntegrationCommandBase.php
+++ b/src/Command/Integration/IntegrationCommandBase.php
@@ -175,6 +175,7 @@ abstract class IntegrationCommandBase ext... | Make --excluded-environments not required | platformsh_platformsh-cli | train | php |
aad6e6c8ce17cf2ea239d556b34312aab5886c76 | diff --git a/framework/widgets/FragmentCache.php b/framework/widgets/FragmentCache.php
index <HASH>..<HASH> 100644
--- a/framework/widgets/FragmentCache.php
+++ b/framework/widgets/FragmentCache.php
@@ -8,7 +8,6 @@
namespace yii\widgets;
use Yii;
-use yii\base\InvalidConfigException;
use yii\base\Widget;
use... | Unused `use` has been removed. | yiisoft_yii2-debug | train | php |
7aacc4ba6bded2a945aa538932641e014cd7fc7e | diff --git a/plenum/server/node.py b/plenum/server/node.py
index <HASH>..<HASH> 100644
--- a/plenum/server/node.py
+++ b/plenum/server/node.py
@@ -1108,8 +1108,12 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage,
"""
Return the name of the primary node of the master in... | update master_primary_name to make it use master_id from Instances | hyperledger_indy-plenum | train | py |
6c79b0980fa18bb14933c59f24260c56a54954ae | diff --git a/pluginfile.php b/pluginfile.php
index <HASH>..<HASH> 100644
--- a/pluginfile.php
+++ b/pluginfile.php
@@ -281,7 +281,7 @@ if ($context->contextlevel == CONTEXT_SYSTEM) {
$filefunction = $modname.'_pluginfile';
if (function_exists($filefunction)) {
- if ($filefunction($course, $cminfo, $c... | MDL-<I> improved _pluginfile function - added forcedownload param | moodle_moodle | train | php |
a687cdbef9a4eb3a2e0adb43d25e23e8ac642af6 | diff --git a/lib/millstone.js b/lib/millstone.js
index <HASH>..<HASH> 100644
--- a/lib/millstone.js
+++ b/lib/millstone.js
@@ -174,8 +174,13 @@ module.exports = function resolve(options, callback) {
var uri = url.parse(s);
// URL, download.
- if (uri.protocol) return (new get(s)).... | Fix localization of remote stylesheets. | tilemill-project_millstone | train | js |
8ca3a7b684ffe12255a0b6528e83569fa852d764 | diff --git a/dvc/fs/repo.py b/dvc/fs/repo.py
index <HASH>..<HASH> 100644
--- a/dvc/fs/repo.py
+++ b/dvc/fs/repo.py
@@ -1,3 +1,4 @@
+import errno
import logging
import os
import threading
@@ -475,7 +476,9 @@ class RepoFileSystem(FileSystem): # pylint:disable=abstract-method
info_result = fs.info(fs_path... | fs: repo: raise proper FileNotFoundError in metadata
Related: #<I> | iterative_dvc | train | py |
4c2ad562413771739d08cac1f2089a57b0b2928d | diff --git a/test/com/google/javascript/jscomp/TypeInferenceTest.java b/test/com/google/javascript/jscomp/TypeInferenceTest.java
index <HASH>..<HASH> 100644
--- a/test/com/google/javascript/jscomp/TypeInferenceTest.java
+++ b/test/com/google/javascript/jscomp/TypeInferenceTest.java
@@ -928,6 +928,23 @@ public final cla... | Add unit test verifying that type inference correctly scopes function declarations
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
a3abdc977fdaeec6b0876de63e5224c06eaccf0a | diff --git a/cf/commands/servicekey/delete_service_key.go b/cf/commands/servicekey/delete_service_key.go
index <HASH>..<HASH> 100644
--- a/cf/commands/servicekey/delete_service_key.go
+++ b/cf/commands/servicekey/delete_service_key.go
@@ -77,9 +77,9 @@ func (cmd DeleteServiceKey) Run(c *cli.Context) {
if err != nil {... | Make delete service instance as Warn vs. regular Say. make consistent with delete service key | cloudfoundry_cli | train | go |
95b4eaa9db600d6d9be2c295a311f16e97ab4634 | diff --git a/opengem/test.py b/opengem/test.py
index <HASH>..<HASH> 100644
--- a/opengem/test.py
+++ b/opengem/test.py
@@ -14,7 +14,7 @@ from opengem import flags
FLAGS = flags.FLAGS
-flags.DEFINE_boolean('download_test_data', False,
+flags.DEFINE_boolean('download_test_data', True,
'Fetch test data fil... | Make downloading test data the default, to fix hudson (hopefully) | gem_oq-engine | train | py |
bc9cf6cef76283bb53b4f5dc266c98ad90da6a6f | diff --git a/src/host/nodejs.js b/src/host/nodejs.js
index <HASH>..<HASH> 100644
--- a/src/host/nodejs.js
+++ b/src/host/nodejs.js
@@ -7,7 +7,7 @@
/*global _GPF_HOST*/ // Host types
/*global _gpfBootImplByHost*/ // Boot host specific implementation per host
/*global _gpfExit:true*/ // Exit function
-/*global _gpfNod... | Documentation of _gpfNodeFS (#<I>) | ArnaudBuchholz_gpf-js | train | js |
357ae0860072bd1f20eee11b41d501b1f851c381 | diff --git a/master/buildbot/test/unit/test_status_logfile.py b/master/buildbot/test/unit/test_status_logfile.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_status_logfile.py
+++ b/master/buildbot/test/unit/test_status_logfile.py
@@ -382,14 +382,6 @@ class TestHTMLLogFile(unittest.TestCase, dirs.Di... | fixed the cleanup-gone-wrong | buildbot_buildbot | train | py |
b36e88bbde3779f55fa9363bbe05eb1f7264ffe5 | diff --git a/pandora/transport.py b/pandora/transport.py
index <HASH>..<HASH> 100644
--- a/pandora/transport.py
+++ b/pandora/transport.py
@@ -124,7 +124,7 @@ class APITransport(object):
return r.content
def test_url(self, url):
- return self._http.head(url).status_code == requests.codes.OK
+... | Merge with upstream/master. | mcrute_pydora | train | py |
0544fd12f2272839e778a02fabe58c78b67c7892 | diff --git a/rapidoid-cls/src/main/java/org/rapidoid/cls/Cls.java b/rapidoid-cls/src/main/java/org/rapidoid/cls/Cls.java
index <HASH>..<HASH> 100644
--- a/rapidoid-cls/src/main/java/org/rapidoid/cls/Cls.java
+++ b/rapidoid-cls/src/main/java/org/rapidoid/cls/Cls.java
@@ -873,4 +873,12 @@ public class Cls {
return ent... | Added type information utils in Cls for convenience. | rapidoid_rapidoid | train | java |
3d3e198aa374050ce3110e009d15920d842b04b6 | diff --git a/test/test_ATR.py b/test/test_ATR.py
index <HASH>..<HASH> 100644
--- a/test/test_ATR.py
+++ b/test/test_ATR.py
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
# -*- coding: utf-8 -*-
import sys
diff --git a/test/test_Exceptions.py b/test/test_Exceptions.py
index <HASH>..<HASH> 100644
--- a/test/test_Exceptions.... | test: remove #!
The scripts are called from setup.py so and are not executable. So they
do not need a sheband line | LudovicRousseau_pyscard | train | py,py,py,py |
4057ce9300033ae4bb49470eedd93e9276130220 | diff --git a/duniterpy/api/endpoint.py b/duniterpy/api/endpoint.py
index <HASH>..<HASH> 100644
--- a/duniterpy/api/endpoint.py
+++ b/duniterpy/api/endpoint.py
@@ -130,12 +130,6 @@ class UnknownEndpoint(Endpoint):
return hash((self.api, self.properties))
-ERROR_SCHEMA = {
- "type": "object",
- "proper... | [mod] Remove not used ERROR_SCHEMA which is a duplication of it in api/client.py | duniter_duniter-python-api | train | py |
cd4b609b7c3fe6b975db0bb0300acee8e2bec915 | diff --git a/pymongo/pool.py b/pymongo/pool.py
index <HASH>..<HASH> 100644
--- a/pymongo/pool.py
+++ b/pymongo/pool.py
@@ -349,7 +349,8 @@ class Pool:
# request until end_request.
self._set_request_state(sock_info)
except:
- self._socket_semaphore.release()
+ ... | Semaphore management during connection failure. PYTHON-<I> | mongodb_mongo-python-driver | train | py |
279354ea2b3e7d2e525581a9db4b64c6919822b3 | diff --git a/src/KmbAuthentication/Module.php b/src/KmbAuthentication/Module.php
index <HASH>..<HASH> 100644
--- a/src/KmbAuthentication/Module.php
+++ b/src/KmbAuthentication/Module.php
@@ -26,6 +26,7 @@ use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
use Zend\ModuleManager\Feature\ConfigProviderInterface... | Add SessionManager::writeClose() to prevent blocking requests on session_start | kambalabs_KmbAuthentication | train | php |
4230f59c0bd3efa10738888511971e664ffe3042 | diff --git a/src/main/java/org/xbill/DNS/config/WindowsResolverConfigProvider.java b/src/main/java/org/xbill/DNS/config/WindowsResolverConfigProvider.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/xbill/DNS/config/WindowsResolverConfigProvider.java
+++ b/src/main/java/org/xbill/DNS/config/WindowsResolverConfi... | IPv4 site-local addresses are normal, do not ignore them | dnsjava_dnsjava | train | java |
d5efc780bb7fecf7a524b178fdb8f7bbd3ed1e58 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,9 +4,9 @@ from os import path
here = path.abspath(path.dirname(__file__))
-requires = ['numpy', 'scipy', 'matplotlib >= 1.5.0', 'biopython >= 1.60',
- 'scikit-bio', 'scikit-learn', 'pandas', 'statsmodels', ... | Removes line-end spaces from requires array in setup.py | smdabdoub_phylotoast | train | py |
8559d862d6819bd5e03852755ed357521d569a9f | diff --git a/src/main/java/net/emaze/dysfunctional/sequences/Sequence.java b/src/main/java/net/emaze/dysfunctional/sequences/Sequence.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/emaze/dysfunctional/sequences/Sequence.java
+++ b/src/main/java/net/emaze/dysfunctional/sequences/Sequence.java
@@ -49,11 +49,13 ... | enh: applied generics wildcards properly | cybazeitalia_emaze-dysfunctional | train | java |
16779f8eef63b6928fa10bc6e96927484c971048 | diff --git a/galpy/potential/verticalPotential.py b/galpy/potential/verticalPotential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential/verticalPotential.py
+++ b/galpy/potential/verticalPotential.py
@@ -1,5 +1,5 @@
from .linearPotential import linearPotential
-from .Potential import PotentialError, Potential
+from... | Flatten potential before converting to verticalPotential | jobovy_galpy | train | py |
45902b20476f691b348cf64991c059c93f4def28 | diff --git a/lib/jekyll/tags/highlight.rb b/lib/jekyll/tags/highlight.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/tags/highlight.rb
+++ b/lib/jekyll/tags/highlight.rb
@@ -48,13 +48,13 @@ eos
output =
case context.registers[:site].highlighter
- when 'pygments'
- render_p... | Avoid "mismatched indentations" warning for ruby -w | jekyll_jekyll | train | rb |
d01319bb48f7b2d4f4a93e336a9777db0920fae6 | diff --git a/demosys/effects/managers.py b/demosys/effects/managers.py
index <HASH>..<HASH> 100644
--- a/demosys/effects/managers.py
+++ b/demosys/effects/managers.py
@@ -66,14 +66,14 @@ class SingleEffectManager(BaseEffectManger):
"""
effect_list = [cfg.cls() for name, cfg in effects.effects.items()]... | Bug: SingleEffectManager should run effect module we supply in the initializer | Contraz_demosys-py | train | py |
3ecca9dfa3f79a4c42a386e0bfe27cdca7e46a69 | diff --git a/tests/21-ct-clean-up-nc.py b/tests/21-ct-clean-up-nc.py
index <HASH>..<HASH> 100644
--- a/tests/21-ct-clean-up-nc.py
+++ b/tests/21-ct-clean-up-nc.py
@@ -20,8 +20,8 @@ clientsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
clientsocket.bind(('', localport))
clientsocket.settimeout(timeout)
c... | tests: Use HTTP <I> instead of HTTP <I>
Envoy does not support HTTP <I>, so use HTTP <I> instead. | cilium_cilium | train | py |
4b96b720c6f913e57903fbcc3d7fa69dc345ae1d | diff --git a/run_tests.py b/run_tests.py
index <HASH>..<HASH> 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys
-if sys.version_info > (2, 7):
+if sys.version_info >= (2, 7):
import unittest
else:
import unittest2 as unittest | Bad version check in run_tests | limpyd_redis-limpyd-jobs | train | py |
3e90de2f0164c40b555e1c0a6899694b8c4d162f | diff --git a/hazelcast-client/src/main/java/com/hazelcast/client/connection/nio/ClientConnectionManagerImpl.java b/hazelcast-client/src/main/java/com/hazelcast/client/connection/nio/ClientConnectionManagerImpl.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/main/java/com/hazelcast/client/connection/nio/Clie... | Reduced visibility of ClientConnectionManagerImpl.getClusterConnector
No need to have it public | hazelcast_hazelcast | train | java |
34faee2e6d9d17e3738efc73f7d3a7c33167a570 | diff --git a/xsd/src/main/java/jlibs/xml/xsd/XSInstance.java b/xsd/src/main/java/jlibs/xml/xsd/XSInstance.java
index <HASH>..<HASH> 100644
--- a/xsd/src/main/java/jlibs/xml/xsd/XSInstance.java
+++ b/xsd/src/main/java/jlibs/xml/xsd/XSInstance.java
@@ -421,6 +421,8 @@ public class XSInstance{
private Processor<X... | Issue <I>: do not generate anything for strict wildcards | santhosh-tekuri_jlibs | train | java |
554ea2f00d335e87333fa23d2065d4c3adc2590e | diff --git a/instana/version.py b/instana/version.py
index <HASH>..<HASH> 100644
--- a/instana/version.py
+++ b/instana/version.py
@@ -1,3 +1,3 @@
# Module version file. Used by setup.py and snapshot reporting.
-VERSION = '1.27.1'
+VERSION = '1.27.2' | Bump package version to <I> | instana_python-sensor | train | py |
f187d54b7834b88a521c26c208f6af1ffa5ce12c | diff --git a/lib/transports/file.js b/lib/transports/file.js
index <HASH>..<HASH> 100644
--- a/lib/transports/file.js
+++ b/lib/transports/file.js
@@ -75,7 +75,7 @@ file.prototype.set = function(data, limit, offset, callback){
// close the file
self.writeStream.write("]\r\n");
setTimeout(function(){
- ... | Update file.js
should be end not close | taskrabbit_elasticsearch-dump | train | js |
d0aa0e0840e89c51aae9bdd246c561c24bd6421c | diff --git a/packages/aragon-wrapper/src/templates/index.js b/packages/aragon-wrapper/src/templates/index.js
index <HASH>..<HASH> 100644
--- a/packages/aragon-wrapper/src/templates/index.js
+++ b/packages/aragon-wrapper/src/templates/index.js
@@ -32,13 +32,14 @@ const templates = {
}
const Templates = (web3, apm, f... | Set min gas price to <I> gwei in onboarding | aragon_aragon.js | train | js |
09ed1a0aba1b7496030eef1c3f65c07e3b159109 | diff --git a/Classes/Indexer/NodeIndexer.php b/Classes/Indexer/NodeIndexer.php
index <HASH>..<HASH> 100644
--- a/Classes/Indexer/NodeIndexer.php
+++ b/Classes/Indexer/NodeIndexer.php
@@ -237,8 +237,6 @@ class NodeIndexer extends AbstractNodeIndexer implements BulkNodeIndexerInterfac
}
$indexer = fun... | TASK: Remove context path calculation which is moved to calculateDocumentIdentifier | Flowpack_Flowpack.ElasticSearch.ContentRepositoryAdaptor | train | php |
503ef8ddbe6586eacc9080f05d615b460e25da01 | diff --git a/lib/SimpleSAML/Auth/Simple.php b/lib/SimpleSAML/Auth/Simple.php
index <HASH>..<HASH> 100644
--- a/lib/SimpleSAML/Auth/Simple.php
+++ b/lib/SimpleSAML/Auth/Simple.php
@@ -60,7 +60,6 @@ class SimpleSAML_Auth_Simple {
* @param array $options Various options to the authentication request.
*/
public fu... | SimpleSAML_Auth_Simple: Remove leftover assert in requireAuth-function. | simplesamlphp_saml2 | train | php |
4e9c54585acede9709ab9982f023cf3d90d35cc1 | diff --git a/lib/trick_bag/formatters/erb_renderer.rb b/lib/trick_bag/formatters/erb_renderer.rb
index <HASH>..<HASH> 100644
--- a/lib/trick_bag/formatters/erb_renderer.rb
+++ b/lib/trick_bag/formatters/erb_renderer.rb
@@ -31,7 +31,7 @@ class ErbRenderer < OpenStruct
# Useful for seeing what values are stored in t... | Don't need to clone @table.keys; it's already a newly created array. | keithrbennett_trick_bag | train | rb |
f9cd29fc99d1a5eb19fc9290a60ac444975e951d | diff --git a/pythran/analysis.py b/pythran/analysis.py
index <HASH>..<HASH> 100644
--- a/pythran/analysis.py
+++ b/pythran/analysis.py
@@ -361,6 +361,11 @@ class FlagTemporaries(ast.NodeVisitor):
self.visit(node.value)
[self.visit(n) for n in node.targets]
+ def visit_Call(self, node):
+ f... | Fix bug in temporary variables detection.
An expression used as function parameter is not temporary. | serge-sans-paille_pythran | train | py |
af856e84b23f3e6529ce54103331c3de63f12b2d | diff --git a/go/vt/vtctl/grpcvtctldserver/testutil/test_tmclient.go b/go/vt/vtctl/grpcvtctldserver/testutil/test_tmclient.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtctl/grpcvtctldserver/testutil/test_tmclient.go
+++ b/go/vt/vtctl/grpcvtctldserver/testutil/test_tmclient.go
@@ -57,15 +57,6 @@ func (c *tabletManagerClie... | Remove `SetMaster` from the singleton tmclient implementation | vitessio_vitess | train | go |
61a609c6c1c06fb5722fe8dc988de2381d89eba9 | diff --git a/lib/ruote/error_handler.rb b/lib/ruote/error_handler.rb
index <HASH>..<HASH> 100644
--- a/lib/ruote/error_handler.rb
+++ b/lib/ruote/error_handler.rb
@@ -102,6 +102,10 @@ module Ruote
@context.storage.put_msg(
'error_intercepted',
+ 'error_class' => exception.class.name,
+ '... | make exception details usefully available to error_intercepted subscribers | jmettraux_ruote | train | rb |
d6b3f69c19aedace49fbaaa4d6156668632f87ea | diff --git a/tests/integration/states/pip.py b/tests/integration/states/pip.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/pip.py
+++ b/tests/integration/states/pip.py
@@ -18,6 +18,7 @@ from salttesting import skipIf
from salttesting.helpers import (
destructiveTest,
ensure_in_syspath,
+ re... | Cleaner and actual fix for the failing weird pip test for CentOS 5 | saltstack_salt | train | py |
2a23b2fb95cbfbb686155b7773d1c45c84f99a9d | diff --git a/m3ua/impl/src/test/java/org/mobicents/protocols/ss7/m3ua/impl/GatewayTest.java b/m3ua/impl/src/test/java/org/mobicents/protocols/ss7/m3ua/impl/GatewayTest.java
index <HASH>..<HASH> 100644
--- a/m3ua/impl/src/test/java/org/mobicents/protocols/ss7/m3ua/impl/GatewayTest.java
+++ b/m3ua/impl/src/test/java/org/... | Fixing of m3ua test | RestComm_jss7 | train | java |
9d3323132d24a529f88ebf12aa8b9f24cd512cd1 | diff --git a/apostrophe.js b/apostrophe.js
index <HASH>..<HASH> 100644
--- a/apostrophe.js
+++ b/apostrophe.js
@@ -451,6 +451,9 @@ function Apos() {
};
aposLocals.aposSingletonIsEmpty = function(options) {
+ if (!options.area) {
+ return true;
+ }
return !_.some(options.a... | Updated the check on emptiness for Singeltons. | apostrophecms_apostrophe | train | js |
b3c00522fee3276bfd311622ff81d81e4cec13f0 | diff --git a/environs/openstack/live_test.go b/environs/openstack/live_test.go
index <HASH>..<HASH> 100644
--- a/environs/openstack/live_test.go
+++ b/environs/openstack/live_test.go
@@ -49,17 +49,19 @@ func makeTestConfig() map[string]interface{} {
// Register tests to run against a real Openstack instance.
func reg... | The state got nested, so resolve that bit too. | juju_juju | train | go |
9c066cc3b757628b1bb96aa6bea32a6ffac9ba1d | diff --git a/lib/snowplow-tracker/tracker.rb b/lib/snowplow-tracker/tracker.rb
index <HASH>..<HASH> 100644
--- a/lib/snowplow-tracker/tracker.rb
+++ b/lib/snowplow-tracker/tracker.rb
@@ -292,7 +292,11 @@ module SnowplowTracker
#
Contract String, Maybe[String], Maybe[Hash], Maybe[Num] => [Bool, Num]
def ... | Updated track_screen_view to send self-describing screen_view JSON as in #<I> | snowplow_snowplow-ruby-tracker | train | rb |
fb01b6e6061be9a5f2671f66c628e71274bc62c1 | diff --git a/packages/ad/src/dom-context.js b/packages/ad/src/dom-context.js
index <HASH>..<HASH> 100644
--- a/packages/ad/src/dom-context.js
+++ b/packages/ad/src/dom-context.js
@@ -1,5 +1,5 @@
import React, { PureComponent } from "react";
-import { View, Linking } from "react-native";
+import { View, Linking, Platfo... | fix: restore fix for android unruly ads (#<I>) | newsuk_times-components | train | js |
1b3088478f80477a96aa977bd4e8f8e34c7efb45 | diff --git a/resources/views/default/form/element/files.blade.php b/resources/views/default/form/element/files.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/default/form/element/files.blade.php
+++ b/resources/views/default/form/element/files.blade.php
@@ -41,8 +41,8 @@
<div class="fileThumbn... | Fix svg view for Files | LaravelRUS_SleepingOwlAdmin | train | php |
f91a39453169d753fffdd3eb6acc40599c8ee07c | diff --git a/lib/Util.php b/lib/Util.php
index <HASH>..<HASH> 100644
--- a/lib/Util.php
+++ b/lib/Util.php
@@ -442,6 +442,10 @@ class Util
if ($responseArray['errorCode'] == 0) {
$result = new GetDCVEMailAddressListResult();
+
+ if (isset($responseArray['whois_email'][0]) ... | Update Util.php
Filter "none" email address | checkdomain_Comodo | train | php |
f95cbe4ed2b9ffcb644eaf7976a90179f6f7dd38 | diff --git a/application/Espo/Services/EmailAccount.php b/application/Espo/Services/EmailAccount.php
index <HASH>..<HASH> 100644
--- a/application/Espo/Services/EmailAccount.php
+++ b/application/Espo/Services/EmailAccount.php
@@ -320,8 +320,8 @@ class EmailAccount extends Record
}
i... | fix email replate to email account | espocrm_espocrm | train | php |
ef6166f0f74d27be988c2ebac0608dc5ec8123b0 | diff --git a/chef/lib/chef/rest.rb b/chef/lib/chef/rest.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/rest.rb
+++ b/chef/lib/chef/rest.rb
@@ -20,6 +20,7 @@
# limitations under the License.
#
+require 'zlib'
require 'net/https'
require 'uri'
require 'chef/json_compat'
@@ -264,7 +265,7 @@ class Chef
ca... | fix gzip for ruby <I>
Use Zlib::Inflate.new with the magical argument to create a gunzipper
instead of using a StringIO. This lets us avoid the need to set an
encoding on the StringIO on ruby <I> | chef_chef | train | rb |
7fa971716ea142bd1d26771435098db9922b61ba | diff --git a/police_api/crime.py b/police_api/crime.py
index <HASH>..<HASH> 100644
--- a/police_api/crime.py
+++ b/police_api/crime.py
@@ -10,6 +10,12 @@ class CrimeCategory(SimpleResource):
def __str__(self):
return '<CrimeCategory> %s' % self.name
+ def __eq__(self, other):
+ return self.url... | Add __eq__ and __hash__ methods to CrimeCategory, OutcomeCategory and Location | rkhleics_police-api-client-python | train | py |
e93f7c4ffe8b956d14522630d1716211ab7ea178 | diff --git a/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java b/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java
index <HASH>..<HASH> 100644
--- a/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java
+++ b/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java
@@ -46,13 +46,13 @@ public cl... | Don't need to declare a thrown exception on the factory method.
cfNats field can never be null so null check isn't needed. | cloudfoundry-community_cf-java-component | train | java |
245d8a4d2b4cb338825f5156266fdfea629bd35e | diff --git a/spec/gnucash/value_spec.rb b/spec/gnucash/value_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/gnucash/value_spec.rb
+++ b/spec/gnucash/value_spec.rb
@@ -1,5 +1,11 @@
module Gnucash
describe Value do
+ describe '.zero' do
+ it 'creates a Value object with value 0' do
+ Value.zero.val.sho... | <I>% coverage on Value | holtrop_ruby-gnucash | train | rb |
546dc6c00d78257c43dad94253572c6da2df7895 | diff --git a/tests/test_caseinsensitive_multivalue.py b/tests/test_caseinsensitive_multivalue.py
index <HASH>..<HASH> 100644
--- a/tests/test_caseinsensitive_multivalue.py
+++ b/tests/test_caseinsensitive_multivalue.py
@@ -41,3 +41,10 @@ def test_no_overlap_decorator():
class MyOverlappingCasiMVE(CaseInsensiti... | Added one more test to maximize coverage. | kissgyorgy_enum34-custom | train | py |
23ffbcb022a3e481261f68c73c6324b9d6f00c6f | diff --git a/pybar/scans/tune_fei4.py b/pybar/scans/tune_fei4.py
index <HASH>..<HASH> 100644
--- a/pybar/scans/tune_fei4.py
+++ b/pybar/scans/tune_fei4.py
@@ -28,8 +28,8 @@ class Fei4Tuning(GdacTuning, TdacTuning, FeedbackTuning, FdacTuning):
*) measurements from IBL wafer probing
'''
_default_run_conf... | MAINT: enable threading for tuning to parallelize the task | SiLab-Bonn_pyBAR | train | py |
e6130e8e8cebf1ca935a8782c6fc1ac94e215963 | diff --git a/test/spotify-web-api.js b/test/spotify-web-api.js
index <HASH>..<HASH> 100644
--- a/test/spotify-web-api.js
+++ b/test/spotify-web-api.js
@@ -995,7 +995,7 @@ describe('Spotify Web API', function() {
it('should get the current users playlists', function(done) {
sinon.stub(HttpManager, '_makeReques... | Fix reference to restler, now superagent | thelinmichael_spotify-web-api-node | train | js |
6570fab684faeaf25ebc3a1d8d9b08a9c9f34c84 | diff --git a/pyocd/__main__.py b/pyocd/__main__.py
index <HASH>..<HASH> 100644
--- a/pyocd/__main__.py
+++ b/pyocd/__main__.py
@@ -134,7 +134,7 @@ class PyOCDTool(object):
# Define common options for all subcommands, excluding --verbose and --quiet.
commonOptionsNoLoggingParser = argparse.ArgumentPars... | main: add --project alias for -j/--dir.
This should have been the long option name all along. | mbedmicro_pyOCD | train | py |
84592e4e8d87e800e55ccfd4140d01858ad05e5a | diff --git a/core/Plugin/ReportsProvider.php b/core/Plugin/ReportsProvider.php
index <HASH>..<HASH> 100644
--- a/core/Plugin/ReportsProvider.php
+++ b/core/Plugin/ReportsProvider.php
@@ -102,7 +102,7 @@ class ReportsProvider
$mapApiToReport[$key] = get_class($report);
}
- $cac... | Update reports cache at least once every hour (#<I>)
Just in case there was some race conditions it would be good to update the cache regularly. | matomo-org_matomo | train | php |
b6fd7d9ec54846093213721ef59cc257330c34aa | diff --git a/python/ccxt/test/test_async.py b/python/ccxt/test/test_async.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/test/test_async.py
+++ b/python/ccxt/test/test_async.py
@@ -508,7 +508,7 @@ keys_local = os.path.join(keys_folder, 'keys.local.json')
keys_file = keys_local if os.path.exists(keys_local) else keys... | utf8 encoding support for keys.json | ccxt_ccxt | train | py |
f08b18d45f06437e48689a67705e345e40705516 | diff --git a/react_components/PaginationBoxView.js b/react_components/PaginationBoxView.js
index <HASH>..<HASH> 100755
--- a/react_components/PaginationBoxView.js
+++ b/react_components/PaginationBoxView.js
@@ -34,6 +34,7 @@ export default class PaginationBoxView extends Component {
breakLinkClassName: PropTypes.s... | Add a method to allow event listener customization | AdeleD_react-paginate | train | js |
83a4bc5b8454460c3fde5571f3ef9b8eefae0161 | diff --git a/go/dhcp/config.go b/go/dhcp/config.go
index <HASH>..<HASH> 100644
--- a/go/dhcp/config.go
+++ b/go/dhcp/config.go
@@ -207,7 +207,8 @@ func (d *Interfaces) readConfig() {
DHCPScope.available = available
// Initialize hardware cache
- hwcache := cache.New(time.Duration(seconds)*time.S... | retain the IP address for <I> minutes after expiration of the lease | inverse-inc_packetfence | train | go |
da8f260177139d7ea89eb3b445e73ac97eed04f6 | diff --git a/spec/unit/network/http/connection_spec.rb b/spec/unit/network/http/connection_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/network/http/connection_spec.rb
+++ b/spec/unit/network/http/connection_spec.rb
@@ -11,10 +11,6 @@ describe Puppet::Network::HTTP::Connection do
let (:httpok) { Net::HTTPOK.n... | (PUP-<I>) Remove unnecessary after each routine
The puppet connection class doesn't have an ssl_host instance variable. | puppetlabs_puppet | train | rb |
01cd721da652518a4d6de2c5de60541cab7271c3 | diff --git a/azurerm/internal/services/appconfiguration/app_configuration_resource.go b/azurerm/internal/services/appconfiguration/app_configuration_resource.go
index <HASH>..<HASH> 100644
--- a/azurerm/internal/services/appconfiguration/app_configuration_resource.go
+++ b/azurerm/internal/services/appconfiguration/app... | Update azurerm/internal/services/appconfiguration/app_configuration_resource.go | terraform-providers_terraform-provider-azurerm | train | go |
351e6cd9318423de1748839fdca4569bc0c42dde | diff --git a/validator/sawtooth_validator/execution/executor.py b/validator/sawtooth_validator/execution/executor.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/execution/executor.py
+++ b/validator/sawtooth_validator/execution/executor.py
@@ -156,12 +156,22 @@ class TransactionExecutorThread(object)... | Update TransactionExecutor to catch errors on create context
The error being caught here would mean a severe scheduler bug. In a future
commit, errors will be caught here that are raised in create_context if
the transaction has inputs or outputs that aren't valid.
STL-<I> is completed at this point | hyperledger_sawtooth-core | train | py |
b63dcadb564f30fb9b7849c1acc170bfae1b261e | diff --git a/alburnum/maas/viscera.py b/alburnum/maas/viscera.py
index <HASH>..<HASH> 100644
--- a/alburnum/maas/viscera.py
+++ b/alburnum/maas/viscera.py
@@ -532,11 +532,12 @@ class Node(Object):
"""A node stored in MAAS."""
architecture = ObjectTypedField(
- "architecture", check(str), check(str))
... | Node.architecture can be None. | maas_python-libmaas | train | py |
55ec1469c5b2119e4ec6ee72d8492e22e4e91d85 | diff --git a/src/Util/Text.php b/src/Util/Text.php
index <HASH>..<HASH> 100644
--- a/src/Util/Text.php
+++ b/src/Util/Text.php
@@ -46,6 +46,18 @@ class Text
const NONE = 'none';
/**
+ * @param string $string
+ * @param int $first [optional]
+ * @param int $from [optional]
+ *
+ * ... | Added Text::firstChar() and bugfix in Text::toCase() | ansas_php-component | train | php |
930cf6421296fec72324b251cdf1e72d35ff8975 | diff --git a/scss/functions/fonts.py b/scss/functions/fonts.py
index <HASH>..<HASH> 100644
--- a/scss/functions/fonts.py
+++ b/scss/functions/fonts.py
@@ -276,7 +276,7 @@ def font_sheet(g, **kwargs):
asset_file = asset_files[type_]
url = '%s%s' % (config.ASSETS_URL, ass... | Fixed issue with missing font types if not generated (eot, for example) | Kronuz_pyScss | train | py |
385d24d64322219016495bff6cc930a0fcb09302 | diff --git a/lib/chamber/rails/railtie.rb b/lib/chamber/rails/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/chamber/rails/railtie.rb
+++ b/lib/chamber/rails/railtie.rb
@@ -2,7 +2,9 @@ module Chamber
module Rails
class Railtie < ::Rails::Railtie
initializer 'chamber.load', before: :load_environment_config do... | When loading via Rails, go ahead and automatically add a namespace for the Rails environment | thekompanee_chamber | train | rb |
eaf4028f117ccd1cc6d62b6b7b2d379a11bd7dff | diff --git a/biodata-tools/src/main/java/org/opencb/biodata/tools/clinical/ReportedVariantCreator.java b/biodata-tools/src/main/java/org/opencb/biodata/tools/clinical/ReportedVariantCreator.java
index <HASH>..<HASH> 100644
--- a/biodata-tools/src/main/java/org/opencb/biodata/tools/clinical/ReportedVariantCreator.java
+... | tools: create reported event only for given consequence types | opencb_biodata | train | java |
b9116fe5620543ae055d16048e4fc47714613d3a | diff --git a/xml2json/bin/dispatch.py b/xml2json/bin/dispatch.py
index <HASH>..<HASH> 100644
--- a/xml2json/bin/dispatch.py
+++ b/xml2json/bin/dispatch.py
@@ -191,7 +191,13 @@ def create_job(request, *args, **kwargs):
def job_data(request, data_source, *args, **kwargs):
- # Modify the arguments
+ """Hand... | Made request_filter in unless_error handle multiple filters | splunk_splunk-sdk-javascript | train | py |
bcb9751115e79b78b30b54282bc3aee87ebd03eb | diff --git a/nanolyse/NanoLyse.py b/nanolyse/NanoLyse.py
index <HASH>..<HASH> 100644
--- a/nanolyse/NanoLyse.py
+++ b/nanolyse/NanoLyse.py
@@ -16,8 +16,13 @@ def main():
def getArgs():
parser = argparse.ArgumentParser(
- description="Remove reads mapping to the lambda genome, \
- read... | testing if generator is empty using next() | wdecoster_nanolyse | train | py |
8f3d5523e68c60c80dc68c8c5d2baedc6ab405c2 | diff --git a/rets/compact.go b/rets/compact.go
index <HASH>..<HASH> 100644
--- a/rets/compact.go
+++ b/rets/compact.go
@@ -93,9 +93,18 @@ type CompactRow string
// Parse ...
func (cr CompactRow) Parse(delim string) Row {
- if string(cr) == "" {
+ asString := string(cr)
+ if asString == "" {
return []string{}
}... | support for poorly formed compact rows, deal with mangled rows as needed | jpfielding_gorets | train | go |
a36cb3ea40a8b9e236910833faed20f4492e8d6d | diff --git a/lib/Core/Service/BlockService.php b/lib/Core/Service/BlockService.php
index <HASH>..<HASH> 100644
--- a/lib/Core/Service/BlockService.php
+++ b/lib/Core/Service/BlockService.php
@@ -665,10 +665,6 @@ class BlockService implements BlockServiceInterface
*/
protected function isBlockAllowedWithinZon... | No need for checking of the existence of layout type | netgen-layouts_layouts-core | train | php |
5bb40926b8f18956a27f29a5858d65e84da24b8a | diff --git a/i3pystatus/core/settings.py b/i3pystatus/core/settings.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/core/settings.py
+++ b/i3pystatus/core/settings.py
@@ -33,7 +33,7 @@ class SettingsBaseMeta(type):
# required anymore.
for base in inspect.getmro(cls):
for r in list(require... | Ensure required settings are defined correctly.
Possible fix for #<I>. If a setting has not been overidden in a subclass
or set in the user's config then raise an exception. | enkore_i3pystatus | train | py |
947314345dee270e9cfff11a6c4620fe3415bc20 | diff --git a/lib/respect.rb b/lib/respect.rb
index <HASH>..<HASH> 100644
--- a/lib/respect.rb
+++ b/lib/respect.rb
@@ -96,15 +96,7 @@ module Respect
# Extend the schema definition DSL with the command defined in the given
# module +mod+.
def extend_dsl_with(mod)
- [
- SchemaDef,
- Arra... | Generalize Respect.extend_dsl_with.
Now someone can create its own "Def" class and it will receive helpers module too. | nicolasdespres_respect | train | rb,rb |
f56cafa7c89c3ab46ad911f09bbdcb5303c91c75 | diff --git a/src/Presenters/Controls/Text/NumericTextBox/NumericTextBox.php b/src/Presenters/Controls/Text/NumericTextBox/NumericTextBox.php
index <HASH>..<HASH> 100644
--- a/src/Presenters/Controls/Text/NumericTextBox/NumericTextBox.php
+++ b/src/Presenters/Controls/Text/NumericTextBox/NumericTextBox.php
@@ -21,12 +21... | Allowing decimal places to be set on numeric textbox by constructor.
Defaulting display to empty string instead of 0 in numeric textbox. | RhubarbPHP_Module.Leaf | train | php |
37fc47268c78e32a2cc67ae794ed726cb43e85e2 | diff --git a/registration/management/commands/cleanupregistration.py b/registration/management/commands/cleanupregistration.py
index <HASH>..<HASH> 100644
--- a/registration/management/commands/cleanupregistration.py
+++ b/registration/management/commands/cleanupregistration.py
@@ -7,8 +7,8 @@ contains the actual logic... | Flip a couple imports to appease my inner style nerd | ubernostrum_django-registration | train | py |
3c1c919caee17d618a57c5d0179f802810ddfd2f | diff --git a/luigi/static/visualiser/js/visualiserApp.d3.js b/luigi/static/visualiser/js/visualiserApp.d3.js
index <HASH>..<HASH> 100644
--- a/luigi/static/visualiser/js/visualiserApp.d3.js
+++ b/luigi/static/visualiser/js/visualiserApp.d3.js
@@ -343,7 +343,7 @@ function visualiserApp(luigi) {
var task... | adding link to the graph nodes, so its possible to navigate the graph and see the deps of a particular node (and not the whole tree). | spotify_luigi | 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.