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 |
|---|---|---|---|---|---|
877bd7daf370012fc42949c6a732f431b2e785c2 | diff --git a/clients/web/test/spec/routingSpec.js b/clients/web/test/spec/routingSpec.js
index <HASH>..<HASH> 100644
--- a/clients/web/test/spec/routingSpec.js
+++ b/clients/web/test/spec/routingSpec.js
@@ -362,7 +362,7 @@ describe('Test routing paths', function () {
return $('input#g-core-cookie-lifetime'... | Fix expectation of web_client_routing test | girder_girder | train | js |
8c1dbc86a0764385b5626439dbb2506414053bdb | diff --git a/tests/backend/test_util.py b/tests/backend/test_util.py
index <HASH>..<HASH> 100644
--- a/tests/backend/test_util.py
+++ b/tests/backend/test_util.py
@@ -1,7 +1,8 @@
-import pytest
-
+from functools import singledispatch
from types import ModuleType
+import pytest
+
@pytest.fixture
def mock_module()... | Import std libs at the top
the rationale behind importing under a test function is to import what
is being tested, and perhasp likely to fail, to isolate possible errors
resulting from the import itself
see
<URL> | bigchaindb_bigchaindb | train | py |
802286d3ba3a8ba5b7010e07200ee994d3273f01 | diff --git a/spec/multi_json_spec.rb b/spec/multi_json_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/multi_json_spec.rb
+++ b/spec/multi_json_spec.rb
@@ -63,7 +63,7 @@ describe 'MultiJson' do
MultiJson.use :json_gem
end
- it 'should warb about json/pure' do
+ it 'should warn about json/pure... | Fix a typo in specs [ci skip] | intridea_multi_json | train | rb |
45a157d73f5ab65366538c0f314f6484a1f61de0 | diff --git a/src/net/sf/mpxj/LocaleData.java b/src/net/sf/mpxj/LocaleData.java
index <HASH>..<HASH> 100644
--- a/src/net/sf/mpxj/LocaleData.java
+++ b/src/net/sf/mpxj/LocaleData.java
@@ -76,7 +76,7 @@ public class LocaleData extends ListResourceBundle
TASK_COLUMNS_ARRAY[TaskField.BCWP_VALUE] = "BCWP";
TAS... | Updated column name to match Microsoft Project. | joniles_mpxj | train | java |
51b5edaa2f8dfb0acb520ecb394706ade2200a35 | diff --git a/src/Illuminate/Foundation/Console/AboutCommand.php b/src/Illuminate/Foundation/Console/AboutCommand.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Console/AboutCommand.php
+++ b/src/Illuminate/Foundation/Console/AboutCommand.php
@@ -86,6 +86,8 @@ class AboutCommand extends Command
... | Print new line at end of `about` command output | laravel_framework | train | php |
1259c0c59ef4c6642cd1a2e884db8d64a7226dd8 | diff --git a/lib/ecm/contact/version.rb b/lib/ecm/contact/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ecm/contact/version.rb
+++ b/lib/ecm/contact/version.rb
@@ -1,5 +1,5 @@
module Ecm
module Contact
- VERSION = '5.1.0'.freeze
+ VERSION = '5.1.1'.freeze
end
end | Bumped version to <I> | robotex82_ecm_contact2 | train | rb |
9a253dd8fd7eb4384da02cb7ac32aec517a0e03b | diff --git a/lib/millstone.js b/lib/millstone.js
index <HASH>..<HASH> 100644
--- a/lib/millstone.js
+++ b/lib/millstone.js
@@ -385,9 +385,6 @@ function resolve(options, callback) {
try {
l.srs = l.srs || srs.parse(data).proj4;
} catch (e) {}
- try {
... | ESRI adding has been moved into node-srs | tilemill-project_millstone | train | js |
efafbb8265d749a2a1c2224aeaf7479ae29c9d53 | diff --git a/src/org/jgroups/protocols/TP.java b/src/org/jgroups/protocols/TP.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/TP.java
+++ b/src/org/jgroups/protocols/TP.java
@@ -1267,7 +1267,7 @@ public abstract class TP extends Protocol implements DiagnosticsHandler.ProbeHan
processBatch(... | Printinting stack trace on incoming message failure | belaban_JGroups | train | java |
cd32ea038ea94d9f755973572e3f0294f3328fa3 | diff --git a/src/Console/RefreshTokenCommand.php b/src/Console/RefreshTokenCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/RefreshTokenCommand.php
+++ b/src/Console/RefreshTokenCommand.php
@@ -42,7 +42,16 @@ class RefreshTokenCommand extends Command {
$oAth2->setCode($accessToken);
$authToke... | Add control when creating a new refresh token and there is no refresh_token key in the response | Edujugon_laravel-google-ads | train | php |
345ab27e02cbbf2e9e0ffd97845531365074bcb8 | diff --git a/raiden/smart_contracts/tests/test_cmc.py b/raiden/smart_contracts/tests/test_cmc.py
index <HASH>..<HASH> 100644
--- a/raiden/smart_contracts/tests/test_cmc.py
+++ b/raiden/smart_contracts/tests/test_cmc.py
@@ -315,7 +315,7 @@ contract ChannelManagerContract {
}
'''
-
+@pytest.mark.xfail
def test_cmc()... | marking cmc test as xfail | raiden-network_raiden | train | py |
dc268775bd0409bc79dd4f0005c9aa4949487deb | diff --git a/Resources/public/js/models/ez-contenttypemodel.js b/Resources/public/js/models/ez-contenttypemodel.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/models/ez-contenttypemodel.js
+++ b/Resources/public/js/models/ez-contenttypemodel.js
@@ -14,7 +14,7 @@ YUI.add('ez-contenttypemodel', function (Y) {
... | Fixed an issue in content type model documentation | ezsystems_PlatformUIBundle | train | js |
0f6d5b9af61b1a727e1a5f563e37209fb253ac64 | diff --git a/tests/unit_project/test_photos/test_photo.py b/tests/unit_project/test_photos/test_photo.py
index <HASH>..<HASH> 100644
--- a/tests/unit_project/test_photos/test_photo.py
+++ b/tests/unit_project/test_photos/test_photo.py
@@ -45,7 +45,9 @@ class TestPhoto(DatabaseTestCase):
self.thumbnail_path = s... | As stated by developers, thickbox is not working for now | ella_ella | train | py |
fde3e6b15fd23b6f4956bb84e3f398581f31f786 | diff --git a/noop.go b/noop.go
index <HASH>..<HASH> 100644
--- a/noop.go
+++ b/noop.go
@@ -36,4 +36,6 @@ func (*noopSpan) Tag(string, string) {}
func (*noopSpan) Finish() {}
+func (*noopSpan) FinishedWithDuration(duration time.Duration) {}
+
func (*noopSpan) Flush() {}
diff --git a/span.go b/span.go
index <HASH>.... | Adding FinishedWithDuration to Span interface | openzipkin_zipkin-go | train | go,go |
1f71dfb2f8a3d43336b4a0ecbfb749393e39083d | diff --git a/pyvisa/highlevel.py b/pyvisa/highlevel.py
index <HASH>..<HASH> 100644
--- a/pyvisa/highlevel.py
+++ b/pyvisa/highlevel.py
@@ -1035,7 +1035,8 @@ class VisaLibraryBase(object):
return (ResourceInfo(parsed.interface_type_const,
parsed.board,
- ... | fix(highlevel): added resource_name to parse_resource_extended
Using ResourceManager.resource_info returned inconsistent results
between the NI-VISA backend vs other backends which didn't extend
visalib.parse_resource_extended (e.g. PyVISA-sim) and code relying
on the "normalization" behavior of resource_info.resource... | pyvisa_pyvisa | train | py |
6040cb3cf6ed898db1d90c40d8c14f3e4613560e | diff --git a/src/appContext.js b/src/appContext.js
index <HASH>..<HASH> 100644
--- a/src/appContext.js
+++ b/src/appContext.js
@@ -4,6 +4,13 @@
Only exported to enable testing. You shouldn't be accessing this normally.
*/
-export const appContext = {}
-export const app = () => appContext
+if (! global.appContex... | Use global to make sure same appContext is available everywhere | mindhivenz_di-js | train | js |
bb3f3bebfaee2d72a90460725f1663c246193340 | diff --git a/src/entities/EntityDatabase.js b/src/entities/EntityDatabase.js
index <HASH>..<HASH> 100644
--- a/src/entities/EntityDatabase.js
+++ b/src/entities/EntityDatabase.js
@@ -15,6 +15,7 @@ BookCitation.schema = {
day: { type: 'string', optional: true },
fpage: { type: 'string', optional: true },
lpage:... | Add elocation-id property. | substance_texture | train | js |
c00e3c6b8ae3b9642ba3cb5672bf2b8798cfd394 | diff --git a/Tests/Form/Admin/ContactFormBuilderTest.php b/Tests/Form/Admin/ContactFormBuilderTest.php
index <HASH>..<HASH> 100755
--- a/Tests/Form/Admin/ContactFormBuilderTest.php
+++ b/Tests/Form/Admin/ContactFormBuilderTest.php
@@ -25,9 +25,9 @@ class ContactFormBuilderTest extends AbstractFormBuilderTestCase
{... | Changed form test cases to use manager instead of factory | WellCommerce_ContactBundle | train | php |
a919c4f7c8980ecf7ce8f7440aee9dedfb0e2c25 | diff --git a/src/MultipleInput.php b/src/MultipleInput.php
index <HASH>..<HASH> 100644
--- a/src/MultipleInput.php
+++ b/src/MultipleInput.php
@@ -159,6 +159,10 @@ class MultipleInput extends InputWidget
? ArrayHelper::getValue($this->model, $this->attribute, [])
: [];
+ i... | Do not render row if data is empty | unclead_yii2-multiple-input | train | php |
113aebc835eff50bf7a852ebfdd8826f56f6e688 | diff --git a/src/wyc/stages/TypePropagation.java b/src/wyc/stages/TypePropagation.java
index <HASH>..<HASH> 100755
--- a/src/wyc/stages/TypePropagation.java
+++ b/src/wyc/stages/TypePropagation.java
@@ -486,8 +486,12 @@ public final class TypePropagation {
// FIXME: need to iterate to a fixed point
environment =... | Yet another fix, this time for for loops and loop variables (which weren't being removed from the environment). | Whiley_WhileyCompiler | train | java |
5cdd98da45d00880c08404705dd34e8bf136fb00 | diff --git a/vyked/bus.py b/vyked/bus.py
index <HASH>..<HASH> 100644
--- a/vyked/bus.py
+++ b/vyked/bus.py
@@ -187,8 +187,6 @@ class TCPBus:
self._handle_ping(packet, protocol)
elif packet['type'] == 'pong':
self._handle_pong(packet['node_id'], packet['count'])
- elif packet['t... | Removed unused method _handle_publish from tcp_bus | kashifrazzaqui_vyked | train | py |
efb068ef9adfb7578db509fa76168ffaa3ea1226 | diff --git a/kubernetes/models/v1/Container.py b/kubernetes/models/v1/Container.py
index <HASH>..<HASH> 100644
--- a/kubernetes/models/v1/Container.py
+++ b/kubernetes/models/v1/Container.py
@@ -93,11 +93,11 @@ class Container(BaseModel):
vol = {
'mountPath': volume.mount_path,
'name'... | models/v1/Container: fixes readOnly boolean for volume mount | mnubo_kubernetes-py | train | py |
0303480b1a45b58d09efb69a7913c01cd365396b | diff --git a/contrib/raftexample/raft.go b/contrib/raftexample/raft.go
index <HASH>..<HASH> 100644
--- a/contrib/raftexample/raft.go
+++ b/contrib/raftexample/raft.go
@@ -130,7 +130,7 @@ func (rc *raftNode) entriesToApply(ents []raftpb.Entry) (nents []raftpb.Entry) {
}
firstIdx := ents[0].Index
if firstIdx > rc.a... | contrib/raftexample: fix typo | etcd-io_etcd | train | go |
5324150ff43ea590c6eead5f50c447872d83ff14 | diff --git a/lib/ditty/models/user.rb b/lib/ditty/models/user.rb
index <HASH>..<HASH> 100644
--- a/lib/ditty/models/user.rb
+++ b/lib/ditty/models/user.rb
@@ -57,7 +57,9 @@ module Ditty
end
def username
- identity_dataset.first.username
+ identity = identity_dataset.first
+ return identity.us... | fix: Default to email as username if the user has no identity | EagerELK_ditty | train | rb |
0a71b8f94d53ae02e9e5f241a0ffe1f0968d7b01 | diff --git a/lib/sortah/components/lens.rb b/lib/sortah/components/lens.rb
index <HASH>..<HASH> 100644
--- a/lib/sortah/components/lens.rb
+++ b/lib/sortah/components/lens.rb
@@ -21,8 +21,8 @@ module Sortah
def run!(email, context)
@email = email
- run_dependencies!(email, context)
return if a... | minor optimization -- don't bother to check deps of a lens if we've already run the lens | jfredett_sortah | train | rb |
124f430d44619be5debb0fbac34a04c7edb7ca44 | diff --git a/linux/runcopts/options.go b/linux/runcopts/options.go
index <HASH>..<HASH> 100644
--- a/linux/runcopts/options.go
+++ b/linux/runcopts/options.go
@@ -1,3 +1,3 @@
package runcopts
-const URIBase = "containerd.io/linux/runc"
+const URIBase = "types.containerd.io/linux/runc" | Update base types url for runc opts | containerd_containerd | train | go |
0619e27532e2e29f4adedb5eef2b194ac93439a8 | diff --git a/src/js/mep-player.js b/src/js/mep-player.js
index <HASH>..<HASH> 100644
--- a/src/js/mep-player.js
+++ b/src/js/mep-player.js
@@ -1002,7 +1002,7 @@
posterImg = posterDiv.find('img');
if (posterImg.length === 0) {
- posterImg = $('<img width="100%" height="100%" />').appendTo(posterDiv);
+ ... | Fix validation issue with generated poster image
The image should have an empty `alt` attribute (decoration). | mediaelement_mediaelement | train | js |
085201820f905f889fb05a562e8bf02bbb188f70 | diff --git a/examples/largeimages/main.rb b/examples/largeimages/main.rb
index <HASH>..<HASH> 100644
--- a/examples/largeimages/main.rb
+++ b/examples/largeimages/main.rb
@@ -4,7 +4,7 @@
require "nokogiri"
require "gcplogger"
-logger = GCPLogger.logger "feedpcbr"
+logger = GCPLogger.logger "largeimagesbot"
requi... | omg I fucked up this log | Nakilon_reddit_bot | train | rb |
5a161ac6a77a4b9bd5471f22333fe8ef2f037683 | diff --git a/tests/test_knowledge.py b/tests/test_knowledge.py
index <HASH>..<HASH> 100644
--- a/tests/test_knowledge.py
+++ b/tests/test_knowledge.py
@@ -29,7 +29,7 @@ class KnowledgeTest(unittest.TestCase):
self.r.add('the dog chases the cat')
self.r.add('the cat eats the fish')
self.r.add(... | added test for rawdata after info added for coverage | acutesoftware_AIKIF | train | py |
265b22b1942ae2a3e26f269a8d11897b4b39abde | diff --git a/salt/states/github.py b/salt/states/github.py
index <HASH>..<HASH> 100644
--- a/salt/states/github.py
+++ b/salt/states/github.py
@@ -713,8 +713,8 @@ def repo_present(
ret['result'] = None
else:
result = __salt__['github.add_team_repo']... | states/github.py fix for incorrect positional argument | saltstack_salt | train | py |
2ac17b322ddeb8990dc2a2bebfe42c28ec001789 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,6 +29,9 @@ setup(
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
+ 'Framework :: Django :: 1.11',
+ 'Framework :: Django :: 2.0',
+ 'Framework :: Django :... | Add trove classifiers for all supported Django & Python versions
Per tox.ini, Django <I>, <I>, and <I> are supported along with Python
<I>. | stefanfoulis_django-phonenumber-field | train | py |
55b531857dc1d0982fc949c855de262249015217 | diff --git a/benchexec/tools/cbmc.py b/benchexec/tools/cbmc.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/cbmc.py
+++ b/benchexec/tools/cbmc.py
@@ -139,6 +139,8 @@ class Tool(benchexec.tools.template.BaseTool):
status = result.RESULT_FALSE_FREE
elif result_str == 'FA... | Fix memcleanup result for CBMC | sosy-lab_benchexec | train | py |
dbdae667f8aa1560edc2284bc5073ebb42b7ae35 | diff --git a/image_test.go b/image_test.go
index <HASH>..<HASH> 100644
--- a/image_test.go
+++ b/image_test.go
@@ -414,7 +414,10 @@ func TestImageCompositeModeLighter(t *testing.T) {
t.Fatal(err)
return
}
- for j := 0; j < img1.Bounds().Size().Y; j++ {
+ // Test fails on j = 0 on TravisCI.
+ // https://travis-c... | graphics: Temporary hack to pass tests on TravisCI | hajimehoshi_ebiten | train | go |
1f32ef0de22465a69b5db7a96dcf6d3a449eec6f | diff --git a/spec/codeclimate_ci/compare_gpa_spec.rb b/spec/codeclimate_ci/compare_gpa_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/codeclimate_ci/compare_gpa_spec.rb
+++ b/spec/codeclimate_ci/compare_gpa_spec.rb
@@ -5,17 +5,20 @@ module CodeclimateCi
let(:codeclimate_ci) { CodeclimateCi::CompareGpa.new('repo11'... | Fix spec in compare gpa spec | fs_codeclimate_ci | train | rb |
da4fb22e7a368ecc460ac2a875ff38fa3132e422 | diff --git a/src/ast/scopes/Scope.js b/src/ast/scopes/Scope.js
index <HASH>..<HASH> 100644
--- a/src/ast/scopes/Scope.js
+++ b/src/ast/scopes/Scope.js
@@ -27,9 +27,7 @@ class Parameter {
}
export default class Scope {
- constructor ( options ) {
- options = options || {};
-
+ constructor ( options = {} ) {
this... | destructure options in Scope constructor
i couldn't think of a reason you'd opt out of destructuring here; apologies if i'm mistaken somehow | rollup_rollup | train | js |
a8295232451dea336cb860c19348c28d4a863bb0 | diff --git a/d3pie/d3pie.js b/d3pie/d3pie.js
index <HASH>..<HASH> 100644
--- a/d3pie/d3pie.js
+++ b/d3pie/d3pie.js
@@ -1305,7 +1305,7 @@ var segments = {
.attr("transform", function() { return math.getPieTranslateCenter(pieCenter); })
.attr("class", pie.cssPrefix + "pieChart");
- var arc = d3.svg.arc()
+ va... | Compatibility with D3js v4 | benkeen_d3pie | train | js |
c8df0c016d8df9fcd25ad050c540eedeed6df705 | diff --git a/cmd/juju/action/common.go b/cmd/juju/action/common.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/action/common.go
+++ b/cmd/juju/action/common.go
@@ -8,6 +8,7 @@ import (
"fmt"
"io"
"regexp"
+ "sort"
"strconv"
"strings"
"time"
@@ -161,6 +162,7 @@ func (c *runCommandBase) processOperationResults... | Actions: Sort exec failure order
This was spotted trying to land a fix in develop, where the ordering of
the task failures is a map and we depend on that order to verify test
results. | juju_juju | train | go |
4cea8c302810a28e6290172353895ef1512fd666 | diff --git a/rightscale/rightscale.py b/rightscale/rightscale.py
index <HASH>..<HASH> 100644
--- a/rightscale/rightscale.py
+++ b/rightscale/rightscale.py
@@ -61,6 +61,9 @@ RS_REST_ACTIONS = {
'destroy': None,
},
+ # rs api 1.5 returns a link where rel=self for the ``/api/sessions``
+... | Add reason for ignoring the "self" rel | brantai_python-rightscale | train | py |
381f19bdda8617610e55deeeefc1f0483c14b9e9 | diff --git a/h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_gridsearch_random.py b/h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_gridsearch_random.py
index <HASH>..<HASH> 100644
--- a/h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_gridsearch_random.py
+++ ... | prevent possibility for random gbm search to select max_depth=0 (#<I>) | h2oai_h2o-3 | train | py |
c26296fee8dc386e7673eaeb7acf0efff0013a8d | diff --git a/tests/unit/test_regressions.py b/tests/unit/test_regressions.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_regressions.py
+++ b/tests/unit/test_regressions.py
@@ -331,18 +331,18 @@ from . import foo
assert (
isort.code(
"""
-from .. import foo
-# Comment canary
from . imp... | squash! Add new option for sorting relative imports in force-sorted sections
Restore unrelated test to original | timothycrosley_isort | train | py |
5866d6cee90145dea1c4abc33ed8964e6544249f | diff --git a/src/NodeRun.js b/src/NodeRun.js
index <HASH>..<HASH> 100644
--- a/src/NodeRun.js
+++ b/src/NodeRun.js
@@ -89,9 +89,21 @@ function addExtension() {
// Only translate as a module if the source module is requesting
// via import syntax
- var m = !!module.par... | Wrap old-style modules in a function expression before translating, so that return statements are allowed. | zenparsing_esdown | train | js,js |
a66de54f606c0d263ab2f6f2cb1e2cd32ee2c0a0 | diff --git a/lib/ImageHelper.php b/lib/ImageHelper.php
index <HASH>..<HASH> 100644
--- a/lib/ImageHelper.php
+++ b/lib/ImageHelper.php
@@ -28,7 +28,11 @@ class ImageHelper {
const BASE_UPLOADS = 1;
const BASE_CONTENT = 2;
+ static $home_url;
+
public static function init() {
+ self::$home_url = get_home_url();... | issue #<I>: fix polylang performance issue by caching get_home_url() | timber_timber | train | php |
de9fd93cd1957677791155e4fa066927740df5aa | diff --git a/core/leader/leader.go b/core/leader/leader.go
index <HASH>..<HASH> 100644
--- a/core/leader/leader.go
+++ b/core/leader/leader.go
@@ -56,8 +56,8 @@ type leader struct {
func update(ctx context.Context, l *leader) {
const (
insertQ = `
- INSERT INTO leader (leader_key, leader_address, expiry) VALUES... | bugfix: consistent column name
I updated the column name in the db and forgot to change the code.
Thanks @boymanjor for catching this 🙌
Closes chain/chainprv#<I>.
Reviewers: @boymanjor | chain_chain | train | go |
e1eb8b522323b019bd67ac53b5a587a6c05679dc | diff --git a/src/ImageController.php b/src/ImageController.php
index <HASH>..<HASH> 100644
--- a/src/ImageController.php
+++ b/src/ImageController.php
@@ -54,7 +54,7 @@ class ImageController
public function original(): void
{
- throw new \RuntimeException('Use web server configuration to request orig... | runtime exception changed to http not found | mrTimofey_laravel-aio-images | train | php |
c6e5f3d15dda44f3b8ac2100d95547cb97e459e5 | diff --git a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowCriteria.java b/src/main/java/com/xtremelabs/robolectric/shadows/ShadowCriteria.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowCriteria.java
+++ b/src/main/java/com/xtremelabs/robolectric/shadows/ShadowCri... | Added missing @Implementation annotation that was breaking the build | robolectric_robolectric | train | java |
d6bd6d7104e3159488db206db699a2b03905c524 | diff --git a/test/shared/fetcher.test.js b/test/shared/fetcher.test.js
index <HASH>..<HASH> 100644
--- a/test/shared/fetcher.test.js
+++ b/test/shared/fetcher.test.js
@@ -117,11 +117,11 @@ describe('fetcher', function() {
});
it('should append specified additional options', function () {
- fetcher.bui... | update other tests to account for additional parse option | rendrjs_rendr | train | js |
91e8a50812cb00835946e95e2a34f349a66fd09a | diff --git a/hdf5storage/__init__.py b/hdf5storage/__init__.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/__init__.py
+++ b/hdf5storage/__init__.py
@@ -2557,7 +2557,12 @@ def loadmat(file_name, mdict=None, appendmat=True,
if variable_names is None:
data = {pathesc.unescape_path(k): v fo... | Fixed bug in loadmat where it would fail if a variable was missing rather than getting whatever ones can be gotten. | frejanordsiek_hdf5storage | train | py |
ba22ff3a02d872ecff7b60693b0f88ed309ec9e9 | diff --git a/lib/pdu.js b/lib/pdu.js
index <HASH>..<HASH> 100644
--- a/lib/pdu.js
+++ b/lib/pdu.js
@@ -140,9 +140,10 @@ PDU.prototype._filter = function(func) {
}.bind(this));
} else {
if (key === 'message_payload') {
- this[key] = tlvs[key].filter[func].call(this, this[key], 'short_message' in this);... | Fix/message payload udh (#<I>)
fix udh collision when message_payload and short_message | farhadi_node-smpp | train | js |
e261f3897f758440d140f02a581ec357c2f0e500 | diff --git a/rapidoid-commons/src/test/java/org/rapidoid/beany/BeanyPropertiesTest.java b/rapidoid-commons/src/test/java/org/rapidoid/beany/BeanyPropertiesTest.java
index <HASH>..<HASH> 100644
--- a/rapidoid-commons/src/test/java/org/rapidoid/beany/BeanyPropertiesTest.java
+++ b/rapidoid-commons/src/test/java/org/rapid... | Resolved ambiguity. | rapidoid_rapidoid | train | java |
290dbbd4a05f78ecf3e4465815b34da6f972f87e | diff --git a/src/Arionum.php b/src/Arionum.php
index <HASH>..<HASH> 100644
--- a/src/Arionum.php
+++ b/src/Arionum.php
@@ -133,7 +133,7 @@ final class Arionum
*
* @param string $address
* @param int $limit
- * @return stdClass[]
+ * @return array<stdClass>
* @throws ApiException
... | Update to use generics for array type hints | pxgamer_arionum-php | train | php |
1ede4a82dec9430fec3d78de6d6627ca5ea9e934 | diff --git a/python_jsonschema_objects/validators.py b/python_jsonschema_objects/validators.py
index <HASH>..<HASH> 100644
--- a/python_jsonschema_objects/validators.py
+++ b/python_jsonschema_objects/validators.py
@@ -88,7 +88,7 @@ def pattern(param, value, _):
type_registry = ValidatorRegistry()
@type_registry.re... | Fixed issue in validators.py where the ValidatorRegistry was missing check_array_type and fixed some typos in other type check registries. | cwacek_python-jsonschema-objects | train | py |
6b982c3cb434687d08e991c3bf3ebb8ef2d55332 | diff --git a/asn1crypto/core.py b/asn1crypto/core.py
index <HASH>..<HASH> 100644
--- a/asn1crypto/core.py
+++ b/asn1crypto/core.py
@@ -51,7 +51,6 @@ import sys
import re
from collections import OrderedDict
from datetime import datetime
-from pprint import pprint
import binascii
from . import _teletex_codec
@@ -3... | Removed pprint() since it didn't really add any value, especially with .debug() now available | wbond_asn1crypto | train | py |
181369df369608ae8fb1535b79eb756f9ccd618b | diff --git a/src/main/java/edu/washington/cs/knowitall/commonlib/AbstractRange.java b/src/main/java/edu/washington/cs/knowitall/commonlib/AbstractRange.java
index <HASH>..<HASH> 100644
--- a/src/main/java/edu/washington/cs/knowitall/commonlib/AbstractRange.java
+++ b/src/main/java/edu/washington/cs/knowitall/commonlib/... | Modified imports in AbstractRange. | knowitall_common-java | train | java |
63a28b2e557702a256c8223d870c985879798c3e | diff --git a/lib/models.js b/lib/models.js
index <HASH>..<HASH> 100644
--- a/lib/models.js
+++ b/lib/models.js
@@ -11,19 +11,20 @@ function init(sugar, engine) {
post: Boolean
});
Middleware.pre(function() {
- Middleware.use(function(data, next) {
- sugar.update(Middleware, {
- ... | Pass data just to post middleware
Obviously this cannot be done in the case of pre given there is no data
available yet. | sugarjs_sugar-spec | train | js |
70470ae8d2a1a9304cec9110043011b9358d20a3 | diff --git a/src/js/captions.js b/src/js/captions.js
index <HASH>..<HASH> 100644
--- a/src/js/captions.js
+++ b/src/js/captions.js
@@ -151,7 +151,8 @@ const captions = {
toggleClass(this.elements.container, this.config.classNames.captions.enabled, !is.empty(tracks));
// Update available languages in... | Fix issue when controls config is string or element | sampotts_plyr | train | js |
50af3f0551f797184787451615655dab5b12213b | diff --git a/plugin.js b/plugin.js
index <HASH>..<HASH> 100644
--- a/plugin.js
+++ b/plugin.js
@@ -56,7 +56,12 @@ function cmifyTransform (filename) {
// handle css files
if (/\.css$/.test(filename)) {
- this.push(createCssModuleSource(filename))
+ try {
+ this.push(createCssModuleSource(fi... | Do not crash with exception. Emit error event instead. | joshwnj_cmify | train | js |
0b4769289a4219d3e188d89801f51301634aa2a2 | diff --git a/sanic/config.py b/sanic/config.py
index <HASH>..<HASH> 100644
--- a/sanic/config.py
+++ b/sanic/config.py
@@ -1,8 +1,6 @@
import os
import types
-from distutils.util import strtobool
-
from sanic.exceptions import PyFileError
@@ -127,6 +125,23 @@ class Config(dict):
self[c... | Drop dependency on disutils (#<I>)
* Drop dependency on distutils
While distutils is part of stdlib, it feels odd to use distutils in main application code.
I personally use a (lean)[<URL> | huge-success_sanic | train | py |
d975f40e4d0fae9b30576228736d8126b3b5e6f8 | diff --git a/src/Fields/Text.php b/src/Fields/Text.php
index <HASH>..<HASH> 100644
--- a/src/Fields/Text.php
+++ b/src/Fields/Text.php
@@ -14,6 +14,7 @@ declare(strict_types=1);
namespace WordPlate\Acf\Fields;
use WordPlate\Acf\Fields\Attributes\ConditionalLogic;
+use WordPlate\Acf\Fields\Attributes\DefaultValue;
... | Added DefaultValue to Text (#<I>) | wordplate_acf | train | php |
ef5e00c53ae5c4060d4053494346907087207fa7 | diff --git a/opal/action_pack/core.rb b/opal/action_pack/core.rb
index <HASH>..<HASH> 100644
--- a/opal/action_pack/core.rb
+++ b/opal/action_pack/core.rb
@@ -287,6 +287,10 @@ class ActionController
end
end
+ def current_path
+ `window.location.pathname`
+ end
+
private
def render_p... | move push state before invoking controller
add current_path method to controller
add debug | boberetezeke_opal-actionpack | train | rb |
d44d3d1eecc7518107ccd43226601f3dfb537916 | diff --git a/src/WSDL/WSDL.php b/src/WSDL/WSDL.php
index <HASH>..<HASH> 100644
--- a/src/WSDL/WSDL.php
+++ b/src/WSDL/WSDL.php
@@ -23,6 +23,7 @@
*/
namespace WSDL;
+use WSDL\Builder\AnnotationWSDLBuilder;
use WSDL\Builder\WSDLBuilder;
use WSDL\XML\XMLProvider;
@@ -64,4 +65,15 @@ class WSDL
$xml->gener... | Added factory for annotation builder. | piotrooo_wsdl-creator | train | php |
75c91c19ff4e1c558ca068c911414f8373847dc8 | diff --git a/test/refresh_reference_files.py b/test/refresh_reference_files.py
index <HASH>..<HASH> 100644
--- a/test/refresh_reference_files.py
+++ b/test/refresh_reference_files.py
@@ -28,7 +28,7 @@ def _main():
plt.close()
tex_filename = filename[:-3] + "_reference.tex"
- with ... | Make refresh_reference_files work on windows | nschloe_matplotlib2tikz | train | py |
e1111455b04cf87ce48f155827e0bc05070972f9 | diff --git a/src/components/core/core.js b/src/components/core/core.js
index <HASH>..<HASH> 100644
--- a/src/components/core/core.js
+++ b/src/components/core/core.js
@@ -186,9 +186,9 @@ export default class Core extends UIObject {
this.containers.forEach((container) => container.destroy())
this.mediaControl.... | fix(core); trigger CORE_READY event after create container on load | clappr_clappr | train | js |
e471ff4fce5b300b88c40614796915fca26c6f4c | diff --git a/qds_sdk/commands.py b/qds_sdk/commands.py
index <HASH>..<HASH> 100644
--- a/qds_sdk/commands.py
+++ b/qds_sdk/commands.py
@@ -703,7 +703,7 @@ class DbImportCommand(Command):
class CompositeCommand(Command):
@classmethod
- def compose(cls, sub_commands, cluster_label=None, notify=False):
+ def... | Add support for macros in composite-commands | qubole_qds-sdk-py | train | py |
5fed1b2a4a300218ee572ade2c91ffe1bdf8d520 | diff --git a/lib/svtplay/output.py b/lib/svtplay/output.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay/output.py
+++ b/lib/svtplay/output.py
@@ -1,7 +1,30 @@
import sys
+import os
from svtplay.log import log
+progress_stream = sys.stderr
+
+def progress(byte, total, extra = ""):
+ """ Print some info about h... | Break out progress() to svtplay.output module
Now it is very clear that progressbar() duplicates an existing function. But
obsoleting one or the other is work for the future. | spaam_svtplay-dl | train | py |
30071ab8259ec114b806414cf23f9fabe34237ab | diff --git a/src/wyc/builder/LocalGenerator.java b/src/wyc/builder/LocalGenerator.java
index <HASH>..<HASH> 100644
--- a/src/wyc/builder/LocalGenerator.java
+++ b/src/wyc/builder/LocalGenerator.java
@@ -104,10 +104,6 @@ public final class LocalGenerator {
return generateCondition(target, (Expr.AbstractInvoke) cond... | Ok, wierd, I found two more cases. One for tuple and one for record! | Whiley_WhileyCompiler | train | java |
20119a6be4710229516707b11385c988d40855c8 | diff --git a/saltant/models/resource.py b/saltant/models/resource.py
index <HASH>..<HASH> 100644
--- a/saltant/models/resource.py
+++ b/saltant/models/resource.py
@@ -118,8 +118,8 @@ class ModelManager(object):
task instance to get.
Returns:
- :class:`Model`: A model instance mode... | Clean up poor English in docstring | saltant-org_saltant-py | train | py |
5276b2acb1c98b85fdbfef6f01a646e1edec4027 | diff --git a/src/main/java/org/takes/facets/forward/RsForward.java b/src/main/java/org/takes/facets/forward/RsForward.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/takes/facets/forward/RsForward.java
+++ b/src/main/java/org/takes/facets/forward/RsForward.java
@@ -45,7 +45,6 @@ import org.takes.rs.RsWithoutHe... | (#<I>) ToString of RsForward should act as Exception | yegor256_takes | train | java |
2fec5dbecd3dc6d2acfcb4df28d29638637ac579 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -800,7 +800,7 @@ jQuery.extend({
deferred = {
// then( f1, f2, ...)
- then: function() {
+ then: function then() {
if ( ! cancelled ) {
@@ -820,7 +820,7 @@ jQuery.extend({
... | Fixed a loop that only worked in webkit. | jquery_jquery | train | js |
f62cb53a150238105354794426a17d9ecbd4704a | diff --git a/texttest.php b/texttest.php
index <HASH>..<HASH> 100644
--- a/texttest.php
+++ b/texttest.php
@@ -86,6 +86,16 @@ Test suite: $name
==========================================
";
+
+ $failures = $result->failures();
+ foreach($failures as $failure) {
+ $test = $failure->failedTest();
+ ... | [project @ Add output of failures to texttest.php] | openid_php-openid | train | php |
123d29b9be4abcdba6f0fa0a1d3aa56a838091e6 | diff --git a/frontend/src/component/menu/routes.js b/frontend/src/component/menu/routes.js
index <HASH>..<HASH> 100644
--- a/frontend/src/component/menu/routes.js
+++ b/frontend/src/component/menu/routes.js
@@ -1,4 +1,3 @@
-import CreateFeatureToggle from '../../page/features/create';
import CopyFeatureToggle from '..... | fix: remove unused component in routes | Unleash_unleash | train | js |
1ad9239540bc5d7dc488c565bb6c553605553fb9 | diff --git a/core/src/test/java/org/infinispan/test/fwk/JGroupsConfigBuilder.java b/core/src/test/java/org/infinispan/test/fwk/JGroupsConfigBuilder.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/org/infinispan/test/fwk/JGroupsConfigBuilder.java
+++ b/core/src/test/java/org/infinispan/test/fwk/JGroupsConfigBu... | Fixed to use bind_port instead of start_port | infinispan_infinispan | train | java |
6b8287190ec35ef87dcb792308902a93a44c2b3c | diff --git a/supervisor_test.go b/supervisor_test.go
index <HASH>..<HASH> 100644
--- a/supervisor_test.go
+++ b/supervisor_test.go
@@ -327,42 +327,6 @@ func TestServiceList(t *testing.T) {
wg.Done()
}
-func TestDoubleStart(t *testing.T) {
- t.Parallel()
-
- var supervisor Supervisor
-
- var svc1 waitservice
- supe... | Remove redundant step
TestDoubleStart and TestRestart now overlap, because a second call
to supervisor.Serve() will hold still. | cirello-io_supervisor | train | go |
fd320636eb23fd426357e450216bcb7b47343e2e | diff --git a/ariba/assembly.py b/ariba/assembly.py
index <HASH>..<HASH> 100644
--- a/ariba/assembly.py
+++ b/ariba/assembly.py
@@ -67,7 +67,7 @@ class Assembly:
self.scaffolder_scaffolds = os.path.join(self.assembly_dir, 'scaffolds.fa')
self.gapfill_dir = os.path.join(self.assembly_dir, 'Gapfill')
... | remove line for now, has syntax error | sanger-pathogens_ariba | train | py |
3bd38a7d525a8288a404ee6510613aa7d669b08f | diff --git a/trunk/metpy/readers/mesonet.py b/trunk/metpy/readers/mesonet.py
index <HASH>..<HASH> 100644
--- a/trunk/metpy/readers/mesonet.py
+++ b/trunk/metpy/readers/mesonet.py
@@ -394,7 +394,7 @@ if __name__ == '__main__':
#Optionally plot a counties shapefile
mapfile = os.path.join(os.environ['HOM... | Need to remove the .shp extension when trying to load a shapefile with basemap.
git-svn-id: <URL> | Unidata_MetPy | train | py |
94ced290bdcfcc94ea32253c26dc4c75c522e816 | diff --git a/lib/spatial_features/unzip.rb b/lib/spatial_features/unzip.rb
index <HASH>..<HASH> 100644
--- a/lib/spatial_features/unzip.rb
+++ b/lib/spatial_features/unzip.rb
@@ -1,27 +1,26 @@
module SpatialFeatures
module Unzip
- def self.paths(file_path, find: nil, &block)
+ def self.paths(file_path, find: ... | No need to include `each` in unzip methods
If we want to iterate, we’ll do it externally (which we not currently doing). | culturecode_spatial_features | train | rb |
72eabbb8ac6140add3e2dd80aa190c505b49d39d | diff --git a/lib/fluent/event_router.rb b/lib/fluent/event_router.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/event_router.rb
+++ b/lib/fluent/event_router.rb
@@ -116,6 +116,8 @@ module Fluent
if callback = find_callback
callback.call(es)
end
+ rescue Pipeline::OutputError => e
+ @emi... | Apply modifications in pipeline to the records being passed to `@Error` label
Fix #<I>
When an error occurs in the output process in a pipeline,
the modifications made by the filter process are applied to the records
that is passsed to `@Error` label. | fluent_fluentd | train | rb |
e6df315ee87138a08aa75b5fcfdce504d5a0aa4c | diff --git a/lib/skeleton.js b/lib/skeleton.js
index <HASH>..<HASH> 100644
--- a/lib/skeleton.js
+++ b/lib/skeleton.js
@@ -4,6 +4,12 @@ var Promise = require('bluebird');
var lpad = require('./util').lpad;
var Class = require('./class');
+function isPromise( probe ) {
+
+ return probe instanceof Promise || ( probe... | refactor(migration): Make check for promise more reliable | db-migrate_node-db-migrate | train | js |
ba73b07013df9780ce3d72ef995028d0507068b5 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -17,7 +17,7 @@ global.sinon = require('sinon');
var jsdoc = require('./lib/gulp-jsdoc');
-chai.Assertion.includeStack = true;
+chai.config.includeStack = true;
global.expect = chai.expect; | Get rid of chai.js `includeStack` deprecation warning. | danielwippermann_resol-vbus | train | js |
cd8674867832c2a63ab2a97a49cbd750b58a0d21 | 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,3 +1,7 @@
+# This needs to go before all requires to be able to record full coverage
+require 'coveralls'
+Coveralls.wear!
+# Now the application requires.
require 'hawkular'
re... | Move coveralls to the top to pick up all app code. | hawkular_hawkular-client-ruby | train | rb |
c6cf6193a15732410c38de1aaa34388b5ce03620 | diff --git a/dpark/executor.py b/dpark/executor.py
index <HASH>..<HASH> 100755
--- a/dpark/executor.py
+++ b/dpark/executor.py
@@ -314,6 +314,8 @@ class MyExecutor(Executor):
# Keep the file descriptor of current workdir,
# so we can check whether a workdir is in use externally.
self._fd_for_... | Fix executor: use non-exist attr when shutdone without register | douban_dpark | train | py |
7cbfc208c8151fd3418cdc7fa1b784bd4a80afb0 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
var debug = require('debug')('metalsmith-convert'),
path = require('path'),
minimatch = require('minimatch'), | Added SPDX license identifier | tomterl_metalsmith-convert | train | js |
caff42af340129ced082bf760885619c0e3e4e31 | diff --git a/esgfpid/rabbit/asynchronous/thread_builder.py b/esgfpid/rabbit/asynchronous/thread_builder.py
index <HASH>..<HASH> 100644
--- a/esgfpid/rabbit/asynchronous/thread_builder.py
+++ b/esgfpid/rabbit/asynchronous/thread_builder.py
@@ -398,6 +398,7 @@ class ConnectionBuilder(object):
self.statemachine.s... | Stop ioloop before throwing exception. | IS-ENES-Data_esgf-pid | train | py |
0ec6dbd374d300ace856488179e725ffcd0100eb | diff --git a/src/main/java/org/zcore/maven/MergeMojo.java b/src/main/java/org/zcore/maven/MergeMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/zcore/maven/MergeMojo.java
+++ b/src/main/java/org/zcore/maven/MergeMojo.java
@@ -179,12 +179,14 @@ public class MergeMojo extends AbstractMojo {
// prebuffer
... | Use a platform dependent line seperators | bbqrob_merge-maven-plugin | train | java |
19de5eb53f11bc187a61eb719cd256554e43120d | diff --git a/nanocomp/NanoComp.py b/nanocomp/NanoComp.py
index <HASH>..<HASH> 100644
--- a/nanocomp/NanoComp.py
+++ b/nanocomp/NanoComp.py
@@ -6,7 +6,7 @@ import nanocomp.compplots as compplots
import numpy as np
import logging
from nanomath import write_stats
-from NanoPlot.nanoplotter.timeplots import subsample_da... | changing path from which to import subsample_datasets | wdecoster_nanocomp | train | py |
4d399211c3240cc6c38a714c55c83ed3bc78ebdf | diff --git a/lock.go b/lock.go
index <HASH>..<HASH> 100644
--- a/lock.go
+++ b/lock.go
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
+// This package is deprecated. It has been replaced with https://go4.org/lock
package lock
import ( | package doc: warn about deprecation
And point to new repo | camlistore_lock | train | go |
83781fd380e5bc76aea7aaa0b4510ab812cd4cfa | diff --git a/src/extensions/scratch3_text2speech/index.js b/src/extensions/scratch3_text2speech/index.js
index <HASH>..<HASH> 100644
--- a/src/extensions/scratch3_text2speech/index.js
+++ b/src/extensions/scratch3_text2speech/index.js
@@ -609,8 +609,9 @@ class Scratch3Text2SpeechBlocks {
let nameArray = langua... | Check for spokenLanguages object | LLK_scratch-vm | train | js |
260d041a5e532c3fd2a7eaef6447ff800442747c | diff --git a/MAVProxy/modules/mavproxy_map/__init__.py b/MAVProxy/modules/mavproxy_map/__init__.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_map/__init__.py
+++ b/MAVProxy/modules/mavproxy_map/__init__.py
@@ -165,6 +165,7 @@ def map_callback(obj):
def unload():
'''unload module'''
+ mpstate... | map: Map window now closes when module is unloaded. | ArduPilot_MAVProxy | train | py,py |
a247cfe93b28194dc59449f06ea5df1519fab008 | diff --git a/morpfw/identity.py b/morpfw/identity.py
index <HASH>..<HASH> 100644
--- a/morpfw/identity.py
+++ b/morpfw/identity.py
@@ -1,7 +1,17 @@
-import morepath
import pytz
+import morepath
+
+from .authn.pas.utils import has_role
+
+
class Identity(morepath.Identity):
+ def __init__(self, request, userid, *... | added convenient accessor for is_administrator | morpframework_morpfw | train | py |
c944a287aa6ad9dee96c3468e2209986059093f8 | diff --git a/pyvim/commands/commands.py b/pyvim/commands/commands.py
index <HASH>..<HASH> 100644
--- a/pyvim/commands/commands.py
+++ b/pyvim/commands/commands.py
@@ -1,6 +1,7 @@
from __future__ import unicode_literals, print_function
-import six
import os
+import six
+import sys
__all__ = (
'has_command_hand... | Implemented the :cq command. | prompt-toolkit_pyvim | train | py |
ddb16ee886cfbc223dc72f08f7f3e356f54e40c2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -49,6 +49,7 @@ function getImageSearchResults(searchTerm, callback, start, num) {
// Google CSE returns a JSON object with a field called "error" if quota is exceed.
if(data.error && data.error.errors) {
... | Clarified comments to usage quota exceeded error handling. | jjmax75_google-image-search | train | js |
fedc16a50ac2e4c62cc184a86263847316e88ae7 | diff --git a/oauth/models/Oauth_ProviderModel.php b/oauth/models/Oauth_ProviderModel.php
index <HASH>..<HASH> 100644
--- a/oauth/models/Oauth_ProviderModel.php
+++ b/oauth/models/Oauth_ProviderModel.php
@@ -28,11 +28,6 @@ class Oauth_ProviderModel extends BaseModel
return $attributes;
}
- public func... | Removed Oauth_ProviderModel::initSource() | dukt_oauth | train | php |
68547bcddcc75555fb8e604188dd7934d80464b8 | diff --git a/src/runtime/test/feature.spec.js b/src/runtime/test/feature.spec.js
index <HASH>..<HASH> 100644
--- a/src/runtime/test/feature.spec.js
+++ b/src/runtime/test/feature.spec.js
@@ -79,7 +79,7 @@ describe('The Feature Helper', function() {
p.end('enableAsync')
asyncFeature.finally.should.equal(true... | preventing timing error in the async test | skypager_skypager | train | js |
a924be1e8f9bb7d759a11a245c29b411a7178ce8 | diff --git a/proctor-store-git/src/main/java/com/indeed/proctor/store/GitProctorCore.java b/proctor-store-git/src/main/java/com/indeed/proctor/store/GitProctorCore.java
index <HASH>..<HASH> 100644
--- a/proctor-store-git/src/main/java/com/indeed/proctor/store/GitProctorCore.java
+++ b/proctor-store-git/src/main/java/co... | PROW-<I>: add log to git.gc() command, so that we can know how long it takes. | indeedeng_proctor | train | java |
f7e1feaeba4d89f51011155eb446e2e3fe666e90 | diff --git a/lib/mongo/db.rb b/lib/mongo/db.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/db.rb
+++ b/lib/mongo/db.rb
@@ -602,7 +602,7 @@ module Mongo
if !ok?(doc)
raise MongoDBError, "Error with validate command: #{doc.inspect}"
end
- if !doc['valid']
+ if (doc.has_key?('valid') && !d... | minor: make DB#validate_collection compatible with server <I> and <I> | mongodb_mongo-ruby-driver | train | rb,rb |
c5dae7039a57497e49f30967ac8b8698790980ac | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,7 +16,6 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
import os
import sys
-import sys
try:
from mock import Mock as MagicMock | remove duplicated import in docs conf.py | kakwa_ldapcherry | train | py |
563e52f8be558f00a262963858baa0f871eb6b3c | diff --git a/jaraco/util/itertools.py b/jaraco/util/itertools.py
index <HASH>..<HASH> 100644
--- a/jaraco/util/itertools.py
+++ b/jaraco/util/itertools.py
@@ -691,6 +691,7 @@ class Peekable(object):
def first(iterable):
"""
Return the first item from the iterable.
+
>>> first(range(11))
0
>>> first([3,2,1])
... | Update docstrings to improve rendering. | jaraco_jaraco.itertools | train | py |
fee988a88bc6abe07d01535fa87f946f353f01e1 | diff --git a/packages/node_modules/@webex/internal-plugin-flag/src/flag.js b/packages/node_modules/@webex/internal-plugin-flag/src/flag.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/internal-plugin-flag/src/flag.js
+++ b/packages/node_modules/@webex/internal-plugin-flag/src/flag.js
@@ -1,7 +1,7 @@
... | fix(flag): 'flat' isn't available everywhere | webex_spark-js-sdk | train | js |
2f35b6bfbc679fd85101ad2e83dd10a90726cfac | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -96,12 +96,12 @@ pygments_style = 'sphinx'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
-... | using full documentation theme to provide toc | litl_rauth | train | py |
22402a99530a7f7fefb6479e691103e017161265 | diff --git a/src/lib/feed.js b/src/lib/feed.js
index <HASH>..<HASH> 100644
--- a/src/lib/feed.js
+++ b/src/lib/feed.js
@@ -26,7 +26,7 @@ StreamFeed.prototype = {
*/
var xhr = this.client.post({
'url': '/api/feed/'+ this.feedUrl + '/',
- 'form': activity,
+ 'body': activity,
'secret': this.feedToken
... | fix json posting for browser client | GetStream_stream-js | train | js |
574ecdb5128ee9f167d9471f05c663ee0032cfbe | diff --git a/src/app/services/influxdb/influxdbDatasource.js b/src/app/services/influxdb/influxdbDatasource.js
index <HASH>..<HASH> 100644
--- a/src/app/services/influxdb/influxdbDatasource.js
+++ b/src/app/services/influxdb/influxdbDatasource.js
@@ -120,7 +120,7 @@ function (angular, _, kbn) {
if (!data) {
... | fixed column typehead, introduced in PR #<I> | grafana_grafana | train | js |
cda80498e119b2edb5d7529bbd13af342b496441 | diff --git a/pysat/utils/_core.py b/pysat/utils/_core.py
index <HASH>..<HASH> 100644
--- a/pysat/utils/_core.py
+++ b/pysat/utils/_core.py
@@ -474,7 +474,10 @@ def load_netcdf4(fnames=None, strict_meta=False, file_format=None,
out.append(pds.DataFrame.from_records(item, index=epoch_name))
out = pd... | STY: don't use open_mfdataset for single files | rstoneback_pysat | 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.