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 |
|---|---|---|---|---|---|
ce21dad568c90874569d981cc7e09cdb71a00b89 | diff --git a/lib/dbf/column/base.rb b/lib/dbf/column/base.rb
index <HASH>..<HASH> 100644
--- a/lib/dbf/column/base.rb
+++ b/lib/dbf/column/base.rb
@@ -39,19 +39,6 @@ module DBF
meth ? send(meth, value) : encode_string(value, true)
end
- def type_cast_methods
- {
- 'N' => :unpack_n... | make type_cast_methods private | infused_dbf | train | rb |
416817dd565d4500bae02d4cb77fb28d8a968619 | diff --git a/lib/celerity/elements/table_row.rb b/lib/celerity/elements/table_row.rb
index <HASH>..<HASH> 100644
--- a/lib/celerity/elements/table_row.rb
+++ b/lib/celerity/elements/table_row.rb
@@ -9,6 +9,7 @@ module Celerity
def locate
super
@cells = @object.getCells if @object
+ @object
... | Make TableRow.locate conform with Element.locate. | jarib_celerity | train | rb |
6958baf114596d1b14210fbbda151e17550f3014 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,7 +1,8 @@
'use strict';
var childProcess = require('child_process');
-var execFileSync = childProcess.execFileSync;
var lcid = require('lcid');
+
+var execFileSync = childProcess.execFileSync;
var defaultOpts = {spawn: ... | fix XO lint issue | sindresorhus_os-locale | train | js |
8211136646cfb12b4abac7e2ee718cdeca8a6877 | diff --git a/response.go b/response.go
index <HASH>..<HASH> 100644
--- a/response.go
+++ b/response.go
@@ -41,7 +41,6 @@ type GetInstanceResponse struct {
type UpdateResponse struct {
DashboardURL string `json:"dashboard_url,omitempty"`
OperationData string `json:"operation,omitempty"`
- DashboardURL string `jso... | Remove duplicated DashboardURL from struct definition
[#<I>] | pivotal-cf_brokerapi | train | go,go |
c1608bcdb488277c065f5194e9bb756582475d96 | diff --git a/version/version.go b/version/version.go
index <HASH>..<HASH> 100644
--- a/version/version.go
+++ b/version/version.go
@@ -25,7 +25,7 @@ import (
)
var (
- Version = "2.0.4+git"
+ Version = "2.1.0-alpha.0"
)
// WalVersion is an enum for versions of etcd logs. | *: bump to <I>-alpha<I> | etcd-io_etcd | train | go |
4a6cd149b744e0a17e89bfc2ae3da9ce617033a4 | diff --git a/viewer.js b/viewer.js
index <HASH>..<HASH> 100644
--- a/viewer.js
+++ b/viewer.js
@@ -127,7 +127,7 @@
// draw target
if(this.target !== null){
- this._drawTarget();
+ this._drawTarget(this.context);
}
};
@@ -145,9 +145,8 @@
this.dirty = true;
};
- ImageViewer.prot... | changed context from local variable to parameter like in the other draw functions | pfirpfel_image-viewer | train | js |
cf6d468b6f6d47fbbdaee13cac2788101006ed7e | diff --git a/resource/resourceadapters/opener.go b/resource/resourceadapters/opener.go
index <HASH>..<HASH> 100644
--- a/resource/resourceadapters/opener.go
+++ b/resource/resourceadapters/opener.go
@@ -15,6 +15,9 @@ import (
// NewResourceOpener returns a new resource.Opener for the given unit.
//
+// The caller o... | resource/resourceadapters: Clarify State ownership | juju_juju | train | go |
2737a5fe9bd63360d280036a3fc95304c4746373 | diff --git a/src/python/atomistica/io.py b/src/python/atomistica/io.py
index <HASH>..<HASH> 100644
--- a/src/python/atomistica/io.py
+++ b/src/python/atomistica/io.py
@@ -80,7 +80,9 @@ def write(fn, a, **kwargs):
if ext[0] == '.out' or ext[0] == '.dat':
return write_atoms(fn, a)
elif ext[0] == '.lamm... | Added NetCDF support to write function of atomistica.io. | Atomistica_atomistica | train | py |
ad899035e80186ff17d5d82abc6a3d2840a27ca8 | diff --git a/lxd/storage/drivers/driver_dir.go b/lxd/storage/drivers/driver_dir.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_dir.go
+++ b/lxd/storage/drivers/driver_dir.go
@@ -28,14 +28,15 @@ type dir struct {
// Info returns info about the driver and its environment.
func (d *dir) Info() Info {
... | lxd/storage/drivers/driver/dir: Defines dir driver needs freeze during snapshot | lxc_lxd | train | go |
ae6104fabf7c7eb335f9921b24e348c07ac726db | diff --git a/leveldb/db/batch.go b/leveldb/db/batch.go
index <HASH>..<HASH> 100644
--- a/leveldb/db/batch.go
+++ b/leveldb/db/batch.go
@@ -18,6 +18,7 @@ import (
"encoding/binary"
"io"
"leveldb"
+ "leveldb/memdb"
)
var (
@@ -53,6 +54,14 @@ func (b *Batch) Delete(key []byte) {
b.kvSize += len(key)
}
+func... | fb: batch: introduce *Batch.Reset() and *Batch.memReplay() methods | syndtr_goleveldb | train | go |
ddac2cca1952975e05af7349c6b972514f63b062 | diff --git a/test/feedforward_test.py b/test/feedforward_test.py
index <HASH>..<HASH> 100644
--- a/test/feedforward_test.py
+++ b/test/feedforward_test.py
@@ -82,9 +82,8 @@ class TestWeightedClassifier(TestClassifier):
def test_score_onelayer(self):
net = self._build(13)
- z = net.score(self.imag... | Make weights for test deterministic. | lmjohns3_theanets | train | py |
8cd427410af0f4c064cb01993b208f8f5a21e1dc | diff --git a/src/Query/Builder.php b/src/Query/Builder.php
index <HASH>..<HASH> 100644
--- a/src/Query/Builder.php
+++ b/src/Query/Builder.php
@@ -171,7 +171,7 @@ class Builder extends \Illuminate\Database\Query\Builder
{
$name = $this->connection->getName();
- return md5($name.$this->toSql().ser... | Switch to sha<I> for the cache key | dwightwatson_rememberable | train | php |
bbbc5444a407daddedf42d7b7f17d2b248552435 | diff --git a/luigi/interface.py b/luigi/interface.py
index <HASH>..<HASH> 100644
--- a/luigi/interface.py
+++ b/luigi/interface.py
@@ -27,6 +27,7 @@ import re
import argparse
import sys
import os
+import tempfile
from task import Register
@@ -79,7 +80,7 @@ class EnvironmentParamsContainer(task.Task):
i... | Set default temp directory in a Windows friendly way.
Using tempfile.gettempdir() makes sure that a proper temporary
directory will be picked up with respect to os and even env
variables like TMPDIR, TEMP, TMP etc.
Fix #<I> | spotify_luigi | train | py |
db157766a02fd472473c79022c7c6c300cb2ee4f | diff --git a/salt/pillar/nodegroups.py b/salt/pillar/nodegroups.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/nodegroups.py
+++ b/salt/pillar/nodegroups.py
@@ -1,8 +1,5 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
-
'''
-=================
Nodegroups Pillar
================= | Remove overline from section title
This causes a warning on newer Sphinx releases | saltstack_salt | train | py |
cccd12c3c99ea27806f3070967810cd62744d61d | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -45,7 +45,10 @@ module.exports = function (grunt) {
}
},
files: {
- 'dist/fuelux.js': ['src/*.js', '!src/all.js']
+ // manually concatenate JS files (due to dependency management)
+ ... | Manually ordered concatenated JS files in build process due to dependencies | ExactTarget_fuelux | train | js |
57093fb812e1884c9dd744adbdf0ed6b0cb99ae2 | diff --git a/src/TwigBridge/TwigServiceProvider.php b/src/TwigBridge/TwigServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/TwigBridge/TwigServiceProvider.php
+++ b/src/TwigBridge/TwigServiceProvider.php
@@ -10,7 +10,7 @@ use Twig_Lexer;
class TwigServiceProvider extends ViewServiceProvider
{
- const VERS... | Bumped TwigBridge version number | rcrowe_TwigBridge | train | php |
7dbc79c8dd0bfdb2367ce1eb01b2ead822f3aca7 | diff --git a/aws/auth.go b/aws/auth.go
index <HASH>..<HASH> 100644
--- a/aws/auth.go
+++ b/aws/auth.go
@@ -191,7 +191,9 @@ type iamProvider struct {
var metadataCredentialsEndpoint = "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
-var client = http.Client{
+// IAMClient is the HTTP client used... | Expose IAM cred client.
Closes #<I>. | aws_aws-sdk-go | train | go |
272958958f3221aadf18c3ce51b86dc07fb3ec5a | diff --git a/ooxml/importer.py b/ooxml/importer.py
index <HASH>..<HASH> 100644
--- a/ooxml/importer.py
+++ b/ooxml/importer.py
@@ -193,7 +193,11 @@ def get_chapters(doc):
export_chapters.append(_serialize_chapter(doc.elements[:chapters[0]['index']-1]))
for n in range(len(chapters)-1):
- ... | BK-<I> Slicing elements according to header position fails | booktype_python-ooxml | train | py |
76420e43b1147388824eea468d0f97bc61e74ee1 | diff --git a/rsapi/auth.go b/rsapi/auth.go
index <HASH>..<HASH> 100644
--- a/rsapi/auth.go
+++ b/rsapi/auth.go
@@ -362,7 +362,7 @@ func (a *ssAuthenticator) SetHost(host string) {
a.host = host
return
}
- elems[len(elems)-2] = strings.Replace(elems[len(elems)-2], "us", "selfservice", 1)
+ elems[len(elems)-2] = ... | Fix SS host substitution for SS minimoo hosts
Not all endpoints use the 'us-3.rightscale.com' style host -- some
minimoos in particular use ss2-moo-<I>.test.rightscale.com. This commit
removes the assumption that there will be a 'us' substring in the login
host. Fixes #<I>. | rightscale_rsc | train | go |
3bda39ffeb6e6ac16f254b645a2605f71a3253a9 | diff --git a/pandas/core/base.py b/pandas/core/base.py
index <HASH>..<HASH> 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -753,7 +753,7 @@ class IndexOpsMixin:
dtype : str or numpy.dtype, optional
The dtype to pass to :meth:`numpy.asarray`.
copy : bool, default False
- ... | DOC/CLN: Fix to_numpy docstrings (#<I>) | pandas-dev_pandas | train | py,py |
b8198c4adfff90b267123abfe6827da43afcaac2 | diff --git a/pyjfuzz/core/pjf_mutators.py b/pyjfuzz/core/pjf_mutators.py
index <HASH>..<HASH> 100644
--- a/pyjfuzz/core/pjf_mutators.py
+++ b/pyjfuzz/core/pjf_mutators.py
@@ -96,6 +96,7 @@ class PJFMutators(object):
bool: self.boolean_mutator,
int: self.int_mutator,
float: self.fl... | fixed python <I> type and import issues | mseclab_PyJFuzz | train | py,py |
476ca936d4bc1a74f21d0aa772c00b040f7cd834 | diff --git a/peyotl/phylesystem/git_workflows.py b/peyotl/phylesystem/git_workflows.py
index <HASH>..<HASH> 100644
--- a/peyotl/phylesystem/git_workflows.py
+++ b/peyotl/phylesystem/git_workflows.py
@@ -40,7 +40,7 @@ def acquire_lock_raise(git_action, fail_msg=''):
_LOG.debug(msg)
raise GitWorkflowErr... | adding kwargs for max_num_tree arg | OpenTreeOfLife_peyotl | train | py |
76b4856198674ec4e2d0365b88493f54fa7c7342 | diff --git a/tests/test_analytics.py b/tests/test_analytics.py
index <HASH>..<HASH> 100644
--- a/tests/test_analytics.py
+++ b/tests/test_analytics.py
@@ -77,7 +77,7 @@ class CookiePolicyTestCase(SimpleTestCase):
@modify_settings(
MIDDLEWARE={
- 'append': 'tests.utils.AcceptCookiePolicyMiddle... | Rename a middleware class to make it clear that it's only for testing purposes | ministryofjustice_money-to-prisoners-common | train | py,py |
601cfc380f7d925828633dcca0762feb8bcd85d3 | diff --git a/client/js/shout.js b/client/js/shout.js
index <HASH>..<HASH> 100644
--- a/client/js/shout.js
+++ b/client/js/shout.js
@@ -374,7 +374,7 @@ $(function() {
});
chan.css({
transition: "none",
- opacity: .4
+ opacity: 0.4
});
return false;
}); | Don't use bare fractions | erming_shout | train | js |
3b464d90588606df56334245bccf5b12ff3d6c94 | diff --git a/opentrons/instruments/pipette.py b/opentrons/instruments/pipette.py
index <HASH>..<HASH> 100644
--- a/opentrons/instruments/pipette.py
+++ b/opentrons/instruments/pipette.py
@@ -297,15 +297,11 @@ class Pipette(Instrument):
self.current_tip_home_well = location
- # TODO: actual p... | modified pick_up_tip to assume .bottom() is the point of contact | Opentrons_opentrons | train | py |
4a946fca24b44eb806e0b9781a1c22c35828149e | diff --git a/lib/coverage.js b/lib/coverage.js
index <HASH>..<HASH> 100644
--- a/lib/coverage.js
+++ b/lib/coverage.js
@@ -37,7 +37,7 @@ function jscoverageFromIstanbulCoverage(coverage) {
jscov[filename]['source'] = fs.readFileSync(file).toString().split('\n');
for (var line = 0; line < jscov[filename]['so... | Clean up coverage display for HTML reporter
Pro:
- HTML view of code coverage shows only lines that Istanbul actually
instruments.
Con:
- This change alters the figures reported. A <I>-line file with many
comments, for example, may appear as though it only has <I> lines. | cloudkick_whiskey | train | js |
e1f85256ad025852eacec20f510184b085184469 | diff --git a/examples/test_ffi_struct.rb b/examples/test_ffi_struct.rb
index <HASH>..<HASH> 100644
--- a/examples/test_ffi_struct.rb
+++ b/examples/test_ffi_struct.rb
@@ -2,28 +2,18 @@ require 'ffi'
require 'forwardable'
module Blub
- class Struct < FFI::Struct
- class << self
- def find_type(type, mod = n... | Stop overriding find_type.
This is not compatible with ffi's master, nor with jruby's ffi. Probably
also not with rubinius' ffi, once that works with nested structs again. | mvz_gir_ffi | train | rb |
a2330b7a902c0055ada973e0f830ed1fbb4951a3 | diff --git a/src/Symfony/Component/Workflow/Workflow.php b/src/Symfony/Component/Workflow/Workflow.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Workflow/Workflow.php
+++ b/src/Symfony/Component/Workflow/Workflow.php
@@ -22,7 +22,7 @@ use Symfony\Component\Workflow\Exception\LogicException;
use Symfony\C... | [Workflow] Fixed default marking store value of Workflow | symfony_symfony | train | php |
f5f94a84dd685a1c39a2302c000e666d19ab2768 | diff --git a/src/Pool.php b/src/Pool.php
index <HASH>..<HASH> 100644
--- a/src/Pool.php
+++ b/src/Pool.php
@@ -471,7 +471,12 @@ class Pool implements PoolInterface, ProducerInterface, ContainerAccessInterface
$return_by_value = $type;
}
- return $this->connection->advancedExec... | Set container to result instance when doing advanced execute | activecollab_databaseobject | train | php |
9cdc2db61f4a81f8161bd22a9e8eabd079e48214 | diff --git a/polyaxon_client/client.py b/polyaxon_client/client.py
index <HASH>..<HASH> 100644
--- a/polyaxon_client/client.py
+++ b/polyaxon_client/client.py
@@ -29,7 +29,7 @@ class PolyaxonClient(object):
port=None,
http_port=None,
ws_port=None,
- ... | Fix issue detecting correct https config | polyaxon_polyaxon | train | py |
15ad7b7ab09093e2cc1ca501a97379858e26fecb | diff --git a/core/server/proxy/src/main/java/alluxio/proxy/s3/S3RestServiceHandler.java b/core/server/proxy/src/main/java/alluxio/proxy/s3/S3RestServiceHandler.java
index <HASH>..<HASH> 100644
--- a/core/server/proxy/src/main/java/alluxio/proxy/s3/S3RestServiceHandler.java
+++ b/core/server/proxy/src/main/java/alluxio/... | Fix wrong owner when creating directory object in S3 API
pr-link: Alluxio/alluxio#<I>
change-id: cid-e<I>ba7db<I>c<I>c<I>e<I> | Alluxio_alluxio | train | java |
7e967e795484ec9939778fa03fa18f0fe95457bf | diff --git a/shell/expand.go b/shell/expand.go
index <HASH>..<HASH> 100644
--- a/shell/expand.go
+++ b/shell/expand.go
@@ -15,6 +15,8 @@ import (
// ${#var}, but also to arithmetic expansions like $((var + 3)), and
// command substitutions like $(echo foo).
//
+// If env is nil, the current environment variables are... | shell: clarify that Expand(s, nil) is a valid use | mvdan_sh | train | go |
b4e008131881012b6be196bf481999ce7b7a6b72 | diff --git a/examples/example_run_manager/example_run_manager.py b/examples/example_run_manager/example_run_manager.py
index <HASH>..<HASH> 100644
--- a/examples/example_run_manager/example_run_manager.py
+++ b/examples/example_run_manager/example_run_manager.py
@@ -52,9 +52,9 @@ if __name__ == "__main__":
for del... | MAINT: adding some comment to avoid confusion | SiLab-Bonn_pyBAR | train | py |
4a839c63337263452df9b83d52f73bc982110680 | diff --git a/angular-file-upload.js b/angular-file-upload.js
index <HASH>..<HASH> 100644
--- a/angular-file-upload.js
+++ b/angular-file-upload.js
@@ -1,7 +1,7 @@
/**!
* AngularJS file upload directive and http post
* @author Danial <danial.farid@gmail.com>
- * @version 0.1.3
+ * @version 0.1.4
*/
var angular... | Update angular-file-upload.js
Updated the version number | danialfarid_ng-file-upload | train | js |
054c066b74bf3face1a7a3a50068478bd7140e95 | diff --git a/src/components/tabs/js/tabDirective.js b/src/components/tabs/js/tabDirective.js
index <HASH>..<HASH> 100644
--- a/src/components/tabs/js/tabDirective.js
+++ b/src/components/tabs/js/tabDirective.js
@@ -67,12 +67,11 @@ function MdTab () {
label = angular.element('<md-tab-label></md-tab-label>');
... | fix(tabs): adds proper detection for bodyless tabs
Closes #<I> | angular_material | train | js |
3b56fb2c510f2ccdd4bba2fbce91869a481aef0d | diff --git a/src/Panda/Contracts/Bootstrap/BootLoader.php b/src/Panda/Contracts/Bootstrap/BootLoader.php
index <HASH>..<HASH> 100644
--- a/src/Panda/Contracts/Bootstrap/BootLoader.php
+++ b/src/Panda/Contracts/Bootstrap/BootLoader.php
@@ -24,5 +24,5 @@ interface BootLoader
*
* @param Request $request
... | [Contracts] Set request to be nullable in BootLoader::boot()
This setting allows mocking and testing without mocking a request | PandaPlatform_framework | train | php |
5a3c04bb92e21bd221a75c4ae13a71f7d4716b44 | diff --git a/unsafe/src/main/java/org/apache/spark/unsafe/map/BytesToBytesMap.java b/unsafe/src/main/java/org/apache/spark/unsafe/map/BytesToBytesMap.java
index <HASH>..<HASH> 100644
--- a/unsafe/src/main/java/org/apache/spark/unsafe/map/BytesToBytesMap.java
+++ b/unsafe/src/main/java/org/apache/spark/unsafe/map/BytesT... | [SPARK-<I>] isDefined should not marked too early in putNewKey
JIRA: <URL> | apache_spark | train | java |
6ad53c33d8fb4fa2f8adeef3d756875e4832f8a4 | diff --git a/src/css.js b/src/css.js
index <HASH>..<HASH> 100644
--- a/src/css.js
+++ b/src/css.js
@@ -15,7 +15,7 @@ var ralpha = /alpha\([^)]*\)/i,
// order is important!
cssExpand = jQuery.cssExpand,
- cssPrefixes = [ "O", "Webkit", "Moz", "ms" ],
+ cssPrefixes = [ "Webkit", "O", "Moz", "ms" ],
curCSS; | Opera announced they will start supporting the -webkit- prefix for a selected set of css properties. Let's put the inspection of -webkit- prefix properties as the last one in case this propagates to the style object and/or other browsers (the cssPrefixes array is inspected from right to left). | jquery_jquery | train | js |
a7970cedf57df834655bac37b73030222eb8927a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -31,6 +31,6 @@ if len(argv) > 1 and argv[1] != "sdist":
# PyPI doesn't like raw html
with open("README.rst", encoding="UTF-8") as f:
readme = re.sub(r"\.\. \|.+\| raw:: html(?:\s{4}.+)+\n\n", "", f.read())
- readme =... | Fix logo not showing up on PyPI website | pyrogram_pyrogram | train | py |
9b73392d91d508b14767d9822ab4d8cd180dae75 | diff --git a/lib/core/manager.rb b/lib/core/manager.rb
index <HASH>..<HASH> 100644
--- a/lib/core/manager.rb
+++ b/lib/core/manager.rb
@@ -138,6 +138,8 @@ class Manager
:event => :regex, # Utility
:template => :json, # Utility
:translator => :json ... | Allowing for dynamic definition of namsapaces and types after core in the plugin manager reload method. | coralnexus_nucleon | train | rb |
c7daa8666aa49c0c3cfa040c56cab20998d43823 | diff --git a/contribs/gmf/src/directives/search.js b/contribs/gmf/src/directives/search.js
index <HASH>..<HASH> 100644
--- a/contribs/gmf/src/directives/search.js
+++ b/contribs/gmf/src/directives/search.js
@@ -566,6 +566,7 @@ gmf.SearchController.prototype.createAndInitBloodhound_ = function(config,
gmf.SearchControl... | Move the rateLimitWait option from ngeo to gmf | camptocamp_ngeo | train | js,js |
80d9630c58987f29f5d143bced2fd93e3926353f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ with open('requirements.txt') as f:
setup(
name='rip',
- version='0.0.92',
+ version='0.0.93',
description='A python framework for writing restful APIs.',
long_description=readme + '\n\n'... | Bump up version to <I> | Aplopio_django_rip | train | py |
27f6ffd83d15365a726b7e0266d4fff77c3ad57a | diff --git a/command/agent/consul/syncer.go b/command/agent/consul/syncer.go
index <HASH>..<HASH> 100644
--- a/command/agent/consul/syncer.go
+++ b/command/agent/consul/syncer.go
@@ -319,9 +319,14 @@ func (c *Syncer) Shutdown() error {
cr.Stop()
}
- // De-register all the services from consul
- for _, service :=... | On Syncer Shutdown, remove all services that match a Syncer's prefix. | hashicorp_nomad | train | go |
72bfc435adaf2902fbd44d6cb421ab51717bf5f3 | diff --git a/builtin/providers/google/image.go b/builtin/providers/google/image.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/google/image.go
+++ b/builtin/providers/google/image.go
@@ -49,7 +49,7 @@ func resolveImageFamilyExists(c *Config, project, name string) (bool, error) {
func sanityTestRegexMatches(e... | Update typo.
We never updated the error to use the expectation, not hardcode it to 2. | hashicorp_terraform | train | go |
6bcb4a1e4f193559c9f07b92716c4ce1ebb9a73e | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -6,6 +6,7 @@ var format = require('../lib');
var testDate = new Date(Date.UTC(2012, 11, 14, 13, 6, 43, 152));
var testArray = [ 'abc', 1, true, null, testDate ];
+var testIdentArray = [ 'abc', 'AbC', 1,... | Update tests to match support for identifier arrays. | datalanche_node-pg-format | train | js |
4b7c358a6ca0a8ce1942c5740fe3a2650863c47b | diff --git a/boards.js b/boards.js
index <HASH>..<HASH> 100644
--- a/boards.js
+++ b/boards.js
@@ -5,7 +5,7 @@ var boards = {
pageSize: 128,
numPages: 256,
timeout: 400,
- productId: ['0x0043', '0x7523'],
+ productId: ['0x0043', '0x7523','0x0001'],
protocol: 'stk500v1'
},
'micro': { | Added new ProductID in "uno" for Freduino UNO compatibility | noopkat_avrgirl-arduino | train | js |
e641d4ab82010a260e186dcc4237cb693fd49653 | diff --git a/cors.go b/cors.go
index <HASH>..<HASH> 100644
--- a/cors.go
+++ b/cors.go
@@ -13,6 +13,7 @@ type Config struct {
AllowAllOrigins bool
// AllowedOrigins is a list of origins a cross-domain request can be executed from.
+ // If the special "*" value is present in the list, all origins will be allowed.
... | undo comments, cross support for wildcard origin | gin-contrib_cors | train | go |
11fb38ed5ab349501f61c93a2c31b92acbf14532 | diff --git a/src/wtf/db/eventiterator.js b/src/wtf/db/eventiterator.js
index <HASH>..<HASH> 100644
--- a/src/wtf/db/eventiterator.js
+++ b/src/wtf/db/eventiterator.js
@@ -13,6 +13,7 @@
goog.provide('wtf.db.EventIterator');
+goog.require('goog.asserts');
goog.require('wtf.data.EventFlag');
goog.require('wtf.db.Ev... | Asserting and handling better a broken case of event data.
Issue #<I> filed to track it. | google_tracing-framework | train | js |
bfb17c8022e6fa986bdebdd392ad00af1d467bd3 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -99,7 +99,7 @@ master_doc = 'index'
# General information about the project.
project = 'MetPy'
# noinspection PyShadowingBuiltins
-copyright = (f'{cur_date:%Y}-2020, MetPy Developers. '
+copyright = (f'2008\... | DOC: Fix copyright range (Fixes #<I>)
Somehow we replace the origination year instead of the final year in
2e3f<I>. Also use the right Unicode character for the range. | Unidata_MetPy | train | py |
4640b7e264ca1417cb02e787e6263db9aa3dfcb7 | diff --git a/test/e2e/dns.go b/test/e2e/dns.go
index <HASH>..<HASH> 100644
--- a/test/e2e/dns.go
+++ b/test/e2e/dns.go
@@ -321,10 +321,10 @@ var _ = framework.KubeDescribe("DNS", func() {
"kubernetes.default",
"kubernetes.default.svc",
"kubernetes.default.svc.cluster.local",
- "google.com",
}
// Add... | Add google.com to e2e test only under gce/gke
We should limit the lookup/resolve for google.com when
provider is gce or gke. We should be able to run the
test in environments where this is not allowed or not
available. | kubernetes_kubernetes | train | go |
d45c0299aedd693f7066def82624b2c2c1b91e42 | diff --git a/tests/Support/SupportClassLoaderTest.php b/tests/Support/SupportClassLoaderTest.php
index <HASH>..<HASH> 100644
--- a/tests/Support/SupportClassLoaderTest.php
+++ b/tests/Support/SupportClassLoaderTest.php
@@ -27,12 +27,11 @@ class SupportClassLoaderTest extends PHPUnit_Framework_TestCase {
$php53Class ... | Tweaking the autoloader test to not actually autoload but test the load() method works as expected. | laravel_framework | train | php |
f4d852d6d93bb0f46e9db895d4858093610a69f5 | diff --git a/imagemounter/__init__.py b/imagemounter/__init__.py
index <HASH>..<HASH> 100644
--- a/imagemounter/__init__.py
+++ b/imagemounter/__init__.py
@@ -6,7 +6,7 @@ __version__ = '1.5.1'
BLOCK_SIZE = 512
VOLUME_SYSTEM_TYPES = ('detect', 'dos', 'bsd', 'sun', 'mac', 'gpt', 'dbfiller')
-FILE_SYSTEM_TYPES = ('ext... | Update __init__.py
Adder xfs to known file systems | ralphje_imagemounter | train | py |
d42ca5d5bc2f67e503ddb61e44ff1c461c589b58 | diff --git a/hs_restclient/__init__.py b/hs_restclient/__init__.py
index <HASH>..<HASH> 100644
--- a/hs_restclient/__init__.py
+++ b/hs_restclient/__init__.py
@@ -122,6 +122,8 @@ class HydroShare(object):
self.url_base = self._URL_PROTO_WITHOUT_PORT.format(scheme=self.scheme,
... | getResourceTypes() now returns a set rather than a list
getResourceTypes() is now called by the HydroShare constructor | hydroshare_hs_restclient | train | py |
568fce11905b919ba2bc9bb68296b7aee92dab6f | diff --git a/lib/charlotte.js b/lib/charlotte.js
index <HASH>..<HASH> 100755
--- a/lib/charlotte.js
+++ b/lib/charlotte.js
@@ -2200,7 +2200,7 @@
_.each([browser.onBack, tab.onBack, onBack], function(onBack) {
if (onBack && onBack.callback) {
onBackCallbackSeries.push(f... | set page as `this` when calling onBack callbacks | danieldkim_charlotte | train | js |
c902126cfbf6214cc244f90faaff344cd609f867 | diff --git a/jspdf.js b/jspdf.js
index <HASH>..<HASH> 100644
--- a/jspdf.js
+++ b/jspdf.js
@@ -1688,18 +1688,6 @@ function jsPDF(/** String */ orientation, /** String */ unit, /** String */ form
return buildDocument();
case 'save':
- // If Safari - fallback to Data URL, sorry there's no way to feature det... | Replaced call to BlobBuilder with call to Blob [File API] | MrRio_jsPDF | train | js |
89ee9f42e389bcab5abb34899c5461028b87dc8a | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -135,6 +135,9 @@ Parser.prototype = {
this.context(parser);
var ast = parser.parse();
this.context();
+ // hoist mixins
+ for (var name in this.mixins)
+ ast.unshift(th... | Make mixins available if defined in the same file as `extends` | pugjs_then-pug | train | js |
1df7f7e6d1e809362b16aba8893675ef81b1b9ab | diff --git a/network.go b/network.go
index <HASH>..<HASH> 100644
--- a/network.go
+++ b/network.go
@@ -1181,7 +1181,8 @@ func (n *network) createEndpoint(name string, options ...EndpointOption) (Endpoi
ep.locator = n.getController().clusterHostID()
ep.network, err = ep.getNetworkFromStore()
if err != nil {
- ret... | Fix 'failed to get network during CreateEndpoint'
Fix 'failed to get network during CreateEndpoint' during container starting.
Change the error type to `libnetwork.ErrNoSuchNetwork`, so `Start()` in `daemon/cluster/executor/container/controller.go` will recreate the network. | docker_libnetwork | train | go,go |
145602038fa711ebfda981fdd0d33ecf946d0408 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -155,6 +155,7 @@ icescrum.getAllStories = function(params, callback) {
};
var req = http.request(options, function(result) {
+ var responseParts = [];
result.setEncoding('utf8');
result.on(... | The get all stories API returns the result in multiple chunks, the
wrapper returns it (now) as a whole. | fpap_node-icescrum | train | js |
d328cfb2c36162ab535a2447102ffc9167d6efac | diff --git a/setup-jottacloudclient.py b/setup-jottacloudclient.py
index <HASH>..<HASH> 100644
--- a/setup-jottacloudclient.py
+++ b/setup-jottacloudclient.py
@@ -53,7 +53,8 @@ setup(name='jottacloudclient',
],
# see https://pythonhosted.org/setuptools/setuptools.html#declaring-extras-op... | Adding dependencies to fast cache and xattr
.. for faster and smarter code | havardgulldahl_jottalib | train | py |
3b4710d8989230203e27a6dbf8bba21152e50707 | diff --git a/tests/unit/src/RunnerTest.php b/tests/unit/src/RunnerTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/src/RunnerTest.php
+++ b/tests/unit/src/RunnerTest.php
@@ -150,8 +150,9 @@ class RunnerTest extends PHPUnit_Framework_TestCase {
}
public function testErrorsSilencedWhenErrorReportingOff()... | Skipping a test for HHVM. | thephpleague_booboo | train | php |
821f87f8969d75ac358768d17e84b3b91ff487cb | diff --git a/Model/TaskServer.php b/Model/TaskServer.php
index <HASH>..<HASH> 100644
--- a/Model/TaskServer.php
+++ b/Model/TaskServer.php
@@ -159,6 +159,9 @@ class TaskServer extends TaskModel {
return;
}
$statistics = array_values(array_filter(preg_split('/\s+/', `ps -o '%mem,%cpu,stat' --ppid {$task['proce... | Fix getting statistics caused different execution handler on different OS #<I> | imsamurai_cakephp-task-plugin | train | php |
4c3fdedcc4e574d19f4ac3e04ff01d99044a5e1f | diff --git a/lib/grunt/tasks/release.js b/lib/grunt/tasks/release.js
index <HASH>..<HASH> 100644
--- a/lib/grunt/tasks/release.js
+++ b/lib/grunt/tasks/release.js
@@ -23,7 +23,7 @@ var path = require("path"),
// remove redundancies in css filenames
fs.renameSync(path.join(paths.dist, "lib/fine-uploade... | feat(build): better name for modern row-layout stylesheet
Only used in new lib directory.
#<I> | FineUploader_fine-uploader | train | js |
40394beff570e6fb77936af3d1aa6f48fd9588b2 | diff --git a/remodel/connection.py b/remodel/connection.py
index <HASH>..<HASH> 100644
--- a/remodel/connection.py
+++ b/remodel/connection.py
@@ -10,16 +10,26 @@ from .utils import Counter
class Connection(object):
- def __init__(self, db='test', host='localhost', port=28015, auth_key=''):
+ def __init__(se... | Support for RethinkDB <I>'s new user model | linkyndy_remodel | train | py |
d58b897ef3a965726915aa764047a3f1a7ed3554 | diff --git a/lib/frontend/rest-adaptor.js b/lib/frontend/rest-adaptor.js
index <HASH>..<HASH> 100644
--- a/lib/frontend/rest-adaptor.js
+++ b/lib/frontend/rest-adaptor.js
@@ -1,3 +1,5 @@
+var debug = require('../debug');
+
var model = require('../model');
var defaultCommands = require('./default-commands/rest');
@@... | rest-adaptor: add debug logs | droonga_express-droonga | train | js |
5df10dad976ef392c2f2b992f58713274164d5ef | diff --git a/ghost/admin/controllers/modals/leave-editor.js b/ghost/admin/controllers/modals/leave-editor.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/controllers/modals/leave-editor.js
+++ b/ghost/admin/controllers/modals/leave-editor.js
@@ -50,7 +50,7 @@ var LeaveEditorController = Ember.Controller.extend({
... | Change text on leave modal cancel button
issue #<I> | TryGhost_Ghost | train | js |
441fd184e2e39e35f609bec7d6badd6ca5797eea | diff --git a/src/api/center.js b/src/api/center.js
index <HASH>..<HASH> 100644
--- a/src/api/center.js
+++ b/src/api/center.js
@@ -1,8 +1,8 @@
const toArray = require('../core/utils/toArray')
-/**
+/** NOTE: this is not functional YET !!
* centers the given object(s) on the given axis
- * @param {[Object]} object(... | fix(docstring): fixed a few bad docstrings which prevented docs from being generated (#<I>) | jscad_csg.js | train | js,js |
a54c99bb0146033fd25ff3dff3cdbcdb3b5edaaf | diff --git a/filer/server/urls.py b/filer/server/urls.py
index <HASH>..<HASH> 100644
--- a/filer/server/urls.py
+++ b/filer/server/urls.py
@@ -1,5 +1,5 @@
#-*- coding: utf-8 -*-
-from django.conf.urls import patterns, url, include
+from django.conf.urls.defaults import patterns, url, include
from filer import setting... | fix url import to work in django<<I> | divio_django-filer | train | py |
e6614f0b9014f68df4e804615faccfc2d2614caf | diff --git a/src/values/PrimitiveValue.js b/src/values/PrimitiveValue.js
index <HASH>..<HASH> 100644
--- a/src/values/PrimitiveValue.js
+++ b/src/values/PrimitiveValue.js
@@ -27,11 +27,11 @@ class PrimitiveValue extends Value {
return out;
}
- *get(what, realm) {
- return yield * this.derivePrototype(realm).get... | PrimitiveValue: remove duplicated `get` method | codecombat_esper.js | train | js |
672863494394aa7af897c64e0ff63ccfc5f88d9a | diff --git a/lib/chef/provider/package/aix.rb b/lib/chef/provider/package/aix.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/provider/package/aix.rb
+++ b/lib/chef/provider/package/aix.rb
@@ -60,6 +60,7 @@ class Chef
@new_resource.version(fields[2])
end
end
+ ... | Raise exception if a package provided by 'source' doesn't actually provide
that package | chef_chef | train | rb |
0ab11ff23168b7aeb656d9a5d117153303f1ae44 | diff --git a/tests/HtmlHeadingNormalizerTest.php b/tests/HtmlHeadingNormalizerTest.php
index <HASH>..<HASH> 100644
--- a/tests/HtmlHeadingNormalizerTest.php
+++ b/tests/HtmlHeadingNormalizerTest.php
@@ -128,6 +128,7 @@ class HtmlHeadingNormalizerTest extends \PHPUnit_Framework_TestCase
public function minSimpleHtm... | Added test case where no headings exists in HTML. | vikpe_php-html-heading-normalizer | train | php |
c7a440ec80611d2bb7c679dee7d246af37a1f112 | diff --git a/src/algoliasearch.helper.js b/src/algoliasearch.helper.js
index <HASH>..<HASH> 100644
--- a/src/algoliasearch.helper.js
+++ b/src/algoliasearch.helper.js
@@ -1268,7 +1268,7 @@ AlgoliaSearchHelper.prototype.getClient = function() {
* is `SearchParameters -> SearchParameters`.
*
* This method returns a... | doc(derivation): Fix typo (fix #<I>)
DerivedHelper fires `result` event, not `results`. | algolia_algoliasearch-helper-js | train | js |
29088fae2f9d9d9a6120df7d48d0568623a3071a | diff --git a/src/Update/Updates.php b/src/Update/Updates.php
index <HASH>..<HASH> 100644
--- a/src/Update/Updates.php
+++ b/src/Update/Updates.php
@@ -480,6 +480,7 @@ class Updates {
unset($files[$key]);
}
}
+ $this->updater->getFileSystem()->chmod('docroot/sites/default', 0755);
$this->upd... | Fixes #<I>: File permission error during upgrade to <I>-beta2. (#<I>) | acquia_blt | train | php |
27c94ddb76c19de5d454fffcfbea5e6bf52c30ca | diff --git a/cobald_tests/controller/test_switch.py b/cobald_tests/controller/test_switch.py
index <HASH>..<HASH> 100644
--- a/cobald_tests/controller/test_switch.py
+++ b/cobald_tests/controller/test_switch.py
@@ -6,7 +6,7 @@ from cobald.controller.linear import LinearController
from cobald.controller.switch import D... | renamted test from TestLinearController to TestSwitchController | MatterMiners_cobald | train | py |
0cc8a9321387b29ee6b265dc154aa24351187b9e | diff --git a/cobe/scoring.py b/cobe/scoring.py
index <HASH>..<HASH> 100644
--- a/cobe/scoring.py
+++ b/cobe/scoring.py
@@ -70,11 +70,23 @@ class CobeScorer(Scorer):
info += -math.log(p, 2)
- n_edges = len(reply.edges)
- if n_edges > 8:
- info /= math.sqrt(n_edges - 1)
- ... | Tweak CobeScorer to behave more like cobe <I>
Use a context count that is more similar to the old count,
by taking spacing and extra <I> edges into account. | pteichman_cobe | train | py |
e73bafa9651aca45347804ebfa7709ca78d0d475 | diff --git a/clearly/client.py b/clearly/client.py
index <HASH>..<HASH> 100644
--- a/clearly/client.py
+++ b/clearly/client.py
@@ -197,7 +197,7 @@ class ClearlyClient:
pass
@set_user_friendly_errors
- def stats(self) -> None:
+ def metrics(self) -> None:
"""List some metrics about the... | rene\ame stats to metrics | rsalmei_clearly | train | py |
6d14b9d65cfc6a82132986cd53311ab72b0d793a | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -37,16 +37,18 @@ function createFunctions(Reflux, PromiseFactory) {
}
if (canHandlePromise) {
- var removeSuccess = me.completed.listen(function(argsArr) {
+ ... | Support multiple arguments (as array) in Promise's | reflux_reflux-promise | train | js |
6254c53a4a11446d5d06170340a3d78036bf49bd | diff --git a/routing/router_test.go b/routing/router_test.go
index <HASH>..<HASH> 100644
--- a/routing/router_test.go
+++ b/routing/router_test.go
@@ -2,6 +2,7 @@ package routing
import (
"bytes"
+ "errors"
"fmt"
"image/color"
"math"
@@ -2978,13 +2979,14 @@ func TestRouterPaymentStateMachine(t *testing.T) {
... | routing: fix use of T.Fatal() in test goroutine | lightningnetwork_lnd | train | go |
c03d78a28da1e8e7f4eb6981968d0bf7e0824dae | diff --git a/undertow/src/main/java/org/wildfly/extension/undertow/ListenerService.java b/undertow/src/main/java/org/wildfly/extension/undertow/ListenerService.java
index <HASH>..<HASH> 100644
--- a/undertow/src/main/java/org/wildfly/extension/undertow/ListenerService.java
+++ b/undertow/src/main/java/org/wildfly/exten... | Use buffersize that is configured/calculated for buffer pool | wildfly_wildfly | train | java |
f62e26bae024bba713f19d8ca35103cd08e8d8cf | diff --git a/lib/aims/geometry.rb b/lib/aims/geometry.rb
index <HASH>..<HASH> 100644
--- a/lib/aims/geometry.rb
+++ b/lib/aims/geometry.rb
@@ -402,9 +402,9 @@ module Aims
nz_sign = (0 < nz) ? 1 : -1
new_atoms = []
- nx.abs.times do |i|
- ny.abs.times do |j|
- nz.abs.ti... | Fixed bug when repeat is not an integer | jns_Aims | train | rb |
2e9750c37516a2e7694b7c8896298fded2b71c34 | diff --git a/lib/sugarcrm/associations/association_cache.rb b/lib/sugarcrm/associations/association_cache.rb
index <HASH>..<HASH> 100644
--- a/lib/sugarcrm/associations/association_cache.rb
+++ b/lib/sugarcrm/associations/association_cache.rb
@@ -19,8 +19,10 @@ module SugarCRM; module AssociationCache
# Updates an... | don't update association collection if relationship already exists
associating a contact to an account twice shouldn't increase account.contacts.size each time | chicks_sugarcrm | train | rb,rb |
6595297b2b733f22ee75ccdbc95f5638c5dc5484 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -103,7 +103,7 @@ http://api.mongodb.org/python/current/installation.html#osx
kwargs = {}
-version = "4.5.1"
+version = "5.0.dev1"
with open('README.rst') as f:
kwargs['long_description'] = f.read()
diff --git a/to... | Bump master version to <I>.dev1 | tornadoweb_tornado | train | py,py |
bc3c02aec6f254d8155352c8362513515279d402 | diff --git a/lib/nydp/pair.rb b/lib/nydp/pair.rb
index <HASH>..<HASH> 100644
--- a/lib/nydp/pair.rb
+++ b/lib/nydp/pair.rb
@@ -161,13 +161,7 @@ class Nydp::Pair
end
def to_s
- if (car == nil)
- "nil"
- elsif car.is_a?(String)
- car.inspect
- elsif car.is_a?(Nydp::Fn)
- car.to_s
- elsi... | pair: fix #to_s after making nicer broke it. It's still nicer though. | conanite_nydp | train | rb |
2085166396cce491463a3a9dab9d60b3463f2f2c | diff --git a/fetcher/nvd/json/nvd.go b/fetcher/nvd/json/nvd.go
index <HASH>..<HASH> 100644
--- a/fetcher/nvd/json/nvd.go
+++ b/fetcher/nvd/json/nvd.go
@@ -3,6 +3,7 @@ package json
import (
"encoding/json"
"fmt"
+ "sort"
"strings"
"time"
@@ -31,6 +32,10 @@ func FetchConvert(metas []models.FeedMeta) (cves []mo... | fix(fetch-nvd): prevent overwriting with old cve-details on redis (#<I>) | kotakanbe_go-cve-dictionary | train | go |
32091b265f6012138a736974be1750635dc5de63 | diff --git a/cherrypy/_cpcompat_subprocess.py b/cherrypy/_cpcompat_subprocess.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cpcompat_subprocess.py
+++ b/cherrypy/_cpcompat_subprocess.py
@@ -883,7 +883,7 @@ class Popen(object):
startupinfo.dwFlags |= _subprocess.STARTF_USESHOWWINDOW
s... | Python <I> str.format does not support unindexed parameters
The code using Python <I>+ only code was used on Windows only.
--HG--
branch : subprocess-py<I>-win<I>-fix | cherrypy_cheroot | train | py |
ab797d1b6590a1921373dd85f040fc01a3221de8 | diff --git a/pkg/controller/service/servicecontroller.go b/pkg/controller/service/servicecontroller.go
index <HASH>..<HASH> 100644
--- a/pkg/controller/service/servicecontroller.go
+++ b/pkg/controller/service/servicecontroller.go
@@ -498,6 +498,11 @@ func (s *ServiceController) needsUpdate(oldService *api.Service, new... | A load balancer should be updated if a service's UID has changed.
The load balancer's name is determined by the service's UID. If the
service's UID has changed (presumably due to a delete and recreate),
then we need to recreate the load balancer as well to avoid eventually
leaking the old one. | kubernetes_kubernetes | train | go |
b151faaba7594dba139fb399f03ba57cc3412c9e | diff --git a/lib/Alchemy/Phrasea/Filesystem/FilesystemService.php b/lib/Alchemy/Phrasea/Filesystem/FilesystemService.php
index <HASH>..<HASH> 100644
--- a/lib/Alchemy/Phrasea/Filesystem/FilesystemService.php
+++ b/lib/Alchemy/Phrasea/Filesystem/FilesystemService.php
@@ -45,7 +45,7 @@ class FilesystemService
... | Change right mask to asset dir PHRAS-<I>
Change right mask to asset dir PHRAS-<I> | alchemy-fr_Phraseanet | train | php |
fb495a45e980345a94d7656d73e92d6fe51b6a86 | diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -1074,7 +1074,7 @@ class Instrument(object):
output_str += 'Cleaning Level: ' + self.clean_level + '\n'
output_str += 'Data Padding: ' + self.pad.__repr__() + '... | TST: use str instead of repr in str
Use dictionary str representation. | rstoneback_pysat | train | py |
b86a9f80a35d109f6f6d60f7b5138004a23864a3 | diff --git a/src/EvalFile_Command.php b/src/EvalFile_Command.php
index <HASH>..<HASH> 100644
--- a/src/EvalFile_Command.php
+++ b/src/EvalFile_Command.php
@@ -57,15 +57,16 @@ class EvalFile_Command extends WP_CLI_Command {
WP_CLI::get_runner()->load_wordpress();
}
- self::execute_eval( $file );
+ self::execu... | Do not strip $args, as it is needed | wp-cli_eval-command | train | php |
41f1f897ca7d0b966609c0b39b8fb9596a2327a5 | diff --git a/neural/afni.py b/neural/afni.py
index <HASH>..<HASH> 100644
--- a/neural/afni.py
+++ b/neural/afni.py
@@ -86,7 +86,7 @@ def dset_info(dset):
for d in details_regex:
m = re.findall(details_regex[d],raw_info)
if len(m):
- setattr(info,d,m[0].group(1))
+ setattr(in... | align_epi_anat seems to be deleting more than it should... | azraq27_neural | train | py |
c6d12d5e1d51bf9559a67ea9f6b8211d212590d6 | diff --git a/modeldict/base.py b/modeldict/base.py
index <HASH>..<HASH> 100644
--- a/modeldict/base.py
+++ b/modeldict/base.py
@@ -5,8 +5,9 @@ import base64
class PersistedDict(object):
"""
Dictionary that calls out to its persistant data store when items are
- created or deleted. Caches data in process ... | Change docstring for class to actually make sense. | disqus_durabledict | train | py |
a3faea133632dba075e090a5d8a888718043a1f1 | diff --git a/src/LaravelAnalyticsServiceProvider.php b/src/LaravelAnalyticsServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/LaravelAnalyticsServiceProvider.php
+++ b/src/LaravelAnalyticsServiceProvider.php
@@ -75,6 +75,8 @@ class LaravelAnalyticsServiceProvider extends ServiceProvider
'use_obj... | Set the google cache path to the Laravel storage dir
Keeps temporary files inside the storage directory. Useful for servers with open_basedir restrictions. | spatie_laravel-analytics | train | php |
d3c2bd33e1f88cb225ccf521763ad79b7162bace | diff --git a/server/Top.rb b/server/Top.rb
index <HASH>..<HASH> 100755
--- a/server/Top.rb
+++ b/server/Top.rb
@@ -25,7 +25,6 @@ require 'Measure.rb'
require 'Actuator.rb'
require 'Publish.rb'
require 'globals.rb'
-require 'sql.rb'
# List of library include
require 'yaml'
@@ -122,6 +121,7 @@ class Top
}
... | Include sql.rb only if database is present in config | openplacos_openplacos | train | rb |
7e6b87db076bbeba7733613ca928293b50af5da2 | diff --git a/src/android/LocationManager.java b/src/android/LocationManager.java
index <HASH>..<HASH> 100644
--- a/src/android/LocationManager.java
+++ b/src/android/LocationManager.java
@@ -1267,7 +1267,9 @@ public class LocationManager extends CordovaPlugin implements BeaconConsumer {
private void _handleExcepti... | Android - Fixed IDE (Android Studio) warning where toString() was implicitly called on an array (the stack trace elements of exceptions'). | petermetz_cordova-plugin-ibeacon | train | java |
e03553b5b2c0e5d52e7d0c6771347313153091ca | diff --git a/graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java b/graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/database/PersistedServiceImpl.java
+++ b/graylog2-server/src/main/java/o... | Ensure we use a mutable map to persist data | Graylog2_graylog2-server | train | java |
127e7ca40bb319a3685bcd58e74e9096c9f8fbf5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ CHANGES = open(os.path.join(here, 'HISTORY.rst')).read()
requires = [
'pyramid',
- 'skosprovider>=0.2.0dev'
+ 'skosprovider>=0.2.0a1'
]
tests_requires = [
@@ -26,7 +26,7 @@ setup(
long_descr... | Mark as version <I>a1 | koenedaele_pyramid_skosprovider | train | py |
49024f1bef6a632c59287f5f0e65626e96061d96 | diff --git a/tornado/test/twisted_test.py b/tornado/test/twisted_test.py
index <HASH>..<HASH> 100644
--- a/tornado/test/twisted_test.py
+++ b/tornado/test/twisted_test.py
@@ -24,6 +24,7 @@ import shutil
import signal
import tempfile
import threading
+import warnings
try:
import fcntl
@@ -444,7 +445,11 @@ cla... | Fix a DeprecationWarning in twisted_test with Twisted <I>. | tornadoweb_tornado | train | py |
a5633393c990a216d645b48c4f04afe471d15169 | diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -1722,9 +1722,10 @@ def get_id(root_dir=None, minion_id=False, cache=True):
with salt.utils.fopen('/etc/hosts') as hfl:
for line in hfl:
names = line.split()
- ... | More concise fix for empty /etc/hosts line check | saltstack_salt | train | py |
b68808e8da9861ba4a82a473d0b6a6c83301e340 | diff --git a/clarent/certificate.py b/clarent/certificate.py
index <HASH>..<HASH> 100644
--- a/clarent/certificate.py
+++ b/clarent/certificate.py
@@ -104,7 +104,9 @@ class SecureCiphersContextFactory(object):
# Since we can multiplex everything over a single connection, this
# doesn't really matter as much. Also, GC... | Clarify ciphersuite choices | crypto101_clarent | train | py |
d03149ce16fc8842bdb1a5568c07c6ffa59bf761 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -36,7 +36,7 @@ return array(
'taoLti' => '>=3.2.2',
'taoLtiBasicOutcome' => '>=2.6',
'taoResultServer' => '>=4.2.0',
- 'taoDelivery' => '>=7.0.0'
+ 'taoDelivery' => '>=7... | Require correct taoDelivery version | oat-sa_extension-tao-ltideliveryprovider | train | php |
d3ef1708b406cd06aae58912c8616de409e5bac6 | diff --git a/tickets/views.py b/tickets/views.py
index <HASH>..<HASH> 100644
--- a/tickets/views.py
+++ b/tickets/views.py
@@ -50,4 +50,5 @@ class TicketCreateView(CreateView):
ticket.creator = self.request.user
ticket.save()
self.success_url = reverse('tickets:detail', args=[ticket.id])
+ ... | add ticket created success message to ticket create view | byteweaver_django-tickets | 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.