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 |
|---|---|---|---|---|---|
97599e7f2f739b168de1b2b40ccdff633a913d41 | diff --git a/public/ModuleDlstatsStatisticsDetails.php b/public/ModuleDlstatsStatisticsDetails.php
index <HASH>..<HASH> 100644
--- a/public/ModuleDlstatsStatisticsDetails.php
+++ b/public/ModuleDlstatsStatisticsDetails.php
@@ -33,8 +33,7 @@ while ($dir != '.' && $dir != '/' && !is_file($dir . '/system/initialize.php'))... | Fixed #<I> - exit() and die() functions should be avoided | BugBuster1701_dlstats | train | php |
a698946d7a6bd52bd1ceed0df1221d848f143b9d | diff --git a/version.go b/version.go
index <HASH>..<HASH> 100644
--- a/version.go
+++ b/version.go
@@ -2,4 +2,4 @@ package manifold
// Version is the package version of go-manifold. This gets automatically
// updated by running `make release`.
-const Version = "0.9.5"
+const Version = "0.9.7" | Tagging <I> (#<I>) | manifoldco_go-manifold | train | go |
1e6d452553f8d18b28e7d9c3589b7a84956731b3 | diff --git a/src/com/google/javascript/jscomp/ProcessClosurePrimitives.java b/src/com/google/javascript/jscomp/ProcessClosurePrimitives.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/ProcessClosurePrimitives.java
+++ b/src/com/google/javascript/jscomp/ProcessClosurePrimitives.java
@@ -1502,16 +... | Remove a leftover use of the old type checker in ProcessClosurePrimitives.
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
0243b14e30db91b04d4684aa0ddbde1a127ced7c | diff --git a/src/util.js b/src/util.js
index <HASH>..<HASH> 100644
--- a/src/util.js
+++ b/src/util.js
@@ -524,6 +524,10 @@ export function get (object, path) {
}
export function has (object, path, parent = false) {
+ if (typeof object === 'undefined') {
+ return false
+ }
+
const sections = path.split('.')... | fix: error on edit data of component without properties in devtools (#<I>) | vuejs_vue-devtools | train | js |
98ea8cb57065dce36dc3349af241f362f56c0975 | diff --git a/lib/adapters/postgres.js b/lib/adapters/postgres.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/postgres.js
+++ b/lib/adapters/postgres.js
@@ -577,15 +577,11 @@ var DB = define(Database, {
},
primaryKey:function (table, opts) {
- var ret = new Promise();
- var q... | fixed primarykey caching to use the promise. | C2FO_patio | train | js |
4750ae78e082b9666b11125a058fc4035096f08b | diff --git a/pipdeps.py b/pipdeps.py
index <HASH>..<HASH> 100755
--- a/pipdeps.py
+++ b/pipdeps.py
@@ -52,7 +52,8 @@ def command_install(bucket, verbose=False):
for key in bucket.list(prefix=PREFIX):
archive = key.name[len(PREFIX):]
key.get_contents_to_filename(os.path.join(archives_d... | Support precise pip by using file: url for directory | juju_juju | train | py |
ab36a42ea2bc5eacfd6a201c0d19c888793bfa6f | diff --git a/lib/distillery/document.rb b/lib/distillery/document.rb
index <HASH>..<HASH> 100644
--- a/lib/distillery/document.rb
+++ b/lib/distillery/document.rb
@@ -27,7 +27,7 @@ module Distillery
# HTML elements that are possible unrelated to the content of the content HTML
# element.
- POSSIBLE_UNREL... | Add <a> tags to the list list of possible unrelated elements. This helps remove bad anchors that are not part of the content. | Fluxx_distillery | train | rb |
057e0559af0491b3b3dcb6069be66a6d253f317a | diff --git a/test/feature-emulation-helpers.js b/test/feature-emulation-helpers.js
index <HASH>..<HASH> 100644
--- a/test/feature-emulation-helpers.js
+++ b/test/feature-emulation-helpers.js
@@ -120,6 +120,34 @@
return result;
}
+ function fromCodePoint()
+ {
+ var codeUnits = [];
+ ... | FROM_CODE_POINT feature emulation | fasttime_JScrewIt | train | js |
a039316c74253b6176b8fd9517a93295033f8ec5 | diff --git a/mode/haxe/haxe.js b/mode/haxe/haxe.js
index <HASH>..<HASH> 100644
--- a/mode/haxe/haxe.js
+++ b/mode/haxe/haxe.js
@@ -191,21 +191,20 @@ CodeMirror.defineMode("haxe", function(config, parserConfig) {
pass.apply(null, arguments);
return true;
}
+ function inList(name, list) {
+ for (var v = ... | [haxe mode] Tweak previous patch | codemirror_CodeMirror | train | js |
375f8be5a2f8be1ffd2d17d5d91b30900138565a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ with open(os.path.join(os.path.abspath(os.path.dirname(__file__)),
setup(
name='cartoframes',
- version='0.2.1-beta.1',
+ version='0.2.1b2',
description='An experimental Python pandas interfac... | conditionally installs IPython depending on major python version | CartoDB_cartoframes | train | py |
8af6ce8e447f9939638b8fd02a92889de654d58b | diff --git a/app/controllers/administrate/application_controller.rb b/app/controllers/administrate/application_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/administrate/application_controller.rb
+++ b/app/controllers/administrate/application_controller.rb
@@ -27,7 +27,7 @@ module Administrate
en... | Use new_resource in new action (#<I>) | thoughtbot_administrate | train | rb |
de0e4d39963e3efb13933ff30d06ec5ad259ffb0 | diff --git a/simra/engine.go b/simra/engine.go
index <HASH>..<HASH> 100644
--- a/simra/engine.go
+++ b/simra/engine.go
@@ -61,9 +61,11 @@ func (simra *Simra) Start(onStart, onStop chan bool) {
func (simra *Simra) SetScene(driver Driver) {
peer.LogDebug("IN")
peer.GetGLPeer().Reset()
+ peer.GetTouchPeer().RemoveAll... | remove and initialize touch listener on scene change | pankona_gomo-simra | train | go |
87ca23fc36cc024f55ee81f7421e7e833557de1b | diff --git a/incoming_request.js b/incoming_request.js
index <HASH>..<HASH> 100644
--- a/incoming_request.js
+++ b/incoming_request.js
@@ -109,8 +109,10 @@ TChannelIncomingRequest.prototype.handleFrame = function handleFrame(parts) {
self._argstream.handleFrame(parts);
} else {
if (!parts) return... | IncomingRequest: emit errors rather than throw them | uber_tchannel-node | train | js |
1f263709ffc168143625f7cc9b9a5d04a38d4fd5 | diff --git a/src/main/java/wyil/builders/VerificationConditionGenerator.java b/src/main/java/wyil/builders/VerificationConditionGenerator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/wyil/builders/VerificationConditionGenerator.java
+++ b/src/main/java/wyil/builders/VerificationConditionGenerator.java
@@ -582,1... | Bug fix for record assignment
There was a bug in the way that record assignment was being translated
in the VerificationConditionGenerator. It wasn't really doing anything
that made sense for the field being assigned!! | Whiley_WhileyCompiler | train | java |
d03e2f8fd481603b609340a447558d38f1ad76ec | diff --git a/runtests.py b/runtests.py
index <HASH>..<HASH> 100644
--- a/runtests.py
+++ b/runtests.py
@@ -8,8 +8,10 @@
File for running tests programmatically.
"""
+# Standard library imports
+import sys
+
# Third party imports
-import qtpy
import pytest
@@ -17,9 +19,9 @@ def main():
"""
Run pytest... | Tests: Exit runtests.py with error code from py.test
This allows CI tools to notice when tests fail. | spyder-ide_spyder | train | py |
37b42cac2a618b7e4b8e0b9261e8babb8e5e5a58 | diff --git a/src/Middleware/Middleware.php b/src/Middleware/Middleware.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/Middleware.php
+++ b/src/Middleware/Middleware.php
@@ -41,7 +41,7 @@ class Middleware implements MiddlewareInterface
public function __invoke($request)
{
if ($this->isMatch($req... | bug fix: use the main app from $this->app, not $this->next. | TuumPHP_Web | train | php |
570edfd1ee1e6a7e5657d10dac3d67810ff461bf | diff --git a/src/finalisers/shared/getExportBlock.js b/src/finalisers/shared/getExportBlock.js
index <HASH>..<HASH> 100644
--- a/src/finalisers/shared/getExportBlock.js
+++ b/src/finalisers/shared/getExportBlock.js
@@ -1,3 +1,7 @@
+function propertyAccess ( name ) {
+ return name === 'default' ? `['default']` : `.${nam... | Fixed `getExportBlock` for external names. | rollup_rollup | train | js |
5fa250514d260b5189178bc8e5ff495fd8e782cf | diff --git a/lib/rails_admin/config/fields/types/multiple_file_upload.rb b/lib/rails_admin/config/fields/types/multiple_file_upload.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_admin/config/fields/types/multiple_file_upload.rb
+++ b/lib/rails_admin/config/fields/types/multiple_file_upload.rb
@@ -38,7 +38,8 @@ module ... | feat(types): show correct file name | sferik_rails_admin | train | rb |
b3be074ddf62d4990111845816fa9ab627076ce7 | diff --git a/src/interfaces/writablestream.js b/src/interfaces/writablestream.js
index <HASH>..<HASH> 100644
--- a/src/interfaces/writablestream.js
+++ b/src/interfaces/writablestream.js
@@ -6,6 +6,7 @@
"use strict";
/*global _gpfDefineInterface*/ // Internal interface definition helper
/*global _gpfSyncReadSourceJS... | export _gpfIWritableStream | ArnaudBuchholz_gpf-js | train | js |
0e2f76f598275ceb0cfcef1f753df8d663dce0fc | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -63,6 +63,7 @@ setup(
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
+ 'Programming Language :: Python :: 2.7',
... | Fix programming language classifier (we do support python <I>) | pyQode_pyqode.core | train | py |
a84de283b2012836a8512c54f927e34907e46c5a | diff --git a/lib/stats/DefaultStatsPrinterPlugin.js b/lib/stats/DefaultStatsPrinterPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/stats/DefaultStatsPrinterPlugin.js
+++ b/lib/stats/DefaultStatsPrinterPlugin.js
@@ -305,7 +305,7 @@ const SIMPLE_PRINTERS = {
rendered ? green(formatFlag("rendered")) : undefined,
"chu... | avoid printing undefined when there is no chunk reason | webpack_webpack | train | js |
59f5c606a9b5208ba64c874199dcb3977a1d282f | diff --git a/src/global.js b/src/global.js
index <HASH>..<HASH> 100644
--- a/src/global.js
+++ b/src/global.js
@@ -29,8 +29,8 @@
}
// CommonJS module 1.1.1 spec (`exports` cannot be a function)
exports.me = me;
- } else {
- global.me = me;
}
+ // declare me globally
+ glo... | always export/declare `me` globally | melonjs_melonJS | train | js |
14ea525805d7948d1ade3234d33bcc9408953b30 | diff --git a/lib/chef/knife/core/bootstrap_context.rb b/lib/chef/knife/core/bootstrap_context.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/core/bootstrap_context.rb
+++ b/lib/chef/knife/core/bootstrap_context.rb
@@ -223,6 +223,7 @@ validation_client_name "#{@chef_config[:validation_client_name]}"
... | If we don't have a run_list, don't send it
This should help bootstrapping with policies
Fixes: #<I> | chef_chef | train | rb,rb |
afffba5b8480f9bb7f3c7a5da9f43101636e7bb4 | diff --git a/openid.js b/openid.js
index <HASH>..<HASH> 100644
--- a/openid.js
+++ b/openid.js
@@ -1021,7 +1021,7 @@ openid.verifyAssertion = function(requestOrUrl, callback, stateless, extensions,
if(typeof(requestOrUrl) !== typeof(''))
{
if(requestOrUrl.method == 'POST') {
- if(requestOrUrl.headers['c... | Looser content-type check for POST responses accepts charsets (fixes #<I>) | havard_node-openid | train | js |
abbf8ba519c500fdfd6cdb3bc03b835af149b110 | diff --git a/kerncraft/cacheprediction.py b/kerncraft/cacheprediction.py
index <HASH>..<HASH> 100755
--- a/kerncraft/cacheprediction.py
+++ b/kerncraft/cacheprediction.py
@@ -83,12 +83,14 @@ class LayerConditionPredictor(CachePredictor):
raise ValueError("Only one loop counter may appear per te... | improved compatibility check in layer condition predictor | RRZE-HPC_kerncraft | train | py |
87e83b8b43cc0cef4eb3613cdb37005e752d723a | diff --git a/lib/plugins/aws/invokeLocal/index.js b/lib/plugins/aws/invokeLocal/index.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/invokeLocal/index.js
+++ b/lib/plugins/aws/invokeLocal/index.js
@@ -233,7 +233,7 @@ class AwsInvokeLocal {
'package',
'-f',
path.join(javaBridgePath... | Add Windows support for spawning mvn | serverless_serverless | train | js |
e7a260f6ff89fb5e76bc31def23115bddc80cca6 | diff --git a/parsl/dataflow/futures.py b/parsl/dataflow/futures.py
index <HASH>..<HASH> 100644
--- a/parsl/dataflow/futures.py
+++ b/parsl/dataflow/futures.py
@@ -45,8 +45,31 @@ class AppFuture(Future):
super().__init__()
self.parent = parent
+
+ def parent_callback(self, executor_fu):
+ ... | Added the callback to update super() when executor_future is resolved. | Parsl_parsl | train | py |
cebbae3045be660366b696b038abbdb3d07be1b1 | diff --git a/src/org/parosproxy/paros/core/scanner/PluginFactory.java b/src/org/parosproxy/paros/core/scanner/PluginFactory.java
index <HASH>..<HASH> 100644
--- a/src/org/parosproxy/paros/core/scanner/PluginFactory.java
+++ b/src/org/parosproxy/paros/core/scanner/PluginFactory.java
@@ -42,6 +42,7 @@
// ZAP: 2015/11/02... | Set existing Plugin instance as completed
Change PluginFactory to set the existing Plugin instance as completed
instead of the instance passed as parameter, to ensure that the Plugin
that's returned as completed is the correct instance and not one of the
instances created during and for the active scan (which might no... | zaproxy_zaproxy | train | java |
e16e76f96bc7bf27008e0622cc786887a8c03991 | diff --git a/src/settings.js b/src/settings.js
index <HASH>..<HASH> 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -107,7 +107,7 @@ export class Settings {
/**
* Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
- * @type {Zone}
+ * @type {boolean}
*/
... | throwOnInvalid is a boolean (#<I>) | moment_luxon | train | js |
ecff790978e4de33fe0bf98e0854a01c2dd3ee34 | diff --git a/languagetool-language-modules/de/src/main/java/org/languagetool/tokenizers/de/GermanCompoundTokenizer.java b/languagetool-language-modules/de/src/main/java/org/languagetool/tokenizers/de/GermanCompoundTokenizer.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/de/src/main/java/org/langua... | [de] fix splitting of Alpinforum | languagetool-org_languagetool | train | java |
9fbb1e10759f338ea39afaa6e8f63d74cdfe9ba4 | diff --git a/jimfs/src/main/java/com/google/jimfs/internal/PathMatchers.java b/jimfs/src/main/java/com/google/jimfs/internal/PathMatchers.java
index <HASH>..<HASH> 100644
--- a/jimfs/src/main/java/com/google/jimfs/internal/PathMatchers.java
+++ b/jimfs/src/main/java/com/google/jimfs/internal/PathMatchers.java
@@ -20,6 ... | Make path matcher syntax (e.g. "glob:" or "regex:") case insensitive as specified. | google_jimfs | train | java |
7528beea1e7808e59a425fd83cd770afe1f50752 | diff --git a/Proxy/Client/SoapClient.php b/Proxy/Client/SoapClient.php
index <HASH>..<HASH> 100644
--- a/Proxy/Client/SoapClient.php
+++ b/Proxy/Client/SoapClient.php
@@ -16,8 +16,8 @@ use Biplane\YandexDirectBundle\Exception\NetworkException;
*/
class SoapClient extends \SoapClient implements ClientInterface
{
- ... | Changed the endpoint for SOAP | biplane_yandex-direct | train | php |
2556aad78d398beb85b1bd96c94fa390cde158e0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -68,9 +68,16 @@ class TestCommand(Command):
sys.exit(exit_code)
+from os import path
+this_directory = path.abspath(path.dirname(__file__))
+with open(path.join(this_directory, 'README.rst')) as f:
+ long_descr... | Adjust setup.py to fix missing long description | xtuml_pyxtuml | train | py |
f4d702aec36a3b8a29207d9c6f67d183d1d4e64b | diff --git a/src/main/java/org/jdbdt/Table.java b/src/main/java/org/jdbdt/Table.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jdbdt/Table.java
+++ b/src/main/java/org/jdbdt/Table.java
@@ -152,7 +152,7 @@ public final class Table extends DataSource {
* Ensure table is bound to a connection,
* otherwis... | Table: checkIfBound/notBound package protected (again) | JDBDT_jdbdt | train | java |
d1579b4c5b18b4bf81dc832bc84c2e6d14f2b34a | diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,8 +1,7 @@
import os
import sys
-
f = os.readlink(__file__) if os.path.islink(__file__) else __file__
path = os.path.realpath(os.path.join(f, "..", "..", "src"))
if path not in sys.... | ensure code from src dir is used | jopohl_urh | train | py |
3b3251752577e6945627de7d1bd8631c91c1cfda | diff --git a/app/models/socializer/activity.rb b/app/models/socializer/activity.rb
index <HASH>..<HASH> 100644
--- a/app/models/socializer/activity.rb
+++ b/app/models/socializer/activity.rb
@@ -5,6 +5,7 @@ module Socializer
class Activity < ActiveRecord::Base
include ObjectTypeBase
+ # TODO: Remove defaul... | add some TODOs related to default_scope | socializer_socializer | train | rb,rb |
26ea1af44d908debcc7f0ac29ea2f1de4106ae1f | diff --git a/src/main/java/com/github/tomakehurst/wiremock/client/VerificationException.java b/src/main/java/com/github/tomakehurst/wiremock/client/VerificationException.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/tomakehurst/wiremock/client/VerificationException.java
+++ b/src/main/java/com/github/... | Added missing type parameter to List in method signature in VerificationException | tomakehurst_wiremock | train | java |
1e7295ce1e35f64b3c13f26830239c9cbf3c5379 | diff --git a/go/libkb/ca.go b/go/libkb/ca.go
index <HASH>..<HASH> 100644
--- a/go/libkb/ca.go
+++ b/go/libkb/ca.go
@@ -11,7 +11,7 @@ var apiCAOverrideForTest = ""
// no matching CA is found for host.
func GetBundledCAsFromHost(host string) (rootCA []byte, ok bool) {
host = strings.TrimSpace(strings.ToLower(host))
-... | expose API CA (#<I>) | keybase_client | train | go |
605bfe4f56f9d58e69180947ae8aa89526103fc5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -35,15 +35,14 @@ setup(author='Mateusz Susik',
'Topic :: Utilities'
],
cmdclass={'test': PyTest},
- description='A python wrapper over ORCID API',
+ description='A python wrapper over the ORCID... | setup: move to ORCID organisation | ORCID_python-orcid | train | py |
346f4042c18005af51b97e984808be287047a5ee | diff --git a/test/vain.js b/test/vain.js
index <HASH>..<HASH> 100644
--- a/test/vain.js
+++ b/test/vain.js
@@ -129,5 +129,22 @@ describe('Vain', function() {
router.handle({ url: testPath, method: 'GET', path: testPath}, res);
});
+
+ it("should return a 404 for invalid paths", function(done) {
+ ... | Add a spec for returning <I> for invalid paths. | farmdawgnation_vain | train | js |
8f70c0cc2fd0a8e671e8b7655001da00060a7d04 | diff --git a/moz_sql_parser/sql_parser.py b/moz_sql_parser/sql_parser.py
index <HASH>..<HASH> 100644
--- a/moz_sql_parser/sql_parser.py
+++ b/moz_sql_parser/sql_parser.py
@@ -99,7 +99,7 @@ KNOWN_OPS = [
Literal("==").setName("eq").setDebugActions(*debug),
Literal("!=").setName("neq").setDebugActions(*debug),
... | rename the not in keyword in SQL ast to nin | mozilla_moz-sql-parser | train | py |
80b9463d550b865d6dc513cbec59e72fc400c51a | diff --git a/symphony/lib/toolkit/class.mysql.php b/symphony/lib/toolkit/class.mysql.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/class.mysql.php
+++ b/symphony/lib/toolkit/class.mysql.php
@@ -326,7 +326,8 @@
elseif($this->_lastResult == NULL){
return array();
}
-
+
+... | In case of mysql->query() returning empty array, fetch() was returning NULL. Initialize to fix that. | symphonycms_symphony-2 | train | php |
2955856bae93893872994fbe0362bc559e1108a5 | diff --git a/pharen.php b/pharen.php
index <HASH>..<HASH> 100644
--- a/pharen.php
+++ b/pharen.php
@@ -860,7 +860,7 @@ class LeafNode extends Node{
public $value;
public $tok;
- public function __construct($parent, $children, $value, $tok){
+ public function __construct($parent, $children, $value, $to... | Let LeafNodes have a reference to the ancestral token. | Scriptor_pharen | train | php |
c924619f9f57b98c077af77f9ec9093406f39b88 | diff --git a/minimongo/test.py b/minimongo/test.py
index <HASH>..<HASH> 100644
--- a/minimongo/test.py
+++ b/minimongo/test.py
@@ -164,7 +164,6 @@ class TestSimpleModel(unittest.TestCase):
self.assertEqual(indices['x_1'],
{'key': [('x', 1)]})
-
def test_unique_index(self):
... | Fixed bad test for previous changeset, pep8 | slacy_minimongo | train | py |
e9d127f7eee4a3dbffee6b421e293adcf46fcc52 | diff --git a/treeherder/settings/base.py b/treeherder/settings/base.py
index <HASH>..<HASH> 100644
--- a/treeherder/settings/base.py
+++ b/treeherder/settings/base.py
@@ -308,9 +308,9 @@ BUILDAPI_BUILDS4H_URL = "https://secure.pub.build.mozilla.org/builddata/buildjso
# data job ingestion.
# If TreeherderCollections a... | bump chunk size to <I> from <I> | mozilla_treeherder | train | py |
6fb8bf625fcfa12b085101838813ab7bc4635dae | diff --git a/spec/unit/parser/ast/definition.rb b/spec/unit/parser/ast/definition.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/parser/ast/definition.rb
+++ b/spec/unit/parser/ast/definition.rb
@@ -30,7 +30,7 @@ describe Puppet::Parser::AST::Definition, "when evaluating" do
end
it "should have a get_classn... | Fixing ruby warning in definition test | puppetlabs_puppet | train | rb |
3519ef04e2e7ff7d19a7dc01f9055613024c1a3b | diff --git a/src/ZineInc/Storage/Common/FileId.php b/src/ZineInc/Storage/Common/FileId.php
index <HASH>..<HASH> 100644
--- a/src/ZineInc/Storage/Common/FileId.php
+++ b/src/ZineInc/Storage/Common/FileId.php
@@ -41,6 +41,23 @@ final class FileId
return count($this->attributes->all()) > 0 || $this->filename() !=... | FileId::variant factory method | zineinc_floppy-common | train | php |
6d618c4f01c373ad798c6e2fb1599deb90018db0 | diff --git a/bin/templates/scripts/cordova/lib/Podfile.js b/bin/templates/scripts/cordova/lib/Podfile.js
index <HASH>..<HASH> 100644
--- a/bin/templates/scripts/cordova/lib/Podfile.js
+++ b/bin/templates/scripts/cordova/lib/Podfile.js
@@ -39,7 +39,7 @@ function Podfile (podFilePath, projectName, minDeploymentTarget) {
... | Bump default minDeploymentTarget to <I> in Podfile (#<I>) | apache_cordova-ios | train | js |
c9b771aacfff102dbe74244f8b48eebcfe5278e2 | diff --git a/src/com/google/javascript/rhino/jstype/UnionType.java b/src/com/google/javascript/rhino/jstype/UnionType.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/rhino/jstype/UnionType.java
+++ b/src/com/google/javascript/rhino/jstype/UnionType.java
@@ -352,7 +352,7 @@ public class UnionType extend... | fix a javadoc warning that was bugging me
R=zhuyi
DELTA=1 (0 added, 0 deleted, 1 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | java |
26653c8b5c69879e9ff166055d96c5b0b6fcaf17 | diff --git a/version.php b/version.php
index <HASH>..<HASH> 100644
--- a/version.php
+++ b/version.php
@@ -29,11 +29,11 @@
defined('MOODLE_INTERNAL') || die();
-$version = 2015111600.00; // 20151116 = branching date YYYYMMDD - do not modify!
+$version = 2015111600.00; // YYYYMMDD ... | weekly back-to-dev release <I>dev | moodle_moodle | train | php |
81b51967d856f232d42cfc233c4f35a66ae8fd41 | diff --git a/easypysmb/easypysmb.py b/easypysmb/easypysmb.py
index <HASH>..<HASH> 100644
--- a/easypysmb/easypysmb.py
+++ b/easypysmb/easypysmb.py
@@ -71,11 +71,12 @@ class EasyPySMB():
logger.warning(
'Share {} does not exist on the server'.format(self.share_name)
... | Skip file path check if not set | pschmitt_easypysmb | train | py |
dbe38062010ef96a8a6232394b4b3fb0ad8b2494 | diff --git a/pyannote/metrics/spotting.py b/pyannote/metrics/spotting.py
index <HASH>..<HASH> 100644
--- a/pyannote/metrics/spotting.py
+++ b/pyannote/metrics/spotting.py
@@ -58,8 +58,8 @@ class LowLatencySpeakerSpotting(BaseMetric):
'true_negative': 0.,
'false_negative': 0.}
- def __init... | chore: disable parallel processing for speaker spotting metric | pyannote_pyannote-metrics | train | py |
285440727764881daaa2de106334e83078c5d33c | diff --git a/src/User/User.php b/src/User/User.php
index <HASH>..<HASH> 100644
--- a/src/User/User.php
+++ b/src/User/User.php
@@ -17,7 +17,7 @@ use vxPHP\Security\Password\PasswordEncrypter;
* wraps authentication and role assignment
*
* @author Gregor Kofler, info@gregorkofler.com
- * @version 2.1.2 2021-04-28... | fix: User::getAttribute() can return null | Vectrex_vxPHP | train | php |
42716aa1266a1870492b9131a4f2d5d695cc82ce | diff --git a/redis_collections/dicts.py b/redis_collections/dicts.py
index <HASH>..<HASH> 100644
--- a/redis_collections/dicts.py
+++ b/redis_collections/dicts.py
@@ -84,13 +84,6 @@ class Dict(RedisCollection, collections.MutableMapping):
if data:
self.update(data)
- def _get_hash_dict(self, ... | Remove _get_hash_dict method | honzajavorek_redis-collections | train | py |
ff120bc8306b12e041ea1f67956136b2ebd919bb | diff --git a/thinc/extra/datasets.py b/thinc/extra/datasets.py
index <HASH>..<HASH> 100644
--- a/thinc/extra/datasets.py
+++ b/thinc/extra/datasets.py
@@ -74,6 +74,8 @@ def read_conll(loc):
word, pos, head, label = pieces
else:
idx, word, lemma, pos1, pos, morph, head, lab... | Filter fused tokens from Ancora data | explosion_thinc | train | py |
82d2884da91fc6c660cb875e6f6cf48b371f6f3c | diff --git a/ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/GitIssueSearchExtension.java b/ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/GitIssueSearchExtension.java
index <HASH>..<HASH> 100644
--- a/ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/... | #<I> Displaying the GitHub issue with a leading # | nemerosa_ontrack | train | java |
76f23a56dd8782518a1bf71dc60066c97b0fe144 | diff --git a/lib/erector/needs.rb b/lib/erector/needs.rb
index <HASH>..<HASH> 100644
--- a/lib/erector/needs.rb
+++ b/lib/erector/needs.rb
@@ -1,5 +1,7 @@
module Erector
module Needs
+ NO_DUP_CLASSES = [NilClass, FalseClass, TrueClass, 0.class, Float, Symbol].freeze
+
def self.included(base)
base.ext... | Fixnum is deprecated in ruby >= <I> | erector_erector | train | rb |
4f163ff66e4c4d780b9f7a3304204d0e6bfccc54 | diff --git a/graphistry/tests/test_compute.py b/graphistry/tests/test_compute.py
index <HASH>..<HASH> 100644
--- a/graphistry/tests/test_compute.py
+++ b/graphistry/tests/test_compute.py
@@ -118,3 +118,9 @@ class TestComputeMixin(NoAuthTestCase):
cg = CGFull()
g = cg.edges(pd.DataFrame({'s': ['a', 'b'... | add tests for drop_nodes (#<I>) | graphistry_pygraphistry | train | py |
e88fbdf48ab0f6bee60cb848ec87c620c3786a1a | diff --git a/templates/html/views/methodDetails.php b/templates/html/views/methodDetails.php
index <HASH>..<HASH> 100644
--- a/templates/html/views/methodDetails.php
+++ b/templates/html/views/methodDetails.php
@@ -23,6 +23,7 @@ ArrayHelper::multisort($methods, 'name');
<div class="detailHeader h3" id="<?= $method->n... | added method visibility to api docs
issue #<I> | yiisoft_yii2-apidoc | train | php |
fd0cfe0dfb9c31e77c32209c5d0a1d91cd386a65 | diff --git a/src/ContextMenu.js b/src/ContextMenu.js
index <HASH>..<HASH> 100644
--- a/src/ContextMenu.js
+++ b/src/ContextMenu.js
@@ -96,12 +96,11 @@ export default class ContextMenu extends Component {
}
getMenuPosition = (x, y) => {
- const {scrollTop: scrollX, scrollLeft: scrollY} = document.docu... | Fix bug for menu not showing when page is scrolled | vkbansal_react-contextmenu | train | js |
6ffd79ff6bf5f345e965d28e4d0064cb44937c11 | diff --git a/vdom/patch-op.js b/vdom/patch-op.js
index <HASH>..<HASH> 100644
--- a/vdom/patch-op.js
+++ b/vdom/patch-op.js
@@ -137,7 +137,7 @@ function reorderChildren(domNode, bIndex) {
move = bIndex[i]
if (move !== undefined && move !== i) {
// the element currently at this index will b... | optimize the case where a new element is added to front of list | Matt-Esch_virtual-dom | train | js |
6f70f2443e065b5eb7cd78b7760fe566c4c64cfa | diff --git a/bse/refconverters/bib.py b/bse/refconverters/bib.py
index <HASH>..<HASH> 100644
--- a/bse/refconverters/bib.py
+++ b/bse/refconverters/bib.py
@@ -13,6 +13,9 @@ def _ref_bib(key,ref):
entry_lines = []
for k,v in ref.items():
+ if k == 'type':
+ continue
+
# Handle auth... | Don't use type key in bibtex output | MolSSI-BSE_basis_set_exchange | train | py |
320d187f2a434bcde306e4ce982dd53fba2dc090 | diff --git a/core-bundle/contao/library/Contao/Model.php b/core-bundle/contao/library/Contao/Model.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/library/Contao/Model.php
+++ b/core-bundle/contao/library/Contao/Model.php
@@ -183,7 +183,6 @@ abstract class Model
}
$this->arrData[$strKey] = $varValue;
-... | [Core] Fix some minor code formatting issues | contao_contao | train | php |
85fed7cdcbd07c59c9cf5e2b50db350b0b0176dd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ setup_params = dict(
extras_require={
':sys_platform=="win32"': 'jaraco.windows>=3.4',
':sys_platform=="darwin"': richxerox,
- ':sys_platform=="linux2" or sys.platform=="linux"': pyperclip,
+ ':sys_pla... | Literally pyperclip. | jaraco_jaraco.clipboard | train | py |
0624981e73b270391eed5a1d538fd5c5a079f3b0 | diff --git a/post-processing.rb b/post-processing.rb
index <HASH>..<HASH> 100755
--- a/post-processing.rb
+++ b/post-processing.rb
@@ -9,7 +9,7 @@ buffer = ARGF.inject(String.new) do |buffer, line|
# line filters
line.gsub!(/\s*\n$/, "\n")
line.gsub!("'", '"')
- line.gsub!('u"', '"')
+ line.gsub!('u"', '"') ... | Made the u"..." removal a bit safer | ruby-amqp_amq-protocol | train | rb |
9cbacf4144c915f01eed79b55aa8968ae98791fa | diff --git a/matplotlib2tikz.py b/matplotlib2tikz.py
index <HASH>..<HASH> 100644
--- a/matplotlib2tikz.py
+++ b/matplotlib2tikz.py
@@ -666,7 +666,7 @@ def _transform_to_data_coordinates(obj, xdata, ydata):
'''
try:
import matplotlib.transforms
- points = zip(xdata, ydata)
+ points = np.... | Fix transformation error
In "_transform_to_data_coordinates" the points are passed to
"Transform.transform" which expects a numpy array. Fix this by
converting points to numpy array. | nschloe_matplotlib2tikz | train | py |
b2cc97018edda1039039a41973c949c42694bbbc | diff --git a/src/map.js b/src/map.js
index <HASH>..<HASH> 100644
--- a/src/map.js
+++ b/src/map.js
@@ -446,12 +446,12 @@ map.cellAtTile = function(x, y) {
// Get the cell at the given pixel coordinates, or return a dummy cell.
map.cellAtPixel = function(x, y) {
- return map.cellAtTile(Math.round(this.x / TILE_SIZE... | Fix silly copy&paste mistake. | stephank_orona | train | js |
7de2d129c2292b77abe090d84a646fea106fc251 | diff --git a/visidata/sheets.py b/visidata/sheets.py
index <HASH>..<HASH> 100644
--- a/visidata/sheets.py
+++ b/visidata/sheets.py
@@ -1077,7 +1077,9 @@ def preloadHook(sheet):
@VisiData.api
def newSheet(vd, name, ncols, **kwargs):
- return Sheet(name, columns=[SettableColumn() for i in range(ncols)], **kwargs)
... | [quitguard] guard new sheets by default #<I> | saulpw_visidata | train | py |
ffe5f0755e656296aafe8521b5bc08937709cd7e | diff --git a/lib/lol/request.rb b/lib/lol/request.rb
index <HASH>..<HASH> 100644
--- a/lib/lol/request.rb
+++ b/lib/lol/request.rb
@@ -115,7 +115,7 @@ module Lol
# @param body [Hash] Body for POST request
# @param options [Hash] Options passed to HTTParty
# @return [String] raw response of the call
- ... | Rubymine linter suggestions for parens according to Ruby Style Guide | mikamai_ruby-lol | train | rb |
34fca36ea4628a708dbf625e957899abf0a0cf95 | diff --git a/lib/hocon/impl/config_number.rb b/lib/hocon/impl/config_number.rb
index <HASH>..<HASH> 100644
--- a/lib/hocon/impl/config_number.rb
+++ b/lib/hocon/impl/config_number.rb
@@ -30,16 +30,9 @@ class Hocon::Impl::ConfigNumber
end
def int_value_range_checked(path)
- l = long_value
-
- # guess we do... | (maint) add comment about Ruby vs. Java integers | puppetlabs_ruby-hocon | train | rb |
3d74ff97af50e47bd93a50c010b8f296bcda76b8 | diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go
index <HASH>..<HASH> 100644
--- a/cmd/syncthing/gui.go
+++ b/cmd/syncthing/gui.go
@@ -1123,7 +1123,7 @@ func (s *apiService) getSupportBundle(w http.ResponseWriter, r *http.Request) {
}
// Set zip file name and path
- zipFileName := fmt.Sprintf("support-bun... | cmd/syncthing: Fix support bundle zip name pattern | syncthing_syncthing | train | go |
8283f46d0bd286e3c84245a94f360e683c153fd8 | diff --git a/packages/@vue/cli/lib/util/configTransforms.js b/packages/@vue/cli/lib/util/configTransforms.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/cli/lib/util/configTransforms.js
+++ b/packages/@vue/cli/lib/util/configTransforms.js
@@ -13,7 +13,7 @@ const isObject = val => val && typeof val === 'object'
con... | fix: fix config merging during `vue invoke` in Node.js <I> (#<I>)
The root cause here is the same as #<I>
The failing `loadModule` call will return `undefined` for a js config
read operation, which later caused config being overwritten. | vuejs_vue-cli | train | js |
7324c0a28da457f0a76fc07cef3a7b8fb7704aac | diff --git a/regression/clear_datastore.py b/regression/clear_datastore.py
index <HASH>..<HASH> 100644
--- a/regression/clear_datastore.py
+++ b/regression/clear_datastore.py
@@ -21,7 +21,6 @@ from gcloud.datastore import _implicit_environ
_implicit_environ._DATASET_ENV_VAR_NAME = 'GCLOUD_TESTS_DATASET_ID'
-datast... | Using fully implicit auth in datastore regression. | googleapis_google-cloud-python | train | py,py,py |
373f668562fedede73ec46c017d4bbc2b5e059fb | diff --git a/src/message.js b/src/message.js
index <HASH>..<HASH> 100644
--- a/src/message.js
+++ b/src/message.js
@@ -1,8 +1,9 @@
/// Implements Bitcoin's feature for signing arbitrary messages.
-var SHA256 = require('crypto-js/sha256')
-var ecdsa = require('./ecdsa')
+var Address = require('./address')
var conver... | Adds version support to Message.verifyMessage | BitGo_bitgo-utxo-lib | train | js |
575ff70a1be7cc33a678048e813ccb0e6a84571b | diff --git a/android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java b/android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java
index <HASH>..<HASH> 100644
--- a/android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java
+++ b/android/app/src/mai... | Use INVISIBLE to hide screens so they get measured on creation | wix_react-native-navigation | train | java |
82643d7f7e6dae15e78d5bb5864f9530ab3fdcc8 | diff --git a/src/js/tree.js b/src/js/tree.js
index <HASH>..<HASH> 100644
--- a/src/js/tree.js
+++ b/src/js/tree.js
@@ -270,13 +270,13 @@
expand = expand === undefined ? $li.hasClass('open') : false;
if(expand) this.store[id] = expand;
else delete this.store[id];
- this.... | * fix error in preserve method of tree. | easysoft_zui | train | js |
58d1716ccc5cd4b16a9b5f2a6070157e2b411c82 | diff --git a/src/Bkwld/Decoy/Models/Worker.php b/src/Bkwld/Decoy/Models/Worker.php
index <HASH>..<HASH> 100644
--- a/src/Bkwld/Decoy/Models/Worker.php
+++ b/src/Bkwld/Decoy/Models/Worker.php
@@ -160,10 +160,15 @@ class Worker extends \Illuminate\Console\Command {
}
/**
- * Write Command input types to the log
+... | Fixing error when worker not called via worker options | BKWLD_decoy | train | php |
bd15b915d113da4b3d35fddc3dc1a62dee91aa5b | diff --git a/example/config/routes.rb b/example/config/routes.rb
index <HASH>..<HASH> 100644
--- a/example/config/routes.rb
+++ b/example/config/routes.rb
@@ -1,4 +1,5 @@
Rails.application.routes.draw do
+ resources :attached_files
resources :issue_comments
devise_for :users
resources :projects | be rails g resource_route attached_files | akm_model_base_generators | train | rb |
4bd48ac066d7ef49b7126e9487aa4f2479616247 | diff --git a/test/tests.js b/test/tests.js
index <HASH>..<HASH> 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -4,7 +4,7 @@ var r = function(suite) {
}
var fetch = [
- "level1/core",
+ "level1/core",
"level1/html",
"level1/svg",
"level2/core",
@@ -12,10 +12,13 @@ var fetch = [
"level2/style",
"le... | remove level3 from the runner as it seems to be breaking stuff | jsdom_jsdom | train | js |
c2e3bf5bcebb5356b5e260d558d2468d4f840c6f | diff --git a/GPy/util/caching.py b/GPy/util/caching.py
index <HASH>..<HASH> 100644
--- a/GPy/util/caching.py
+++ b/GPy/util/caching.py
@@ -57,13 +57,15 @@ class Cacher(object):
for ind in combined_args_kw:
if ind is not None:
ind_id = self.id(ind)
- ... | [caching] catching key error, when individuum is already gone | SheffieldML_GPy | train | py |
a3b988d56753bdce7727461d485659e659b83b59 | diff --git a/shutdownmanagers/awsmanager/aws.go b/shutdownmanagers/awsmanager/aws.go
index <HASH>..<HASH> 100644
--- a/shutdownmanagers/awsmanager/aws.go
+++ b/shutdownmanagers/awsmanager/aws.go
@@ -193,21 +193,23 @@ func (awsManager *AwsManager) handleMessage(message string) bool {
go awsManager.gs.StartShutdown(aw... | Do not delete sqs message from queue if http fails. | Zemanta_gracefulshutdown | train | go |
746352d317ed78e6a53d6c62d126f706467a1ec3 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLResultsetAbstract.java b/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLResultsetAbstract.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutor... | SQL: flatten() now creates projection even on non-records | orientechnologies_orientdb | train | java |
0c391b5f376231dfa24271fe1065afbf7c540095 | diff --git a/drivers/ruby/test.rb b/drivers/ruby/test.rb
index <HASH>..<HASH> 100644
--- a/drivers/ruby/test.rb
+++ b/drivers/ruby/test.rb
@@ -544,6 +544,14 @@ class ClientTest < Test::Unit::TestCase
id_sort(rdb.filter{r[:id] < 5}.run.to_a))
end
+ def test_pluck
+ e=r.expr([{ 'a' => 1, 'b' =>... | Adding ruby test for pluck | rethinkdb_rethinkdb | train | rb |
673c25372b6999c739f032e3378a98271144e07c | diff --git a/src/Symfony/Component/Console/Helper/DialogHelper.php b/src/Symfony/Component/Console/Helper/DialogHelper.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Console/Helper/DialogHelper.php
+++ b/src/Symfony/Component/Console/Helper/DialogHelper.php
@@ -20,7 +20,7 @@ use Symfony\Component\Console\F... | [Console] Adding a deprecation note about DialogHelper | symfony_symfony | train | php |
cc8bb8243c933eb1497e0570e35d5773d44ad701 | diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java
index <HASH>..<HASH> 100755
--- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java
+++ b/robotium-solo/src/main/ja... | Remove added ActivityMonitor during ActivityUtils finalisation.
Otherwise, each Solo instance leaks an ActivityMonitor into Instrumentation, with knock-on effects for other tests using ActivityMonitors. | RobotiumTech_robotium | train | java |
711a8e3ea4ac9ac10c0b96e7256001f371a8004d | diff --git a/annis-gui/src/main/java/annis/gui/visualizers/component/rst/RSTImpl.java b/annis-gui/src/main/java/annis/gui/visualizers/component/rst/RSTImpl.java
index <HASH>..<HASH> 100644
--- a/annis-gui/src/main/java/annis/gui/visualizers/component/rst/RSTImpl.java
+++ b/annis-gui/src/main/java/annis/gui/visualizers/... | Do not put the color information into a json property. | korpling_ANNIS | train | java |
4ffb27fbcafbd3997ca4b3a37b33fe7d6f7d9ba0 | diff --git a/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java b/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java
+++ b/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.ja... | [java] Return a ws scheme instead of the http scheme of the grid | SeleniumHQ_selenium | train | java |
5c89bebdd7df1f81c943c7936887de9a1dc0d6d4 | diff --git a/globalify.js b/globalify.js
index <HASH>..<HASH> 100644
--- a/globalify.js
+++ b/globalify.js
@@ -10,8 +10,6 @@ var browserify = require('browserify'),
},
rootPath = __dirname;
-console.log(rootPath);
-
module.exports = function globalify(settings, callback){
settings = settings || {};
... | Remove the other console.log in globalify.js and es6 code. | KoryNunn_globalify | train | js,js |
148d27b029889658bfb421c2c1322fa6cd68f139 | diff --git a/tasks/html.js b/tasks/html.js
index <HASH>..<HASH> 100644
--- a/tasks/html.js
+++ b/tasks/html.js
@@ -107,7 +107,7 @@ function loadData () {
var dataFile = fs.readFileSync(datapath, 'utf8')
if (ext === '.js') {
- data[name] = requireFromString(dataFile, datapath).data
+ ... | Module data loaded as function to allow pre-processing | kunruch_mmpilot | train | js,js |
56292774b7e8e8a187f96eb08b6d1528ca5f5c39 | diff --git a/openhtf/plugs/__init__.py b/openhtf/plugs/__init__.py
index <HASH>..<HASH> 100644
--- a/openhtf/plugs/__init__.py
+++ b/openhtf/plugs/__init__.py
@@ -516,6 +516,7 @@ class PlugManager(object):
if self._xmlrpc_server:
_LOG.debug('Shutting down Plug XMLRPC Server.')
self._xmlrpc_server.shu... | Also close the underlying socket for the plug manager's xmlrpc server | google_openhtf | train | py |
7ac2fe152ae01af98484d88e8c98c612bcb50573 | diff --git a/src/services/search-builder.js b/src/services/search-builder.js
index <HASH>..<HASH> 100644
--- a/src/services/search-builder.js
+++ b/src/services/search-builder.js
@@ -152,7 +152,9 @@ function SearchBuilder(model, opts, params, fieldNamesRequested) {
if (!Number.isNaN(value)) {
if (... | fix(search): handle tables that contain floats and bigints | ForestAdmin_forest-express-sequelize | train | js |
8c1ca54c3e5de0b259ff34bf1b8f6c6b318c99a4 | diff --git a/testing/provisioner.go b/testing/provisioner.go
index <HASH>..<HASH> 100644
--- a/testing/provisioner.go
+++ b/testing/provisioner.go
@@ -92,6 +92,10 @@ func (a *FakeApp) ProvisionUnits() []provision.AppUnit {
return a.units
}
+func (a *FakeApp) AddUnit(u *FakeUnit) {
+ a.units = append(a.units, u)
+}... | testing/provisioner: added method to add units to a fake app | tsuru_tsuru | train | go,go |
d095fc910e9225f2d77ecb41f3e36baabdce8c6b | diff --git a/lib/render/renderer.js b/lib/render/renderer.js
index <HASH>..<HASH> 100644
--- a/lib/render/renderer.js
+++ b/lib/render/renderer.js
@@ -42,6 +42,7 @@ Renderer.prototype.hr = function() {
};
Renderer.prototype.after = function(text, token, parser) {
+ if(!text) return text;
// crude way of removin... | Guard against undefined text in after(). | tmpfs_markzero | train | js |
631469a4872f4a3dc8919ceffb2c33187f32098c | diff --git a/selenium_test/environment.py b/selenium_test/environment.py
index <HASH>..<HASH> 100644
--- a/selenium_test/environment.py
+++ b/selenium_test/environment.py
@@ -320,6 +320,15 @@ def before_scenario(context, scenario):
def after_scenario(context, _scenario):
driver = context.driver
+ # Close all... | Close tabs first.
It is unclear why this has never bit us before but now we close the tabs
first. Doing this ensures that the async code is run on the main page,
which is what we want. Otherwise, the async code may run on some
documentat tab, and fail. | mangalam-research_wed | train | py |
625dd3741f359e4db62a0a95de03800c36303b72 | diff --git a/lib/cxxproject/ext/rake.rb b/lib/cxxproject/ext/rake.rb
index <HASH>..<HASH> 100644
--- a/lib/cxxproject/ext/rake.rb
+++ b/lib/cxxproject/ext/rake.rb
@@ -1,5 +1,7 @@
require 'cxxproject/ext/stdout'
require 'cxxproject/utils/exit_helper'
+require 'cxxproject/errorparser/error_parser'
+
require 'rake'
... | added error if symlink has other parent dir than target | marcmo_cxxproject | train | rb |
bb79c9d6f03438a3bce1394df61b7d8f16da52df | diff --git a/object.lookup.go b/object.lookup.go
index <HASH>..<HASH> 100644
--- a/object.lookup.go
+++ b/object.lookup.go
@@ -5,6 +5,14 @@ import (
"time"
)
+func (c *ObjectStorage) Exists(objectname string) bool {
+ id := "internal"
+ if o, _ := c.lookup(&id, &objectname, true); o != nil {
+ return true
+ }
+ r... | Add the Exists method to object lookups
This does a quieter lookup and will, in the future, exclude the
inline_payload fetching of the lookup process. | dmichellis_gocassos | train | go |
9afd44282b7ee411ba340375c1872664a587a966 | diff --git a/src/extensions/default/JavaScriptCodeHints/unittests.js b/src/extensions/default/JavaScriptCodeHints/unittests.js
index <HASH>..<HASH> 100644
--- a/src/extensions/default/JavaScriptCodeHints/unittests.js
+++ b/src/extensions/default/JavaScriptCodeHints/unittests.js
@@ -832,7 +832,7 @@ define(function (requ... | Update expected results, as Tern now gives us better results than what the test was expecting. | adobe_brackets | train | js |
82d1e1eb1e27b3b63b99fe8b500ff76edbf1ca59 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -84,7 +84,7 @@ if __name__ == '__main__':
zip_safe=False,
extras_require={
'docs': [
- 'sphinx>=1.7.1',
+ 'sphinx==1.6.9',
],
'tests': [
... | attempted fix for readthedocs/sphinx bug | WoLpH_python-progressbar | train | py |
e98e804fb894935dd1c6a2ae41ffa688595312a5 | diff --git a/lib/Yucca/Component/Iterator/ShowMoreIterator.php b/lib/Yucca/Component/Iterator/ShowMoreIterator.php
index <HASH>..<HASH> 100644
--- a/lib/Yucca/Component/Iterator/ShowMoreIterator.php
+++ b/lib/Yucca/Component/Iterator/ShowMoreIterator.php
@@ -10,7 +10,7 @@
namespace Yucca\Component\Iterator;
-class... | [SHOW MORE ITERATOR] Is now countable | yucca-php_yucca | train | php |
391c0f78a496dbe0334686dfcabde8c9af8a474f | diff --git a/workflow/util/util.go b/workflow/util/util.go
index <HASH>..<HASH> 100644
--- a/workflow/util/util.go
+++ b/workflow/util/util.go
@@ -410,6 +410,11 @@ func selectorMatchesNode(selector fields.Selector, node wfv1.NodeStatus) bool {
nodeFields := fields.Set{
"displayName": node.DisplayName,
"templat... | Make phase and templateRef available for unsuspend and retry selectors (#<I>) | argoproj_argo | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.