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 |
|---|---|---|---|---|---|
f910c34cce10a99411be304521e63afed397865b | diff --git a/test/download-dht-torrent.js b/test/download-dht-torrent.js
index <HASH>..<HASH> 100644
--- a/test/download-dht-torrent.js
+++ b/test/download-dht-torrent.js
@@ -77,13 +77,22 @@ test('Download using DHT (via .torrent file)', function (t) {
file.getBuffer(function (err, buf) {
if (er... | test: don't assume event ordering | webtorrent_webtorrent | train | js |
27574eed1461bf5e244b9341778508344c4587a6 | diff --git a/jsoncfg/__init__.py b/jsoncfg/__init__.py
index <HASH>..<HASH> 100644
--- a/jsoncfg/__init__.py
+++ b/jsoncfg/__init__.py
@@ -40,7 +40,7 @@ __all__ = [
# case increase only version_info[2].
# version_info[2]: Increase in case of bugfixes. Also use this if you added new features
# ... | bumping version to <I> | pasztorpisti_json-cfg | train | py |
725c6e1ef90878f725160ebc0519fbef4d5dd67f | diff --git a/cas/middleware.py b/cas/middleware.py
index <HASH>..<HASH> 100644
--- a/cas/middleware.py
+++ b/cas/middleware.py
@@ -12,6 +12,10 @@ from django.contrib.auth.views import login, logout
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect, HttpResponseForbidden
from d... | Compatibility with Django <I> Middleware | kstateome_django-cas | train | py |
6be3b94de0b5d67b89e2d13612867c76eed60ff2 | diff --git a/api/v1/api.go b/api/v1/api.go
index <HASH>..<HASH> 100644
--- a/api/v1/api.go
+++ b/api/v1/api.go
@@ -63,7 +63,11 @@ type getIsiVolumeAttributesResp struct {
// Isi PAPI export path JSON struct
type ExportPathList struct {
- Paths []string `json:"paths"`
+ Paths []string `json:"paths"`
+ MapAll struct... | Fix for volume chown issue.
This fixes the issue where ownership of directories created on a
mounted volume could not be changed. Added the user in the config
file to the map_all list in the export parameters for the volume. | thecodeteam_goisilon | train | go |
e83aed2235f20d02224bad5fda02674801406b89 | diff --git a/pythran/typing.py b/pythran/typing.py
index <HASH>..<HASH> 100644
--- a/pythran/typing.py
+++ b/pythran/typing.py
@@ -4,6 +4,15 @@ import operator
from tables import type_to_str, operator_to_lambda, modules
from passes import global_declarations, constant_value
+if not "has_path" in nx.__dict__:
+ def ... | define has_path in networkx if it is not already defined | serge-sans-paille_pythran | train | py |
2073d47b49330d735f726987dceec19cec2631d2 | diff --git a/lib/markaby/builder.rb b/lib/markaby/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/markaby/builder.rb
+++ b/lib/markaby/builder.rb
@@ -79,7 +79,7 @@ module Markaby
@streams = [[]]
@assigns = assigns.dup
@_helper = helper
- @elements = {}
+ @used_ids = {}
@@options... | Rename @elements to used_ids | markaby_markaby | train | rb |
c9668dd0ab9abe09c38cd5053d8edbb2808ed1a6 | diff --git a/test/candidates_test.rb b/test/candidates_test.rb
index <HASH>..<HASH> 100644
--- a/test/candidates_test.rb
+++ b/test/candidates_test.rb
@@ -114,4 +114,30 @@ class CandidatesTest < TestCaseClass
end
end
+ test "allows to iterate through candidates without passing block" do
+ klass = Class.ne... | Tests for Candidates#each. | norman_friendly_id | train | rb |
8bf0317c7a25fe1d7c585079935233ecebe740ff | diff --git a/sukhoi.py b/sukhoi.py
index <HASH>..<HASH> 100644
--- a/sukhoi.py
+++ b/sukhoi.py
@@ -20,7 +20,7 @@ class Miner(list):
task.start()
def __init__(self, url, headers=default_headers, args={},
- method='get', payload={}, auth=(), attempts=5):
+ method='get', payload=None, auth=None,... | Fixing to work with new websnake version. | untwisted_sukhoi | train | py |
bc5711a3092dc446bcd1e25c8fc5490617338bfb | diff --git a/dipper/sources/FlyBase.py b/dipper/sources/FlyBase.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/FlyBase.py
+++ b/dipper/sources/FlyBase.py
@@ -416,7 +416,11 @@ class FlyBase(PostgreSQLSource):
col = self.files[src_key]['columns']
- with gzip.open(raw, 'rt') as tsvfile:
+ #... | Cherry picked commits from dataset PR to fix Flybase ingest (set encoding to latin-1 in _fyref_to_pmid() to fix UnicodeDecodeError) | monarch-initiative_dipper | train | py |
b3c2567d40524dbee439053dc77a2a190e4ba07d | diff --git a/src/RecordsTransformer.php b/src/RecordsTransformer.php
index <HASH>..<HASH> 100644
--- a/src/RecordsTransformer.php
+++ b/src/RecordsTransformer.php
@@ -155,6 +155,10 @@ class RecordsTransformer
$datatableParameters['DT_RowClass'] = $record->laratablesRowClass();
}
+ if (met... | Allow setting data attributes for each row of the table | freshbitsweb_laratables | train | php |
925697fab5b7f33088ca8269997865607f156477 | diff --git a/core-test/src/test/java/com/microsoft/windowsazure/RunCukesTest.java b/core-test/src/test/java/com/microsoft/windowsazure/RunCukesTest.java
index <HASH>..<HASH> 100644
--- a/core-test/src/test/java/com/microsoft/windowsazure/RunCukesTest.java
+++ b/core-test/src/test/java/com/microsoft/windowsazure/RunCuke... | Change cucumber test tag to not run by default | Azure_azure-sdk-for-java | train | java |
ca67d02e6bf23f03f5bcca2f620d6e3451b7e30b | diff --git a/environs/tools/tools.go b/environs/tools/tools.go
index <HASH>..<HASH> 100644
--- a/environs/tools/tools.go
+++ b/environs/tools/tools.go
@@ -121,14 +121,7 @@ func FindTools(env environs.BootstrapEnviron, majorVersion, minorVersion int, st
if err != nil {
return nil, err
}
- list, err := FindToolsFo... | Remove the debug log
Instead of this debug log, favour the one in bootstrap. | juju_juju | train | go |
607f9bdb5a78e6a7a677962903fe6a47eefee578 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -12,6 +12,9 @@ module.exports = function (grunt) {
}
},
watch: {
+ options: {
+ interval: 1000
+ },
css: {
files: '**/*.scss',
tasks: ['sass'] | Increase the file watch interval to give my CPU a break. | johnbillion_query-monitor | train | js |
fc6f22fd6b637a0d7c68829d22f410dc41061017 | diff --git a/edisgo/grid/network.py b/edisgo/grid/network.py
index <HASH>..<HASH> 100644
--- a/edisgo/grid/network.py
+++ b/edisgo/grid/network.py
@@ -859,6 +859,38 @@ class Results:
self._pfa_v_mag_pu = pypsa
@property
+ def i_res(self):
+ """
+ Current results from power flow analysis... | Add getter and setter for i_res | openego_eDisGo | train | py |
46c22b72a85083698eeba1bb566726f70efd3848 | diff --git a/lib/origami/graphics/xobject.rb b/lib/origami/graphics/xobject.rb
index <HASH>..<HASH> 100644
--- a/lib/origami/graphics/xobject.rb
+++ b/lib/origami/graphics/xobject.rb
@@ -659,22 +659,22 @@ module Origami
data = fd.read
else
data = File.binread(F... | graphics/xobject: fix regression in from_image_file | gdelugre_origami | train | rb |
d48742d33c9dc0baf19aa964768b54275d254f78 | diff --git a/lib/PaymentMethod.php b/lib/PaymentMethod.php
index <HASH>..<HASH> 100644
--- a/lib/PaymentMethod.php
+++ b/lib/PaymentMethod.php
@@ -30,6 +30,7 @@ namespace Stripe;
* @property \Stripe\StripeObject $eps
* @property \Stripe\StripeObject $fpx
* @property \Stripe\StripeObject $giropay
+ * @property \St... | Codegen for openapi bb9e<I>d | stripe_stripe-php | train | php |
5e342c7e7c9811de253659331adb1d442feda6e8 | diff --git a/core/src/main/java/hudson/security/LDAPSecurityRealm.java b/core/src/main/java/hudson/security/LDAPSecurityRealm.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/security/LDAPSecurityRealm.java
+++ b/core/src/main/java/hudson/security/LDAPSecurityRealm.java
@@ -226,9 +226,9 @@ public class ... | rolling back the LDAP change based on the discussion: <URL> | jenkinsci_jenkins | train | java |
2807384d8ff28deb35fd7f3b80c4d138de087946 | diff --git a/coconut/command/util.py b/coconut/command/util.py
index <HASH>..<HASH> 100644
--- a/coconut/command/util.py
+++ b/coconut/command/util.py
@@ -239,7 +239,9 @@ def run_cmd(cmd, show_output=True, raise_errs=True, **kwargs):
elif show_output:
return subprocess.call(cmd, **kwargs)
else:
- ... | Fix jupyter installation error
Resolves #<I>. | evhub_coconut | train | py,py |
bbe4f62c2086103fdea3b7cc9c243a7feea89511 | diff --git a/pyathena/cursor.py b/pyathena/cursor.py
index <HASH>..<HASH> 100644
--- a/pyathena/cursor.py
+++ b/pyathena/cursor.py
@@ -191,8 +191,7 @@ class Cursor(object):
raise DatabaseError('KeyError `Rows`')
processed_rows = []
if len(rows) > 0:
- offset = 1 if not self._ne... | Fix E<I> continuation line over-indented for hanging indent | laughingman7743_PyAthena | train | py |
52df644b67c2de4b5c7a273efeb6520e71aad19c | diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/manifest.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/manifest.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/manifest.py
+++ b/datadog_checks_dev/datadog_checks/dev/tooling/com... | Add app_uuid to manifest migrator (#<I>) | DataDog_integrations-core | train | py |
514d6370d4047f8efe354db90c79ae28ac2d0159 | diff --git a/resources/lang/ko-KR/dashboard.php b/resources/lang/ko-KR/dashboard.php
index <HASH>..<HASH> 100644
--- a/resources/lang/ko-KR/dashboard.php
+++ b/resources/lang/ko-KR/dashboard.php
@@ -18,7 +18,7 @@ return [
'incidents' => [
'title' => '문제 및 예정',
'incidents' ... | New translations dashboard.php (Korean) | CachetHQ_Cachet | train | php |
30a6d311eb66c671992a78e354ad56ec78a94f68 | diff --git a/lib/progressPlugBrowser.js b/lib/progressPlugBrowser.js
index <HASH>..<HASH> 100644
--- a/lib/progressPlugBrowser.js
+++ b/lib/progressPlugBrowser.js
@@ -1,4 +1,4 @@
-import { Plug } from './plug.js';
+import { Plug } from '../plug.js';
function _doXhr({ xhr, body, progressInfo }) {
return new Promis... | Fix import paths in Plug subclasses | MindTouch_mindtouch-http.js | train | js,js |
045161eec93c1abbb33b3012f8cd3cbfbf375e0c | diff --git a/src/lib/Tables/InventorySelling.php b/src/lib/Tables/InventorySelling.php
index <HASH>..<HASH> 100644
--- a/src/lib/Tables/InventorySelling.php
+++ b/src/lib/Tables/InventorySelling.php
@@ -37,7 +37,7 @@ class InventorySelling extends Table
'Name' => 'name',
'Duration' => 'duration',
... | Fixed date sorting in inventory selling table | hamjoint_mustard | train | php |
a91d672f60ae5a5480448c6019f9b277799f21f0 | diff --git a/neovim/util.py b/neovim/util.py
index <HASH>..<HASH> 100644
--- a/neovim/util.py
+++ b/neovim/util.py
@@ -47,6 +47,9 @@ class RemoteMap(object):
class Current(object):
+ def __init__(self, vim):
+ self._vim = vim
+
@property
def line(self):
return self._vim.get_current_lin... | Add missing initializer for `Current` | neovim_pynvim | train | py |
c4a602baacd4837b6b2e06526e369b30754e9e6f | diff --git a/pysis/commands.py b/pysis/commands.py
index <HASH>..<HASH> 100644
--- a/pysis/commands.py
+++ b/pysis/commands.py
@@ -120,3 +120,9 @@ class IsisPool(Isis):
self.close()
self.join()
+ def __enter__(self):
+ return self
+
+ def __exit__(self, exc_type, exc_value, traceback):
... | Added enter and exit methods for using an isis pool with a `with` statement. | wtolson_pysis | train | py |
f4e992119e7ce90aa1254d0defc0697c9421d58f | diff --git a/src/Mustache/Compiler.php b/src/Mustache/Compiler.php
index <HASH>..<HASH> 100644
--- a/src/Mustache/Compiler.php
+++ b/src/Mustache/Compiler.php
@@ -211,9 +211,9 @@ class Mustache_Compiler
}
const BLOCK_VAR = '
- $value = $this->resolveValue($context->%s(%s), $context, $indent);
+ ... | Don\'t escape html from blocks, removing unneeded variable assigns | bobthecow_mustache.php | train | php |
9c7f273162c9986e3f3a2cc5a43a77b5910f2b5e | diff --git a/pinax/teams/admin.py b/pinax/teams/admin.py
index <HASH>..<HASH> 100644
--- a/pinax/teams/admin.py
+++ b/pinax/teams/admin.py
@@ -9,7 +9,9 @@ from .hooks import hookset
def members_count(obj):
return obj.memberships.count()
-members_count.short_description = _("Members Count") # noqa
+
+
+members_... | Go ahead and fix lint error | pinax_pinax-teams | train | py |
ed41d719828c046bf4bc8e852b30e9bbe05e5f06 | diff --git a/modules/reports.php b/modules/reports.php
index <HASH>..<HASH> 100755
--- a/modules/reports.php
+++ b/modules/reports.php
@@ -89,7 +89,7 @@ if ( ! class_exists('Reports') ) {
<p><?php _e('These monthly reports are generated from the site\'s HTTP access logs. They show every HTTP request of the sit... | Prevent overflow of HTTP stats table by removing fixed table layout | Seravo_seravo-plugin | train | php |
d6db7f6b84380d7a74bdcc4f6fb50e5c7ef04e23 | diff --git a/spec/request_pattern_spec.rb b/spec/request_pattern_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/request_pattern_spec.rb
+++ b/spec/request_pattern_spec.rb
@@ -32,7 +32,7 @@ describe RequestPattern do
end
- class RequestPattern
+ class WebMock::RequestPattern
def match(request_signature)
... | Fixed RequestPattern spec to work with Ruby <I> | bblimke_webmock | train | rb |
aa2887f71c779448b22e4de67ae68dbaf218b7b9 | diff --git a/sos/report/plugins/rhui.py b/sos/report/plugins/rhui.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/rhui.py
+++ b/sos/report/plugins/rhui.py
@@ -27,6 +27,7 @@ class Rhui(Plugin, RedHatPlugin):
"/var/log/rhui-subscription-sync.log",
"/var/cache/rhui/*",
"/root... | [rhui] New log folder
Included new log folder per Bugzilla <I> | sosreport_sos | train | py |
e91b3b165e137022a43aad83ee8bbf34c40e875c | diff --git a/spyder/plugins/plots/widgets/figurebrowser.py b/spyder/plugins/plots/widgets/figurebrowser.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/plots/widgets/figurebrowser.py
+++ b/spyder/plugins/plots/widgets/figurebrowser.py
@@ -536,7 +536,7 @@ class FigureViewer(QScrollArea):
def get_scaling(self)... | Calcul scaling from canvas size instead
This is to be able to update the value displayed correctly when "Fits
plots to window" is checked | spyder-ide_spyder | train | py |
8e5556d759d755b0a4de1f27dfa03cf8a5290c5c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-from distutils.core import setup
+from setuptools import setup
import scoop
@@ -12,9 +12,9 @@ setup(name='scoop',
author_email='scoop-users@googlegroups.com',
url='http... | Changed distutils for distributed and added dependency resolve | soravux_scoop | train | py |
25d0c02b715b8474607d2fd9bf372ce48711c5dd | diff --git a/mustache.js b/mustache.js
index <HASH>..<HASH> 100644
--- a/mustache.js
+++ b/mustache.js
@@ -138,7 +138,7 @@ var Mustache = function() {
translation_mode = { _mode: context['_mode'] };
}
- return that.render(_(content, translation_mode), context, partials, true);
+ retu... | don't render during i<I>n step, just do replacements | janl_mustache.js | train | js |
8f08bacf47c8b70b147abad9fcd5ba5e7fad6a6a | diff --git a/spec/lib/insert-spec.js b/spec/lib/insert-spec.js
index <HASH>..<HASH> 100644
--- a/spec/lib/insert-spec.js
+++ b/spec/lib/insert-spec.js
@@ -12,6 +12,7 @@ describe('Insert', function() {
mongoat.MongoClient.connect('mongodb://localhost:27017/test')
.then(function (db) {
+ db.dropDatabase(... | Drop db on beforeAll tests | dial-once_node-mongoat | train | js |
171b588d62094a0fe85d1dac3e1c28debe8e0b62 | diff --git a/tests/test_loading.py b/tests/test_loading.py
index <HASH>..<HASH> 100644
--- a/tests/test_loading.py
+++ b/tests/test_loading.py
@@ -3,6 +3,7 @@ from django.test.utils import override_settings
from django_core.utils.loading import get_class_from_settings
from django_core.utils.loading import get_class_f... | added test for loading function from settings string. | InfoAgeTech_django-core | train | py |
f03851a73e66919e6036614caf2fedf8656383b4 | diff --git a/test/test_fft.py b/test/test_fft.py
index <HASH>..<HASH> 100644
--- a/test/test_fft.py
+++ b/test/test_fft.py
@@ -448,7 +448,7 @@ class _BaseTestFFTClass(unittest.TestCase):
# output arrays; just reuse inarr and outexp (values won't
# matter, we're just checking exceptions).
... | Add missing 'output_args' to fn call in test_fft | gwastro_pycbc | train | py |
6c3513c0775e1e1e69a7c9e5c86255804fa3fb36 | diff --git a/p2p/server.go b/p2p/server.go
index <HASH>..<HASH> 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -943,9 +943,8 @@ func (srv *Server) setupConn(c *conn, flags connFlag, dialDest *enode.Node) erro
}
// If dialing, figure out the remote public key.
- var dialPubkey *ecdsa.PublicKey
if dialDest != ... | p2p: reduce the scope of variable dialPubkey (#<I>)
dialPubkey isn't used anywhere else after dialDest.Load, so it should be safe to
restrict its scope to the if clause. | ethereum_go-ethereum | train | go |
d86e51bba61c2144f6dba68159f7f1dcdcdd5a70 | diff --git a/lib/sprout/remote_file_target.rb b/lib/sprout/remote_file_target.rb
index <HASH>..<HASH> 100644
--- a/lib/sprout/remote_file_target.rb
+++ b/lib/sprout/remote_file_target.rb
@@ -49,10 +49,16 @@ module Sprout
def load_unpack_or_ignore_archive
if(!unpacked_files_exist?)
if(!File.exists?(... | Sped up File read code for Windows | lukebayes_project-sprouts | train | rb |
e113d6dc52df6f8017d8c7fb77004a0fb85c4763 | diff --git a/lib/components/map/route-viewer-overlay.js b/lib/components/map/route-viewer-overlay.js
index <HASH>..<HASH> 100644
--- a/lib/components/map/route-viewer-overlay.js
+++ b/lib/components/map/route-viewer-overlay.js
@@ -4,6 +4,16 @@ import { FeatureGroup, MapLayer, Polyline } from 'react-leaflet'
import p... | refactor(route-viewer-overlay): use Array.every for geom complete check | opentripplanner_otp-react-redux | train | js |
b60b5e4105a14ed1f93bbb21bfebe9aa4438d9ae | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -27,7 +27,7 @@ module.exports = timeout
/**
* Create a new timeout middleware.
*
- * @param {number|string} time The timeout as a number of milliseconds or a string for `ms`
+ * @param {number|string} [time=5000] The time... | docs: fix jsdoc that time is optional | expressjs_timeout | train | js |
aee5b34f8f23508b478683ded48b068311ad7647 | diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py
index <HASH>..<HASH> 100644
--- a/hooks/post_gen_project.py
+++ b/hooks/post_gen_project.py
@@ -103,10 +103,15 @@ def remove_task_app(project_directory):
def remove_pycharm_dir(project_directory):
- """Removes the .idea directory if PyCharm isn'... | post_get hook removes docs for pycharm if it isn't used | pydanny_cookiecutter-django | train | py |
0c4b08eb85e3e479bc3ea76e8cc01e0bd0772f66 | diff --git a/hatenablog.rb b/hatenablog.rb
index <HASH>..<HASH> 100644
--- a/hatenablog.rb
+++ b/hatenablog.rb
@@ -159,7 +159,7 @@ XML
categories_tag = categories.inject('') do |s, c|
s + "<category term=\"#{c}\" />\n"
end
- xml % [title, @user_id, content, categories_tag, draft]
+ ... | Fix the entry XML generating method | kymmt90_hatenablog | train | rb |
2d063818242210334194c31c50816b421abca87c | diff --git a/builtin/providers/aws/resource_aws_directory_service_directory.go b/builtin/providers/aws/resource_aws_directory_service_directory.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/resource_aws_directory_service_directory.go
+++ b/builtin/providers/aws/resource_aws_directory_service_directory.go
@... | Increase aws_directory_service_directory timeouts
According to the AWS docs, creating a MS directory could take up to <I>
minutes. | hashicorp_terraform | train | go |
3578c0faee107dc0faef164a4acf02b916caa2be | diff --git a/py/selenium/webdriver/chrome/options.py b/py/selenium/webdriver/chrome/options.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/chrome/options.py
+++ b/py/selenium/webdriver/chrome/options.py
@@ -166,6 +166,6 @@ class Options(object):
if self.debugger_address:
chrome_options... | Update python chromeOptions key for capabilities (#<I>) | SeleniumHQ_selenium | train | py |
e48069bf123094a864d8ce124ae153ef4438d2f0 | diff --git a/scripts/server.js b/scripts/server.js
index <HASH>..<HASH> 100644
--- a/scripts/server.js
+++ b/scripts/server.js
@@ -25,6 +25,7 @@ const responseHeaderObj = {
// object containing the name:hex pairs for nearestColor()
const rgbColorsArr = [];
+// prepare color array
colors.forEach((c) => {
const r... | style($server): adds a few comments in server.js | meodai_color-names | train | js |
d51c858939c76ede1b1c23890c406bab750f7aeb | diff --git a/scanpy/tests/test_datasets.py b/scanpy/tests/test_datasets.py
index <HASH>..<HASH> 100644
--- a/scanpy/tests/test_datasets.py
+++ b/scanpy/tests/test_datasets.py
@@ -44,6 +44,16 @@ def test_pbmc3k(tmp_dataset_dir):
@pytest.mark.internet
+def test_pbmc3k_processed(tmp_dataset_dir):
+ with pytest.war... | Added tests for warnings from datasets | theislab_scanpy | train | py |
eee841f3d9ab2ceb2e725f013a7e670537fc7d46 | diff --git a/corelib/class.rb b/corelib/class.rb
index <HASH>..<HASH> 100644
--- a/corelib/class.rb
+++ b/corelib/class.rb
@@ -20,8 +20,7 @@ class Class
def new(*args, &block)
obj = allocate()
- #obj.initialize *args, &block
- obj.initialize *args
+ obj.initialize *args, &block
obj
end
diff... | Re-add block passing to Class#new | opal_opal | train | rb,rb |
e6c6b5a15cc7b8ed831562b9bcae114a4ced3755 | diff --git a/components/apps.js b/components/apps.js
index <HASH>..<HASH> 100644
--- a/components/apps.js
+++ b/components/apps.js
@@ -499,7 +499,8 @@ SteamUser.prototype.redeemKey = function(key, callback) {
var recipeDetails = BinaryKVParser.parse(body.purchase_receipt_info).MessageObject;
if (recipeDetails.Lin... | Fix packageid being undefined sometimes when redeeming keys (fixes #<I>) | DoctorMcKay_node-steam-user | train | js |
48deacc83dbf3343061a2afa48a399c51dc37f19 | diff --git a/landsat/landsat.py b/landsat/landsat.py
index <HASH>..<HASH> 100755
--- a/landsat/landsat.py
+++ b/landsat/landsat.py
@@ -254,7 +254,7 @@ def main(args):
def exit(message):
print(message)
- sys.exit()
+ sys.exit(0)
def package_installed(package): | Added exit code 0 for success operations | developmentseed_landsat-util | train | py |
cc980f2d32f414c1ad6aa49d38d14b932c89d3eb | diff --git a/python/dllib/src/bigdl/dllib/keras/optimizers.py b/python/dllib/src/bigdl/dllib/keras/optimizers.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/keras/optimizers.py
+++ b/python/dllib/src/bigdl/dllib/keras/optimizers.py
@@ -105,3 +105,20 @@ class AdamWeightDecay(OptimMethod, ZooKerasCreat... | Add Polynomial Decay based on epochs (#<I>)
* poly on epoch
* doc and ut
* style | intel-analytics_BigDL | train | py |
e222b61bd6a9ad88448e900aedde3ea805e98d9d | diff --git a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java
+++ b/src/main/java/com/amas... | releaseMergeFFOnly is not used when merging release to develop.
Typically the develop branch moves on while the release is being
prepared. Therefore it does not make sense to require the use of
fast-forward when merging to the develop branch.
On the master branch, however, it is useful to be able to require the
use o... | aleksandr-m_gitflow-maven-plugin | train | java |
a8f08e765b5c8c827407794bd0d5ead7c0e38bf3 | diff --git a/src/runners/CollectionRunner.js b/src/runners/CollectionRunner.js
index <HASH>..<HASH> 100644
--- a/src/runners/CollectionRunner.js
+++ b/src/runners/CollectionRunner.js
@@ -44,6 +44,7 @@ var CollectionRunner = jsface.Class([AbstractRunner, Options, EventEmitter], {
}, this);
// Start t... | Multiple iterations working with setNextRequest | postmanlabs_newman | train | js,js |
361dce1ffc2773c6aac8512fd8dc636d4eda7166 | diff --git a/pipeline/compressors/__init__.py b/pipeline/compressors/__init__.py
index <HASH>..<HASH> 100644
--- a/pipeline/compressors/__init__.py
+++ b/pipeline/compressors/__init__.py
@@ -64,6 +64,8 @@ class Compressor(object):
def compile_templates(self, paths):
compiled = ""
+ if not paths:
... | don't output templates when there is no templates | jazzband_django-pipeline | train | py |
9f547fe6a30d544f52f8201ba89cff36f79d792d | diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/test_virtualenv.py
+++ b/setuptools/tests/test_virtualenv.py
@@ -1,3 +1,4 @@
+import distutils.command
import glob
import os
import sys
@@ -134,3 +135,14 @@ def test_test_command_... | add a test to catch unvendored dependencies | pypa_setuptools | train | py |
eb85bc7f887c70ea4ff66db978e37e3ed46b7ba2 | diff --git a/transport_plugins/jlink/iotile_transport_jlink/jlink.py b/transport_plugins/jlink/iotile_transport_jlink/jlink.py
index <HASH>..<HASH> 100644
--- a/transport_plugins/jlink/iotile_transport_jlink/jlink.py
+++ b/transport_plugins/jlink/iotile_transport_jlink/jlink.py
@@ -40,7 +40,8 @@ class JLinkAdapter(Devi... | move pylink declaration for easier test running | iotile_coretools | train | py |
cdd077b75820b542a69b08ee3bf9c652f481c9f0 | diff --git a/example/src/main/java/com/alibaba/otter/canal/example/kafka/CanalKafkaClientFlatMessageExample.java b/example/src/main/java/com/alibaba/otter/canal/example/kafka/CanalKafkaClientFlatMessageExample.java
index <HASH>..<HASH> 100644
--- a/example/src/main/java/com/alibaba/otter/canal/example/kafka/CanalKafkaC... | FIX NPE When ddl event (#<I>) | alibaba_canal | train | java |
dfdf5642fe0a7328d6e627dfee189c80e67ea3d9 | diff --git a/provider/ec2/environ.go b/provider/ec2/environ.go
index <HASH>..<HASH> 100644
--- a/provider/ec2/environ.go
+++ b/provider/ec2/environ.go
@@ -834,6 +834,17 @@ func (e *environ) Subnets(_ instance.Id) ([]network.SubnetInfo, error) {
}
results := make([]network.SubnetInfo, len(resp.Subnets), len(resp.S... | Calculate AllocatableIPLow for SubnetInfo | juju_juju | train | go |
f2b3b356404c934f1da10f8a70d85151f0696a53 | diff --git a/internal/config/config.go b/internal/config/config.go
index <HASH>..<HASH> 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -33,7 +33,7 @@ import (
var (
// Default sections
- sectionDefaults = []string{"agent", "global_tags", "outputs",
+ sectionDefaults = []string{"global_ta... | Print global_tags first in sample configuration | influxdata_telegraf | train | go |
2cbcfe29d1323b6e5a622d00d8d11da77dc38884 | diff --git a/lib/coral/machine/fog.rb b/lib/coral/machine/fog.rb
index <HASH>..<HASH> 100644
--- a/lib/coral/machine/fog.rb
+++ b/lib/coral/machine/fog.rb
@@ -236,10 +236,6 @@ class Fog < Plugin::Machine
if ssh_results
ssh_results.each do |result|
- ui.info(result.stdout... | Removing debug printouts in the fog machine provider. | coralnexus_corl | train | rb |
8ba8fc48219918274e22d3a4f81659c0e0a77041 | diff --git a/salt/states/mdadm.py b/salt/states/mdadm.py
index <HASH>..<HASH> 100644
--- a/salt/states/mdadm.py
+++ b/salt/states/mdadm.py
@@ -93,8 +93,8 @@ def present(name,
can_assemble[dev] = __salt__['cmd.retcode'](cmd) == 0
if True in can_assemble.values() and False in can_assemble.values():
- ... | Fixed a name reference in raid.assemble. Also, raid.assemble sorts the devices
alphabetically if it needs to report that the RAID and non-RAID devices are
mixed | saltstack_salt | train | py |
afa31827ea5b4468b2f923ddb32ad1f8a5ef60fc | diff --git a/app/config/bootstrap.php b/app/config/bootstrap.php
index <HASH>..<HASH> 100644
--- a/app/config/bootstrap.php
+++ b/app/config/bootstrap.php
@@ -131,9 +131,17 @@ Libraries::add('app');
// use lithium\g11n\Catalog;
//
// Catalog::config(array(
-// 'runtime' => array('adapter' => 'Memory'),
-// 'app' =... | Updating locations for g<I>n data in app bootstrap. | UnionOfRAD_framework | train | php |
4bc394e799e0853c035e83f1d81edaac1f2d79e2 | diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/__init__.py
+++ b/python/phonenumbers/__init__.py
@@ -143,7 +143,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency
# Version number is taken from the ... | Prep for <I> release | daviddrysdale_python-phonenumbers | train | py |
050454c90fa1eeeedb5c59a7dd147ca70a645645 | diff --git a/gqltesting/testing.go b/gqltesting/testing.go
index <HASH>..<HASH> 100644
--- a/gqltesting/testing.go
+++ b/gqltesting/testing.go
@@ -43,6 +43,9 @@ func RunTest(t *testing.T, test *Test) {
test.Context = context.Background()
}
result := test.Schema.Exec(test.Context, test.Query, test.OperationName, ... | Update testing.go
check for errors before expected response | graph-gophers_graphql-go | train | go |
f61a34231143f302e1c05ed295adbe6cb6e0aac9 | diff --git a/command/format/state.go b/command/format/state.go
index <HASH>..<HASH> 100644
--- a/command/format/state.go
+++ b/command/format/state.go
@@ -74,7 +74,11 @@ func State(opts *StateOpts) string {
for _, k := range ks {
v := m.OutputValues[k]
p.buf.WriteString(fmt.Sprintf("%s = ", k))
- p.writeVa... | Hide sensitive outputs in terraform show | hashicorp_terraform | train | go,go |
730389c4460445bf59c7b6958ea6a54c165044ca | diff --git a/openquake/server/tests/functional_test.py b/openquake/server/tests/functional_test.py
index <HASH>..<HASH> 100644
--- a/openquake/server/tests/functional_test.py
+++ b/openquake/server/tests/functional_test.py
@@ -117,8 +117,8 @@ class EngineServerTestCase(unittest.TestCase):
tmpdb = '%s:%s' % (cl... | Passed the log file to the dbserver in the functional tests
Former-commit-id: 1dcd5d<I>b<I>f<I>b<I>a<I>ed [formerly 3cab<I>c5d<I>ee<I>af9f<I>aea<I>e<I>b]
Former-commit-id: <I>b0bbc<I>fbeba<I>c4f<I>e<I> | gem_oq-engine | train | py |
1d14825f81e2ec191b85110d14fdd5604209345b | diff --git a/telemetry/telemetry/core/timeline/model.py b/telemetry/telemetry/core/timeline/model.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/timeline/model.py
+++ b/telemetry/telemetry/core/timeline/model.py
@@ -43,10 +43,11 @@ class TimelineModel(object):
if self._frozen:
raise Exception... | Fixed generation of TimelineModel._all_events.
- Events were added recursively to _all_events during AddEvent for root events
- Asynchronous events that were added later on by the importer were not included.
- Fixed by moving the recursive population of _all_events to DidFinishRecording
BUG=<I>
Review URL: <URL> | catapult-project_catapult | train | py |
ec934f58d2f73492075c545d8e678ca04f7e61d8 | diff --git a/src/check-types.js b/src/check-types.js
index <HASH>..<HASH> 100644
--- a/src/check-types.js
+++ b/src/check-types.js
@@ -290,7 +290,7 @@
*
*/
function error (data) {
- return Object.prototype.toString.call(data) === '[object Error]';
+ return data instanceof Error || Object.... | Recognise derived error objects. | philbooth_check-types.js | train | js,js |
113eaeed73e0b1611154bad01d9b5f38910b1eaa | diff --git a/lib/ruboto/util/xml_element.rb b/lib/ruboto/util/xml_element.rb
index <HASH>..<HASH> 100644
--- a/lib/ruboto/util/xml_element.rb
+++ b/lib/ruboto/util/xml_element.rb
@@ -212,7 +212,7 @@ module Ruboto
if_else(
"scriptInfo.getCallbackProcs() != null && scriptInfo.getCall... | Switch to get rubyClassName from scriptInfo | ruboto_ruboto | train | rb |
68a3c485d3fa2f007e306db098865c967342633e | diff --git a/cherrypy/test/test_states.py b/cherrypy/test/test_states.py
index <HASH>..<HASH> 100644
--- a/cherrypy/test/test_states.py
+++ b/cherrypy/test/test_states.py
@@ -101,7 +101,6 @@ class ServerStateTests(helper.CPWebCase):
self.assertEqual(len(db_connection.threads), 0)
# Test serv... | Removing the last call to server.quickstart (which is deprecated). | cherrypy_cheroot | train | py |
8941e36c484f6e228cb4dccd95c70455fac45335 | diff --git a/src/lib/context.js b/src/lib/context.js
index <HASH>..<HASH> 100644
--- a/src/lib/context.js
+++ b/src/lib/context.js
@@ -1,6 +1,8 @@
import { L10nError } from './errors';
import { format } from './resolver';
+const IntlObjects = new WeakMap();
+
export class Context {
constructor(env, langs, resId... | Naive memoization of Intl formatters
This is a very naive implementation of memoization of Intl formatters which
assumes opts are always passed in the same order.
Doesn't affect node's performance, but I'm seeing an improvement on jsshell:
format:
mean: <I> (-<I>%)
stdev: <I>
sample: <I> | l20n_l20n.js | train | js |
0578e2c5bf1186000b58a2f8411723550199a7dd | diff --git a/lib/easy_upnp/control_point/argument_validator.rb b/lib/easy_upnp/control_point/argument_validator.rb
index <HASH>..<HASH> 100644
--- a/lib/easy_upnp/control_point/argument_validator.rb
+++ b/lib/easy_upnp/control_point/argument_validator.rb
@@ -58,6 +58,7 @@ module EasyUpnp
class TypeValidator
... | Add list as an available UPnP type | sidoh_easy_upnp | train | rb,rb |
da9b0f905c1337433f5c78255943d93032595d17 | diff --git a/indra/tools/reading/wait_for_complete.py b/indra/tools/reading/wait_for_complete.py
index <HASH>..<HASH> 100644
--- a/indra/tools/reading/wait_for_complete.py
+++ b/indra/tools/reading/wait_for_complete.py
@@ -63,7 +63,7 @@ if __name__ == '__main__':
)
args = parser.parse_args()
- from s... | Clarify path to wait_for_complete. | sorgerlab_indra | train | py |
91d737e37c521d3d4a7c82c37a95d231af92a67c | diff --git a/angr/analyses/cfg/cfg_fast.py b/angr/analyses/cfg/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/cfg_fast.py
+++ b/angr/analyses/cfg/cfg_fast.py
@@ -1462,6 +1462,12 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method
... | CFGFast: Add return endpoints for SimProcedure functions. | angr_angr | train | py |
3b26402c362e4864589b74bfc8a71f2e8c819608 | diff --git a/src/ResolveIteratorCapableTrait.php b/src/ResolveIteratorCapableTrait.php
index <HASH>..<HASH> 100644
--- a/src/ResolveIteratorCapableTrait.php
+++ b/src/ResolveIteratorCapableTrait.php
@@ -59,7 +59,10 @@ trait ResolveIteratorCapableTrait
$i = 0;
while (!$test($iterator) && $i < $limit)... | Added test for `IteratorAggregate`
This is because the test function is not guaranteed to test for
`Iterator` interface. | Dhii_iterator-helper-base | train | php |
36379c6085cc098512d5d8366bb6bd4ddc518ead | diff --git a/spyderlib/widgets/projectexplorer.py b/spyderlib/widgets/projectexplorer.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/projectexplorer.py
+++ b/spyderlib/widgets/projectexplorer.py
@@ -321,6 +321,8 @@ class Project(object):
item_preceding, tree, include, exclude, show_... | Project explorer: when refreshing tree to show a new entry preceding the first item of a branch, this entry was added as the last item of the branch instead of the first one | spyder-ide_spyder | train | py |
0cd50e99affa6e325afd41bc75d243fe6fb4ece1 | diff --git a/function/function.go b/function/function.go
index <HASH>..<HASH> 100644
--- a/function/function.go
+++ b/function/function.go
@@ -456,7 +456,10 @@ func (f *Function) Build() (io.Reader, error) {
if err := zip.AddFile(path, file); err != nil {
return nil, err
}
- defer file.Close()
+
+ if err :=... | remove deferring of file Close() for builds
could quickly lead to exhausting descriptors | apex_apex | train | go |
8aaa956a298d1cee30d11c1ad536919eb4213236 | diff --git a/src/math.js b/src/math.js
index <HASH>..<HASH> 100644
--- a/src/math.js
+++ b/src/math.js
@@ -83,10 +83,10 @@ math.bound = function( min, val, max ){
math.makeBoundingBox = function( bb ){
if( bb == null ){
return {
- x1: 0,
- y1: 0,
- x2: 0,
- y2: 0,
+ x1: Infinity,
+ ... | fixes bb calcs for layers #<I> with negative x1, y1 | cytoscape_cytoscape.js | train | js |
ae2cf125c71b92bfa9a96c5fad6ee14ddcd57335 | diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -88,7 +88,6 @@ class UidGidTest(unittest.TestCase):
if os.getuid() != 0:
return True
- os.chown(self.pidfile, NOBODY_UID, NOBODY_GID)
os.chown(self.logfile, NOBODY_UI... | Do not chown pidfile in tests | thesharp_daemonize | train | py |
9ba0192d9acf8d3c3736d758911b03fcf24e6e65 | diff --git a/test/functional/test_auth.rb b/test/functional/test_auth.rb
index <HASH>..<HASH> 100755
--- a/test/functional/test_auth.rb
+++ b/test/functional/test_auth.rb
@@ -369,7 +369,7 @@ module LitleOnline
'orderSource'=>'ecommerce',
'card'=>{
'type'=>'VI',
- 'number' =>'410080... | Fixed test_auth so that card numbers asking for special responses follow sandbox documentation | Vantiv_litle-sdk-for-ruby | train | rb |
901d18a3278311655eb4089612bbeac07d4d17a4 | diff --git a/src/toil/batchSystems/mesos/batchSystem.py b/src/toil/batchSystems/mesos/batchSystem.py
index <HASH>..<HASH> 100644
--- a/src/toil/batchSystems/mesos/batchSystem.py
+++ b/src/toil/batchSystems/mesos/batchSystem.py
@@ -355,7 +355,7 @@ class MesosBatchSystem(BatchSystemSupport,
... | Fix Mesos disk allocation (resolves #<I>) | DataBiosphere_toil | train | py |
4f809fda40488827c5c7d0e0394386c3f490af86 | diff --git a/lib/dm-core/spec/shared/adapter_spec.rb b/lib/dm-core/spec/shared/adapter_spec.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/spec/shared/adapter_spec.rb
+++ b/lib/dm-core/spec/shared/adapter_spec.rb
@@ -51,7 +51,7 @@ share_examples_for 'An Adapter' do
end
after :all do
- Object.send(:remove_c... | Be more defensive when removing Heffalump const in shared adapter specs | datamapper_dm-core | train | rb |
61bbeb300ecf2d2e662ac5ffe7bf83e306a4bc89 | diff --git a/marshmallow_jsonapi/fields.py b/marshmallow_jsonapi/fields.py
index <HASH>..<HASH> 100644
--- a/marshmallow_jsonapi/fields.py
+++ b/marshmallow_jsonapi/fields.py
@@ -85,16 +85,20 @@ class Relationship(BaseRelationship):
return None
def add_resource_linkage(self, value):
+ def stringi... | The value of id members must always be strings unless empty | marshmallow-code_marshmallow-jsonapi | train | py |
f470e2fc061dd68fdbde658274777f444c4a794d | diff --git a/site/kotlin-example-loader.js b/site/kotlin-example-loader.js
index <HASH>..<HASH> 100644
--- a/site/kotlin-example-loader.js
+++ b/site/kotlin-example-loader.js
@@ -41,9 +41,9 @@ module.exports = function kotlinExampleLoader(source) {
then(() => {
fs.readFile(TMP_FILE_NAME, (e, buffer) => ... | RING-UI-CR-<I> decode sourcemap to string before passing it to webpack
Former-commit-id: <I>edfadac1b<I>a7dd1c9a<I>d<I>f<I>c<I> | JetBrains_ring-ui | train | js |
d5bdb823d84c38ec6daad86fe524a7342c0b0858 | diff --git a/examples/sampleserver.py b/examples/sampleserver.py
index <HASH>..<HASH> 100644
--- a/examples/sampleserver.py
+++ b/examples/sampleserver.py
@@ -195,8 +195,10 @@ class ServerHandler(util.HTTPHandler):
self.wfile.write(response.body)
except:
+ import sys
+ ... | [project @ Added debug info when the sample server gets an exception in handleOpenIDRequest] | openid_python-openid | train | py |
8ff97e6b7c279334e417dbdb65e64d0de2656986 | diff --git a/lib/shared.js b/lib/shared.js
index <HASH>..<HASH> 100644
--- a/lib/shared.js
+++ b/lib/shared.js
@@ -12,7 +12,7 @@ const sha256File = require('sha256-file');
* @param {Object} serverless
* @return {undefined}
*/
-function checkForAndDeleteMaxCacheVersions(options, serverless) {
+function checkForAn... | refactor: Adapt `shared` to modern logs | UnitedIncome_serverless-python-requirements | train | js |
7a8388cc75677ec26f9fb6991be10fe0cd2410b2 | diff --git a/app/presenters/hyrax/work_show_presenter.rb b/app/presenters/hyrax/work_show_presenter.rb
index <HASH>..<HASH> 100644
--- a/app/presenters/hyrax/work_show_presenter.rb
+++ b/app/presenters/hyrax/work_show_presenter.rb
@@ -116,7 +116,7 @@ module Hyrax
end
def link_name
- current_ability.can... | Relabel the links for private child works from 'File'
"File" isn't an accurate description of a work. When a child work isn't
readable, just list it as "Private" instead. | samvera_hyrax | train | rb |
e8e76476b996bd4cd2e23ad6d2259b7f6400a7a3 | diff --git a/test/specs/grapesjs/index.js b/test/specs/grapesjs/index.js
index <HASH>..<HASH> 100644
--- a/test/specs/grapesjs/index.js
+++ b/test/specs/grapesjs/index.js
@@ -376,5 +376,16 @@ describe('GrapesJS', () => {
editor = obj.init(config);
expect(editor.Commands.get('export-template').test).toEqua... | added unit testing to dump unused css selectors | artf_grapesjs | train | js |
48d9f5d20b6265930a9ddf9cad05285098952f46 | diff --git a/umap/plot.py b/umap/plot.py
index <HASH>..<HASH> 100644
--- a/umap/plot.py
+++ b/umap/plot.py
@@ -20,16 +20,16 @@ except ImportError:
warn(
"""The umap.plot package requires extra plotting libraries to be installed.
You can install these via pip using
-
+
pip install umap-learn[... | Update import notes in plot.py | lmcinnes_umap | train | py |
684ca55dbf78b657eee385665a51b430b395f805 | diff --git a/aws/aws_test.go b/aws/aws_test.go
index <HASH>..<HASH> 100644
--- a/aws/aws_test.go
+++ b/aws/aws_test.go
@@ -346,6 +346,9 @@ func Test_Examples(t *testing.T) {
"@pulumi/cloud",
"@pulumi/cloud-aws",
},
+ // #494: lambda tests are unexpectedly proposing and performing code changes
+ AllowE... | Allow changes in empty preview/update for long-running tests. (#<I>)
The `containers` test uses a lambda that appears to suffer from the same
unexpected no-op changes as the others in this repo. Investigating this
is tracked by #<I>. | pulumi_pulumi-cloud | train | go |
835966955fda2dd876e7f9c8dd1e5e79e4a166a8 | diff --git a/openstack/resource_openstack_networking_port_v2.go b/openstack/resource_openstack_networking_port_v2.go
index <HASH>..<HASH> 100644
--- a/openstack/resource_openstack_networking_port_v2.go
+++ b/openstack/resource_openstack_networking_port_v2.go
@@ -137,9 +137,8 @@ func resourceNetworkingPortV2() *schema.R... | Networking v2: Fix Allowed Address Pairs validation (#<I>)
This change reverts a previous modification which restricted an allowed
address pair's IP address to be a single IP address rather than a CIDR. | terraform-providers_terraform-provider-openstack | train | go |
e3b136d5ae49e2117b8f7a5ccfc6d104a5df9554 | diff --git a/objectrocket/auth.py b/objectrocket/auth.py
index <HASH>..<HASH> 100644
--- a/objectrocket/auth.py
+++ b/objectrocket/auth.py
@@ -129,7 +129,7 @@ class Auth(bases.BaseAuthLayer):
:rtype: dict
"""
# Attempt to authenticate.
- url = '{}{}'.format(self._url, 'verify')
+ ... | Add test to ensure _verify functionality. | objectrocket_python-client | train | py,py |
4e8043ef74d440d6ece751341664ab1bb3bddebd | diff --git a/scripts/ci/extract-changelog.py b/scripts/ci/extract-changelog.py
index <HASH>..<HASH> 100755
--- a/scripts/ci/extract-changelog.py
+++ b/scripts/ci/extract-changelog.py
@@ -23,4 +23,4 @@ for i, line in enumerate(changelog):
break
if start != 0:
- print ''.join(changelog[start+1:end]).st... | Fix script to extract changelog for Python 3 | skydive-project_skydive | train | py |
0106755ae459273e63d707dfb5649ab81b7af612 | diff --git a/ghost/admin/Gruntfile.js b/ghost/admin/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/Gruntfile.js
+++ b/ghost/admin/Gruntfile.js
@@ -34,7 +34,7 @@ module.exports = function(grunt) {
shell: {
'npm-install': {
- command: 'npm install'
+ comma... | 🛠 switch to using yarn in our Grunt tasks (#<I>)
no issue
- use `yarn install` instead of `npm install` in our `grunt init` task (used in Ghost's `grunt init` via subgrunt) | TryGhost_Ghost | train | js |
c6ca4c1f73186cc36796d52ec0027f9c2c1bb1c3 | diff --git a/lib/waistband/result.rb b/lib/waistband/result.rb
index <HASH>..<HASH> 100644
--- a/lib/waistband/result.rb
+++ b/lib/waistband/result.rb
@@ -13,6 +13,7 @@ module Waistband
def respond_to_missing?(method_name, include_private = false)
return true if @result_hash.keys.include?(method_name.to_s... | better respond_to_missing in result | taskrabbit_waistband | train | rb |
ad32c3821bb3f25e52cc527932c0af7eac0c6aac | diff --git a/src/Mover.php b/src/Mover.php
index <HASH>..<HASH> 100644
--- a/src/Mover.php
+++ b/src/Mover.php
@@ -2,12 +2,14 @@
namespace CoenJacobs\Mozart;
+use CoenJacobs\Mozart\Composer\Autoload\Autoloader;
use CoenJacobs\Mozart\Composer\Autoload\Classmap;
use CoenJacobs\Mozart\Composer\Autoload\NamespaceAut... | Add types to method @params | coenjacobs_mozart | train | php |
ad69e057709cfc9428393584e33937e03dd1aff4 | diff --git a/src/server/pps/server/monitor.go b/src/server/pps/server/monitor.go
index <HASH>..<HASH> 100644
--- a/src/server/pps/server/monitor.go
+++ b/src/server/pps/server/monitor.go
@@ -283,7 +283,7 @@ func (a *apiServer) monitorPipeline(pachClient *client.APIClient, pipelineInfo *
return err
}
... | Return correct error from monitorPipeline | pachyderm_pachyderm | train | go |
b84b286ffb78ce5758ff9bfbf7288671fe65c6ca | diff --git a/examples/flashing_doge.py b/examples/flashing_doge.py
index <HASH>..<HASH> 100644
--- a/examples/flashing_doge.py
+++ b/examples/flashing_doge.py
@@ -1,15 +1,16 @@
import pyfakewebcam
-import scipy.misc as misc
import numpy as np
import time
import timeit
-cam = pyfakewebcam.FakeWebcam('/dev/video1',... | flashing_doge.py : changed resolution to <I>p | jremmons_pyfakewebcam | train | py |
3f33e24bf851dc088081b64a80859458d54da312 | diff --git a/src/ui/axis/src/orientedAxis.js b/src/ui/axis/src/orientedAxis.js
index <HASH>..<HASH> 100644
--- a/src/ui/axis/src/orientedAxis.js
+++ b/src/ui/axis/src/orientedAxis.js
@@ -55,9 +55,9 @@ export default function orientAxis(AxisComponent, orientation) {
const axisProps = omit(this.props, ['scale', 's... | props provided by OrientedAxis to its wrapped Axis component should override any user-defined props | ihmeuw_ihme-ui | train | js |
3c846dd689b40e21445c950a80606fdd3bd57edd | diff --git a/DependencyInjection/Configuration/Configuration.php b/DependencyInjection/Configuration/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration/Configuration.php
+++ b/DependencyInjection/Configuration/Configuration.php
@@ -82,7 +82,6 @@ class Configuration implements Configur... | Remove requirement that at least one client be provided | snc_SncRedisBundle | train | php |
10e289c26e311e2109e9a7204f4f88b1dda0faca | diff --git a/tests/test_layers.py b/tests/test_layers.py
index <HASH>..<HASH> 100644
--- a/tests/test_layers.py
+++ b/tests/test_layers.py
@@ -240,7 +240,15 @@ def test_torch_layer():
assert not torch.allclose(model1(input), model2(input))
model2.load_state_dict(pickle.loads(pickle.dumps(model1.state_... | Add testing of model freezing for pytorch | arogozhnikov_einops | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.