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 |
|---|---|---|---|---|---|
0c77217b2e7d4e9367f774cb837b10c4ed9841b6 | diff --git a/src/Transaction/TransactionBuilder.php b/src/Transaction/TransactionBuilder.php
index <HASH>..<HASH> 100755
--- a/src/Transaction/TransactionBuilder.php
+++ b/src/Transaction/TransactionBuilder.php
@@ -223,8 +223,8 @@ class TransactionBuilder implements XdrEncodableInterface
public function getFee()... | TransactionBuilder - fee is now calculated correctly for transactions with mutiple options | zulucrypto_stellar-api | train | php |
1ba1ca3ecde83d4f3b2ce6b4e324bb95b92594f5 | diff --git a/src/org/opencms/importexport/A_CmsImport.java b/src/org/opencms/importexport/A_CmsImport.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/importexport/A_CmsImport.java
+++ b/src/org/opencms/importexport/A_CmsImport.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/im... | Bugfix in import version 2: Binary files were converted to external pointers | alkacon_opencms-core | train | java |
6fa7099a6151d4dbf8e31e25a85119f0148c477a | diff --git a/usb1.py b/usb1.py
index <HASH>..<HASH> 100644
--- a/usb1.py
+++ b/usb1.py
@@ -23,7 +23,6 @@ import libusb1
from ctypes import byref, create_string_buffer, c_int, sizeof, POINTER, \
create_unicode_buffer, c_wchar, cast, c_uint16, c_ubyte, string_at, \
c_void_p, cdll
-from cStringIO import StringI... | Fix some pylint-detected problems. | vpelletier_python-libusb1 | train | py |
1c1c7937b65c86646e4b216ba2f8d377d698c717 | diff --git a/rekt/utils.py b/rekt/utils.py
index <HASH>..<HASH> 100644
--- a/rekt/utils.py
+++ b/rekt/utils.py
@@ -44,12 +44,12 @@ def snake_case_to_camel_case(name):
return name.replace('_', ' ').title().replace(' ', '')
-def load_builtin_config(name, module_name=__name__):
+def load_builtin_config(name, modu... | fixing bug in the load builtin config function which would not allow reuse in other packages | dillonhicks_rekt | train | py |
993f107df99062aaf3942c30a28aafc1b8b5796b | diff --git a/src/FieldHandlers/FieldHandlerFactory.php b/src/FieldHandlers/FieldHandlerFactory.php
index <HASH>..<HASH> 100644
--- a/src/FieldHandlers/FieldHandlerFactory.php
+++ b/src/FieldHandlers/FieldHandlerFactory.php
@@ -60,11 +60,11 @@ class FieldHandlerFactory
*
* @param mixed $table Name or instanc... | Relaxed data value type-hinting for field handler factory API methods (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
e9395f519697b0144ceb969fbe0a0eb85cd2865b | diff --git a/Kwf/Util/ClearCache.php b/Kwf/Util/ClearCache.php
index <HASH>..<HASH> 100644
--- a/Kwf/Util/ClearCache.php
+++ b/Kwf/Util/ClearCache.php
@@ -296,7 +296,8 @@ class Kwf_Util_ClearCache
protected function _clearCache(array $types, $output, $options)
{
- if (in_array('elastiCache', $types))... | if skip otherServers don't increment elastiCache, as that goes across servers | koala-framework_koala-framework | train | php |
ce49916581c24f760123196b4df25dbccb552dce | diff --git a/bin/roundtrip-test.js b/bin/roundtrip-test.js
index <HASH>..<HASH> 100755
--- a/bin/roundtrip-test.js
+++ b/bin/roundtrip-test.js
@@ -530,8 +530,8 @@ var checkIfSignificant = function(offsets, data) {
thisResult.wtDiff = formatDiff(oldWt, newWt, offset, 25);
// Don't clog the rt-test server db ... | roundtrip-test.js: Truncate diffs to <I> chars instead of <I>
* This reduces db bloat from storing test results.
* Only a tiny fraction of test results (<I> in <I>K) are looked at.
Change-Id: Ia<I>d<I>e<I>b<I>d0d0d<I>ae<I>b<I>a<I>c | wikimedia_parsoid | train | js |
8be4d3ef3a082f5ab14f00cd040282bf25cd6692 | diff --git a/bin/runner.js b/bin/runner.js
index <HASH>..<HASH> 100755
--- a/bin/runner.js
+++ b/bin/runner.js
@@ -88,6 +88,15 @@ if (config.browsers) {
worker.config = browser;
worker.string = browserString;
workers[key] = worker;
+
+ var statusPoller = setInterval(function () {
+ ... | Add polling for run status for a worker | browserstack_browserstack-runner | train | js |
9f818c36b846c7a9b47795bc0af9fbf323e36d54 | diff --git a/src/test/java/org/webjars/RequireJSTest.java b/src/test/java/org/webjars/RequireJSTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/webjars/RequireJSTest.java
+++ b/src/test/java/org/webjars/RequireJSTest.java
@@ -62,7 +62,7 @@ public class RequireJSTest {
// todo: the angular version ... | RequireJSTest: Bump angular version
Not sure what exactly the returned version depends on; in the long run
maybe this should not care so much about the minor version, but in the
meantime this gets the test to pass again. | webjars_webjars-locator | train | java |
b3717d08a8796ee3fb2a709979dba29087f09fc9 | diff --git a/includes/DHL_BusinessShipment.php b/includes/DHL_BusinessShipment.php
index <HASH>..<HASH> 100644
--- a/includes/DHL_BusinessShipment.php
+++ b/includes/DHL_BusinessShipment.php
@@ -796,8 +796,13 @@ class DHL_BusinessShipment extends DHL_Version {
$data->ShipmentOrder->Shipment->ReturnReceiver = $this-... | Added try-catch for Export-Document-Class creation | Petschko_dhl-php-sdk | train | php |
b9751091adbb27acd863b34d67bdeea67f844f22 | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -65,7 +65,7 @@ class MemberTest(APITest):
states = [
('RI', 2),
('AL', 7),
- ('AZ', 9),
+ ('AZ', 8),
]
for state, count in states: | Updated test function with latest member data so tests return accurate
results. | eyeseast_propublica-congress | train | py |
d753260957cfb59c48a704daeaa038ec83811216 | diff --git a/src/call_get.js b/src/call_get.js
index <HASH>..<HASH> 100644
--- a/src/call_get.js
+++ b/src/call_get.js
@@ -43,8 +43,8 @@ function getCompiled(name, compiler, cache) {
cache[" size"]++;
if (cache[" size"] > 512) {
var keys = Object.keys(cache);
- for (var i = 0; ... | fix; lower attachment count
This fixes the issue discovered in #<I> by lowering the number of
interactions a promise has to have before it's cleaned up. | petkaantonov_bluebird | train | js,js |
0c5dd86b31f29153e01f35b994003f283eac9c18 | diff --git a/tar_test.go b/tar_test.go
index <HASH>..<HASH> 100644
--- a/tar_test.go
+++ b/tar_test.go
@@ -6,7 +6,7 @@ import (
"path"
"testing"
- "github.com/mholt/archiver"
+ "github.com/mholt/archiver/v3"
)
func requireRegularFile(t *testing.T, path string) os.FileInfo { | Fix import path in test (#<I>) | mholt_archiver | train | go |
907032d8bb03695111c9d344918cc3fb47dabe7c | diff --git a/src/requirementslib/models/requirements.py b/src/requirementslib/models/requirements.py
index <HASH>..<HASH> 100644
--- a/src/requirementslib/models/requirements.py
+++ b/src/requirementslib/models/requirements.py
@@ -2624,9 +2624,13 @@ class Requirement(object):
line_parts.append(self._specif... | Fix line generation from pipfiles | sarugaku_requirementslib | train | py |
63687981336ade4978c387d3c0cf2f4fcddfb222 | diff --git a/lib/AssetGraph.js b/lib/AssetGraph.js
index <HASH>..<HASH> 100644
--- a/lib/AssetGraph.js
+++ b/lib/AssetGraph.js
@@ -332,11 +332,7 @@ AssetGraph.prototype = {
});
},
error.passToFunction(cb, function (resolvedAssetConfigs) {
- ... | AssetGraph.resolveAssetConfig: Used _.flatten to simplify a piece of code. | assetgraph_assetgraph | train | js |
c41b2772231e46397c36336a7da76742f30d848a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,4 +17,15 @@ setup(
packages=find_packages(),
install_requires=["django >= 1.6", "djangorestframework >= 2.4.3"],
zip_safe=False,
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ ... | Added classifiers to setup.py | ydaniv_django-rest-assured | train | py |
75890f88fa00e3dd97aeda05805c248059777a97 | diff --git a/src/diagrams/class/classRenderer.js b/src/diagrams/class/classRenderer.js
index <HASH>..<HASH> 100644
--- a/src/diagrams/class/classRenderer.js
+++ b/src/diagrams/class/classRenderer.js
@@ -505,9 +505,14 @@ export const draw = function(text, id) {
logger.info(
'tjoho' + getGraphId(relation.id1)... | fix(#<I>): render multiple relations | knsv_mermaid | train | js |
15f56371d6548b5946a2e2f6eb39e98b3dc69c1f | diff --git a/panc/src/main/scripts/panlint.py b/panc/src/main/scripts/panlint.py
index <HASH>..<HASH> 100755
--- a/panc/src/main/scripts/panlint.py
+++ b/panc/src/main/scripts/panlint.py
@@ -238,8 +238,7 @@ def main():
for i in range(start_line, end_line + 1):
ignore_lines.... | Reuse existing file contents
Rather than reopening the file. | quattor_pan | train | py |
0f6d4db0cd621b6ac02eeec7e1c519ba61d8ea4b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ with open('schedule/requirements.txt') as f:
required = f.read().splitlines()
setup(
- name='django-schedule',
+ name='django-scheduler',
version='0.7',
description='A calendaring app f... | update setup.py with new name | llazzaro_django-scheduler | train | py |
6c6f8130633748658eddb25e977e06865ad3a519 | diff --git a/src/Facade/Auth.php b/src/Facade/Auth.php
index <HASH>..<HASH> 100644
--- a/src/Facade/Auth.php
+++ b/src/Facade/Auth.php
@@ -35,14 +35,16 @@ class Auth extends Facade
}
/**
+ * @param bool $refresh
+ *
* @return \Cubex\Auth\IAuthedUser
*
* @throws \Exception
* @throws \RuntimeE... | support refreshing authedUser details (useful when updating user information) | cubex_framework | train | php,php |
9238841856546e250ce919b59534a525f24a6903 | diff --git a/pkg/ipcache/cidr.go b/pkg/ipcache/cidr.go
index <HASH>..<HASH> 100644
--- a/pkg/ipcache/cidr.go
+++ b/pkg/ipcache/cidr.go
@@ -64,6 +64,7 @@ func (ipc *IPCache) AllocateCIDRs(
id, isNew, err := ipc.allocate(p, lbls, oldNID)
if err != nil {
ipc.IdentityAllocator.ReleaseSlice(context.Background(), n... | ipcache: Fix lock leak
Commit <I>e<I>ea2a5a9 ("ipcache: Fix race in identity/ipcache release")
unintentionally took the lock on the IPCache and failed to release it if
the loop returned in the middle. This case is a bit unusual given that
allocation fails in this case. Fix it.
Found by inspection.
Fixes: <I>e<I>ea2a... | cilium_cilium | train | go |
7818badc0aff6bff616d0943a9d84cb787750f54 | diff --git a/lib/parse/amd.js b/lib/parse/amd.js
index <HASH>..<HASH> 100644
--- a/lib/parse/amd.js
+++ b/lib/parse/amd.js
@@ -107,13 +107,10 @@ AMD.prototype.addOptimizedModules = function (filename) {
amdetective(this.getFileSource(filename)).forEach(function (obj) {
if (!self.isExcluded(obj.name)) {
- var d... | filter out require/plugins and excluded | pahen_madge | train | js |
d2459d97b954469f6f1a5c49ae2acae981ecf726 | diff --git a/voltron/gdbproxy.py b/voltron/gdbproxy.py
index <HASH>..<HASH> 100644
--- a/voltron/gdbproxy.py
+++ b/voltron/gdbproxy.py
@@ -2,7 +2,10 @@ import asyncore
import logging
import socket
import struct
-import cPickle as pickle
+try:
+ import cPickle as pickle
+except ImportError:
+ import pickle
f... | Cope with the absense of cPickle | snare_voltron | train | py,py |
5ce4ceefa5f57346d126214b1c109a874e74e40f | diff --git a/lib/cms/engine.rb b/lib/cms/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/cms/engine.rb
+++ b/lib/cms/engine.rb
@@ -1,5 +1,9 @@
module Cms
class Engine < ::Rails::Engine
isolate_namespace Cms
+
+ ActionDispatch::Reloader.to_prepare do
+ require_dependency Cms::Engine.root.join('app/contr... | Add resources controller to ActionDispatch::Reloader | droptheplot_adminable | train | rb |
8c81bb50eaa43744b0d148da27ee1f12a4fe2d1e | diff --git a/tile_generator/pcf.py b/tile_generator/pcf.py
index <HASH>..<HASH> 100755
--- a/tile_generator/pcf.py
+++ b/tile_generator/pcf.py
@@ -55,6 +55,7 @@ def reboot_cmd(yes_i_am_sure=False):
time.sleep(1)
print()
opsmgr.ssh(['sudo reboot now'], silent=True)
+ time.sleep(10) # Allow system time to go dow... | Wait for system to go down during reboot | cf-platform-eng_tile-generator | train | py |
99e1de63bd73cb833ba6acdb2ec0772bcb848969 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ except ImportError:
from distutils.core import setup
setup(name='pynrrd',
- version='0.2.2',
+ version='0.2.3',
description='Pure python module for reading and writing nrrd files.',
... | Version bump to <I>. | mhe_pynrrd | train | py |
5e5b65dc805332772879e79d247adca3edefca82 | diff --git a/src/components/calendar/Calendar.js b/src/components/calendar/Calendar.js
index <HASH>..<HASH> 100644
--- a/src/components/calendar/Calendar.js
+++ b/src/components/calendar/Calendar.js
@@ -3065,7 +3065,7 @@ export class Calendar extends Component {
if (!this.props.inline) {
return (
... | Fixed #<I> - TabIndex not set on Calendar (#<I>) | primefaces_primereact | train | js |
abf8bf994094a4a447767bff4670bad4b6640ee6 | diff --git a/src/sap.ui.table/test/sap/ui/table/demokit/sample/OData2/Controller.controller.js b/src/sap.ui.table/test/sap/ui/table/demokit/sample/OData2/Controller.controller.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.table/test/sap/ui/table/demokit/sample/OData2/Controller.controller.js
+++ b/src/sap.ui.table/te... | [INTERNAL] sap.ui.table.Table - Demokit sample fix
The sap.ui.table.Table does not support wrapping therefore it is not
used in the Demokit samples anymore.
Change-Id: I3f9d<I>e1ac6c7fec<I>cb<I>c9d<I>d<I>d<I> | SAP_openui5 | train | js |
ca6894feed667c00a4fcb452f0e800ec1d7e50f2 | diff --git a/gatsby-node.js b/gatsby-node.js
index <HASH>..<HASH> 100644
--- a/gatsby-node.js
+++ b/gatsby-node.js
@@ -93,7 +93,7 @@ exports.onPostBuild = async function (
}
const currentIndexState = indexState[indexName];
- setStatus(activity, `query ${i}: executing query`);
+ setStatus(activity, `qu... | chore: update message to clearly indicate the index of query (#<I>)
* chore: update message to clearly indicate the index of query
* Update gatsby-node.js | algolia_gatsby-plugin-algolia | train | js |
70b9ea240ecd71d19b1e38be74865d806529a24a | diff --git a/blobstore_client/Gemfile b/blobstore_client/Gemfile
index <HASH>..<HASH> 100644
--- a/blobstore_client/Gemfile
+++ b/blobstore_client/Gemfile
@@ -1,4 +1,4 @@
-source "http://rubygems.org"
+source :rubygems
gem "httpclient"
diff --git a/blobstore_client/lib/blobstore_client.rb b/blobstore_client/lib/bl... | bundler <I> for blobstore client | cloudfoundry_bosh | train | Gemfile,rb,rb |
2c8d6e39debac03f081c21580e94e98b52dec3be | diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/HistoricTaskInstanceQueryImpl.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/HistoricTaskInstanceQueryImpl.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/HistoricTask... | ACT-<I> member field access correction | Activiti_Activiti | train | java |
bdd68b1c35278f293e7752561a055eb24ad9fec2 | diff --git a/great_expectations/data_context/types/__init__.py b/great_expectations/data_context/types/__init__.py
index <HASH>..<HASH> 100644
--- a/great_expectations/data_context/types/__init__.py
+++ b/great_expectations/data_context/types/__init__.py
@@ -20,9 +20,9 @@ from .resource_identifiers import (
Valida... | Dup definition most likely due to git merge | great-expectations_great_expectations | train | py |
042107a6e23c4c4d96731be18995780d3ea9380d | diff --git a/html/pfappserver/root/static.alt/src/views/Configuration/_config/role.js b/html/pfappserver/root/static.alt/src/views/Configuration/_config/role.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/static.alt/src/views/Configuration/_config/role.js
+++ b/html/pfappserver/root/static.alt/src/views/Con... | Rename vlan to inherit_vlan and change type to a toggle | inverse-inc_packetfence | train | js |
625081fd8937be0b89981727449e83270815514e | diff --git a/lib/zendesk2/client/mock.rb b/lib/zendesk2/client/mock.rb
index <HASH>..<HASH> 100644
--- a/lib/zendesk2/client/mock.rb
+++ b/lib/zendesk2/client/mock.rb
@@ -5,7 +5,7 @@ class Zendesk2::Client < Cistern::Service
attr_accessor :last_request
def self.data
- @data ||= {
+ @data ||= Hash.... | mock data segmented on url | lanej_zendesk2 | train | rb |
8b4d6f314b07ad67f5737182e717b0ede424ed97 | diff --git a/gcloud/bigquery/client.py b/gcloud/bigquery/client.py
index <HASH>..<HASH> 100644
--- a/gcloud/bigquery/client.py
+++ b/gcloud/bigquery/client.py
@@ -64,9 +64,9 @@ class Client(JSONClient):
:rtype: tuple, (list, str)
:returns: list of :class:`gcloud.bigquery.dataset.Dataset`, plus a
- ... | Reword :returns: for clarity.
Addresses:
<URL> | googleapis_google-cloud-python | train | py |
93c1e846a700c1e2d07a84ccb6cf7b68ff6495f2 | diff --git a/vyked/utils/stats.py b/vyked/utils/stats.py
index <HASH>..<HASH> 100644
--- a/vyked/utils/stats.py
+++ b/vyked/utils/stats.py
@@ -95,7 +95,7 @@ class Aggregator:
@classmethod
def periodic_aggregated_stats_logger(cls):
- hostname = socket.gethostname()
+ hostname = socket.gethostby... | make host-ip appear consistently in log
logging `socket.hostname() was making the json inconsistent and raising alarms unreliable.
this should fix the situation. | kashifrazzaqui_vyked | train | py |
6ace238632a7c3bb1d3be5861d10a3c04027ae8c | diff --git a/app/decorators/socializer/person_decorator.rb b/app/decorators/socializer/person_decorator.rb
index <HASH>..<HASH> 100644
--- a/app/decorators/socializer/person_decorator.rb
+++ b/app/decorators/socializer/person_decorator.rb
@@ -26,7 +26,7 @@ module Socializer
avatar_provider_array = %w( FACEBOOK L... | no need to pass avatar_provider as an argument | socializer_socializer | train | rb |
144c0689ee9ea7c9651a5dd3536464738aa37d39 | diff --git a/src/Objects/Table.php b/src/Objects/Table.php
index <HASH>..<HASH> 100644
--- a/src/Objects/Table.php
+++ b/src/Objects/Table.php
@@ -181,4 +181,21 @@ class Table
}
+ /**
+ * check if array have a key
+ *
+ * @param array $array
+ * @param mixed $key
+ * @return bool
+ */
+ public static function exi... | add function to check if object has a key | vinala_kernel | train | php |
cd1d81d3f53f1359ba416f28f967b86fdabe0de7 | diff --git a/configyaml/config/dict.py b/configyaml/config/dict.py
index <HASH>..<HASH> 100644
--- a/configyaml/config/dict.py
+++ b/configyaml/config/dict.py
@@ -43,7 +43,7 @@ class DictNode(AbstractNode):
for k, v in self._dict_fields.items():
if 'default' in v:
default = v['def... | pass context and parent in DictNode default instance | dropseed_configyaml | train | py,py |
4c607fdb682157270da726e450e0b6750e46d07e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ class FetchExternal(setuptools.command.install.install):
setup(cmdclass={'install': FetchExternal},
name='python_moztelemetry',
- version='0.3.7.3',
+ version='0.3.7.5',
author='Robert... | Bump the package version (by 2). | mozilla_python_moztelemetry | train | py |
196e788b469656bc44ff390af417f734d57aed9a | diff --git a/PHPDaemon/WebSocket/Traits/DNode.php b/PHPDaemon/WebSocket/Traits/DNode.php
index <HASH>..<HASH> 100755
--- a/PHPDaemon/WebSocket/Traits/DNode.php
+++ b/PHPDaemon/WebSocket/Traits/DNode.php
@@ -122,6 +122,9 @@ trait DNode {
}
public function sendPacket($p) {
+ if (!$this->client) {
+ return;
+ }
... | DNode: added method cleanup() | kakserpom_phpdaemon | train | php |
99ef937ed48a176c8bba4e82f2142033504d4685 | diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/CheckpointedInputGate.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/CheckpointedInputGate.java
index <HASH>..<HASH> 100644
--- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/i... | [hotfix][doc] Remove invalid comment from CheckpointedInputGate
This closes #<I> . | apache_flink | train | java |
f529511fb655d5a41dd406da3d8bfa72cc796e98 | diff --git a/lib/plugins/coffee.js b/lib/plugins/coffee.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/coffee.js
+++ b/lib/plugins/coffee.js
@@ -11,7 +11,7 @@ module.exports = function coffeePlugin(carapace) {
// as necessary so that the .coffee is handled correctly by the `coffee` binary.
//
var... | [fix] coffee plugin should be able to be forced | nodejitsu_haibu-carapace | train | js |
9a4d45aea445a8673013719f200f13cd26e75d95 | diff --git a/lib/datalib.php b/lib/datalib.php
index <HASH>..<HASH> 100644
--- a/lib/datalib.php
+++ b/lib/datalib.php
@@ -2019,7 +2019,7 @@ function get_group_teachers($courseid, $groupid) {
if (($teacher->authority > 0) and ismember($groupid, $teacher->id)) { // Specific group teachers
... | fixed bug <I>, thanks Ilshat Fattakhov; merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
dc49ac42dacf2c07fe68268eebbb39913448fc77 | diff --git a/lib/logger/config-serializer.js b/lib/logger/config-serializer.js
index <HASH>..<HASH> 100644
--- a/lib/logger/config-serializer.js
+++ b/lib/logger/config-serializer.js
@@ -4,6 +4,7 @@ module.exports = configSerializer;
function configSerializer(config) {
const redactedFields = [
+ 'authorization... | fix: add authorization to redacted logger fields | renovatebot_renovate | train | js |
b1fdee47479dfeff0337c50b9551fc065a06ce6d | diff --git a/molgenis-omx-dataexplorer/src/main/resources/js/dataexplorer-data.js b/molgenis-omx-dataexplorer/src/main/resources/js/dataexplorer-data.js
index <HASH>..<HASH> 100644
--- a/molgenis-omx-dataexplorer/src/main/resources/js/dataexplorer-data.js
+++ b/molgenis-omx-dataexplorer/src/main/resources/js/dataexplor... | Region that you query in genome browser is now always highlighted on initialization | molgenis_molgenis | train | js |
0a53b181d96341339fb49dc29dbbe6e374567583 | diff --git a/lib/view_assets/css_assets.rb b/lib/view_assets/css_assets.rb
index <HASH>..<HASH> 100644
--- a/lib/view_assets/css_assets.rb
+++ b/lib/view_assets/css_assets.rb
@@ -1,15 +1,21 @@
module ViewAssets
+ # TODO add rspec examples
class StyleSheetAssets < AssetsFinder
def assets_path
- "#{root_pa... | correct the configuration of css assets finder | bom-d-van_view_assets | train | rb |
48a7ad3374795136859d33f1f07ffbaf0cd69acd | diff --git a/gnupg/gnupg.py b/gnupg/gnupg.py
index <HASH>..<HASH> 100644
--- a/gnupg/gnupg.py
+++ b/gnupg/gnupg.py
@@ -171,11 +171,6 @@ def _make_binary_stream(s, encoding):
rv = StringIO(s)
return rv
-def _today():
- """Get the current date as a string in the form %Y-%m-%d."""
- now_string = date... | Remove function _today() from gnupg.py. | isislovecruft_python-gnupg | train | py |
248b70ec9de642fdf1c622ba699b4fafd4064842 | diff --git a/src/LouisLam/Util.php b/src/LouisLam/Util.php
index <HASH>..<HASH> 100644
--- a/src/LouisLam/Util.php
+++ b/src/LouisLam/Util.php
@@ -22,12 +22,17 @@ class Util
if ($containIndex) {
return $_SERVER["SCRIPT_NAME"] . "/" . $relativePath;
} else {
- return str_replace... | handle url if is not index.php | louislam_louislam-utilities | train | php |
7ab950be165781dd85c847c3e558daa1304c7136 | diff --git a/views/js/qtiItem/core/Loader.js b/views/js/qtiItem/core/Loader.js
index <HASH>..<HASH> 100755
--- a/views/js/qtiItem/core/Loader.js
+++ b/views/js/qtiItem/core/Loader.js
@@ -422,26 +422,8 @@ define([
portableElement.typeIdentifier = data.typeIdentifier;
portableElement.markup = data.marku... | removed automatic parsing of JSON content in interaction properties | oat-sa_extension-tao-itemqti | train | js |
af355df2483680e978e58bb15d6cf505023efe5b | diff --git a/lib/lean_tag/taggable.rb b/lib/lean_tag/taggable.rb
index <HASH>..<HASH> 100644
--- a/lib/lean_tag/taggable.rb
+++ b/lib/lean_tag/taggable.rb
@@ -20,7 +20,7 @@ module LeanTag
define_method "add_#{tag_relation.to_s.singularize}!", ->(tag) { _add_tag!(tag, tag_relation) }
define_method ... | remove_tag! was never being called | waffleau_lean_tag | train | rb |
d3ca4e396814750441434370b1d0630a26133f75 | diff --git a/prove.go b/prove.go
index <HASH>..<HASH> 100644
--- a/prove.go
+++ b/prove.go
@@ -60,7 +60,7 @@ func (v *ProofEngine) PromptRemoteName() (err error) {
for len(v.Username) == 0 && err == nil {
var un string
un, err = v.ProveUI.PromptUsername(v.st.GetPrompt(), prevErr)
- if err != nil {
+ if e... | bugfix for keybase/go-client#<I> | keybase_client | train | go |
6e4d2aff9b644d7dc03922de1a3020a4bd56b346 | diff --git a/lmdb/val.go b/lmdb/val.go
index <HASH>..<HASH> 100644
--- a/lmdb/val.go
+++ b/lmdb/val.go
@@ -40,10 +40,10 @@ func WrapMulti(page []byte, stride int) *Multi {
// Vals returns a slice containing the values in m. The returned slice has
// length m.Len() and each item has length m.Stride().
func (m *Multi... | clean up Multi.Vals by using Multi.Val internally | bmatsuo_lmdb-go | train | go |
16590bd2f1dd0c8eb91b89e5a03f0dfaa24416f0 | diff --git a/lib/mactag/ctags.rb b/lib/mactag/ctags.rb
index <HASH>..<HASH> 100644
--- a/lib/mactag/ctags.rb
+++ b/lib/mactag/ctags.rb
@@ -14,8 +14,19 @@ module Mactag
binary.gsub!('{OUTPUT}', @output)
binary.gsub!('{INPUT}', @input)
-
- system "cd #{Rails.root} && #{binary}"
+
+ exec(bi... | Separate this functionality for easier testing. | rejeep_mactag | train | rb |
9999584456fc636611c667bd3943b09489f73c84 | diff --git a/lib/quality/flay.rb b/lib/quality/flay.rb
index <HASH>..<HASH> 100644
--- a/lib/quality/flay.rb
+++ b/lib/quality/flay.rb
@@ -1,8 +1,9 @@
module Quality
module Flay
- def quality_flay
- private
+ private
+
+ def quality_flay
ratchet_quality_cmd('flay',
... | Fix accidental line location swap of 'private' | apiology_quality | train | rb |
4e21b81a0748f35d66d0c7bc2554d0ad28d1a098 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,6 +1,6 @@
const gulp = require('gulp');
const sass = require('gulp-sass');
-var browserSync = require('browser-sync').create();
+const browserSync = require('browser-sync').create();
// Static server
gulp.... | Uses const to be more consistent | indiana-university_rivet-collapsible | train | js |
87989b4534362af83e11b1031776437ab9d5cc42 | diff --git a/multiqc/modules/mirtrace/mirtrace.py b/multiqc/modules/mirtrace/mirtrace.py
index <HASH>..<HASH> 100755
--- a/multiqc/modules/mirtrace/mirtrace.py
+++ b/multiqc/modules/mirtrace/mirtrace.py
@@ -339,7 +339,7 @@ class MultiqcModule(BaseMultiqcModule):
config = {
'id': 'mirtrace_comple... | Add colon in plot title for complexity plot | ewels_MultiQC | train | py |
cd412f442fe94766a8a0e0b74edd5e61959ca6ab | diff --git a/elytron/src/test/java/org/wildfly/extension/elytron/MappersTestCase.java b/elytron/src/test/java/org/wildfly/extension/elytron/MappersTestCase.java
index <HASH>..<HASH> 100644
--- a/elytron/src/test/java/org/wildfly/extension/elytron/MappersTestCase.java
+++ b/elytron/src/test/java/org/wildfly/extension/el... | [WFCORE-<I>] Remove invalid test with Principal with 'null' name. | wildfly_wildfly-core | train | java |
20cca177728d50a272f905805e6a41261250e206 | diff --git a/abstract.js b/abstract.js
index <HASH>..<HASH> 100644
--- a/abstract.js
+++ b/abstract.js
@@ -235,7 +235,7 @@ ee(Object.defineProperties(PersistenceDriver.prototype, assign({
onAdd = function (obj) {
var observable, value, stamp, objId, sKeys, sValue, data, indexEvent;
obj = resolveObject(obj... | Ensure common return type in internal function | medikoo_dbjs-persistence | train | js |
c3e1ad93bcb17462ff38b9dd0b3be38479c81fc0 | diff --git a/lib/pi_charts.rb b/lib/pi_charts.rb
index <HASH>..<HASH> 100644
--- a/lib/pi_charts.rb
+++ b/lib/pi_charts.rb
@@ -1,3 +1,5 @@
+# I guess I could do a loop, jah feel?
+# Or any other way I guess.
require "pi_charts/version"
require "pi_charts/base"
require "pi_charts/utils"
@@ -7,6 +9,7 @@ require "pi_ch... | Comments, more comments.
Need’em. | picatz_Pi-Charts | train | rb |
3af6b6b0c2c0a025e83fc9c02446c712121a6b7c | diff --git a/lib/active_record_shards/model.rb b/lib/active_record_shards/model.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record_shards/model.rb
+++ b/lib/active_record_shards/model.rb
@@ -9,7 +9,7 @@ module ActiveRecordShards
def is_sharded?
if self == ActiveRecord::Base
- true
+ supp... | AR::Base is only sharded if sharding is supported | zendesk_active_record_shards | train | rb |
ef5d7be0c90c7a2514d8d294feaf6e53931b0252 | diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -472,7 +472,7 @@ class EditorTabWidget(Tabs):
finfo = self.data[index]
editor = finfo.editor
editor.setFocus(... | Editor / fixed Issue <I>: show full path of current script in Editor's dockwidget title | spyder-ide_spyder | train | py |
42d5bb253addc16f84ab2ba5b88325b58d395407 | diff --git a/flask_user/tests/test_db_adapters.py b/flask_user/tests/test_db_adapters.py
index <HASH>..<HASH> 100644
--- a/flask_user/tests/test_db_adapters.py
+++ b/flask_user/tests/test_db_adapters.py
@@ -21,6 +21,7 @@ def test_mongoengine_db_adapter(app):
# Test add_object
user1 = db_adapter.add_object(U... | Added tests for MongoEngineDbAdapter. Increased test coverage. | lingthio_Flask-User | train | py |
957c7816ed0e9847aeaa8a7eedfb5a93de80f307 | diff --git a/project/library/CM/Request/Abstract.php b/project/library/CM/Request/Abstract.php
index <HASH>..<HASH> 100644
--- a/project/library/CM/Request/Abstract.php
+++ b/project/library/CM/Request/Abstract.php
@@ -400,14 +400,17 @@ abstract class CM_Request_Abstract {
* @param array|null $headers
... | t<I>: Method case insensitive; exception thrown | cargomedia_cm | train | php |
2fa846f25248559a413214c5ef2188af2ff7fe45 | diff --git a/logback-site/src/site/pages/templates/footer.js b/logback-site/src/site/pages/templates/footer.js
index <HASH>..<HASH> 100644
--- a/logback-site/src/site/pages/templates/footer.js
+++ b/logback-site/src/site/pages/templates/footer.js
@@ -21,7 +21,7 @@ AAT = '@'
DOOTT = '.'
document.write('<tr>')
docume... | - added a link to the article on making contributions. | tony19_logback-android | train | js |
05aa4cdd39fbe2a40075dd8e00eb53593237052c | diff --git a/transmute_core/tests/frameworks/test_aiohttp/__init__.py b/transmute_core/tests/frameworks/test_aiohttp/__init__.py
index <HASH>..<HASH> 100644
--- a/transmute_core/tests/frameworks/test_aiohttp/__init__.py
+++ b/transmute_core/tests/frameworks/test_aiohttp/__init__.py
@@ -1,4 +1,2 @@
import pytest
-impor... | minor: fixed python<I> unit tests
aiohttp's test files we're still loading during pytest execution. skipif doesn't
prevent loading of aiohttp conftest.py files, resulting in SyntaxErrors being raised
during collection.
Using pytest_ignore_collect and moving import of aiohttp files to inline imports
solves the issue. | toumorokoshi_transmute-core | train | py,py |
6a188f07bfe7ad5db211f9ba8fe7abf0de5d3fcb | diff --git a/src/index.test.js b/src/index.test.js
index <HASH>..<HASH> 100644
--- a/src/index.test.js
+++ b/src/index.test.js
@@ -1,9 +1,10 @@
import _ from 'lodash';
-import eventInfoPlugin from './index';
import * as miniPlugins from './plugins';
import * as eventSamples from './eventSamples';
+const eventInf... | style(index.test.js): Fix lint issue with /index (#8) | iopipe_iopipe-js-event-info | train | js |
74bd40b465e2749a3be93797ccf3bf31da6ee187 | diff --git a/pmxbot/core.py b/pmxbot/core.py
index <HASH>..<HASH> 100644
--- a/pmxbot/core.py
+++ b/pmxbot/core.py
@@ -251,7 +251,10 @@ class LoggingCommandBot(irc.bot.SingleServerIRCBot):
)
executor(howlong, self.background_runner, arguments)
for action in _at_registry:
- self._schedule_at(connection, *ac... | Log an exception when failing to schedule an action. | yougov_pmxbot | train | py |
9164cf0954d1c932918cb4139935fd66d643a51e | diff --git a/tests/test_pdf.py b/tests/test_pdf.py
index <HASH>..<HASH> 100644
--- a/tests/test_pdf.py
+++ b/tests/test_pdf.py
@@ -2,10 +2,11 @@
Testing focused on pikepdf.Pdf
"""
+import locale
import os
import shutil
import sys
-from io import StringIO, BytesIO
+from io import BytesIO, StringIO
from pathlib i... | tests: fix possible issue when running tests in non-Unicode environment | pikepdf_pikepdf | train | py |
61a1b918c7e06522711908db29d5f69a1edb43fa | diff --git a/src/Laracasts/TestDummy/EloquentDatabaseProvider.php b/src/Laracasts/TestDummy/EloquentDatabaseProvider.php
index <HASH>..<HASH> 100644
--- a/src/Laracasts/TestDummy/EloquentDatabaseProvider.php
+++ b/src/Laracasts/TestDummy/EloquentDatabaseProvider.php
@@ -19,7 +19,7 @@ class EloquentDatabaseProvider impl... | Fall back to Laravel 4 friendly force filling | laracasts_TestDummy | train | php |
87681b8e6a9d8799529e275f5b5a40dc0bff59f5 | diff --git a/Runnable/EventsGenerator/CallableEventsGenerator.php b/Runnable/EventsGenerator/CallableEventsGenerator.php
index <HASH>..<HASH> 100644
--- a/Runnable/EventsGenerator/CallableEventsGenerator.php
+++ b/Runnable/EventsGenerator/CallableEventsGenerator.php
@@ -6,7 +6,7 @@ class CallableEventsGenerator impleme... | fix(CallableEventsGenerator): return the result of the produce call | wizbii_pipeline | train | php |
738c40259c3c758abc86636f98dcf59eddac9061 | diff --git a/tile_generator/bosh.py b/tile_generator/bosh.py
index <HASH>..<HASH> 100644
--- a/tile_generator/bosh.py
+++ b/tile_generator/bosh.py
@@ -76,9 +76,8 @@ class BoshRelease:
return self.build_tarball()
def download_tarball(self):
- # TODO - Figure out why some releases aren't pulled from the cache
... | Cleaned up path name to fix caching issue | cf-platform-eng_tile-generator | train | py |
7008df1a9fcb61d7b0ec381daff72535adafb0f4 | diff --git a/lib/podio/areas/conversation.rb b/lib/podio/areas/conversation.rb
index <HASH>..<HASH> 100644
--- a/lib/podio/areas/conversation.rb
+++ b/lib/podio/areas/conversation.rb
@@ -27,10 +27,10 @@ module Podio
response.body
end
- def create_reply(conversation_id, text)
+ def create_reply(c... | Add file_ids support to conversation replies | podio_podio-rb | train | rb |
0f40b6748bc0866b2481eace810e8dd9c5dec132 | diff --git a/asciimatics/widgets.py b/asciimatics/widgets.py
index <HASH>..<HASH> 100644
--- a/asciimatics/widgets.py
+++ b/asciimatics/widgets.py
@@ -167,7 +167,8 @@ class Frame(Effect):
within your Frame.
"""
- # Colour palette for the widgets within the Frame.
+ #: Colour palette for the widgets wi... | Add palette to auto-generated docs | peterbrittain_asciimatics | train | py |
8168056890f8f95b7a509c574e97e0a51f0a2322 | diff --git a/test/transform.js b/test/transform.js
index <HASH>..<HASH> 100644
--- a/test/transform.js
+++ b/test/transform.js
@@ -53,8 +53,8 @@ describe('Transform stream', function () {
t.on('end', function () {
assert(gotBytes);
- assert(gotBytes);
- assert(gotBytes);
+ assert(gotPassthr... | test: check all the variables in Transform test
Before `gotBytes` was being checked 3 times in a row.
Closes #1. | TooTallNate_node-stream-parser | train | js |
089ae2c88b4db4d92d818c1fe55a0a3fc11748d8 | diff --git a/lib/helpers/sunomono_helpers.rb b/lib/helpers/sunomono_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/helpers/sunomono_helpers.rb
+++ b/lib/helpers/sunomono_helpers.rb
@@ -149,7 +149,7 @@ end
def framework_avaliable?(framework)
if framework.downcase != 'calabash' && framework.downcase != 'appium'
-... | Adjust on platform validation on command new project | concretesolutions_sunomono | train | rb,rb |
2a4afe0699d6ec9b360f789c2138fc6d032c2440 | diff --git a/lib/html-proofer/configuration.rb b/lib/html-proofer/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/html-proofer/configuration.rb
+++ b/lib/html-proofer/configuration.rb
@@ -34,6 +34,7 @@ module HTMLProofer
:headers => {
'User-Agent' => "Mozilla/5.0 (compatible; HTML Proofer/#{HTMLP... | Set Typhoeus connection timeout, fixes #<I>, #<I> | gjtorikian_html-proofer | train | rb |
8fa4275a72c334fe945dada6113fa0153ca28c87 | diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/test_process.rb
+++ b/actionpack/lib/action_controller/test_process.rb
@@ -110,6 +110,7 @@ module ActionController #:nodoc:
end
... | Reset request_parameters in TestRequest#recycle! to avoid multiple posts clobbering each other [#<I> state:resolved] | rails_rails | train | rb,rb |
833ee24710496d317a03b0f0b9f61df31291d75b | diff --git a/zhaquirks/xiaomi/__init__.py b/zhaquirks/xiaomi/__init__.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/xiaomi/__init__.py
+++ b/zhaquirks/xiaomi/__init__.py
@@ -186,8 +186,9 @@ class BasicCluster(CustomCluster, Basic):
@staticmethod
def _calculate_remaining_battery_percentage(voltage):
... | Fix Xiaomi sensors battery level (#<I>)
* Fix Xiaomi sensors battery level
According to <URL> | dmulcahey_zha-device-handlers | train | py |
d824ea415d050f5b41ce7eb680b137de653c843e | diff --git a/git.go b/git.go
index <HASH>..<HASH> 100644
--- a/git.go
+++ b/git.go
@@ -10,6 +10,7 @@ import (
"bytes"
"unsafe"
"strings"
+ "fmt"
)
const (
@@ -107,6 +108,9 @@ func (e GitError) Error() string{
func LastError() error {
err := C.giterr_last()
+ if err == nil {
+ return &GitError{"No messag... | Catch nil error instances
Unfortunately libgit2 sometimes returns an error without setting an
error message. Provide an alternative message instead of trying to
dereference nil. | libgit2_git2go | train | go |
7293125a8933c38f59e9b777efcc1652ea9272f9 | diff --git a/model/QtiJsonItemCompiler.php b/model/QtiJsonItemCompiler.php
index <HASH>..<HASH> 100644
--- a/model/QtiJsonItemCompiler.php
+++ b/model/QtiJsonItemCompiler.php
@@ -88,7 +88,7 @@ class QtiJsonItemCompiler extends QtiItemCompiler
$qtiItem = $this->retrieveAssets($item, $language, $publicDirect... | Removing empty item compilation failure as it is too much greedy. | oat-sa_extension-tao-itemqti | train | php |
85ea7e8575bb0f9a2fac989f26970809b36640a4 | diff --git a/airflow/contrib/hooks/gcp_dataflow_hook.py b/airflow/contrib/hooks/gcp_dataflow_hook.py
index <HASH>..<HASH> 100644
--- a/airflow/contrib/hooks/gcp_dataflow_hook.py
+++ b/airflow/contrib/hooks/gcp_dataflow_hook.py
@@ -273,7 +273,7 @@ class DataFlowHook(GoogleCloudBaseHook):
# https://cloud.google.... | [AIRFLOW-<I>] set network, subnetwork when launching dataflow template (#<I>) | apache_airflow | train | py |
44eb20268b69f79fdd30348f87a260532354fd19 | diff --git a/src/lib/_partials/.meta.realm.js b/src/lib/_partials/.meta.realm.js
index <HASH>..<HASH> 100644
--- a/src/lib/_partials/.meta.realm.js
+++ b/src/lib/_partials/.meta.realm.js
@@ -20,7 +20,7 @@ module.exports = exports = (kvp, options) => {
}
return {
- key: kvp.key + ">main",
+ key: kvp.key,
... | Removed 'main' partial dependency | lynx-json_lynx-docs | train | js |
6b9a4ae125b35bd32b201481f6e2390af2be9a74 | diff --git a/tests/test_jwt.py b/tests/test_jwt.py
index <HASH>..<HASH> 100644
--- a/tests/test_jwt.py
+++ b/tests/test_jwt.py
@@ -1,13 +1,13 @@
from __future__ import unicode_literals
+import json
+import sys
+import time
+
from calendar import timegm
from datetime import datetime
from decimal import Decimal
-... | Fix test_encode_decode_with_ecdsa_sha<I> so that it actually uses the key its trying to use when using a SSH public key as a string argument to decode() | jpadilla_pyjwt | train | py |
37a8bda4b249fee1bfec8d439936d8d1b971ccd8 | diff --git a/zipline/finance/performance.py b/zipline/finance/performance.py
index <HASH>..<HASH> 100644
--- a/zipline/finance/performance.py
+++ b/zipline/finance/performance.py
@@ -166,15 +166,23 @@ class PerformanceTracker():
self.result_stream = None
self.last_dict = None
... | fixed bogus initial portfolio value (should be zero). | quantopian_zipline | train | py |
1c00f741c2e92002c45cf42b69dee0bc8dd549da | diff --git a/optlang/cplex_interface.py b/optlang/cplex_interface.py
index <HASH>..<HASH> 100644
--- a/optlang/cplex_interface.py
+++ b/optlang/cplex_interface.py
@@ -93,7 +93,7 @@ _CPLEX_STATUS_TO_STATUS = {
cplex.Cplex.solution.status.num_best: interface.NUMERIC,
cplex.Cplex.solution.status.optimal: interfa... | fix: treat "optimal_infeasible" as infeasible
“optimal with unscaled infeasibilities” occurs when the scaled problem
is solved within tolerance, but the optimal solution is outside the
unscaled tolerance. This situation is now interpreted as infeasible. | biosustain_optlang | train | py |
22ed8220424b84f371437ee9ab36a993ed4d2b40 | diff --git a/omgeo/services/base.py b/omgeo/services/base.py
index <HASH>..<HASH> 100644
--- a/omgeo/services/base.py
+++ b/omgeo/services/base.py
@@ -14,7 +14,8 @@ logger = logging.getLogger(__name__)
class UpstreamResponseInfo():
"""
Description of API call result from an upstream provider.
- For cleani... | add repr method to geocoder info class | azavea_python-omgeo | train | py |
7b1ade4aa2cc9af778457d2ac6ba857bfe6dd819 | diff --git a/packages/angularjs-workorder/lib/workorder-list/workorder-list-controller.js b/packages/angularjs-workorder/lib/workorder-list/workorder-list-controller.js
index <HASH>..<HASH> 100644
--- a/packages/angularjs-workorder/lib/workorder-list/workorder-list-controller.js
+++ b/packages/angularjs-workorder/lib/w... | Filter also by title field in workorders in portal (#<I>) | feedhenry-raincatcher_raincatcher-angularjs | train | js |
141cd2a6482c00e713cf1279a57edf795f8d62f0 | diff --git a/mtools/test/test_mlaunch.py b/mtools/test/test_mlaunch.py
index <HASH>..<HASH> 100644
--- a/mtools/test/test_mlaunch.py
+++ b/mtools/test/test_mlaunch.py
@@ -76,7 +76,7 @@ class TestMLaunch(object):
if arg_str.startswith('init') or arg_str.startswith('--'):
# add --port and ... | removed --oplogSize from tests, config servers don't like it. | rueckstiess_mtools | train | py |
4fd96c9cf8688adf5e77d8ddcbe767802dea1ffb | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -1,4 +1,5 @@
var fs = require('fs');
+var jsesc = require('jsesc');
var parse = require('../parser').parse;
@@ -32,7 +33,13 @@ parseTests.forEach(function(re, idx) {
var resuls = parseResult[idx]... | Need to use jsesc in test/index.js as well | jviereck_regjsparser | train | js |
cf47e8e3379f224561244e38f71169651a134498 | diff --git a/templates/forms/affiliation.php b/templates/forms/affiliation.php
index <HASH>..<HASH> 100644
--- a/templates/forms/affiliation.php
+++ b/templates/forms/affiliation.php
@@ -221,8 +221,8 @@
<?php endif ?>
</div>
... | [affiliation-confirmation] [bug] [fix] Fixed a bug. The label's `for` attribute is expecting an ID not a name. | Freemius_wordpress-sdk | train | php |
15b8b7a8511b41e2afb79e01bddef6938e78d991 | diff --git a/airflow/models.py b/airflow/models.py
index <HASH>..<HASH> 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -1700,7 +1700,7 @@ class TaskInstance(Base, LoggingMixin):
class VariableAccessor:
"""
Wrapper around Variable. This way you can get variables in templates... | [AIRFLOW-<I>] Elaborate on slightly ambiguous documentation
Closes #<I> from AetherUnbound/bugfix/var-doc-
reference | apache_airflow | train | py |
6f06f9737e319f88af873dc6162c6669a3d3b3e9 | diff --git a/tests/aws/models/elb/model_tests.rb b/tests/aws/models/elb/model_tests.rb
index <HASH>..<HASH> 100644
--- a/tests/aws/models/elb/model_tests.rb
+++ b/tests/aws/models/elb/model_tests.rb
@@ -110,6 +110,8 @@ Shindo.tests('AWS::ELB | models', ['aws', 'elb']) do
end
server = Fog::Compute[:aws].serv... | [aws|elb] wait_for server to be ready? before register | fog_fog | train | rb |
74981ffb0a194a52d9b5914a7337c7cfd969f1a7 | diff --git a/design/dsl/type.go b/design/dsl/type.go
index <HASH>..<HASH> 100644
--- a/design/dsl/type.go
+++ b/design/dsl/type.go
@@ -61,6 +61,10 @@ func Type(name string, dsl func()) *design.UserTypeDefinition {
// })
// Payload(ArrayOf(Bottle)) // Equivalent to Payload(Bottles)
// })
+//
+// If you are looking... | Added note to refer to CollectionOf, was looking for it.. and it's quite
similar in concept to ArrayOf. | goadesign_goa | train | go |
0c35672c93ef9c11d0614fa7b5b4e83e51c695b9 | diff --git a/Security/OAuth/Exception/BadResponseException.php b/Security/OAuth/Exception/BadResponseException.php
index <HASH>..<HASH> 100644
--- a/Security/OAuth/Exception/BadResponseException.php
+++ b/Security/OAuth/Exception/BadResponseException.php
@@ -31,7 +31,7 @@ class BadResponseException extends \LogicExcept... | Enhance bad response exception CS. | DarvinStudio_DarvinAdminBundle | train | php |
970261565d6205debfb09a12c1060769d6be87e1 | diff --git a/olctools/databasesetup/get_rmlst.py b/olctools/databasesetup/get_rmlst.py
index <HASH>..<HASH> 100644
--- a/olctools/databasesetup/get_rmlst.py
+++ b/olctools/databasesetup/get_rmlst.py
@@ -51,7 +51,10 @@ class Get(object):
# Remove and dashes or 'N's from the sequence data - makeblast... | Added try/except if the sequence data is bytes-encoded | lowandrew_OLCTools | train | py |
48d6ddde5a1ed7c13c5860f386e277c0091b889b | diff --git a/src/local/local.go b/src/local/local.go
index <HASH>..<HASH> 100644
--- a/src/local/local.go
+++ b/src/local/local.go
@@ -1,11 +1,10 @@
package main
import (
- "shadowsocks"
- "net"
- "bytes"
- "log"
"fmt"
+ "log"
+ "net"
+ "shadowsocks"
)
func handleConnection(conn net.Conn, encryptTable, decryp... | Convert []byte to string directly. | shadowsocks_shadowsocks-go | train | go |
33ef94deec43002b6cadb97b9f67057af074605c | diff --git a/test/unit/transforms/transformsFactory.test.js b/test/unit/transforms/transformsFactory.test.js
index <HASH>..<HASH> 100644
--- a/test/unit/transforms/transformsFactory.test.js
+++ b/test/unit/transforms/transformsFactory.test.js
@@ -44,7 +44,6 @@ describe('transformsFactory', () => {
test('createTran... | - removed console
:goose: | redco_goose-parser | train | js |
53ac847e9ae01a4347c685e49145fc191113d784 | diff --git a/Kwc/Form/Component.js b/Kwc/Form/Component.js
index <HASH>..<HASH> 100644
--- a/Kwc/Form/Component.js
+++ b/Kwc/Form/Component.js
@@ -209,7 +209,6 @@ Ext.extend(Kwc.Form.Component, Ext.util.Observable, {
if (!hasErrors) {
// Scroll to top of form
s... | Form: don't fire submitSuccess event twice | koala-framework_koala-framework | train | js |
9caef163de18300103b6a5a94c27670b2d233685 | diff --git a/validator/sawtooth_validator/database/lmdb_nolock_database.py b/validator/sawtooth_validator/database/lmdb_nolock_database.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/database/lmdb_nolock_database.py
+++ b/validator/sawtooth_validator/database/lmdb_nolock_database.py
@@ -50,6 +50,7 @@... | Disable LMDB read ahead caching for LMDBNoLockDatabase | hyperledger_sawtooth-core | train | py |
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.