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 |
|---|---|---|---|---|---|
b82e70d365f5eda7c217e8515cff09d8d2ab7836 | diff --git a/src/DjangoPassword.php b/src/DjangoPassword.php
index <HASH>..<HASH> 100644
--- a/src/DjangoPassword.php
+++ b/src/DjangoPassword.php
@@ -87,7 +87,7 @@ class DjangoPassword implements PasswordInterface {
if (strpos($hash, '$') === false) {
return true;
} else {
- l... | Scrutinizer Auto-Fixes (#2)
This commit consists of patches automatically generated for this project on <URL> | vanilla_garden-password | train | php |
0226cc8520cef910819e78949338de1488848276 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -286,6 +286,8 @@ function attemptInstall (packages, attempts, cb) {
log('-- installing %j', packages)
var done = once(function (err) {
+ clearTimeout(timeout)
+
if (!err) return cb()
if (++attempts <= 10... | fix: gracefully handle npm timeouts (#6) | watson_test-all-versions | train | js |
2c7b5a938169ebade4e1eb8fbb10653ca6c4e173 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -1276,7 +1276,7 @@ var CodeMirror = (function() {
var tc = textChanged; // textChanged can be reset by cursoractivity callback
if (selectionChanged && options.onCursorActivity)... | don't fire onChange during editor initialization | codemirror_CodeMirror | train | js |
a0db6cb5d0a58af4c9361c698af81ceaa2929f9f | diff --git a/src/DayPicker.js b/src/DayPicker.js
index <HASH>..<HASH> 100644
--- a/src/DayPicker.js
+++ b/src/DayPicker.js
@@ -12,7 +12,7 @@ const keys = {
SPACE: 32
};
-class Caption extends Component {
+class Caption extends Component { // eslint-disable-line
render() {
const { date, locale, localeUti... | [wip] Disable eslint not working well
Need to investigate 🤔 | gpbl_react-day-picker | train | js,js |
db8e37d75f374fad17c74ab9a45036a67dfd8b92 | diff --git a/smack-resolver-javax/src/main/java/org/jivesoftware/smack/util/dns/javax/JavaxResolver.java b/smack-resolver-javax/src/main/java/org/jivesoftware/smack/util/dns/javax/JavaxResolver.java
index <HASH>..<HASH> 100644
--- a/smack-resolver-javax/src/main/java/org/jivesoftware/smack/util/dns/javax/JavaxResolver.... | Reduce scope of catched Exceptions in JavaxResolver | igniterealtime_Smack | train | java |
0588267be7df7f1501dff3ce1233dca980825c14 | diff --git a/lib/phusion_passenger/admin_tools/instance_registry.rb b/lib/phusion_passenger/admin_tools/instance_registry.rb
index <HASH>..<HASH> 100644
--- a/lib/phusion_passenger/admin_tools/instance_registry.rb
+++ b/lib/phusion_passenger/admin_tools/instance_registry.rb
@@ -105,7 +105,7 @@ module PhusionPassenger
... | When cleaning stale instance directories, rescue all system call exceptions | phusion_passenger | train | rb |
4c1bb38878139d3477cad6336dea001a89a3de3b | diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java
index <HASH>..<HASH> 100644
--- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.... | Fix broken locking in Restarter.initialize
Closes gh-<I> | spring-projects_spring-boot | train | java |
9c3c57e0ef7ca25f98f1f2d826ca2c804c14a764 | diff --git a/view/frontend/web/js/view/payment/method-renderer/embedded.js b/view/frontend/web/js/view/payment/method-renderer/embedded.js
index <HASH>..<HASH> 100755
--- a/view/frontend/web/js/view/payment/method-renderer/embedded.js
+++ b/view/frontend/web/js/view/payment/method-renderer/embedded.js
@@ -198,6 +198,9 ... | Frontend JS update
Added fullscreen loader to Frames and connected Frames debug mode to module config. | checkout_checkout-magento2-plugin | train | js |
7dbd812124e5baa08aa5299370e09665e0026675 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -12,13 +12,9 @@ install_requires = [
'backports.functools_lru_cache; python_version<"3.2"',
'jedi>=0.17.0,<0.18.0',
'python-jsonrpc-server>=0.4.0',
- 'pluggy']
-
-if sys.version_info[0] == 2:
... | Fix ujson dep for python2 (#<I>) | palantir_python-language-server | train | py |
cea6e30ca59965d951210bd0b14e873839ac4b43 | diff --git a/scripts/typescript-declarations/generate.js b/scripts/typescript-declarations/generate.js
index <HASH>..<HASH> 100644
--- a/scripts/typescript-declarations/generate.js
+++ b/scripts/typescript-declarations/generate.js
@@ -81,8 +81,8 @@ async function execute() {
// Replace callback type by simply "fun... | Inlcude curly brackets in replacement | djipco_webmidi | train | js |
3f96729cf471e8707a7c7649af56ecb438dd0762 | diff --git a/shell/src/main/java/org/jboss/seam/forge/shell/ShellImpl.java b/shell/src/main/java/org/jboss/seam/forge/shell/ShellImpl.java
index <HASH>..<HASH> 100644
--- a/shell/src/main/java/org/jboss/seam/forge/shell/ShellImpl.java
+++ b/shell/src/main/java/org/jboss/seam/forge/shell/ShellImpl.java
@@ -679,11 +679,1... | fixed NPE when using basic completion (such as the one use for 'install' for facet name) | forge_core | train | java |
436080e6237b80f228194ba4cdef94392b47ee7c | diff --git a/gstreamer.py b/gstreamer.py
index <HASH>..<HASH> 100644
--- a/gstreamer.py
+++ b/gstreamer.py
@@ -102,7 +102,8 @@ class GstPlayer(Player):
try:
self._play(media)
except Exception:
- self.idleCond.notifyAll()
+ with self.idleCond:
+ self.idleCond.notifyAll()
self.idle = True
raise
... | gstreamer: bugfix: forgot acquiring of locks | bwesterb_mirte | train | py |
903e14373e5b257c0d0698735a18ba8d765211b1 | diff --git a/src/plotypus_scripts/plotypus.py b/src/plotypus_scripts/plotypus.py
index <HASH>..<HASH> 100644
--- a/src/plotypus_scripts/plotypus.py
+++ b/src/plotypus_scripts/plotypus.py
@@ -209,7 +209,7 @@ def _print_star(results, max_degree, fmt):
end='\t')
print('\t'.join(map(formatter, coefficients_... | Added extra needed trailing zero in output table. | astroswego_plotypus | train | py |
9aeaea729e280b3a3bbe746dd303f89f638992d0 | diff --git a/src/Three/Bank.php b/src/Three/Bank.php
index <HASH>..<HASH> 100644
--- a/src/Three/Bank.php
+++ b/src/Three/Bank.php
@@ -5,6 +5,18 @@ namespace Billplz\Three;
class Bank extends Request
{
/**
+ * Check Bank Account Number.
+ *
+ * @param string|int $number
+ *
+ * @return \Lar... | Passthrough request to check bank account. | jomweb_billplz | train | php,php |
86b7bd4c8eb1391b209d682efc1de71aa5fb941c | diff --git a/jmxtrans-output/jmxtrans-output-core/src/main/java/com/googlecode/jmxtrans/model/output/support/opentsdb/OpenTSDBMessageFormatter.java b/jmxtrans-output/jmxtrans-output-core/src/main/java/com/googlecode/jmxtrans/model/output/support/opentsdb/OpenTSDBMessageFormatter.java
index <HASH>..<HASH> 100644
--- a/j... | ....need to be tidier | jmxtrans_jmxtrans | train | java |
03099281f191d34a72f1c1650e8cf025096c1f38 | diff --git a/src/MvcCore/Router/RouteMethods.php b/src/MvcCore/Router/RouteMethods.php
index <HASH>..<HASH> 100644
--- a/src/MvcCore/Router/RouteMethods.php
+++ b/src/MvcCore/Router/RouteMethods.php
@@ -287,6 +287,16 @@ trait RouteMethods
if ($errorMsgs) {
//var_dump($this->routes);
$selfClass = version_c... | router - duplicate routes exception rendering from bootstrap | mvccore_mvccore | train | php |
f2695daba2506d047831e39aeb521e94adec5e8d | diff --git a/tests/python_package_test/test_basic.py b/tests/python_package_test/test_basic.py
index <HASH>..<HASH> 100644
--- a/tests/python_package_test/test_basic.py
+++ b/tests/python_package_test/test_basic.py
@@ -1,6 +1,5 @@
# coding: utf-8
import os
-import tempfile
import lightgbm as lgb
import numpy as n... | completely remove tempfile from test_basic (#<I>) | Microsoft_LightGBM | train | py |
dee270d08fbabd4e98a8cb86d34293e52bbd1534 | diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/views.py
+++ b/openquake/calculators/views.py
@@ -754,6 +754,16 @@ def view_global_poes(token, dstore):
return rst_table(tbl, header=header)
+@view.add('global_gmfs')
+def view_g... | Added view global_gmfs [skip CI]
Former-commit-id: 5d<I>e<I>aa6fb<I>fb<I> | gem_oq-engine | train | py |
16f8a59962c9d25f535dfd17a80bb42acfe1a155 | diff --git a/mapchete/io/raster.py b/mapchete/io/raster.py
index <HASH>..<HASH> 100644
--- a/mapchete/io/raster.py
+++ b/mapchete/io/raster.py
@@ -71,7 +71,7 @@ def read_raster_window(
with rasterio.Env(
**get_gdal_options(gdal_opts, is_remote=path_is_remote(input_file, s3=True))
) as env:
- l... | more concise log messages when reading raster | ungarj_mapchete | train | py |
ee22ae137b561eca3421a946c6327a9d1b708b71 | diff --git a/qtpy/QtWidgets.py b/qtpy/QtWidgets.py
index <HASH>..<HASH> 100644
--- a/qtpy/QtWidgets.py
+++ b/qtpy/QtWidgets.py
@@ -63,7 +63,8 @@ elif os.environ[QT_API] in PYQT4_API:
QPrintPreviewDialog, QPrintPreviewWidget, QPrinter, QPrinterInfo)
# These objects belong to QtCore
- del (QItemSelect... | QtWidgets: Remove QItemSelectionModel for PyQt4 and PySide
- It belongs to QtCore in PyQt5
- This finishes PR #<I> | spyder-ide_qtpy | train | py |
51e64d4fe425d84286c665892a8dec08e02d537b | diff --git a/plugin/index.js b/plugin/index.js
index <HASH>..<HASH> 100644
--- a/plugin/index.js
+++ b/plugin/index.js
@@ -16,7 +16,7 @@ const expandImports = (source, resolvePath, reference) => {
let defs = queryAST.definitions
lines.some(line => {
if (line[0] === '#' && line.slice(1).split(' ')[0] === 'import'... | Temp fix for Windows
This worked for the one person I had testing for me, but I suspect it will break the package on non-windows systems.. Will investigate later. | detrohutt_babel-plugin-import-graphql | train | js |
5acbbaea2deeaf92d648f0a3501850b71943bf4a | diff --git a/addon/components/document-title.js b/addon/components/document-title.js
index <HASH>..<HASH> 100644
--- a/addon/components/document-title.js
+++ b/addon/components/document-title.js
@@ -45,7 +45,8 @@ export default Ember.Component.extend({
set(previous, 'showSeparatorBefore', false);
}
... | fix document-title to work on Ember <I> | adopted-ember-addons_ember-page-title | train | js |
0e8132f4168d8bf3f827034d2edcdeefe0d59afb | diff --git a/database/factories/CurrencyFactory.php b/database/factories/CurrencyFactory.php
index <HASH>..<HASH> 100644
--- a/database/factories/CurrencyFactory.php
+++ b/database/factories/CurrencyFactory.php
@@ -1,5 +1,5 @@
<?php
-namespace AvoRed\Framework\Database\Factories;
+namespace Database\Factories;
use Il... | Update CurrencyFactory.php | avored_framework | train | php |
243e6b652af5de88d4f12f246cb8244a833a3ff1 | diff --git a/testapps/on_device_unit_tests/test_app/app_flask.py b/testapps/on_device_unit_tests/test_app/app_flask.py
index <HASH>..<HASH> 100644
--- a/testapps/on_device_unit_tests/test_app/app_flask.py
+++ b/testapps/on_device_unit_tests/test_app/app_flask.py
@@ -110,6 +110,7 @@ def loadUrl():
print('asked to o... | Return proper HTTP responses in webview testapp
Current Flask throws an exception if a view function returns `None`:
```
python : TypeError: The view function for 'vibrate' did not return a
valid response. The function either returned None or ended without a
return statement.
```
Maybe that was different in the pas... | kivy_python-for-android | train | py |
ef23a10dc6e9e6a55e6ad58ec663500cfc760b66 | diff --git a/Tests/Controller/Admin/DictionaryControllerTest.php b/Tests/Controller/Admin/DictionaryControllerTest.php
index <HASH>..<HASH> 100755
--- a/Tests/Controller/Admin/DictionaryControllerTest.php
+++ b/Tests/Controller/Admin/DictionaryControllerTest.php
@@ -63,7 +63,10 @@ class DictionaryControllerTest extends... | Factory fixes, fixed repositories, tests, entities | WellCommerce_DictionaryBundle | train | php |
904c76e79743f57cd37f244929a360d03144b65b | diff --git a/khard/address_book.py b/khard/address_book.py
index <HASH>..<HASH> 100644
--- a/khard/address_book.py
+++ b/khard/address_book.py
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+"""A simple class to load and manage the vcard files from disk."""
import glob
import logging
@@ -9,6 +10,10 @@ from .carddav_objec... | Add docstrings to khard.address_book | scheibler_khard | train | py |
d86ca17d42d794e055aef25976d6ca8222b7a8f5 | diff --git a/cli/command_agent.go b/cli/command_agent.go
index <HASH>..<HASH> 100644
--- a/cli/command_agent.go
+++ b/cli/command_agent.go
@@ -19,12 +19,19 @@ func (c *AgentCommand) Help() string {
func (c *AgentCommand) Run(_ []string, ui Ui) int {
config := &serf.Config{}
+
+ ui.Output("Starting Serf agent...")
... | cli: Say that the agent is running | hashicorp_serf | train | go |
028e0b12fb000d4ef646ad1e3508a209a5c145b2 | diff --git a/src/FieldBuilder.php b/src/FieldBuilder.php
index <HASH>..<HASH> 100644
--- a/src/FieldBuilder.php
+++ b/src/FieldBuilder.php
@@ -32,6 +32,7 @@ namespace StoutLogic\AcfBuilder;
* @method FieldBuilder addGoogleMap(string $name, array $args = [])
* @method FieldBuilder addLink(string $name, array $args =... | Added missing annotation for addRange function
addRange was added to FieldsBuilder as part of <I> in <I>, however
individual functions return instances of FieldBuilder, which doesn't
include the function. IDE's display function undefined warnings as a
result.
addRange does however work as intended, so this just adds... | StoutLogic_acf-builder | train | php |
2884b13126b7aa6442708e902b0f0c4bb56ad435 | diff --git a/app/models/foreman_chef/fact_parser.rb b/app/models/foreman_chef/fact_parser.rb
index <HASH>..<HASH> 100644
--- a/app/models/foreman_chef/fact_parser.rb
+++ b/app/models/foreman_chef/fact_parser.rb
@@ -32,9 +32,9 @@ module ForemanChef
klass.where(args).first || klass.new(args.merge(:description => d... | Fixes #<I> - stop parsing chef environment as puppet environment | theforeman_foreman_chef | train | rb |
39e8198aa30b90f50d88fb7b7f90a7cc30ec66dc | diff --git a/src/HtmlForm/Elements/Range.php b/src/HtmlForm/Elements/Range.php
index <HASH>..<HASH> 100644
--- a/src/HtmlForm/Elements/Range.php
+++ b/src/HtmlForm/Elements/Range.php
@@ -37,7 +37,10 @@ class Range extends Parents\Textbox
*/
public function __construct($name, $label, $min, $max, $args = array())
... | Added min and max to attributes array | jenwachter_html-form | train | php |
23faa7751682655009158f5988d83dbc419a5a36 | diff --git a/prow/clonerefs/run.go b/prow/clonerefs/run.go
index <HASH>..<HASH> 100644
--- a/prow/clonerefs/run.go
+++ b/prow/clonerefs/run.go
@@ -38,7 +38,11 @@ func (o Options) Run() error {
var err error
env, err = addSSHKeys(o.KeyFiles)
if err != nil {
- return fmt.Errorf("failed to add SSH keys: %v", er... | Make clonerefs write errors to log on ssh error. | kubernetes_test-infra | train | go |
849bb47ff69cc35f36d2ce4d45e3927c128404c6 | diff --git a/bin/pfdicom b/bin/pfdicom
index <HASH>..<HASH> 100755
--- a/bin/pfdicom
+++ b/bin/pfdicom
@@ -19,7 +19,7 @@ import pfmisc
from pfmisc._colors import Colors
from pfmisc import other
-str_version = "1.4.16"
+str_version = "1.4.18"
str_desc = Colors.CYAN + """
__ _ ... | Bump for pypi | FNNDSC_pfdicom | train | pfdicom,py,py |
82a06a0eea3a15d03f1395eed4636f495c2b494b | diff --git a/raven.js b/raven.js
index <HASH>..<HASH> 100644
--- a/raven.js
+++ b/raven.js
@@ -25,18 +25,20 @@ Database.prototype.getCollections = function(cb) {
Database.prototype.save = function(collection, doc, cb) {
request.put({
- headers: {'Raven-Entity-Name': collection},
- uri: this.getUrl() + '/do... | little bit of cleanup and todos | tchype_raven-shell | train | js |
13f8f03eeb834ae5dfa198c1ac3433d775fae11f | diff --git a/src/formats/kml/features/KmlNetworkLink.js b/src/formats/kml/features/KmlNetworkLink.js
index <HASH>..<HASH> 100644
--- a/src/formats/kml/features/KmlNetworkLink.js
+++ b/src/formats/kml/features/KmlNetworkLink.js
@@ -108,6 +108,18 @@ define([
return;
}
+ if(this.kmlLink.kmlR... | Start implementation of refresh for the link. | NASAWorldWind_WebWorldWind | train | js |
e4b88704a6b1105f9f47565d011320f456b7c65e | diff --git a/discovery/manager_test.go b/discovery/manager_test.go
index <HASH>..<HASH> 100644
--- a/discovery/manager_test.go
+++ b/discovery/manager_test.go
@@ -51,7 +51,7 @@ func TestTargetUpdatesOrder(t *testing.T) {
expectedTargets: nil,
},
{
- title: "Multips TPs no updates",
+ title: "Multiple TPs ... | Fix misspell in manager_test.go (#<I>) | prometheus_prometheus | train | go |
56a2bc5892474184924efa852a4e700b1576662f | diff --git a/src/Drupal/DrupalExtension/Context/DrupalContext.php b/src/Drupal/DrupalExtension/Context/DrupalContext.php
index <HASH>..<HASH> 100644
--- a/src/Drupal/DrupalExtension/Context/DrupalContext.php
+++ b/src/Drupal/DrupalExtension/Context/DrupalContext.php
@@ -1,6 +1,6 @@
<?php
-namespace Drupal\DrupalExte... | Fixing typo in DrupalContext.php. | jhedstrom_drupalextension | train | php |
82208f79c93faeba585b51a2fe326e2292635630 | diff --git a/lib/feed2email/feed.rb b/lib/feed2email/feed.rb
index <HASH>..<HASH> 100644
--- a/lib/feed2email/feed.rb
+++ b/lib/feed2email/feed.rb
@@ -14,7 +14,6 @@ require 'feed2email/version'
module Feed2Email
class Feed < Sequel::Model(:feeds)
- plugin :dirty
plugin :timestamps
one_to_many :entr... | Use instance variables to restore last_modified/etag
Thus removing the dependency of the "dirty" Sequel plugin. | agorf_feed2email | train | rb |
5d9d5b4f210d629377bdb84371c526da02bb7d76 | diff --git a/wafer/talks/forms.py b/wafer/talks/forms.py
index <HASH>..<HASH> 100644
--- a/wafer/talks/forms.py
+++ b/wafer/talks/forms.py
@@ -148,6 +148,11 @@ class ReviewForm(forms.Form):
super(ReviewForm, self).__init__(*args, **kwargs)
+ review_range =_("(Score range: %(min)d to %(max)d)") % {
... | Add the review score range to the widget label, so it's obvious to reviewers | CTPUG_wafer | train | py |
54c1cb9bffa2d6d1fa891fed260a9131434f9af7 | diff --git a/openpnm/utils/misc.py b/openpnm/utils/misc.py
index <HASH>..<HASH> 100644
--- a/openpnm/utils/misc.py
+++ b/openpnm/utils/misc.py
@@ -5,10 +5,8 @@ import numpy as _np
import scipy as _sp
import time as _time
import copy
-from dataclasses import dataclass
from collections import OrderedDict
from docrep... | oops forgot to remove dataclasses import from a file | PMEAL_OpenPNM | train | py |
03df6156bc759a62a102466454557f3bf63e8e74 | diff --git a/lib/chef/node_map.rb b/lib/chef/node_map.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/node_map.rb
+++ b/lib/chef/node_map.rb
@@ -38,12 +38,12 @@
class Chef
class NodeMap
COLLISION_WARNING_14 = <<~EOH.gsub(/\s+/, " ").strip
- %{type_caps} %{key} from a cookbook is overriding the %{type} from ... | replace "core" with "the client"
because users don't grok "core" | chef_chef | train | rb |
d4a880480847d8888a2d3ca59fa618c56732937c | diff --git a/lib/less/parser/parser.js b/lib/less/parser/parser.js
index <HASH>..<HASH> 100644
--- a/lib/less/parser/parser.js
+++ b/lib/less/parser/parser.js
@@ -704,10 +704,7 @@ var Parser = function Parser(context, imports, fileInfo) {
expressionContainsNamed = true;
... | parser – fix #<I>: allow detached rulesets as mixin argument defaults | less_less.js | train | js |
a00caf560e2032d5077a837ef81b4d651596a798 | diff --git a/src/CouchDB/Database.php b/src/CouchDB/Database.php
index <HASH>..<HASH> 100644
--- a/src/CouchDB/Database.php
+++ b/src/CouchDB/Database.php
@@ -33,6 +33,16 @@ class Database
}
/**
+ * Gets the current connection
+ *
+ * @return Connection
+ */
+ public function getConnectio... | Add getConnection method to Database | Baachi_CouchDB | train | php |
6e540a639f96cdcd8123d0cf30da5de609e0656e | diff --git a/parseany.go b/parseany.go
index <HASH>..<HASH> 100644
--- a/parseany.go
+++ b/parseany.go
@@ -7,10 +7,10 @@ import (
"unicode"
)
-type DateState int
+type dateState int
const (
- st_START DateState = iota
+ st_START dateState = iota
st_DIGIT
st_DIGITDASH
st_DIGITDASHALPHA | state constants dont need to be public | araddon_dateparse | train | go |
693227a26303f959ec28aa94f412c50f9014e18b | diff --git a/signer/signer_test.go b/signer/signer_test.go
index <HASH>..<HASH> 100644
--- a/signer/signer_test.go
+++ b/signer/signer_test.go
@@ -1,7 +1,6 @@
package signer_test
import (
- "fmt"
"github.com/cloudfoundry/bosh-davcli/signer"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" | Fix imported and not used: "fmt" | cloudfoundry_bosh-davcli | train | go |
fd8c2b951d5451a09e17801a65b0db9cd8edc845 | diff --git a/lib/build-graph.js b/lib/build-graph.js
index <HASH>..<HASH> 100644
--- a/lib/build-graph.js
+++ b/lib/build-graph.js
@@ -11,7 +11,7 @@ function buildGraph(parseTree) {
defaultStack = [{ node: {}, edge: {} }],
id = parseTree.id,
g = new Graph({ directed: isDirected, multigraph: isMulti... | Fix code style for graph id patch | dagrejs_graphlib-dot | train | js,js |
21b9d7485fe3df950479157067bbd1da306592e0 | diff --git a/pact/pact-compiler/src/main/java/eu/stratosphere/pact/compiler/plan/OptimizerNode.java b/pact/pact-compiler/src/main/java/eu/stratosphere/pact/compiler/plan/OptimizerNode.java
index <HASH>..<HASH> 100644
--- a/pact/pact-compiler/src/main/java/eu/stratosphere/pact/compiler/plan/OptimizerNode.java
+++ b/pact... | Fixed bug in uniqueness determination in optimizer node | apache_flink | train | java |
461b0c5393834f482a155fb6776fb583fd899031 | diff --git a/randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/ThreadLeakControl.java b/randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/ThreadLeakControl.java
index <HASH>..<HASH> 100644
--- a/randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/ThreadLeakControl.java
+... | Never fail on missing mx bean, | randomizedtesting_randomizedtesting | train | java |
e4cdbad4d47c922030587601b5f5e593c034dc29 | diff --git a/lib/lanes/api/root.rb b/lib/lanes/api/root.rb
index <HASH>..<HASH> 100644
--- a/lib/lanes/api/root.rb
+++ b/lib/lanes/api/root.rb
@@ -38,7 +38,7 @@ module Lanes
end
prefix = Lanes.config.mounted_at + (parent_attribute || '')
- puts "#{prefix}/#{path}"
+
... | remove debugging puts that got checked in | argosity_hippo | train | rb |
0d5170e5a5491f12de9592dd30657fb73d67e059 | diff --git a/aws/resource_aws_sfn_activity_test.go b/aws/resource_aws_sfn_activity_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_sfn_activity_test.go
+++ b/aws/resource_aws_sfn_activity_test.go
@@ -19,6 +19,7 @@ func TestAccAWSSfnActivity_basic(t *testing.T) {
resource.ParallelTest(t, resource.TestCase... | tests/r/sfn_activity: Add ErrorCheck | terraform-providers_terraform-provider-aws | train | go |
5df745b8a78305c8e20bc48f00a54943fdbdd72c | diff --git a/globus_cli/helpers/printing.py b/globus_cli/helpers/printing.py
index <HASH>..<HASH> 100644
--- a/globus_cli/helpers/printing.py
+++ b/globus_cli/helpers/printing.py
@@ -49,17 +49,23 @@ def print_table(iterable, headers_and_keys, print_headers=True):
# the same order as the headers_and_keys array
... | Fix table printing to handle unicode
This is not sufficient for us to claim broad unicode support, but rather
a patch for something I just encountered.
If there is unicode data in a table we want to print for output, we need
to handle two things:
1. str(value) is unsafe, so only do it on types that don't support
__... | globus_globus-cli | train | py |
77b9769460cec96c626246fdc1ac8ea8c38708b2 | diff --git a/ServiceProvider.php b/ServiceProvider.php
index <HASH>..<HASH> 100755
--- a/ServiceProvider.php
+++ b/ServiceProvider.php
@@ -113,7 +113,12 @@ abstract class ServiceProvider {
if ($group)
{
- static::$publishGroups[$group] = $paths;
+ if ( ! array_key_exists($group, static::$publishGroups))
+ ... | Bugfix for Support: ServiceProvider
- method publish() - merging tagged (marked with group) paths with already registered ones
- method pathsToPublish() - added support for selecting by both provider and group | illuminate_support | train | php |
a372397b90332001b92812b1dcf73d95cb72df12 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -35,6 +35,22 @@ test('split two lines on two writes', function (t) {
input.end()
})
+test('split four lines on three writes', function (t) {
+ t.plan(2)
+
+ var input = split()
+
+ input.pipe(strcb(function (err, list) {
... | test: add a test case for char-grouped streams
Given the other test cases, I could not determine if split supports such a use case in that chunks are split in-line. | mcollina_split2 | train | js |
1cc60c35624d0dd9043de00391926f007d0bb60c | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -17,9 +17,13 @@ module.exports = function(config) {
browsers: ['ChromeHeadlessNoSandbox', 'ie11'],
+ browserDisconnectTimeout: '60000',
+ browserNoActivityTimeout: '60000',
+
client: {
... | Increase the Karma timeout to 1 minute | unexpectedjs_unexpected | train | js |
9dcad830022f5dcaad4fe78efce937c9cea7dc56 | diff --git a/query/src/test/java/org/infinispan/query/affinity/AffinityRpcTest.java b/query/src/test/java/org/infinispan/query/affinity/AffinityRpcTest.java
index <HASH>..<HASH> 100644
--- a/query/src/test/java/org/infinispan/query/affinity/AffinityRpcTest.java
+++ b/query/src/test/java/org/infinispan/query/affinity/Af... | ISPN-<I> Remove workaround in AffinityRpcTest | infinispan_infinispan | train | java |
cd237fc3f99183a3a691264c697bb1dee65de5f3 | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -34,11 +34,11 @@ module.exports = function (config) {
port: 8080,
- logLevel: config.LOG_INFO,
+ logLevel: config.LOG_DEBUG,
autoWatch: false,
- browsers: ['Ph... | Switched back to Chrome in test suite. | akoenig_angular-deckgrid | train | js |
843b8910285335722db23712d3adffc7a2b726cd | diff --git a/ctfile/ctfile.py b/ctfile/ctfile.py
index <HASH>..<HASH> 100644
--- a/ctfile/ctfile.py
+++ b/ctfile/ctfile.py
@@ -587,6 +587,11 @@ class Molfile(CTfile):
"""
return self['Ctab'].hydrogen_atoms
+ @property
+ def as_sdfile(self):
+ """Create ``SDfile`` from ``Molfile``."""
+ ... | Added property that converts "Molfile" into "SDfile". | MoseleyBioinformaticsLab_ctfile | train | py |
1ec06653002b0b904ca4e90651efe1b934371fa8 | diff --git a/source/rafcon/mvc/controllers/state_transitions.py b/source/rafcon/mvc/controllers/state_transitions.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/controllers/state_transitions.py
+++ b/source/rafcon/mvc/controllers/state_transitions.py
@@ -499,6 +499,10 @@ class StateTransitionsListController(Ext... | Check for exception in state_transition observer
The notification method in the state transition controller now checks
for exceptions caused by the changing method. If one occurred, nothing
is being updated. | DLR-RM_RAFCON | train | py |
eb20a9216a792fdafac1d9cc781c4db50c5aedb2 | diff --git a/src/modelbase.js b/src/modelbase.js
index <HASH>..<HASH> 100644
--- a/src/modelbase.js
+++ b/src/modelbase.js
@@ -166,7 +166,7 @@ module.exports = function(ngin) {
self.fromList(data, function(err, list) {
// check for a single page request
- if (options.page || !pagination |... | Check query.page when testing for single page | sportngin_ngin_client_node | train | js |
e120b6cf884dbda9d12bd15fcbf9c009f1fd6434 | diff --git a/ipuz/structures/direction.py b/ipuz/structures/direction.py
index <HASH>..<HASH> 100644
--- a/ipuz/structures/direction.py
+++ b/ipuz/structures/direction.py
@@ -2,9 +2,9 @@
def validate_direction(direction):
splitted = direction.split(':')
- direction_name = direction
if len(splitted) > 2:... | Minor change in logic for direction name calculation | svisser_ipuz | train | py |
7e60f11f0628b57208ea038dfad2ef2e4a5eebb2 | diff --git a/code/SVGTemplate.php b/code/SVGTemplate.php
index <HASH>..<HASH> 100755
--- a/code/SVGTemplate.php
+++ b/code/SVGTemplate.php
@@ -48,7 +48,7 @@ class SVGTemplate extends ViewableData
/**
* @var string
*/
- private $custom_base;
+ private $custom_base_path;
/**
* @var arr... | Renaming SVGTemplate::$custom_base to $custom_base_path | stevie-mayhew_silverstripe-svg | train | php |
db75294ad230e06ddcee3ae6a8b457794d1add93 | diff --git a/lib/cli/lib/initiate.js b/lib/cli/lib/initiate.js
index <HASH>..<HASH> 100644
--- a/lib/cli/lib/initiate.js
+++ b/lib/cli/lib/initiate.js
@@ -73,7 +73,7 @@ export default function(options, pkg) {
logger.log();
paddedLog('There seems to be a storybook already available in this project.');
... | Update missed getstorybook occurrences | storybooks_storybook | train | js |
23613a7e6ee0af75c985b9c9b40116ed77cd0a53 | diff --git a/src/Service.php b/src/Service.php
index <HASH>..<HASH> 100644
--- a/src/Service.php
+++ b/src/Service.php
@@ -193,7 +193,7 @@ class Service extends Component
$decodedJson = $this->_getAssetContents($asset);
// Automatic refreshing of Instagram embedded assets every seven days, s... | Set providerName to lowercase
Apparently the platformName variable is not always stored consistent as capitalized. It varies between "Instagram" and lowercase "instagram". This resulted in some embeds weren't getting refreshed. | spicywebau_craft-embedded-assets | train | php |
879fc9b13c46d2200bed6e11f1204b2dabc34195 | diff --git a/src/draw/handler/Draw.Marker.js b/src/draw/handler/Draw.Marker.js
index <HASH>..<HASH> 100644
--- a/src/draw/handler/Draw.Marker.js
+++ b/src/draw/handler/Draw.Marker.js
@@ -47,18 +47,18 @@ L.Draw.Marker = L.Draw.Feature.extend({
if (this._map) {
if (this._marker) {
- this._marker.off('click', ... | Pass the context in removeHooks so events will be removed correctly in the latest leaflet build. | Leaflet_Leaflet.draw | train | js |
b2593cabcd9dc6b07ff603d7e8df5c50ce83255b | diff --git a/src/search/FindReplace.js b/src/search/FindReplace.js
index <HASH>..<HASH> 100644
--- a/src/search/FindReplace.js
+++ b/src/search/FindReplace.js
@@ -178,7 +178,7 @@ define(function (require, exports, module) {
if (state.matchIndex !== -1) {
// Convert to 1-based by adding one... | Use resultSet array length for total match count rather than using the length of Marked Text. | adobe_brackets | train | js |
b9350b42d765a15976a71b42c8b90aaea53f1c05 | diff --git a/src/passes/pass.js b/src/passes/pass.js
index <HASH>..<HASH> 100644
--- a/src/passes/pass.js
+++ b/src/passes/pass.js
@@ -65,6 +65,12 @@ export class Pass {
this.quad = quad;
+ if(this.quad !== null) {
+
+ this.quad.frustumCulled = false;
+
+ }
+
/**
* Indicates whether the read and write... | Don't let the quad be clipped.
See mrdoob/three.js#<I>. | vanruesc_postprocessing | train | js |
a558848e23a3c56ba725a57a02474cb8870eefaa | diff --git a/src/Collection.php b/src/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Collection.php
+++ b/src/Collection.php
@@ -32,7 +32,7 @@ abstract class Collection extends \Illuminate\Support\Collection
$class = $collection->get($key);
if (class_exists($class)) {
- return new $... | Resolving collection instances from the container | ethical-jobs_laravel-storage | train | php |
354e399d028d0028c58573eea9ba3c14faea391b | diff --git a/lib/mongoid/field.rb b/lib/mongoid/field.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/field.rb
+++ b/lib/mongoid/field.rb
@@ -34,7 +34,7 @@ module Mongoid #:nodoc:
# <tt>Field.new(:score, :default => 0)</tt>
def initialize(name, options = {})
check_name!(name)
- @type = options[:t... | Changing default field type to Object instead of String | mongodb_mongoid | train | rb,rb |
2fb535f522dfe2ea768e45a38cd4224ae7df4d73 | diff --git a/src/test/java/org/eclipse/jetty/nosql/memcached/MemcachedTestServer.java b/src/test/java/org/eclipse/jetty/nosql/memcached/MemcachedTestServer.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/eclipse/jetty/nosql/memcached/MemcachedTestServer.java
+++ b/src/test/java/org/eclipse/jetty/nosql/memcache... | set workerName for MemcachedSessionIdManager. | yyuu_jetty-nosql-memcached | train | java |
92409766a3c69ef9024f729c59a2514316dc88a8 | diff --git a/stackinternal_test.go b/stackinternal_test.go
index <HASH>..<HASH> 100644
--- a/stackinternal_test.go
+++ b/stackinternal_test.go
@@ -31,3 +31,34 @@ func TestCaller(t *testing.T) {
t.Errorf("got line == %v, want line == %v", got, want)
}
}
+
+type fholder struct {
+ f func() CallStack
+}
+
+func (fh ... | Add additional test for Trace(). | go-stack_stack | train | go |
e4016d88a0013fd21aefdd33c2b20ebcd8424b01 | diff --git a/test/features/pagecontent/content_negotiation.js b/test/features/pagecontent/content_negotiation.js
index <HASH>..<HASH> 100644
--- a/test/features/pagecontent/content_negotiation.js
+++ b/test/features/pagecontent/content_negotiation.js
@@ -49,7 +49,6 @@ describe('Content negotiation', function() {
... | Minor: Remove superfluous console.log() | wikimedia_restbase | train | js |
1bbdf32d4f8a58d3d46a1cfb6ee244602099971d | diff --git a/aegea/batch.py b/aegea/batch.py
index <HASH>..<HASH> 100644
--- a/aegea/batch.py
+++ b/aegea/batch.py
@@ -438,7 +438,7 @@ def watch(args):
logger.info("Job %s %s", args.job_id, format_job_status(job_desc["status"]))
last_status = job_desc["status"]
if job_desc["status... | aegea batch watch: fix logic error when job fails before starting | kislyuk_aegea | train | py |
35dd605e52a21bb8b73bd2a06279e073bba8ba12 | diff --git a/lib/flex/http_clients/rest_client.rb b/lib/flex/http_clients/rest_client.rb
index <HASH>..<HASH> 100644
--- a/lib/flex/http_clients/rest_client.rb
+++ b/lib/flex/http_clients/rest_client.rb
@@ -5,7 +5,7 @@ module Flex
def request(method, path, data=nil)
options = Configuration.http_client... | fix for bad url in rest_client.rb | elastics_elastics | train | rb |
e1b7fa7e5c93a823df8ac265b64b00e557af42e1 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -127,6 +127,8 @@ Server.prototype.onHttpRequest = function (req, res) {
var params
try {
params = parseHttpRequest(req, { trustProxy: self._trustProxy })
+ params.httpReq = req
+ params.httpRes = res
} ... | server: save HTTP req/res in params
For GH issue #<I> | webtorrent_bittorrent-tracker | train | js |
c379ad8e891bfa638a0b4425c63eef98519534ef | diff --git a/bridge.go b/bridge.go
index <HASH>..<HASH> 100644
--- a/bridge.go
+++ b/bridge.go
@@ -353,6 +353,8 @@ func (b *bridge) SyncSourceFor(id ProjectIdentifier) error {
return b.sm.SyncSourceFor(id)
}
+func (b *bridge) Release() { b.sm.Release() }
+
// versionTypeUnion represents a set of versions that are... | Add Release() to the SourceManager interface
This is already being used by dep. | sdboyer_gps | train | go,go |
93ba46bd5185eda8d12b98604b3a6675d477be56 | diff --git a/flubber/futures/_task.py b/flubber/futures/_task.py
index <HASH>..<HASH> 100644
--- a/flubber/futures/_task.py
+++ b/flubber/futures/_task.py
@@ -2,6 +2,8 @@
# This file is part of flubber. See the NOTICE for more information.
#
+import sys
+
from flubber.futures._base import Executor, Future
from fl... | Don't store full exc_info on futures | saghul_evergreen | train | py |
a107365c75ec22f2eda392f89b1a9bec62d622c3 | diff --git a/safe/engine/interpolation.py b/safe/engine/interpolation.py
index <HASH>..<HASH> 100644
--- a/safe/engine/interpolation.py
+++ b/safe/engine/interpolation.py
@@ -313,6 +313,11 @@ def interpolate_polygon_raster(source, target,
verify(source.is_vector)
verify(source.is_polygon_data)
+ if attri... | dealt with case where attribute_name is None | inasafe_inasafe | train | py |
bf714ac3d20e4b208fc682d58399e6b799356e69 | diff --git a/tinydb/database.py b/tinydb/database.py
index <HASH>..<HASH> 100644
--- a/tinydb/database.py
+++ b/tinydb/database.py
@@ -37,7 +37,7 @@ def _get_doc_id(doc_id, eid):
if doc_id is not None:
raise TypeError('cannot pass both eid and doc_id')
- warnings.warn('eid has been rename... | Chore: Fix typo in warning, should be singular (#<I>) | msiemens_tinydb | train | py |
3631ee0841cda651fc8fb06192faa3741e0e2a22 | diff --git a/src/Core/Request/AbstractApiRequest.php b/src/Core/Request/AbstractApiRequest.php
index <HASH>..<HASH> 100644
--- a/src/Core/Request/AbstractApiRequest.php
+++ b/src/Core/Request/AbstractApiRequest.php
@@ -250,12 +250,12 @@ abstract class AbstractApiRequest implements ClientRequestInterface, ContextAwar
... | fix(ClientLogging): change priority of headers for external user id | commercetools_commercetools-php-sdk | train | php |
6ab00ccee7f090f52ab8fdd93521a1ac81222eac | diff --git a/lib/installlib.php b/lib/installlib.php
index <HASH>..<HASH> 100644
--- a/lib/installlib.php
+++ b/lib/installlib.php
@@ -515,6 +515,7 @@ function install_cli_database(array $options, $interactive) {
$CFG->version = '';
$CFG->release = '';
$version = null;
+ $release = null;
// rea... | helping IDEs with undefined variable detection | moodle_moodle | train | php |
c314c13a31fc140c08aef8727b75da39b1bf74e8 | diff --git a/src/livestreamer/plugins/ilive.py b/src/livestreamer/plugins/ilive.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer/plugins/ilive.py
+++ b/src/livestreamer/plugins/ilive.py
@@ -71,7 +71,7 @@ class ILive(Plugin):
"live": True
}
- match = re.search("(http(s)?://.+/server.p... | Fix ilive Plugin
Resolves #<I>
Token now is requested by server2.php, regular expression will match this now
Also mobile streams gone? or they need special plugin installed to work.
Maybe someone can install it and take a look at the traffic... | streamlink_streamlink | train | py |
cbbac044a340ce2e7976cc817c7241b2d312e667 | diff --git a/code/model/LDAPGateway.php b/code/model/LDAPGateway.php
index <HASH>..<HASH> 100644
--- a/code/model/LDAPGateway.php
+++ b/code/model/LDAPGateway.php
@@ -21,7 +21,11 @@ class LDAPGateway extends Object
public function __construct()
{
parent::__construct();
- $this->ldap = new Zend... | FIX Zend LDAP will crash during DI when no LDAP settings are provided | silverstripe_silverstripe-activedirectory | train | php |
d34df38c2bd26d268189211f4b70ac7abc522c99 | diff --git a/simplesqlite/core.py b/simplesqlite/core.py
index <HASH>..<HASH> 100644
--- a/simplesqlite/core.py
+++ b/simplesqlite/core.py
@@ -126,6 +126,8 @@ class SimpleSQLite(object):
if isinstance(database_src, SimpleSQLite):
self.__connection = database_src.connection
self.__data... | Modify to passing debug_query flag | thombashi_SimpleSQLite | train | py |
d47d52a2f40af584ef628e1f58969ff8b90d57e5 | diff --git a/examples/Example2_ScheduledReporters.py b/examples/Example2_ScheduledReporters.py
index <HASH>..<HASH> 100644
--- a/examples/Example2_ScheduledReporters.py
+++ b/examples/Example2_ScheduledReporters.py
@@ -50,8 +50,6 @@ results = workspace.getScheduledReporterResults()
print('\t...and put these results ... | getScheduledReporterResults now returns a pandas dataframe. Example adjusted accordingly | chathika_NL4Py | train | py |
e9fa672a0777c41d086ca000a94aa2cba2ce444d | diff --git a/src/parsers/markdown/standardize-ast/transformers-htmltag/br.js b/src/parsers/markdown/standardize-ast/transformers-htmltag/br.js
index <HASH>..<HASH> 100644
--- a/src/parsers/markdown/standardize-ast/transformers-htmltag/br.js
+++ b/src/parsers/markdown/standardize-ast/transformers-htmltag/br.js
@@ -21,7 ... | Don't store BR tags as open (#<I>) | Originate_text-runner | train | js |
cbc0734d616635054af4736c263dcc530583d52b | diff --git a/lib/ronin/engine/engine.rb b/lib/ronin/engine/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/engine/engine.rb
+++ b/lib/ronin/engine/engine.rb
@@ -28,6 +28,7 @@ require 'ronin/model/has_authors'
require 'ronin/model/cacheable'
require 'ronin/ui/output/helpers'
+require 'data_paths/finders'
requ... | Include DataPaths::Finders into all Engines. | ronin-ruby_ronin | train | rb |
4a442ffcec7cc19cbdde16bbdd61d37221d879d6 | diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -189,6 +189,9 @@ Connection.prototype._allocateId = function _allocateId(stream, id) {
stream.id = id;
this.emit('new_stream', stream, id);
+ // * handling stream errors as connecti... | Stream: rejecting invalid stream level frame with PROTOCOL_ERROR | molnarg_node-http2-protocol | train | js,js |
428bfd2554a2573574b80c38a02e73282047733a | diff --git a/src/compiler.js b/src/compiler.js
index <HASH>..<HASH> 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -6,11 +6,14 @@ import {
cond,
equals,
identity,
+ ifElse,
join,
map,
pipe,
toPairs,
- type
+ type,
+ unary,
+ when
} from 'ramda';
import { transf... | Replace cond by ifElse | rung-tools_rung-cli | train | js |
152261413dd4f3287e3417a4c57a76285c2a7587 | diff --git a/pkg/social/google_oauth.go b/pkg/social/google_oauth.go
index <HASH>..<HASH> 100644
--- a/pkg/social/google_oauth.go
+++ b/pkg/social/google_oauth.go
@@ -48,6 +48,7 @@ func (s *SocialGoogle) UserInfo(client *http.Client, token *oauth2.Token) (*Basi
}
return &BasicUserInfo{
+ Id: fmt.Sprintf("%d",... | Added Id to BasicUserInfo returns | grafana_grafana | train | go |
2238492c513152f7f97c05082ca68d44b33c1e97 | diff --git a/command/image/build.go b/command/image/build.go
index <HASH>..<HASH> 100644
--- a/command/image/build.go
+++ b/command/image/build.go
@@ -138,7 +138,6 @@ func (out *lastProgressOutput) WriteProgress(prog progress.Progress) error {
}
func runBuild(dockerCli *command.DockerCli, options buildOptions) erro... | Some things just need to be line wrapped. | docker_cli | train | go |
6012308b7e052471b65152ca1f060b1a8ee02498 | diff --git a/flask_appbuilder/static/appbuilder/js/ab_filters.js b/flask_appbuilder/static/appbuilder/js/ab_filters.js
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/static/appbuilder/js/ab_filters.js
+++ b/flask_appbuilder/static/appbuilder/js/ab_filters.js
@@ -92,7 +92,7 @@ var AdminFilters = function(element, la... | Update ab_filters.js | dpgaspar_Flask-AppBuilder | train | js |
bdfde6aed1f859b91b6a8bbdd8e9626ab6ebd723 | diff --git a/go/engine/login_current_device.go b/go/engine/login_current_device.go
index <HASH>..<HASH> 100644
--- a/go/engine/login_current_device.go
+++ b/go/engine/login_current_device.go
@@ -72,6 +72,20 @@ func (e *LoginCurrentDevice) Run(ctx *Context) error {
return errNoDevice
}
+ // Make sure the device I... | check whether the current device is still valid during login | keybase_client | train | go |
48edae4009f68f26664458cf81f72e51b79c8813 | diff --git a/spec/lib/tox/client_spec.rb b/spec/lib/tox/client_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/tox/client_spec.rb
+++ b/spec/lib/tox/client_spec.rb
@@ -80,4 +80,10 @@ RSpec.describe Tox::Client do
end
end
end
+
+ describe '#running?' do
+ it 'returns false by default' do
+ exp... | Add spec for Tox::Client#running? | toxon_tox.rb | train | rb |
8bb9df206068dcff549e33243ae3a5a4b671efd1 | diff --git a/user_management/api/views.py b/user_management/api/views.py
index <HASH>..<HASH> 100644
--- a/user_management/api/views.py
+++ b/user_management/api/views.py
@@ -230,11 +230,10 @@ class VerifyAccountView(views.APIView):
Set user as a class attribute or raise an `InvalidExpiredToken`.
""... | Replace getattr with a try..except | incuna_django-user-management | train | py |
65dc59384639a5b0ff4f9b8f41669fca6a815030 | diff --git a/file_picker/views.py b/file_picker/views.py
index <HASH>..<HASH> 100755
--- a/file_picker/views.py
+++ b/file_picker/views.py
@@ -32,7 +32,10 @@ class FilePickerBase(object):
self.field_names = model._meta.get_all_field_names()
self.field_labels = {}
for field_name in model._meta... | don't die on fields that don't exist | caktus_django-file-picker | train | py |
871263d5d947022a91563b9b78229957bd66fef8 | diff --git a/hawtio-system/src/main/java/io/hawt/web/filters/ContentSecurityPolicyFilter.java b/hawtio-system/src/main/java/io/hawt/web/filters/ContentSecurityPolicyFilter.java
index <HASH>..<HASH> 100644
--- a/hawtio-system/src/main/java/io/hawt/web/filters/ContentSecurityPolicyFilter.java
+++ b/hawtio-system/src/main... | and new line, sheesh | hawtio_hawtio | train | java |
0bf7e6b23c4b426e77d2c70c4d0a6e942a99ba2d | diff --git a/lib/jitsu.js b/lib/jitsu.js
index <HASH>..<HASH> 100644
--- a/lib/jitsu.js
+++ b/lib/jitsu.js
@@ -53,7 +53,7 @@ jitsu.use(flatiron.plugins.cli, {
string: true
},
raw: {
- description: 'jitsu will only output line-delimited raw JSON ( useful for piping )',
+ description: 'jitsu wi... | [minor] Minor change in help text | nodejitsu_jitsu | train | js |
fd4ff050c46c0eac288250db0928da1986311150 | diff --git a/provider/oracle/instance_test.go b/provider/oracle/instance_test.go
index <HASH>..<HASH> 100644
--- a/provider/oracle/instance_test.go
+++ b/provider/oracle/instance_test.go
@@ -12,6 +12,7 @@ import (
gc "gopkg.in/check.v1"
"github.com/juju/juju/core/instance"
+ corenetwork "github.com/juju/juju/core... | Fixes tests in provider/oracle for modules relocated to core/network. | juju_juju | train | go |
6801d2da7a4203bc6e72969437e2c0593811c557 | diff --git a/src/components/DesktopComponent.js b/src/components/DesktopComponent.js
index <HASH>..<HASH> 100644
--- a/src/components/DesktopComponent.js
+++ b/src/components/DesktopComponent.js
@@ -76,6 +76,12 @@ class DesktopComponent {
// if it can have multiple ex. VerticalBox
this.element.deleteAt(th... | Add support for deleting window. Fixes #<I> | kusti8_proton-native | train | js,js |
9621610ab7c10a321e3db40d3cbf03d4b7cfab0d | diff --git a/app/aid/proxy/proxy.go b/app/aid/proxy/proxy.go
index <HASH>..<HASH> 100644
--- a/app/aid/proxy/proxy.go
+++ b/app/aid/proxy/proxy.go
@@ -45,7 +45,7 @@ const (
func New() *Proxy {
p := &Proxy{
ipRegexp: regexp.MustCompile(`[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+`),
- proxyRegexp: regexp.MustCompile(`http[... | Proxy: support for filling in user name and password | henrylee2cn_pholcus | train | go |
83ef8ba0eb412968909eae4b1bf80d804286eab4 | diff --git a/requests_gpgauthlib/gpgauth_session.py b/requests_gpgauthlib/gpgauth_session.py
index <HASH>..<HASH> 100644
--- a/requests_gpgauthlib/gpgauth_session.py
+++ b/requests_gpgauthlib/gpgauth_session.py
@@ -185,6 +185,7 @@ class GPGAuthSession(Session):
.replace('\\\\', '\\')
).replace('\\... | Add debug statement to help debug stage1 errors | liip_requests_gpgauthlib | 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.