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 |
|---|---|---|---|---|---|
e12b91a64166351a6e3c4f4908f91e59255ed125 | diff --git a/bcbio/structural/lumpy.py b/bcbio/structural/lumpy.py
index <HASH>..<HASH> 100644
--- a/bcbio/structural/lumpy.py
+++ b/bcbio/structural/lumpy.py
@@ -187,10 +187,7 @@ def run(items):
data["sv"] = []
vcf_file = gt_vcfs.get(dd.get_sample_name(data))
if vcf_file:
- if... | Lumpy: re-enable annotation for all run types
Previous workaround is no longer necessary with fixes to snpEff and removal
of noisy breakends with smoove. | bcbio_bcbio-nextgen | train | py |
8d4aae419348a07655186b76986a83b323ad2692 | diff --git a/lib/memoize.js b/lib/memoize.js
index <HASH>..<HASH> 100644
--- a/lib/memoize.js
+++ b/lib/memoize.js
@@ -235,7 +235,6 @@ memoize = module.exports = function (fn/*, options*/) {
profile.time += (now() - time);
}
if (!err) {
- value.ready = true;
value.value = arguments;
if (max) {... | No need for 'ready' property | medikoo_memoizee | train | js |
1fcc17fa5eceff93b98ef9fa8f7125db2472752a | diff --git a/neovim/api/nvim.py b/neovim/api/nvim.py
index <HASH>..<HASH> 100644
--- a/neovim/api/nvim.py
+++ b/neovim/api/nvim.py
@@ -169,7 +169,9 @@ class Nvim(object):
if (self._session._loop_thread is not None and
threading.current_thread() != self._session._loop_thread):
- ms... | improve message for out-of-thread requests | neovim_pynvim | train | py |
ba57f9361b68ae607d98bcfeec0cff3986fc5aac | diff --git a/netmiko/terminal_server/terminal_server.py b/netmiko/terminal_server/terminal_server.py
index <HASH>..<HASH> 100644
--- a/netmiko/terminal_server/terminal_server.py
+++ b/netmiko/terminal_server/terminal_server.py
@@ -13,6 +13,10 @@ class TerminalServer(BaseConnection):
"""Do nothing here; base_pr... | Terminal server driver bypass read data post login. | ktbyers_netmiko | train | py |
166d9d304e0d56ead0004c150ef04f78ab95c12d | diff --git a/bokeh/objects.py b/bokeh/objects.py
index <HASH>..<HASH> 100644
--- a/bokeh/objects.py
+++ b/bokeh/objects.py
@@ -167,7 +167,7 @@ class ObjectArrayDataSource(DataSource):
data = List()
# List of names of the fields of each tuple in self.data
- columns = List()
+ column_names = List()
... | Fixing serialization of GlyphRenderer, adding dataranges property to tools | bokeh_bokeh | train | py |
96b9a9d87414e62172f04e180f46a6ff618c0f92 | diff --git a/lib/nexmo.rb b/lib/nexmo.rb
index <HASH>..<HASH> 100644
--- a/lib/nexmo.rb
+++ b/lib/nexmo.rb
@@ -123,6 +123,8 @@ module Nexmo
end
class Response
+ attr_writer :object
+
def initialize(http_response, options = {})
@http_response = http_response
diff --git a/spec/nexmo_spec.rb b/spe... | Add object attribute writer method to Nexmo::Response | Nexmo_nexmo-ruby | train | rb,rb |
668b99e76492e63fd588d5e2eef01578db6be476 | diff --git a/app/helpers/report_cat/reports_helper.rb b/app/helpers/report_cat/reports_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/report_cat/reports_helper.rb
+++ b/app/helpers/report_cat/reports_helper.rb
@@ -75,7 +75,9 @@ module ReportCat
content_tag( :ul ) do
reports.values.sort { |a,b| ... | allow rails app to reference report list | schrodingersbox_report_cat | train | rb |
6c71778d31ca3f983be8ab1eed71ca934279d269 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -60,8 +60,6 @@ setup(
'spell': ['hunspell'],
'test': tests_require,
},
- #package_data
- #data_files=[('resources',['pyontutils/resources/chebi-subset-ids.txt... | skipping data files for time being again | tgbugs_pyontutils | train | py |
42f3f93e8263b7d4b2c8ab4124ac3b97c78ed34d | diff --git a/lib/kimurai/base/storage.rb b/lib/kimurai/base/storage.rb
index <HASH>..<HASH> 100644
--- a/lib/kimurai/base/storage.rb
+++ b/lib/kimurai/base/storage.rb
@@ -40,11 +40,21 @@ module Kimurai
if path
database.transaction do
database[scope] ||= []
- database[... | Add possibility to add array of values to the storage (Storage#add) | vifreefly_kimuraframework | train | rb |
2bc1c298c0b5d6adea5d08df5790039f8b96de76 | diff --git a/spyder/widgets/ipythonconsole/figurebrowser.py b/spyder/widgets/ipythonconsole/figurebrowser.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/ipythonconsole/figurebrowser.py
+++ b/spyder/widgets/ipythonconsole/figurebrowser.py
@@ -64,7 +64,7 @@ class FigureBrowserWidget(RichJupyterWidget):
... | Emit the format along with the image. | spyder-ide_spyder | train | py |
aaf4f612d011a73ae7fed258bf076bcb245b27dd | diff --git a/webroot/js/select2.init.js b/webroot/js/select2.init.js
index <HASH>..<HASH> 100644
--- a/webroot/js/select2.init.js
+++ b/webroot/js/select2.init.js
@@ -8,4 +8,8 @@
return text;
}
});
+
+ // fix for select2 search not working within bootstrap modals
+ // @link https://gith... | Fix for select2 working within modals (task #<I>) | QoboLtd_cakephp-utils | train | js |
28896330bc6ce49a7bc1d060075f166f93953b3b | diff --git a/lib/haml/railtie.rb b/lib/haml/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/haml/railtie.rb
+++ b/lib/haml/railtie.rb
@@ -26,7 +26,7 @@ module Haml
require "haml/sass_rails_filter"
end
- if defined? Erubi
+ if defined?(::Erubi) && const_defined?('ActionView::Template... | Fix Erubi on Rails < <I>
ActionView does not support Erubi just because it is included in the bundle. This checks for Rails to support Erubi rather than only looking to see if Erubi is in the bundle at all.
This change is necessary because `Haml::ErubiTemplateHandler` inherits from `ActionView::Template::Handlers::... | haml_haml | train | rb |
056027d3236491ebb3b60e124ab82786b0cdd72e | diff --git a/plugins/ScheduledReports/API.php b/plugins/ScheduledReports/API.php
index <HASH>..<HASH> 100644
--- a/plugins/ScheduledReports/API.php
+++ b/plugins/ScheduledReports/API.php
@@ -616,6 +616,8 @@ class API extends \Piwik\Plugin\API
Log::warning("Scheduled report file '%s' exists but is empty... | Let plugins change the report type in sendReport event (#<I>)
This way I can set the `reportType` to eg `foobar` so it won't be handled and won't be sent. Needing this feature... Was going to add otherwise another parameter or another event but having two events with similar `sendReport` name may be confusing and anot... | matomo-org_matomo | train | php |
eeca902ac7ebebbac47e2eda6a5d0992b3fb18bf | diff --git a/bidso/find.py b/bidso/find.py
index <HASH>..<HASH> 100644
--- a/bidso/find.py
+++ b/bidso/find.py
@@ -23,7 +23,7 @@ def find_root(filename, target='bids'):
path of the target directory
"""
lg.debug(f'Searching root in {filename}')
- if target == 'bids' and (filename / 'participants.ts... | use dataset_description.json as base for root because it should always be there | gpiantoni_bidso | train | py |
9ecf8a97a93d75bd12004df158358aa2f10877bc | diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index <HASH>..<HASH> 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -1081,8 +1081,11 @@ func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) {
urls = params.GoerliBootnodes
case ctx.Bool(KilnFlag.Name):
urls = params.KilnBootnodes
- case cfg... | cmd/utils: fix applying bootstrap nodes from config file (#<I>) | ethereum_go-ethereum | train | go |
fc5d730b7d52250b1f9c7b658d44ca4a42333f78 | diff --git a/spec/geckoboard/payload_formatter_spec.rb b/spec/geckoboard/payload_formatter_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/geckoboard/payload_formatter_spec.rb
+++ b/spec/geckoboard/payload_formatter_spec.rb
@@ -31,13 +31,13 @@ module Geckoboard
payload = formatter.format([
{ 'moment_of... | Include a specific timezone in formatter spec | geckoboard_geckoboard-ruby | train | rb |
6818eedc2dd27c66ebeee3f359ea83ca8f72a24f | diff --git a/lib/loader.js b/lib/loader.js
index <HASH>..<HASH> 100644
--- a/lib/loader.js
+++ b/lib/loader.js
@@ -9,7 +9,8 @@ module.exports = function (source) {
this.cacheable();
}
var allLoadersButThisOne = this.loaders.filter(function (loader) {
- return loader.module !== module.exports;
+ // Load... | Accomodated for change to Loader API in Webpack 2
issue#<I> | jantimon_html-webpack-plugin | train | js |
a764aaafcaf0928ec1d7a30d213749b363ea8cf8 | diff --git a/data/Model.php b/data/Model.php
index <HASH>..<HASH> 100644
--- a/data/Model.php
+++ b/data/Model.php
@@ -955,7 +955,7 @@ class Model extends \lithium\core\StaticObject {
*
* @see lithium\data\Model::$validates
* @see lithium\data\Model::validates()
- * @see lithium\data\Model::errors()
+ * @see... | Fixing docblock for Model::save() which was refering to Model::errors()
and there is no such method. Pointing to Entity::errors() instead. | UnionOfRAD_lithium | train | php |
57f6b15b4d0ccd8cf4d52dfb7e4c1451d3e03a42 | diff --git a/src/Gaufrette/Adapter/AwsS3.php b/src/Gaufrette/Adapter/AwsS3.php
index <HASH>..<HASH> 100644
--- a/src/Gaufrette/Adapter/AwsS3.php
+++ b/src/Gaufrette/Adapter/AwsS3.php
@@ -270,8 +270,13 @@ class AwsS3 implements Adapter,
'Prefix' => rtrim($this->computePath($key), '/').'/',
'Max... | Quickfix for Adapter/AwsS3, check if count() call is allowed.
(cherry picked from commit ad3aad3) | KnpLabs_Gaufrette | train | php |
4588311eef1d1a9dc3c9e8ebe663241108e2a575 | diff --git a/src/Leaves/ModelBoundLeaf.php b/src/Leaves/ModelBoundLeaf.php
index <HASH>..<HASH> 100644
--- a/src/Leaves/ModelBoundLeaf.php
+++ b/src/Leaves/ModelBoundLeaf.php
@@ -132,7 +132,7 @@ abstract class ModelBoundLeaf extends Leaf
$collection = $relationship->getCollection();
- ... | Removed incorrect 2nd argument to DropDown constructor | RhubarbPHP_Module.Leaf.Crud | train | php |
e25283602816af9614c5f8594f45bb09defa09de | diff --git a/benchmarks/src/main/java/org/tinylog/benchmarks/logging/log4j2__/LifeCycle.java b/benchmarks/src/main/java/org/tinylog/benchmarks/logging/log4j2__/LifeCycle.java
index <HASH>..<HASH> 100644
--- a/benchmarks/src/main/java/org/tinylog/benchmarks/logging/log4j2__/LifeCycle.java
+++ b/benchmarks/src/main/java/... | Deactivate immediate flush for async Log4j2 benchmarks | pmwmedia_tinylog | train | java |
da789d2bb5ae4c05b2378d63677d6d1a34c45f07 | diff --git a/src/client/client.js b/src/client/client.js
index <HASH>..<HASH> 100644
--- a/src/client/client.js
+++ b/src/client/client.js
@@ -1459,7 +1459,7 @@ define([
// Undo/Redo functionality
this.undo = function (branchName, callback) {
- if (self.canUndo() === false) {
+ ... | FIX Make sure to pass branch name in canUndo/Redo (#<I>) | webgme_webgme-engine | train | js |
514315fff77461296750225af004fe8cfa1d9c5e | diff --git a/Tests/Validator/EnumValidatorTest.php b/Tests/Validator/EnumValidatorTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Validator/EnumValidatorTest.php
+++ b/Tests/Validator/EnumValidatorTest.php
@@ -91,17 +91,13 @@ final class EnumValidatorTest extends TestCase
$constraintValidationBuilder = $this-... | Refactoring (#<I>) | fre5h_DoctrineEnumBundle | train | php |
9b432c712f93ffcc31f6d9ba1efb28a2309a9e0c | diff --git a/spec/mongo/operation/result_spec.rb b/spec/mongo/operation/result_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongo/operation/result_spec.rb
+++ b/spec/mongo/operation/result_spec.rb
@@ -278,7 +278,7 @@ describe Mongo::Operation::Result do
before do
class Result
def get_result
- ... | Use test options for test to run with SSL | mongodb_mongo-ruby-driver | train | rb |
367c7cf9375a3d6cf26334317fe15886b4c08ec9 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -58,7 +58,7 @@ module.exports = function (grunt) {
dest: 'dist',
deps: {
'default': [ 'WaveSurfer' ],
- amd: [ 'wavesurfer' ],
+ ... | Update Gruntfile.js (#<I>)
WaveSurfer plugins currently can not be required by a tool like webpack because their dependence on wavesurfer module uses an absolute id instead of an id on the "plugin" directory | katspaugh_wavesurfer.js | train | js |
f07ef31f1c33c76cb338adb38c99cd04490485e3 | diff --git a/lib/Linting.js b/lib/Linting.js
index <HASH>..<HASH> 100644
--- a/lib/Linting.js
+++ b/lib/Linting.js
@@ -72,6 +72,10 @@ export default function Linting(
}
});
+ eventBus.on('diagram.clear', function() {
+ self.clearIssues();
+ });
+
this._init();
}; | fix(Linting): clear issues on diagram.clear | bpmn-io_bpmn-js-bpmnlint | train | js |
ab74534ad4752fd2ca50c0640302e29563146851 | diff --git a/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java b/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java
index <HASH>..<HASH> 100644
--- a/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java
+++ b/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java
@@ -56,8 +56,8 @@... | Fixed crash in the Demo app in onSliderClick
The bundle for the textSliderView was never created so the Toast would crash in the onSliderClick method when trying to retrieve the "extra" from the null bundle | daimajia_AndroidImageSlider | train | java |
e000f0f4bd746d0c51a2f9153b0abaf107d0cda7 | diff --git a/lib/methods.js b/lib/methods.js
index <HASH>..<HASH> 100644
--- a/lib/methods.js
+++ b/lib/methods.js
@@ -383,6 +383,8 @@ module.exports = {
cleanup: function (){
this.__proto__ = null;
for(var prop in this) delete this[prop];
+
+ return null;
}
};
\ No newline at end of file
diff --g... | cleanup now returns wanted instance value: null | opensoars_f_ | train | js,js |
23675404b3a1794c9a7b99dd81747f7250a9e5da | diff --git a/drizzlepac/hlautils/align_utils.py b/drizzlepac/hlautils/align_utils.py
index <HASH>..<HASH> 100644
--- a/drizzlepac/hlautils/align_utils.py
+++ b/drizzlepac/hlautils/align_utils.py
@@ -354,8 +354,9 @@ class HAPImage:
return wht_image
def close(self):
- self.imghdu.close()
- s... | Address error case in AlignmentTable (#<I>) | spacetelescope_drizzlepac | train | py |
0595ad0264e8b10d46247116d338e4262ba6f691 | diff --git a/test/unit/test_archive.py b/test/unit/test_archive.py
index <HASH>..<HASH> 100644
--- a/test/unit/test_archive.py
+++ b/test/unit/test_archive.py
@@ -9,7 +9,7 @@ from doppel import archive, makedirs, mkdir
platform_name = platform.system()
-class BaseTestArchive(object):
+class BaseTestArchive:
d... | Remove useless inheritance from `object` | jimporter_doppel | train | py |
40cb7701921a6bcddf3533d3df78d0c99b5eb966 | diff --git a/helpers/class.ResultTransmitter.php b/helpers/class.ResultTransmitter.php
index <HASH>..<HASH> 100644
--- a/helpers/class.ResultTransmitter.php
+++ b/helpers/class.ResultTransmitter.php
@@ -113,7 +113,7 @@ class taoQtiCommon_helpers_ResultTransmitter {
// The fact that the response i... | prevent the 'comment' variable to beconsidered as 'evaluable' by the result server.
git-svn-id: <URL> | oat-sa_lib-tao-qti | train | php |
46c3083ab36513ce78d600e254ffd6c8e2629f34 | diff --git a/bio/basics.py b/bio/basics.py
index <HASH>..<HASH> 100644
--- a/bio/basics.py
+++ b/bio/basics.py
@@ -241,6 +241,9 @@ class Sequence(object):
def __getitem__(self, item):
return self.sequence[item]
+ def __len__(self):
+ return len(self.sequence)
+
def ids(self):
ret... | Adding a len function to sequence. | Kortemme-Lab_klab | train | py |
d3b42f69f342a7fb496ccd818a71de7894d00ca9 | diff --git a/avatar/urls.py b/avatar/urls.py
index <HASH>..<HASH> 100644
--- a/avatar/urls.py
+++ b/avatar/urls.py
@@ -1,4 +1,7 @@
-from django.conf.urls import patterns, url
+try:
+ from django.conf.urls import url, patterns
+except ImportError:
+ from django.conf.urls.defaults import url, patterns
urlpattern... | be compliant with django <I> | GeoNode_geonode-avatar | train | py |
ec1e6bfb9ad753871a3c09aad7299849d77765c7 | diff --git a/src/SimpleHydrator.php b/src/SimpleHydrator.php
index <HASH>..<HASH> 100644
--- a/src/SimpleHydrator.php
+++ b/src/SimpleHydrator.php
@@ -59,14 +59,23 @@ final class SimpleHydrator implements Hydrates
/**
* Creates a new simple hydrator with an instantiator.
*
- * @param ProvidesInstan... | Allow custom observer in simple hydrator withInstantiator constructor | Stratadox_Hydrator | train | php |
57ff936745afe285d8a407b202318a129bdf93c8 | diff --git a/test/extended/single_node/topology.go b/test/extended/single_node/topology.go
index <HASH>..<HASH> 100644
--- a/test/extended/single_node/topology.go
+++ b/test/extended/single_node/topology.go
@@ -99,9 +99,6 @@ func isAllowedToFail(deployment appsv1.Deployment) bool {
// We will slowly remove deployment... | SNO topology: the oauth-server should only have a single replica now | openshift_origin | train | go |
60c95582828edb689d6f701543f8ae1b138139fc | diff --git a/lib/proc_to_ast/version.rb b/lib/proc_to_ast/version.rb
index <HASH>..<HASH> 100644
--- a/lib/proc_to_ast/version.rb
+++ b/lib/proc_to_ast/version.rb
@@ -1,3 +1,3 @@
module ProcToAst
- VERSION = "0.0.7"
+ VERSION = "0.1.0"
end | Bump up to <I> | joker1007_proc_to_ast | train | rb |
0661c4a4dd48430c826d84a4662a571f82067a71 | diff --git a/src/main/java/com/google/cloud/genomics/dataflow/pipelines/TransmissionProbability.java b/src/main/java/com/google/cloud/genomics/dataflow/pipelines/TransmissionProbability.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/google/cloud/genomics/dataflow/pipelines/TransmissionProbability.java
+++ b/s... | Style correction in transmissionProbability.java. | googlegenomics_dataflow-java | train | java |
9dd299fe80bc30281bc57befadeb709d05211467 | diff --git a/raft/log.go b/raft/log.go
index <HASH>..<HASH> 100644
--- a/raft/log.go
+++ b/raft/log.go
@@ -922,6 +922,7 @@ func (l *Log) heartbeater(term uint64, committed chan uint64, wg *sync.WaitGroup
// Commit latest index if there are no peers.
if config == nil || len(config.Nodes) <= 1 {
+ time.Sleep(10 * ... | Add small delay for single node heartbeat.
This commit adds a small <I>ms delay to the heartbeat when there is only
one node in the cluster. This code needs a larger fix to avoid heartbeats
with a single node cluster but this should work well in the short term. | influxdata_influxdb | train | go |
a8065f699c42752c9ec9c24e9e7abb29b08462b9 | diff --git a/js/assign-non-enumerable/assign-non-enumerable.js b/js/assign-non-enumerable/assign-non-enumerable.js
index <HASH>..<HASH> 100644
--- a/js/assign-non-enumerable/assign-non-enumerable.js
+++ b/js/assign-non-enumerable/assign-non-enumerable.js
@@ -1,3 +1,5 @@
+var setNotEnumerable = require("../set-not-enume... | assign-non-enumerable leverages set-not-enumerable | canjs_can-util | train | js |
82e7c1e1de381dbd242e349ba152219ad6368263 | diff --git a/jquery.uniform.js b/jquery.uniform.js
index <HASH>..<HASH> 100644
--- a/jquery.uniform.js
+++ b/jquery.uniform.js
@@ -477,7 +477,14 @@ Enjoy!
* @param String method
*/
function sizingInvisible($el, callback) {
- swap($el.parents().andSelf().not(':visible'), {
+ var targets;
+
+ // We wish to tar... | jQuery.fn.andSelf() is added in <I> | AudithSoftworks_Uniform | train | js |
733921abac434392804e5380725731302050cc5c | diff --git a/hacking/core.py b/hacking/core.py
index <HASH>..<HASH> 100755
--- a/hacking/core.py
+++ b/hacking/core.py
@@ -725,7 +725,7 @@ def hacking_localization_strings(logical_line, tokens):
gen = check_i18n()
next(gen)
try:
- map(gen.send, tokens)
+ list(map(gen.send, tokens))
... | python3: Fix tracebacks while running testsuites
Fix traceback while running testsuite, this is due
to the change between unicode and binary types in python3.
Change-Id: I6fd3eaca<I>c7a5f<I>ae<I>dca<I>a3acafaee | openstack_hacking | train | py |
faf93b6f250b8944be0c84e85fa34d819d77bad6 | diff --git a/config/app.js b/config/app.js
index <HASH>..<HASH> 100644
--- a/config/app.js
+++ b/config/app.js
@@ -9,4 +9,4 @@ exports.appName = "Sails.js";
// One of:
// "development"
// "production"
-exports.appEnvironment="production";
\ No newline at end of file
+exports.appEnvironment="development";
\ No newlin... | Updated error checking in looking for db.js | balderdashy_mast | train | js,js |
2e18ba200888e236466adcf53ef0b2a429335ec6 | diff --git a/source/Query.class.php b/source/Query.class.php
index <HASH>..<HASH> 100644
--- a/source/Query.class.php
+++ b/source/Query.class.php
@@ -198,4 +198,22 @@ class Query
// TODO: Add functionality
return $this;
}
+
+ // Helper methods
+
+ public static function getMetaValues($meta... | - Added search-box-home.twig template
- Removed method getMetaValues
- Implemented static method getPropertiesSearchList on EmailTool
- replaced old zoner_generate_search_box function with the new SearchBox class
- Implemented WPExpress refactoring for RenderEngine
- Added empty class SearchBox | Page-Carbajal_WPExpress | train | php |
dfeaa5ad1f6f18346f1e07a08921e132e48131f8 | diff --git a/hwt/interfaces/agents/structIntf.py b/hwt/interfaces/agents/structIntf.py
index <HASH>..<HASH> 100644
--- a/hwt/interfaces/agents/structIntf.py
+++ b/hwt/interfaces/agents/structIntf.py
@@ -13,9 +13,9 @@ class StructIntfAgent(AgentBase):
# if interface is InterfaceProxy and this proxy is container... | fix instantiatio of StructIntfAgent children on InterfaceProxies | Nic30_hwt | train | py |
4363edd0ea83fc1bc7ac2b9a167b889f8c036ffc | diff --git a/lib/Bacon/ORM/Model.php b/lib/Bacon/ORM/Model.php
index <HASH>..<HASH> 100644
--- a/lib/Bacon/ORM/Model.php
+++ b/lib/Bacon/ORM/Model.php
@@ -335,7 +335,7 @@ abstract class Model extends \Sauce\Object
/* Using the __call method to handle relations between models. */
public function __call ($method, $ar... | Fixed method call to handle_relations | Brainsware_bacon | train | php |
df8ff7588101a3a8dba77c8cf537fbdd29f76cef | diff --git a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java b/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java
index <HASH>..<HASH> 100644
--- a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java
+++ ... | fix in case the checked text contains backslashes in unexpected places... | languagetool-org_languagetool | train | java |
e650db3092c8ac9da8bdb5210dbdfd4768335ed6 | diff --git a/presto-main/src/main/java/com/facebook/presto/execution/scheduler/SqlQueryScheduler.java b/presto-main/src/main/java/com/facebook/presto/execution/scheduler/SqlQueryScheduler.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/execution/scheduler/SqlQueryScheduler.java
+++ ... | Minor refactor in SqlQueryScheduler
create objects in input argument order | prestodb_presto | train | java |
9f10bfccf8cef7f6827f5139b7710da0a21ad018 | diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/fixtures/base_case.py
+++ b/seleniumbase/fixtures/base_case.py
@@ -3364,7 +3364,7 @@ class BaseCase(unittest.TestCase):
elif hasattr(exception_info, 'message'):
exc_m... | Improve some error messages if/when they occur | seleniumbase_SeleniumBase | train | py |
43eb8b711ab9d1eda9f2dafe138cd6f5d2c3e935 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -17,7 +17,7 @@ import (
const (
deprecatedSuffix = "/features"
clientName = "unleash-client-go"
- clientVersion = "3.3.0"
+ clientVersion = "3.3.1"
)
var defaultStrategies = []strategy.Strategy{ | chore: release <I> (#<I>) | Unleash_unleash-client-go | train | go |
21caeb7a38d445d4b748ef030451c01ee6941559 | diff --git a/lib/ardes/resources_controller.rb b/lib/ardes/resources_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/ardes/resources_controller.rb
+++ b/lib/ardes/resources_controller.rb
@@ -522,7 +522,7 @@ module Ardes#:nodoc:
def enclosing_route_segments
segments = recognized_route.segments.dup
... | resource_controller: better raise_missing_route_segment (wtf is wrong with me?)
git-svn-id: <URL> | ianwhite_resources_controller | train | rb |
450421004d7bb15b491f5d6390dfd7445ed999f1 | diff --git a/interact.js b/interact.js
index <HASH>..<HASH> 100644
--- a/interact.js
+++ b/interact.js
@@ -2850,22 +2850,16 @@
element = element || interaction.element;
- if (action === 'gesture') {
- var average = touchAverage(pointerMoves);
+ page = extend({}, interaction.curCo... | Remove redundant average calc for gesture events
In InteractEvent | taye_interact.js | train | js |
01f9cb1950b2005cebd6215b17938e0c0e82cb0b | diff --git a/kernel/role/list.php b/kernel/role/list.php
index <HASH>..<HASH> 100644
--- a/kernel/role/list.php
+++ b/kernel/role/list.php
@@ -45,7 +45,7 @@ $http =& eZHTTPTool::instance();
$Module =& $Params['Module'];
$offset = $Params['Offset'];
-$limit = 3;
+$limit = 15;
if ( $http->hasPostVariable( 'RemoveB... | Fixed limit, was set to 3, should be set to <I>.
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
31da68446b85f2825ef559caf67eee11a21527ae | diff --git a/lib/fog/google/requests/compute/insert_disk.rb b/lib/fog/google/requests/compute/insert_disk.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/google/requests/compute/insert_disk.rb
+++ b/lib/fog/google/requests/compute/insert_disk.rb
@@ -20,13 +20,8 @@ module Fog
}
if image_name
- ... | When 'insert'ing a disk, don't try to create an image. | fog_fog | train | rb |
722e3a567652e52b06bab7f7782de6457f0d9409 | diff --git a/wandb/data_types.py b/wandb/data_types.py
index <HASH>..<HASH> 100644
--- a/wandb/data_types.py
+++ b/wandb/data_types.py
@@ -430,16 +430,20 @@ class Table(Media):
)
return result_type
- def _to_table_json(self, max_rows=None):
+ def _to_table_json(self, max_rows=None, warn=Tr... | Removed <I>k Table Limit Warning | wandb_client | train | py |
f5c072294e5c63411b224b05a9b5156e1cef8a71 | diff --git a/src/Components/__init__.py b/src/Components/__init__.py
index <HASH>..<HASH> 100644
--- a/src/Components/__init__.py
+++ b/src/Components/__init__.py
@@ -1,10 +1,9 @@
-from PrecipitationComponent import PrecipitationComponent
-from BaseComponent import BaseComponent
-from PrecipitationComponent import Prec... | making includes now python 3 compatible | haydenth_ish_parser | train | py |
ed39b58b810e744c612a4fb2b8fa28f8c215f96e | diff --git a/inginious/frontend/webapp/pages/course_admin/settings.py b/inginious/frontend/webapp/pages/course_admin/settings.py
index <HASH>..<HASH> 100644
--- a/inginious/frontend/webapp/pages/course_admin/settings.py
+++ b/inginious/frontend/webapp/pages/course_admin/settings.py
@@ -29,10 +29,10 @@ class CourseSetti... | Strip admin and tutors usernames in settings
Closes #<I> | UCL-INGI_INGInious | train | py |
01f82eb65050f23bdecf91478796212447a2d273 | diff --git a/photutils/background/background_2d.py b/photutils/background/background_2d.py
index <HASH>..<HASH> 100644
--- a/photutils/background/background_2d.py
+++ b/photutils/background/background_2d.py
@@ -373,8 +373,10 @@ class Background2D(object):
# mask the padded regions
pad_mask = np.zero... | Fix fancy indicing in case [x/y]pad is zero | astropy_photutils | train | py |
728cda2b9a91d75e1520a5eab89a8a724baae152 | diff --git a/salt/modules/saltutil.py b/salt/modules/saltutil.py
index <HASH>..<HASH> 100644
--- a/salt/modules/saltutil.py
+++ b/salt/modules/saltutil.py
@@ -25,7 +25,9 @@ import salt.client
import salt.utils
import salt.utils.process
import salt.transport
-from salt.exceptions import SaltReqTimeoutError
+from salt... | Fix traceback when syncing custom types
This fixes a traceback which occurs when a rendering error occurs when
the top files are checked before custom types are synced. | saltstack_salt | train | py |
401167c3a4957f108820b13ae877118a22f14c3d | diff --git a/src/Illuminate/Database/Eloquent/Factory.php b/src/Illuminate/Database/Eloquent/Factory.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/Factory.php
+++ b/src/Illuminate/Database/Eloquent/Factory.php
@@ -143,7 +143,7 @@ class Factory implements ArrayAccess
*
* @param stri... | Fix wrong class name in return docblock. | laravel_framework | train | php |
6f90dc3cac799bde54cfd5fe10bd4919218c46e9 | diff --git a/cgutils/host.py b/cgutils/host.py
index <HASH>..<HASH> 100644
--- a/cgutils/host.py
+++ b/cgutils/host.py
@@ -26,7 +26,7 @@ except ImportError:
# For python 2.5 or older
class Multiprocessing:
def cpu_count(self):
- return readfile('/proc/cpuinfo').count('CPU')
+ re... | Fix /proc/cpuinfo handling
To count the number of processors, counting 'processor'
is better than 'CPU' which may not be included, e.g.,
on a virtual machine. | peo3_cgroup-utils | train | py |
edb4539bd757846baa798770204fb4e4d0207d23 | diff --git a/src/sklearn_evaluation/__init__.py b/src/sklearn_evaluation/__init__.py
index <HASH>..<HASH> 100644
--- a/src/sklearn_evaluation/__init__.py
+++ b/src/sklearn_evaluation/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.5.4'
+__version__ = '0.5.5dev'
from .evaluator import ClassifierEvaluator
from .nb.Note... | Bumps up project to version <I>dev | edublancas_sklearn-evaluation | train | py |
15386cedd50083484b64d7d0e3d38740a0da6cc8 | diff --git a/angularFire.js b/angularFire.js
index <HASH>..<HASH> 100644
--- a/angularFire.js
+++ b/angularFire.js
@@ -25,6 +25,7 @@ AngularFire.prototype = {
ret = [];
}
var deferred = this._q.defer();
+ var promise = deferred.promise;
this._fRef.on('value', function(snap) {
var resolve... | Bugfix: angularFire() returned undefined when value is already cached. | firebase_angularfire | train | js |
adb17c4dab19bf4a5649d6c7c27e98967a6e4e33 | diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/layout.blade.php
+++ b/resources/views/layout.blade.php
@@ -39,7 +39,7 @@
</button>
<div class="btn-group" role="group" aria-label="Basic example">
- ... | Tiny fix
Added title monitor tags button to clarify the purpose of it. | laravel_telescope | train | php |
c859f2a4b15fd9854515ad28aa2e4bf111900313 | diff --git a/test/test_rest-graph.rb b/test/test_rest-graph.rb
index <HASH>..<HASH> 100644
--- a/test/test_rest-graph.rb
+++ b/test/test_rest-graph.rb
@@ -86,15 +86,9 @@ describe RestGraph do
stub_request(:put, 'https://graph.facebook.com/feed/me').
with(:body => 'message=hi%20there').to_return(:body => '[]... | test_rest-graph.rb: rr master version has no problem with pri method. | godfat_rest-core | train | rb |
e9408a638467f3933385842dbff3a2d9bac5acbd | diff --git a/Command/GenerateCommand.php b/Command/GenerateCommand.php
index <HASH>..<HASH> 100755
--- a/Command/GenerateCommand.php
+++ b/Command/GenerateCommand.php
@@ -81,6 +81,7 @@ class GenerateCommand extends ContainerAwareCommand
->name('*.proto');
$files = [];
+ $table... | Command did not generate protos if more than 1 was provided | CampaignChain_protobuf | train | php |
5a620c0573e01714bfd46300a8ae2aa3e11206ae | diff --git a/src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/WebProfilerExtension.php b/src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/WebProfilerExtension.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/WebProfilerExtension.php
+++ b/src/Symfony/Bundle/... | unless I'm missing something the first instance of loader is not used and thus not needed | symfony_symfony | train | php |
6c7c42d0547404f8fa41c55d9903de018121e29b | diff --git a/lib/guard/interactor.rb b/lib/guard/interactor.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/interactor.rb
+++ b/lib/guard/interactor.rb
@@ -121,7 +121,7 @@ module Guard
#
def create_command_aliases
SHORTCUTS.each do |command, shortcut|
- Pry.commands.alias_command shortcut, comman... | Fix command alias on <I> and stable Pry. | guard_guard | train | rb |
7d389169d5b548eef162cee866fa0edbfdd1320c | diff --git a/server/const.go b/server/const.go
index <HASH>..<HASH> 100644
--- a/server/const.go
+++ b/server/const.go
@@ -41,7 +41,7 @@ var (
const (
// VERSION is the current version for the server.
- VERSION = "2.6.1"
+ VERSION = "2.6.1-beta.1"
// PROTO is the currently supported protocol.
// 0 was the or... | Update version to beta until ready to release | nats-io_gnatsd | train | go |
cf9bef9a19066ffccf823e08cad89a070964d835 | diff --git a/gwtbootstrap3/src/main/java/com/svenjacobs/gwtbootstrap3/client/ui/Column.java b/gwtbootstrap3/src/main/java/com/svenjacobs/gwtbootstrap3/client/ui/Column.java
index <HASH>..<HASH> 100644
--- a/gwtbootstrap3/src/main/java/com/svenjacobs/gwtbootstrap3/client/ui/Column.java
+++ b/gwtbootstrap3/src/main/java/... | Making column support comma and space separated list | gwtbootstrap3_gwtbootstrap3 | train | java |
be8c085a291dd5fe374e99b2dfd6a69c9285364d | diff --git a/phraseapp/lib.go b/phraseapp/lib.go
index <HASH>..<HASH> 100644
--- a/phraseapp/lib.go
+++ b/phraseapp/lib.go
@@ -3172,5 +3172,5 @@ func (client *Client) WebhooksList(project_id string, page, perPage int) ([]*Web
}
func GetUserAgent() string {
- return "PhraseApp go (1.1.1)"
+ return "PhraseApp go (1.1... | <I>
Parsing of glob patterns improved, <I>bit Linux Binary Artefact | phrase_phraseapp-go | train | go |
301bcead1b2024d093f14384bb1f8508f2f6ef1a | diff --git a/tests/test_definitions.py b/tests/test_definitions.py
index <HASH>..<HASH> 100644
--- a/tests/test_definitions.py
+++ b/tests/test_definitions.py
@@ -207,6 +207,7 @@ def test_ch4_co2_n2o(variable, prefix, suffix):
("CO2T_EMIS", "Emissions|CO2"),
("CH4T_RF", "Radiative Forcing|CH4"),
... | Nox <> NOXT | openclimatedata_pymagicc | train | py |
7c4edac3ff44c895d825c94ce82a18904ebcfe9a | diff --git a/src/Relationships/HasMany.php b/src/Relationships/HasMany.php
index <HASH>..<HASH> 100644
--- a/src/Relationships/HasMany.php
+++ b/src/Relationships/HasMany.php
@@ -121,6 +121,9 @@ abstract class HasMany extends Object implements IRelationshipCollection
} elseif (isset($this->toRemove[$entityHash])) {
... | [relationship] fixed hasMany detection for unpersisted entities | nextras_orm | train | php |
98b5cf4a0e31a6b2f647208c0e7ec00bb348b3b9 | diff --git a/azurerm/resource_arm_service_fabric_cluster_test.go b/azurerm/resource_arm_service_fabric_cluster_test.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_service_fabric_cluster_test.go
+++ b/azurerm/resource_arm_service_fabric_cluster_test.go
@@ -176,7 +176,7 @@ func TestAccAzureRMServiceFabricClust... | Updated reverse proxy test to call reverseproxyCertificate test | terraform-providers_terraform-provider-azurerm | train | go |
286ff0ff362f893bc0f2916fe30d0d6ada198fb5 | diff --git a/clients/web/test/specRunner.js b/clients/web/test/specRunner.js
index <HASH>..<HASH> 100644
--- a/clients/web/test/specRunner.js
+++ b/clients/web/test/specRunner.js
@@ -33,8 +33,6 @@ var spec = args[1];
var page = new WebPage();
// Determine the test name to be used for output files
-var coverageDir =... | Reorganize some code in specRunner | girder_girder | train | js |
7ba68b9a2426392390bc63c970dc39121c216663 | diff --git a/modules/style.js b/modules/style.js
index <HASH>..<HASH> 100644
--- a/modules/style.js
+++ b/modules/style.js
@@ -1,4 +1,4 @@
-var raf = requestAnimationFrame || setTimeout;
+var raf = (window && window.requestAnimationFrame) || setTimeout;
var nextFrame = function(fn) { raf(function() { raf(fn); }); };
... | Fixed 'Uncaught ReferenceError'
When using snabbdom with webpack, the webpack output file is in strict mode, and that would cause error:
> Uncaught ReferenceError: requestAnimationFrame is not defined at ...
This pull request fixed it. | snabbdom_snabbdom | train | js |
f74c1e67ea1899223ee44a2ac27cc59a78a0a1fa | diff --git a/internal/graphics/command.go b/internal/graphics/command.go
index <HASH>..<HASH> 100644
--- a/internal/graphics/command.go
+++ b/internal/graphics/command.go
@@ -409,6 +409,8 @@ func (c *newScreenFramebufferImageCommand) Exec(indexOffsetInBytes int) error {
if c.height < 1 {
return errors.New("graphic... | graphics: Use power-of-2 size for the default framebuffer | hajimehoshi_ebiten | train | go |
b3e315442d41abf4e68fa2fd1812f6c0f9501eb6 | diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -9,7 +9,7 @@ import nanotime
setup(
name="nanotime",
version=nanotime.__version__,
- description="Nanotime python implementation <http://dronestore.org/>",
+ description="nanotime python im... | fixed setup.py, forgot to cleanout copied link. | jbenet_nanotime | train | py |
454810297e64879af90e0f69ba463add44994b76 | diff --git a/thinc/api.py b/thinc/api.py
index <HASH>..<HASH> 100644
--- a/thinc/api.py
+++ b/thinc/api.py
@@ -66,6 +66,24 @@ def remap_ids(ops=None, column=0):
return model
+def with_reshape(layer):
+ def with_reshape_forward(X, drop=0.):
+ initial_shape = X.shape
+ final_shape = list(initial... | Move reshape into thinc.api | explosion_thinc | train | py |
58fa35c0428f36a4eada25cd937c3352e5e3e0bc | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -14,11 +14,6 @@ if (!servicesFile) {
process.exit(1)
}
-if (!fs.existsSync(servicesFile)) {
- console.error(servicesFile + ' does not exist')
- process.exit(2)
-}
-
var padding = ['', ' ', ' ', ' ', ' ']
var se... | do not bail if service file does not exist | mafintosh_lil-pids | train | js |
7fb722dff2605c39866c913780bcc7fff046831e | diff --git a/src/notebook/components/cell/editor.js b/src/notebook/components/cell/editor.js
index <HASH>..<HASH> 100644
--- a/src/notebook/components/cell/editor.js
+++ b/src/notebook/components/cell/editor.js
@@ -159,17 +159,19 @@ export default class Editor extends React.Component {
completions(editor, callback... | Fix bug where completion attempt would happen regardless of MD cell | nteract_nteract | train | js |
2e310d1dc979f32914abe5900fc383d33b07c371 | diff --git a/src/Nether/Avenue/RouteHandler.php b/src/Nether/Avenue/RouteHandler.php
index <HASH>..<HASH> 100644
--- a/src/Nether/Avenue/RouteHandler.php
+++ b/src/Nether/Avenue/RouteHandler.php
@@ -40,7 +40,7 @@ extends Nether\Object\Mapped {
$this->SetRouter($router);
return call_user_func_array(
- [(new... | pass the router to the route constructor | netherphp_avenue | train | php |
1f1f814298a5e40b9b2ee8cf82477f306bcc7eba | diff --git a/lib/lolcommits/plugins/statsd.rb b/lib/lolcommits/plugins/statsd.rb
index <HASH>..<HASH> 100644
--- a/lib/lolcommits/plugins/statsd.rb
+++ b/lib/lolcommits/plugins/statsd.rb
@@ -10,7 +10,7 @@ module Lolcommits
super
self.name = 'statsd'
- self.default = true
+ self.default = fa... | I do not want to send you statsd about the gem usage | lolcommits_lolcommits | train | rb |
fe24baf62e2ace4ee01f1ff40eca538e8b0a75f8 | diff --git a/mautrix/client/syncer.py b/mautrix/client/syncer.py
index <HASH>..<HASH> 100644
--- a/mautrix/client/syncer.py
+++ b/mautrix/client/syncer.py
@@ -338,8 +338,8 @@ class Syncer(ABC):
except (asyncio.CancelledError, MUnknownToken):
raise
except Exception as e:
- ... | Log sync errors as warnings instead of exceptions | tulir_mautrix-python | train | py |
bd79b3b8287441bb43fdd84a7f08b93c02bf36f4 | diff --git a/bcbio/chipseq/atac.py b/bcbio/chipseq/atac.py
index <HASH>..<HASH> 100644
--- a/bcbio/chipseq/atac.py
+++ b/bcbio/chipseq/atac.py
@@ -91,6 +91,7 @@ def split_ATAC(data, bam_file=None):
do.run(cmd, message)
bam.index(out_file, dd.get_config(data))
split_files[arange.la... | For ATAC-seq, also peaks on the full BAM file. | bcbio_bcbio-nextgen | train | py,py |
222387d4dddaa476df2d5b99a9a8375ed8949fe4 | diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -30,6 +30,8 @@ module.exports = {
files: ["*.test.ts", "*.test.tsx", "*.test.js", "*.test.jsx"],
rules: {
"@typescript-eslint/no-var-requires": "off",
+ "@typescript-eslint/no-empt... | meta(eslint): Disable no-empty-function and no-explicit-any in tests (#<I>) | getsentry_react-native-sentry | train | js |
55189307d0ec6992f76572fae675bd371cc36cff | diff --git a/devmapper/deviceset_devmapper.go b/devmapper/deviceset_devmapper.go
index <HASH>..<HASH> 100644
--- a/devmapper/deviceset_devmapper.go
+++ b/devmapper/deviceset_devmapper.go
@@ -204,7 +204,7 @@ func (devices *DeviceSetDM) createPool(dataFile *os.File, metadataFile *os.File)
}
var cookie uint32 = 0
- ... | disable: don't create device nodes manually if udev is not availabile as we don't have it in dind | moby_moby | train | go |
45249d9ac590789acc07dd5a9b9368ddb9542a7e | diff --git a/lib/grape_simple_auth/version.rb b/lib/grape_simple_auth/version.rb
index <HASH>..<HASH> 100644
--- a/lib/grape_simple_auth/version.rb
+++ b/lib/grape_simple_auth/version.rb
@@ -1,3 +1,3 @@
module GrapeSimpleAuth
- VERSION = "0.2.1"
+ VERSION = "0.3.0"
end | Bump grape_simple_auth to <I> | extrainteger_simple_auth | train | rb |
2c83cd5627c4abd26c11938eec9590df52cabb51 | diff --git a/cmd/ipfs/daemon.go b/cmd/ipfs/daemon.go
index <HASH>..<HASH> 100644
--- a/cmd/ipfs/daemon.go
+++ b/cmd/ipfs/daemon.go
@@ -111,11 +111,14 @@ func daemonFunc(req cmds.Request) (interface{}, error) {
return nil, err
}
- // ignore error for gateway address
- // if there is an error (invalid address), th... | daemon: only try gateway addr if there | ipfs_go-ipfs | train | go |
5d265270754f2fc2d3ba761d9b7c48339a24cb7d | diff --git a/downhill/base.py b/downhill/base.py
index <HASH>..<HASH> 100644
--- a/downhill/base.py
+++ b/downhill/base.py
@@ -182,14 +182,18 @@ class Optimizer(util.Registrar(str('Base'), (), {})):
else:
yield param, grad
- def set_params(self, targets):
+ def set_params(self, tar... | Allow set_params to set to the stored best values. | lmjohns3_downhill | train | py |
d3b053cae0fd40a4e0950fa17375b1d00d5c2848 | diff --git a/src/ui/js/diff2html-ui.js b/src/ui/js/diff2html-ui.js
index <HASH>..<HASH> 100644
--- a/src/ui/js/diff2html-ui.js
+++ b/src/ui/js/diff2html-ui.js
@@ -31,10 +31,11 @@
Diff2HtmlUI.prototype.draw = function(targetId, config) {
var cfg = config || {};
+ cfg.inputFormat = 'json';
var $target =... | Force inputFormat on ui helper since it is always json | rtfpessoa_diff2html | train | js |
105647007ea63ea0e750f56d3583272ce1c36b84 | diff --git a/kernel/classes/ezcontentcachemanager.php b/kernel/classes/ezcontentcachemanager.php
index <HASH>..<HASH> 100644
--- a/kernel/classes/ezcontentcachemanager.php
+++ b/kernel/classes/ezcontentcachemanager.php
@@ -701,7 +701,7 @@ class eZContentCacheManager
eZContentCache::cleanup( $nodeList );
... | Fixed #<I>: Raise CacheThreshold to not clear all view cache on normal ezflow frontpages
Improved debug to include object id and better wording. | ezsystems_ezpublish-legacy | train | php |
9d24cfd71f14d719a67c903204d866f15e6848fc | diff --git a/tests/nightly/compilation_warnings/process_output.py b/tests/nightly/compilation_warnings/process_output.py
index <HASH>..<HASH> 100644
--- a/tests/nightly/compilation_warnings/process_output.py
+++ b/tests/nightly/compilation_warnings/process_output.py
@@ -46,9 +46,10 @@ def print_summary(time, warnings):... | only print if there are warnings (#<I>) | apache_incubator-mxnet | train | py |
6090e945ac9ec1f559c94f8f3af5dfd83644fb54 | diff --git a/can/interfaces/usb2can/usb2canabstractionlayer.py b/can/interfaces/usb2can/usb2canabstractionlayer.py
index <HASH>..<HASH> 100644
--- a/can/interfaces/usb2can/usb2canabstractionlayer.py
+++ b/can/interfaces/usb2can/usb2canabstractionlayer.py
@@ -87,7 +87,7 @@ class Usb2CanAbstractionLayer:
:param ... | Fix missing handle for CANAL API functions.
The internal reference for an opened interface via the CANAL API is
returned as an integer from the CanalOpen() DLL call in
Usb2CanAbstractionLayer.open(). It is supposed to be returned from
the abstraction layer and stored in the Usb2canBus.handle member for
later referenc... | hardbyte_python-can | train | py |
d94fa544ad523f9b49cdb4a759c7dcf298e8102e | diff --git a/src/utils/props.js b/src/utils/props.js
index <HASH>..<HASH> 100644
--- a/src/utils/props.js
+++ b/src/utils/props.js
@@ -80,10 +80,13 @@ export function applyDefaultProps(instance, oldProps, newProps) {
)
// update event handlers
- eventHandlers.forEach(function(evt) {
- isFunction(oldProps[ev... | Possibility to ignore event comparison with prop `ignoreEvents` | inlet_react-pixi | train | js |
1653b1b1cd9b01ee18f316262674e069d535ac63 | diff --git a/opal/clearwater/component.rb b/opal/clearwater/component.rb
index <HASH>..<HASH> 100644
--- a/opal/clearwater/component.rb
+++ b/opal/clearwater/component.rb
@@ -135,8 +135,8 @@ module Clearwater
)
HTML_TAGS.each do |tag|
- define_method(tag) do |*args|
- tag(tag, *args)
+ defi... | Specify arguments explicitly
Using the magic JS `arguments` value causes v8 to deoptimize the running
code. Considering this method can get called thousands of times per page
render, we need it to be as efficient as possible. | clearwater-rb_clearwater | train | rb |
564585a10e74e9f2da0d0fedec68fc8fe3a96e5e | diff --git a/xchange-examples/src/main/java/org/knowm/xchange/examples/bitfinex/trade/BitfinexOfferDemo.java b/xchange-examples/src/main/java/org/knowm/xchange/examples/bitfinex/trade/BitfinexOfferDemo.java
index <HASH>..<HASH> 100644
--- a/xchange-examples/src/main/java/org/knowm/xchange/examples/bitfinex/trade/Bitfin... | change the bitfinex ids from int to long | knowm_XChange | train | java |
fd6128d5789952e5f217c5aa25e64cbdde055728 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -17,7 +17,7 @@ describe('event-loop-lag', function() {
it('returns a function', function(done) {
var fn = lag(100);
- assert.equal('function', typeof lag);
+ assert.equal('function', typeof ... | should check fn not lag | pebble_event-loop-lag | train | js |
4ee250f4d5b8a7e2bedb51a4c6b5aadc310aaabf | diff --git a/sphinx_gallery/docs_resolv.py b/sphinx_gallery/docs_resolv.py
index <HASH>..<HASH> 100644
--- a/sphinx_gallery/docs_resolv.py
+++ b/sphinx_gallery/docs_resolv.py
@@ -414,9 +414,8 @@ def _embed_code_links(app, gallery_conf, gallery_dir):
# ensure greediness
names = sorted(str_rep... | Fix regular expression for adding embedded links (#<I>)
The regular expression was not matching for the first (i.e. also the
longest) name. | sphinx-gallery_sphinx-gallery | train | py |
2a2644718a2a21c0df7287d51a1b1b391befc67f | diff --git a/report/src/main/java/com/buschmais/jqassistant/core/report/api/ReportHelper.java b/report/src/main/java/com/buschmais/jqassistant/core/report/api/ReportHelper.java
index <HASH>..<HASH> 100644
--- a/report/src/main/java/com/buschmais/jqassistant/core/report/api/ReportHelper.java
+++ b/report/src/main/java/c... | #<I> We will now also report the servity of a failed constraint or violated concept. | buschmais_jqa-core-framework | train | java |
7430f6ab2a4ecb32e00d083041263258dff71b27 | diff --git a/test/test_scandir.py b/test/test_scandir.py
index <HASH>..<HASH> 100644
--- a/test/test_scandir.py
+++ b/test/test_scandir.py
@@ -70,3 +70,10 @@ class TestScandir(unittest.TestCase):
self.check_file_attributes(result)
self.assertEqual(result.st_file_attributes & scandir.FILE_ATTRIBUTE_DIR... | Add explicit tests for .full_name attribute. | benhoyt_scandir | 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.