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 |
|---|---|---|---|---|---|
47c07d406ac102d3108f8d6869ce6b77db742219 | diff --git a/app/controllers/tr8n/phrases_controller.rb b/app/controllers/tr8n/phrases_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/tr8n/phrases_controller.rb
+++ b/app/controllers/tr8n/phrases_controller.rb
@@ -41,7 +41,7 @@ class Tr8n::PhrasesController < Tr8n::BaseController
end
end
... | made phrases list in reversed chronological order | berk_tr8n | train | rb |
930fe39089ae12e7ae8e6f8cb17f8b1e837a69fd | diff --git a/src/Commands/CrudApiCommand.php b/src/Commands/CrudApiCommand.php
index <HASH>..<HASH> 100644
--- a/src/Commands/CrudApiCommand.php
+++ b/src/Commands/CrudApiCommand.php
@@ -91,6 +91,7 @@ class CrudApiCommand extends Command
$fieldsArray = explode(';', $fields);
$fillableArray = [];
+ ... | Fix undefined $migrationFields | appzcoder_crud-generator | train | php |
93f035a4230b19e59eb3e48ed99edae41145518d | diff --git a/test/test_iron_mq.rb b/test/test_iron_mq.rb
index <HASH>..<HASH> 100644
--- a/test/test_iron_mq.rb
+++ b/test/test_iron_mq.rb
@@ -261,7 +261,7 @@ class IronMQTests < TestBase
assert_raise Rest::HttpError do
# should raise a 404
- m = queue.get
+ m = queue.size
end
# crea... | Changed query to get queue info. | iron-io_iron_mq_ruby | train | rb |
7432ac6ee40241f442a9d1e891ddce6e67e209c3 | diff --git a/edisgo/flex_opt/reinforce_measures.py b/edisgo/flex_opt/reinforce_measures.py
index <HASH>..<HASH> 100644
--- a/edisgo/flex_opt/reinforce_measures.py
+++ b/edisgo/flex_opt/reinforce_measures.py
@@ -387,13 +387,20 @@ def reinforce_branches_overvoltage(network, grid, crit_nodes):
# )... | Attempted calculation of number of parallel lines in case of voltage issues | openego_eDisGo | train | py |
f7c2d97147e89c3c2f835884ad2e3ad555753f59 | diff --git a/classes/fields/file.php b/classes/fields/file.php
index <HASH>..<HASH> 100644
--- a/classes/fields/file.php
+++ b/classes/fields/file.php
@@ -145,7 +145,7 @@ class PodsField_File extends PodsField {
'label' => __( 'Allowed File Extensions', 'pods' ),
'description' => __( '... | Add filter for changing the default allowed file extensions | pods-framework_pods | train | php |
072ada812a875a0c78fedd6fe17877936ef35fe3 | diff --git a/zipline/pipeline/factors/technical.py b/zipline/pipeline/factors/technical.py
index <HASH>..<HASH> 100644
--- a/zipline/pipeline/factors/technical.py
+++ b/zipline/pipeline/factors/technical.py
@@ -653,7 +653,8 @@ class TrueRange(CustomFactor):
Indicates the true degree of daily price change in an und... | STY: fixed flake8 failing test | quantopian_zipline | train | py |
4d5886b3400b21a28bbad6756483d870acf8451a | diff --git a/mongo_internal.py b/mongo_internal.py
index <HASH>..<HASH> 100755
--- a/mongo_internal.py
+++ b/mongo_internal.py
@@ -76,7 +76,7 @@ class Daemon(Thread):
self.oplog_progress_dict[oplog_str] = ts
count = count + 2 # skip to next set
- return ... | removed return for read oplog progress | yougov_mongo-connector | train | py |
ad0e5a0dd9190e1b8e2ab9b487086c6c19f4be1a | diff --git a/spec/hollerback_spec.rb b/spec/hollerback_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/hollerback_spec.rb
+++ b/spec/hollerback_spec.rb
@@ -18,7 +18,7 @@ describe Hollerback do
let(:test_class) do
stub_const "TestClass", Class.new
- TestClass.include(Hollerback)
+ TestClass.send(:include,... | Fixed: Ruby <I> include and prepend | delner_hollerback | train | rb |
b1e5150659309286decc1075a996c63fffc44f74 | diff --git a/lib/src/main/java/fr/tvbarthel/lib/blurdialogfragment/BlurDialogEngine.java b/lib/src/main/java/fr/tvbarthel/lib/blurdialogfragment/BlurDialogEngine.java
index <HASH>..<HASH> 100644
--- a/lib/src/main/java/fr/tvbarthel/lib/blurdialogfragment/BlurDialogEngine.java
+++ b/lib/src/main/java/fr/tvbarthel/lib/bl... | Remove blurred view from decor view in onDismiss() | tvbarthel_BlurDialogFragment | train | java |
0a4fa371959595ff4ebcadba37f983dd71c6ed5b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -4,7 +4,7 @@ var loaderUtils = require('loader-utils');
module.exports = function(source) {
this.cacheable && this.cacheable();
var query = loaderUtils.parseQuery(this.query);
- var options = this.options.ejsLoader || ... | fix: update for webpack 4
this.options is not available in webpack4 so we check and return
an empty object instead. | difelice_ejs-loader | train | js |
dab825b7e999b4d4d47ff854c0646036a2402607 | diff --git a/doxytagfile.py b/doxytagfile.py
index <HASH>..<HASH> 100644
--- a/doxytagfile.py
+++ b/doxytagfile.py
@@ -109,10 +109,17 @@ class TagfileProcessor(object):
def process(self):
'''Run all tag processors.'''
for tag_proc in self.tag_procs:
+ before_count = self.entry_count
... | Report # of insertions per tag processor as well | vedvyas_doxytag2zealdb | train | py |
5cd7142e676d0077beaa1337873f07743b4909a7 | diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Layer/Grid.js
+++ b/lib/OpenLayers/Layer/Grid.js
@@ -67,8 +67,6 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), {
if (!this.grid || zoomChanged) {
t... | Remove left/right conditional aspects, since this is breaking somehow.
git-svn-id: <URL> | openlayers_openlayers | train | js |
bd37a9a34b076e0aa737655c8bb6267c243faec9 | diff --git a/lib/socket.js b/lib/socket.js
index <HASH>..<HASH> 100644
--- a/lib/socket.js
+++ b/lib/socket.js
@@ -250,13 +250,13 @@ Socket.prototype.ack = function(){
*/
Socket.prototype.onack = function(packet){
- var ack = this.acks[packet.id];
- if (ack) {
+ var ack = this.acks[Number(packet.id)];
+ if ('f... | socket: protect against `__proto__` deletion | socketio_socket.io | train | js |
76eb3e715a1e53c4830159adea340b30bf43d7fd | diff --git a/decktape.js b/decktape.js
index <HASH>..<HASH> 100755
--- a/decktape.js
+++ b/decktape.js
@@ -485,6 +485,10 @@ function printSlide(printer, buffer, context) {
// Copy the links on page write
if (pageDictionary.Annots) {
const annotations = pageDictionary.Annots.toJSArray()
+ // Since Puppet... | Annotations are indirect references since Puppeteer <I> | astefanutti_decktape | train | js |
67d0d39603306a6051dc2fa101d5fa30478abd56 | diff --git a/lib/chronic/chronic.rb b/lib/chronic/chronic.rb
index <HASH>..<HASH> 100644
--- a/lib/chronic/chronic.rb
+++ b/lib/chronic/chronic.rb
@@ -124,8 +124,12 @@ module Chronic
normalized_text
end
- # Convert number words to numbers (three => 3)
- def numericize_numbers(text) #:nodoc:
+ # C... | added documentation for numercize_numbers | mojombo_chronic | train | rb |
7b5e97ed77d22097a42f43fd8ab2e45bf167987a | diff --git a/src/core/a-entity.js b/src/core/a-entity.js
index <HASH>..<HASH> 100644
--- a/src/core/a-entity.js
+++ b/src/core/a-entity.js
@@ -212,8 +212,8 @@ var proto = Object.create(ANode.prototype, {
if (!el.object3D) {
throw new Error("Trying to add an element that doesn't have an `object3D`");
... | Entity: first attach the object3d then emit the child-attached event. (#<I>) | aframevr_aframe | train | js |
105d30b84c942ce6035ef88411041c9877d3cbe8 | diff --git a/astropy_helpers/commands/build_sphinx.py b/astropy_helpers/commands/build_sphinx.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/commands/build_sphinx.py
+++ b/astropy_helpers/commands/build_sphinx.py
@@ -177,14 +177,13 @@ class AstropyBuildSphinx(SphinxBuildDoc):
... | build_sphinx now checks for "build succeeded." on any line.
This is to work around the effects of sphinx-gallery which prints
information about the gallery build out after the "build succeeded."
message. | astropy_astropy-helpers | train | py |
858b2a0ea1a45928f30aecf206f849d42351dbec | diff --git a/setup.go b/setup.go
index <HASH>..<HASH> 100644
--- a/setup.go
+++ b/setup.go
@@ -350,9 +350,13 @@ func configFromEnv() Config {
}
}
+ // Check that neither of the requested Std* nor the file are TTYs
+ // At this stage (configFromEnv) we do not have a uniform list to examine yet
if noExplicitForm... | In addition to StdOut/Err check the outfile for TTYness | ipfs_go-log | train | go |
f5441da71ea6a290a4643f2b2ed51bbe44263ca9 | diff --git a/packages/jsx/src/lib/middleware/ui.js b/packages/jsx/src/lib/middleware/ui.js
index <HASH>..<HASH> 100644
--- a/packages/jsx/src/lib/middleware/ui.js
+++ b/packages/jsx/src/lib/middleware/ui.js
@@ -6,7 +6,7 @@ import {SWIPEABLE_CHANGE_INDEX, SWIPEABLE_TAB_CHANGE_INDEX} from "../actions/rou
const getSwip... | fix(jsx): Don't assume that we'll always have `M` in scope here. Redux. | randytarampi_me | train | js |
ddaa36c59926f4597b0f206ae3ebfe444ea66b44 | diff --git a/src/sb/Validate/ContactInfo.php b/src/sb/Validate/ContactInfo.php
index <HASH>..<HASH> 100644
--- a/src/sb/Validate/ContactInfo.php
+++ b/src/sb/Validate/ContactInfo.php
@@ -102,7 +102,7 @@ class ContactInfo {
$result = new \sb\Validate\Results();
$result->value = $email;
- if (p... | fixing email validation for php <I> | surebert_surebert-framework | train | php |
db45649f14a3f7828e5fa199e1c1896c18115751 | diff --git a/lib/tzinfo/offset_rationals.rb b/lib/tzinfo/offset_rationals.rb
index <HASH>..<HASH> 100644
--- a/lib/tzinfo/offset_rationals.rb
+++ b/lib/tzinfo/offset_rationals.rb
@@ -1,5 +1,3 @@
-require 'rational' unless defined?(Rational)
-
module TZInfo
# Provides a method for getting Rationals for a timezone ... | Remove `require 'rational'`.
This is no longer required on all supported Ruby versions. | tzinfo_tzinfo | train | rb |
bc8b8540af57344c5fee56ff5e1375a5e864bfc5 | diff --git a/library/Emphloyer/Cli.php b/library/Emphloyer/Cli.php
index <HASH>..<HASH> 100644
--- a/library/Emphloyer/Cli.php
+++ b/library/Emphloyer/Cli.php
@@ -27,6 +27,7 @@ class Cli {
declare(ticks = 100);
pcntl_signal(\SIGINT, array($this, 'handleSignal'));
+ pcntl_signal(\SIGTERM, array($this,... | Handle the TERM signal like the INT signal | mkremer_emphloyer | train | php |
3c8853c3da56dd782e35d0ad6824d43156e0d623 | diff --git a/grunt.js b/grunt.js
index <HASH>..<HASH> 100644
--- a/grunt.js
+++ b/grunt.js
@@ -28,6 +28,18 @@ module.exports = function(grunt) {
}
},
+ // concat banner to final lib files
+ concat: {
+ lib: {
+ src: ['<banner:meta.banner>', 'hint.css'],
+ dest: 'hint.css'
+ }... | move concatenation and minification to deploy task | chinchang_hint.css | train | js |
85c66c05476e4c87fd3c62b13499720a3a117e40 | diff --git a/goerr/__init__.py b/goerr/__init__.py
index <HASH>..<HASH> 100644
--- a/goerr/__init__.py
+++ b/goerr/__init__.py
@@ -43,7 +43,6 @@ class Trace():
def check(self):
if self.exists:
self.trace()
- self.errs = []
def fatal(self):
if self.exists:
@@ -55,6 +... | Reset error object after tracing it | synw_goerr | train | py |
4a552cef0f3f6626247b4b2988cdb9e360d4387b | diff --git a/lib/giantbomb.rb b/lib/giantbomb.rb
index <HASH>..<HASH> 100644
--- a/lib/giantbomb.rb
+++ b/lib/giantbomb.rb
@@ -6,5 +6,5 @@ require 'httparty'
end
module GiantBomb
- VERSION = "0.0.2"
+ VERSION = "0.1.0"
end
\ No newline at end of file | bumped version to <I> | games-directory_api-giantbomb | train | rb |
7cd2ca0f5e0c02de7f26e9f8d24bdf92ba1b9ff1 | diff --git a/Admin/Entity/GroupAdmin.php b/Admin/Entity/GroupAdmin.php
index <HASH>..<HASH> 100644
--- a/Admin/Entity/GroupAdmin.php
+++ b/Admin/Entity/GroupAdmin.php
@@ -19,6 +19,10 @@ use Sonata\AdminBundle\Route\RouteCollection;
class GroupAdmin extends Admin
{
+ protected $formOptions = array(
+ 'vali... | added validations groups Registration
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: - | sonata-project_SonataUserBundle | train | php |
0bb366f72f7cc7f41873d4031fa282a56dd0cc6c | diff --git a/src/main/java/org/thymeleaf/expression/ExpressionEvaluationContext.java b/src/main/java/org/thymeleaf/expression/ExpressionEvaluationContext.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/thymeleaf/expression/ExpressionEvaluationContext.java
+++ b/src/main/java/org/thymeleaf/expression/Expression... | Fixed bad reference to commons-lang | thymeleaf_thymeleaf | train | java |
299d21a70d26c80349b1ceee0991cc88ccf5ec00 | diff --git a/webroot/js/cake-wamp.js b/webroot/js/cake-wamp.js
index <HASH>..<HASH> 100644
--- a/webroot/js/cake-wamp.js
+++ b/webroot/js/cake-wamp.js
@@ -46,10 +46,16 @@ cakeWamp.onhangup = function(code, reason) {
}
};
+/**
+ * Wrapper around AB's session.call method
+ */
cakeWamp.call = function() {
... | Added docblocks for wrapper methods | WyriHaximus_Ratchet | train | js |
1b97c14c5771b7036835defd943d5f42c539afed | diff --git a/src/Utility/StringTransformer.php b/src/Utility/StringTransformer.php
index <HASH>..<HASH> 100644
--- a/src/Utility/StringTransformer.php
+++ b/src/Utility/StringTransformer.php
@@ -10,7 +10,8 @@ class StringTransformer
UPPER_CAMEL_CASE = 8,
UPPER_HYPHEN_CASE = 16,
... | Fix PHP<I> and HHVM compatibility | raml-org_raml-php-parser | train | php,php |
c50ad78acededbab2011d8d2c1de755d1c4e75bc | diff --git a/lib/stackprof/report.rb b/lib/stackprof/report.rb
index <HASH>..<HASH> 100644
--- a/lib/stackprof/report.rb
+++ b/lib/stackprof/report.rb
@@ -234,7 +234,7 @@ module StackProf
end
def print_method(name, f = STDOUT)
- name = /#{Regexp.escape name}/ unless Regexp === name
+ name = /#{nam... | Don't escape method filter regexp | tmm1_stackprof | train | rb |
8b34807d8c603a59025f6ef0775fc46abc9a429c | diff --git a/test/functional/tm/ltm/test_virtual.py b/test/functional/tm/ltm/test_virtual.py
index <HASH>..<HASH> 100644
--- a/test/functional/tm/ltm/test_virtual.py
+++ b/test/functional/tm/ltm/test_virtual.py
@@ -13,7 +13,9 @@
# limitations under the License.
#
+from distutils.version import LooseVersion
from pp... | Skipping this test when running against <I>. | F5Networks_f5-common-python | train | py |
dbca8954922c1b75d062f5c28e388d04a21b39e9 | diff --git a/lib/Less/Environment.php b/lib/Less/Environment.php
index <HASH>..<HASH> 100755
--- a/lib/Less/Environment.php
+++ b/lib/Less/Environment.php
@@ -67,6 +67,10 @@ class Less_Environment{
public static $colon_space;
public static $firstSelector;
+
+ /**
+ * @param array|null $options
+ */
public fun... | correct __construct params | oyejorge_less.php | train | php,php |
8ca3067dce07b63a51afda60e83e1be069ea46fa | diff --git a/lib/puppet/version.rb b/lib/puppet/version.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/version.rb
+++ b/lib/puppet/version.rb
@@ -7,7 +7,7 @@
module Puppet
- PUPPETVERSION = '3.8.4'
+ PUPPETVERSION = '3.8.5'
##
# version is a public API method intended to always provide a fast and | (packaging) Update PUPPETVERSION to <I> | puppetlabs_puppet | train | rb |
9c23f113c4ca3e784973ed2535d8723752ec1a98 | diff --git a/lib/polygon/script/open.rb b/lib/polygon/script/open.rb
index <HASH>..<HASH> 100644
--- a/lib/polygon/script/open.rb
+++ b/lib/polygon/script/open.rb
@@ -70,7 +70,7 @@ module Polygon
thinpid = nil
info "Starting the web server..." do
- thinpid = spawn("thin -R #{config_ru} star... | Ensure quoting of config.ru path in Open script. | blambeau_polygon | train | rb |
96f747e9ca704d302e3a4a9092183c9efd115ff4 | diff --git a/src/includes/admin/views/management-start.php b/src/includes/admin/views/management-start.php
index <HASH>..<HASH> 100644
--- a/src/includes/admin/views/management-start.php
+++ b/src/includes/admin/views/management-start.php
@@ -26,6 +26,9 @@
<?php
$page_types = papi_get_all_page_types( true );
f... | Only show page types that have the get_boxes method on management page | wp-papi_papi | train | php |
4e503fe22a11a16357f9a54dbec982512bbcbd06 | diff --git a/claripy/operations.py b/claripy/operations.py
index <HASH>..<HASH> 100644
--- a/claripy/operations.py
+++ b/claripy/operations.py
@@ -298,6 +298,8 @@ def boolean_reverse_simplifier(body):
return first_ast
else:
return first_ast[upper_bound:0]
+ ... | add optimizations for a Reverse of a bunch of Concated bytes | angr_claripy | train | py |
aba063453f4eb3b169aa028ac1de2e712f49a784 | diff --git a/lib/validates_zipcode/cldr_regex_collection.rb b/lib/validates_zipcode/cldr_regex_collection.rb
index <HASH>..<HASH> 100644
--- a/lib/validates_zipcode/cldr_regex_collection.rb
+++ b/lib/validates_zipcode/cldr_regex_collection.rb
@@ -232,7 +232,7 @@ module ValidatesZipcode
TO: /\A([a-zA-Z\d\s]){3,}\... | Tawain post code can have 5 digits zipcodes for faster mail delivery | dgilperez_validates_zipcode | train | rb |
de553fca438cc2e3442a1ce2dea577edd9b190e7 | diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java
index <HASH>..<HASH> 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java
+++ b/gremlin-test/src/main/... | Add some extra output to the printTraversalForm method.
Added the test name and before/after labels to traversal toString'ing. | apache_tinkerpop | train | java |
550d548843b2a87f8855f45a95eb632e61860fcf | diff --git a/src/audits/FocusableElementNotVisibleAndNotAriaHidden.js b/src/audits/FocusableElementNotVisibleAndNotAriaHidden.js
index <HASH>..<HASH> 100644
--- a/src/audits/FocusableElementNotVisibleAndNotAriaHidden.js
+++ b/src/audits/FocusableElementNotVisibleAndNotAriaHidden.js
@@ -25,19 +25,7 @@ axs.AuditRules.add... | Make 'FocusableElementNotVisibleAndNotAriaHidden' audit re-use axs.utils.elementIsVisible() logic rather than reimplementing it, and have axs.utils.elementIsOutsideScrollArea() check for elements which are outside but flush with the borders of the scroll area. | GoogleChrome_accessibility-developer-tools | train | js |
95c1e2116ff825e9eaf64c1ea7755af376071c7d | diff --git a/client/lxd_instances.go b/client/lxd_instances.go
index <HASH>..<HASH> 100644
--- a/client/lxd_instances.go
+++ b/client/lxd_instances.go
@@ -2266,7 +2266,7 @@ func (r *ProtocolLXD) proxyMigration(targetOp *operation, targetSecrets map[stri
// Struct used to hold everything together
type proxy struct... | client: Update for WebsocketProxy change | lxc_lxd | train | go |
7dbec5dc15a421e45432b91183da7bf115cb9479 | diff --git a/restclients/sws.py b/restclients/sws.py
index <HASH>..<HASH> 100644
--- a/restclients/sws.py
+++ b/restclients/sws.py
@@ -135,12 +135,13 @@ class SWS(object):
"""
dao = SWS_DAO()
pws = PWS()
- url = "/student/v4/registration.json?" + urlencode({
- 'year': term.y... | Moving from a dict to a list of tuples, to have more consistent paths for the file backend
git-svn-id: <URL> | uw-it-aca_uw-restclients | train | py |
911b4fb99ed191597ef7d53a1481c1b11276773c | diff --git a/spec/khipu_rails_spec.rb b/spec/khipu_rails_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/khipu_rails_spec.rb
+++ b/spec/khipu_rails_spec.rb
@@ -3,6 +3,6 @@ require 'spec_helper'
describe KhipuRails do
it "adds the khipu_button helper to the view" do
- ActionView::Base.method_defined? :khipu_butt... | Fixed the test that checks the helper addition. | Janther_khipu-rails | train | rb |
ec9c67e9cab5bc4041114b6700594ee237962cdb | diff --git a/version/version.go b/version/version.go
index <HASH>..<HASH> 100644
--- a/version/version.go
+++ b/version/version.go
@@ -16,7 +16,7 @@ var Version = "1.3.0"
// A pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release... | Cleanup after <I>-alpha<I> release | hashicorp_terraform | train | go |
e0b0c7520998c6fd7f0b387b868102f62e9bc5cd | diff --git a/dist/js/iziToast.js b/dist/js/iziToast.js
index <HASH>..<HASH> 100644
--- a/dist/js/iziToast.js
+++ b/dist/js/iziToast.js
@@ -456,7 +456,7 @@
}
if (!isNaN(settings.zindex)) {
- $toast.style.zIndex = settings.zindex;
+ $wrapper.style.zIndex = settings.zindex;
} else {
console.warn("["+PLU... | fix zindex and isClosed | marcelodolza_iziToast | train | js |
f76df27b70f00444b2e13787e9dfb55cfea0196e | diff --git a/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connections.js b/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connections.js
index <HASH>..<HASH> 100644
--- a/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connections.js
+++ b/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connecti... | Fixes #<I> SVGDecorator blocked the UI if port svg was set.
Former-commit-id: 7d<I>b6d<I>be<I>de<I>ab5c<I>d<I>bb2fb<I> | webgme_webgme-engine | train | js |
ecd6b5dc0665c723ebba53250e3e7fdab795e81c | diff --git a/src/Mapping/MetadataDriver.php b/src/Mapping/MetadataDriver.php
index <HASH>..<HASH> 100644
--- a/src/Mapping/MetadataDriver.php
+++ b/src/Mapping/MetadataDriver.php
@@ -26,6 +26,11 @@ class MetadataDriver implements MappingDriver
* array of ClassMetadata objects
*/
protected $metadata;
+ ... | accessor method to fetch metadata for specific class | bolt_bolt | train | php |
1a3e28237cd4f8bde829735ee57ecd3cb6b1bcd6 | diff --git a/grunt.js b/grunt.js
index <HASH>..<HASH> 100644
--- a/grunt.js
+++ b/grunt.js
@@ -21,11 +21,11 @@ module.exports = function(grunt) {
concat: {
basic: {
src: ['<banner:meta.banner>', 'common/*.js', 'modules/*/*/*.js'],
- dest: 'build/<%= pkg.name %>.js',
+ dest: 'build/<%=... | Adding lint task to the grunt build | angular-ui_ui-scrollpoint | train | js |
6b53a6223f2bcf086cbf16440eebffd7ea68c621 | diff --git a/pyqode/core/panels/folding.py b/pyqode/core/panels/folding.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/panels/folding.py
+++ b/pyqode/core/panels/folding.py
@@ -319,7 +319,7 @@ class FoldingPanel(Panel):
"""
color = drift_color(base_color, factor=factor)
# upper part
- ... | Fix small visual bug where scope deco does not cover the first line
(but introduced by the change to the line nbr convention and not detected because we do not check decoration ranges). | pyQode_pyqode.core | train | py |
087d94ba286dfae28c9eecc0892d266f7f28a131 | diff --git a/csg/__init__.py b/csg/__init__.py
index <HASH>..<HASH> 100644
--- a/csg/__init__.py
+++ b/csg/__init__.py
@@ -1 +1 @@
-__version__ = 0.2.2
+__version__ = '0.2.3'
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,6 @@
import os
from setuptools import set... | now only need to change version in one file | timknip_pycsg | train | py,py |
9fd40defbfcf4a294b9e585bf1fefe72d7a3d311 | diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/recommended_monitors.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/recommended_monitors.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/recommended_monitors.py
+++ b/d... | Update error message in recommended monitor validation to include more context (#<I>) | DataDog_integrations-core | train | py |
bb48762f92cae395c989cebee28f9ac0bb579042 | diff --git a/codemirror/plugin.js b/codemirror/plugin.js
index <HASH>..<HASH> 100644
--- a/codemirror/plugin.js
+++ b/codemirror/plugin.js
@@ -954,8 +954,8 @@
}
});
- if (typeof (jQuery) != 'undefined' && $('a[data-toggle="tab"]') && window["codemirror_" + editor.id]) {
- ... | Update plugin.js
Change the jQuery alias from $ to jQuery to allow this plugin to work with jQuery running in noConflict mode, specifically Drupal 7. | w8tcha_CKEditor-CodeMirror-Plugin | train | js |
85f7c8dfe3bf2f0751aadc9d06fc5609aa3aa8ca | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -19,6 +19,7 @@ function write (file) {
plotter.unset(file.path);
} else {
plotter.set(file.path, file.contents.toString(), options);
+ if (file.event === undefined) return this.queue(file);
}
this.queue... | Do not queue dependent files if event is undefined.
Otherwise too much files are streamed down the pipe on
watch start | dadish_gulp-sass-plotter | train | js |
c148653249814714071601d95be93e8aa661a3ae | diff --git a/ccmlib/cmds/cluster_cmds.py b/ccmlib/cmds/cluster_cmds.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cmds/cluster_cmds.py
+++ b/ccmlib/cmds/cluster_cmds.py
@@ -601,7 +601,7 @@ class ClusterStressCmd(Cmd):
def validate(self, parser, options, args):
Cmd.validate(self, parser, options, args, loa... | Fix argument sequence for node and cluster stress cmd | riptano_ccm | train | py,py |
c1d3e784e8970266b70616b284b20d85e4da3a38 | diff --git a/recipe/shelf.py b/recipe/shelf.py
index <HASH>..<HASH> 100644
--- a/recipe/shelf.py
+++ b/recipe/shelf.py
@@ -600,8 +600,11 @@ class Shelf(object):
"""Create a shelf using a dict shelf definition.
:param obj: A Python dictionary describing a Shelf.
- :param selectable: A SQLAlche... | minor simplification / better docs for Shelf.from_config | juiceinc_recipe | train | py |
75cd7b83f49766c9170a982ef76a6ff5ee2b3f36 | diff --git a/okdownload/src/main/java/com/liulishuo/okdownload/core/dispatcher/CallbackDispatcher.java b/okdownload/src/main/java/com/liulishuo/okdownload/core/dispatcher/CallbackDispatcher.java
index <HASH>..<HASH> 100644
--- a/okdownload/src/main/java/com/liulishuo/okdownload/core/dispatcher/CallbackDispatcher.java
+... | refactor: remove useless constructor of callback-dispatcher | lingochamp_okdownload | train | java |
3fef2b10f483caf183dd7abbc5e9f6b7188a0082 | diff --git a/horizon/tabs/views.py b/horizon/tabs/views.py
index <HASH>..<HASH> 100644
--- a/horizon/tabs/views.py
+++ b/horizon/tabs/views.py
@@ -138,14 +138,16 @@ class TabbedTableView(tables.MultiTableMixin, TabView):
def post(self, request, *args, **kwargs):
# Direct POST to it's appropriate tab
- ... | Fixing possible exception on tables in tabs
When a filter action for instance goes to the server via POST, an
'action' field is not necessarily present in the POST. This results
in an uncaught exception. Fixing this so if 'action' is not present
falling back to old behavior.
Closes-Bug: #<I>
Change-Id: I<I>fc<I>f<I>... | openstack_horizon | train | py |
b9da1fbd8db4acee733562d23f3f3905eed1789b | diff --git a/wallet/wallet.go b/wallet/wallet.go
index <HASH>..<HASH> 100644
--- a/wallet/wallet.go
+++ b/wallet/wallet.go
@@ -732,8 +732,10 @@ func (w *Wallet) recovery(startHeight int32) error {
return err
}
- log.Infof("Recovered addresses from blocks %d-%d", blockBatch[0].Height,
- blockBatch[len(blockBatch... | wallet: only log block batch if non-empty
This fixes an issue reputed by a user that would cause btcwallet to
panic if the full node was stopped while btcwallet was still restoring
the wallet. | btcsuite_btcwallet | train | go |
7504ef676171590acb406b522c5ebe50571cf9bc | diff --git a/axes/admin.py b/axes/admin.py
index <HASH>..<HASH> 100644
--- a/axes/admin.py
+++ b/axes/admin.py
@@ -16,7 +16,6 @@ class AccessAttemptAdmin(admin.ModelAdmin):
list_filter = [
'attempt_time',
- 'username',
'path_info',
]
@@ -73,7 +72,6 @@ class AccessLogAdmin(admin.Mo... | Remove filtering by username
It became a problem when having more than <I> users. | jazzband_django-axes | train | py |
f637d03c9f2f4b3e243f28d802a04823b7eb2614 | diff --git a/labware/liquids.py b/labware/liquids.py
index <HASH>..<HASH> 100644
--- a/labware/liquids.py
+++ b/labware/liquids.py
@@ -50,11 +50,11 @@ class LiquidInventory():
400ul of water:
- >>> container.add_liquid(water=400)
+ >> container.add_liquid(water=400)
400ml of water:... | Changed formatting of docs for Liquid so they're not confused with doctests. | Opentrons_opentrons | train | py |
e0f67c50ccc7dcacdcebd29eaea246f79a55a574 | diff --git a/Library/Installation/Updater/Updater021200.php b/Library/Installation/Updater/Updater021200.php
index <HASH>..<HASH> 100644
--- a/Library/Installation/Updater/Updater021200.php
+++ b/Library/Installation/Updater/Updater021200.php
@@ -58,15 +58,6 @@ class Updater021200
public function updateTools()
... | [CoreBundle] Don't use display name with tools in additional installer | claroline_Distribution | train | php |
f7f28b99840255e1115dc1e06d1d66ff5b343e39 | diff --git a/raft/doc.go b/raft/doc.go
index <HASH>..<HASH> 100644
--- a/raft/doc.go
+++ b/raft/doc.go
@@ -19,6 +19,9 @@ Usage
The primary object in raft is a Node. You either start a Node from scratch
using raft.StartNode or start a Node from some initial state using raft.RestartNode.
+
+To start a node from scrat... | raft: add doc to make restart clear, especially for configuration changed case | etcd-io_etcd | train | go |
bd4403bd8fc1d00c33aededda21de64546c03645 | diff --git a/src/MenuButton.js b/src/MenuButton.js
index <HASH>..<HASH> 100644
--- a/src/MenuButton.js
+++ b/src/MenuButton.js
@@ -23,7 +23,7 @@ class MenuButton extends PopupSource {
// it.
this.addEventListener('mousemove', event => {
const target = event.target;
- if (target && this.state.dragS... | Restore hover-select behavior, even when we're not dragging. | elix_elix | train | js |
e49013460a58bbb14be72174aa364d8c39be8166 | diff --git a/src/main/java/org/fit/cssbox/layout/BoxFactory.java b/src/main/java/org/fit/cssbox/layout/BoxFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/fit/cssbox/layout/BoxFactory.java
+++ b/src/main/java/org/fit/cssbox/layout/BoxFactory.java
@@ -583,7 +583,7 @@ public class BoxFactory
... | Do not collapse non-inline white space boxes at the beginning of blocks | radkovo_CSSBox | train | java |
5b8839bb6fe54abb9e95b9beed100566b2c5fc6e | diff --git a/src/component/timeline/SliderTimelineView.js b/src/component/timeline/SliderTimelineView.js
index <HASH>..<HASH> 100644
--- a/src/component/timeline/SliderTimelineView.js
+++ b/src/component/timeline/SliderTimelineView.js
@@ -618,11 +618,17 @@ function getViewRect(model, api) {
}
function makeIcon(time... | fix(timeline): fix icon style not work bug brought in #<I> | apache_incubator-echarts | train | js |
f24b2031af5742804c357045fed3b85c5f481b5b | diff --git a/src/java/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java b/src/java/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java
index <HASH>..<HASH> 100644
--- a/src/java/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java
+++ b/src/java/org/codehaus/groovy/grails/web/util/StreamCharBuffer.ja... | small bug fix that prevents calling toString() in length() if groovy truth is tested. | grails_grails-core | train | java |
d44a838298e20e8432f46d1531e0da881a24ca03 | diff --git a/lib/svtplay_dl/postprocess/__init__.py b/lib/svtplay_dl/postprocess/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/postprocess/__init__.py
+++ b/lib/svtplay_dl/postprocess/__init__.py
@@ -28,7 +28,7 @@ class postprocess:
break
if self.detect is None and platform.syst... | postprocess: use a different function to detect ffmpeg.exe
the previous function said it was a file but there was none | spaam_svtplay-dl | train | py |
e5854c6483688bd86130dbcbf36b3b50e454fc10 | diff --git a/lib/bigfloat/decimal.rb b/lib/bigfloat/decimal.rb
index <HASH>..<HASH> 100644
--- a/lib/bigfloat/decimal.rb
+++ b/lib/bigfloat/decimal.rb
@@ -1348,7 +1348,7 @@ class Decimal < Num # TODO: rename to Dec or DecNum ?
# note that here we return 1 for 0
i.to_s.length
else
- (Math... | Qualify use of global module Math to avoid confusion with Decimal::Math. | jgoizueta_flt | train | rb |
46acdb72b9ef3477e05f02ac8065d83f5e134c59 | diff --git a/src/utils/coinUtils.js b/src/utils/coinUtils.js
index <HASH>..<HASH> 100644
--- a/src/utils/coinUtils.js
+++ b/src/utils/coinUtils.js
@@ -51,6 +51,11 @@ export type CreateTxOptions = {
txOptions: TxOptions
}
+export const isCompressed = (key: any): boolean =>
+ Buffer.isBuffer(key) &&
+ key.length ... | Create a KeyRing using the fromKey instead of the fromOptions method since it would just ignore checking the compress flag and would always treat it as compressed even when it's not compressed.
Also added the function which test whether a key is compressed or not | EdgeApp_edge-currency-bitcoin | train | js |
59f33800fb82b65d23bb086ff78f45c18365a256 | diff --git a/tests/test_genetic_values.py b/tests/test_genetic_values.py
index <HASH>..<HASH> 100644
--- a/tests/test_genetic_values.py
+++ b/tests/test_genetic_values.py
@@ -46,6 +46,15 @@ class testSlocusAdditive(unittest.TestCase):
self.assertEqual(type(up.gvalue_to_fitness),
type(... | Test pickling Slocus + additive trait + noise. | molpopgen_fwdpy11 | train | py |
70e6fb578033838b28de020f15d776179a1df5d2 | diff --git a/test/segments_verify.py b/test/segments_verify.py
index <HASH>..<HASH> 100644
--- a/test/segments_verify.py
+++ b/test/segments_verify.py
@@ -1,6 +1,7 @@
import random
import unittest
import verifyutils
+import doctest
#
@@ -345,6 +346,8 @@ if __name__ == "__main__":
unittest.TextTestRunner(ver... | segments_verify: include doc string check | gwastro_pycbc-glue | train | py |
e9c9b4376ce94ef18dd55b7a5a02b240fd4df19a | diff --git a/lib/roo/excelx.rb b/lib/roo/excelx.rb
index <HASH>..<HASH> 100644
--- a/lib/roo/excelx.rb
+++ b/lib/roo/excelx.rb
@@ -3,7 +3,7 @@ require 'date'
require 'rubygems'
require 'nokogiri'
-if RUBY_VERSION < '1.9.0'
+unless ''.respond_to?(:end_with?)
class String
def end_with?(str)
self[-str.... | Use duck-typing to decide whether to extend string. | roo-rb_roo | train | rb |
5a253366e77297f234cf0cb7fe1d78d09bf33ed7 | diff --git a/src/SlotMachine/UndefinedCardResolution.php b/src/SlotMachine/UndefinedCardResolution.php
index <HASH>..<HASH> 100644
--- a/src/SlotMachine/UndefinedCardResolution.php
+++ b/src/SlotMachine/UndefinedCardResolution.php
@@ -15,7 +15,7 @@ namespace SlotMachine;
* To avoid any collisions or duplicate code, t... | Remove redundant throwing of exception in private constructor | archfizz_slotmachine | train | php |
7c8f2487473aa3dbc620334747d4f6b6af87b09d | diff --git a/pvl/grammar.py b/pvl/grammar.py
index <HASH>..<HASH> 100755
--- a/pvl/grammar.py
+++ b/pvl/grammar.py
@@ -255,8 +255,8 @@ class ISISGrammar(PVLGrammar):
object_pref_keywords = ("Object", "End_Object")
object_keywords = {"OBJECT": "END_OBJECT"}
- # A single-line comment that starts with the o... | docs: fixed some lint issues | planetarypy_pvl | train | py,py |
3eaec84228fd2b94529fbe38a58c4a98e64cfef0 | diff --git a/src/webpackWorker.js b/src/webpackWorker.js
index <HASH>..<HASH> 100644
--- a/src/webpackWorker.js
+++ b/src/webpackWorker.js
@@ -77,7 +77,6 @@ module.exports = function(configuratorFileName, options, index, expectedConfigLe
}
Promise.resolve(config).then(function(webpackConfig) {
var we... | Use webpack's own timing stats to report on a single worker | trivago_parallel-webpack | train | js |
0c88da4b97d1ea50ef602f39199c9b0eee42308e | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -211,7 +211,14 @@ describe("ELASTICDUMP", function(){
dumper.dump(function(){
var raw = fs.readFileSync('/tmp/out.json');
var output = JSON.parse( raw );
- output.length.should.e... | allow other indices to exist during test | taskrabbit_elasticsearch-dump | train | js |
18c9e5ed1b9ee767c8ee15f83c9c09a0b43a6197 | diff --git a/tests/Behat/Mink/Driver/ZombieDriverTest.php b/tests/Behat/Mink/Driver/ZombieDriverTest.php
index <HASH>..<HASH> 100644
--- a/tests/Behat/Mink/Driver/ZombieDriverTest.php
+++ b/tests/Behat/Mink/Driver/ZombieDriverTest.php
@@ -15,11 +15,6 @@ class ZombieDriverTest extends JavascriptDriverTest
}
... | JSON support is back in Zombie.js | minkphp_Mink | train | php |
17497c1fc5c0db98736b358614e094d66ad3aeda | diff --git a/cli/libreant_db.py b/cli/libreant_db.py
index <HASH>..<HASH> 100644
--- a/cli/libreant_db.py
+++ b/cli/libreant_db.py
@@ -181,14 +181,8 @@ def attach_list(filepaths, names, notes):
for fname, name, note in zip(filepaths, names, notes):
assert os.path.exists(fname)
mime = mimetypes.gu... | if mimetype can't be guessed, go on | insomnia-lab_libreant | train | py |
1e50fd7f22c7b2dfee72f93ff14d00552df15480 | diff --git a/soco/core.py b/soco/core.py
index <HASH>..<HASH> 100755
--- a/soco/core.py
+++ b/soco/core.py
@@ -967,9 +967,11 @@ class SoCo(_SocoSingletonBase):
track['title'] = trackinfo[index + 3:]
else:
# Might find some kind of title anyway in metadata
- ... | Shorten a couple of long lines. | amelchio_pysonos | train | py |
46e1764e586e09c3be828e804dd66706525f3df6 | diff --git a/it.jnrpe.services.events/src/main/java/it/jnrpe/services/events/console/ConsoleEventManager.java b/it.jnrpe.services.events/src/main/java/it/jnrpe/services/events/console/ConsoleEventManager.java
index <HASH>..<HASH> 100644
--- a/it.jnrpe.services.events/src/main/java/it/jnrpe/services/events/console/Conso... | refactor: removed useless String.format | ziccardi_jnrpe | train | java |
d58a50bcd62c3cf8cb37ecda2a3175661e31eb32 | diff --git a/src/frontend/org/voltdb/iv2/Site.java b/src/frontend/org/voltdb/iv2/Site.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/iv2/Site.java
+++ b/src/frontend/org/voltdb/iv2/Site.java
@@ -107,9 +107,9 @@ import org.voltdb.utils.CompressionService;
import org.voltdb.utils.LogKeys;
import org.vol... | ENG-<I>: Use google_voltpatches guava patches | VoltDB_voltdb | train | java |
4b767c45fa7ee8d22901c4d390059dc47f23b9f2 | diff --git a/src/CmsBundle/Resources/public/js/pagemanager.js b/src/CmsBundle/Resources/public/js/pagemanager.js
index <HASH>..<HASH> 100644
--- a/src/CmsBundle/Resources/public/js/pagemanager.js
+++ b/src/CmsBundle/Resources/public/js/pagemanager.js
@@ -534,7 +534,7 @@ $(document).ready(function() {
// Call A... | Fixed: showing new block in document which has been dragged into table-of-contents | Opifer_Cms | train | js |
7c74d62e4384e8388d6ebaa4b659688014e7f6bf | diff --git a/eulfedora/__init__.py b/eulfedora/__init__.py
index <HASH>..<HASH> 100644
--- a/eulfedora/__init__.py
+++ b/eulfedora/__init__.py
@@ -15,7 +15,7 @@
# limitations under the License.
-__version_info__ = (1, 5, 0, None)
+__version_info__ = (1, 6, 0, 'dev')
# Dot-connect all but the last. Last is das... | Bump develop version to <I>-dev | emory-libraries_eulfedora | train | py |
03d5cbec5848864d0e0f420047371896012bb569 | diff --git a/packages/core-js/internals/to-absolute-index.js b/packages/core-js/internals/to-absolute-index.js
index <HASH>..<HASH> 100644
--- a/packages/core-js/internals/to-absolute-index.js
+++ b/packages/core-js/internals/to-absolute-index.js
@@ -5,7 +5,7 @@ var min = Math.min;
// Helper for a popular repeating ... | fix a typo in a comment | zloirock_core-js | train | js |
f561db1423a05034e6cd426945eb06569d4008c9 | diff --git a/multi_key_dict/multi_key_dict.py b/multi_key_dict/multi_key_dict.py
index <HASH>..<HASH> 100644
--- a/multi_key_dict/multi_key_dict.py
+++ b/multi_key_dict/multi_key_dict.py
@@ -276,7 +276,12 @@ class multi_key_dict(object):
keys.append(key_type(key_val))
return(tuple(keys))
-
+... | Added in basic dict attribute/method 'get' which supports default return values or None | formiaczek_multi_key_dict | train | py |
f527f56bb23cfa1aa30cee0f5e3785f714243909 | diff --git a/packages/spark-core/src/plugins/credentials/auth-interceptor.js b/packages/spark-core/src/plugins/credentials/auth-interceptor.js
index <HASH>..<HASH> 100644
--- a/packages/spark-core/src/plugins/credentials/auth-interceptor.js
+++ b/packages/spark-core/src/plugins/credentials/auth-interceptor.js
@@ -54,12... | fix(spark-core): actually refresh the access token in event of <I> | webex_spark-js-sdk | train | js |
4a710d77b994760057f84a2eed538a67d67275c1 | diff --git a/guid.go b/guid.go
index <HASH>..<HASH> 100644
--- a/guid.go
+++ b/guid.go
@@ -230,7 +230,10 @@ func version1() (GUID, error) {
}
if localMAC, err = getMACAddress(); nil != err {
- return emptyGUID, err
+ if parity, err := rand.Read(localMAC[:]); !(len(localMAC) != parity && err == nil) {
+ return... | Creating rand MAC when HardwareAddr is unavailable.
As per RFC <I>, if a hardware address is unavailable for version1
GUIDS, <I> random bits should be generated, and the multicast bit of the
MAC should be set. This has now been implemented. | marstr_guid | train | go |
0add2e6676017b4996eefff096ca5c11d7d2a182 | diff --git a/middleman-core/lib/middleman-core/step_definitions/server_steps.rb b/middleman-core/lib/middleman-core/step_definitions/server_steps.rb
index <HASH>..<HASH> 100644
--- a/middleman-core/lib/middleman-core/step_definitions/server_steps.rb
+++ b/middleman-core/lib/middleman-core/step_definitions/server_steps.... | Added a step to create templates on the fly | middleman_middleman | train | rb |
9664511901a5d7d8ecd24d38d6ab8bd6b1e2ddd1 | diff --git a/blueprints/ember-material-lite/index.js b/blueprints/ember-material-lite/index.js
index <HASH>..<HASH> 100644
--- a/blueprints/ember-material-lite/index.js
+++ b/blueprints/ember-material-lite/index.js
@@ -3,6 +3,7 @@ var chalk = require('chalk');
module.exports = {
description: 'install ember-materi... | fixes #<I> added normalizeEntityName override to prevent error during install | mike-north_ember-material-lite | train | js |
37feab15039a27b47127ede0d37b5acb1d901cab | diff --git a/lib/active_mocker/generate.rb b/lib/active_mocker/generate.rb
index <HASH>..<HASH> 100644
--- a/lib/active_mocker/generate.rb
+++ b/lib/active_mocker/generate.rb
@@ -93,7 +93,9 @@ class Generate
end
def save_mock_file(klass_str, model)
- File.open(File.join(Config.mock_dir, "#{model.class_name.u... | Fix for not closing file stream while writing mocks.
This resulted in empty mock files in some cases (eg. non-rails app). | zeisler_active_mocker | train | rb |
8012467e95430c08342bbfa8510d1f60b9ea317f | diff --git a/plugins/Referrers/SearchEngine.php b/plugins/Referrers/SearchEngine.php
index <HASH>..<HASH> 100644
--- a/plugins/Referrers/SearchEngine.php
+++ b/plugins/Referrers/SearchEngine.php
@@ -65,30 +65,10 @@ class SearchEngine extends Singleton
Piwik::postEvent('Referrer.addSearchEngineUrls', array(&$... | remove support for old format of adding custom search engines (#<I>) | matomo-org_matomo | train | php |
beb0bdd9ed5413c56d8006ec580bff2003cf28f4 | diff --git a/jelly/src/main/java/org/kohsuke/stapler/jelly/AdjunctTag.java b/jelly/src/main/java/org/kohsuke/stapler/jelly/AdjunctTag.java
index <HASH>..<HASH> 100644
--- a/jelly/src/main/java/org/kohsuke/stapler/jelly/AdjunctTag.java
+++ b/jelly/src/main/java/org/kohsuke/stapler/jelly/AdjunctTag.java
@@ -73,10 +73,10 ... | handle @assumes first, so that exclusion affects @includes | stapler_stapler | train | java |
e6d68139f063c48a0b1cf29dfbe012e460b31ce8 | diff --git a/alot/command.py b/alot/command.py
index <HASH>..<HASH> 100644
--- a/alot/command.py
+++ b/alot/command.py
@@ -366,7 +366,7 @@ class ComposeCommand(Command):
cmpl = AccountCompleter(ui.accountman)
fromaddress = ui.prompt(prefix='From>', completer=cmpl, tab=1)
... | fix: handle canceling in compose prompts
issue #<I> | pazz_alot | train | py |
de066bba3c68d05c9a501f86375daeb788ea9513 | diff --git a/app/controllers/user_sessions_controller.rb b/app/controllers/user_sessions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/user_sessions_controller.rb
+++ b/app/controllers/user_sessions_controller.rb
@@ -100,6 +100,10 @@ class UserSessionsController < ApplicationController
# no... | <I> - Fix for user with no orgs or perms. | Katello_katello | train | rb |
a7cebb24d7d3b695ba50fdcdc56902aaca3634cd | diff --git a/wallet.js b/wallet.js
index <HASH>..<HASH> 100644
--- a/wallet.js
+++ b/wallet.js
@@ -1913,7 +1913,7 @@ function handlePrivatePaymentFile(fullPath, content, cb) {
if (!bCordova) {
var fs = require('fs'+'');
- fs.readFile(fullPath.replace('file://', ''), unzip);
+ fs.readFile(fullPath.replace('file... | fix space encoded in filepath on desktop clients | byteball_ocore | train | js |
cf52c4511c4ff81e21c66c05322ae4bfc96c22d0 | diff --git a/core-bundle/src/Resources/contao/classes/Backend.php b/core-bundle/src/Resources/contao/classes/Backend.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/classes/Backend.php
+++ b/core-bundle/src/Resources/contao/classes/Backend.php
@@ -551,7 +551,7 @@ abstract class Backend extends \C... | [Core] Remove redundant news comments resources | contao_contao | train | php |
1574e4b9ee5ef83b75e51d7902da77087dfe0d0a | diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/readinput.py
+++ b/openquake/commonlib/readinput.py
@@ -35,7 +35,7 @@ import numpy
import pandas
import requests
-from openquake.baselib import hdf5, parallel, InvalidFile
+from ope... | Supported `source_model_logic_tree_file = ${mosaic}/XXX/in/ssmLT.xml | gem_oq-engine | train | py |
036555c2f4b3ae9e3e53158dabd24fd800b8bd4c | diff --git a/algorithms/synteny.py b/algorithms/synteny.py
index <HASH>..<HASH> 100755
--- a/algorithms/synteny.py
+++ b/algorithms/synteny.py
@@ -91,11 +91,6 @@ def read_blast(blast_file, qorder, sorder, is_self=False, ostrip=True):
if query not in qorder or subject not in sorder:
continue
- ... | minor fix for self comparison in read_blast() | tanghaibao_jcvi | train | py |
0bf0e70111a4b8e54539a36e0d77e3cfa5f344a8 | diff --git a/txtorcon/router.py b/txtorcon/router.py
index <HASH>..<HASH> 100644
--- a/txtorcon/router.py
+++ b/txtorcon/router.py
@@ -76,7 +76,7 @@ class Router(object):
self.or_port = orport
self.dir_port = dirport
self.location = NetLocation(self.ip)
- if self.location.countrycode i... | don't lookup country-codes for routers with no IP | meejah_txtorcon | train | py |
c0fbd925922de34498a9216fa075acd158303de6 | diff --git a/lynx/src/main/java/com/github/pedrovgs/lynx/model/Lynx.java b/lynx/src/main/java/com/github/pedrovgs/lynx/model/Lynx.java
index <HASH>..<HASH> 100644
--- a/lynx/src/main/java/com/github/pedrovgs/lynx/model/Lynx.java
+++ b/lynx/src/main/java/com/github/pedrovgs/lynx/model/Lynx.java
@@ -141,10 +141,11 @@ pub... | Rename aBoolean method on Lynx.java | pedrovgs_Lynx | train | java |
cca84058ffa43bb29661ae217c371ea9529df0fe | diff --git a/test_elasticsearch/test_server/test_common.py b/test_elasticsearch/test_server/test_common.py
index <HASH>..<HASH> 100644
--- a/test_elasticsearch/test_server/test_common.py
+++ b/test_elasticsearch/test_server/test_common.py
@@ -72,7 +72,7 @@ class YamlTestCase(ElasticsearchTestCase):
con... | Sometimes we have dicts indexed by integers in yaml tests | elastic_elasticsearch-py | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.