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 |
|---|---|---|---|---|---|
d8a3a4cd4f5d4ef6bd4374b6de6a0d179cfeece1 | diff --git a/components/templates/Hogan/index.js b/components/templates/Hogan/index.js
index <HASH>..<HASH> 100644
--- a/components/templates/Hogan/index.js
+++ b/components/templates/Hogan/index.js
@@ -1,21 +1,15 @@
'use strict';
-var React = require('react');
-
var hogan = require('hogan.js');
+var React = requir... | fix: no state needed for Hogan component | algolia_instantsearch.js | train | js |
8869e1cb67b6273fada8778a34ef90bbc87f954f | diff --git a/python-package/lightgbm/basic.py b/python-package/lightgbm/basic.py
index <HASH>..<HASH> 100644
--- a/python-package/lightgbm/basic.py
+++ b/python-package/lightgbm/basic.py
@@ -934,6 +934,9 @@ class Dataset(object):
# construct subset
used_indices = list_to_1d_num... | fix lgb.cv with ndcg (#<I>)
* fix ndcg group
* fix ndcg | Microsoft_LightGBM | train | py |
2c596214592d8ba815ed3fda8627b745dd91bd06 | diff --git a/js/dsx.js b/js/dsx.js
index <HASH>..<HASH> 100644
--- a/js/dsx.js
+++ b/js/dsx.js
@@ -451,6 +451,7 @@ module.exports = class dsx extends liqui {
'takerOrMaker': takerOrMaker,
'price': price,
'amount': amount,
+ 'cost': price * amount,
'fee': fe... | [dsx] added cost field to parsed trade | ccxt_ccxt | train | js |
d52748797b9c38dd2ea02d13e866a79dffb548cc | diff --git a/enforcer.go b/enforcer.go
index <HASH>..<HASH> 100644
--- a/enforcer.go
+++ b/enforcer.go
@@ -125,6 +125,16 @@ func (e *Enforcer) SetModel(model model.Model) {
e.model = model
}
+// GetAdapter gets the current adapter.
+func (e *Enforcer) GetAdapter() persist.Adapter {
+ return e.adapter
+}
+
+// SetA... | Add GetAdapter() and SetAdapter() to mgmt API. | casbin_casbin | train | go,go |
27029ba55b5e3604f32e34a030f40410be8d480a | diff --git a/searchquery.go b/searchquery.go
index <HASH>..<HASH> 100644
--- a/searchquery.go
+++ b/searchquery.go
@@ -35,6 +35,7 @@ type searchQueryData struct {
Explain bool `json:"explain,omitempty"`
Highlight *searchQueryHighlightData `json:"highlight,omitempty"`
Fields []string ... | GOCBC-<I>: Added support for result sorting in FTS.
Change-Id: If<I>de<I>c5d<I>b<I>f<I>c<I>c<I>a<I>bab9
Reviewed-on: <URL> | couchbase_gocb | train | go |
744f387a4a43debedf415d5d3d7815a718950c59 | diff --git a/lfs/client.go b/lfs/client.go
index <HASH>..<HASH> 100644
--- a/lfs/client.go
+++ b/lfs/client.go
@@ -271,8 +271,7 @@ func doApiRequestWithRedirects(req *http.Request, creds Creds, via []*http.Reque
via = append(via, req)
if seeker, ok := req.Body.(io.Seeker); ok {
- _, err := seeker.Seek(0, 0)
-... | Moved initialization statement in if statement | git-lfs_git-lfs | train | go |
50093ec0136b337b6ddae874f25983587cff9c63 | diff --git a/AegeanTools/source_finder.py b/AegeanTools/source_finder.py
index <HASH>..<HASH> 100755
--- a/AegeanTools/source_finder.py
+++ b/AegeanTools/source_finder.py
@@ -1856,6 +1856,8 @@ class SourceFinder(object):
islands = find_islands(im=data, bkg=np.zeros_like(data), rms=rmsimg,
... | add found/fit island/source reporting | PaulHancock_Aegean | train | py |
ec44dd976ce0ce5d7680ab9250cd33eaf945e660 | diff --git a/lib/knife-solo/bootstraps/linux.rb b/lib/knife-solo/bootstraps/linux.rb
index <HASH>..<HASH> 100644
--- a/lib/knife-solo/bootstraps/linux.rb
+++ b/lib/knife-solo/bootstraps/linux.rb
@@ -82,6 +82,8 @@ module KnifeSolo::Bootstraps
{:type => "yum_omnibus"}
when %r{Fedora release.*? 17}
... | Add Fedora <I> to known platform. | matschaffer_knife-solo | train | rb |
3fb65e801265e3d5daf1a481a309edb47a3895db | diff --git a/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/Filter/LanguageFilter.php b/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/Filter/LanguageFilter.php
index <HASH>..<HASH> 100644
--- a/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/Filter/Langu... | Hotfix saving a translation jumps back to fallback language and overrides it <URL> | contao-community-alliance_dc-general | train | php |
6a08cbc42c4afc0744bffa20c040e6bd39aa84a0 | diff --git a/src/main/java/org/sqldroid/SQLDroidClob.java b/src/main/java/org/sqldroid/SQLDroidClob.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/sqldroid/SQLDroidClob.java
+++ b/src/main/java/org/sqldroid/SQLDroidClob.java
@@ -26,6 +26,10 @@ import java.sql.SQLException;
* Methods in the interfaces {@link... | changes needed for working with datanucleus | SQLDroid_SQLDroid | train | java |
a21fc1a52aead97d5ece06fb6d572641ca561124 | diff --git a/casjobs.py b/casjobs.py
index <HASH>..<HASH> 100644
--- a/casjobs.py
+++ b/casjobs.py
@@ -246,22 +246,3 @@ class CasJobs(object):
if status[0] != 5:
raise Exception("Couldn't drop table %s"%table)
-if __name__ == '__main__':
- jobs = CasJobs()
-
- print jobs.drop_table("pisces... | removing test code from the bottom of the file | dfm_casjobs | train | py |
c9c75177bcdbe4f9c59d7a95a57d13a623a85b47 | diff --git a/pylint/checkers/classes/special_methods_checker.py b/pylint/checkers/classes/special_methods_checker.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/classes/special_methods_checker.py
+++ b/pylint/checkers/classes/special_methods_checker.py
@@ -201,6 +201,7 @@ class SpecialMethodsChecker(BaseChecker):... | Fix emit might be undefined in special method checker | PyCQA_pylint | train | py |
bd256555b90f9db8aea99d5abeba8c45a44cd804 | diff --git a/Twilio/Tests/Holodeck.php b/Twilio/Tests/Holodeck.php
index <HASH>..<HASH> 100644
--- a/Twilio/Tests/Holodeck.php
+++ b/Twilio/Tests/Holodeck.php
@@ -9,22 +9,22 @@ use Twilio\Http\Response;
class Holodeck implements Client {
private $requests = array();
- private $response = null;
+ private $... | Issue <I>: Replicating patch from kevenburke to allow multiple responses for holodeck. (#<I>) | twilio_twilio-php | train | php |
21c626133adc4b5060df1081d9423024b6b7479d | diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/http/url.rb
+++ b/actionpack/lib/action_dispatch/http/url.rb
@@ -13,7 +13,7 @@ module ActionDispatch
class << self
def extract_domain(ho... | reduce calls to `named_host?`
`normalize_host` already calls `named_host?`, so there is no reason to
test `named_host?` again in the `extract_domain` method. | rails_rails | train | rb |
c40da8f5c89ac0f437624237f08f7e3b66ca0189 | diff --git a/lib/fridge/version.rb b/lib/fridge/version.rb
index <HASH>..<HASH> 100644
--- a/lib/fridge/version.rb
+++ b/lib/fridge/version.rb
@@ -1,3 +1,3 @@
module Fridge
- VERSION = '0.4.3'.freeze
+ VERSION = '0.4.4'.freeze
end | Version bump to <I> (#<I>) | aptible_fridge | train | rb |
70f5489f053ad6faf7900de32a22f0a44692d5ff | diff --git a/mygeotab/py3/api_async.py b/mygeotab/py3/api_async.py
index <HASH>..<HASH> 100644
--- a/mygeotab/py3/api_async.py
+++ b/mygeotab/py3/api_async.py
@@ -226,11 +226,16 @@ async def _query(
verify = verify_ssl
if verify_ssl:
ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
- conn = aioh... | Pass ssl_verify to the client session instead of tcp connector (which was deprecated) | Geotab_mygeotab-python | train | py |
4c075d14afced41cf1541ea0e62f08e9ab933fbc | diff --git a/pywb/webapp/views.py b/pywb/webapp/views.py
index <HASH>..<HASH> 100644
--- a/pywb/webapp/views.py
+++ b/pywb/webapp/views.py
@@ -105,7 +105,7 @@ class J2TemplateView:
template_result = self.render_to_string(**kwargs)
status = kwargs.get('status', '200 OK')
content_type = 'text/h... | views: actually encode template result as utf-8! | webrecorder_pywb | train | py |
4e14a6d29510ae17375ba2392d73b77b82f1e1e9 | diff --git a/intranet/apps/auth/views.py b/intranet/apps/auth/views.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/auth/views.py
+++ b/intranet/apps/auth/views.py
@@ -32,8 +32,10 @@ def login_view(request):
else:
logger.info("Login failed")
return index(request, auth_form=form) #... | redirect to ?next= when going to page requiring login | tjcsl_ion | train | py |
e07592ee515c2a56a135c122d2a611ea36f2c51c | diff --git a/src/main/java/nonapi/io/github/classgraph/scanspec/ScanSpec.java b/src/main/java/nonapi/io/github/classgraph/scanspec/ScanSpec.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nonapi/io/github/classgraph/scanspec/ScanSpec.java
+++ b/src/main/java/nonapi/io/github/classgraph/scanspec/ScanSpec.java
@@ -2... | Throw exception if passing ClassLoader to overrideClasspath (#<I>) | classgraph_classgraph | train | java |
b121b50f2402185cf558992cc1311d930b83c981 | diff --git a/lib/models.js b/lib/models.js
index <HASH>..<HASH> 100644
--- a/lib/models.js
+++ b/lib/models.js
@@ -31,11 +31,11 @@ function buildSchema(model)
// Setup the id property
Object.defineProperty(proto, 'id', {
- get: function(){ return this.$$values[pk]; },
+ get: function() { retur... | Made some checks more strict to avoid confusion between sub-schemas and options objects. | trivialsoftware_trivialdb | train | js |
3739f186355e742d891ab477e796bcb850dbddfd | diff --git a/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/b2c/AADB2CTrustedIssuerRepository.java b/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/b2c/AADB2CTrustedIssuerRepository.java
index <HASH>..<HASH> 100644
--- a/sdk/spring/azure-spring-boot/src/main/java/co... | * Use value instead of key for user-flows. (#<I>) | Azure_azure-sdk-for-java | train | java |
684841668728e2954d831157f22c86617a8a4099 | diff --git a/js/lib/d3-timeline.js b/js/lib/d3-timeline.js
index <HASH>..<HASH> 100644
--- a/js/lib/d3-timeline.js
+++ b/js/lib/d3-timeline.js
@@ -204,6 +204,8 @@
} else {
return colorCycle( datum[colorPropertyName] );
}
+ } else if (hasLabel) {
+ ... | Fix #<I> Use label for color instead of index
Prevent other tracks from changing color when a track is split | cBioPortal_clinical-timeline | train | js |
7eaedb2dd3839f46a70b5164f32c913a4a5a7d57 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -81,12 +81,13 @@ var torrentStream = function(link, opts) {
if (!opts) opts = {};
if (!opts.id) opts.id = '-TS0008-'+hat(48);
if (!opts.tmp) opts.tmp = TMP;
- if (!opts.path) opts.path = path.join(opts.tmp, opts.name || ... | Move .torrents inside /tmp/torrent-stream/ | mafintosh_torrent-stream | train | js |
4a3eed038ced3a06e599a9e1fa3d2cf27c7be1de | diff --git a/gym/lib/gym/generators/package_command_generator_xcode7.rb b/gym/lib/gym/generators/package_command_generator_xcode7.rb
index <HASH>..<HASH> 100644
--- a/gym/lib/gym/generators/package_command_generator_xcode7.rb
+++ b/gym/lib/gym/generators/package_command_generator_xcode7.rb
@@ -161,6 +161,17 @@ module G... | Print plist information in gym (#<I>) | fastlane_fastlane | train | rb |
fcb544e6f473d2e778baf3533196015958ba5049 | diff --git a/src/hamster/db.py b/src/hamster/db.py
index <HASH>..<HASH> 100644
--- a/src/hamster/db.py
+++ b/src/hamster/db.py
@@ -460,13 +460,15 @@ class Storage(storage.Storage):
activity = stuff.parse_activity_input(activity_name)
- tags = [tag.strip() for tag in tags.split(",") if tag.strip()] ... | take tags parsed from activity name into account (fixes bug <I>) | projecthamster_hamster | train | py |
6d3512b9cf3ebeabeb816d402fcda2a83ef51863 | diff --git a/tweepy/pagination.py b/tweepy/pagination.py
index <HASH>..<HASH> 100644
--- a/tweepy/pagination.py
+++ b/tweepy/pagination.py
@@ -26,11 +26,12 @@ class Paginator:
count = 0
for response in PaginationIterator(self.method, *self.args,
**self.kwarg... | Handle response.data being None in Paginator.flatten | tweepy_tweepy | train | py |
f29ff197c62181d1d7918f7baa768d6d81f19fa4 | diff --git a/PHPCI/Controller/SessionController.php b/PHPCI/Controller/SessionController.php
index <HASH>..<HASH> 100644
--- a/PHPCI/Controller/SessionController.php
+++ b/PHPCI/Controller/SessionController.php
@@ -53,6 +53,7 @@ class SessionController extends \PHPCI\Controller
$user = $this->userStore... | Generate an new session identifier on successful login to prevent session fixation attacks. | dancryer_PHPCI | train | php |
e050014a41299b4e551c132495a7dceb14c4d36e | diff --git a/resources/lang/pt-PT/cachet.php b/resources/lang/pt-PT/cachet.php
index <HASH>..<HASH> 100644
--- a/resources/lang/pt-PT/cachet.php
+++ b/resources/lang/pt-PT/cachet.php
@@ -34,7 +34,7 @@ return [
'stickied' => 'Stickied Incidents',
'scheduled' => 'Maintenance',
'scheduled... | New translations cachet.php (Portuguese) | CachetHQ_Cachet | train | php |
3f2f49e4ab1c99c0a154c42d3c7089b502c04654 | diff --git a/src/frontend/org/voltdb/SnapshotSiteProcessor.java b/src/frontend/org/voltdb/SnapshotSiteProcessor.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/SnapshotSiteProcessor.java
+++ b/src/frontend/org/voltdb/SnapshotSiteProcessor.java
@@ -785,9 +785,6 @@ public class SnapshotSiteProcessor {
... | ENG-<I>: Removed redundant snapshot task queue code left from previous commit. | VoltDB_voltdb | train | java |
e79960edb0d6d0153310570f87076a891385707a | diff --git a/lib/rufus/decision/matcher.rb b/lib/rufus/decision/matcher.rb
index <HASH>..<HASH> 100644
--- a/lib/rufus/decision/matcher.rb
+++ b/lib/rufus/decision/matcher.rb
@@ -30,6 +30,10 @@ module Rufus
attr_accessor :options
+ # Subclasses of Matcher override this method to provide matching.
+ ... | document abstract method Matcher#matches? | jmettraux_rufus-decision | train | rb |
91bcdeb75bf4065b22937c79e5c85715428b6cbe | diff --git a/lib/wavefront/cli/ts.rb b/lib/wavefront/cli/ts.rb
index <HASH>..<HASH> 100755
--- a/lib/wavefront/cli/ts.rb
+++ b/lib/wavefront/cli/ts.rb
@@ -23,6 +23,7 @@ class Wavefront::Cli::Ts < Wavefront::Cli
attr_accessor :options, :arguments
def run
+ raise 'Please supply a query.' if @arguments.empty?
... | don't exit from library
raise an exception so the consumer can deal with it appropriately | wavefrontHQ_ruby-client | train | rb |
9739f7b7b1d8f8f6d57aac1429a6f3fae9e36abe | diff --git a/sources/scalac/transformer/UnCurry.java b/sources/scalac/transformer/UnCurry.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/transformer/UnCurry.java
+++ b/sources/scalac/transformer/UnCurry.java
@@ -228,7 +228,9 @@ public class UnCurry extends OwnerTransformer
* escaping
*/
private... | uncurry should also add Sequence nodes for Alte...
uncurry should also add Sequence nodes for Alternative patterns that are
sequence valued. | scala_scala | train | java |
12e55cbe322c33e13db9d1f038e892b4cb61f3d0 | diff --git a/lib/kafka/client.rb b/lib/kafka/client.rb
index <HASH>..<HASH> 100644
--- a/lib/kafka/client.rb
+++ b/lib/kafka/client.rb
@@ -82,6 +82,10 @@ module Kafka
logger: @logger
)
+ if sasl_authenticator.enabled? && ssl_context.nil?
+ raise ArgumentError, "SASL authentication requires... | Ensure SSL is configured for SASL auth | zendesk_ruby-kafka | train | rb |
43f50ee1e63237b39ae38d3b40c1c757862aede5 | diff --git a/src/howler.core.js b/src/howler.core.js
index <HASH>..<HASH> 100644
--- a/src/howler.core.js
+++ b/src/howler.core.js
@@ -366,7 +366,7 @@
// Setup user-defined default properties.
self._autoplay = o.autoplay || false;
- self._format = o.format || null;
+ self._format = (typeof o.f... | Allow format passed as string when only using one sound file
This matches the behavior of `src` | goldfire_howler.js | train | js |
4d4c9c4e6a5b3b76db88c64349f8e74e47c02d77 | diff --git a/spikeextractors/extractors/yassextractors/yassextractors.py b/spikeextractors/extractors/yassextractors/yassextractors.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/extractors/yassextractors/yassextractors.py
+++ b/spikeextractors/extractors/yassextractors/yassextractors.py
@@ -4,11 +4,7 @@ import n... | Update spikeextractors/extractors/yassextractors/yassextractors.py | SpikeInterface_spikeextractors | train | py |
98902a033a673d2fcd2993c1a3a533690b558ca0 | diff --git a/ontobio/rdfgen/gocamgen/gocamgen.py b/ontobio/rdfgen/gocamgen/gocamgen.py
index <HASH>..<HASH> 100644
--- a/ontobio/rdfgen/gocamgen/gocamgen.py
+++ b/ontobio/rdfgen/gocamgen/gocamgen.py
@@ -342,7 +342,7 @@ class GoCamModel:
self.writer.emit_type(property_id, OWL.ObjectProperty)
if evide... | Pass full evidence object to add_evidence. | biolink_ontobio | train | py |
3513143027341638744ca3ce3c740744fda07c08 | diff --git a/molgenis-file-ingester/src/main/java/org/molgenis/file/ingest/FileIngestRepositoryDecorator.java b/molgenis-file-ingester/src/main/java/org/molgenis/file/ingest/FileIngestRepositoryDecorator.java
index <HASH>..<HASH> 100644
--- a/molgenis-file-ingester/src/main/java/org/molgenis/file/ingest/FileIngestRepos... | Add delegate for new stream(Fetch) method. | molgenis_molgenis | train | java |
8c79548aeb0fa4ddcc60e0efcf2d1dd590a8c2c2 | diff --git a/master/buildbot/test/interfaces/test_remotecommand.py b/master/buildbot/test/interfaces/test_remotecommand.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/interfaces/test_remotecommand.py
+++ b/master/buildbot/test/interfaces/test_remotecommand.py
@@ -83,6 +83,9 @@ class Tests(interfaces.Interfac... | Test that RemoteShellCommand's constructor can run with trivial arguments.
This catches the error fixed in ab<I>f<I>fe1e<I>a<I>adfac9a<I>a1f9. | buildbot_buildbot | train | py |
91591a375291ad3445afcb8b29796e351ab22b31 | diff --git a/code/extensions/LeftAndMainSubsites.php b/code/extensions/LeftAndMainSubsites.php
index <HASH>..<HASH> 100644
--- a/code/extensions/LeftAndMainSubsites.php
+++ b/code/extensions/LeftAndMainSubsites.php
@@ -217,7 +217,11 @@ class LeftAndMainSubsites extends Extension {
// Update current subsite in sessi... | redirect_fix_between_CMS_sections
previously if you were editing settings and you changed subsites ti would revert you to /admin, now it stays within your current controller | silverstripe_silverstripe-subsites | train | php |
47e595be5632248667072bbe4b69a22960125172 | diff --git a/engine/system/core/src/main/java/it/unibz/inf/ontop/materialization/impl/DefaultOntopRDFMaterializer.java b/engine/system/core/src/main/java/it/unibz/inf/ontop/materialization/impl/DefaultOntopRDFMaterializer.java
index <HASH>..<HASH> 100644
--- a/engine/system/core/src/main/java/it/unibz/inf/ontop/materia... | Bugfix: double angle brackets for IRIs during materialization. | ontop_ontop | train | java |
d3cc723e50cd3058907c50e80a1b1c47443d1a1a | 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
@@ -75,12 +75,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface... | Update VERSION for <I> | symfony_symfony | train | php |
178beb594c48ba60a9f01681ca839335542c243d | diff --git a/squad/core/tasks/__init__.py b/squad/core/tasks/__init__.py
index <HASH>..<HASH> 100644
--- a/squad/core/tasks/__init__.py
+++ b/squad/core/tasks/__init__.py
@@ -100,6 +100,11 @@ class ReceiveTestRun(object):
"resubmit_url",
)
metadata_fields = {k: data[k] for k i... | api: reject test run with duplicated job_id | Linaro_squad | train | py,py |
9fa211902dacba70273c50821e54de9210e0e1bd | diff --git a/tasks/release_manager.rb b/tasks/release_manager.rb
index <HASH>..<HASH> 100644
--- a/tasks/release_manager.rb
+++ b/tasks/release_manager.rb
@@ -1,5 +1,6 @@
class ReleaseManager
def initialize
+ assert_compatible_ruby!
assert_synced_versioning!
end
@@ -49,6 +50,12 @@ class ReleaseManager
... | Raise if `npm` bump fails for some reason
I used a ruby <I> feature for this. I think it's fine to only use ruby
<I> or higher for realeasing. | activeadmin_activeadmin | train | rb |
02c8c2fce4b81d65e20938b14b225212c4a2bef5 | diff --git a/src/test/java/com/arangodb/ArangoDatabaseTest.java b/src/test/java/com/arangodb/ArangoDatabaseTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/arangodb/ArangoDatabaseTest.java
+++ b/src/test/java/com/arangodb/ArangoDatabaseTest.java
@@ -277,6 +277,11 @@ public class ArangoDatabaseTest extends ... | dismiss smart join attribute test for versions older as <I> | arangodb_arangodb-java-driver | train | java |
47b8e318b71a63436fbdbf341be5ba28d0789225 | diff --git a/src/Mathielen/ImportEngine/Storage/ServiceStorage.php b/src/Mathielen/ImportEngine/Storage/ServiceStorage.php
index <HASH>..<HASH> 100644
--- a/src/Mathielen/ImportEngine/Storage/ServiceStorage.php
+++ b/src/Mathielen/ImportEngine/Storage/ServiceStorage.php
@@ -38,7 +38,7 @@ class ServiceStorage implements... | ...but also allow a string | mathielen_import-engine | train | php |
ab97c9fbaad2ae8bc30d63a98bec1fa6fb58dd4d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,8 @@
import sys
from setuptools import setup
-if sys.version_info < (3, 5):
- raise Exception("Python 3.5 or higher is required. Your version is %s." % sys.version)
+if sys.version_info < (3, 6):
+ raise Exce... | Update requirement to Python <I> | blueset_ehForwarderBot | train | py |
9f9916b87e52a476bc11635ef474d9014e0739e7 | diff --git a/src/Credentials/EcsCredentialProvider.php b/src/Credentials/EcsCredentialProvider.php
index <HASH>..<HASH> 100644
--- a/src/Credentials/EcsCredentialProvider.php
+++ b/src/Credentials/EcsCredentialProvider.php
@@ -78,11 +78,6 @@ class EcsCredentialProvider
private function getEcsUri()
{
... | Internal test fix (#<I>)
* Update CredentialProvider.php
* Update EcsCredentialProvider.php
* Update EcsCredentialProvider.php | aws_aws-sdk-php | train | php |
e48f625ce4d4c57a86f98d7b19752879735d64e1 | diff --git a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/ecore/EcoreGeneratorFragment.java b/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/ecore/EcoreGeneratorFragment.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator... | [xtext][generator] URIs that are configured by means of the EcoreGeneratorFragment have to be trimmed, throw exception if genmodel cannot be loaded | eclipse_xtext-extras | train | java |
bab1f90bda85ab22fdb05adf001cc7a93ce988f0 | diff --git a/src/core/scene/a-scene.js b/src/core/scene/a-scene.js
index <HASH>..<HASH> 100644
--- a/src/core/scene/a-scene.js
+++ b/src/core/scene/a-scene.js
@@ -662,7 +662,9 @@ module.exports.AScene = registerElement('a-scene', {
AEntity.prototype.play.call(this); // .play() *before* render.
... | Check for WebXR before attaching sessiongranted event listener | aframevr_aframe | train | js |
1241beba851248545095f8d1f0aa8804a8678d15 | diff --git a/environs/ec2/storage.go b/environs/ec2/storage.go
index <HASH>..<HASH> 100644
--- a/environs/ec2/storage.go
+++ b/environs/ec2/storage.go
@@ -29,11 +29,24 @@ func (s *storage) makeBucket() error {
}
// try to make the bucket - PutBucket will succeed if the
// bucket already exists.
- err := s.bucket.... | filter out suprious <I>s | juju_juju | train | go |
ac4c42bf858bc129aa6b0d15f7ef6f953fd307a7 | diff --git a/integration/v7/isolated/routes_command_test.go b/integration/v7/isolated/routes_command_test.go
index <HASH>..<HASH> 100644
--- a/integration/v7/isolated/routes_command_test.go
+++ b/integration/v7/isolated/routes_command_test.go
@@ -113,8 +113,7 @@ var _ = Describe("routes command", func() {
Expect(s... | Unpend route label integration test
- The bug in CAPI has been fixed
[#<I>] | cloudfoundry_cli | train | go |
bdf92c6f2b377832e555d44e6c01e950870fe868 | diff --git a/canmatrix/exportall.py b/canmatrix/exportall.py
index <HASH>..<HASH> 100644
--- a/canmatrix/exportall.py
+++ b/canmatrix/exportall.py
@@ -35,7 +35,7 @@ except:
try:
from .exportxlsx import *
except:
- logger.warn("no xlsx-export-support, some dependencies missing... try pip install xlswriter")
+... | Correct hint to `pip install xlsxwriter` | ebroecker_canmatrix | train | py |
4439dbd8bd99391241b21d229b5938b299b47eb2 | diff --git a/code/Checkout.php b/code/Checkout.php
index <HASH>..<HASH> 100644
--- a/code/Checkout.php
+++ b/code/Checkout.php
@@ -136,7 +136,7 @@ class Checkout extends ViewableData {
$postage_areas = $config
->PostageAreas()
->filter(array(
- "Country" => array($count... | Update Postage calculation to use partialmatch on country search | i-lateral_silverstripe-checkout | train | php |
9f8ec8eb74b25d4f281f3e966659b4cb2b219e65 | diff --git a/QueryFilter/DoctrineODMQueryFilter.php b/QueryFilter/DoctrineODMQueryFilter.php
index <HASH>..<HASH> 100644
--- a/QueryFilter/DoctrineODMQueryFilter.php
+++ b/QueryFilter/DoctrineODMQueryFilter.php
@@ -7,7 +7,11 @@ class DoctrineODMQueryFilter extends BaseQueryFilter
public function addDefaultFilter... | Add support to an array of values on filters for DoctrineODM. | symfony2admingenerator_AdmingeneratorGeneratorBundle | train | php |
c0c286556511bc88646609bd10a364af9c8f05bb | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,6 @@
from setuptools import setup, find_packages
REQUIRES = [
- 'aiohttp',
'PyYAML'
] | removed dependency to aiohttp which is no longer needed | Julius2342_pyvlx | train | py |
f06e264ac528d528c2272082c657b226f4393611 | diff --git a/src/arraylike.js b/src/arraylike.js
index <HASH>..<HASH> 100644
--- a/src/arraylike.js
+++ b/src/arraylike.js
@@ -11,7 +11,7 @@
/*#endif*/
function _gpfArraySlice (array, from, to) {
- return Array.prototype.slice.call(array, from, to);
+ return Array.prototype.slice.call(array, from, to || array... | Compatibility with old hosts (#<I>) | ArnaudBuchholz_gpf-js | train | js |
6ca86bcdba94e2df1e8c55912ff12022b5cee81d | diff --git a/lib/active_record/id_regions.rb b/lib/active_record/id_regions.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/id_regions.rb
+++ b/lib/active_record/id_regions.rb
@@ -12,6 +12,10 @@ module ArRegion
cache_with_timeout(:id_to_miq_region) { Hash.new }
end
+ def self.anonymous_class_with_ar_r... | Add module method for getting class which includes the module
we can call methods as:
ArRegion.anonymous_class_with_ar_region.rails_sequence_start
(transferred from ManageIQ/manageiq@e0c<I>e7f8af7ff<I>e<I>ad<I>ec<I>eb4f<I>b8) | ManageIQ_activerecord-id_regions | train | rb |
3802e30061a3790107e3c99d33f8780be6954811 | diff --git a/javascript/libjoynr-js/src/main/js/joynr/dispatching/Dispatcher.js b/javascript/libjoynr-js/src/main/js/joynr/dispatching/Dispatcher.js
index <HASH>..<HASH> 100644
--- a/javascript/libjoynr-js/src/main/js/joynr/dispatching/Dispatcher.js
+++ b/javascript/libjoynr-js/src/main/js/joynr/dispatching/Dispatcher.... | [JS] Fixed trace for received subscription stop
Change-Id: I<I>f5e9e<I>f0a9a3e<I>a<I>d<I>c5fe1 | bmwcarit_joynr | train | js |
2245638c1ebeb2d550ed480274c332ad395c94d1 | diff --git a/jsonld.php b/jsonld.php
index <HASH>..<HASH> 100644
--- a/jsonld.php
+++ b/jsonld.php
@@ -2435,7 +2435,11 @@ class JsonLdProcessor {
if(property_exists($active_ctx->mappings, $key) &&
$active_ctx->mappings->{$key} &&
$active_ctx->mappings->{$key}->reverse) {
- $reverse_map =... | Preserve existing @reverse map when merging properties. | digitalbazaar_php-json-ld | train | php |
c609660cc274f22fe46c72eb980502be79e88374 | diff --git a/join.js b/join.js
index <HASH>..<HASH> 100644
--- a/join.js
+++ b/join.js
@@ -1,5 +1,5 @@
/*jshint -W054 */
-(function (exports) {
+;(function (exports) {
'use strict';
function Join(context) { | use leading ';' to protect against idiocy | FuturesJS_join | train | js |
f5055f2073073fa20e0e979c0c33f1d2450ff309 | diff --git a/src/Rel2MTrait.php b/src/Rel2MTrait.php
index <HASH>..<HASH> 100644
--- a/src/Rel2MTrait.php
+++ b/src/Rel2MTrait.php
@@ -2,18 +2,18 @@
namespace KS\JsonApi;
trait Rel2MTrait {
- protected function add2MRel(string $name, BaseResourceInterface $resource) {
+ protected function add2MRel($name, Base... | Modified relationship trait for php <I> | cfxmarkets_php-jsonapi-objects | train | php |
731b0ac86f37a6888b7a09da1f286c408b25d064 | diff --git a/src/conbo/utils/utils.js b/src/conbo/utils/utils.js
index <HASH>..<HASH> 100644
--- a/src/conbo/utils/utils.js
+++ b/src/conbo/utils/utils.js
@@ -1,6 +1,6 @@
/*
* Utility methods
- * A subset of underscore.js methods, plus a few of our own
+ * A subset of Underscore.js methods, plus a few of our own
*... | Tidied up utils.js | mesmotronic_conbo | train | js |
7aa8125114d90be5959aa2c839f9e329c27a2594 | diff --git a/test/server_tests.js b/test/server_tests.js
index <HASH>..<HASH> 100644
--- a/test/server_tests.js
+++ b/test/server_tests.js
@@ -87,7 +87,7 @@ async function initRepository(dir) {
}
describe('Server Test', function suite() {
- this.timeout(60000);
+ this.timeout(10000);
let testRepoRoot; | revert to <I>s timeout | adobe_git-server | train | js |
64b756535722ef9b9fe64f620a720bd1ee63464d | diff --git a/tests/request_headers_tests.rb b/tests/request_headers_tests.rb
index <HASH>..<HASH> 100644
--- a/tests/request_headers_tests.rb
+++ b/tests/request_headers_tests.rb
@@ -16,6 +16,14 @@ Shindo.tests('Excon request methods') do
end
+ tests('header order') do
+ tests('host is the first sent h... | Test that host header is the first by default | excon_excon | train | rb |
a4460ff2280ac05519096ced3f04a31977f8bc24 | diff --git a/lib/Cake/Test/Case/View/Helper/RssHelperTest.php b/lib/Cake/Test/Case/View/Helper/RssHelperTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Case/View/Helper/RssHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/RssHelperTest.php
@@ -745,7 +745,7 @@ class RssHelperTest extends CakeTestCase {
$it... | Fix tests even better than before.
The current tests work on travis, but fail on jenkins. Fix that up. | cakephp_cakephp | train | php |
dc31ec4aa8b1ee76277a255179e879f4fa2950a1 | diff --git a/oauth2client/crypt.py b/oauth2client/crypt.py
index <HASH>..<HASH> 100644
--- a/oauth2client/crypt.py
+++ b/oauth2client/crypt.py
@@ -89,12 +89,12 @@ def make_signed_jwt(signer, payload, key_id=None):
header['kid'] = key_id
segments = [
- _urlsafe_b64encode(_json_encode(header)),
- ... | Fixing bug where '=' was stripped from signed bytes.
Fixes #<I>. | googleapis_oauth2client | train | py |
2d11302c7e0401d0a2479ea6186351a93dd1763d | diff --git a/aws/resource_aws_vpc_ipv4_cidr_block_association_test.go b/aws/resource_aws_vpc_ipv4_cidr_block_association_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_vpc_ipv4_cidr_block_association_test.go
+++ b/aws/resource_aws_vpc_ipv4_cidr_block_association_test.go
@@ -16,6 +16,7 @@ func TestAccAwsVpcI... | tests/r/vpc_ipv4_cidr_block_association: Add ErrorCheck | terraform-providers_terraform-provider-aws | train | go |
7ceb560d46ace5edd42728978f0b1f4c5e48a731 | diff --git a/public/js/share-codemirror-json.js b/public/js/share-codemirror-json.js
index <HASH>..<HASH> 100644
--- a/public/js/share-codemirror-json.js
+++ b/public/js/share-codemirror-json.js
@@ -160,7 +160,15 @@
timestamp: new Date ()
}});
} else {
- if (change.orig... | Properly handle text inserted via api calls.
Previously, inserting multiple lines with the insertTextAtCursor call was breaking the timestamps. Now, handle this the same as if someone copy and pasted a block of text in, etc.
Fixes #<I>. | VisionistInc_jibe | train | js |
fe1e95e44d17596732b28edc4baca47b194f175b | diff --git a/aws/convert_types_test.go b/aws/convert_types_test.go
index <HASH>..<HASH> 100644
--- a/aws/convert_types_test.go
+++ b/aws/convert_types_test.go
@@ -562,7 +562,7 @@ func TestTimeValueSlice(t *testing.T) {
}
for i := range out2 {
if in[i] == nil {
- if !(*(out2[i])).IsZero() {
+ if !(out2[i... | Cleanup unneeded wrapping of values in aws and stscreds package (#<I>)
Cleans up unneeded wrapping of values in the aws and stscreds package:
* aws: removes pointer dereference for `IsZero` method call.
* stscreds: removes anonymous function wrapping `time.Now` | aws_aws-sdk-go | train | go,go |
c13c2b4f0dd6eff0b89ebb81c28dfe842074dfa9 | diff --git a/core/generator/generator.go b/core/generator/generator.go
index <HASH>..<HASH> 100644
--- a/core/generator/generator.go
+++ b/core/generator/generator.go
@@ -102,7 +102,7 @@ func GetBlocks(ctx context.Context, c *protocol.Chain, afterHeight uint64) ([]*b
return nil, errors.Wrapf(err, "waiting for block ... | core/generator: limit blocks fetched at a time
It would be bad to reply with a bajillion blocks when a
client is connecting for the first time.
Closes chain/chainprv#<I>.
Reviewers: @jbowens | chain_chain | train | go |
6644675831a5a87c77f66697124d95ab37202509 | diff --git a/actionpack/lib/action_view/template/error.rb b/actionpack/lib/action_view/template/error.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_view/template/error.rb
+++ b/actionpack/lib/action_view/template/error.rb
@@ -43,8 +43,9 @@ module ActionView
end
class Template
- # The Template::E... | Template::Error is also used if rendering fails. | rails_rails | train | rb |
05504784e8586f1401d9b984380e34570976d7c3 | diff --git a/exponential.go b/exponential.go
index <HASH>..<HASH> 100644
--- a/exponential.go
+++ b/exponential.go
@@ -37,6 +37,7 @@ func NewExponential(options ...Option) *Exponential {
interval: interval,
jitterFactor: jitterFactor,
maxRetries: maxRetries,
+ random: rand.New(rand.NewSource(time.... | Seed the RNG differently depending on the instance | lestrrat-go_backoff | train | go,go |
8787138fc378c1ece5e0aad1d9171ef856d92a9b | diff --git a/src/Definition/Column.php b/src/Definition/Column.php
index <HASH>..<HASH> 100644
--- a/src/Definition/Column.php
+++ b/src/Definition/Column.php
@@ -6,6 +6,7 @@
* @package contao-bootstrap
* @subpackage Grid
* @author David Molineus <david.molineus@netzmacht.de>
+ * @author Florian Vick <... | Modifications to match coding standards | contao-bootstrap_grid | train | php |
52222c6f912b8c537874bd0107bedf55c9bd3079 | diff --git a/xblock/exceptions.py b/xblock/exceptions.py
index <HASH>..<HASH> 100644
--- a/xblock/exceptions.py
+++ b/xblock/exceptions.py
@@ -50,7 +50,16 @@ class NoSuchViewError(Exception):
"""
Raised to indicate that the view requested was not found.
"""
- pass
+ def __init__(self, block, view_n... | Make NoSuchViewError record what the name of the missing view was | edx_XBlock | train | py,py |
11cbc4f1827ec5ffbad27767a579820f1cd52d63 | diff --git a/src/sap.m/src/sap/m/Table.js b/src/sap.m/src/sap/m/Table.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/Table.js
+++ b/src/sap.m/src/sap/m/Table.js
@@ -810,7 +810,7 @@ sap.ui.define([
id: this.getId() + "-clearSelection",
src: "sap-icon://clear-all",
decorative: false,
- press: ... | [INTERNAL] Table: fix clearAllButton press handler
The press handler for the clearAllButton were having incorrect parameters
which caused problem in deselecting the items correclty.
The parameters are now adapted correctly to fix the issue.
Change-Id: Ib4ee5f<I>bb2e<I>a<I>d7b<I>ab4af<I>a<I> | SAP_openui5 | train | js |
578afc9704f6193561c3d2219f1f86109d7599b0 | diff --git a/xray/dataset.py b/xray/dataset.py
index <HASH>..<HASH> 100644
--- a/xray/dataset.py
+++ b/xray/dataset.py
@@ -995,9 +995,11 @@ class Dataset(Mapping):
dimension. If not supplied, indexers is inferred from the length of
each variable along the dimension, and the variables are stack... | Dataset.concat() can now automatically concat over non-equal variables.
concat_over=True indicates that concat should concat over all variables
that are not the same in the set of datasets that are to be concatenated. | pydata_xarray | train | py |
09fa917eb4a2026cb1e39228bd55215b322d142a | diff --git a/app/models/renalware/medications/revise_prescription.rb b/app/models/renalware/medications/revise_prescription.rb
index <HASH>..<HASH> 100644
--- a/app/models/renalware/medications/revise_prescription.rb
+++ b/app/models/renalware/medications/revise_prescription.rb
@@ -17,6 +17,8 @@ module Renalware
... | Don't terminate a prescription again | airslie_renalware-core | train | rb |
394f9f5749f0cbd6942d8513b68bf99c68d69de7 | diff --git a/tests/index.js b/tests/index.js
index <HASH>..<HASH> 100644
--- a/tests/index.js
+++ b/tests/index.js
@@ -81,6 +81,7 @@ describe("style-manifest", function() {
});
});
+
it("should handle a multiple style types", async function() {
input.write({
"src": {
@@ -148,7 +149,6 @@ describ... | chore(whitespace): cleaned up some whitespace in the tests | webark_broccoli-style-manifest | train | js |
781a358e80cf2435f3ceab2214a6740d11e7b4fb | diff --git a/Console/Migrations/FreshCommand.php b/Console/Migrations/FreshCommand.php
index <HASH>..<HASH> 100644
--- a/Console/Migrations/FreshCommand.php
+++ b/Console/Migrations/FreshCommand.php
@@ -52,6 +52,7 @@ class FreshCommand extends Command
'--path' => $this->input->getOption('path'),
... | [<I>] Add --step to migrate:fresh command (#<I>)
* Add --step flag to migrate:fresh command
Adds a flag to enable running migrations in step with the migrate:fresh command
* StyleCI fixes | illuminate_database | train | php |
ee690017f13488572094e44181d03ca0d95c283f | diff --git a/lib/knapsack_pro/runners/queue/rspec_runner.rb b/lib/knapsack_pro/runners/queue/rspec_runner.rb
index <HASH>..<HASH> 100644
--- a/lib/knapsack_pro/runners/queue/rspec_runner.rb
+++ b/lib/knapsack_pro/runners/queue/rspec_runner.rb
@@ -131,7 +131,11 @@ module KnapsackPro
end
RSpec.world... | Call reset_filters for RSpec only if this method exists. This way we won't call it for old RSpec version like <I> | KnapsackPro_knapsack_pro-ruby | train | rb |
e78909f531eadd8ae11849354624b7c06e3e8572 | diff --git a/src/infi/instruct/buffer/__init__.py b/src/infi/instruct/buffer/__init__.py
index <HASH>..<HASH> 100644
--- a/src/infi/instruct/buffer/__init__.py
+++ b/src/infi/instruct/buffer/__init__.py
@@ -1,2 +1,2 @@
-from .buffer import Buffer
+from .buffer import Buffer, BufferType
from .macros import * | added BufferType to the infi.instruct.buffer imports | Infinidat_infi.instruct | train | py |
9ed467dd99c85c7017afe3ee7419f18290d73bb4 | diff --git a/src/BuildRunner.php b/src/BuildRunner.php
index <HASH>..<HASH> 100644
--- a/src/BuildRunner.php
+++ b/src/BuildRunner.php
@@ -95,6 +95,7 @@ class BuildRunner {
// variable to be changed mid-run by an outside force such as a unit test.
$watchMessage = $continue ? "Watching for changes..." : null;
do ... | Don't continue executing on error until next change detected, fixes #6 | PhpGt_Build | train | php |
21d0879bc4d53c00a209e8fb23fb143c3b6334cf | diff --git a/example.js b/example.js
index <HASH>..<HASH> 100644
--- a/example.js
+++ b/example.js
@@ -28,7 +28,7 @@ steamClient.on('logOnResponse', function(logonResp) {
});
steamClient.on('servers', function(servers) {
- fs.writeFile('servers', JSON.stringify(servers));
+ fs.writeFileSync('servers', JSON.string... | Fix missing callback in example.js | seishun_node-steam | train | js |
cf0696522a826c8570effc2d8a486c6f0601814c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,3 +1,4 @@
+'use strict';
const fsp = require('fs-promise');
const newLineCharacters = ["\n", "\r"] | fix(strict): add use strict to index
no issue
- in node v4 requiring this library throws an error because `const` and `let` aren't allowed outside of strict mode | alexbbt_read-last-lines | train | js |
13d1be7cde913b72365172ca14b7d717531c24a1 | diff --git a/jupyterdrive/gdrive/drive-contents.js b/jupyterdrive/gdrive/drive-contents.js
index <HASH>..<HASH> 100644
--- a/jupyterdrive/gdrive/drive-contents.js
+++ b/jupyterdrive/gdrive/drive-contents.js
@@ -104,30 +104,6 @@ define(function(require) {
.catch(function(err) {console.log(err)});
};
- Conten... | Remove delete_notebook method from Contents
This method is no longer part of the API. | jupyter_jupyter-drive | train | js |
bf7460a74708ca9b33700b070910d9377627ab27 | diff --git a/prow/cmd/line/main.go b/prow/cmd/line/main.go
index <HASH>..<HASH> 100644
--- a/prow/cmd/line/main.go
+++ b/prow/cmd/line/main.go
@@ -388,7 +388,6 @@ func (c *testClient) TestPRJenkins() error {
return nil
}
logrus.WithFields(fields(c)).Info("Starting build.")
- c.tryCreateStatus("", github.StatusPe... | Set a status message that a build is in the queue.
This is clearer than noting that a build has been triggered. | kubernetes_test-infra | train | go |
df3f9178de584e79a23a83eebfc8d114fee3249a | diff --git a/elastic/datadog_checks/elastic/config_models/validators.py b/elastic/datadog_checks/elastic/config_models/validators.py
index <HASH>..<HASH> 100644
--- a/elastic/datadog_checks/elastic/config_models/validators.py
+++ b/elastic/datadog_checks/elastic/config_models/validators.py
@@ -18,5 +18,9 @@ def initial... | Validate custom query column type (#<I>) | DataDog_integrations-core | train | py |
260a7911224ee5bd2e0c39ddef3b98054b01e9d4 | diff --git a/Python/phate/cluster.py b/Python/phate/cluster.py
index <HASH>..<HASH> 100644
--- a/Python/phate/cluster.py
+++ b/Python/phate/cluster.py
@@ -2,7 +2,7 @@ import graphtools
from sklearn import cluster, exceptions
-def kmeans(phate_op, k=8):
+def kmeans(phate_op, k=8, random_state=None):
"""KMeans ... | add random_state to cluster.kmeans | KrishnaswamyLab_PHATE | train | py |
45ca743d532704f5b905f5377b45b555cd828b94 | diff --git a/lib/aws.rb b/lib/aws.rb
index <HASH>..<HASH> 100644
--- a/lib/aws.rb
+++ b/lib/aws.rb
@@ -1,5 +1,8 @@
module Aws
+ # @api private
+ GEM_ROOT = File.dirname(File.dirname(__FILE__))
+
@config = {}
autoload :Credentials, 'aws/credentials'
@@ -153,9 +156,11 @@ module Aws
private
+ # @r... | Added a GEM_ROOT constant. This is used for loading bundled APIs. | aws_aws-sdk-ruby | train | rb |
e997dd4f60fcb2bc48f35c46dc93dbc0bc544d78 | diff --git a/test/naomi.js b/test/naomi.js
index <HASH>..<HASH> 100644
--- a/test/naomi.js
+++ b/test/naomi.js
@@ -39,7 +39,7 @@ describe('naomi', function () {
assert.instanceOf(db._engine, MySQLEngine);
});
- it('returns a new POSTGRES Database when "postgres" type is specified', function () {
+ i... | No need to have postgres written in uppercase in the unit-test. | jmike_naomi | train | js |
61a92b60c50110ab49512c8cd522d49c494acf63 | diff --git a/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java b/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
+++ b/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
@@ -1563,6 +1563,... | * split up addItem and setItem methods | mikepenz_MaterialDrawer | train | java |
4b67aac4f9e8cfe9f4d1027368f25212a1161b5b | diff --git a/lib/Doctrine/ODM/CouchDB/Mapping/MappingException.php b/lib/Doctrine/ODM/CouchDB/Mapping/MappingException.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/CouchDB/Mapping/MappingException.php
+++ b/lib/Doctrine/ODM/CouchDB/Mapping/MappingException.php
@@ -60,4 +60,11 @@ class MappingException extends... | Update lib/Doctrine/ODM/CouchDB/Mapping/MappingException.php
Add missing method static factory method for MappingException.
This is used by DoctrineCouchDBBundle in the XML and YAML drivers. | doctrine_couchdb-odm | train | php |
625f57778b6e35aeaec501e1cb7800b42166b1ae | diff --git a/spec/graphql/language/lexer_spec.rb b/spec/graphql/language/lexer_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/graphql/language/lexer_spec.rb
+++ b/spec/graphql/language/lexer_spec.rb
@@ -26,5 +26,9 @@ describe GraphQL::Language::Lexer do
it "unescapes escaped unicode characters" do
assert_eq... | spec(Lexer) add spec for good and bad unicode in the same string | rmosolgo_graphql-ruby | train | rb |
6a5c0589541293e68c8880594e55e303fe607b49 | diff --git a/src/main/java/com/podio/app/ApplicationField.java b/src/main/java/com/podio/app/ApplicationField.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/podio/app/ApplicationField.java
+++ b/src/main/java/com/podio/app/ApplicationField.java
@@ -13,6 +13,11 @@ public class ApplicationField extends Applicat... | support for status of application fields to recognize deleted fields. | podio_podio-java | train | java |
f6bb0e3922432a4667033955c92bc5310379bd82 | diff --git a/great_expectations/cli/__init__.py b/great_expectations/cli/__init__.py
index <HASH>..<HASH> 100755
--- a/great_expectations/cli/__init__.py
+++ b/great_expectations/cli/__init__.py
@@ -240,7 +240,7 @@ it will walk you through configuring the database connection and next steps.
"database": "po... | Fixed arg name from profile_name to profile | great-expectations_great_expectations | train | py |
c0268f7f6b4850ee99f8eb94e9cf396de45a476f | diff --git a/morp/main.py b/morp/main.py
index <HASH>..<HASH> 100644
--- a/morp/main.py
+++ b/morp/main.py
@@ -4,7 +4,7 @@ from .app import SQLApp, Session, BaseApp
from .sql import Base
import os
from zope.sqlalchemy import register as register_session
-from more.jwtauth import JWTIdentityPolicy
+from authmanager.a... | use JWTPolicy from authmanager | morpframework_morpfw | train | py |
1e2e9d73bfe05a81e44492a60cd9223bcbd926cc | diff --git a/lib/feed-summary.js b/lib/feed-summary.js
index <HASH>..<HASH> 100644
--- a/lib/feed-summary.js
+++ b/lib/feed-summary.js
@@ -67,8 +67,8 @@ function groupMessages (messages, filter) {
const group = ensureMessage(c.root, messageUpdates)
group.lastUpdateType = 'reply'
group.replies... | go back to showing replies in sync order (rather than timestamp order) | ssbc_patchwork | train | js |
49569bb09fe9465a4fc0a80afa48cde7e0eea1a6 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ def get_required_packages():
Plus any version tests and warnings
"""
install_requires = ['six',
- 'mizani >= 0.3.4',
+ 'mizani >= 0.4.0',
... | Bump mizani requirement to <I> | has2k1_plotnine | train | py |
964d9d8ddc167ea498da6d05af626c1252f56687 | diff --git a/src/python/pants/backend/go/util_rules/go_pkg.py b/src/python/pants/backend/go/util_rules/go_pkg.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/go/util_rules/go_pkg.py
+++ b/src/python/pants/backend/go/util_rules/go_pkg.py
@@ -186,7 +186,6 @@ async def resolve_go_package(
go_mod_spec_pa... | [internal] go: remove extraneous print statement (#<I>)
Remove a left-over debugging print statement.
[ci skip-rust]
[ci skip-build-wheels] | pantsbuild_pants | train | py |
6fcb15191ed634dd7d08b22dfe087162f0cb58fe | diff --git a/packages/ember-views/tests/views/container_view_test.js b/packages/ember-views/tests/views/container_view_test.js
index <HASH>..<HASH> 100644
--- a/packages/ember-views/tests/views/container_view_test.js
+++ b/packages/ember-views/tests/views/container_view_test.js
@@ -263,7 +263,7 @@ QUnit.test("views tha... | Relax ContainerView test to accept comment nodes as empty | emberjs_ember.js | train | js |
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.