hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
738a57574f3eb82ba2844c8a512cafec974ed5ab | diff --git a/lib/reporters/json-stream.js b/lib/reporters/json-stream.js
index <HASH>..<HASH> 100644
--- a/lib/reporters/json-stream.js
+++ b/lib/reporters/json-stream.js
@@ -84,7 +84,8 @@ function clean(test) {
fullTitle: test.fullTitle(),
file: test.file,
duration: test.duration,
- currentRetry: tes... | Add speed in -R json option (#<I>) (#<I>)
* issue <I> : add print speed in json
* add print speed json-stream and json-stream.spec.js
* add print speed json-stream and json-stream.spec.js
* add pass test case in json.spec.js
* Update test/reporters/json.spec.js | mochajs_mocha | train |
dd0ad9b8b793752f35a160864f36850f0fc74eaa | diff --git a/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/EtlCommons.java b/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/EtlCommons.java
index <HASH>..<HASH> 100644
--- a/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/EtlCommons.java
+++ b/cellbase-app/src/main/java/org/opencb/cellbase/app/c... | feature-improveclinical: minor modification a EtlCommons.java | opencb_cellbase | train |
024b40d568073b6f30836db19a6eb9de4fdc6f8d | diff --git a/coastline/data/vectors.py b/coastline/data/vectors.py
index <HASH>..<HASH> 100644
--- a/coastline/data/vectors.py
+++ b/coastline/data/vectors.py
@@ -26,20 +26,36 @@ def get_normal_vectors(points):
i_before = i - 1
i_after = (i + 1)%num_points
vector = (points[i_after][1] - point... | be able to handle "linear" islands | bast_flanders | train |
e8d3ceb2fda9eda1e4f4636a34facdb699ed9c81 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,12 @@
#!/usr/bin/env python
import sys
from distutils.core import setup
-import param,numbergen
setup_args = {}
setup_args.update(dict(
name='param',
- version=str(param.__version__),
+ version="1.... | Updated version check in setup.py | pyviz_param | train |
c3ba7bd3ee1c7226381cbaf3f7ff54bb5f60491a | diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb
index <HASH>..<HASH> 100644
--- a/lib/chef_zero/server.rb
+++ b/lib/chef_zero/server.rb
@@ -234,6 +234,7 @@ module ChefZero
:AccessLog => [],
:Logger => WEBrick::Log.new(StringIO.new, 7),
:SSLEnable => options[:ssl],
+ ... | disable sslv3 and few unsecure options | chef_chef-zero | train |
4b334b5879a56715036b7945d8f9fcb119df12c0 | diff --git a/lib/utils.js b/lib/utils.js
index <HASH>..<HASH> 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -7,7 +7,13 @@ var Log = require('./logger'),
String.prototype.escapeSpecialChars = function() {
return this.replace(/\n/g, '\\n')
- .replace(/\\\'/, '\'');
+ .replace(/\r/g, '\\r')
+ .replace(/\t/g, '\... | Utils: escapeSpecialChars now handles escape sequences that may break JSON.parse()
Data posted by the client may contain stacktraces and other strings that contain escape sequences such as \n.
escapeSpecialChars now handles a wider set of whitespace escape sequences that would otherwise break JSON.parse.
May require s... | browserstack_browserstack-runner | train |
becb10721077a8f8eb3d97f116d2778c2b3179cc | diff --git a/tools/src/test/java/com/orientechnologies/orient/stresstest/OStressTesterCommandLineParserTest.java b/tools/src/test/java/com/orientechnologies/orient/stresstest/OStressTesterCommandLineParserTest.java
index <HASH>..<HASH> 100644
--- a/tools/src/test/java/com/orientechnologies/orient/stresstest/OStressTest... | stress test tool: removed forgotten debug print | orientechnologies_orientdb | train |
7b620104a915ca136c8641ce1fb4784865e2666b | diff --git a/js/binance.js b/js/binance.js
index <HASH>..<HASH> 100644
--- a/js/binance.js
+++ b/js/binance.js
@@ -641,23 +641,44 @@ module.exports = class binance extends Exchange {
method += 'Test';
params = this.omit (params, 'test');
}
+ let uppercaseType = type.toUpperCase... | binance edits fix #<I> | ccxt_ccxt | train |
8fe92d29df93376880aab84af6417dc72a4edc57 | diff --git a/sockeye/translate.py b/sockeye/translate.py
index <HASH>..<HASH> 100644
--- a/sockeye/translate.py
+++ b/sockeye/translate.py
@@ -144,9 +144,10 @@ def make_inputs(input_file: Optional[str],
else:
input_factors = [] if input_factors is None else input_factors
inputs = [input_file] + i... | Correct source factor input files check. (#<I>) | awslabs_sockeye | train |
b5fbff6f1241b216a8e586b573608a96ede19c77 | diff --git a/issue.py b/issue.py
index <HASH>..<HASH> 100755
--- a/issue.py
+++ b/issue.py
@@ -60,17 +60,7 @@ def list_issues(flags, tag):
issues = [issue for issue in issues if issue["status"] == "open"]
if tag:
issues = [issue for issue in issues if issue["tag"].lstrip() == tag]
- lens =... | print_short() now takes multiple issues | boarpig_issue | train |
16f0241d5e253666abfad35feb32e96df0d1aea3 | diff --git a/smtpd_test.go b/smtpd_test.go
index <HASH>..<HASH> 100644
--- a/smtpd_test.go
+++ b/smtpd_test.go
@@ -74,6 +74,21 @@ func runserver(t *testing.T, server *smtpd.Server) (addr string, closer func())
}
+func runsslserver(t *testing.T, server *smtpd.Server) (addr string, closer func()) {
+
+ cert, err :=... | Refactored ssl test setup. | chrj_smtpd | train |
145e8680b16edf654219304398e1ba6ad44c8e93 | diff --git a/test/click.spec.js b/test/click.spec.js
index <HASH>..<HASH> 100644
--- a/test/click.spec.js
+++ b/test/click.spec.js
@@ -34,6 +34,19 @@ module.exports.addTests = function({testRunner, expect}) {
await page.click('button');
expect(await page.evaluate(() => result)).toBe('Clicked');
});
+... | test: add failing test for clicking certain elements (#<I>)
References #<I> | GoogleChrome_puppeteer | train |
b8321d11b9f664ab52597b452fe6be50ee5e0c82 | diff --git a/setuptools_golang.py b/setuptools_golang.py
index <HASH>..<HASH> 100644
--- a/setuptools_golang.py
+++ b/setuptools_golang.py
@@ -150,7 +150,7 @@ GOLANG = 'https://storage.googleapis.com/golang/go{}.linux-amd64.tar.gz'
SCRIPT = '''\
cd /tmp
curl {golang} --silent --location | tar -xz
-export PATH="/tmp/... | Fix setuptools-golang-build-manylinux-wheels for go <I> | asottile_setuptools-golang | train |
1d6c8413e9c8c5ae9c8b0c0181cb405eba8ac5c5 | diff --git a/zebedee/zebedeeMapper/mapper.go b/zebedee/zebedeeMapper/mapper.go
index <HASH>..<HASH> 100644
--- a/zebedee/zebedeeMapper/mapper.go
+++ b/zebedee/zebedeeMapper/mapper.go
@@ -51,6 +51,7 @@ func MapZebedeeDatasetLandingPageToFrontendModel(dlp data.DatasetLandingPage, bc
sdlp.ContactDetails = model.ContactD... | Added datasetID from zebedee and mapping it into the dataset controller | ONSdigital_go-ns | train |
499761f9ac7da442ccf691cc4ec1771b5b6afedc | diff --git a/__mocks__/dom-helpers/style.js b/__mocks__/dom-helpers/style.js
index <HASH>..<HASH> 100644
--- a/__mocks__/dom-helpers/style.js
+++ b/__mocks__/dom-helpers/style.js
@@ -4,7 +4,7 @@ function style(...args) {
if (args.length === 3 && node && node.style) {
node.style[args[1]] = args[2];
}
- origi... | test: finish dispatcher/plugin/attribute unit test recovery | Chimeejs_chimee | train |
1b366f019fb4b7d587da6eca1fc93253ccfdc70e | diff --git a/examples/example_6.js b/examples/example_6.js
index <HASH>..<HASH> 100644
--- a/examples/example_6.js
+++ b/examples/example_6.js
@@ -9,6 +9,7 @@ config
.cliOption( 'outputFilename', 'o', 'The output file to write' )
.cliOption( 'default', 'd', 'Default value to use', 'a-default' )
.cliOption( 'json', [... | added cliArguments api to collect arguments from cli | ponycode_pony-config | train |
9f8058ac7e5183cb268262587c0428c3f408d1a1 | diff --git a/packages/dai-plugin-mcd/src/schema.js b/packages/dai-plugin-mcd/src/schema.js
index <HASH>..<HASH> 100644
--- a/packages/dai-plugin-mcd/src/schema.js
+++ b/packages/dai-plugin-mcd/src/schema.js
@@ -111,10 +111,9 @@ export const ILK_PRICES = 'ilkPrices';
export const ilkPrices = {
generate: ilkNames => ... | Simplify ilkPrices schema | makerdao_dai.js | train |
0788378921d4c35fac8bd354537f34c4fb2c8087 | diff --git a/AppMetadata.php b/AppMetadata.php
index <HASH>..<HASH> 100644
--- a/AppMetadata.php
+++ b/AppMetadata.php
@@ -63,7 +63,7 @@ class AppMetadata extends ArrayObject {
if (is_string($metadata['value']) && preg_match('/@\w+/', $metadata['value'])) {
$derived[$metadata['key']] = $metadata['value'];
... | _offsetSet
Not quite sure how that came unglued. | battis_appmetadata | train |
98e29b7246ff490ff2affed25e00c4e73444d32d | diff --git a/lib/Cake/Model/Datasource/Session/DatabaseSession.php b/lib/Cake/Model/Datasource/Session/DatabaseSession.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Model/Datasource/Session/DatabaseSession.php
+++ b/lib/Cake/Model/Datasource/Session/DatabaseSession.php
@@ -110,7 +110,10 @@ class DatabaseSession implem... | Fixing the DatabaseSession to work with models that use a different primary key field than id. | cakephp_cakephp | train |
fb42c3ada7019cb31ee362a9e147dc0336338a3a | diff --git a/lib/vanity/metric/active_record.rb b/lib/vanity/metric/active_record.rb
index <HASH>..<HASH> 100644
--- a/lib/vanity/metric/active_record.rb
+++ b/lib/vanity/metric/active_record.rb
@@ -58,7 +58,7 @@ module Vanity
query = { :conditions=>{ @ar_timestamp=>(sdate.to_time...(edate + 1).to_time) },
... | Don't cast date to string on Metric::ActiveRecord#values as the grouped result contains Date objects | assaf_vanity | train |
f08ce95054f9f95360576dbc6b62bef1dd21bc72 | diff --git a/ayrton/tests/test_ayrton.py b/ayrton/tests/test_ayrton.py
index <HASH>..<HASH> 100644
--- a/ayrton/tests/test_ayrton.py
+++ b/ayrton/tests/test_ayrton.py
@@ -42,7 +42,7 @@ class Bash(unittest.TestCase):
self.assertEqual (sorted (bash ('s{a,*.py}')), [ 'sa', 'setup.py' ])
def test_glob_brace... | [*] file name changed for testing purposses. | StyXman_ayrton | train |
a88488ead05676e9af4fba96b421fdec6cbe68b4 | diff --git a/lib/lyricfy.rb b/lib/lyricfy.rb
index <HASH>..<HASH> 100644
--- a/lib/lyricfy.rb
+++ b/lib/lyricfy.rb
@@ -20,7 +20,7 @@ module Lyricfy
if !args.empty?
passed_providers = {}
args.each do |provider|
- raise Exception if !@providers.has_key?(provider)
+ raise Excepti... | Add tiny refactoring: Use unless to raise Exception | javichito_Lyricfy | train |
e56eb354eb2ea65493ba25c0f52be04a4b2033a1 | diff --git a/python/ray/tune/function_runner.py b/python/ray/tune/function_runner.py
index <HASH>..<HASH> 100644
--- a/python/ray/tune/function_runner.py
+++ b/python/ray/tune/function_runner.py
@@ -9,7 +9,6 @@ import traceback
from ray.tune import TuneError
from ray.tune.trainable import Trainable
from ray.tune.res... | [tune] Remove hack to serve pin requests off thread (#<I>)
* nopin
* fix | ray-project_ray | train |
d28aa2639cf883ac2ee36134bcefe82048d3f063 | diff --git a/holoviews/core/data/__init__.py b/holoviews/core/data/__init__.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data/__init__.py
+++ b/holoviews/core/data/__init__.py
@@ -83,10 +83,10 @@ class DataConversion(object):
raise ValueError('Cannot supply both mdims and groupby')
... | Pop mdims in DataConversion avoiding second warning | pyviz_holoviews | train |
c4f0d9dd4f55887a8420b8085feee55026875bb5 | diff --git a/ChangeLog b/ChangeLog
index <HASH>..<HASH> 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,9 @@ Change log for the astroid package (used to be astng)
* Simplify the understanding of enum members.
+ * Fix an infinite loop with decorator call chain inference,
+ where the decorator return... | Fix an infinite loop with decorator call chain inference, where the decorator returns itself. Closes issue #<I>. | PyCQA_astroid | train |
78cdb85c3cbc6d888e96f4502d3270ae57f17a88 | diff --git a/lib/Client.js b/lib/Client.js
index <HASH>..<HASH> 100644
--- a/lib/Client.js
+++ b/lib/Client.js
@@ -898,9 +898,6 @@ class Client extends EventEmitter {
* @returns {Promise<Number>} Resolves with the number of messages deleted
*/
purgeChannel(channelID, limit, filter, before, after) {
- ... | Handle guildEmojisUpdate event, purgeChannel touchup | abalabahaha_eris | train |
321127d242e7b4160957afaa936d4ceca62039f2 | diff --git a/kuyruk/task.py b/kuyruk/task.py
index <HASH>..<HASH> 100644
--- a/kuyruk/task.py
+++ b/kuyruk/task.py
@@ -172,18 +172,18 @@ class Task(object):
"""
logger.debug("Task.send_to_queueue args=%r, kwargs=%r", args, kwargs)
queue = get_queue_name(self.queue, host=host, local=local or s... | rename task_description to description | cenkalti_kuyruk | train |
4864b415219f77ad7e4029e128388563b2be54c4 | diff --git a/grails-core/src/main/groovy/org/codehaus/groovy/grails/transaction/ChainedTransactionManagerPostProcessor.java b/grails-core/src/main/groovy/org/codehaus/groovy/grails/transaction/ChainedTransactionManagerPostProcessor.java
index <HASH>..<HASH> 100644
--- a/grails-core/src/main/groovy/org/codehaus/groovy/g... | GRAILS-<I> related improvement: don't add readOnly additional dataSources to the BE1PC transaction manager
- handle them in the same way as 'transactional = false' when 'readOnly = true' | grails_grails-core | train |
1e14e61f43e5a97ec5acb7b751d911dd4215ac0a | diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -604,7 +604,11 @@ class State(object):
'''
ret = {'result': False}
if 'onlyif' in low_data:
- for entry in low_data['onlyif']:
+ if not isinstance(low_data['... | Update to the global unless and onlyif code to allow specifying them in the state files as strings in addition to lists. | saltstack_salt | train |
e7fca911872e29612bca77613d6e77468514acbe | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index <HASH>..<HASH> 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -447,6 +447,7 @@ ExtensionType Changes
- Added ``ExtensionDtype._is_numeric`` for controlling whether an extension dtype is considere... | Support NDFrame.shift with EAs (#<I>) | pandas-dev_pandas | train |
1010f83b434ae45ef5ac42497c85fd76f3929c0f | diff --git a/PyFunceble/cli/processes/workers/base.py b/PyFunceble/cli/processes/workers/base.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/cli/processes/workers/base.py
+++ b/PyFunceble/cli/processes/workers/base.py
@@ -352,7 +352,6 @@ class WorkerBase(multiprocessing.Process):
break
... | Deletion of uneeded statement. | funilrys_PyFunceble | train |
024e648e5a807cc09f702d818ef1a1fcfffe035d | diff --git a/src/TagField.php b/src/TagField.php
index <HASH>..<HASH> 100644
--- a/src/TagField.php
+++ b/src/TagField.php
@@ -313,6 +313,21 @@ class TagField extends DropdownField
}
/**
+ * Gets the source array if required
+ *
+ * Note: this is expensive for a SS_List
+ *
+ * @return a... | Added getSource() function to populate source inline with the api.
Source isn't populated to the parent because it's transformed directly
to an array. Instead we're lazy loading the source when it's requested. | silverstripe_silverstripe-tagfield | train |
dc5a7d22d6bb94314e7aa906974e0cbde4187739 | diff --git a/lib/jobs/ipmi-catalog.js b/lib/jobs/ipmi-catalog.js
index <HASH>..<HASH> 100644
--- a/lib/jobs/ipmi-catalog.js
+++ b/lib/jobs/ipmi-catalog.js
@@ -18,8 +18,7 @@ di.annotate(ipmiCatalogJobFactory, new di.Provide('Job.LocalIpmi.Catalog'));
'_',
'Services.Encryption',
'ChildProcess',... | Rewrite to use lookupHost from JobUtils.JobHelpers. | RackHD_on-tasks | train |
e7c30d25d89a22023b7f25673e1e29b2fb56fc15 | diff --git a/src/db/index.js b/src/db/index.js
index <HASH>..<HASH> 100644
--- a/src/db/index.js
+++ b/src/db/index.js
@@ -25,14 +25,14 @@ class Db extends EventEmitter {
super();
this.del = this.delete.bind(this);
this.setup = db.setup.bind(db);
- this._set = this.set.bind(this);
+ ... | Db refactoring - WIP | getblank_blank-node-worker | train |
4fb75f833cc4655452d994a43c555a500465f670 | diff --git a/commands/command_sync.go b/commands/command_sync.go
index <HASH>..<HASH> 100644
--- a/commands/command_sync.go
+++ b/commands/command_sync.go
@@ -13,14 +13,19 @@ func (c *SyncCommand) Setup() {
}
func (c *SyncCommand) Run() {
- err := gitmedia.UploadQueue().Walk(func(id string, sha []byte) error {
- p... | "git media sync" now walks to the upload queue | git-lfs_git-lfs | train |
18e7ffa3ff0186ec83a3751e487f8eeb5c191cbc | diff --git a/src/libs/comm_py/comm/ros/listenerCamera.py b/src/libs/comm_py/comm/ros/listenerCamera.py
index <HASH>..<HASH> 100644
--- a/src/libs/comm_py/comm/ros/listenerCamera.py
+++ b/src/libs/comm_py/comm/ros/listenerCamera.py
@@ -4,6 +4,7 @@ import threading
from math import pi as PI
from jderobotTypes import Im... | Added missing np import. Fixed #<I>. | JdeRobot_base | train |
75605b7df66ea9f3ba608182c78fa002e77e588d | diff --git a/resources/lang/es-ES/cachet.php b/resources/lang/es-ES/cachet.php
index <HASH>..<HASH> 100644
--- a/resources/lang/es-ES/cachet.php
+++ b/resources/lang/es-ES/cachet.php
@@ -90,15 +90,16 @@ return [
'manage_at_link' => 'Manage your subscriptions at :link',
],
'email' => ... | New translations cachet.php (Spanish) | CachetHQ_Cachet | train |
4a9698c0a1bc7920e26ec81e88078f6b9f99454f | diff --git a/web/concrete/blocks/form/controller.php b/web/concrete/blocks/form/controller.php
index <HASH>..<HASH> 100644
--- a/web/concrete/blocks/form/controller.php
+++ b/web/concrete/blocks/form/controller.php
@@ -696,7 +696,7 @@ class MiniSurvey{
$html.= '<option value="" '.$selected.'>----</option>'; ... | fixing missing quotation mark in form block
Former-commit-id: ee<I>e<I>a<I>c<I>fa<I>d8b<I>fba6 | concrete5_concrete5 | train |
2c2cc411586dad54692458586aaa5dd4cf9cecd8 | diff --git a/sitools2/clients/sdo_client_medoc.py b/sitools2/clients/sdo_client_medoc.py
index <HASH>..<HASH> 100644
--- a/sitools2/clients/sdo_client_medoc.py
+++ b/sitools2/clients/sdo_client_medoc.py
@@ -66,13 +66,14 @@ class Sdo_data():
def getItemByName(self, name):
return self.getData()[name]
... | media_search media_get instead of search get | SITools2_pySitools2_1.0 | train |
ac3bf300d3ecf882b43291ffacbfef4a266501ce | diff --git a/pkg/metrics/descriptors.go b/pkg/metrics/descriptors.go
index <HASH>..<HASH> 100644
--- a/pkg/metrics/descriptors.go
+++ b/pkg/metrics/descriptors.go
@@ -51,12 +51,12 @@ func newID(id int, gid GID) ID {
return ID(gid)<<gidShift + (ID(id) & idMask)
}
-func (id ID) id() int {
- return int(id & idMask)
+... | fix overflow for <I>-bit architecture | influxdata_influxdb | train |
d7b63c9ddd78fce2a26cea943468997fde21380c | diff --git a/scripts/bootstrap.js b/scripts/bootstrap.js
index <HASH>..<HASH> 100755
--- a/scripts/bootstrap.js
+++ b/scripts/bootstrap.js
@@ -66,7 +66,7 @@ function run() {
option: '--prep',
command: () => {
log.info(prefix, 'prepare');
- spawn(`nx run-many --target="prepare" --all --para... | ignore storyshots in prep-mode | storybooks_storybook | train |
66ac7a2242d1f7558e028a3f646a7a74cc5771ed | diff --git a/src/nopg.js b/src/nopg.js
index <HASH>..<HASH> 100644
--- a/src/nopg.js
+++ b/src/nopg.js
@@ -1,7 +1,8 @@
/* nor-nopg */
+var debug = require('nor-debug');
var pg = require('nor-pg');
-var extend = require('nor-extend');
+var extend = require('nor-extend').setup({useFunctionPromises:true});
var NoPgOb... | Using function-based extended promises now | sendanor_nor-nopg | train |
e08b17d3eb742d2ec679c0b16847b0f9c75904a5 | diff --git a/plugins/sqlite/handle.js b/plugins/sqlite/handle.js
index <HASH>..<HASH> 100644
--- a/plugins/sqlite/handle.js
+++ b/plugins/sqlite/handle.js
@@ -50,6 +50,7 @@ if(mode === 'realtime' || mode === 'importer') {
}
var db = new sqlite3.Database(fullPath);
-db.run('PRAGMA journal_mode = ' + config.sqlite.jo... | This works for me and resolve #<I> | askmike_gekko | train |
9de9204f0052288b8f584afaa32fcc86da42607a | diff --git a/generate.php b/generate.php
index <HASH>..<HASH> 100644
--- a/generate.php
+++ b/generate.php
@@ -180,6 +180,6 @@ if ($cli->getValue('--gzip'))
$config = new Config($inputFile, $outputDir, $verbose, $singleFile, $classExists, $noTypeConstructor, $namespaceName, $optionsArray, $wsdlCache, $gzip, $classNa... | Use the singleton in the generator | wsdl2phpgenerator_wsdl2phpgenerator | train |
b767f696e1eba9aebc1ccc79e23baaa14a6d7d3f | diff --git a/quantecon/markov/core.py b/quantecon/markov/core.py
index <HASH>..<HASH> 100644
--- a/quantecon/markov/core.py
+++ b/quantecon/markov/core.py
@@ -349,10 +349,18 @@ class MarkovChain(object):
random_state = check_random_state(random_state)
dim = 1 # Dimension of the returned array: 1 or 2... | Fix: Check init is in the state space | QuantEcon_QuantEcon.py | train |
f7ff9c61adc5bef2b9087194e91ad6c8d50bd89f | diff --git a/client/state/data-layer/wpcom/sites/plugins/new/test/index.js b/client/state/data-layer/wpcom/sites/plugins/new/test/index.js
index <HASH>..<HASH> 100644
--- a/client/state/data-layer/wpcom/sites/plugins/new/test/index.js
+++ b/client/state/data-layer/wpcom/sites/plugins/new/test/index.js
@@ -66,7 +66,12 @... | Fix test failure reading capabilities of undefined (#<I>) | Automattic_wp-calypso | train |
4a94ee838e15de4d6da8be129f991605ad853373 | diff --git a/tests/source/core/datastore/types/remote/MRemoteDatastoreTest.php b/tests/source/core/datastore/types/remote/MRemoteDatastoreTest.php
index <HASH>..<HASH> 100644
--- a/tests/source/core/datastore/types/remote/MRemoteDatastoreTest.php
+++ b/tests/source/core/datastore/types/remote/MRemoteDatastoreTest.php
@... | rename method eliminates the warning? | sebastianmonzel_webfiles-framework-php | train |
c8b649c1380fb08125ec5d04fc0b0a38fe36c134 | diff --git a/packages/cli/bildit-here/test/it/local-docker-with-publish.test.js b/packages/cli/bildit-here/test/it/local-docker-with-publish.test.js
index <HASH>..<HASH> 100644
--- a/packages/cli/bildit-here/test/it/local-docker-with-publish.test.js
+++ b/packages/cli/bildit-here/test/it/local-docker-with-publish.test.... | yay! Local docker test passes! | giltayar_bilt | train |
590e47c5ec68b01638e7863646a60f02c4a6460e | diff --git a/llvmlite/ir/builder.py b/llvmlite/ir/builder.py
index <HASH>..<HASH> 100644
--- a/llvmlite/ir/builder.py
+++ b/llvmlite/ir/builder.py
@@ -349,8 +349,8 @@ class IRBuilder(object):
# Call APIs
- def call(self, fn, args, name=''):
- inst = instructions.CallInstr(self.block, fn, args, name=n... | Support passing the calling convention to call instructions | numba_llvmlite | train |
edad0dbc46d2ccfff4f5bba8d914b3a73148a52b | diff --git a/docs/examples/exporting_models_json_forward_ref.py b/docs/examples/exporting_models_json_forward_ref.py
index <HASH>..<HASH> 100644
--- a/docs/examples/exporting_models_json_forward_ref.py
+++ b/docs/examples/exporting_models_json_forward_ref.py
@@ -31,4 +31,4 @@ wolfgang = User(
User(name='John',... | fix: keep old behaviour of `json()` by default (#<I>)
* fix: handle basemodel fallback for custom encoders
* put back old behaviour and add to_dict
* typo | samuelcolvin_pydantic | train |
93575b03086de5d515d2bcd63c6bc1e4746fc10b | diff --git a/app.js b/app.js
index <HASH>..<HASH> 100644
--- a/app.js
+++ b/app.js
@@ -29,7 +29,11 @@
Q = require("q"),
optimist = require("optimist");
- require("./lib/stdlog");
+ require("./lib/stdlog").setup({
+ vendor: "Adobe",
+ application: "Adobe Photoshop CC",
+ ... | Store the log files in the user directory
Mac: ~/Library/Logs/Adobe/Adobe Photoshop CC/Generator
Win: ~\AppData\Roaming\Adobe\Adobe Photoshop CC\Generator\logs
[Fallback: ~/Adobe/Adobe Photoshop CC/Generator/logs] | adobe-photoshop_generator-core | train |
453fede53ce3955d437f241f17c1dbb2778abfac | diff --git a/addon/mixins/lock-route.js b/addon/mixins/lock-route.js
index <HASH>..<HASH> 100644
--- a/addon/mixins/lock-route.js
+++ b/addon/mixins/lock-route.js
@@ -87,7 +87,7 @@ export default Ember.Mixin.create({
let builder = new Query.Builder(this.store)
.from('new-platform-flexberry-servi... | Fix lock-route mixin query building for get lock | Flexberry_ember-flexberry | train |
1374c450bcd4778a8c0be48fa3e34c759488a630 | diff --git a/autoclass/autoprops.py b/autoclass/autoprops.py
index <HASH>..<HASH> 100644
--- a/autoclass/autoprops.py
+++ b/autoclass/autoprops.py
@@ -1,3 +1,5 @@
+import hashlib
+import linecache
from inspect import getmembers, signature, Parameter
from typing import Type, Any, Tuple, Callable, Union, Optional
from... | Added dynamic compilation for setter functions in order for the argument name to be correct. This fixes #<I> | smarie_python-autoclass | train |
8a0992342ac19f02680f1cc5eaedc09c672a35b8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -29,6 +29,6 @@ setup(name='alot',
'magic',
'configobj (>=4.6.0)',
'subprocess (>=2.7)',
- 'pyme'],
+ 'pyme'],
provides='alot',
) | fix indention of the last commit in setup.py | pazz_alot | train |
d56e1afb5e4f1c880a3fb1030004b6fb2dd98258 | diff --git a/aeron-samples/src/main/java/io/aeron/samples/LogInspector.java b/aeron-samples/src/main/java/io/aeron/samples/LogInspector.java
index <HASH>..<HASH> 100644
--- a/aeron-samples/src/main/java/io/aeron/samples/LogInspector.java
+++ b/aeron-samples/src/main/java/io/aeron/samples/LogInspector.java
@@ -80,11 +80... | [Java] Separate termOffset and termId from the packed rawTail in the meta data for log inspection. | real-logic_aeron | train |
1da2832510aec5833e0733e511977a546e6e43e3 | diff --git a/new-test/test_game_client.py b/new-test/test_game_client.py
index <HASH>..<HASH> 100644
--- a/new-test/test_game_client.py
+++ b/new-test/test_game_client.py
@@ -5,7 +5,9 @@ from requests.exceptions import HTTPError
from pybomb.clients.game_client import GameClient
-from pybomb.exceptions import Inval... | Add missing test for bad giant bomb response | steveYeah_PyBomb | train |
a983c5f07aea74e52dc611daf15365e72e4e55c4 | diff --git a/tacl/results.py b/tacl/results.py
index <HASH>..<HASH> 100644
--- a/tacl/results.py
+++ b/tacl/results.py
@@ -434,7 +434,8 @@ class Results:
constants.LABEL_FIELDNAME: label,
})
extended_matches = pd.DataFrame(extra_rows)
- ... | Use pd.concat rather than DataFrame.append. | ajenhl_tacl | train |
70074bc063ad4b013a445ac32ab2bf7f38baa8af | diff --git a/libstempo/toasim.py b/libstempo/toasim.py
index <HASH>..<HASH> 100644
--- a/libstempo/toasim.py
+++ b/libstempo/toasim.py
@@ -376,7 +376,7 @@ def add_glitch(psr, epoch, amplitude):
# Thus TOAs will be advanced, and resiudals will be negative.
psr.stoas[:] -= amp * heaviside(psr.toas() - epo... | adding glitch signal to toasim | vallis_libstempo | train |
117a49820a41e6059e4f8efda3196da10efe5247 | diff --git a/internal/services/consumption/consumption_budget_base.go b/internal/services/consumption/consumption_budget_base.go
index <HASH>..<HASH> 100644
--- a/internal/services/consumption/consumption_budget_base.go
+++ b/internal/services/consumption/consumption_budget_base.go
@@ -390,7 +390,7 @@ func (br consumpt... | fix: fix read error when consumption budget does not exist in azure (#<I>) | terraform-providers_terraform-provider-azurerm | train |
abb2212bb9950fc59e84f9a04d7bb570ae9e71f0 | diff --git a/Eloquent/Concerns/HasAttributes.php b/Eloquent/Concerns/HasAttributes.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Concerns/HasAttributes.php
+++ b/Eloquent/Concerns/HasAttributes.php
@@ -514,11 +514,13 @@ trait HasAttributes
* Merge new casts with existing casts on the model.
*
* @para... | [8.x] Modify `mergeCasts` to return `` (#<I>) | illuminate_database | train |
3a7ea5c84ce9760625881955ac69d5a11e10a08a | diff --git a/symphony/lib/toolkit/class.fieldmanager.php b/symphony/lib/toolkit/class.fieldmanager.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/class.fieldmanager.php
+++ b/symphony/lib/toolkit/class.fieldmanager.php
@@ -447,7 +447,7 @@ class FieldManager implements FileResource
AND `elem... | Do not clean the array of values only each of them
Re: <I>d<I>a8
Picked from cd7e5a4c<I> | symphonycms_symphony-2 | train |
480123c5bfde2bc3404618d6c35f47b0baabae74 | diff --git a/www/src/examples/ResponsiveEmbed.js b/www/src/examples/ResponsiveEmbed.js
index <HASH>..<HASH> 100644
--- a/www/src/examples/ResponsiveEmbed.js
+++ b/www/src/examples/ResponsiveEmbed.js
@@ -1,5 +1,5 @@
<div style={{ width: 660, height: 'auto' }}>
- <ResponsiveEmbed aspect="a16by9">
+ <ResponsiveEmbed as... | Update ResponsiveEmbed example (#<I>)
Updated to be to be consistent with documented API. Without this, the example would produce a type error. | react-bootstrap_react-bootstrap | train |
a2139a6afa4d00804744f70efa753e515038c1b3 | diff --git a/controller/src/main/java/org/jboss/as/controller/interfaces/AbstractInterfaceCriteria.java b/controller/src/main/java/org/jboss/as/controller/interfaces/AbstractInterfaceCriteria.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/interfaces/AbstractInterfaceCriteria.jav... | AS7-<I> - fix for failed tests on windows
was: d3ff<I>bc9ba<I>fb<I>ec<I>c<I>f8d1ce | wildfly_wildfly-core | train |
cf54024b39a696559e3a96f55b884970725358c0 | diff --git a/atrcopy.py b/atrcopy.py
index <HASH>..<HASH> 100755
--- a/atrcopy.py
+++ b/atrcopy.py
@@ -96,10 +96,15 @@ class AtrDirent(object):
self.current_sector = 0
def __str__(self):
- locked = "*" if self.locked else ""
- dos = "(mydos)" if self.mydos else ""
+ output = "o"... | Added dirent flags to output | robmcmullen_atrcopy | train |
03d3e0e9f3987c44eb4c600d261c24beb3911c14 | diff --git a/doc.go b/doc.go
index <HASH>..<HASH> 100644
--- a/doc.go
+++ b/doc.go
@@ -65,7 +65,7 @@
// Twilio Monitor subresources are available on the Client under the Monitor
// field, e.g.
//
-// alert, err := client.Monitor.Alerts.Get("NO123")
+// alert, err := client.Monitor.Alerts.Get(context.TODO(), ... | use correct implementation in doc.go | saintpete_twilio-go | train |
cd9e7de1082d5c98acb99205756f9abbb6e9b89f | diff --git a/cmd/server/main.go b/cmd/server/main.go
index <HASH>..<HASH> 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -15,9 +15,10 @@ import (
)
const (
- ocidRoot = "/var/lib/ocid"
- conmonPath = "/usr/libexec/ocid/conmon"
- pausePath = "/usr/libexec/ocid/pause"
+ ocidRoot = "/var/lib/ocid"... | ocid: add TOML configuration file
The --config is merged with the default, and then is overridden by any
command-line options. Everything is organised to be in sub-tables so
that the sections are more clear. | cri-o_cri-o | train |
c8897d71ba04f8ce585daa4b40133fe5cd671a13 | diff --git a/tests/Components/DatabaseInstallTest.php b/tests/Components/DatabaseInstallTest.php
index <HASH>..<HASH> 100755
--- a/tests/Components/DatabaseInstallTest.php
+++ b/tests/Components/DatabaseInstallTest.php
@@ -19,7 +19,7 @@ it('installs the required packages', function () {
->method('require')
... | Update DatabaseInstallTest.php | laravel-zero_framework | train |
9e372916a877b558df7e7f6841209e6bf15efd7c | diff --git a/src/blocks/scratch3_sensing.js b/src/blocks/scratch3_sensing.js
index <HASH>..<HASH> 100644
--- a/src/blocks/scratch3_sensing.js
+++ b/src/blocks/scratch3_sensing.js
@@ -84,6 +84,9 @@ class Scratch3SensingBlocks {
getId: () => 'timer'
},
sensing_current: {
+ ... | Add comment about sensing block id oddness | LLK_scratch-vm | train |
dc81b19bd083ac5fe9f6789d292d98ef97b3dc38 | diff --git a/lib/Mongo/MongoDB.php b/lib/Mongo/MongoDB.php
index <HASH>..<HASH> 100644
--- a/lib/Mongo/MongoDB.php
+++ b/lib/Mongo/MongoDB.php
@@ -377,9 +377,19 @@ class MongoDB
* The resulting document's structure depends on the command,
* but most results will have the ok field to indicate success or fail... | Implement MongoDB::command() | alcaeus_mongo-php-adapter | train |
1d93c66f4443029d9ebfb96f4439c7e2f71303a9 | diff --git a/hdbscan/plots.py b/hdbscan/plots.py
index <HASH>..<HASH> 100644
--- a/hdbscan/plots.py
+++ b/hdbscan/plots.py
@@ -362,8 +362,8 @@ class SingleLinkageTree (object):
def __init__(self, linkage):
self._linkage = linkage
- def plot(self, axis=None):
- dendrogram_data = dendrogram(self... | Add single linkage tree pandas and networkx export | scikit-learn-contrib_hdbscan | train |
f357804f1650a3cad37b918ac4a31dd074ab71bc | diff --git a/src/Illuminate/Redis/Limiters/DurationLimiter.php b/src/Illuminate/Redis/Limiters/DurationLimiter.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Redis/Limiters/DurationLimiter.php
+++ b/src/Illuminate/Redis/Limiters/DurationLimiter.php
@@ -99,9 +99,9 @@ class DurationLimiter
*/
public func... | Fix DurationLimiter not using Redis connection proxy to call eval command (#<I>) | laravel_framework | train |
fec58db8d6e86c1ed9d32af6e8d482728c2c4e44 | diff --git a/test/integration/accounts.js b/test/integration/accounts.js
index <HASH>..<HASH> 100644
--- a/test/integration/accounts.js
+++ b/test/integration/accounts.js
@@ -23,10 +23,11 @@ import MemoryAccount from '../../src/account/memory'
import { AE_AMOUNT_FORMATS } from '../../src/utils/amount-formatter'
des... | test: spend should fail with no accounts | aeternity_aepp-sdk-js | train |
dcc6d8d6ffb257b454fc6b9986e09a8046808282 | diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java
index <HASH>..<HASH> 100644
--- a/spring-boot-pro... | Align default of flyway.check-location with equivalent Liquibase prop
Closes gh-<I> | spring-projects_spring-boot | train |
91b50c722a1a7491871dbf6299c5256730078319 | diff --git a/lib/base/context/index.js b/lib/base/context/index.js
index <HASH>..<HASH> 100644
--- a/lib/base/context/index.js
+++ b/lib/base/context/index.js
@@ -83,7 +83,6 @@ exports.resolveContext = function (val, event, context, alwaysreturn) {
if (context) {
context.clearContext()
prevContext = ... | fix event test push should always get emitters | vigour-io_vjs | train |
da7aecc7d6505e6b992f06a6f9b213d0ee6abea0 | diff --git a/src/DbalDataProvider.php b/src/DbalDataProvider.php
index <HASH>..<HASH> 100644
--- a/src/DbalDataProvider.php
+++ b/src/DbalDataProvider.php
@@ -122,7 +122,7 @@ class DbalDataProvider extends DataProvider
$item = $this->iterator->current();
$this->iterator->next();
$... | Fixed deprecated Event::fire with Event::distpacth | Nayjest_Grids | train |
53c253c48ebe7c82feb07f07916a5dc8fbc11731 | diff --git a/gruntfile.js b/gruntfile.js
index <HASH>..<HASH> 100644
--- a/gruntfile.js
+++ b/gruntfile.js
@@ -56,7 +56,10 @@ module.exports = function( grunt ) {
karma: {
files: [
- "{src,test}/**/*.{js,jsx}"
+ "src/**/*.jsx",
+ "src/**/*.js",
+ "test/**/*.jsx",
+ ... | Make sure tests are ran when changing a file
The previous implementation didn’t work for me. | Hacker0x01_react-datepicker | train |
1cce5fbc78512d9ba61da28dedeac5ea3d3c37c2 | diff --git a/src/Filter/AbstractAssociationFilter.php b/src/Filter/AbstractAssociationFilter.php
index <HASH>..<HASH> 100644
--- a/src/Filter/AbstractAssociationFilter.php
+++ b/src/Filter/AbstractAssociationFilter.php
@@ -7,11 +7,20 @@ abstract class AbstractAssociationFilter
* @todo refactor this... it can be bett... | Fixed issues with toMany bidirectional associations | imarc_tenet | train |
32f8e0437a6807fe10974c67f92eaa904873964f | diff --git a/examples/a_bit_of_everything.pb.gw.go b/examples/a_bit_of_everything.pb.gw.go
index <HASH>..<HASH> 100644
--- a/examples/a_bit_of_everything.pb.gw.go
+++ b/examples/a_bit_of_everything.pb.gw.go
@@ -1,3 +1,12 @@
+// Code generated by protoc-gen-grpc-gateway
+// source: examples/a_bit_of_everything.proto
+//... | add package doc and comment into generated files | grpc-ecosystem_grpc-gateway | train |
d3904489f03aaba94354be548589564d2104082d | diff --git a/ci/generate_pipeline_yml.py b/ci/generate_pipeline_yml.py
index <HASH>..<HASH> 100755
--- a/ci/generate_pipeline_yml.py
+++ b/ci/generate_pipeline_yml.py
@@ -3,7 +3,7 @@
import os
from jinja2 import Template
-clusters = ['1-12', '2-0', '2-1', '2-2', 'multi-az']
+clusters = ['1-12', '2-0', '2-1', '2-2']... | Remove multi-az env from CI pipeline. | cf-platform-eng_tile-generator | train |
8a31cf809c923af288cda68f97f1f788c6125d07 | diff --git a/src/components/Editor.js b/src/components/Editor.js
index <HASH>..<HASH> 100644
--- a/src/components/Editor.js
+++ b/src/components/Editor.js
@@ -41,6 +41,9 @@ function getTextForLine(codeMirror, line) {
return codeMirror.getLine(line - 1).trim();
}
+function getCursorLine(codeMirror) {
+ return cod... | <cmd>+b should toggle breakpoints (#<I>)
* cmd+b toggle breakpoints
* Add expected spaces and remove a trailing space
* Add suggested changes by jasonLaster
* Remove extra spaces
* Remove unnecessary code
* Remove unnecessary line check in showConditionalPanel | firefox-devtools_debugger | train |
5578b4331e0aa4e94a57273aa9910a2907912a43 | diff --git a/src/Day.js b/src/Day.js
index <HASH>..<HASH> 100644
--- a/src/Day.js
+++ b/src/Day.js
@@ -40,6 +40,10 @@ export default class Day extends Component {
};
static defaultProps = {
+ tabIndex: -1,
+ };
+
+ static defaultProps = {
modifiers: {},
empty: false,
};
@@ -96,7 +100,7 @@ expo... | Accessibility: Days should have a negative tabIndex by default | gpbl_react-day-picker | train |
68480a128572385370fc1941824ea9c514349334 | diff --git a/cmd/jujud/machine_test.go b/cmd/jujud/machine_test.go
index <HASH>..<HASH> 100644
--- a/cmd/jujud/machine_test.go
+++ b/cmd/jujud/machine_test.go
@@ -676,12 +676,7 @@ func (s *MachineSuite) assertAgentOpensState(
s.waitStopped(c, job, a, done)
}
-// TODO(jam): 2013-09-02 http://pad.lv/1219661
-// This... | cmd/jujud: unskip TestManageEnvironServesAPI
This test has been skipped due to unreliability,
but nobody ever went back and looked at fixing
it. I can't see anything obviously wrong, and I
can't reproduce the failure on trunk. Reenabling
for now, will revert this change if the bot
starts failing again. | juju_juju | train |
23199ec6104ae195d705763dd633574f40776e35 | diff --git a/src/Place/PlaceTypeResolver.php b/src/Place/PlaceTypeResolver.php
index <HASH>..<HASH> 100644
--- a/src/Place/PlaceTypeResolver.php
+++ b/src/Place/PlaceTypeResolver.php
@@ -33,6 +33,7 @@ class PlaceTypeResolver implements TypeResolverInterface
"ekdc4ATGoUitCa0e6me6xA" => new EventType("ekdc4A... | III-<I> Add place type "Theater" | cultuurnet_udb3-php | train |
4cbd3eecaa79d35a9b8c8eaa89ccc3cb0626a317 | diff --git a/pylibscrypt/test_properties.py b/pylibscrypt/test_properties.py
index <HASH>..<HASH> 100644
--- a/pylibscrypt/test_properties.py
+++ b/pylibscrypt/test_properties.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2017-2018, Jan Varho
+# Copyright (c) 2017-2019, Jan Varho
#
# Permission to use, copy, modify, and/or dis... | Limit olen to reasonable values in hypothesis tests | jvarho_pylibscrypt | train |
0ea4ffa12696875d754810ddd3449b740eeee795 | diff --git a/test/unit/export_test.rb b/test/unit/export_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/export_test.rb
+++ b/test/unit/export_test.rb
@@ -6,12 +6,17 @@ class ExportTest < ActiveSupport::TestCase
fixtures :all
def setup
+ DatabaseCleaner.start
# ensure :pl also has a localization fil... | Setup db cleaner in export test
Not doing it globally because I don't know yet what impact it could have on existing tests | prograils_lit | train |
a2dfa4fada979a68db0ce31654674cf4954cf62f | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -227,6 +227,7 @@ class Client
$dataCache = $this->cache->getItem($cacheKey);
if (!$dataCache->isHit()) {
+ $username = 'base64:'.base64_encode($username);
$da... | feat: use base<I> encoded usernames/email addresses when fetching user data #<I> | linkorb_userbase-client-php | train |
cee320bb58433feeb7160a75fd0d1459d6951db0 | diff --git a/ghost/admin/app/components/gh-publishmenu-scheduled.js b/ghost/admin/app/components/gh-publishmenu-scheduled.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/app/components/gh-publishmenu-scheduled.js
+++ b/ghost/admin/app/components/gh-publishmenu-scheduled.js
@@ -8,6 +8,7 @@ export default Component.exte... | 🐛 Reset publish date in PSM when leaving menu (#<I>)
closes TryGhost/Ghost#<I>
- when changing the publish time of an already scheduled post in the publish menu and leaving the menu with clicking outside of the menu, the time wouldn't reset properly and be shown in the PSM. With the usage of an `isClosing` property... | TryGhost_Ghost | train |
d71cda7adf8333c5017ad81b3bb5023cdac84470 | diff --git a/lib/stripe/api_resource.rb b/lib/stripe/api_resource.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe/api_resource.rb
+++ b/lib/stripe/api_resource.rb
@@ -70,6 +70,11 @@ module Stripe
end
http_path ||= name.to_s
define_singleton_method(name) do |id, params = {}, opts = {}|
+ unle... | Better error message when passing non-string to custom method
Raises a slightly more helpful error message when passing a non-string
to a custom method (currently, it reads "no implicit conversion of Hash
into String", which is terrible).
This a partial remediation for the problem encountered in #<I>. | stripe_stripe-ruby | train |
5c635b501a5c2b8e397cdfd1187fb50837c2c173 | diff --git a/app/models/spree/order_decorator.rb b/app/models/spree/order_decorator.rb
index <HASH>..<HASH> 100644
--- a/app/models/spree/order_decorator.rb
+++ b/app/models/spree/order_decorator.rb
@@ -22,4 +22,20 @@ Spree::Order.class_eval do
def other_than_wallet_payment_required?
remaining_total > user.stor... | add some helping methods in order for wallet | vinsol-spree-contrib_spree_wallet | train |
9128c23edc92bc984e99b0c5d0d3fc00cecb591c | diff --git a/securesystemslib/pycrypto_keys.py b/securesystemslib/pycrypto_keys.py
index <HASH>..<HASH> 100755
--- a/securesystemslib/pycrypto_keys.py
+++ b/securesystemslib/pycrypto_keys.py
@@ -353,13 +353,13 @@ def verify_rsa_signature(signature, signature_method, public_key, data):
The RSA public key, a strin... | Remove double-underscore relative imports relicts | secure-systems-lab_securesystemslib | train |
460bedf4f458c27df1d45f96941258b59842bf68 | diff --git a/proctl/variables_linux_amd64.go b/proctl/variables_linux_amd64.go
index <HASH>..<HASH> 100644
--- a/proctl/variables_linux_amd64.go
+++ b/proctl/variables_linux_amd64.go
@@ -6,7 +6,6 @@ import (
"fmt"
"strconv"
"strings"
- "syscall"
"unsafe"
"github.com/derekparker/delve/dwarf/op"
@@ -627,7 +62... | Use generic ReadMemory isntead of Ptrace | go-delve_delve | train |
40e4332938a95f4b7b9e570ace947573823db5ba | diff --git a/routes/utils.js b/routes/utils.js
index <HASH>..<HASH> 100644
--- a/routes/utils.js
+++ b/routes/utils.js
@@ -18,11 +18,14 @@ export const getDomain = (store, serverConfig) => {
export const isIndexRedirected = (store) => (nextState, replace) => {
const credentials = AccountSelectors(store.getState()... | Fix redirect for index when community in cookie | nossas_bonde-client | train |
3d0e7c25bd0d57a10eb3d0a098c01cf38c8cc1d6 | diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -3,4 +3,10 @@
=================================================
"""
+__all__=[]
+import mapclassify
+import moran
+
+__all__+=mapclassify.__all__
+__all__+=moran.__all__
diff --git a/mapclassify.py b/mapclass... | - LISA Markov
- streamlining imports (more to to) | pysal_esda | train |
12fd6e5ffd88be60b3e1163f562235d3c7ad697b | diff --git a/js/bitfinex2.js b/js/bitfinex2.js
index <HASH>..<HASH> 100644
--- a/js/bitfinex2.js
+++ b/js/bitfinex2.js
@@ -515,7 +515,7 @@ module.exports = class bitfinex2 extends bitfinex {
'info': market,
};
if (swap) {
- const settlementCurrencies = this.opti... | bitfinex2 - only USDT settled in CCXT, but exchange allows BTC and USDT settled | ccxt_ccxt | train |
b375509bd6066f59b3fd0dc2042426b2f294d98e | diff --git a/Symfony/Consumption/LimitsExtensionsCommandTrait.php b/Symfony/Consumption/LimitsExtensionsCommandTrait.php
index <HASH>..<HASH> 100644
--- a/Symfony/Consumption/LimitsExtensionsCommandTrait.php
+++ b/Symfony/Consumption/LimitsExtensionsCommandTrait.php
@@ -58,8 +58,8 @@ trait LimitsExtensionsCommandTrait
... | [consumption] fix wrong niceness extension param | php-enqueue_enqueue | train |
cf2afec3a55ac746edac0d0065959c842dffd9f7 | diff --git a/lib/Cake/Test/TestCase/Console/Command/Task/ProjectTaskTest.php b/lib/Cake/Test/TestCase/Console/Command/Task/ProjectTaskTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/TestCase/Console/Command/Task/ProjectTaskTest.php
+++ b/lib/Cake/Test/TestCase/Console/Command/Task/ProjectTaskTest.php
@@ -67,7 ... | Fix a few coding standards errors. | cakephp_cakephp | train |
e38d060042ff21a550ca83d107c4f37cb0824f68 | diff --git a/fermipy/castro.py b/fermipy/castro.py
index <HASH>..<HASH> 100644
--- a/fermipy/castro.py
+++ b/fermipy/castro.py
@@ -592,7 +592,7 @@ class CastroData_Base(object):
Sub-classes can implement particul axes choices (e.g., EFlux v. Energy)
"""
- def __init__(self, norm_vals, nll_vals, norm_type... | Added bin by bin likelihood offsets to CastroData | fermiPy_fermipy | train |
6cc76a7e31886458a008d6ccb93046364d63f146 | diff --git a/src/Tasks/Backup/DbDumperFactory.php b/src/Tasks/Backup/DbDumperFactory.php
index <HASH>..<HASH> 100644
--- a/src/Tasks/Backup/DbDumperFactory.php
+++ b/src/Tasks/Backup/DbDumperFactory.php
@@ -13,6 +13,8 @@ use Spatie\Backup\Exceptions\CannotCreateDbDumper;
class DbDumperFactory
{
+ protected stati... | Add support to add custom dumpers to DbDumperFactory (#<I>) | spatie_laravel-backup | train |
cc19de84c08b192ac372ca9985f81da203172972 | diff --git a/spyderlib/guiconfig.py b/spyderlib/guiconfig.py
index <HASH>..<HASH> 100644
--- a/spyderlib/guiconfig.py
+++ b/spyderlib/guiconfig.py
@@ -85,7 +85,19 @@ def iter_shortcuts():
for option in CONF.options('shortcuts'):
context, name = option.split("/", 1)
yield context, name, get_shortc... | Keyboard shortcuts: removing deprecated shortcuts at startup. Otherwise, when
renaming the name of a registered shortcut (in the code), the old shortcut
will stay in Spyder configuration file and opening the Preferences dialog will
show a shortcut conflict dialog box. In other words, shortcuts were added to
configurati... | spyder-ide_spyder | train |
3f65adea2b1bf137623fa1f006092a4f9a55ab28 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -20,6 +20,7 @@ lib.preFlow(function(err, results) {
.option('-t, --theme <theme name>', 'Specify theme for export or publish (modern, traditional, crisp)', 'flat')
.option('-F, --force', 'Used by `publish` - bypasses... | Allow serve to use a resume.json file in a different directory - this makes testing themes with your own resume easier | jsonresume_resume-cli | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.