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 |
|---|---|---|---|---|---|
8b0fea29f152be10817888bd05a928d5476736a8 | diff --git a/test/test-state.js b/test/test-state.js
index <HASH>..<HASH> 100644
--- a/test/test-state.js
+++ b/test/test-state.js
@@ -36,8 +36,8 @@ tape('state setup', function(t){
files.write(file2, '3.1', {
position: 4
}),
- files.write(file2, '18', {
- ... | change <I> to <I> | thisconnect_nodegit-kit | train | js |
8fdc41a02b837517c173dd6757642ba7238da8c4 | diff --git a/swipe.js b/swipe.js
index <HASH>..<HASH> 100644
--- a/swipe.js
+++ b/swipe.js
@@ -67,6 +67,7 @@ Swipe.prototype = {
if (!this.width) return null;
// hide slider element but keep positioning during setup
+ var origVisibility = this.container.style.visibility;
this.container.style.visibil... | Now restores the visibility state of the slider element on completion of setup | lyfeyaj_swipe | train | js |
0a1bcae6e5b2ab19307410f15c7921ca1afbc22d | diff --git a/lib/rspec_command.rb b/lib/rspec_command.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec_command.rb
+++ b/lib/rspec_command.rb
@@ -24,6 +24,7 @@ require 'rspec_command/match_fixture'
# An RSpec helper module for testing command-line tools.
#
+# @api public
# @since 1.0.0
# @example Enable globally
# ... | Trying to do docs correctly. | coderanger_rspec-command | train | rb |
1a43ed3dd863dfe0fc16a21466abd12add45311f | diff --git a/src/Models/MenuItem.php b/src/Models/MenuItem.php
index <HASH>..<HASH> 100644
--- a/src/Models/MenuItem.php
+++ b/src/Models/MenuItem.php
@@ -41,7 +41,8 @@ class MenuItem extends Model
public function children()
{
return $this->hasMany(Voyager::modelClass('MenuItem'), 'parent_id')
- ... | Fix menu items display order (#<I>)
#### Menu items display order
In a given nested menu
Child menu items are not ordered by "order" column. | the-control-group_voyager | train | php |
02b5d754bf7f80ae0fff4409b691970b777edc49 | diff --git a/_data.py b/_data.py
index <HASH>..<HASH> 100644
--- a/_data.py
+++ b/_data.py
@@ -289,8 +289,8 @@ class databox:
# highly confusing behavior, numpy!
if len(_n.shape(z)) == 1:
# check to make sure the data file contains only 1 column of data
- total_data_line_number... | changed a variable name for clarity
changed total_data_line_number to rows_of_data | Spinmob_spinmob | train | py |
dda81cb177078cce44bf2a81a70b0baa5c9d9ad7 | diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_view/helpers/number_helper.rb
+++ b/actionpack/lib/action_view/helpers/number_helper.rb
@@ -445,6 +445,8 @@ module ActionView
#for backw... | lets not invert the hash on every iteration through this loop | rails_rails | train | rb |
d7e11b3ed61f39f08ca88f927091e77d638e674f | diff --git a/docs/examples/http_exceptions.py b/docs/examples/http_exceptions.py
index <HASH>..<HASH> 100644
--- a/docs/examples/http_exceptions.py
+++ b/docs/examples/http_exceptions.py
@@ -18,7 +18,7 @@ class HttpEntrypoint(HttpRequestHandler):
response = Response(
json.dumps({
... | Changed example to use str() for p3 compatibility. | nameko_nameko | train | py |
741df9e1ff4e3f40ed4b5ec43b6e9718e26b2111 | diff --git a/packages/scripts/bin/build.js b/packages/scripts/bin/build.js
index <HASH>..<HASH> 100755
--- a/packages/scripts/bin/build.js
+++ b/packages/scripts/bin/build.js
@@ -16,6 +16,7 @@ const {
version: packageVersion,
peerDependencies = {},
dependencies = {},
+ main: mainOutputFile = "build/index.js",... | Update build script to output cjs as pkg.main | Autodesk_hig | train | js |
e51411937718aabc5557a635bb4a7cfce63a866a | diff --git a/skew/awsclient.py b/skew/awsclient.py
index <HASH>..<HASH> 100644
--- a/skew/awsclient.py
+++ b/skew/awsclient.py
@@ -159,14 +159,5 @@ class AWSClient(object):
return data
-_client_cache = {}
-
-
def get_awsclient(service_name, region_name, account_id):
- global _client_cache
- client_k... | Remove the client cache. It doesn't really help much for performance and causes problems for long-running processes. Related to #<I>. | scopely-devops_skew | train | py |
1c20496299045ec54fefe28485c23fbf0c5ed4f5 | diff --git a/spikewidgets/widgets/unitwaveformswidget/unitwaveformswidget.py b/spikewidgets/widgets/unitwaveformswidget/unitwaveformswidget.py
index <HASH>..<HASH> 100644
--- a/spikewidgets/widgets/unitwaveformswidget/unitwaveformswidget.py
+++ b/spikewidgets/widgets/unitwaveformswidget/unitwaveformswidget.py
@@ -182,7... | If max_channels is None use all channels | SpikeInterface_spikewidgets | train | py |
2cc665f0df7cf5997b806b48ccbc0005ad073160 | diff --git a/PyHardLinkBackup/phlb/filesystem_walk.py b/PyHardLinkBackup/phlb/filesystem_walk.py
index <HASH>..<HASH> 100644
--- a/PyHardLinkBackup/phlb/filesystem_walk.py
+++ b/PyHardLinkBackup/phlb/filesystem_walk.py
@@ -127,9 +127,13 @@ class DirEntryPath:
else:
self.resolve_error = None
- ... | bugfix in scanner if symlink is broken | jedie_PyHardLinkBackup | train | py |
6b2be86053da1ae1c717484a525f37f3e6e73973 | diff --git a/salt/version.py b/salt/version.py
index <HASH>..<HASH> 100644
--- a/salt/version.py
+++ b/salt/version.py
@@ -679,18 +679,18 @@ def system_information():
win_ver = platform.win32_ver()
# linux_distribution() will return a
- # distribution on OS X, only return if
- # we are... | swapping order of version checking logic so that lin_ver is last, since distro returns information for both Mac and Windows. | saltstack_salt | train | py |
a2d247843efaf292c4b7861ef2ebcf1f6eb9e2bb | diff --git a/test/helpers/kubectl.go b/test/helpers/kubectl.go
index <HASH>..<HASH> 100644
--- a/test/helpers/kubectl.go
+++ b/test/helpers/kubectl.go
@@ -2220,15 +2220,17 @@ func (kub *Kubectl) overwriteHelmOptions(options map[string]string) error {
}
if !RunsWithKubeProxy() {
- nodeIP, err := kub.GetNodeIPByLa... | test: Fix kube-proxy-free on GKE due to wrong k8sServiceHost value
On GKE, kube-apiserver doesn't run on the first node as in our Jenkins
builds, leading to a failure to start Cilium in kube-proxy-free mode.
Since kube-proxy is always provisioned on GKE, we don't need to specify
k8sServiceHost and k8sServicePort on GK... | cilium_cilium | train | go |
c042653fc0f771adbe97271ed62435dc2c354789 | diff --git a/decidim-comments/app/helpers/decidim/comments/comments_helper.rb b/decidim-comments/app/helpers/decidim/comments/comments_helper.rb
index <HASH>..<HASH> 100644
--- a/decidim-comments/app/helpers/decidim/comments/comments_helper.rb
+++ b/decidim-comments/app/helpers/decidim/comments/comments_helper.rb
@@ -2... | Fix caching issues with getScript (#<I>) | decidim_decidim | train | rb |
437e78fb06d5a9eb1da26678ecba55999c9a5efd | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,7 +20,7 @@ function gulpNgConfig(moduleName, overridableProperties) {
throw new PluginError('gulp-ng-config', 'invaild JSON file provided');
}
- jsonObj = _.assign(jsonObj, overridableProperties);
+ jso... | replaces extend with merge when overriding config properties | ajwhite_gulp-ng-config | train | js |
a315125a0742b01799c89469efd20821540694f6 | diff --git a/test/parse.js b/test/parse.js
index <HASH>..<HASH> 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -3,12 +3,12 @@ var parse = require('../').parse;
test('parse shell commands', function (t) {
t.same(parse('a \'b\' "c"'), [ 'a', 'b', 'c' ]);
-
t.same(
parse('beep "boop" \'foo bar... | failing test for unescaped metachars | substack_node-shell-quote | train | js |
951f9152ed6fd5b4e95b0d7d350971569b26453f | diff --git a/src/js/Inks/InkTransition.js b/src/js/Inks/InkTransition.js
index <HASH>..<HASH> 100644
--- a/src/js/Inks/InkTransition.js
+++ b/src/js/Inks/InkTransition.js
@@ -18,22 +18,32 @@ export default class InkTransition extends Component {
transitionLeaveTimeout: 450,
};
+ componentWillUnmount() {
+ ... | Fixed ink errors when components were unmounting | mlaursen_react-md | train | js |
e3c6d78b35a6accc5200f6c094787c85d32cc51c | diff --git a/hazelcast/src/test/java/com/hazelcast/concurrent/lock/LockBasicTest.java b/hazelcast/src/test/java/com/hazelcast/concurrent/lock/LockBasicTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/concurrent/lock/LockBasicTest.java
+++ b/hazelcast/src/test/java/com/hazelcast/concurre... | Increased assert timeout for lock lease test | hazelcast_hazelcast | train | java |
6c41fd52fc567555760b6a88e48bde2ca80bf82e | diff --git a/packages/redux-xlsx/src/saga.js b/packages/redux-xlsx/src/saga.js
index <HASH>..<HASH> 100644
--- a/packages/redux-xlsx/src/saga.js
+++ b/packages/redux-xlsx/src/saga.js
@@ -22,7 +22,7 @@ function readFile(file, columns) {
reader.onload = async e => {
/** read workbook */
const data = e.... | fix: xlsx-import date (#<I>) | 36node_sketch | train | js |
3ce04783ac1df949ab384a757f9f1c7301f0def0 | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -17,7 +17,7 @@ $testDir = getenv('WP_TESTS_DIR');
if (!$testDir) {
- $testDir = __DIR__ . '/wp-core-tests';
+ $testDir = '/tmp/wordpress-tests-lib';
}
require_once $testDir ... | Updated to <I> version | Josantonius_WP_Register | train | php |
36867fffe933e14a20aa41d3e030c7dd84034438 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ class PyTest(TestCommand):
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
- err1 = pytest.main([])
+ err1 = pytest.main(['--cov', 'nats... | 'python setup.py test' now does coverage and analysis.
This was done by adding --cov, --flakes, and --pep8 to the pytest call
within setup.py. | SethMMorton_natsort | train | py |
82acf95864607b5331ad68bc946e967cd515afba | diff --git a/inc/fetch_cached.php b/inc/fetch_cached.php
index <HASH>..<HASH> 100644
--- a/inc/fetch_cached.php
+++ b/inc/fetch_cached.php
@@ -28,20 +28,22 @@
$filename = $file . '.gz';
}
- $modified = filemtime($filename);
+ if(file_exists($filename)) {
- if(
- file_exists($filename) &&
- $modif... | File's existence should be checked before getting the modification date. | gocom_rah_cache | train | php |
212ff4b66a5d4c533fbccb86069a3a39ea2d0446 | diff --git a/addon/components/docs-viewer/x-main/component.js b/addon/components/docs-viewer/x-main/component.js
index <HASH>..<HASH> 100644
--- a/addon/components/docs-viewer/x-main/component.js
+++ b/addon/components/docs-viewer/x-main/component.js
@@ -38,7 +38,7 @@ export default Component.extend({
}
} e... | fix regex in x-main
I have file `"templates/docs/index.md"` and path `"templates/docs/index.md"`
I need the file to be resolved for this path. | ember-learn_ember-cli-addon-docs | train | js |
aab23579713141613399605e3bb6a4a25a1c13dd | diff --git a/mode/css/css.js b/mode/css/css.js
index <HASH>..<HASH> 100644
--- a/mode/css/css.js
+++ b/mode/css/css.js
@@ -667,7 +667,7 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
"small", "small-caps", "small-caption", "smaller", "soft-light", "solid", "somali",
"source-atop", "source-in... | [css mode] Add system-ui as value keyword
Closes #<I> | codemirror_CodeMirror | train | js |
550053fdffeec3799f173cfd51fe35d965f88a6b | diff --git a/lib/date-keywords.js b/lib/date-keywords.js
index <HASH>..<HASH> 100644
--- a/lib/date-keywords.js
+++ b/lib/date-keywords.js
@@ -43,6 +43,16 @@ function DateKeywords (dateKeyword) {
const info = parser(param);
return makeDate(moment()).add(-1, 'd').add(info.number, info.unit || '... | i5-<I> Date Keyword Case Insensitive Improvements (#<I>) | entrinsik-org_utils | train | js |
aa925b7aefbd88b92375ca686879a107b40b41f3 | diff --git a/lib/should.js b/lib/should.js
index <HASH>..<HASH> 100644
--- a/lib/should.js
+++ b/lib/should.js
@@ -565,6 +565,21 @@ Assertion.prototype = {
, 'expected ' + this.inspect + ' to respond to ' + method + '()'
, 'expected ' + this.inspect + ' to not respond to ' + method + '()');
return th... | Added header(field, val) method | tj_should.js | train | js |
62f06891f8d294c704e717b057eec101116ce8fe | diff --git a/sos/jupyter/kernel.js b/sos/jupyter/kernel.js
index <HASH>..<HASH> 100644
--- a/sos/jupyter/kernel.js
+++ b/sos/jupyter/kernel.js
@@ -1600,10 +1600,14 @@ define([
events.on('kernel_connected.Kernel', register_sos_comm);
events.on('kernel_connected.Kernel', wrap_execute);
events.o... | Run %roc magic after loading a doc | vatlab_SoS | train | js |
75c8dae86199902ae2fb0fb97b9386f24856042e | diff --git a/ddocs.go b/ddocs.go
index <HASH>..<HASH> 100644
--- a/ddocs.go
+++ b/ddocs.go
@@ -10,11 +10,11 @@ import (
type ViewDefinition struct {
Map string `json:"map"`
- Reduce string `json:"reduce"`
+ Reduce string `json:"reduce,omitempty"`
}
type DDocJSON struct {
- Language string ... | Suppress empty reduce function.
Couchbase server (<I>, at least) errors out if reduce
function is empty in a PUT request. So mark optional fields
to be suppressed if empty. | couchbase_go-couchbase | train | go |
24655086291fc67cb80d67a0d10fff81af21fa96 | diff --git a/modules/activiti-engine/src/test/java/org/activiti/examples/mgmt/TablePageQueryTest.java b/modules/activiti-engine/src/test/java/org/activiti/examples/mgmt/TablePageQueryTest.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/test/java/org/activiti/examples/mgmt/TablePageQueryTest.java
+++ ... | adjust TableData test for proper column name in resultMap from postgres | Activiti_Activiti | train | java |
2c9c850b58e05c8770f42edc496040ffe17e5cfc | diff --git a/test/Gitlab/Tests/Api/MergeRequestsTest.php b/test/Gitlab/Tests/Api/MergeRequestsTest.php
index <HASH>..<HASH> 100644
--- a/test/Gitlab/Tests/Api/MergeRequestsTest.php
+++ b/test/Gitlab/Tests/Api/MergeRequestsTest.php
@@ -569,7 +569,6 @@ class MergeRequestsTest extends TestCase
$this->assertEquals... | Apply fixes from StyleCI (#<I>) | m4tthumphrey_php-gitlab-api | train | php |
5421e033b63f86251c54a8618dc15608744a2c07 | diff --git a/component.go b/component.go
index <HASH>..<HASH> 100644
--- a/component.go
+++ b/component.go
@@ -130,7 +130,7 @@ func RunProc(c interface{}) bool {
if hasRecv {
// Call the receival handler for this channel
handlersDone.Add(1)
- if componentMode == ComponentModeAsync {
+ ... | Fixes Sync/Async switch. | trustmaster_goflow | train | go |
202a0277af2d3ac341879e72bc7e56f1a06d3d71 | diff --git a/packages/ember-runtime/lib/mixins/enumerable.js b/packages/ember-runtime/lib/mixins/enumerable.js
index <HASH>..<HASH> 100644
--- a/packages/ember-runtime/lib/mixins/enumerable.js
+++ b/packages/ember-runtime/lib/mixins/enumerable.js
@@ -227,6 +227,7 @@ const Enumerable = Mixin.create({
```
@me... | Update api doc for Enumerable#contains to flag it as deprecated | emberjs_ember.js | train | js |
9af94bba15247bd3f40f26e81f37baa1fd69f1b9 | diff --git a/lib/webcommentadminlib.py b/lib/webcommentadminlib.py
index <HASH>..<HASH> 100644
--- a/lib/webcommentadminlib.py
+++ b/lib/webcommentadminlib.py
@@ -40,6 +40,32 @@ def getnavtrail(previous = '', ln=CFG_SITE_LANG):
navtrail = navtrail + previous
return navtrail
+def get_nb_reviews(recID):
+ ... | WebSearch: configurable comment/review links
* Optionally, print comment/review links next to the Detailed record
links, if a record was commented/reviewed. (Like Cited by links.)
(closes: #<I>) | inveniosoftware-attic_invenio-comments | train | py |
a2efb29501ebcfda058fb7ee6daaec32f1330577 | diff --git a/example/app/app.js b/example/app/app.js
index <HASH>..<HASH> 100644
--- a/example/app/app.js
+++ b/example/app/app.js
@@ -1,7 +1,7 @@
'use strict'
import React, { Component, PropTypes } from 'react'
import ReactDOM from 'react-dom'
-import Multistep from '../../src/index.js'
+import Multistep from 'reac... | updated example app to require published or linked
npm module | srdjan_react-multistep | train | js |
12dd5be670dc0db77d3d4b9e751a08178bf47c2c | diff --git a/src/controllers/admin/models.js b/src/controllers/admin/models.js
index <HASH>..<HASH> 100644
--- a/src/controllers/admin/models.js
+++ b/src/controllers/admin/models.js
@@ -22,18 +22,13 @@ exports.columns = function*() {
schema = _.get(model, 'options.schema', {}),
columnNames = _.get(model, 'op... | always send _id field but don't always show it | waigo_waigo | train | js |
38ee31ebcbf7236988114ad4616a9f11751e3471 | diff --git a/thefuck/main.py b/thefuck/main.py
index <HASH>..<HASH> 100644
--- a/thefuck/main.py
+++ b/thefuck/main.py
@@ -105,7 +105,7 @@ def fix_command():
def print_alias(entry_point=True):
if entry_point:
- warn('`thefuck-alias` is deprecated, us `thefuck --alias` instead.')
+ warn('`thefuck-a... | Fix typo in alias warning
Fixes a small typo in the deprecated alias warning. | nvbn_thefuck | train | py |
4e88a66083979a282e0cd001c7ee00b13a18ec8d | diff --git a/middleman-core/lib/middleman-more/core_extensions/i18n.rb b/middleman-core/lib/middleman-more/core_extensions/i18n.rb
index <HASH>..<HASH> 100644
--- a/middleman-core/lib/middleman-more/core_extensions/i18n.rb
+++ b/middleman-core/lib/middleman-more/core_extensions/i18n.rb
@@ -178,6 +178,15 @@ class Middle... | Added support for complete path localization | middleman_middleman | train | rb |
633652df2af4de7e9b5d2d83bc56b1961cbb041e | diff --git a/src/main/java/com/mapcode/Decoder.java b/src/main/java/com/mapcode/Decoder.java
index <HASH>..<HASH> 100755
--- a/src/main/java/com/mapcode/Decoder.java
+++ b/src/main/java/com/mapcode/Decoder.java
@@ -237,8 +237,8 @@ class Decoder {
if (maxx > decodeLimits.getMinX()) ... | <I> Enforce and test that encode(decode(m)) delivers mapcode m back | mapcode-foundation_mapcode-java | train | java |
246b261d35c7ea92747e8d6d4b2ef68308cf5215 | diff --git a/src/modules/Dropdown/Dropdown.js b/src/modules/Dropdown/Dropdown.js
index <HASH>..<HASH> 100644
--- a/src/modules/Dropdown/Dropdown.js
+++ b/src/modules/Dropdown/Dropdown.js
@@ -203,7 +203,7 @@ export default class Dropdown extends Component {
/* eslint-enable no-console */
}
- if (!_.isEq... | fix(Dropdown): compare nextProps to props in cwrp | Semantic-Org_Semantic-UI-React | train | js |
82defe805b136c3d8c179e508c16b74411bb3bc6 | diff --git a/rc_django/cache_implementation/__init__.py b/rc_django/cache_implementation/__init__.py
index <HASH>..<HASH> 100644
--- a/rc_django/cache_implementation/__init__.py
+++ b/rc_django/cache_implementation/__init__.py
@@ -88,8 +88,9 @@ class TimedCache(object):
# This extra step is needed w/ Live reso... | Fix TypeError: None is not iterable | uw-it-aca_uw-restclients-django-utils | train | py |
33e22594d7548d66b303eeac9b06cdfba7d8a7ed | diff --git a/core/src/test/java/io/undertow/testutils/DebuggingSlicePool.java b/core/src/test/java/io/undertow/testutils/DebuggingSlicePool.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/io/undertow/testutils/DebuggingSlicePool.java
+++ b/core/src/test/java/io/undertow/testutils/DebuggingSlicePool.java
@@ -4... | Track where buffers are freed in the test suite | undertow-io_undertow | train | java |
9abfa9573576fa3970496c3c394f8550e037ddf6 | diff --git a/test/spec/ol/sphere.test.js b/test/spec/ol/sphere.test.js
index <HASH>..<HASH> 100644
--- a/test/spec/ol/sphere.test.js
+++ b/test/spec/ol/sphere.test.js
@@ -176,7 +176,7 @@ describe('ol.Sphere.getLength()', function() {
it('works for case ' + i, function() {
var c = cases[i];
var length... | Compare measured lengths with a tolerance | openlayers_openlayers | train | js |
8faf9928ffe6950600a8f36eeca0e15a8f95a0b1 | diff --git a/bokeh/server/django/consumers.py b/bokeh/server/django/consumers.py
index <HASH>..<HASH> 100644
--- a/bokeh/server/django/consumers.py
+++ b/bokeh/server/django/consumers.py
@@ -229,7 +229,7 @@ class WSConsumer(AsyncWebsocketConsumer, ConsumerHelper):
await self.accept("bokeh")
async def di... | Fix periodic callback not stopping in Django (#<I>) | bokeh_bokeh | train | py |
d3555672798173b53fcffec437bcaa89417453dc | diff --git a/src/Http/Controllers/DenyAuthorizationController.php b/src/Http/Controllers/DenyAuthorizationController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/DenyAuthorizationController.php
+++ b/src/Http/Controllers/DenyAuthorizationController.php
@@ -2,9 +2,9 @@
namespace Laravel\Passport\Http\Co... | Update DenyAuthorizationController.php | laravel_passport | train | php |
00dce916e18bb0b05601d82d734e1cfdc45af140 | diff --git a/polyaxon/monitor_statuses/monitor.py b/polyaxon/monitor_statuses/monitor.py
index <HASH>..<HASH> 100644
--- a/polyaxon/monitor_statuses/monitor.py
+++ b/polyaxon/monitor_statuses/monitor.py
@@ -55,15 +55,15 @@ def get_label_selector():
def run(k8s_manager):
for (event_object, pod_state) in ocular.mon... | Fix update container and call to ocular | polyaxon_polyaxon | train | py |
fff097234f886161ca3c5b9b434e8da08fc51aeb | diff --git a/ImapClient/ImapClient.php b/ImapClient/ImapClient.php
index <HASH>..<HASH> 100644
--- a/ImapClient/ImapClient.php
+++ b/ImapClient/ImapClient.php
@@ -115,6 +115,15 @@ class ImapClient
}
/**
+ * Get the imap connection
+ *
+ * $return imap
+ */
+ public function getImapConnect... | Add method getImapConnection
Used to use other functions | SSilence_php-imap-client | train | php |
d62c556110a2b062ae3a777cddf045a69d706ace | diff --git a/backup/util/ui/renderer.php b/backup/util/ui/renderer.php
index <HASH>..<HASH> 100644
--- a/backup/util/ui/renderer.php
+++ b/backup/util/ui/renderer.php
@@ -265,8 +265,7 @@ class core_backup_renderer extends plugin_renderer_base {
$hasrestoreoption = false;
$html = html_writer::start_... | MDL-<I> backup: Remove frontpage restore UI restrictions | moodle_moodle | train | php |
63e6f377f80c59108944a3c7866347002a152991 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -381,6 +381,11 @@ export default class Carousel extends Component {
const scrollOffset = this._getScrollOffset(event);
const newActiveItem = this._getActiveItem(scrollOffset);
const itemsLength = thi... | feat(module): use native driver for slide's animation
This can be overridden via `animationOptions` | archriss_react-native-snap-carousel | train | js |
3b8d21af52fdd1abc36b15d52426efe1dc8dab4f | diff --git a/portstat/portstat.py b/portstat/portstat.py
index <HASH>..<HASH> 100644
--- a/portstat/portstat.py
+++ b/portstat/portstat.py
@@ -88,15 +88,17 @@ def upload(portGroups):
def main():
- parser = argparse.ArgumentParser()
+ parser = argparse.ArgumentParser(
+ description='A simple port traff... | Fix some problem in argparse | imlonghao_portstat | train | py |
ae70cea79afff1093fc8369ebb6e4e4ca3c40c38 | diff --git a/test/unit/org/apache/cassandra/locator/RackUnawareStrategyTest.java b/test/unit/org/apache/cassandra/locator/RackUnawareStrategyTest.java
index <HASH>..<HASH> 100644
--- a/test/unit/org/apache/cassandra/locator/RackUnawareStrategyTest.java
+++ b/test/unit/org/apache/cassandra/locator/RackUnawareStrategyTes... | fix RackUnawareStrategyTest -- endpoint asserts 'host' is an ip address (to make sure we're not mixing hostnames in again) so create a suitable fake IP for the test. patch by jbellis for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
5ae46f50e500283121b564c7b1680423c3dc071f | diff --git a/ake.go b/ake.go
index <HASH>..<HASH> 100644
--- a/ake.go
+++ b/ake.go
@@ -288,12 +288,16 @@ func (ake *AKE) sigMessage() ([]byte, error) {
func (ake *AKE) processDHKey(in []byte) (isSame bool, err error) {
_, gy := extractMPI(in, 0)
- if gy.Cmp(g1) < 0 || gy.Cmp(pMinusTwo) > 0 {
+ if lt(gy, g1) || gt(... | Refactor to bigInt helpers | coyim_otr3 | train | go |
de801c5d1df199569c1617269ae745652f51f6cc | diff --git a/pydas/drivers.py b/pydas/drivers.py
index <HASH>..<HASH> 100644
--- a/pydas/drivers.py
+++ b/pydas/drivers.py
@@ -589,6 +589,23 @@ class CoreDriver(BaseDriver):
response = self.request('midas.item.searchbyname', parameters)
return response['items']
+ def search_item_by_name_and_folde... | Add a method for searching by item and folder name | midasplatform_pydas | train | py |
e2690da2b5993074634c8d97f8d25d34ed0209d4 | diff --git a/tests/unit/core/ProjectTest.py b/tests/unit/core/ProjectTest.py
index <HASH>..<HASH> 100644
--- a/tests/unit/core/ProjectTest.py
+++ b/tests/unit/core/ProjectTest.py
@@ -270,7 +270,7 @@ class ProjectTest:
assert ~sp.any([len(item.props()) for item in proj])
proj._fetch_data()
ass... | fixing file delete due to wrong object name | PMEAL_OpenPNM | train | py |
52ad4e9f0d194094b17bf1c9e6b0f0632f5a8702 | diff --git a/tests/test_protection_levels.py b/tests/test_protection_levels.py
index <HASH>..<HASH> 100644
--- a/tests/test_protection_levels.py
+++ b/tests/test_protection_levels.py
@@ -52,14 +52,16 @@ class TestProtectionLevels(common.TrezorTest):
def test_get_public_key(self):
with self.client:
... | update get_public_key and get_address tests to reflect reality | trezor_python-trezor | train | py |
4c3626e0df8a0f0e64bc1e3963a5bbd73b18d786 | diff --git a/bt/core.py b/bt/core.py
index <HASH>..<HASH> 100644
--- a/bt/core.py
+++ b/bt/core.py
@@ -113,6 +113,13 @@ class Node(object):
res.extend(c.members())
return res
+ @property
+ def full_name(self):
+ if self.parent == self:
+ return self.name
+ else:
+ ... | Added full_name property to node | pmorissette_bt | train | py,py |
53e4a277b38cf218bc8f55f9fa0a7d85aaabb5b9 | diff --git a/activesupport/lib/active_support/cache/redis_cache_store.rb b/activesupport/lib/active_support/cache/redis_cache_store.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/cache/redis_cache_store.rb
+++ b/activesupport/lib/active_support/cache/redis_cache_store.rb
@@ -363,7 +363,7 @@ modul... | Convert keys to binary in the Redis cache store
Fix encoding errors when using the pure-Ruby Redis driver instead of Hiredis. Dodge incompatibilities between UTF-8 and arbitrary value encodings, which rear their heads when the Redis driver tries to build a single command string from incompatibly-encoded keys and value... | rails_rails | train | rb |
3360c7466b32ac2ae0508575b3c5b8705b3b91c9 | diff --git a/source/Application/views/admin/en/lang.php b/source/Application/views/admin/en/lang.php
index <HASH>..<HASH> 100644
--- a/source/Application/views/admin/en/lang.php
+++ b/source/Application/views/admin/en/lang.php
@@ -1547,7 +1547,7 @@ $aLang = array(
'mxtools' => 'Tools',
'mxthe... | Fix translation of mxextensions
This string is also taken to create the HTML document title and thus it should not contain any HTML markup. | OXID-eSales_oxideshop_ce | train | php |
21e269b9c3c499ddd5856e57b79f22ae326d6a6f | diff --git a/StreamSelectLoop.php b/StreamSelectLoop.php
index <HASH>..<HASH> 100644
--- a/StreamSelectLoop.php
+++ b/StreamSelectLoop.php
@@ -73,14 +73,20 @@ class StreamSelectLoop implements LoopInterface
if ($read) {
foreach ($read as $stream) {
foreach ($this->read... | Unsubscribe stream from events when listeners return FALSE.
When a listener return FALSE, the event loop unsubscribeis the related
stream from read or write events. | reactphp_event-loop | train | php |
e9c91a535a6177917739730efe9dbe8ca17f24db | diff --git a/discord/guild.py b/discord/guild.py
index <HASH>..<HASH> 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -3371,8 +3371,7 @@ class Guild(Hashable):
raise ClientException('Intents.members must be enabled to use this.')
if not self._state.is_guild_evicted(self):
- aw... | Fix Guild.chunk() returning list of members | Rapptz_discord.py | train | py |
24256102cff991344a5a0c49c246095b08c05823 | diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100755
--- a/autopep8.py
+++ b/autopep8.py
@@ -1476,8 +1476,8 @@ class ReflowedLines(object):
def line_empty(self):
return (self._lines and
- not isinstance(self._lines[-1],
- (self._LineBreak, self.... | If the line DOES consist of only whitespace, then we declare it empty. | hhatto_autopep8 | train | py |
a7e0f75d5ef8730976119df3afb445ba25e6c616 | diff --git a/poker/_common.py b/poker/_common.py
index <HASH>..<HASH> 100644
--- a/poker/_common.py
+++ b/poker/_common.py
@@ -51,11 +51,11 @@ class _OrderableMixin:
return names.index(self._name_) < names.index(other._name_)
return NotImplemented
+
+class PokerEnum(_OrderableMixin, enum.Enum, m... | OrderableMixin has nothing to do with __str__ | pokerregion_poker | train | py |
a88908c41197f1807cd083b528de0b892c264377 | diff --git a/pingouin/utils.py b/pingouin/utils.py
index <HASH>..<HASH> 100644
--- a/pingouin/utils.py
+++ b/pingouin/utils.py
@@ -104,7 +104,11 @@ def postprocess_dataframe(df):
"""
df = df.copy()
for row, col in it.product(df.index, df.columns):
- if not isinstance(df.at[row,col], numbers.Number... | also apply rounding for DataFrame cells with ndarray type (e.g. CI<I>%) | raphaelvallat_pingouin | train | py |
cfb5a1332bf48fb52930df9445ec5233fc3da80c | diff --git a/lib/fabrication/schematic/attribute.rb b/lib/fabrication/schematic/attribute.rb
index <HASH>..<HASH> 100644
--- a/lib/fabrication/schematic/attribute.rb
+++ b/lib/fabrication/schematic/attribute.rb
@@ -1,6 +1,7 @@
class Fabrication::Schematic::Attribute
- attr_accessor :klass, :name, :params, :value
+ ... | Define only writer because reader is defined below | paulelliott_fabrication | train | rb |
ab824fb2384d87ec8b4a61d0cc3464827d584de7 | diff --git a/ArrayCollection.php b/ArrayCollection.php
index <HASH>..<HASH> 100755
--- a/ArrayCollection.php
+++ b/ArrayCollection.php
@@ -98,6 +98,14 @@ class ArrayCollection implements CollectionInterface
}
/**
+ * @return array
+ */
+ public function keys()
+ {
+ return array_keys($t... | DoctrineBundle
(cherry picked from commit 7e<I>a<I>c<I>b<I>fb5fbc<I>f6d8fe) | WellCommerce_WishlistBundle | train | php |
b0b60a83b1d7e2f4dada22849cca1bc5d494662d | diff --git a/jardin/model.py b/jardin/model.py
index <HASH>..<HASH> 100644
--- a/jardin/model.py
+++ b/jardin/model.py
@@ -37,7 +37,7 @@ class Model(pd.DataFrame):
return self.instance(self.db_adapter(db_name = kwargs.get('db')).select(**kwargs))
@classmethod
- def count(self, **kwargs):
+ def _count(self, ... | count already exists on DataFrame | instacart_jardin | train | py |
fb7f0de974327befdd1d10a06d5b4fae8fd8328c | diff --git a/dohq_artifactory/admin.py b/dohq_artifactory/admin.py
index <HASH>..<HASH> 100644
--- a/dohq_artifactory/admin.py
+++ b/dohq_artifactory/admin.py
@@ -155,7 +155,7 @@ class AdminObject(object):
class User(AdminObject):
_uri = "security/users"
- def __init__(self, artifactory, name, email=None, pa... | Set "disable ui" False by default | devopshq_artifactory | train | py |
8e3f8cd49dd2146d02baad4848e58a21a2b6fbe0 | diff --git a/sdk/examples/xo_python/sawtooth_xo/processor/handler.py b/sdk/examples/xo_python/sawtooth_xo/processor/handler.py
index <HASH>..<HASH> 100644
--- a/sdk/examples/xo_python/sawtooth_xo/processor/handler.py
+++ b/sdk/examples/xo_python/sawtooth_xo/processor/handler.py
@@ -56,7 +56,7 @@ class XoTransactionHand... | Avoid bare except statements in python xo TP
Bare excepts are not necessary within a transaction handler
implementation, at least in the case of xo. | hyperledger_sawtooth-core | train | py |
316b96d99e425a04f073db8e563d03df1b3584d6 | diff --git a/js/ClientList.js b/js/ClientList.js
index <HASH>..<HASH> 100644
--- a/js/ClientList.js
+++ b/js/ClientList.js
@@ -336,6 +336,17 @@
}
}
+ // Add bot-start button:
+ button = document.createElement('button');
+ button.innerHTML = 'Start bot';
+ button.oncli... | Added button for starting a bot | nodeGame_ultimatum-game | train | js |
0792447fd62fd0183f7ccf4422f577d390d2b46e | diff --git a/src/FormKit/Widget/ImageFileInput.php b/src/FormKit/Widget/ImageFileInput.php
index <HASH>..<HASH> 100644
--- a/src/FormKit/Widget/ImageFileInput.php
+++ b/src/FormKit/Widget/ImageFileInput.php
@@ -27,7 +27,9 @@ class ImageFileInput extends FileInput
$this->image = new Element('img',array(
... | Add div for image "cut" | corneltek_FormKit | train | php |
929a4013730abbbc958192808a473fa01fc2a577 | diff --git a/sqlx.go b/sqlx.go
index <HASH>..<HASH> 100644
--- a/sqlx.go
+++ b/sqlx.go
@@ -428,18 +428,16 @@ func (tx *Tx) Preparex(query string) (*Stmt, error) {
// Stmtx returns a version of the prepared statement which runs within a transaction. Provided
// stmt can be either *sql.Stmt or *sqlx.Stmt.
func (tx *T... | simplify type switch in Tx.Stmt | jmoiron_sqlx | train | go |
92b9369ccc86b3c477b64f6b5ac3984494e53bbc | diff --git a/lib/memcached/rails.rb b/lib/memcached/rails.rb
index <HASH>..<HASH> 100644
--- a/lib/memcached/rails.rb
+++ b/lib/memcached/rails.rb
@@ -7,6 +7,10 @@ class Memcached
# A legacy compatibility wrapper for the Memcached class. It has basic compatibility with the <b>memcache-client</b> API.
class Rails ... | added logger to Rails subclass | arthurnn_memcached | train | rb |
3725ea53c6e561bfd6b79fdf8ada158b85088c85 | diff --git a/lib/node_modules/@stdlib/datasets/sotu/scripts/build.js b/lib/node_modules/@stdlib/datasets/sotu/scripts/build.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/datasets/sotu/scripts/build.js
+++ b/lib/node_modules/@stdlib/datasets/sotu/scripts/build.js
@@ -37,6 +37,7 @@ var RE = require( './..... | Remove trailing newline character of the texts in toJSON function | stdlib-js_stdlib | train | js |
4c6ec41630423f301dd70fc2dd6601b6e6ee688a | diff --git a/src/Persistence.php b/src/Persistence.php
index <HASH>..<HASH> 100644
--- a/src/Persistence.php
+++ b/src/Persistence.php
@@ -48,6 +48,7 @@ class Persistence
switch (strtolower(isset($args['driver']) ?: $driver)) {
case 'mysql':
case 'oci':
+ case 'oci12':
... | oci<I> support | atk4_data | train | php |
67d6f9504294214af2808483dbf15e6246a5a2d4 | diff --git a/fancy_getopt.py b/fancy_getopt.py
index <HASH>..<HASH> 100644
--- a/fancy_getopt.py
+++ b/fancy_getopt.py
@@ -412,6 +412,11 @@ def fancy_getopt (options, negative_opt, object, args):
WS_TRANS = string.maketrans (string.whitespace, ' ' * len (string.whitespace))
def wrap_text (text, width):
+ """wrap... | Added docstring for 'wrap()' function. | pypa_setuptools | train | py |
1ae75558dabd44d9c3852ec4a09777941d3e9d16 | diff --git a/troposphere/elasticbeanstalk.py b/troposphere/elasticbeanstalk.py
index <HASH>..<HASH> 100644
--- a/troposphere/elasticbeanstalk.py
+++ b/troposphere/elasticbeanstalk.py
@@ -3,7 +3,7 @@
#
# See LICENSE file for full license.
-from . import AWSObject, AWSProperty
+from . import AWSObject, AWSProperty, T... | Supports tags in ElasticBeanstalk environments | cloudtools_troposphere | train | py |
f83fbe06bf6d0da2feb235fcab2858cb1035ab07 | diff --git a/dev_tools/docs/build_api_docs.py b/dev_tools/docs/build_api_docs.py
index <HASH>..<HASH> 100644
--- a/dev_tools/docs/build_api_docs.py
+++ b/dev_tools/docs/build_api_docs.py
@@ -95,6 +95,11 @@ def generate_cirq():
site_path=FLAGS.site_path,
callbacks=[public_api.local_definitions_filter, ... | Disable broken symbols. (#<I>) | quantumlib_Cirq | train | py |
526baa4360d5a17d6728aa88edc11b339daac6b4 | diff --git a/src/document/DocumentCommandHandlers.js b/src/document/DocumentCommandHandlers.js
index <HASH>..<HASH> 100644
--- a/src/document/DocumentCommandHandlers.js
+++ b/src/document/DocumentCommandHandlers.js
@@ -55,6 +55,7 @@ define(function (require, exports, module) {
UrlParams = require("ut... | Fixed #<I> - Added extension to the filename in SaveAs Dialog for Untitled files using the language specified in language Switcher (#<I>) | adobe_brackets | train | js |
a98ef3222011f1cd786f46a3ce7d237cb3524828 | diff --git a/test/basics-test.js b/test/basics-test.js
index <HASH>..<HASH> 100644
--- a/test/basics-test.js
+++ b/test/basics-test.js
@@ -40,6 +40,13 @@ tape("A component should render a single instance.", function(test) {
test.end();
});
+tape("A component should accept a DOM node in place of a selection.", fun... | Add failing test for accepting DOM node | curran_d3-component | train | js |
ffd2227b19925d53c3eb84c4999e3df9c3dfba33 | diff --git a/lib/git_trend/scraper.rb b/lib/git_trend/scraper.rb
index <HASH>..<HASH> 100644
--- a/lib/git_trend/scraper.rb
+++ b/lib/git_trend/scraper.rb
@@ -15,16 +15,14 @@ module GitTrend
end
def get(language = nil, since = nil, number = nil)
- projects = []
page = @agent.get(generate_url_for... | Reafactor using map instead of each | rochefort_git-trend | train | rb |
2ba069d5e7f57ce47b011d7fcbef5e68be160e09 | diff --git a/src/runner.py b/src/runner.py
index <HASH>..<HASH> 100644
--- a/src/runner.py
+++ b/src/runner.py
@@ -4,11 +4,11 @@
import argparse
import sys
-from subprocess import run, CalledProcessError
+from subprocess import CalledProcessError, run
from time import sleep, time
-def main() -> None:
+def main... | runner.py: Have it return bandersnatch returncode + make isort happy | pypa_bandersnatch | train | py |
391b7d673069d8ba85b4d5c2446086b64bd0f0f3 | diff --git a/salt/client/mixins.py b/salt/client/mixins.py
index <HASH>..<HASH> 100644
--- a/salt/client/mixins.py
+++ b/salt/client/mixins.py
@@ -5,6 +5,7 @@ A collection of mixins useful for the various *Client interfaces
from __future__ import print_function
from __future__ import absolute_import
import collectio... | Backporting fix for issue #<I> on <I> branch | saltstack_salt | train | py |
97f957511e34f80de76cabb085bc6e82c6ec2f06 | diff --git a/spec/acceptance/httpclient/httpclient_spec.rb b/spec/acceptance/httpclient/httpclient_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/acceptance/httpclient/httpclient_spec.rb
+++ b/spec/acceptance/httpclient/httpclient_spec.rb
@@ -199,9 +199,10 @@ describe "HTTPClient" do
end
end
- context 'crede... | Properly stub Authorization test case. | bblimke_webmock | train | rb |
90cc68788a4d324e269552ea81b40467b2624c95 | diff --git a/tasks/lib/uploader.js b/tasks/lib/uploader.js
index <HASH>..<HASH> 100644
--- a/tasks/lib/uploader.js
+++ b/tasks/lib/uploader.js
@@ -6,7 +6,7 @@ var rest = require('restler');
exports.init = function (grunt, options) {
// Method to get the API endpoint.
- var api_endpoint = (grunt.option('host'... | Namespaced the command line arguments under 'sorry' to save any clashing with other libs down the line. | sorry-app_grunt-sorry-theme-deploy | train | js |
c7af8a674d4e95845422f8e32b4f21aa082a4b5f | diff --git a/src/directives/formly-field.test.js b/src/directives/formly-field.test.js
index <HASH>..<HASH> 100644
--- a/src/directives/formly-field.test.js
+++ b/src/directives/formly-field.test.js
@@ -1014,6 +1014,32 @@ describe('formly-field', function() {
expect(ctrl.$formatters).to.have.length(2); // ngMo... | Added a failing test for #<I> | formly-js_angular-formly | train | js |
f9ebeb83293246c48c0a29c72abde9386bd9d44e | diff --git a/src/Behat/Mink/Driver/CoreDriver.php b/src/Behat/Mink/Driver/CoreDriver.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Mink/Driver/CoreDriver.php
+++ b/src/Behat/Mink/Driver/CoreDriver.php
@@ -181,6 +181,18 @@ abstract class CoreDriver implements DriverInterface
}
/**
+ * Checks whether sel... | Adding "isSelected" method to "CoreDriver" to keep BC with drivers, that don't (yet) have implementation for it. | minkphp_Mink | train | php |
1c4e8fb521b272a2b6ee61618fd193dcb5080ad3 | diff --git a/src/FieldsBuilder.php b/src/FieldsBuilder.php
index <HASH>..<HASH> 100644
--- a/src/FieldsBuilder.php
+++ b/src/FieldsBuilder.php
@@ -108,12 +108,15 @@ class FieldsBuilder extends Builder
public function addFields($fields)
{
if (is_subclass_of($fields, FieldsBuilder::class)) {
+ ... | addFields and addLayout should clone any passed FieldsBuilder object | StoutLogic_acf-builder | train | php,php |
4f37f118a4b1e4d366de66287f12174a486b3d4d | diff --git a/packages/ember/tests/routing/decoupled_basic_test.js b/packages/ember/tests/routing/decoupled_basic_test.js
index <HASH>..<HASH> 100644
--- a/packages/ember/tests/routing/decoupled_basic_test.js
+++ b/packages/ember/tests/routing/decoupled_basic_test.js
@@ -72,7 +72,7 @@ moduleFor(
assert.ok(fal... | Update tests to expect an Error object | emberjs_ember.js | train | js |
c4a3c97dc58290f8d5ec7483b21ed44e80cc5acc | diff --git a/src/main/java/no/digipost/signature/client/asice/signature/CreateSignature.java b/src/main/java/no/digipost/signature/client/asice/signature/CreateSignature.java
index <HASH>..<HASH> 100644
--- a/src/main/java/no/digipost/signature/client/asice/signature/CreateSignature.java
+++ b/src/main/java/no/digipost... | Introduce a overridable createXmlSignature()
In CreateSignature, to make it possible to simulate erroneous created xml
signature for testing purposes. | digipost_signature-api-client-java | train | java |
2c47a3131a4c641823544bce03afbc05dc3a3d50 | diff --git a/std.go b/std.go
index <HASH>..<HASH> 100644
--- a/std.go
+++ b/std.go
@@ -154,6 +154,7 @@ var stdPkgs = map[string]struct{}{
"runtime/internal/atomic": {},
"image/internal/imageutil": {},
"go/internal/gccgoimporter": {},
+ "internal/syscall/windows/sysdll": ... | Run go generate after Go <I> | mvdan_interfacer | train | go |
da970a263abed444da7ca1c6b1c0f4700d3171d1 | diff --git a/client/mc.go b/client/mc.go
index <HASH>..<HASH> 100644
--- a/client/mc.go
+++ b/client/mc.go
@@ -46,6 +46,16 @@ func (client *Client) Send(req gomemcached.MCRequest) (rv gomemcached.MCResponse
return
}
+// Send a request, but do not wait for a response.
+func (client *Client) Transmit(req gomemcached... | Commands for sending and receiving requests. | dustin_gomemcached | train | go |
b41308536c10f6795eb6f048fd6337fa0f1ec424 | diff --git a/client/components/email-verification/index.js b/client/components/email-verification/index.js
index <HASH>..<HASH> 100644
--- a/client/components/email-verification/index.js
+++ b/client/components/email-verification/index.js
@@ -21,16 +21,10 @@ export default function emailVerification( context, next ) {
... | Simplify verified=1 email confirmed text to 'Email confirmed' in all locales (#<I>)
* Simplify verified=1 email confirmed text to 'Email confirmed' in all locales
* Increase delay to <I>ms to allow time for translations to be loaded | Automattic_wp-calypso | train | js |
6d4558034c061990c76393331002767eef5a4034 | diff --git a/lib/haml/helpers/action_view_mods.rb b/lib/haml/helpers/action_view_mods.rb
index <HASH>..<HASH> 100644
--- a/lib/haml/helpers/action_view_mods.rb
+++ b/lib/haml/helpers/action_view_mods.rb
@@ -123,20 +123,5 @@ module ActionView
alias_method :form_tag_without_haml, :form_tag
alias_method :for... | remove FormHelper which incorrectly tries to add proper indentation. since #form_for uses #form_tag we can rely on the patched #form_tag_with_haml to indent the form correctly. | haml_haml | train | rb |
14a80b06add601e25cca26298543ee578f82914f | diff --git a/src/Organizer/Organizer.php b/src/Organizer/Organizer.php
index <HASH>..<HASH> 100644
--- a/src/Organizer/Organizer.php
+++ b/src/Organizer/Organizer.php
@@ -394,11 +394,7 @@ class Organizer extends EventSourcedAggregateRoot implements UpdateableWithCdbXm
*/
private function isTitleChanged(Title... | III-<I> Cleaner if statement for isTitleChanged method. | cultuurnet_udb3-php | train | php |
6a76b606c3ef3a715c8297ee24579d219e8a9a47 | diff --git a/neurom/ezy/neuron.py b/neurom/ezy/neuron.py
index <HASH>..<HASH> 100644
--- a/neurom/ezy/neuron.py
+++ b/neurom/ezy/neuron.py
@@ -34,7 +34,6 @@ from neurom.core.types import checkTreeType
from neurom.core.tree import ipreorder
from neurom.core.tree import isection
from neurom.core.tree import isegment
-... | Simplify ezy.Neuron by using base class methods. | BlueBrain_NeuroM | train | py |
2a13d01244e7ebbe69f9589b6c942b9bfd54a0ed | diff --git a/src/printer/lombok/ast/printer/SourcePrinter.java b/src/printer/lombok/ast/printer/SourcePrinter.java
index <HASH>..<HASH> 100644
--- a/src/printer/lombok/ast/printer/SourcePrinter.java
+++ b/src/printer/lombok/ast/printer/SourcePrinter.java
@@ -292,6 +292,7 @@ public class SourcePrinter extends Forwarding... | in type arguments, a space was missing between id ('T') and 'extends'. Also, UnaryExpressions with missing operator no longer cause an exception during printing. | rzwitserloot_lombok.ast | train | java |
c009f14b221307322e02c1e0ac9a932b7b267f9b | diff --git a/waldur_core/quotas/fields.py b/waldur_core/quotas/fields.py
index <HASH>..<HASH> 100644
--- a/waldur_core/quotas/fields.py
+++ b/waldur_core/quotas/fields.py
@@ -202,6 +202,14 @@ class TotalQuotaField(CounterQuotaField):
"""
This field aggregates sum of value for the same field of children object... | Add example of total quota field usage [WAL-<I>] | opennode_waldur-core | train | py |
e1427cdec584b8f073b87e3f9a0a8711d71e45b0 | diff --git a/course/mod.php b/course/mod.php
index <HASH>..<HASH> 100644
--- a/course/mod.php
+++ b/course/mod.php
@@ -265,7 +265,7 @@
} else if (isset_param('indent') and confirm_sesskey()) {
- $id = required_param('id',0,PARAM_INT);
+ $id = required_param('id',PARAM_INT);
if (! $cm =... | fixed incorrect use of required_param() | moodle_moodle | train | php |
325f5a760e1508ae82e30c39a631e93ab1113ab7 | diff --git a/gorp_test.go b/gorp_test.go
index <HASH>..<HASH> 100644
--- a/gorp_test.go
+++ b/gorp_test.go
@@ -18,6 +18,13 @@ import (
"time"
)
+// verify interface compliance
+var _ Dialect = SqliteDialect{}
+var _ Dialect = PostgresDialect{}
+var _ Dialect = MySQLDialect{}
+var _ Dialect = SqlServerDialect{}
+va... | ensure that dialect structs comply with interface | go-gorp_gorp | train | go |
8f658077819332c2e149b0e885eddd7c7547edf5 | diff --git a/src/bandersnatch/package.py b/src/bandersnatch/package.py
index <HASH>..<HASH> 100644
--- a/src/bandersnatch/package.py
+++ b/src/bandersnatch/package.py
@@ -61,7 +61,7 @@ class Package(object):
if self.mirror.hash_index:
return os.path.join(
self.mirror.webdir, 'simp... | Um. Weird. Why did my test not catch this but ... hm. Maybe OS X/Linux issue. | pypa_bandersnatch | train | py |
5c68fa0077160677ab610a6fc6a8b07546a20440 | diff --git a/lib/chef/provider/windows_script.rb b/lib/chef/provider/windows_script.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/provider/windows_script.rb
+++ b/lib/chef/provider/windows_script.rb
@@ -36,7 +36,7 @@ class Chef
@is_wow64 = wow64_architecture_override_required?(run_context.node, target_archit... | Only check WOW<I> process when system architecture is x<I>.
Fixes <URL> | chef_chef | 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.