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 |
|---|---|---|---|---|---|
0887831e14d4fe6e72c5ed397012cc0686e00185 | diff --git a/app/models/admin/viewable/form.rb b/app/models/admin/viewable/form.rb
index <HASH>..<HASH> 100644
--- a/app/models/admin/viewable/form.rb
+++ b/app/models/admin/viewable/form.rb
@@ -12,7 +12,7 @@ module Admin
field :structure do
pretty_value do
h, name = bindings[:vie... | oops, bug fix in admin navigation to form rows | o2web_rails_admin_cms | train | rb |
934866735125d43fb2881ec4a408678e6b038e27 | diff --git a/pkg/minikube/node/start.go b/pkg/minikube/node/start.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/node/start.go
+++ b/pkg/minikube/node/start.go
@@ -205,6 +205,13 @@ func restartKubeletIfNeeded(starter Starter) error {
if err := sysinit.New(starter.Runner).Restart("kubelet"); err != nil {
return ... | Add host alias back after restarting kubelet | kubernetes_minikube | train | go |
8dafaa144838cfd729d3368f361a4e73751950d9 | diff --git a/emir/recipes/auxiliary.py b/emir/recipes/auxiliary.py
index <HASH>..<HASH> 100644
--- a/emir/recipes/auxiliary.py
+++ b/emir/recipes/auxiliary.py
@@ -32,7 +32,9 @@ from ..dataproducts import NonLinearityCalibration, MasterIntensityFlat
from ..dataproducts import WavelengthCalibration
from ..dataproducts ... | Updated __all__ | guaix-ucm_pyemir | train | py |
807791a40dab77e41bfa48c07a925749481a147a | diff --git a/spinoff/actor/_actor.py b/spinoff/actor/_actor.py
index <HASH>..<HASH> 100644
--- a/spinoff/actor/_actor.py
+++ b/spinoff/actor/_actor.py
@@ -355,10 +355,6 @@ class Process(Actor):
if self._state is PAUSED and isinstance(self._paused_result, Failure):
warnings.warn("Pending exception ... | Removed the out-of-date/obsolete Actor._debug_state | eallik_spinoff | train | py |
2a9b91b0697a3bf195ba414cad618ae0bdbe0026 | diff --git a/www/src/py2js.js b/www/src/py2js.js
index <HASH>..<HASH> 100644
--- a/www/src/py2js.js
+++ b/www/src/py2js.js
@@ -10725,7 +10725,11 @@ var $tokenize = $B.parser.$tokenize = function(root, src) {
var esc = test_escape(context, src, string_start,
... | Bug when the escape character (\) is entered as a Unicode escape such as '\u<I>c' or '\x5c' | brython-dev_brython | train | js |
b6972379864780a781b8dc24b4fd8a9dfaec3f46 | diff --git a/structr-ui/src/main/resources/structr/js/crud.js b/structr-ui/src/main/resources/structr/js/crud.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/crud.js
+++ b/structr-ui/src/main/resources/structr/js/crud.js
@@ -1079,6 +1079,16 @@ var _Crud = {
$('#startImport', dialogBtn... | Feature: Prevent basic CSV import from importing more than <I> characters and suggest the file-based import | structr_structr | train | js |
c782a56ac10fa019558e01bb78f856dd6ab24687 | diff --git a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
index <HASH>..<HASH> 100644
--- a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
+++ b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
@@ -53,7 +53,7 @@ class ImageConverter extends BaseCo... | change get file url in data array | caouecs_Laravel-SirTrevorJS | train | php |
36d0b7608dce757c989383a7f6b8b1f85a16b7ae | diff --git a/Lib/ufo2ft/instructionCompiler.py b/Lib/ufo2ft/instructionCompiler.py
index <HASH>..<HASH> 100644
--- a/Lib/ufo2ft/instructionCompiler.py
+++ b/Lib/ufo2ft/instructionCompiler.py
@@ -133,6 +133,14 @@ class InstructionCompiler(object):
# doesn't have an identifier, we should autoset all comp... | Handle mismatching number of composites between UFO and TTF | googlefonts_ufo2ft | train | py |
7e4428bd73f7bf18a10499bc3f1a43e0a8026f26 | diff --git a/test_xbee1.py b/test_xbee1.py
index <HASH>..<HASH> 100755
--- a/test_xbee1.py
+++ b/test_xbee1.py
@@ -304,6 +304,32 @@ class TestParseIOData(unittest.TestCase):
self.assertEqual(results, expected_results)
+ def test_parse_multiple_adc_subset(self):
+ """
+ pars... | Added test for multiple adc readings for a subset of available adc pins | niolabs_python-xbee | train | py |
5a2d037c44cea9b56c46588f62254c13a493f2c4 | diff --git a/skosify.py b/skosify.py
index <HASH>..<HASH> 100755
--- a/skosify.py
+++ b/skosify.py
@@ -149,6 +149,7 @@ def replace_predicate(rdf, fromuri, touri, subjecttypes=None, inverse=False):
if touri is not None:
if not isinstance(touri, (list, tuple)): touri = [touri]
for val in touri:
+ ... | bugfix for crash when a property was mapped to None (e.g. in YSO) | NatLibFi_Skosify | train | py |
b4e963b05696bace0fd2d46481cb5bd7f6b9b266 | diff --git a/spec/data_spec.rb b/spec/data_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/data_spec.rb
+++ b/spec/data_spec.rb
@@ -28,6 +28,18 @@ module Discordrb
messages = [1, 2, 3]
expect { channel.delete_messages(messages, true) }.to raise_error(ArgumentError)
end
+
+ it 'should remove... | Spec #reject! in bulk_delete | meew0_discordrb | train | rb |
ac52fa36fb1e713b0c1749d0ff460e554cd4f0ae | diff --git a/lib/squire/configuration.rb b/lib/squire/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/squire/configuration.rb
+++ b/lib/squire/configuration.rb
@@ -44,9 +44,7 @@ module Squire
elsif type == '?'
!!get_value(name)
else
- value = get_value(name)
-
- val... | Fix fallback to method_missing chain | smolnar_squire | train | rb |
8bb396651e8148eb4f47de0872edd8b23e0bb7a1 | diff --git a/lib/utils.js b/lib/utils.js
index <HASH>..<HASH> 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -53,14 +53,14 @@ var encodeHTMLRules = {
, matchHTML = /[&<>\'"]/g;
exports.escapeFuncStr =
- 'var encodeHTMLRules = {'
-+ '"&": "&"'
-+ ', "<": "<"'
-+ ', ">": ">"'
-+ ', \'"... | Make generated function a little bit prettier | mde_ejs | train | js |
0ecbd804a3ba250367df520e0e3d9803d938ea6e | diff --git a/tests/test_detectors.py b/tests/test_detectors.py
index <HASH>..<HASH> 100644
--- a/tests/test_detectors.py
+++ b/tests/test_detectors.py
@@ -39,9 +39,9 @@ def test_should_not_create_focal_points_on_images_that_has_no_face():
def test_should_return_detect_a_face():
focal_points = get_context_from('fa... | probably the remotion of the history equalization changed the position of the face detecte on the image, its fine | thumbor_thumbor | train | py |
b9daf64894b25d409232eb3f588d1317c20e85ed | diff --git a/core/src/main/java/smile/validation/CrossValidation.java b/core/src/main/java/smile/validation/CrossValidation.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/smile/validation/CrossValidation.java
+++ b/core/src/main/java/smile/validation/CrossValidation.java
@@ -52,6 +52,16 @@ public class Cross... | Add additional constructor to CrossValidation
Add additional constructor to CrossValidation so users can choose if they don't want the indices to be permutated. | haifengl_smile | train | java |
2ab4751dcb9c0f6d1debc0f075af8873d89d8f50 | diff --git a/trezorlib/tests/device_tests/test_bip32_speed.py b/trezorlib/tests/device_tests/test_bip32_speed.py
index <HASH>..<HASH> 100644
--- a/trezorlib/tests/device_tests/test_bip32_speed.py
+++ b/trezorlib/tests/device_tests/test_bip32_speed.py
@@ -50,7 +50,6 @@ class TestBip32Speed(TrezorTest):
prin... | device_tests: update test_bip<I>_speed cache-speed ratio to <I>x | trezor_python-trezor | train | py |
919c41684c9ede17b2e28f15bcae166a837d774d | diff --git a/library/CM/Janus/RpcEndpoints.php b/library/CM/Janus/RpcEndpoints.php
index <HASH>..<HASH> 100644
--- a/library/CM/Janus/RpcEndpoints.php
+++ b/library/CM/Janus/RpcEndpoints.php
@@ -58,10 +58,14 @@ class CM_Janus_RpcEndpoints {
try {
$streamRepository->createStreamPublish($streamChann... | only delete streamChannel if empty | cargomedia_cm | train | php |
e87f7454bc0111a23c4ad13cf1b38e4f10f3b368 | diff --git a/satpy/readers/eps_l1b.py b/satpy/readers/eps_l1b.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/eps_l1b.py
+++ b/satpy/readers/eps_l1b.py
@@ -116,6 +116,7 @@ class EPSAVHRRFile(BaseFileHandler):
filename, filename_info, filetype_info)
self.lons, self.lats = None, None
+ s... | Initialize angles in epsl1b reader | pytroll_satpy | train | py |
06fb93e0f07b878b0c377fe6d14d83be12c37c17 | diff --git a/cmd/ctr/commands/run/run_windows.go b/cmd/ctr/commands/run/run_windows.go
index <HASH>..<HASH> 100644
--- a/cmd/ctr/commands/run/run_windows.go
+++ b/cmd/ctr/commands/run/run_windows.go
@@ -25,6 +25,7 @@ import (
"github.com/containerd/containerd/cmd/ctr/commands"
"github.com/containerd/containerd/oci"... | Reject host-mode networking on Windows
The flag was being silently ignored, and so no network setup was done,
and no notice given. | containerd_containerd | train | go |
2a401560dfb4b68cffc27c494125d81298be55c0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,10 +12,14 @@ setup(
version='1.0.0.rc1',
description='package for converting dicom files to nifti',
long_description=long_description,
- author='icometrix',
- author_email='it@icometrix.com',
+ lice... | DCMTONII-2:
Additional stuff for proper release | icometrix_dicom2nifti | train | py |
7229d4ee203f7298f8e9d3ab6fea82983fd820fc | diff --git a/ext_emconf.php b/ext_emconf.php
index <HASH>..<HASH> 100755
--- a/ext_emconf.php
+++ b/ext_emconf.php
@@ -9,10 +9,10 @@ $EM_CONF[$_EXTKEY] = [
'state' => 'stable',
'createDirs' => '',
'clearCacheOnLoad' => 0,
- 'version' => '10.0.0',
+ 'version' => '11.0.0',
'constraints' => [
... | [TASK] Declare compatibility with core <I> in ext_emconf | TYPO3_styleguide | train | php |
7ce9636fa96dc07e60a1bb45b8f054be7c276f0e | diff --git a/Resources/public/treeview.js b/Resources/public/treeview.js
index <HASH>..<HASH> 100644
--- a/Resources/public/treeview.js
+++ b/Resources/public/treeview.js
@@ -17,6 +17,7 @@
togglersAttribute: '[data-treeview-toggler]',
toggledState: 'is-toggled',
activeState: 'is-a... | treeview, allow to show some elements initially | sonata-project_SonataAdminBundle | train | js |
a3d405524ed5615094d84bd2d3275fb1aedbfb59 | diff --git a/lib/Cake/Network/CakeResponse.php b/lib/Cake/Network/CakeResponse.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Network/CakeResponse.php
+++ b/lib/Cake/Network/CakeResponse.php
@@ -71,7 +71,8 @@ class CakeResponse {
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
- ... | Added HTTP Status <I> (Unsupported Version) to CakeResponse | cakephp_cakephp | train | php |
f06616d9b8299d6a2537c0b527a169df76cbb5fa | diff --git a/lib/gems-status/text_view.rb b/lib/gems-status/text_view.rb
index <HASH>..<HASH> 100644
--- a/lib/gems-status/text_view.rb
+++ b/lib/gems-status/text_view.rb
@@ -12,19 +12,33 @@ module GemsStatus
end
def print_results(results, checker_results, comments)
+ puts "Gem list"
+ puts ""
... | move comments at the end
This way the list of gems look cleaner | jordimassaguerpla_gems-status | train | rb |
8ee99aea2a3daa989dd59c030a5825861d32e11d | diff --git a/src/jsonlogger.py b/src/jsonlogger.py
index <HASH>..<HASH> 100644
--- a/src/jsonlogger.py
+++ b/src/jsonlogger.py
@@ -20,7 +20,13 @@ class JsonFormatter(logging.Formatter):
if "asctime" in formatters:
record.asctime = self.formatTime(record, self.datefmt)
- log_record = {}
+ ... | Converted log_record dictionary to use OrderedDict if it is supported | madzak_python-json-logger | train | py,py |
1a362b6d5d764095c9e6a3dee0bbc8ce4103c1a1 | diff --git a/lib/diplomat/lock.rb b/lib/diplomat/lock.rb
index <HASH>..<HASH> 100644
--- a/lib/diplomat/lock.rb
+++ b/lib/diplomat/lock.rb
@@ -21,7 +21,7 @@ module Diplomat
req.url concat_url url
req.body = value unless value.nil?
end
- raw.body == 'true'
+ raw.body.strip == 'true'
... | Fix lock.acquire return status
Hi !
Thanks for this great gem , and your great work
I just noticed that `raw.body = "true\n"`
This makes `raw.body.strip == 'true'` test always false.
Thus wait_to_acquire never ends looping :)
Thanks ! | WeAreFarmGeek_diplomat | train | rb |
47fa482878513528741806f9a817266bf1b0ab7d | diff --git a/aioresponses/core.py b/aioresponses/core.py
index <HASH>..<HASH> 100644
--- a/aioresponses/core.py
+++ b/aioresponses/core.py
@@ -178,9 +178,6 @@ class RequestMatch(object):
async def build_response(
self, url: URL, **kwargs
) -> 'Union[ClientResponse, Exception]':
- if self.excep... | (feat) allow for callbacks to be called before raising of exception | pnuckowski_aioresponses | train | py |
ccedb247b50d0e9ffcc7f1a69f21bf4a1a7f633a | diff --git a/src/FlagBag.php b/src/FlagBag.php
index <HASH>..<HASH> 100644
--- a/src/FlagBag.php
+++ b/src/FlagBag.php
@@ -75,6 +75,7 @@ class FlagBag
}
/**
+ * @template T of \BackedEnum
* @param class-string<T>|T $enumOrType
*/
public static function from(string|\BackedEnum $enumOrTyp... | Correction for PR #<I>. | Elao_PhpEnums | train | php |
169a94e46ffee134f7728e328653cae7ac69342e | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100755
--- a/server.js
+++ b/server.js
@@ -99,7 +99,7 @@ if (config.static) {
}
break;
}
- staticPath = path.resolve(__dirname, staticPath);
+ staticPath = path.resolve(process.cwd(), staticPath);
console.warn("serving static assets on:", sta... | resolve paths relative to the cwd, not __dirname | stamen_prosthetic | train | js |
16bb2c86b97c16e21843a682e444beada200cf4b | diff --git a/src/service/misc/File.php b/src/service/misc/File.php
index <HASH>..<HASH> 100644
--- a/src/service/misc/File.php
+++ b/src/service/misc/File.php
@@ -34,7 +34,6 @@
namespace Brainworxx\Krexx\Service\Misc;
-use Brainworxx\Krexx\Controller\AbstractController;
use Brainworxx\Krexx\Service\Factory\Pool;
... | Fixed a finding from code inspection. | brainworxx_kreXX | train | php |
27c430a89d0b98f170ddf873fd26684907c98e7c | diff --git a/higlass/server.py b/higlass/server.py
index <HASH>..<HASH> 100644
--- a/higlass/server.py
+++ b/higlass/server.py
@@ -358,7 +358,7 @@ class Server:
# we're going to assign a uuid to each server process so that if anything
# goes wrong, the variable referencing the process doesn't get lo... | Make compatible with Python <I> | higlass_higlass-python | train | py |
e554f6748915eed88b9dcd6003388cf446750903 | diff --git a/react/MuiCozyTheme/theme.js b/react/MuiCozyTheme/theme.js
index <HASH>..<HASH> 100644
--- a/react/MuiCozyTheme/theme.js
+++ b/react/MuiCozyTheme/theme.js
@@ -110,7 +110,7 @@ export const normalTheme = createMuiTheme({
},
text: {
primary: getCssVariableValue('charcoalGrey'),
- secondar... | fix: Text secondary color is coolGrey | cozy_cozy-ui | train | js |
30b026f73e7076e45f59427e10713338fb02e4a8 | diff --git a/lib/rest-core/client.rb b/lib/rest-core/client.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-core/client.rb
+++ b/lib/rest-core/client.rb
@@ -136,15 +136,15 @@ module RestCore::Client
def request env
if block_given?
- app_call(env){ |response|
+ request_full(env){ |response|
yi... | client.rb: name it request_full after some more thoughts | godfat_rest-core | train | rb |
129ac775f1934f8f8e51006c12c6f19d8543954e | diff --git a/packages/ipfs-core/src/components/libp2p.js b/packages/ipfs-core/src/components/libp2p.js
index <HASH>..<HASH> 100644
--- a/packages/ipfs-core/src/components/libp2p.js
+++ b/packages/ipfs-core/src/components/libp2p.js
@@ -129,7 +129,10 @@ function getLibp2pOptions ({ options, config, datastore, keychainCon... | fix: onMessage assignment should be undefined not null (#<I>)
Assign according to the type | ipfs_js-ipfs | train | js,js |
a22b72dd4d753e19015cb413747d1e5f99067162 | diff --git a/core/src/main/java/org/togglz/core/user/jaas/JAASUserProvider.java b/core/src/main/java/org/togglz/core/user/jaas/JAASUserProvider.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/togglz/core/user/jaas/JAASUserProvider.java
+++ b/core/src/main/java/org/togglz/core/user/jaas/JAASUserProvider.ja... | Minor API change for JAASUserProvider | togglz_togglz | train | java |
0458fbb1d6c379e650a78ecb29622afb47dbeca9 | diff --git a/app/models/shipit/stack.rb b/app/models/shipit/stack.rb
index <HASH>..<HASH> 100644
--- a/app/models/shipit/stack.rb
+++ b/app/models/shipit/stack.rb
@@ -284,6 +284,8 @@ module Shipit
handle_github_redirections do
Shipit.github_api.commits(github_repo_name, sha: branch)
end
+ resc... | Handle <I> conflict when listing repo commits | Shopify_shipit-engine | train | rb |
27210843c3727be4a4e3e00c853d3365b2e14e44 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -131,7 +131,7 @@ gulp.task('es-lint', function() {
// Concat and uglify js files through babel
gulp.task('js-build', function() {
- return gulp.src(config.src.jsPath + '/framework.js')
+ return gulp.src(confi... | Fixed minified js filename | UCF_Athena-Framework | train | js |
d0711229d6161e3d52c17f3bfe5a5425b9b15457 | diff --git a/lib/assertion/dsl/attributes.rb b/lib/assertion/dsl/attributes.rb
index <HASH>..<HASH> 100644
--- a/lib/assertion/dsl/attributes.rb
+++ b/lib/assertion/dsl/attributes.rb
@@ -39,7 +39,8 @@ module Assertion
def __add_attribute__(name)
__check_attribute__(name)
- attributes << define_... | [BUG FIX] Fix incompatibility to rubies <I>- syntax | nepalez_assertion | train | rb |
4985b461148ea5d916cb44eee17e9a722255ee9e | diff --git a/gwpy/io/ligolw.py b/gwpy/io/ligolw.py
index <HASH>..<HASH> 100644
--- a/gwpy/io/ligolw.py
+++ b/gwpy/io/ligolw.py
@@ -115,6 +115,7 @@ def table_from_file(f, tablename, columns=None, filt=None,
gprint('%d rows remaining\n' % len(out))
if columns is not None:
tableclass.loadcolumns... | io.ligolw: use unlink to promote gc | gwpy_gwpy | train | py |
6ca7b591a9a4c83c84222d1d11bf3f9d1c9adc7a | diff --git a/performanceplatform/collector/__init__.py b/performanceplatform/collector/__init__.py
index <HASH>..<HASH> 100644
--- a/performanceplatform/collector/__init__.py
+++ b/performanceplatform/collector/__init__.py
@@ -2,6 +2,6 @@
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
-_... | Bump to version <I> | alphagov_performanceplatform-collector | train | py |
9069fc1b691ea17c4872c475b9977ca0901b32f9 | diff --git a/src/Rebing/GraphQL/GraphQL.php b/src/Rebing/GraphQL/GraphQL.php
index <HASH>..<HASH> 100644
--- a/src/Rebing/GraphQL/GraphQL.php
+++ b/src/Rebing/GraphQL/GraphQL.php
@@ -3,7 +3,7 @@
use GraphQL\Error\Error;
use Rebing\GraphQL\Error\ValidationError;
use GraphQL\GraphQL as GraphQLBase;
-use GraphQL\Schema... | Do not use calls deprecated upstream (#<I>) | rebing_graphql-laravel | train | php |
a5f25d8be17106d5a6ec70cb6591e879ccd119c9 | diff --git a/src/test/java/com/github/olivergondza/dumpling/factory/ThreadDumpFactoryVendorTest.java b/src/test/java/com/github/olivergondza/dumpling/factory/ThreadDumpFactoryVendorTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/github/olivergondza/dumpling/factory/ThreadDumpFactoryVendorTest.java
+++ b/s... | Retain java 6 compatibility | olivergondza_dumpling | train | java |
0e3aefdbdccbef7aac854ab2920cf95692779714 | diff --git a/web3/__init__.py b/web3/__init__.py
index <HASH>..<HASH> 100644
--- a/web3/__init__.py
+++ b/web3/__init__.py
@@ -45,7 +45,6 @@ __all__ = [
"HTTPProvider",
"IPCProvider",
"WebsocketProvider",
- "TestRPCProvider",
"EthereumTesterProvider",
"Account",
"AsyncHTTPProvider", | Remove old reference to TestRPCProvider | ethereum_web3.py | train | py |
87e976a732988a9469d63ee0a64f65c767ae2993 | diff --git a/opcode.go b/opcode.go
index <HASH>..<HASH> 100644
--- a/opcode.go
+++ b/opcode.go
@@ -653,7 +653,8 @@ func (pop *parsedOpcode) conditional() bool {
func (pop *parsedOpcode) exec(s *Script) error {
// *sigh* bitcoind pretty much mandates that we violate layering here.
// Any opcode that isn't just addi... | Add comment explaining OP_RESERVED behaviour with push ops. | btcsuite_btcd | train | go |
49ea49f25950f4f621ee2a522608090f306ebf00 | diff --git a/app/controllers/tandem/pages_controller.rb b/app/controllers/tandem/pages_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/tandem/pages_controller.rb
+++ b/app/controllers/tandem/pages_controller.rb
@@ -7,7 +7,7 @@ module Tandem
# GET /pages.home.json
def home
@page = Page.w... | [Fixes #<I>] authorize the pages#home action based on if the user can :show instead of :index Page
It makes more sense and allows main app developers the ability to not
allow indexing Page, without also removing access to the home page. | 12spokes_tandem | train | rb |
1ea87ef5bb2b3591deb5cf48d110646936c460d7 | diff --git a/lib/JsonpExportMainTemplatePlugin.js b/lib/JsonpExportMainTemplatePlugin.js
index <HASH>..<HASH> 100644
--- a/lib/JsonpExportMainTemplatePlugin.js
+++ b/lib/JsonpExportMainTemplatePlugin.js
@@ -10,7 +10,7 @@ function JsonpExportMainTemplatePlugin(name) {
module.exports = JsonpExportMainTemplatePlugin;
Js... | Update JsonpExportMainTemplatePlugin.js
Fix:
`TypeError: Object #<JsonpExportMainTemplatePlugin> has no method 'applyPluginsWaterfall'`
This is the same bug as was fixed in <URL> | webpack_webpack | train | js |
1a239e17cb8db5abc664fc4958c4ce44b0ce8305 | diff --git a/instaloader/__init__.py b/instaloader/__init__.py
index <HASH>..<HASH> 100644
--- a/instaloader/__init__.py
+++ b/instaloader/__init__.py
@@ -1,7 +1,7 @@
"""Download pictures (or videos) along with their captions and other metadata from Instagram."""
-__version__ = '4.1b1'
+__version__ = '4.1rc1'
... | First Release Candidate for Version <I> | instaloader_instaloader | train | py |
9cec6cf04b0709eea62a0308bbb7f4ca8a728c69 | diff --git a/pyeda/boolalg/bfarray.py b/pyeda/boolalg/bfarray.py
index <HASH>..<HASH> 100644
--- a/pyeda/boolalg/bfarray.py
+++ b/pyeda/boolalg/bfarray.py
@@ -342,6 +342,16 @@ class farray(object):
else:
return num
+ def zext(self, num):
+ """Return a flat copy of this array, zero-exte... | Add zero and sign extend farray methods | cjdrake_pyeda | train | py |
101bec8b0911288a3aab0ffa6efe5bd9f872fe7e | diff --git a/src/Message/Message.php b/src/Message/Message.php
index <HASH>..<HASH> 100644
--- a/src/Message/Message.php
+++ b/src/Message/Message.php
@@ -126,7 +126,12 @@ class Message implements MessageInterface, \Countable, \ArrayAccess, \Iterator
{
return $this->getMessageData('status', $index);
... | Add getFinalStatus method
The key "status" is not always available in the response and it throws a notice error "Undefined index: status" when calling `$message->getStatus();`
Also added `getFinalStatus()` method | Nexmo_nexmo-php | train | php |
8ed9ef66c7c567651d495f19aaa668ca349047bc | diff --git a/extension/src/Config/SiteConfig.php b/extension/src/Config/SiteConfig.php
index <HASH>..<HASH> 100644
--- a/extension/src/Config/SiteConfig.php
+++ b/extension/src/Config/SiteConfig.php
@@ -134,7 +134,7 @@ class SiteConfig extends ISiteConfig {
}
public function nativeGalleryEnabled(): bool {
- retu... | Allow $wgParsoidSettings to override nativeGallery and thumbsize
This is necessary for running parserTests in integrated mode, which
turns on nativeGallery support and fixes thumbsize at <I> (overriding
the per-user preference set up in core's parser tests runner).
Change-Id: I<I>cd<I>d8fdf<I>f<I>daf8d<I> | wikimedia_parsoid | train | php |
48361010f28605debe070563679d3b2db265daed | diff --git a/lib/arel/engines/sql/formatters.rb b/lib/arel/engines/sql/formatters.rb
index <HASH>..<HASH> 100644
--- a/lib/arel/engines/sql/formatters.rb
+++ b/lib/arel/engines/sql/formatters.rb
@@ -14,15 +14,15 @@ module Arel
end
def quote_column_name name
- engine.connection.quote_column_name n... | ivar lookup is slightly faster | rails_rails | train | rb |
7099f7221a6fa7d70fcb1b310d9ba962da96e324 | diff --git a/src/AbstractSerializer.php b/src/AbstractSerializer.php
index <HASH>..<HASH> 100644
--- a/src/AbstractSerializer.php
+++ b/src/AbstractSerializer.php
@@ -77,7 +77,8 @@ abstract class AbstractSerializer implements SerializerInterface
*
* @return string New function name
*/
- private fu... | code styling: moved bracket to next line | tobscure_json-api | train | php |
bf430d55a37a770d9d3a3ca4ac6f80ad0449f174 | diff --git a/lib/tri/tables/__init__.py b/lib/tri/tables/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/tri/tables/__init__.py
+++ b/lib/tri/tables/__init__.py
@@ -1,13 +1,10 @@
# coding: utf-8
-from django.db.models import QuerySet
-
-__version__ = '0.3.0-dev'
-
from copy import copy
from itertools import groupb... | Fix import that breaks on older django | TriOptima_tri.table | train | py |
1c7d5de51bcdf16ebb21c5a0ebe5fe9e31f9a822 | diff --git a/security/Member.php b/security/Member.php
index <HASH>..<HASH> 100644
--- a/security/Member.php
+++ b/security/Member.php
@@ -465,7 +465,8 @@ class Member extends DataObject implements TemplateGlobalProvider {
$this->NumVisit++;
- if($remember) {
+ // Only set the cookie if autologin is enabled
+ ... | [SS-<I>-<I>] FIX Autologin cookies are ignored if autologin is disabled | silverstripe_silverstripe-framework | train | php |
8999a6f3d13e110506a1df75fa03f557a4e9360d | diff --git a/app/controllers/renalware/medications_controller.rb b/app/controllers/renalware/medications_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/renalware/medications_controller.rb
+++ b/app/controllers/renalware/medications_controller.rb
@@ -12,6 +12,7 @@ module Renalware
redirect_to p... | Added missing notice for medications_controller. | airslie_renalware-core | train | rb |
0ab34e761deb7a61dc10c7cdf0ac058bc0349ffb | diff --git a/src/pfs/fuse/filesystem.go b/src/pfs/fuse/filesystem.go
index <HASH>..<HASH> 100644
--- a/src/pfs/fuse/filesystem.go
+++ b/src/pfs/fuse/filesystem.go
@@ -202,6 +202,9 @@ func (f *file) Write(ctx context.Context, request *fuse.WriteRequest, response *
}
func (d *directory) repoWhitelisted(name string) b... | If no commits are specified show all commits. | pachyderm_pachyderm | train | go |
0502a3b0f20bf4fbd5d446fca0167a80b8ff32ca | diff --git a/pyflakes/checker.py b/pyflakes/checker.py
index <HASH>..<HASH> 100644
--- a/pyflakes/checker.py
+++ b/pyflakes/checker.py
@@ -163,7 +163,8 @@ class ModuleScope(Scope):
pass
-# Globally defined names which are not attributes of the __builtin__ module.
+# Globally defined names which are not attribu... | Adjust the comment about _MAGIC_GLOBALS, explaining that it also papers over cross-platform __builtin__ differences. | PyCQA_pyflakes | train | py |
243c835c24fa59e24365ec6db7a3f317ceedca2e | diff --git a/modules/system/classes/PluginManager.php b/modules/system/classes/PluginManager.php
index <HASH>..<HASH> 100644
--- a/modules/system/classes/PluginManager.php
+++ b/modules/system/classes/PluginManager.php
@@ -39,6 +39,11 @@ class PluginManager
protected $pathMap = [];
/**
+ * @var array A ... | Minor performance improvement for PluginManager.
Suggested by @tobias-kuendig in #<I>, implemented because normalizeIdentifier() would be called more frequently by merging #<I>. | octobercms_october | train | php |
2cfc433c750c0d674765497e0891d8749f29ee8e | diff --git a/java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java b/java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java
+++ b/java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java
@@ -104,18 +1... | DanielWagnerHall: Fixing profile extraction from capabilities
r<I> | SeleniumHQ_selenium | train | java |
e7774bc6d74bdeca533461b2458572328024dcda | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
setup(
name='django-entity',
- version='0.2.2',
+ version='0.2.3',
description='Entity relationship management for Django',
long_description='''
Django... | added jsonfield as a requirement | ambitioninc_django-entity | train | py |
045cec74daa7f4726660402196d6b529019de7f1 | diff --git a/src/bosh-director/lib/bosh/director/vm_deleter.rb b/src/bosh-director/lib/bosh/director/vm_deleter.rb
index <HASH>..<HASH> 100644
--- a/src/bosh-director/lib/bosh/director/vm_deleter.rb
+++ b/src/bosh-director/lib/bosh/director/vm_deleter.rb
@@ -12,15 +12,16 @@ module Bosh::Director
if instance_mode... | Save off vm_cid to avoid garbage collection race condition
[#<I>](<URL>) | cloudfoundry_bosh | train | rb |
84e47b82a51b3a2b0b12f1584739a6b4fa95b05f | diff --git a/examples/with-iron-session/components/Header.js b/examples/with-iron-session/components/Header.js
index <HASH>..<HASH> 100644
--- a/examples/with-iron-session/components/Header.js
+++ b/examples/with-iron-session/components/Header.js
@@ -43,7 +43,10 @@ const Header = () => {
href="/api/l... | docs(examples): with-iron-session logout must be called via POST (#<I>)
1. Logout is better called in a POST request (avoids caching in most situations + avoids weird CSRF "logout attacks", i.e. can't be logged out by clicking on an email link)
2. We should wait for logout to complete before mutating the user, otherwi... | zeit_next.js | train | js |
83a2a69406cead19628e299b0237d8d047311911 | diff --git a/Tests/Functional/AfxServiceTest.php b/Tests/Functional/AfxServiceTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Functional/AfxServiceTest.php
+++ b/Tests/Functional/AfxServiceTest.php
@@ -10,6 +10,28 @@ class AfxServiceTest extends FunctionalTestCase
/**
* @test
*/
+ public function e... | TASK: Verify that empty afx is parsed correctly | neos_fusion-afx | train | php |
1d4b11ed2844d237691f65b7981bd6fce71fd22c | diff --git a/pymbar/pmf.py b/pymbar/pmf.py
index <HASH>..<HASH> 100644
--- a/pymbar/pmf.py
+++ b/pymbar/pmf.py
@@ -768,8 +768,8 @@ class PMF:
kde = KernelDensity() # need to create a new one so won't get refit
# Will take a refactor to get this correct for pylint
... | make black and pylint happy | choderalab_pymbar | train | py |
cd79563837f39dc8590f1c5ed096e873c54127a5 | diff --git a/plugins/provisioners/puppet/provisioner/puppet.rb b/plugins/provisioners/puppet/provisioner/puppet.rb
index <HASH>..<HASH> 100644
--- a/plugins/provisioners/puppet/provisioner/puppet.rb
+++ b/plugins/provisioners/puppet/provisioner/puppet.rb
@@ -48,17 +48,17 @@ module VagrantPlugins
check << g... | #<I> moved chmod up before verify_shared_folders check | hashicorp_vagrant | train | rb |
8950f21f2264a8ac8464e9145b938b686fe53396 | diff --git a/pymc/smc/smc.py b/pymc/smc/smc.py
index <HASH>..<HASH> 100644
--- a/pymc/smc/smc.py
+++ b/pymc/smc/smc.py
@@ -189,7 +189,7 @@ class SMC_KERNEL(ABC):
"""
# Create dictionary that stores original variables shape and size
- initial_point = self.model.initial_point
+ initial_p... | Use model.recompute_initial_point in SMC | pymc-devs_pymc | train | py |
655e377c4524506a062c93b2825579574cbbfccc | diff --git a/grade/report/history/classes/output/tablelog.php b/grade/report/history/classes/output/tablelog.php
index <HASH>..<HASH> 100644
--- a/grade/report/history/classes/output/tablelog.php
+++ b/grade/report/history/classes/output/tablelog.php
@@ -209,6 +209,11 @@ class tablelog extends \table_sql implements \re... | MDL-<I> gradereport_history: Display history even when there is no grader recorded | moodle_moodle | train | php |
c1233679c448b445ec991710d259eec0a9f64b61 | diff --git a/paramiko/transport.py b/paramiko/transport.py
index <HASH>..<HASH> 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -120,10 +120,10 @@ class Transport(threading.Thread, ClosingContextManager):
_preferred_macs = (
'hmac-sha2-256',
'hmac-sha2-512',
+ 'hmac-sha1'... | transport: change order of preferred kex and hmac algorithms
to match the openssh client | paramiko_paramiko | train | py |
f197e4efce39d4dde78c16699241e62ce83ac104 | diff --git a/shell/src/main/java/alluxio/cli/bundler/CollectInfo.java b/shell/src/main/java/alluxio/cli/bundler/CollectInfo.java
index <HASH>..<HASH> 100644
--- a/shell/src/main/java/alluxio/cli/bundler/CollectInfo.java
+++ b/shell/src/main/java/alluxio/cli/bundler/CollectInfo.java
@@ -64,9 +64,10 @@ import java.util.s... | [SMALLFIX] Remove collectInfo redundant printout
When `collectInfo` is printing the help message in `printHelp()` the
output already starts with "usage:". The extra "USAGE:" string is
redundant.
Also add one missing option into the message.
pr-link: Alluxio/alluxio#<I>
change-id: cid-3d<I>dfb3eb<I>d<I>b1aaf<I>cfe<I>... | Alluxio_alluxio | train | java |
7b106fac593371055146b5196332be4184a67e45 | diff --git a/gsh/control_commands_helpers.py b/gsh/control_commands_helpers.py
index <HASH>..<HASH> 100644
--- a/gsh/control_commands_helpers.py
+++ b/gsh/control_commands_helpers.py
@@ -38,16 +38,18 @@ def selected_shells(command):
"""Iterator over the shells with names matching the patterns.
An empty patter... | Gracefully handle an empty dispatchers list | innogames_polysh | train | py |
2b672f94ef03fd37d4bb6f0b6ff2904f1464c91a | diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/fixtures/base_case.py
+++ b/seleniumbase/fixtures/base_case.py
@@ -2122,9 +2122,9 @@ class BaseCase(unittest.TestCase):
if not current_url == self.__last_page_load_url:
... | Update ad-block timing for possible delayed iframes | seleniumbase_SeleniumBase | train | py |
93d11c8e35ffcd969fd881efe1873e715a6ef93b | diff --git a/prometheus/process_collector_procfs.go b/prometheus/process_collector_procfs.go
index <HASH>..<HASH> 100644
--- a/prometheus/process_collector_procfs.go
+++ b/prometheus/process_collector_procfs.go
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations und... | Remove procfs dependency unless cgo is enabled | prometheus_client_golang | train | go,go |
d19650b93cc8c2d0043d41ca341a60b09d87daa8 | diff --git a/clint/utils.py b/clint/utils.py
index <HASH>..<HASH> 100644
--- a/clint/utils.py
+++ b/clint/utils.py
@@ -11,9 +11,29 @@ Various Python helpers used within clint.
from __future__ import absolute_import
from __future__ import with_statement
-import sys
import errno
+import os.path
from os import maked... | add userpath and environ var expansion to expand_path | kennethreitz_clint | train | py |
80583dba307e072c1eb53773c77427f293a59f06 | diff --git a/tests/AuthenticationBot/authentication-bot.js b/tests/AuthenticationBot/authentication-bot.js
index <HASH>..<HASH> 100755
--- a/tests/AuthenticationBot/authentication-bot.js
+++ b/tests/AuthenticationBot/authentication-bot.js
@@ -24,7 +24,7 @@ const puppeteer = require('puppeteer');
}
await pag... | [test] Update login form id | ekapusta_oauth2-esia | train | js |
3b2efb733acdd1bfd58227ecd55a84bf0ec15ad2 | diff --git a/synapse/async.py b/synapse/async.py
index <HASH>..<HASH> 100644
--- a/synapse/async.py
+++ b/synapse/async.py
@@ -199,6 +199,7 @@ class Boss(EventBus):
joblocal['schedevt'] = self.sched.insec(timeout,hitmax)
+ self.fire('job:init', job=job)
return job
def sync(self, ... | added job:init event to Boss | vertexproject_synapse | train | py |
1599a34ef1376d1ecd5504e8d982cb525196a3b9 | diff --git a/lib/misty/auth/auth_v3.rb b/lib/misty/auth/auth_v3.rb
index <HASH>..<HASH> 100644
--- a/lib/misty/auth/auth_v3.rb
+++ b/lib/misty/auth/auth_v3.rb
@@ -33,6 +33,7 @@ module Misty
def scoped_credentials(creds)
creds[:domain] ||= "default"
+ creds[:user_domain] ||= creds[:domain]
{
... | keystonev3 allow to pass user_domain differing auth domain | flystack_misty | train | rb |
32d1b960341da7d8b723aa34093f981feef09ff3 | diff --git a/aeron-agent/src/main/java/io/aeron/agent/EventCode.java b/aeron-agent/src/main/java/io/aeron/agent/EventCode.java
index <HASH>..<HASH> 100644
--- a/aeron-agent/src/main/java/io/aeron/agent/EventCode.java
+++ b/aeron-agent/src/main/java/io/aeron/agent/EventCode.java
@@ -98,7 +98,7 @@ public enum EventCode
... | [Java] Fix off-by-one error in EventCode. | real-logic_aeron | train | java |
856baece7828558800430a06e36cb26607c7b211 | diff --git a/lib/styleguide.rb b/lib/styleguide.rb
index <HASH>..<HASH> 100644
--- a/lib/styleguide.rb
+++ b/lib/styleguide.rb
@@ -1,4 +1,7 @@
require "styleguide/engine"
+require 'haml'
+require 'sass'
+require 'bourbon'
module Styleguide
end | Require Haml, Sass, Bourbon in engine to pass specs | adorableio_woo | train | rb |
e3ec7c1d17976b53b2831ff48db26cc76c211bf2 | diff --git a/source/test/common/test_z_gui_menu_bar.py b/source/test/common/test_z_gui_menu_bar.py
index <HASH>..<HASH> 100644
--- a/source/test/common/test_z_gui_menu_bar.py
+++ b/source/test/common/test_z_gui_menu_bar.py
@@ -166,7 +166,6 @@ def trigger_gui_signals(*args):
assert len(sm_manager_model.state_machin... | remove accidently added line in menu bar test | DLR-RM_RAFCON | train | py |
867829b187969607aa12f2b0457f25da9c204db0 | diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index <HASH>..<HASH> 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1804,10 +1804,10 @@ module ActiveRecord #:nodoc:
# class Article < ActiveRecord::Base
... | Missings do added to with_scope | rails_rails | train | rb |
f694a7c2ff09b1d44dcc62876f4138d88677c3d4 | diff --git a/src/colab/custom_settings.py b/src/colab/custom_settings.py
index <HASH>..<HASH> 100644
--- a/src/colab/custom_settings.py
+++ b/src/colab/custom_settings.py
@@ -96,6 +96,8 @@ CACHES = {
DATABASE_ROUTERS = ['colab.routers.TracRouter',]
INSTALLED_APPS = INSTALLED_APPS + (
+ # First app to provide AU... | Fixing import error and APP order
-Import error of ProxyTracView
-Set accounts app as first as it provides the AUTH_USER_MODEL | colab_colab | train | py,py |
47e69fb9c9b0a2a14ebe8f674ff91dab8d343d2b | diff --git a/lib/profile/index.js b/lib/profile/index.js
index <HASH>..<HASH> 100644
--- a/lib/profile/index.js
+++ b/lib/profile/index.js
@@ -34,10 +34,6 @@ function generate (inputs, opts) {
return -1;
}
- if (inputs.max_iob) {
- profile.max_iob = inputs.max_iob;
- }
-
if (inputs.model)
{
profi... | per @sulkaharo, any value that has a default doesn't need additional code for the inputs to be read in | openaps_oref0 | train | js |
2b54b73b9024d09631491014d7a525f2b93b681c | diff --git a/storage/backend/backend.go b/storage/backend/backend.go
index <HASH>..<HASH> 100644
--- a/storage/backend/backend.go
+++ b/storage/backend/backend.go
@@ -295,6 +295,7 @@ func defragdb(odb, tmpdb *bolt.DB, limit int) error {
return err
}
tmpb = tmptx.Bucket(next)
+ count = 0
}
err... | backend: reset count in defrg | etcd-io_etcd | train | go |
7791d55d2f942d32f921f7fafd9ff72da325bde1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,8 @@ setup(
"*.css",
"img/*.png",
"font/fontawesome/*.ttf",
- "font/opensans/*.ttf"
+ "font/opensans/*.ttf",
+ 'i18n/*.qm'
],
},
... | Add `.qm` file to `setup.py` | pyblish_pyblish-lite | train | py |
d56c2c57fe2ae3381ab1c322f86b3f0adc89108a | diff --git a/lib/openGraphScraper.js b/lib/openGraphScraper.js
index <HASH>..<HASH> 100644
--- a/lib/openGraphScraper.js
+++ b/lib/openGraphScraper.js
@@ -136,6 +136,12 @@ const setOptionsAndReturnOpenGraphResults = async (options) => {
options.headers = options.headers || {};
options.responseType = options.respo... | we should still support if someone is trying to use options.encoding === null | jshemas_openGraphScraper | train | js |
84575c02ac5e4897861e8ad9261056a6ab671b0f | diff --git a/libdokan/fs.go b/libdokan/fs.go
index <HASH>..<HASH> 100644
--- a/libdokan/fs.go
+++ b/libdokan/fs.go
@@ -164,7 +164,6 @@ func (f *FS) GetDiskFreeSpace(ctx context.Context) (freeSpace dokan.FreeSpace, e
_, usageBytes, limitBytes, err := f.quotaUsage.Get(
ctx, quotaUsageStaleTolerance/2, quotaUsageStal... | libdokan: remove extraneous error log
Suggested by songgao.
Issue: #<I> | keybase_client | train | go |
39eda389e196f2b7b8df48953c5628ba5df5a64e | diff --git a/pyxmpp/expdict.py b/pyxmpp/expdict.py
index <HASH>..<HASH> 100644
--- a/pyxmpp/expdict.py
+++ b/pyxmpp/expdict.py
@@ -121,7 +121,7 @@ class ExpiringDictionary(dict):
if timeout<=time.time():
if callback:
try:
- callback(key,self[key])
+ ... | - do not use self[] in _expire_item or infinite recursion may occur | Jajcus_pyxmpp2 | train | py |
cf051204b6bcf6fa2281787bc3ba82c93542106e | diff --git a/CHANGELOG b/CHANGELOG
index <HASH>..<HASH> 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,7 +1,7 @@
Changelog
=========
-0.6 (unreleased)
+0.6 (2014-12-11)
----------------
- FST structure modification: def_argument_tuple is no more and all arguments
diff --git a/docs/conf.py b/docs/conf.py
index <HA... | [enh] release <I> | PyCQA_baron | train | CHANGELOG,py,py |
78b1ea9e4fbbbd43d90b1b478237ec50765da1d2 | diff --git a/src/Api/Subscriptions.php b/src/Api/Subscriptions.php
index <HASH>..<HASH> 100644
--- a/src/Api/Subscriptions.php
+++ b/src/Api/Subscriptions.php
@@ -70,7 +70,7 @@ class Subscriptions extends Api
public function cancel($customerId, $subscriptionId, $atPeriodEnd = false)
{
return $this->_... | Minor tweak on the cancel() method on the Subscriptions request class. | cartalyst_stripe | train | php |
8b0fae1a56b3652450e124d54e2e0800b580178d | diff --git a/lib/texts.js b/lib/texts.js
index <HASH>..<HASH> 100644
--- a/lib/texts.js
+++ b/lib/texts.js
@@ -36,4 +36,7 @@ module.exports = function(inputFormat, outputFormat, options) {
}
return result;
-}
\ No newline at end of file
+}
+
+module.exports.readers = readers;
+module.exports.writers = writers;
... | Added interface for readers/writers | sheremetyev_texts.js | train | js |
f118338c0a095780287a22a85288403b583cbab6 | diff --git a/transforms/module.js b/transforms/module.js
index <HASH>..<HASH> 100644
--- a/transforms/module.js
+++ b/transforms/module.js
@@ -61,7 +61,7 @@ function resolve(fromName, toName) {
if (relative.endsWith('/')) {
relative += 'index';
}
- return relative;
+ return relative + '.js';
}
function... | Add .js extension to import paths | openlayers_openlayers | train | js |
a6bd750792720dfced95564c8c1268e132646352 | diff --git a/src/Payload/Encoder.php b/src/Payload/Encoder.php
index <HASH>..<HASH> 100644
--- a/src/Payload/Encoder.php
+++ b/src/Payload/Encoder.php
@@ -53,7 +53,7 @@ class Encoder extends AbstractPayload
$length = strlen($this->data);
if (0xFFFF < $length) {
- $pack = pack('NN', ($le... | Fix bad binary transformation for <I> in the Encoder | Wisembly_elephant.io | train | php |
a0bbbe206eb1e17d0d9b1878d01bf2b5659cc533 | diff --git a/lib/App/index.js b/lib/App/index.js
index <HASH>..<HASH> 100644
--- a/lib/App/index.js
+++ b/lib/App/index.js
@@ -134,7 +134,9 @@ class App {
// validate sdk v3 apps have compatibility of at least >=5.0.0
if (appJson.sdk === 3) {
- if (!semver.satisfies('5.0.0', appJson.compatibility)) {
+... | revert: semver compatibility check | athombv_node-homey-lib | train | js |
98506d3d30dc4cb74b811dcab02e4a7ef51b1408 | diff --git a/tests/integration/routes/accounts/post-accounts-test.js b/tests/integration/routes/accounts/post-accounts-test.js
index <HASH>..<HASH> 100644
--- a/tests/integration/routes/accounts/post-accounts-test.js
+++ b/tests/integration/routes/accounts/post-accounts-test.js
@@ -107,15 +107,14 @@ getServer(function ... | test(routes): POST /accounts?include=foobar -> <I> | hoodiehq_hoodie-account-server | train | js |
fbb4f10b96fece6b0c8692b91ff5f5e1a369c73a | diff --git a/lib/gcloud/datastore.rb b/lib/gcloud/datastore.rb
index <HASH>..<HASH> 100644
--- a/lib/gcloud/datastore.rb
+++ b/lib/gcloud/datastore.rb
@@ -18,6 +18,8 @@ require "gcloud/datastore/dataset"
require "gcloud/datastore/transaction"
require "gcloud/datastore/credentials"
+##
+# Google Cloud Datastore
mod... | Fix rubocop warnings
It seems newer Rubocop wants documentation in these instances. | googleapis_google-cloud-ruby | train | rb,rb |
eac5d6de4abd8091bd0fa77986443f0182347f7c | diff --git a/dropwizard-client/src/main/java/io/dropwizard/client/HttpClientBuilder.java b/dropwizard-client/src/main/java/io/dropwizard/client/HttpClientBuilder.java
index <HASH>..<HASH> 100644
--- a/dropwizard-client/src/main/java/io/dropwizard/client/HttpClientBuilder.java
+++ b/dropwizard-client/src/main/java/io/dr... | Moved into setStrategiesForClient, and removed potential NPE | dropwizard_dropwizard | train | java |
41f2ef46e9722729fc6600cd8713f4ade2081227 | diff --git a/classes/tests/critical.php b/classes/tests/critical.php
index <HASH>..<HASH> 100644
--- a/classes/tests/critical.php
+++ b/classes/tests/critical.php
@@ -144,10 +144,8 @@ class critical {
}
// find the start of PHP class declaration
- if (strpos($line, 'class') === 0) {
- if (preg_match('#class ... | oldClassConstructors: handle abstract classes | Alexia_php7mar | train | php,php |
c9d7f26e566cb2dddd74bbf85a8367ac549bc197 | diff --git a/src/xopen/__init__.py b/src/xopen/__init__.py
index <HASH>..<HASH> 100644
--- a/src/xopen/__init__.py
+++ b/src/xopen/__init__.py
@@ -254,7 +254,7 @@ class PipedGzipReader(Closing):
self._stderr.close()
def __iter__(self):
- return self._file
+ return self
def __next__(... | Fix: iter() on PipedGzipReader needs to keep it alive
In code like
i = iter(xopen("a.gz"))
the created PipedGzipReader object must be kept alive | marcelm_xopen | train | py,py |
37b37747e6bf83775dc425a0f1ed57370aa73e03 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8950,8 +8950,8 @@ NaN 12.3 33.0
ostrich bird 2 NaN
By default, missing values are not considered, and the mode of wings
- are both 0 an... | DOC: improve description of the example which dataframe has two rows (#<I>)
* fix issue <I>
improve description of the examplewhich dataframe has two rows
* improve description of example
improve description of the example which dataframe has two rows
* improve description of the example describing mode op... | pandas-dev_pandas | train | py |
eaad56ebcd8f154e344f083e78bd327702ac8604 | diff --git a/methods/debug-advice.js b/methods/debug-advice.js
index <HASH>..<HASH> 100644
--- a/methods/debug-advice.js
+++ b/methods/debug-advice.js
@@ -1,20 +1,27 @@
var settings = {
- wait: 1,
- advice: 'long'
+ wait: 0,
+ advice: 'short'
};
// -------
var _ = require('lodash');
+var log = require('../c... | update debug-advice method to not rely on age | askmike_gekko | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.