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 |
|---|---|---|---|---|---|
aa8fe2e04f60819a802e1d85cef25a3d90d705ce | diff --git a/core/src/main/java/org/projectodd/wunderboss/WunderBoss.java b/core/src/main/java/org/projectodd/wunderboss/WunderBoss.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/projectodd/wunderboss/WunderBoss.java
+++ b/core/src/main/java/org/projectodd/wunderboss/WunderBoss.java
@@ -135,7 +135,21 @@ ... | Run shutdown actions in Runtime shutdown hook [IMMUTANT-<I>]
Only when out-of-container, as actions are already run when app is
undeployed.
The primary motivation for this (other than I thought we already were)
is to drain requests-in-progress with Undertow's GracefulShutdownHandler
before the JVM exits. | projectodd_wunderboss-release | train | java |
d92f256fb252760760214716a89f57a67ef4d081 | diff --git a/src/marshmallow/schema.py b/src/marshmallow/schema.py
index <HASH>..<HASH> 100644
--- a/src/marshmallow/schema.py
+++ b/src/marshmallow/schema.py
@@ -467,15 +467,12 @@ class BaseSchema(base.SchemaABC):
Renamed from ``marshal``.
"""
if many and obj is not None:
- se... | Remove unused _pending attribute (#<I>) | marshmallow-code_marshmallow | train | py |
406509e93e0e239ecb3f1344d33d6fd0563e8964 | diff --git a/cmd/influxd/run/server.go b/cmd/influxd/run/server.go
index <HASH>..<HASH> 100644
--- a/cmd/influxd/run/server.go
+++ b/cmd/influxd/run/server.go
@@ -371,7 +371,7 @@ func (s *Server) reportServer() {
json := fmt.Sprintf(`[{
"name":"reports",
- "columns":["os", "arch", "version", "server_id", "i... | Remove rogue ID field from reporting | influxdata_influxdb | train | go |
06fbed0d8207f22c7764480803c6529bc9709629 | diff --git a/LeanMapper/Repository.php b/LeanMapper/Repository.php
index <HASH>..<HASH> 100644
--- a/LeanMapper/Repository.php
+++ b/LeanMapper/Repository.php
@@ -81,11 +81,12 @@ abstract class Repository
->where('%n = ?', $primaryKey, $entity->$idField)
->execute();
$entity->markAsUpdated();
-
- ... | Fixed place where Repository::persistHasManyChanges is called | Tharos_LeanMapper | train | php |
6ee80be90edc8c6d067b07ae01bf5439315d44af | diff --git a/plugins/compression.js b/plugins/compression.js
index <HASH>..<HASH> 100644
--- a/plugins/compression.js
+++ b/plugins/compression.js
@@ -4,18 +4,21 @@ module.exports = compressionPlugin
function compressionPlugin() {
return {
- decompress: decompress,
- compress: compress,
+ get: get,
+ set: set,... | update plugin to use get/set methods | marcuswestin_store.js | train | js |
27247b726742ea5a0852274f228323f51af072d0 | diff --git a/src/components/link.js b/src/components/link.js
index <HASH>..<HASH> 100644
--- a/src/components/link.js
+++ b/src/components/link.js
@@ -105,7 +105,7 @@ export default {
function guardEvent (e) {
// don't redirect with control keys
- if (e.metaKey || e.ctrlKey || e.shiftKey) return
+ if (e.metaKey... | Fix Link component to guard the event if alt key is pressed (#<I>) | vuejs_vue-router | train | js |
8ae3dce967996f9cac0824eaa16f9d70e0bb19e7 | diff --git a/pymzn/mzn/solvers.py b/pymzn/mzn/solvers.py
index <HASH>..<HASH> 100644
--- a/pymzn/mzn/solvers.py
+++ b/pymzn/mzn/solvers.py
@@ -142,6 +142,13 @@ class Optimathsat(Solver):
def __init__(self, solver_id='optimathsat'):
super().__init__(solver_id)
+ def args(
+ self, all_solutions=... | solvers: add basic Optimathsat args | paolodragone_pymzn | train | py |
f41ad9984c8be4c1ce3a0a1c64e08a7b07536354 | diff --git a/lib/pyfrc/wpilib/__init__.py b/lib/pyfrc/wpilib/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/pyfrc/wpilib/__init__.py
+++ b/lib/pyfrc/wpilib/__init__.py
@@ -1,2 +1,2 @@
from .core import *
-
+from ..main import run | Add run function to wpilib so robot code can get at it | robotpy_pyfrc | train | py |
e9e063d6f37bc9ffadd33e494dccfda772f8f122 | diff --git a/lxd/containers.go b/lxd/containers.go
index <HASH>..<HASH> 100644
--- a/lxd/containers.go
+++ b/lxd/containers.go
@@ -798,7 +798,6 @@ func newLxdContainer(name string, daemon *Daemon) (*lxdContainer, error) {
return nil, err
}
logfile := shared.VarPath("lxc", name, "log")
- fmt.Println(logfile)
er... | Don't print the logfile location all the time | lxc_lxd | train | go |
23d4ac1aa7c2f83fd78d8d6aa621e799775e294d | diff --git a/validator/testcases/content.py b/validator/testcases/content.py
index <HASH>..<HASH> 100644
--- a/validator/testcases/content.py
+++ b/validator/testcases/content.py
@@ -272,7 +272,8 @@ def _process_file(err, xpi_package, name, file_data, name_lower,
is_subpackage else
... | Preserve initial supported apps dict for later restoration | mozilla_amo-validator | train | py |
267f7458ff4dce80557d9bb0684573b07cf3778b | diff --git a/src/Pho/Framework/AclCore.php b/src/Pho/Framework/AclCore.php
index <HASH>..<HASH> 100644
--- a/src/Pho/Framework/AclCore.php
+++ b/src/Pho/Framework/AclCore.php
@@ -50,6 +50,26 @@ class AclCore {
}
/**
+ * Getter for the Creator object.
+ *
+ * @return Actor
+ */
+ public fu... | minor improvements; added getter methods for core properties | phonetworks_pho-framework | train | php |
f6c8f2365c5beca6616c24891aab9f422af6f7cf | diff --git a/openfisca_core/formulas.py b/openfisca_core/formulas.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/formulas.py
+++ b/openfisca_core/formulas.py
@@ -17,7 +17,7 @@ from . import holders, periods
from .parameters import ParameterNotFound
from .periods import MONTH, YEAR, ETERNITY
from .commons import... | Encode enums when formula result is an int array | openfisca_openfisca-core | train | py |
01d80fefe4ffd32edc79809acd84a871625c6e7c | diff --git a/keanu-project/src/main/java/io/improbable/keanu/plating/loop/Loop.java b/keanu-project/src/main/java/io/improbable/keanu/plating/loop/Loop.java
index <HASH>..<HASH> 100644
--- a/keanu-project/src/main/java/io/improbable/keanu/plating/loop/Loop.java
+++ b/keanu-project/src/main/java/io/improbable/keanu/plat... | logger should only give INFO (not WARN) if max count has been reached but the user told it not to throw | improbable-research_keanu | train | java |
2d44017f40ed95c0653d440b16fc58e0f3558226 | diff --git a/packages/express/lib/serve.js b/packages/express/lib/serve.js
index <HASH>..<HASH> 100644
--- a/packages/express/lib/serve.js
+++ b/packages/express/lib/serve.js
@@ -13,7 +13,7 @@ module.exports = (mode, { configureServer }) => {
{ phases }
);
const router = new Router();
- const app = configur... | fix(express): reinstate previous behaviour, broken in #<I> | untool_untool | train | js |
7547f4c1f802deae11ad528536ae086bcb5e89ee | diff --git a/tests/ResourceGeneratorTest.php b/tests/ResourceGeneratorTest.php
index <HASH>..<HASH> 100644
--- a/tests/ResourceGeneratorTest.php
+++ b/tests/ResourceGeneratorTest.php
@@ -87,7 +87,7 @@ class ResourceGeneratorTest extends TestCase
public function tearDown()
{
parent::tearDown();
- ... | Clean up tmp directory after running tests | php-api-clients_resource-generator | train | php |
26196921a01998172dc3c1f45bcc1d1be75cf981 | diff --git a/kik_unofficial/datatypes/xmpp/group_adminship.py b/kik_unofficial/datatypes/xmpp/group_adminship.py
index <HASH>..<HASH> 100644
--- a/kik_unofficial/datatypes/xmpp/group_adminship.py
+++ b/kik_unofficial/datatypes/xmpp/group_adminship.py
@@ -45,7 +45,7 @@ class UnbanRequest(XMPPElement):
data = ('... | Fix malformed XML for (un)ban requests | tomer8007_kik-bot-api-unofficial | train | py |
5a620da29a11dbf6f7432568c0721a6b643152e4 | diff --git a/go/vt/vttablet/tabletmanager/vreplication/engine.go b/go/vt/vttablet/tabletmanager/vreplication/engine.go
index <HASH>..<HASH> 100644
--- a/go/vt/vttablet/tabletmanager/vreplication/engine.go
+++ b/go/vt/vttablet/tabletmanager/vreplication/engine.go
@@ -60,8 +60,6 @@ const (
table_name varbinary(128),
... | engine's early schema creation did not work as expected. Not improtant on this branch's radar | vitessio_vitess | train | go |
e5621f8c39ed620e5d972e292812d50ca0e6113a | diff --git a/web/concrete/authentication/concrete/controller.php b/web/concrete/authentication/concrete/controller.php
index <HASH>..<HASH> 100644
--- a/web/concrete/authentication/concrete/controller.php
+++ b/web/concrete/authentication/concrete/controller.php
@@ -2,6 +2,7 @@
namespace Concrete\Authentication\Concre... | fixed missing loader that broke my first login
Former-commit-id: a<I>c<I>f<I>a<I>c2ebb<I>d<I>b<I>a2b5c1ed<I>c | concrete5_concrete5 | train | php |
d45ce359233266d765fc972b5506464db9dee283 | diff --git a/lib/Predis/Connection/PhpiredisConnection.php b/lib/Predis/Connection/PhpiredisConnection.php
index <HASH>..<HASH> 100644
--- a/lib/Predis/Connection/PhpiredisConnection.php
+++ b/lib/Predis/Connection/PhpiredisConnection.php
@@ -236,10 +236,10 @@ class PhpiredisConnection extends AbstractConnection
... | Use a random IP when a host has several IPs.
Using gethostbyname, we will reuse the same (first) IP address for
each request. Here, we choose the IP we use randomly.
This is practical in a case where we have multiple redis read-only
slaves that can't invidually support the full application load, but are
accessible th... | imcj_predis | train | php |
31fce1d6925f459e3bec7a42d70bce1a61b9bc08 | diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py
index <HASH>..<HASH> 100644
--- a/spyder/app/mainwindow.py
+++ b/spyder/app/mainwindow.py
@@ -1232,6 +1232,7 @@ class MainWindow(QMainWindow):
plugin.dockwidget.raise_()
# Hide Python console until we remove it
+ self... | Python console: Fix error while creating history log file at startup | spyder-ide_spyder | train | py,py |
6ad6e4e1d9251a9fddcbed80bdaad18ed07c66ae | diff --git a/pandas/core/series.py b/pandas/core/series.py
index <HASH>..<HASH> 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -103,11 +103,11 @@ class Series(base.IndexOpsMixin, strings.StringAccessorMixin,
"""
One-dimensional ndarray with axis labels (including time series).
- Labels... | DOC: Correct uniqueness of index for Series (#<I>) | pandas-dev_pandas | train | py |
beb8a8ce90d08e9796ab06585192e5484cf517f9 | diff --git a/src/fng-ui-select.js b/src/fng-ui-select.js
index <HASH>..<HASH> 100644
--- a/src/fng-ui-select.js
+++ b/src/fng-ui-select.js
@@ -265,7 +265,7 @@
defaultPlaceholder = 'Start typing...'
}
// set up the ui-select directives
- var select = '<ui-select ' + mu... | Change hard coded width to min-width | forms-angular_fng-ui-select | train | js |
c28df4c18154af4770e9adb84732b278208cb872 | diff --git a/lib/Clever/Student.php b/lib/Clever/Student.php
index <HASH>..<HASH> 100644
--- a/lib/Clever/Student.php
+++ b/lib/Clever/Student.php
@@ -27,6 +27,7 @@ class CleverStudent extends CleverApiResource
'school' => array(),
'distr... | Added the 'contacts' API endpoint to the Student object | Clever_clever-php | train | php |
57559dadc839bb3144f3fc012de4414e44ca8448 | diff --git a/packages/material-ui/src/StepLabel/StepLabel.js b/packages/material-ui/src/StepLabel/StepLabel.js
index <HASH>..<HASH> 100644
--- a/packages/material-ui/src/StepLabel/StepLabel.js
+++ b/packages/material-ui/src/StepLabel/StepLabel.js
@@ -79,6 +79,7 @@ const StepLabel = React.forwardRef(function StepLabel(p... | [Stepper] Fix the icon prop support in StepLabel (#<I>) | mui-org_material-ui | train | js |
3350ab0d82f7cf0c88a16b0365ff365d77507ea6 | diff --git a/fileutil/fileutil.go b/fileutil/fileutil.go
index <HASH>..<HASH> 100644
--- a/fileutil/fileutil.go
+++ b/fileutil/fileutil.go
@@ -122,7 +122,7 @@ func ReadStringFromFile(pth string) (string, error) {
// this is the "permissions" info, which can be passed directly to
// functions like WriteBytesToFileWi... | Use `Lstat` instead of `Stat` in `genericIsPathExists` & `GetFileModeOfFile`
The difference is symbolic links.
`Lstat`: If the file is a symbolic link, the returned FileInfo describes the symbolic link. Lstat makes no attempt to follow the link. | bitrise-io_go-utils | train | go,go |
5f03ae86d97402fa35cf3645c9a8b484cb0071f9 | diff --git a/km3pipe/pumps/tests/test_evt.py b/km3pipe/pumps/tests/test_evt.py
index <HASH>..<HASH> 100644
--- a/km3pipe/pumps/tests/test_evt.py
+++ b/km3pipe/pumps/tests/test_evt.py
@@ -81,7 +81,7 @@ class TestEvtParser(TestCase):
"end_event:"
))
- self.pump = EvtPump()
+ self... | Fixes broken test due to new positional argument 'filename' in pumps | tamasgal_km3pipe | train | py |
53841e02bd0d6910e6faa8bdde9d9aeda695cab0 | diff --git a/app/main.go b/app/main.go
index <HASH>..<HASH> 100644
--- a/app/main.go
+++ b/app/main.go
@@ -83,7 +83,7 @@ func (r *realize) Increase() {
rLimit.Cur = r.Limit
err := syscall.Setrlimit(syscall.RLIMIT_NOFILE, &rLimit)
if err != nil {
- fmt.Println(c.Red("Error Setting Rlimit "), err)
+ log.Fatal(c.R... | fatal error if the system can't set a rlimit | oxequa_realize | train | go |
760e4680f0c6d7198c8acfd757ba5638c8d5fc2a | diff --git a/pyrsistent.py b/pyrsistent.py
index <HASH>..<HASH> 100644
--- a/pyrsistent.py
+++ b/pyrsistent.py
@@ -6,7 +6,6 @@ from numbers import Integral
import sys
import six
-import warnings
def _bitcount(val):
@@ -706,13 +705,6 @@ class PMap(object):
evolver.remove(key)
return evolver.pm... | Removed deprecated merge and merge_with on PMap | tobgu_pyrsistent | train | py |
a9dafe73c79bfe29638c794398f7968861482830 | diff --git a/indra/sources/geneways/__init__.py b/indra/sources/geneways/__init__.py
index <HASH>..<HASH> 100644
--- a/indra/sources/geneways/__init__.py
+++ b/indra/sources/geneways/__init__.py
@@ -1 +1 @@
-from .geneways_api import process_geneways_files
+from .api import process_geneways_files | Refactor: geneways_api to api | sorgerlab_indra | train | py |
96a9725297e7edaba6da9e1f2c0b4aa48785dc5a | diff --git a/Eloquent/Relations/MorphTo.php b/Eloquent/Relations/MorphTo.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Relations/MorphTo.php
+++ b/Eloquent/Relations/MorphTo.php
@@ -151,7 +151,11 @@ class MorphTo extends BelongsTo
{
$class = Model::getActualClassNameForMorph($type);
- return new... | Set relation connection on eager loaded MorphTo | illuminate_database | train | php |
22699c0f450fe46932b47ed3763f98a424151595 | diff --git a/src/python/atomistica/mdcore_io.py b/src/python/atomistica/mdcore_io.py
index <HASH>..<HASH> 100644
--- a/src/python/atomistica/mdcore_io.py
+++ b/src/python/atomistica/mdcore_io.py
@@ -121,7 +121,9 @@ def read_atoms(fn, cycfn=None, pos_only=False, conv=1.0):
l2 = f.readline()
... | MAINT: Python-3 compatibility. | Atomistica_atomistica | train | py |
18f7772a9b768e5703f3f7dc83a40638dea414b2 | diff --git a/lib/arjdbc/db2/adapter.rb b/lib/arjdbc/db2/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/db2/adapter.rb
+++ b/lib/arjdbc/db2/adapter.rb
@@ -424,8 +424,9 @@ module ArJdbc
end
end
- def remove_index(table_name, options = { })
- execute "DROP INDEX #{quote_column_name(index_nam... | [DB2] Fix error on named index removing | jruby_activerecord-jdbc-adapter | train | rb |
08a2065119b00f57a12549affd242d7f2e18f9a3 | diff --git a/thefuck/rules/no_such_file.py b/thefuck/rules/no_such_file.py
index <HASH>..<HASH> 100644
--- a/thefuck/rules/no_such_file.py
+++ b/thefuck/rules/no_such_file.py
@@ -3,7 +3,9 @@ import re
patterns = (
r"mv: cannot move '[^']*' to '([^']*)': No such file or directory",
+ r"mv: cannot move '[^']*'... | Add missing cases for the `no_such_file` rule | nvbn_thefuck | train | py |
a893540b667c302ae3267d3968628b19f8aca4ec | diff --git a/libnetwork/drivers/ipvlan/ipvlan_network.go b/libnetwork/drivers/ipvlan/ipvlan_network.go
index <HASH>..<HASH> 100644
--- a/libnetwork/drivers/ipvlan/ipvlan_network.go
+++ b/libnetwork/drivers/ipvlan/ipvlan_network.go
@@ -38,7 +38,6 @@ func (d *driver) CreateNetwork(nid string, option map[string]interface{... | libnetwork: ipvlan: set network ID as part of parseNetworkOptions | moby_moby | train | go |
0074324b107c1736914c20f570258b474e4caadb | diff --git a/core/server/data/migrations/versions/3.22/02-settings-key-renames.js b/core/server/data/migrations/versions/3.22/02-settings-key-renames.js
index <HASH>..<HASH> 100644
--- a/core/server/data/migrations/versions/3.22/02-settings-key-renames.js
+++ b/core/server/data/migrations/versions/3.22/02-settings-key-... | Fixed migration when brand setting is null
refs #<I>
This would throw if the setting was null, we catch and use the default
instead. | TryGhost_Ghost | train | js |
010a7f8eff2895eae831ea89072333b71fa7c135 | diff --git a/integration_tests/test_files.py b/integration_tests/test_files.py
index <HASH>..<HASH> 100644
--- a/integration_tests/test_files.py
+++ b/integration_tests/test_files.py
@@ -13,7 +13,7 @@ class Test_make_unreadable_file(unittest.TestCase):
def test(self):
path = os.path.join(self.tmp, "unread... | Really fix in compatibility with python <I> | andreafrancia_trash-cli | train | py |
1a0cbe80885942a3e97af26dfd61d3de141acf20 | diff --git a/web/concrete/blocks/image/view.php b/web/concrete/blocks/image/view.php
index <HASH>..<HASH> 100644
--- a/web/concrete/blocks/image/view.php
+++ b/web/concrete/blocks/image/view.php
@@ -26,7 +26,7 @@ if (is_object($f)) {
<? } ?>
<script>
$(function() {
- $('.bID-<?php echo $bID;?>')
+ $('.bID-<?ph... | amended echo to print for consistency in view.php
Former-commit-id: 4b<I>a8cd<I>c<I>ed<I>e<I>f7abd4aff5f | concrete5_concrete5 | train | php |
2374717c15fa402d689dd755ba0f933f9ee9b445 | diff --git a/kv/service.go b/kv/service.go
index <HASH>..<HASH> 100644
--- a/kv/service.go
+++ b/kv/service.go
@@ -77,7 +77,9 @@ func NewService(log *zap.Logger, kv Store, configs ...ServiceConfig) *Service {
if len(configs) > 0 {
s.Config = configs[0]
- } else {
+ }
+
+ if s.Config.SessionLength == 0 {
s.Con... | refactor(kv): when no session length is set, use the default
In the past, the default was only being set if a service config wasn't
provided. But if a service config was provided and gave a zero value, it
would not fill in the default value. This changes the code so that it
will always set the default value if the ses... | influxdata_influxdb | train | go |
71bb8392c97a43f3e33df0dcfc2efa4a6c905438 | diff --git a/js/btcmarkets.js b/js/btcmarkets.js
index <HASH>..<HASH> 100644
--- a/js/btcmarkets.js
+++ b/js/btcmarkets.js
@@ -44,7 +44,7 @@ module.exports = class btcmarkets extends Exchange {
'www': 'https://btcmarkets.net',
'doc': [
'https://api.btcmarkets.net/d... | btcmarkets dangling comma | ccxt_ccxt | train | js |
cd1292f78a3a0363b28211eacd7f3eb1850eddc7 | diff --git a/lib/jumpstart_auth.rb b/lib/jumpstart_auth.rb
index <HASH>..<HASH> 100644
--- a/lib/jumpstart_auth.rb
+++ b/lib/jumpstart_auth.rb
@@ -8,6 +8,25 @@ class JumpstartAuth
:consumer_secret => "M0XkT6GeBnjxdlWHcSGYX1JutMVS9D5ISlkqRfShg"
}
+ def self.client_class
+ @client_class ||= Class.new(Twitte... | Simulate previous DM behavior
Previously, Twitter updates with leading 'd' were interpreted as DMs. Simulating that via subclassing the client class. | JumpstartLab_jumpstart_auth | train | rb |
d784bf9467bbaf8ffb37621c13fa30dfbb98e4d8 | diff --git a/stratosphere-core/src/main/java/eu/stratosphere/core/fs/FileSystem.java b/stratosphere-core/src/main/java/eu/stratosphere/core/fs/FileSystem.java
index <HASH>..<HASH> 100644
--- a/stratosphere-core/src/main/java/eu/stratosphere/core/fs/FileSystem.java
+++ b/stratosphere-core/src/main/java/eu/stratosphere/c... | FS.get(): Add URI causing exception to message. | apache_flink | train | java |
ea18f3e92079448fe3d783fc404dfbe8800f6a4d | diff --git a/mongo_connector/connector.py b/mongo_connector/connector.py
index <HASH>..<HASH> 100644
--- a/mongo_connector/connector.py
+++ b/mongo_connector/connector.py
@@ -66,6 +66,17 @@ class Connector(threading.Thread):
LOG.warning('No doc managers specified, using simulator.')
self.doc_m... | Log a warning regarding missing pymongo C extensions. (#<I>) | yougov_mongo-connector | train | py |
7d61982ad01700ec819dcac72aad8ac3902fb67c | diff --git a/core/ViewDataTable/Sparkline.php b/core/ViewDataTable/Sparkline.php
index <HASH>..<HASH> 100644
--- a/core/ViewDataTable/Sparkline.php
+++ b/core/ViewDataTable/Sparkline.php
@@ -108,7 +108,10 @@ class Sparkline extends ViewDataTable
$columns = $this->viewProperties['columns_to_display'];
... | Fix regression in MultiSites controller (sparklines would not display). | matomo-org_matomo | train | php,php |
8c01ea0ea613ab7615ca52e8c671f426e0635437 | diff --git a/unyt/array.py b/unyt/array.py
index <HASH>..<HASH> 100644
--- a/unyt/array.py
+++ b/unyt/array.py
@@ -357,7 +357,8 @@ class unyt_array(np.ndarray):
set, input_units *must* be a valid unit object. Defaults to False.
name : string
The name of the array. Defaults to None. This attribute... | address review comments
- in array.py, clarify name attribute docstring and comment | yt-project_unyt | train | py |
5d6e697d75391a2909880dc3b65000f1852c02fd | diff --git a/template.go b/template.go
index <HASH>..<HASH> 100644
--- a/template.go
+++ b/template.go
@@ -210,8 +210,10 @@ func (p *Package) writeHeader(w io.Writer) error {
fmt.Fprintf(&buf, "package %s\n", p.Name)
// Write deduped imports.
- var decls = make(map[string]*ast.ImportSpec)
+ var decls = map[string... | Automatically include fmt and io packages. | benbjohnson_ego | train | go |
d4897b7b75f82dc1ace0ea01f4005955e9960d6f | diff --git a/wpull/version.py b/wpull/version.py
index <HASH>..<HASH> 100644
--- a/wpull/version.py
+++ b/wpull/version.py
@@ -32,5 +32,5 @@ def get_version_tuple(string):
return (major, minor, patch, level, serial)
-__version__ = '0.34a1'
+__version__ = '0.35a1'
version_info = get_version_tuple(__version__) | Bumps version to <I>a1.
[ci skip] | ArchiveTeam_wpull | train | py |
7faa259e314282e1433ec8d3a5bd2eaf81c19e75 | diff --git a/ayrton/__init__.py b/ayrton/__init__.py
index <HASH>..<HASH> 100644
--- a/ayrton/__init__.py
+++ b/ayrton/__init__.py
@@ -198,5 +198,6 @@ def run (code, globals, locals):
runner.run ()
def main (script=None, file=None, **kwargs):
+ global runner
runner= Ayrton (script=script, file=file, **k... | @ revert reference to global. | StyXman_ayrton | train | py |
d1d8b15583ec479ee7a71d1b58600a1077cd7e8e | diff --git a/core-bundle/src/Composer/ScriptHandler.php b/core-bundle/src/Composer/ScriptHandler.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Composer/ScriptHandler.php
+++ b/core-bundle/src/Composer/ScriptHandler.php
@@ -85,7 +85,7 @@ class ScriptHandler
$phpPath,
$event->get... | [Core] Fix an issue found by Scrutinizer. | contao_contao | train | php |
c4b5e6225a3a9c0049487693886106a0c2e10431 | diff --git a/src/Screen/Fields/Cropper.php b/src/Screen/Fields/Cropper.php
index <HASH>..<HASH> 100644
--- a/src/Screen/Fields/Cropper.php
+++ b/src/Screen/Fields/Cropper.php
@@ -30,6 +30,7 @@ namespace Orchid\Screen\Fields;
* @method Cropper popover(string $value = null)
* @method Cropper title(string $value = nul... | add storage to Cropper and Image metadata (#<I>)
Add storage method to metadata | orchidsoftware_platform | train | php,php |
bdf4c06e8cba0650f01280fb550141686c056941 | diff --git a/lib/server-code/services/api-server.js b/lib/server-code/services/api-server.js
index <HASH>..<HASH> 100644
--- a/lib/server-code/services/api-server.js
+++ b/lib/server-code/services/api-server.js
@@ -154,7 +154,7 @@ class ApiServerService {
return this.sendRequest('services/debug', opts)
.the... | fix (log) confusing msg 'service deployed' in debug mode | Backendless_JS-Code-Runner | train | js |
c943d850193a476be1bc37ed922d1954cf040948 | diff --git a/peer.go b/peer.go
index <HASH>..<HASH> 100644
--- a/peer.go
+++ b/peer.go
@@ -535,6 +535,9 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) (
FeeRate: selfPolicy.FeeProportionalMillionths,
TimeLockDelta: uint32(selfPolicy.TimeLockDelta),
}
+ if forwardingPolicy.Max... | peer: clamp a link's max HTLC forwarding policy to current max HTLC pay size
In this commit, we start to clamp the max HTLC forwarding policy to the
current register max HTLC payment size. By doing this, we ensure that
any links that have a advertised max HTLC transit size above the max
payment size will reject any in... | lightningnetwork_lnd | train | go |
4b29c490ed3502fed0d9a7652797cdf6232de14e | diff --git a/src/formatters/json.js b/src/formatters/json.js
index <HASH>..<HASH> 100644
--- a/src/formatters/json.js
+++ b/src/formatters/json.js
@@ -1,7 +1,7 @@
/*eslint no-console: "off"*/
function printResults(results) {
- console.log(JSON.stringify(results));
+ console.error(JSON.stringify(results));
}
m... | fix: use console.error instead of console.log
this fixes e.g. output in a Jenkins console, since normal console.log statements are mapped to INFO instead of ERROR | vsiakka_gherkin-lint | train | js,js |
86a6a983cba9a548c7232feee1756d290920502a | diff --git a/cruzdb/__init__.py b/cruzdb/__init__.py
index <HASH>..<HASH> 100644
--- a/cruzdb/__init__.py
+++ b/cruzdb/__init__.py
@@ -109,7 +109,6 @@ class Genome(object):
_direction=None):
assert _direction in (None, "up", "down")
-
# they sent in a feature
if start is None:
... | heurisitic to improve query speed | brentp_cruzdb | train | py |
ca05c89cf370aef514f14f1ee902a0cfc207c951 | diff --git a/freshroastsr700/__init__.py b/freshroastsr700/__init__.py
index <HASH>..<HASH> 100644
--- a/freshroastsr700/__init__.py
+++ b/freshroastsr700/__init__.py
@@ -220,6 +220,8 @@ class freshroastsr700(object):
self.state_transition_func()
else:
... | Put a small sleep in the timer function else case
To prevent high CPU usage, adding a small sleep in the else logic.
This should also alleviate some UI lag issues in Openroast once you plug the roaster in. I found that the tight loop in the timer thread was taking so much CPU that the UI responsiveness would drop t... | Roastero_freshroastsr700 | train | py |
8f0005b286c34b43e9c77946b59d39ec01f98a09 | diff --git a/grpc/src/main/java/com/linecorp/armeria/internal/grpc/ArmeriaMessageFramer.java b/grpc/src/main/java/com/linecorp/armeria/internal/grpc/ArmeriaMessageFramer.java
index <HASH>..<HASH> 100644
--- a/grpc/src/main/java/com/linecorp/armeria/internal/grpc/ArmeriaMessageFramer.java
+++ b/grpc/src/main/java/com/li... | [Trivial] ArmeriaMessageFramer#writeUncompressed does not throw IOException anymore (#<I>) | line_armeria | train | java |
8f3adc4b273f0fb2265409a1afde234ee4bc7d9c | diff --git a/public/js/chrome/analytics.js b/public/js/chrome/analytics.js
index <HASH>..<HASH> 100644
--- a/public/js/chrome/analytics.js
+++ b/public/js/chrome/analytics.js
@@ -93,7 +93,7 @@ var analytics = {
archive: function (url) {
analytics.track('button', 'archive', url);
},
- unarchive: function () ... | Fixed #<I>
Analytics was throwing exception | jsbin_jsbin | train | js |
20b28a75ebf4ea6bbed64fce3b8dda5e1450f7bc | diff --git a/lib/web_translate_it/tasks.rb b/lib/web_translate_it/tasks.rb
index <HASH>..<HASH> 100755
--- a/lib/web_translate_it/tasks.rb
+++ b/lib/web_translate_it/tasks.rb
@@ -85,10 +85,7 @@ private
WELCOME_SCREEN = <<-EO_WELCOME
-<banner>Web Translate It for Ruby on Rails</banner>
-Should you need help, plea... | Gem, not plugin. Also makes banner less annoying | AtelierConvivialite_webtranslateit | train | rb |
4d54f41c50715afda285a776081e7a123d884222 | diff --git a/lib/build.py b/lib/build.py
index <HASH>..<HASH> 100644
--- a/lib/build.py
+++ b/lib/build.py
@@ -22,7 +22,7 @@ import distorm3
try:
from PyInstaller import main as PyInstallerMain
except ImportError:
- logging.error("PyInstaller missing")
+ logging.warn("PyInstaller missing")
from grr.lib import... | Lowered severity of PyInstaller import error | google_grr | train | py |
d5b15dd6612f7d66183a4fa95788453fdd9b29d0 | diff --git a/core/block_svg.js b/core/block_svg.js
index <HASH>..<HASH> 100644
--- a/core/block_svg.js
+++ b/core/block_svg.js
@@ -998,8 +998,9 @@ Blockly.BlockSvg.prototype.updatePreviews = function(closestConnection,
// Remove an insertion marker if needed. For Scratch-Blockly we are using
// grayed-out blocks... | Allow moving an insertion marker leftwards, take 2
By recognising an insertion marker as invalid if localConnection has
changed, not just if highlightedConnection has changed. | LLK_scratch-blocks | train | js |
7594c890dea0a9c3183d3faaddfa9c469ae5d072 | diff --git a/generator/sbpg/generator.py b/generator/sbpg/generator.py
index <HASH>..<HASH> 100755
--- a/generator/sbpg/generator.py
+++ b/generator/sbpg/generator.py
@@ -88,10 +88,15 @@ def main():
"Invalid output directory: %s. Exiting!" % output_dir
# Ingest, parse, and validate.
test_mode = args.te... | Sort spec files before generating code - this should prevent files from being reordered arbitrarily when Make is run on different machines | swift-nav_libsbp | train | py |
d26bb58a9190166bfa81bb80c62b639e8b18f373 | diff --git a/lib/roma/async_process.rb b/lib/roma/async_process.rb
index <HASH>..<HASH> 100644
--- a/lib/roma/async_process.rb
+++ b/lib/roma/async_process.rb
@@ -749,6 +749,15 @@ module Roma
if count>0
@log.info("#{__method__}:#{count} keys deleted.")
end
+
+ # delete @rttable.logs
+ i... | add gathered date for expiration in clean_up process | roma_roma | train | rb |
3889ba2be00308ea9012742bf3185b3bde7cc40b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ setuptools.setup(
tests_require=tests_require,
cmdclass=setup.get_cmdclass(),
include_package_data=False,
- packages=setuptools.find_packages('.'),
+ packages=setuptools.find_packages(exclud... | Exclude top level 'tests dir' from packages.
In 8fbe6d we moved 'tests' to be top level. As such it makes
since to now exclude it from quantumclient packages.
Change-Id: I<I>b0bd4f<I>b<I>c<I>ff<I>b8e<I>cba<I>ce<I>a5 | rackerlabs_rackspace-python-neutronclient | train | py |
a58e3556b7bf254a95fefc54feadc9d06878944e | diff --git a/lib/ace/renderloop.js b/lib/ace/renderloop.js
index <HASH>..<HASH> 100644
--- a/lib/ace/renderloop.js
+++ b/lib/ace/renderloop.js
@@ -37,7 +37,7 @@
define(function(require, exports, module) {
-var event = require("ace/lib/event")
+var event = require("ace/lib/event").event;
var RenderLoop = functio... | fix path left behind due to changeset clash | joewalker_gcli | train | js |
c485349eae2dd7754e87b33f8e5befb89b191a82 | diff --git a/nfc/clf.py b/nfc/clf.py
index <HASH>..<HASH> 100644
--- a/nfc/clf.py
+++ b/nfc/clf.py
@@ -549,7 +549,10 @@ class ContactlessFrontend(object):
raise IOError(errno.ENODEV, os.strerror(errno.ENODEV))
with self.lock:
- return self.dev.exchange(send_data, timeout)
+ ... | debug log tx/rx data in clf exchange method | nfcpy_nfcpy | train | py |
beafa1c3761a6409ee5024d4a900c9d53bcb2ba3 | diff --git a/mod/scorm/locallib.php b/mod/scorm/locallib.php
index <HASH>..<HASH> 100644
--- a/mod/scorm/locallib.php
+++ b/mod/scorm/locallib.php
@@ -567,6 +567,13 @@ function scorm_insert_track($userid, $scormid, $scoid, $attempt, $element, $valu
// Create status submitted event.
$event = \m... | MDL-<I> mod_scorm: Fixed the missing keys when updating a record.
Thanks to Rajesh Taneja for his testing. | moodle_moodle | train | php |
42c2f306261a07e3107faae0f06cf6943b3638a3 | diff --git a/lib/node.js b/lib/node.js
index <HASH>..<HASH> 100644
--- a/lib/node.js
+++ b/lib/node.js
@@ -28,6 +28,7 @@ var node = module.exports = {
}
var txn = this._safeBatch();
var node = txn.save(obj);
+ if (obj[this.options.id] != null) node = txn.read(obj);
txn.label(node, label... | support updating nodes with a label. closes #<I> | brikteknologier_seraph | train | js |
d6513c180add0e4cebfabc5f2d05c39112ce3bb6 | diff --git a/sprinter/recipes/git.py b/sprinter/recipes/git.py
index <HASH>..<HASH> 100644
--- a/sprinter/recipes/git.py
+++ b/sprinter/recipes/git.py
@@ -33,8 +33,8 @@ class GitRecipe(RecipeStandard):
call("git pull origin %s" % (config['branch'] if 'branch' in config else 'master'))
def __clone_repo(s... | making git recipe more verbose | toumorokoshi_sprinter | train | py |
041a4970ceb8d3dd929ad7c628ddbf2190f4b81c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ import setuptools
setuptools.setup(
name='brozzler',
- version='1.1b3',
+ version='1.1b4.dev59',
description='Distributed web crawling with browsers',
url='https://git... | back to a dev version number | internetarchive_brozzler | train | py |
40b6a9ad81996672482745129e890bc83feb3c51 | diff --git a/neurom/io/neurolucida.py b/neurom/io/neurolucida.py
index <HASH>..<HASH> 100644
--- a/neurom/io/neurolucida.py
+++ b/neurom/io/neurolucida.py
@@ -88,7 +88,7 @@ def _get_tokens(morph_fd):
Note: this also strips newlines and comments
'''
- for line in morph_fd.readlines():
+ for line in mor... | Encoding error handling in NeuroLucida reader
Use error='replace' when opening the file.
This causes unknown bytes to be replaced by '?' instead
of having the reader crashing | BlueBrain_NeuroM | train | py |
ad6aac4f84d5e7b5bcfc2eed618dc3dbb81d5d79 | diff --git a/python_modules/libraries/dagster-mysql/dagster_mysql/schedule_storage/schedule_storage.py b/python_modules/libraries/dagster-mysql/dagster_mysql/schedule_storage/schedule_storage.py
index <HASH>..<HASH> 100644
--- a/python_modules/libraries/dagster-mysql/dagster_mysql/schedule_storage/schedule_storage.py
+... | [dagster-mysql] Fixing schedule storage stamp_alembic_rev error
Summary: `stamp_alembic_rev` was erroring out when using `dagster-daemon run` since it was being called incorrectly. | dagster-io_dagster | train | py |
980492cb76d0d72a005269a4fb9c1ec9767c10de | diff --git a/symfit/api.py b/symfit/api.py
index <HASH>..<HASH> 100644
--- a/symfit/api.py
+++ b/symfit/api.py
@@ -3,7 +3,7 @@ import symfit.core.operators
# Expose useful objects.
from symfit.core.fit import (
- Fit, Model, Constraint, ODEModel, ModelError, CallableModel,
+ Fit, Model, ODEModel, ModelError, ... | Remove Constraint objects from the API | tBuLi_symfit | train | py |
00a428655149c349d29b9351dbc345a3b8025a58 | diff --git a/activesupport/lib/active_support/inflector.rb b/activesupport/lib/active_support/inflector.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/inflector.rb
+++ b/activesupport/lib/active_support/inflector.rb
@@ -257,7 +257,7 @@ module ActiveSupport
# <%= link_to(@person.name, perso... | Change call to String#chars in inflector to String#mb_chars. | rails_rails | train | rb |
7579cba134f644b2623fa708c02bc4be114bc52c | diff --git a/src/Illuminate/Validation/Validator.php b/src/Illuminate/Validation/Validator.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Validation/Validator.php
+++ b/src/Illuminate/Validation/Validator.php
@@ -175,7 +175,7 @@ class Validator implements ValidatorContract
*
* @var array
*/
- ... | Fix rules declaration in numericRules array of the validator class | laravel_framework | train | php |
2e94eee025b2f5a7db4532fd81d88ba5c5921b32 | diff --git a/src/Plugin/Node/Config/routes.php b/src/Plugin/Node/Config/routes.php
index <HASH>..<HASH> 100644
--- a/src/Plugin/Node/Config/routes.php
+++ b/src/Plugin/Node/Config/routes.php
@@ -33,7 +33,7 @@ if (!empty($node_types)) {
}
Router::connect(
- '/search/:criteria/*',
+ '/find/:criteria/*',
[
'plugi... | site url "/search/*" is now "/find/*" | quickapps_cms | train | php |
11c0c0a01aded34eaede9a222c31f6be2f5d6327 | diff --git a/devices/ikea.js b/devices/ikea.js
index <HASH>..<HASH> 100644
--- a/devices/ikea.js
+++ b/devices/ikea.js
@@ -194,10 +194,8 @@ module.exports = [
model: 'LED1624G9',
vendor: 'IKEA',
description: 'TRADFRI LED bulb E14/E26/E27 600 lumen, dimmable, color, opal white',
- exten... | Update LED<I>G9 to support white spectrum (#<I>)
Product should support both color and white spectrum controls.
Changed in ikea.js to reflect the change and remove code that became unnecessary, as it is included in tradfriExtend.
Unsure about if the meta -> supportsHueAndSaturation line <I> is still required, as it ... | Koenkk_zigbee-shepherd-converters | train | js |
05e8fe3f7116b100a2f1ed5f412a2d336c0419cb | diff --git a/resources/cca/ra/src/main/java/org/mobicents/slee/resource/diameter/cca/CreditControlMessageFactoryImpl.java b/resources/cca/ra/src/main/java/org/mobicents/slee/resource/diameter/cca/CreditControlMessageFactoryImpl.java
index <HASH>..<HASH> 100644
--- a/resources/cca/ra/src/main/java/org/mobicents/slee/res... | change:
- fix answer creation, it pushed two Auth-App-Id avps.
git-svn-id: <URL> | RestComm_jdiameter | train | java |
7f3d2e5c00413e1c124ea83adf553a03055ceb08 | diff --git a/lib/mail_interceptor.rb b/lib/mail_interceptor.rb
index <HASH>..<HASH> 100644
--- a/lib/mail_interceptor.rb
+++ b/lib/mail_interceptor.rb
@@ -52,11 +52,7 @@ module MailInterceptor
end
def forward_emails_to_empty?
- if forward_emails_to.is_a? Array
- forward_emails_to.reject(&:blank?... | Refactor 'forward_emails_to_empty?' and typo fix. | bigbinary_mail_interceptor | train | rb,rb |
617fea23741b2d37c66493d1a409274cfd513ef1 | diff --git a/astroplan/tests/test_constraints.py b/astroplan/tests/test_constraints.py
index <HASH>..<HASH> 100644
--- a/astroplan/tests/test_constraints.py
+++ b/astroplan/tests/test_constraints.py
@@ -127,6 +127,8 @@ def test_compare_airmass_constraint_and_observer():
assert all(always_from_observer == alway... | temporarily xfail test_sun_separation() until #<I> is merged | astropy_astroplan | train | py |
21af486f111f751b7737a0901d57d59969dd6b01 | diff --git a/lib/avatax/configuration.rb b/lib/avatax/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/avatax/configuration.rb
+++ b/lib/avatax/configuration.rb
@@ -31,7 +31,7 @@ module AvaTax
DEFAULT_LOGGER = false
DEFAULT_PROXY = nil
DEFAULT_FARADAY_RESPONSE = false
- DEFAULT_RESPONSE_BIG_DECI... | very little use case for big_decimal, change default to false | avadev_AvaTax-REST-V2-Ruby-SDK | train | rb |
489bf5673dfc2b1fa3988a4f2222f9ed1df6c193 | diff --git a/lib/pwf.js b/lib/pwf.js
index <HASH>..<HASH> 100644
--- a/lib/pwf.js
+++ b/lib/pwf.js
@@ -951,17 +951,13 @@
*/
var v = function()
{
- var allowed = true;
+ if (typeof console != 'undefined' && ((pwf.status('config') && pwf.config.get('debug.frontend')) || !pwf.status('config'))) {
+ var args = A... | Dump method v(), shorter form | just-paja_pwf.js | train | js |
d40f9a91f7656fb259bd751f2c569e32ff1e85ce | diff --git a/openstack_dashboard/dashboards/admin/flavors/tables.py b/openstack_dashboard/dashboards/admin/flavors/tables.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/flavors/tables.py
+++ b/openstack_dashboard/dashboards/admin/flavors/tables.py
@@ -20,6 +20,7 @@ from django.core.urlresolve... | Remove concatenation from Delete Flavors
Fix concatenation and pluralization problems with the Delete
Flavors action
Change-Id: I<I>f0b6cf0e<I>dd<I>fae<I>e<I>c<I>be
partial-bug: <I> | openstack_horizon | train | py |
6c804a403cc94a72ab63a961dc276704cfff6f5c | diff --git a/lib/alchemy/essence.rb b/lib/alchemy/essence.rb
index <HASH>..<HASH> 100644
--- a/lib/alchemy/essence.rb
+++ b/lib/alchemy/essence.rb
@@ -160,6 +160,7 @@ module Alchemy #:nodoc:
if preview_text_method.blank?
self.send(preview_text_column).to_s[0..maxlength]
else
+ retu... | Returning empt string if ingredient from essence is nil in preview text | AlchemyCMS_alchemy_cms | train | rb |
325eb6804a29727294d35c524b52c961f3fa1425 | diff --git a/src/CatLab/CursorPagination/CursorPaginationBuilder.php b/src/CatLab/CursorPagination/CursorPaginationBuilder.php
index <HASH>..<HASH> 100644
--- a/src/CatLab/CursorPagination/CursorPaginationBuilder.php
+++ b/src/CatLab/CursorPagination/CursorPaginationBuilder.php
@@ -369,8 +369,14 @@ class CursorPaginati... | A few changes to the interfaces. | CatLabInteractive_cursor-pagination | train | php |
194d5846913bffbf6c96ee9f28c4fe962da9fa97 | diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_cli.py
+++ b/tests/unit/test_cli.py
@@ -14,7 +14,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import conu
from click.testing import CliRunner
from colin.cli.colin imp... | Fix conu in 'colin info' tests | user-cont_colin | train | py |
29090933f5f5d85647f0a3053b1278d5cefbbdd6 | diff --git a/dispatch/migrations/0100_publishable_constraints.py b/dispatch/migrations/0100_publishable_constraints.py
index <HASH>..<HASH> 100644
--- a/dispatch/migrations/0100_publishable_constraints.py
+++ b/dispatch/migrations/0100_publishable_constraints.py
@@ -3,7 +3,7 @@
from django.db import migrations, mode... | attempt workaround for buggy migration - exception | ubyssey_dispatch | train | py |
7cca419538ebb87c689c0f8354c2a37c9f00d022 | diff --git a/src/main/java/com/buschmais/jqassistant/scm/maven/ServerMojo.java b/src/main/java/com/buschmais/jqassistant/scm/maven/ServerMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/buschmais/jqassistant/scm/maven/ServerMojo.java
+++ b/src/main/java/com/buschmais/jqassistant/scm/maven/ServerMojo.java
@... | allow injection of plugin repositories into server | buschmais_jqa-maven-plugin | train | java |
def256f3ee6ac784ebac5c468d3bbd3035c85d3b | diff --git a/src/tagify.js b/src/tagify.js
index <HASH>..<HASH> 100644
--- a/src/tagify.js
+++ b/src/tagify.js
@@ -16,7 +16,7 @@ function Tagify( input, settings ){
if( !input ){
console.warn('Tagify:', 'input element not found', input)
// return an empty mock of all methods, so the code using ta... | Fixing typo (#<I>) | yairEO_tagify | train | js |
5653d28c23fbdc25f125986be824437407092445 | diff --git a/ui/app/components/job-dispatch.js b/ui/app/components/job-dispatch.js
index <HASH>..<HASH> 100644
--- a/ui/app/components/job-dispatch.js
+++ b/ui/app/components/job-dispatch.js
@@ -54,7 +54,7 @@ export default class JobDispatch extends Component {
name: x,
required,
... | ui: use `get` to access job meta value (#<I>) | hashicorp_nomad | train | js |
a3103577937c355a39bc736f7fecb765487e309f | diff --git a/network/tls_wrapper.go b/network/tls_wrapper.go
index <HASH>..<HASH> 100644
--- a/network/tls_wrapper.go
+++ b/network/tls_wrapper.go
@@ -62,6 +62,10 @@ func RegisterTLSBaseArgs(){
flag.StringVar(&tlsKey,"tls_key", "", "Path to private key that will be used for TLS connections")
flag.StringVar(&tlsCert... | separate client's tls args from base | cossacklabs_acra | train | go |
4a3e1574bfc545bbdc967eab61a3dbdc174ecf22 | diff --git a/tests/Common/ComponentsPublishTest.php b/tests/Common/ComponentsPublishTest.php
index <HASH>..<HASH> 100644
--- a/tests/Common/ComponentsPublishTest.php
+++ b/tests/Common/ComponentsPublishTest.php
@@ -25,6 +25,18 @@ class ComponentsPublishTest extends StorageApiTestCase
$components->delet... | fix tests - delete deleted configurations | keboola_storage-api-php-client | train | php |
438274cb6f48a5838b9b96bae6d416f935ed7e63 | diff --git a/examples/index.php b/examples/index.php
index <HASH>..<HASH> 100644
--- a/examples/index.php
+++ b/examples/index.php
@@ -6,4 +6,7 @@ $forecastPhp = new \Nwidart\ForecastPhp\Forecast('3da43a66de8ca36593e0f44324f496
$info = $forecastPhp->get('40.7324296', '-73.9977264');
+// Fetch weather at a given ti... | Adding example for a given time | nWidart_forecast-php | train | php |
165765db3fd9951262e85376f20fe1e35f6cc25d | diff --git a/packages/react-dev-utils/printHostingInstructions.js b/packages/react-dev-utils/printHostingInstructions.js
index <HASH>..<HASH> 100644
--- a/packages/react-dev-utils/printHostingInstructions.js
+++ b/packages/react-dev-utils/printHostingInstructions.js
@@ -39,7 +39,7 @@ function printHostingInstructions(
... | chore: Fix broken link for CRA deployment (#<I>) | facebook_create-react-app | train | js |
f0fb1fc197d2b8650af6f0896ce5564b2d64e357 | diff --git a/src/HttpController.php b/src/HttpController.php
index <HASH>..<HASH> 100644
--- a/src/HttpController.php
+++ b/src/HttpController.php
@@ -7,6 +7,7 @@ use Zend\Diactoros\ServerRequest;
use Zend\Diactoros\ServerRequestFactory;
use Psr\Http\Message\ResponseInterface;
use Zend\Diactoros\Response\SapiEmitter... | if this ends up with null, emit a <I> instead of erroring out | monolyth-php_frontal | train | php |
d200dbc8e456d2e778455240819f9bb0ef0f40db | diff --git a/src/toil/worker.py b/src/toil/worker.py
index <HASH>..<HASH> 100644
--- a/src/toil/worker.py
+++ b/src/toil/worker.py
@@ -147,7 +147,7 @@ def workerScript(jobStore, config, jobName, jobStoreID, redirectOutputToLogFile=
except OSError:
pass
# Exit without doing any... | Send an argument to exit, as it is required | DataBiosphere_toil | train | py |
ecfb5b5402a7b5cb9a616a4a59da459ba93d239d | diff --git a/export.js b/export.js
index <HASH>..<HASH> 100644
--- a/export.js
+++ b/export.js
@@ -25,7 +25,9 @@ function commonExportTests(exportFn, expectedFn, expectedErrorsFn) {
let _specs;
let checkExpected = function(expected) {
expect(exportFn(_specs)).to.eql(expected.result);
- expect(err.... | Incorrect error messages are now displayed. | standardhealth_shr-test-helpers | train | js |
7aae7aa9f5f6465806148c31111318595a9f8722 | diff --git a/Test/Case/AllRatchetTestsTest.php b/Test/Case/AllRatchetTestsTest.php
index <HASH>..<HASH> 100644
--- a/Test/Case/AllRatchetTestsTest.php
+++ b/Test/Case/AllRatchetTestsTest.php
@@ -13,6 +13,9 @@ CakePlugin::loadAll(array(
'AssetCompress' => array(
'bootstrap' => true
),
+ 'Ratchet' => array(
+ ... | The bootstrap for Ratchet also has to be loaded before the test can run as it depends on configuration values from bootstrap.php | WyriHaximus_Ratchet | train | php |
1e9f4c98e3d7a7988a89bb5b4da15b499e0717fb | diff --git a/cache/classes/loaders.php b/cache/classes/loaders.php
index <HASH>..<HASH> 100644
--- a/cache/classes/loaders.php
+++ b/cache/classes/loaders.php
@@ -647,10 +647,11 @@ class cache implements cache_loader {
$this->static_acceleration_set($data[$key]['key'], $value);
}
... | MDL-<I> cache: added stats logging to set_many methods | moodle_moodle | train | php |
aef3d295fd6be70e905ed4605701662eb0f90991 | diff --git a/src/main/java/org/jamesframework/core/search/NeighbourhoodSearch.java b/src/main/java/org/jamesframework/core/search/NeighbourhoodSearch.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jamesframework/core/search/NeighbourhoodSearch.java
+++ b/src/main/java/org/jamesframework/core/search/Neighbourh... | added inc methods from accepted/rejected moves | hdbeukel_james-core | train | java |
0180119c69f8f3945c96c5f0e1efb92252c6d170 | diff --git a/scripts/dts.js b/scripts/dts.js
index <HASH>..<HASH> 100644
--- a/scripts/dts.js
+++ b/scripts/dts.js
@@ -20,8 +20,7 @@ let result = [
` * Licensed under the MIT License. See License.txt in the project root for license information.`,
` *-----------------------------------------------------------------... | Avoid having diffs in `monaco.d.ts` | Microsoft_monaco-json | train | js |
683aae7aa402ef13c394aa33ad13faf0df9be3df | diff --git a/trezor_agent/gpg/encode.py b/trezor_agent/gpg/encode.py
index <HASH>..<HASH> 100644
--- a/trezor_agent/gpg/encode.py
+++ b/trezor_agent/gpg/encode.py
@@ -249,6 +249,7 @@ def _make_signature(signer_func, data_to_sign, public_algo,
log.debug('hashing %d bytes', len(data_to_hash))
digest = hashlib... | gpg: add logging for digest | romanz_trezor-agent | 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.