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 |
|---|---|---|---|---|---|
16f4049f58fc314608c4baea3bc050daa5e24fa9 | diff --git a/cmocean/plots.py b/cmocean/plots.py
index <HASH>..<HASH> 100644
--- a/cmocean/plots.py
+++ b/cmocean/plots.py
@@ -2,11 +2,11 @@
Plots with colormaps.
'''
-import cm
+from cmocean import cm
import matplotlib.pyplot as plt
import numpy as np
import matplotlib as mpl
-import tools
+from cmocean import ... | Use absolute imports
Relative imports are no longer allowed in Python 3 | matplotlib_cmocean | train | py |
0b606e3439cc3eaf842a3b4d0878d1a62e00ef9b | diff --git a/src/java/org/slf4j/impl/SimpleLoggerFactory.java b/src/java/org/slf4j/impl/SimpleLoggerFactory.java
index <HASH>..<HASH> 100644
--- a/src/java/org/slf4j/impl/SimpleLoggerFactory.java
+++ b/src/java/org/slf4j/impl/SimpleLoggerFactory.java
@@ -48,6 +48,13 @@ import org.slf4j.ILoggerFactory;
*/
public cla... | Added a default INSTANCE to SimpleLoggerFactory to serve as a last-resort fallback mechanism. | qos-ch_slf4j | train | java |
9c3c977966457180c034b75db1de93bc337daa77 | diff --git a/lib/array.js b/lib/array.js
index <HASH>..<HASH> 100644
--- a/lib/array.js
+++ b/lib/array.js
@@ -7,7 +7,7 @@ export default function inspectArray(array, options) {
const listContents = inspectList(array, options)
options.truncate -= listContents.length
const nonIndexProperties = Object.getOwnProp... | refactor(array): shorten filter condition for enumerable keys | chaijs_loupe | train | js |
3fe79564b5f4803b2df76ba104c919877066ecbb | diff --git a/lib/Cake/View/Helper.php b/lib/Cake/View/Helper.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/View/Helper.php
+++ b/lib/Cake/View/Helper.php
@@ -754,6 +754,28 @@ class Helper extends Object {
}
/**
+ * Before render file callback. Called before any view fragment is rendered.
+ *
+ * Overridden in sub... | Adding new callbacks - testing them out. | cakephp_cakephp | train | php |
25e0b6778c85ff3387de1c61ec61faaf370dfbe9 | diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index <HASH>..<HASH> 100644
--- a/lib/SimpleSAML/Metadata/SAMLParser.php
+++ b/lib/SimpleSAML/Metadata/SAMLParser.php
@@ -423,7 +423,14 @@ class SimpleSAML_Metadata_SAMLParser {
$certData = base64_decode($key['X509Certifi... | Removing requirement of X<I>Certificate in metadata for parsing entities (Shib <I> IdP) | simplesamlphp_saml2 | train | php |
341d377a1a3b287c329ccd4cdedf81e1118ac36a | diff --git a/pkg/minikube/cruntime/cruntime.go b/pkg/minikube/cruntime/cruntime.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/cruntime/cruntime.go
+++ b/pkg/minikube/cruntime/cruntime.go
@@ -145,7 +145,7 @@ type ListOptions struct {
Namespaces []string
}
-// ErrContainerRuntimeNotRunning is thrown when docker ... | Also remove reference to 'docker' in comment. | kubernetes_minikube | train | go |
2ccbfdef8918cb6129d390f3e2ea139a9e314fd0 | diff --git a/lib/logia.js b/lib/logia.js
index <HASH>..<HASH> 100644
--- a/lib/logia.js
+++ b/lib/logia.js
@@ -217,7 +217,12 @@ if(IN_SERVER_MODE){
};
UtilityBelt.toPrettyString = function(value){
- var stringValue = typeof value === "object" ? UtilityBelt.toReadableStringOfDepthOne(value) : value.t... | lib/logia.js: Added guard against undefined argument value of toPrettyString function | jahnestacado_logia | train | js |
244a65fb293573cad7b80407ff0e14ff96297ec4 | diff --git a/storage/local/series.go b/storage/local/series.go
index <HASH>..<HASH> 100644
--- a/storage/local/series.go
+++ b/storage/local/series.go
@@ -464,9 +464,9 @@ func (s *memorySeries) preloadChunksForRange(
fp, s.chunkDescsOffset, len(cds),
)
}
+ s.persistWatermark += len(cds)
s.chunkDescs = a... | storage: Increase persist watermark before calling append
The append call may reuse cds, and thus change its len.
(In practice, this wouldn't happen as cds should have len==cap.
Still, the previous order of lines was problematic.) | prometheus_prometheus | train | go |
c53b47724634bf3d01051f213cbeeaae1a2f6a65 | diff --git a/spec/e2e/association_proxy_spec.rb b/spec/e2e/association_proxy_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/e2e/association_proxy_spec.rb
+++ b/spec/e2e/association_proxy_spec.rb
@@ -391,12 +391,11 @@ describe 'Association Proxy' do
end
it 'updates inverse has_one association correctly in ca... | Issue <I> CC issues | neo4jrb_neo4j | train | rb |
eb9de5082df87f1209aad44ba2fef68780520d47 | diff --git a/src/components/__tests__/__Template.js b/src/components/__tests__/__Template.js
index <HASH>..<HASH> 100644
--- a/src/components/__tests__/__Template.js
+++ b/src/components/__tests__/__Template.js
@@ -1,14 +1,15 @@
import { mount } from '@vue/test-utils';
import Template from '../__Template.vue';
+impor... | test(template): explain setState | algolia_vue-instantsearch | train | js |
57858f2e63534d1acd42cd66c6563891bc5b2d7f | diff --git a/src/Mutex.php b/src/Mutex.php
index <HASH>..<HASH> 100644
--- a/src/Mutex.php
+++ b/src/Mutex.php
@@ -36,7 +36,8 @@ class Mutex
return new MySqlLock(
config('database.connections.mysql.username'),
config('database.connections.mysql.password'),
- ... | Added the database port to MySqlLock, so it can connect to databases that run on a different port | dmitry-ivanov_laravel-console-mutex | train | php |
4cd05d0af7faedf39f67c963857d4c297109c33d | diff --git a/lib/errors.js b/lib/errors.js
index <HASH>..<HASH> 100644
--- a/lib/errors.js
+++ b/lib/errors.js
@@ -1,4 +1,16 @@
-var inherits = require('util').inherits
+
+// from https://github.com/joyent/node/blob/27a91387ae79a3b7bc2b00a40a17c1b7846da55b/lib/util.js#L551
+function inherits(ctor, superCtor) {
+ ctor.... | embed util.inherits in code | danmilon_assurance | train | js |
1c350ae5d835e71d7949fc84c5a8341c9750f254 | diff --git a/latex/build.py b/latex/build.py
index <HASH>..<HASH> 100644
--- a/latex/build.py
+++ b/latex/build.py
@@ -63,6 +63,9 @@ class LatexMkBuilder(LatexBuilder):
with TempDir() as tmpdir,\
source.temp_saved(suffix='.latex', dir=tmpdir) as tmp:
+ # close temp file, so other ... | Close temp file, so other processes can access it also on Windows | mbr_latex | train | py |
c763f2616c665a5114160738ce10eee9d9cabcec | diff --git a/aws/resource_aws_elb_test.go b/aws/resource_aws_elb_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_elb_test.go
+++ b/aws/resource_aws_elb_test.go
@@ -107,6 +107,7 @@ func TestAccAWSELB_disappears(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPr... | tests/r/elb: Add ErrorCheck | terraform-providers_terraform-provider-aws | train | go |
02d60a4fe12634574e4b6a9dc5629769c1ce7f45 | diff --git a/test/aviator/core/session_test.rb b/test/aviator/core/session_test.rb
index <HASH>..<HASH> 100644
--- a/test/aviator/core/session_test.rb
+++ b/test/aviator/core/session_test.rb
@@ -185,7 +185,8 @@ describe 'Aviator::Session' do
:auth_response => Hashish.new({ :headers => stub_headers, :body => JS... | Don't compare JSON strings
Comparing JSON strings is unpredictable since hash key ordering is
implemented differently across Ruby versions. | aviator_aviator | train | rb |
cb8f67b0a41eb23d1262626e7334691b90bec435 | diff --git a/grade/edit/tree/item_form.php b/grade/edit/tree/item_form.php
index <HASH>..<HASH> 100644
--- a/grade/edit/tree/item_form.php
+++ b/grade/edit/tree/item_form.php
@@ -267,7 +267,11 @@ class edit_item_form extends moodleform {
} else {
$element =& $mform-... | MDL-<I> fixed broken item editing when only one category present; merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
15b76e93d13d2d71a7cdc5a94f8da8f028da7337 | diff --git a/app/controllers/devise/sessions_controller.rb b/app/controllers/devise/sessions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/devise/sessions_controller.rb
+++ b/app/controllers/devise/sessions_controller.rb
@@ -18,7 +18,7 @@ class Devise::SessionsController < ApplicationController
r... | The default here is now DELETE. | plataformatec_devise | train | rb |
ce50cc701822dde19542e2a07e2673dad6e5891f | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -1009,7 +1009,10 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL, $courseid=NULL
case FORMAT_WIKI:
// this format is deprecated
- error( "Wiki-like... | Don't have a cow when a Wiki text is encountered | moodle_moodle | train | php |
2c465cb20856eda67cf72290253d51e673a516f4 | diff --git a/go/vt/vttablet/tabletserver/messager/message_manager.go b/go/vt/vttablet/tabletserver/messager/message_manager.go
index <HASH>..<HASH> 100644
--- a/go/vt/vttablet/tabletserver/messager/message_manager.go
+++ b/go/vt/vttablet/tabletserver/messager/message_manager.go
@@ -459,7 +459,7 @@ func (mm *messageMana... | messager: defer Broadcast when leaving empty state
since this is currently called before actually adding the message to the cache, it introduces a race condition where the woken up goroutines might still see an empty cache before the add completes. It seems unlikely that this would happen in practice, since both Add a... | vitessio_vitess | train | go |
c9df9943ef012a8c35c86256fc49c6af291126ec | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
-version = '0.1.1.dev0'
+version = '0.1.1'
setup(
name="tasa", | Preparing release <I> | PaulMcMillan_tasa | train | py |
7d226a6e84c9b0b00e315f49c40f46de54f74c3c | diff --git a/Gettext/Entries.php b/Gettext/Entries.php
index <HASH>..<HASH> 100644
--- a/Gettext/Entries.php
+++ b/Gettext/Entries.php
@@ -37,7 +37,7 @@ class Entries extends \ArrayObject {
$original = $original->getOriginal();
$plural = $original->getPlural();
} else {
- $context = (string)$context;
+... | Bugfix: do not compare context if set to null. Added method: wipeReferences to Translation.php | oscarotero_Gettext | train | php,php |
1a558292a87f09d704f25ff0367b599150e9a96e | diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java
index <HASH>..<HASH> 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplic... | Use existing constant rather than "spring.beaninfo.ignore"
See gh-<I> | spring-projects_spring-boot | train | java |
b65487f318e4751755f37265cf0dc74a2b770e26 | diff --git a/src/java/com/threerings/presents/client/Client.java b/src/java/com/threerings/presents/client/Client.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/presents/client/Client.java
+++ b/src/java/com/threerings/presents/client/Client.java
@@ -283,7 +283,7 @@ public class Client
* {@link In... | Cut the number of times a service class needs to be specified to two
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
7eade999edf124c163477581b4d3d6af24972146 | diff --git a/tests/test_postgres.py b/tests/test_postgres.py
index <HASH>..<HASH> 100644
--- a/tests/test_postgres.py
+++ b/tests/test_postgres.py
@@ -198,3 +198,13 @@ def test_too_many_clients_error_should_not_happen():
)
candidate_extractor.apply(docs, split=0, parallelism=PARALLEL)
+
+
+def test_parse_er... | Add a test that demonstrates #<I> | HazyResearch_fonduer | train | py |
9368bf21c941b3402534229af1877e691fd3647c | diff --git a/tests/ci/depends.php b/tests/ci/depends.php
index <HASH>..<HASH> 100644
--- a/tests/ci/depends.php
+++ b/tests/ci/depends.php
@@ -53,7 +53,7 @@ class PhpExtensions {
protected static function _apcu() {
if (version_compare(PHP_VERSION, '7.0.0') >= 0) {
- static::_pecl('apcu', '5.1.8', true);
+ st... | Fix CI, bump APCu version | UnionOfRAD_lithium | train | php |
5f99511ab7c79ae9ec2b93cfff409467acc5f065 | diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py
index <HASH>..<HASH> 100644
--- a/testing/test_helpconfig.py
+++ b/testing/test_helpconfig.py
@@ -76,5 +76,6 @@ def test_PYTEST_DEBUG(testdir, monkeypatch):
result = testdir.runpytest()
assert result.ret == 0
result.stderr.fnmatch_lines... | fix test after ronny's pytest-debug improvements | vmalloc_dessert | train | py |
ee8baa2a700c87aad27879be1ae0f56614942a1d | diff --git a/zipline/finance/__init__.py b/zipline/finance/__init__.py
index <HASH>..<HASH> 100644
--- a/zipline/finance/__init__.py
+++ b/zipline/finance/__init__.py
@@ -0,0 +1,20 @@
+#
+# Copyright 2013 Quantopian, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file... | MAINT: Add default import of trading of module.
So that zipline.finance.trading can be accessed after importing
zipline. | quantopian_zipline | train | py |
cf69514e5cbfdad0e3dba706b786e3848b9662aa | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -30,8 +30,11 @@ const {THREE} = core;
const nativeBindingsModulePath = path.join(__dirname, 'native-bindings.js');
const nativeBindings = require(nativeBindingsModulePath);
+const nativeWorker = require('wo... | Use worker-native to dlclose event-loop-native | exokitxr_exokit | train | js |
8032f7920f69171513f4b12852e1408e8dba7eed | diff --git a/test/unit/content-test.js b/test/unit/content-test.js
index <HASH>..<HASH> 100644
--- a/test/unit/content-test.js
+++ b/test/unit/content-test.js
@@ -7,6 +7,14 @@
var loadash = require('lodash');
describe('Content', function () {
+
+ before(function (done) {
+ var helper = requ... | add before hook to be sure that stealth mode in disabled | Aconex_drakov | train | js |
72faf0de6c61a0f5570e6d2f6d9d0dc68ce7a1b9 | diff --git a/src/Artifact.js b/src/Artifact.js
index <HASH>..<HASH> 100644
--- a/src/Artifact.js
+++ b/src/Artifact.js
@@ -109,7 +109,24 @@ class Artifact extends OIPObject {
}
}
}
- /**
+ /**
+ * Set the TXID
+ * @param {string} txid - The transaction ID
+ * @example
+ * artifact.setTXID("... | set/get methods for TXID | oipwg_oip-index | train | js |
b412c125a437852673106f232ea13afc2d76569c | diff --git a/src/PhpDocument.php b/src/PhpDocument.php
index <HASH>..<HASH> 100644
--- a/src/PhpDocument.php
+++ b/src/PhpDocument.php
@@ -160,7 +160,9 @@ class PhpDocument
// Register this document on the project for references
foreach ($this->referenceNodes as $fqn => $nodes) {
- $this-... | fix(indexing): handle integer FQNs | felixfbecker_php-language-server | train | php |
a154b4700c8258e8a15a5a028c396f478b861378 | diff --git a/lib/validate.js b/lib/validate.js
index <HASH>..<HASH> 100644
--- a/lib/validate.js
+++ b/lib/validate.js
@@ -108,7 +108,7 @@ module.exports = {
_.merge(entries, entry);
}
- if (runtime === 'provided' && loadedFunc.webpackAllowCustomRuntime) {
+ if (runtime === 'provided... | remane webpackAllowCustomRuntime to allowCustomRuntime | serverless-heaven_serverless-webpack | train | js,js |
03a7873de305d49df40702f3ff30b58a2089c057 | diff --git a/src/com/google/javascript/jscomp/DefaultPassConfig.java b/src/com/google/javascript/jscomp/DefaultPassConfig.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/DefaultPassConfig.java
+++ b/src/com/google/javascript/jscomp/DefaultPassConfig.java
@@ -204,6 +204,11 @@ public final class D... | Moving ClosureRewriteModule before early transpilation
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
4817c3d6f7b643e24b8a18d6fba323137099225a | diff --git a/lib/markdown-pdf.js b/lib/markdown-pdf.js
index <HASH>..<HASH> 100644
--- a/lib/markdown-pdf.js
+++ b/lib/markdown-pdf.js
@@ -14,7 +14,13 @@ function markdownpdf (opts) {
opts = opts || {}
opts.phantomPath = opts.phantomPath || require("phantomjs").path
opts.runningsPath = path.resolve(__dirname +... | Added relative path support to opts.cssPath | alanshaw_markdown-pdf | train | js |
9d3e0e44a2b4cac49b1957470274a3bb1f871274 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -120,6 +120,7 @@ with open("tornado/__init__.py") as f:
with open("README.rst") as f:
kwargs["long_description"] = f.read()
+ kwargs["long_description_content_type"] = "text/x-rst"
if (
platform.python_imple... | setup: Set readme content-type explicitly
Silences a warning when uploading to pypi. | tornadoweb_tornado | train | py |
b606c82e5de3b48b97b452fe54888adf4fec5ffe | diff --git a/lib/loggerator/railtie/adapter.rb b/lib/loggerator/railtie/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/loggerator/railtie/adapter.rb
+++ b/lib/loggerator/railtie/adapter.rb
@@ -9,12 +9,15 @@ module Loggerator
end
config.before_initialize do
- [ ActionView::Base,
- Activ... | skip including Loggerator on base classes that aren't loaded
some rails installs skip certain components, eg. actionmailer,
actionview, etc. So, we only include Loggerator on the base classes of
components that are loaded. | heroku_loggerator | train | rb |
6df85a437becfc5ead83b006a1e2c42891361ad8 | diff --git a/packages/lib/Callback.js b/packages/lib/Callback.js
index <HASH>..<HASH> 100644
--- a/packages/lib/Callback.js
+++ b/packages/lib/Callback.js
@@ -14,6 +14,7 @@ exports = Class(function() {
this.fired = function() { return this._fired; }
this.reset = function() { this._args = []; this._fired = false; }... | add a forward method for easily forwarding a method on an arbitrary object to the run method of a lib.Callback object | gameclosure_js.io | train | js |
d893abd59c05d83c183d98ba3edd88cf30ebc60f | diff --git a/packages/core-js/stable/dom-exception/constructor.js b/packages/core-js/stable/dom-exception/constructor.js
index <HASH>..<HASH> 100644
--- a/packages/core-js/stable/dom-exception/constructor.js
+++ b/packages/core-js/stable/dom-exception/constructor.js
@@ -1,5 +1,4 @@
require('../../modules/es.error.to-s... | leaving `DOMException` without `Object#toString` dependency should be safe | zloirock_core-js | train | js,js |
2531fc1d26067cad33bc8572db1bb5a9bf67131a | diff --git a/packages/embark-test-runner/src/reporter.js b/packages/embark-test-runner/src/reporter.js
index <HASH>..<HASH> 100644
--- a/packages/embark-test-runner/src/reporter.js
+++ b/packages/embark-test-runner/src/reporter.js
@@ -55,7 +55,14 @@ class EmbarkSpec extends Base {
if (self.txDetails) {
... | fix(@embark/test-runner): make `--tx-details` option work again
In <URL> of deployed contracts
after every test, making it practically impossible for Embark to find
matching contracts for any transactions, because contracts aren't necessarily
redeployed per spec, resulting in no additional transaction logs whatsoever.... | embark-framework_embark | train | js |
58be2e90254175b88afc73bcbfbb5bed67638500 | diff --git a/src/core/vr-object.js b/src/core/vr-object.js
index <HASH>..<HASH> 100644
--- a/src/core/vr-object.js
+++ b/src/core/vr-object.js
@@ -20,7 +20,8 @@ var proto = {
value: {
position: '',
rotation: '',
- scale: ''
+ scale: '',
+ visible: ''
}
}, | Adds visible as a default component | aframevr_aframe | train | js |
2e47e71d451b0758d6805dbf1172ae59130f19f8 | diff --git a/examples/simple/src/customRouteLayout.js b/examples/simple/src/customRouteLayout.js
index <HASH>..<HASH> 100644
--- a/examples/simple/src/customRouteLayout.js
+++ b/examples/simple/src/customRouteLayout.js
@@ -6,7 +6,7 @@ class CustomRouteLayout extends Component {
componentWillMount() {
this... | upgrade example code
replace pageSize by perPage | marmelab_react-admin | train | js,js |
5801460a355faaf96ae16d152df7dd8c61202e4e | diff --git a/python-package/lightgbm/__init__.py b/python-package/lightgbm/__init__.py
index <HASH>..<HASH> 100644
--- a/python-package/lightgbm/__init__.py
+++ b/python-package/lightgbm/__init__.py
@@ -27,7 +27,8 @@ except ImportError:
dir_path = os.path.dirname(os.path.realpath(__file__))
if os.path.isfile(os.pat... | [python] Minor fix: close open file pointer (#<I>) | Microsoft_LightGBM | train | py |
c69011fad44cce67a20904df869ceeb430c60209 | diff --git a/Exscript/protocols/ssh2.py b/Exscript/protocols/ssh2.py
index <HASH>..<HASH> 100644
--- a/Exscript/protocols/ssh2.py
+++ b/Exscript/protocols/ssh2.py
@@ -199,7 +199,7 @@ class SSH2(Protocol):
continue
for regex in self.get_password_prompt():
- matc... | fix: broken password login for ssh | knipknap_exscript | train | py |
882c2c554efc375b2913e075713cd812a1f9fa0a | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -357,14 +357,11 @@ def forced_piece_size(pytestconfig):
def _forced_piece_size(piece_size):
orig_piece_size_min = torf.Torrent.piece_size_min
torf.Torrent.piece_size_m... | Compress forced_piece_size fixture | rndusr_torf | train | py |
bfcf7d74d2d8a32ea2431c2166213af5f9549683 | diff --git a/rope/refactor/__init__.py b/rope/refactor/__init__.py
index <HASH>..<HASH> 100644
--- a/rope/refactor/__init__.py
+++ b/rope/refactor/__init__.py
@@ -47,3 +47,9 @@ monitoring the progress of refactorings.
"""
from rope.refactor.importutils import ImportOrganizer
from rope.refactor.topackage import Modul... | refactor: adding __all__ to rope.refactor | python-rope_rope | train | py |
0e399c673acde1c859a47e72f17d6dc5c54127ed | diff --git a/Tests/Unit/EnumerableTest.php b/Tests/Unit/EnumerableTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Unit/EnumerableTest.php
+++ b/Tests/Unit/EnumerableTest.php
@@ -712,8 +712,8 @@ class EnumerableTest extends \Tests\Testing\TestCase_Enumerable
array(2, 33, 111, 4444),
E::from(ar... | Fixed unstable test (failed in PHP 7). | Athari_YaLinqo | train | php |
ab3a56302ff94d3de7013a4b043d67229dffc539 | diff --git a/library/src/main/java/de/mrapp/android/preference/AbstractDialogPreference.java b/library/src/main/java/de/mrapp/android/preference/AbstractDialogPreference.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/de/mrapp/android/preference/AbstractDialogPreference.java
+++ b/library/src/main/java/de/... | The light theme is now used by default. | michael-rapp_AndroidMaterialPreferences | train | java |
b31e33dd6bf5ae758452215d161dc3e143e3cb55 | diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js b/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js
+++ b/bundles/org.ecli... | set default button in GitCredentialsDialog so that Enter key will work. | eclipse_orion.client | train | js |
c03c991c51000f233a9fd4372033a07da0f37338 | diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/collection_proxy.rb
+++ b/activerecord/lib/active_record/associations/collection_proxy.rb
@@ -841,7... | [ci skip] Updated include to reference record parameter for rdoc | rails_rails | train | rb |
479b06b7e562828c7da1e67f93d55afff615b4cb | diff --git a/lib/opal/builder.rb b/lib/opal/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/builder.rb
+++ b/lib/opal/builder.rb
@@ -14,7 +14,7 @@ module Opal
raise "No files given" if @sources.empty?
puts "Building #{@sources.inspect} #{@options.inspect}"
- @sources.each { |s| build_source '... | No longer manually traverse directories as output paths are consistent now | opal_opal | train | rb |
bebada0e81056aa3f1d0ab289f52388669dafec6 | diff --git a/lib/application.js b/lib/application.js
index <HASH>..<HASH> 100644
--- a/lib/application.js
+++ b/lib/application.js
@@ -103,8 +103,8 @@ app.run = function (port, callback) {
if (enable(configs, 'log')){
this.use(logMiddleware(configs.log));
}
- if (enable(configs, 'error')) {
- ... | fix bug that every request responses an error | larkjs_lark | train | js,js |
6beb8c7160ed0120962828dbf4b0266f18f45e05 | diff --git a/src/main/java/org/spout/nbt/Tag.java b/src/main/java/org/spout/nbt/Tag.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/spout/nbt/Tag.java
+++ b/src/main/java/org/spout/nbt/Tag.java
@@ -75,6 +75,10 @@ public abstract class Tag {
* @return a clone of the map
*/
public static Map<String, Tag>... | Check for null in cloneMap | flow_nbt | train | java |
6ac12ae694fe867f0a3672a2b971f109a37b179f | diff --git a/e3x.js b/e3x.js
index <HASH>..<HASH> 100644
--- a/e3x.js
+++ b/e3x.js
@@ -182,7 +182,7 @@ exports.self = function(args){
};
x.channel = function(open){
- if(!x.session || typeof open != 'object' || typeof open.json != 'object' || typeof open.json.type != 'string')
+ if(typeof open... | channels can be created w/o a session, just can't send | telehash_e3x-js | train | js |
020840e19b6f91fdd014e4991e6684b3dfd33714 | diff --git a/gogs_client/auth.py b/gogs_client/auth.py
index <HASH>..<HASH> 100644
--- a/gogs_client/auth.py
+++ b/gogs_client/auth.py
@@ -20,7 +20,7 @@ class Authentication(object):
class Token(Authentication):
"""
- An immutable represention of a Gogs authentication token
+ An immutable representation o... | Fix typos in docstrings | unfoldingWord-dev_python-gogs-client | train | py |
850d22f0312d1fc8b2a6663a49bed63c2992762a | diff --git a/src/org/zaproxy/zap/spider/URLResolver.java b/src/org/zaproxy/zap/spider/URLResolver.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/spider/URLResolver.java
+++ b/src/org/zaproxy/zap/spider/URLResolver.java
@@ -1,4 +1,4 @@
-/**
+/*
* This class is adopted from Htmlunit with the following copyr... | Correct license header comment in forked class
Change URLResolver to use plain comment for the license header (instead
of JavaDoc). | zaproxy_zaproxy | train | java |
2e628b47e6d00ae31dfde05a8472f5f910ea48bb | diff --git a/packages/build/src/util.js b/packages/build/src/util.js
index <HASH>..<HASH> 100644
--- a/packages/build/src/util.js
+++ b/packages/build/src/util.js
@@ -194,14 +194,14 @@ const buildStaticSite = async (options, stats) => {
const serverStats = stats.stats.find(stats =>
stats.compilation.name.in... | fix(build): avoid using deprecated webpack apis | marko-js_cli | train | js |
ce8400ab19ee79ce156e9b24452176016b8b949d | diff --git a/cr8/clients.py b/cr8/clients.py
index <HASH>..<HASH> 100644
--- a/cr8/clients.py
+++ b/cr8/clients.py
@@ -7,6 +7,9 @@ from typing import List, Union, Iterable
from decimal import Decimal
+HTTP_DEFAULT_HDRS = {'Content-Type': 'application/json'}
+
+
class CrateJsonEncoder(json.JSONEncoder):
epo... | http-client: Set Content-Type headers | mfussenegger_cr8 | train | py |
832e37198c34536ad8efcc5e60be5cda95817c05 | diff --git a/openquake/server/dbserver.py b/openquake/server/dbserver.py
index <HASH>..<HASH> 100644
--- a/openquake/server/dbserver.py
+++ b/openquake/server/dbserver.py
@@ -75,6 +75,8 @@ class DbServer(object):
res, etype, _ = safely_call(func, args)
if etype:
... | Logged the commands received by the db server
Former-commit-id: 5ba6db9b9f9b<I>a<I>e2f2c<I>beee<I> [formerly 5a5da<I>b9f5a2c<I>e<I>def<I>e<I>c<I>]
Former-commit-id: 3bb<I>e<I>df1de<I>d3a7e9d<I> | gem_oq-engine | train | py,py |
570bda811fb89c6783632c58298b413ffdcd22b1 | diff --git a/handler/handler.go b/handler/handler.go
index <HASH>..<HASH> 100644
--- a/handler/handler.go
+++ b/handler/handler.go
@@ -47,7 +47,7 @@ func (h Handler) Start() {
{
Action: models.DownloadAction{
From: desireAppMessage.DropletUri,
- To: "/app",
+ To: "/",
... | Fixing app manager to work with proper droplet file structure. | cloudfoundry-attic_app-manager | train | go,go,go |
320f4788e90b3b0aa36f383e603fc7ca35af65c8 | diff --git a/lib/kalindar/app.rb b/lib/kalindar/app.rb
index <HASH>..<HASH> 100644
--- a/lib/kalindar/app.rb
+++ b/lib/kalindar/app.rb
@@ -78,6 +78,7 @@ class KalindarApp < Sinatra::Base
# Add event, save ics file.
put '/event' do
event = RiCal::Component::Event.new($cal.calendars.first)
+ event.uid = Sec... | set uid of newly created events. | fwolfst_kalindar | train | rb |
04c941fcff2d4fb0581e363c81df4753f90be0af | diff --git a/modules/medianetBidAdapter.js b/modules/medianetBidAdapter.js
index <HASH>..<HASH> 100644
--- a/modules/medianetBidAdapter.js
+++ b/modules/medianetBidAdapter.js
@@ -204,7 +204,7 @@ function slotParams(bidRequest) {
params.tagid = bidRequest.params.crid.toString();
}
- let bidFloor = parseFloat(... | Honour bidFloor key in params (#<I>) | prebid_Prebid.js | train | js |
169b7d47538f62e7045966d7e7aa67464f514e9c | diff --git a/lib/zendesk_apps_support/package.rb b/lib/zendesk_apps_support/package.rb
index <HASH>..<HASH> 100644
--- a/lib/zendesk_apps_support/package.rb
+++ b/lib/zendesk_apps_support/package.rb
@@ -200,7 +200,8 @@ module ZendeskAppsSupport
def app_css
css_file = path_to('app.css')
- File.exist?(... | Allow having .scss file too, so editors will understand the sass syntax | zendesk_zendesk_apps_support | train | rb |
e3c9f1b31410d19259f505921519e52916cdc37d | diff --git a/tests/brightbox/requests/compute/helper.rb b/tests/brightbox/requests/compute/helper.rb
index <HASH>..<HASH> 100644
--- a/tests/brightbox/requests/compute/helper.rb
+++ b/tests/brightbox/requests/compute/helper.rb
@@ -111,7 +111,7 @@ class Brightbox
"name" => String,
"defau... | [Brightbox] Updated format for nested firewall policies
Description is allowed to be nil | fog_fog | train | rb |
5aaa64e86ac5c819a93548213ae1f7462582c2e2 | diff --git a/lib/scorpio/json/node.rb b/lib/scorpio/json/node.rb
index <HASH>..<HASH> 100644
--- a/lib/scorpio/json/node.rb
+++ b/lib/scorpio/json/node.rb
@@ -97,6 +97,21 @@ module Scorpio
def to_ary
to_a
end
+
+ # array methods - define only those which do not modify the array.
+
+ # m... | add handy json node array methods (delegate to content or to_a as appropriate) | notEthan_jsi | train | rb |
87cc0c4f443c2335206e707c6eb49abb65331147 | diff --git a/structr-ui/src/main/java/org/structr/websocket/command/SearchCommand.java b/structr-ui/src/main/java/org/structr/websocket/command/SearchCommand.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/websocket/command/SearchCommand.java
+++ b/structr-ui/src/main/java/org/structr/websoc... | Bugfix: If no sort key is given for the search command then use "name" by default instead of producing a stack trace. | structr_structr | train | java |
c247aae43f29c824c0b578a92f16631a4004ea9b | diff --git a/static/js/webirc.js b/static/js/webirc.js
index <HASH>..<HASH> 100644
--- a/static/js/webirc.js
+++ b/static/js/webirc.js
@@ -349,7 +349,7 @@ webircApp.directive('chatlog', function() {
return basicText('activity_info', '* ' + originNickOrName(activity.origin) + ' sets mode: ' + activity.modes + ' ' +... | highlighting MyActionMessage same as _mychat | pavben_WebIRC | train | js |
ffbea23d9e7a3463687cd8a26e03b3f5ef5cf797 | diff --git a/tests/TestCase/ORM/Association/BelongsToManyTest.php b/tests/TestCase/ORM/Association/BelongsToManyTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/ORM/Association/BelongsToManyTest.php
+++ b/tests/TestCase/ORM/Association/BelongsToManyTest.php
@@ -1022,6 +1022,7 @@ class BelongsToManyTest extends... | improves the test for BelongsToMany Associations to verify if the correct entity was found | cakephp_cakephp | train | php |
3b34491b95e23f484fcce9e9634043e39357a8f1 | diff --git a/lang/en_utf8/enrol_authorize.php b/lang/en_utf8/enrol_authorize.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/enrol_authorize.php
+++ b/lang/en_utf8/enrol_authorize.php
@@ -92,7 +92,6 @@ $string['missingcvv'] = 'Missing verification number';
$string['missingzip'] = 'Missing postal code';
$string['na... | Put back last commit. If cost is 0, it always falls back to manual method. | moodle_moodle | train | php |
d4f0ef383e38cb3863f9af3bec9dee5f42e8ae17 | diff --git a/core/class-kirki-init.php b/core/class-kirki-init.php
index <HASH>..<HASH> 100644
--- a/core/class-kirki-init.php
+++ b/core/class-kirki-init.php
@@ -46,6 +46,10 @@ class Kirki_Init {
*/
public static function set_url() {
+ if ( Kirki_Util::is_plugin() ) {
+ return;
+ }
+
// Get correct URL a... | don't calculate path if plugin. | aristath_kirki | train | php,php |
ac2e85ae6173a1942a2bd0825fc91134569a7053 | diff --git a/key_test.go b/key_test.go
index <HASH>..<HASH> 100644
--- a/key_test.go
+++ b/key_test.go
@@ -16,10 +16,14 @@ func runGenerateBench(b *testing.B, f generateFunc, name string) {
}
func runFingerprintBench(b *testing.B, f generateFunc, name string) {
+ b.StopTimer()
+ // Don't count this relatively slow ... | Don't record generation time on fingerprint bench
Docker-DCO-<I>- | docker_libtrust | train | go |
c1562aae1a53159baa03c7f652d47eb9a881ca85 | diff --git a/satpy/readers/seviri_l1b_icare.py b/satpy/readers/seviri_l1b_icare.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/seviri_l1b_icare.py
+++ b/satpy/readers/seviri_l1b_icare.py
@@ -256,11 +256,11 @@ class SEVIRI_ICARE(HDF4FileHandler):
data = data.where(data != fill)
data.data = data.dat... | Fix bad practice with modifying dask arrays in icare reader. | pytroll_satpy | train | py |
93190c174657bfd21f3f96a88fbf74e2d77fced4 | diff --git a/src/Charcoal/Metadata/DescribableTrait.php b/src/Charcoal/Metadata/DescribableTrait.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Metadata/DescribableTrait.php
+++ b/src/Charcoal/Metadata/DescribableTrait.php
@@ -214,7 +214,7 @@ trait DescribableTrait
throw new Exception(sprintf('Invalid ... | Create a new instance of the Property. | locomotivemtl_charcoal-core | train | php |
ab2d97d49b2f89590af665fde146dfe635eb0b2e | diff --git a/src/ol/render/canvas.js b/src/ol/render/canvas.js
index <HASH>..<HASH> 100644
--- a/src/ol/render/canvas.js
+++ b/src/ol/render/canvas.js
@@ -196,7 +196,7 @@ export const textHeights = {};
* @param {string} fontSpec CSS font spec.
*/
export const checkFont = (function() {
- const retries = 60;
+ con... | Don't give up too early when waiting for fonts | openlayers_openlayers | train | js,js |
a8a70943d7307a1febe1e4a17fe19f512d3f87e4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ install_requires = [
"django-maploom==1.2.5",
"psycopg2==2.4.5",
"django-tilebundler==0.1-beta1",
- "django-gsschema==0.1-beta1",
+ "django-gsschema==0.1-beta2",
]
te... | bumped gsschema | ROGUE-JCTD_rogue_geonode | train | py |
88eae9663d0719c9849c5b5d3a8bcf23d0b37523 | diff --git a/test/automated.rb b/test/automated.rb
index <HASH>..<HASH> 100644
--- a/test/automated.rb
+++ b/test/automated.rb
@@ -1,6 +1,8 @@
-require_relative 'test_init'
+require_relative './test_init'
-TestBench::Runner.(
- 'automated/**/*.rb',
- exclude_pattern: %r{\/_|sketch|(_init\.rb|_tests\.rb)\z}
+require... | test/automated.rb is standardized | eventide-project_entity-store | train | rb |
79cb0127033858b4f97604a6c1679959e3d71474 | diff --git a/pysat/utils/io.py b/pysat/utils/io.py
index <HASH>..<HASH> 100644
--- a/pysat/utils/io.py
+++ b/pysat/utils/io.py
@@ -1292,6 +1292,13 @@ def load_netcdf_xarray(fnames, strict_meta=False, file_format='NETCDF4',
load_netcdf
"""
+
+ if epoch_name != 'Epoch':
+ wstr = ''.join(['The `epoch... | STY: Added `epoch_name` check when loading xarray. | rstoneback_pysat | train | py |
34a385a361d169adb4b036c1b35fa38305dc2b47 | diff --git a/response_writer.go b/response_writer.go
index <HASH>..<HASH> 100644
--- a/response_writer.go
+++ b/response_writer.go
@@ -28,7 +28,11 @@ type beforeFunc func(ResponseWriter)
// NewResponseWriter creates a ResponseWriter that wraps an http.ResponseWriter
func NewResponseWriter(rw http.ResponseWriter) Re... | Set default resposnse writer status to <I>.
In the case, where the undelying handler does not write to the reponse writer, the negroni
reponse writer would report status 0 (instead of <I>, as expected). | urfave_negroni | train | go |
78afb2e3756a4e9721e4e63482df25136a0690a9 | diff --git a/src/DataAccess/Database/MySQL.php b/src/DataAccess/Database/MySQL.php
index <HASH>..<HASH> 100644
--- a/src/DataAccess/Database/MySQL.php
+++ b/src/DataAccess/Database/MySQL.php
@@ -169,13 +169,14 @@ class MySQL implements Database, Configurable {
throw new MySQLExecuteException($link->err... | Fix issue in the MySQL library where the affected rows wasn't being populated correctly | cohesion_cohesion-core | train | php |
6d0d581aeaaca4bc66a9445f165c6834ce859edb | diff --git a/jlib-core/src/main/java/org/jlib/core/valueholder/AccessibleValueHolder.java b/jlib-core/src/main/java/org/jlib/core/valueholder/AccessibleValueHolder.java
index <HASH>..<HASH> 100644
--- a/jlib-core/src/main/java/org/jlib/core/valueholder/AccessibleValueHolder.java
+++ b/jlib-core/src/main/java/org/jlib/c... | AccessibleValueHolder turned from interface to abstract class | jlib-framework_jlib-operator | train | java |
6368bd34b9cf3e485288675b2ef634b9016c947c | diff --git a/zengine/log.py b/zengine/log.py
index <HASH>..<HASH> 100644
--- a/zengine/log.py
+++ b/zengine/log.py
@@ -11,7 +11,7 @@ from zengine.config import settings
def getlogger():
# create logger
logger = logging.getLogger(__name__)
- logger.setLevel(logging.INFO)
+ logger.setLevel(logging.DEBUG ... | added DEBUG setting to settings.py with True as the default value.
currently only affects the logging level | zetaops_zengine | train | py,py |
868f2ad336bba0076e043e757fbcff2576efa865 | diff --git a/lib/rails_best_practices/reviews/check_save_return_value_review.rb b/lib/rails_best_practices/reviews/check_save_return_value_review.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_best_practices/reviews/check_save_return_value_review.rb
+++ b/lib/rails_best_practices/reviews/check_save_return_value_review.... | to_s is redundant inside the string interpolation | flyerhzm_rails_best_practices | train | rb |
e1347f1d27ea02c3100f3ff84451761d6eae165c | diff --git a/src/Bkwld/Decoy/Models/Base.php b/src/Bkwld/Decoy/Models/Base.php
index <HASH>..<HASH> 100644
--- a/src/Bkwld/Decoy/Models/Base.php
+++ b/src/Bkwld/Decoy/Models/Base.php
@@ -49,6 +49,7 @@ abstract class Base extends Eloquent {
'_save', // The submit buttons, tells us which submit button they clicked
... | Preventing errors when submitting forms containing decoy::shared.list._control_group with some delete checkboxes checked | BKWLD_decoy | train | php |
66b97db4c65348cc5804c234171677c18aa2574e | diff --git a/src/extensions/filter-control/bootstrap-table-filter-control.js b/src/extensions/filter-control/bootstrap-table-filter-control.js
index <HASH>..<HASH> 100644
--- a/src/extensions/filter-control/bootstrap-table-filter-control.js
+++ b/src/extensions/filter-control/bootstrap-table-filter-control.js
@@ -66,7 ... | Fixes #<I> where HTML chars hown in filter-control select
Removes HTML characters from appearing in SELECT dropdowns. | wenzhixin_bootstrap-table | train | js |
6ce8119801185a0739e8a099f6e4d0018959e214 | diff --git a/benchmark/benchmark.rb b/benchmark/benchmark.rb
index <HASH>..<HASH> 100644
--- a/benchmark/benchmark.rb
+++ b/benchmark/benchmark.rb
@@ -73,7 +73,7 @@ Benchmark.bm 5 do |x|
ActiveSupport::XmlMini.backend = 'LibXML'
x.report 'activesupport(libxml) ' do
- #runs.times { Hash.from_xml(File.new(pat... | Enable LibXML as it no longer segfaults. | cloocher_xmlhasher | train | rb |
3291aba6b013d5e2afa418a74995716394f8ba30 | diff --git a/src/github.com/CapillarySoftware/gostat/bucketer/bucketer_test.go b/src/github.com/CapillarySoftware/gostat/bucketer/bucketer_test.go
index <HASH>..<HASH> 100644
--- a/src/github.com/CapillarySoftware/gostat/bucketer/bucketer_test.go
+++ b/src/github.com/CapillarySoftware/gostat/bucketer/bucketer_test.go
@... | reverse order of expects and pub to make it clear next() has a side effect | CapillarySoftware_gostat | train | go |
db913468daebc952382b58f67c4ce4e424846cfd | diff --git a/otto_test.go b/otto_test.go
index <HASH>..<HASH> 100644
--- a/otto_test.go
+++ b/otto_test.go
@@ -2173,3 +2173,26 @@ func Test_delete(t *testing.T) {
delete 42;
`, "true")
}
+
+func TestObject_defineOwnProperty(t *testing.T) {
+ Terst(t)
+
+ test := runTest()
+
+ test(`
+ var object = {};
+
+ ... | If a property is defined without a value (nil interface), define it as undefined | robertkrimen_otto | train | go,go |
d204d9365228b3e569e670e478cfde068d3be743 | diff --git a/ginga/gw/PluginManager.py b/ginga/gw/PluginManager.py
index <HASH>..<HASH> 100644
--- a/ginga/gw/PluginManager.py
+++ b/ginga/gw/PluginManager.py
@@ -269,10 +269,12 @@ class PluginManager(Callback.Callbacks):
return
if chname is not None:
# local plugin
- plnam... | Fix for bug activating local plugins with a custom tab name | ejeschke_ginga | train | py |
589941fb17b98de4585c022ef5880426e92d1bea | diff --git a/tests/test_playlist.py b/tests/test_playlist.py
index <HASH>..<HASH> 100644
--- a/tests/test_playlist.py
+++ b/tests/test_playlist.py
@@ -95,6 +95,9 @@ def test_copyToUser(plex, show, fresh_plex, shared_username):
def test_smart_playlist(plex, movies):
- pl = plex.createPlaylist(title='smart_playli... | Remove playlist created during tests (#<I>) | pkkid_python-plexapi | train | py |
c26322a713a2794b438b8f77c072162960deb036 | diff --git a/pyinstrument/renderers/speedscope.py b/pyinstrument/renderers/speedscope.py
index <HASH>..<HASH> 100644
--- a/pyinstrument/renderers/speedscope.py
+++ b/pyinstrument/renderers/speedscope.py
@@ -103,9 +103,9 @@ class SpeedscopeRenderer(Renderer):
def __init__(self, **kwargs: Any):
super().__in... | SpeedscopeRenderer: s/_total_time/_event_time/g;
This commit renames the _total_time field to _event_time in order to
clarify its purpose in the SpeedscopeRenderer class. | joerick_pyinstrument | train | py |
95ffed29ff2c6ca73521be612728a0d5fe144ee7 | diff --git a/Markup.php b/Markup.php
index <HASH>..<HASH> 100755
--- a/Markup.php
+++ b/Markup.php
@@ -7,7 +7,7 @@ namespace HtmlGenerator;
use ArrayAccess;
if (!defined('ENT_XML1')) {
- define('ENT_XML1', 16);
+ define('ENT_XML1', 16);
}
if (!defined('ENT_XHTML')) {
define('ENT_XHTML', 32); | Add error to test PSR2 validation, should be valid with php7 only | Airmanbzh_php-html-generator | train | php |
95cde238149afb6e18c23686210646a08ef0d2a1 | diff --git a/wheelzoom.js b/wheelzoom.js
index <HASH>..<HASH> 100644
--- a/wheelzoom.js
+++ b/wheelzoom.js
@@ -1,11 +1,12 @@
/*!
- Wheelzoom 3.0.4
+ Wheelzoom 3.1.0
license: MIT
http://www.jacklmoore.com/wheelzoom
*/
window.wheelzoom = (function(){
var defaults = {
- zoom: 0.10
+ zoom: 0.10,
+ maxZoom: fals... | feat: added option for maximum zoom level | jackmoore_wheelzoom | train | js |
4771005dfa3db78433fedebcc8640d96579f5e07 | diff --git a/facepy/signed_request.py b/facepy/signed_request.py
index <HASH>..<HASH> 100644
--- a/facepy/signed_request.py
+++ b/facepy/signed_request.py
@@ -52,7 +52,7 @@ class SignedRequest(object):
is_admin=self.raw['page'].get('admin')
) if 'page' in self.raw else None
- if not self.... | Make signed request tests pass on Python 3. | jgorset_facepy | train | py |
aa6c951988123edc84212d98b5a2abad9bd669f9 | diff --git a/airflow/www/views.py b/airflow/www/views.py
index <HASH>..<HASH> 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2863,6 +2863,7 @@ class Airflow(AirflowBaseView):
task_dict['end_date'] = task_dict['end_date'] or timezone.utcnow()
task_dict['extraLinks'] = dag.get_... | Fix task instance modal in gantt view (#<I>) | apache_airflow | train | py |
aed76e2294f36fbeb138d7a7c0c93ddb61c5f3f6 | diff --git a/freemius/includes/class-freemius.php b/freemius/includes/class-freemius.php
index <HASH>..<HASH> 100644
--- a/freemius/includes/class-freemius.php
+++ b/freemius/includes/class-freemius.php
@@ -3709,7 +3709,7 @@
$this->_add_pending_activation_notice( fs_request_get( 'user_email' ) );
// Reloa... | [connect] Added special filter for the URL that should be loaded after the user opted-in and pending activation mode. If no filter is set, falls back to the 'connect_url' which falls back to the default admin page URL. This was created for weird admin menu slug cases. | Freemius_wordpress-sdk | train | php |
94adcca478ea100de1497d0d4af3f3c05be2432c | diff --git a/more_itertools/more.py b/more_itertools/more.py
index <HASH>..<HASH> 100644
--- a/more_itertools/more.py
+++ b/more_itertools/more.py
@@ -1152,7 +1152,7 @@ def adjacent(predicate, iterable, distance=1):
>>> list(adjacent(lambda x: x == 3, range(6)))
[(False, 0), (False, 1), (True, 2), (Tr... | Fix typos in docstrings | erikrose_more-itertools | train | py,py |
f475da0730aa7a60afab6e18d96a6e3da3827cab | diff --git a/tests/ProxyManagerTest/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/MagicCloneTest.php b/tests/ProxyManagerTest/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/MagicCloneTest.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyManagerTest/ProxyGenerator/AccessInterceptorScopeL... | Providing IDE hints for mocks | Ocramius_ProxyManager | train | php |
b4478bf7f491ff87d3b4097da0c43d062c53caaf | diff --git a/ca/django_ca/tests/base/mixins.py b/ca/django_ca/tests/base/mixins.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/tests/base/mixins.py
+++ b/ca/django_ca/tests/base/mixins.py
@@ -533,7 +533,7 @@ class TestCaseMixin(TestCaseProtocol): # pylint: disable=too-many-public-method
call_comman... | fix pylint issues | mathiasertl_django-ca | train | py |
4e0b9057477586a38c17352d27e50a2d7e05218c | diff --git a/pvl/_collections.py b/pvl/_collections.py
index <HASH>..<HASH> 100644
--- a/pvl/_collections.py
+++ b/pvl/_collections.py
@@ -2,6 +2,7 @@
import sys
import pprint
from collections import Mapping, MutableMapping, namedtuple
+from six.moves import zip
PY3 = sys.version_info[0] == 3
@@ -131,6 +132,25 ... | Add equity check to pal modules, groups and objects. | planetarypy_pvl | train | py |
3b3806ce8d4bbb75e9a4922f62dcd33ed2144621 | diff --git a/lib/service/service.go b/lib/service/service.go
index <HASH>..<HASH> 100644
--- a/lib/service/service.go
+++ b/lib/service/service.go
@@ -432,6 +432,8 @@ func (process *TeleportProcess) initSSH() error {
eventsC := make(chan Event)
process.WaitForEvent(SSHIdentityEvent, eventsC, make(chan struct{}))
... | "SSH node" service can now be stopped
when I did "stoppable Teleport" I wasn't running the "node" role, now I
added support for that. | gravitational_teleport | train | go |
054963de3d0fb6510e47631393e04082069f6b15 | diff --git a/pgi/gitypes/gobject.py b/pgi/gitypes/gobject.py
index <HASH>..<HASH> 100644
--- a/pgi/gitypes/gobject.py
+++ b/pgi/gitypes/gobject.py
@@ -116,6 +116,7 @@ GObjectPtr = POINTER(GObject)
class GValue(Structure):
_fields_ = [
("g_type", GType),
+ ("dummy", guint64 * 2),
]
diff --... | Make sure the whole gvalue is zero initialized: now works with pypy again. | pygobject_pgi | train | py,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.