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 |
|---|---|---|---|---|---|
a2ce5c7a19a17405ce73f65f9a843ad37d8f3040 | diff --git a/lib/business/calendar.rb b/lib/business/calendar.rb
index <HASH>..<HASH> 100644
--- a/lib/business/calendar.rb
+++ b/lib/business/calendar.rb
@@ -170,6 +170,9 @@ module Business
raise "Invalid day #{day}" unless DAY_NAMES.include?(normalised_day)
end
end
+ extra_working_date... | raise if working date is on workday | gocardless_business | train | rb,rb |
7b361c4a64a587775c30183b74c08cb970abba8f | diff --git a/provider/local/environ.go b/provider/local/environ.go
index <HASH>..<HASH> 100644
--- a/provider/local/environ.go
+++ b/provider/local/environ.go
@@ -406,7 +406,7 @@ func (env *localEnviron) Destroy() error {
return err
}
args := []string{
- osenv.JujuHomeEnvKey + "=" + osenv.JujuHome(),
+ "e... | provider/local: use "env" to propagate JUJU_HOME
Sudo may not allow environment variables to be
set directly, so we must use "env" to set JUJU_HOME
when re-executing juju as root.
Fixes lp:<I> | juju_juju | train | go,go |
7b192e0b8cff72343ee314c7635b93ac42bbbd28 | diff --git a/CHANGES b/CHANGES
index <HASH>..<HASH> 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,7 @@
0.4.0 (2016-06-08)
------------------
-- Add support for geocoder bounding box filter (#70)
+- Add support for geocoder bounding box filter (#73)
+- mapbox upload arguments in INPUT OUTPUT order, takes input on stdi... | <I> release, resolves #<I> | mapbox_mapbox-cli-py | train | CHANGES,py,py |
4e181b1952ab197bf7743e92750e6146a218852b | diff --git a/worldengine/cli/main.py b/worldengine/cli/main.py
index <HASH>..<HASH> 100644
--- a/worldengine/cli/main.py
+++ b/worldengine/cli/main.py
@@ -68,7 +68,7 @@ def generate_world(world_name, width, height, seed, num_plates, output_dir,
def generate_grayscale_heightmap(world, filename):
- draw_grayscale... | Now output directory will be created if needed. Fixed wrong call for generate heightmap.
Former-commit-id: <I>e<I>bf<I>eea4c9b7cc<I>e6b9d<I>da<I>ab | Mindwerks_worldengine | train | py |
4ea1fa18a43a5179f93702328353101ac01b83ef | diff --git a/lib/doorkeeper/version.rb b/lib/doorkeeper/version.rb
index <HASH>..<HASH> 100644
--- a/lib/doorkeeper/version.rb
+++ b/lib/doorkeeper/version.rb
@@ -6,8 +6,8 @@ module Doorkeeper
module VERSION
# Semantic versioning
MAJOR = 4
- MINOR = 2
- TINY = 6
+ MINOR = 3
+ TINY = 0
# ... | [ci skip] Bump Doorkeeper version | doorkeeper-gem_doorkeeper | train | rb |
b1a9c6ef90405f9972d756881feb5077124382a9 | diff --git a/lib/crash_log/configuration.rb b/lib/crash_log/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/crash_log/configuration.rb
+++ b/lib/crash_log/configuration.rb
@@ -52,6 +52,15 @@ module CrashLog
# Project Root directory
attr_accessor :project_root
+ # If set, this will serialize the ob... | Added user_context_key to config | crashlog_crashlog | train | rb |
6a5905f80508a1412770538fb113114f10e8c320 | diff --git a/src/sap.ui.core/src/sap/ui/core/support/plugins/TechInfo.js b/src/sap.ui.core/src/sap/ui/core/support/plugins/TechInfo.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/core/support/plugins/TechInfo.js
+++ b/src/sap.ui.core/src/sap/ui/core/support/plugins/TechInfo.js
@@ -174,10 +174,11 @@ sap... | [INTERNAL] TechInfo: Fix direct access of event param in async callback
oEvent was already reset at the time of access (because access happend
asynchronously). This lead to an error "Cannot read property 'level' of
null".
BCP: <I> <I> <I>
Change-Id: I<I>e5b0a<I>c6f<I>ff0ce6bdd2bc | SAP_openui5 | train | js |
b880d9704fd502d20f2daf8aba44acbc4fe6c779 | diff --git a/Swat/SwatRadioButtonCellRenderer.php b/Swat/SwatRadioButtonCellRenderer.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatRadioButtonCellRenderer.php
+++ b/Swat/SwatRadioButtonCellRenderer.php
@@ -158,7 +158,10 @@ class SwatRadioButtonCellRenderer extends SwatCellRenderer
$radio_button_tag->checked = 'ch... | Wrap checkboxes and radio buttons in an element so they may be given custom styles.
svn commit r<I> | silverorange_swat | train | php |
6ed8c99fdf5a772de74b359e5107624fefb61a7e | diff --git a/lib/telegram/events.rb b/lib/telegram/events.rb
index <HASH>..<HASH> 100644
--- a/lib/telegram/events.rb
+++ b/lib/telegram/events.rb
@@ -4,7 +4,6 @@ module Telegram
SERVICE = 0
MESSAGE = 1
ONLINE_STATUS = 2
-
end
module ActionType
@@ -39,8 +38,11 @@ module Telegram
@raw_data ... | Fix: a routine that makes time object | ssut_telegram-rb | train | rb |
e66365a71c587708758f8937c87807605dbc5eb6 | diff --git a/tests/getModulesByName-native.js b/tests/getModulesByName-native.js
index <HASH>..<HASH> 100644
--- a/tests/getModulesByName-native.js
+++ b/tests/getModulesByName-native.js
@@ -27,7 +27,6 @@ var nativeModuleNames = [
'querystring',
'readline',
'repl',
- 'smalloc',
'stream',
'string_decoder',
'... | Looks like Node <I> doesn't know about the native smalloc module. Adjusting test. | fluidsonic_poison | train | js |
8b13f860454485f0b2d73559df00a357c38d4d00 | diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -759,12 +759,17 @@ class BaseStarmap(object):
self.imap = self.pool.imap_unordered(
functools.partial(safely_call, func)... | Added a method BaseStarmap.submit_all | gem_oq-engine | train | py |
a27be2fab61b1cfde4d2ecbc729a4a68816fca76 | diff --git a/lib/Doctrine/ORM/Tools/SchemaTool.php b/lib/Doctrine/ORM/Tools/SchemaTool.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Tools/SchemaTool.php
+++ b/lib/Doctrine/ORM/Tools/SchemaTool.php
@@ -390,6 +390,12 @@ class SchemaTool
unset($mapping['options']['comment']);
}
+ ... | added unsigned mapping to SchemaTool options | doctrine_orm | train | php |
2c4a22de24ccf441351286598b1727ef16708295 | diff --git a/lib/modules/apostrophe-tasks/index.js b/lib/modules/apostrophe-tasks/index.js
index <HASH>..<HASH> 100644
--- a/lib/modules/apostrophe-tasks/index.js
+++ b/lib/modules/apostrophe-tasks/index.js
@@ -85,8 +85,8 @@ module.exports = {
const argv = {
_: args
};
- self.apos.ar... | now the mechanism to temporarily point apos.argv at the arguments for a nested task really works | apostrophecms_apostrophe | train | js |
1baaee6b5a909ae637c8683bfe6955e93bcf9a28 | diff --git a/spec/integrations/shared_examples.rb b/spec/integrations/shared_examples.rb
index <HASH>..<HASH> 100644
--- a/spec/integrations/shared_examples.rb
+++ b/spec/integrations/shared_examples.rb
@@ -50,7 +50,7 @@ shared_examples_for 'Firehose::Rack::App' do
# Lets have an HTTP Long poll client
http_... | fix tests for 'use query string instead of headers because android can't use headers' | firehoseio_firehose | train | rb |
8be8543c211a7a45ad679776cac7d93dde2bd446 | diff --git a/lib/seory/dsl.rb b/lib/seory/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/seory/dsl.rb
+++ b/lib/seory/dsl.rb
@@ -4,12 +4,18 @@ require 'seory/repository'
module Seory
module Dsl
def describe(&block)
- @repository = Repository.new
- Descriptor.new(@repository).describe(&block)
+ Des... | Extract Repository instanciation to private method | esminc_seory | train | rb |
a4a31a08c3c0a750bc526b9f644156bc54b3020d | diff --git a/two_factor/views/utils.py b/two_factor/views/utils.py
index <HASH>..<HASH> 100644
--- a/two_factor/views/utils.py
+++ b/two_factor/views/utils.py
@@ -111,8 +111,8 @@ class IdempotentSessionWizardView(SessionWizardView):
raise SuspiciousOperation(_('ManagementForm data is missing or has been ta... | Binary operators should not be at the end of a line | Bouke_django-two-factor-auth | train | py |
1c00ef5b8e967c979dbe8fdc8933d6feb97dc528 | diff --git a/odl/discr/tensor_ops.py b/odl/discr/tensor_ops.py
index <HASH>..<HASH> 100644
--- a/odl/discr/tensor_ops.py
+++ b/odl/discr/tensor_ops.py
@@ -147,11 +147,10 @@ class PointwiseNorm(PointwiseTensorFieldOperator):
0 and 1 are currently not supported due to numerical
instability.
... | MAINT: minor style fix to PointwiseNorm | odlgroup_odl | train | py |
1ba04629a54d07f17dd05fca1e30c809a7f6396b | diff --git a/specter/reporting/console.py b/specter/reporting/console.py
index <HASH>..<HASH> 100644
--- a/specter/reporting/console.py
+++ b/specter/reporting/console.py
@@ -20,6 +20,7 @@ class ConsoleReporter(AbstractConsoleReporter, AbstractSerialReporter):
self.failed_tests = 0
self.incomplete_tes... | Turning off showing expects by default | jmvrbanac_Specter | train | py |
cc1905dd9598d894818354ae9e15349f489f645a | diff --git a/lib/double_entry.rb b/lib/double_entry.rb
index <HASH>..<HASH> 100644
--- a/lib/double_entry.rb
+++ b/lib/double_entry.rb
@@ -49,10 +49,6 @@ module DoubleEntry
class UserAccountNotLocked < RuntimeError; end
class AccountWouldBeSentNegative < RuntimeError; end
- def self.table_name_prefix
- 'dou... | Put table_name_prefix in the right spot | envato_double_entry | train | rb |
14ff1f83308020c9bf55639f69a9b302d04a5646 | diff --git a/agents/lib/instance.rb b/agents/lib/instance.rb
index <HASH>..<HASH> 100644
--- a/agents/lib/instance.rb
+++ b/agents/lib/instance.rb
@@ -30,7 +30,7 @@ require File.join(File.dirname(__FILE__), 'instance', 'duplicable')
require File.join(File.dirname(__FILE__), 'instance', 'executable_sequence_proxy')
re... | Refs# <I> - normalize instance_state require path to prevent override of monkey patch when under test | rightscale_right_link | train | rb |
7dee737ee6fb36a9357911745d1081d72a7d6bfb | diff --git a/lib/fluent/winsvc.rb b/lib/fluent/winsvc.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/winsvc.rb
+++ b/lib/fluent/winsvc.rb
@@ -61,7 +61,6 @@ begin
end
def service_main
-
@pid = service_main_start(@service_name)
while running?
sleep 10
@@ -69,13 +68,23 @@ begin
... | Add grace-reload trigger for windows service
You can trigger it by the following command:
sc control fluentdwinsvc paramchange | fluent_fluentd | train | rb |
bd50d8330c464f56d9bcb6089e231e287693a4b8 | diff --git a/chef/lib/chef/provider/execute.rb b/chef/lib/chef/provider/execute.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/provider/execute.rb
+++ b/chef/lib/chef/provider/execute.rb
@@ -54,7 +54,7 @@ class Chef
if STDOUT.tty? && !Chef::Config[:daemon] && Chef::Log.info?
opts[:live_stream] =... | made execute provider why-run more descriptive | chef_chef | train | rb |
8b471108a10c3cc93a2f8e09fa2a70b7b43530a1 | diff --git a/core/src/main/java/com/graphhopper/GraphHopper.java b/core/src/main/java/com/graphhopper/GraphHopper.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/graphhopper/GraphHopper.java
+++ b/core/src/main/java/com/graphhopper/GraphHopper.java
@@ -467,7 +467,6 @@ public class GraphHopper {
... | Move date range parser initialization into buildEncodingManager | graphhopper_graphhopper | train | java |
e2719a787aeecc03861ac23bd3b6c5218abea553 | diff --git a/src/Authorizer/SamlAuthorizer.php b/src/Authorizer/SamlAuthorizer.php
index <HASH>..<HASH> 100644
--- a/src/Authorizer/SamlAuthorizer.php
+++ b/src/Authorizer/SamlAuthorizer.php
@@ -10,6 +10,7 @@ namespace ActiveCollab\Authentication\Authorizer;
use ActiveCollab\Authentication\AuthenticatedUser\Reposito... | Refactor for parse saml response | activecollab_authentication | train | php |
0fa54ed69bd976be233640390487a60a7810178e | diff --git a/lib/geos/extensions/version.rb b/lib/geos/extensions/version.rb
index <HASH>..<HASH> 100644
--- a/lib/geos/extensions/version.rb
+++ b/lib/geos/extensions/version.rb
@@ -1,7 +1,7 @@
module Geos
module Extensions
- VERSION = "0.3.0"
+ VERSION = "0.3.1.dev"
end
end | Bump to version <I>.dev. | dark-panda_geos-extensions | train | rb |
a9612a45e8d1c7d122674f054d2ecc5573c4f033 | diff --git a/core-bundle/src/Resources/contao/dca/tl_content.php b/core-bundle/src/Resources/contao/dca/tl_content.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/dca/tl_content.php
+++ b/core-bundle/src/Resources/contao/dca/tl_content.php
@@ -266,7 +266,7 @@ $GLOBALS['TL_DCA']['tl_content'] = ar... | [Core] Fix switching between the page and file picker in the URL wizard (see #<I>). | contao_contao | train | php |
b2ce535a59c9aed8f1f2097414350bd7ca0d2e17 | diff --git a/core/src/test/java/com/google/errorprone/bugpatterns/MethodCanBeStaticTest.java b/core/src/test/java/com/google/errorprone/bugpatterns/MethodCanBeStaticTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/google/errorprone/bugpatterns/MethodCanBeStaticTest.java
+++ b/core/src/test/java/com/go... | Add a test for MethodCanBeStatic
to demonstrate that it understands accesses of type variables.
MOE_MIGRATED_REVID=<I> | google_error-prone | train | java |
13cc4e0c903fdd80dbb9b895c6c7f67f7aff38f2 | diff --git a/benchexec/tools/nitwit.py b/benchexec/tools/nitwit.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/nitwit.py
+++ b/benchexec/tools/nitwit.py
@@ -58,16 +58,16 @@ class Tool(benchexec.tools.template.BaseTool2):
about result codes.
@return: status of validator after executing a run
... | Resolve issues with parsing/looking for "out of memory" output. | sosy-lab_benchexec | train | py |
e776562b16d7d37b44d25e30a33e9f3ff3e6c2e3 | diff --git a/lib/disney/disneyFacilityChannel.js b/lib/disney/disneyFacilityChannel.js
index <HASH>..<HASH> 100644
--- a/lib/disney/disneyFacilityChannel.js
+++ b/lib/disney/disneyFacilityChannel.js
@@ -96,7 +96,7 @@ class FacilityChannel {
return Cache.DB().then((db) => {
return new Promi... | [~] Remove superfluous trim in SQL query for fetching facility docs | cubehouse_themeparks | train | js |
a6aaf831f3ee61e9d52d5b2e3e3ed57964537cad | diff --git a/best/plot.py b/best/plot.py
index <HASH>..<HASH> 100644
--- a/best/plot.py
+++ b/best/plot.py
@@ -19,7 +19,7 @@ from pymc.distributions import noncentral_t_like
pretty_blue = '#89d1ea'
def plot_posterior( sample_vec, bins=None, ax=None, title=None, stat='mode',
- label='', draw_z... | bugfix: set bins only if not None | strawlab_best | train | py |
b129540db811bdc66a06cd251e06e88a4680adfc | diff --git a/libs/search.js b/libs/search.js
index <HASH>..<HASH> 100644
--- a/libs/search.js
+++ b/libs/search.js
@@ -22,7 +22,7 @@ var intersectsToObj = function (intersects) {
};
// Search class
-function Search(event, customClient) {
+function Search(event, esClient) {
var params;
logger.debug('received... | fix esclient in search class | sat-utils_sat-api-lib | train | js |
e7f4768668ecec238f45ef881c4db8b5e77bbb74 | diff --git a/src/Composer/Command/InitCommand.php b/src/Composer/Command/InitCommand.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Command/InitCommand.php
+++ b/src/Composer/Command/InitCommand.php
@@ -120,7 +120,7 @@ EOT
$file->write($options);
- if ($input->isInteractive()) {
+ if ($in... | Only ask for gitignore if the current dir is a git repo, fixes composer/satis#<I> | mothership-ec_composer | train | php |
876b427fbe8d802041eb12b43cc709842bec43aa | diff --git a/respite/middleware.py b/respite/middleware.py
index <HASH>..<HASH> 100644
--- a/respite/middleware.py
+++ b/respite/middleware.py
@@ -23,6 +23,7 @@ class HttpMethodOverrideMiddleware:
if '_method' in request.POST:
request._raw_post_data = re.sub(r'_method=(PUT|PATCH|DELETE)&?', '', ... | Transfer csrfmiddlewaretoken into HTTP_X_CSRFTOKEN
Prevent csrf exceptions on POST forms | jgorset_django-respite | train | py |
53fffc4f7ab2d2c8b2d74d91a7a37ccea1670c63 | diff --git a/lib/luck/display.rb b/lib/luck/display.rb
index <HASH>..<HASH> 100644
--- a/lib/luck/display.rb
+++ b/lib/luck/display.rb
@@ -31,7 +31,6 @@ class Display
def initialize &blck
@panes = {}
@dirty = true
- prepare_modes
size = terminal_size
@width = size[1]
@@ -151,6 +150,21 @@... | Added Display#run to make Luck applications cleaner | danopia_luck | train | rb |
28895292011474f90036ff52f85cf7779c9b5bcc | diff --git a/compiler/js/component.py b/compiler/js/component.py
index <HASH>..<HASH> 100644
--- a/compiler/js/component.py
+++ b/compiler/js/component.py
@@ -282,8 +282,8 @@ class component_generator(object):
if isinstance(value, component_generator):
var = "%s_%s" %(parent, escape(target))
- prologue.ap... | removed delegate var from prologue | pureqml_qmlcore | train | py |
02ccda8130549cca520d5083fd4258c18eebda26 | diff --git a/system/modules/DocumentManagementSystem/config/initialize.php b/system/modules/DocumentManagementSystem/config/initialize.php
index <HASH>..<HASH> 100644
--- a/system/modules/DocumentManagementSystem/config/initialize.php
+++ b/system/modules/DocumentManagementSystem/config/initialize.php
@@ -85,7 +85,7 @@... | Adjust the code to be compatible with PHP7 (belongs to #<I>) | ContaoDMS_dms | train | php |
afe964b96f9a8c46480327c0cb87e8a58245486d | diff --git a/pandas/stats/tests/test_ols.py b/pandas/stats/tests/test_ols.py
index <HASH>..<HASH> 100644
--- a/pandas/stats/tests/test_ols.py
+++ b/pandas/stats/tests/test_ols.py
@@ -53,10 +53,12 @@ class TestOLS(BaseTest):
self.checkDataSet(datasets.cpunish.load(), skip_moving=True)
self.checkDataSet... | TST: excluding degenerate test case in OLS, address GH #<I> | pandas-dev_pandas | train | py |
5a18c2575ca7427e9243d922cfed16e82d1d9861 | diff --git a/tracext/github.py b/tracext/github.py
index <HASH>..<HASH> 100644
--- a/tracext/github.py
+++ b/tracext/github.py
@@ -90,7 +90,7 @@ class GitHubLoginModule(LoginModule):
redirect_uri = req.abs_href.github('oauth')
# Inner import to avoid a hard dependency on requests-oauthlib.
fr... | Avoid triggering oauthlib's scope change warning.
Without this change and with a recent version of oauthlib, login would
fail with this error:
Warning: Scope has changed from "" to "".
Fix #<I>. Thanks @rjollos for the report. | trac-hacks_trac-github | train | py |
34017e16f821dcd85d3264b135e2819a41c3e55d | diff --git a/core/src/main/java/org/bitcoinj/testing/TestWithPeerGroup.java b/core/src/main/java/org/bitcoinj/testing/TestWithPeerGroup.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/testing/TestWithPeerGroup.java
+++ b/core/src/main/java/org/bitcoinj/testing/TestWithPeerGroup.java
@@ -34,7 +34,... | TestWithPeerGroup: don't stopAsync if the peergroup isn't running and update the class description. | bitcoinj_bitcoinj | train | java |
cf5d72be3b6044f6f2f49050c4f8514a62ca4302 | diff --git a/src/models/Link.php b/src/models/Link.php
index <HASH>..<HASH> 100644
--- a/src/models/Link.php
+++ b/src/models/Link.php
@@ -4,10 +4,10 @@ namespace typedlinkfield\models;
use craft\base\Element;
use craft\base\ElementInterface;
+use craft\base\Model;
use craft\helpers\Html;
use craft\helpers\Templa... | Let the link class extend the default craft model class | sebastian-lenz_craft-linkfield | train | php |
adfa87936df97efa68f814ebd1bda953973ea565 | diff --git a/lxd/device/device.go b/lxd/device/device.go
index <HASH>..<HASH> 100644
--- a/lxd/device/device.go
+++ b/lxd/device/device.go
@@ -17,6 +17,7 @@ var devTypes = map[string]func(config.Device) device{
"unix-char": func(c config.Device) device { return &unixCommon{} },
"unix-block": func(c config.Device) ... | device/device: Links up none device type | lxc_lxd | train | go |
6a99d9537763fe18fc7e58cf6021f49ba3524fe8 | diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py
index <HASH>..<HASH> 100644
--- a/salt/utils/parsers.py
+++ b/salt/utils/parsers.py
@@ -99,7 +99,7 @@ class OptionParser(optparse.OptionParser):
optparse.OptionParser.__init__(self, *args, **kwargs)
- if '%prog' in self.epilog:
+ if s... | Allow settings the parser's epilog to `None`. | saltstack_salt | train | py |
a9bf743806be971c84bb5b08c7df4e13b6d74d89 | diff --git a/test/test_crispy.rb b/test/test_crispy.rb
index <HASH>..<HASH> 100644
--- a/test/test_crispy.rb
+++ b/test/test_crispy.rb
@@ -252,8 +252,18 @@ class TestCrispy < MiniTest::Test
CrispyWorld.reset
end
+ module CommonClassSpyTests
+ def test_spy_changes_stubbed_method
+ @object_in... | add test for stubbing a class's method | igrep_crispy | train | rb |
3753317d82e901e440ae8850641415c734c282f2 | diff --git a/packages/@vue/cli-test-utils/createTestProject.js b/packages/@vue/cli-test-utils/createTestProject.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/cli-test-utils/createTestProject.js
+++ b/packages/@vue/cli-test-utils/createTestProject.js
@@ -3,6 +3,8 @@ const path = require('path')
const execa = requi... | test: allow generateWithPlugin & createTestProject to be invoked in the same file | vuejs_vue-cli | train | js |
6e0c71ac02b2f7c4788cca0d238380ab55231af7 | diff --git a/packages/@glimmer/blueprint/files/ember-cli-build.js b/packages/@glimmer/blueprint/files/ember-cli-build.js
index <HASH>..<HASH> 100644
--- a/packages/@glimmer/blueprint/files/ember-cli-build.js
+++ b/packages/@glimmer/blueprint/files/ember-cli-build.js
@@ -7,18 +7,5 @@ module.exports = function(defaults) ... | Update ember-cli-build.js | glimmerjs_glimmer.js | train | js |
a01b7ae6577fcca9e0b751c14cbb4a9f9a67d035 | diff --git a/lib/lib.go b/lib/lib.go
index <HASH>..<HASH> 100644
--- a/lib/lib.go
+++ b/lib/lib.go
@@ -13,7 +13,7 @@ var progname = filepath.Base(os.Args[0])
// ProgName returns what lib thinks the program name is, namely the
// basename of of argv0.
//
-// It is similar to the Linux __progname.
+// It is similar to... | Deprecate CheckFatal in favour of assert package. | kisom_goutils | train | go |
256056ee6e4ce4ba0fe33d1a0e17db963a803bca | diff --git a/merb-parts/lib/merb-parts/part_controller.rb b/merb-parts/lib/merb-parts/part_controller.rb
index <HASH>..<HASH> 100644
--- a/merb-parts/lib/merb-parts/part_controller.rb
+++ b/merb-parts/lib/merb-parts/part_controller.rb
@@ -41,5 +41,10 @@ module Merb
super(action)
@body
end
+
+... | [merb-parts] Adds method missing so that controller methods are available in parts | wycats_merb | train | rb |
2186535848630a0d9777e6afaf6ca4a63488739d | diff --git a/src/Symfony/Component/DependencyInjection/Container.php b/src/Symfony/Component/DependencyInjection/Container.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/DependencyInjection/Container.php
+++ b/src/Symfony/Component/DependencyInjection/Container.php
@@ -195,8 +195,6 @@ class Container imple... | [DependencyInjection] Removed useless code | symfony_symfony | train | php |
a81adf76faceba608b98bce91d580d8067560daa | diff --git a/channelpack/readtxt.py b/channelpack/readtxt.py
index <HASH>..<HASH> 100644
--- a/channelpack/readtxt.py
+++ b/channelpack/readtxt.py
@@ -411,11 +411,13 @@ def textpack(fname, chnames=None, delimiter=None, skiprows=0, usecols=None,
return columndata
+ filename = ''
if type(fname) is st... | Attempt to add filename to the pack
The conditional empty dict is not useful since None is now accepted as
argument to the pack. | tomnor_channelpack | train | py |
1cc940aa9192761eb27e95b49fb3a25180840d76 | diff --git a/scsocket.js b/scsocket.js
index <HASH>..<HASH> 100644
--- a/scsocket.js
+++ b/scsocket.js
@@ -160,6 +160,12 @@ var SCSocket = function (options) {
'fail': 1
};
+ this._persistentEvents = {
+ 'subscribe': 1,
+ 'unsubscribe': 1,
+ 'ready': 1
+ };
+
this._connectAttempts = 0;
... | Persistent events should never timeout | SocketCluster_socketcluster-client | train | js |
e6a3779e040da3075b82e4184925dfb44f9467da | diff --git a/duradmin/src/main/webapp/js/spaces-manager.js b/duradmin/src/main/webapp/js/spaces-manager.js
index <HASH>..<HASH> 100644
--- a/duradmin/src/main/webapp/js/spaces-manager.js
+++ b/duradmin/src/main/webapp/js/spaces-manager.js
@@ -134,7 +134,7 @@ $(function(){
//used in conjunctions with the jquery.valida... | This update resolves <URL> | duracloud_duracloud | train | js |
2d5bbaf4c8599ea2f6700c4ab99b46fe69ea4140 | diff --git a/csirtg_indicator/format/zzeek.py b/csirtg_indicator/format/zzeek.py
index <HASH>..<HASH> 100644
--- a/csirtg_indicator/format/zzeek.py
+++ b/csirtg_indicator/format/zzeek.py
@@ -57,7 +57,7 @@ def _i_to_zeek(i, cols):
y = str(y)
if isinstance(y, str):
- y = y.replace('\n',... | Replace tabs and newlines (#<I>)
Other whitespace characters like CRs and tabs in fields can misalign formatting. Replace any of those instances in a single field with spaces. | csirtgadgets_csirtg-indicator-py | train | py |
4e778f627f96c6b66e4bdeb598177e39dddb7d82 | diff --git a/ontrack-extension-svn/src/main/java/net/nemerosa/ontrack/extension/svn/SVNConfiguration.java b/ontrack-extension-svn/src/main/java/net/nemerosa/ontrack/extension/svn/SVNConfiguration.java
index <HASH>..<HASH> 100644
--- a/ontrack-extension-svn/src/main/java/net/nemerosa/ontrack/extension/svn/SVNConfigurati... | SVN: configuration: cannot use URL field because the svn: protocol must be supported | nemerosa_ontrack | train | java |
5ad08445145dccfedd6c21f0c72f964afdefa04a | diff --git a/src/editor/InlineTextEditor.js b/src/editor/InlineTextEditor.js
index <HASH>..<HASH> 100644
--- a/src/editor/InlineTextEditor.js
+++ b/src/editor/InlineTextEditor.js
@@ -197,14 +197,13 @@ define(function (require, exports, module) {
var $lineNumber = $("<span>" + (startLine + 1) + "</spa... | Updated variable name, removed extra space, fixed space/tab issue. Again, thanks to Peter for the help. | adobe_brackets | train | js |
db77d52b2928162efcb5bf2e56738bb3888623f8 | diff --git a/src/AlgoliaSearch/Client.php b/src/AlgoliaSearch/Client.php
index <HASH>..<HASH> 100644
--- a/src/AlgoliaSearch/Client.php
+++ b/src/AlgoliaSearch/Client.php
@@ -712,7 +712,6 @@ class Client
*/
public static function generateSecuredApiKey($privateApiKey, $query, $userToken = null)
{
- ... | Remove unused variable 'urlEncodedQuery'.
The value of the variable is overwritten immediately. | algolia_algoliasearch-client-php | train | php |
17bb81baa2936c82297dbdb02882b1b983356261 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -49,7 +49,7 @@ module.exports = function (grunt) {
unit:
{
configFile: 'karma.conf.js',
- browsers: ['PhantomJS'],
+ browsers: ['Chrome']... | Configure grunt to use Chrome as test browser | VividCortex_angular-recaptcha | train | js |
a64963fbedbd2591c4329c951cf501e329bf6336 | diff --git a/src/Illuminate/Foundation/Console/ModelMakeCommand.php b/src/Illuminate/Foundation/Console/ModelMakeCommand.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Console/ModelMakeCommand.php
+++ b/src/Illuminate/Foundation/Console/ModelMakeCommand.php
@@ -133,19 +133,15 @@ class ModelMakeCommand ... | Fix conflicts on ModelMakeCommand (#<I>)
I've renamed the shortcut for the factory, otherwise it would throw an error saying that 2 shortcuts with the same name exist. | laravel_framework | train | php |
de551925131294b911bf1e56ff4757cde2f2391c | diff --git a/lib/activedirectory.js b/lib/activedirectory.js
index <HASH>..<HASH> 100755
--- a/lib/activedirectory.js
+++ b/lib/activedirectory.js
@@ -93,7 +93,7 @@ var ActiveDirectory = function(url, baseDN, username, password, defaults) {
defaultAttributes = _.extend({}, defaultAttributes, this.opts.attribut... | Use === instead of == for comparision. | gheeres_node-activedirectory | train | js |
aee610135bb3dad2f45bbc0fa6e94e623f5a6789 | diff --git a/Adapter/ShopwareAdapter/ServiceBus/CommandHandler/Category/HandleCategoryCommandHandler.php b/Adapter/ShopwareAdapter/ServiceBus/CommandHandler/Category/HandleCategoryCommandHandler.php
index <HASH>..<HASH> 100644
--- a/Adapter/ShopwareAdapter/ServiceBus/CommandHandler/Category/HandleCategoryCommandHandler... | strict mode (#<I>) | plentymarkets_plentymarkets-shopware-connector | train | php |
114cb1dc89da5452ea536398a14414a21444de37 | diff --git a/plexapi/playlist.py b/plexapi/playlist.py
index <HASH>..<HASH> 100644
--- a/plexapi/playlist.py
+++ b/plexapi/playlist.py
@@ -62,7 +62,7 @@ class Playlist(PlexPartialObject, Playable):
raise BadRequest('Can not mix media types when building a playlist: %s and %s' % (self.playlistType, item... | fixup after ratingkey was changed to int. | pkkid_python-plexapi | train | py |
6bb384ba10f664f1e2b86e4d45ece85d280bfaa6 | diff --git a/pyethereum/indexdb.py b/pyethereum/indexdb.py
index <HASH>..<HASH> 100644
--- a/pyethereum/indexdb.py
+++ b/pyethereum/indexdb.py
@@ -20,6 +20,7 @@ class Index(object):
def add(self, key, valnum, value):
assert isinstance(value, str)
self.db.put(self._key(key, valnum), value)
+ ... | use own db and always commit | ethereum_pyethereum | train | py |
272b90223558c5370c9bc2ea725fc1889367aa99 | diff --git a/src/toil/provisioners/aws/awsProvisioner.py b/src/toil/provisioners/aws/awsProvisioner.py
index <HASH>..<HASH> 100644
--- a/src/toil/provisioners/aws/awsProvisioner.py
+++ b/src/toil/provisioners/aws/awsProvisioner.py
@@ -179,9 +179,14 @@ class AWSProvisioner(AbstractProvisioner):
def getNodeShape(s... | Add nodeStorage to the disk value for the nodeShape
Previously the disk was always estimated to be 2GB, making instances
with only EBS-backed storage like c4, r4, etc. useless. | DataBiosphere_toil | train | py |
0934940f4e2a41823546ba6e0657c49ba49219f4 | diff --git a/testutil/io.go b/testutil/io.go
index <HASH>..<HASH> 100644
--- a/testutil/io.go
+++ b/testutil/io.go
@@ -39,6 +39,9 @@ func TempDir(t *testing.T, name string) string {
name = strings.Replace(name, "/", "_", -1)
d, err := ioutil.TempDir(tmpdir, name)
if err != nil {
+ if t == nil {
+ panic(err)
+ ... | testutil: If testing.T is nil panic with error (#<I>) | hashicorp_consul | train | go |
627bbaf4eceb7714d340dc344ac75359aef39ad3 | diff --git a/lib/Structures/Server.js b/lib/Structures/Server.js
index <HASH>..<HASH> 100644
--- a/lib/Structures/Server.js
+++ b/lib/Structures/Server.js
@@ -66,7 +66,7 @@ var Server = (function (_Equality) {
this.channels = new _UtilCache2["default"]();
this.roles = new _UtilCache2["default"]();
this.icon = ... | Fix server.afkTimout being undefined (#<I>) (#<I>) | discordjs_discord.js | train | js,js |
f96ed220e3a8618aca36bb8a0697dcd7edbc2b48 | diff --git a/src/org/opencms/ade/galleries/CmsGalleryService.java b/src/org/opencms/ade/galleries/CmsGalleryService.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/ade/galleries/CmsGalleryService.java
+++ b/src/org/opencms/ade/galleries/CmsGalleryService.java
@@ -280,7 +280,11 @@ public class CmsGalleryService e... | Fixing issue when last opened gallery is not accessible. | alkacon_opencms-core | train | java |
014fd601641cdea228b438895efb91237c12675a | diff --git a/filepathfilter/filepathfilter.go b/filepathfilter/filepathfilter.go
index <HASH>..<HASH> 100644
--- a/filepathfilter/filepathfilter.go
+++ b/filepathfilter/filepathfilter.go
@@ -105,7 +105,7 @@ func NewPattern(p string) Pattern {
// Special case: the below patterns match anything according to existing
... | filepathfilter: no longer special-case *.* | git-lfs_git-lfs | train | go |
1192e26f0039c96e73003327057da330a7339b60 | diff --git a/src/Strava/API/Service/REST.php b/src/Strava/API/Service/REST.php
index <HASH>..<HASH> 100644
--- a/src/Strava/API/Service/REST.php
+++ b/src/Strava/API/Service/REST.php
@@ -149,6 +149,17 @@ class REST implements ServiceInterface {
return $this->format($result);
}
+ public function g... | Update REST.php
Add support to "List friends’ activities" function (<URL>) | basvandorst_StravaPHP | train | php |
1508cb38dae9ea715248e265af2930380e8c55b7 | diff --git a/src/Core/Storage/Zipper.php b/src/Core/Storage/Zipper.php
index <HASH>..<HASH> 100644
--- a/src/Core/Storage/Zipper.php
+++ b/src/Core/Storage/Zipper.php
@@ -68,7 +68,7 @@ class Zipper
$files = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($directory));
foreach ($files ... | removed slash prefix from zip file names (#<I>) | nanbando_core | train | php |
38f682604b7ed69799cc795eaead631dbd384c7e | diff --git a/nsone/rest/records.py b/nsone/rest/records.py
index <HASH>..<HASH> 100644
--- a/nsone/rest/records.py
+++ b/nsone/rest/records.py
@@ -16,7 +16,7 @@ class Records(resource.BaseResource):
body['domain'] = domain
body['type'] = type
body['answers'] = answers
- if ttl:
+ ... | allow ttl of 0 | ns1_ns1-python | train | py |
8b48064593faf08a88910bb9859ea6e37f633e14 | diff --git a/lib/fulmar/shell.rb b/lib/fulmar/shell.rb
index <HASH>..<HASH> 100644
--- a/lib/fulmar/shell.rb
+++ b/lib/fulmar/shell.rb
@@ -5,7 +5,7 @@ require 'open3'
module Fulmar
# Implements simple access to shell commands
class Shell
- VERSION = '1.6.4'
+ VERSION = '1.6.5'
attr_accessor :debug, ... | [BUGFIX] Strip line breaks | CORE4_fulmar-shell | train | rb |
a14a949f88ce6136407b4c6d4f9107609b861184 | diff --git a/core/lib/generators/refinery/engine/templates/spec/spec_helper.rb b/core/lib/generators/refinery/engine/templates/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/core/lib/generators/refinery/engine/templates/spec/spec_helper.rb
+++ b/core/lib/generators/refinery/engine/templates/spec/spec_helper.rb
@... | Support the spec/dummy application primarily and fall back to the vendored app or else raise an exception. | refinery_refinerycms | train | rb |
9b427c2e3c93dbc3f4a0ea7eb12beac5d4857e9b | diff --git a/lib/connect-couchbase.js b/lib/connect-couchbase.js
index <HASH>..<HASH> 100644
--- a/lib/connect-couchbase.js
+++ b/lib/connect-couchbase.js
@@ -48,7 +48,7 @@ module.exports = function(session){
* password: '',
* bucket: 'default' (default)
* cachefile: ''
- ... | Up default TTL from <I> seconds to <I> (one day) | christophermina_connect-couchbase | train | js |
9731b1a3d96da5f6351669133d142e72f8038487 | diff --git a/slap/esri.py b/slap/esri.py
index <HASH>..<HASH> 100644
--- a/slap/esri.py
+++ b/slap/esri.py
@@ -41,7 +41,8 @@ class ArcpyHelper:
def list_data_sources(mxd_paths):
data_sources = set()
for mxd_path in mxd_paths:
- mxd = arcpy.mapping.MapDocument(mxd_path)
+ ful... | Looks up full path for mxd
When listing data sources | lobsteropteryx_slap | train | py |
f8fc00aefa671774377616b135a71f931e9ce9b1 | diff --git a/gtts/tests/test_tts.py b/gtts/tests/test_tts.py
index <HASH>..<HASH> 100644
--- a/gtts/tests/test_tts.py
+++ b/gtts/tests/test_tts.py
@@ -112,9 +112,6 @@ class TestWrite(unittest.TestCase):
# Check if file created is > 2k
self.assertTrue(os.stat(save_file_path).st_size > 2000)
- ... | AppVoyer/Windows doens't like files being deleted during tests | pndurette_gTTS | train | py |
cb881314f5338a05185e133bbf132e2e14af7a5b | diff --git a/DependencyInjection/HWIOAuthExtension.php b/DependencyInjection/HWIOAuthExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/HWIOAuthExtension.php
+++ b/DependencyInjection/HWIOAuthExtension.php
@@ -56,7 +56,7 @@ class HWIOAuthExtension extends Extension
if (empty($config['firewall_... | Typo when merging firewall_names with firewall_name
It was creating array of both firewall_names and firewall_name but only firewall_name should be in | hwi_HWIOAuthBundle | train | php |
9d0d06a5205d30c42aefb8daf192059a3f92ab9e | diff --git a/tests/test_filters.py b/tests/test_filters.py
index <HASH>..<HASH> 100644
--- a/tests/test_filters.py
+++ b/tests/test_filters.py
@@ -37,6 +37,9 @@ def test_filter_sinc():
yield __test, filt, window, num_zeros, precision, rolloff
+def test_filter_load():
+ half_win, precisio... | added dummy test for loading precomputed filters | bmcfee_resampy | train | py |
d4f9b8ebf1715e895449a3a4ace63f8710aa8f5b | diff --git a/src/Controller.php b/src/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Controller.php
+++ b/src/Controller.php
@@ -207,14 +207,14 @@ abstract class Controller
$result = $validator->run($rawData);
- $query = new Query\FindEntity($this->config, $args['id']);
-
- $entity = $t... | Only find the entity if the form is valid | indigophp_proton-crud | train | php |
336e45fee19091481da285027fb4c6f5e304c8d0 | diff --git a/validator/sawtooth_validator/gossip/gossip_handlers.py b/validator/sawtooth_validator/gossip/gossip_handlers.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/gossip/gossip_handlers.py
+++ b/validator/sawtooth_validator/gossip/gossip_handlers.py
@@ -80,7 +80,8 @@ class PeerRegisterHandler(H... | Improve logging on receipt of PeerRegisterRequests
Add info about where the message is from and what protocol version the
requester is using. | hyperledger_sawtooth-core | train | py |
03f8fdfef90b7fc95a36a91e7314dd374eb1a85d | diff --git a/hazelcast-client/src/main/java/com/hazelcast/client/Serializer.java b/hazelcast-client/src/main/java/com/hazelcast/client/Serializer.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/main/java/com/hazelcast/client/Serializer.java
+++ b/hazelcast-client/src/main/java/com/hazelcast/client/Serialize... | fixed the class name compatibilities between client and server
git-svn-id: <URL> | hazelcast_hazelcast | train | java |
21299e35b01a5222bd92b0e9c3032937561cca4f | diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Support/Facades/Route.php
+++ b/src/Illuminate/Support/Facades/Route.php
@@ -14,7 +14,7 @@ namespace Illuminate\Support\Facades;
* @method static \Illuminate\Support\Facade... | Fix for route facade phpdoc to avoid Phan errors | laravel_framework | train | php |
65db273df7059559b30ff0df69e7688a8661a279 | diff --git a/lib/crash_watch/gdb_controller.rb b/lib/crash_watch/gdb_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/crash_watch/gdb_controller.rb
+++ b/lib/crash_watch/gdb_controller.rb
@@ -328,7 +328,8 @@ module CrashWatch
end
elsif result.nil?
raise GdbNotFound,
- "*** ERROR ***... | Improve error message about gdb.
When gdb isn't found, it doesn't necessarily mean that it isn't
installed. Could also be the path. | FooBarWidget_crash-watch | train | rb |
d8d79b19c5f9f340c03a72d8938c7e84e426e3dc | diff --git a/Xlib/__init__.py b/Xlib/__init__.py
index <HASH>..<HASH> 100644
--- a/Xlib/__init__.py
+++ b/Xlib/__init__.py
@@ -18,13 +18,11 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import string
-
__version__... | Removed need for 'import string' in Xlib/__init__.py | python-xlib_python-xlib | train | py |
cc3a28b320cf443b688fd78a4537c6c76a3a96ff | diff --git a/src/Request.php b/src/Request.php
index <HASH>..<HASH> 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -35,4 +35,9 @@ class Request extends \hiqdev\hiart\proxy\Request
'base_uri' => $this->getDb()->getBaseUri(),
], $config);
}
+
+ public static function isSupported()
+ ... | added `Request::isSupported` | hiqdev_yii2-hiart-guzzle | train | php |
823003cb9834289d938e74ad679ef48069771adb | diff --git a/src/Propel/Generator/Manager/AbstractManager.php b/src/Propel/Generator/Manager/AbstractManager.php
index <HASH>..<HASH> 100644
--- a/src/Propel/Generator/Manager/AbstractManager.php
+++ b/src/Propel/Generator/Manager/AbstractManager.php
@@ -317,7 +317,7 @@ EOT
$externalSchema->parentNode->rem... | [Generator] [Manager] fixed wrong variable name. | propelorm_Propel2 | train | php |
64e8056aee6bafdb59f212f511b07afd620be7fd | diff --git a/client/gutenberg/extensions/related-posts/editor.js b/client/gutenberg/extensions/related-posts/editor.js
index <HASH>..<HASH> 100644
--- a/client/gutenberg/extensions/related-posts/editor.js
+++ b/client/gutenberg/extensions/related-posts/editor.js
@@ -77,6 +77,10 @@ export const settings = {
}
},
... | Gutenberg: Disallow Related Posts to be edited as HTML (#<I>) | Automattic_wp-calypso | train | js |
47f71db65fe7e374001f34584a3fa4216a1c011c | diff --git a/backend/sublime/sublime_manual.go b/backend/sublime/sublime_manual.go
index <HASH>..<HASH> 100644
--- a/backend/sublime/sublime_manual.go
+++ b/backend/sublime/sublime_manual.go
@@ -196,11 +196,12 @@ func observePlugins(m *py.Module) {
for {
select {
case ev := <-watcher.Event:
- if ev.IsModify()... | backend/sublime: Also reload plugins on the Create fs event.
Fixes the reload test on OSX which emits a Create event rather than
a modified event when we write out "testdata/plugins/reload.py". | limetext_backend | train | go |
6c33bba8298b79988891216d8968e27d9f857b35 | diff --git a/src/Client/APIExceptionHandler.php b/src/Client/APIExceptionHandler.php
index <HASH>..<HASH> 100644
--- a/src/Client/APIExceptionHandler.php
+++ b/src/Client/APIExceptionHandler.php
@@ -37,7 +37,7 @@ class APIExceptionHandler
if (isset($body['title'])) {
// Have to do this check to ... | Fixed check for error message, and no longer clone Redact API | Nexmo_nexmo-php | train | php,php |
54c26b9ca60e38c35c1bd7113ed58403cbf859ff | diff --git a/source/net/fortuna/ical4j/data/UnfoldingReader.java b/source/net/fortuna/ical4j/data/UnfoldingReader.java
index <HASH>..<HASH> 100644
--- a/source/net/fortuna/ical4j/data/UnfoldingReader.java
+++ b/source/net/fortuna/ical4j/data/UnfoldingReader.java
@@ -123,6 +123,20 @@ public class UnfoldingReader extends... | Applied path #<I> for performance improvements | ical4j_ical4j | train | java |
0b813dd37bc53d1df3306a9704ce6a537e6ef68c | diff --git a/pypeerassets/pautils.py b/pypeerassets/pautils.py
index <HASH>..<HASH> 100644
--- a/pypeerassets/pautils.py
+++ b/pypeerassets/pautils.py
@@ -14,7 +14,6 @@ def testnet_or_mainnet(node):
def load_p2th_privkeys_into_node(node):
if testnet_or_mainnet(node) is "testnet":
- assert testnet_PAPROD_... | pautils, removed unnecessary line. | PeerAssets_pypeerassets | train | py |
fa6bc9d654166eb672e914ece131e6211117bae4 | diff --git a/jsface.ready.js b/jsface.ready.js
index <HASH>..<HASH> 100644
--- a/jsface.ready.js
+++ b/jsface.ready.js
@@ -14,12 +14,14 @@
readyFns = [],
readyCount = 0;
- Class.plugins.$ready = function(clazz, parent, api) {
- var r = api.$ready,
- len = parent ? parent.length : 0,
-... | invoke $ready in multiple level inheritance
Asume Bar3 extends Bar2 extends Bar1 extends Foo. Foo defines $ready:
Bar3 -> Bar2 -> Bar1 -> Foo:$ready
Then $ready on Foo will be executed four times:
1- On Foo's level
2- On Bar1's level
3- On Bar2's level
4- On Bar3's level
This support makes sure grandpar... | tnhu_jsface | train | js |
14e27b1bb1c493351f33999d3bc9190a57fbf4f6 | diff --git a/test/Query.js b/test/Query.js
index <HASH>..<HASH> 100644
--- a/test/Query.js
+++ b/test/Query.js
@@ -1264,7 +1264,7 @@ describe("Query", () => {
const start = Date.now();
await Model.query("name").eq("Charlie").all(10, 2).exec();
const end = Date.now();
- expect(end - start).to.be.above(19);... | Updating tests to try to prevent random failures | dynamoosejs_dynamoose | train | js,js |
f84d503593497b8071ce6b115ef87df7373ad60a | diff --git a/src/Modelling/ModelState.php b/src/Modelling/ModelState.php
index <HASH>..<HASH> 100644
--- a/src/Modelling/ModelState.php
+++ b/src/Modelling/ModelState.php
@@ -88,7 +88,7 @@ class ModelState implements \ArrayAccess, JsonSerializable
public function __set($propertyName, $value)
{
try {
... | Protected setter from throwing warnings if properties were being set for the first time. | RhubarbPHP_Rhubarb | train | php |
de58e6902182d084128e4339aea3467ab5dc2908 | diff --git a/master/buildbot/test/unit/test_changes_svnpoller.py b/master/buildbot/test/unit/test_changes_svnpoller.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_changes_svnpoller.py
+++ b/master/buildbot/test/unit/test_changes_svnpoller.py
@@ -640,7 +640,8 @@ class TestSVNPoller(gpo.GetProcessOut... | Use assertRaises as context manager in test_changes_svnpoller | buildbot_buildbot | train | py |
9b6242a7391e86c5fa0f427168af7bd901409560 | diff --git a/xblock/content.py b/xblock/content.py
index <HASH>..<HASH> 100644
--- a/xblock/content.py
+++ b/xblock/content.py
@@ -40,7 +40,7 @@ class HtmlBlock(XBlock):
"""
block = runtime.construct_xblock_from_class(cls, keys)
- block.content = node.text or u""
+ block.content = unic... | Fix bug in which an HTML block with only text body was not being loaded as unicode, and so was failing assert in Fragment. | edx_XBlock | train | py,py |
80c77ce81923451d0d02ccdf56a50141949a75e6 | diff --git a/test/unit/test_network_extraction.py b/test/unit/test_network_extraction.py
index <HASH>..<HASH> 100644
--- a/test/unit/test_network_extraction.py
+++ b/test/unit/test_network_extraction.py
@@ -1,4 +1,5 @@
import os
+import sys
from pathlib import Path
from platform import system
from os.path import re... | Minor refactoring of a unit test [no ci] | PMEAL_porespy | train | py |
30c224c048bb38ab7e1b6d8996d6dd8e036fcaac | diff --git a/lib/httparty/exceptions.rb b/lib/httparty/exceptions.rb
index <HASH>..<HASH> 100644
--- a/lib/httparty/exceptions.rb
+++ b/lib/httparty/exceptions.rb
@@ -20,6 +20,7 @@ module HTTParty
# @param [Net::HTTPResponse]
def initialize(response)
@response = response
+ super(response)
end... | Add ResponseError response attribute to message | jnunemaker_httparty | train | rb |
a894e18694d69a828204004209327a0acc6d17ec | diff --git a/lib/sass/tree/comment_node.rb b/lib/sass/tree/comment_node.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/tree/comment_node.rb
+++ b/lib/sass/tree/comment_node.rb
@@ -51,6 +51,7 @@ module Sass::Tree
return if invisible?
content = (value.split("\n") + lines.map {|l| l.text})
+ return "/*... | [Sass] Fix a comment-parsing bug. | sass_ruby-sass | train | rb,rb |
3b25867cf5669dc295839a437f6460d28af27a68 | diff --git a/distributions.py b/distributions.py
index <HASH>..<HASH> 100644
--- a/distributions.py
+++ b/distributions.py
@@ -578,16 +578,19 @@ class ScalarGaussianFixedvar(ScalarGaussian, GibbsSampling):
xbar = None
return n, xbar
- def max_likelihood(self,data):
- raise NotImplement... | added placeholders for max_likelihood_from_pmf | mattjj_pybasicbayes | train | py |
d68e5f51c3753e822a7800f4f5d07171a33765b2 | diff --git a/hydpy/auxs/smoothtools.py b/hydpy/auxs/smoothtools.py
index <HASH>..<HASH> 100644
--- a/hydpy/auxs/smoothtools.py
+++ b/hydpy/auxs/smoothtools.py
@@ -32,6 +32,8 @@ import os
from typing import *
# ...from site-packages
+# from scipy but not optional due to using interp1d during module initialisation:
+... | Make the import of scipy's interpolate module non-optional, as we use it during initialisation in module `smoothtools`. | hydpy-dev_hydpy | train | py |
9951d53e342d6e038642af7401c4761aa4cf489c | diff --git a/ExchangeWebServices.php b/ExchangeWebServices.php
index <HASH>..<HASH> 100644
--- a/ExchangeWebServices.php
+++ b/ExchangeWebServices.php
@@ -7,11 +7,37 @@
/**
* Base class of the Exchange Web Services application.
- *
- * @author James I. Armes <http://www.jamesarmes.net>
*/
class ExchangeWebServi... | Issue #3 by <EMAIL>: Added exchange version constants. | jamesiarmes_php-ews | train | php |
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.