hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
872650cbaad3040049705b84e529562e30e495d7 | diff --git a/python/regress.py b/python/regress.py
index <HASH>..<HASH> 100644
--- a/python/regress.py
+++ b/python/regress.py
@@ -123,6 +123,7 @@ def getTuning(y,model) :
y = y/sum(y)
mu = dot(model.s,y)
sigma = dot(y,(model.s-mu)**2)
+ return (mu,sigma)
def getNorm(y,model) :
b = getRegression(y,model... | Added returns for gaussian fit | thunder-project_thunder | train | py |
8e5049f3c41c62a603213dc4561fed39d759a852 | diff --git a/src/Router/Strategy/TreeStrategy.php b/src/Router/Strategy/TreeStrategy.php
index <HASH>..<HASH> 100644
--- a/src/Router/Strategy/TreeStrategy.php
+++ b/src/Router/Strategy/TreeStrategy.php
@@ -56,11 +56,11 @@ class TreeStrategy implements ResolverInterface
$params[$key] = $matches... | minor handling improvements in `TreeStrategy` | phOnion_framework | train | php |
fd5df5a6db65a69830de70e08a6c7924ae3517d4 | diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/base.rb
+++ b/lib/sinatra/base.rb
@@ -878,23 +878,22 @@ module Sinatra
# Condition for matching user agent. Parameter should be Regexp.
# Will set params[:agent].
def user_agent(pattern)
- co... | Remove uneccessary line from provieds, use do ... end for multiline conditions. | sinatra_sinatra | train | rb |
47730cffebda9d9c529c5b834b70b71aaa71af5c | diff --git a/framework/core/src/Core/Formatter/Formatter.php b/framework/core/src/Core/Formatter/Formatter.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Core/Formatter/Formatter.php
+++ b/framework/core/src/Core/Formatter/Formatter.php
@@ -22,12 +22,14 @@ class Formatter
$configurator = new Configur... | Add Escaper plugin so that formatting can be escaped | flarum_core | train | php |
249bda280eff18bf799fe645995690ff47fd39f2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -114,7 +114,7 @@ function flatten(object, parent, parentKey, isFirst, skipNextFlat) {
_.each(object.properties, function(p) {
var newParent = object;
var resetSkip = true;
- if (!skipNextFlat && (p.key.type ===... | correct ident of _extend | marudor_inline-css-loader | train | js |
9e3f6994179c2918b956806ad8bbd25b578380e8 | diff --git a/tests/unit/single.js b/tests/unit/single.js
index <HASH>..<HASH> 100644
--- a/tests/unit/single.js
+++ b/tests/unit/single.js
@@ -2,6 +2,30 @@
var DomUtil = require('../dom-util');
+exports.testDontOpenAfterClear = DomUtil.createDomTest(
+ ['single', 'dropdown', 'templates'],
+ function(test, $i... | Merge test-case from mobile branch. | arendjr_selectivity | train | js |
3249d1f5b9560d46c1449e04fd3ceebbd3c32f10 | diff --git a/tests/test_eos.py b/tests/test_eos.py
index <HASH>..<HASH> 100644
--- a/tests/test_eos.py
+++ b/tests/test_eos.py
@@ -141,8 +141,8 @@ def test_eos_connector_execute_exception(mock_eapi):
@mock.patch('pylib.aeon.eos.connector.pyeapi.connect')
def test_eos_connector_execute(mock_eapi):
- def mock_exec... | update eos_connector_execute test to accept kwargs. | Apstra_aeon-venos | train | py |
8025d1515503f485e4d5e1faa111577748ca49a6 | diff --git a/request-strategy/order.go b/request-strategy/order.go
index <HASH>..<HASH> 100644
--- a/request-strategy/order.go
+++ b/request-strategy/order.go
@@ -88,7 +88,7 @@ func GetRequestablePieces(input Input, pro *PieceRequestOrder, f func(ih metainf
pieceLength := t.PieceLength()
if storageLeft != nil {
... | Stop iterating pieces when storage is exhausted | anacrolix_torrent | train | go |
0184584c3e6a66c533fce5e470192a2466c5af9a | diff --git a/lib/URL.php b/lib/URL.php
index <HASH>..<HASH> 100644
--- a/lib/URL.php
+++ b/lib/URL.php
@@ -124,6 +124,11 @@ http://mysite:123/install/dir/my/page.html
if(!is_array($argument))$argument=array($argument=>$value);
return $this->setArguments($argument);
}
+ /** Get value of an argu... | After properties are set, you should be able to access them too | atk4_atk4 | train | php |
5f93730481c2be7550a338ba33d8f8b5e6225933 | diff --git a/src/config.js b/src/config.js
index <HASH>..<HASH> 100644
--- a/src/config.js
+++ b/src/config.js
@@ -13,7 +13,7 @@ const defaultConfig = {
fieldsBagName: 'fields',
classes: false,
classNames: null,
- events: 'input|blur',
+ events: 'input',
inject: true,
fastExit: true,
aria: true,
dif... | breaking: change default event to input only | baianat_vee-validate | train | js,js |
21b929ee374668e5bd0181f1a908350c9b68f74a | diff --git a/app/ui/components/Button.js b/app/ui/components/Button.js
index <HASH>..<HASH> 100644
--- a/app/ui/components/Button.js
+++ b/app/ui/components/Button.js
@@ -16,7 +16,7 @@ const Button = props => (
Button.propTypes = {
disabled: PropTypes.bool,
- onClick: PropTypes.func
+ onClick: PropTypes.func.is... | add isRequired to button propTypes, removed ; , dummy vars inside render as per review | Opentrons_opentrons | train | js,js |
b98a316cd38b6dc695ebe9097b41cb2c55334663 | diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php
index <HASH>..<HASH> 100644
--- a/src/Models/BaseElement.php
+++ b/src/Models/BaseElement.php
@@ -519,11 +519,13 @@ class BaseElement extends DataObject implements CMSPreviewable
return $this->controller;
}
- if (!class_... | made sure controller uses config so it picks up late static binding | dnadesign_silverstripe-elemental | train | php |
9eac71305fc45ef3416825b004349041e9c13a52 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -82,11 +82,13 @@
function registerInput(){
options.searchInput.addEventListener('keyup', function(e){
- emptyResultsContainer();
var key = e.which
- var query = e.target.value
- ... | fix disappearing results (#<I>) | christian-fei_Simple-Jekyll-Search | train | js |
d367035571f41b285b5019ec21f9f0d7c2fd67e4 | diff --git a/lib/builderator/config/attributes.rb b/lib/builderator/config/attributes.rb
index <HASH>..<HASH> 100644
--- a/lib/builderator/config/attributes.rb
+++ b/lib/builderator/config/attributes.rb
@@ -25,7 +25,7 @@ module Builderator
unless arg.empty?
@attributes[attribute_name].... | Renamed :dimension option to :flatten to make it a bit more descriptive. | rapid7_builderator | train | rb,rb |
5447d8f038373d2fe96be60a8f1898a1935531cf | diff --git a/group/autogroup_form.php b/group/autogroup_form.php
index <HASH>..<HASH> 100644
--- a/group/autogroup_form.php
+++ b/group/autogroup_form.php
@@ -115,7 +115,7 @@ class autogroup_form extends moodleform {
}
// check grouping name duplicates
- if ($data['grouping'] == '-1') {
+ ... | MDL-<I> - fix warning when groupings not enabled
merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
8de776aa367485114af35167924dc9e6ca3c82df | diff --git a/miflora/__init__.py b/miflora/__init__.py
index <HASH>..<HASH> 100644
--- a/miflora/__init__.py
+++ b/miflora/__init__.py
@@ -10,6 +10,6 @@ if sys.version_info <= (3, 6):
sys.version_info.major, sys.version_info.minor, sys.executable
)
)
-from ._version import __version__
+from .... | add pylint: wrong-import-position to version import | open-homeautomation_miflora | train | py |
fa871895c36701442b9569181e37a276a81fa29d | diff --git a/lib/core.js b/lib/core.js
index <HASH>..<HASH> 100644
--- a/lib/core.js
+++ b/lib/core.js
@@ -272,7 +272,7 @@ Raja.prototype.headers = function(havingHeaders) {
var headers = havingHeaders.headers;
var hasGet = !!havingHeaders.get;
if (!headers && !hasGet) headers = havingHeaders;
- ['Content-Type', ... | X-Variant is a needed header | kapouer_raja | train | js |
785b73c59a1aecc1e4d236162e982a4287c8f834 | diff --git a/tests/test_vuln20007.py b/tests/test_vuln20007.py
index <HASH>..<HASH> 100644
--- a/tests/test_vuln20007.py
+++ b/tests/test_vuln20007.py
@@ -73,6 +73,7 @@ def Vuln20007TrapPrevent(client):
class TestVuln20007(KeepKeyTest):
def test_vuln(self):
+ self.requires_firmware("6.4.1")
PREVHA... | fw version requirement for vuln-<I> | keepkey_python-keepkey | train | py |
0cae70beb420babd7f1ea6246595ba272c336a84 | diff --git a/app.py b/app.py
index <HASH>..<HASH> 100644
--- a/app.py
+++ b/app.py
@@ -21,7 +21,7 @@ logfilepath = os.path.join(os.path.dirname(os.path.abspath(__file__)),
loglevels = [logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR, logging.CRITICAL]
loglevel = loglevels[config.getint('User Preferences... | Logging now inludes timestamp. | NYUCCL_psiTurk | train | py |
e88504df1ce20b56e036b007cd06ddabf0bf71db | diff --git a/src/Controller/SearchTrait.php b/src/Controller/SearchTrait.php
index <HASH>..<HASH> 100644
--- a/src/Controller/SearchTrait.php
+++ b/src/Controller/SearchTrait.php
@@ -57,7 +57,7 @@ trait SearchTrait
$table = $this->loadModel();
$search = new Search($table, $this->Auth->user());
- ... | Improved condtion to detect an admin user - task #<I> | QoboLtd_cakephp-search | train | php |
a34bd6f63db015d934e456f11cf556b2c1e5f0cb | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -31,10 +31,6 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
-from os import path
-
-import vcversioner
-
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.viewcod... | Remove vcversioner dependency from docs | jfhbrook_pyee | train | py,py |
6b74f4251db6df33134225132ffc7dcc3f6d7b4e | diff --git a/lib/qbo_api/raise_http_exception.rb b/lib/qbo_api/raise_http_exception.rb
index <HASH>..<HASH> 100644
--- a/lib/qbo_api/raise_http_exception.rb
+++ b/lib/qbo_api/raise_http_exception.rb
@@ -52,13 +52,14 @@ module FaradayMiddleware
def parse_json(body)
res = ::JSON.parse(body)
- r = res['... | Add support for JSON error responses with all lowercase keys. | minimul_qbo_api | train | rb |
afb25cef94df6dfcf6455200cd5baa7862b90f3c | diff --git a/spec/lib/session_spec.rb b/spec/lib/session_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/session_spec.rb
+++ b/spec/lib/session_spec.rb
@@ -165,7 +165,7 @@ RSpec.describe Authie::Session do
original_time = session_model.expires_at
Timecop.freeze(original_time + 10.hours) { session.t... | test: avoid timing precision issues in tests | adamcooke_authie | train | rb |
f924d4cc5e41bd9dbe49127fd8e40c35762dcc83 | diff --git a/indy_node/test/auth_rule/helper.py b/indy_node/test/auth_rule/helper.py
index <HASH>..<HASH> 100644
--- a/indy_node/test/auth_rule/helper.py
+++ b/indy_node/test/auth_rule/helper.py
@@ -127,5 +127,3 @@ def generate_key(auth_action=ADD_PREFIX, auth_type=NYM,
if old_value:
key[OLD_VALUE] = old_... | INDY-<I>: Refactoring | hyperledger_indy-node | train | py |
e9029758ea4d7129dc01c63adec76be80ce75102 | diff --git a/geminipy/__init__.py b/geminipy/__init__.py
index <HASH>..<HASH> 100644
--- a/geminipy/__init__.py
+++ b/geminipy/__init__.py
@@ -47,6 +47,12 @@ class Geminipy(object):
return requests.get(url)
+ def pubticker(self, symbol='btcusd'):
+ """Send a request for latest ticker info, return... | added function for the public endpoint pubticker | geminipy_geminipy | train | py |
c5daba6a1fda21573620852b9041d3a922a07e70 | diff --git a/js/reveal.js b/js/reveal.js
index <HASH>..<HASH> 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1859,6 +1859,9 @@
// Re-create the slide backgrounds
createBackgrounds();
+ // Write the current hash to the URL
+ writeURL();
+
sortAllFragments();
updateControls();
@@ -2641,7 +2644,7 @@
... | write current hash when history is toggled on #<I> | hakimel_reveal.js | train | js |
b333890b3632e641b104a4ee97e43e97652c8328 | diff --git a/test/magneto.test.js b/test/magneto.test.js
index <HASH>..<HASH> 100644
--- a/test/magneto.test.js
+++ b/test/magneto.test.js
@@ -71,12 +71,20 @@ describe('Magneto @func', function(){
'WriteCapacityUnits': 5
}
}, function(err, data)... | Starting to get the hang of it.. | imlucas_node-magneto | train | js |
f28255f7a11539eaab08e049651df80dc3d375b3 | diff --git a/Form/PropelTypeGuesser.php b/Form/PropelTypeGuesser.php
index <HASH>..<HASH> 100644
--- a/Form/PropelTypeGuesser.php
+++ b/Form/PropelTypeGuesser.php
@@ -79,7 +79,14 @@ class PropelTypeGuesser implements FormTypeGuesserInterface
case \PropelColumnTypes::BIGINT:
case \PropelColumnT... | added support for propel enum types in PropelTypeGuesser | symfony_propel1-bridge | train | php |
09c1e9ab36f66ba8f8e796dceab2dec98a0677f1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -324,7 +324,7 @@ mssql = [
'pymssql~=2.1,>=2.1.5',
]
mysql = [
- 'mysql-connector-python>=8.0.11, <=8.0.18',
+ 'mysql-connector-python>=8.0.11, <=8.0.22',
'mysqlclient>=1.3.6,<1.4',
]
odbc = [ | upgrade mysql-connector-python to <I> (#<I>) | apache_airflow | train | py |
9ac82e3f3a4429f2866ce6adea9e3706fde840ae | diff --git a/lib/ashton/shader.rb b/lib/ashton/shader.rb
index <HASH>..<HASH> 100644
--- a/lib/ashton/shader.rb
+++ b/lib/ashton/shader.rb
@@ -201,7 +201,7 @@ module Ashton
size = value.size
raise ArgumentError, "Empty array not supported for uniform data" if size.zero?
- raise Argument... | Support for vec4 array uniforms | gosu_ashton | train | rb |
4eb07f957cadc209f2c2c009d47bfaa6f03df6ac | diff --git a/src/main/java/view/reporting/ReportingDialog.java b/src/main/java/view/reporting/ReportingDialog.java
index <HASH>..<HASH> 100644
--- a/src/main/java/view/reporting/ReportingDialog.java
+++ b/src/main/java/view/reporting/ReportingDialog.java
@@ -344,7 +344,7 @@ public class ReportingDialog {
... | Fixed bad filename of the screenshot on aws | vatbub_common | train | java |
ddaff15dfc0c2fc51fc27a33f55a54b2b726d59d | diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
index <HASH>..<HASH> 100644
--- a/lib/db/upgrade.php
+++ b/lib/db/upgrade.php
@@ -1718,7 +1718,6 @@ function xmldb_main_upgrade($oldversion=0) {
}
}
*/
- //need to change this when we merge with HEAD
if ($result && $oldversion < 2007081000) {
... | removing TODO type comment that was already done. | moodle_moodle | train | php |
0d90a860d6ee9d21504b1c32845a0ac7e26ade98 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -3,7 +3,7 @@
var rollup = require("rollup").rollup;
rollup({
- entry : "./test/specimens/entry.js",
+ input : "./test/specimens/entry.js",
plugins : [
require("../index.js")({
@@ -13,4... | test: gracefully fail, update rollup usage | tivac_rollup-plugin-sizes | train | js |
c0f925a2e0cc8d86f667e5538e8d42a6e4147cae | diff --git a/object/src/main/java/com/orientechnologies/orient/object/enhancement/OObjectEntitySerializer.java b/object/src/main/java/com/orientechnologies/orient/object/enhancement/OObjectEntitySerializer.java
index <HASH>..<HASH> 100755
--- a/object/src/main/java/com/orientechnologies/orient/object/enhancement/OObjec... | fixed problem with cascade delete in orientdb-object.
the method getCascadeDeleteFields(String iClassName) is
looking after entries of fields to delete by classname, in the mao
cascadeDeleteFields and ignores cases with superclasses.
Now the method looks after the registered class with the name iClassName
and returns... | orientechnologies_orientdb | train | java |
b4ab2027f7698d9147d2591cb7b77c4816dceacb | diff --git a/lib/librarian.rb b/lib/librarian.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian.rb
+++ b/lib/librarian.rb
@@ -42,8 +42,12 @@ module Librarian
Specfile.new(self, specfile_path)
end
+ def lockfile_name
+ "#{specfile_name}.lock"
+ end
+
def lockfile_path
- Pathname.new("#{specfile_pat... | Bounce (compare compile to compile-parse-compile) the lockfile when resolving. | applicationsonline_librarian | train | rb |
6c797f7f53add67e2ac50eb09b885fe99306ae1f | diff --git a/app/controller/federated_rails/auth_controller.rb b/app/controller/federated_rails/auth_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controller/federated_rails/auth_controller.rb
+++ b/app/controller/federated_rails/auth_controller.rb
@@ -4,12 +4,13 @@ class FederatedRails::AuthController < Applicat... | extracted duplicated URL definition - DRY | ausaccessfed_federatedrails | train | rb |
7a24f6770edb18841be075fa1bd07838708fac6a | diff --git a/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js b/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js
index <HASH>..<HASH> 100644
--- a/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js
+++ b/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js
@@ -504,11 +504,6 @@ cons... | [SwipeableDrawer] Improve Preact support (#<I>) | mui-org_material-ui | train | js |
6205fd00486570bb76b74af4a7c0314996b4dd33 | diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py
index <HASH>..<HASH> 100644
--- a/openid/consumer/consumer.py
+++ b/openid/consumer/consumer.py
@@ -125,13 +125,7 @@ USING THIS LIBRARY
is entered in that field and the form is submitted, it should make
a request to the your site which inc... | [project @ Placeholder for discovery] | openid_python-openid | train | py |
cc28f638d3df546747425ada490a8bf19e8d253f | diff --git a/pygsp/graphs.py b/pygsp/graphs.py
index <HASH>..<HASH> 100644
--- a/pygsp/graphs.py
+++ b/pygsp/graphs.py
@@ -4,6 +4,7 @@ r"""
Module documentation.
"""
+from copy import deepcopy
import numpy as np
import scipy as sp
@@ -55,13 +56,33 @@ class Graph(object):
pass
def copy_graph_... | Added funcs for graphs | epfl-lts2_pygsp | train | py |
021c8f566a815ef25d834c2d8c2ba8c4cfc25626 | diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java b/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
+++ b/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
@@ -8... | [Java] Set cluster session state on replay. | real-logic_aeron | train | java |
ad4ac9e11608f0f5224c2c12c59f19b090b021ba | diff --git a/Configuration/TCA/tt_address.php b/Configuration/TCA/tt_address.php
index <HASH>..<HASH> 100755
--- a/Configuration/TCA/tt_address.php
+++ b/Configuration/TCA/tt_address.php
@@ -128,14 +128,14 @@ return [
],
'sys_language_uid' => [
'exclude' => true,
- 'label' => '... | Fix TCA locallang for field sys_language_uid
Use TYPO3 version switch for field names locallang of field sys_language_uid.
#<I> | FriendsOfTYPO3_tt_address | train | php |
d5ab01a7dde353ffbceea7fa78a63603bb690e73 | diff --git a/lib/cocoaseeds/core.rb b/lib/cocoaseeds/core.rb
index <HASH>..<HASH> 100644
--- a/lib/cocoaseeds/core.rb
+++ b/lib/cocoaseeds/core.rb
@@ -38,7 +38,14 @@ module Seed
end
else
puts "Installing #{name} (#{tag})".green
- `git clone #{url} -b #{tag} #{dir} 2>&1`
+ output =... | Show error messages when failed to git clone. | devxoul_CocoaSeeds | train | rb |
91e6e2dcc701e9dbf2e7730585666124c19a04e2 | diff --git a/src/SlackDriver.php b/src/SlackDriver.php
index <HASH>..<HASH> 100644
--- a/src/SlackDriver.php
+++ b/src/SlackDriver.php
@@ -185,6 +185,7 @@ class SlackDriver extends HttpDriver implements VerifiesService
if ($button['type'] === 'select') {
return $button;
}
+
... | Apply fixes from StyleCI (#<I>) | botman_driver-slack | train | php |
b6eb4ab9f3fb7385e3dfee6e14f5563b284a713a | diff --git a/src/Token.php b/src/Token.php
index <HASH>..<HASH> 100644
--- a/src/Token.php
+++ b/src/Token.php
@@ -42,7 +42,7 @@ class Token
{
$this->driver = $driver;
if (!($this->driver instanceof CacheInterface) === true) {
- throw new \Exception("This class Require instance Of Dfra... | Resolved #<I>, Wrong description Token class | dframe_dframe | train | php |
fca277e194ced12d09f754d24d31e772489884ae | diff --git a/jsonresults.go b/jsonresults.go
index <HASH>..<HASH> 100644
--- a/jsonresults.go
+++ b/jsonresults.go
@@ -151,6 +151,7 @@ type GetPeerInfoResult struct {
SubVer string `json:"subver"`
Inbound bool `json:"inbound"`
StartingHeight int32 `json:"startingheight"`
+ CurrentHeight int3... | Extend getpeerinfo result with current block height.
* This adds support for displaying the progress of dynamically
updating the current height of connected peers. | btcsuite_btcd | train | go |
f2c90d45822562aaa9e418c9069a70aaa2b88005 | diff --git a/lib/transactions.js b/lib/transactions.js
index <HASH>..<HASH> 100644
--- a/lib/transactions.js
+++ b/lib/transactions.js
@@ -165,7 +165,15 @@ var generateOutputTransactions = function(poolRecipient, recipients, rpcData){
util.varIntBuffer(poolRecipient.length),
poolRecipient
]));
-
... | segwit support
Add commitment to coinbase transaction | zone117x_node-stratum-pool | train | js |
f9f34558e21aa793b863c54e3a422435b0bcc4d4 | diff --git a/src/main/java/org/lastaflute/di/core/expression/engine/JavaScriptExpressionEngine.java b/src/main/java/org/lastaflute/di/core/expression/engine/JavaScriptExpressionEngine.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/lastaflute/di/core/expression/engine/JavaScriptExpressionEngine.java
+++ b/src/... | just fix: add "if (isInternalDebug()) {" | lastaflute_lasta-di | train | java |
72b572ab997daa09877521ea68fe8c9829f4f0b1 | diff --git a/src/Nautik/Nautik.php b/src/Nautik/Nautik.php
index <HASH>..<HASH> 100644
--- a/src/Nautik/Nautik.php
+++ b/src/Nautik/Nautik.php
@@ -293,8 +293,11 @@ class Nautik implements \Symfony\Component\HttpKernel\HttpKernelInterface {
* will be added to the returned array.
*/
public function performAction(... | Allow controllers to be group in subdirectories | gglnx_nautik | train | php |
8efaa357b08bebbb97f5e1063faf30428d458084 | diff --git a/livetests.py b/livetests.py
index <HASH>..<HASH> 100755
--- a/livetests.py
+++ b/livetests.py
@@ -51,7 +51,9 @@ def _initialize(api):
api.get("/changes/")
-@pytest.fixture(scope="module", params=["2.16.22", "3.0.13", "3.1.8", "3.2.3"])
+@pytest.fixture(
+ scope="module", params=["2.16.22", "3.0... | Add <I>-rc1 to the livetests versions under test
As the previous <I>-rc0 version had an issue with its docker image. | dpursehouse_pygerrit2 | train | py |
7c7d7acbd74b19acd1fa77856ba7f25049b7fbdb | diff --git a/codebase/form_connector.php b/codebase/form_connector.php
index <HASH>..<HASH> 100644
--- a/codebase/form_connector.php
+++ b/codebase/form_connector.php
@@ -14,7 +14,7 @@ class FormDataItem extends DataItem{
if ($this->skip) return "";
$str="";
for ($i = 0; $i < count($this->config->data); $i++) ... | [fix] incorrect processing of aliases during data generation for the form component | DHTMLX_connector-php | train | php |
5071469a2e4bece9f9f76aa6442a98b64aa0767f | diff --git a/src/Providers/RouteServiceProvider.php b/src/Providers/RouteServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/RouteServiceProvider.php
+++ b/src/Providers/RouteServiceProvider.php
@@ -35,9 +35,10 @@ class RouteServiceProvider extends ServiceProvider
private function mapPublicRoutes(R... | Fixing the public routes (web middleware) | ARCANESOFT_Blog | train | php |
5b13b4f5cc75d8f2b461c99c7612394477ff6ec9 | diff --git a/tests/test_proof.py b/tests/test_proof.py
index <HASH>..<HASH> 100644
--- a/tests/test_proof.py
+++ b/tests/test_proof.py
@@ -31,3 +31,18 @@ def test_get_from_proof_empty():
proof = []
with pytest.raises(BadTrieProof):
HexaryTrie.get_from_proof(state_root, key, proof)
+
+
+def test_get_f... | Add a test for proof of nodes less than <I> bytes. | ethereum_py-trie | train | py |
0912673206dcc68b10464369ab5a04306ae9f1ea | diff --git a/salt/pillar/__init__.py b/salt/pillar/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/__init__.py
+++ b/salt/pillar/__init__.py
@@ -497,13 +497,9 @@ class Pillar(object):
else:
saltenvs.add(self.opts['pillarenv'])
else:
- for salte... | Simplify saltenv calculation in Pillar.get_tops
Pillar._get_envs returns a set of existing pillar environments. Instead
of iterating over all environments and check condition for each
environment, do the if conditions first and reduce the set based on the
conditions. | saltstack_salt | train | py |
e9b61084b56a306dff7a6ee059c9bdd5dfb4acaf | diff --git a/mesh_tensorflow/transformer/main.py b/mesh_tensorflow/transformer/main.py
index <HASH>..<HASH> 100644
--- a/mesh_tensorflow/transformer/main.py
+++ b/mesh_tensorflow/transformer/main.py
@@ -31,6 +31,8 @@ from __future__ import division
from __future__ import print_function
import importlib
+import os
+... | Write out launch command.
PiperOrigin-RevId: <I> | tensorflow_mesh | train | py |
3d734c22cf5aee6f46ed0e2f904655593dd456b9 | diff --git a/lib/server/server.js b/lib/server/server.js
index <HASH>..<HASH> 100644
--- a/lib/server/server.js
+++ b/lib/server/server.js
@@ -18,11 +18,13 @@ function *parseOptions(options) {
if (port !== options.port) {
logger.info('port: %d was occupied, changed port: %d', options.port, port);
options.p... | fix port change and set env | macacajs_macaca-cli | train | js |
248e858dbd91d424455338b67f749132b1784b6a | diff --git a/lib/graphql/schema.rb b/lib/graphql/schema.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/schema.rb
+++ b/lib/graphql/schema.rb
@@ -654,7 +654,7 @@ module GraphQL
:static_validator, :introspection_system,
:query_analyzers, :middleware, :tracers, :instrumenters,
:query_execution... | Also support after_lazy on class schemas | rmosolgo_graphql-ruby | train | rb |
ffe9397e6626c8c5559284adb1e5dd2f050283ac | diff --git a/smack-core/src/main/java/org/jivesoftware/smack/sasl/SASLMechanism.java b/smack-core/src/main/java/org/jivesoftware/smack/sasl/SASLMechanism.java
index <HASH>..<HASH> 100644
--- a/smack-core/src/main/java/org/jivesoftware/smack/sasl/SASLMechanism.java
+++ b/smack-core/src/main/java/org/jivesoftware/smack/s... | Fix SASLMechanism.compareTo(SASLMechanism)
Thanks to Aleksander Melnichnikov for pointing this out. | igniterealtime_Smack | train | java |
0f9fd55fc9ea38a2424aee3c05a5a4ddd01732c8 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100755
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -21,7 +21,11 @@ intersphinx_mapping = {
"python": ("http://python.readthedocs.io/en/latest/", None),
}
-version = release = stan.__version__
+try:
+ version = release = stan.__version__
+except Attribute... | docs: set version correctly in development
Give sphinx a package version during development.
Previously sphinx would try to retrieve `stan.__version__`.
This is not available when the package is not installed.
(We use `importlib.metadata.version`)
Fixes exception which occurs when running `script/check`
during develo... | stan-dev_pystan | train | py |
838c3ceb3ffcf7ab0cce34dcffea219adc2aeee8 | diff --git a/build/webpack.prod.config.js b/build/webpack.prod.config.js
index <HASH>..<HASH> 100644
--- a/build/webpack.prod.config.js
+++ b/build/webpack.prod.config.js
@@ -39,7 +39,7 @@ module.exports = merge(baseWebpackConfig, {
rules: [
{
test: /\.[jt]s$/,
- loaders: ['babel-loader', 't... | chore(build): don't use eslint-loader in production | vuetifyjs_vuetify | train | js |
0af6b3b23631eb6e4aef02b06e8845e32f823adf | diff --git a/java/server/test/org/openqa/grid/common/RegistrationRequestTest.java b/java/server/test/org/openqa/grid/common/RegistrationRequestTest.java
index <HASH>..<HASH> 100644
--- a/java/server/test/org/openqa/grid/common/RegistrationRequestTest.java
+++ b/java/server/test/org/openqa/grid/common/RegistrationReques... | Temporarily disabling a check, later it should be made platform-independent. | SeleniumHQ_selenium | train | java |
4f9f70329385face60965b3ced39c590fcb53b60 | diff --git a/lib/info.rb b/lib/info.rb
index <HASH>..<HASH> 100644
--- a/lib/info.rb
+++ b/lib/info.rb
@@ -1,5 +1,5 @@
module MultiRepo
NAME = "git-multirepo"
- VERSION = "1.0.0.beta3"
+ VERSION = "1.0.0.beta4"
DESCRIPTION = "Track multiple Git repositories side-by-side."
end
\ No newline at end of file | Bumped version to <I>.beta4. | fortinmike_git-multirepo | train | rb |
c367c51526b78ce496c4179712673c033020c6e2 | diff --git a/pnc_cli/keycloak_config.py b/pnc_cli/keycloak_config.py
index <HASH>..<HASH> 100644
--- a/pnc_cli/keycloak_config.py
+++ b/pnc_cli/keycloak_config.py
@@ -8,6 +8,14 @@ class KeycloakConfig():
self.parse_realm(config)
self.parse_url(config)
+ def __getstate__(self):
+ # things t... | add pickling skeletons to keycloak_config.py (may not be needed) | project-ncl_pnc-cli | train | py |
cec8eb68611c7424fa8dd233646b6bc1675e8be3 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -398,7 +398,11 @@ function mkdir(dirname, options = {}) {
assert.equal(typeof dirname, 'string', 'expected dirname to be a string');
const opts = Object.assign({ cwd: process.cwd(), fs }, options);
const segs = path.r... | fix: use existsSync instead on relying on mkdirSync throwing error (windows throws EPERM on 'C:\') | jonschlinkert_data-store | train | js |
1f4da7416feeb1d0e1c1174031c59654e633ac89 | diff --git a/commands/connect.go b/commands/connect.go
index <HASH>..<HASH> 100644
--- a/commands/connect.go
+++ b/commands/connect.go
@@ -108,6 +108,10 @@ func connectNodes(tb testbed.BasicTestbed, from, to []int, timeout time.Duration
var results []Result
for _, f := range from {
for _, t := range to {
+ if ... | don't connect to self with connect command | ipfs_iptb | train | go |
d87a147987d528f9986900c4f267fd5e14a2671b | diff --git a/app/models/kt_environment.rb b/app/models/kt_environment.rb
index <HASH>..<HASH> 100644
--- a/app/models/kt_environment.rb
+++ b/app/models/kt_environment.rb
@@ -64,7 +64,7 @@ class KTEnvironment < ActiveRecord::Base
:join_table => "environment_priors", :association_foreign_key => :environment_id, :re... | Updated the environment model to do a proper list products call | Katello_katello | train | rb |
86eb39da2574ffd205848b81ab59c166245b00f8 | diff --git a/topydo/ui/columns/ConsoleWidget.py b/topydo/ui/columns/ConsoleWidget.py
index <HASH>..<HASH> 100644
--- a/topydo/ui/columns/ConsoleWidget.py
+++ b/topydo/ui/columns/ConsoleWidget.py
@@ -66,7 +66,9 @@ def topydostringToMarkup(p_string):
# markup
if color_at_start and isinstance(p_string.metadata, ... | Show items without priority in console
When topydo is run with colors, items without priority get an invalid
markup added. Only add markup when an item has actually a priority.
Bug found and fixed by @mruwek | bram85_topydo | train | py |
a43bd14b6979e866f35c661ed0956e12bde43835 | diff --git a/tests/Webfactory/Doctrine/ORMTestInfrastructure/ORMInfrastructureTest.php b/tests/Webfactory/Doctrine/ORMTestInfrastructure/ORMInfrastructureTest.php
index <HASH>..<HASH> 100644
--- a/tests/Webfactory/Doctrine/ORMTestInfrastructure/ORMInfrastructureTest.php
+++ b/tests/Webfactory/Doctrine/ORMTestInfrastruc... | added test stubs (#4) | webfactory_doctrine-orm-test-infrastructure | train | php |
9f9a0938b9eac0f0dc6face5f9d831a8465acb0c | diff --git a/mail/mail.go b/mail/mail.go
index <HASH>..<HASH> 100644
--- a/mail/mail.go
+++ b/mail/mail.go
@@ -1,2 +1,4 @@
// Package mail implements reading and writing mail messages.
+//
+// RFC 5322 defines the Internet Message Format.
package mail
diff --git a/message.go b/message.go
index <HASH>..<HASH> 100644
-... | Adds references to RFCs in docs | emersion_go-message | train | go,go |
31843278712089287403183030192e640e827293 | diff --git a/src/js/constants.js b/src/js/constants.js
index <HASH>..<HASH> 100644
--- a/src/js/constants.js
+++ b/src/js/constants.js
@@ -63,5 +63,5 @@ export const REGEXP_TAG_NAME = /^img|canvas$/i;
// Misc
// Inspired by the default width and height of a canvas element.
-export const MIN_CONTAINER_WIDTH = 300;
-... | fix: revert the min container width and height | fengyuanchen_cropperjs | train | js |
da98a208429dc66ffca33b28f46531f0ed520aeb | diff --git a/src/AudioPlayer.js b/src/AudioPlayer.js
index <HASH>..<HASH> 100644
--- a/src/AudioPlayer.js
+++ b/src/AudioPlayer.js
@@ -573,7 +573,7 @@ class AudioPlayer extends Component {
}
isSeekUnavailable () {
- return Boolean(!this.audio || !this.audio.src);
+ return Boolean(this.state.activeTrackInd... | isSeekUnavailable() based on state. | benwiley4000_cassette | train | js |
b0228d94beeeb331f6ac58b289eba4982a42c5d4 | diff --git a/pkg/beam/unix.go b/pkg/beam/unix.go
index <HASH>..<HASH> 100644
--- a/pkg/beam/unix.go
+++ b/pkg/beam/unix.go
@@ -148,6 +148,14 @@ func sendUnix(conn *net.UnixConn, data []byte, fds ...int) error {
}
func extractFds(oob []byte) (fds []int) {
+ // Grab forklock to make sure no forks accidentally inherit... | beam: Make extracted Fds CloseOnExec
Grab forklock to make sure no forks accidentally inherit the new fds
before they are made CLOEXEC There is a slight race condition between
ReadMsgUnix returns and when we grap the lock, so this is not
perfect. Unfortunately There is no way to pass MSG_CMSG_CLOEXEC to
recvmsg() nor ... | moby_moby | train | go |
32b187d14ab49c4d698ac58a997c0107463bab79 | diff --git a/google/gax/__init__.py b/google/gax/__init__.py
index <HASH>..<HASH> 100644
--- a/google/gax/__init__.py
+++ b/google/gax/__init__.py
@@ -153,8 +153,9 @@ class CallOptions(object):
>>> # change an api call's timeout
>>> o1 = CallOptions(timeout=30) # make the timeout 30 seconds
... | Fix CallOptions snippet
Previously, it refered to an outdated implementation of page
streaming. | googleapis_gax-python | train | py |
a779687b4485efba081b6e17360c66ad8542479a | diff --git a/src/main/java/io/reactivex/disposables/Disposables.java b/src/main/java/io/reactivex/disposables/Disposables.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/reactivex/disposables/Disposables.java
+++ b/src/main/java/io/reactivex/disposables/Disposables.java
@@ -66,9 +66,9 @@ public final class Disp... | 2.x: Fixed Javadoc for Disposables.fromFuture (#<I>)
* Fixed Javadoc for Disposables.fromFuture
* Missed a runnable | ReactiveX_RxJava | train | java |
846e072809af44dfd904666d96d77c6471d11fc1 | diff --git a/spec/lib/sprite_builder_spec.rb b/spec/lib/sprite_builder_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/sprite_builder_spec.rb
+++ b/spec/lib/sprite_builder_spec.rb
@@ -28,6 +28,25 @@ describe Svgeez::SpriteBuilder do
end
end
+ context '#destination_file_name' do
+ # TODO
+ it 'should... | Add destination_file_name spec. | jgarber623_svgeez | train | rb |
3a57a2ce022a57970d519031c2b6d184e7587b68 | diff --git a/islandora.api.php b/islandora.api.php
index <HASH>..<HASH> 100644
--- a/islandora.api.php
+++ b/islandora.api.php
@@ -427,17 +427,21 @@ function hook_islandora_undeletable_datastreams(array $models) {
* - do_function: An associate array including:
* - 'function': The callback function to be cal... | added ability to specify file for ingest callbacks | Islandora-CLAW_islandora | train | php |
23867e38f5b5f8bfd3e9f327a42f2b9d60b73c32 | diff --git a/execution-modes/appsensor-kafka-server/src/main/java/org/owasp/appsensor/kafka/KafkaRequestHandler.java b/execution-modes/appsensor-kafka-server/src/main/java/org/owasp/appsensor/kafka/KafkaRequestHandler.java
index <HASH>..<HASH> 100644
--- a/execution-modes/appsensor-kafka-server/src/main/java/org/owasp/... | Correct zookeeper spelling in log message
Correct spelling of zookeeper term within ListenerThread constructor log
message. | jtmelton_appsensor | train | java |
6b12de4c31e5401ae0b7bd3283092f68b99bb45a | diff --git a/h2o-core/src/main/java/water/AutoBuffer.java b/h2o-core/src/main/java/water/AutoBuffer.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/AutoBuffer.java
+++ b/h2o-core/src/main/java/water/AutoBuffer.java
@@ -641,7 +641,7 @@ public /* final */ class AutoBuffer {
int oldpos = _bb.pos... | Fixes a bug that allowed big buffers to be constantly reallocated when it wasn't needed. This saves memory and time. | h2oai_h2o-3 | train | java |
3f0ef2b43e0f8ae49057f959fa13ff0838a8b474 | diff --git a/build/docker/zap-baseline.py b/build/docker/zap-baseline.py
index <HASH>..<HASH> 100755
--- a/build/docker/zap-baseline.py
+++ b/build/docker/zap-baseline.py
@@ -366,7 +366,7 @@ def main(argv):
print ('Total of ' + str(len(zap.core.urls)) + ' URLs')
# Retrieve the alerts using paging in cas... | Increase page size when accessing alerts
It turns out that the paging is not implemented very efficiently, and
choosing too small a page size can take a very long time. | zaproxy_zaproxy | train | py |
3279332d439782303cdea354e3a27a9f929f0354 | diff --git a/bin/run-tests.js b/bin/run-tests.js
index <HASH>..<HASH> 100755
--- a/bin/run-tests.js
+++ b/bin/run-tests.js
@@ -164,7 +164,7 @@ function runInBrowser(url, retries, resolve, reject) {
console.log(chalk.red('Browser crashed with exit code ' + code));
if (retries > 1) {
- ... | [BUGFIX beta] Fix missing limb
The shrug emoticon went from having a broken arm (improperly escaped) to no arm during the [prettifying](<URL>) process. | emberjs_ember.js | train | js |
4fed4ca14e9a755066a1f3df287464601f4b866f | diff --git a/lxd/network/driver_common.go b/lxd/network/driver_common.go
index <HASH>..<HASH> 100644
--- a/lxd/network/driver_common.go
+++ b/lxd/network/driver_common.go
@@ -46,6 +46,12 @@ type forwardPortMap struct {
target forwardTarget
}
+type loadBalancerPortMap struct {
+ listenPorts []uint64
+ protocol... | lxd/network/driver/common: Adds loadBalancerPortMap type | lxc_lxd | train | go |
90e60fb67e06ba194f0caaf134a395991a534f83 | diff --git a/src/main/java/water/exec/AST.java b/src/main/java/water/exec/AST.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/exec/AST.java
+++ b/src/main/java/water/exec/AST.java
@@ -570,8 +570,12 @@ class ASTAssign extends AST {
for (int i = 0; i < cs.length; i++) {
int cidx = (int) cs[i] -... | align a new column with the data frame's VG | h2oai_h2o-2 | train | java |
49b3e49079914922a43592d85a6ae538d81f5bd5 | diff --git a/lib/techs/deps.js.js b/lib/techs/deps.js.js
index <HASH>..<HASH> 100644
--- a/lib/techs/deps.js.js
+++ b/lib/techs/deps.js.js
@@ -22,7 +22,7 @@ exports.Tech = INHERIT(Tech, {
res = deps.parse(decl.blocks || decl.deps);
return deps.expand(this).then(function() {
- return d... | Return correct object from `transformBuildDecl()` of `deps.js` tech | bem-archive_bem-tools | train | js |
e5048121741084846229bce919b82022ba001ff9 | diff --git a/glue/ligolw/param.py b/glue/ligolw/param.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/param.py
+++ b/glue/ligolw/param.py
@@ -202,7 +202,7 @@ class Param(ligolw.Param):
if c.tagName not in self.validchildren:
raise ElementError, "invalid child %s for %s" % (c.tagName, self.tagName)
c.write... | fix write() method when pcdata evaluates to False | gwastro_pycbc-glue | train | py |
f50fbab11f69aa537bf27054409a992f69dd1132 | diff --git a/test/test_fake_web.rb b/test/test_fake_web.rb
index <HASH>..<HASH> 100644
--- a/test/test_fake_web.rb
+++ b/test/test_fake_web.rb
@@ -48,9 +48,9 @@ class TestFakeWeb < Test::Unit::TestCase
end
end
- def test_register_uri_without_domain_name
+ def test_register_uri_with_invalid_uri
assert_r... | Tests: fix URI to really be invalid for Ruby <I>
As of Ruby <I>, URI supports parsing domain names that use the new
generic top-level domains (gTLDs), such as .info, .tech, etc. Although
.txt is not an active TLD, URI no longer concerns itself with this
problem and now only raises a URI::InvalidURIError when a domain... | chrisk_fakeweb | train | rb |
9781dcaac7b53bb6287ccf5a7bd4f37f840a211e | diff --git a/scripts/generateJSParserDemo.php b/scripts/generateJSParserDemo.php
index <HASH>..<HASH> 100644
--- a/scripts/generateJSParserDemo.php
+++ b/scripts/generateJSParserDemo.php
@@ -111,7 +111,7 @@ This parser/renderer used on this page page has been generated via [url=https://
<div id="preview"><pre></pre... | TextFormatter: bumped the maximum refresh rate to <I>fps in JSParserDemo | s9e_TextFormatter | train | php |
83d78896dd67620a80e6d0f472b114830ddb4195 | diff --git a/aikif/lib/cls_filelist.py b/aikif/lib/cls_filelist.py
index <HASH>..<HASH> 100644
--- a/aikif/lib/cls_filelist.py
+++ b/aikif/lib/cls_filelist.py
@@ -175,8 +175,9 @@ class FileList(object):
"""
op_folder = os.path.dirname(opFile)
- if not os.path.exists(op_folder):
- ... | save_filelist doesnt try to makedirs if short filename passed without folder | acutesoftware_AIKIF | train | py |
5811fa8096b86559336de1ef44173cddb480b4d2 | diff --git a/src/test/java/net/openhft/performance/tests/network/SimpleServerAndClientTest.java b/src/test/java/net/openhft/performance/tests/network/SimpleServerAndClientTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/net/openhft/performance/tests/network/SimpleServerAndClientTest.java
+++ b/src/test/java/ne... | Use the TIMER for heartbeats instead of the REPLICATION thread and remove some duplicate methods. | OpenHFT_Chronicle-Network | train | java |
45a7f9054d654ae0bbea12f323676beab3a77d1b | diff --git a/public/js/views/image_upload/crop.js b/public/js/views/image_upload/crop.js
index <HASH>..<HASH> 100644
--- a/public/js/views/image_upload/crop.js
+++ b/public/js/views/image_upload/crop.js
@@ -91,7 +91,8 @@ define(function (require) {
onSelect: this.select,
onRelease: this.select,
aspectRat... | Fixes weird scroll jump issue with second cropper instance | BKWLD_decoy | train | js |
695a8b81272e0d798763715f27386e9d78fae215 | diff --git a/presto-parser/src/main/java/com/facebook/presto/sql/tree/Node.java b/presto-parser/src/main/java/com/facebook/presto/sql/tree/Node.java
index <HASH>..<HASH> 100644
--- a/presto-parser/src/main/java/com/facebook/presto/sql/tree/Node.java
+++ b/presto-parser/src/main/java/com/facebook/presto/sql/tree/Node.ja... | Require non-null node location | prestodb_presto | train | java |
973e2c09c08d7cb26e30381ac4a8388bddf611ad | diff --git a/tests/test-rest-posts-controller.php b/tests/test-rest-posts-controller.php
index <HASH>..<HASH> 100644
--- a/tests/test-rest-posts-controller.php
+++ b/tests/test-rest-posts-controller.php
@@ -408,10 +408,10 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
$this->asse... | Use correct param to fix failing test | WP-API_WP-API | train | php |
6623d2bd96c84be8b03e304e807793887216cb1f | diff --git a/spectator-reg-atlas/src/main/java/com/netflix/spectator/atlas/AtlasRegistry.java b/spectator-reg-atlas/src/main/java/com/netflix/spectator/atlas/AtlasRegistry.java
index <HASH>..<HASH> 100644
--- a/spectator-reg-atlas/src/main/java/com/netflix/spectator/atlas/AtlasRegistry.java
+++ b/spectator-reg-atlas/sr... | remove temporary trace logging (#<I>)
Logging for that specific metric name is not all that
useful for general cases. | Netflix_spectator | train | java |
8908a4869b22ff84f3b90c525a92ad2f27018fb8 | diff --git a/emma2/util/pystallone_test.py b/emma2/util/pystallone_test.py
index <HASH>..<HASH> 100644
--- a/emma2/util/pystallone_test.py
+++ b/emma2/util/pystallone_test.py
@@ -5,7 +5,7 @@ Created on 22.01.2014
'''
import unittest
-import pystallone as st
+import emma2.util.pystallone as st
import numpy as np
... | [pystallone_test] import module under test by absolute path to avoid double initialization. | markovmodel_PyEMMA | train | py |
0e664350fba5d0cca071d9b5ed234f3853fffa1b | diff --git a/src/ClientInterface.php b/src/ClientInterface.php
index <HASH>..<HASH> 100644
--- a/src/ClientInterface.php
+++ b/src/ClientInterface.php
@@ -87,6 +87,17 @@ interface ClientInterface extends HasEmitterInterface
public function patch($url = null, array $options = []);
/**
+ * Send a POST req... | Adding missing method to ClientInterface | guzzle_guzzle | train | php |
4edbf537e1ae6ab32e8e3eae0dd62ab34b3318c8 | diff --git a/src/Provider/RestProvider.php b/src/Provider/RestProvider.php
index <HASH>..<HASH> 100644
--- a/src/Provider/RestProvider.php
+++ b/src/Provider/RestProvider.php
@@ -72,9 +72,11 @@ class RestProvider implements ServiceProviderInterface
$dispatcher->addSubscriber($app['alchemy_rest.paginate... | Add Missing listener for Controller results. | alchemy-fr_rest-bundle | train | php |
469f305ab23f0fde1de7689183289c591074344b | diff --git a/lib/halite/gem.rb b/lib/halite/gem.rb
index <HASH>..<HASH> 100644
--- a/lib/halite/gem.rb
+++ b/lib/halite/gem.rb
@@ -35,6 +35,8 @@ module Halite
def initialize(name, version=nil)
# Allow passing a Dependency by just grabbing its spec.
name = dependency_to_spec(name) if name.is_a?(::Gem:... | Try to resolve issues loading from StubSpecifications. | poise_halite | train | rb |
05bcc4fe58ff96aaa5175ebc5338844488fdc740 | diff --git a/lib/Cake/Network/Email/SmtpTransport.php b/lib/Cake/Network/Email/SmtpTransport.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Network/Email/SmtpTransport.php
+++ b/lib/Cake/Network/Email/SmtpTransport.php
@@ -171,7 +171,7 @@ class SmtpTransport extends AbstractTransport {
$lines = $this->_cakeEmail->me... | Delete a space between ! and empty | cakephp_cakephp | train | php |
d489f971f9764b58ee3e639455a02246ef46cf8d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -24,11 +24,11 @@ with open('README.rst') as readme_file:
readme = readme_file.read()
requirements = [
- 'requests>=2.18.4,<3.0',
+ 'requests>=2.18.1,<3.0',
'PyNaCl>=1.1.2,<2.0',
'pymacaroons>=0.12.0,<1.... | Lowering the protobuf and requests deps. | go-macaroon-bakery_py-macaroon-bakery | train | py |
631e05c7acf953136613db0f0edc39e86a79e8e7 | diff --git a/MatchState.php b/MatchState.php
index <HASH>..<HASH> 100644
--- a/MatchState.php
+++ b/MatchState.php
@@ -72,7 +72,7 @@ class MatchState
public function getMatchReference($key, $type)
{
- return isset($this->matchReferences[$type][$key]) ? $this->matchReferences[$type][$key] : null;
+ ... | changed it to return an empty string again instead of null | giftcards_ModRewrite | train | php |
9dc6c0605a190f4aed55b498683cf6094d069856 | diff --git a/OrientDB/OrientDBCommandAbstract.php b/OrientDB/OrientDBCommandAbstract.php
index <HASH>..<HASH> 100644
--- a/OrientDB/OrientDBCommandAbstract.php
+++ b/OrientDB/OrientDBCommandAbstract.php
@@ -224,7 +224,7 @@ abstract class OrientDBCommandAbstract
$this->debugCommand('record_clusterId');
$reco... | Added tests for dictionaryPut #0. Forget to commit this change. | AntonTerekhov_OrientDB-PHP | train | php |
761322280d15bdf1772d3fd5052058ddd84d2f89 | diff --git a/app/models/user.rb b/app/models/user.rb
index <HASH>..<HASH> 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -57,7 +57,7 @@ class User
end
def valid_password_confirmation
- unless password == password_confirmation
+ if password != password_confirmation
errors.add(:password,... | Use `if` instead of `unless` for readability | fluent_fluentd-ui | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.