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 |
|---|---|---|---|---|---|
349510c470def04d9774eb47d64414bf6f175262 | diff --git a/src/Modus/FrontController/Http.php b/src/Modus/FrontController/Http.php
index <HASH>..<HASH> 100644
--- a/src/Modus/FrontController/Http.php
+++ b/src/Modus/FrontController/Http.php
@@ -44,20 +44,11 @@ class Http {
}
protected function _configureAutoloaders() {
- return;
$co... | Initiate autoloaders correctly so that they correctly handle. Also, figure out what path is being echoed. | modusphp_framework | train | php |
a469536b420455a8f264a4061f7c298ae5f86d6f | diff --git a/client/lib/media/list-store.js b/client/lib/media/list-store.js
index <HASH>..<HASH> 100644
--- a/client/lib/media/list-store.js
+++ b/client/lib/media/list-store.js
@@ -134,7 +134,7 @@ MediaListStore.isItemMatchingQuery = function( siteId, item ) {
matches = true;
- if ( query.search ) {
+ if ( quer... | Don’t filter external media searches by filename
External media searches occur across data other than the filename. For example, Google Photos analyzes the content of the photo and matches on that.
This allows the API endpoint to determine if an item matches | Automattic_wp-calypso | train | js |
e58998e0eb01a4821fc42b5d35773af6c81e349f | diff --git a/lib/ooor/connection_handler.rb b/lib/ooor/connection_handler.rb
index <HASH>..<HASH> 100644
--- a/lib/ooor/connection_handler.rb
+++ b/lib/ooor/connection_handler.rb
@@ -1,9 +1,10 @@
+require 'active_support/core_ext/hash/indifferent_access'
require 'ooor/connection'
module Ooor
class ConnectionHand... | fixed a bug with connection_spec and connections not being properly reused | akretion_ooor | train | rb |
ea2230a5819c63c3467404690feca0c57c090d9c | diff --git a/wallace/command_line.py b/wallace/command_line.py
index <HASH>..<HASH> 100755
--- a/wallace/command_line.py
+++ b/wallace/command_line.py
@@ -105,7 +105,7 @@ def setup_experiment(debug=True, verbose=False, app=None):
# Check that the version of Wallace specified in the config file is the one
# th... | Use correct package name (#<I>) | berkeley-cocosci_Wallace | train | py |
b447eb73afc88d96993b5e2413af776a702d0f8f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -85,7 +85,7 @@ var _startListening = function($done) {
if (err || WWW._handle) // _handle means server is already listening
return $done(err);
- WWW.listen(CONF.port_www, function(err) {
+ WWW.listen(CO... | Teach deetoo to read hostname from config | Rafflecopter_deetoo | train | js |
4e97ce3cd4b060a241872c736fbfa7797380bfb3 | diff --git a/emma2/msm/estimation/__init__.py b/emma2/msm/estimation/__init__.py
index <HASH>..<HASH> 100644
--- a/emma2/msm/estimation/__init__.py
+++ b/emma2/msm/estimation/__init__.py
@@ -22,7 +22,7 @@ Connectivity
connected_sets - Find connected subsets
largest_connected_set - Find largest connected set
-... | [doc] adopted method refactoring: connected_count_matrix -> largest_connected_submatrix | markovmodel_PyEMMA | train | py |
4bf10ff31b296fd246eac77b0b63f8e11d30bacb | diff --git a/merb-gen/app_generators/merb/templates/autotest/merb_rspec.rb b/merb-gen/app_generators/merb/templates/autotest/merb_rspec.rb
index <HASH>..<HASH> 100644
--- a/merb-gen/app_generators/merb/templates/autotest/merb_rspec.rb
+++ b/merb-gen/app_generators/merb/templates/autotest/merb_rspec.rb
@@ -45,7 +45,7 @@... | changes to the global_helpers should run every helper spec too | wycats_merb | train | rb |
d7d9173b5eb70a38be03db9d93e8272d32efd736 | diff --git a/appliance/redis/cmd/flynn-redis/main_test.go b/appliance/redis/cmd/flynn-redis/main_test.go
index <HASH>..<HASH> 100644
--- a/appliance/redis/cmd/flynn-redis/main_test.go
+++ b/appliance/redis/cmd/flynn-redis/main_test.go
@@ -41,6 +41,9 @@ func TestMain_Discoverd(t *testing.T) {
return hb, nil
}
+ /... | appliance/redis: Set a password in TestMain_Discoverd
CI runs an old version of Redis which seems to handle empty passwords
differently than newer versions (e.g. the version used in vagrant) | flynn_flynn | train | go |
e7691327e5ddaa4ac9ebbd9c3f2c22915c5db26a | diff --git a/examples/basic_usage.py b/examples/basic_usage.py
index <HASH>..<HASH> 100755
--- a/examples/basic_usage.py
+++ b/examples/basic_usage.py
@@ -10,7 +10,6 @@ def run(unihan_options={}):
if not c.unihan.is_bootstrapped: # download and install Unihan to db
c.unihan.bootstrap(unihan_options)
- ... | Remove extraneous db reflection | cihai_cihai | train | py |
4db262132a50a4ced7818af450da57cb2863ccf6 | diff --git a/lib/chef/provider/package/zypper.rb b/lib/chef/provider/package/zypper.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/provider/package/zypper.rb
+++ b/lib/chef/provider/package/zypper.rb
@@ -70,10 +70,6 @@ class Chef
end
def candidate_version
- @candidate_version ||= package_nam... | Removed unused/repeated candidate version | chef_chef | train | rb |
45b142cc4eeef002c83a967b7c121ca532d6a506 | diff --git a/src/org/jcodings/EncodingDB.java b/src/org/jcodings/EncodingDB.java
index <HASH>..<HASH> 100644
--- a/src/org/jcodings/EncodingDB.java
+++ b/src/org/jcodings/EncodingDB.java
@@ -177,10 +177,15 @@ public class EncodingDB {
public static void set_base(String name, String original) {
}
+ public... | Add easier way to instantiate dummy encodings. | jruby_jcodings | train | java |
405d76115d0deb8d5c4bfb1bfdd803485a4cc82c | diff --git a/lib/sequent/core/tenant_event_store.rb b/lib/sequent/core/tenant_event_store.rb
index <HASH>..<HASH> 100644
--- a/lib/sequent/core/tenant_event_store.rb
+++ b/lib/sequent/core/tenant_event_store.rb
@@ -8,11 +8,14 @@ module Sequent
def replay_events_for(organization_id)
replay_events do
... | Fix replaying events for organization
Include all events for all aggregates associated with the
organization (do not skip events that do not have `organization_id`
set). | zilverline_sequent | train | rb |
136343eb7416c3ff19911440c09d1dde60651959 | diff --git a/web3/types.py b/web3/types.py
index <HASH>..<HASH> 100644
--- a/web3/types.py
+++ b/web3/types.py
@@ -161,7 +161,7 @@ TxData = TypedDict("TxData", {
"gasPrice": Wei,
"hash": HexBytes,
"input": HexStr,
- "nonce": int,
+ "nonce": Nonce,
"r": HexBytes,
"s": HexBytes,
"to": ... | Some fixes to type definitions (#<I>) | ethereum_web3.py | train | py |
77301637cb5ea607454c8dcc2f6be3d7481650e0 | diff --git a/lib/queryko/filterer.rb b/lib/queryko/filterer.rb
index <HASH>..<HASH> 100644
--- a/lib/queryko/filterer.rb
+++ b/lib/queryko/filterer.rb
@@ -1,11 +1,21 @@
module Queryko
module Filterer
+ # def filter_by_filters
+ # fields.each do |field, filter|
+ # if field == 'limit' || field == 'pag... | apply multiple filter instead of getting the first filter | neume_queryko | train | rb |
3cd91e81627f8b60e20d8e029a0bc5e532b5597f | diff --git a/src/transformers/integrations.py b/src/transformers/integrations.py
index <HASH>..<HASH> 100644
--- a/src/transformers/integrations.py
+++ b/src/transformers/integrations.py
@@ -54,7 +54,7 @@ from .trainer_utils import PREFIX_CHECKPOINT_DIR, BestRun, EvaluationStrategy #
# Integration functions:
def i... | Fix WAND_DISABLED test (#<I>)
* Fix WAND_DISABLED test
* Remove duplicate import
* Make a test that actually works...
* Fix style | huggingface_pytorch-pretrained-BERT | train | py |
20f6fbb3f38237ba82a51a9e6e7720aba0c00974 | diff --git a/slackclient/_channel.py b/slackclient/_channel.py
index <HASH>..<HASH> 100644
--- a/slackclient/_channel.py
+++ b/slackclient/_channel.py
@@ -6,7 +6,7 @@ class Channel(object):
self.members = members
def __eq__(self, compare_str):
- if self.name == compare_str or self.id == compare_s... | allow channels to be found with leading # | slackapi_python-slackclient | train | py |
2498a640392494a3d393e14c0b66c9f7f2c51f58 | diff --git a/lib/bibtex/entry/rdf_converter.rb b/lib/bibtex/entry/rdf_converter.rb
index <HASH>..<HASH> 100644
--- a/lib/bibtex/entry/rdf_converter.rb
+++ b/lib/bibtex/entry/rdf_converter.rb
@@ -449,10 +449,8 @@ class BibTeX::Entry::RDFConverter
if bibtex.type == :unpublished
graph << [entry, RDF::DC.crea... | Remove bibo:created and bibo:issued from #year
They do not exist. (Links to Dublin Core) | inukshuk_bibtex-ruby | train | rb |
1f32ed868b07ff592e3638fff8460eb501e4e3a2 | diff --git a/src/main/java/org/fxmisc/flowless/VirtualizedScrollPane.java b/src/main/java/org/fxmisc/flowless/VirtualizedScrollPane.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/fxmisc/flowless/VirtualizedScrollPane.java
+++ b/src/main/java/org/fxmisc/flowless/VirtualizedScrollPane.java
@@ -324,7 +324,7 @@ p... | Fix thin lines between cells 2 (#<I>) | FXMisc_Flowless | train | java |
94a5c3356277a1c268b94f56231b009c0fb7ef6f | diff --git a/app/drivers/prottable/info.py b/app/drivers/prottable/info.py
index <HASH>..<HASH> 100644
--- a/app/drivers/prottable/info.py
+++ b/app/drivers/prottable/info.py
@@ -10,9 +10,11 @@ class AddProteinInfoDriver(ProttableAddData):
super().__init__(**kwargs)
self.headertypes = ['proteindata']
... | Genecentric also for prottable add info | glormph_msstitch | train | py |
672b8fb8871fdb5fd28713ec4d20b990b148589d | diff --git a/httputil/httputil.go b/httputil/httputil.go
index <HASH>..<HASH> 100644
--- a/httputil/httputil.go
+++ b/httputil/httputil.go
@@ -1,5 +1,6 @@
/*
Copyright 2011 Google Inc.
+Modifications Copyright (c) 2014 Simon Zimmermann
Licensed under the Apache License, Version 2.0 (the "License");
you may not us... | util: use application/json instead of text/javascript for JSON response | insmo_util | train | go |
ae9acac5feb2220bc04503c80c143525f48c3c45 | diff --git a/jaraco/windows/api/clipboard.py b/jaraco/windows/api/clipboard.py
index <HASH>..<HASH> 100644
--- a/jaraco/windows/api/clipboard.py
+++ b/jaraco/windows/api/clipboard.py
@@ -45,3 +45,9 @@ GetClipboardData.restype = ctypes.wintypes.HANDLE
SetClipboardData = ctypes.windll.user32.SetClipboardData
SetClipboa... | Add type declarations for clipboard operations. | jaraco_jaraco.windows | train | py |
dc7eb397b349641209f34f346c858f6758692beb | diff --git a/test/util/database.js b/test/util/database.js
index <HASH>..<HASH> 100644
--- a/test/util/database.js
+++ b/test/util/database.js
@@ -9,7 +9,7 @@ var _nsv;
var refreshDb = function(done) {
disposableSeraph({
- version: '2.3.1',
+ version: '3.0.3',
edition: 'community',
port... | bump neo4j version in tests | brikteknologier_seraph | train | js |
f0fc515eac953b83bcee24089c649f61cf7bc5f5 | diff --git a/lib/anycable/rails/railtie.rb b/lib/anycable/rails/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/anycable/rails/railtie.rb
+++ b/lib/anycable/rails/railtie.rb
@@ -70,7 +70,7 @@ module AnyCable
# Since Rails 6.1
if respond_to?(:server)
server do
- next unless AnyCable.conf... | fix: only run embedded server if AnyCable is enabled | anycable_anycable-rails | train | rb |
b3112a4349ca5dc6179ba795874ec36e23a2163b | diff --git a/core/client/routes/reset.js b/core/client/routes/reset.js
index <HASH>..<HASH> 100644
--- a/core/client/routes/reset.js
+++ b/core/client/routes/reset.js
@@ -3,6 +3,12 @@ import loadingIndicator from 'ghost/mixins/loading-indicator';
var ResetRoute = Ember.Route.extend(styleBody, loadingIndicator, {
... | Reset/Signin while signed in
no issue
- added redirect and notification to reset route
- added notification to signup route | TryGhost_Ghost | train | js,js |
cef712469aa7cec71cffb65dc8da7886c5e0f29e | diff --git a/lib/jitsu/commands/databases.js b/lib/jitsu/commands/databases.js
index <HASH>..<HASH> 100644
--- a/lib/jitsu/commands/databases.js
+++ b/lib/jitsu/commands/databases.js
@@ -199,7 +199,8 @@ databases.list = function (username, callback) {
// Allows arbitrary amount of arguments to deploy
//
if(arg... | [api][minor] added args variable to conform to other argument currying formats | nodejitsu_jitsu | train | js |
08c5770d669bf272cb55fe4edc7367038de64a8e | diff --git a/spec/shared/evaluator_behavior.rb b/spec/shared/evaluator_behavior.rb
index <HASH>..<HASH> 100644
--- a/spec/shared/evaluator_behavior.rb
+++ b/spec/shared/evaluator_behavior.rb
@@ -40,6 +40,9 @@ shared_examples_for 'predicate evaluator' do
expect(evaluation.output).to be(true)
evaluation =... | Add more expectations to predicate inverse shared behavior | mbj_morpher | train | rb |
ea3df5f0432eb25c393a3bfd3279cd46a8458269 | diff --git a/fastlane/lib/fastlane/actions/prompt.rb b/fastlane/lib/fastlane/actions/prompt.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/actions/prompt.rb
+++ b/fastlane/lib/fastlane/actions/prompt.rb
@@ -18,7 +18,11 @@ module Fastlane
user_input = STDIN.gets(end_tag).chomp.gsub(end_tag, "").st... | added secure text input option (#<I>)
* added secure text input option
* Update prompt.rb | fastlane_fastlane | train | rb |
8b46b1b5c0b065495be0bf518ebf2c7296cf7ac6 | diff --git a/ford/output.py b/ford/output.py
index <HASH>..<HASH> 100644
--- a/ford/output.py
+++ b/ford/output.py
@@ -249,14 +249,12 @@ class Documentation(object):
shutil.copy(src.path, os.path.join(out_dir, "src", src.name))
if "mathjax_config" in self.data:
- os.mkdir(os.path.... | Don't fail when MathJax-config dir already exists
Only create the directory MathJax-config when it doesn't exist yet. Avoids a crash with FileExistsError, which I don't see why it should be fatal. | Fortran-FOSS-Programmers_ford | train | py |
f8c34933fdb86a08729c62b880eb5b6aa9527ecd | diff --git a/pkg/minikube/reason/known_issues.go b/pkg/minikube/reason/known_issues.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/reason/known_issues.go
+++ b/pkg/minikube/reason/known_issues.go
@@ -335,7 +335,7 @@ var providerIssues = []match{
ID: "PR_HYPERKIT_VMNET_FRAMEWORK",
ExitCode: ExProviderEr... | Update pkg/minikube/reason/known_issues.go | kubernetes_minikube | train | go |
83b84d9a6fd1f1adad632e0578110c6b191fb8a5 | diff --git a/php/class-template-hierarchy.php b/php/class-template-hierarchy.php
index <HASH>..<HASH> 100644
--- a/php/class-template-hierarchy.php
+++ b/php/class-template-hierarchy.php
@@ -15,6 +15,7 @@ class Template_Hierarchy {
'attachment',
'single',
'page',
+ 'singular',
'category',
'tag',
'aut... | Added singular template to hierarchy.
Fixes #3 | Rarst_meadow | train | php |
d6164952798f2e6a9170d6d2e193370c468a6782 | diff --git a/lib/linters/comment.js b/lib/linters/comment.js
index <HASH>..<HASH> 100644
--- a/lib/linters/comment.js
+++ b/lib/linters/comment.js
@@ -3,18 +3,11 @@
module.exports = {
name: 'comment',
nodeTypes: ['multilineComment'],
-
- // if we put this here, the specs don't need to copy/paste
- // t... | Remove old comments in comment linter | lesshint_lesshint | train | js |
14429678ad06b62dd93c1d2694b78188b9b2cfd7 | diff --git a/symphony/lib/toolkit/include.install.php b/symphony/lib/toolkit/include.install.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/include.install.php
+++ b/symphony/lib/toolkit/include.install.php
@@ -658,7 +658,7 @@
}
$htaccess = '
-### Symphony 2.1.x ###
+### Symphony 2.2.x ###
Opti... | Correcting Symphony version number to be used in .htaccess file. | symphonycms_symphony-2 | train | php,php |
69468ce39595f51dbcf58938b4ad164f8f27ec88 | diff --git a/problems/11-dist-tag-removal.js b/problems/11-dist-tag-removal.js
index <HASH>..<HASH> 100644
--- a/problems/11-dist-tag-removal.js
+++ b/problems/11-dist-tag-removal.js
@@ -26,8 +26,8 @@ Run `npm help dist-tag` to learn more about the command.
}
//exports.solution = function () {/*
-//npm dist-tags ad... | remove typo in dist-tag suggestion | workshopper_how-to-npm | train | js |
72b05dba6de7f0dc65c030ea3a8ddbbdf0e9fe50 | diff --git a/Db.php b/Db.php
index <HASH>..<HASH> 100644
--- a/Db.php
+++ b/Db.php
@@ -111,7 +111,8 @@ class Db extends DbOps
if ($hard) {
$sql = '>DELETE FROM ' . $table . ' WHERE `id` =';
} else {
- $sql = '>UPDATE ' . $table . ' SET `delete_date` = NOW() WHERE `id` =';
+ ... | Add camel-casing to delete function | sroehrl_neoan3-db | train | php |
cd1a73dde65229cbc236f07a913baf66f0b3d1fb | diff --git a/features/support/env.js b/features/support/env.js
index <HASH>..<HASH> 100644
--- a/features/support/env.js
+++ b/features/support/env.js
@@ -31,7 +31,7 @@ module.exports = function () {
this.DEFAULT_ENVIRONMENT = Object.assign({STXXLCFG: stxxl_config}, process.env);
this.DEFAULT_PROFILE ... | revert 'directly' method on win<I> | Project-OSRM_osrm-backend | train | js |
446cc1c1f4356cfe9dfa2e49f039e4ec6077db1b | diff --git a/presto-main/src/test/java/com/facebook/presto/spiller/TestGenericPartitioningSpiller.java b/presto-main/src/test/java/com/facebook/presto/spiller/TestGenericPartitioningSpiller.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/test/java/com/facebook/presto/spiller/TestGenericPartitioningSpiller.java
+... | Allow spill tests to run when disk space is low | prestodb_presto | train | java |
e70690ba301330b0a769d2e8bbc0a1c2dc419290 | diff --git a/Tests/Functional/Service/HistoryManagerTest.php b/Tests/Functional/Service/HistoryManagerTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Functional/Service/HistoryManagerTest.php
+++ b/Tests/Functional/Service/HistoryManagerTest.php
@@ -15,6 +15,7 @@ use ONGR\ElasticsearchBundle\Test\AbstractElasticsearch... | wrote a test for message addition to history | ongr-io_TranslationsBundle | train | php |
397771363c45feffea44768e8eb9ae2b93b44d50 | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -38,7 +38,7 @@ class TestKafka(unittest.TestCase):
Test that no errors are thrown, and it doesn't hang when you send a message
"""
producer = HerokuKafkaProducer(**kafka_params)
- #producer.send(T... | Removed comment on producer.send | HubbleHQ_heroku-kafka | train | py |
6bbfd2b535727fbf9b09afd51f171c6b57dc109c | diff --git a/tasks/build.gulp.js b/tasks/build.gulp.js
index <HASH>..<HASH> 100644
--- a/tasks/build.gulp.js
+++ b/tasks/build.gulp.js
@@ -36,7 +36,7 @@ module.exports = function (gulp) {
projectRoot = process.cwd();
gulp.task('inject', function (callback) {
- sequence('inject-bower', 'inject-sty... | Moving config task to inject task, to run it in same sequence as other tasks that use inject | Nykredit_gript | train | js |
308c948552fa091ff97c5d97a965a7740fc4d4f3 | diff --git a/Repository/ResourceQueryBuilder.php b/Repository/ResourceQueryBuilder.php
index <HASH>..<HASH> 100644
--- a/Repository/ResourceQueryBuilder.php
+++ b/Repository/ResourceQueryBuilder.php
@@ -162,7 +162,7 @@ class ResourceQueryBuilder
$eol = PHP_EOL;
$clause = "{$eol}({$eol}";
- ... | [CoreBundle] Fixing the whereRoleIn method. | claroline_Distribution | train | php |
379bc38c1b08b727a2709634140f9d73ade21fca | diff --git a/tests/EasyDBTest.php b/tests/EasyDBTest.php
index <HASH>..<HASH> 100644
--- a/tests/EasyDBTest.php
+++ b/tests/EasyDBTest.php
@@ -39,6 +39,8 @@ abstract class EasyDBTest
*/
public function GoodFactoryCreateArgumentProvider()
{
+ switch (getenv('DB')) {
+ case false:
... | mark test as incomplete if we cannot determine appropriate arguments for ParagonIE\EasyDB\Factory::create() via getenv() | paragonie_easydb | train | php |
6095e776ea579bb3ef8c9aa38ec9802fb22d3d44 | diff --git a/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTest.php b/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTest.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTest.php
+++ b/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTe... | Minor docblock fixes/clarifications | Ocramius_ProxyManager | train | php |
f4d99fb5a5765b1895c2654081e92fc267021e2f | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,6 +12,8 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
year = datetime.datetime.now().strftime("%Y")
+sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir))
+
... | Add git root to python path for read the docs | Thermondo_viewflow-extensions | train | py |
e8f6a2a92f8525f1ab44307d84f4340bd73350ba | diff --git a/malcolm/modules/builtin/controllers/managercontroller.py b/malcolm/modules/builtin/controllers/managercontroller.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/builtin/controllers/managercontroller.py
+++ b/malcolm/modules/builtin/controllers/managercontroller.py
@@ -468,11 +468,12 @@ class ManagerCo... | Don't put .json in template design names | dls-controls_pymalcolm | train | py |
778d42044738a29c40d9e9c717847548b1f8686b | diff --git a/widgets/map/src/main/javascript/map.js b/widgets/map/src/main/javascript/map.js
index <HASH>..<HASH> 100644
--- a/widgets/map/src/main/javascript/map.js
+++ b/widgets/map/src/main/javascript/map.js
@@ -232,6 +232,10 @@ $(function () {
colorScale = d3.scale.linear().domain([min, max]).range... | NEON-<I> points layer is now sized based on range of data | NextCenturyCorporation_neon | train | js |
53de5541e585c13a25f42b9c4d88030c4405346e | diff --git a/src/input/input.js b/src/input/input.js
index <HASH>..<HASH> 100644
--- a/src/input/input.js
+++ b/src/input/input.js
@@ -524,6 +524,7 @@
'RIGHT' : 39,
'DOWN' : 40,
'ENTER' : 13,
+ 'TAB' : 9,
'SHIFT' : 16,
'CTRL' : 17,
'ALT' : 18, | added in tab key to the input bindings | melonjs_melonJS | train | js |
e5e4e17c4c33cca72c560e7f133a946dbc07d647 | diff --git a/lib/eventhub/heartbeat.rb b/lib/eventhub/heartbeat.rb
index <HASH>..<HASH> 100644
--- a/lib/eventhub/heartbeat.rb
+++ b/lib/eventhub/heartbeat.rb
@@ -36,7 +36,7 @@ module EventHub
heartbeat_cycle_in_ms: processor.heartbeat_cycle_in_s * 1000,
served_queues: [processor.listene... | fix: "ip_adresses" has to be "addresses" | thomis_eventhub-processor | train | rb |
53a16e1795a21fe3437456e89b3e827466e93bab | diff --git a/test/router.test.js b/test/router.test.js
index <HASH>..<HASH> 100644
--- a/test/router.test.js
+++ b/test/router.test.js
@@ -240,5 +240,6 @@ module.exports = {
app.match.get('/user/5/edit').should.have.length(2);
app.match.get('/').should.have.be.empty;
app.match.all('/user/123').should.hav... | Added app.match() as app.match.all() | expressjs_express | train | js |
e5fc2a16bf38cd493fc9ec8bd12cd0aa70bd823e | diff --git a/lib/hanami/router.rb b/lib/hanami/router.rb
index <HASH>..<HASH> 100644
--- a/lib/hanami/router.rb
+++ b/lib/hanami/router.rb
@@ -803,7 +803,9 @@ module Hanami
if inspect?
@inspector.add_route(
- Route.new(http_method: http_method, path: path, to: to, as: as, constraints: constra... | Fix block not given to the route when no `to` option (#<I>) | hanami_router | train | rb,rb |
1acd179d1355a4fa91a7d06d2d6547fb8a620f6a | diff --git a/actions/class.TestImport.php b/actions/class.TestImport.php
index <HASH>..<HASH> 100755
--- a/actions/class.TestImport.php
+++ b/actions/class.TestImport.php
@@ -36,7 +36,7 @@ class taoTests_actions_TestImport extends tao_actions_Import
* overwrite the parent index to add the requiresRight for Tests
... | fix: fix permissions to view buttons | oat-sa_extension-tao-test | train | php,php |
1c2414e526844a7196b75bec5f71d76c02eceecc | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -243,11 +243,15 @@ var CodeMirror = (function() {
},
getTokenAt: function(mode, state, ch) {
var txt = this.text, stream = new StringStream(txt);
- while (stream.pos <=... | revise getTokenAt to return token *before* the given pos
it now also returns the parser state at that position | codemirror_CodeMirror | train | js |
deeb58644a8c10375ef74c1263af3902ccc1e417 | diff --git a/lib/Predis/Protocols/Text/TextProtocol.php b/lib/Predis/Protocols/Text/TextProtocol.php
index <HASH>..<HASH> 100644
--- a/lib/Predis/Protocols/Text/TextProtocol.php
+++ b/lib/Predis/Protocols/Text/TextProtocol.php
@@ -79,11 +79,10 @@ class TextProtocol implements IProtocolProcessor {
retur... | Fix missing change that should have been part of commit cc<I>c. | imcj_predis | train | php |
988eda3155ee89bf94ea330c7b6a03ce3810164f | diff --git a/server/src/test/java/org/cloudfoundry/identity/uaa/web/CookieBasedCsrfTokenRepositoryTests.java b/server/src/test/java/org/cloudfoundry/identity/uaa/web/CookieBasedCsrfTokenRepositoryTests.java
index <HASH>..<HASH> 100644
--- a/server/src/test/java/org/cloudfoundry/identity/uaa/web/CookieBasedCsrfTokenRepo... | refactor: make protocol default explicit | cloudfoundry_uaa | train | java |
b208ee9d675f9bfaeb0612ff9113f5f1d20cf07e | diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/ClusterTool.java b/aeron-cluster/src/main/java/io/aeron/cluster/ClusterTool.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/main/java/io/aeron/cluster/ClusterTool.java
+++ b/aeron-cluster/src/main/java/io/aeron/cluster/ClusterTool.java
@@ -71,7 +71,14 @... | [Java] Javadoc for ClusterTool. | real-logic_aeron | train | java |
d93960c0caa13494355830007222adfe2feade92 | diff --git a/weld/src/main/java/org/jboss/as/weld/deployment/processors/WeldPortableExtensionProcessor.java b/weld/src/main/java/org/jboss/as/weld/deployment/processors/WeldPortableExtensionProcessor.java
index <HASH>..<HASH> 100644
--- a/weld/src/main/java/org/jboss/as/weld/deployment/processors/WeldPortableExtensionP... | WFLY-<I> Portable extensions that fail to load will prevent a deployment from completing | wildfly_wildfly | train | java |
ba480681387b4313e6e04458cecbaae4ea669282 | diff --git a/hey.go b/hey.go
index <HASH>..<HASH> 100644
--- a/hey.go
+++ b/hey.go
@@ -19,6 +19,7 @@ import (
"flag"
"fmt"
"io/ioutil"
+ "math"
"net/http"
gourl "net/url"
"os"
@@ -26,10 +27,9 @@ import (
"regexp"
"runtime"
"strings"
+ "time"
"github.com/rakyll/hey/requester"
- "math"
- "time"
)
... | Reorganize the imports in hey.go to be more go-style compliant (#<I>) | rakyll_hey | train | go |
b4e45e3d38e9e4ec721783e81280609e6dafdd3b | diff --git a/GiftedFormManager.js b/GiftedFormManager.js
index <HASH>..<HASH> 100644
--- a/GiftedFormManager.js
+++ b/GiftedFormManager.js
@@ -51,6 +51,13 @@ function doValidateOne(k = '', value = undefined, validators = {}) {
}
}
+ // Validator ONLY accepts string arguments.
+ if (clonedArg... | Make sure arguments to validator are ALWAYS strings
Fixes #<I>. | FaridSafi_react-native-gifted-form | train | js |
8e9a3ab12a78c518fac6dd917878fc3fc4f55b2a | diff --git a/lib/danger/commands/init.rb b/lib/danger/commands/init.rb
index <HASH>..<HASH> 100644
--- a/lib/danger/commands/init.rb
+++ b/lib/danger/commands/init.rb
@@ -93,7 +93,7 @@ module Danger
ui.pause 1
if considered_an_oss_repo?
- ui.say "#{@bot_name} does not need privilidged access to y... | Fixes typo in init.rb #trivial (#<I>)
`s/privilidged/privileged/` | danger_danger | train | rb |
2a3f475ff5abb510e9abe1af31a5a83b2066d86f | diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go
index <HASH>..<HASH> 100644
--- a/bridge/whatsapp/whatsapp.go
+++ b/bridge/whatsapp/whatsapp.go
@@ -293,7 +293,11 @@ func (b *Bwhatsapp) Send(msg config.Message) (string, error) {
if msg.ID != "" {
b.Log.Debugf("updating message with id %s", ms... | Make EditSuffix option actually work (whatsapp). Fixes #<I> (#<I>)
To keep it backwards compatible we keep the "(edited)" message when no
editsuffix is configured. | 42wim_matterbridge | train | go |
fd710a4d97ea227edd998948e97895163aed7a5b | diff --git a/core-bundle/contao/dca/tl_style.php b/core-bundle/contao/dca/tl_style.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/dca/tl_style.php
+++ b/core-bundle/contao/dca/tl_style.php
@@ -53,8 +53,7 @@ $GLOBALS['TL_DCA']['tl_style'] = array
'keys' => array
(
'id' => 'primary',
- 'pid' => ... | [Core] Remove the index from the `tl_style.selector` field (see #<I>) | contao_contao | train | php |
9cc9b3767645e35f92efbb6b2b36b6223901e09a | diff --git a/fundamentals/__version__.py b/fundamentals/__version__.py
index <HASH>..<HASH> 100644
--- a/fundamentals/__version__.py
+++ b/fundamentals/__version__.py
@@ -1 +1 @@
-__version__ = '1.6.2'
+__version__ = '1.6.3' | small update to hidden yaml warnings | thespacedoctor_fundamentals | train | py |
92b3a4f8f4d9f75ba5c384aa6961af2152ccb72b | diff --git a/discord/client.py b/discord/client.py
index <HASH>..<HASH> 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -165,7 +165,7 @@ class Client:
- All member related events will be disabled.
- :func:`on_member_update`
- :func:`on_member_join`
- ... | on_member_leave => on_member_remove | Rapptz_discord.py | train | py |
9908b4d23fc158bd879abbb19068c155705ead01 | diff --git a/views/js/runner/proxy/qtiServiceProxy.js b/views/js/runner/proxy/qtiServiceProxy.js
index <HASH>..<HASH> 100644
--- a/views/js/runner/proxy/qtiServiceProxy.js
+++ b/views/js/runner/proxy/qtiServiceProxy.js
@@ -43,21 +43,17 @@ define([
data: params,
async: true,
... | TestRunner: use done/fail instead of then while using jQuery Deffered | oat-sa_extension-tao-testqti | train | js |
a3f85ab606502297177844a5d8a4a7e43e7a6ef2 | diff --git a/synapse/cores/lmdb.py b/synapse/cores/lmdb.py
index <HASH>..<HASH> 100644
--- a/synapse/cores/lmdb.py
+++ b/synapse/cores/lmdb.py
@@ -20,6 +20,7 @@ import synapse.lib.threads as s_threads
import lmdb
import xxhash
+import msgpack
logger = logging.getLogger(__name__)
@@ -121,7 +122,7 @@ def _encIde... | Change how lmdb does propEnc encoding - drops the use of use_bin_type (which we do in msgenpack). This provides a consistent encoding for prop values across unicode/str types in python 2. Does not appear to have impact on existing cores for Python3. | vertexproject_synapse | train | py |
43098c505e77db8cbba63311eec80b40ed7b34d0 | diff --git a/nupic/algorithms/anomaly_likelihood.py b/nupic/algorithms/anomaly_likelihood.py
index <HASH>..<HASH> 100644
--- a/nupic/algorithms/anomaly_likelihood.py
+++ b/nupic/algorithms/anomaly_likelihood.py
@@ -152,6 +152,12 @@ class AnomalyLikelihood(object):
def _calcSkipRecords(numIngested, windowSize, learni... | Updated docstring in AnomalyLikelihood._calcSkipRecords() per Scott's code review feedback. | numenta_nupic | train | py |
84bb1cba26c58a322c40886d4f3e57444d4d5a29 | diff --git a/pkg/minikube/constants/constants.go b/pkg/minikube/constants/constants.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/constants/constants.go
+++ b/pkg/minikube/constants/constants.go
@@ -54,6 +54,8 @@ var SupportedVMDrivers = [...]string{
"kvm",
"xhyve",
"hyperv",
+ "hyperkit",
+ "kvm2",
}
var... | config: make hyperkit and kvm2 available as supported drivers | kubernetes_minikube | train | go |
9c16fe6f3c80c8fec1d24223e7b0cfd408b69957 | diff --git a/flake8_mypy.py b/flake8_mypy.py
index <HASH>..<HASH> 100644
--- a/flake8_mypy.py
+++ b/flake8_mypy.py
@@ -184,14 +184,22 @@ class MypyChecker:
# unexpected clashes with other .py and .pyi files in the same original
# directory.
with TemporaryDirectory(prefix='flake8mypy_') as d:
... | Make temp file creation Windows compatible
On Windows the temp file must be closed, otherwise mypy can't open it again.
Unfortunately, we then loose the nice to read `with` sugar and obviously
must call `os.remove` manually. | ambv_flake8-mypy | train | py |
2b3f064deae59b3409409bac4a4cbefbdabf0f66 | diff --git a/agent/features/support/hooks.rb b/agent/features/support/hooks.rb
index <HASH>..<HASH> 100644
--- a/agent/features/support/hooks.rb
+++ b/agent/features/support/hooks.rb
@@ -27,3 +27,7 @@ Before("@stderr") do
@stderr = StringIO.new
eval("$stderr = @stderr")
end
+
+After("@stdout") do
+ eval("... | not sure if we need these hooks | chetan_bixby-agent | train | rb |
70a94848065d52175b62706b840cb43e748a1a76 | diff --git a/godet.go b/godet.go
index <HASH>..<HASH> 100644
--- a/godet.go
+++ b/godet.go
@@ -246,13 +246,22 @@ func (remote *RemoteDebugger) socket() (ws *websocket.Conn) {
}
// Close the RemoteDebugger connection.
-func (remote *RemoteDebugger) Close() error {
- close(remote.closed)
- err := remote.ws.Close()
+f... | Tweaking Close() so that it support multiple closes | raff_godet | train | go |
8dc481a4fb013d7074df2206fb049cf00c3be12e | diff --git a/classes/Divergence/Controllers/RequestHandler.php b/classes/Divergence/Controllers/RequestHandler.php
index <HASH>..<HASH> 100644
--- a/classes/Divergence/Controllers/RequestHandler.php
+++ b/classes/Divergence/Controllers/RequestHandler.php
@@ -14,6 +14,8 @@ abstract class RequestHandler
protected stati... | Set $pathStack storage to RequestHandler instead of the no longer existant Site class | Divergence_framework | train | php |
c807f73640b8d7ddb6f6cee2c74973741cfd39a4 | diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/data.rb
+++ b/lib/discordrb/data.rb
@@ -1280,7 +1280,7 @@ module Discordrb
@bitrate = data['bitrate']
@user_limit = data['user_limit']
@position = data['position']
- @nsfw = data['nsfw']
... | default Channel#nsfw to false on initialization
This is an optional field that may or may not be present. Particularly
in GUILD_CREATE events for older guilds, it may be absent, and so channels
would have a `nil` nsfw property. Since it could not have been set to
`true`, we can default this to `false`. | meew0_discordrb | train | rb |
65d7ffa74f6c7c814d28bcdede0a0ac56a29f109 | diff --git a/framework/yii/web/View.php b/framework/yii/web/View.php
index <HASH>..<HASH> 100644
--- a/framework/yii/web/View.php
+++ b/framework/yii/web/View.php
@@ -15,6 +15,7 @@ use yii\web\AssetBundle;
use yii\widgets\Block;
use yii\widgets\ContentDecorator;
use yii\widgets\FragmentCache;
+use yii\base\InvalidCo... | Fixed View refactoring test breakage | yiisoft_yii2-debug | train | php |
26179ff2e4208d7e981679dcac55822027634b17 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup_args = dict(
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
- packages=['biofrills'],
+ packages=['biofril... | setup.py: include biofrills.stats sub-package | etal_biofrills | train | py |
f0781afdad9da6ed34ebf55e1808d03b1cbeb6f6 | diff --git a/support/tail.js b/support/tail.js
index <HASH>..<HASH> 100644
--- a/support/tail.js
+++ b/support/tail.js
@@ -70,7 +70,6 @@ window.mocha = require('mocha');
;(function(){
var suite = new mocha.Suite('', new mocha.Context)
, utils = mocha.utils
- , Reporter = mocha.reporters.HTML
$(function... | Added reporter to `mocha.run()` as argument | mochajs_mocha | train | js |
966f80ad2f18e1ea700e53ac00c0f6e2c6b84332 | diff --git a/lib/CORL/machine/physical.rb b/lib/CORL/machine/physical.rb
index <HASH>..<HASH> 100644
--- a/lib/CORL/machine/physical.rb
+++ b/lib/CORL/machine/physical.rb
@@ -34,7 +34,7 @@ class Physical < CORL.plugin_class(:machine)
#---
def hostname
- fact(:hostname)
+ fact(:fqdn)
end
#--- | Updating the physical machine provider to use the fqdn fact instead of hostname since it is more complete. | coralnexus_corl | train | rb |
b7ec30c25c169de7a567507884399b1b7027555a | diff --git a/vagrant.py b/vagrant.py
index <HASH>..<HASH> 100644
--- a/vagrant.py
+++ b/vagrant.py
@@ -29,6 +29,7 @@ Dependencies:
'''
import os
+import re
import subprocess
import sys
@@ -172,12 +173,15 @@ class Vagrant(object):
output = self._run_vagrant_command('status', vm_name)
# sys.stde... | Add support for vagrant <I>? at least for vagrant status output .. | todddeluca_python-vagrant | train | py |
c1e3914fd646e1bb12f5afdd719c326397c125ca | diff --git a/statik.go b/statik.go
index <HASH>..<HASH> 100644
--- a/statik.go
+++ b/statik.go
@@ -31,9 +31,7 @@ import (
"time"
)
-const (
- nameSourceFile = "statik.go"
-)
+const nameSourceFile = "statik.go"
var namePackage string
@@ -46,7 +44,7 @@ var (
flagTags = flag.String("tags", "", "Write bui... | Minor readability improvement and gofmt | rakyll_statik | train | go |
19049c54ad15abcfc16e889c900bf0052260f2af | diff --git a/hikaricp-common/src/main/java/com/zaxxer/hikari/HikariJNDIFactory.java b/hikaricp-common/src/main/java/com/zaxxer/hikari/HikariJNDIFactory.java
index <HASH>..<HASH> 100644
--- a/hikaricp-common/src/main/java/com/zaxxer/hikari/HikariJNDIFactory.java
+++ b/hikaricp-common/src/main/java/com/zaxxer/hikari/Hika... | Fix #<I> no need to initialize the CodaHaleShim in the JNDI factory | brettwooldridge_HikariCP | train | java |
5055a3e3d365fa7ee4dd2193ca7124e7cda4681d | diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php
index <HASH>..<HASH> 100644
--- a/mod/assignment/lib.php
+++ b/mod/assignment/lib.php
@@ -1072,7 +1072,8 @@ class assignment_base {
global $USER;
- if (!$feedback = data_submitted()) { // No incoming data?
+ //disable referer c... | fixed grading when secure forms on bug #<I>; merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
8a12e57f5a735d0d5704e050a4dc05119e2187fb | diff --git a/sacredboard/app/config/routes.py b/sacredboard/app/config/routes.py
index <HASH>..<HASH> 100644
--- a/sacredboard/app/config/routes.py
+++ b/sacredboard/app/config/routes.py
@@ -5,7 +5,7 @@ from pathlib import Path
from flask import Blueprint
from flask import current_app
from flask import render_templa... | Add redirect from / to /runs | chovanecm_sacredboard | train | py,py |
9e7ac64aef84ca60a2f1347ed53fdeb216f1b83e | diff --git a/ips_vagrant/commands/cmd_new.py b/ips_vagrant/commands/cmd_new.py
index <HASH>..<HASH> 100644
--- a/ips_vagrant/commands/cmd_new.py
+++ b/ips_vagrant/commands/cmd_new.py
@@ -205,5 +205,5 @@ def cli(ctx, name, dname, license_key, force, enable, ssl, spdy, gzip, cache, in
for filename in dirname... | (Bugfix) move shutil out of for loop | FujiMakoto_IPS-Vagrant | train | py |
fa7b80afc9566376aafa7cdc8c5ea34bc104f2ee | diff --git a/swifter/swifter_tests.py b/swifter/swifter_tests.py
index <HASH>..<HASH> 100644
--- a/swifter/swifter_tests.py
+++ b/swifter/swifter_tests.py
@@ -1,3 +1,4 @@
+import sys
import unittest
import subprocess
import time
@@ -147,7 +148,7 @@ class TestSwifter(unittest.TestCase):
def test_stdout_redirecte... | Use the current python executable in tests
Currently it is hard-coded to use the default python executable rather than the one you are currently using to run swifter. The default python may not have swifter installed for it. | jmcarpenter2_swifter | train | py |
571cfb0d66d859710cc6e2c8d53aaa7f676da1da | diff --git a/sklearn_porter/utils/Environment.py b/sklearn_porter/utils/Environment.py
index <HASH>..<HASH> 100644
--- a/sklearn_porter/utils/Environment.py
+++ b/sklearn_porter/utils/Environment.py
@@ -4,9 +4,9 @@ import os
import sys
try:
- from shutil import which
+ from shutil import which as _which
exce... | release/<I>: Make 'which' private | nok_sklearn-porter | train | py |
866cfb5ace784b0f73b9a65bb1e138661050c074 | diff --git a/lib/branch_io_cli/commands/report_command.rb b/lib/branch_io_cli/commands/report_command.rb
index <HASH>..<HASH> 100644
--- a/lib/branch_io_cli/commands/report_command.rb
+++ b/lib/branch_io_cli/commands/report_command.rb
@@ -43,7 +43,7 @@ module BranchIOCLI
cmd = "xcodebuild"
cmd = "#{cm... | Do not pass -project to xcodebuild if -workspace is present | BranchMetrics_branch_io_cli | train | rb |
99cf846cc18ed06a67605098d882d585210b4833 | diff --git a/djedi/plugins/img.py b/djedi/plugins/img.py
index <HASH>..<HASH> 100644
--- a/djedi/plugins/img.py
+++ b/djedi/plugins/img.py
@@ -1,6 +1,5 @@
import json
import six
-from PIL import Image
from django.utils.html import escape
from django.core.files.uploadedfile import InMemoryUploadedFile
from django i... | Move PIL Image import back into save method to avoid import errors | 5monkeys_djedi-cms | train | py |
f7396d387aa9c1b83859b079dfaa1c7749ff1269 | diff --git a/app/decorators/wallaby/resource_decorator.rb b/app/decorators/wallaby/resource_decorator.rb
index <HASH>..<HASH> 100644
--- a/app/decorators/wallaby/resource_decorator.rb
+++ b/app/decorators/wallaby/resource_decorator.rb
@@ -1,10 +1,4 @@
class Wallaby::ResourceDecorator
- def self.inherited(subclass)
- ... | don't use inherited, move the setup into initialize constructor for resource decorator | reinteractive_wallaby | train | rb |
a9250a5aac439a72f71c248de07f042674fb2076 | diff --git a/src/com/google/javascript/jscomp/DefaultPassConfig.java b/src/com/google/javascript/jscomp/DefaultPassConfig.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/DefaultPassConfig.java
+++ b/src/com/google/javascript/jscomp/DefaultPassConfig.java
@@ -190,6 +190,8 @@ public class DefaultP... | Move some passes into the compiler.
R=mwr,wwen,rrhett
DELTA=<I> (<I> added, <I> deleted, 4 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | java |
fc5c4c538e97d028bdd1c79dc0e553f99e46f21a | diff --git a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/LDAPConnectionService.java b/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/LDAPConnectionService.java
index <HASH>..<HASH> 100644
--- a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole... | GUACAMOLE-<I>: Don't close the connection after bind. | glyptodon_guacamole-client | train | java |
37ad97c2d4957bbe25671d0e4ef92688ff3a6176 | diff --git a/app/models/socializer/person.rb b/app/models/socializer/person.rb
index <HASH>..<HASH> 100644
--- a/app/models/socializer/person.rb
+++ b/app/models/socializer/person.rb
@@ -51,6 +51,7 @@ module Socializer
delegate :circles, to: :activity_object, allow_nil: true
delegate :comments, to: :activit... | delegate contacts to the activity_object | socializer_socializer | train | rb |
d103dfde913d4942b7746fe9a28670a6133426d0 | diff --git a/scan/route_params.go b/scan/route_params.go
index <HASH>..<HASH> 100644
--- a/scan/route_params.go
+++ b/scan/route_params.go
@@ -4,6 +4,7 @@ import (
"github.com/go-openapi/spec"
"strconv"
"strings"
+ "errors"
)
const (
@@ -99,6 +100,10 @@ func (s *setOpParams) Parse(lines []string) error {
k... | fixed "runtime error: invalid memory address or nil pointer dereference" when invalid signature for route provided | go-swagger_go-swagger | train | go |
cf24f4ea4f3d28d293d8e4a216f23d14bef52f15 | diff --git a/transactions/services/daemonservice.py b/transactions/services/daemonservice.py
index <HASH>..<HASH> 100644
--- a/transactions/services/daemonservice.py
+++ b/transactions/services/daemonservice.py
@@ -139,5 +139,5 @@ class RegtestDaemonService(BitcoinDaemonService):
def make_request(self, method, par... | Changed the command to generate new blocks for bitcoind > <I> | ascribe_transactions | train | py |
873ae4b57ac6db0c2a2e4717f8a79e4c26ef1cb3 | diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -4489,7 +4489,10 @@ def append(name,
text = _validate_str_list(text)
with salt.utils.fopen(name, 'rb') as fp_:
- slines = fp_.read().splitlines()
+ slines =... | Under Py3, decode what's read, from bytes to strings | saltstack_salt | train | py |
ab48b5a97596c00d657622cf78e973fcb7017043 | diff --git a/modeltranslation/management/commands/update_translation_fields.py b/modeltranslation/management/commands/update_translation_fields.py
index <HASH>..<HASH> 100644
--- a/modeltranslation/management/commands/update_translation_fields.py
+++ b/modeltranslation/management/commands/update_translation_fields.py
@... | Fixed verbosity switch, which is used as an int but was not coerced. | deschler_django-modeltranslation | train | py |
0630339e766d55907cf26c715ddb0abafdee4576 | diff --git a/sllurp/llrp_proto.py b/sllurp/llrp_proto.py
index <HASH>..<HASH> 100644
--- a/sllurp/llrp_proto.py
+++ b/sllurp/llrp_proto.py
@@ -778,8 +778,9 @@ def decode_ReaderEventNotification(data):
msg['ReaderEventNotificationData'] = ret
# Check the end of the message
- if len(body) > 0:
- ... | don't freak out about extra event notification data | ransford_sllurp | train | py |
b11e9544ea5e578ee6bce127d84817bc715ba098 | diff --git a/processing/src/main/java/io/druid/query/groupby/epinephelinae/Groupers.java b/processing/src/main/java/io/druid/query/groupby/epinephelinae/Groupers.java
index <HASH>..<HASH> 100644
--- a/processing/src/main/java/io/druid/query/groupby/epinephelinae/Groupers.java
+++ b/processing/src/main/java/io/druid/que... | GroupBy v2: Improve hash code distribution. (#<I>)
Without this transformation, distribution of hash % X is poor in general.
It is catastrophically poor when X is a multiple of <I> (many slots would
be empty). | apache_incubator-druid | train | java |
509df542641162e55707e654e876924681e1a310 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -825,7 +825,7 @@ Dat.prototype.createDiffStream = function (headA, headB, opts) {
obj.key = key.slice(i + 1)
obj.dataset = key.slice(0, i)
}
- obj.value = valueEncoding.decode(obj.value)
+ if (Buffer.i... | only decode buffers. fixes #<I> | maxogden_dat-core | train | js |
bec486ddd5ae3a6e0bf256f0c28e55449ddce793 | diff --git a/lib/jsi/util.rb b/lib/jsi/util.rb
index <HASH>..<HASH> 100644
--- a/lib/jsi/util.rb
+++ b/lib/jsi/util.rb
@@ -79,6 +79,7 @@ module JSI
end
module_function :ycomb
end
+ public
extend Util
module FingerprintHash | fix Util methods not being public on JSI module | notEthan_jsi | train | rb |
de72fe244089868ac95a78f9aed0631df88fd400 | diff --git a/src/transporters/tcp.js b/src/transporters/tcp.js
index <HASH>..<HASH> 100644
--- a/src/transporters/tcp.js
+++ b/src/transporters/tcp.js
@@ -178,6 +178,7 @@ class TcpTransporter extends Transporter {
*/
startTimers() {
this.gossipTimer = setInterval(() => this.sendGossipRequest(), Math.max(this.op... | unref tcp timers | moleculerjs_moleculer | train | js,js |
322ceddd86d131471655b9003df425c29bcd3460 | diff --git a/pandas/core/series.py b/pandas/core/series.py
index <HASH>..<HASH> 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1320,11 +1320,11 @@ copy : boolean, default False
argsorted = argsorted[::-1]
if na_last:
- n = sum(good)
+ n = good.sum()
... | BUG: don't use __builtin__.sum in Series.order, address GH #<I> | pandas-dev_pandas | train | py |
50226569da2b121ee3012a7cbe266df3c185212c | diff --git a/course/mod.php b/course/mod.php
index <HASH>..<HASH> 100644
--- a/course/mod.php
+++ b/course/mod.php
@@ -695,7 +695,7 @@
$defaultformat = FORMAT_MOODLE;
}
- $icon = '<img align="middle" height="16" width="16" src="'.$CFG->modpixpath.'/'.$module->name.'/icon.gif" alt="" style... | Removed align attribute. Related to MDL-<I>. | moodle_moodle | train | php |
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.