hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
e2db1da13874a38aa99b7954ed59f70ccf4f0dc7
diff --git a/endpoints-control/src/test/java/com/google/api/control/ClientTest.java b/endpoints-control/src/test/java/com/google/api/control/ClientTest.java index <HASH>..<HASH> 100644 --- a/endpoints-control/src/test/java/com/google/api/control/ClientTest.java +++ b/endpoints-control/src/test/java/com/google/api/contr...
add tests for start on check/report
cloudendpoints_endpoints-management-java
train
e0cc07e2e30b10268f839128942438c5ae2a0380
diff --git a/lib/zk/client/threaded.rb b/lib/zk/client/threaded.rb index <HASH>..<HASH> 100644 --- a/lib/zk/client/threaded.rb +++ b/lib/zk/client/threaded.rb @@ -180,6 +180,7 @@ module ZK old_cnx.close! if old_cnx # && !old_cnx.closed? else logger.debug { "#{self.class}##{__method__} not...
fix the reopen bug eric has been talking about
zk-ruby_zk
train
1bb02117db80e75f406f6c63d8d50680c1569019
diff --git a/daemon/exec.go b/daemon/exec.go index <HASH>..<HASH> 100644 --- a/daemon/exec.go +++ b/daemon/exec.go @@ -98,7 +98,9 @@ func (d *Daemon) getActiveContainer(name string) (*Container, error) { if !container.IsRunning() { return nil, fmt.Errorf("Container %s is not running", name) } - + if container.Is...
Fix the issue when docker exec a paused container, it will always hang. Add the test case of this issue. Docker-DCO-<I>-
containers_storage
train
9ef28a0f9e259473a06de0c00f4dc808c5ef44e3
diff --git a/src/Arachnid/Link.php b/src/Arachnid/Link.php index <HASH>..<HASH> 100644 --- a/src/Arachnid/Link.php +++ b/src/Arachnid/Link.php @@ -239,7 +239,13 @@ class Link extends GuzzleUri * @return array */ public function extractHeaders(){ - $headersArrRaw = get_headers($this->getAbsoluteU...
throw exception in case of failure to add url to broken links collection
zrashwani_arachnid
train
072802d0931479ccc46eb2ee0a3f5ce11b6ea347
diff --git a/keras_tqdm/tqdm_callback.py b/keras_tqdm/tqdm_callback.py index <HASH>..<HASH> 100644 --- a/keras_tqdm/tqdm_callback.py +++ b/keras_tqdm/tqdm_callback.py @@ -45,7 +45,8 @@ class TQDMCallback(Callback): self.tqdm_inner = None self.epoch = None self.running_logs = None - sel...
Changes inner progressbar from counting batches to counting samples to fix cases with variable batch size.
bstriner_keras-tqdm
train
20c23724b82a090343f4b60062667308e29ba132
diff --git a/src/test/java/me/prettyprint/cassandra/model/KeyspaceOperatorTest.java b/src/test/java/me/prettyprint/cassandra/model/KeyspaceOperatorTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/me/prettyprint/cassandra/model/KeyspaceOperatorTest.java +++ b/src/test/java/me/prettyprint/cassandra/model/Keyspac...
Ignore failed test (not ready yet)
hector-client_hector
train
08d2a96ea0ba0756502a6416adefb5911d3e8f12
diff --git a/instaLooter/core.py b/instaLooter/core.py index <HASH>..<HASH> 100755 --- a/instaLooter/core.py +++ b/instaLooter/core.py @@ -156,6 +156,14 @@ class InstaLooter(object): for worker in self._workers: worker.kill() + def __length_hint__(self): + try: + dat...
Implement length_hint for InstaLooter
althonos_InstaLooter
train
5e1730351f50843fedfbf1aa73b0cff083d90053
diff --git a/spec/models/agents/ftpsite_agent_spec.rb b/spec/models/agents/ftpsite_agent_spec.rb index <HASH>..<HASH> 100644 --- a/spec/models/agents/ftpsite_agent_spec.rb +++ b/spec/models/agents/ftpsite_agent_spec.rb @@ -9,7 +9,7 @@ describe Agents::FtpsiteAgent do 'url' => "ftp://ftp.example.org/pub/release...
update some spec scripts to new cleanup time
huginn_huginn
train
00e932efa4b4fdbe59c97a93f9d77278a09e88fc
diff --git a/test/generator.int.test.js b/test/generator.int.test.js index <HASH>..<HASH> 100644 --- a/test/generator.int.test.js +++ b/test/generator.int.test.js @@ -22,8 +22,7 @@ describe('gadget:app', function () { it('creates files for Drupal 8.x', function() { assert.file([ 'README.md', - // Di...
Remove .make file from tests.
phase2_generator-gadget
train
a0b0d1792beaac12ce53794afa73dcb2a019bc0a
diff --git a/km3pipe/utils/qrunqaqc.py b/km3pipe/utils/qrunqaqc.py index <HASH>..<HASH> 100644 --- a/km3pipe/utils/qrunqaqc.py +++ b/km3pipe/utils/qrunqaqc.py @@ -195,12 +195,7 @@ class QAQCAnalyser(object): self.log.info("adding run %s (det_id %s", run_id, self.det_id) xrootd_path = kp.tools....
Don't use xrootd to check files, it sucks
tamasgal_km3pipe
train
89cb9230d4693d635dbb269d3708befaae836e1b
diff --git a/api/api.go b/api/api.go index <HASH>..<HASH> 100644 --- a/api/api.go +++ b/api/api.go @@ -89,12 +89,12 @@ func (c *Client) Do(req *http.Request, ret interface{}) error { log.Println(err) return err } - + if debug && resp != nil { + v, _ := httputil.DumpResponse(resp, true) + log.Println(string(v)...
always dump full responses when http tracing
CenturyLinkCloud_clc-sdk
train
e3aa88f6aedc69be57035da1fd27f70a89d09816
diff --git a/lib/common/identifier-naming.js b/lib/common/identifier-naming.js index <HASH>..<HASH> 100644 --- a/lib/common/identifier-naming.js +++ b/lib/common/identifier-naming.js @@ -20,7 +20,7 @@ module.exports = { }, isUpperSnakeCase(text) { - return match(text, /[A-Z0-9]+[_A-Z0-9]*/) + return match...
Snake case now allows for a (single) leading underscore. (#<I>) * Snake case now allows for a (single) leading underscore * The snake case check now allows for up to two leading underscores.
protofire_solhint
train
2ec1272a1d3b91d7076b51650ed13137fe8e6c86
diff --git a/lib/domjs.js b/lib/domjs.js index <HASH>..<HASH> 100644 --- a/lib/domjs.js +++ b/lib/domjs.js @@ -114,7 +114,9 @@ module.exports = { this.setAttribute(el, name, value); }, this); children.forEach(function self (child) { - if (!isNode(child) && isList(child)) { + if (child == null) { + retu...
Allow null argument in children list it's ignored
medikoo_domjs
train
70bb839de9fde351cb2a1379fe8b89788204fe36
diff --git a/lib/Cake/Console/Command/Task/ModelTask.php b/lib/Cake/Console/Command/Task/ModelTask.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Console/Command/Task/ModelTask.php +++ b/lib/Cake/Console/Command/Task/ModelTask.php @@ -426,6 +426,8 @@ class ModelTask extends BakeTask { $guess = $methods['uuid']; ...
Add validation guess for not null + text types. Fixes #<I>
cakephp_cakephp
train
0ff89499db323c7d4539e60d1cb9e8fbfed6793e
diff --git a/.travis.yml b/.travis.yml index <HASH>..<HASH> 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,10 @@ language: node_js node_js: - '0.10' -before_install: bundle install +before_install: + - "bundle install" + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" notifications: email...
chore(ci): update ci task to run tests [#<I>]
pivotal-cf_pivotal-ui
train
d38a4984d252b231bf2852b2b89869bfaf82fe36
diff --git a/dingo/core/network/stations.py b/dingo/core/network/stations.py index <HASH>..<HASH> 100644 --- a/dingo/core/network/stations.py +++ b/dingo/core/network/stations.py @@ -13,6 +13,14 @@ class MVStationDingo(StationDingo): def __init__(self, **kwargs): super().__init__(**kwargs) + def set_...
add method for setting operation voltage to MVStationDingo class
openego_ding0
train
d427f6b5c94afca4e242e57e0ae5e51da644fff4
diff --git a/pupa/importers/base.py b/pupa/importers/base.py index <HASH>..<HASH> 100644 --- a/pupa/importers/base.py +++ b/pupa/importers/base.py @@ -105,16 +105,12 @@ class BaseImporter(object): for json_id, data in data_by_id.items(): parent_id = data.get('parent_id', None) + netwo...
get rid of intermittent error due to misuse of add_node
opencivicdata_pupa
train
9afd21bc19f204143402eb89215e04cb625d5c55
diff --git a/bundles/commons/src/main/java/org/jscsi/parser/tmf/TaskManagementFunctionRequestParser.java b/bundles/commons/src/main/java/org/jscsi/parser/tmf/TaskManagementFunctionRequestParser.java index <HASH>..<HASH> 100644 --- a/bundles/commons/src/main/java/org/jscsi/parser/tmf/TaskManagementFunctionRequestParser....
[MOD] making the target work again
sebastiangraf_jSCSI
train
934d30f560d0f660d35e6b50d7311e3297907096
diff --git a/src/enhancers/getApolloMethods.js b/src/enhancers/getApolloMethods.js index <HASH>..<HASH> 100644 --- a/src/enhancers/getApolloMethods.js +++ b/src/enhancers/getApolloMethods.js @@ -1,6 +1,5 @@ -import { chunk, get } from "lodash"; +import { get } from "lodash"; import modelNameToReadableName from "../uti...
Make with upsert handle empty array
TeselaGen_teselagen-react-components
train
fb5809fbe7607adda15a5aec2450e8b9fd29c567
diff --git a/test/test_common_features.rb b/test/test_common_features.rb index <HASH>..<HASH> 100644 --- a/test/test_common_features.rb +++ b/test/test_common_features.rb @@ -5,7 +5,7 @@ class CommonFeaturesTest < IWNGTest def test_merge_file code = code_bundle do - merge_file('test', 'test/data/dir2') +...
another fix to common features test; adding test case for new bug
iron-io_iron_worker_ruby_ng
train
f11fa648d28369db5664dee518781cb086eb1a27
diff --git a/tests/Gin/Template/TemplateTest.php b/tests/Gin/Template/TemplateTest.php index <HASH>..<HASH> 100644 --- a/tests/Gin/Template/TemplateTest.php +++ b/tests/Gin/Template/TemplateTest.php @@ -27,15 +27,7 @@ class TemplateTest extends TestCase $config = $this->getConfig(); $template = $this-...
Do not mock Config class in TemplateTest
tonik_gin
train
3fd3f3d0fb8f945f976d5cb1a8a8dbf44dd1ed82
diff --git a/ursh/indico_ursh/util.py b/ursh/indico_ursh/util.py index <HASH>..<HASH> 100644 --- a/ursh/indico_ursh/util.py +++ b/ursh/indico_ursh/util.py @@ -27,12 +27,10 @@ def _get_settings(): def request_short_url(original_url): api_key, api_host = _get_settings() headers = {'Authorization': 'Bearer {api...
URSH: Always include /api/ for API calls
indico_indico-plugins
train
d79bf6f2685ba7414b4ecc4c2d6cfafd7af2cac7
diff --git a/tests/toranj/wpan.py b/tests/toranj/wpan.py index <HASH>..<HASH> 100644 --- a/tests/toranj/wpan.py +++ b/tests/toranj/wpan.py @@ -438,7 +438,8 @@ class Node(object): try: node.leave() except subprocess.CalledProcessError as e: - _log...
[toranj] limit the logs during init of all nodes (#<I>)
openthread_openthread
train
27f9dd813dddcf152c19edbb6f1584445746fa47
diff --git a/v1/config/config.go b/v1/config/config.go index <HASH>..<HASH> 100644 --- a/v1/config/config.go +++ b/v1/config/config.go @@ -32,6 +32,7 @@ type Config struct { ResultBackend string `yaml:"result_backend" envconfig:"RESULT_BACKEND"` ResultsExpireIn int `yaml:"results_expire_in" envconfig...
SQSConfig options - Added SQSConfig struct as an option to config.Config which can be assigned an *SQS client, and/or WaitTimeSeconds for the ReceiveMessageInput option used on the ReceiveMessage call.
RichardKnop_machinery
train
106ee383af201bfcb3d89789901726d22bda527a
diff --git a/resources/lang/hu-HU/forms.php b/resources/lang/hu-HU/forms.php index <HASH>..<HASH> 100644 --- a/resources/lang/hu-HU/forms.php +++ b/resources/lang/hu-HU/forms.php @@ -49,6 +49,7 @@ return [ 'name' => 'Név', 'status' => 'Státusz', 'component' ...
New translations forms.php (Hungarian)
CachetHQ_Cachet
train
f26248f6d6f08970f3f5599ee90071885a69d630
diff --git a/spec/inputs/select_input_spec.rb b/spec/inputs/select_input_spec.rb index <HASH>..<HASH> 100644 --- a/spec/inputs/select_input_spec.rb +++ b/spec/inputs/select_input_spec.rb @@ -149,6 +149,20 @@ describe 'select input' do output_buffer.should have_tag('form li select#post_author_status_id') e...
spec for 'class_name' option on 'belongs_to' associations
justinfrench_formtastic
train
08960e57c2420525f66f8a4b8aebb4bced23218b
diff --git a/library/Garp/Form/Element/Email.php b/library/Garp/Form/Element/Email.php index <HASH>..<HASH> 100755 --- a/library/Garp/Form/Element/Email.php +++ b/library/Garp/Form/Element/Email.php @@ -10,6 +10,7 @@ class Garp_Form_Element_Email extends Garp_Form_Element_Text { public function init() { // Allow...
Added a Whitespace filter to email fields
grrr-amsterdam_garp3
train
dd583f83184c2305ac1b85bf09eed1c57f0ec4fd
diff --git a/package.json-validator.js b/package.json-validator.js index <HASH>..<HASH> 100644 --- a/package.json-validator.js +++ b/package.json-validator.js @@ -52,7 +52,7 @@ PJV.getSpecMap = function(specName) { "repositories": {"type": "object", required: true}, "dependencies": {"type": "o...
Fix up output. Add recommended fields to packages map
gorillamania_package.json-validator
train
5535a514910b1ace471adc3514dac560a1c43736
diff --git a/test/all.js b/test/all.js index <HASH>..<HASH> 100644 --- a/test/all.js +++ b/test/all.js @@ -10,19 +10,13 @@ var browser = new Browser() describe('utils.splitCommandLine', function () { it('returns an empty array when given a falsy input', function () { - expect(utils.splitCommandLine(undefined))...
Minor update (comments + cleanup)
shime_livedown
train
cf3a4b7d012793632d13a5feaad8b2fc7ccfb679
diff --git a/src/globus_cli/commands/collection/show.py b/src/globus_cli/commands/collection/show.py index <HASH>..<HASH> 100644 --- a/src/globus_cli/commands/collection/show.py +++ b/src/globus_cli/commands/collection/show.py @@ -32,7 +32,6 @@ STANDARD_FIELDS = [ ("Contact E-mail", "contact_email"), ("Contac...
Support dotted field specifications for lookups And remove Google Cloud Storage Project as a field on 'collection show' for now. Dotted field names are already checked correctly by filter_fields, but they need to be supported by the _key_to_keyfunc conversion in the output formatter in order to work.
globus_globus-cli
train
2519c0db4f0f15c17c7f7764d4d98bded6fc9d3c
diff --git a/test/mock_subprocess.py b/test/mock_subprocess.py index <HASH>..<HASH> 100644 --- a/test/mock_subprocess.py +++ b/test/mock_subprocess.py @@ -10,7 +10,15 @@ import sys import types from mock import Mock + +class CalledProcessError(Exception): + def __init__(self): + self.output = "dummy outpu...
fail info| Puts the new check_output code-path under test To achieve this we redirect stdout so we can capture it and compare it against expected. We also mock out the check_output function so that it always raises the expected exception type. We also set and reset the check_output mock during the test so it doesn't ...
alendit_sphinx-pyreverse
train
8b20fa3df826e9a46abbfa106b20c03510836a8a
diff --git a/ykman/cli/__main__.py b/ykman/cli/__main__.py index <HASH>..<HASH> 100644 --- a/ykman/cli/__main__.py +++ b/ykman/cli/__main__.py @@ -43,7 +43,7 @@ from ..device import ( scan_devices, connect_to_device, ) -from .util import UpperCaseChoice, YkmanContextObject, ykman_group +from .util import Ykm...
Remove UpperCaseChoice. Remove HSMAuth from capabilities. - UpperCaseChoice replaced with click.Choice with case_sensitive=False.
Yubico_yubikey-manager
train
914e93e3955efbbe8e753b3f0bbb151b97ba1975
diff --git a/src/selectivity-single.js b/src/selectivity-single.js index <HASH>..<HASH> 100644 --- a/src/selectivity-single.js +++ b/src/selectivity-single.js @@ -224,19 +224,28 @@ var callSuper = Selectivity.inherits(SingleSelectivity, { _rerenderSelection: function() { var $container = this.$('.select...
Fully functional traditional <select> support
arendjr_selectivity
train
64a8e842075a398f9a9e57ccae6b2c2ff57220dd
diff --git a/protocols/tcp.js b/protocols/tcp.js index <HASH>..<HASH> 100644 --- a/protocols/tcp.js +++ b/protocols/tcp.js @@ -39,7 +39,7 @@ module.exports = function (opts) { if (trace) output = trace("output", output); output = framer(output); socket.sink(output)(function (err) { - throw e...
Don't throw on tcp stream
creationix_js-git
train
45a1954740b27a710c7aedd03192aa3c95f435f6
diff --git a/site/static/docs/4.3/assets/js/src/application.js b/site/static/docs/4.3/assets/js/src/application.js index <HASH>..<HASH> 100644 --- a/site/static/docs/4.3/assets/js/src/application.js +++ b/site/static/docs/4.3/assets/js/src/application.js @@ -83,16 +83,15 @@ } // Activate animated progress bar -...
fix progress bar animation, remove forEach not needed currently
twbs_bootstrap
train
13054295b5ffd3a6dee4e990cfc4784cbcae3779
diff --git a/cmd/kubelet/app/options/options.go b/cmd/kubelet/app/options/options.go index <HASH>..<HASH> 100644 --- a/cmd/kubelet/app/options/options.go +++ b/cmd/kubelet/app/options/options.go @@ -486,8 +486,8 @@ func AddKubeletConfigFlags(fs *pflag.FlagSet, c *kubeletconfig.KubeletConfigurat fs.DurationVar(&c.Stre...
fix the typo error due to the comments
kubernetes_kubernetes
train
801db0767089a5e901a28cee93fc04bbc2d87a8a
diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index <HASH>..<HASH> 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1284,7 +1284,7 @@ class core_renderer extends renderer_base { $image = clone($image_or_url); } else { if ($image_or_url instanceof...
MDL-<I> using normal = which should be enough now in PHP5
moodle_moodle
train
90a5d2ac2351fc5ad6c63bf27ac1ff797fdc5f1f
diff --git a/web/helpers/Form.php b/web/helpers/Form.php index <HASH>..<HASH> 100644 --- a/web/helpers/Form.php +++ b/web/helpers/Form.php @@ -191,6 +191,9 @@ class Form extends \mpf\base\Helper { $selected = ''; } else { $selected = (is_array($value) ? in_arra...
Fix the way combinations of non numbers and numbers are handled
mpf-soft_mpf
train
179e3952a4e5e74926397bc695f11a8dc16da14e
diff --git a/hack/benchmark/time-to-k8s/chart.go b/hack/benchmark/time-to-k8s/chart.go index <HASH>..<HASH> 100644 --- a/hack/benchmark/time-to-k8s/chart.go +++ b/hack/benchmark/time-to-k8s/chart.go @@ -74,7 +74,7 @@ func readInCSV(csvPath string, apps map[string]runs) error { values := []float64{} - // 8-13 co...
[benchmark/cpu] set ymax to prevent the graph go to the legend
kubernetes_minikube
train
5117a605fc4a2f17d4dbeddaf9424c856c90f546
diff --git a/modules/basic-skills/src/actions/choice_parse_answer.js b/modules/basic-skills/src/actions/choice_parse_answer.js index <HASH>..<HASH> 100644 --- a/modules/basic-skills/src/actions/choice_parse_answer.js +++ b/modules/basic-skills/src/actions/choice_parse_answer.js @@ -24,7 +24,7 @@ const validateChoice = ...
fix(skill-choice): handle undefined keys
botpress_botpress
train
6236159443c56b1b456528c70e3e16f984ad863b
diff --git a/pyVim/connect.py b/pyVim/connect.py index <HASH>..<HASH> 100644 --- a/pyVim/connect.py +++ b/pyVim/connect.py @@ -563,7 +563,8 @@ def __FindSupportedVersion(protocol, server, port, path, preferredApiVersions, s def SmartConnect(protocol='https', host='localhost', port=443, user='root', pwd='', ...
Trivial: Update SmartConnect to have keyFile / certFile parameters Added keyFile / certFile parameters to SmartConnect
vmware_pyvmomi
train
a4fe7d45a680b54af7dd48fa3c0c44e22414bdc3
diff --git a/sunrisesunset.go b/sunrisesunset.go index <HASH>..<HASH> 100644 --- a/sunrisesunset.go +++ b/sunrisesunset.go @@ -19,6 +19,17 @@ func deg2rad(degrees float64) float64 { return degrees * (math.Pi / 180.0) } +// Calculate the Mean Obliq Ecliptic in degrees based on the formula: 23+(26+((21.448-julianCen...
Added calcMeanObliqEcliptic function
kelvins_sunrisesunset
train
8702cca8ba062b314c6275f316aff2ad1d4fb37e
diff --git a/drivers/ruby/lib/shim.rb b/drivers/ruby/lib/shim.rb index <HASH>..<HASH> 100644 --- a/drivers/ruby/lib/shim.rb +++ b/drivers/ruby/lib/shim.rb @@ -22,7 +22,7 @@ module RethinkDB case x when Hash if parse_time && x['$reql_type$'] == 'TIME' - t = Time.at(x['epoch_time']).round(...
fix for rounding error with ruby times (#<I>) * fix for rounding error with ruby times * truncate time instead of rounding
rethinkdb_rethinkdb
train
0caa13ddf4638563b7b35a089b74b926a500e1ba
diff --git a/newscrawler/pipeline/km4_extractor/extractors/newspaper_extractor.py b/newscrawler/pipeline/km4_extractor/extractors/newspaper_extractor.py index <HASH>..<HASH> 100644 --- a/newscrawler/pipeline/km4_extractor/extractors/newspaper_extractor.py +++ b/newscrawler/pipeline/km4_extractor/extractors/newspaper_ex...
Handling a ValueError produced by false date format
fhamborg_news-please
train
24ee0b0e7848b34219dd2c03f2358e0d4634c163
diff --git a/core/src/main/java/me/prettyprint/cassandra/service/ExceptionsTranslatorImpl.java b/core/src/main/java/me/prettyprint/cassandra/service/ExceptionsTranslatorImpl.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/me/prettyprint/cassandra/service/ExceptionsTranslatorImpl.java +++ b/core/src/main/java/...
Map an InvalidRequestException with the string 'bootstrap' to HUnavailableException. It makes more sense, see also <URL>
hector-client_hector
train
e4a27a1b7016aeb081e880c690955a55e6ce930c
diff --git a/scot/backendmanager.py b/scot/backendmanager.py index <HASH>..<HASH> 100644 --- a/scot/backendmanager.py +++ b/scot/backendmanager.py @@ -1,7 +1,6 @@ # Released under The MIT License (MIT) # http://opensource.org/licenses/MIT -# Copyright (c) 2013-2015 SCoT Development Team - +# Copyright (c) 2013-2016 S...
Clean up backendmanager.py
scot-dev_scot
train
a83e36851e080cd5d5c62a05afdae8d0612554f7
diff --git a/nion/swift/model/Profile.py b/nion/swift/model/Profile.py index <HASH>..<HASH> 100644 --- a/nion/swift/model/Profile.py +++ b/nion/swift/model/Profile.py @@ -82,6 +82,9 @@ class ProjectReference(Observable.Observable, Persistence.PersistentObject): def read_from_dict(self, properties): supe...
Fix issue sorting old project references after creating.
nion-software_nionswift
train
eeabf702f9c06d5177f5b8e24b1183e3867063fd
diff --git a/sonar-batch/src/main/java/org/sonar/batch/cache/WSLoader.java b/sonar-batch/src/main/java/org/sonar/batch/cache/WSLoader.java index <HASH>..<HASH> 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/cache/WSLoader.java +++ b/sonar-batch/src/main/java/org/sonar/batch/cache/WSLoader.java @@ -19,28 +19,27 ...
Increase read timeout for WSLoader
SonarSource_sonarqube
train
6a59d91714d477d67cec68243f930001da1279a0
diff --git a/code/libraries/koowa/database/adapter/mysqli.php b/code/libraries/koowa/database/adapter/mysqli.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/database/adapter/mysqli.php +++ b/code/libraries/koowa/database/adapter/mysqli.php @@ -237,10 +237,10 @@ class KDatabaseAdapterMysqli extends KDatabaseA...
Optimised table index handling. Indexes are now parsed before the columns schema is generated to reduce recuring index queries.
timble_kodekit
train
d9f514ef4cbf81deb410c567515af3d3c9b35b4b
diff --git a/web/ActiveUser.php b/web/ActiveUser.php index <HASH>..<HASH> 100644 --- a/web/ActiveUser.php +++ b/web/ActiveUser.php @@ -120,7 +120,7 @@ abstract class ActiveUser extends LogAwareObject implements ActiveUserInterface * @param string $value * @return $this */ - protected function setS...
States can be set from any location(public access)
mpf-soft_mpf
train
de703faacaaf23f80ce30a7d69602315d04f6a12
diff --git a/JSAT/src/jsat/distributions/Kolmogorov.java b/JSAT/src/jsat/distributions/Kolmogorov.java index <HASH>..<HASH> 100644 --- a/JSAT/src/jsat/distributions/Kolmogorov.java +++ b/JSAT/src/jsat/distributions/Kolmogorov.java @@ -77,37 +77,37 @@ public class Kolmogorov extends ContinousDistribution @Override ...
Clean up in Kolmogorov, removing some of the Unsupported Operation exceptions git-svn-id: <URL>
EdwardRaff_JSAT
train
4ed51678311a96a2ca4d5486515328ab07b598a7
diff --git a/src/http/Request.php b/src/http/Request.php index <HASH>..<HASH> 100644 --- a/src/http/Request.php +++ b/src/http/Request.php @@ -41,12 +41,12 @@ class Request } /** - * @return Request + * @return self * @throws HttpException If the required data is missing from the globals, or the request met...
Avoid writing the class name when you can just use `self`.
jurchiks_commons
train
9a2be8be4bd9c070034d4e962d5c82af68c2a0a3
diff --git a/test/utils.py b/test/utils.py index <HASH>..<HASH> 100644 --- a/test/utils.py +++ b/test/utils.py @@ -605,3 +605,18 @@ class Vtctld(object): def process_args(self): return ['-vtctld_addr', 'http://localhost:%u/' % self.port] + + def vtctl_client(self, args): + if options.verbose == 2: + ...
Adding test for vtctlclient.
vitessio_vitess
train
365b89b4296d31c49da9615701f80ebfc6c749c2
diff --git a/lib/connection.js b/lib/connection.js index <HASH>..<HASH> 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -180,7 +180,6 @@ Connection.prototype._handleFatalError = function(err) { }; Connection.prototype._handleNetworkError = function(err) { - console.log('_handleNetworkError AAAAA NETWORK ...
clear connect timeout when connection is closed
sidorares_node-mysql2
train
dda6cf8a81d4932e283c9f9d3b46d6a0a3318d77
diff --git a/charmhelpers/contrib/network/ovs/__init__.py b/charmhelpers/contrib/network/ovs/__init__.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/network/ovs/__init__.py +++ b/charmhelpers/contrib/network/ovs/__init__.py @@ -217,19 +217,35 @@ def full_restart(): service('force-reload-kmod', 'open...
ovs: Allow IPFIX configuration tuning (#<I>) Support setting the cache and sampling configuration values for IPFIX flow monitoring in OVS. Provide some sane values as defaults which provide a balance between performance overhead and lossy monitoring of flows.
juju_charm-helpers
train
91343c9640655e0d4a04ec5bc359f419a63f5650
diff --git a/drivers/python2/rethinkdb/internal.py b/drivers/python2/rethinkdb/internal.py index <HASH>..<HASH> 100644 --- a/drivers/python2/rethinkdb/internal.py +++ b/drivers/python2/rethinkdb/internal.py @@ -390,7 +390,6 @@ class Reduce(ExpressionInner): def _write_ast(self, parent): builtin = self._...
Theoretically fix stupid bugs in how Python client writes protobufs for reduction. Closes #<I>. Closes #<I>.
rethinkdb_rethinkdb
train
9bbcbf5052286b84e2a6acaf677c992f30bc1182
diff --git a/test/unit/org/apache/cassandra/db/ScrubTest.java b/test/unit/org/apache/cassandra/db/ScrubTest.java index <HASH>..<HASH> 100644 --- a/test/unit/org/apache/cassandra/db/ScrubTest.java +++ b/test/unit/org/apache/cassandra/db/ScrubTest.java @@ -53,6 +53,7 @@ import org.apache.cassandra.utils.ByteBufferUtil; ...
Skip scrub counter test when compression is enabled Patch by Tyler Hobbs; reviewed by Philip Thompson for CASSANDRA-<I>
Stratio_stratio-cassandra
train
9b6d79845eedd7d1eb0e4109d74782737268c3af
diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php index <HASH>..<HASH> 100644 --- a/scripts/update/Updater.php +++ b/scripts/update/Updater.php @@ -20,6 +20,7 @@ */ namespace oat\taoDelivery\scripts\update; +use oat\oatbox\service\ServiceNotFoundException; use oat\tao\scripts\update\OntologyUpd...
If the config was not install catch the exception to prevent update failure
oat-sa_extension-tao-delivery
train
cbd4849a20e77764cd18668e7f4be75c4f0c5406
diff --git a/engine/src/test/java/org/camunda/bpm/engine/test/api/mgmt/license/LicenseKeyAuthTest.java b/engine/src/test/java/org/camunda/bpm/engine/test/api/mgmt/license/LicenseKeyAuthTest.java index <HASH>..<HASH> 100644 --- a/engine/src/test/java/org/camunda/bpm/engine/test/api/mgmt/license/LicenseKeyAuthTest.java +...
fix(test): cleanup admin users in license key auth test related to CAM-<I>
camunda_camunda-bpm-platform
train
5de3534fea346dc2a6ce7eb2cae58a820efbc7c0
diff --git a/jbehave-core/src/main/java/org/jbehave/core/configuration/Configuration.java b/jbehave-core/src/main/java/org/jbehave/core/configuration/Configuration.java index <HASH>..<HASH> 100755 --- a/jbehave-core/src/main/java/org/jbehave/core/configuration/Configuration.java +++ b/jbehave-core/src/main/java/org/jbe...
JBEHAVE-<I>: Remove ResourceLoader from Configuration.
jbehave_jbehave-core
train
308abc8e6490b3e0583e2b2af1e12c57d02b64d2
diff --git a/src/Bluz/Crud/Crud.php b/src/Bluz/Crud/Crud.php index <HASH>..<HASH> 100644 --- a/src/Bluz/Crud/Crud.php +++ b/src/Bluz/Crud/Crud.php @@ -49,11 +49,6 @@ class Crud protected $method = AbstractRequest::METHOD_GET; /** - * @var string - */ - protected $formId; - - /** * @var a...
Updated CRUD for remove hardcoded JS funciton name
bluzphp_framework
train
83c68f07ccecba8b7966e6c8acdb9000dee198cb
diff --git a/dwave/cloud/cli.py b/dwave/cloud/cli.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/cli.py +++ b/dwave/cloud/cli.py @@ -252,7 +252,9 @@ def ping(config_file, profile, json_output): type=click.Path(exists=True, dir_okay=False), help='Configuration file path') @click.option('--profile', '-p...
CLI: add --list option to 'dwave solvers'
dwavesystems_dwave-cloud-client
train
ffce63444f946d1222b2d396a93c8976a356fcfe
diff --git a/pyt/__init__.py b/pyt/__init__.py index <HASH>..<HASH> 100644 --- a/pyt/__init__.py +++ b/pyt/__init__.py @@ -1,5 +1,5 @@ from unittest import TestCase # to allow from pyt import TestCase -__version__ = '0.7.19' +__version__ = '0.7.20' diff --git a/pyt/bin/pyt b/pyt/bin/pyt index <HASH>..<HASH> 1006...
it seems to be in the console_scripts code, and maybe __main__, this next test will determine it
Jaymon_pyt
train
11bebc6509cb8328d4cfa9fca65bfa4331aa0334
diff --git a/Resources/public/js/components/products/components/attributes/main.js b/Resources/public/js/components/products/components/attributes/main.js index <HASH>..<HASH> 100644 --- a/Resources/public/js/components/products/components/attributes/main.js +++ b/Resources/public/js/components/products/components/attr...
added preSelectedElements to selectbox
sulu_SuluProductBundle
train
76513bfe0b11926b994fbbeebf0a5e8ddd96b9e0
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -626,7 +626,13 @@ func (cl *Client) handshakesConnection(ctx context.Context, nc net.Conn, t *Torr // Returns nil connection and nil error if no connection could be established // for valid reasons. -func (cl *Client) ...
Restart dial timeout for fallback header obfuscation attempt
anacrolix_torrent
train
d0b2019425cbffbb6db71474036be6846fdb27b2
diff --git a/src/Illuminate/Console/Scheduling/Event.php b/src/Illuminate/Console/Scheduling/Event.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Console/Scheduling/Event.php +++ b/src/Illuminate/Console/Scheduling/Event.php @@ -163,10 +163,10 @@ class Event $this->cache->put($this->mutexName(), true...
get rid of backwards if expression
laravel_framework
train
6473dd1066b1377e2734e7477cbab8b1ecc245bc
diff --git a/src/dicom2fem.py b/src/dicom2fem.py index <HASH>..<HASH> 100644 --- a/src/dicom2fem.py +++ b/src/dicom2fem.py @@ -7,6 +7,8 @@ Example: $ dicom2fem -d sample_data """ +#TODO: +# recalculate voxelsize when rescaled # import unittest from optparse import OptionParser @@ -361,8 +363,8 @@ class MainWind...
fix: ensure the correct size of offset_mm voxelsize_mm
vlukes_dicom2fem
train
84f2939e0a11335c5ca21a610656de2730c8028a
diff --git a/float64/mat3/mat3.go b/float64/mat3/mat3.go index <HASH>..<HASH> 100644 --- a/float64/mat3/mat3.go +++ b/float64/mat3/mat3.go @@ -79,11 +79,7 @@ func (mat *T) Size() int { // Slice returns the elements of the matrix as slice. func (mat *T) Slice() []float64 { - return []float64{ - mat[0][0], mat[0][1]...
simplified Slice() for matrices
ungerik_go3d
train
eea5cc79a26c3cb4b56aa9288135c85822782309
diff --git a/public_html/profiles/social/modules/social_features/social_event/src/Plugin/Block/EnrollActionBlock.php b/public_html/profiles/social/modules/social_features/social_event/src/Plugin/Block/EnrollActionBlock.php index <HASH>..<HASH> 100644 --- a/public_html/profiles/social/modules/social_features/social_even...
DS-<I> by jochemvn, Translate string and change b tag to strong
goalgorilla_open_social
train
59993a34fe1116ea55c8b4800b786103a75e5e07
diff --git a/src/cmd/cloud.js b/src/cmd/cloud.js index <HASH>..<HASH> 100644 --- a/src/cmd/cloud.js +++ b/src/cmd/cloud.js @@ -22,14 +22,6 @@ const chalk = require('chalk'); const arrow = chalk.green('>'); const alert = chalk.yellow('!'); -class EarlyReturnError extends VError { - constructor(...args) { - super(.....
remove unused EarlyReturnError in cloud commands
particle-iot_particle-cli
train
2b21c7c314d39e1c7ae6695db5bd916a22f4ca2c
diff --git a/lib/crabfarm/live/manager.rb b/lib/crabfarm/live/manager.rb index <HASH>..<HASH> 100644 --- a/lib/crabfarm/live/manager.rb +++ b/lib/crabfarm/live/manager.rb @@ -104,7 +104,7 @@ module Crabfarm end def memento_path(_name) - File.join(GlobalState.mementos_path, _name + '.json.gz') + ...
fix(manager): add ssupport for symbol in mementos
platanus_crabfarm-gem
train
e3641355a6291fa155f4a4ad915832f58f8e74a6
diff --git a/SoftLayer/CLI/environment.py b/SoftLayer/CLI/environment.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/environment.py +++ b/SoftLayer/CLI/environment.py @@ -49,6 +49,7 @@ class Environment(object): 'hardware': 'server', 'hw': 'server', 'bmetal': 'bmc', + ...
Added 'virtual' alias for vs
softlayer_softlayer-python
train
5b0caf46124ee5f268b317c7f9c5dcbf7d05e1dd
diff --git a/pandas/core/series.py b/pandas/core/series.py index <HASH>..<HASH> 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2765,28 +2765,54 @@ class Series(base.IndexOpsMixin, generic.NDFrame): return self.reindex(index=labels, **kwargs) def memory_usage(self, index=True, deep=Fa...
DOC: update the Series.memory_usage() docstring (#<I>)
pandas-dev_pandas
train
e1c577a9868fc4e54ffd0a3f69cc13790244ba67
diff --git a/examples/StringCompiler.php b/examples/StringCompiler.php index <HASH>..<HASH> 100644 --- a/examples/StringCompiler.php +++ b/examples/StringCompiler.php @@ -19,7 +19,12 @@ $expression = $builder ->tree('+') ->value('1') ->value('p') - ->binary(...
UnaryExpressions in the string compiler
nicmart_DomainSpecificQuery
train
c276d3082e2ae79b5b75bf08aad1035a360c8568
diff --git a/lib/cast/preprocessor.rb b/lib/cast/preprocessor.rb index <HASH>..<HASH> 100644 --- a/lib/cast/preprocessor.rb +++ b/lib/cast/preprocessor.rb @@ -21,9 +21,10 @@ module C attr_accessor :pwd, :include_path, :macros - def initialize + def initialize(quiet: false) @include_path = [] ...
Don't emit warnings in preprocessor test.
oggy_cast
train
bb048fab546bead414187d1aacd3234bf2450f14
diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseExport.java b/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseExport.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseExport.java +++ b/core/src/main/java/...
Export: flushed content to every cluster break
orientechnologies_orientdb
train
e9b38755c52f99fdef083f6ccc3aedcb255fcf2d
diff --git a/pprofile.py b/pprofile.py index <HASH>..<HASH> 100755 --- a/pprofile.py +++ b/pprofile.py @@ -190,6 +190,8 @@ class Profile(object): elif isinstance(filename, basestring): filename = [filename] file_dict = self.file_dict + if not file_dict: + print >> out, '...
Do not raise in annotate method when no data was captured.
vpelletier_pprofile
train
1dbad57dad5876dcc72d3757df14b4276d660ca3
diff --git a/clientconn.go b/clientconn.go index <HASH>..<HASH> 100644 --- a/clientconn.go +++ b/clientconn.go @@ -937,7 +937,6 @@ func (ac *addrConn) updateConnectivityState(s connectivity.State) { } updateMsg := fmt.Sprintf("Subchannel Connectivity change to %v", s) - grpclog.Infof(updateMsg) ac.state = s i...
internal: delete an info log (#<I>) This log doesn't print much useful information, and causes flooding, especially when ClientConn is closed (one Shutdown log for each subconn).
grpc_grpc-go
train
e370e1e2ae65cd3cd85e02da38728648e3c3d750
diff --git a/marcx.py b/marcx.py index <HASH>..<HASH> 100644 --- a/marcx.py +++ b/marcx.py @@ -219,7 +219,9 @@ class FatRecord(Record): if data: # == control field (001 -- 009) field = Field(tag, data=data) else: # == non-control field (010 -- 999) - subfields = [e for sl ...
accept numeric subfield as kwarg with '_'
ubleipzig_marcx
train
14558809eff9cf46b947e293ba06baf16ca1aa76
diff --git a/lib/config.js b/lib/config.js index <HASH>..<HASH> 100644 --- a/lib/config.js +++ b/lib/config.js @@ -22,10 +22,41 @@ class Config { /** * Create a Config instance * + * @param {Object} [config] - The default configuration object + */ + constructor (config) { + this._config = { + de...
Allow passing configuration directly to Config constructor
hello-js_hello
train
83af0b62246b29169f6295f940b3e0ba67d3a4cf
diff --git a/searx/engines/gimages.py b/searx/engines/gimages.py index <HASH>..<HASH> 100755 --- a/searx/engines/gimages.py +++ b/searx/engines/gimages.py @@ -1,28 +1,26 @@ #!/usr/bin/env python -from urllib import quote -from lxml import html -from urlparse import urljoin +from urllib import urlencode +from json im...
[enh] google images refactor
asciimoo_searx
train
e64576af0acbbcafbe86a92108d9352e2bb3a2bf
diff --git a/pkg/kubelet/qos/policy.go b/pkg/kubelet/qos/policy.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/qos/policy.go +++ b/pkg/kubelet/qos/policy.go @@ -38,8 +38,8 @@ const ( // and 1000. Containers with higher OOM scores are killed if the system runs out of memory. // See https://lwn.net/Articles/391222/ f...
Only system-node-critical pods should be OOM Killed last
kubernetes_kubernetes
train
e64e8e0366e959935ccdc7c606bea2534dfb5c0e
diff --git a/helpscout/apis/conversations.py b/helpscout/apis/conversations.py index <HASH>..<HASH> 100644 --- a/helpscout/apis/conversations.py +++ b/helpscout/apis/conversations.py @@ -14,6 +14,7 @@ class Conversations(BaseApi): """This represents the ``Conversations`` Endpoint. The following aspects are ...
[FIX] RST Syntax for API implementation lists
LasLabs_python-helpscout
train
b5ab7659b49264967593960530d777441c639f24
diff --git a/lxd/daemon_images.go b/lxd/daemon_images.go index <HASH>..<HASH> 100644 --- a/lxd/daemon_images.go +++ b/lxd/daemon_images.go @@ -28,13 +28,13 @@ func (pt *Progress) Read(p []byte) (int, error) { pt.total += int64(n) percentage := float64(pt.total) / float64(pt.length) * float64(100) - if percenta...
Change progress granularity to 1%
lxc_lxd
train
748ff3a9943bfc07a8aee0fe23b6ebbec88541fe
diff --git a/xpdo/om/mysql/xpdomanager.class.php b/xpdo/om/mysql/xpdomanager.class.php index <HASH>..<HASH> 100644 --- a/xpdo/om/mysql/xpdomanager.class.php +++ b/xpdo/om/mysql/xpdomanager.class.php @@ -264,7 +264,7 @@ class xPDOManager_mysql extends xPDOManager { if (is_array($meta) && array_key_exists($n...
Fix various add/alterField() bugs in xPDOManager implementations
modxcms_xpdo
train
53f480581c469837b897e027391ad1ed39c6002a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,10 +30,10 @@ with open('requirements.txt') as req_file: requirements = req_file.read().splitlines() with open('requirements-test.txt') as req_file: - test_requirements = req_file.read().splitlines() + test_re...
Ignore include parsing dev and test requirements.
SUSE-Enceladus_ipa
train
85bb3c140adc2869226db0f528592dd1e2959bcc
diff --git a/commerce-frontend-taglib/src/main/resources/META-INF/resources/add_to_cart/AddToCartButton.es.js b/commerce-frontend-taglib/src/main/resources/META-INF/resources/add_to_cart/AddToCartButton.es.js index <HASH>..<HASH> 100644 --- a/commerce-frontend-taglib/src/main/resources/META-INF/resources/add_to_cart/Ad...
COMMERCE-<I> Add new cell template to show image and name + link
liferay_com-liferay-commerce
train
25969c01e974fce643be91db69c2b3f878349840
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ 'use strict'; var fs = require('fs'); -var yaml = require('js-yaml'); +var yaml = require('js-yaml-lite'); var moment = require('moment'); var columnify = require('columnify'); var merge = require('mixin-de...
use js-yaml-lite
jonschlinkert_stringify-changelog
train
8da4b779efe80e7293bb6e5e3c6bc98762befd25
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -39,6 +39,7 @@ RSpec.configure do |config| config.before :each do Adhearsion.router = nil + Punchblock.stub new_request_id: 'foo' end config.after :each do
[CS] Fix specs for PB update We don't care about comparing request IDs
adhearsion_adhearsion
train
dfba59f5ecaa866c9d28b33d352676e03fe803e5
diff --git a/lib/datasource-executor.js b/lib/datasource-executor.js index <HASH>..<HASH> 100644 --- a/lib/datasource-executor.js +++ b/lib/datasource-executor.js @@ -64,10 +64,11 @@ function executeDst(api, request, dst) { }); } - var finalResults; + var globalResults; return processSubFil...
datasource-executor: start to refactor, clarify
godmodelabs_flora
train
006b853a92dcb78a7d9b05ef44cd8023c1a2fd49
diff --git a/javascript/libjoynr-js/src/main/js/joynr/messaging/routing/MessageRouter.js b/javascript/libjoynr-js/src/main/js/joynr/messaging/routing/MessageRouter.js index <HASH>..<HASH> 100644 --- a/javascript/libjoynr-js/src/main/js/joynr/messaging/routing/MessageRouter.js +++ b/javascript/libjoynr-js/src/main/js/jo...
[JS] MessageRouter resolve when routing expired messages Change-Id: Iafb2a<I>ad1e<I>bb5e0f7ff<I>c<I>b<I>ae<I>c<I>cc
bmwcarit_joynr
train
79b0ec662abeec9a37faa66484db7a3dcfa546c4
diff --git a/bugzilla/_cli.py b/bugzilla/_cli.py index <HASH>..<HASH> 100755 --- a/bugzilla/_cli.py +++ b/bugzilla/_cli.py @@ -581,44 +581,38 @@ def _do_info(bz, opt): """ # All these commands call getproducts internally, so do it up front # with minimal include_fields for speed + productname = (opt.c...
cli: Make info a bit more efficient Figure out the products data we use upfront so we only need to make one Product.get call. Also make it more clear in the code that things are mutually exclusive.
python-bugzilla_python-bugzilla
train
5c5e2e1afb8cda3468c75974f76a217f330c8390
diff --git a/components/tab-trap/tab-trap.js b/components/tab-trap/tab-trap.js index <HASH>..<HASH> 100644 --- a/components/tab-trap/tab-trap.js +++ b/components/tab-trap/tab-trap.js @@ -28,7 +28,7 @@ export default class TabTrap extends Component { if (this.props.autoFocusFirst) { this.focusFirst(); - ...
TabTrap: don't change focus if it's already inside the trap
JetBrains_ring-ui
train
876744ebc38584bdd9f427013c3d77acfabe0dbf
diff --git a/src/Model/Entity/Media.php b/src/Model/Entity/Media.php index <HASH>..<HASH> 100644 --- a/src/Model/Entity/Media.php +++ b/src/Model/Entity/Media.php @@ -27,6 +27,8 @@ use DateTime; * @property string $mime_type * @property string $type * @property int $size + * @property int $width + * @property int...
add $width and $height to phpcoc comment
wasabi-cms_core
train
f992eddd5803d96059d685c5fa2865d44091da0b
diff --git a/src/Statistics/Regression/LeastSquares.php b/src/Statistics/Regression/LeastSquares.php index <HASH>..<HASH> 100644 --- a/src/Statistics/Regression/LeastSquares.php +++ b/src/Statistics/Regression/LeastSquares.php @@ -3,7 +3,7 @@ namespace Math\Statistics\Regression; use Math\Statistics\{Average, RandomVa...
Update LeastSquares.php
markrogoyski_math-php
train
944017f93f9f5e64a8a5c31a5b32c81bc1bb3bbd
diff --git a/src/ai/backend/common/utils.py b/src/ai/backend/common/utils.py index <HASH>..<HASH> 100644 --- a/src/ai/backend/common/utils.py +++ b/src/ai/backend/common/utils.py @@ -8,7 +8,10 @@ import numbers from pathlib import Path import sys from typing import ( - Union, Callable + cast, + Any, Union, ...
utils: Add run_through() function * Also update docstrings in the utils module to use double quotes as recommended.
lablup_backend.ai-common
train
5fcec8352c7fdcc6297dd869876494e7131c41b4
diff --git a/src/Bkwld/Decoy/Controllers/Base.php b/src/Bkwld/Decoy/Controllers/Base.php index <HASH>..<HASH> 100644 --- a/src/Bkwld/Decoy/Controllers/Base.php +++ b/src/Bkwld/Decoy/Controllers/Base.php @@ -565,7 +565,7 @@ class Base extends Controller { // Fire them foreach($events as $event) { - if ($unti...
The return was screwing up model validations from getting caught
BKWLD_decoy
train
7140f34f8e7eb90d0f1c90fe31a8f74370ab7fed
diff --git a/HARK/ConsumptionSaving/ConsIndShockModel.py b/HARK/ConsumptionSaving/ConsIndShockModel.py index <HASH>..<HASH> 100644 --- a/HARK/ConsumptionSaving/ConsIndShockModel.py +++ b/HARK/ConsumptionSaving/ConsIndShockModel.py @@ -1995,21 +1995,51 @@ class PerfForesightConsumerType(AgentType): ------- ...
repairing ConsIndShockModel from merge?
econ-ark_HARK
train
01ec8b0aca97ae2f4000b7d79939f5b153f4085b
diff --git a/Server.js b/Server.js index <HASH>..<HASH> 100644 --- a/Server.js +++ b/Server.js @@ -195,18 +195,26 @@ HAPServer.prototype = { var material = Buffer.concat([this.tcpServer.retrieveSession(this.currentSessionPort).session_clientPublicKey,clientUsername,this.tcpServer.retrieveSession(this.currentSessi...
Fix the crash caused by missing client LTPK
KhaosT_HAP-NodeJS
train
7eafb935ecd1910c6bbf524ff92bdd20f19e16e8
diff --git a/saltant/models/resource.py b/saltant/models/resource.py index <HASH>..<HASH> 100644 --- a/saltant/models/resource.py +++ b/saltant/models/resource.py @@ -70,7 +70,9 @@ class ModelManager(object): if 'page_size' not in filters: # The below "magic number" is 2^63 - 1, which is the lar...
Clarify a comment for page_size of list requests
saltant-org_saltant-py
train