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 |
|---|---|---|---|---|---|
a49555a5453446b3ba6285644183e9f7fb64af8b | diff --git a/spec/mongoid/criteria_spec.rb b/spec/mongoid/criteria_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongoid/criteria_spec.rb
+++ b/spec/mongoid/criteria_spec.rb
@@ -395,7 +395,7 @@ describe Mongoid::Criteria do
context "chaining more than one scope" do
let(:criteria) do
- Person.accep... | Update spec not to check overwritten age | mongodb_mongoid | train | rb |
999aa7d94268b7374238e06839088d9fe14406c4 | diff --git a/src/Ractive.js b/src/Ractive.js
index <HASH>..<HASH> 100644
--- a/src/Ractive.js
+++ b/src/Ractive.js
@@ -40,6 +40,20 @@ export default function Ractive ( options ) {
initialise( this, options || {}, {} );
}
+// check to see if we're being asked to force Ractive as a global for some weird environments... | add a way to force ractive to register as a global - fixes #<I> | ractivejs_ractive | train | js |
af9c19ab7fa61cc4ed423d69f76bdce5b469d237 | diff --git a/spec/unit/type/augeas.rb b/spec/unit/type/augeas.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/type/augeas.rb
+++ b/spec/unit/type/augeas.rb
@@ -114,6 +114,8 @@ describe augeas do
end
it "should set the context when a specific file is used" do
+ fake_provider = stub_everythi... | Bug #<I> augeas spec fails if there is not a default provider
So I stubbed out the default provider. | puppetlabs_puppet | train | rb |
dbba6f10c867e64031ae07adb3d21becfe4a4e5a | diff --git a/law/contrib/cms/__init__.py b/law/contrib/cms/__init__.py
index <HASH>..<HASH> 100644
--- a/law/contrib/cms/__init__.py
+++ b/law/contrib/cms/__init__.py
@@ -5,9 +5,10 @@ CMS-related contrib package. https://home.cern/about/experiments/cms
"""
-__all__ = ["CMSJobDashboard", "BundleCMSSW"]
+__all__ = [... | Load utils in cms contrib package. | riga_law | train | py |
4520a53c37fd8ea7cc9126e1b8509518f227ccc1 | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -6,6 +6,8 @@ require 'minitest/autorun'
require 'ethereum'
require 'json'
+Logging.logger.root.level = :error
+
def fixture_root
File.expand_path('../../fixtures', __FILE__)
... | set logger level to error in tests | cryptape_ruby-ethereum | train | rb |
c823976827c782ecfc3fbc6c810c88c59237aedd | diff --git a/src/commands/seedJsonFile.php b/src/commands/seedJsonFile.php
index <HASH>..<HASH> 100644
--- a/src/commands/seedJsonFile.php
+++ b/src/commands/seedJsonFile.php
@@ -18,16 +18,17 @@ class seedJsonFile extends Command
public function __construct()
{
parent::__construct();
- $thi... | Update seedJsonFile.php | igaster_laravel_cities | train | php |
52e8598a96be9ffcfae44149fe3cd07c9966a404 | diff --git a/__snapshots__/mocha-snapshot-spec.js b/__snapshots__/mocha-snapshot-spec.js
index <HASH>..<HASH> 100644
--- a/__snapshots__/mocha-snapshot-spec.js
+++ b/__snapshots__/mocha-snapshot-spec.js
@@ -18,7 +18,7 @@ exports['captures mocha output 1'] = `
✓ works
- 1 passing (10ms)
+ 1 passing (<ti... | normalize mocha spec duration in snapshot | cypress-io_cypress | train | js,js |
df621371094ad0205d7878919c2414bf8916e624 | diff --git a/tx_people/models.py b/tx_people/models.py
index <HASH>..<HASH> 100644
--- a/tx_people/models.py
+++ b/tx_people/models.py
@@ -193,9 +193,6 @@ class Person(mixins.TimeTrackingMixin,
sort_name = fields.OptionalCharField(max_length=250)
email = fields.OptionalCharField(max_length=250)
gender = ... | Heeded advice to separate non-Popolo spec things from actual spec things | texas_tx_people | train | py |
8e6a0065e010a9b1d6681aaa42fb602cb7a5b3d8 | diff --git a/elki/src/main/java/de/lmu/ifi/dbs/elki/application/greedyensemble/ComputeKNNOutlierScores.java b/elki/src/main/java/de/lmu/ifi/dbs/elki/application/greedyensemble/ComputeKNNOutlierScores.java
index <HASH>..<HASH> 100644
--- a/elki/src/main/java/de/lmu/ifi/dbs/elki/application/greedyensemble/ComputeKNNOutli... | Safeguard against too large k for small data sets. | elki-project_elki | train | java |
449bdce1c7674fe166924e9d2085b292959c1eec | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ license: GNU-GPL2
from setuptools import setup
setup(name='arguments',
- version='54',
+ version='55',
description='Argument parser based on docopt',
url='https://github.com/erikdejonge... | Albert Pujols: We are made to know and love God.
Friday <I> June <I> (week:<I> day:<I>), <I>:<I>:<I> | erikdejonge_arguments | train | py |
4cd985e13e87a80e6df81260f4519e2e7fb38545 | diff --git a/toytree/Toytree.py b/toytree/Toytree.py
index <HASH>..<HASH> 100644
--- a/toytree/Toytree.py
+++ b/toytree/Toytree.py
@@ -390,9 +390,14 @@ class ToyTree:
# --------------------------------------------------------------------
# functions to modify the ete3 tree - MUST CALL ._coords.update()
#... | ladderize can take direction arg. Drop_tips can take no args and return same. | eaton-lab_toytree | train | py |
84b94c506fe0ff02b227cc87ced08e3ec110f92e | diff --git a/multilingual/translation.py b/multilingual/translation.py
index <HASH>..<HASH> 100644
--- a/multilingual/translation.py
+++ b/multilingual/translation.py
@@ -256,8 +256,11 @@ class Translation:
main_cls.get_translation = get_translation
main_cls.fill_translation_cache = fill_translation_c... | Fixed a bug that would cause DM to always load translation data with a separate query for each translatable model instance.
git-svn-id: <URL> | ojii_django-multilingual-ng | train | py |
b8fc784ca77200344256dad89fb98281ef89cdbd | diff --git a/dispatch/modules/content/models.py b/dispatch/modules/content/models.py
index <HASH>..<HASH> 100644
--- a/dispatch/modules/content/models.py
+++ b/dispatch/modules/content/models.py
@@ -1,6 +1,5 @@
import datetime
import StringIO
-import json
import os
import re
@@ -216,8 +215,9 @@ class Publishable(... | Don't try to delete null attachment | ubyssey_dispatch | train | py |
99126eed20761d73723670acb95e1d0d7205358b | diff --git a/generators/app/index.js b/generators/app/index.js
index <HASH>..<HASH> 100644
--- a/generators/app/index.js
+++ b/generators/app/index.js
@@ -94,6 +94,6 @@ module.exports = generators.Base.extend({
},
install: function () {
- this.installDependencies();
+ this.installDependencies({bower: fals... | Init git and skip bower install | sondr3_generator-statisk | train | js,js |
c690cd26bdb2fce15192b86bda582f9406842358 | diff --git a/hamster/stats.py b/hamster/stats.py
index <HASH>..<HASH> 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -246,7 +246,7 @@ class StatsViewer:
label.set_text(label_text)
label2 = self.get_widget("dayview_caption")
- label2.set_markup(_("<b>%s</b>") % (dayview_caption))
+ ... | some strings should remain untranslated
svn path=/trunk/; revision=<I> | projecthamster_hamster | train | py |
9f88ff3e30479b5cc2925636dfb6f38d93659c40 | diff --git a/test/topo_flavor/zookeeper.py b/test/topo_flavor/zookeeper.py
index <HASH>..<HASH> 100644
--- a/test/topo_flavor/zookeeper.py
+++ b/test/topo_flavor/zookeeper.py
@@ -6,7 +6,6 @@
import logging
import os
-import socket
import json
import server
@@ -24,9 +23,10 @@ class ZkTopoServer(server.TopoServer... | Make utils.hostname use CNAME too, not just ZkTopoServer.
Other Python tests such as reparent.py also need the hostname
to match the one seen by Vitess. | vitessio_vitess | train | py,py |
a26b617cc98eb02abec93586d2a2bcf93508ac04 | diff --git a/Lib/ufo2ft/markFeatureWriter.py b/Lib/ufo2ft/markFeatureWriter.py
index <HASH>..<HASH> 100644
--- a/Lib/ufo2ft/markFeatureWriter.py
+++ b/Lib/ufo2ft/markFeatureWriter.py
@@ -160,19 +160,21 @@ class MarkFeatureWriter(object):
# nothing to do, don't write empty feature
return
... | [markFeatureWriter] skip writing mark/mkmk feature if empty
sometimes empty blocks like this are emitted by the MarkFeatureWriter:
feature mkmk {
} mkmk;
feaLib silently ignores them, while MakeOTF crashes on them with syntax error.
<URL> | googlefonts_ufo2ft | train | py |
55cafc44e8793142dd525b5c4fbcbacd44c64369 | diff --git a/dipper/sources/IMPC.py b/dipper/sources/IMPC.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/IMPC.py
+++ b/dipper/sources/IMPC.py
@@ -2,6 +2,7 @@ import csv
import gzip
import re
import logging
+import os
from dipper.sources.Source import Source
from dipper.models.Assoc import Assoc
@@ -294,10 +... | IMPC.py - compare_checksums: only check files that exist locally | monarch-initiative_dipper | train | py |
4da7f7b2306b36b3af3c3316c643985ba0c37547 | diff --git a/conf.py b/conf.py
index <HASH>..<HASH> 100644
--- a/conf.py
+++ b/conf.py
@@ -137,7 +137,7 @@ html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "def... | removed not used _static path from Sphinx build | domnikl_DesignPatternsPHP | train | py |
0cf94a7ce3ba10064c41043d233a72eb3b194570 | diff --git a/app/Module/AncestorsChartModule.php b/app/Module/AncestorsChartModule.php
index <HASH>..<HASH> 100644
--- a/app/Module/AncestorsChartModule.php
+++ b/app/Module/AncestorsChartModule.php
@@ -47,7 +47,7 @@ class AncestorsChartModule extends AbstractModule implements ModuleChartInterfac
// Defaults
... | Fix number of generations in ancestors chart | fisharebest_webtrees | train | php |
e44d6d22eb30bab572be32893bba2c9dca017393 | diff --git a/app/assets/javascripts/jquery/active_scaffold.js b/app/assets/javascripts/jquery/active_scaffold.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/jquery/active_scaffold.js
+++ b/app/assets/javascripts/jquery/active_scaffold.js
@@ -932,8 +932,8 @@ var ActiveScaffold = {
if (send_form == 'r... | fix update_column method, compare send_form with as_form doesn't make sense | activescaffold_active_scaffold | train | js |
670707e17263f27f3a420542c08fcd02d721eb84 | diff --git a/astroid/brain/brain_numpy_core_umath.py b/astroid/brain/brain_numpy_core_umath.py
index <HASH>..<HASH> 100644
--- a/astroid/brain/brain_numpy_core_umath.py
+++ b/astroid/brain/brain_numpy_core_umath.py
@@ -4,7 +4,8 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
#... | Adds a note dealing with numpy version <I> and the __getattr__ method | PyCQA_astroid | train | py |
4eb3405df770c79f0823404a8934a7bf0b4bd5d9 | diff --git a/spacy/lemmatizer.py b/spacy/lemmatizer.py
index <HASH>..<HASH> 100644
--- a/spacy/lemmatizer.py
+++ b/spacy/lemmatizer.py
@@ -93,7 +93,6 @@ def lemmatize(string, index, exceptions, rules):
orig = string
string = string.lower()
forms = []
- forms.extend(exceptions.get(string, []))
oov... | Fix lemmatizer ordering, re Issue #<I> | explosion_spaCy | train | py |
782a596c8f01060d22b44151e9dbd60a8ef138d6 | diff --git a/lib/stripe.rb b/lib/stripe.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe.rb
+++ b/lib/stripe.rb
@@ -96,12 +96,12 @@ module Stripe
request_opts = {:verify_ssl => OpenSSL::SSL::VERIFY_PEER,
:ssl_ca_file => @ssl_bundle_path}
else
+ request_opts = {:verify_ssl => false... | Fix error when SSL verification is disabled.
Fixes #<I> | stripe_stripe-ruby | train | rb |
ef279436a754c5df26c1952ffb2d08eec0c9af57 | diff --git a/logback-classic/src/test/java/ch/qos/logback/classic/control/PackageTest.java b/logback-classic/src/test/java/ch/qos/logback/classic/control/PackageTest.java
index <HASH>..<HASH> 100644
--- a/logback-classic/src/test/java/ch/qos/logback/classic/control/PackageTest.java
+++ b/logback-classic/src/test/java/c... | - removed reference to previously deleted test | tony19_logback-android | train | java |
caa5f315c8a3a39f5c09fba7d96f36d21d315893 | diff --git a/src/Providers/ModuleProvider.php b/src/Providers/ModuleProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/ModuleProvider.php
+++ b/src/Providers/ModuleProvider.php
@@ -5,6 +5,7 @@ namespace TypiCMS\Modules\Files\Providers;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\ServicePro... | FileUpload replaced by FileUploader | TypiCMS_Files | train | php |
3ec9b7fb979c8fc97073fd97bff953e83d80ae9a | diff --git a/discord/ext/commands/formatter.py b/discord/ext/commands/formatter.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/formatter.py
+++ b/discord/ext/commands/formatter.py
@@ -160,7 +160,7 @@ class HelpFormatter:
try:
commands = self.command.commands if not self.is_cog() else se... | [commands] Make HelpFormatter ignore hidden commands for max_width. | Rapptz_discord.py | train | py |
e7bef369eefbf7b16df1d4bba9d8e71b9f5107a3 | diff --git a/Sockets/Factory.php b/Sockets/Factory.php
index <HASH>..<HASH> 100644
--- a/Sockets/Factory.php
+++ b/Sockets/Factory.php
@@ -7,7 +7,8 @@ use \Exception;
class Factory
{
- private $pollInterval = 0.01;
+ private $loop;
+ private $poller = null;
public function __construct(LoopInterface ... | Pass SelectPoller to each Socket | clue_php-socket-react | train | php |
0081f75ee8acc8c16fe3c165b7e41dacbbf14df5 | diff --git a/src/Illuminate/Database/MigrationServiceProvider.php b/src/Illuminate/Database/MigrationServiceProvider.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/MigrationServiceProvider.php
+++ b/src/Illuminate/Database/MigrationServiceProvider.php
@@ -171,10 +171,7 @@ class MigrationServiceProvider e... | Extract registerCreator method
Make it easier to register a custom creator. | laravel_framework | train | php |
8c42f61723981c93127e6d29c8cfd5f183eadb5b | diff --git a/lib/searchkick/logging.rb b/lib/searchkick/logging.rb
index <HASH>..<HASH> 100644
--- a/lib/searchkick/logging.rb
+++ b/lib/searchkick/logging.rb
@@ -232,10 +232,11 @@ module Searchkick
end
end
end
-Searchkick::Query.send(:prepend, Searchkick::QueryWithInstrumentation)
-Searchkick::Index.send(:pre... | Prepend no longer private [skip ci] | ankane_searchkick | train | rb |
5e8ac25869878fa7d8c55c60cd61cd26ccb67f75 | diff --git a/src/Renderer.js b/src/Renderer.js
index <HASH>..<HASH> 100644
--- a/src/Renderer.js
+++ b/src/Renderer.js
@@ -243,11 +243,17 @@ class Renderer {
};
// TODO: make state immutable?
- this._plugins.forEach(el => {
- if (el.plugin.hasObjects()) {
- el.plugin... | pass prev and next plugins to plugin render (#<I>) | 2gis_2gl | train | js |
57a4e638c2d4dde3d7e0475d04ebe7ae8c3a69b9 | diff --git a/lib/the86-client/version.rb b/lib/the86-client/version.rb
index <HASH>..<HASH> 100644
--- a/lib/the86-client/version.rb
+++ b/lib/the86-client/version.rb
@@ -1,5 +1,5 @@
module The86
module Client
- VERSION = "0.0.8"
+ VERSION = "1.0.0"
end
end | Incremented version to <I>. | sitepoint_the86-client | train | rb |
9befb321aaafca9998c69a9b1ea51c7be30fcde0 | diff --git a/examples/app.js b/examples/app.js
index <HASH>..<HASH> 100644
--- a/examples/app.js
+++ b/examples/app.js
@@ -4,6 +4,8 @@ var express = require('express');
var app = module.exports = express();
var MongoQS = require('../index');
+
+// Create a new Mongo QueryString parser
var qs = new MongoQS({
cus... | docs(examples): add comments to example application | Turistforeningen_node-mongo-querystring | train | js |
dfa2c8a53af94ebe86d95c740f50e9460f31aaf6 | diff --git a/src/UserAgent.php b/src/UserAgent.php
index <HASH>..<HASH> 100644
--- a/src/UserAgent.php
+++ b/src/UserAgent.php
@@ -9,6 +9,7 @@ use Innmind\Immutable\Str;
final class UserAgent implements UserAgentInterface
{
private $value;
+ private $string;
public function __construct(string $value)
... | leave the user agent intact when casting it to string | Innmind_Robots.txt | train | php,php |
33616600e45311997ebe8fcb4f8e472b25ea3619 | diff --git a/audio/vorbis/vorbis.go b/audio/vorbis/vorbis.go
index <HASH>..<HASH> 100644
--- a/audio/vorbis/vorbis.go
+++ b/audio/vorbis/vorbis.go
@@ -44,6 +44,8 @@ func (s *Stream) Seek(offset int64, whence int) (int64, error) {
}
// Length returns the size of decoded stream in bytes.
+//
+// If the source is not ... | audio/vorbis: test Length with a non-seekable source
Updates #<I> | hajimehoshi_ebiten | train | go,go |
c5d9f5abf11b520efaa8d5dec53db481197899e0 | diff --git a/tests/job_unittest.py b/tests/job_unittest.py
index <HASH>..<HASH> 100644
--- a/tests/job_unittest.py
+++ b/tests/job_unittest.py
@@ -369,6 +369,7 @@ class PrepareJobTestCase(unittest.TestCase, helpers.DbTestCase):
'TRUNCATION_LEVEL': '3',
'GMPE_TRUNCATION_TYPE': '1 Sided',
'GROU... | missed a file
Former-commit-id: d<I>be<I>ae<I>c7e8fdf<I>acd<I>e9da | gem_oq-engine | train | py |
4ff1cf37c8d3d5f0b6acddda5aaa38f4806f91eb | diff --git a/k8s.go b/k8s.go
index <HASH>..<HASH> 100644
--- a/k8s.go
+++ b/k8s.go
@@ -291,9 +291,9 @@ func (c *Client) CreateKubernetesCluster(cluster KubernetesCluster) (*Kubernetes
}
// DeleteKubernetesCluster deletes cluster
-func (c *Client) DeleteKubernetesCluster(clusterId string) (*http.Header, error) {
+fu... | Fix: Expect accepted status for k8s cluster deletion requests | profitbricks_profitbricks-sdk-go | train | go |
a0c0d983bf6df8e217956c63cb5c7de0b871ca61 | diff --git a/test/helper.rb b/test/helper.rb
index <HASH>..<HASH> 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -28,17 +28,21 @@ class Test::Unit::TestCase
include RR::Adapters::TestUnit
def dest_dir(*subdirs)
- File.join(File.dirname(__FILE__), 'dest', *subdirs)
+ test_dir('dest', *subdirs)
end
... | Using a test_dir helper method for tests. | jekyll_jekyll | train | rb |
5cd7396c6a0357b71e54d0861d07826b5fb6f854 | diff --git a/src/MUIDataTable.js b/src/MUIDataTable.js
index <HASH>..<HASH> 100644
--- a/src/MUIDataTable.js
+++ b/src/MUIDataTable.js
@@ -535,8 +535,6 @@ class MUIDataTable extends React.Component {
this.options.onRowsDelete(selectedRows);
}
- this.updateToolbarSelect(false);
-
this.setTableData(... | resolve bug in toolbarSelect | gregnb_mui-datatables | train | js |
1ab3031ae051a88beb82e3d0122476ecb7da60ad | diff --git a/assets/samples/sample_activity.rb b/assets/samples/sample_activity.rb
index <HASH>..<HASH> 100644
--- a/assets/samples/sample_activity.rb
+++ b/assets/samples/sample_activity.rb
@@ -16,7 +16,7 @@ class SampleActivity
:gravity => :center, :text_size => 48.0
butto... | * Catch Java exception in the Activity example. | ruboto_ruboto | train | rb |
559a2a0fab79c9396ee6a7d3f64ebd44397d35ef | diff --git a/src/engine/sequencer.js b/src/engine/sequencer.js
index <HASH>..<HASH> 100644
--- a/src/engine/sequencer.js
+++ b/src/engine/sequencer.js
@@ -88,11 +88,6 @@ Sequencer.prototype.startThread = function (thread) {
// Start showing run feedback in the editor.
this.runtime.glowBlock(currentBlockId, tr... | Remove redundant piece of code
The stack is pushed in after the thread finishes (`proceedThread`). | LLK_scratch-vm | train | js |
ef7fcdb2b4a0d6a3c121ba6ef0eec4fcb736b870 | diff --git a/includes/layouts.php b/includes/layouts.php
index <HASH>..<HASH> 100644
--- a/includes/layouts.php
+++ b/includes/layouts.php
@@ -477,7 +477,7 @@ function _carelib_is_post_layout_forced( $post_id = '' ) {
}
foreach ( $post_ids as $id ) {
- if ( $id === $post_id ) {
+ if ( (int) $id === (int) $post_... | Ensure post IDs are always integers | cipherdevgroup_carelib | train | php |
ae5497d34ace5336e1eacce89755276ef3ff05e9 | diff --git a/lib/instana/util.rb b/lib/instana/util.rb
index <HASH>..<HASH> 100644
--- a/lib/instana/util.rb
+++ b/lib/instana/util.rb
@@ -176,10 +176,14 @@ module Instana
end
if defined?(::Resque)
+ # Just because Resque is defined doesn't mean this is a resque process necessarily
+ ... | Extended application name detection (#<I>)
* Extended application name detection
* Don't run basename twice | instana_ruby-sensor | train | rb |
e38a2847b30a1a22d3615be231069c4a753d3d21 | diff --git a/rpc_differ/rpc_differ.py b/rpc_differ/rpc_differ.py
index <HASH>..<HASH> 100644
--- a/rpc_differ/rpc_differ.py
+++ b/rpc_differ/rpc_differ.py
@@ -66,6 +66,12 @@ projects between two RPC-OpenStack revisions.
help="Git repo storage directory (default: ~/.osa-differ)",
)
parser.add_argument... | Add argument for arbitrary rpc repo
This commit adds an argument, rpc-repo-url, so user-forked
repositories can be used for comparing commits. The default
for this argument is the offical rpc-openstack repository.
This might be useful for anyone who might doing revesion
release testing in a forked version of rpc-open... | rcbops_rpc_differ | train | py |
34db2b7caacefac2dd808b52a7f77d58ff6a8b69 | diff --git a/activerecord/lib/active_record/associations/has_many_association.rb b/activerecord/lib/active_record/associations/has_many_association.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/has_many_association.rb
+++ b/activerecord/lib/active_record/associations/has_many_associat... | remove count var
this change was unneccsary as nothing was gained from it | rails_rails | train | rb |
66e472039501efb41eeea7a45d69ada75dc337ba | diff --git a/scripts/devops_tasks/git_helper.py b/scripts/devops_tasks/git_helper.py
index <HASH>..<HASH> 100644
--- a/scripts/devops_tasks/git_helper.py
+++ b/scripts/devops_tasks/git_helper.py
@@ -30,6 +30,7 @@ EXCLUDED_PACKAGE_VERSIONS = {
'azure-communication-phonenumbers': '1.0.0',
'azure-communication-s... | disable regression testing for beta version of questionanswering (#<I>) | Azure_azure-sdk-for-python | train | py |
8922f64e923ea97231953997e8b12b186761b35d | diff --git a/lib/components/app/responsive-webapp.js b/lib/components/app/responsive-webapp.js
index <HASH>..<HASH> 100644
--- a/lib/components/app/responsive-webapp.js
+++ b/lib/components/app/responsive-webapp.js
@@ -118,7 +118,7 @@ class ResponsiveWebapp extends Component {
componentWillUnmount () {
// Rem... | refactor(webapp): remove no-op function arg
This was added in an attempt to silence an error/warning during debugging the upgrade to React <I>,
but the fix was a red herring (something else was the matter). | opentripplanner_otp-react-redux | train | js |
c45fefd52292f2defd89297b4c2da93d6e8014ec | diff --git a/commands.go b/commands.go
index <HASH>..<HASH> 100644
--- a/commands.go
+++ b/commands.go
@@ -24,6 +24,18 @@ func (a commandArgs) Arg(i int) string {
return a[i+2]
}
+func (a commandArgs) DebugPrint(prompt string) {
+ fmt.Printf("%s\n", prompt)
+ fmt.Printf("\tFull Command: %s\n", a.FullCommand())
+ f... | Add debug print for command args to help in debugging | jordwest_imap-server | train | go |
8a231f3f44ae3a31dfb498697df4deaf4a13b910 | diff --git a/ingreedypy.py b/ingreedypy.py
index <HASH>..<HASH> 100644
--- a/ingreedypy.py
+++ b/ingreedypy.py
@@ -268,7 +268,9 @@ class Ingreedy(NodeVisitor):
= "touches"
/ "touch"
- number
+ number = written_number space
+
+ written_number
= "a"
/ "an"
... | Issue with parsing of ingredients where description has prefix 'a' (#3) | scttcper_ingreedy-py | train | py,py |
8f7a397731707217ed73e83c268f8ba7539e858f | diff --git a/src/ExtendedPdo.php b/src/ExtendedPdo.php
index <HASH>..<HASH> 100644
--- a/src/ExtendedPdo.php
+++ b/src/ExtendedPdo.php
@@ -469,7 +469,9 @@ class ExtendedPdo extends PDO implements ExtendedPdoInterface
$sth = parent::prepare($statement, $options);
// for the placeholders we found, bin... | add note about question-mark placeholders and array quoting | auraphp_Aura.Sql | train | php |
30e4e8e406165f61dc207abf5685f83ff193f662 | diff --git a/src/physics/body.js b/src/physics/body.js
index <HASH>..<HASH> 100644
--- a/src/physics/body.js
+++ b/src/physics/body.js
@@ -75,8 +75,7 @@
this.collisionMask = me.collision.types.ALL_OBJECT;
/**
- * define the collision type of the body for collision fil... | Clarified documentation for the `setCollisionMask` function
to indicate how to properly disable collision for a given object | melonjs_melonJS | train | js |
d6de746ce8b42946f4446984f9f795eae4c771c7 | diff --git a/router/http.go b/router/http.go
index <HASH>..<HASH> 100644
--- a/router/http.go
+++ b/router/http.go
@@ -438,6 +438,7 @@ func (s *httpService) ServeHTTP(w http.ResponseWriter, req *http.Request) {
outreq.ProtoMajor = 1
outreq.ProtoMinor = 1
outreq.Close = false
+ outreq.Body = &fakeCloseReadCloser{o... | router: make request bodies stay open for retries
http.Transport will call Close() on any Request.Body after it encounters
any error. We are retrying the same request under certain circumstances
(dial errors in particular), so we need to keep the body open until
we're done retrying.
Fixes #<I>. | flynn_flynn | train | go |
ad3ed38e269550318ea2117e32e578848ec2f6f8 | diff --git a/app.php b/app.php
index <HASH>..<HASH> 100644
--- a/app.php
+++ b/app.php
@@ -4,7 +4,13 @@ $request = split('/', preg_replace('/^\//', '', preg_replace('/\/$/', '', preg_r
$action = array_pop($request);
$edit_mode = true; // determines whether we should go ahead and load index.php
$code_id = '';
-$ajax ... | Support CORS requests that don't have preflight | jsbin_jsbin | train | php |
6f7b96b93ba98abdc260c3e7549c0ee72f04298e | diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -1076,7 +1076,8 @@ module ActiveRecord
def _raise_record_not_destroyed
... | Update activerecord/lib/active_record/persistence.rb | rails_rails | train | rb |
dea055014394d440be5cc3fc9490fe13841ce5cd | diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -732,6 +732,13 @@ class MWorker(multiprocessing.Process):
raise
# catch all other exceptions, so we don't go defunct
except Exception as exc:
+ ... | Attempt to return errors to minions from Master
Right now for all exceptions on the master we handle the exception and reset the socket. This means the master doesn't die-- but we aren't being very nice to the minion, since we never sent a response. This means the minion has to wait until their max timeout. This way w... | saltstack_salt | train | py |
d40810c702ef3be06389243b3a361330c0afaf8b | diff --git a/lib/temple/html/fast.rb b/lib/temple/html/fast.rb
index <HASH>..<HASH> 100644
--- a/lib/temple/html/fast.rb
+++ b/lib/temple/html/fast.rb
@@ -21,7 +21,7 @@ module Temple
set_default_options :format => :xhtml,
:attr_wrapper => "'",
:autoclose => %... | rename join_delimiter to attr_delimiter | judofyr_temple | train | rb |
4e65908faf409e6ee5ff14118e399f043d92a2b2 | diff --git a/src/Orm/Entity.php b/src/Orm/Entity.php
index <HASH>..<HASH> 100755
--- a/src/Orm/Entity.php
+++ b/src/Orm/Entity.php
@@ -52,11 +52,14 @@ class Entity {
/**
* Removed field from object
- * @param string $field
+ * @param string|array $fields
* @return $this
*/
- public f... | Entity unset field - can supply array | devp-eu_tmcms-core | train | php |
24778553cd5499777492b8b81ad8a762a014f089 | diff --git a/src/Symfony/Component/HttpFoundation/RequestMatcher.php b/src/Symfony/Component/HttpFoundation/RequestMatcher.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/RequestMatcher.php
+++ b/src/Symfony/Component/HttpFoundation/RequestMatcher.php
@@ -70,13 +70,7 @@ class RequestMatcher i... | [HttpFoundation] simplified code | symfony_symfony | train | php |
2b2f30b80c785f0d8357f8ec642ee4e536402481 | diff --git a/lib/updater.js b/lib/updater.js
index <HASH>..<HASH> 100644
--- a/lib/updater.js
+++ b/lib/updater.js
@@ -78,7 +78,10 @@ var Updater = function(options) {
function(callback) {
plot.emptyNotified = now;
plot.save(callback);
- ... | Empty plots are taking up the whole plot queue | e14n_pump.io-client-app | train | js |
4f9adfe208b20121bd653bfddd269be658ff9699 | diff --git a/packages/app-frontend/src/features/apps/index.js b/packages/app-frontend/src/features/apps/index.js
index <HASH>..<HASH> 100644
--- a/packages/app-frontend/src/features/apps/index.js
+++ b/packages/app-frontend/src/features/apps/index.js
@@ -26,6 +26,8 @@ export function useApps () {
watch(currentAppI... | fix(app): not selecting on initial mount | vuejs_vue-devtools | train | js |
0e35ffb4fb15b2fac75606370179d12beae454cf | diff --git a/django_extensions/utils/uuid.py b/django_extensions/utils/uuid.py
index <HASH>..<HASH> 100644
--- a/django_extensions/utils/uuid.py
+++ b/django_extensions/utils/uuid.py
@@ -506,8 +506,8 @@ def uuid1(node=None, clock_seq=None):
def uuid3(namespace, name):
"""Generate a UUID from the MD5 hash of a n... | removed sha1/md5 import in favor of hashlib | django-extensions_django-extensions | train | py |
775342d1b5ddcbf412fcf0605b239580dcdd22ad | diff --git a/spec/link_shrink/config_spec.rb b/spec/link_shrink/config_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/link_shrink/config_spec.rb
+++ b/spec/link_shrink/config_spec.rb
@@ -15,7 +15,13 @@ describe LinkShrink::Config do
describe '#api' do
it 'sets api' do
link_shrink.api = LinkShrink::Shrink... | Update config_spec to test fallback | jonahoffline_link_shrink | train | rb |
572d63a38198d35ef68a9e6e0a2473e55bd5006d | diff --git a/Neos.Flow/Classes/Persistence/Doctrine/Service.php b/Neos.Flow/Classes/Persistence/Doctrine/Service.php
index <HASH>..<HASH> 100644
--- a/Neos.Flow/Classes/Persistence/Doctrine/Service.php
+++ b/Neos.Flow/Classes/Persistence/Doctrine/Service.php
@@ -606,7 +606,7 @@ class Service
<?php
namespace $namespac... | TASK: Change generated use to new AbstractCLass
Exchange
`use Doctrine\DBAL\Migrations\AbstractMigration;`
(deprecated since Doctrine/Dbal <I>)
with
`use Doctrine\Migrations\AbstractMigration; | neos_flow-development-collection | train | php |
0e9b7ac9d1dbf9b892b94b0b538443c4f1814b1f | diff --git a/example_cookie/main.go b/example_cookie/main.go
index <HASH>..<HASH> 100644
--- a/example_cookie/main.go
+++ b/example_cookie/main.go
@@ -2,7 +2,7 @@ package main
import (
"github.com/gin-contrib/sessions"
- "github.com/gin-gonic/gin"
+ "gopkg.in/gin-gonic/gin.v1"
)
func main() {
diff --git a/exam... | Use gopkg.in in examples | gin-contrib_sessions | train | go,go |
8d88b1f4d7d2ffce722bd9e9e6ea0d742d09b4db | diff --git a/validator/webapp.py b/validator/webapp.py
index <HASH>..<HASH> 100644
--- a/validator/webapp.py
+++ b/validator/webapp.py
@@ -47,7 +47,7 @@ def detect_webapp_raw(err, webapp):
if "name" in webapp and len(webapp["name"]) > 9:
err.warning(
err_id=("webapp", "b2g", "name_truncat... | Missed one, oops. | mozilla_amo-validator | train | py |
0312d967c86cb1e640b74ed82f231f09645c432c | diff --git a/src/Pux/Executor.php b/src/Pux/Executor.php
index <HASH>..<HASH> 100644
--- a/src/Pux/Executor.php
+++ b/src/Pux/Executor.php
@@ -12,17 +12,20 @@ class Executor
*/
public static function execute($route)
{
- $cb = $route[2]; /* get callback */
+ list($pcre,$pattern,$cb,$option... | Add constructor_args paraemter support for executor | c9s_Pux | train | php |
1d70ee43ff7cb1fa84564cd4bc1f16a6c67f05f8 | diff --git a/Command/StopWorkerCommand.php b/Command/StopWorkerCommand.php
index <HASH>..<HASH> 100644
--- a/Command/StopWorkerCommand.php
+++ b/Command/StopWorkerCommand.php
@@ -38,7 +38,7 @@ class StopWorkerCommand extends ContainerAwareCommand
$output->writeln($worker->getId());
... | Display warning If there are no running workers and you try to stop them
Before this PR there would be no output if you attempted to stop all workers, when there were no active workers.
After this PR you get told there are no running workers to stop
Also fixes some english :-) | resquebundle_resque | train | php |
cbcf835ddad6d9d2a4cd6f99bd848a2169b026bc | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -497,6 +497,10 @@ function runTests (options) {
it('should check ignore after stating', function(done) {
var testDir = getFixturePath('subdir');
var spy = sinon.spy();
+ try {fs.mkdirSync(testDir, 0... | Create fixtures prior to starting watcher
This test worked before by exploiting an inefficiency in chokidar (an
unnecessary fs.realpath call), which was removed in the prior commit.
This could also be made to work by adding a delay between creating
watcher, and writing the fixtures, but dealing with watching previousl... | paulmillr_chokidar | train | js |
77bd7eaedea1ab7fb2112e070435091eeb4e7c36 | diff --git a/core/dnsserver/zdirectives.go b/core/dnsserver/zdirectives.go
index <HASH>..<HASH> 100644
--- a/core/dnsserver/zdirectives.go
+++ b/core/dnsserver/zdirectives.go
@@ -41,6 +41,7 @@ var Directives = []string{
"proxy",
"erratic",
"whoami",
+ "on",
"startup",
"shutdown",
}
diff --git a/core/plugin/z... | Add on plugin (#<I>)
Enable this Caddy plugin by default. Docs will go up coredns.io for this
as well.
See <URL> | coredns_coredns | train | go,go,cfg |
a442c01e57af2fc09d4ff794883f8d08629c0ce6 | diff --git a/php/lib/GrabzItClient.class.php b/php/lib/GrabzItClient.class.php
index <HASH>..<HASH> 100644
--- a/php/lib/GrabzItClient.class.php
+++ b/php/lib/GrabzItClient.class.php
@@ -73,7 +73,7 @@ class GrabzItClient
}
/*
- This method creates an encryption key to pass to the encryption key parameter.
+ ... | Added encrypted captures to the PHP API | GrabzIt_grabzit | train | php |
f1a9181a3f3f9af4e6d58e2eaecccd5076744fd3 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/document/ODocumentFieldWalker.java b/core/src/main/java/com/orientechnologies/orient/core/db/document/ODocumentFieldWalker.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/db/document/ODocumentFieldWalker.jav... | fixed bug on link rewrite in case of embedded document, issue #<I>, test missing | orientechnologies_orientdb | train | java |
b01b073e85d29fb547c238919dc8d545ffbe917f | diff --git a/src/Head/AttributeTrait.php b/src/Head/AttributeTrait.php
index <HASH>..<HASH> 100644
--- a/src/Head/AttributeTrait.php
+++ b/src/Head/AttributeTrait.php
@@ -30,11 +30,6 @@ trait AttributeTrait
public function withAttribute($key, $value) {
$newAttributes = $this->attributes->withAttribute($ke... | Remove hard to test micro-optimizations. | Crell_HtmlModel | train | php,php |
3557a1314778d09f638bab9dbc5b05c49e537357 | diff --git a/src/ol/renderer/canvas/TileLayer.js b/src/ol/renderer/canvas/TileLayer.js
index <HASH>..<HASH> 100644
--- a/src/ol/renderer/canvas/TileLayer.js
+++ b/src/ol/renderer/canvas/TileLayer.js
@@ -108,6 +108,16 @@ class CanvasTileLayerRenderer extends CanvasLayerRenderer {
/**
* @inheritDoc
*/
+ loade... | Only consider child range with drawable tiles | openlayers_openlayers | train | js |
046490972d0277d5b60da945f7f246ad1f5b48d7 | diff --git a/src/observatoryControl/main.py b/src/observatoryControl/main.py
index <HASH>..<HASH> 100755
--- a/src/observatoryControl/main.py
+++ b/src/observatoryControl/main.py
@@ -156,7 +156,7 @@ if "clippingRegion" not in obstory_status:
db.register_obstory_metadata(obstory_name=obstory_name,
... | Fixed bug that if clipping region data goes missing from MySQL observatory goes into infinite fail loop | camsci_meteor-pi | train | py |
615ec2b10266f39c6d78b76bfbba52914376bb12 | diff --git a/features/support/env.rb b/features/support/env.rb
index <HASH>..<HASH> 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -9,7 +9,6 @@ require_relative 'executor'
Before do
FileUtils.mkdir_p(expand_path('.'))
- FileUtils.cp_r('examples', expand_path('.'))
# Use InProcess test... | Do not copy examples over (causes warning in cookbooks_path) | chefspec_chefspec | train | rb |
60e272b90df1b26dee8309017fcaaf3cb9c5e081 | diff --git a/lib/setupHttpRoutes.js b/lib/setupHttpRoutes.js
index <HASH>..<HASH> 100644
--- a/lib/setupHttpRoutes.js
+++ b/lib/setupHttpRoutes.js
@@ -59,6 +59,14 @@ function errorResponse(error, res){
}
function setupHttpRoutes(server, skynet){
+
+ server.opts('/data', function(req,res){
+ res.header('Access... | added more CORS logic to support mobile app | octoblu_meshblu | train | js |
211dde287223d7c99d353f0750e649cdfd653845 | diff --git a/resource_aws_sns_topic.go b/resource_aws_sns_topic.go
index <HASH>..<HASH> 100644
--- a/resource_aws_sns_topic.go
+++ b/resource_aws_sns_topic.go
@@ -47,7 +47,10 @@ func resourceAwsSnsTopic() *schema.Resource {
ForceNew: false,
Computed: true,
StateFunc: func(v interface{}) string {
- js... | Fix panic I see when upgrading to <I>
Check if the policy is nil or not before type casting it | terraform-providers_terraform-provider-aws | train | go |
44f7325a9138aebf800ada92277505d65a6a9f9e | diff --git a/lib/devise/models/authenticatable.rb b/lib/devise/models/authenticatable.rb
index <HASH>..<HASH> 100644
--- a/lib/devise/models/authenticatable.rb
+++ b/lib/devise/models/authenticatable.rb
@@ -1,6 +1,5 @@
# frozen_string_literal: true
-require 'active_model/version'
require 'devise/hooks/activatable'
... | Remove unneeded require
The code that was using that constant is not being used anymore.
Closes #<I> | plataformatec_devise | train | rb |
344ddbc8e112b3958860943f52f9bcfd3f1f0c86 | diff --git a/suds/bindings/document.py b/suds/bindings/document.py
index <HASH>..<HASH> 100644
--- a/suds/bindings/document.py
+++ b/suds/bindings/document.py
@@ -68,7 +68,7 @@ class Document(Binding):
# how they would be affected by this change.
# * If caller actually wishes to pass an ... | Fix IndexError occurring when we have a single web service operation parameter. | ovnicraft_suds2 | train | py |
2e1fd69af9a38a74fc5fee8dd54807bda7d4325c | diff --git a/v2/websocket/api.go b/v2/websocket/api.go
index <HASH>..<HASH> 100644
--- a/v2/websocket/api.go
+++ b/v2/websocket/api.go
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
+ "github.com/bitfinexcom/bitfinex-api-go/pkg/models/fundingloan"
"github.com/bitfinexcom/bitfinex-api-go/v2"
)
@@ -223,12 +224,12 @@... | v2/websocket/api.go putting new fundingloan package to work | bitfinexcom_bitfinex-api-go | train | go |
efc1328410ee009f109f93288a48e690ed550a3c | diff --git a/lib/beanstalkd_view/server.rb b/lib/beanstalkd_view/server.rb
index <HASH>..<HASH> 100644
--- a/lib/beanstalkd_view/server.rb
+++ b/lib/beanstalkd_view/server.rb
@@ -6,7 +6,7 @@ module BeanstalkdView
root = File.dirname(File.expand_path(__FILE__))
set :root, root
- set :views, "#{root}/view... | Support views path override by ENV. It can be helpfull if one wants to make own looking table. | denniskuczynski_beanstalkd_view | train | rb |
38721a5e9e6bfc3bda835602fa0171673f7a85b1 | diff --git a/common.go b/common.go
index <HASH>..<HASH> 100644
--- a/common.go
+++ b/common.go
@@ -1,7 +1,9 @@
package syslogparser
import (
+ "fmt"
"strconv"
+ "strings"
)
const (
@@ -149,3 +151,9 @@ func parseHostname(buff []byte, cursor *int, l int) (string, error) {
return string(hostname), nil
}
+
+... | Added showCursorPos
Useful for debugging | mcuadros_go-syslog | train | go |
eb1734a896670cabe056b71bc5829fe25c6789d9 | diff --git a/core/src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java b/core/src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java
+++ b/core/src/main/java/com/ibm/watson/... | fix bugs when different authentication of each instance of same service if there is vcapserices environment. | watson-developer-cloud_java-sdk | train | java |
40c78e6227fee077934bff8ed66ce00ddde7fafa | diff --git a/molgenis-app/src/main/java/org/molgenis/app/WebAppSecurityConfig.java b/molgenis-app/src/main/java/org/molgenis/app/WebAppSecurityConfig.java
index <HASH>..<HASH> 100644
--- a/molgenis-app/src/main/java/org/molgenis/app/WebAppSecurityConfig.java
+++ b/molgenis-app/src/main/java/org/molgenis/app/WebAppSecur... | Remove unnecessary access decision path for fdp (already handled by /api) | molgenis_molgenis | train | java |
2ff8afdfb43566638d697aa469b338973ef56227 | diff --git a/panflute/tools.py b/panflute/tools.py
index <HASH>..<HASH> 100644
--- a/panflute/tools.py
+++ b/panflute/tools.py
@@ -13,7 +13,6 @@ import sys
import json
import yaml
import shlex
-import shutil
# shutil.which: new in version 3.3
try:
@@ -92,7 +91,7 @@ def run_pandoc(text='', args=None):
if arg... | tools.py: simplifies import which | sergiocorreia_panflute | train | py |
0a638a697c4bb1951a4cd8caec0f4008052dcc00 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ from setuptools import setup, find_packages
setup(
name='blockstack-profiles',
- version='0.4.3',
+ version='0.4.4',
url='https://github.com/blockstack/blockstack-profiles-py',
license='MIT... | version bump; depend on blockstack-zones instead of zone-file | blockstack-packages_blockstack-profiles-py | train | py |
658bc30994a6652b795dd1231b6ab8fa81280bde | diff --git a/ykman/driver_otp.py b/ykman/driver_otp.py
index <HASH>..<HASH> 100644
--- a/ykman/driver_otp.py
+++ b/ykman/driver_otp.py
@@ -28,6 +28,7 @@
from __future__ import absolute_import
import six
+import sys
import time
from .native.ykpers import Ykpers
from ctypes import sizeof, byref, c_int, c_uint, c_s... | Workaround for yk_get_errno() on Windows. | Yubico_yubikey-manager | train | py |
64241330937fa9832d0910ea87b5377bc82cb4c1 | diff --git a/symphony/content/content.systemauthors.php b/symphony/content/content.systemauthors.php
index <HASH>..<HASH> 100644
--- a/symphony/content/content.systemauthors.php
+++ b/symphony/content/content.systemauthors.php
@@ -54,7 +54,7 @@
$td1 = Widget::TableData($a->getFullName(), 'inactive');
}
-... | Found an emancipated string | symphonycms_symphony-2 | train | php |
edb459e3af748f615963abd903dbab842b23afb0 | diff --git a/pysat/tests/test_avg.py b/pysat/tests/test_avg.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_avg.py
+++ b/pysat/tests/test_avg.py
@@ -302,3 +302,16 @@ class TestSeasonalAverageUnevenBins:
assert self.testInst.data['dummy1'].size*32 == sum([ sum(i) for i in results['dummy1']['count'] ])
... | added non monotonic testing for uneven bins | rstoneback_pysat | train | py |
b55d733ac08f92829b8877603883304d76453f2d | diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/ternPlugins/quickfixes.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/ternPlugins/quickfixes.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/ternPlugins/quickfixes.js
+++ b/bundles/or... | Bug <I> - Remove extra comma quick fix breaks file | eclipse_orion.client | train | js |
af21e2c0dcd7cb5b3d530a1a1fd100fb76729108 | diff --git a/lib/kpeg.rb b/lib/kpeg.rb
index <HASH>..<HASH> 100644
--- a/lib/kpeg.rb
+++ b/lib/kpeg.rb
@@ -60,7 +60,9 @@ module KPeg
m.move! ans, pos
- if lr.detected
+ # Don't bother trying to grow the left recursion
+ # if it's failing straight away (thus there is no seed)
+ i... | Minor optimization, don't grow if there is a failure | evanphx_kpeg | train | rb |
7481bc15db018b8baf5ddec7936623b21e678f18 | diff --git a/librosa/core/spectrum.py b/librosa/core/spectrum.py
index <HASH>..<HASH> 100644
--- a/librosa/core/spectrum.py
+++ b/librosa/core/spectrum.py
@@ -928,10 +928,6 @@ def fmt(y, t_min=0.5, n_fmt=None, kind='slinear', beta=0.5, over_sample=1, axis=
endpoint=False,
... | trying to remove clipping in fmt sample coordinates | librosa_librosa | train | py |
56637774df9b1801ef8b381d92addad8408f2fd2 | diff --git a/js/bam/bamTrack.js b/js/bam/bamTrack.js
index <HASH>..<HASH> 100755
--- a/js/bam/bamTrack.js
+++ b/js/bam/bamTrack.js
@@ -39,6 +39,7 @@ var igv = (function (igv) {
this.label = config.label || "";
this.id = config.id || this.label;
this.height = config.height || 400;
+ thi... | Adjust bam track height based on # alignment depth | igvteam_igv.js | train | js |
68b64f5279f921b0a6cfaa5bddae308f3c1dbaa9 | diff --git a/lib/responses/methods/index.js b/lib/responses/methods/index.js
index <HASH>..<HASH> 100644
--- a/lib/responses/methods/index.js
+++ b/lib/responses/methods/index.js
@@ -256,8 +256,6 @@ module.exports = {
console.trace('400', req.path);
}
- log.warn('Bad request:', data);
-
if (!data)... | remove uneed log.warn from bad request response method | wejs_we-core | train | js |
bd74424eceaa5f108ec8c89f70cc2fa98d0b0d67 | diff --git a/spec/integration/global_networking/migrating_to_cloud_config_spec.rb b/spec/integration/global_networking/migrating_to_cloud_config_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/global_networking/migrating_to_cloud_config_spec.rb
+++ b/spec/integration/global_networking/migrating_to_cloud_conf... | Fix migration test to get vms for one deployment only | cloudfoundry_bosh | train | rb |
bcbbc5122f028dc3e483f41006e00f00d8fc27db | diff --git a/src/CacheScraper.php b/src/CacheScraper.php
index <HASH>..<HASH> 100644
--- a/src/CacheScraper.php
+++ b/src/CacheScraper.php
@@ -42,11 +42,16 @@ class CacheScraper extends SuperScraper
return $this->cache_dir;
}
+ public function cacheFilename($url, $post, $JSON)
+ {
+ return ... | Created method for providing cache filename based on request parameters. | projectivemotion_php-scraper-tools | train | php |
6bda4f00b6787e645bcb54e5246e3273655879b2 | diff --git a/lib/wavefront-sdk/mixins.rb b/lib/wavefront-sdk/mixins.rb
index <HASH>..<HASH> 100644
--- a/lib/wavefront-sdk/mixins.rb
+++ b/lib/wavefront-sdk/mixins.rb
@@ -30,3 +30,31 @@ module Wavefront
end
end
end
+
+# Extensions to the Hash class
+#
+class Hash
+
+ # Convert a tag hash into a string. The qu... | move stdlib extensions to mixins | snltd_wavefront-sdk | train | rb |
66d34258414b7ab6d178e6c1a41b86e4bc79d46b | diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php
index <HASH>..<HASH> 100644
--- a/lib/Parser/XML.php
+++ b/lib/Parser/XML.php
@@ -88,27 +88,59 @@ class XML extends Parser {
);
$parentComponent->add($property);
- /*
+ ... | !xml Implement the `geo` property. | sabre-io_vobject | train | php |
5bff93960815a92050e2cc4ce13873068bd69e03 | diff --git a/scot/datatools.py b/scot/datatools.py
index <HASH>..<HASH> 100644
--- a/scot/datatools.py
+++ b/scot/datatools.py
@@ -29,9 +29,8 @@ def cut_segments(rawdata, tr, start, stop):
Returns
-------
- x : array
- Segments cut from `rawdata`. Individual segments are stacked along the
- ... | Added shape of output array in docstring | scot-dev_scot | train | py |
2474ad2deb6eb9724100283d3bc7ef3f78c31821 | diff --git a/modules/culture.js b/modules/culture.js
index <HASH>..<HASH> 100644
--- a/modules/culture.js
+++ b/modules/culture.js
@@ -171,7 +171,7 @@ define([
'DAY': standardCalendar.days.names,
"ERANAMES": eras,
"ERAS": eras,
- "FIRSTDA... | Transform firstDayWeek from javascript format to ISO-<I> | w20-framework_w20 | 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.