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 |
|---|---|---|---|---|---|
b06c4518f3c9d9d0ba45acbab87e62670ff8c834 | diff --git a/host/calibrate_pulser_dac_correction.py b/host/calibrate_pulser_dac_correction.py
index <HASH>..<HASH> 100644
--- a/host/calibrate_pulser_dac_correction.py
+++ b/host/calibrate_pulser_dac_correction.py
@@ -33,7 +33,8 @@ class PulserDacCorrectionCalibration(ThresholdScan):
with tb.open_file(self... | BUG: when calculating men threshold, mask pixels with 0 | SiLab-Bonn_pyBAR | train | py |
1452facb25aeb380d0839a0f6f8cd2aee458a699 | diff --git a/ryu/ofproto/ofproto_v1_5_parser.py b/ryu/ofproto/ofproto_v1_5_parser.py
index <HASH>..<HASH> 100644
--- a/ryu/ofproto/ofproto_v1_5_parser.py
+++ b/ryu/ofproto/ofproto_v1_5_parser.py
@@ -5888,12 +5888,14 @@ class OFPActionCopyField(OFPAction):
return cls(n_bits, src_offset, dst_offset, oxm_ids, typ... | ofproto_v1_5_parser: Fix serialized length of OFPActionCopyField | osrg_ryu | train | py |
a0aaba2c9608c491aaa7199a896ce65574901c33 | diff --git a/scp.go b/scp.go
index <HASH>..<HASH> 100644
--- a/scp.go
+++ b/scp.go
@@ -30,9 +30,13 @@ func CopyPath(filePath, destinationPath string, session *ssh.Session) error {
func copy(size int64, mode os.FileMode, fileName string, contents io.Reader, destination string, session *ssh.Session) error {
defer se... | Fixed: the function copy could panic if the goroutine execution starts after the session run method. It could happen before stdin needs to be init before the run of the session. In this pr, we make sure to init the stdin before the run of the session | tmc_scp | train | go |
556f62d50a65567800aa97699e3e5b444700c251 | diff --git a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java
+++ b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java
@@ -1... | Don't break if no HTML can be captured | fhoeben_hsac-fitnesse-fixtures | train | java |
beb414dc5e1a5a8fc4e510f76160f151be22345c | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -52,6 +52,8 @@ extensions = [
'sphinx.ext.coverage',
'sphinx.ext.pngmath',
'sphinx.ext.viewcode',
+ 'sphinx.ext.napoleon', # enable Napoleon Sphinx v>1.3
+ 'sphinx.ext.extlinks' # enables ext... | add napoleon and extlinks to sphinx conf | openego_eDisGo | train | py |
808b373a79c7f4c53e2688d14efdc176f6b55dcd | diff --git a/src/com/googlecode/objectify/test/BasicTests.java b/src/com/googlecode/objectify/test/BasicTests.java
index <HASH>..<HASH> 100644
--- a/src/com/googlecode/objectify/test/BasicTests.java
+++ b/src/com/googlecode/objectify/test/BasicTests.java
@@ -139,7 +139,7 @@ public class BasicTests extends TestBase
{
... | test still failing with a child as the @parent
git-svn-id: <URL> | objectify_objectify | train | java |
0b0c5c383ae61ae456ea5b97c464d0c6cc978b64 | diff --git a/test/incompatibilities.js b/test/incompatibilities.js
index <HASH>..<HASH> 100644
--- a/test/incompatibilities.js
+++ b/test/incompatibilities.js
@@ -60,7 +60,9 @@ describe("Parser", function() {
// ES5: allows any LeftHandSideExpression on the left of an assignment
// ES6: allows only valid bind... | fixes #9: added unparenthesised new a on the left | shapesecurity_shift-parser-js | train | js |
6486c88abfbea80562f3aa3136b6aacd89aa931e | diff --git a/scripts/utils.py b/scripts/utils.py
index <HASH>..<HASH> 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -207,4 +207,4 @@ class AlignmentFileTool(object):
indexFilePath = "{}.{}".format(
outputFilePath, AlignmentFileConstants.BAI.lower())
log("Creating ind... | Replace samtools index runCommand with pysam call
pysam provides the capability to call samtools methods directly...
we should use that instead of using shell commands! | ga4gh_ga4gh-server | train | py |
46500f81cd965a3132d7d3352d0d6ce6b2cc48dc | diff --git a/absl/flags/_validators.py b/absl/flags/_validators.py
index <HASH>..<HASH> 100644
--- a/absl/flags/_validators.py
+++ b/absl/flags/_validators.py
@@ -340,9 +340,8 @@ def mark_flag_as_required(flag_name, flag_values=_flagvalues.FLAGS):
app.run()
Because validation happens at app.run() we want to... | Remove 'However' from methoddoc.
The negation/contrast word 'however' may be confusing/misleading since the sentence supports the argument to not introduce required-ness by imports/tests which occurs when this practice is not followed.
PiperOrigin-RevId: <I> | abseil_abseil-py | train | py |
3fa4a7d3ad8a1b976089c648b0403f940360e910 | diff --git a/spock/plugins/plugin_base.py b/spock/plugins/plugin_base.py
index <HASH>..<HASH> 100644
--- a/spock/plugins/plugin_base.py
+++ b/spock/plugins/plugin_base.py
@@ -1,6 +1,12 @@
from ..utils import get_settings
class BasePlugin(object):
+ """A base class for cleaner plugin code.
+
+ Extending from BasePlu... | Added docstring for the BasePlugin | SpockBotMC_SpockBot | train | py |
dcc87602f9bb7fdf8a3b3ae62ce13f61fb157e60 | diff --git a/panels/_version.py b/panels/_version.py
index <HASH>..<HASH> 100644
--- a/panels/_version.py
+++ b/panels/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.0.41"
+__version__ = "0.0.42" | Update version number to <I> | chaoss_grimoirelab-sigils | train | py |
faf36875cb3ab6d455e1cc6b882e911118c9986b | diff --git a/src/test/java/org/dynjs/runtime/builtins/RequireTest.java b/src/test/java/org/dynjs/runtime/builtins/RequireTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/dynjs/runtime/builtins/RequireTest.java
+++ b/src/test/java/org/dynjs/runtime/builtins/RequireTest.java
@@ -89,7 +89,7 @@ public class Re... | fixed nested requires
- note that due to current changes on scope
resolution you need to have an intermediate step
for it to work | dynjs_dynjs | train | java |
57e006642af31b0f2c8e1623a487b3249e314f7f | diff --git a/src/Calendar.render.js b/src/Calendar.render.js
index <HASH>..<HASH> 100644
--- a/src/Calendar.render.js
+++ b/src/Calendar.render.js
@@ -237,11 +237,14 @@ Calendar.mixin({
renderView: function(viewType, forcedScroll) {
var oldView = this.view;
+ if (oldView && oldView.type === viewType) {
+ retu... | issue with switching to same view that was already active | fullcalendar_fullcalendar | train | js |
6abd72220b0e4c7b9cede8a1486a5fc928bbcddf | diff --git a/web/ext/authentication/__init__.py b/web/ext/authentication/__init__.py
index <HASH>..<HASH> 100755
--- a/web/ext/authentication/__init__.py
+++ b/web/ext/authentication/__init__.py
@@ -35,11 +35,12 @@ class AuthenticationExtension(object):
if not callable(auth_callback):
raise ValueE... | The "lookup" callback is only used with session-based authentication, so
don't require it for other methods. | marrow_WebCore | train | py |
5bdecd403e6c0f3c2628ba0d7a3a4047329c26ee | diff --git a/spec/functional/api_versions_spec.rb b/spec/functional/api_versions_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/api_versions_spec.rb
+++ b/spec/functional/api_versions_spec.rb
@@ -3,6 +3,6 @@ describe "API Versions API", functional: true do
produce_api = kafka.apis.find {|v| v.api_key ==... | Make the API versions spec work with Kafka <I> as well | zendesk_ruby-kafka | train | rb |
00119a216d62c5f6b047b7f773e8767464ba5423 | diff --git a/src/NewRelicMiddleware.php b/src/NewRelicMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/NewRelicMiddleware.php
+++ b/src/NewRelicMiddleware.php
@@ -74,34 +74,34 @@ class NewRelicMiddleware
/**
* Get the current controller / action
*
- * @param array $route the details about the c... | Fix errors when the route information is not an array | digiaonline_lumen-newrelic | train | php |
1fcd799521d2f5c6b73f9703e0e2db17cf137fb8 | diff --git a/blended/__main__.py b/blended/__main__.py
index <HASH>..<HASH> 100644
--- a/blended/__main__.py
+++ b/blended/__main__.py
@@ -299,7 +299,7 @@ def build_files(outdir):
else:
sys.path.insert(0, cwd)
try:
- from config import website_name, website_description, website_languag... | possible fix for version issue in a config file | BlendedSiteGenerator_Blended | train | py |
b6f1d2d2a7f4a13f0c664aa53fca7980326a622c | diff --git a/wrapper.js b/wrapper.js
index <HASH>..<HASH> 100644
--- a/wrapper.js
+++ b/wrapper.js
@@ -29,7 +29,13 @@ function setupMethods (soljson) {
var compileInternal = soljson.cwrap('compileJSONCallback', 'string', ['string', 'number', 'number']);
compileJSONCallback = function (input, optimize, readCal... | Catch & rethrow exception so the function pointer can be freed | dexon-foundation_dsolc-js | train | js |
6fa326d9f13fc6705cc071c234a053f663852c8b | diff --git a/test/blend.test.js b/test/blend.test.js
index <HASH>..<HASH> 100644
--- a/test/blend.test.js
+++ b/test/blend.test.js
@@ -381,7 +381,8 @@ describe('mapnik.blend', function() {
if (err) throw err;
var actual = new mapnik.Image.fromBytesSync(result);
//fs.writeFileSync(... | fix for windows test failure [republish binary] | mapnik_node-mapnik | train | js |
ce40b9391a996b8218e1c7b1e83905b8dd4bc1fd | diff --git a/xarray/tutorial.py b/xarray/tutorial.py
index <HASH>..<HASH> 100644
--- a/xarray/tutorial.py
+++ b/xarray/tutorial.py
@@ -39,6 +39,7 @@ external_rasterio_urls = {
file_formats = {
"air_temperature": 3,
"air_temperature_gradient": 4,
+ "ASE_ice_velocity": 4,
"basin_mask": 4,
"ersstv5... | added ASE ice velocity to tutorial docstring (#<I>) | pydata_xarray | train | py |
7f6a3c97de5491473aa613addb02e55289b9661d | diff --git a/samples/treeview-pivottable-combination.js b/samples/treeview-pivottable-combination.js
index <HASH>..<HASH> 100644
--- a/samples/treeview-pivottable-combination.js
+++ b/samples/treeview-pivottable-combination.js
@@ -857,7 +857,7 @@ var QueryDesignerAxis;
case "vertical":
var... | Fixed a one-off bug in remove member. | rpbouman_xmla4js | train | js |
e2fb695e74110a73f4acbd9b5e7b04b40c50e96a | diff --git a/cwl_airflow_parser/cwldag.py b/cwl_airflow_parser/cwldag.py
index <HASH>..<HASH> 100644
--- a/cwl_airflow_parser/cwldag.py
+++ b/cwl_airflow_parser/cwldag.py
@@ -160,6 +160,11 @@ class CWLDAG(DAG):
t.reader_task_id = self.top_task.task_id
def get_output_list(self):
- outp... | Fix bug in getting outputs
If CommandLineTool, there is no any
outputSource field | datirium_cwl-airflow-parser | train | py |
292eecf0add4f160319f3d775c6d8a524c36f62d | diff --git a/examples/geweke.py b/examples/geweke.py
index <HASH>..<HASH> 100644
--- a/examples/geweke.py
+++ b/examples/geweke.py
@@ -157,7 +157,7 @@ def run_geweke_no_subs((seed, num_rows, num_cols, num_iters)):
specified_s_grid=s_grid,
specified_mu_grid=mu_grid,
)
- fu.p... | Don't pickle artifcats | probcomp_crosscat | train | py |
1b5837f240ff13fb94b6415f54f1b6344fc84994 | diff --git a/src/Plinth/Main.php b/src/Plinth/Main.php
index <HASH>..<HASH> 100644
--- a/src/Plinth/Main.php
+++ b/src/Plinth/Main.php
@@ -311,7 +311,7 @@ class Main {
$this->getRouter()->loadRoutes(__APP_CONFIG_ROUTING, $public);
}
- if ($this->component !== false) {
+ if ($this->compon... | Fix for when no routing file is defined | Warsaalk_Plinth | train | php |
9f7470793949f518522faad0d5151214b543c57c | diff --git a/core/src/main/java/com/orientechnologies/orient/core/index/OIndexMultiValues.java b/core/src/main/java/com/orientechnologies/orient/core/index/OIndexMultiValues.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/index/OIndexMultiValues.java
+++ b/core/src/main/java/... | Get entries in multi-value index supports hash index. | orientechnologies_orientdb | train | java |
bf3a7a933bdef877322fd61c1f09a180064ba7eb | diff --git a/src/hooks.js b/src/hooks.js
index <HASH>..<HASH> 100755
--- a/src/hooks.js
+++ b/src/hooks.js
@@ -6,7 +6,7 @@ const { checkContext } = require('feathers-hooks-common');
const { getLongToken, getShortToken } = require('./helpers');
module.exports.addVerification = path => hook => {
- checkContext(ho... | Allow addVerification in patch & update hooks | feathers-plus_feathers-authentication-management | train | js |
a9b972544587d7a7b1b1d2e038da321e8c5c9b08 | diff --git a/src/Provider/GuardAuthenticationProvider.php b/src/Provider/GuardAuthenticationProvider.php
index <HASH>..<HASH> 100644
--- a/src/Provider/GuardAuthenticationProvider.php
+++ b/src/Provider/GuardAuthenticationProvider.php
@@ -87,10 +87,8 @@ class GuardAuthenticationProvider implements AuthenticationProvide... | Fixing a bug where multiple firewalls with authenticators would not work
It turns out that the AuthenticationProviderManager receives 2 instances of GuardAuthenticationProvider,
one for reach of the 2 firewalls. Each contains the guard authenticator(s) for each firewall.
So, if no matching authenticator is found, it's... | knpuniversity_KnpUGuard | train | php |
0d1306dfe71cfd613627603f0b99f21b500b6759 | diff --git a/core/api.go b/core/api.go
index <HASH>..<HASH> 100644
--- a/core/api.go
+++ b/core/api.go
@@ -142,6 +142,12 @@ func rpcAuthedHandler(c *protocol.Chain, signer *blocksigner.Signer) http.Handle
m.Handle("/rpc/get-blocks", jsonHandler(func(ctx context.Context, h uint64) ([]*bc.Block, error) {
return gene... | core/generator: add /rpc/block-height route
Non-generator Cores will be able to query this route to check that they are sufficiently up-to-date.
Closes chain/chainprv#<I>.
Reviewers: @bobg @erykwalder | chain_chain | train | go |
757f79180f022b22a74038b625cb5b7d89698ddd | diff --git a/tests/integration/runloop-test.js b/tests/integration/runloop-test.js
index <HASH>..<HASH> 100644
--- a/tests/integration/runloop-test.js
+++ b/tests/integration/runloop-test.js
@@ -1,7 +1,6 @@
import { run } from '@ember/runloop';
import hbs from 'htmlbars-inline-precompile';
import { moduleForComponen... | [FUTURE]: workaround for ES<I> run.join monkey patch | ember-redux_ember-redux | train | js |
3652670dcb5af1ff3dc2d178303bedc8641ef300 | diff --git a/src/angular.js b/src/angular.js
index <HASH>..<HASH> 100644
--- a/src/angular.js
+++ b/src/angular.js
@@ -38,7 +38,7 @@ if (typeof angular === 'object' && angular.module) {
// Ionic Auth
// ----------
- angular.module('ionic.cloud.auth', [])
+ angular.module('ionic.cloud.auth', ['ionic.cloud.core... | The core module is a dependency of the others | ionic-team_legacy-ionic-cloud | train | js |
24aeba162ccc0d2754f34f9a03eee0dd4e63f3c4 | diff --git a/asl/application/initializers/logger_initializer.py b/asl/application/initializers/logger_initializer.py
index <HASH>..<HASH> 100644
--- a/asl/application/initializers/logger_initializer.py
+++ b/asl/application/initializers/logger_initializer.py
@@ -1,5 +1,6 @@
from asl.application.service_application imp... | Changes in loggers - initialization of any handler, getChild is propagated. | AtteqCom_zsl | train | py |
743a85b8a2bef0819173face6bd52a72dd5a2c5d | diff --git a/approvals.go b/approvals.go
index <HASH>..<HASH> 100644
--- a/approvals.go
+++ b/approvals.go
@@ -16,6 +16,7 @@ var (
defaultFrontLoadedReporter = reporters.NewFrontLoadedReporter()
)
+// Interface wrapper around testing.T
type Failable interface {
Fail()
} | Fix lint issue
with @isidore | approvals_go-approval-tests | train | go |
a5f825f6f5cf470ff51e77d22b5f5b3cc40cd0cc | diff --git a/mackerel-plugin.go b/mackerel-plugin.go
index <HASH>..<HASH> 100644
--- a/mackerel-plugin.go
+++ b/mackerel-plugin.go
@@ -240,7 +240,7 @@ func (h *MackerelPlugin) generateTempfilePath(args []string) string {
const (
metricTypeUint32 = "uint32"
metricTypeUint64 = "uint64"
- metricTypeFloat = "float64"... | lint: `metricTypeFloat` is unused | mackerelio_go-mackerel-plugin-helper | train | go |
ced744def930034ea1dafab594b90aa46ef9c189 | diff --git a/src/js/components/Box.js b/src/js/components/Box.js
index <HASH>..<HASH> 100644
--- a/src/js/components/Box.js
+++ b/src/js/components/Box.js
@@ -144,7 +144,8 @@ export default class Box extends Component {
return (
<Component {...restProps} ref="boxContainer" id={this.props.id}
... | Fixed the missing click handler for Box. | grommet_grommet | train | js |
482b2c7e040c2c8a146b24ef210215499a26a384 | diff --git a/monolithe/specifications/repositorymanager.py b/monolithe/specifications/repositorymanager.py
index <HASH>..<HASH> 100644
--- a/monolithe/specifications/repositorymanager.py
+++ b/monolithe/specifications/repositorymanager.py
@@ -203,10 +203,17 @@ class RepositoryManager (object):
f.write(... | Added check in get_all_specifications(...) to filter out all files not under the repository_path. | nuagenetworks_monolithe | train | py |
044fe24cbc0b1187e0d53e4c8c429448b2e85de2 | diff --git a/fireplace/card.py b/fireplace/card.py
index <HASH>..<HASH> 100644
--- a/fireplace/card.py
+++ b/fireplace/card.py
@@ -255,9 +255,6 @@ class PlayableCard(BaseCard):
return self.game.queue_actions(self, [Heal(target, amount)])
def hit(self, target, amount):
- if getattr(target, "immune", False):
- ... | Move immune check to Character._hit() | jleclanche_fireplace | train | py |
23dc3b1a76c45b215a0b4f800b416dd6e6e15dbd | diff --git a/js/huobipro.js b/js/huobipro.js
index <HASH>..<HASH> 100644
--- a/js/huobipro.js
+++ b/js/huobipro.js
@@ -750,7 +750,7 @@ module.exports = class huobipro extends Exchange {
}
}
}
- if (type === 'limit') {
+ if (type === 'limit' || type === 'ioc' || type ... | Fixed Huobipro IOC and Limit-maker orders | ccxt_ccxt | train | js |
d97be239d14ed643921ded8e72f4ac0a04b61611 | diff --git a/nats.go b/nats.go
index <HASH>..<HASH> 100644
--- a/nats.go
+++ b/nats.go
@@ -1287,7 +1287,9 @@ func (nc *Conn) publish(subj, reply string, data []byte) error {
nc.OutMsgs += 1
nc.OutBytes += uint64(len(data))
- nc.kickFlusher()
+ if len(nc.fch) == 0 {
+ nc.kickFlusher()
+ }
nc.mu.Unlock()
retur... | Put back changes that derek made for the publisher
* See commit <URL> | nats-io_go-nats | train | go |
959dcc4f44bf370560f006df8159041253f746b1 | diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -190,6 +190,13 @@ class TestParse(unittest.TestCase):
with self.assertRaises(ParseError):
Calendar(cal11)
+ def test_repr(self):
+
+ e = Event(begin=0, end=10)
+ c =... | [new] Test for parse repr | C4ptainCrunch_ics.py | train | py |
0d0f3e63aff8671c354873a7d80f4ccebfa85d14 | diff --git a/salt/client/__init__.py b/salt/client/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/__init__.py
+++ b/salt/client/__init__.py
@@ -841,8 +841,8 @@ class LocalClient(object):
# iterator for this job's return
ret_iter = self.get_returns_no_block(jid)
# iterator for the i... | Start pinging minions after TIMEOUT, instead of immediately | saltstack_salt | train | py |
d51c4277d334497a42a130869b50ced6d2868bcd | diff --git a/test/helpers/createLazyTestEnv.js b/test/helpers/createLazyTestEnv.js
index <HASH>..<HASH> 100644
--- a/test/helpers/createLazyTestEnv.js
+++ b/test/helpers/createLazyTestEnv.js
@@ -1,6 +1,15 @@
const STATE_SYM = Object.getOwnPropertySymbols(global).find(
- s => s.description === "JEST_STATE_SYMBOL"
+ Sym... | fix Symbol lookup for older node.js versions | webpack_webpack | train | js |
9d4271f023e61d2b501bc5693d375b01dfa5fd0e | diff --git a/src/Psalm/Type.php b/src/Psalm/Type.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Type.php
+++ b/src/Psalm/Type.php
@@ -11,7 +11,7 @@ abstract class Type
{
/**
* Parses a string type representation
- * @param string $string
+ * @param string $type_string
* @return Union
... | Allow better handling of questionmark type annotations | vimeo_psalm | train | php |
b09462fc870b52065cbf058c4ae509a8278470d9 | diff --git a/dataviews/plots.py b/dataviews/plots.py
index <HASH>..<HASH> 100644
--- a/dataviews/plots.py
+++ b/dataviews/plots.py
@@ -540,7 +540,6 @@ class SheetPlot(Plot):
views = [overlay[label] for label in layer_labels]
overlay_slice = SheetOverlay(views, overlay.bounds)
... | Fixed a bug in _collapse method of SheetPlot | pyviz_holoviews | train | py |
0377cc25f536a1d20d0120fede6b3855f343ec7f | diff --git a/libaaron/libaaron.py b/libaaron/libaaron.py
index <HASH>..<HASH> 100644
--- a/libaaron/libaaron.py
+++ b/libaaron/libaaron.py
@@ -356,8 +356,11 @@ class reportiter:
try:
from lxml import etree # type: ignore
-except ImportError:
- pass
+except ImportError as e:
+
+ def lxml_little_iter(*args... | try to work with not having lxml a little more cleanly | ninjaaron_libaaron | train | py |
e4268d853ac381976a6b62c3a0405ecb319eb3b0 | diff --git a/api/app.go b/api/app.go
index <HASH>..<HASH> 100644
--- a/api/app.go
+++ b/api/app.go
@@ -661,6 +661,14 @@ func grantAppAccess(w http.ResponseWriter, r *http.Request, t auth.Token) error
return err
}
+// title: revoke access to app
+// path: /apps/{app}/teams/{team}
+// method: DELETE
+// responses:
... | api/app: add comments to describe revoke access to app | tsuru_tsuru | train | go |
9c835eedf03bd4c29db9bb38c9548c99268a60a0 | diff --git a/test/lib/register.js b/test/lib/register.js
index <HASH>..<HASH> 100644
--- a/test/lib/register.js
+++ b/test/lib/register.js
@@ -186,7 +186,6 @@ describe('Register', function() {
data.form.fields[0].label.should.equal('Name')
data.form.fields[1].var.should.equal('x-romeo'... | No longer always set a required value | xmpp-ftw_xmpp-ftw-register | train | js |
543cea978de071ac19c6b98ff1fded58bfa0eefa | diff --git a/aeron-driver/src/main/java/io/aeron/driver/media/SendChannelEndpoint.java b/aeron-driver/src/main/java/io/aeron/driver/media/SendChannelEndpoint.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/media/SendChannelEndpoint.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/... | [Java]: add check to avoid trying to re-resolve dynamic DMC. | real-logic_aeron | train | java |
6cb025586316fafe023d0407e4ff650b353c573f | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -153,13 +153,27 @@ async function bundleAll({
}).start()
}
- extractTypes({
- entry: entries.library,
- output: dirname(output.types),
- root,
- ... | Added improved error handling to type extraction | sebastian-software_preppy | train | js |
78ab330c61a02426e3f51c5d70cf0d7ca6360322 | diff --git a/canmatrix/dbc.py b/canmatrix/dbc.py
index <HASH>..<HASH> 100644
--- a/canmatrix/dbc.py
+++ b/canmatrix/dbc.py
@@ -585,6 +585,8 @@ def load(f, **options):
botschaftId = temp.group(1)
signal = temp.group(2)
tempList = temp.group(3).split('"')
+ ... | Fix so _VAL with no botschaftID is ignored
This fix targets .dbc files. Signals that are not used in any
messages have no id. Thus when trying to parse those signals
exceptions are thrown. This fix will ignore lines that start
with _VAL and has no id. | ebroecker_canmatrix | train | py |
99ad8ddac16f5326f0d2b5feabd0b49f62d9c4c7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -58,7 +58,7 @@ module.exports = function(options) {
var error;
if (code && 65 !== code) {
- error = new gutil.PluginError(plugin.name, plugin.name + ': returned ' + code);
+ error = new gutil.Plug... | on exit code, log name of file returning code rather than gulp-gulp plugin.name | oskarjakiela_gulp-gulp | train | js |
4964f6ddb4bda7877e28bc0f16f87430749f7927 | diff --git a/src/Helpers/Model.php b/src/Helpers/Model.php
index <HASH>..<HASH> 100644
--- a/src/Helpers/Model.php
+++ b/src/Helpers/Model.php
@@ -37,21 +37,28 @@ class Model
return false;
}
+ // Make Sure model name is uppercased.
+ $model = ucfirst($model);
+
// If names... | Refactor code from if statements to a foreach loop with early return. | taskforcedev_crud-api | train | php |
ca35b089d8f0ef69a3212e4e4a0113fb7b930de3 | diff --git a/cytoscape-edgehandles.js b/cytoscape-edgehandles.js
index <HASH>..<HASH> 100644
--- a/cytoscape-edgehandles.js
+++ b/cytoscape-edgehandles.js
@@ -1178,10 +1178,13 @@ SOFTWARE.
var rpos = e.renderedPosition || e.cyRenderedPosition;
drawLine( rpos.x, rpos.y );
-
+ ... | set mx,my on ctxdrag to ensure cancel works properly in drawMode | cytoscape_cytoscape.js-edgehandles | train | js |
b0a3c99a632cefd75c3d893906f26d6079d38111 | diff --git a/impl/src/main/java/org/jboss/weld/context/AbstractConversationContext.java b/impl/src/main/java/org/jboss/weld/context/AbstractConversationContext.java
index <HASH>..<HASH> 100644
--- a/impl/src/main/java/org/jboss/weld/context/AbstractConversationContext.java
+++ b/impl/src/main/java/org/jboss/weld/contex... | WELD-<I> Don't associate a conversation which was ended | weld_core | train | java |
63a1a58e32c36ec591cc6d937544605cd2220692 | diff --git a/tests/unit/modules/sysmod_test.py b/tests/unit/modules/sysmod_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/sysmod_test.py
+++ b/tests/unit/modules/sysmod_test.py
@@ -82,12 +82,11 @@ class Mockloader(object):
self.lst = lst
return {}
-sysmod.salt.state = Mockstate
-sysmod... | used @patch for mocking. | saltstack_salt | train | py |
1b88ba0b075788507771993f33b981bd552e942e | diff --git a/src/widgets/form/sync/sync.js b/src/widgets/form/sync/sync.js
index <HASH>..<HASH> 100755
--- a/src/widgets/form/sync/sync.js
+++ b/src/widgets/form/sync/sync.js
@@ -91,7 +91,7 @@
for ( let i = 0, l = $otherElements.length; i < l; i++ ) {
- let otherElements = $otherElements[i],
+ ... | Form Sync: fixed a typo | svelto_svelto | train | js |
5834bf3561c2907a791c68699586cb49ab1fb0f7 | diff --git a/lib/frameit/template_finder.rb b/lib/frameit/template_finder.rb
index <HASH>..<HASH> 100644
--- a/lib/frameit/template_finder.rb
+++ b/lib/frameit/template_finder.rb
@@ -17,11 +17,12 @@ module Frameit
if templates.count == 0
if screenshot.screen_size == Deliver::AppScreenshot::ScreenSize::I... | Changed frame output to png extension | fastlane_fastlane | train | rb |
8279169c007213227d0e0c2295ca3d2efb024891 | diff --git a/lib/puppet/ssl/oids.rb b/lib/puppet/ssl/oids.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/ssl/oids.rb
+++ b/lib/puppet/ssl/oids.rb
@@ -26,6 +26,10 @@ require 'puppet/ssl'
# @api private
module Puppet::SSL::Oids
+ # Note: When updating the following OIDs make sure to also update the OID
+ # definit... | (PUP-<I>) Add note explaining duplication to oids.rb
The information captured in PUPPET_OIDS in oids.rb is duplicated in the
puppetserver codebase. Creating a shared oids file isn't easily
achieveable today, so instead this commit adds a comment to the oids.rb
file explaining that any changes to the oids need to be re... | puppetlabs_puppet | train | rb |
d852f834226a9e3020e70acb68963ba423d52a19 | diff --git a/lib/formula.rb b/lib/formula.rb
index <HASH>..<HASH> 100644
--- a/lib/formula.rb
+++ b/lib/formula.rb
@@ -246,13 +246,14 @@ module Formula
# <%= f.input :password %>
# <% end %>
- alias :formula_for :formula_form_for
def formula_form_for(record_or_name_or_array, *args, &proc)
... | modified alias to come after method to fix no method found error | ksylvest_formula | train | rb |
8234f665bdb3d42df187a18fe6645eb12914a8c2 | diff --git a/method.js b/method.js
index <HASH>..<HASH> 100644
--- a/method.js
+++ b/method.js
@@ -75,3 +75,7 @@ proto.setImplementation = function setImplementation (func) {
, oldFuncPointer = core.method_setImplementation(wrapperPtr)
return imp.createWrapperFunc(oldFuncPointer)
}
+
+proto.toString = function... | Add a 'toString()' override to the Method wrap objects. | TooTallNate_NodObjC | train | js |
cdff84b84a52236ad8a56a58bf61ffcd1291fad2 | diff --git a/middleman-more/lib/middleman-more/core_extensions/compass.rb b/middleman-more/lib/middleman-more/core_extensions/compass.rb
index <HASH>..<HASH> 100644
--- a/middleman-more/lib/middleman-more/core_extensions/compass.rb
+++ b/middleman-more/lib/middleman-more/core_extensions/compass.rb
@@ -34,11 +34,12 @@ m... | continue trying to fix compass issue | middleman_middleman | train | rb |
2b97b2f48d5348486aaf649ed45797cc0b6de3b4 | diff --git a/src/Encoding/FilteredStream.php b/src/Encoding/FilteredStream.php
index <HASH>..<HASH> 100644
--- a/src/Encoding/FilteredStream.php
+++ b/src/Encoding/FilteredStream.php
@@ -13,7 +13,7 @@ use Psr\Http\Message\StreamInterface;
*/
abstract class FilteredStream implements StreamInterface
{
- const BUFF... | Lower buffer size, and use it in the getContents
This is mainly to avoid too much nested call to the read method, as if we got a stream where the reads provide too few bytes (like <I>) it will make a nested call to the read method for each part of the messages and will stop on a too muche nested call exception with xd... | php-http_message | train | php |
cf601c448305ec8d4a9748a43c6e6b7d5f59d873 | diff --git a/src/Installer.php b/src/Installer.php
index <HASH>..<HASH> 100644
--- a/src/Installer.php
+++ b/src/Installer.php
@@ -241,6 +241,12 @@ class Installer extends LibraryInstaller
$this->compileTemplate($templatePath, $dotEnvExamplePath, $envExample);
}
+ protected function configureComp... | Configure composer.json in Installer | CupOfTea696_WordPress-Composer | train | php |
fdcd8dfad0b579da6d898652ddc728e7741196e5 | diff --git a/lib/numerals/rounding.rb b/lib/numerals/rounding.rb
index <HASH>..<HASH> 100644
--- a/lib/numerals/rounding.rb
+++ b/lib/numerals/rounding.rb
@@ -199,8 +199,10 @@ class Rounding
if value.zero?
ZERO_DIGITS
else
- # Assume no leading zeros; otherwise value = value.normalize(remo... | Fix: Rounding#num_integral_digits did not handle numerals in different base | jgoizueta_numerals | train | rb |
7a76664f2f53b7c9e9cad9cc5a990e16482d61c1 | diff --git a/src/GDAO/Model.php b/src/GDAO/Model.php
index <HASH>..<HASH> 100644
--- a/src/GDAO/Model.php
+++ b/src/GDAO/Model.php
@@ -24,7 +24,7 @@ abstract class Model
*
* This is a REQUIRED field & must be properly set by consumers of this class
*
- * @todo Work on supporting tables that do n... | Second commit after adding github remote. | rotexsoft_gdao | train | php |
121165f06e7ce246105230e62b4568cdc15beba6 | diff --git a/src/ng-quill.js b/src/ng-quill.js
index <HASH>..<HASH> 100755
--- a/src/ng-quill.js
+++ b/src/ng-quill.js
@@ -135,7 +135,6 @@ app.component('ngQuillEditor', {
restrict: 'E',
templateUrl: 'ngQuill/template.html',
controller: ['$scope', '$element', '$timeout', 'ngQuillService', 'ngQuillConfi... | Update ng-quill.js
console.log in a release version? really? | KillerCodeMonkey_ng-quill | train | js |
8fc686d41bade96b3b3cb1284029f155c5ae05ab | diff --git a/src/com/google/caliper/Run.java b/src/com/google/caliper/Run.java
index <HASH>..<HASH> 100644
--- a/src/com/google/caliper/Run.java
+++ b/src/com/google/caliper/Run.java
@@ -16,7 +16,6 @@
package com.google.caliper;
-import com.google.common.base.Objects;
import java.io.Serializable;
import java.uti... | Removing Guava dependency from Run. This is for GWT safety (and build simplicity). Sigh.
git-svn-id: <URL> | trajano_caliper | train | java |
ae0d46b366a68a2668e418085e4841ec156185c8 | diff --git a/src/Support/Timezone.php b/src/Support/Timezone.php
index <HASH>..<HASH> 100644
--- a/src/Support/Timezone.php
+++ b/src/Support/Timezone.php
@@ -583,11 +583,9 @@ class Timezone
/**
* Timezones midnight by now.
*
- * @param \DateTimeZone|string|null $timezone
- *
* @return ... | Fixes timezone implementation with $timezone usage. | orchestral_support | train | php |
533bf04c7f6e2ec3bafcb2765046c9c9712a350c | diff --git a/test/server3.js b/test/server3.js
index <HASH>..<HASH> 100644
--- a/test/server3.js
+++ b/test/server3.js
@@ -35,6 +35,8 @@ http.createServer(function(req, resp) {
resp.end("stderr3")
})
})
+ } else if (req.url === "/argv") {
+ resp.end(process.argv.slice(2).join(','))
}
}).lis... | test sending command line args to script. #7 | andrewrk_naught | train | js,js |
f389cc483fcd6e4913672dbaf7823fc55220bfd6 | diff --git a/lib/bitcoin/payments/payment_request.pb.rb b/lib/bitcoin/payments/payment_request.pb.rb
index <HASH>..<HASH> 100644
--- a/lib/bitcoin/payments/payment_request.pb.rb
+++ b/lib/bitcoin/payments/payment_request.pb.rb
@@ -57,6 +57,13 @@ module Bitcoin
certs.first.public_key.verify(digest, signature, s... | Add Bitcoin::Payments::PaymentRequest#valid_time? which verify expire time for payment request | chaintope_bitcoinrb | train | rb,rb |
fc96f1d2da65fbe4a68a6147e941a33214cf4ed6 | diff --git a/lib/melon/ruby_compiler.rb b/lib/melon/ruby_compiler.rb
index <HASH>..<HASH> 100644
--- a/lib/melon/ruby_compiler.rb
+++ b/lib/melon/ruby_compiler.rb
@@ -50,7 +50,9 @@ module Melon
def get_name( statement )
return nil unless statement
- statement.children[1]
+ name = statement.child... | checking classes don't get created twice | ruby-x_rubyx | train | rb,rb |
bbeb44fc45ce262ad5c9b986a6f09ea3f5b60699 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ def main():
description = "Tools for manipulating biological data, particularly multiple sequence alignments",
url = "http://bitbucket.org/james_taylor/bx-python/wiki/Home",
... | Fix typo in classifiers list name in setup.py pointed out by Bob Harris. | bxlab_bx-python | train | py |
01d74ef6ad12e93cd90213519cd17646b4c2fd0b | diff --git a/src/body-renderer.js b/src/body-renderer.js
index <HASH>..<HASH> 100644
--- a/src/body-renderer.js
+++ b/src/body-renderer.js
@@ -14,7 +14,7 @@ export default class BodyRenderer {
renderRows(rows) {
let config = {
- itemHeight: 40,
+ itemHeight: this.options.cellHeight... | fix: 🐛 Pick cellHeight from options
HyperList should take cellHeight from options | frappe_datatable | train | js,js |
0a30725b5971bd4f81e9ce22056929cb388623c7 | diff --git a/rados/ioctx.go b/rados/ioctx.go
index <HASH>..<HASH> 100644
--- a/rados/ioctx.go
+++ b/rados/ioctx.go
@@ -141,17 +141,18 @@ func (ioctx *IOContext) Append(oid string, data []byte) error {
// Read reads up to len(data) bytes from the object with key oid starting at byte
// offset offset. It returns the nu... | ioctx: do not short-circuit read for empty slice
ioctx.read should contact the cluster even when its slice is empty so
that errors like ENOENT can be reported. | ceph_go-ceph | train | go |
4fc817317e486bda7db7fdf5ee82acda3f21d139 | diff --git a/src/drilldown.js b/src/drilldown.js
index <HASH>..<HASH> 100644
--- a/src/drilldown.js
+++ b/src/drilldown.js
@@ -83,8 +83,19 @@ function dd(object, _context, _key) {
}
};
drill.invoke = isFunction(object) ? object.bind(_context) : console.log.bind(null, 'dd', object);
+
+ drill.set =... | Add deprecation warnings to previously removed fn | d10n_drilldown | train | js |
a51e36999e58fe792dede75a77ec23d47d049ccf | diff --git a/tests/test_cli.py b/tests/test_cli.py
index <HASH>..<HASH> 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -629,6 +629,7 @@ def test_sync(runner, git_repo):
assert "Uploading history metrics" in str(result.output)
assert result.exit_code == 0
+@pytest.mark.skipif(os.getenv("NO_ML") or... | Dont test tensorboard in py2 or without ml | wandb_client | train | py |
0f5e1f86f75c22b16b8196ba7d60e8ca8fe5e06f | diff --git a/lib/etcd/client.rb b/lib/etcd/client.rb
index <HASH>..<HASH> 100644
--- a/lib/etcd/client.rb
+++ b/lib/etcd/client.rb
@@ -11,7 +11,11 @@ module Etcd
def initialize(opts={})
@host = opts[:host] || '127.0.0.1'
@port = opts[:port] || 4001
- @allow_redirect = opts[:allow_redirect] || tr... | silly bugs. false is a valid value for allow_redirect, raise error instead of returning | ranjib_etcd-ruby | train | rb |
aa63ba8e985ce73a1c1720de25b27a460012eb2b | diff --git a/go/vt/tabletmanager/healthcheck.go b/go/vt/tabletmanager/healthcheck.go
index <HASH>..<HASH> 100644
--- a/go/vt/tabletmanager/healthcheck.go
+++ b/go/vt/tabletmanager/healthcheck.go
@@ -271,7 +271,7 @@ func (agent *ActionAgent) runHealthCheck(targetTabletType topo.TabletType) {
// Change the Type, upda... | Not running hooks, to fix unit tests in some cases. | vitessio_vitess | train | go |
0246aaa23b1df0c752274892f69b3f61c1e72883 | diff --git a/x2j.go b/x2j.go
index <HASH>..<HASH> 100644
--- a/x2j.go
+++ b/x2j.go
@@ -24,7 +24,6 @@ import (
"encoding/xml"
"errors"
"fmt"
- // "reflect"
"regexp"
"strconv"
"strings" | <I> - cleanup some noice in comments | clbanning_x2j | train | go |
2fe11251ecdda76fdda39d696d809f8ddad775f3 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -26,9 +26,8 @@ after(function() {
try {fs.rmdirSync(fixturesPath, 0x1ed);} catch(err) {}
});
-describe('chokidar', function() {
- this.timeout(5000);
+describe('chokidar', function() {
it('should expose public API meth... | Fail faster
hopefully won’t need this anymore | paulmillr_chokidar | train | js |
996fd958ac12a7906367470fe2f6bdd05f56f608 | diff --git a/scrape/manager.go b/scrape/manager.go
index <HASH>..<HASH> 100644
--- a/scrape/manager.go
+++ b/scrape/manager.go
@@ -110,7 +110,7 @@ func (m *Manager) reload() {
scrapeConfig, ok := m.scrapeConfigs[setName]
if !ok {
level.Error(m.logger).Log("msg", "error reloading target set", "err", "invali... | fix deadlock in scrape manager (#<I>)
Scrape manager will fall in deadlock when we reload configs frequently. | prometheus_prometheus | train | go |
e4cf3931b3938457faf2f4fd1467bc46049552ae | diff --git a/tests/integration/modules/state.py b/tests/integration/modules/state.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/state.py
+++ b/tests/integration/modules/state.py
@@ -74,6 +74,31 @@ class StateModuleTest(integration.ModuleCase,
sls = self.run_function('state.show_sls', mods='rec... | Add integration test for the running dictionary structure
This will fail if we remove/rename any fields from the running
dictionary by accident. | saltstack_salt | train | py |
73b2be6a51b01b51443e9e5357e061e1664a3196 | diff --git a/spec/rails_best_practices/reviews/remove_unused_methods_in_models_review_spec.rb b/spec/rails_best_practices/reviews/remove_unused_methods_in_models_review_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rails_best_practices/reviews/remove_unused_methods_in_models_review_spec.rb
+++ b/spec/rails_best_practi... | test short syntax hash only in ruby <I> | flyerhzm_rails_best_practices | train | rb |
3aee123bc018bc117ff6cdeff8a317060502ad7b | diff --git a/lang.php b/lang.php
index <HASH>..<HASH> 100644
--- a/lang.php
+++ b/lang.php
@@ -1,5 +1,6 @@
<?php
require_once(dirname(__FILE__).'/lexical.php');
+use Pharen\Lexical as Lexical;
Lexical::$scopes['lang'] = array();
define("SYSTEM", dirname(__FILE__));
define("LIB_PATH", (SYSTEM . "/lib/")); | Use the namespaced Lexical class in lang. | Scriptor_pharen | train | php |
8a8f76a7b24aba4ae7a60148115632e7bbe4994e | diff --git a/lib/site_prism/element_container.rb b/lib/site_prism/element_container.rb
index <HASH>..<HASH> 100644
--- a/lib/site_prism/element_container.rb
+++ b/lib/site_prism/element_container.rb
@@ -108,8 +108,7 @@ module SitePrism::ElementContainer
def create_visibility_waiter element_name, element_selector
... | putting the block-args back as capybara no longer supports ruby <I> | natritmeyer_site_prism | train | rb |
0e631cd28be3e134d1dd1b940258634dfc93c5c9 | diff --git a/spec/routemaster/receiver/basic_spec.rb b/spec/routemaster/receiver/basic_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/routemaster/receiver/basic_spec.rb
+++ b/spec/routemaster/receiver/basic_spec.rb
@@ -29,11 +29,11 @@ describe Routemaster::Receiver::Basic do
let(:payload) do
[{
- topic... | Fixes test payload (did not match RM messages) | deliveroo_routemaster-drain | train | rb |
93bdc1337ae2c1f7f8ac5546b30feff7d0206366 | diff --git a/source/js/TL.Timeline.js b/source/js/TL.Timeline.js
index <HASH>..<HASH> 100755
--- a/source/js/TL.Timeline.js
+++ b/source/js/TL.Timeline.js
@@ -566,7 +566,9 @@ TL.Timeline = TL.Class.extend({
// Update hashbookmark in the url bar
_updateHashBookmark: function(id) {
var hash = "#" + "event-" + id.t... | make replaceState conditional. closes #<I> | NUKnightLab_TimelineJS3 | train | js |
4e2e8f597122e6af35ddc791bcb9febd0d59a6b0 | diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/version.rb
+++ b/lib/appsignal/version.rb
@@ -1,4 +1,4 @@
module Appsignal
- VERSION = '0.12.beta.29'
- AGENT_VERSION = '5a9fb30'
+ VERSION = '0.12.beta.30'
+ AGENT_VERSION = '8cdd29b'
end | Bump to <I>.beta<I> [ci skip] | appsignal_appsignal-ruby | train | rb |
daa729f9046c93cf4cd5f616a7de89dd253f3adf | diff --git a/ebs_deploy/__init__.py b/ebs_deploy/__init__.py
index <HASH>..<HASH> 100644
--- a/ebs_deploy/__init__.py
+++ b/ebs_deploy/__init__.py
@@ -411,7 +411,7 @@ class EbsHelper(object):
sleep(2)
def wait_for_environments(self, environment_names, health=None, status=None, version_label=None... | Fix typo in wait_for_environments | briandilley_ebs-deploy | train | py |
6bd159ac20cd41a035304bc2925ec939f75116f6 | diff --git a/src/Phar/PharComposer.php b/src/Phar/PharComposer.php
index <HASH>..<HASH> 100644
--- a/src/Phar/PharComposer.php
+++ b/src/Phar/PharComposer.php
@@ -208,6 +208,7 @@ class PharComposer
// failure to write will emit a warning (ignore) and throw an (uncaught) exception
try {
@$... | Improve Windows support by retrying rename to fix slow network drives | clue_phar-composer | train | php |
6de96721b0fe18fbf5906fc81797e4a31362a6f0 | diff --git a/blockstack/lib/operations/register.py b/blockstack/lib/operations/register.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/operations/register.py
+++ b/blockstack/lib/operations/register.py
@@ -583,8 +583,8 @@ def check_renewal( state_engine, nameop, block_id, checked_ops ):
# pre F-day 2017: we... | don't clear out sender_pubkey | blockstack_blockstack-core | train | py |
2d7438a6de82c439a5390b39d33f0c07e36b57a3 | diff --git a/model/NextDocumentSchema.js b/model/NextDocumentSchema.js
index <HASH>..<HASH> 100644
--- a/model/NextDocumentSchema.js
+++ b/model/NextDocumentSchema.js
@@ -82,6 +82,14 @@ export default class NextDocumentSchema {
].join('\n')
}
+ getNodeSchema (type) {
+ return this._documentSchema.getNodeS... | Expose more of the existing doc schema API. | substance_substance | train | js |
f115a45115f20bd5ac863b4417b156d2fbdf9e83 | diff --git a/tests/contrib/test_bootstrap.py b/tests/contrib/test_bootstrap.py
index <HASH>..<HASH> 100644
--- a/tests/contrib/test_bootstrap.py
+++ b/tests/contrib/test_bootstrap.py
@@ -43,3 +43,17 @@ class TestBootstrapTapeformMixin:
form = DummyForm()
assert form.get_widget_css_class(
... | Add tests for invalid fields in bootstrap | stephrdev_django-tapeforms | train | py |
2bd330f7cffc7ae8c59f588650e8d53190bc315b | diff --git a/src/Illuminate/Routing/Router.php b/src/Illuminate/Routing/Router.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Routing/Router.php
+++ b/src/Illuminate/Routing/Router.php
@@ -690,14 +690,17 @@ class Router implements RegistrarContract
*/
protected function runRouteWithinStack(Route $route... | should we gather route middlewares or not
Before this change we first gather the route middlewares and then check
wether we should pass them or not , but now we check if we want to use
them or not , if yes then we gather them otherwise we do not gather them. | laravel_framework | train | php |
af02e9c531c228394a8375f9fa76e11b64b18622 | diff --git a/lib/compile.js b/lib/compile.js
index <HASH>..<HASH> 100644
--- a/lib/compile.js
+++ b/lib/compile.js
@@ -143,7 +143,8 @@ function compileCodeFromFile(filename, options = {}) {
if (options.cache) {
const code = options.cache.get(filename);
if (code !== undefined) {
- return code;
+ resolve... | Fixed a bug where compiling cached templates never completes. | mxjp_node-subcode | train | js |
4fe47a02eee1ff16624d83498170b3996c5c4a85 | diff --git a/lib/solve/constraint.rb b/lib/solve/constraint.rb
index <HASH>..<HASH> 100644
--- a/lib/solve/constraint.rb
+++ b/lib/solve/constraint.rb
@@ -150,34 +150,28 @@ module Solve
attr_reader :pre_release
attr_reader :build
- # @param [#to_s] constraint (">= 0.0.0")
- def initialize(constraint =... | Eagerload @version for Constraint
Formerly, if a Constraint is frozen, calling #version would raise an
exception because it lazily cached the the version and saved it to an
instance variable. This commit eagerloads the version attribute and uses
an attr_reader instead. | berkshelf_solve | train | rb |
d8716a7582f5301787f25213c6421aef9c0d5aa7 | diff --git a/salt/cloud/clouds/openstack.py b/salt/cloud/clouds/openstack.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/openstack.py
+++ b/salt/cloud/clouds/openstack.py
@@ -844,7 +844,7 @@ def _assign_floating_ips(vm_, conn, kwargs):
pool = OpenStack_1_1_FloatingIpPool(
'... | salt-cloud will use list_floating_ips for Openstack (#<I>)
This changes salt-cloud for Openstack to list_floating_ips when
nodes are provisioned. This prevents quota errors whe attempting
to allocate IPs to a project when the quota is maxed out but there
are unassigned IPs. | saltstack_salt | train | py |
f87defddcaeb777249c23cba873aeff1942a3ff5 | diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -293,22 +293,4 @@ class Application extends \Symfony\Component\Console\Application
$command = $this->get($command);
return $this->doRunCommand($command, $input, $ou... | Drop the terminal dimension methods that have been removed upstream | duncan3dc_console | train | php |
bfa71bcd42a8f1a9018aa8c89266ccc574d11f57 | diff --git a/alot/addressbook/abook.py b/alot/addressbook/abook.py
index <HASH>..<HASH> 100644
--- a/alot/addressbook/abook.py
+++ b/alot/addressbook/abook.py
@@ -15,7 +15,7 @@ class AbookAddressBook(AddressBook):
:type path: str
"""
AddressBook.__init__(self, **kwargs)
- DEFAULTSPATH ... | alot/addressbook/abook.py: fix DEFAULTSPATH to account for code movement in commit 2f<I>af | pazz_alot | train | py |
0837c385a6477ebde0f5aa867cd41b4d12360d70 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -118,7 +118,7 @@ func (self *Client) Streams() (streams []av.CodecData, err error) {
return
}
-func (self *Client) sendRtpKeepalive() (err error) {
+func (self *Client) SendRtpKeepalive() (err error) {
if self.RtpKe... | make send rtp keepalive public | nareix_joy4 | train | go |
a5ece8397b520f350e75abdb1b7bac8fbbba2d62 | diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_obj.py
+++ b/pycm/pycm_obj.py
@@ -797,11 +797,10 @@ class ConfusionMatrix():
"""
if self.predict_vector is None or self.actual_vector is None:
raise pycmVectorError(VECTOR_ONLY_ERROR)
- cla... | fix : minor edit in position method | sepandhaghighi_pycm | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.