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 |
|---|---|---|---|---|---|
6ba370ccbd251b4e8c0ee28b890fadcf4c98941a | diff --git a/quart/app.py b/quart/app.py
index <HASH>..<HASH> 100644
--- a/quart/app.py
+++ b/quart/app.py
@@ -1345,7 +1345,7 @@ class Quart(PackageStatic):
) -> None:
"""Run this application.
- This is best used for development only, see using Gunicorn for
+ This is best used for developm... | Update a docstring
Gunicorn workers were removed in <I>, now Quart recommends
Hypercorn. | pgjones_quart | train | py |
bf2d9e0786927c629a5a5eb68bcc5de1be0633b4 | diff --git a/lib/rubocop/cli.rb b/lib/rubocop/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cli.rb
+++ b/lib/rubocop/cli.rb
@@ -27,16 +27,16 @@ module Rubocop
cops = Cop::Cop.all
total_offences = 0
- target_files(args).reject { |f| File.directory?(f) }.each do |file|
+ target_files(args... | adapted the cli to accept directory names as well | rubocop-hq_rubocop | train | rb |
147012ebe11de621ef33c5bb736537dc316195df | diff --git a/lib/file_ops.js b/lib/file_ops.js
index <HASH>..<HASH> 100644
--- a/lib/file_ops.js
+++ b/lib/file_ops.js
@@ -40,7 +40,7 @@ function execDart2JS(dir, mainDart) {
var d = q.defer();
exec(
'cd ' + dir + ' && ' +
- 'dart2js ' + mainDart +
+ 'dart2js --checked ' + mainDart +
... | run dart2js in checked mode | jbdeboer_dart2jsaas | train | js |
b51c15028080a27d855c5159c7a5615af475f066 | diff --git a/lib/couchdb.js b/lib/couchdb.js
index <HASH>..<HASH> 100644
--- a/lib/couchdb.js
+++ b/lib/couchdb.js
@@ -159,6 +159,10 @@ var Db = function (uri) {
var stopped = false;
var resultsById = {};
var queriesLeft = Object.keys(queriesById).length;
+ if (queriesLeft === 0) {
+ process.next... | fix: calling multiqueryView with no queries | afters_couch-incarnate | train | js |
14902559aa51a6219b48fb4ecc699801c8c7cf60 | diff --git a/lib/rocket_job/extensions/iostreams/path.rb b/lib/rocket_job/extensions/iostreams/path.rb
index <HASH>..<HASH> 100644
--- a/lib/rocket_job/extensions/iostreams/path.rb
+++ b/lib/rocket_job/extensions/iostreams/path.rb
@@ -8,34 +8,25 @@ module IOStreams
# Get the object as it was stored in the database... | IOStreams::Path serialization refactor | rocketjob_rocketjob | train | rb |
4531f54b5fb0653d8256a0a785d717728849e479 | diff --git a/data/src/main/java/org/xillium/data/CachedResultSet.java b/data/src/main/java/org/xillium/data/CachedResultSet.java
index <HASH>..<HASH> 100644
--- a/data/src/main/java/org/xillium/data/CachedResultSet.java
+++ b/data/src/main/java/org/xillium/data/CachedResultSet.java
@@ -115,6 +115,14 @@ public class Cac... | convenience method to build a column index | brianwhu_xillium | train | java |
5e84eccce82546429e9e9c57553fbc2e753b1e1a | diff --git a/lib/Alchemy/Phrasea/Core/Event/Subscriber/SessionManagerSubscriber.php b/lib/Alchemy/Phrasea/Core/Event/Subscriber/SessionManagerSubscriber.php
index <HASH>..<HASH> 100644
--- a/lib/Alchemy/Phrasea/Core/Event/Subscriber/SessionManagerSubscriber.php
+++ b/lib/Alchemy/Phrasea/Core/Event/Subscriber/SessionMan... | Add OAuth authenticated routes to exceptions | alchemy-fr_Phraseanet | train | php |
e2fdb9090d137ecbe59d0d602aaf342b5404576f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup(
name = 'webmocker',
packages=find_packages(), # this must be the same as the name above
- version = '0.6.1',
+ version = '0.6.2',
description = 'A tes... | Update setup.py
Udating version to <I> | sheltonpaul89_web-mocker | train | py |
97ae51464135b373dcb654423996a8d710a12769 | diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/aptpkg.py
+++ b/salt/modules/aptpkg.py
@@ -704,7 +704,7 @@ def purge(name=None, pkgs=None, **kwargs):
return _uninstall(action='purge', name=name, pkgs=pkgs, **kwargs)
-def upgrade(refresh=True, dist_upg... | aptpkg.upgrade should default to upgrade instead of dist_upgrade. | saltstack_salt | train | py |
a6c42c82678f11271fe71923a200eb135f2f1c0e | diff --git a/actionpack/lib/action_view/test_case.rb b/actionpack/lib/action_view/test_case.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_view/test_case.rb
+++ b/actionpack/lib/action_view/test_case.rb
@@ -201,7 +201,7 @@ module ActionView
# frameworks.
def view_assigns
Hash[_user_de... | two argument String#slice is faster than single argument, also avoid creating a Range object | rails_rails | train | rb |
1c791b8fa33a07d341003fab8c22cfc5b5b9d83b | diff --git a/lib/consts.js b/lib/consts.js
index <HASH>..<HASH> 100644
--- a/lib/consts.js
+++ b/lib/consts.js
@@ -6,11 +6,11 @@ var vclockOpts = {
// number of elements that need to exist for trimming to occur
lowerBound: 10,
// how old the youngest member needs to be before considering trimming
- youngBound... | update vector clock constants to fix milli/micro error | azuqua_notp | train | js |
9e5cf59ceaa66b534ef95d519cacb8afc4814215 | diff --git a/src/flush-microtasks.js b/src/flush-microtasks.js
index <HASH>..<HASH> 100644
--- a/src/flush-microtasks.js
+++ b/src/flush-microtasks.js
@@ -20,9 +20,6 @@ function getIsUsingFakeTimers() {
const globalObj = typeof window === 'undefined' ? global : window
let Scheduler = globalObj.Scheduler
-const isMo... | fix(flushMicroTasks): fallback to no scheduler (#<I>) | testing-library_react-testing-library | train | js |
4932f4234af48e58ad2036b16577494945f78302 | diff --git a/lib/spout/version.rb b/lib/spout/version.rb
index <HASH>..<HASH> 100644
--- a/lib/spout/version.rb
+++ b/lib/spout/version.rb
@@ -3,7 +3,7 @@ module Spout
MAJOR = 0
MINOR = 10
TINY = 0
- BUILD = "beta8" # nil, "pre", "rc", "rc2"
+ BUILD = "beta9" # nil, "pre", "rc", "rc2"
STRING... | Version bump to <I>.beta9 | nsrr_spout | train | rb |
699412dc09101b58e3fb9493afef95c1143efe79 | diff --git a/lib/svtplay_dl/fetcher/hls.py b/lib/svtplay_dl/fetcher/hls.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/fetcher/hls.py
+++ b/lib/svtplay_dl/fetcher/hls.py
@@ -387,7 +387,7 @@ def _get_tuple_attribute(attribute):
for art_l in re.split(''',(?=(?:[^'"]|'[^']*'|"[^"]*")*$)''', attribute):
... | hls._get_tuple_attribute: in some cases there is a space in beginning of the name.
I saw this on some dplay live streams | spaam_svtplay-dl | train | py |
f68df6497fbf51380d23606e2bd9816a3ee212ab | diff --git a/Model/Menu/Import/SampleFile.php b/Model/Menu/Import/SampleFile.php
index <HASH>..<HASH> 100644
--- a/Model/Menu/Import/SampleFile.php
+++ b/Model/Menu/Import/SampleFile.php
@@ -79,7 +79,7 @@ class SampleFile
{
$data = $this->getMenuData();
- $data[ExportProcessor::STORES_CSV_FIELD] ... | [<I>] Rename menu import sample file model stores data accessor | SnowdogApps_magento2-menu | train | php |
037406daa767bad6e860ba5293739353bafb882a | diff --git a/django_cron/__init__.py b/django_cron/__init__.py
index <HASH>..<HASH> 100644
--- a/django_cron/__init__.py
+++ b/django_cron/__init__.py
@@ -3,7 +3,6 @@ from datetime import timedelta
import traceback
import time
-from django_cron.models import CronJobLog
from django.conf import settings
from django... | Django <I> support | Tivix_django-cron | train | py |
d3c01ddaa4954c053a52e00b31473ed35da047da | diff --git a/test_leadbutt.py b/test_leadbutt.py
index <HASH>..<HASH> 100644
--- a/test_leadbutt.py
+++ b/test_leadbutt.py
@@ -161,7 +161,7 @@ class leadbuttTest(unittest.TestCase):
'aws_secret_access_key': 'bar',
}
}
- leadbutt.leadbutt('dummy_config_file', 'dummy_cli_opti... | Improve mock data in a test. | crccheck_cloudwatch-to-graphite | train | py |
513bfe44f24cee37e8dc720f3a55c8f8d0c73163 | diff --git a/zappa/zappa.py b/zappa/zappa.py
index <HASH>..<HASH> 100755
--- a/zappa/zappa.py
+++ b/zappa/zappa.py
@@ -1053,7 +1053,7 @@ class Zappa(object):
if count:
# We can end up in a situation where we have more resources being created
# than anticipated.... | fix potential div by zero error in tqdm | Miserlou_Zappa | train | py |
9cdf232c6afcfdc8137e60159d08a8b9b2a319cc | diff --git a/interact.js b/interact.js
index <HASH>..<HASH> 100755
--- a/interact.js
+++ b/interact.js
@@ -523,7 +523,7 @@ var document = window.document,
this.shiftKey = event.shiftKey;
this.metaKey = event.metaKey;
this.button = event.button;
- this.target = target;
+ this.tar... | Use the DOM element as InteractEvent#target | taye_interact.js | train | js |
67cd59d7bcd9c42c0c6b11e51049c0bbb57f27c4 | diff --git a/api/resolver/resolver.go b/api/resolver/resolver.go
index <HASH>..<HASH> 100644
--- a/api/resolver/resolver.go
+++ b/api/resolver/resolver.go
@@ -33,8 +33,6 @@ type Endpoint struct {
Method string
// HTTP Path e.g /greeter.
Path string
- // Namespace, g.g. go.micro
- Namespace string
}
type Optio... | Rename namespace from Resolver.Endpoint | micro_go-micro | train | go |
b0e2f9c30c3637d335562246666d5627ef7b17b3 | diff --git a/lib/middleman-blog/blog_data.rb b/lib/middleman-blog/blog_data.rb
index <HASH>..<HASH> 100644
--- a/lib/middleman-blog/blog_data.rb
+++ b/lib/middleman-blog/blog_data.rb
@@ -29,9 +29,9 @@ module Middleman
matcher = Regexp.escape(options.sources).
sub(/^\//, "").
- ... | use gsub to replace multiple occurences of :year, :month, :day in sources option | middleman_middleman-blog | train | rb |
d650eb0fe61f2b60c7af82d612b90761e8350eb6 | diff --git a/interp/interp.go b/interp/interp.go
index <HASH>..<HASH> 100644
--- a/interp/interp.go
+++ b/interp/interp.go
@@ -735,6 +735,7 @@ func (r *Runner) stmtSync(st *syntax.Stmt) {
func (r *Runner) sub() *Runner {
r2 := *r
r2.bgShells = sync.WaitGroup{}
+ r2.bufferAlloc = bytes.Buffer{}
// TODO: perhaps w... | interp: fix newly introduced data race
When we make a shallow copy of Runner, also make sure to wipe the
preallocated buffer. Otherwise, if the backing array was allocated, it
will be shared by multiple runners, leading to races. | mvdan_sh | train | go |
f6ddf7e49da32fd72a40e1b7b5ee1c6a22f7843b | diff --git a/src/test/java/org/paumard/spliterators/RepeatingSpliteratorTest.java b/src/test/java/org/paumard/spliterators/RepeatingSpliteratorTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/paumard/spliterators/RepeatingSpliteratorTest.java
+++ b/src/test/java/org/paumard/spliterators/RepeatingSpliterato... | Added a test to prevent the building of a repeating spliterator on a non-sized stream | JosePaumard_streams-utils | train | java |
c5606a5f18966b594db28c1f85622c3e6e34bfc2 | diff --git a/test/python/test_projectq_cpp_simulator.py b/test/python/test_projectq_cpp_simulator.py
index <HASH>..<HASH> 100644
--- a/test/python/test_projectq_cpp_simulator.py
+++ b/test/python/test_projectq_cpp_simulator.py
@@ -106,7 +106,7 @@ class TestProjectQCppSimulator(QiskitTestCase):
for circuit in s... | use assertDictAlmostEqual in projectq test | Qiskit_qiskit-terra | train | py |
259993892396b8097d85f60a3e9615fa14a9a321 | diff --git a/brightside/message_pump.py b/brightside/message_pump.py
index <HASH>..<HASH> 100644
--- a/brightside/message_pump.py
+++ b/brightside/message_pump.py
@@ -115,10 +115,8 @@ class MessagePump:
except DeferMessageException:
self._requeue_message(message)
- ... | Use a context manager to control the lifetime of the heartbeat over an explicit call in the code | BrighterCommand_Brightside | train | py |
1b2c38ccc6a8890f105185ed0d729008d6da9ca7 | diff --git a/src/PasswordLock.php b/src/PasswordLock.php
index <HASH>..<HASH> 100644
--- a/src/PasswordLock.php
+++ b/src/PasswordLock.php
@@ -43,7 +43,7 @@ class PasswordLock
if (self::safeStrlen($aesKey) !== 16) {
throw new \Exception("Encryption keys must be 16 bytes long");
}
- ... | Make the legacy function accept legacy ciphertexts | paragonie_password_lock | train | php |
571b039d84ddfc650756eb108d761c636ae3b505 | diff --git a/js/southxchange.js b/js/southxchange.js
index <HASH>..<HASH> 100644
--- a/js/southxchange.js
+++ b/js/southxchange.js
@@ -132,8 +132,12 @@ module.exports = class southxchange extends Exchange {
let result = {};
for (let i = 0; i < ids.length; i++) {
let id = ids[i];
- ... | southxchange fetchTickers fix | ccxt_ccxt | train | js |
10775014476562c07fb5685be2da3d61d64b3b86 | diff --git a/molgenis-app-lifelines/src/main/java/org/molgenis/lifelines/plugins/HL7StudyDataSetImporterController.java b/molgenis-app-lifelines/src/main/java/org/molgenis/lifelines/plugins/HL7StudyDataSetImporterController.java
index <HASH>..<HASH> 100644
--- a/molgenis-app-lifelines/src/main/java/org/molgenis/lifelin... | cleanup: remove bootstrap include (included by default) | molgenis_molgenis | train | java |
5c26e773c827c5043f89b38d8c84cbed3384776a | diff --git a/extensions/cms/Widgets.php b/extensions/cms/Widgets.php
index <HASH>..<HASH> 100644
--- a/extensions/cms/Widgets.php
+++ b/extensions/cms/Widgets.php
@@ -41,10 +41,6 @@ class Widgets extends \lithium\core\StaticObject {
static::$_data[$name] = compact('name', 'library') + $options;
}
- public static... | Remove unused method from widgets class. | bseries_cms_core | train | php |
3b164dc0bfe056ad372551f3101fb13354bf1e83 | diff --git a/docx2html/core.py b/docx2html/core.py
index <HASH>..<HASH> 100644
--- a/docx2html/core.py
+++ b/docx2html/core.py
@@ -1266,26 +1266,8 @@ def _strip_tag(tree, tag):
"""
Remove all tags that have the tag name ``tag``
"""
- w_namespace = get_namespace(tree, 'w')
-
- check_text = True
- ... | refs #<I>: removed all the balck list stuff, will re-add later if its needed | PolicyStat_docx2html | train | py |
edc594860778e12416f3de4891c43476731f7e55 | diff --git a/src/test/run.js b/src/test/run.js
index <HASH>..<HASH> 100644
--- a/src/test/run.js
+++ b/src/test/run.js
@@ -34,9 +34,23 @@ function runOneSync(name, selname, p) {
});
} catch(e) {
got = e.toString();
- if (want.trim() != got.trim()) throw e;
+ if (want.trim() != got.t... | Update test runner to forgive variant context strings in Error messages | lloyd_JSONSelect | train | js |
ebac57e2830aa7d9613eb893a898ba4008595a14 | diff --git a/digitalocean/Droplet.py b/digitalocean/Droplet.py
index <HASH>..<HASH> 100644
--- a/digitalocean/Droplet.py
+++ b/digitalocean/Droplet.py
@@ -22,6 +22,13 @@ class Droplet(object):
for attr in kwargs.keys():
setattr(self,attr,kwargs[attr])
+ def call_api(self, path, params=dict())... | added rename and call_api | koalalorenzo_python-digitalocean | train | py |
1da5c2f8c7cfa6a3518c1a4955019eba4cdfd82c | diff --git a/lenstronomy/Extensions/SimulationAPI/simulations.py b/lenstronomy/Extensions/SimulationAPI/simulations.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Extensions/SimulationAPI/simulations.py
+++ b/lenstronomy/Extensions/SimulationAPI/simulations.py
@@ -59,7 +59,7 @@ class Simulation(object):
# 'g... | fwhm to gaussian sigma conversion debugged in simulation API | sibirrer_lenstronomy | train | py |
f330a74496c0e676a78f6906e4f8b7e9e5feed30 | diff --git a/src/pybel/graph.py b/src/pybel/graph.py
index <HASH>..<HASH> 100644
--- a/src/pybel/graph.py
+++ b/src/pybel/graph.py
@@ -128,7 +128,7 @@ class BELGraph(nx.MultiDiGraph):
try:
self.metadata_parser.parseString(line)
except Exception as e:
- log.error... | Updated logging in metadata parsing to log exceptions explicitly | pybel_pybel | train | py |
220aaabb37888f9ed137558613c40010fb70888a | diff --git a/send.go b/send.go
index <HASH>..<HASH> 100644
--- a/send.go
+++ b/send.go
@@ -22,7 +22,7 @@ import (
// Send
func (c *Connection) Send(h Headers, b string) (e os.Error) {
- c.log(SEND, "start")
+ c.log(SEND, "start", h)
if !c.connected {
return ECONBAD
}
@@ -35,6 +35,6 @@ func (c *Connection) Se... | Add more logging data in Send. | gmallard_stompngo | train | go |
7915ed08fe66e3cc1991cc02f5684b64b9dbb08f | diff --git a/lib/app.js b/lib/app.js
index <HASH>..<HASH> 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -65,7 +65,7 @@ module.exports = function(tilelive, options) {
if (typeof options === "object") {
uri = options.source;
tilePath = options.tilePath || tilePath;
-
+
if (options.sourceMaxZoom) {
... | Use X-Forwarded-Proto header, if provided. This allows for using tessera behind a nginx with https. | mojodna_tessera | train | js |
18d55f122eb86067c694bdce859628df7ba26cc7 | diff --git a/openquake/commonlib/parallel.py b/openquake/commonlib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/parallel.py
+++ b/openquake/commonlib/parallel.py
@@ -253,6 +253,10 @@ class IterResult(object):
next(self.log_percent)
mon.flush()
yield val
+ ... | Restored the log about the received data
Former-commit-id: <I>f7bc5cb5a<I>dea<I>e<I>a1acee<I>bbf1e<I>f | gem_oq-engine | train | py |
95f0dd345a09b06c213dd86d9f4013908296573f | diff --git a/services/visual_recognition/v3.js b/services/visual_recognition/v3.js
index <HASH>..<HASH> 100644
--- a/services/visual_recognition/v3.js
+++ b/services/visual_recognition/v3.js
@@ -288,7 +288,7 @@ function prepareParamsCreateClassifier (params, node, msg, cb) {
}); // list classifiers
} // delete... | Codacy issues fix : reduce complexity 9 | watson-developer-cloud_node-red-node-watson | train | js |
249214f9362d9c3b7cebd0d19bc8f695eb9aa91f | diff --git a/lib/bootstrap-generators.rb b/lib/bootstrap-generators.rb
index <HASH>..<HASH> 100644
--- a/lib/bootstrap-generators.rb
+++ b/lib/bootstrap-generators.rb
@@ -12,7 +12,6 @@ module Bootstrap
app.config.assets.paths << ::Rails.root.join('app', 'assets', 'fonts')
app.config.assets.precompil... | removed precompile for bootstrap-ie | czuger_toronto | train | rb |
a2f3faf1327d217f5f39ace8609cc4d201549506 | diff --git a/lib/database_cleaner/active_record/truncation.rb b/lib/database_cleaner/active_record/truncation.rb
index <HASH>..<HASH> 100644
--- a/lib/database_cleaner/active_record/truncation.rb
+++ b/lib/database_cleaner/active_record/truncation.rb
@@ -192,7 +192,7 @@ module DatabaseCleaner
FROM pg_tables
... | Rails <I> removes ActiveRecord::Migrator.schema_migrations_table_name and replaces it with ActiveRecord::SchemaMigration.table_name (available since Rails <I>) | DatabaseCleaner_database_cleaner | train | rb |
709b2305d7d810207880c161f866403492470066 | diff --git a/llrb.go b/llrb.go
index <HASH>..<HASH> 100644
--- a/llrb.go
+++ b/llrb.go
@@ -297,10 +297,17 @@ func (self *Node) delete(e Comparable) (root *Node) {
// Return the minimum value stored in the tree. This will be the left-most value if
// insertion without replacement is allowed.
func (self *Tree) Min() C... | Check for nil nodes with min/max methods
Prevent nil dereference within the Min/Max calls. | biogo_store | train | go |
73dcca570b1051218802af8e06cffe0092797be1 | diff --git a/topydo/lib/prettyprinters/Colors.py b/topydo/lib/prettyprinters/Colors.py
index <HASH>..<HASH> 100644
--- a/topydo/lib/prettyprinters/Colors.py
+++ b/topydo/lib/prettyprinters/Colors.py
@@ -32,15 +32,15 @@ class PrettyPrinterColorFilter(PrettyPrinterFilter):
def filter(self, p_todo_str, p_todo):
... | Only retrieve colors when topydo was configured to use colors | bram85_topydo | train | py |
60965d8d0a03ce6ffceaecd7b9c443112eeac934 | diff --git a/skyscanner/skyscanner.py b/skyscanner/skyscanner.py
index <HASH>..<HASH> 100755
--- a/skyscanner/skyscanner.py
+++ b/skyscanner/skyscanner.py
@@ -12,7 +12,10 @@ except ImportError:
def configure_logger(log_level=logging.WARN):
logger = logging.getLogger(__name__)
logger.setLevel(log_level)
- ... | Make it work with Python <I>. Argument 'stream' is not supported in <I>. | Skyscanner_skyscanner-python-sdk | train | py |
8f844565e9f5a378b46f9db5e4a78e4e8e3fca1b | diff --git a/lib/Algorithm/AlgorithmMCFSuccessiveShortestPath.php b/lib/Algorithm/AlgorithmMCFSuccessiveShortestPath.php
index <HASH>..<HASH> 100644
--- a/lib/Algorithm/AlgorithmMCFSuccessiveShortestPath.php
+++ b/lib/Algorithm/AlgorithmMCFSuccessiveShortestPath.php
@@ -98,8 +98,8 @@ class AlgorithmMCFSuccessiveShortes... | fixed calculation of new flow
change targetFlow to a positive flow | graphp_graph | train | php |
8d26ebfa04fb99849de54383cfb09f77de16d5fc | diff --git a/src/ConnectWise.js b/src/ConnectWise.js
index <HASH>..<HASH> 100644
--- a/src/ConnectWise.js
+++ b/src/ConnectWise.js
@@ -189,7 +189,7 @@ function apiPromise(path, method, params, config) {
const options = {
url: config.apiUrl + path,
headers: {
- 'Accept': `application/json; appl... | Correct Accept header syntax.
ConnectWise apparently doesn't like the vnd media type coming second.
Types should also be separated by comma, not semicolon. | covenanttechnologysolutions_connectwise-rest | train | js |
f055a493ce95c9897fe18487a630423f150a09b7 | diff --git a/test/unit/lookups/yandex_test.rb b/test/unit/lookups/yandex_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/lookups/yandex_test.rb
+++ b/test/unit/lookups/yandex_test.rb
@@ -14,7 +14,7 @@ class YandexTest < GeocoderTestCase
result.viewport
end
- def test_yandex_empty_results
+ def test_ya... | Rename test case when there is no country in the yandex results | alexreisner_geocoder | train | rb |
e1f55ceb2f9385a080c80fb7d751d286b99356a6 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -76,7 +76,10 @@ function escapePostbidConfig() {
};
escapePostbidConfig.displayName = 'escape-postbid-config';
-function lint() {
+function lint(done) {
+ if (argv.nolint) {
+ return done();
+ }
return ... | add nolint command line option, similar to notest (#<I>) | prebid_Prebid.js | train | js |
8dd66ba915bda486e8350811c5f9cfe5515c1a91 | diff --git a/src/Agent.php b/src/Agent.php
index <HASH>..<HASH> 100644
--- a/src/Agent.php
+++ b/src/Agent.php
@@ -166,7 +166,7 @@ class Agent
// create a browscap object if needed?
if ( ! $this->browscap)
{
- if ($this->browscap = new Browscap($this->config['cacheDir']))
+ if ($this->browscap = ... | It seems that we are not using camelCase in config | fuelphp-storage_agent | train | php |
0ac5a8cd65f7ef5139da847dce09d6dfd0a18c99 | diff --git a/salt/runner.py b/salt/runner.py
index <HASH>..<HASH> 100644
--- a/salt/runner.py
+++ b/salt/runner.py
@@ -49,11 +49,8 @@ class RunnerClient(object):
Pass in the runner function name and the low data structure
'''
l_fun = self.functions[fun]
- fcall = salt.utils.format_call... | Fix incorrect variable name; squashed conditional | saltstack_salt | train | py |
7b920c20b7fc038dab9653a7d79a20fe41ef0645 | diff --git a/src/grid.js b/src/grid.js
index <HASH>..<HASH> 100644
--- a/src/grid.js
+++ b/src/grid.js
@@ -3,16 +3,22 @@ import React from 'react';
import styles from './grid.css'
-export default function Grid(props) {
- return (
- <div
- className={props.className}
- role="grid"
- >
- {props... | Convert Grid into React Component to support future internal state for keyboard navigation | juanca_react-aria-components | train | js |
0bf9ea076f5209b3e2cf932cec0f41f743fcc073 | diff --git a/src/deploy/_chunk.js b/src/deploy/_chunk.js
index <HASH>..<HASH> 100644
--- a/src/deploy/_chunk.js
+++ b/src/deploy/_chunk.js
@@ -1,5 +1,8 @@
module.exports = function _chunk(arr, len=12) {
+
+ if (process.env.NIX_CONTAINER) len = 1
+
let chunks = []
let index = 0
let max = arr.length | adds tmp flag for testing concurrency on *nix | architect_architect | train | js |
a31e2a0d4e7db6cb277f5fad03b683e1d6ad361f | diff --git a/elpy/jedibackend.py b/elpy/jedibackend.py
index <HASH>..<HASH> 100644
--- a/elpy/jedibackend.py
+++ b/elpy/jedibackend.py
@@ -224,6 +224,18 @@ def run_with_debug(jedi, name, *args, **kwargs):
# Bug jedi#482
if isinstance(e, UnicodeEncodeError):
return None
+ # Bug jedi... | Do not fail with invalid escape sequences.
Jedi can get confused with invalid escape sequences. Elpy will
now ignore those errors.
Fixes #<I>. | jorgenschaefer_elpy | train | py,py |
a3b6c5903a1ccfe5f38c966a3be28918e006be4c | diff --git a/src/Entity/UserEntityHydrator.php b/src/Entity/UserEntityHydrator.php
index <HASH>..<HASH> 100644
--- a/src/Entity/UserEntityHydrator.php
+++ b/src/Entity/UserEntityHydrator.php
@@ -28,4 +28,12 @@ class UserEntityHydrator extends ClassMethods
$this->addFilter('name', new MethodMatchFilter('getName... | ignore user entity password property on hydration | dotkernel_dot-user | train | php |
f22333a7c0bb550a9bc9463f26695c256cbfb10e | diff --git a/src/Illuminate/Bus/BusServiceProvider.php b/src/Illuminate/Bus/BusServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Bus/BusServiceProvider.php
+++ b/src/Illuminate/Bus/BusServiceProvider.php
@@ -47,7 +47,7 @@ class BusServiceProvider extends ServiceProvider implements DeferrableProvider
... | Remove trailing comma (#<I>) | laravel_framework | train | php |
37c24343509793ccafca90a7e312919a7d9783d5 | diff --git a/epab/linters/_lint.py b/epab/linters/_lint.py
index <HASH>..<HASH> 100644
--- a/epab/linters/_lint.py
+++ b/epab/linters/_lint.py
@@ -20,10 +20,10 @@ from ._sort import sort
def _lint(ctx: click.Context, amend: bool = False, stage: bool = False):
epab.utils.info('Running all linters')
ctx.invoke... | autopep8 should run before flake8 (#<I>) | etcher-be_epab | train | py |
508510cce29c2f449ccac0c4b51c49d809996629 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -25,8 +25,8 @@ function isGlobal(identifier) {
}
if(typeof window !== "undefined") {
return identifier in window
- } else if(typeof GLOBAL !== "undefined") {
- return identifier in GLOBAL
+ } else if(typeof glo... | Fix Node v6 incompatibility, DeprecationWarning: 'GLOBAL' is deprecated, use 'global' | scijs_cwise-parser | train | js |
912cda9a1e4a9527c20a08e59ffcc8adb7a9257c | diff --git a/model/MySQLDatabase.php b/model/MySQLDatabase.php
index <HASH>..<HASH> 100644
--- a/model/MySQLDatabase.php
+++ b/model/MySQLDatabase.php
@@ -67,7 +67,7 @@ class MySQLDatabase extends SS_Database {
} else {
$this->dbConn = new MySQLi($parameters['server'], $parameters['username'], $parameters['passw... | Close the mysqli connection when deleting the class. | silverstripe_silverstripe-framework | train | php |
bba7a26bb202ee3594de9eb010715c3efd476387 | diff --git a/src/CoreBundle/Controller/TaskRunnerController.php b/src/CoreBundle/Controller/TaskRunnerController.php
index <HASH>..<HASH> 100644
--- a/src/CoreBundle/Controller/TaskRunnerController.php
+++ b/src/CoreBundle/Controller/TaskRunnerController.php
@@ -72,7 +72,7 @@ class TaskRunnerController extends Abstract... | Do not return the output as array but as string | tenside_core | train | php |
308655af2494ff3c46a70326622d9d4e2cf3864f | diff --git a/pysat/tests/test_methods_general.py b/pysat/tests/test_methods_general.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_methods_general.py
+++ b/pysat/tests/test_methods_general.py
@@ -94,6 +94,7 @@ class TestRemoveLeadText():
# Check prepended text removed
assert len(self.testInst... | MAINT: added whitespace
Added whitespace for legibility. | rstoneback_pysat | train | py |
b64c8e0b0e7d0625a725e832a917f0d48b76542d | diff --git a/src/Bootstrap.php b/src/Bootstrap.php
index <HASH>..<HASH> 100644
--- a/src/Bootstrap.php
+++ b/src/Bootstrap.php
@@ -228,22 +228,6 @@ final class Bootstrap
// @todo (Pablo - 2018-11-16) - Move these to the log service
Functions::define('DEPLOY_LOG_DIR', self::$sBaseDirectory . 'applicat... | Removes email constants (moved to nails/module-email) | nails_common | train | php |
e94add7b2a1e1670507c57bd754e83606519612f | diff --git a/families/track_and_trade/client/src/services/transactions.js b/families/track_and_trade/client/src/services/transactions.js
index <HASH>..<HASH> 100644
--- a/families/track_and_trade/client/src/services/transactions.js
+++ b/families/track_and_trade/client/src/services/transactions.js
@@ -105,7 +105,7 @@ c... | Fix typo in T&T client transactions service
Typo broken private key decryption on modal password requests. | hyperledger_sawtooth-core | train | js |
9830a744f9f164490fceb78080721f2cf05c16a2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -112,8 +112,8 @@ function scan(render) {
return foundEls;
}
el.children.filter(identity).forEach(function(child) {
- // ignore text nodes
- if (typeof child !== 'string') {
+ // igno... | Don't set parent of number nodes either | MithrilJS_mithril-query | train | js |
1fa9bdae1c3a12d33b38e49daf94be43571c3ead | diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/imports.py
+++ b/pylint/checkers/imports.py
@@ -337,18 +337,14 @@ given file (report RP0402 must not be disabled)'}
# check imports are grouped by category (standard, 3rd party, local)
... | Simplify a bit the algorithm checking for ungrouped imports
related to issue #<I> | PyCQA_pylint | train | py |
b869bd78e43cc8ca0b325b6a842b3b338caf41c3 | diff --git a/dns-proxy.js b/dns-proxy.js
index <HASH>..<HASH> 100644
--- a/dns-proxy.js
+++ b/dns-proxy.js
@@ -52,7 +52,7 @@ server.on('message', function(message, rinfo) {
Object.keys(opts.hosts).forEach(function(h) {
if (domain == h) {
var answer = opts.hosts[h]
- if (opts.hosts[opts.hosts[h]] != ... | fixing #9, was missing typeof | ekristen_dns-proxy | train | js |
9d8ed2ff74a9ce83c0f5e2b5b82035630ea04d28 | diff --git a/csg.js b/csg.js
index <HASH>..<HASH> 100644
--- a/csg.js
+++ b/csg.js
@@ -2829,7 +2829,13 @@ for solid CAD anyway.
return v.transform(matrix4x4);
});
var newplane = this.plane.transform(matrix4x4);
- var scalefactor = matrix4x4.elements[0] * matrix4x4.e... | fix rounding errors leading to inappropriate mirroring on transformations | jscad_csg.js | train | js |
4c17264124c0b8e1fb2ec3a7403e7a86b8082606 | diff --git a/openid/server/server.py b/openid/server/server.py
index <HASH>..<HASH> 100644
--- a/openid/server/server.py
+++ b/openid/server/server.py
@@ -1504,12 +1504,14 @@ class Server(object):
associations I can make and how.
@type negotiator: L{openid.association.SessionNegotiator}
"""
-
- si... | Patch the openid.server.Server class to allow clients to provide signatory, encoder and decoder classes on instantiation. | openid_python-openid | train | py |
7ab5c5d1c88fbff328c16cff76c6f0e328fc3fab | diff --git a/lib/byebug/runner.rb b/lib/byebug/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/byebug/runner.rb
+++ b/lib/byebug/runner.rb
@@ -36,7 +36,12 @@ module Byebug
#
# Signals that we should exit after the debugged program is finished.
#
- attr_accessor :quit, :stop
+ attr_accessor :quit
+
... | Split runner accessors and add docs | deivid-rodriguez_byebug | train | rb |
2e85d518f02533dcdaf35af9a1915c7c8ca9c767 | diff --git a/src/java/org/apache/cassandra/hadoop/ColumnFamilyInputFormat.java b/src/java/org/apache/cassandra/hadoop/ColumnFamilyInputFormat.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/hadoop/ColumnFamilyInputFormat.java
+++ b/src/java/org/apache/cassandra/hadoop/ColumnFamilyInputFormat.java
@... | add Collections.shuffle(splits) so Hadoop doesn't send all the jobs to the same nodes at once. patch by Joost Ouwerkerk; reviewed by jbellis for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
c8eec829977131c8a8e64c7b847df64e4c82c157 | diff --git a/src/org/zaproxy/zap/utils/HttpUserAgent.java b/src/org/zaproxy/zap/utils/HttpUserAgent.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/utils/HttpUserAgent.java
+++ b/src/org/zaproxy/zap/utils/HttpUserAgent.java
@@ -77,7 +77,7 @@ public final class HttpUserAgent {
browserVersion = line.subs... | Added .toLowerCase() for checking the line from the file with the user agent | zaproxy_zaproxy | train | java |
f9757491927ad72ad386ed3d38e90809567582a8 | diff --git a/lib/rvc/extensions/VirtualMachine.rb b/lib/rvc/extensions/VirtualMachine.rb
index <HASH>..<HASH> 100644
--- a/lib/rvc/extensions/VirtualMachine.rb
+++ b/lib/rvc/extensions/VirtualMachine.rb
@@ -122,6 +122,10 @@ class RVC::SnapshotFolder
@ids = ids
end
+ def self.to_s
+ 'Snapshot'
+ end
+
... | make RVC::SnapshotFolder show up as Snapshot in help | vmware_rvc | train | rb |
86eb19570cff87bb6e692aba95e6a61382a98157 | diff --git a/hiddenlayer/tf_builder.py b/hiddenlayer/tf_builder.py
index <HASH>..<HASH> 100644
--- a/hiddenlayer/tf_builder.py
+++ b/hiddenlayer/tf_builder.py
@@ -21,7 +21,9 @@ FRAMEWORK_TRANSFORMS = [
ht.Prune("Variable"),
ht.PruneBranch("Assign"),
ht.PruneBranch("AssignSub"),
+ ht.PruneBranch("Assig... | Additional graph simplification rules for TF | waleedka_hiddenlayer | train | py |
fc78bfcaf430bc9e5afb3709654fac4a6e29d20e | diff --git a/aiopvapi/resources/scene.py b/aiopvapi/resources/scene.py
index <HASH>..<HASH> 100644
--- a/aiopvapi/resources/scene.py
+++ b/aiopvapi/resources/scene.py
@@ -15,7 +15,7 @@ class Scene(ApiResource):
raw_data)
@property
- def roomId(self):
+ def room_id(self):
... | property roomId renamed to room_id | sander76_aio-powerview-api | train | py |
c407ff28bd8b46bc5cee9adc631db4c914deb5e7 | diff --git a/src/graph-model.js b/src/graph-model.js
index <HASH>..<HASH> 100644
--- a/src/graph-model.js
+++ b/src/graph-model.js
@@ -34,5 +34,6 @@ export default class GraphModel {
}
Object.defineProperty(this, key, descriptor);
});
+ Object.defineProperty(this, 'attrs', { enumerable: false });
... | set 'attrs' to be non-enumerable | Shopify_graphql-js-client | train | js,js |
99c436c5321e7cc8bcdc545eadb6fbfa5732114b | diff --git a/pycbc/events/veto.py b/pycbc/events/veto.py
index <HASH>..<HASH> 100644
--- a/pycbc/events/veto.py
+++ b/pycbc/events/veto.py
@@ -119,6 +119,9 @@ def indices_within_times(times, start, end):
indices: numpy.ndarray
Array of indices into times
"""
+ # coalesce the start/end segments
+ ... | coalesce start/end times before doing indices_within_times function | gwastro_pycbc | train | py |
adf4bf3efaaabcda0e66f7e846518c8239c39563 | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index <HASH>..<HASH> 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -431,7 +431,8 @@ class LinePlot(MPLPlot):
else:
self.axes[0].legend(loc='best')
- condition = (df.index.is_all_dates
+ ... | BUG: don't autofmt_xdate if use special ts formatter | pandas-dev_pandas | train | py |
775dd28fbfb37d336ba0e8d08e770f666ff744d8 | diff --git a/lib/switch_user/data_source.rb b/lib/switch_user/data_source.rb
index <HASH>..<HASH> 100644
--- a/lib/switch_user/data_source.rb
+++ b/lib/switch_user/data_source.rb
@@ -36,7 +36,7 @@ module SwitchUser
end
class GuestDataSource
- def users
+ def all
[ GuestRecord.new ]
end
diff ... | GuestDataSource#users should be renamed to GuestDataSource#all #<I> | flyerhzm_switch_user | train | rb,rb |
31675f15913e633c3f00110f66d6cdc830c5f0c4 | diff --git a/lib/opentok/version.rb b/lib/opentok/version.rb
index <HASH>..<HASH> 100644
--- a/lib/opentok/version.rb
+++ b/lib/opentok/version.rb
@@ -1,4 +1,4 @@
module OpenTok
# @private
- VERSION = '2.2.4-alpha.1'
+ VERSION = '2.2.4.alpha.2'
end | bump to a version number that works, fixes #<I> | opentok_OpenTok-Ruby-SDK | train | rb |
a290433dea2f05c2484c4980694fd912e9ff399b | diff --git a/SoftLayer/transports.py b/SoftLayer/transports.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/transports.py
+++ b/SoftLayer/transports.py
@@ -16,7 +16,6 @@ except ImportError: # pragma nocover
import logging
import requests
import json
-import re
log = logging.getLogger(__name__) | Corrected PEP8 Errors | softlayer_softlayer-python | train | py |
af4af792290a072806e36a291177adf97f72cf6d | diff --git a/packages/swagger2openapi/oas-resolve.js b/packages/swagger2openapi/oas-resolve.js
index <HASH>..<HASH> 100755
--- a/packages/swagger2openapi/oas-resolve.js
+++ b/packages/swagger2openapi/oas-resolve.js
@@ -8,7 +8,7 @@ const util = require('util');
const yaml = require('js-yaml');
const fetch = require('n... | fix; oas-resolve had incorrect require stmt | Mermade_oas-kit | train | js |
96ea1639db3e335d11b3d1bec8e2dc273919b72c | diff --git a/src/toil/batchSystems/mesos/conftest.py b/src/toil/batchSystems/mesos/conftest.py
index <HASH>..<HASH> 100644
--- a/src/toil/batchSystems/mesos/conftest.py
+++ b/src/toil/batchSystems/mesos/conftest.py
@@ -11,6 +11,9 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the ... | Added explanatory URL to mesos/conftest.py | DataBiosphere_toil | train | py |
da396b1fd06a05d5ff5e922b53a95d74079fde4b | diff --git a/umicount/umicount.py b/umicount/umicount.py
index <HASH>..<HASH> 100644
--- a/umicount/umicount.py
+++ b/umicount/umicount.py
@@ -1,10 +1,8 @@
#!/usr/bin/env python
import sys
-import HTSeq
import itertools
import collections
-import pandas
import copy
import re
from re import findall
@@ -27,6 +25... | Removing some import overhead by importing external packages in the corresponding subfunction | vals_umis | train | py |
5bf697a3c2494da84946f2cf4b88a8bccbb432c8 | diff --git a/sdk/javascript/processor/index.js b/sdk/javascript/processor/index.js
index <HASH>..<HASH> 100644
--- a/sdk/javascript/processor/index.js
+++ b/sdk/javascript/processor/index.js
@@ -30,6 +30,7 @@ const {
const {
InternalError,
+ AuthorizationException,
InvalidTransaction,
ValidatorConnectionEr... | Fix two problems causing lint errors | hyperledger_sawtooth-core | train | js,js |
d8aec238219b23fb850b89c6ff17c6d1e3e3957a | diff --git a/lib/openscap/xccdf/testresult.rb b/lib/openscap/xccdf/testresult.rb
index <HASH>..<HASH> 100644
--- a/lib/openscap/xccdf/testresult.rb
+++ b/lib/openscap/xccdf/testresult.rb
@@ -99,7 +99,7 @@ module OpenSCAP
attach_function :xccdf_result_recalculate_scores, [:pointer, :pointer], :int
attach_function ... | Cop: Space found before comma and missing after. | OpenSCAP_ruby-openscap | train | rb |
02d1c8a34488dc659180085b3fb1989259a4fe9c | diff --git a/src/Charcoal/App/Script/CronScriptTrait.php b/src/Charcoal/App/Script/CronScriptTrait.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/App/Script/CronScriptTrait.php
+++ b/src/Charcoal/App/Script/CronScriptTrait.php
@@ -50,15 +50,15 @@ trait CronScriptTrait
$lockFile = sys_get_temp_dir().'/'.$lo... | Clarified Script Lock Exceptions | locomotivemtl_charcoal-app | train | php |
578840f56f3853733f441ecc2c00fddc60fcaf6a | diff --git a/src/Html.php b/src/Html.php
index <HASH>..<HASH> 100644
--- a/src/Html.php
+++ b/src/Html.php
@@ -14,17 +14,7 @@ class Html extends View
ob_start();
$return = require $this->template;
if ($return && is_array($return)) {
- foreach ($return as $key => $va... | overwrite; the recursive merge makes array out of stuff we might expect to be a simple string. template authors should check overrides | monolyth-php_improse | train | php |
aeac6356a89518379017e8ba97aa463acbfab096 | diff --git a/tasks/hub.js b/tasks/hub.js
index <HASH>..<HASH> 100644
--- a/tasks/hub.js
+++ b/tasks/hub.js
@@ -21,15 +21,6 @@ module.exports = function(grunt) {
});
var args = (this.args.length < 1) ? false : this.args;
- // Exit if no gruntfiles were found
- var hasGruntfiles = _(this.files).map(func... | Removed @shama patch for the same problem. Ref GH-<I>. | shama_grunt-hub | train | js |
09eebec76590f5900fee57cf7c6642abead30e8c | diff --git a/upup/pkg/fi/cloudup/bootstrapchannelbuilder.go b/upup/pkg/fi/cloudup/bootstrapchannelbuilder.go
index <HASH>..<HASH> 100644
--- a/upup/pkg/fi/cloudup/bootstrapchannelbuilder.go
+++ b/upup/pkg/fi/cloudup/bootstrapchannelbuilder.go
@@ -491,7 +491,7 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.Model... | Update upup/pkg/fi/cloudup/bootstrapchannelbuilder.go | kubernetes_kops | train | go |
545a498977d1ed62d26d19ebc9c24cff324ab710 | diff --git a/helpers/class.File.php b/helpers/class.File.php
index <HASH>..<HASH> 100644
--- a/helpers/class.File.php
+++ b/helpers/class.File.php
@@ -122,16 +122,23 @@ class helpers_File
return (bool) $returnValue;
}
+ /**
+ * Empty a directory without deleting it
+ *
+ * @param string ... | Added return value to indicate success of emptyDirectory | oat-sa_generis | train | php |
a9c0143ad14d1d6b9a4af2beca1fb6a3cd7b3c4c | diff --git a/textutils.py b/textutils.py
index <HASH>..<HASH> 100644
--- a/textutils.py
+++ b/textutils.py
@@ -78,7 +78,7 @@ def indent_text(text,
nb_tabs=0,
tab_str=" ",
linebreak_input="\n",
- linebreak_output="\n"):
+ linebreak_output=... | indent_text have a wrap parameter defaulted to False, so that by default it
behaves by only indenting, as expected. | inveniosoftware-attic_invenio-utils | train | py |
3674fb905657447a88e9ac4d74a262e1ac830cc5 | diff --git a/util/util_test.go b/util/util_test.go
index <HASH>..<HASH> 100644
--- a/util/util_test.go
+++ b/util/util_test.go
@@ -158,7 +158,7 @@ func TestBackoffTimeCheck(t *testing.T) {
// Repeat calls until frequency is increased to the max
freqs := make([]time.Duration, 0)
last := time.Now()
- timeout := tim... | Try to address recent Travis test failure
- Increased a timeout | nats-io_nats-streaming-server | train | go |
9f27cc612506039f1484523bd6a45b563824c749 | diff --git a/tests/unit/states/test_file.py b/tests/unit/states/test_file.py
index <HASH>..<HASH> 100644
--- a/tests/unit/states/test_file.py
+++ b/tests/unit/states/test_file.py
@@ -571,7 +571,7 @@ class TestFileState(TestCase, LoaderModuleMockMixin):
patch.dict(filestate.__salt__, {'file.user_to_uid'... | Removed a stray whitespace in one of the unit tests from unit.states.test_file. | saltstack_salt | train | py |
02d769fadc80ec4645924e4534342bb371aba694 | diff --git a/test/1_process_engine/parallel_gateway_test.js b/test/1_process_engine/parallel_gateway_test.js
index <HASH>..<HASH> 100644
--- a/test/1_process_engine/parallel_gateway_test.js
+++ b/test/1_process_engine/parallel_gateway_test.js
@@ -1,5 +1,3 @@
-'use strict';
-
const should = require('should');
const uu... | :fire: Remove Unneeded Code | process-engine_process_engine_runtime | train | js |
c37df79afbb91df52fc9fec6c07e0a8c9b8c5093 | diff --git a/globussh/__init__.py b/globussh/__init__.py
index <HASH>..<HASH> 100644
--- a/globussh/__init__.py
+++ b/globussh/__init__.py
@@ -1,3 +1,3 @@
from .core import *
-__version__ = '0.1.2'
+__version__ = '0.1.3'
diff --git a/globussh/core.py b/globussh/core.py
index <HASH>..<HASH> 100644
--- a/globussh/core... | Adding `ls` command. | maxhutch_globussh | train | py,py |
3446352fb4bea70fb43b89c738d2ceff1ba5e72e | diff --git a/spikeextractors/extractors/cedextractors/cedrecordingextractor.py b/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
+++ b/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
@... | Update spikeextractors/extractors/cedextractors/cedrecordingextractor.py | SpikeInterface_spikeextractors | train | py |
124a9473673254ec51b9c4a31117028b33acdf4a | diff --git a/test/lib/Elastica/IndexTest.php b/test/lib/Elastica/IndexTest.php
index <HASH>..<HASH> 100755
--- a/test/lib/Elastica/IndexTest.php
+++ b/test/lib/Elastica/IndexTest.php
@@ -295,4 +295,23 @@ class Elastica_IndexTest extends PHPUnit_Framework_TestCase
$response = $index->flush();
$this->assertFalse($r... | Added test to check to see that the return value from hasError is correct when deleting an unknown index | ruflin_Elastica | train | php |
e246a431caca800da898f445de2b510cf5ee9bfa | diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index <HASH>..<HASH> 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -78,7 +78,7 @@ const sidebar = [
],
},
{
- title: 'Tools',
+ title: 'Tools & Libraries',
collapsable: true,
children: [
{ | docs: rename Tools to Tools & Libraries | open-wc_open-wc | train | js |
3802bd7ed4af15915aefd9be7db775f4f4159a2f | diff --git a/src/reloading.js b/src/reloading.js
index <HASH>..<HASH> 100644
--- a/src/reloading.js
+++ b/src/reloading.js
@@ -92,12 +92,11 @@ function loader(mappings, entryPoints, options) {
}
function compileModule(source, sourcemap) {
- return eval(
- "function __livereactload_module(require, module... | Avoid scoping issues by creating module loader dynamically with Function constructor | milankinen_livereactload | train | js |
9528f643d1dd02896bc8326ae63b4220d55780e9 | diff --git a/lib/filelib.php b/lib/filelib.php
index <HASH>..<HASH> 100644
--- a/lib/filelib.php
+++ b/lib/filelib.php
@@ -2448,7 +2448,10 @@ function send_stored_file($stored_file, $lifetime=null, $filter=0, $forcedownloa
if ($forcedownload) {
header('Content-Disposition: attachment; filename="'.$filen... | MDL-<I> filelib: Prevent flash from treating files as uploads
added to send_stored_file as well. | moodle_moodle | train | php |
e6589d5351a4579d852162fece65875d9392c614 | diff --git a/lib/pdk/validate/puppet/puppet_syntax.rb b/lib/pdk/validate/puppet/puppet_syntax.rb
index <HASH>..<HASH> 100644
--- a/lib/pdk/validate/puppet/puppet_syntax.rb
+++ b/lib/pdk/validate/puppet/puppet_syntax.rb
@@ -1,4 +1,4 @@
-require 'pdk/validate/base_validator'
+require 'pdk'
module PDK
module Validat... | (maint) Ensure pdk/validate/puppet/puppet_syntax works standalone | puppetlabs_pdk | train | rb,rb |
8ccd79424979c41dfff4a58fbec8eee30b9c3f2f | diff --git a/exchangerates/bitcoinprices.go b/exchangerates/bitcoinprices.go
index <HASH>..<HASH> 100644
--- a/exchangerates/bitcoinprices.go
+++ b/exchangerates/bitcoinprices.go
@@ -97,7 +97,11 @@ func (b *BitcoinPriceFetcher) GetAllRates(cacheOK bool) (map[string]float64, err
}
b.Lock()
defer b.Unlock()
- retur... | Return copy of exchangerate cache in GetAllRates | OpenBazaar_spvwallet | train | go |
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.