hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
6536c6783a216149417bdd8d256ead7f93193f5b
diff --git a/h2o-core/src/main/java/water/fvec/Frame.java b/h2o-core/src/main/java/water/fvec/Frame.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/fvec/Frame.java +++ b/h2o-core/src/main/java/water/fvec/Frame.java @@ -1255,20 +1255,20 @@ public class Frame extends Lockable<Frame> { return res;...
Changed Vec.align to use existing Frame.makeCompatible call to a) avoid code duplication b) preserve data compression for floats (makeCompatible uses ReblanceDataset instead of makeZero() + chunks.set(double) which inflates all floats to doubles)
h2oai_h2o-3
train
d54c2777a7fbfb1a09833a2c728c318c326e4394
diff --git a/python/mxnet/optimizer.py b/python/mxnet/optimizer.py index <HASH>..<HASH> 100644 --- a/python/mxnet/optimizer.py +++ b/python/mxnet/optimizer.py @@ -4,17 +4,49 @@ from .ndarray import NDArray, zeros, clip class Optimizer(object): """Base class of all optimizers.""" - class __metaclass__(type): ...
Optimizer factory is now case insensitive. Changed to explicit registration because metaclass grammar is different between python 2 and python 3.
apache_incubator-mxnet
train
056f721c383a8a4331f7cc7f9958ffdcf794e573
diff --git a/ev3dev2/motor.py b/ev3dev2/motor.py index <HASH>..<HASH> 100644 --- a/ev3dev2/motor.py +++ b/ev3dev2/motor.py @@ -2214,7 +2214,7 @@ class MoveJoystick(MoveTank): # If joystick is in the middle stop the tank if not x and not y: - MoveTank.off() + self.off() ...
Fix call to "off" when MoveJoystick.on is called with joystick centered (#<I>) * Fix call to "off" when MoveJoystick.on is called with joystick centered Fixes #<I>
ev3dev_ev3dev-lang-python
train
439138ce492ba0210ffba7d1fe96c59827f79a2c
diff --git a/sonar-server/src/main/java/org/sonar/server/issue/filter/IssueFilterWs.java b/sonar-server/src/main/java/org/sonar/server/issue/filter/IssueFilterWs.java index <HASH>..<HASH> 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/filter/IssueFilterWs.java +++ b/sonar-server/src/main/java/org/sonar/...
SONAR-<I> Complete "api/issue_filters" WS doc
SonarSource_sonarqube
train
d5d3f025d17d4ca7d355856ad6ae2fd28b074bb4
diff --git a/node-perf-dash/www/controller/index.js b/node-perf-dash/www/controller/index.js index <HASH>..<HASH> 100644 --- a/node-perf-dash/www/controller/index.js +++ b/node-perf-dash/www/controller/index.js @@ -71,7 +71,7 @@ var plotRules = { // Rules to parse test options var testOptions = { 'density': { - ...
Fix typo: oper(t)ation
kubernetes-retired_contrib
train
c3108109448c1ded03981faadeca392c70d735af
diff --git a/javascript/tests/test_msg_reset.js b/javascript/tests/test_msg_reset.js index <HASH>..<HASH> 100644 --- a/javascript/tests/test_msg_reset.js +++ b/javascript/tests/test_msg_reset.js @@ -31,6 +31,7 @@ describe('encode and decode a MSG_RESET message', function () { var msg = new MsgReset(msgEnvelope); ...
debug failing test on travis
swift-nav_libsbp
train
40d2a3ce6e645e9121c8938298fd2114da84ae55
diff --git a/js/kucoin.js b/js/kucoin.js index <HASH>..<HASH> 100644 --- a/js/kucoin.js +++ b/js/kucoin.js @@ -46,6 +46,7 @@ module.exports = class kucoin extends Exchange { 'public': 'https://api.kucoin.com', 'private': 'https://api.kucoin.com', 'kitchen':...
kucoin fetchOHLCV comments and fixes #<I>
ccxt_ccxt
train
623667dc604406ec3340b38e658c7ffa659c1dcf
diff --git a/QUANTAXIS/QAData/data_resample.py b/QUANTAXIS/QAData/data_resample.py index <HASH>..<HASH> 100755 --- a/QUANTAXIS/QAData/data_resample.py +++ b/QUANTAXIS/QAData/data_resample.py @@ -36,7 +36,7 @@ def QA_data_tick_resample(tick, type_='1min'): Returns: [type] -- [description] """ - tic...
Update data_resample.py
QUANTAXIS_QUANTAXIS
train
d83b3af8c3c83a44b22fc0d3e51bfbbcbe2eff42
diff --git a/lib/taxonomies.js b/lib/taxonomies.js index <HASH>..<HASH> 100644 --- a/lib/taxonomies.js +++ b/lib/taxonomies.js @@ -126,4 +126,26 @@ TaxonomiesRequest.prototype.term = function( term ) { return this; }; +/** + * Search for hierarchical taxonomy terms that are children of the parent term + * indicate...
Add parent() query method to taxonomies query chains Again props to @jasonphillips for the initial implementation which I am adapting here (see below for commit link) <URL>
WP-API_node-wpapi
train
35d0485539e0ad777dac75b7da70e049faa4b0db
diff --git a/lib/fake_web/registry.rb b/lib/fake_web/registry.rb index <HASH>..<HASH> 100644 --- a/lib/fake_web/registry.rb +++ b/lib/fake_web/registry.rb @@ -98,9 +98,17 @@ module FakeWeb uri = 'http://' + uri unless uri.match('^https?://') URI.parse(uri) end - normalized_uri.query ...
Restore that re-registering a URI replaces the first registration even when the query params are ordered differently
chrisk_fakeweb
train
80074918c0c8bec6280f870619243dc711ad9a22
diff --git a/salt/modules/postgres.py b/salt/modules/postgres.py index <HASH>..<HASH> 100644 --- a/salt/modules/postgres.py +++ b/salt/modules/postgres.py @@ -87,10 +87,7 @@ def _psql_cmd(*args, **kwargs): return cmdstr -''' -Database related actions -''' - +# Database related actions def db_list(user=None,...
convert docstring into comment. they probably overwrite the module top docstring.
saltstack_salt
train
deda40065169e2ddcac2ae85b9659734013abb40
diff --git a/addon/serializer-registry.js b/addon/serializer-registry.js index <HASH>..<HASH> 100644 --- a/addon/serializer-registry.js +++ b/addon/serializer-registry.js @@ -179,7 +179,7 @@ export default class SerializerRegistry { _serializerFor(modelOrCollection) { let type = modelOrCollection.type; - l...
[#<I>] Fall back to application serializer
samselikoff_ember-cli-mirage
train
ed4596536cce1d0c65959be98906eed482ce5365
diff --git a/spec/visitors/chewy_term_filter/visit_binary_spec.rb b/spec/visitors/chewy_term_filter/visit_binary_spec.rb index <HASH>..<HASH> 100644 --- a/spec/visitors/chewy_term_filter/visit_binary_spec.rb +++ b/spec/visitors/chewy_term_filter/visit_binary_spec.rb @@ -2,11 +2,13 @@ require 'spec_helper' describe M...
Updated spec to match latest convention for testing visit_ methods
Referly_msfl_visitors
train
59aa3b9a915203a57cc59b4028eee516e3cdf7dd
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -244,7 +244,7 @@ class Apsis { files: [ config.paths.serve + '*.html', config.paths.serve + '*.js', - config.paths.src.javascript + ...
fix: update path to browsersync js files watch
ApsisInternational_gulp-config-apsis
train
38e68ea3f1b566ea93eaca82ee7b5b411e88bbe5
diff --git a/actionfacade/lib/action_facade/retrieval.rb b/actionfacade/lib/action_facade/retrieval.rb index <HASH>..<HASH> 100644 --- a/actionfacade/lib/action_facade/retrieval.rb +++ b/actionfacade/lib/action_facade/retrieval.rb @@ -58,7 +58,7 @@ module ActionFacade klass_name = self.class.name if klass...
Guessed facade should be in a module
ryohashimoto_lightrails
train
1aef9788de554d808f837fef98ed799ae41e0fc0
diff --git a/host/volume/zfs/integrations.go b/host/volume/zfs/integrations.go index <HASH>..<HASH> 100644 --- a/host/volume/zfs/integrations.go +++ b/host/volume/zfs/integrations.go @@ -38,3 +38,11 @@ func eunwrap(e error) error { func isDatasetNotExistsError(e error) bool { return strings.HasSuffix(e.Error(), "dat...
host/volume/zfs: Retry on "busy" volume destroy. Sometimes a busy filesystem is reported from zfs even when all containers and jobs have been killed. This typically goes away in a short period of time, so wait and retry.
flynn_flynn
train
b0f2a243d5ce97b2d4963fccb339797d5304bb67
diff --git a/value_test.go b/value_test.go index <HASH>..<HASH> 100644 --- a/value_test.go +++ b/value_test.go @@ -97,8 +97,9 @@ func TestValue_Format(t *testing.T) { t.Errorf("Format: want %q, got %q", want, got) } // - got = fmt.Sprintf("%+1.3世", v) - want = "\033[31m" + fmt.Sprintf("%+1.3世", 3.14) + + const u...
fix Sprintf utf8 verb (tests failed)
logrusorgru_aurora
train
0b3fdcbf1c233a88172dd4aa540affe183ed8cdb
diff --git a/qiskit/aqua/algorithms/__init__.py b/qiskit/aqua/algorithms/__init__.py index <HASH>..<HASH> 100644 --- a/qiskit/aqua/algorithms/__init__.py +++ b/qiskit/aqua/algorithms/__init__.py @@ -16,7 +16,7 @@ # ============================================================================= from .quantum_algorithm...
clean up mentions of qnn
Qiskit_qiskit-terra
train
12c2edc1d573452451f46c660704dde2e335afc0
diff --git a/tests/php/Dev/DeprecationTest.php b/tests/php/Dev/DeprecationTest.php index <HASH>..<HASH> 100644 --- a/tests/php/Dev/DeprecationTest.php +++ b/tests/php/Dev/DeprecationTest.php @@ -61,8 +61,7 @@ class DeprecationTest extends SapphireTest public function testNonMatchingModuleNotifcationVersionDoesntAf...
Fix DeprecationTest The $project use has changed in <I>e4ba<I>cfc2af7e<I>ca<I>affc<I>cd<I>. The test isn't really reliant on $project anyway, it just tests that any other module identifier doesn't interfere with core notification settings.
silverstripe_silverstripe-framework
train
6082f7f9f1362e408cab6d030ca759d69f2cd3a6
diff --git a/src/commands/commands/disable.js b/src/commands/commands/disable.js index <HASH>..<HASH> 100644 --- a/src/commands/commands/disable.js +++ b/src/commands/commands/disable.js @@ -41,6 +41,7 @@ module.exports = class DisableCommandCommand extends Command { } hasPermission(msg) { + if(this.client.optio...
Fix for selfbot permissions in enable, disable, and groups (#<I>)
discordjs_Commando
train
45fd6b356985b149c3ca0555362726d7e5371de8
diff --git a/src/angular-swiper.js b/src/angular-swiper.js index <HASH>..<HASH> 100644 --- a/src/angular-swiper.js +++ b/src/angular-swiper.js @@ -126,7 +126,13 @@ .attr('id', prevButtonId); }, - template: '<div class="swiper-container {{containerCls}}"><div class="paralla...
style - make the template of the directive more readable
ksachdeva_angular-swiper
train
f68e4f4294c2ca9b54ac4f064c085a86e663070b
diff --git a/src/main/java/fr/dudie/nominatim/client/JsonNominatimClient.java b/src/main/java/fr/dudie/nominatim/client/JsonNominatimClient.java index <HASH>..<HASH> 100644 --- a/src/main/java/fr/dudie/nominatim/client/JsonNominatimClient.java +++ b/src/main/java/fr/dudie/nominatim/client/JsonNominatimClient.java @@ -1...
Added additional reverse lookup method with zoom level parameter.
jeremiehuchet_nominatim-java-api
train
b346896414fc71c208be4f39cf6ac77412c5fea0
diff --git a/packages/phone/src/validatePhone.js b/packages/phone/src/validatePhone.js index <HASH>..<HASH> 100644 --- a/packages/phone/src/validatePhone.js +++ b/packages/phone/src/validatePhone.js @@ -1,4 +1,4 @@ -import { addMethod, number, string } from 'yup'; +import { addMethod, string } from 'yup'; import { AsY...
fix(phone): remove yup.number validation method, remove async from test
Availity_availity-react
train
72b9a9d499b6e15cc0089e6a54447e4f2ee4f2df
diff --git a/pkg/endpoint/bpf.go b/pkg/endpoint/bpf.go index <HASH>..<HASH> 100644 --- a/pkg/endpoint/bpf.go +++ b/pkg/endpoint/bpf.go @@ -359,7 +359,7 @@ func (e *Endpoint) removeOldRedirects(owner Owner, desiredRedirects map[string]b // Must be called with endpoint.Mutex not held and endpoint.BuildMutex held. // Re...
endpoint: Reload using existing compiled prog path We observed that the wrong path was being used for reloading BPF programs without compilation: ReloadDatapath() was attempting to load from the new "xxxxx_next" directory rather than the existing state path. Fixes: 2ab<I>f3f9de ("endpoint: Skip compilation if unneede...
cilium_cilium
train
41e98c97d6bfc0f629ac3a2dbbb9c3b069eef7ba
diff --git a/lib/vagrant/systems/linux.rb b/lib/vagrant/systems/linux.rb index <HASH>..<HASH> 100644 --- a/lib/vagrant/systems/linux.rb +++ b/lib/vagrant/systems/linux.rb @@ -45,7 +45,7 @@ module Vagrant folders.each do |name, opts| vm.ssh.execute do |ssh| ssh.exec!("sudo mkdir -p #{opt...
Fix issue with "mount_nfs_fail" translation missing
hashicorp_vagrant
train
5dc9ddadfec18939fbadab4b57e48fefc4e80755
diff --git a/spec/lib/absolutely/uri_inspect_spec.rb b/spec/lib/absolutely/uri_inspect_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/absolutely/uri_inspect_spec.rb +++ b/spec/lib/absolutely/uri_inspect_spec.rb @@ -1,4 +1,4 @@ -describe Absolutely::URI, :inspect do +RSpec.describe Absolutely::URI, :inspect do le...
Update specs to use RSpec.describe
jgarber623_absolutely
train
d9e6a353d656e109142848624df219d9e59cc5d5
diff --git a/aeron-archiver/src/main/java/io/aeron/archiver/client/ArchiveProxy.java b/aeron-archiver/src/main/java/io/aeron/archiver/client/ArchiveProxy.java index <HASH>..<HASH> 100644 --- a/aeron-archiver/src/main/java/io/aeron/archiver/client/ArchiveProxy.java +++ b/aeron-archiver/src/main/java/io/aeron/archiver/cl...
[Java] Retry connect to archive with a timeout but other requests with a max retry attempts.
real-logic_aeron
train
5f8a99368698056263170ece5f66e0246f12c7ee
diff --git a/lib/main.js b/lib/main.js index <HASH>..<HASH> 100644 --- a/lib/main.js +++ b/lib/main.js @@ -108,7 +108,8 @@ var parseModule = function (rule, ctx) { if (startsWith(text, SUMMARY_TOKEN)) { return ignoreUntilEndSummary; } - throw parseError('Unexpected comment "' + text + '"', 'module h...
Allow loud comments outside of test output/expectation.
oddbird_true
train
b11ee5fbb3fa3cc8b40914c1085180cbd0347d7e
diff --git a/library/bootstrap/bootstrap_base.php b/library/bootstrap/bootstrap_base.php index <HASH>..<HASH> 100755 --- a/library/bootstrap/bootstrap_base.php +++ b/library/bootstrap/bootstrap_base.php @@ -84,13 +84,20 @@ class Bootstrap */ protected function installShop() { - $testConfig = $thi...
OEPP-7 Copy custom setup directory to shop
OXID-eSales_testing_library
train
be4282063acac0be916b2ede085909e788dfed0e
diff --git a/lib/io.js b/lib/io.js index <HASH>..<HASH> 100644 --- a/lib/io.js +++ b/lib/io.js @@ -12,12 +12,13 @@ module.exports = function(io, options) { loadVariables = function(socket) { return function() { + var syntax = path.extname(options.sassVariables).substring(1); fs.readFile(options.sa...
Support all CSS syntaxes in io
SC5_sc5-styleguide
train
7fa5c10787b8c6d5749879cd1caaad534029d805
diff --git a/i3pystatus/core/netrc_backend.py b/i3pystatus/core/netrc_backend.py index <HASH>..<HASH> 100644 --- a/i3pystatus/core/netrc_backend.py +++ b/i3pystatus/core/netrc_backend.py @@ -1,6 +1,4 @@ import os - -__author__ = 'facetoe' from keyring.backend import KeyringBackend diff --git a/i3pystatus/github.p...
Added keyring_backend to the settings tuple.
enkore_i3pystatus
train
5b7258e96f7577aa4bed4484f04d96a46bb481d5
diff --git a/lib/xlsx/xform/strings/text-xform.js b/lib/xlsx/xform/strings/text-xform.js index <HASH>..<HASH> 100644 --- a/lib/xlsx/xform/strings/text-xform.js +++ b/lib/xlsx/xform/strings/text-xform.js @@ -9,7 +9,7 @@ class TextXform extends BaseXform { render(xmlStream, model) { xmlStream.openNode('t'); - ...
add xml:space="preserve" for all whitespaces Currently only spaces at begin or end of a text add the xml:space attribute. So at the moment comments with newlines can nott be added.
exceljs_exceljs
train
20cd7b594247da51d3eaeaa88c2c79b85e2a13f7
diff --git a/src/main/java/hex/gbm/DTree.java b/src/main/java/hex/gbm/DTree.java index <HASH>..<HASH> 100644 --- a/src/main/java/hex/gbm/DTree.java +++ b/src/main/java/hex/gbm/DTree.java @@ -563,7 +563,9 @@ public class DTree extends Iced { // Number of trees actually in the model (instead of expected/planned) ...
Read once to avoid racey update Fixes HEX-<I>
h2oai_h2o-2
train
54d7cab275523f1bb49fa95b110d131389870cd1
diff --git a/calendar-bundle/src/Resources/contao/classes/Calendar.php b/calendar-bundle/src/Resources/contao/classes/Calendar.php index <HASH>..<HASH> 100644 --- a/calendar-bundle/src/Resources/contao/classes/Calendar.php +++ b/calendar-bundle/src/Resources/contao/classes/Calendar.php @@ -177,7 +177,7 @@ class Calenda...
[Calendar] Correctly add enclosures to RSS/Atom feeds (see #<I>)
contao_contao
train
c0bc5e81d3dad9994bdfb0b3f522a97e2d876e46
diff --git a/lib/moo/model/template.rb b/lib/moo/model/template.rb index <HASH>..<HASH> 100644 --- a/lib/moo/model/template.rb +++ b/lib/moo/model/template.rb @@ -46,7 +46,7 @@ module Moo end end - attr_reader :filename, :product, :xml + attr_reader :filename, :product attr_accessor :...
added to_xml methods to template
Najaf_moo.rb
train
7554650e92fdf683d1723421cff732bf774a4f9c
diff --git a/tests/TypeObjectTest.php b/tests/TypeObjectTest.php index <HASH>..<HASH> 100644 --- a/tests/TypeObjectTest.php +++ b/tests/TypeObjectTest.php @@ -82,7 +82,11 @@ EOD; // implements if (defined('HHVM_VERSION')) { - $this->assertContains('<dt>...
hhvm nut cracked?
bkdotcom_PHPDebugConsole
train
f9981bb56d6a6fd1ba6049bdf2e857402f8fc1ac
diff --git a/DependencyInjection/Compiler/TwigThemePass.php b/DependencyInjection/Compiler/TwigThemePass.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/Compiler/TwigThemePass.php +++ b/DependencyInjection/Compiler/TwigThemePass.php @@ -16,6 +16,11 @@ use Symfony\Component\DependencyInjection\Compiler\Compile...
Added some PHPDoc in TwigThemePass
lolautruche_EzCoreExtraBundle
train
34d77b51e4f6faec52fcda7e0e9022d4d7b68e22
diff --git a/src/Tsufeki/KayoJsonMapper/Loader/ObjectLoader.php b/src/Tsufeki/KayoJsonMapper/Loader/ObjectLoader.php index <HASH>..<HASH> 100644 --- a/src/Tsufeki/KayoJsonMapper/Loader/ObjectLoader.php +++ b/src/Tsufeki/KayoJsonMapper/Loader/ObjectLoader.php @@ -121,7 +121,7 @@ class ObjectLoader implements Loader ...
Fix loading object with null properties.
tsufeki_kayo-json-mapper
train
31f9c8a7768ea1d6fe211773263969c622c812b0
diff --git a/actors/lib/agent_manager.rb b/actors/lib/agent_manager.rb index <HASH>..<HASH> 100644 --- a/actors/lib/agent_manager.rb +++ b/actors/lib/agent_manager.rb @@ -26,7 +26,7 @@ class AgentManager include RightScale::Actor - expose :ping, :set_log_level, :execute, :connect, :disconnect, :record_fault + ...
Expose stats in agent_manager
rightscale_right_agent
train
91334a2a96299d2af4f322928617d650e764149d
diff --git a/raft.go b/raft.go index <HASH>..<HASH> 100644 --- a/raft.go +++ b/raft.go @@ -747,7 +747,7 @@ func (r *Raft) run() { // runFollower runs the FSM for a follower. func (r *Raft) runFollower() { - didWarn := true + didWarn := false r.logger.Printf("[INFO] raft: %v entering Follower state (Leader: %q)", ...
Revert accidental change of didWarn := false
hashicorp_raft
train
5d36a58d2df83b045487e9701e309978c3dd777d
diff --git a/ibis/backends/base/sql/alchemy/query_builder.py b/ibis/backends/base/sql/alchemy/query_builder.py index <HASH>..<HASH> 100644 --- a/ibis/backends/base/sql/alchemy/query_builder.py +++ b/ibis/backends/base/sql/alchemy/query_builder.py @@ -40,8 +40,10 @@ class _AlchemyTableSetFormatter(TableSetFormatter): ...
fix(histogram): cross_join needs onclause=True also add basic test for col.histogram() closes #<I>
ibis-project_ibis
train
bf898accdac9f970e8dc69067d89309a3f0a1658
diff --git a/src/BjyAuthorize/Guard/Controller.php b/src/BjyAuthorize/Guard/Controller.php index <HASH>..<HASH> 100644 --- a/src/BjyAuthorize/Guard/Controller.php +++ b/src/BjyAuthorize/Guard/Controller.php @@ -54,15 +54,23 @@ class Controller implements GuardInterface, RuleProviderInterface, ResourceProvi { ...
Ability to add multiple actions on Controller Guard
bjyoungblood_BjyAuthorize
train
de601dbc92008e97611424309dc6a7a5dc09feb6
diff --git a/packages/ember-routing/lib/helpers/link_to.js b/packages/ember-routing/lib/helpers/link_to.js index <HASH>..<HASH> 100644 --- a/packages/ember-routing/lib/helpers/link_to.js +++ b/packages/ember-routing/lib/helpers/link_to.js @@ -16,8 +16,9 @@ Ember.onLoad('Ember.Handlebars', function(Handlebars) { ta...
Add title attribute binding to linkTo helper.
emberjs_ember.js
train
bda59945f12b61047cb0c8d022f6e0e67e81ec34
diff --git a/src/Entity.js b/src/Entity.js index <HASH>..<HASH> 100644 --- a/src/Entity.js +++ b/src/Entity.js @@ -9,6 +9,8 @@ const Link = require('./Link'); function Entity(entity) { + entity = entity || {}; + if (entity instanceof Entity) { return entity; } diff --git a/test/entity.js b/test/entity.js in...
Fix "entity is undefined" This was noticed in d2l-my-courses, which uses d2l-siren-parser, which uses this. If the passed entity is undefined for whatever reason, then things crap out on trying to find out if the rel exists. To safely navigate this, and always ensure entity.getXByY and other functions work, return an ...
Brightspace_node-siren-parser
train
a137a232b4eef17282566c0f911a1420704d9bb0
diff --git a/sukhoi.py b/sukhoi.py index <HASH>..<HASH> 100644 --- a/sukhoi.py +++ b/sukhoi.py @@ -1,11 +1,11 @@ -from websnake import ResponseHandle, get, post +from websnake import ResponseHandle, Get, Post from ehp import Html as EhpHtml import lxml.html as LxmlHtml from bs4 import BeautifulSoup -from untwisted.e...
Getting to work with websnake changes.
untwisted_sukhoi
train
fd9190f404cbc6b05b1893840e761a2b156a6be7
diff --git a/lib/client/client.rb b/lib/client/client.rb index <HASH>..<HASH> 100644 --- a/lib/client/client.rb +++ b/lib/client/client.rb @@ -139,19 +139,20 @@ module Instamojo def payment_request(options, &block) set_options(options, &block) post('payment-requests', options) - @response + ...
Payment Request endpoints are now using the PaymentRequest class
AnkurGel_Instamojo-rb
train
d8316d34bb8048d401118b6470e1de217e0b2243
diff --git a/dbus/methods.go b/dbus/methods.go index <HASH>..<HASH> 100644 --- a/dbus/methods.go +++ b/dbus/methods.go @@ -204,7 +204,7 @@ func (c *Conn) GetUnitTypeProperties(unit string, unitType string) (map[string]i // to modify. properties are the settings to set, encoded as an array of property // name and valu...
fix(dbus): Use full path for SetUnitProperties
coreos_go-systemd
train
190dc5a40ab330bf0c2e2ce2954fd72526cabfe1
diff --git a/cli/compose/loader/loader.go b/cli/compose/loader/loader.go index <HASH>..<HASH> 100644 --- a/cli/compose/loader/loader.go +++ b/cli/compose/loader/loader.go @@ -251,6 +251,8 @@ func transformHook( return transformMappingOrList(data, "="), nil case reflect.TypeOf(types.MappingWithColon{}): return t...
Support expanded mounts in Compose loader Add a test for loading expanded mount format.
moby_moby
train
58e81f07ef31df30650ccbc9be8837b648f88abc
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -606,7 +606,7 @@ If the json can't be parsed an exception is raised: ```ruby Lotus::Routing::Parsing::BodyParsingError -`` +``` #### Custom Parsers @@ -622,8 +622,8 @@ class XmlParser # Parse body and return a ...
Moved body parsing exception class to parser class
hanami_router
train
d55955f39352fcf15f0e7d0c66279f799c15c14b
diff --git a/source/status_report/base.py b/source/status_report/base.py index <HASH>..<HASH> 100644 --- a/source/status_report/base.py +++ b/source/status_report/base.py @@ -119,7 +119,7 @@ class User(object): else: # extract everything from the email string provided # eg, "My Name" ...
Fix tests for renamed EMAIL_REGEXP and ReportError
psss_did
train
5494a4964b36c1183a6b9aecfb3f035478f7bcda
diff --git a/lib/sched/client.rb b/lib/sched/client.rb index <HASH>..<HASH> 100644 --- a/lib/sched/client.rb +++ b/lib/sched/client.rb @@ -16,7 +16,7 @@ module Sched def events unless @events results = FasterCSV.parse(request('event/list', nil, :get)) - attributes = results.shift.map{|a| a.to_sym} + a...
Strip whitespace from attribute names in CSV results
elektronaut_sched
train
aab60f91fad4bdacf9fc635c0dc28f3e2c10ec4e
diff --git a/test/com/google/javascript/jscomp/CheckConformanceTest.java b/test/com/google/javascript/jscomp/CheckConformanceTest.java index <HASH>..<HASH> 100644 --- a/test/com/google/javascript/jscomp/CheckConformanceTest.java +++ b/test/com/google/javascript/jscomp/CheckConformanceTest.java @@ -443,6 +443,75 @@ publ...
Add some tests to validate that property use violations are reported with template types ------------- Created by MOE: <URL>
google_closure-compiler
train
03a2d5c22e21df32eb3125e047f8088962741971
diff --git a/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/annotations/NamedParameter.java b/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/annotations/NamedParameter.java index <HASH>..<HASH> 100644 --- a/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/annotations/NamedParameter....
[REEF-<I>] Make Tang allow empty string as a default value for String NamedParameter This PR resolves that Tang raises InjectionException for String NamedParameter whose default value is defined with "". JIRA: [REEF-<I>](<URL>) Pull request: This closes #<I>
apache_reef
train
587118aa277bcb5b82ffabae0f411ed4182738da
diff --git a/test/test_helper.rb b/test/test_helper.rb index <HASH>..<HASH> 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -28,6 +28,7 @@ require "mocha/setup" # Database setup require "active_record" +require "logger" ActiveRecord::Base.logger = Logger.new(STDERR) ActiveRecord::Base.logger.level =...
Explicitly get the logger, otherwise it might not be present.
pupeno_random_unique_id
train
aafc3cc80653d4fab40222bf1b811a4f8a5d5d46
diff --git a/src/FormElement/Date.php b/src/FormElement/Date.php index <HASH>..<HASH> 100644 --- a/src/FormElement/Date.php +++ b/src/FormElement/Date.php @@ -14,6 +14,6 @@ class Date extends AbstractFormElement protected function attachDefaultValidators(InputInterface $input, DOMElement $element) { ...
Make date type validator a bit more strict
xtreamwayz_html-form-validator
train
944fae27f0c8f134d295be9e356f7dd8c5c0bc13
diff --git a/search.go b/search.go index <HASH>..<HASH> 100644 --- a/search.go +++ b/search.go @@ -74,8 +74,8 @@ func (dr *dateTimeRange) UnmarshalJSON(input []byte) error { // of the result document set you would like to be // built. type FacetRequest struct { - Size int - Field string + Size ...
parse size and field for facets, print facet results
blevesearch_bleve
train
92030f59b2e3f02e0cb6263aab5ea61043db4447
diff --git a/src/com/connectsdk/service/sessions/WebOSWebAppSession.java b/src/com/connectsdk/service/sessions/WebOSWebAppSession.java index <HASH>..<HASH> 100644 --- a/src/com/connectsdk/service/sessions/WebOSWebAppSession.java +++ b/src/com/connectsdk/service/sessions/WebOSWebAppSession.java @@ -158,16 +158,16 @@ pub...
Fixed issue with parsing media command responses in webOS, fixes #<I>
ConnectSDK_Connect-SDK-Android
train
8849c0ea5777ee0eb85375d6e4a74d7f956c77ee
diff --git a/packages/netlify-cms-backend-bitbucket/src/API.js b/packages/netlify-cms-backend-bitbucket/src/API.js index <HASH>..<HASH> 100644 --- a/packages/netlify-cms-backend-bitbucket/src/API.js +++ b/packages/netlify-cms-backend-bitbucket/src/API.js @@ -114,7 +114,7 @@ export default class API { }; }; - ...
fix(backend-bitbucket): fix media library not loaded on BitBucket (#<I>)
netlify_netlify-cms
train
c1b450fd46dae5ddd93a353400a3ceef3dbda7f4
diff --git a/sheet.go b/sheet.go index <HASH>..<HASH> 100644 --- a/sheet.go +++ b/sheet.go @@ -111,17 +111,11 @@ func (s *Sheet) SetColWidth(startcol, endcol int, width float64) error { if startcol > endcol { return fmt.Errorf("Could not set width for range %d-%d: startcol must be less than endcol.", startcol, end...
SetColWidth index out of range issue #<I>
tealeg_xlsx
train
7f3d6294fb71fb38588e78b96fdaa878a820b30d
diff --git a/tests/ImageModifierTest.php b/tests/ImageModifierTest.php index <HASH>..<HASH> 100644 --- a/tests/ImageModifierTest.php +++ b/tests/ImageModifierTest.php @@ -44,7 +44,7 @@ class ImageModifierTest extends PHPUnit_Framework_TestCase */ public function test_save_image() { - $this->modif...
Added Modifier prefix to saved images
LasseHaslev_image-handler
train
fc3f233923abb5f868e7c27023092833ffcc7f8e
diff --git a/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php b/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php +++ b/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php @@ -67,7 +67,7 @@ class ReflectionEmbedde...
Yodaism good for you: is.
doctrine_orm
train
7d7f6c6bb254960ef7c0850a973d3faf420e1edf
diff --git a/cmd-ls.go b/cmd-ls.go index <HASH>..<HASH> 100644 --- a/cmd-ls.go +++ b/cmd-ls.go @@ -128,7 +128,8 @@ func runListCmd(ctx *cli.Context) { for targetURL, targetConfig := range targetURLConfigMap { // if recursive strip off the "..." newTargetURL := stripRecursiveURL(targetURL) - recursivePrefix := ...
handle recursive prefix properly for cp and sync as well
minio_mc
train
e4f2296c77875a384d1d84af10c3c7909f365f82
diff --git a/composer.json b/composer.json index <HASH>..<HASH> 100644 --- a/composer.json +++ b/composer.json @@ -5,14 +5,14 @@ "require": { "php": ">=5.6", "symfony/symfony": ">=3.2", - "blast-project/core-bundle": ">=0.4", - "blast-project/base-entities-bundle": ">=0.4", - "blast...
Lisem fix & features (#<I>) * Fix variety tab show order * Fix variety form composition * Use composer self.version
sil-project_VarietyBundle
train
262b7fd5956ffad9c68b2fd27467981e9535a06c
diff --git a/h2o-automl/src/main/java/ai/h2o/automl/Leaderboard.java b/h2o-automl/src/main/java/ai/h2o/automl/Leaderboard.java index <HASH>..<HASH> 100644 --- a/h2o-automl/src/main/java/ai/h2o/automl/Leaderboard.java +++ b/h2o-automl/src/main/java/ai/h2o/automl/Leaderboard.java @@ -344,9 +344,9 @@ public class Leaderbo...
Show leaderboard updates to R console and update leaderboard output
h2oai_h2o-3
train
1d0d1dc20dae343a6f3ea43ac3d26f6589f0f216
diff --git a/dci/common/schemas.py b/dci/common/schemas.py index <HASH>..<HASH> 100644 --- a/dci/common/schemas.py +++ b/dci/common/schemas.py @@ -62,7 +62,7 @@ class Properties(object): def _is_key_value_csv(validator, value, instance, schema): for element in instance.split(","): - if len(element.split(...
tags with ":" raise error when looked for - jobs with tags like "job:example-cnf" are searchable and raise error - this patch fix the schema validation - nrt added Change-Id: Ic8d<I>fb6b<I>fd<I>b5ab<I>d0ad6a<I>ef3
redhat-cip_dci-control-server
train
6dec9641704168f2acfd6c011a3c8947e7bb318f
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,10 +47,7 @@ sphinx_gallery_conf = { 'doc_module': ('metpy',), 'reference_url': { 'metpy': None, - 'matplotlib': 'https://matplotlib.org/', - 'numpy': 'https://docs.scipy.org...
MNT: Update config for sphinx-gallery <I> It can just rely on the intersphinx config rather than needing a separate config to point to other projects' docs.
Unidata_MetPy
train
8d62185be90d2605107654f69f9c9f85fbe3876e
diff --git a/git/releasing.go b/git/releasing.go index <HASH>..<HASH> 100644 --- a/git/releasing.go +++ b/git/releasing.go @@ -63,11 +63,8 @@ func check(workingDir, subdir string) bool { return diff.Run() != nil } -func copyKey(working, key string) (string, error) { +func writeKey(working, key string) (string, err...
Treat git key from config as the key data, not a file path
weaveworks_flux
train
6c5ddcdf8d68a362e02f00420459b33982bb4cc2
diff --git a/lib/vagrant/env.rb b/lib/vagrant/env.rb index <HASH>..<HASH> 100644 --- a/lib/vagrant/env.rb +++ b/lib/vagrant/env.rb @@ -89,7 +89,10 @@ module Vagrant def load_root_path!(path=nil) path ||= Pathname.new(Dir.pwd) - return false if path.to_s == '/' + # Stop if we're at the ro...
Windows root path checking. Interim solution.
hashicorp_vagrant
train
cfb1e9f0af8998969a9829dcfbf01bde86ea94fa
diff --git a/tests/test_simpleTipper.py b/tests/test_simpleTipper.py index <HASH>..<HASH> 100644 --- a/tests/test_simpleTipper.py +++ b/tests/test_simpleTipper.py @@ -32,7 +32,7 @@ if sys.platform.find('java') == -1: def test_imports3(self): tip = _pydev_imports_tipper.generate_tip('os') ...
Fixing tests on Python <I> (on travis).
fabioz_PyDev.Debugger
train
5273b8969a4a807dbfcc3d91c4470217c0980172
diff --git a/rescan.go b/rescan.go index <HASH>..<HASH> 100644 --- a/rescan.go +++ b/rescan.go @@ -862,9 +862,7 @@ func (s *ChainService) blockFilterMatches(ro *rescanOptions, blockHash *chainhash.Hash) (bool, error) { // TODO(roasbeef): need to ENSURE always get filter - - key := builder.DeriveKey(blockHash) - b...
rescan: refactor blockFilterMatches to use matchBlockFilter In this commit, we refactor blockFilterMatches to use matchBlockFilter to reuse the filter matching logic, rather than using its own.
lightninglabs_neutrino
train
7d4dcf4fd12b29b9a2a5eba0a049d951931cea68
diff --git a/amazon_dash/install/__init__.py b/amazon_dash/install/__init__.py index <HASH>..<HASH> 100644 --- a/amazon_dash/install/__init__.py +++ b/amazon_dash/install/__init__.py @@ -12,9 +12,9 @@ SYSTEMD_PATHS = [ '/usr/lib/systemd/system', '/lib/systemd/system', ] -__dir__ = os.path.dirname(os.path.abs...
Issue #<I>: Check Python <I> support (Fix Python <I> support).
Nekmo_amazon-dash
train
211af9aa8f4e84ac7dfc161895405bd8771760fe
diff --git a/src/Parser.js b/src/Parser.js index <HASH>..<HASH> 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -94,6 +94,13 @@ export function parse (value, root, parent, rule, rules, rulesets, pseudo, point index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo ...
Adding basic support for escaped characters Just basic backslash escaping of the "next character" - this commit adds no support for hex digits terminated with a space
thysultan_stylis.js
train
dc9a4b0e27d5b0ba1b09a8b01db6c18dd880c42b
diff --git a/apptentive/src/main/java/com/apptentive/android/sdk/module/messagecenter/view/MessageCenterWhoCardView.java b/apptentive/src/main/java/com/apptentive/android/sdk/module/messagecenter/view/MessageCenterWhoCardView.java index <HASH>..<HASH> 100644 --- a/apptentive/src/main/java/com/apptentive/android/sdk/mod...
ANDROID-<I> Simplify the state change logic of the That's Me/Save button on Who Card. Since we don't display a disabled visual cue for boraderless text button, the logic can be simplified in the onclickListener. If email is invalid, nothing will happen when "That's Me"/"Save" is clicked.
apptentive_apptentive-android
train
76995a658261dc4847346f3c7d28d3b896be0eb6
diff --git a/elasticsearch/connection/thrift.py b/elasticsearch/connection/thrift.py index <HASH>..<HASH> 100644 --- a/elasticsearch/connection/thrift.py +++ b/elasticsearch/connection/thrift.py @@ -66,7 +66,11 @@ class ThriftConnection(PoolingConnection): except (TException, SocketTimeout) as e: ...
ignore exceptions when trying to close transport socket
elastic_elasticsearch-py
train
f3dc14d8c171083eb8975fd73355e09cc9a5d46e
diff --git a/tests/codeception/_support/YamlHelper.php b/tests/codeception/_support/YamlHelper.php index <HASH>..<HASH> 100644 --- a/tests/codeception/_support/YamlHelper.php +++ b/tests/codeception/_support/YamlHelper.php @@ -246,13 +246,19 @@ class YamlHelper extends \Codeception\Module { $filename = IN...
[Tests] Clean up and re-order page binding
bolt_bolt
train
5ec6d7a3b448adf114016ee1887acca88613431f
diff --git a/provider/oci/environ.go b/provider/oci/environ.go index <HASH>..<HASH> 100644 --- a/provider/oci/environ.go +++ b/provider/oci/environ.go @@ -445,13 +445,10 @@ func (e *Environ) getCloudInitConfig(series string, apiPort int) (cloudinit.Clou } switch operatingSystem { case os.Ubuntu: - fwCmd := fmt.S...
Removes some superfluous intermediate variables for OCI firewall rules.
juju_juju
train
6079ec1f77daf364a2b25cf651e9b3c9e1b95a16
diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index <HASH>..<HASH> 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -746,8 +746,8 @@ module ActiveResource # # => true # def ==(other) - ...
ActiveResource#eqls? and == should not take into account object identity and prefix options should be considered. [#<I> state:resolved]
rails_rails
train
94ee85f20d91d7105cf2e5e1a71908607ae81888
diff --git a/src/Ciconia/Extension/Gfm/InlineStyleExtension.php b/src/Ciconia/Extension/Gfm/InlineStyleExtension.php index <HASH>..<HASH> 100644 --- a/src/Ciconia/Extension/Gfm/InlineStyleExtension.php +++ b/src/Ciconia/Extension/Gfm/InlineStyleExtension.php @@ -2,9 +2,12 @@ namespace Ciconia\Extension\Gfm; +use C...
added support for strike-through (~~word~~ to <del>word</del>) #3
kzykhys_Ciconia
train
f844e25f9a6ce9b763c66653b7272eb552ac1dcf
diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/Election.java b/aeron-cluster/src/main/java/io/aeron/cluster/Election.java index <HASH>..<HASH> 100644 --- a/aeron-cluster/src/main/java/io/aeron/cluster/Election.java +++ b/aeron-cluster/src/main/java/io/aeron/cluster/Election.java @@ -583,7 +583,7 @@ class Ele...
[Java] Simplify LogReplay.
real-logic_aeron
train
af0fd4c387a0e0afbc46da605c6163ce00d1da0c
diff --git a/src/test/java/com/cronutils/model/time/generator/ExecutionTimeUnixIntegrationTest.java b/src/test/java/com/cronutils/model/time/generator/ExecutionTimeUnixIntegrationTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/cronutils/model/time/generator/ExecutionTimeUnixIntegrationTest.java +++ b/src/...
Issue #<I>: Add some test cases.
jmrozanec_cron-utils
train
939087dcaf291820922ba8524c10c7db9b9d7b47
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php index <HASH>..<HASH> 100644 --- a/Tests/Auth/OpenID/StoreTest.php +++ b/Tests/Auth/OpenID/StoreTest.php @@ -367,7 +367,7 @@ explicitly'); if (PEAR::isError($result)) { $failures++; - sleep($fail...
[project @ Changed pgsql db creation backoff]
openid_php-openid
train
7248340745aaa1905cda74295262a5118ffcaaa3
diff --git a/src/Commands/BaseCommand.php b/src/Commands/BaseCommand.php index <HASH>..<HASH> 100755 --- a/src/Commands/BaseCommand.php +++ b/src/Commands/BaseCommand.php @@ -139,7 +139,9 @@ class BaseCommand extends Command if ($this->commandData->config->forceMigrate) { $this->call('migr...
Solve generating fields from json
InfyOmLabs_laravel-generator
train
177578dbc0dd727fb8ccdabc81569d6f96fca6fb
diff --git a/index.js b/index.js index <HASH>..<HASH> 100755 --- a/index.js +++ b/index.js @@ -506,6 +506,11 @@ Form.prototype.onParseHeadersEnd = function(offset) { handleField(self, self.destStream); } else if (self.destStream.filename != null && self.autoFiles) { handleFile(self, self.destStream); + } ...
Always emit close after all parts ended This makes sure to track the end of all emitted parts and delay the close event until all parts have been consumed. fixes #<I>
pillarjs_multiparty
train
a230a6eeb5f8f2879f7fdd4355da1ec5d06dd2c5
diff --git a/kernel/search/plugins/ezsearchengine/ezsearchengine.php b/kernel/search/plugins/ezsearchengine/ezsearchengine.php index <HASH>..<HASH> 100644 --- a/kernel/search/plugins/ezsearchengine/ezsearchengine.php +++ b/kernel/search/plugins/ezsearchengine/ezsearchengine.php @@ -699,7 +699,7 @@ class eZSearchEngine ...
Added sorting on publishing date, as frequency is broken. Removed unused code 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
53e36066f9c5d10a0db770ddfbdf8342a08c9baf
diff --git a/actions/modules/file_formats/fasta_/set_.py b/actions/modules/file_formats/fasta_/set_.py index <HASH>..<HASH> 100644 --- a/actions/modules/file_formats/fasta_/set_.py +++ b/actions/modules/file_formats/fasta_/set_.py @@ -10,3 +10,6 @@ class FastaSet(object): elif hasattr(key, 'chr') and hasattr(k...
added get_interval to fasta set
childsish_sofia
train
4a358d8499a606e43f3197cbecfffc6c6ca3f1fd
diff --git a/codegen/src/main/java/io/sundr/codegen/coverters/JavaTypeFunction.java b/codegen/src/main/java/io/sundr/codegen/coverters/JavaTypeFunction.java index <HASH>..<HASH> 100644 --- a/codegen/src/main/java/io/sundr/codegen/coverters/JavaTypeFunction.java +++ b/codegen/src/main/java/io/sundr/codegen/coverters/Jav...
Use more accurate values for kind and concrete in JavaTypeFunction.
sundrio_sundrio
train
e3a7dc71433b7756139479f4a462f4a68aaf0bcb
diff --git a/lib/HTTPRequest.php b/lib/HTTPRequest.php index <HASH>..<HASH> 100755 --- a/lib/HTTPRequest.php +++ b/lib/HTTPRequest.php @@ -58,7 +58,7 @@ class HTTPRequest extends Request { ); // @todo phpdoc needed - public $oldFashionUploadFP = true; + public $oldFashionUploadFP = false; public $answerlen = 0;...
ConnectionPool: hotfix previous commit for php <I>
kakserpom_phpdaemon
train
853fc97b54c80f396228e2f6e1a88e9d59a6def6
diff --git a/py/testdir_single_jvm/test_GLM_poisson_goalies_gg.py b/py/testdir_single_jvm/test_GLM_poisson_goalies_gg.py index <HASH>..<HASH> 100644 --- a/py/testdir_single_jvm/test_GLM_poisson_goalies_gg.py +++ b/py/testdir_single_jvm/test_GLM_poisson_goalies_gg.py @@ -53,7 +53,7 @@ class Basic(unittest.TestCase): ...
didn't update this on name change
h2oai_h2o-2
train
4335285a646bf772e87838476257ea5b3146dcbf
diff --git a/cmd/syncthing/cli/show.go b/cmd/syncthing/cli/show.go index <HASH>..<HASH> 100644 --- a/cmd/syncthing/cli/show.go +++ b/cmd/syncthing/cli/show.go @@ -35,6 +35,11 @@ var showCommand = cli.Command{ Usage: "Report about connections to other devices", Action: expects(0, indexDumpOutput("system/connect...
cmd/syncthing/cli: Add show discovery command (fixes #<I>) (#<I>)
syncthing_syncthing
train
bdca5429d8d6c4e076a61978a58fa107193dc8e2
diff --git a/model/qti/Service.php b/model/qti/Service.php index <HASH>..<HASH> 100755 --- a/model/qti/Service.php +++ b/model/qti/Service.php @@ -133,7 +133,12 @@ class Service extends tao_models_classes_Service { $label = mb_substr($rdfItem->getLabel(), 0, 256, 'UTF-8'); //set the current data ...
From now xml:lang attribute is not ommited when importing qti package with items/test;
oat-sa_extension-tao-itemqti
train
61c4f100e6fd185214a1bcb21e65cb66ba4c68fc
diff --git a/proso_models/views.py b/proso_models/views.py index <HASH>..<HASH> 100644 --- a/proso_models/views.py +++ b/proso_models/views.py @@ -317,23 +317,26 @@ def practice(request): elif request.method == 'GET': PracticeSet.objects.filter(answer__user_id=request.user.id).update(finished=True) - ...
simplify practice resource when limit == 0
adaptive-learning_proso-apps
train
58ebe433bc4851cfe4c074d22cceb2eb4e463f4b
diff --git a/openfisca_core/holders.py b/openfisca_core/holders.py index <HASH>..<HASH> 100644 --- a/openfisca_core/holders.py +++ b/openfisca_core/holders.py @@ -197,7 +197,8 @@ class Holder(object): if exact_array is not None: intersection_period = periods.intersection(period, ex...
Don't rescale enumerations.
openfisca_openfisca-core
train
74d2ca44d7353b4a2cd2e9dc05f0d83d8e51c26b
diff --git a/src/Jasny/Router.php b/src/Jasny/Router.php index <HASH>..<HASH> 100644 --- a/src/Jasny/Router.php +++ b/src/Jasny/Router.php @@ -110,6 +110,36 @@ class Router /** + * Set the method to route + * + * @param string $method + * @return Router + */ + public function setMet...
Added support for request method in routes
jasny_router
train
e7ee568c52dfcdfb4608978c4f823bab29a89a37
diff --git a/peerconn_test.go b/peerconn_test.go index <HASH>..<HASH> 100644 --- a/peerconn_test.go +++ b/peerconn_test.go @@ -7,7 +7,6 @@ import ( "sync" "testing" - "github.com/anacrolix/missinggo/pubsub" "github.com/frankban/quicktest" "github.com/stretchr/testify/require" @@ -93,17 +92,15 @@ func Benchm...
Fix BenchmarkConnectionMainReadLoop Broken by piece request order changes.
anacrolix_torrent
train
c927f2e188a0f5f5870afe83bb161dcd077bafa1
diff --git a/internal/buffer_pool.go b/internal/buffer_pool.go index <HASH>..<HASH> 100644 --- a/internal/buffer_pool.go +++ b/internal/buffer_pool.go @@ -15,9 +15,14 @@ package internal import ( + "errors" "io" + "io/ioutil" + "path/filepath" "runtime" "runtime/debug" + "strconv" + "strings" "sync" "gi...
Calculate the available memory from cgroup memory limit and memory usage
kahing_goofys
train
7ab3ff9f70ccf9e166c8e9ea32aa2ed1922b990d
diff --git a/test/test_shamir.rb b/test/test_shamir.rb index <HASH>..<HASH> 100644 --- a/test/test_shamir.rb +++ b/test/test_shamir.rb @@ -42,20 +42,20 @@ class TestShamir < Test::Unit::TestCase s.create_random_secret() s2 = SecretSharing::Shamir.new(5) - s2.shares << s.shares[0] + s2 << s.shares[0] asse...
semantics: add shares to object directly, instead of to shares attribute
grempe_secretsharing
train
963987546883b02f069e74b29080c8f08a4db527
diff --git a/lib/hexdump/reader.rb b/lib/hexdump/reader.rb index <HASH>..<HASH> 100644 --- a/lib/hexdump/reader.rb +++ b/lib/hexdump/reader.rb @@ -91,7 +91,7 @@ module Hexdump # # @yieldparam [String] raw # - # @yieldparam [Integer] uint + # @yieldparam [Integer, nil] uint # # @return [En...
Reader can technically yield nil values if there's not enough data to unpack.
postmodern_hexdump
train
f1c86aaff485e33b146b0dccc7d9023511ca662c
diff --git a/agents/scripts/configs.py b/agents/scripts/configs.py index <HASH>..<HASH> 100644 --- a/agents/scripts/configs.py +++ b/agents/scripts/configs.py @@ -32,7 +32,7 @@ def default(): algorithm = ppo.PPOAlgorithm num_agents = 30 eval_episodes = 30 - use_gpu = True + use_gpu = False # Network ne...
Don't use GPU by default. Some batches don't fit into GPU memory. We will break up long episodes into chunks in a later commit.
google-research_batch-ppo
train
987efda844651950a15f57f7b606a252f6dc1f01
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ import os import setuptools import sys import platform +import re def read_description(): @@ -46,6 +47,9 @@ def read_description(): "//travis-ci.org/niklasf/python-chess.svg?branch=master", ...
setup.py: remove doctest comments from long description (#<I>)
niklasf_python-chess
train
0458b433ed802d911e304816bae09b23708d6982
diff --git a/src/Models/ObjectMap/Entities/Associations/AssociationStubMonomorphic.php b/src/Models/ObjectMap/Entities/Associations/AssociationStubMonomorphic.php index <HASH>..<HASH> 100644 --- a/src/Models/ObjectMap/Entities/Associations/AssociationStubMonomorphic.php +++ b/src/Models/ObjectMap/Entities/Associations/...
Vastly shrink special case for hasManyThrough compatibility checking (#<I>)
Algo-Web_POData-Laravel
train