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 |
|---|---|---|---|---|---|
d5c6dfd0e07efaca2b5692307d5286465a7199dc | diff --git a/lib/sgf/parser.rb b/lib/sgf/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/sgf/parser.rb
+++ b/lib/sgf/parser.rb
@@ -77,7 +77,7 @@ module SGF
def parse_node_data
@node_properties = {}
while still_inside_node?
- identity = parse_identity
+ identity = read_token IdentityToke... | Replaced parse_identity with new Token class. | Trevoke_SGFParser | train | rb |
6160c6f6bd59802fa3145a944cac55d962faa3e6 | diff --git a/bcbio/bam/trim.py b/bcbio/bam/trim.py
index <HASH>..<HASH> 100644
--- a/bcbio/bam/trim.py
+++ b/bcbio/bam/trim.py
@@ -67,9 +67,6 @@ def trim_read_through(fastq_files, dirs, lane_config):
cores = lane_config["algorithm"].get("num_cores", 1)
out_files = _cutadapt_trim(fastq_files, quality_format,
... | Fix for trimming single-end reads. | bcbio_bcbio-nextgen | train | py |
858b70c680466ec39e76f159c3b85fc3c3ef8e83 | diff --git a/lib/connector/Message.js b/lib/connector/Message.js
index <HASH>..<HASH> 100644
--- a/lib/connector/Message.js
+++ b/lib/connector/Message.js
@@ -524,7 +524,7 @@ Object.assign(Message, {
LinkedInOAuth: Message.createExternal({
method: 'OAUTH',
- path: 'https://www.linkedin.com/uas/oauth2/autho... | [BAQ-<I>] fix(oauth) Change LinkedIn OAuth API endpoint to their new one. | Baqend_js-sdk | train | js |
eb279f55024ec44f22e8f4e82b4352cfb22af1b6 | diff --git a/src/Http/Controllers/BasicController.php b/src/Http/Controllers/BasicController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/BasicController.php
+++ b/src/Http/Controllers/BasicController.php
@@ -9,15 +9,13 @@ class BasicController extends RestManagerController
public function __construc... | use newManagerByName instead of findManagerByName | railken_amethyst-common | train | php |
148ca5bc813a5419df0945998679a88d7aae42d6 | diff --git a/bika/lims/content/analysisservice.py b/bika/lims/content/analysisservice.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/analysisservice.py
+++ b/bika/lims/content/analysisservice.py
@@ -955,6 +955,19 @@ schema = BikaSchema.copy() + Schema((
"Profile and/or Analysis Request"... | Added SelfVerification field in AnalysisService | senaite_senaite.core | train | py |
35ff36d37d2069be8b86d001a2e22b082e839b7b | diff --git a/test/example/example.js b/test/example/example.js
index <HASH>..<HASH> 100644
--- a/test/example/example.js
+++ b/test/example/example.js
@@ -4,6 +4,8 @@ var cp = require('child_process'),
describe('example', function ()
{
+ this.timeout(60000);
+
it('subscribers should connect, receive then di... | Increase example timeout for Travis CI | davedoesdev_mqlobber | train | js |
7e4816a9503e938efcc65bebcdef03b3b32e4582 | diff --git a/chessboard/benchmark.py b/chessboard/benchmark.py
index <HASH>..<HASH> 100644
--- a/chessboard/benchmark.py
+++ b/chessboard/benchmark.py
@@ -136,7 +136,8 @@ class Benchmark(object):
# Gotcha: integers seems to be promoted to float64 because of
# reindexation. See: http://pandas.pydata.or... | Fix sorting of CSV columns. | kdeldycke_chessboard | train | py |
b012d82458d4c7d7b673714be20decad2e744445 | diff --git a/lib/ovirt/vm.rb b/lib/ovirt/vm.rb
index <HASH>..<HASH> 100644
--- a/lib/ovirt/vm.rb
+++ b/lib/ovirt/vm.rb
@@ -32,7 +32,7 @@ module OVIRT
Nokogiri::XML(builder.to_xml).root.to_s
end
- def self.to_xml( opts={})
+ def self.to_xml(opts={})
builder = Nokogiri::XML::Builder.new do
... | Added possibility to change the FILEINJECT_PATH | abenari_rbovirt | train | rb |
ff9916addbda763965403e34107bf06378f5b554 | diff --git a/lib/serf/util/with_error_handling.rb b/lib/serf/util/with_error_handling.rb
index <HASH>..<HASH> 100644
--- a/lib/serf/util/with_error_handling.rb
+++ b/lib/serf/util/with_error_handling.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/string/inflections'
+
require 'serf/messages/caught_exception_even... | Tableizes WithErrorHandling's CaughtErrorEvent's error field.
Details:
* Felt that the tableized version looks more asthetically pleasing
and easier to filter '/' than '::'. | byu_serf | train | rb |
1f224763f444f586eb6b01f47e279223c818fa7d | diff --git a/src/Symfony/Component/DependencyInjection/Dumper/Preloader.php b/src/Symfony/Component/DependencyInjection/Dumper/Preloader.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/DependencyInjection/Dumper/Preloader.php
+++ b/src/Symfony/Component/DependencyInjection/Dumper/Preloader.php
@@ -85,7 +85,... | [DI] fix typo in Preloader | symfony_symfony | train | php |
a2e985fcf4b0ffdd4cb25d3f3223004a87a23832 | diff --git a/beets/mediafile.py b/beets/mediafile.py
index <HASH>..<HASH> 100644
--- a/beets/mediafile.py
+++ b/beets/mediafile.py
@@ -1237,6 +1237,9 @@ class MediaFile(object):
# Isolate bugs in Mutagen.
try:
self.mgfile.save(**kwargs)
+ except (IOError, OSError):
+ # P... | don't wrap standard errors during Mutagen save()
Original: beetbox/beets@d<I> | beetbox_mediafile | train | py |
a804f9ad414a4b1c0c451c4d0ba751fd2396fd52 | diff --git a/spec/runner.rb b/spec/runner.rb
index <HASH>..<HASH> 100755
--- a/spec/runner.rb
+++ b/spec/runner.rb
@@ -29,10 +29,10 @@ cap['browserstack.tunnelIdentifier'] = ENV['TRAVIS_JOB_ID']
cap['browserstack.tunnel'] = 'true'
cap['browserstack.debug'] = 'false'
-cap['databaseEnabled'] ... | spec/runner: use strings for capabilities | opal_opal-browser | train | rb |
5f10a38d9b8fed69c120b0dcf3f7dcd3fa4ad2bb | diff --git a/gwpy/frequencyseries/hist.py b/gwpy/frequencyseries/hist.py
index <HASH>..<HASH> 100644
--- a/gwpy/frequencyseries/hist.py
+++ b/gwpy/frequencyseries/hist.py
@@ -332,6 +332,24 @@ class SpectralVariance(Array2D):
def plot(self, **kwargs):
"""Plot this `SpectralVariance`
+
+ All argume... | SpectralVariance.hist: improved docstring | gwpy_gwpy | train | py |
e8cdf01d6a468c4ca990e0ca7bb7077342e55887 | diff --git a/src/main/java/javascalautils/ThrowableFunction1.java b/src/main/java/javascalautils/ThrowableFunction1.java
index <HASH>..<HASH> 100644
--- a/src/main/java/javascalautils/ThrowableFunction1.java
+++ b/src/main/java/javascalautils/ThrowableFunction1.java
@@ -15,14 +15,11 @@
*/
package javascalautils;
-... | #<I> further cleanup of the javadoc in ThrowableFunction1 | pnerg_java-scala-util | train | java |
f1741843df5036df069731beec8cf7cdb4cf1d33 | diff --git a/client/extensions/zoninator/state/data-layer/locks/test/utils.js b/client/extensions/zoninator/state/data-layer/locks/test/utils.js
index <HASH>..<HASH> 100644
--- a/client/extensions/zoninator/state/data-layer/locks/test/utils.js
+++ b/client/extensions/zoninator/state/data-layer/locks/test/utils.js
@@ -2... | Fix code formatting in zone locks data-layer tests | Automattic_wp-calypso | train | js |
6fc00ce567fd93e61b1b03a75c3c11b9d76821ac | diff --git a/pymatgen/ext/matproj.py b/pymatgen/ext/matproj.py
index <HASH>..<HASH> 100644
--- a/pymatgen/ext/matproj.py
+++ b/pymatgen/ext/matproj.py
@@ -75,7 +75,7 @@ class MPRester:
their setups and MPRester can then be called without any arguments.
endpoint (str): Url of endpoint to access the... | Change default MPRester endpoint at request of dwinston
materialsproject.org without the www will be the preferred endpoint going forwards | materialsproject_pymatgen | train | py |
120064d8a132a66d579509fe97f69fdb0518543a | diff --git a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/App.java b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/App.java
index <HASH>..<HASH> 100644
--- a/gremlin-archetype/gremlin-archetype-server/src/main/resources... | TINKERPOP-<I> Needed to exit(0) for maven executor to kill properly | apache_tinkerpop | train | java |
92811f19ec91f120ef55c461f1b68ae11effc188 | diff --git a/raiden/api/rest.py b/raiden/api/rest.py
index <HASH>..<HASH> 100644
--- a/raiden/api/rest.py
+++ b/raiden/api/rest.py
@@ -1217,6 +1217,21 @@ class RestAPI: # pragma: no unittest
status_code=HTTPStatus.CONFLICT,
)
+ if total_withdraw is not None and state is not None:... | Reject patch channel to withdraw/deposit/state in the same request | raiden-network_raiden | train | py |
1159769418771a169498880d23773849dbbc30fa | diff --git a/lib/zk/threaded_callback.rb b/lib/zk/threaded_callback.rb
index <HASH>..<HASH> 100644
--- a/lib/zk/threaded_callback.rb
+++ b/lib/zk/threaded_callback.rb
@@ -133,7 +133,7 @@ module ZK
@cond.wait(@mutex) while @array.empty? and @state == :running
if @state != :running
- ... | quiet, threaded_callback | zk-ruby_zk | train | rb |
2f7c373d5c15fc0399e52c5d8cced69cc0fcb07b | diff --git a/lib/libBuilder.js b/lib/libBuilder.js
index <HASH>..<HASH> 100644
--- a/lib/libBuilder.js
+++ b/lib/libBuilder.js
@@ -44,7 +44,7 @@ builder.validate = function ( options )
// ---
// Check for inputs or paths
// ---
- var inputs = options.inputs;
+ var inputs = options.inputs || [];
var namesp... | fixed bug where task broke if no inputs are defined | thanpolas_grunt-closure-tools | train | js |
ca3a5ad4af32adb7efdbe991026a8da6f68008db | diff --git a/test/commands/thread_test.rb b/test/commands/thread_test.rb
index <HASH>..<HASH> 100644
--- a/test/commands/thread_test.rb
+++ b/test/commands/thread_test.rb
@@ -82,9 +82,9 @@ module Byebug
debug_code(program)
check_output_includes(
- /(\+)?\d+ #<Thread:0x\h+(@.+:\d+)? (sleep|sleep_f... | Fix test_thread_list_shows_all_available_threads on ruby <I>rc2 (#<I>)
Format of `Thread#to_s` was changed by
<URL> | deivid-rodriguez_byebug | train | rb |
74ff83bb3c8b465e7d5289f67ab3a768950825e6 | diff --git a/src/admin/class-papi-admin-taxonomy.php b/src/admin/class-papi-admin-taxonomy.php
index <HASH>..<HASH> 100644
--- a/src/admin/class-papi-admin-taxonomy.php
+++ b/src/admin/class-papi-admin-taxonomy.php
@@ -31,6 +31,7 @@ final class Papi_Admin_Taxonomy {
$taxonomy_types = array_filter( $this->taxonomy_t... | Fix positions error for taxonomy types array | wp-papi_papi | train | php |
8a61c3c15bbadb3e73e5bb91522150355489e46b | diff --git a/languagetool-language-modules/fr/src/main/java/org/languagetool/rules/fr/QuestionWhitespaceStrictRule.java b/languagetool-language-modules/fr/src/main/java/org/languagetool/rules/fr/QuestionWhitespaceStrictRule.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/fr/src/main/java/org/langua... | [fr] FRENCH_WHITESPACE_STRICT off by default | languagetool-org_languagetool | train | java |
84e74dfde3316687cb0567e41d01c6ee89e91e34 | diff --git a/graphwalker-java/src/main/java/org/graphwalker/java/source/CodeGenerator.java b/graphwalker-java/src/main/java/org/graphwalker/java/source/CodeGenerator.java
index <HASH>..<HASH> 100644
--- a/graphwalker-java/src/main/java/org/graphwalker/java/source/CodeGenerator.java
+++ b/graphwalker-java/src/main/java/... | Issue #<I> Use INFO instead of ERROR when parsing model files | GraphWalker_graphwalker-project | train | java |
2dc71a5f6b3689c72d69163eaf8d7d5cb8f27dd2 | diff --git a/src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php b/src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php
+++ b/src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php
@@ -121,6... | [7.x] $this->exists is not updated after pivot delete (#<I>)
* Update AsPivot.php
$this->exists = false is not set, if no primary key is defined
* Update AsPivot.php
* Update AsPivot.php | laravel_framework | train | php |
1911fe145970dafda196198836433ad9847e1067 | diff --git a/lib/grit/git-ruby.rb b/lib/grit/git-ruby.rb
index <HASH>..<HASH> 100644
--- a/lib/grit/git-ruby.rb
+++ b/lib/grit/git-ruby.rb
@@ -39,7 +39,7 @@ module Grit
end
# git diff --full-index 'ec037431382e83c3e95d4f2b3d145afbac8ea55d' 'f1ec1aea10986159456846b8a05615b87828d6c6'
- def diff(options, sh... | allow diff to only take one sha | mojombo_grit | train | rb |
286ffd11fc2e2942f166d6ff53f1077fa14cbb2f | diff --git a/salt/modules/dockerng.py b/salt/modules/dockerng.py
index <HASH>..<HASH> 100644
--- a/salt/modules/dockerng.py
+++ b/salt/modules/dockerng.py
@@ -5694,7 +5694,7 @@ def sls(name, mods=None, saltenv='base', **kwargs):
grains = __salt__['dockerng.call'](name, function='grains.items')
# compile pil... | pylint: E<I>(too-many-function-args) | saltstack_salt | train | py |
6adbbbd5df1c068a1edee2bb13b0b1eafef77b46 | diff --git a/Nameless/Core/Kernel.php b/Nameless/Core/Kernel.php
index <HASH>..<HASH> 100644
--- a/Nameless/Core/Kernel.php
+++ b/Nameless/Core/Kernel.php
@@ -227,7 +227,6 @@ class Kernel extends HttpKernel
ExceptionHandler::register($this->container['templates_error_path'], $this->container['templates_extension'], ... | Deleted: todo out of date | corpsee_nameless-source | train | php |
68ba1ee204869e0d7a1554a8b467c8714bb3c874 | diff --git a/driver/src/main/com/mongodb/client/gridfs/GridFSBucketImpl.java b/driver/src/main/com/mongodb/client/gridfs/GridFSBucketImpl.java
index <HASH>..<HASH> 100644
--- a/driver/src/main/com/mongodb/client/gridfs/GridFSBucketImpl.java
+++ b/driver/src/main/com/mongodb/client/gridfs/GridFSBucketImpl.java
@@ -133,9... | GridFS no need to assign metadata to a variable | mongodb_mongo-java-driver | train | java |
0469efec162a705b3c5f64f0b756dddf7c037db2 | diff --git a/environs/jujutest/livetests.go b/environs/jujutest/livetests.go
index <HASH>..<HASH> 100644
--- a/environs/jujutest/livetests.go
+++ b/environs/jujutest/livetests.go
@@ -288,7 +288,7 @@ func (w *toolsWaiter) NextTools(c *C) *state.Tools {
}
tools, err := w.AgentTools()
c.Assert(err, IsNil)
- chan... | environs/jujutest: fix | juju_juju | train | go |
36c8679695e82e159616650b562712e8c322f91e | diff --git a/addict/addict.py b/addict/addict.py
index <HASH>..<HASH> 100644
--- a/addict/addict.py
+++ b/addict/addict.py
@@ -41,11 +41,11 @@ class Dict(dict):
elif isinstance(arg, dict):
for key, val in arg.items():
self[key] = val
- elif isinstance(arg, l... | init with tuple
change Dict's initializing with tuple to dict initializing style | mewwts_addict | train | py |
0eb43e4af445cb0595ecd3c8d315541e5d6b6425 | diff --git a/eventsourcing/domain.py b/eventsourcing/domain.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/domain.py
+++ b/eventsourcing/domain.py
@@ -191,7 +191,9 @@ class BaseAggregate(metaclass=MetaAggregate):
kwargs["id"] = kwargs.pop("originator_id")
kwargs["version"] = kwargs.pop("or... | Changed Created.mutate() to call aggregate_cls.__new__. | johnbywater_eventsourcing | train | py |
b45db539d297f57b4d8bb39de0554fc25064a7fc | diff --git a/timeside/server/models.py b/timeside/server/models.py
index <HASH>..<HASH> 100644
--- a/timeside/server/models.py
+++ b/timeside/server/models.py
@@ -240,8 +240,8 @@ class Item(Titled, UUID, Dated, Shareable):
path = self.source_url
elif self.source_file:
path... | fix Item.mime_type with no file | Parisson_TimeSide | train | py |
6b1de2ef030ccdcbb55202b74e11e4f6d1290a5f | diff --git a/tests/Unit/Suites/HttpsUrlTest.php b/tests/Unit/Suites/HttpsUrlTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Suites/HttpsUrlTest.php
+++ b/tests/Unit/Suites/HttpsUrlTest.php
@@ -4,6 +4,7 @@ namespace Brera\PoC\Http;
/**
* @covers \Brera\PoC\Http\HttpsUrl
+ * @covers \Brera\PoC\Http\HttpUrl
*... | Issue #1: Add add second coverage line to HttpsUrl test | lizards-and-pumpkins_catalog | train | php |
8c88f26b7a996ebccb20d26b0ffb1a873ea1e8c4 | diff --git a/tests/external-tests.js b/tests/external-tests.js
index <HASH>..<HASH> 100755
--- a/tests/external-tests.js
+++ b/tests/external-tests.js
@@ -31,8 +31,8 @@ var repositories = [
'test/index.html'
],
expected_results: {
- tests: 534,
- passed: 534,
+ tests: 133,
+ passed:... | Testing: update QUnit expected results from assertions to tests. | browserstack_browserstack-runner | train | js |
6feeaa8db8786a529dcabb3191c1c6370061639e | diff --git a/django_productline/settings.py b/django_productline/settings.py
index <HASH>..<HASH> 100644
--- a/django_productline/settings.py
+++ b/django_productline/settings.py
@@ -84,10 +84,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
- # Unc... | added django-overextends to base feature | henzk_django-productline | train | py,py |
361d5b0927c641acc9741b9fb7aaa2191dbb132b | diff --git a/K2fov/K2onSilicon.py b/K2fov/K2onSilicon.py
index <HASH>..<HASH> 100644
--- a/K2fov/K2onSilicon.py
+++ b/K2fov/K2onSilicon.py
@@ -107,8 +107,8 @@ def nearSiliconCheck(ra_deg,dec_deg,FovObj,max_sep=8.2):
def getRaDecRollFromFieldnum(fieldnum):
- if fieldnum not in [0,1,2,3,4]:
- raise ValueEr... | added Campaigns 4 and 5 fov | KeplerGO_K2fov | train | py |
bc286c8aad1325bff6f28b21a886dc5f162ca374 | diff --git a/AcceleratorCacheClearer.php b/AcceleratorCacheClearer.php
index <HASH>..<HASH> 100644
--- a/AcceleratorCacheClearer.php
+++ b/AcceleratorCacheClearer.php
@@ -60,6 +60,15 @@ class AcceleratorCacheClearer
return 'APC User Cache: success.';
}
+ if (function_exists('xcache_clear_... | Added support for XCache. | Smart-Core_AcceleratorCacheBundle | train | php |
ff478c8386fa2eb8452b6855d8141b2800101be2 | diff --git a/Field.js b/Field.js
index <HASH>..<HASH> 100644
--- a/Field.js
+++ b/Field.js
@@ -1,5 +1,5 @@
var configureField = require('./utils/configureField.js')
-module.exports = function (formData, fieldData) {
- return configureField(formData, fieldData)
+module.exports = function (fieldData) {
+ return conf... | fix: Field should not be initialized with formData | cerebral-legacy_cerebral-module-forms | train | js |
dd90d5e7febc8be64b761edb3132a3944f0eb000 | diff --git a/lib/escobar/client.rb b/lib/escobar/client.rb
index <HASH>..<HASH> 100644
--- a/lib/escobar/client.rb
+++ b/lib/escobar/client.rb
@@ -7,9 +7,15 @@ module Escobar
def self.from_response(err, response)
error = new("Error from Heroku API")
- error.body = response.body
- erro... | Ensure the response in errors has the methods. | atmos_escobar | train | rb |
449c97df2907f141b5ff8ff865131d2054e5a02f | diff --git a/mbus/https_dispatcher_test.go b/mbus/https_dispatcher_test.go
index <HASH>..<HASH> 100644
--- a/mbus/https_dispatcher_test.go
+++ b/mbus/https_dispatcher_test.go
@@ -101,19 +101,15 @@ var _ = Describe("HTTPSDispatcher", func() {
}
}()
- Eventually(func() int {
+ Eventually(func() *http.Response ... | Fix flaky test
- There was a nil pointer dereference on response when request to
dispatcher failed. The panic caused the AfterEach to run and led to
a data race.
<URL> | cloudfoundry_bosh-agent | train | go |
c93b3ddabe07cd930d32c5c94a55b3451ffc9b21 | diff --git a/Test/Asserters/Response.php b/Test/Asserters/Response.php
index <HASH>..<HASH> 100644
--- a/Test/Asserters/Response.php
+++ b/Test/Asserters/Response.php
@@ -138,12 +138,12 @@ class Response extends asserters\object
return $this;
}
- public function hasText($text)
+ public function co... | fail message using the std method. renaming the method too | atoum_AtoumBundle | train | php |
53181558eed26e3ab6a1765bbcc9310f17975e93 | diff --git a/.storybook/Flash.js b/.storybook/Flash.js
index <HASH>..<HASH> 100644
--- a/.storybook/Flash.js
+++ b/.storybook/Flash.js
@@ -30,3 +30,20 @@ storiesOf('Flash alerts', module)
</div>
</div>
))
+.add('flash with action button', () => (
+ <div className='p-4'>
+ <div className="flash">
+ <bu... | add flash with action button and flash-full | primer_css | train | js |
72d25ebefcd79c356a7a950059985a9005613831 | diff --git a/lib/daemon_runner/semaphore.rb b/lib/daemon_runner/semaphore.rb
index <HASH>..<HASH> 100644
--- a/lib/daemon_runner/semaphore.rb
+++ b/lib/daemon_runner/semaphore.rb
@@ -19,17 +19,19 @@ module DaemonRunner
semaphore = Semaphore.new(options)
semaphore.lock
if block_given?
- ... | Only release the semaphore if a block's provided. | rapid7_daemon_runner | train | rb |
1327ea985e30952c6a0170a061434f6367d2ba3b | diff --git a/app/Console/Commands/DemoSeederCommand.php b/app/Console/Commands/DemoSeederCommand.php
index <HASH>..<HASH> 100644
--- a/app/Console/Commands/DemoSeederCommand.php
+++ b/app/Console/Commands/DemoSeederCommand.php
@@ -222,6 +222,7 @@ EINCIDENT;
];
Incident::truncate();
+ Incident... | Truncate incident updates before seeding | CachetHQ_Cachet | train | php |
37a2ee1586c2f85239f6c612c5013e983bd6f866 | diff --git a/simplefs/simplefs.go b/simplefs/simplefs.go
index <HASH>..<HASH> 100644
--- a/simplefs/simplefs.go
+++ b/simplefs/simplefs.go
@@ -672,7 +672,7 @@ func (k *SimpleFS) doCopyFromSource(
defer src.Close()
dst, err := dstFS.OpenFile(
- finalDstElem, os.O_RDWR|os.O_CREATE|os.O_TRUNC, srcFI.Mode())
+ fina... | use <I> rather than original mode for copied files (#<I>) | keybase_client | train | go |
45f3934d87780b6161dbf0de92f47b42de5f8864 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ setup(
long_description_content_type="text/markdown",
keywords=["Redis", "key-value store", "database"],
license="MIT",
- version="4.1.1",
+ version="4.1.2",
packages=find_packages(
... | <I> (#<I>) | andymccurdy_redis-py | train | py |
d008101822b7d388c27af2e7e804b63fc0068614 | diff --git a/lib/schema/schema.rb b/lib/schema/schema.rb
index <HASH>..<HASH> 100644
--- a/lib/schema/schema.rb
+++ b/lib/schema/schema.rb
@@ -158,22 +158,17 @@ module Schema
alias :to_h :attributes
## TODO Implement in terms of Compare, Scott Mon Jul 6 2020
-## attribute_names, rather than attributes
- def ==(o... | attribute_names, rather than attributes | eventide-project_schema | train | rb |
3117bbbe79476bc72c3e3a1f1b2940fcb3dadf61 | diff --git a/tests/primer/primer_tool.py b/tests/primer/primer_tool.py
index <HASH>..<HASH> 100644
--- a/tests/primer/primer_tool.py
+++ b/tests/primer/primer_tool.py
@@ -292,8 +292,6 @@ class Primer:
# TODO: Find a way to allow cyclic-import and compare output correctly
disables = ["--disable=duplica... | don't duplicate --rcfile arg | PyCQA_pylint | train | py |
321f55126e1fc2e21218afa4e33633c9f48f1f43 | diff --git a/lib/flor/core/executor.rb b/lib/flor/core/executor.rb
index <HASH>..<HASH> 100644
--- a/lib/flor/core/executor.rb
+++ b/lib/flor/core/executor.rb
@@ -453,7 +453,7 @@ end
ms = []
ms += @unit.notify(self, message) # pre
- ms += self.send(message['point'], message)
+ ms += se... | Add note about Executor #ceased, #entered, ...
Add a note about the emtpy core Executor #ceased, #entered, #left, #signal implementations | floraison_flor | train | rb |
0528f3365d1fed01adde6d344dcea7fd1ef69aa7 | diff --git a/riak/transports/feature_detect.py b/riak/transports/feature_detect.py
index <HASH>..<HASH> 100644
--- a/riak/transports/feature_detect.py
+++ b/riak/transports/feature_detect.py
@@ -24,7 +24,8 @@ versions = {
1: LooseVersion("1.0.0"),
1.1: LooseVersion("1.1.0"),
1.2: LooseVersion("1.2.0"),
-... | Add version <I> and detect for yz admin | basho_riak-python-client | train | py |
f5fbfafd68afe6e1c5a0b07e5df0973dca53820d | diff --git a/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/io/graphml/GraphMLWriter.java b/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/io/graphml/GraphMLWriter.java
index <HASH>..<HASH> 100644
--- a/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/io/graphml/GraphMLWriter.java
+++ ... | Throw exception if Graph is empty. | apache_tinkerpop | train | java |
fdc7327a0c788b41bd2266f2e638421d65dd4528 | diff --git a/nonebot/natural_language.py b/nonebot/natural_language.py
index <HASH>..<HASH> 100644
--- a/nonebot/natural_language.py
+++ b/nonebot/natural_language.py
@@ -115,7 +115,7 @@ async def handle_natural_language(bot: NoneBot, ctx: Context_T) -> bool:
else:
nicknames = filter(lambda n: n, ... | Allow no space nor comma between nickname and message body | richardchien_nonebot | train | py |
f7aeb60b658545fb36f0c8e3871a3a4dbe122a99 | diff --git a/lib/BaseWasmMainTemplatePlugin.js b/lib/BaseWasmMainTemplatePlugin.js
index <HASH>..<HASH> 100644
--- a/lib/BaseWasmMainTemplatePlugin.js
+++ b/lib/BaseWasmMainTemplatePlugin.js
@@ -86,8 +86,7 @@ class BaseWasmMainTemplatePlugin {
}
applyNode(mainTemplate) {
- const generateLoadBinaryCode = path => ... | fix(wasm): incorrect instantiateStreaming support check | webpack_webpack | train | js |
6f53f1fa6185677f53ad6d2bc89d07e901b4dd4b | diff --git a/src/Transformers/Adminarea/TenantTransformer.php b/src/Transformers/Adminarea/TenantTransformer.php
index <HASH>..<HASH> 100644
--- a/src/Transformers/Adminarea/TenantTransformer.php
+++ b/src/Transformers/Adminarea/TenantTransformer.php
@@ -22,6 +22,7 @@ class TenantTransformer extends TransformerAbstract... | Add DT_RowId field to datatables | rinvex_cortex-tenants | train | php |
627045d127f9e40460e19a7c6cc52d38933a2331 | diff --git a/tests/test_helpers.py b/tests/test_helpers.py
index <HASH>..<HASH> 100644
--- a/tests/test_helpers.py
+++ b/tests/test_helpers.py
@@ -476,7 +476,7 @@ def test_ceil_call_later_no_timeout():
@asyncio.coroutine
def test_ceil_timeout(loop):
- with helpers.CeilTimeout(0, loop=loop) as timeout:
+ with ... | Fix tests according to changes in async-timeout==<I> | aio-libs_aiohttp | train | py |
827d5e9c329623edd406e330670f2121bf3e9384 | diff --git a/version/version.go b/version/version.go
index <HASH>..<HASH> 100644
--- a/version/version.go
+++ b/version/version.go
@@ -125,11 +125,8 @@ func (version *VersionIdentifier) MatchesMinorVersion(
}
//------------------------------------------------------------------------------
-// Version number for DOC... | version: correct develop to <I>-rc3; deprecate TENDERMINT_VERSION | hyperledger_burrow | train | go |
46975c8c7892b492681894120fa10466ec253629 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,7 +1,16 @@
var transformTools = require( 'browserify-transform-tools' );
var path = require( 'path' );
-var options = {};
+var options = {
+ excludeExtensions: [
+ '.json'
+ ],
+ includeExtensions: [
+ '.jsx',
... | ENH: Limit the extensions over which transform is applied | royriojas_require-arr | train | js |
2101a2177dc8aca2950f1ec936af6fd1b08d98ff | diff --git a/src/TicketitServiceProvider.php b/src/TicketitServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/TicketitServiceProvider.php
+++ b/src/TicketitServiceProvider.php
@@ -95,7 +95,7 @@ class TicketitServiceProvider extends ServiceProvider {
$this->publishes([__DIR__ . '/Public' => public_pa... | Public assets distribution (CSS file) | thekordy_ticketit | train | php,php |
404d901fde7ea6a80068a3c227eb6d44277b1ca5 | diff --git a/Response.php b/Response.php
index <HASH>..<HASH> 100644
--- a/Response.php
+++ b/Response.php
@@ -27,7 +27,7 @@
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link http://github.com/seagoj/Devtools/Response.php
**/
-class Response implements IService, \Serializabl... | no longer implement from Serializable | seagoj_devtools | train | php |
939b407e16001dc6d1a2b986cdc7f2a7939ef873 | diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/client_api_module.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/client_api_module.rb
index <HASH>..<HASH> 100644
--- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/client_api_module.rb
+++ ... | Add union trait to ignore list to fix builds. | aws_aws-sdk-ruby | train | rb |
39f8b4d397c116daee5559c77cd170add4ec35a6 | diff --git a/js/load-image-scale.js b/js/load-image-scale.js
index <HASH>..<HASH> 100644
--- a/js/load-image-scale.js
+++ b/js/load-image-scale.js
@@ -235,8 +235,12 @@
pixelRatio = options.pixelRatio
if (
pixelRatio > 1 &&
- // Check if image has not yet device pixel ratio applied:
- ... | Account for rounding errors in pixel ratio style. | blueimp_JavaScript-Load-Image | train | js |
641800cd2d5eb597c241745f0aa0c74204200ab7 | diff --git a/packages/shipit-deploy/src/tasks/deploy/update.js b/packages/shipit-deploy/src/tasks/deploy/update.js
index <HASH>..<HASH> 100644
--- a/packages/shipit-deploy/src/tasks/deploy/update.js
+++ b/packages/shipit-deploy/src/tasks/deploy/update.js
@@ -1,5 +1,6 @@
import utils from 'shipit-utils'
import path fr... | fix: enable Git Bash shells on Windows to successfully deploy (#<I>) | shipitjs_shipit | train | js |
96a96838db554ba8658f9540899ff1054afeab33 | diff --git a/Entity/User.php b/Entity/User.php
index <HASH>..<HASH> 100644
--- a/Entity/User.php
+++ b/Entity/User.php
@@ -97,4 +97,17 @@ class User extends BaseUser
$this->organizations[] = $organization;
}
+
+ /**
+ * Get default Organization
+ *
+ * @author Tom Haskins-Vaughan <tom@har... | Added User::getDefaultOrganization() | phospr_CoreBundle | train | php |
63bea16b603fc506e685cb5f1356e1a04833488e | diff --git a/tweepy/api.py b/tweepy/api.py
index <HASH>..<HASH> 100644
--- a/tweepy/api.py
+++ b/tweepy/api.py
@@ -1382,10 +1382,11 @@ class API(object):
fp = f
# image must be gif, jpeg, or png
- file_type = mimetypes.guess_type(filename)
+ file_type, _ = mimetypes.guess_type(file... | fix file type sanity check in upload | tweepy_tweepy | train | py |
37f0fe06db1c508bb91f322e619b74c56e6fb484 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -1,3 +1,10 @@
import from 'es5-shim';
+
+describe('Process environment for tests', function () {
+ it('Should be development for React console warnings', function () {
+ assert.equal(process.env.NODE_E... | [fix] Enable `development` mode for tests.
Test is included.
When mode is `production` webpack strips out code for development mode.
React `console warnings` also are removed in `production`.
In that case tests don't `see` any console warnings from React.
Consequently code like this (in tests)
console.warn.called.... | react-bootstrap_react-bootstrap | train | js,js |
7f8a050e96abfb5b2d0b75f1cd03933eae62a2d3 | diff --git a/lib/pseudohiki/treestack.rb b/lib/pseudohiki/treestack.rb
index <HASH>..<HASH> 100644
--- a/lib/pseudohiki/treestack.rb
+++ b/lib/pseudohiki/treestack.rb
@@ -11,8 +11,8 @@ class TreeStack
module TreeElement
attr_accessor :depth
- def accept(visitor)
- visitor.visit(self)
+ def accept(v... | add memo as the second argument of TreeStack#accept() | nico-hn_PseudoHikiParser | train | rb |
4764fc555502237fc7f423af4200520a975a69fd | diff --git a/sources/scalac/transformer/matching/PatternMatcher.java b/sources/scalac/transformer/matching/PatternMatcher.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/transformer/matching/PatternMatcher.java
+++ b/sources/scalac/transformer/matching/PatternMatcher.java
@@ -325,9 +325,11 @@ public class Pattern... | Typed patterns x:T and variable patterns x are ...
Typed patterns x:T and variable patterns x are desugarized to x@ _ : T
resp x @ _.
thus some cases here become unnecessary | scala_scala | train | java |
4a243db412cfbbd8a0ba8d13fd22f44a6a7b3cf6 | diff --git a/dimod/sampleset.py b/dimod/sampleset.py
index <HASH>..<HASH> 100644
--- a/dimod/sampleset.py
+++ b/dimod/sampleset.py
@@ -174,8 +174,7 @@ class SampleSet(Iterable, Sized):
>>> import dimod
>>> import numpy as np
...
- >>> dimod.SampleSet.from_samples(dimod.as_samples(np.on... | Simplify example in SampleSet docstring | dwavesystems_dimod | train | py |
24aec61b77e9cea9d7529d1ba3ed59319a2d4fe5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -173,16 +173,18 @@ class BuildSupport(object):
)
git_version = git_version.strip()
m_rel = re.match("^\d+(?:\.\d+){2,3}$", git_version)
- m_dev = re.match("(\d+(?:\.\d+){2,... | Fix git describe parsing
if we are on a tagged commit but the working dir is dirty
git describe --tags --dirty outputs something like
<I>-dirty which now results in a pypylon version <I>.dev0 | basler_pypylon | train | py |
8206e40ef1e4a50b50cae7978efcecc9083fa4e1 | diff --git a/lib/ydim/debitor.rb b/lib/ydim/debitor.rb
index <HASH>..<HASH> 100644
--- a/lib/ydim/debitor.rb
+++ b/lib/ydim/debitor.rb
@@ -36,6 +36,7 @@ module YDIM
lns.push(@contact_title)
lns.concat(@address_lines)
lns.push(@location, @email)
+ lns.push @country
lns.compact!
lns
end | Include Country in Debitor#address | zdavatz_ydim | train | rb |
bc207bd9f6f3bd0f5c0ca85ff73621d8baf0c02b | diff --git a/lib/rufus/sc/jobs.rb b/lib/rufus/sc/jobs.rb
index <HASH>..<HASH> 100644
--- a/lib/rufus/sc/jobs.rb
+++ b/lib/rufus/sc/jobs.rb
@@ -135,7 +135,9 @@ module Scheduler
# (Only jobs know about this method of the scheduler)
job_thread = Thread.current
- job_thread['rufus_scheduler__trig... | Scheduler#trigger_threads, specific to scheduler
Scheduler#trigger_threads will now only return the threads for that scheduler (2 schedulers in the same ruby runtime ? OK) | jmettraux_rufus-scheduler | train | rb,rb |
cf063489750c55b9e3c277881c2aed48fdd23565 | diff --git a/payu/experiment.py b/payu/experiment.py
index <HASH>..<HASH> 100644
--- a/payu/experiment.py
+++ b/payu/experiment.py
@@ -367,12 +367,13 @@ class Experiment(object):
# Confirm that no output path already exists
if os.path.exists(self.output_path):
sys.exit('payu: error: Outpu... | Fixed typo in check for existing work path added in previous commit | payu-org_payu | train | py |
29b101f3859cb464f6d8fad19cf19e5d5293a710 | diff --git a/library/PHPIMS/Client/Response.php b/library/PHPIMS/Client/Response.php
index <HASH>..<HASH> 100644
--- a/library/PHPIMS/Client/Response.php
+++ b/library/PHPIMS/Client/Response.php
@@ -182,4 +182,22 @@ class PHPIMS_Client_Response {
return $response;
}
+
+ /**
+ * Return the body as... | Added methods to return the body as an array or as an instance of stdClass | imbo_imboclient-php | train | php |
d6d3aecb60d2507493a1189fdd03a4d4d11aba33 | diff --git a/src/sap.ui.core/src/sap/ui/base/ManagedObject.js b/src/sap.ui.core/src/sap/ui/base/ManagedObject.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/base/ManagedObject.js
+++ b/src/sap.ui.core/src/sap/ui/base/ManagedObject.js
@@ -4184,7 +4184,7 @@ sap.ui.define([
ManagedObject.prototype.findA... | [INTERNAL][FIX] sap.ui.base.ManagedObject: typeof check was always false
Change-Id: I<I>b<I>c8d<I>a2ff<I>a2afe<I>bdd | SAP_openui5 | train | js |
d1bdf48ad43f23c95e883fbeff57278588da44e6 | diff --git a/src/models/hook.js b/src/models/hook.js
index <HASH>..<HASH> 100644
--- a/src/models/hook.js
+++ b/src/models/hook.js
@@ -57,15 +57,8 @@ const Hook = DataConnected.extend({
const newDataSource = this.getClosestModel(obj.data || this.data);
const conceptProps = newDataSource.getConceptprops(newVal... | Simplify hook.setWhich | vizabi_vizabi | train | js |
ced1eab7b2bf0d6f122b8308b95d86e125ea1214 | diff --git a/pkg/util/ratelimiter/ratelimiter.go b/pkg/util/ratelimiter/ratelimiter.go
index <HASH>..<HASH> 100644
--- a/pkg/util/ratelimiter/ratelimiter.go
+++ b/pkg/util/ratelimiter/ratelimiter.go
@@ -54,6 +54,8 @@ func (rlf *RateLimitedFunction) pop() {
}
// Invoke adds a request if its not already present and r... | Clean up a misleading comment in the ratelimiter code (take 2)
The ratelimiter Invoke() function had a comment that implied the
Invoke() would block until the function called was run. This clearly
does not match the behavior of the function. Instead, Invoke() queues
the request and the background thread will pick it u... | openshift_origin | train | go |
a68ade784bc76a03bc25d70bccae50eff1ecd7f3 | diff --git a/mapchete/config_utils.py b/mapchete/config_utils.py
index <HASH>..<HASH> 100644
--- a/mapchete/config_utils.py
+++ b/mapchete/config_utils.py
@@ -59,6 +59,9 @@ class MapcheteConfig():
self.input_files = self._get_input_files()
self.process_bounds = self._get_process_bounds(bounds)
... | adding output bands and output type to mapchete config | ungarj_mapchete | train | py,py |
0e45eea4c3aac9b8cbcbac9fc443cc46cf718589 | diff --git a/datadog_checks_dev/datadog_checks/dev/plugin/tox.py b/datadog_checks_dev/datadog_checks/dev/plugin/tox.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/plugin/tox.py
+++ b/datadog_checks_dev/datadog_checks/dev/plugin/tox.py
@@ -20,6 +20,8 @@ FIX_DEFAULT_ENVDIR_FLAG = 'ensure_defau... | Pin regex (#<I>) | DataDog_integrations-core | train | py |
525bee5a0752dda4beec46a172ae2db05fbb0b9e | diff --git a/addons/knobs/src/components/__tests__/RadioButtons.js b/addons/knobs/src/components/__tests__/RadioButtons.js
index <HASH>..<HASH> 100644
--- a/addons/knobs/src/components/__tests__/RadioButtons.js
+++ b/addons/knobs/src/components/__tests__/RadioButtons.js
@@ -16,7 +16,7 @@ describe('RadioButtons', () => ... | fixing more errors and cleaning up code. | storybooks_storybook | train | js |
0912b9214872383c167e61b77011a74db18d07f5 | diff --git a/random-browser.js b/random-browser.js
index <HASH>..<HASH> 100644
--- a/random-browser.js
+++ b/random-browser.js
@@ -1,4 +1,4 @@
-var crypto = window.crypto || window.msCrypto
+var crypto = self.crypto || self.msCrypto
module.exports = function (bytes) {
return crypto.getRandomValues(new Uint8Array(... | fix: use self when referencing the global scope (#<I>) | ai_nanoid | train | js |
3b570c469cf2f1896ebb0b3ed3724bd378a766d3 | diff --git a/src/main/java/tachyon/client/FileOutStream.java b/src/main/java/tachyon/client/FileOutStream.java
index <HASH>..<HASH> 100644
--- a/src/main/java/tachyon/client/FileOutStream.java
+++ b/src/main/java/tachyon/client/FileOutStream.java
@@ -97,8 +97,8 @@ public class FileOutStream extends OutStream {
... | Reformat lines according to code conventions | Alluxio_alluxio | train | java |
01df01024313fa262066ecede6bc04fb89affd7c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -256,7 +256,7 @@ var FirefoxDriver = {
default: 'firefox',
darwin: '/Applications/Firefox.app/Contents/MacOS/firefox-bin',
win32: process.env.ProgramFiles + '\\Mozilla Firefox\\firefox.exe'
- win64: process.env.... | Changed from hardcoded "(x<I>)" string to using the proper process.env entry for the path. | dalekjs_dalek-browser-firefox | train | js |
0c84dcb569c0d8d65aec117a1d336e0e732a82ed | diff --git a/pyontutils/utils.py b/pyontutils/utils.py
index <HASH>..<HASH> 100644
--- a/pyontutils/utils.py
+++ b/pyontutils/utils.py
@@ -54,8 +54,13 @@ def utcnowtz(): return datetime.now(tz=timezone.utc)
def isoformat(datetime_instance, timespec='auto'):
+ kwargs = {}
+ if isinstance(datetime_instance, da... | utils.isoformat updated to handle dates in addition to datetimes
sigh non-homogenous argspecs | tgbugs_pyontutils | train | py |
1ce90d255a5b1afc32773a245d1b4e5f8938b584 | diff --git a/client/state/purchases/reducer.js b/client/state/purchases/reducer.js
index <HASH>..<HASH> 100644
--- a/client/state/purchases/reducer.js
+++ b/client/state/purchases/reducer.js
@@ -61,20 +61,9 @@ function overwriteExistingPurchases( existingPurchases, newPurchases ) {
* @return {array} An array of purch... | Simplify the reducer helper function `removeMissingPurchasesByPredicate` (#<I>) | Automattic_wp-calypso | train | js |
9e3db5df0c618288db5c303ed793530e66527632 | 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,6 +1,7 @@
+require 'coveralls'
+Coveralls.wear!
+
require 'rspec'
require 'webmock/rspec'
require 'random_yiff'
-require 'coveralls'
-Coveralls.wear! | Corrected order for coveralls in spec_helper | JamesAwesome_random_yiff | train | rb |
bd97141255407a421bd6cfccdde5e8cb7df28c30 | diff --git a/Demo_Tabbed_Form.py b/Demo_Tabbed_Form.py
index <HASH>..<HASH> 100644
--- a/Demo_Tabbed_Form.py
+++ b/Demo_Tabbed_Form.py
@@ -76,8 +76,8 @@ layout_tab_2.append([sg.InputText(size=(100,1), default_text='gruen -sara -quarz
layout_tab_2.append([sg.Text('_' * 100, size=(75, 1))])
layout_tab_2.append([sg.Read... | Form2 call fix
Corrected the 'ShowTabbedForm() argument which was referencing a 'form' variable which should be 'form2' as it's the declared Window variable for this script. | PySimpleGUI_PySimpleGUI | train | py |
17638f4e75758ca9fe5472bcbfb791c5957b0a0d | diff --git a/tests/various.js b/tests/various.js
index <HASH>..<HASH> 100644
--- a/tests/various.js
+++ b/tests/various.js
@@ -70,3 +70,31 @@ test('large message', function (assert) {
client.write(largeMsg)
client.end()
})
+
+// choppa seems to slow this one immensely
+test('very large message (slow)', function ... | Add very large test (covers other branches) | emilbayes_noise-peer | train | js |
74f569769425063a657811e808ce4a799c164604 | diff --git a/src/core/util.js b/src/core/util.js
index <HASH>..<HASH> 100644
--- a/src/core/util.js
+++ b/src/core/util.js
@@ -10,7 +10,9 @@ define(function(require) {
'[object Date]': 1,
'[object Error]': 1,
'[object CanvasGradient]': 1,
- '[object CanvasPattern]': 1
+ '[object... | Builtin object consider Canvas.Image of node-canvas | ecomfe_zrender | train | js |
eb97440f06d6de8a99dddbdfc4aa4e3f5945e959 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,28 @@ from os.path import splitext
from distutils.core import Extension
+import distutils.sysconfig
+
+
+distutils.sysconfig.get_config_vars()
+
+
+def install_headers():
+ dest_dir = path.join(sys.prefix, 'i... | * Try removing some compiler flags | explosion_preshed | train | py |
e30c9bf5d565f61f19b07ef58fece78b41c77040 | diff --git a/Model/Behavior/UploadBehavior.php b/Model/Behavior/UploadBehavior.php
index <HASH>..<HASH> 100644
--- a/Model/Behavior/UploadBehavior.php
+++ b/Model/Behavior/UploadBehavior.php
@@ -1740,7 +1740,7 @@ class UploadBehavior extends ModelBehavior {
));
$file = $socket->get($uri, array(), array('redirect'... | Update UploadBehavior.php
This prevents saving file names url encoded (eg. The%<I>Attachment.txt i.o. The Attachment.txt) | FriendsOfCake_cakephp-upload | train | php |
7ec9a955d7e8e516a8b397fcd8afd1a598eb1042 | diff --git a/test/letter-sidc.js b/test/letter-sidc.js
index <HASH>..<HASH> 100644
--- a/test/letter-sidc.js
+++ b/test/letter-sidc.js
@@ -1,6 +1,7 @@
export default function(ms, name, sidc) {
let result = {};
for (let i = 0; i < sidc.mainIcon.length; i++) {
+ if (sidc.mainIcon[i].remarks == "N/A") continue;
... | Do not try to render symbol not available | spatialillusions_milsymbol | train | js |
88383d09984037f9feface90ed97eef17535b51d | diff --git a/core/toolbox.js b/core/toolbox.js
index <HASH>..<HASH> 100644
--- a/core/toolbox.js
+++ b/core/toolbox.js
@@ -161,7 +161,8 @@ Blockly.Toolbox.prototype.createFlyout_ = function() {
RTL: workspace.RTL,
oneBasedIndex: workspace.options.oneBasedIndex,
horizontalLayout: workspace.horizontalLayou... | Use the main workspaces stack glow filter for both flyout and toolbox
This fixes the stack glow filter not existing for both the "simple" and "category" modes of the workspace. | LLK_scratch-blocks | train | js,js |
eea28b07cf25d5c79f8edeb8bef5e0483b489425 | diff --git a/railties/lib/rails/backtrace_cleaner.rb b/railties/lib/rails/backtrace_cleaner.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/backtrace_cleaner.rb
+++ b/railties/lib/rails/backtrace_cleaner.rb
@@ -12,7 +12,6 @@ module Rails
add_filter { |line| line.sub('./', '/') } # for tests
ad... | Remove backtrace cleaner specific to Bundler. Bundler just uses Gem.dir and Gem.path now. | rails_rails | train | rb |
3ead9414041b3bc1314e775bdbed746b4143340b | diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/Kernel.php
+++ b/src/Symfony/Component/HttpKernel/Kernel.php
@@ -61,12 +61,12 @@ abstract class Kernel implements KernelInterface, TerminableInterface... | bumped Symfony version to <I> | symfony_symfony | train | php |
2c398c7b39a678fb06a00ad5bc3e15ed7da8b4a5 | diff --git a/test/common/torchtext_test_case.py b/test/common/torchtext_test_case.py
index <HASH>..<HASH> 100644
--- a/test/common/torchtext_test_case.py
+++ b/test/common/torchtext_test_case.py
@@ -47,8 +47,8 @@ class TorchtextTestCase(TestCase):
if data_format == "json":
test_ppi... | Make synthetic dataset construction more pythonic | pytorch_text | train | py |
c18145b04a64c945a2090dbb0649c17cb7179d0d | diff --git a/eventhubsprocessor/eh_partition_pump.py b/eventhubsprocessor/eh_partition_pump.py
index <HASH>..<HASH> 100644
--- a/eventhubsprocessor/eh_partition_pump.py
+++ b/eventhubsprocessor/eh_partition_pump.py
@@ -111,9 +111,9 @@ class PartitionReceiver:
logging.info("No events received, queue... | added ability to toggle pump shutdown when all messages on a pump are processed. | Azure_azure-event-hubs-python | train | py,py |
cc1e60e9bb6a8dc384ccb3814932f4a067f04e3a | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -75,7 +75,7 @@ function getLinuxDistro(cb) {
* release file, it is reasonably safe to assume they will have the
* distribution name stored in their release file.
*/
- async.each(candidates, functio... | renamed cb to done. | retrohacker_getos | train | js |
24b5133c1a943abcd6bed5d316fc4fb53e8b9c41 | diff --git a/custodian/vasp/handlers.py b/custodian/vasp/handlers.py
index <HASH>..<HASH> 100644
--- a/custodian/vasp/handlers.py
+++ b/custodian/vasp/handlers.py
@@ -457,9 +457,12 @@ class NonConvergingErrorHandler(ErrorHandler, MSONable):
@classmethod
def from_dict(cls, d):
- return cls(output_file... | Added backward compatibility in NonConvergingHandler | materialsproject_custodian | train | py |
7eae9332f18d111633e151344cedef5c15c0b154 | diff --git a/tests/ntfy_test/cli.py b/tests/ntfy_test/cli.py
index <HASH>..<HASH> 100644
--- a/tests/ntfy_test/cli.py
+++ b/tests/ntfy_test/cli.py
@@ -62,13 +62,11 @@ class ShellIntegrationTestCase(TestCase):
class TestWatchPID(TestCase):
- @patch('ntfy.cli.strftime')
@patch('psutil.Process')
- def test... | :white_check_mark::green_heart: forgot to remove mock | dschep_ntfy | 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.