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 |
|---|---|---|---|---|---|
551e7eaa3574ebc8a87ad81b71403fa462d93ed9 | diff --git a/includes/Carbon_Breadcrumb_Trail_Renderer.php b/includes/Carbon_Breadcrumb_Trail_Renderer.php
index <HASH>..<HASH> 100644
--- a/includes/Carbon_Breadcrumb_Trail_Renderer.php
+++ b/includes/Carbon_Breadcrumb_Trail_Renderer.php
@@ -385,7 +385,7 @@ class Carbon_Breadcrumb_Trail_Renderer {
* @param bool $re... | make sure trail, called in renderer is an instance of the proper class | tyxla_carbon-breadcrumbs | train | php |
78471f809521522a88481d1721a9684fcab41a9f | diff --git a/salt/modules/nilrt_ip.py b/salt/modules/nilrt_ip.py
index <HASH>..<HASH> 100644
--- a/salt/modules/nilrt_ip.py
+++ b/salt/modules/nilrt_ip.py
@@ -156,7 +156,9 @@ def _get_service_info(service):
state = service_info.get_property('State')
if state == 'ready' or state == 'online':
data['up'... | modules/nilrt_ip.py: Add default value for gateway
In case that connman cannot provide a default gateway, then this should
have a default value (<I>) to keep consistency between various ip
modules. | saltstack_salt | train | py |
1108173df60c955f82a84cd1ef932af1ed6882a4 | diff --git a/message/system_info.go b/message/system_info.go
index <HASH>..<HASH> 100644
--- a/message/system_info.go
+++ b/message/system_info.go
@@ -18,6 +18,7 @@ import (
type SystemInfo struct {
Message string `json:"message" bson:"message"`
CPU StatCPUTimes `json:"cpu" bson:"... | MAKE-<I>: add cpu percent back into stats (#<I>) | mongodb_grip | train | go |
8fa57b8e0ef4c0afaaae3268822d752f37e54589 | diff --git a/src/qjax.js b/src/qjax.js
index <HASH>..<HASH> 100644
--- a/src/qjax.js
+++ b/src/qjax.js
@@ -100,10 +100,10 @@
}
}
, text : function (deferred) {
- deferred.resolve(this[responseText])
+ deferred.resolve(String(this[responseText]))
}
, htm... | handle text and html responses a little differently | geowa4_pajamas | train | js |
73e7f9161a7171774c1fb01a09d4c6344b41b917 | diff --git a/bin/ampersand-jsonapi-model.js b/bin/ampersand-jsonapi-model.js
index <HASH>..<HASH> 100644
--- a/bin/ampersand-jsonapi-model.js
+++ b/bin/ampersand-jsonapi-model.js
@@ -337,7 +337,11 @@ var JSONAPIModel = _ampersandModel2.default.extend(_ampersandJsonapiAjaxconfig2.
serialize: function serialize() {
... | do not get children/collections as attributes in serialize | bobholt_ampersand-jsonapi-model | train | js,js |
5858c8cfcd8473e62c965c2fb626d61d1ffa89c9 | diff --git a/routing.go b/routing.go
index <HASH>..<HASH> 100644
--- a/routing.go
+++ b/routing.go
@@ -115,8 +115,26 @@ func (dht *IpfsDHT) Provide(ctx context.Context, key u.Key) error {
return nil
}
-// FindProvidersAsync runs FindProviders and sends back results over a channel
+// NB: not actually async. Used t... | fix(routing:dht) implement FindProvidersAsync in terms of FindProviders
until construction is complete on the actual async method
reverts changes from ec<I>f<I>f0bad<I>cc<I>ab<I>a<I>
<URL> | libp2p_go-libp2p-kad-dht | train | go |
f9204ebe7cbf375131d99d8256aa2e4744c18f12 | diff --git a/cake/dispatcher.php b/cake/dispatcher.php
index <HASH>..<HASH> 100644
--- a/cake/dispatcher.php
+++ b/cake/dispatcher.php
@@ -611,8 +611,9 @@ class Dispatcher extends Object {
App::import('View', 'Media', false);
$Media = new MediaView();
$ext = array_pop(explode('.', $url));
-
+
if (iss... | Adding $pos = 0; to avoid php notice. | cakephp_cakephp | train | php |
048ccc473a934ca27215a4114d2e6892ba93521e | diff --git a/mod/forum/search.php b/mod/forum/search.php
index <HASH>..<HASH> 100644
--- a/mod/forum/search.php
+++ b/mod/forum/search.php
@@ -65,6 +65,9 @@
error("Could not find forum $discussion->forum");
}
+ $post->subject = highlight("$search", $post->subject);... | Highlight matches in post subject and discussion name too | moodle_moodle | train | php |
53a5209285f032170267aec71b265eef28d75c81 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -50,15 +50,13 @@ setup(
'Source': 'https://github.com/sepandhaghighi/pycm',
},
install_requires=get_requires(),
- python_requires='>=2.7',
+ python_requires='>=3.5',
classifiers=[
'Develo... | fix : minor edit in setup.py | sepandhaghighi_pycm | train | py |
a0a81fb927c89579ac3d2a28d19a14702419da46 | diff --git a/tests/test_actionAngle.py b/tests/test_actionAngle.py
index <HASH>..<HASH> 100644
--- a/tests/test_actionAngle.py
+++ b/tests/test_actionAngle.py
@@ -1647,7 +1647,7 @@ def test_actionAngleStaeckel_conserved_actions_c():
FlattenedPowerPotential, interpRZPotential, KuzminDiskPotential, \
Tr... | Add test of actions of TriaxialGaussianPotential | jobovy_galpy | train | py |
d760eb6854d452493e8eb908907cb31d5fbf7e62 | diff --git a/src/GrumPHP/Task/Phpcs.php b/src/GrumPHP/Task/Phpcs.php
index <HASH>..<HASH> 100644
--- a/src/GrumPHP/Task/Phpcs.php
+++ b/src/GrumPHP/Task/Phpcs.php
@@ -22,6 +22,10 @@ class Phpcs extends AbstractExternalTask
*/
public function run(array $files)
{
+ if (0 === count($files)) {
+ ... | Phpcs needs files to check | phpro_grumphp | train | php |
02cf79a156dfd57a1856d54e2f7ac30748e94662 | diff --git a/src/Orchestra/Story/Routing/PostController.php b/src/Orchestra/Story/Routing/PostController.php
index <HASH>..<HASH> 100644
--- a/src/Orchestra/Story/Routing/PostController.php
+++ b/src/Orchestra/Story/Routing/PostController.php
@@ -41,7 +41,7 @@ class PostController extends ContentController {
retur... | Additional commit that belong to f<I>b9. | orchestral_story | train | php |
130958dde711e8870c5b72dc4f8b9b2d9d8f9c77 | diff --git a/dropwizard-core/src/main/java/com/yammer/dropwizard/config/HttpConfiguration.java b/dropwizard-core/src/main/java/com/yammer/dropwizard/config/HttpConfiguration.java
index <HASH>..<HASH> 100644
--- a/dropwizard-core/src/main/java/com/yammer/dropwizard/config/HttpConfiguration.java
+++ b/dropwizard-core/src... | Fix acceptorThreadCount default to Jetty's. | dropwizard_dropwizard | train | java |
9ef8e5d9521f19188f80630087ece3738df2f63f | diff --git a/steam/client/__init__.py b/steam/client/__init__.py
index <HASH>..<HASH> 100644
--- a/steam/client/__init__.py
+++ b/steam/client/__init__.py
@@ -516,6 +516,10 @@ class SteamClient(CMClient, BuiltinBase):
self.send(message)
resp = self.wait_msg(EMsg.ClientLogOnResponse, timeout=30)
+
+ ... | SteamClient: hold on return from login()
Allows the client to fully login, and won't be kicked off when
it sends a message immediately after login() returns | ValvePython_steam | train | py |
93af3fd853ad23a4a93b16f10c15e7fee4c28035 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -1,10 +1,10 @@
package main
import (
- "fmt"
"os"
"github.com/bosh-ops/bosh-install/aws-cli"
+ "github.com/bosh-ops/bosh-install/azure-cli"
"github.com/codegangsta/cli"
)
@@ -15,12 +15,10 @@ func main() {
app.Vers... | [#<I>] adding azure to cli | enaml-ops_omg-cli | train | go |
04bace8247a4e927609c6bc93b9c59e8c72d93d7 | diff --git a/nano.js b/nano.js
index <HASH>..<HASH> 100644
--- a/nano.js
+++ b/nano.js
@@ -766,6 +766,24 @@ module.exports = exports = nano = function database_module(cfg) {
}
/*
+ * calls a spatial view
+ *
+ * @param {design_name:string} design document name
+ * @param {spatial_name:string} sp... | Added spatial views for GeoCouch | cloudant_nodejs-cloudant | train | js |
41fd2dce91033e7948eccb71c0797cb51c813d9c | diff --git a/app/modules/invitational/invitation_core.rb b/app/modules/invitational/invitation_core.rb
index <HASH>..<HASH> 100644
--- a/app/modules/invitational/invitation_core.rb
+++ b/app/modules/invitational/invitation_core.rb
@@ -47,7 +47,9 @@ module Invitational
end
def role
- super.to_sym
+ ... | Bug fix for condition that role is nil | the-refinery_invitational | train | rb |
8e4b8bab29261b5d783cf5f7d505ed4370c51924 | diff --git a/web/static/scripts/redisCommander.js b/web/static/scripts/redisCommander.js
index <HASH>..<HASH> 100644
--- a/web/static/scripts/redisCommander.js
+++ b/web/static/scripts/redisCommander.js
@@ -18,7 +18,7 @@ function loadTree () {
if (data.connections) {
data.connections.every(functio... | rename some functions to be clear about usage for jstree plugin instead of json formatted display of data | joeferner_redis-commander | train | js |
266938399734368a003e2ea4e64fef6adeeabc81 | diff --git a/src/Application/Application.php b/src/Application/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application/Application.php
+++ b/src/Application/Application.php
@@ -29,7 +29,7 @@ use vxPHP\User\RoleHierarchy;
* allows access to various configured components
*
* @author Gregor Kofler
- * @ver... | Bugfix: Application::setRelativeAssetsPath() created an erroneous trailing slash with empty paths | Vectrex_vxPHP | train | php |
80e0acee3b58a1b50719e19b87b631c8a17d6ea9 | diff --git a/packages/ember-views/lib/mixins/view_support.js b/packages/ember-views/lib/mixins/view_support.js
index <HASH>..<HASH> 100644
--- a/packages/ember-views/lib/mixins/view_support.js
+++ b/packages/ember-views/lib/mixins/view_support.js
@@ -316,12 +316,12 @@ export default Mixin.create({
willInsertElement:... | [DOC release] Update `didInsertElement` documentation.
It was still mentioned that `didInsertElement` was called both on
first render but also in re-renders.
I also tried to simplify the last sentence of the documentation
to remove the idea of bubbling and thus, of re-triggering the
parent `didInsertElement` on child ... | emberjs_ember.js | train | js |
f6fda41f3d2d91f8a587f1aa4cfcb6925f9e5281 | diff --git a/lib/google_business_api_url_signer/version.rb b/lib/google_business_api_url_signer/version.rb
index <HASH>..<HASH> 100644
--- a/lib/google_business_api_url_signer/version.rb
+++ b/lib/google_business_api_url_signer/version.rb
@@ -1,3 +1,3 @@
module GoogleBusinessApiUrlSigner
- VERSION = "0.1.0"
+ VERSIO... | Bumped version to <I>. | Skalar_google_business_api_url_signer | train | rb |
8018f2aa0db3081a280accf8765ff9bf749d544f | diff --git a/tests/frontend/org/voltdb/planner/TestPlansSubQueries.java b/tests/frontend/org/voltdb/planner/TestPlansSubQueries.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/planner/TestPlansSubQueries.java
+++ b/tests/frontend/org/voltdb/planner/TestPlansSubQueries.java
@@ -2170,8 +2170,8 @@ public ... | Sorry, I got the wrong ticket number. | VoltDB_voltdb | train | java |
646b2fc766d676c2d32f8f8156a328513110b801 | diff --git a/src/Nether/Object/Datastore.php b/src/Nether/Object/Datastore.php
index <HASH>..<HASH> 100755
--- a/src/Nether/Object/Datastore.php
+++ b/src/Nether/Object/Datastore.php
@@ -464,7 +464,7 @@ implements Iterator, ArrayAccess, Countable, JsonSerializable {
boolean false.
//*/
- return array_search($Val... | well that was embarassing. | netherphp_object | train | php |
391ba26f0d7b789deae653d03eff68078abf7b14 | diff --git a/tests/ProxyManagerTest/ProxyGenerator/RemoteObject/MethodGenerator/RemoteObjectMethodTest.php b/tests/ProxyManagerTest/ProxyGenerator/RemoteObject/MethodGenerator/RemoteObjectMethodTest.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyManagerTest/ProxyGenerator/RemoteObject/MethodGenerator/RemoteObjectMeth... | Providing IDE hints for mocks | Ocramius_ProxyManager | train | php |
4bc3f8884e2b1ae195ab767d4029e6344926a8da | diff --git a/app/src/Bolt/Application.php b/app/src/Bolt/Application.php
index <HASH>..<HASH> 100644
--- a/app/src/Bolt/Application.php
+++ b/app/src/Bolt/Application.php
@@ -143,8 +143,8 @@ class Application extends Silex\Application
// set utf8 on names and connection as all tables has this charset
... | Changed order of MySQL SET CHARACTER queries
Fixes #<I>
This solution is preventing fatal errors for newer MySQL servers, see issue notes. | bolt_bolt | train | php |
b0243f6baebc56b6d36ec715eb09475f9faf3c66 | diff --git a/hdf5storage/__init__.py b/hdf5storage/__init__.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/__init__.py
+++ b/hdf5storage/__init__.py
@@ -1700,8 +1700,9 @@ class File(collections.abc.MutableMapping):
def close(self):
""" Closes the file. """
with self._lock:
- self._fi... | Fixed crash in File.close when the file hasn't been opened yet. | frejanordsiek_hdf5storage | train | py |
46642b2748312f8c8924408b031c82c79eb18a3c | diff --git a/views/js/layout/search.js b/views/js/layout/search.js
index <HASH>..<HASH> 100644
--- a/views/js/layout/search.js
+++ b/views/js/layout/search.js
@@ -49,7 +49,8 @@ define(['jquery', 'layout/actions', 'ui/searchModal', 'core/store', 'context', '
};
/**
- * Sets events to init searchModal ins... | chore(keyboard-navigation): implemented opening search modal by ctrl + k shortcut | oat-sa_tao-core | train | js |
3a3004a183fd0d70e57b9c9d1b92763b2962d09e | diff --git a/troposphere/sqs.py b/troposphere/sqs.py
index <HASH>..<HASH> 100644
--- a/troposphere/sqs.py
+++ b/troposphere/sqs.py
@@ -34,6 +34,12 @@ class Queue(AWSObject):
'VisibilityTimeout': (integer, False),
}
+ def validate(self):
+ if self.properties.get('FifoQueue'):
+ if no... | Check that FIFO Queues end with .fifo (#<I>)
Add a validate() method in sqs.py that checks that FIFO queues
(*) have a QueueName parameter and (*) QueueName ends with '.fifo'
as required by AWS:
<URL> | cloudtools_troposphere | train | py |
50dbe5f47443ad12483c27a05aafa86dd539ff3e | diff --git a/list.go b/list.go
index <HASH>..<HASH> 100644
--- a/list.go
+++ b/list.go
@@ -38,6 +38,18 @@ type containerState struct {
var listCommand = cli.Command{
Name: "list",
Usage: "lists containers started by runc with the given root",
+ ArgsUsage: `
+
+Where the given root is specified via the global opti... | address issue #<I> by adding additional documentation | opencontainers_runc | train | go |
d494487a5966b0cc557f9f299db1826ff94f2812 | diff --git a/pystache/renderer.py b/pystache/renderer.py
index <HASH>..<HASH> 100644
--- a/pystache/renderer.py
+++ b/pystache/renderer.py
@@ -1,7 +1,7 @@
# coding: utf-8
"""
-This module provides a Template class.
+This module provides a Renderer class to render templates.
""" | Tweaked another docstring. | defunkt_pystache | train | py |
08ea3caea52d5e3ce1ee358db352ce53fa7dddbc | diff --git a/lib/serve.js b/lib/serve.js
index <HASH>..<HASH> 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -37,7 +37,10 @@ module.exports = {
_newExpressApp(funcConfs) {
const app = express();
- app.use(bodyParser.json({ limit: '5mb' }));
+ app.use(bodyParser.json({
+ limit: '5mb',
+ type: ... | Parse as JSON only requests with proper content-type #<I> | serverless-heaven_serverless-webpack | train | js |
03059c3a049953324f5a5fb2b7e9cfed7fc4e37f | diff --git a/spyderlib/plugins/configdialog.py b/spyderlib/plugins/configdialog.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/configdialog.py
+++ b/spyderlib/plugins/configdialog.py
@@ -700,7 +700,7 @@ class MainConfigPage(GeneralConfigPage):
popup_console_box = newcb(_("Pop up internal console when e... | The option "Pop up internal console when errors were intercepted" is now enabled
by default, to avoid ignoring tracebacks. | spyder-ide_spyder | train | py |
047832478af8d893d01174075375f0984ad75bc8 | diff --git a/test/Version/CollectionTest.php b/test/Version/CollectionTest.php
index <HASH>..<HASH> 100644
--- a/test/Version/CollectionTest.php
+++ b/test/Version/CollectionTest.php
@@ -63,7 +63,7 @@ class CollectionTest extends BaseTestCase
{
$instance = new Collection();
$this->assertInstanceO... | Fixed a test for PHP <I> compatibility. | baleen_migrations | train | php |
9f627956e6e84dcb79e95baefba525639ff75a8f | diff --git a/lib/junit/plugin.rb b/lib/junit/plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/junit/plugin.rb
+++ b/lib/junit/plugin.rb
@@ -39,7 +39,9 @@ module Danger
# message "#{slowest_test[:time]} took #{slowest_test[:time]} seconds"
#
#
- # @see orta/danger-junit, danger/danger, artsy/eigen
+ ... | Correct @see annotations
It seems multiple @see annotations should not be comma-separated but listed with multiple @see-s. <URL> | orta_danger-junit | train | rb |
3c6f6bae039b2e5de5ae41f5b591faa24b0833e6 | diff --git a/langcodes/__init__.py b/langcodes/__init__.py
index <HASH>..<HASH> 100644
--- a/langcodes/__init__.py
+++ b/langcodes/__init__.py
@@ -121,6 +121,9 @@ class LanguageData:
>>> LanguageData.get('root')
LanguageData()
+
+ >>> LanguageData.get('und-ibe')
+ LanguageData(extlangs... | added test cases for und-'extlang' | LuminosoInsight_langcodes | train | py |
b3ec281803b94cad8c883fc71c66a1af6797da78 | diff --git a/h2o-core/src/main/java/water/Job.java b/h2o-core/src/main/java/water/Job.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/Job.java
+++ b/h2o-core/src/main/java/water/Job.java
@@ -3,6 +3,7 @@ package water;
import jsr166y.CountedCompleter;
import java.util.Arrays;
import water.H2O.H2OC... | Added exception logging to Job. | h2oai_h2o-3 | train | java |
2e8a7c11615447dbf1f6d54595d5c4bcb4969e01 | diff --git a/pkg/tsdb/prometheus/prometheus.go b/pkg/tsdb/prometheus/prometheus.go
index <HASH>..<HASH> 100644
--- a/pkg/tsdb/prometheus/prometheus.go
+++ b/pkg/tsdb/prometheus/prometheus.go
@@ -131,7 +131,6 @@ func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest)
if err != nil {
return ... | set basic auth for prometheus backend ds requests (#<I>) | grafana_grafana | train | go |
d670a7ac4ab6ca94e9eab87a948e374f3e9a8532 | diff --git a/documentation-website/src/client/constants/versions.js b/documentation-website/src/client/constants/versions.js
index <HASH>..<HASH> 100644
--- a/documentation-website/src/client/constants/versions.js
+++ b/documentation-website/src/client/constants/versions.js
@@ -4,10 +4,10 @@ export default {
"addon-... | (docs) Update react/vue/svelte versions [ci skip] | pshrmn_curi | train | js |
4cde36fbbf2f487e93e82f5772ebb76bbcc9d92e | diff --git a/matplotlib2tikz.py b/matplotlib2tikz.py
index <HASH>..<HASH> 100644
--- a/matplotlib2tikz.py
+++ b/matplotlib2tikz.py
@@ -826,7 +826,7 @@ def _draw_line2d(data, obj):
else:
for (x, y) in zip(xdata, ydata):
content.append('(%.15g,%.15g)\n' % (x, y))
- content.append('\n};\n')
+... | remove superfluous newline in cooridinates | nschloe_matplotlib2tikz | train | py |
9a141a31441dc07aa5dd29076e1fa8bb4f6ddd43 | diff --git a/uncompyle6/parsers/parse2.py b/uncompyle6/parsers/parse2.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/parse2.py
+++ b/uncompyle6/parsers/parse2.py
@@ -398,7 +398,7 @@ class Python2Parser(PythonParser):
def reduce_is_invalid(self, rule, ast, tokens, first, last):
lhs = rule[0]
- ... | Guard around null ast
This can happen in profiling | rocky_python-uncompyle6 | train | py |
bba94c0f94913f667f74e04df45527a0d55aa3d0 | diff --git a/guacamole-ext/src/main/java/org/apache/guacamole/properties/PropertiesGuacamoleProperties.java b/guacamole-ext/src/main/java/org/apache/guacamole/properties/PropertiesGuacamoleProperties.java
index <HASH>..<HASH> 100644
--- a/guacamole-ext/src/main/java/org/apache/guacamole/properties/PropertiesGuacamolePr... | GUACAMOLE-<I>: Revert incorrect recursive constructor invocation.
A previous iteration of the whitespace-trimming changes involved an
additional constructor variation. After removing that portion, the
original constructor for PropertiesGuacamoleProperties was not restored
correctly, and now recursively invokes itself. | glyptodon_guacamole-client | train | java |
96fe9d614d422a934c27caee98ffcaf5187ea686 | diff --git a/packages/ra-ui-materialui/src/list/Datagrid.js b/packages/ra-ui-materialui/src/list/Datagrid.js
index <HASH>..<HASH> 100644
--- a/packages/ra-ui-materialui/src/list/Datagrid.js
+++ b/packages/ra-ui-materialui/src/list/Datagrid.js
@@ -138,12 +138,7 @@ function Datagrid({ classes: classesOverride, ...props }... | code enhancement: rewrote list inclusion and list merge | marmelab_react-admin | train | js |
8b823c82a5d94cabc9aef5d698977b7d2d6c511b | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,19 +1,9 @@
require "hidemyass"
+HideMyAss.options[:log] = false
-# This file was generated by the `rspec --init` command. Conventionally, all
-# specs live under a `spec` direc... | don't use HideMyAss logger in specs | gopherst_hidemyass | train | rb |
f6421b0bb9cb4b588285574097db9f2d58719db8 | diff --git a/lib/config/file.js b/lib/config/file.js
index <HASH>..<HASH> 100644
--- a/lib/config/file.js
+++ b/lib/config/file.js
@@ -1,13 +1,13 @@
const logger = require('winston');
+const path = require('path');
module.exports = {
getConfig,
- isPathAbsolute,
};
function getConfig(env) {
let configFil... | fix(file): use path.isAbsolute for Windows compatibility (#<I>)
Use Node's built-in `path.isAbsolute` for compatibility with
Window's file paths. | renovatebot_renovate | train | js |
5f8959bb362486ea6382ffc03e964ecb7f8d4f6a | diff --git a/test/test_config.py b/test/test_config.py
index <HASH>..<HASH> 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -4,10 +4,14 @@
from unittest import TestCase
try:
import mock
- open_mock_string = '__builtin__.open'
except ImportError:
from unittest import mock
+
+try:
+ impor... | Builtins imports refactored. | tiborsimon_projects | train | py |
6b4ae433ad1ed8d3f114300d1db9138312beebfb | diff --git a/lib/Tmdb/Factory/TvFactory.php b/lib/Tmdb/Factory/TvFactory.php
index <HASH>..<HASH> 100644
--- a/lib/Tmdb/Factory/TvFactory.php
+++ b/lib/Tmdb/Factory/TvFactory.php
@@ -154,6 +154,19 @@ class TvFactory extends AbstractFactory
$tvShow->setGenres($this->getGenreFactory()->createCollection($data... | Adding patch to fix the incorrect genres collection for popular queries for TV shows as well. | php-tmdb_api | train | php |
2884aaa1484b63a51f13d0cf7a1af79ea8b066d2 | diff --git a/src/mako/database/ORM.php b/src/mako/database/ORM.php
index <HASH>..<HASH> 100755
--- a/src/mako/database/ORM.php
+++ b/src/mako/database/ORM.php
@@ -790,7 +790,15 @@ abstract class ORM
if($this->incrementing)
{
- $this->columns[$this->primaryKey] = Database::connection($this->connection)->... | Fixed issue in getting new primaryKey when inserting in PostgreSQL | mako-framework_framework | train | php |
093465f737afc68c9f3ce08949a58fe8da62a17c | diff --git a/detect_secrets/plugins/private_key.py b/detect_secrets/plugins/private_key.py
index <HASH>..<HASH> 100644
--- a/detect_secrets/plugins/private_key.py
+++ b/detect_secrets/plugins/private_key.py
@@ -47,5 +47,6 @@ class PrivateKeyDetector(RegexBasedDetector):
r'BEGIN PRIVATE KEY',
r... | blacklist pgp private key header | Yelp_detect-secrets | train | py |
54c76ddd5ac4016a61674bcb08b1bf69212bd34f | diff --git a/src/net/sf/mpxj/primavera/PrimaveraReader.java b/src/net/sf/mpxj/primavera/PrimaveraReader.java
index <HASH>..<HASH> 100644
--- a/src/net/sf/mpxj/primavera/PrimaveraReader.java
+++ b/src/net/sf/mpxj/primavera/PrimaveraReader.java
@@ -519,7 +519,7 @@ final class PrimaveraReader
public void processResour... | Fixing List sort compilation on Java 6. | joniles_mpxj | train | java |
5a5d6b17e37ecec4ebfda4bd1b86aa2ea3f0e07f | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -35,18 +35,18 @@ source_suffix = ".rst"
master_doc = "index"
# General information about the project.
-project = u"Adafruit motor Library"
-copyright = u"2017 Scott Shawcroft"
-author = u"Scott Shawcroft"
+... | Black reformatting with Python 3 target. | adafruit_Adafruit_CircuitPython_Motor | train | py |
7c3502635bfd8382bddb6b43f6c1097fe89f6be8 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -123,11 +123,14 @@ workfly.prototype.command = function(name, cmd)
};
//Run the workflow
-workfly.prototype.run = function()
+workfly.prototype.run = function(cb)
{
//Save this
var self = this;
+ //Check the call... | index.js: added callback to run method | jmjuanes_tinyflow | train | js |
55222869bd18602f5432b30a8ffc8b2f2f5d5a5c | diff --git a/terraform/eval_refresh.go b/terraform/eval_refresh.go
index <HASH>..<HASH> 100644
--- a/terraform/eval_refresh.go
+++ b/terraform/eval_refresh.go
@@ -85,18 +85,19 @@ func (n *EvalRefresh) Eval(ctx EvalContext) (interface{}, error) {
return nil, diags.Err()
}
- state.Value = resp.NewState
+ newState ... | core: EvalRefresh should not mutate the state object it is given
We now treat states.ResourceInstanceObject values as immutable once
constructed, preferring to replace them completely rather than update them
in-place to avoid weird race conditions.
Therefore EvalRefresh must copy the state it is given before mutating... | hashicorp_terraform | train | go |
f4782f0c12508446d4916b8f9bd28b3f60c71d66 | diff --git a/lib/grape-swagger.rb b/lib/grape-swagger.rb
index <HASH>..<HASH> 100644
--- a/lib/grape-swagger.rb
+++ b/lib/grape-swagger.rb
@@ -235,12 +235,21 @@ module Grape
def parse_entity_models(models)
result = {}
+ properties = {}
+ model.documentation.each d... | Rename "desc" to "description" for Grape Entities | ruby-grape_grape-swagger | train | rb |
826a7fd7795a7bd8d4e9682c2c6c961189293f08 | diff --git a/webview/win32.py b/webview/win32.py
index <HASH>..<HASH> 100644
--- a/webview/win32.py
+++ b/webview/win32.py
@@ -124,7 +124,7 @@ class BrowserView(object):
_atl.AtlAxWinInit()
hInstance = win32api.GetModuleHandle(None)
- if self.fullscreen:
+ if self.fullscreen or not... | [Win<I>] Fix scrollbar sizing issue when window is not resizable | r0x0r_pywebview | train | py |
8c78ababb5e966ab950aa190cf6bb23e53e2f644 | diff --git a/flink-core/src/main/java/org/apache/flink/api/common/Archiveable.java b/flink-core/src/main/java/org/apache/flink/api/common/Archiveable.java
index <HASH>..<HASH> 100644
--- a/flink-core/src/main/java/org/apache/flink/api/common/Archiveable.java
+++ b/flink-core/src/main/java/org/apache/flink/api/common/Ar... | [hotfix] [core] Changing PublicEvolving anntoation of Archiveable to Internal. | apache_flink | train | java |
f318cbfff3fdf3a627c938df8244847f0bcbeb38 | diff --git a/Classes/Neos/Neos/Ui/Fusion/Helper/NodeInfoHelper.php b/Classes/Neos/Neos/Ui/Fusion/Helper/NodeInfoHelper.php
index <HASH>..<HASH> 100644
--- a/Classes/Neos/Neos/Ui/Fusion/Helper/NodeInfoHelper.php
+++ b/Classes/Neos/Neos/Ui/Fusion/Helper/NodeInfoHelper.php
@@ -170,7 +170,7 @@ class NodeInfoHelper implemen... | BUGFIX: Fix boolean property serialization | neos_neos-ui | train | php |
44311c8adaf8d645366366601f7705886535668d | diff --git a/synphot/planck.py b/synphot/planck.py
index <HASH>..<HASH> 100644
--- a/synphot/planck.py
+++ b/synphot/planck.py
@@ -46,7 +46,7 @@ def bbfunc(wavelengths, temperature):
temperature = units.validate_quantity(temperature, u.K)
# Calculate blackbody radiation in FNU, then convert to PHOTLAM
- ... | Inspired by one of the comments in astropy/astropy#<I> | spacetelescope_synphot_refactor | train | py |
ce61f13ac8ad2852b7b2543e6e130d9e0ae34d8a | diff --git a/lib/psych/visitors/yaml_tree.rb b/lib/psych/visitors/yaml_tree.rb
index <HASH>..<HASH> 100644
--- a/lib/psych/visitors/yaml_tree.rb
+++ b/lib/psych/visitors/yaml_tree.rb
@@ -251,10 +251,10 @@ module Psych
private
# FIXME: remove this method once "to_yaml_properties" is removed
def find... | ignoring to_yaml_properties defined by syck | ruby_psych | train | rb |
b347946bb1e341d4e5b5152b1ec2397e33751129 | diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/board/board.py
+++ b/ELiDE/ELiDE/board/board.py
@@ -981,6 +981,16 @@ class BoardScatterPlane(ScatterPlane):
return True
return super().on_touch_down(touch)
+ def on_transform_wit... | Clamp BoardScatterPlane to the board | LogicalDash_LiSE | train | py |
ea070b95649ee71cca3405e4786b3f98ca4cc541 | diff --git a/rollbar/test/test_rollbar.py b/rollbar/test/test_rollbar.py
index <HASH>..<HASH> 100644
--- a/rollbar/test/test_rollbar.py
+++ b/rollbar/test/test_rollbar.py
@@ -3,6 +3,7 @@ import copy
import json
import mock
import socket
+import threading
import uuid
import sys
@@ -282,9 +283,11 @@ class RollbarT... | Utilize threading to ensure test finishes if code goes bad | rollbar_pyrollbar | train | py |
2e0522ffbd46ce736f6dd7d07440ce20e0306b1b | diff --git a/nerdz/db.go b/nerdz/db.go
index <HASH>..<HASH> 100644
--- a/nerdz/db.go
+++ b/nerdz/db.go
@@ -16,7 +16,11 @@ func updateFields(scope *gorm.Scope) {
if !scope.HasError() {
newScope := scope.New(scope.Value)
newScope.Search.TableName = scope.TableName()
- gorm.Query(newScope)
+ if scope.PrimaryKey(... | Working on no gorm primary key (or multiple field primary key db-side) | nerdzeu_nerdz-api | train | go |
e69631ebf41fda8e8a6ff499d6117d45f1efe4b0 | diff --git a/lib/mapreduce/mapreduce.go b/lib/mapreduce/mapreduce.go
index <HASH>..<HASH> 100644
--- a/lib/mapreduce/mapreduce.go
+++ b/lib/mapreduce/mapreduce.go
@@ -176,6 +176,7 @@ func Map(job Job, jobPath string, m materializeInfo, host string, shard, modulos
var wg sync.WaitGroup
defer wg.Wait()
+ client := ... | Remove timeouts on mappers. | pachyderm_pachyderm | train | go |
ef6c3714da7e9379c6eef33bd5a616405b7089f7 | diff --git a/lib/time_math/version.rb b/lib/time_math/version.rb
index <HASH>..<HASH> 100644
--- a/lib/time_math/version.rb
+++ b/lib/time_math/version.rb
@@ -1,4 +1,4 @@
module TimeMath
# @private
- VERSION = '0.0.3'.freeze
+ VERSION = '0.0.4'.freeze
end | Re-release with cleaned up README | zverok_time_math2 | train | rb |
66227953714ba57add0a9bedb876d337398ed692 | diff --git a/odl/contrib/fom/test/test_supervised.py b/odl/contrib/fom/test/test_supervised.py
index <HASH>..<HASH> 100644
--- a/odl/contrib/fom/test/test_supervised.py
+++ b/odl/contrib/fom/test/test_supervised.py
@@ -52,8 +52,12 @@ def test_general(space, scalar_fom):
scalar_fom(data, ground_truth))
... | TST: Do not test monotonicity for non-monotonic FOM. | odlgroup_odl | train | py |
a177287a19032aa4719fac0c1d9e3101cbe1eeda | diff --git a/jaggr-service/src/main/java/com/ibm/jaggr/service/impl/resource/BundleResourceFactory.java b/jaggr-service/src/main/java/com/ibm/jaggr/service/impl/resource/BundleResourceFactory.java
index <HASH>..<HASH> 100644
--- a/jaggr-service/src/main/java/com/ibm/jaggr/service/impl/resource/BundleResourceFactory.jav... | FileResource being used when should be NIOFileResource | OpenNTF_JavascriptAggregator | train | java |
320bc4f0d9e469e60ad8bcfc9783514a60351afa | diff --git a/salt/states/mount.py b/salt/states/mount.py
index <HASH>..<HASH> 100644
--- a/salt/states/mount.py
+++ b/salt/states/mount.py
@@ -86,9 +86,10 @@ def mounted(name,
# Get the active data
active = __salt__['mount.active']()
real_name = os.path.realpath(name)
+ real_device = os.path.realpath(... | fix remount because of a different device name
- Compare real device path instead of given to those listed by mount (fix #<I>)
- Compare given device name to those given by mount -l (#<I>) | saltstack_salt | train | py |
2c77b60cf50863a97d2322ce939c12a246d49c48 | diff --git a/action/action.go b/action/action.go
index <HASH>..<HASH> 100644
--- a/action/action.go
+++ b/action/action.go
@@ -83,8 +83,10 @@ type Pipeline struct {
// NewPipeline creates a new pipeline instance with the given list of actions.
func NewPipeline(actions ...*Action) *Pipeline {
return &Pipeline{action... | action: added docs for pipeline.Result. | tsuru_tsuru | train | go |
c4ec31dadb776e701e2fabf2e4c3493593435574 | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -55,7 +55,7 @@ repo_name = u"dtool_irods"
# built documents.
#
# The short X.Y version.
-version = u"0.2.0"
+version = u"0.3.0"
# The full version, including alpha/beta/rc tags.
... | Update version number to <I> | jic-dtool_dtool-irods | train | py,py,py |
cb0edf5e7e479b36c8d96417bd8b98ba67ba35df | diff --git a/DbalSubscriptionConsumer.php b/DbalSubscriptionConsumer.php
index <HASH>..<HASH> 100644
--- a/DbalSubscriptionConsumer.php
+++ b/DbalSubscriptionConsumer.php
@@ -94,16 +94,11 @@ class DbalSubscriptionConsumer implements SubscriptionConsumer
$now = time();
$redeliveryDelay = $this->getRede... | just work on the next message based on priority and published_at | php-enqueue_dbal | train | php |
7c800834595ac5b863223bbd672adfd8fc9c42b8 | diff --git a/lib/nrser/types/errors/check_error.rb b/lib/nrser/types/errors/check_error.rb
index <HASH>..<HASH> 100644
--- a/lib/nrser/types/errors/check_error.rb
+++ b/lib/nrser/types/errors/check_error.rb
@@ -6,7 +6,7 @@
# Project / Package
# -----------------------------------------------------------------------... | Have {CheckError} subclass {NRSER::TypeError}
Instead of directly from {::TypeError} and mix in
{NRSER::NicerError}.
I'm really not sure why it wasn't like this already, but
I'm guessing that {NRSER::TypeError} came after
{NRSER::Types::CheckError} and it jsut never got
changed. | nrser_nrser.rb | train | rb |
e20b490da313b951b579ff6d2ed8ac6f5e8d6a8b | diff --git a/course/renderer.php b/course/renderer.php
index <HASH>..<HASH> 100644
--- a/course/renderer.php
+++ b/course/renderer.php
@@ -647,7 +647,7 @@ class core_course_renderer extends plugin_renderer_base {
}
} else {
$linkclasses .= ' dimmed';
- $textclasses .= ' dim... | MDL-<I> conditional activities: Dim the icon also in student's view.
The class dimmed_text would only dim the activity's title and not the icon.
The teacher has both, icon and text, dimmed. So I added the class dimmed
to the class dimmed_text, what dims both elements for the students. | moodle_moodle | train | php |
a01906ac4f41a3f289ea75d496f39c39a05d038b | diff --git a/zmq.go b/zmq.go
index <HASH>..<HASH> 100644
--- a/zmq.go
+++ b/zmq.go
@@ -255,6 +255,14 @@ func Device(deviceType DeviceType, frontend, backend *Socket) {
C.zmq_device(C.int(deviceType), frontend.sock, backend.sock)
}
+// Version reports 0MQ library version
+func Version() (int, int, int) {
+ var majo... | Implemented Version function to report 0MQ library version | vaughan0_go-zmq | train | go |
e5a9b4103632be59893fde096d9f55d09185ef97 | diff --git a/lib/connection/connection.js b/lib/connection/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection/connection.js
+++ b/lib/connection/connection.js
@@ -431,6 +431,11 @@ Connection.prototype.connect = function(_options) {
sslOptions.checkServerIdentity = self.checkServerIdentity;
}
+... | set default servername to host is not passed through for sni | mongodb-js_mongodb-core | train | js |
a75cdea6172c5096a49e34874a22592cb61f18eb | diff --git a/src/main/java/graphql/schema/DataFetchingFieldSelectionSet.java b/src/main/java/graphql/schema/DataFetchingFieldSelectionSet.java
index <HASH>..<HASH> 100644
--- a/src/main/java/graphql/schema/DataFetchingFieldSelectionSet.java
+++ b/src/main/java/graphql/schema/DataFetchingFieldSelectionSet.java
@@ -4,12 ... | Made DataFetchingFieldSelectionSet a supplier since it really is | graphql-java_graphql-java | train | java |
ace78a6337c7c7dc8c71199cd8764f6b71ae75a4 | diff --git a/code/control/DNRoot.php b/code/control/DNRoot.php
index <HASH>..<HASH> 100644
--- a/code/control/DNRoot.php
+++ b/code/control/DNRoot.php
@@ -420,6 +420,10 @@ class DNRoot extends Controller implements PermissionProvider, TemplateGlobalPro
return new SS_HTTPResponse("Archive not found.", 404);
}
+... | Check if user has restore access to an archive before deploying. | silverstripe-archive_deploynaut | train | php |
8727a7fecf4a484416244985449bcae680eb6d8c | diff --git a/lib/Github/HttpClient/Message/ResponseMediator.php b/lib/Github/HttpClient/Message/ResponseMediator.php
index <HASH>..<HASH> 100644
--- a/lib/Github/HttpClient/Message/ResponseMediator.php
+++ b/lib/Github/HttpClient/Message/ResponseMediator.php
@@ -21,7 +21,7 @@ class ResponseMediator
public static... | Update ResponseMediator to use type conversion, closes #<I> | KnpLabs_php-github-api | train | php |
0bfaa2cc9cfad62f63d8f5410bdf1745351d7546 | diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -62,6 +62,7 @@ module ActiveSupport
"Newfou... | included "Montevideo" in list of time zone aliases (closes Issue #<I>) | rails_rails | train | rb |
bba98cdc273f0d383d2c7f952373107a88c94a79 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1288,6 +1288,10 @@ class ResultSetParser {
this._topRecordTypeDesc =
recordTypes.getRecordTypeDesc(topRecordTypeName);
+ // result accumulators
+ this._records = new Array();
+ this._referredRecords = new Object()... | Uninitialized parser has valid empty records and referredRecords properties. | boylesoftware_x2node-rsparser | train | js |
caf3e11eb2701e4c1f02eaba857e3842f65c2dfb | diff --git a/blueprints/blueprints-test/src/main/java/com/tinkerpop/blueprints/ExceptionConsistencyTest.java b/blueprints/blueprints-test/src/main/java/com/tinkerpop/blueprints/ExceptionConsistencyTest.java
index <HASH>..<HASH> 100644
--- a/blueprints/blueprints-test/src/main/java/com/tinkerpop/blueprints/ExceptionCons... | remove TODO comments as they are now captured by the ExceptionCoverage tests. | apache_tinkerpop | train | java |
61ea72a3698244834042f8519c6b74b52b0ed4b7 | diff --git a/spiketoolkit/comparison/sortingcomparison.py b/spiketoolkit/comparison/sortingcomparison.py
index <HASH>..<HASH> 100644
--- a/spiketoolkit/comparison/sortingcomparison.py
+++ b/spiketoolkit/comparison/sortingcomparison.py
@@ -130,7 +130,7 @@ class SortingComparison():
return 0
els... | fix in FP and FN calculations
The function getFalsePositiveFraction returned false negatives, and getFalseNegativeFraction returned false positives. | SpikeInterface_spiketoolkit | train | py |
0e042c1f33395ba60e40f0d6a901b07f64464601 | diff --git a/test/robotto.test.js b/test/robotto.test.js
index <HASH>..<HASH> 100644
--- a/test/robotto.test.js
+++ b/test/robotto.test.js
@@ -295,6 +295,21 @@ describe('robotto', () => {
let permission = robotto.getRuleDeepness('UnknownRule', 'UnknownAgent', '/one/two/three/', rules);
assert.... | Test checking for deepness of '/' | trachelas_robotto | train | js |
7af717e68e8177e0096131e4b2a80cc9fac453a4 | diff --git a/conn.go b/conn.go
index <HASH>..<HASH> 100644
--- a/conn.go
+++ b/conn.go
@@ -214,16 +214,16 @@ func Connect(host *HostInfo, addr string, cfg *ConnConfig,
defer cancel()
frameTicker := make(chan struct{}, 1)
- startupErr := make(chan error, 1)
+ startupErr := make(chan error)
go func() {
for ran... | conn: make startupErr only accept a single response | gocql_gocql | train | go |
c388d5e09a98f835733c7520e89431e7f73b2841 | diff --git a/state/backups/legacy.go b/state/backups/legacy.go
index <HASH>..<HASH> 100644
--- a/state/backups/legacy.go
+++ b/state/backups/legacy.go
@@ -93,15 +93,28 @@ func createBundle(name, outdir, contentdir, root string) (string, error) {
return "", errors.Annotate(err, "error opening archive file")
}
def... | Clarify what is going on when we build the backup tarball. | juju_juju | train | go |
d86eb476ada732e6d3685123fe9d789bf8bd838a | diff --git a/lib/funl/client.rb b/lib/funl/client.rb
index <HASH>..<HASH> 100644
--- a/lib/funl/client.rb
+++ b/lib/funl/client.rb
@@ -51,5 +51,15 @@ module Funl
# client_id will be nil in the case of cseq, but that's ok.
end
end
+
+ def server_stream_for io
+ ObjectStream.new(io, type: s... | add utility method for clients that manage the server end of object streams | vjoel_funl | train | rb |
4aaad4ac394abf81a54d0973f656733ecdddabcc | diff --git a/yg/lockfile/test/test_lockfile.py b/yg/lockfile/test/test_lockfile.py
index <HASH>..<HASH> 100644
--- a/yg/lockfile/test/test_lockfile.py
+++ b/yg/lockfile/test/test_lockfile.py
@@ -59,11 +59,12 @@ def test_FileLock_process_killed():
os.close(tfile)
os.remove(filename)
script = textwrap.de... | Update test so the script executes on Python 3 | yougov_yg.lockfile | train | py |
5b1450fe9be03310d1c471345d4b7346222d19ba | diff --git a/src/object-model.js b/src/object-model.js
index <HASH>..<HASH> 100644
--- a/src/object-model.js
+++ b/src/object-model.js
@@ -69,7 +69,7 @@ extend(ObjectModel, Model, {
let submodel = extendModel(new ObjectModel(def), parent, proto)
submodel.assertions = parent.assertions.concat(newAssertions)
- i... | improved test for extended class for object models | sylvainpolletvillard_ObjectModel | train | js |
5471564f6cee863cab2681cad04d07e9022afdc1 | diff --git a/core/src/test/java/com/orientechnologies/orient/core/db/tool/ODatabaseImportTest.java b/core/src/test/java/com/orientechnologies/orient/core/db/tool/ODatabaseImportTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/orientechnologies/orient/core/db/tool/ODatabaseImportTest.java
+++ b/core/sr... | Fix compile problem after cherry-pick | orientechnologies_orientdb | train | java |
eed047b83b4181310b7a72b13aaec970e8ab2895 | diff --git a/builder/osc/common/access_config.go b/builder/osc/common/access_config.go
index <HASH>..<HASH> 100644
--- a/builder/osc/common/access_config.go
+++ b/builder/osc/common/access_config.go
@@ -103,7 +103,8 @@ func (c *AccessConfig) GetRegion() string {
func (c *AccessConfig) NewOSCClientByRegion(region strin... | feat: add proxy support to osc builder | hashicorp_packer | train | go |
1c38c74b004eb2fa9664844c2f5ec656e28f609b | diff --git a/tasks/express.js b/tasks/express.js
index <HASH>..<HASH> 100644
--- a/tasks/express.js
+++ b/tasks/express.js
@@ -16,7 +16,7 @@ module.exports = function(grunt) {
grunt.registerMultiTask('express', 'Start an express web server', function() {
var options = this.options({
- cmd: unde... | Default cmd to process.argv[0] | ericclemmons_grunt-express-server | train | js,js |
e1c9f159e721f3e02d6cd77981aa9d899bc38ad1 | diff --git a/src/Iverberk/Larasearch/Commands/PathsCommand.php b/src/Iverberk/Larasearch/Commands/PathsCommand.php
index <HASH>..<HASH> 100644
--- a/src/Iverberk/Larasearch/Commands/PathsCommand.php
+++ b/src/Iverberk/Larasearch/Commands/PathsCommand.php
@@ -179,7 +179,7 @@ class PathsCommand extends Command {
... | paths generation: clearer Exception error message to help troubleshooting missing reciprocal relationship | iverberk_larasearch | train | php |
af9b9017634675756997e01738e74a43248f9d65 | diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx.py
+++ b/src/python/dxpy/scripts/dx.py
@@ -2884,7 +2884,7 @@ def print_run_help(executable="", alias=None):
stanzas.append(format_choices_or_suggestion... | More compact "dx run -h" docs for inputs lacking help strings. | dnanexus_dx-toolkit | train | py |
cb0b00c02eca6bebef59f117e0e53cfa8f7bcab1 | diff --git a/src/SubscribePro/Service/PaymentProfile/PaymentProfile.php b/src/SubscribePro/Service/PaymentProfile/PaymentProfile.php
index <HASH>..<HASH> 100644
--- a/src/SubscribePro/Service/PaymentProfile/PaymentProfile.php
+++ b/src/SubscribePro/Service/PaymentProfile/PaymentProfile.php
@@ -449,6 +449,14 @@ class Pa... | Added the dual vault mode into the payment profile class | subscribepro_subscribepro-php | train | php |
10d616ded2b5911cbba1201dfad06ba2766620c8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ from setuptools import setup
setup(
name='slacky',
- version="0.1.3",
+ version="0.1.31",
description="Package for Slack's API",
long_description=__doc__,
author='Mao Nabeta', | Setup version number to <I>. | nabetama_slacky | train | py |
8e063de3a41882b9083418a5291eec1c82dab920 | diff --git a/bosh_agent/lib/bosh_agent/settings.rb b/bosh_agent/lib/bosh_agent/settings.rb
index <HASH>..<HASH> 100644
--- a/bosh_agent/lib/bosh_agent/settings.rb
+++ b/bosh_agent/lib/bosh_agent/settings.rb
@@ -1,5 +1,8 @@
module Bosh::Agent
class Settings
+ extend Forwardable
+
+ def_delegators :@settings, :... | Refactor to use delegation to underlying hash | cloudfoundry_bosh | train | rb |
53a4df29a37984b0aa48128eb4a96e17c341dcca | diff --git a/server/src/main/java/org/jboss/as/server/deployment/reflect/DeploymentReflectionIndex.java b/server/src/main/java/org/jboss/as/server/deployment/reflect/DeploymentReflectionIndex.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/org/jboss/as/server/deployment/reflect/DeploymentReflectionIndex.jav... | WFCORE-<I> added privileged block to construct ClassReflectionIndex | wildfly_wildfly-core | train | java |
8e9c1aae4836afbb9b96baa190cc076cb9b3fd39 | diff --git a/test/test_dataset.py b/test/test_dataset.py
index <HASH>..<HASH> 100644
--- a/test/test_dataset.py
+++ b/test/test_dataset.py
@@ -462,16 +462,16 @@ class TestDataset(unittest.TestCase, _UserUrlLoader):
def test_dataset_schema_from_org_context(self):
username = 'fake_username'
- class... | CamelCase for classes | CartoDB_cartoframes | train | py |
0c2b3b0afb57fc453478546fc9bed88e8a35a3a1 | diff --git a/lib/plangrade/resources/company.rb b/lib/plangrade/resources/company.rb
index <HASH>..<HASH> 100644
--- a/lib/plangrade/resources/company.rb
+++ b/lib/plangrade/resources/company.rb
@@ -29,7 +29,7 @@ module Plangrade
else
result = api_handler.all_companies
end
- companie... | parsing response still isn't giving the expected result | plangrade_plangrade-ruby | train | rb,rb |
101883b9a23c4695a13a7f6653e9dc30c72fb967 | diff --git a/plugins/calendar.js b/plugins/calendar.js
index <HASH>..<HASH> 100644
--- a/plugins/calendar.js
+++ b/plugins/calendar.js
@@ -325,9 +325,16 @@ nwt.register({
if (isNaN(dayNumber)) {
return
}
-
- var formattedDate = this.format(new Date(this.year, this.month, dayNumber).getTime())
- c... | Fire 'pick' event on date selection | nwtjs_nwt | train | js |
71ede9e6472a443157d4dd41d65bc6056caf8d60 | diff --git a/menu.js b/menu.js
index <HASH>..<HASH> 100644
--- a/menu.js
+++ b/menu.js
@@ -251,7 +251,7 @@ paramTypes.text = {
paramTypes.select = {
render(param, value) {
let options = param.options.call ? param.options(this) : param.options
- return elt("select", null, options.map(o => elt("option", {valu... | Fix another mistake in select field renderer | ProseMirror_prosemirror-menu | train | js |
14ab78f03a2e5203e6b162028557eeb8d99f73a4 | diff --git a/fmf/base.py b/fmf/base.py
index <HASH>..<HASH> 100644
--- a/fmf/base.py
+++ b/fmf/base.py
@@ -435,7 +435,9 @@ class Tree:
log.info("Checking file {0}".format(fullpath))
try:
with open(fullpath, encoding='utf-8') as datafile:
- data = YAML(typ="s... | Workaround s<I>x ruamel read issue
Reading file via python and then using yaml parser works
on that architecture
Fixes #<I> | psss_fmf | 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.