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 |
|---|---|---|---|---|---|
b43d7bf66b7a855483dfbe1db46164b05b07c9a9 | diff --git a/src/Symfony/Component/Translation/Tests/TranslatorTest.php b/src/Symfony/Component/Translation/Tests/TranslatorTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Translation/Tests/TranslatorTest.php
+++ b/src/Symfony/Component/Translation/Tests/TranslatorTest.php
@@ -182,7 +182,7 @@ class Tra... | [Translation] fixed a unit test | symfony_symfony | train | php |
e65f05715c27217610c93e38635dd04c9bc9f90b | diff --git a/host/logbuf/logbuf.go b/host/logbuf/logbuf.go
index <HASH>..<HASH> 100644
--- a/host/logbuf/logbuf.go
+++ b/host/logbuf/logbuf.go
@@ -51,16 +51,14 @@ func NewLog(l *lumberjack.Logger) *Log {
l.Rotate() // force creating a log file straight away
log := &Log{
l: l,
- buf: make(map[int]*Data),... | host/logbuf: Fix race on closed flag | flynn_flynn | train | go |
1251abece41e3f6ea6504490b168798f23b1f87f | diff --git a/lib/yap/shell/evaluation.rb b/lib/yap/shell/evaluation.rb
index <HASH>..<HASH> 100644
--- a/lib/yap/shell/evaluation.rb
+++ b/lib/yap/shell/evaluation.rb
@@ -314,12 +314,14 @@ module Yap::Shell
def process_ArgumentNode(node)
if node.single_quoted?
- "'#{node.lvalue}'"
+ debug_vi... | Consistently return an array for process_ArgumentNode.
This resolves an issue where "ls *.gem" was failing when "ls" was assigned as an alias, e.g.: "alias ls='ls -G'" | zdennis_yap-shell-core | train | rb |
e09228909ef01df7bd6e94a7a66232be60ff85ee | diff --git a/pylru.py b/pylru.py
index <HASH>..<HASH> 100644
--- a/pylru.py
+++ b/pylru.py
@@ -299,13 +299,9 @@ class WriteThroughCacheManager(object):
return False
def __getitem__(self, key):
- # First we try the cache. If successful we just return the value. If
- # not we catch KeyError ... | Simplified logic of a couple __getitem__ implementations. | jlhutch_pylru | train | py |
94106e3a242039e866771d237c54b042ecdf3b31 | diff --git a/Neos.Flow/Classes/Validation/ValidatorResolver.php b/Neos.Flow/Classes/Validation/ValidatorResolver.php
index <HASH>..<HASH> 100644
--- a/Neos.Flow/Classes/Validation/ValidatorResolver.php
+++ b/Neos.Flow/Classes/Validation/ValidatorResolver.php
@@ -309,7 +309,10 @@ class ValidatorResolver
... | BUGFIX: Only check properties existing in schema | neos_flow-development-collection | train | php |
b65ed608604492d605df2d62cd4c5050e2a8d508 | diff --git a/fetch.js b/fetch.js
index <HASH>..<HASH> 100644
--- a/fetch.js
+++ b/fetch.js
@@ -547,9 +547,15 @@ export function fetch(input, init) {
}
}
- request.headers.forEach(function(value, name) {
- xhr.setRequestHeader(name, value)
- })
+ if (init && typeof init.headers === 'object' &... | If headers are passed in via a Record then do not normalise the header names as part of the request | github_fetch | train | js |
e69a78149ab94377b47e877b6d9076214995b0e1 | diff --git a/lib/openapi3_parser/node_factory/object.rb b/lib/openapi3_parser/node_factory/object.rb
index <HASH>..<HASH> 100644
--- a/lib/openapi3_parser/node_factory/object.rb
+++ b/lib/openapi3_parser/node_factory/object.rb
@@ -61,7 +61,7 @@ module Openapi3Parser
def validate_input(error_collection)
... | Don't use processed_input for validation
It's much easier to validate with more primitive collections | kevindew_openapi3_parser | train | rb,rb |
b0c27402da5522db7d8e1b65c81a28b3a19500b0 | diff --git a/pyinfra/modules/virtualenv.py b/pyinfra/modules/virtualenv.py
index <HASH>..<HASH> 100644
--- a/pyinfra/modules/virtualenv.py
+++ b/pyinfra/modules/virtualenv.py
@@ -30,8 +30,7 @@ def virtualenv(
if present is False and host.fact.directory(path):
# Ensure deletion of unwanted virtualenv
... | Fix relying on pyinfra generator unroll | Fizzadar_pyinfra | train | py |
9f8acad16c6f8a7dcd980bfd8cf192c3faeaed8c | diff --git a/vendor/plugins/dataset/lib/dataset.rb b/vendor/plugins/dataset/lib/dataset.rb
index <HASH>..<HASH> 100644
--- a/vendor/plugins/dataset/lib/dataset.rb
+++ b/vendor/plugins/dataset/lib/dataset.rb
@@ -1,5 +1,5 @@
-require 'activesupport'
-require 'activerecord'
+require 'active_support'
+require 'active_recor... | get rid of deprecation warnings when running specs | radiant_radiant | train | rb |
8f34fea75cf19f137035a23c8e34cec967fbbe19 | diff --git a/Src/java/cql-to-elm/src/main/java/org/cqframework/cql/cql2elm/LibraryBuilder.java b/Src/java/cql-to-elm/src/main/java/org/cqframework/cql/cql2elm/LibraryBuilder.java
index <HASH>..<HASH> 100644
--- a/Src/java/cql-to-elm/src/main/java/org/cqframework/cql/cql2elm/LibraryBuilder.java
+++ b/Src/java/cql-to-elm... | #<I>: Fixed an issue with ConvertsTo functions not resolving return type correctly. | cqframework_clinical_quality_language | train | java |
1293fd83d26bf8305ac6ce306611c2fd6413faee | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -50,8 +50,10 @@ class NoisePeer extends stream.Duplex {
this._handshake.send(null, (err, buf) => {
if (err) return this.destroy(err)
+ this.rawStream.cork() // hack to put buf and header in the same packet
... | Temporarily cork/uncork to force last handshake and header in same pack | emilbayes_noise-peer | train | js |
c105a337c5ff802ec2b43f777d98277916bfaacc | diff --git a/allauth/socialaccount/views.py b/allauth/socialaccount/views.py
index <HASH>..<HASH> 100644
--- a/allauth/socialaccount/views.py
+++ b/allauth/socialaccount/views.py
@@ -22,7 +22,7 @@ def signup(request, **kwargs):
return HttpResponseRedirect(reverse(connections))
signup = request.session.get... | Properly redirect to normal login when session is lost | pennersr_django-allauth | train | py |
7c29e8881f67ba4c23ec2e8aa2e9418d9934dbc3 | diff --git a/src/Symfony/Bundle/FrameworkBundle/RequestListener.php b/src/Symfony/Bundle/FrameworkBundle/RequestListener.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/RequestListener.php
+++ b/src/Symfony/Bundle/FrameworkBundle/RequestListener.php
@@ -103,7 +103,7 @@ class RequestListener
... | Changed log level of "Matched route ..." message from info to debug | symfony_symfony | train | php |
8cf0922154058d5852a25a37265747c4681bcd6f | diff --git a/telemetry/telemetry/internal/backends/chrome/android_browser_backend.py b/telemetry/telemetry/internal/backends/chrome/android_browser_backend.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/internal/backends/chrome/android_browser_backend.py
+++ b/telemetry/telemetry/internal/backends/chrome/andr... | [PGO] Dump all profiles prior to Close()
Devtool client is closed prior to pgo profile dumping, causing a null
reference to the client. This swaps the order such that the client
remains active while dumping, before we close it off.
Bug: chromium:<I>
Change-Id: I7ee7ec3e6a<I>f<I>b<I>d<I>dd7c<I>eb<I>dc6
Reviewed-on: <U... | catapult-project_catapult | train | py |
ca6fc58f2aa983b57a9f228b5b301d4dba20667f | diff --git a/src/FormObject/Field/SelectOneField.php b/src/FormObject/Field/SelectOneField.php
index <HASH>..<HASH> 100644
--- a/src/FormObject/Field/SelectOneField.php
+++ b/src/FormObject/Field/SelectOneField.php
@@ -64,6 +64,23 @@ class SelectOneField extends Field implements Selectable{
}
public functio... | Added better casting of falsish values | mtils_formobject | train | php |
56fba412496a739d08b2b88a5994bfb31426fbc0 | diff --git a/core/src/main/java/net/time4j/PlainTime.java b/core/src/main/java/net/time4j/PlainTime.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/net/time4j/PlainTime.java
+++ b/core/src/main/java/net/time4j/PlainTime.java
@@ -3415,7 +3415,7 @@ public final class PlainTime
}
@Override
- ... | adjustment for changed ChronoMerger (3) | MenoData_Time4J | train | java |
bef5bab4a1f2d61973d9cc92a5fdcfc5d7c8f60c | diff --git a/tile_generator/tile_metadata.py b/tile_generator/tile_metadata.py
index <HASH>..<HASH> 100644
--- a/tile_generator/tile_metadata.py
+++ b/tile_generator/tile_metadata.py
@@ -701,8 +701,16 @@ class TileMetadata(object):
errand = dict()
if job.get('lifecycle') == 'errand':
... | Ensure ordering of deploy-all/delete-all errands.
deploy-all should be the first post-deploy errand.
delete-all should be the last pre-delete errand. | cf-platform-eng_tile-generator | train | py |
f52626f3b157347d85a457419686c68bfaf91973 | diff --git a/.bumpversion.cfg b/.bumpversion.cfg
index <HASH>..<HASH> 100644
--- a/.bumpversion.cfg
+++ b/.bumpversion.cfg
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 3.1.1
+current_version = 3.1.2
commit = True
tag = True
diff --git a/aquarius/__init__.py b/aquarius/__init__.py
index <HASH>..<HASH> 100644
--... | Feature/support more networks (#<I>)
add more supported networks | oceanprotocol_aquarius | train | cfg,py,py |
473c9d6e4919dced64e1275d6d32ea385ff4c8ac | diff --git a/src/test/java/com/googlecode/lanterna/tutorial/Tutorial03.java b/src/test/java/com/googlecode/lanterna/tutorial/Tutorial03.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/googlecode/lanterna/tutorial/Tutorial03.java
+++ b/src/test/java/com/googlecode/lanterna/tutorial/Tutorial03.java
@@ -9,7 +9,6 ... | Removing unused import (was put there by mistake) | mabe02_lanterna | train | java |
18e96163f6976b82446446f8a71b358aa6b06e01 | diff --git a/spec/helper.rb b/spec/helper.rb
index <HASH>..<HASH> 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -11,46 +11,3 @@ end
require 'bacon'
puts "Ruby: #{ RUBY_VERSION }; Pry Theme: #{ PryTheme::VERSION }"
-
-class InputTester
- def initialize(*actions)
- @orig_actions = actions.dup
- @actions ... | Remove old crufty testing APIs | kyrylo_pry-theme | train | rb |
d100a1ff48d22e617926ea87f9bc58830d887736 | diff --git a/spec/network_interface_spec.rb b/spec/network_interface_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/network_interface_spec.rb
+++ b/spec/network_interface_spec.rb
@@ -215,6 +215,12 @@ IP_OUT
end
end
+ describe '#gateway6' do
+ it 'returns the correct default gateway for IPv6 routin... | Added spec for new gateway6 method | ManageIQ_linux_admin | train | rb |
e51aedec8b2b4d2b3e192e2b5a4bbcaa546fe46a | diff --git a/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitClone.java b/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitClone.java
index <HASH>..<HASH> 100644
--- a/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitClone.java
+++ b/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitClone.java
@@ -57,8 +57,9 @@... | Fixed branch specification for clone command. | ajoberstar_gradle-git | train | java |
cf2a300646d9a1e25151dcba1f39a5e56db5279b | diff --git a/sources/lib/Tester/FoundationSessionAtoum.php b/sources/lib/Tester/FoundationSessionAtoum.php
index <HASH>..<HASH> 100644
--- a/sources/lib/Tester/FoundationSessionAtoum.php
+++ b/sources/lib/Tester/FoundationSessionAtoum.php
@@ -28,7 +28,7 @@ use PommProject\Foundation\SessionBuilder;
*/
abstract class... | Session builder needs array in SessionAtoum classes. | pomm-project_Foundation | train | php,php |
ec4cac3ce61f5ae25fc1942edbbc45eac8415ba0 | diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/dimension.py
+++ b/holoviews/core/dimension.py
@@ -128,7 +128,8 @@ class LabelledData(param.Parameterized):
"""
LabelledData is a mix-in class designed to introduce the value and
label ... | Added clarification to LabelledData class docstring | pyviz_holoviews | train | py |
a460ff8843c0749542af72c961456b126344583b | diff --git a/packages/node-krl-compiler/src/c/RuleSelect.js b/packages/node-krl-compiler/src/c/RuleSelect.js
index <HASH>..<HASH> 100644
--- a/packages/node-krl-compiler/src/c/RuleSelect.js
+++ b/packages/node-krl-compiler/src/c/RuleSelect.js
@@ -145,26 +145,6 @@ module.exports = function(ast, comp, e){
var lisp = t... | statemachine should remain on current state by default | Picolab_pico-engine | train | js |
4e6366cd896d8fe93472701ef773de67961d6df7 | diff --git a/tests/python/unittest/test_ndarray.py b/tests/python/unittest/test_ndarray.py
index <HASH>..<HASH> 100644
--- a/tests/python/unittest/test_ndarray.py
+++ b/tests/python/unittest/test_ndarray.py
@@ -56,9 +56,9 @@ def check_with_uniform(uf, arg_shapes, dim=None, npuf=None, rmin=-10, type_list=
if is... | set proper atol for check_with_uniform (#<I>) | apache_incubator-mxnet | train | py |
44af210543184f753b4febc1e500b9be955853d6 | diff --git a/django_extensions/management/commands/runscript.py b/django_extensions/management/commands/runscript.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/runscript.py
+++ b/django_extensions/management/commands/runscript.py
@@ -11,9 +11,6 @@ except NameError:
class Command(BaseComm... | missed verbosity patch for runscript thanks clintecker! fixes ticket #<I> | django-extensions_django-extensions | train | py |
cc29518cce7f546ca6d4e129ab05b1485be583a1 | diff --git a/lib/plugins/module-paths.js b/lib/plugins/module-paths.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/module-paths.js
+++ b/lib/plugins/module-paths.js
@@ -54,6 +54,14 @@ if (config.debugMode) {
addDebugPlugins(paths);
}
+var nvmBin = env.NVM_BIN;
+if (nvmBin && typeof nvmBin === 'string') {
+ nvm... | refactor: load plugins from nvm path | avwo_whistle | train | js |
33a849d132f44ae75bfca1d5ea7a6aa1fb810edb | diff --git a/fireplace/__init__.py b/fireplace/__init__.py
index <HASH>..<HASH> 100644
--- a/fireplace/__init__.py
+++ b/fireplace/__init__.py
@@ -1,3 +1,5 @@
+import pkg_resources
+
__author__ = "Jerome Leclanche"
__email__ = "jerome@leclan.ch"
-__version__ = "0.1"
+__version__ = pkg_resources.require("fireplace")[0... | Get version from pkg_resources | jleclanche_fireplace | train | py |
7b014ca4b2f6944d61f0922308ab93b822d5b2ac | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -61,7 +61,7 @@ module.exports.SRC_USAFE_INLINE = "'unsafe-inline'";
/** Allows unsafe dynamic code evaluation such as JavaScript eval() */
module.exports.SRC_UNSAFE_EVAL = "'unsafe-eval'";
/** Allows loading... | fixed data uri constant
A ':' was missing | erdtman_content-security-policy | train | js |
a73a2ccd9facb4d719204e18beb9f7ce1a5e8bca | diff --git a/malcolm/modules/scanning/parts/scanrunnerpart.py b/malcolm/modules/scanning/parts/scanrunnerpart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/scanning/parts/scanrunnerpart.py
+++ b/malcolm/modules/scanning/parts/scanrunnerpart.py
@@ -209,7 +209,8 @@ class ScanRunnerPart(builtin.parts.ChildPart):
... | ScanRunnerPart: fixing line lengths | dls-controls_pymalcolm | train | py |
6ff1180edc0343053bebcb66e3dc11fc83024f18 | diff --git a/lib/relational-util.js b/lib/relational-util.js
index <HASH>..<HASH> 100644
--- a/lib/relational-util.js
+++ b/lib/relational-util.js
@@ -48,7 +48,7 @@ module.exports.makeentp = function (ent) {
}
else if (_.isArray(ent[field])) {
type[field] = ARRAY_TYPE;
- entp[field] = JSON.stringi... | PostgreSQL supports arrays, this plugin should not stringily them. | senecajs_seneca-postgres-store | train | js |
c1e575ff911c614741cc3b37542ba54f816328e3 | diff --git a/lib/devpipeline_core/sanitizer.py b/lib/devpipeline_core/sanitizer.py
index <HASH>..<HASH> 100644
--- a/lib/devpipeline_core/sanitizer.py
+++ b/lib/devpipeline_core/sanitizer.py
@@ -8,19 +8,17 @@ import devpipeline_core.plugin
def _sanitize_empty_depends(configuration, error_fn):
- for component_na... | Fix #5 - Use dictionary-like interface to access component configurations | dev-pipeline_dev-pipeline-core | train | py |
52c3a494d62db7119a5d0cdb46601b73939c81b1 | diff --git a/pysat/tests/test_instruments.py b/pysat/tests/test_instruments.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_instruments.py
+++ b/pysat/tests/test_instruments.py
@@ -1,11 +1,18 @@
import pytest
+# Make sure to import your instrument library here
import pysat
+# Import the test classes from pysa... | DOC: update comments in test scripts | rstoneback_pysat | train | py |
37a7f37cf829cbe3b272e54291813cd7abd5a646 | diff --git a/src/com/google/javascript/jscomp/GlobalTypeInfo.java b/src/com/google/javascript/jscomp/GlobalTypeInfo.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/GlobalTypeInfo.java
+++ b/src/com/google/javascript/jscomp/GlobalTypeInfo.java
@@ -117,7 +117,9 @@ class GlobalTypeInfo implements C... | [NTI] Link to the explanation of uninferred-const warnings in the error message.
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
cb4fe1df7a0ee30d22b4dbb87dfe5182cbdaf649 | diff --git a/conway.py b/conway.py
index <HASH>..<HASH> 100755
--- a/conway.py
+++ b/conway.py
@@ -57,7 +57,11 @@ def colored_cells(term):
elif num_colors >= 8:
funcs = term.on_red, term.on_green, term.on_blue
else:
- funcs = (term.reverse,) * 3
+ # For black and white, use the checkerb... | Demonstrate the use of the vt<I> alternate charset when in B&W mode. | erikrose_conway | train | py |
7d994471718f0b77457de4cfe3aa3e94ea125b55 | diff --git a/drools-core/src/main/java/org/drools/rule/builder/dialect/asm/GeneratorHelper.java b/drools-core/src/main/java/org/drools/rule/builder/dialect/asm/GeneratorHelper.java
index <HASH>..<HASH> 100644
--- a/drools-core/src/main/java/org/drools/rule/builder/dialect/asm/GeneratorHelper.java
+++ b/drools-core/src/... | Resolve split-packages: Make methods/classes public to prevent compile errors | kiegroup_drools | train | java |
34cab590f9f18804b101a44c17e05480d90b28c4 | diff --git a/src/Illuminate/Support/Collection.php b/src/Illuminate/Support/Collection.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Support/Collection.php
+++ b/src/Illuminate/Support/Collection.php
@@ -195,7 +195,7 @@ class Collection implements ArrayAccess, ArrayableInterface, Countable, Iterator
*/
pub... | [<I>] Collection - DDRYs up the code a little more | laravel_framework | train | php |
b0454b874eb648a5bb630578170b17a227d91e04 | diff --git a/audio/audio.go b/audio/audio.go
index <HASH>..<HASH> 100644
--- a/audio/audio.go
+++ b/audio/audio.go
@@ -190,8 +190,8 @@ type Context struct {
players *players
driver *driver.Player
sampleRate int
- frames int
- writtenBytes int
+ frames int64
+ writtenBytes int64
}
var ... | Fix frame counters to int<I> (#<I>) | hajimehoshi_ebiten | train | go,go |
bb1b5529653aed57e2c39dd8c1f23e3924b5e400 | diff --git a/tests/NavigationTest.php b/tests/NavigationTest.php
index <HASH>..<HASH> 100644
--- a/tests/NavigationTest.php
+++ b/tests/NavigationTest.php
@@ -19,6 +19,8 @@ class NavigationTest extends TestCase
$collection = (new Collection())->push($menu, 'main');
$this->assertEquals($navigation->g... | Test alias methods in a menu | hnhdigital-os_laravel-navigation-builder | train | php |
63551f6477b55df4e2ecfad788f095390bfd567a | diff --git a/src/MigrationTool/SqlMigrationTool.php b/src/MigrationTool/SqlMigrationTool.php
index <HASH>..<HASH> 100644
--- a/src/MigrationTool/SqlMigrationTool.php
+++ b/src/MigrationTool/SqlMigrationTool.php
@@ -47,7 +47,7 @@ abstract class SqlMigrationTool extends AbstractMigrationTool
protected function creat... | Fixed general error: <I> Cannot execute queries while other unbuffered queries are active. | petrknap_php-migrationtool | train | php |
1f4875837d522afb95ec8a4cf2462b0cd17126f1 | diff --git a/lib/scoped_search/rails_helper.rb b/lib/scoped_search/rails_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/scoped_search/rails_helper.rb
+++ b/lib/scoped_search/rails_helper.rb
@@ -219,5 +219,7 @@ module ScopedSearch
auto_complete_field_jquery(method, url, completion_options)
end
+ de... | depracating javascript in helper method used in pre-assets pipe-line code. | wvanbergen_scoped_search | train | rb |
8561bd0f3e6bfd7c8d01bc57cbcc3dca3cf33fc4 | diff --git a/exchangelib/items.py b/exchangelib/items.py
index <HASH>..<HASH> 100644
--- a/exchangelib/items.py
+++ b/exchangelib/items.py
@@ -130,7 +130,7 @@ class Item(EWSElement):
EffectiveRightsField('effective_rights', field_uri='item:EffectiveRights', is_read_only=True),
CharField('last_modified... | 'is_associated' is not supported on Exchange<I> | ecederstrand_exchangelib | train | py |
e43c6b13508a12e4e355a0afaadf08c1668665fe | diff --git a/scripts/performance/perf_processes.py b/scripts/performance/perf_processes.py
index <HASH>..<HASH> 100644
--- a/scripts/performance/perf_processes.py
+++ b/scripts/performance/perf_processes.py
@@ -639,7 +639,6 @@ class LoadClient:
except Exception as ex:
print("{} run_test error {}".... | Remove raise ex to be able to exit | hyperledger_indy-node | train | py |
128acfbbc3ebd748db6d744c0b2fad543c3cf233 | diff --git a/buzz/__init__.py b/buzz/__init__.py
index <HASH>..<HASH> 100644
--- a/buzz/__init__.py
+++ b/buzz/__init__.py
@@ -1,6 +1,7 @@
import contextlib
import inspect
import os
+import sys
import textwrap
@@ -79,7 +80,7 @@ class Buzz(Exception):
final_message = cls.sanitize_errstr(final_messag... | Issue #<I>: Added traceback to handle_errors | dusktreader_py-buzz | train | py |
2cdb00981416a5f7ebbf4856bc42a72d90c4726e | diff --git a/lib/survey_gizmo/configuration.rb b/lib/survey_gizmo/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/survey_gizmo/configuration.rb
+++ b/lib/survey_gizmo/configuration.rb
@@ -65,7 +65,7 @@ module SurveyGizmo
tries: 4,
on: [
Errno::ETIMEDOUT,
- Faraday::Error::ClientErro... | Fix faraday_middleware deprecation error
Turns into an exception at <I> | jarthod_survey-gizmo-ruby | train | rb |
f41e9ad45c3bc0ab042e9e1c034e0c65f345f67e | diff --git a/src/Bkwld/Decoy/Input/Files.php b/src/Bkwld/Decoy/Input/Files.php
index <HASH>..<HASH> 100644
--- a/src/Bkwld/Decoy/Input/Files.php
+++ b/src/Bkwld/Decoy/Input/Files.php
@@ -109,7 +109,7 @@ class Files {
// If the validation rules include a request to encode a video, add it to the encoding queue
if... | Storing the model attribtue instead of the input field in the DB
I think this is more scalable and more relational | BKWLD_decoy | train | php |
3f8fe9acbd10822def9e5dce942d47c7109be971 | diff --git a/tasks/github_releaser.js b/tasks/github_releaser.js
index <HASH>..<HASH> 100644
--- a/tasks/github_releaser.js
+++ b/tasks/github_releaser.js
@@ -121,9 +121,10 @@ module.exports = function(grunt) {
});
async.map(src, uploadAsset, function(err, result){
- if(err) return sh... | fix lack of a `done` function call and some typos | dolbyzerr_grunt-github-releaser | train | js |
1adfde4f0d6a8b1499d9f587a437d8539805393e | diff --git a/injector.py b/injector.py
index <HASH>..<HASH> 100644
--- a/injector.py
+++ b/injector.py
@@ -62,12 +62,7 @@ def reraise(original, exception, maximum_frames=1):
frames = inspect.getinnerframes(tb)
if len(frames) > maximum_frames:
exception = original
- try:
- raise exception.wi... | Remove another Python 2 fallback, not needed anymore | alecthomas_injector | train | py |
e1103a0bfe9d1942db89525e3a1e84ef8c330655 | diff --git a/packages/components/bolt-image/src/image.js b/packages/components/bolt-image/src/image.js
index <HASH>..<HASH> 100644
--- a/packages/components/bolt-image/src/image.js
+++ b/packages/components/bolt-image/src/image.js
@@ -15,7 +15,7 @@ import { ifDefined } from 'lit-html/directives/if-defined';
import Ajv... | refactor: update path to ratio styles | bolt-design-system_bolt | train | js |
0693ce66304d5cda6349b7e338f8166f8259a4e2 | diff --git a/flask_cors.py b/flask_cors.py
index <HASH>..<HASH> 100644
--- a/flask_cors.py
+++ b/flask_cors.py
@@ -121,6 +121,8 @@ def cross_origin(*args, **kwargs):
resp = make_response(f(*args, **kwargs))
_set_cors_headers(resp, options)
+ resp._FLASK_CORS_EVALUATED = Tru... | Ensures CORS options are not evaluated twice | corydolphin_flask-cors | train | py |
866ce8cc440f9fdbbb064f6959b1685ccc3d50f4 | diff --git a/pkg/storage/etcd/etcd_helper_test.go b/pkg/storage/etcd/etcd_helper_test.go
index <HASH>..<HASH> 100644
--- a/pkg/storage/etcd/etcd_helper_test.go
+++ b/pkg/storage/etcd/etcd_helper_test.go
@@ -41,8 +41,6 @@ import (
storagetesting "k8s.io/kubernetes/pkg/storage/testing"
)
-const validEtcdVersion = "e... | delete unused variable in etcd_help_test.go | kubernetes_kubernetes | train | go |
b64c9e8f6f2e2d3a2ddd47b6b79f2b7effeda05a | diff --git a/lib/rbarman/backup.rb b/lib/rbarman/backup.rb
index <HASH>..<HASH> 100644
--- a/lib/rbarman/backup.rb
+++ b/lib/rbarman/backup.rb
@@ -237,7 +237,13 @@ module RBarman
def missing_wal_files
missing = Array.new
needed_wal_files.each do |needed|
- existing = @wal_files.select { |f| f ... | improve speed by replacing Array#select with iterating over existing wal files and break from loop if needed wal file is found | sauspiel_rbarman | train | rb,rb |
35d4bf973298a0b3175fb54376297a65e5a1aca2 | diff --git a/api/src/main/java/jakarta/enterprise/inject/build/compatible/spi/Enhancement.java b/api/src/main/java/jakarta/enterprise/inject/build/compatible/spi/Enhancement.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/jakarta/enterprise/inject/build/compatible/spi/Enhancement.java
+++ b/api/src/main/java/j... | Change @Enhancement#withAnnotations default value to empty array
Previously, the default value of `@Enhancement#withAnnotations` was
the `BeanDefiningAnnotations.class` marker type. To align with
Portable Extensions, which don't have any annotation restriction
by default, this commit changes the default value to an em... | cdi-spec_cdi | train | java |
8a1e1e4a04a0d814c234938509fb47d0ff2c5771 | diff --git a/src/phpFastCache/Core/DriverAbstract.php b/src/phpFastCache/Core/DriverAbstract.php
index <HASH>..<HASH> 100644
--- a/src/phpFastCache/Core/DriverAbstract.php
+++ b/src/phpFastCache/Core/DriverAbstract.php
@@ -33,6 +33,36 @@ abstract class DriverAbstract implements DriverInterface
public $instant;
... | Memory Static for __destruct | PHPSocialNetwork_phpfastcache | train | php |
e8b7895ca7a4b8e2770717dac3ab126b5812185c | diff --git a/tests/Operation/AggregateFunctionalTest.php b/tests/Operation/AggregateFunctionalTest.php
index <HASH>..<HASH> 100644
--- a/tests/Operation/AggregateFunctionalTest.php
+++ b/tests/Operation/AggregateFunctionalTest.php
@@ -217,7 +217,17 @@ class AggregateFunctionalTest extends FunctionalTestCase
... | Adapt aggregate explain checks to new response format | mongodb_mongo-php-library | train | php |
e70839d5da62d7a57fed82cdeec745d3663ed81b | diff --git a/application/modules/g/views/helpers/HtmlLink.php b/application/modules/g/views/helpers/HtmlLink.php
index <HASH>..<HASH> 100755
--- a/application/modules/g/views/helpers/HtmlLink.php
+++ b/application/modules/g/views/helpers/HtmlLink.php
@@ -24,7 +24,7 @@ class G_View_Helper_HtmlLink extends Zend_View_Help... | -n
Allow // for protocol-agnostic links | grrr-amsterdam_garp3 | train | php |
c4441a79b432ca5bd86ba9952d4dd496e32bdeab | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -21,7 +21,6 @@ module.exports = function(config) {
//'bower_components/jquery/dist/jquery.js',
'node_modules/should/should.js',
'test/**/*.js',
- 'test/**/*.jsx',
],
@@ -3... | removed warnings in karma warnings | akiran_react-slick | train | js |
941308d3704a0b576ea2aa0681cab0939c989637 | diff --git a/enrol/manual/enrol.php b/enrol/manual/enrol.php
index <HASH>..<HASH> 100644
--- a/enrol/manual/enrol.php
+++ b/enrol/manual/enrol.php
@@ -353,6 +353,10 @@ function cron() {
// Notify teachers/students about students who's enrolment are going to expire
global $CFG;
+ if (empty($CFG->lastexpir... | Fix for undefined property notice when cron.php is run. | moodle_moodle | train | php |
65660a999efdb020bfe00c2a54e9d3cf05a02427 | diff --git a/lib/swag_dev/project/sham/tasks/doc/watch.rb b/lib/swag_dev/project/sham/tasks/doc/watch.rb
index <HASH>..<HASH> 100644
--- a/lib/swag_dev/project/sham/tasks/doc/watch.rb
+++ b/lib/swag_dev/project/sham/tasks/doc/watch.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+require 'swag_dev/project/sham'
re... | tasks/doc/watch (sham) minor changes | SwagDevOps_kamaze-project | train | rb |
3e88aba57ff35e45d570534c65e7b386ee4627e9 | diff --git a/lib/sensu/config.rb b/lib/sensu/config.rb
index <HASH>..<HASH> 100644
--- a/lib/sensu/config.rb
+++ b/lib/sensu/config.rb
@@ -55,8 +55,10 @@ module Sensu
end
@logger.subscribe(Cabin::Outputs::EmStdlibLogger.new(ruby_logger))
@logger.level = @options[:verbose] ? :debug : :info
- Si... | [fix-log-level-toggle] ensure ruby is aware of SIGUSR1, supporting windows ;) | sensu_sensu | train | rb |
1da96d0e74b4cd15f9247e403fdbfa88d8c5b31b | diff --git a/lxd/db/operations.go b/lxd/db/operations.go
index <HASH>..<HASH> 100644
--- a/lxd/db/operations.go
+++ b/lxd/db/operations.go
@@ -30,8 +30,8 @@ func (c *ClusterTx) GetLocalOperationsUUIDs() ([]string, error) {
return query.SelectStrings(c.tx, stmt, c.nodeID)
}
-// OperationNodes returns a list of node... | lxd/db: Rename OperationNodes to GetNodesWithRunningOperations | lxc_lxd | train | go,go |
b5d1f674abf050391529190d3b4b5ced8e5474d8 | diff --git a/metrics.go b/metrics.go
index <HASH>..<HASH> 100644
--- a/metrics.go
+++ b/metrics.go
@@ -144,7 +144,7 @@ func (m *metrics) registerInstance() {
m.err(err)
return
}
- resp.Body.Close()
+ defer resp.Body.Close()
if resp.StatusCode < http.StatusOK || resp.StatusCode > http.StatusMultipleChoices {... | metrics: defer closing http response bodies
In order to avoid potential surprises if the response bodies are read, defer the closing of the body. | Unleash_unleash-client-go | train | go |
6be1eeaa926ad87ebff6c8379fad795eeba64536 | diff --git a/test/functional/property-list.test.js b/test/functional/property-list.test.js
index <HASH>..<HASH> 100644
--- a/test/functional/property-list.test.js
+++ b/test/functional/property-list.test.js
@@ -1,5 +1,4 @@
var expect = require('expect.js'),
- fixtures = require('../fixtures'),
PropertyList = r... | Fixed listing issue with PropertyList functional test spec | postmanlabs_postman-collection | train | js |
d1641db702da0d487661a1393f6936f35fd824c0 | diff --git a/packages/metascraper-audio/index.js b/packages/metascraper-audio/index.js
index <HASH>..<HASH> 100644
--- a/packages/metascraper-audio/index.js
+++ b/packages/metascraper-audio/index.js
@@ -62,6 +62,7 @@ module.exports = () => ({
// Duplicated logic to the rule above
//TODO: figure out a way ... | fix: don't wait when there are no iframes | microlinkhq_metascraper | train | js |
045a5d79a69cc2eca491356646fd15b7220a9609 | diff --git a/cmd/juju/storage/poollist_test.go b/cmd/juju/storage/poollist_test.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/storage/poollist_test.go
+++ b/cmd/juju/storage/poollist_test.go
@@ -127,6 +127,9 @@ func (s *poolListSuite) assertUnmarshalledOutput(c *gc.C, unmarshall unmarshalle
expected := s.expect(c,
... | Added comment about the reasons for custom comparison because of the unmarhsalled types confusion. | juju_juju | train | go |
17a264a3df6d691a3f9ac77fe0463eb6513e3bf9 | diff --git a/decidim-core/app/jobs/decidim/data_portability_export_job.rb b/decidim-core/app/jobs/decidim/data_portability_export_job.rb
index <HASH>..<HASH> 100644
--- a/decidim-core/app/jobs/decidim/data_portability_export_job.rb
+++ b/decidim-core/app/jobs/decidim/data_portability_export_job.rb
@@ -10,7 +10,7 @@ mod... | fixing error caused by Missing Organization (#<I>) | decidim_decidim | train | rb |
7fe11973c4be03f83c945dff949875bb6672fc29 | diff --git a/wtframework/wtf/_devtools_/filetemplates/_default_yaml_.py b/wtframework/wtf/_devtools_/filetemplates/_default_yaml_.py
index <HASH>..<HASH> 100644
--- a/wtframework/wtf/_devtools_/filetemplates/_default_yaml_.py
+++ b/wtframework/wtf/_devtools_/filetemplates/_default_yaml_.py
@@ -29,8 +29,9 @@ selenium:
... | Fix comment describing the reuse browser setting.
Issue #<I> | wiredrive_wtframework | train | py |
45f1b0dc37c36cb2ac99c03937de692837ea8541 | diff --git a/tests/test_regression.py b/tests/test_regression.py
index <HASH>..<HASH> 100644
--- a/tests/test_regression.py
+++ b/tests/test_regression.py
@@ -17,6 +17,8 @@ and compares the output to the reference.
from __future__ import print_function
+from nose.tools import assert_equal, assert_raises
+
import ... | Refactor file comparison in regression tests
The new way is faster as it fails at the first different line between
the file of interest and the reference. It also allows easier debugging
as it now displays the first different line in both files.
The tests now rely on nosetests. | Tsjerk_Insane | train | py |
c98f3f3df9c47f0019c74cf5b92e41ee734f9810 | diff --git a/gtfspy/networks.py b/gtfspy/networks.py
index <HASH>..<HASH> 100644
--- a/gtfspy/networks.py
+++ b/gtfspy/networks.py
@@ -274,7 +274,7 @@ def temporal_network(gtfs,
},
inplace=True
)
- events_df.drop('seq', 1, inplace=True)
+ # events_df.drop('seq', 1, inplace=True)
return... | Add stop sequence number (seq) to temporal network extracts | CxAalto_gtfspy | train | py |
ec16252734300eee12e3410edaa5441a68eebeed | diff --git a/notes/delete.php b/notes/delete.php
index <HASH>..<HASH> 100644
--- a/notes/delete.php
+++ b/notes/delete.php
@@ -41,7 +41,7 @@ if (empty($CFG->enablenotes)) {
if (data_submitted() && confirm_sesskey()) {
//if data was submitted and is valid, then delete note
$returnurl = $CFG->wwwroot . '/notes/ind... | MDL-<I> notes: passing an object rather than an id to avoid debugging message | moodle_moodle | train | php |
43ef114a9baa5004a2647be4e8964d7e06ef2180 | diff --git a/script/packagecloud.rb b/script/packagecloud.rb
index <HASH>..<HASH> 100644
--- a/script/packagecloud.rb
+++ b/script/packagecloud.rb
@@ -8,9 +8,13 @@ end
require "json"
+packagecloud_ruby_minimum_version = "1.0.4"
begin
+ gem "packagecloud-ruby", ">=#{packagecloud_ruby_minimum_version}"
require ... | Enforced a minimum gem version of <I> for packagecloud-ruby (<I> is the current bare minimum). Avoids issues such as encountered in #<I>.
Installation of the gem is still typically done outside of the script and with sudo access for centralized installation. | git-lfs_git-lfs | train | rb |
108f6312d6d5c7dac88226f4168117d9fa2c1914 | diff --git a/src/main/java/com/jnape/palatable/lambda/functions/builtin/fn2/Eq.java b/src/main/java/com/jnape/palatable/lambda/functions/builtin/fn2/Eq.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/jnape/palatable/lambda/functions/builtin/fn2/Eq.java
+++ b/src/main/java/com/jnape/palatable/lambda/functions/b... | Eq partialed static factory should be typed to Predicate | palatable_lambda | train | java |
4a93cd44bf16f1d21ee4d678f8a8c897c97dc0b5 | diff --git a/LiSE/LiSE/engine.py b/LiSE/LiSE/engine.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/engine.py
+++ b/LiSE/LiSE/engine.py
@@ -176,7 +176,7 @@ class AbstractEngine(object):
dict: listify_dict,
JSONReWrapper: listify_dict,
self.char_cls: lambda obj: ["character", obj.na... | Tolerate null next_location when serializing Thing | LogicalDash_LiSE | train | py |
586b23bd4d345bc09a4bb9ada9d9508b92c491a5 | diff --git a/spec/unit/lib/mailgun_spec.rb b/spec/unit/lib/mailgun_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/lib/mailgun_spec.rb
+++ b/spec/unit/lib/mailgun_spec.rb
@@ -1,7 +1,13 @@
require 'spec_helper'
-#Check if require 'active_resource' passes
-#Check if require 'rest-client' passes
+describe "Root lib... | tests for loaded libraries in mailgun_spec.rb | strongqa_howitzer | train | rb |
fb550d5be24812fd7bebe0014e8035c60487665b | diff --git a/test/shared/index.js b/test/shared/index.js
index <HASH>..<HASH> 100644
--- a/test/shared/index.js
+++ b/test/shared/index.js
@@ -44,7 +44,7 @@ exports.test = function(name) {
cons[name](path, locals, function(err, html){
if (err) return done(err);
html.should.equal('<p>Tobi<... | something is going on internally with atpl that's different than other template engines so making the test different | jonschlinkert_engines | train | js |
9b354fd9aa9c5a15ec9b23c80dad677bb6430820 | diff --git a/packages/vuetify/src/components/VTextField/VTextField.js b/packages/vuetify/src/components/VTextField/VTextField.js
index <HASH>..<HASH> 100644
--- a/packages/vuetify/src/components/VTextField/VTextField.js
+++ b/packages/vuetify/src/components/VTextField/VTextField.js
@@ -110,7 +110,7 @@ export default VI... | fix(vtextfield): check input change before mask logic (#<I>)
In IE <I> input elements with placeholders triggers unnecessary
"input" events. It causes bugs when using mask property.
This commit checks if there is an actual change in input before
calling other methods implementing mask logic.
Example: See Fixes #<I... | vuetifyjs_vuetify | train | js |
64da603d09687d425576fb95ff5e6c4199a83690 | diff --git a/lib/fog/openstack/requests/compute/create_security_group.rb b/lib/fog/openstack/requests/compute/create_security_group.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/openstack/requests/compute/create_security_group.rb
+++ b/lib/fog/openstack/requests/compute/create_security_group.rb
@@ -23,6 +23,7 @@ module ... | [openstack] Fix Test
There seems to be a difference in results coming from these two:
export FOG_MOCK=true && bundle exec shindont +openstack
FOG_MOCK=true shindo tests/openstack/requests/compute/security_group_tests.rb | fog_fog | train | rb,rb |
e229506dab25fc8cbbead0491ee400b7b7cf5e35 | diff --git a/grade/edit/tree/lib.php b/grade/edit/tree/lib.php
index <HASH>..<HASH> 100755
--- a/grade/edit/tree/lib.php
+++ b/grade/edit/tree/lib.php
@@ -377,6 +377,8 @@ class grade_edit_tree {
}
}
+ //Trim's trailing zeros. Used on the 'categories and items' page for grade items settings like aggre... | gradebook MDL-<I> added a comment above a function to make its purpose more clear | moodle_moodle | train | php |
fb1f1d45af945fe8e1ef1884d2118565e8386217 | diff --git a/src/main/java/spark/webserver/MatcherFilter.java b/src/main/java/spark/webserver/MatcherFilter.java
index <HASH>..<HASH> 100755
--- a/src/main/java/spark/webserver/MatcherFilter.java
+++ b/src/main/java/spark/webserver/MatcherFilter.java
@@ -17,6 +17,7 @@
package spark.webserver;
import java.io.IOExcep... | Re-add check that client supports gzip
I forgot to re-add the check to make sure the client supports gzip
compression | perwendel_spark | train | java |
8180711a33eacb9bdce0be407102635a170028a4 | diff --git a/tests/test_buku.py b/tests/test_buku.py
index <HASH>..<HASH> 100644
--- a/tests/test_buku.py
+++ b/tests/test_buku.py
@@ -553,6 +553,16 @@ def test_sigint_handler(capsys):
['http://example.com/page1.txt', (('', 1, 0))],
['about:new_page', (('', 0, 1))],
['chrome://version/', ((''... | chg: test: add url for test title fetch | jarun_Buku | train | py |
c025ce294ba1baf194fba17ff4f0d25ef9ce3229 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,6 +33,14 @@ import os
import subprocess
import stat
import glob
+try:
+ # setuptools (which is needed by py2app) monkey-patches the
+ # distutils.core.Command class.
+ # So we need to import it before importing... | Import setuptools for its monkey-patching. | wummel_linkchecker | train | py |
7b03b76f3701584ece9e41875acd719a1a251907 | diff --git a/lib/bel/language.rb b/lib/bel/language.rb
index <HASH>..<HASH> 100644
--- a/lib/bel/language.rb
+++ b/lib/bel/language.rb
@@ -113,6 +113,14 @@ module BEL
end
alias_method :eql?, :'=='
+
+ def to_sym
+ @short_form
+ end
+
+ def to_s
+ @long_form.to_s
+ end
... | added to_s / to_sym to Function | OpenBEL_bel.rb | train | rb |
23d65d31f2f877c5fb8ef1ef87f7bb55086a13a1 | diff --git a/cursor.js b/cursor.js
index <HASH>..<HASH> 100644
--- a/cursor.js
+++ b/cursor.js
@@ -539,6 +539,10 @@ var nextFunction = function(self, callback) {
// Topology is not connected, save the call in the provided store to be
// Executed at some point when the handler deems it's reconnected
if(!s... | fix: fire callback when topology was destroyed | mongodb_node-mongodb-native | train | js |
e22d94cc3d4180ef0ff811e4c52b355fe4b0daf7 | diff --git a/lib/installer.js b/lib/installer.js
index <HASH>..<HASH> 100644
--- a/lib/installer.js
+++ b/lib/installer.js
@@ -198,6 +198,7 @@ exports.promptAdminUser = function (callback) {
var result = {};
result.name = 'admin';
result.password = 'travis-ci';
+ console.log(result);
... | add debugging
This commit was sponsored by The Hoodie Firm
with support from NLnet: <URL> | hoodiehq_hoodie-server | train | js |
ff0b7b218e53d0b6028c84978dad5be60d2da195 | diff --git a/lib/agent/providers/network/index.js b/lib/agent/providers/network/index.js
index <HASH>..<HASH> 100644
--- a/lib/agent/providers/network/index.js
+++ b/lib/agent/providers/network/index.js
@@ -161,7 +161,17 @@ exp.get_access_points_list = function(callback){
if (err || !nic_name)
return callba... | Network get_access_points_list: sort APs by proximity. | prey_prey-node-client | train | js |
89584a7d9b86b5735e4ba363b55d51bd9f552408 | diff --git a/lib/adapters/http/http.js b/lib/adapters/http/http.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/http/http.js
+++ b/lib/adapters/http/http.js
@@ -623,9 +623,6 @@ function HttpPouch(opts, callback) {
var body;
var method = 'GET';
- // TODO I don't see conflicts as a valid parameter for a
... | (#<I>) - Remove outdated comment | pouchdb_pouchdb | train | js |
dff1c4b50ebb563e15a9b910900ebdda4aa6ff83 | diff --git a/lib/evalhook/tree_processor.rb b/lib/evalhook/tree_processor.rb
index <HASH>..<HASH> 100644
--- a/lib/evalhook/tree_processor.rb
+++ b/lib/evalhook/tree_processor.rb
@@ -195,6 +195,24 @@ module EvalHook
s(tree[0],tree[1],tree[2],process(tree[3]))
end
+ def process_super(tree)
+
+ ... | <I> test pass: implemented processing of node of type super | tario_evalhook | train | rb |
bad4c2103d4cd56bb3ef57c76fc58e1360762389 | diff --git a/plugins/provisioners/docker/installer.rb b/plugins/provisioners/docker/installer.rb
index <HASH>..<HASH> 100644
--- a/plugins/provisioners/docker/installer.rb
+++ b/plugins/provisioners/docker/installer.rb
@@ -14,13 +14,13 @@ module VagrantPlugins
return
end
- @machine.ui.detai... | Only install Docker if it is not already installed | hashicorp_vagrant | train | rb |
9bc21ea775745c81799d0305de23693eed990498 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -5,10 +5,10 @@ import gulpCssScss from './'
test('converts CSS to Scss', t => {
t.plan(2)
- var cssScssStream = gulpCssScss();
+ const cssScssStream = gulpCssScss();
- var actual = ':root {\n --blue: blue;\n}\n\n.some-... | Use const in place of var | johno_gulp-css-scss | train | js |
190dc5d4905cdc7fd91a098570e84b56e7034e13 | diff --git a/pmagpy/pmag.py b/pmagpy/pmag.py
index <HASH>..<HASH> 100755
--- a/pmagpy/pmag.py
+++ b/pmagpy/pmag.py
@@ -2482,7 +2482,7 @@ def dodirot_V(di_block, Dbar, Ibar):
di_block = di_block.transpose()
data = np.array([di_block[0], di_block[1], DipDir, Dip]).transpose()
drot, irot = dotilt_V(data)
- ... | modified: pmagpy/pmag.py | PmagPy_PmagPy | train | py |
36ec4fad2a8f61ca19e2aac38942c175cea4a9c3 | diff --git a/smart_open/tests/test_smart_open.py b/smart_open/tests/test_smart_open.py
index <HASH>..<HASH> 100644
--- a/smart_open/tests/test_smart_open.py
+++ b/smart_open/tests/test_smart_open.py
@@ -102,7 +102,7 @@ class SmartOpenReadTest(unittest.TestCase):
smart_open_object = smart_open.HdfsOpenRead(smar... | modified "hdfs" test | RaRe-Technologies_smart_open | train | py |
d083e4db37cd9c1a039ee9b43745612230a1e788 | diff --git a/lib/swag_dev/project/tools/git/hooks/base_hook.rb b/lib/swag_dev/project/tools/git/hooks/base_hook.rb
index <HASH>..<HASH> 100644
--- a/lib/swag_dev/project/tools/git/hooks/base_hook.rb
+++ b/lib/swag_dev/project/tools/git/hooks/base_hook.rb
@@ -1,12 +1,18 @@
# frozen_string_literal: true
require_relat... | git/hooks/base_hook (tools) with_exit_on_failure included | SwagDevOps_kamaze-project | train | rb |
84f2965621942195fa6298e3ac442a2b0e5e80eb | diff --git a/src/extensions/renderer/canvas/index.js b/src/extensions/renderer/canvas/index.js
index <HASH>..<HASH> 100644
--- a/src/extensions/renderer/canvas/index.js
+++ b/src/extensions/renderer/canvas/index.js
@@ -94,6 +94,25 @@ function CanvasRenderer( options ){
// then keep cached ele texture
} ... | For each 'style' dirty event, w.r.t. the element texture cache, manually diff the parent opacity. Invalidate the descendants when the diff is non-empty.
Ref : Opacity of child node is not updated for certain zoom levels after parent opacity is overriden #<I> | cytoscape_cytoscape.js | train | js |
748e27f6657340de7f7ab7fde1b57aabe5d9ff5f | diff --git a/tests/integration/components/sl-modal-test.js b/tests/integration/components/sl-modal-test.js
index <HASH>..<HASH> 100755
--- a/tests/integration/components/sl-modal-test.js
+++ b/tests/integration/components/sl-modal-test.js
@@ -35,25 +35,6 @@ const template = hbs`
`;
moduleForComponent( 'sl-modal', '... | between test clean up code no longer needed, each test should be clean | softlayer_sl-ember-components | train | js |
e9a3e0a2af409cae3d894b14136c26f075e53131 | diff --git a/concrete/src/Updater/Migrations/Migrations/Version20180119000000.php b/concrete/src/Updater/Migrations/Migrations/Version20180119000000.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Updater/Migrations/Migrations/Version20180119000000.php
+++ b/concrete/src/Updater/Migrations/Migrations/Version20180119... | Be sure that foreign keys in ExpressEntities table exist | concrete5_concrete5 | train | php |
c14c63d63c936f3879573b4c3a4cdf8160ee5484 | diff --git a/values_test.go b/values_test.go
index <HASH>..<HASH> 100644
--- a/values_test.go
+++ b/values_test.go
@@ -1095,11 +1095,11 @@ func TestRowDecode(t *testing.T) {
expected []interface{}
}{
{
- "select row(1, 'cat', '2015-01-01 08:12:42'::timestamptz)",
+ "select row(1, 'cat', '2015-01-01 08:12:42... | Fix test failure when DB and client are not in the same time zone
Explicitly set the time zone to UTC in the database and in the
test expectation. Then compare the two times in the client-local
time zone. | jackc_pgx | train | go |
4a590e8c39e0d3890ddf0847e58a8cf45e35b12e | diff --git a/packages/wpcom.js/lib/post.js b/packages/wpcom.js/lib/post.js
index <HASH>..<HASH> 100644
--- a/packages/wpcom.js/lib/post.js
+++ b/packages/wpcom.js/lib/post.js
@@ -39,7 +39,7 @@ Post.prototype.get = function(id, params, fn){
* @api public
*/
-Post.prototype.getBySlug = function(slug, params, fn){
+... | post: no more camelCase in method | Automattic_wp-calypso | train | js |
c290d939e4c086fb765341e482388f774328afad | diff --git a/src/strategy.js b/src/strategy.js
index <HASH>..<HASH> 100644
--- a/src/strategy.js
+++ b/src/strategy.js
@@ -26,6 +26,7 @@ var lookup = require('./utils').lookup;
* - `usernameProp` property name/path where the username is found, defaults to `'username'`
* - `passwordProp` property name/path whe... | Add a comment in the code about the `allowEmptyPasswords` option | JamesMGreene_passport-json | train | js |
8cb74c682f24f9f008555cbc9e1311823301bc08 | diff --git a/src/Commands/InstallerCommand.php b/src/Commands/InstallerCommand.php
index <HASH>..<HASH> 100644
--- a/src/Commands/InstallerCommand.php
+++ b/src/Commands/InstallerCommand.php
@@ -308,6 +308,9 @@ STEP
$this->info('Starting publishing vendor assets.');
$this->call('vendor:publish');
... | Added config refresh after publishing, so errors are avoided during installation using CLI commands. | laraflock_dashboard | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.