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 |
|---|---|---|---|---|---|
ae7287b6fdb54af71cbd91e8fa4945a0b5e43358 | diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py
index <HASH>..<HASH> 100644
--- a/tests/test_scheduler.py
+++ b/tests/test_scheduler.py
@@ -1,4 +1,8 @@
from datetime import datetime, timedelta
+import os
+import signal
+import time
+from threading import Thread
from rq import Queue, Worker
from rq.j... | New test: Check correct signal handling in Scheduler.run() | rq_rq-scheduler | train | py |
1a8f798f7a5f4aa403d79374d267979c3f71f07e | diff --git a/liveandletdie/__init__.py b/liveandletdie/__init__.py
index <HASH>..<HASH> 100644
--- a/liveandletdie/__init__.py
+++ b/liveandletdie/__init__.py
@@ -281,6 +281,7 @@ class Base(object):
if self.process:
self.process.kill()
self.process.wait()
+ port_in_use(self... | The die() method now ensures with port_in_use() that the process doesn't live anymore. | authomatic_liveandletdie | train | py |
2fa5abab3a5804e1b77d92abe691b02483d056c0 | diff --git a/tests/python/pants_test/process/test_lock.py b/tests/python/pants_test/process/test_lock.py
index <HASH>..<HASH> 100644
--- a/tests/python/pants_test/process/test_lock.py
+++ b/tests/python/pants_test/process/test_lock.py
@@ -55,7 +55,7 @@ class TestOwnerPrintingInterProcessFileLock(unittest.TestCase):
... | Python 3 fixes - fix process test byte issue (#<I>) | pantsbuild_pants | train | py |
e661cbbcf7387fd1a025eda31511718ba7384262 | diff --git a/lib/sendwithus_ruby_action_mailer/mail_params.rb b/lib/sendwithus_ruby_action_mailer/mail_params.rb
index <HASH>..<HASH> 100644
--- a/lib/sendwithus_ruby_action_mailer/mail_params.rb
+++ b/lib/sendwithus_ruby_action_mailer/mail_params.rb
@@ -8,6 +8,8 @@ module SendWithUsMailer
@email_data = {}
... | Add basic support for CC and BCC | sendwithus_sendwithus_ruby_action_mailer | train | rb |
0d3a4f5d5f5928b0908e5edaefa0e023fe795424 | diff --git a/client/actionheroClient.js b/client/actionheroClient.js
index <HASH>..<HASH> 100644
--- a/client/actionheroClient.js
+++ b/client/actionheroClient.js
@@ -166,17 +166,17 @@ ActionheroClient.prototype.actionWeb = function (params, callback) {
}
};
- var method = typeof params == "object" ? "POST" ... | Fixed string quotes to fit style of rest of code. | actionhero_actionhero | train | js |
dadd1711a617000b70e5e408a76531b73187031c | diff --git a/csrf.go b/csrf.go
index <HASH>..<HASH> 100644
--- a/csrf.go
+++ b/csrf.go
@@ -222,7 +222,7 @@ func Generate(options ...Options) macaron.Handler {
// FIXME: actionId.
x.Token = GenerateToken(x.Secret, x.ID, "POST")
if opt.SetCookie {
- ctx.SetCookie(opt.Cookie, x.Token, 0, opt.CookiePath, "",... | Support secure mode for csrf cookie (#7)
Options struct has Secure flag for csrf cookie, but it's just ignored
and corresponding argument of SetCookie() is hardcodded to false.
This pass Options.Secure to SetCookie in csrf.Generate() | go-macaron_csrf | train | go |
28edd77fb744b3927384012ff6aa5a2671f39571 | diff --git a/phpfastcache/3.0.0/drivers/files.php b/phpfastcache/3.0.0/drivers/files.php
index <HASH>..<HASH> 100644
--- a/phpfastcache/3.0.0/drivers/files.php
+++ b/phpfastcache/3.0.0/drivers/files.php
@@ -162,7 +162,9 @@ class phpfastcache_files extends BasePhpFastCache implements phpfastcache_drive
... | PHP <I> fix for improved stats function for files driver | PHPSocialNetwork_phpfastcache | train | php |
6eb692199510aad93f18039d2ee816ab2684f77c | diff --git a/indexbuilder.go b/indexbuilder.go
index <HASH>..<HASH> 100644
--- a/indexbuilder.go
+++ b/indexbuilder.go
@@ -341,6 +341,9 @@ func (b *IndexBuilder) Add(doc Document) error {
if doc.SkipReason != "" {
doc.Content = []byte(notIndexedMarker + doc.SkipReason)
doc.Symbols = nil
+ if doc.Language == ""... | Set Language to "skipped" for skipped files.
Change-Id: I1f<I>be<I>c<I>f2ecaed<I> | google_zoekt | train | go |
9013843e8a5d925ce2eaca5af4214fac962ff597 | diff --git a/pyiso.py b/pyiso.py
index <HASH>..<HASH> 100644
--- a/pyiso.py
+++ b/pyiso.py
@@ -848,8 +848,9 @@ class DirectoryRecord(object):
# the cdfp, but this is a gross layering violation.
if len(record[record_offset:]) > 0:
self.rock_ridge = RockRidge()
+ ... | Clean up code a little bit. | clalancette_pycdlib | train | py |
9e3716026c7e4b1bfaa87ac0982f5e2e3c952b1b | diff --git a/lib/fog/openstack.rb b/lib/fog/openstack.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/openstack.rb
+++ b/lib/fog/openstack.rb
@@ -92,7 +92,7 @@ module Fog
'auth' => {
'passwordCredentials' => {
'username' => @openstack_username,
- 'password' => @openstac... | [openstack] Ensure password sent is of type string | fog_fog | train | rb |
5e97199b3f93fab1ba7875847cb3d1c299709c57 | diff --git a/src/write.js b/src/write.js
index <HASH>..<HASH> 100644
--- a/src/write.js
+++ b/src/write.js
@@ -19,7 +19,7 @@ var utils = require('./utils'),
function write(destPath, options) {
var debug = require('debug-fabulous')()(PLUGIN_NAME + ':write');
- if (options === undefined && Object.prototype.toStrin... | jshint ignores and destPath type checking on write | gulp-sourcemaps_gulp-sourcemaps | train | js |
05af57d3ed11984fe26d7735ca6b00ca873d2554 | 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
@@ -1,5 +1,4 @@
-from django.contrib.auth import get_user_model
-from django.contrib.auth.signals import user_logged_in
+from django.contrib.auth imp... | Add request to user_logged_in signal call | incuna_django-user-management | train | py |
c617a94ed0039b07d003f31114d7dba8bc092b1a | diff --git a/test/_utils.js b/test/_utils.js
index <HASH>..<HASH> 100644
--- a/test/_utils.js
+++ b/test/_utils.js
@@ -132,9 +132,14 @@ function loaderRule(opts) {
module.exports.loaderRule = loaderRule;
function extractCSSRule() {
+ // webpack 1 compat
+ const use = webpack1 ?
+ ExtractPlugin.extract('css-loa... | Update test utils to be compat with webpack 1 | kisenka_svg-sprite-loader | train | js |
12a0d334302600d77c99b8e6141d12bd9fc48c1b | diff --git a/source/assets/javascripts/core.js b/source/assets/javascripts/core.js
index <HASH>..<HASH> 100644
--- a/source/assets/javascripts/core.js
+++ b/source/assets/javascripts/core.js
@@ -1,6 +1,4 @@
$(document).ready(function() {
- $('.print-link a').attr('target', '_blank');
-
// fix for printing bug in W... | Remove print-link JS. There aren't any print links in the template | alphagov_govuk_template | train | js |
113d34c83bc1bec190e1cf01b8daf8c6d234e84b | diff --git a/packages/micro-journeys/src/connection.js b/packages/micro-journeys/src/connection.js
index <HASH>..<HASH> 100644
--- a/packages/micro-journeys/src/connection.js
+++ b/packages/micro-journeys/src/connection.js
@@ -28,6 +28,10 @@ class BoltConnection extends withLitContext() {
return ['theme'];
}
... | fix: update connection band to re-trigger an update when the context changes | bolt-design-system_bolt | train | js |
831b8340fc4912aca4efecd3e4acfc78615d517a | diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -294,7 +294,7 @@ server.setUpEvents = function(req, res) {
req.prerender.numRequestsInFlight--;
req.prerender.lastRequestReceivedAt = new Date().getTime();
- if (this.options.logRequests) ... | remove chrome requestID from logging info | prerender_prerender | train | js |
0a7c3ba271cba8d9c63f7f8611f5ba7c41e8a485 | diff --git a/source/ingress_test.go b/source/ingress_test.go
index <HASH>..<HASH> 100644
--- a/source/ingress_test.go
+++ b/source/ingress_test.go
@@ -57,11 +57,11 @@ func (suite *IngressSuite) SetupTest() {
suite.NoError(err, "should initialize ingress source")
suite.fooWithTargets = (fakeIngress{
- name: ... | minor format change to make travis linter happy | kubernetes-incubator_external-dns | train | go |
c4391cabb6417a41b2e74761545abfd972e590ec | diff --git a/redash_client/client.py b/redash_client/client.py
index <HASH>..<HASH> 100644
--- a/redash_client/client.py
+++ b/redash_client/client.py
@@ -4,8 +4,13 @@ import logging
import requests
from slugify import slugify
-from urlparse import urljoin
-from urllib import urlencode
+# Taking into account differ... | URL parsing libraries are different for python 2.* vs 3.* | mozilla_redash_client | train | py |
52fbe0bc16f18a12533d31aeca1a19022a2acbec | diff --git a/src/cli.js b/src/cli.js
index <HASH>..<HASH> 100755
--- a/src/cli.js
+++ b/src/cli.js
@@ -32,7 +32,10 @@ const cli = createCli(`
$ np 1.0.2-beta.3 --tag=beta
`);
-/* istanbul ignore next */
+
+/**
+ *
+ */
async function runProgram() {
try {
const taskRunner = await getTaskRunner(cli.input... | extra: Remove `istanbul` comment from CLI | SimonDegraeve_terbit | train | js |
72315405457a8a598d75999ce99ae372fe559f2b | diff --git a/tests/index.js b/tests/index.js
index <HASH>..<HASH> 100644
--- a/tests/index.js
+++ b/tests/index.js
@@ -274,7 +274,11 @@ describe( 'rollup-plugin-babel-minify', () => {
sourcemap: false
} ) );
} ).then( ( result ) => {
- expect( result.map ).to.equal( null );
+ // It seems that Rollup ten... | test(sourcemap): broaden conditional for not-generated sourcemap | Comandeer_rollup-plugin-babel-minify | train | js |
374fed842b1e655402d6c6e459599ab7b29c74cc | diff --git a/dht.go b/dht.go
index <HASH>..<HASH> 100644
--- a/dht.go
+++ b/dht.go
@@ -980,13 +980,11 @@ func bootstrapAddrs(nodeAddrs []string) (addrs []*net.UDPAddr, err error) {
}
}
for _, addrStr := range bootstrapNodes {
- if addrStr != "" {
- udpAddr, err := net.ResolveUDPAddr("udp4", addrStr)
- if er... | Removed summary flag. Modified fileToMmap function
This commit also reverts the ugly hack in dht.go which was checking for
empty bootstrap node string. | anacrolix_dht | train | go |
9a33aa7c33f053049f1fe9d86feb9b77d050edfd | diff --git a/CyrillicToTranslit.js b/CyrillicToTranslit.js
index <HASH>..<HASH> 100644
--- a/CyrillicToTranslit.js
+++ b/CyrillicToTranslit.js
@@ -76,6 +76,7 @@ module.exports = function cyrillicToTranslit(config) {
let newStr = "";
for (let i = 0; i < input.length; i++) {
+ const isUpperCaseOrWhatever... | Preserve string case after translit | greybax_cyrillic-to-translit-js | train | js |
81f658d5160a49fc9a24fcb4f6632dad78c7c8da | diff --git a/src/components/local-store-provider/local-store-provider.spec.js b/src/components/local-store-provider/local-store-provider.spec.js
index <HASH>..<HASH> 100644
--- a/src/components/local-store-provider/local-store-provider.spec.js
+++ b/src/components/local-store-provider/local-store-provider.spec.js
@@ -2... | test(app-shell/local-store-provider): fix tests | commercetools_merchant-center-application-kit | train | js |
b7730b5c203fa6b7e4e2ea6099f4cd7447002072 | diff --git a/guake/terminal.py b/guake/terminal.py
index <HASH>..<HASH> 100644
--- a/guake/terminal.py
+++ b/guake/terminal.py
@@ -170,11 +170,11 @@ class GuakeTerminal(Vte.Terminal):
"""
try:
for expr in TERMINAL_MATCH_EXPRS:
- tag = self.match_add_regex(Vte.Regex.new_for_... | updated usage of Vte.Regex.new_for_match to use correct fn signature | Guake_guake | train | py |
26bd30ab2ef652606bfab40889c0e395a8f60e66 | diff --git a/examples/scripts/initd.rb b/examples/scripts/initd.rb
index <HASH>..<HASH> 100755
--- a/examples/scripts/initd.rb
+++ b/examples/scripts/initd.rb
@@ -162,7 +162,7 @@ class Application
# Run the before :stop callback
run_callback(:stop, :before)
- puts rvm_execute(self.config, "passenger ... | Use correct PID file for stopping too | DigitPaint_Deployable | train | rb |
37d749ca79dd4483ac12c270bfcbfd6b22ed3848 | diff --git a/java/server/src/org/openqa/selenium/grid/commands/Standalone.java b/java/server/src/org/openqa/selenium/grid/commands/Standalone.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/selenium/grid/commands/Standalone.java
+++ b/java/server/src/org/openqa/selenium/grid/commands/Standalone.java
@... | [grid] Throwing a more specific exception to show the essence of the problem | SeleniumHQ_selenium | train | java |
9257ed726d772ca723deb6c46d2057eddcfef253 | diff --git a/core/ast/src/main/java/org/overture/ast/intf/lex/ILexLocation.java b/core/ast/src/main/java/org/overture/ast/intf/lex/ILexLocation.java
index <HASH>..<HASH> 100644
--- a/core/ast/src/main/java/org/overture/ast/intf/lex/ILexLocation.java
+++ b/core/ast/src/main/java/org/overture/ast/intf/lex/ILexLocation.ja... | removed static field from interface. It was unused. | overturetool_overture | train | java |
a52c448ea2d88ec931c3402f540d33a42ec92abe | diff --git a/lib/reek/source/source_locator.rb b/lib/reek/source/source_locator.rb
index <HASH>..<HASH> 100644
--- a/lib/reek/source/source_locator.rb
+++ b/lib/reek/source/source_locator.rb
@@ -19,7 +19,7 @@ module Reek
def all_ruby_source_files(paths)
paths.map do |path|
- if test 'd', path... | fix the test method call to pass integer over string | troessner_reek | train | rb |
5a0c26c0a3006f952670434298ba6e73fe2e1d56 | diff --git a/lib/View.php b/lib/View.php
index <HASH>..<HASH> 100644
--- a/lib/View.php
+++ b/lib/View.php
@@ -13,7 +13,7 @@ namespace Wei;
*
* @author Twin Huang <twinhuang@qq.com>
*/
-class View extends Base implements \ArrayAccess, \Countable, \IteratorAggregate
+class View extends Base implements \Ar... | removed getIterator and count method for view service | twinh_wei | train | php |
0150e2e12863a097b1197a1655006a3ccd0651d3 | diff --git a/easymode/tree/admin/formsets.py b/easymode/tree/admin/formsets.py
index <HASH>..<HASH> 100644
--- a/easymode/tree/admin/formsets.py
+++ b/easymode/tree/admin/formsets.py
@@ -7,7 +7,7 @@ from django.forms import IntegerField
from django.forms.formsets import BaseFormSet
from django.utils.translation impor... | fixed some bugs pylint found | specialunderwear_django-easymode | train | py |
5504fa48cb10264e2436dac6d157ed2521888dae | diff --git a/packages/core/parcel-bundler/test/html.js b/packages/core/parcel-bundler/test/html.js
index <HASH>..<HASH> 100644
--- a/packages/core/parcel-bundler/test/html.js
+++ b/packages/core/parcel-bundler/test/html.js
@@ -1,6 +1,7 @@
const assert = require('assert');
const fs = require('fs');
const {bundle, ass... | Fix failing appveyor test (#<I>)
Fixes a failing appveyor html test | parcel-bundler_parcel | train | js |
bb773160ace96b20028580432f38ee128d3ee94b | diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -150,14 +150,10 @@ class Parser extends HTTPParser {
process.nextTick(callback, err, null)
}
}
- client[kQueue].splice(0, client[kInflight])
+ client[kQueue].splice(0, client[kInf... | refactor: splice in retry | mcollina_undici | train | js |
9b8a6e890ad65b0e99eb0d0b03b6648a7bb738bd | diff --git a/equals_test.go b/equals_test.go
index <HASH>..<HASH> 100644
--- a/equals_test.go
+++ b/equals_test.go
@@ -3669,7 +3669,7 @@ func TestFunctions(t *testing.T) {
matcher := Equals(func1)
desc := matcher.Description()
- expectedDesc := "TODO"
+ expectedDesc := fmt.Sprintf("%v", func1)
if desc != expe... | Resolved a TODO. | jacobsa_oglematchers | train | go |
364357df3e56b16d8681edf961b1fd7863163370 | diff --git a/opentrons/robot/robot.py b/opentrons/robot/robot.py
index <HASH>..<HASH> 100644
--- a/opentrons/robot/robot.py
+++ b/opentrons/robot/robot.py
@@ -58,7 +58,8 @@ class Robot(object, metaclass=Singleton):
<opentrons.robot.robot.Robot object at ...>
>>> plate = containers.load('96-flat', 'A1', 'plate... | fixed docstrings test in Robot class | Opentrons_opentrons | train | py |
59ec8f3844da5827c62db5d911f506bf646b96a5 | diff --git a/httpfile/httpfile.go b/httpfile/httpfile.go
index <HASH>..<HASH> 100644
--- a/httpfile/httpfile.go
+++ b/httpfile/httpfile.go
@@ -563,6 +563,8 @@ func shouldRetry(err error) bool {
return true
}
} else if urlError, ok := err.(*url.Error); ok {
+ // examples: "dial tcp: [...] on port 53: server mi... | Retry on read tcp | itchio_httpkit | train | go |
82ebd8ef1a86f3e551cc59b822aa7ff267143880 | diff --git a/ocrmypdf/__main__.py b/ocrmypdf/__main__.py
index <HASH>..<HASH> 100755
--- a/ocrmypdf/__main__.py
+++ b/ocrmypdf/__main__.py
@@ -332,6 +332,11 @@ def check_options_output(options, log):
else:
options.pdf_renderer = 'hocr'
+ if options.pdf_renderer == 'sandwich' and not tesseract... | Fix missing error message about trying to use sandwich on old tesseract | jbarlow83_OCRmyPDF | train | py |
eea8f30c955b04fa4df740609510a8ecccad796f | diff --git a/src/Input.php b/src/Input.php
index <HASH>..<HASH> 100644
--- a/src/Input.php
+++ b/src/Input.php
@@ -107,17 +107,6 @@ class Input
}
/**
- * Retrieves request variables. This includes all variables passed through
- * POST and GET as well as COOKIES.
- * @param string $key
- ... | Getting rid of request as it is not implemented in PHP yet | ntentan_utils | train | php |
a070f3aa764dd70f1ed7d69b8e115f514cb7da76 | diff --git a/src/main/java/software/coolstuff/springframework/owncloud/service/impl/rest/AbstractOwncloudRestServiceImpl.java b/src/main/java/software/coolstuff/springframework/owncloud/service/impl/rest/AbstractOwncloudRestServiceImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/software/coolstuff/springframew... | remove final because it disturbs a CGLIB-Proxy | coolstuffsoftware_owncloud-spring-boot-starter | train | java |
10d39188990ad16388fd044a716411d6d50a3db1 | diff --git a/tests/test_db.py b/tests/test_db.py
index <HASH>..<HASH> 100644
--- a/tests/test_db.py
+++ b/tests/test_db.py
@@ -145,6 +145,8 @@ class TestUDAs(ConfigTest):
u'uda.githubbody.label=Github Body',
u'uda.githubrepo.type=string',
u'uda.githubrepo.label=Github Repo Slug',
... | Update the db test with a change from another PR.
This one got introduced in #<I>. | ralphbean_bugwarrior | train | py |
1cd5aaddae61412a394d0af374bbe84eac77d189 | diff --git a/lib/remi/transform.rb b/lib/remi/transform.rb
index <HASH>..<HASH> 100644
--- a/lib/remi/transform.rb
+++ b/lib/remi/transform.rb
@@ -145,7 +145,7 @@ module Remi
def validate_email(substitute='')
memoize_as_lambda(__method__, substitute) do |(msubstitute), larg|
- larg.match(/^.+@[a-z0... | FIX - Email validator needs to be more strict to load to SF | inside-track_remi | train | rb |
0c7975493965df0ffd31840ee9dc9972c0f06005 | diff --git a/tests/core_tests.py b/tests/core_tests.py
index <HASH>..<HASH> 100644
--- a/tests/core_tests.py
+++ b/tests/core_tests.py
@@ -334,7 +334,7 @@ class TestElasticCore(unittest.TestCase):
self.assertTrue(insert_result['ok'])
# Flush the index after adding the new item to ensure the mapping ... | Changed unit tests to use _refresh instead of _flush after verifying inserted records. _flush was causing timeouts in somse cases | humangeo_rawes | train | py |
ad2ce67757e0b90558130ff01c6a032a2ea53274 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ with open("README.rst") as f:
VERSION = versioneer.get_version()
CMDCLASS = versioneer.get_cmdclass()
CLASSIFIERS = [
- "Development Status :: 3 - Alpha",
+ "Development Status :: 5 - Production/Stable"... | Change setup.py development status flag to stable (#<I>)
We left it flagged as "alpha" but Pooch has been stable and production
ready for a while now. | fatiando_pooch | train | py |
f244a52a7a64cb83468ab73baf7c34020b675033 | diff --git a/pygame_vkeyboard/vkeyboard.py b/pygame_vkeyboard/vkeyboard.py
index <HASH>..<HASH> 100644
--- a/pygame_vkeyboard/vkeyboard.py
+++ b/pygame_vkeyboard/vkeyboard.py
@@ -81,8 +81,10 @@ class VKeyboardRenderer(object):
:param key: Target key to be drawn.
"""
pygame.draw.rect(surface, ... | Finalizes key text centering. | Faylixe_pygame_vkeyboard | train | py |
716ead88f4d45928b1902aa0e2fc768dc6f301c9 | diff --git a/spyderlib/__init__.py b/spyderlib/__init__.py
index <HASH>..<HASH> 100644
--- a/spyderlib/__init__.py
+++ b/spyderlib/__init__.py
@@ -27,7 +27,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
-__version__ = '2.4.0dev'
+__version__ = '3.0.0dev'
__li... | Change version to <I> for our next release
This will give us more freedom to break with our current code layout
(and possibly solve issue #<I>) | spyder-ide_spyder | train | py |
07f4f49c07c001aaf4a38a3c36cc2d1e59b8558f | diff --git a/lib/salt/site.rb b/lib/salt/site.rb
index <HASH>..<HASH> 100644
--- a/lib/salt/site.rb
+++ b/lib/salt/site.rb
@@ -164,7 +164,7 @@ module Salt
end
if @settings[:make_feed]
- generate_feed(@output_paths[:site], {posts: @posts[0..@settings[:posts_per_page]]})
+ generate_feed(@out... | Oh right, zero indexes. Also, don't put every post into the category feeds. | waferbaby_dimples | train | rb |
90aeb804ab7d11f64f6a9fadb154c96656ae43e4 | diff --git a/src/Model/RestApiModel.php b/src/Model/RestApiModel.php
index <HASH>..<HASH> 100755
--- a/src/Model/RestApiModel.php
+++ b/src/Model/RestApiModel.php
@@ -32,8 +32,17 @@ class RestApiModel
*/
protected $apiClient;
+ /**
+ * The raw response json
+ *
+ * @var array
+ */
+ p... | RestApiModel now provides access to raw response data | zulucrypto_stellar-api | train | php |
e4a237d759541720f6aa8082605a2aa314df28ec | diff --git a/tests/unit/CommentTest.php b/tests/unit/CommentTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/CommentTest.php
+++ b/tests/unit/CommentTest.php
@@ -103,7 +103,7 @@ class CommentTest extends TestCase
];
}
- public function getParams()
+ private function getParams()
{
... | corrected method visiblity in commentTest | laravel-enso_CommentsManager | train | php |
8ec1d0dc06f8ef5edc8bd6d9cc538e788be54a5e | diff --git a/pyinfra/facts/server.py b/pyinfra/facts/server.py
index <HASH>..<HASH> 100644
--- a/pyinfra/facts/server.py
+++ b/pyinfra/facts/server.py
@@ -356,11 +356,11 @@ class Users(FactBase):
command = '''
for i in `cat /etc/passwd | cut -d: -f1`; do
- ID=`id $i`
- META=`cat /e... | Include semicolons in users fact command. | Fizzadar_pyinfra | train | py |
75d44c25cbd8fc1a0f4e656cdd78e12c5134acd8 | diff --git a/vendor/plugins/alchemy/assets/javascripts/alchemy.js b/vendor/plugins/alchemy/assets/javascripts/alchemy.js
index <HASH>..<HASH> 100644
--- a/vendor/plugins/alchemy/assets/javascripts/alchemy.js
+++ b/vendor/plugins/alchemy/assets/javascripts/alchemy.js
@@ -51,7 +51,6 @@ function openElementsWindow (page_i... | no maxsize for elkement window | AlchemyCMS_alchemy_cms | train | js |
61fd71feab6c919f7b0f74f73e42369d5dfd9d15 | diff --git a/azurerm/helpers/azure/hdinsight.go b/azurerm/helpers/azure/hdinsight.go
index <HASH>..<HASH> 100644
--- a/azurerm/helpers/azure/hdinsight.go
+++ b/azurerm/helpers/azure/hdinsight.go
@@ -211,14 +211,12 @@ func ExpandHDInsightsStorageAccounts(input []interface{}) (*[]hdinsight.StorageA
}
type HDInsightNo... | r/hdinsight: removing irrelevant todo's | terraform-providers_terraform-provider-azurerm | train | go |
8da0bffcf259d89584dc8039f2c9b2e52c3d05de | diff --git a/lib/right_http_connection.rb b/lib/right_http_connection.rb
index <HASH>..<HASH> 100644
--- a/lib/right_http_connection.rb
+++ b/lib/right_http_connection.rb
@@ -523,6 +523,7 @@ them.
# We will be retrying the request, so reset the file pointer
reset_fileptr_offset(request, mypos)
+... | acu<I> - plan c since the first two failed | rightscale_right_http_connection | train | rb |
ff9c56d1dd6b512e452982e24bfa36366ef0c72b | diff --git a/diagram.py b/diagram.py
index <HASH>..<HASH> 100644
--- a/diagram.py
+++ b/diagram.py
@@ -601,7 +601,7 @@ class AxisGraph(Graph):
def render(self, stream):
"""Render graph to stream."""
- encoding = self.option.encoding or self.term.encoding
+ encoding = self.option.encoding o... | Update diagram.py (#<I>) | tehmaze_diagram | train | py |
773a941b0a18ed3cfc443f116226c25895a30c50 | diff --git a/worker/buildbot_worker/scripts/runner.py b/worker/buildbot_worker/scripts/runner.py
index <HASH>..<HASH> 100644
--- a/worker/buildbot_worker/scripts/runner.py
+++ b/worker/buildbot_worker/scripts/runner.py
@@ -21,10 +21,15 @@ import re
import sys
import textwrap
+from twisted.logger import ILogObserver... | configure logging for buildbot-worker runner
As alternative we can revert changes from 4d<I>e6 commit by @jvlomax
(in buildbot-worker copy).
By default Twisted log is not written anywhere so we don't see any
errors from buildbot-worker invocations, e.g.
```
$ buildbot-worker create-worker w
$ echo $?
1
$
``` | buildbot_buildbot | train | py |
b1a532ae91475d71642a35865a825167138ab17c | diff --git a/nni/common/version.py b/nni/common/version.py
index <HASH>..<HASH> 100644
--- a/nni/common/version.py
+++ b/nni/common/version.py
@@ -25,21 +25,21 @@ try:
import torch
TORCH_VERSION = _minor_version_tuple(torch.__version__)
except ImportError:
- logging.getLogger(__name__).info("PyTorch is no... | [Common] change version utils log level (#<I>) | Microsoft_nni | train | py |
6fb7e0a0da60576e44a2d3c9d3e833c841ed9e62 | diff --git a/build/generate-icons.js b/build/generate-icons.js
index <HASH>..<HASH> 100644
--- a/build/generate-icons.js
+++ b/build/generate-icons.js
@@ -48,7 +48,13 @@ let fileCount = 0;
clone(
'https://github.com/google/material-design-icons.git',
MATERIAL_ICONS_REPO_PATH,
- {},
+ {
+ // This ensures a s... | Ensure the git clone of the icons repository is a specific SHA | jamesplease_materialish | train | js |
b254cdbf72280659c629b8d7c8d521429bbc52a8 | diff --git a/pkg/endpoint/policy.go b/pkg/endpoint/policy.go
index <HASH>..<HASH> 100644
--- a/pkg/endpoint/policy.go
+++ b/pkg/endpoint/policy.go
@@ -317,6 +317,14 @@ func (e *Endpoint) computeDesiredL3PolicyMapEntries(repo *policy.Repository, des
ingressPolicyEnabled := e.ingressPolicyEnabled
egressPolicyEnabled ... | endpoint: log when allow-all is being synthesized
Log when we are synthesizing an allow-all for PolicyMap insertion for debugging
purposes. | cilium_cilium | train | go |
f1ec6a630caad659020e5ab8148f2389ef489185 | diff --git a/blocks/tag_flickr/block_tag_flickr.php b/blocks/tag_flickr/block_tag_flickr.php
index <HASH>..<HASH> 100644
--- a/blocks/tag_flickr/block_tag_flickr.php
+++ b/blocks/tag_flickr/block_tag_flickr.php
@@ -47,7 +47,10 @@ class block_tag_flickr extends block_base {
}
if (empty($tagobject)) {... | flickr and youtube blocks: don't call print_error!
That screws up the entire page the block appears on, when this is just an error local to this block. | moodle_moodle | train | php,php |
0a4020bdf4f90a79d060570095109878774b1724 | diff --git a/molgenis-omx-protocolviewer/src/main/resources/js/protocolviewer.js b/molgenis-omx-protocolviewer/src/main/resources/js/protocolviewer.js
index <HASH>..<HASH> 100644
--- a/molgenis-omx-protocolviewer/src/main/resources/js/protocolviewer.js
+++ b/molgenis-omx-protocolviewer/src/main/resources/js/protocolvie... | removed the old function and replaced with new code | molgenis_molgenis | train | js |
cb1c05fddebbb1683fc89a743496811f25d31a14 | diff --git a/lib/watch/js.js b/lib/watch/js.js
index <HASH>..<HASH> 100644
--- a/lib/watch/js.js
+++ b/lib/watch/js.js
@@ -39,6 +39,9 @@ function scriptParsed(script) {
script.path = pathname
watch(js ? js.watch : localPath, file => {
+ if (!config.run)
+ return run(file)
+
const notification = ui.... | Allow js to do full refresh without hot reload | porsager_wright | train | js |
037e4f8d945896112d76ff5fd7c7411d885d3db5 | diff --git a/scripts/utils/mergeWebpackConfigVueCLI.js b/scripts/utils/mergeWebpackConfigVueCLI.js
index <HASH>..<HASH> 100644
--- a/scripts/utils/mergeWebpackConfigVueCLI.js
+++ b/scripts/utils/mergeWebpackConfigVueCLI.js
@@ -31,7 +31,7 @@ module.exports = function mergeWebpackConfigVueCLI(baseConfig, userConfig, env)... | fix: if using cli and using rules with use as a table | vue-styleguidist_vue-styleguidist | train | js |
967f9a5290cbda17dd08c3a62a80271e31c73829 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,9 +19,13 @@
#
import os
import sys
+from unittest import mock
sys.path.insert(0, os.path.abspath('..'))
+# Ignore modules that can't be imported due to missing low-level libraries
+sys.modules['soun... | Fix readthedocs build fail due to missing dependencies | ynop_audiomate | train | py |
8b045fd363e536affd7acfa27fefa5c3889588d3 | diff --git a/lib/searchlogic/named_scopes/association_conditions.rb b/lib/searchlogic/named_scopes/association_conditions.rb
index <HASH>..<HASH> 100644
--- a/lib/searchlogic/named_scopes/association_conditions.rb
+++ b/lib/searchlogic/named_scopes/association_conditions.rb
@@ -62,7 +62,7 @@ module Searchlogic
... | remove arity == 0 check so that chained scopes aren't cached (<URL>) | binarylogic_searchlogic | train | rb |
782f74a6082113cfdf74220af92eaa3694bf179d | diff --git a/xtuml/__init__.py b/xtuml/__init__.py
index <HASH>..<HASH> 100644
--- a/xtuml/__init__.py
+++ b/xtuml/__init__.py
@@ -13,6 +13,7 @@ from .persist import persist_schema
from .persist import serialize_schema
from .persist import serialize_class
+from .persist import serialize_association
from .persist i... | xtuml: expose serialize_association to user | xtuml_pyxtuml | train | py |
28fa0aea1ff179d3cf297cbc01a089d60c83e108 | diff --git a/widgets/pagination.js b/widgets/pagination.js
index <HASH>..<HASH> 100644
--- a/widgets/pagination.js
+++ b/widgets/pagination.js
@@ -2,7 +2,7 @@ var React = require('react');
var utils = require('../lib/utils.js');
-function pagination({container, cssClass, labels, maxPages} = {}) {
+function paginat... | fix(pagination): missing showFirstLast attribute when instanciating | algolia_instantsearch.js | train | js |
70d6ed4bba462353767ade5b9abfdec305643e69 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -7,6 +7,7 @@ var packageLicense = require('package-license');
var path = require('path');
var output = {};
+var completed = [];
exports.init = function(options, callback){
// read .bowerrc
if (fs... | Fix hangs when a package is installed multiple times, under different names.
see AceMetrix/bower-license#9 | AceMetrix_bower-license | train | js |
257c0e703f09bd38c1ac921321dbb2f40645c93d | diff --git a/theanets/trainer.py b/theanets/trainer.py
index <HASH>..<HASH> 100644
--- a/theanets/trainer.py
+++ b/theanets/trainer.py
@@ -321,7 +321,7 @@ class SGD(Trainer):
class NAG(SGD):
- '''Optimize using Nesterov's Accelerated Gradient (NAG).
+ r'''Optimize using Nesterov's Accelerated Gradient (NAG).... | Use raw docstring for math. | lmjohns3_theanets | train | py |
7c9a1304a527785eaac58217464070a144ae64e6 | diff --git a/code/controllers/CMSFileAddController.php b/code/controllers/CMSFileAddController.php
index <HASH>..<HASH> 100644
--- a/code/controllers/CMSFileAddController.php
+++ b/code/controllers/CMSFileAddController.php
@@ -72,12 +72,22 @@ class CMSFileAddController extends LeftAndMain {
$uploadField->setFolderN... | ENHANCEMENT Sort extension names by alphabetical order in CMSFileAddController::getEditForm()
ENHANCEMENT Ensure _t() used for "Allowed extensions" english text. | silverstripe_silverstripe-siteconfig | train | php |
7609062fa95ae510e788f80c3286e9f80b4272bb | diff --git a/rails_test/rails-1.2.5-xss_foliate/config/environment.rb b/rails_test/rails-1.2.5-xss_foliate/config/environment.rb
index <HASH>..<HASH> 100644
--- a/rails_test/rails-1.2.5-xss_foliate/config/environment.rb
+++ b/rails_test/rails-1.2.5-xss_foliate/config/environment.rb
@@ -10,6 +10,9 @@ RAILS_GEM_VERSION =... | configuring rails <I> test to run xss_foliate | flavorjones_loofah-activerecord | train | rb |
9d24e450da53ecfd5c0a17c14abaeecc886784be | diff --git a/scrapers/gutenfetch/setup.py b/scrapers/gutenfetch/setup.py
index <HASH>..<HASH> 100644
--- a/scrapers/gutenfetch/setup.py
+++ b/scrapers/gutenfetch/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
setup(name='gutenfetch',
- version='0.0.2',
+ version='0.0.3',
description='Bulk do... | resolve missing dependencies in gutenfetch | empirical-org_Quill-NLP-Tools-and-Datasets | train | py |
5ce4bda18666793c25153e39bdca0c6405c7dce6 | diff --git a/unit_tests/AktiveMerchant/Mock/Request.php b/unit_tests/AktiveMerchant/Mock/Request.php
index <HASH>..<HASH> 100644
--- a/unit_tests/AktiveMerchant/Mock/Request.php
+++ b/unit_tests/AktiveMerchant/Mock/Request.php
@@ -15,40 +15,48 @@ namespace AktiveMerchant\Mock;
class Request
{
-
- public func... | Implements some methods to Mock Request | akDeveloper_Aktive-Merchant | train | php |
63c5e36a8242d08355f17327b613d3da4ef0508d | diff --git a/src/Synapse/Validator/AbstractArrayValidator.php b/src/Synapse/Validator/AbstractArrayValidator.php
index <HASH>..<HASH> 100644
--- a/src/Synapse/Validator/AbstractArrayValidator.php
+++ b/src/Synapse/Validator/AbstractArrayValidator.php
@@ -54,6 +54,8 @@ abstract class AbstractArrayValidator
*/
... | Refs #<I> - Set the contextData in the validate method instead of in its own setter. | synapsestudios_synapse-base | train | php |
25776d82d9b50838ca6cab7df220146103216c7b | diff --git a/core/src/main/java/com/google/zxing/oned/ITFWriter.java b/core/src/main/java/com/google/zxing/oned/ITFWriter.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/zxing/oned/ITFWriter.java
+++ b/core/src/main/java/com/google/zxing/oned/ITFWriter.java
@@ -61,7 +61,7 @@ public final class ITFW... | Correct size of array in ITFWriter (#<I>) | zxing_zxing | train | java |
166638aec51784824bb07468d93bb49fc2b36aa8 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,7 +3,6 @@ $stdin = File.new("/dev/null")
require "rubygems"
require "excon"
-Excon.defaults[:mock] = true
# ensure these are around for errors
# as their require is genera... | WebMock <I>+ compatibility fix.
Excon mocking is disable by WebMock::HttpLibAdapters::ExconAdapter.disable!
call since WebMock <I> by
<URL> | heroku_legacy-cli | train | rb |
45f86a782e464f140c379aeddf6d079bba0d8d82 | diff --git a/components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Front_End.php b/components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Front_End.php
index <HASH>..<HASH> 100644
--- a/components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Front_End.php
+++ b/comp... | More logic adjustments for taxonomies | pods-framework_pods | train | php |
24354c81429b743792bdee8cddb69859d8243c45 | diff --git a/core-bundle/contao/classes/BackendUser.php b/core-bundle/contao/classes/BackendUser.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/classes/BackendUser.php
+++ b/core-bundle/contao/classes/BackendUser.php
@@ -222,10 +222,6 @@ class BackendUser extends \User
{
return true;
}
- elseif (TL... | [Core] Fix BackendUser changes in current develop | contao_contao | train | php |
20b78fc102f84e63eb1f0908e1e9ee0eabdce6d4 | diff --git a/mintapi/tests.py b/mintapi/tests.py
index <HASH>..<HASH> 100644
--- a/mintapi/tests.py
+++ b/mintapi/tests.py
@@ -3,6 +3,8 @@ import datetime
import json
import unittest
+import requests
+
try:
from mock import patch # Python 2
except ImportError:
@@ -42,3 +44,10 @@ class MintApiTests(unittest.... | add unit test for chrome urls | mrooney_mintapi | train | py |
934c3d4679f7bd2f111f68043c9977344d05bdf3 | diff --git a/pyfolio/utils.py b/pyfolio/utils.py
index <HASH>..<HASH> 100644
--- a/pyfolio/utils.py
+++ b/pyfolio/utils.py
@@ -243,6 +243,8 @@ def extract_rets_pos_txn_from_zipline(backtest):
"""
backtest.index = backtest.index.normalize()
+ if backtest.index.tzinfo is None:
+ backtest.index = bac... | [MAINT] Removed setting transaction timezones to None
There was one line that was explicitly setting the time zone
of the transactions dataframe to None. By removing that line looks
like all of the data returned has UTC timezones. | quantopian_pyfolio | train | py |
de12fe11207092f2cd00ef47b9c7abcc8f18f6a5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,8 +21,8 @@ setup(
author="UW-IT AXDD",
author_email="aca-it@uw.edu",
include_package_data=True,
- install_requires=['UW-RestClients-Core>0.8,<1.0',
- 'UW-RestClients-PWS<1.0',
+ in... | update restclient, pws version | uw-it-aca_uw-restclients-grad | train | py |
4e20d6ae90bcd7070bd83c3790a73835ca30b564 | diff --git a/spec/remove_rooms_by_name_spec.rb b/spec/remove_rooms_by_name_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/remove_rooms_by_name_spec.rb
+++ b/spec/remove_rooms_by_name_spec.rb
@@ -37,7 +37,7 @@ describe "Remove rooms by name" do
lambda {
plsql.remove_rooms_by_name('Living Room')
}.... | use change with block for better readability | rsim_ruby-plsql-spec | train | rb |
8c2ddac2cdf81d9ab62fdce89a59143093812816 | 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
@@ -216,7 +216,10 @@ module VagrantPlugins
facter = ... | Check for nil config_path. | hashicorp_vagrant | train | rb |
50711cc8baba499250934e1d12fd24e65534f31e | diff --git a/ibis/backends/dask/execution/join.py b/ibis/backends/dask/execution/join.py
index <HASH>..<HASH> 100644
--- a/ibis/backends/dask/execution/join.py
+++ b/ibis/backends/dask/execution/join.py
@@ -34,6 +34,7 @@ def execute_asof_join(op, left, right, by, tolerance, predicates, **kwargs):
assert 0 <= len(l... | fix(dask): fix asof joins for newer version of dask | ibis-project_ibis | train | py |
b534e32c23cb6285bf42b98f41d75c6df54eb003 | diff --git a/grunt.js b/grunt.js
index <HASH>..<HASH> 100644
--- a/grunt.js
+++ b/grunt.js
@@ -6,7 +6,7 @@ module.exports = function(grunt) {
complexity: {
generic: {
- src: ['grunt.js', 'tasks/grunt-complexity.js', 'tests/*.js'],
+ src: ['grunt.js', 'tasks/complexity.js', 'tests/*.js'],
options: {
... | Adds back complexity to grunt file | vigetlabs_grunt-complexity | train | js |
e53af0f4e3ea38ba6be3ac2ed94d886dc0ba20e2 | diff --git a/website/modules/components/Home/Header.js b/website/modules/components/Home/Header.js
index <HASH>..<HASH> 100644
--- a/website/modules/components/Home/Header.js
+++ b/website/modules/components/Home/Header.js
@@ -114,9 +114,6 @@ const Banner = () => (
<Button to="/native" small={isSmallScreen... | Removed the Anywhere/Core button from Home Page (#<I>) | ReactTraining_react-router | train | js |
b80afe3f56614a924c4b02c76b6b3ecb4f7a944e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ def runSetup():
six = 'six>=1.10.0'
future = 'future'
requests = 'requests>=2, <3'
- docker = 'docker>=2.7.0, <3'
+ docker = 'docker==4.3.1'
dateutil = 'python-dateutil'
addict = '... | Update docker to <I> (#<I>) | DataBiosphere_toil | train | py |
8a1dce383e41f7b778a7162abb58a0440a29420a | diff --git a/astroid/brain/brain_namedtuple_enum.py b/astroid/brain/brain_namedtuple_enum.py
index <HASH>..<HASH> 100644
--- a/astroid/brain/brain_namedtuple_enum.py
+++ b/astroid/brain/brain_namedtuple_enum.py
@@ -246,6 +246,11 @@ def infer_enum(node, context=None):
name = ''
value = ... | Add reversed() to Enum classes | PyCQA_astroid | train | py |
39538463de89bdda8a1b4a4fe66b1691f01957b5 | diff --git a/pkg/util/iptables/iptables_test.go b/pkg/util/iptables/iptables_test.go
index <HASH>..<HASH> 100644
--- a/pkg/util/iptables/iptables_test.go
+++ b/pkg/util/iptables/iptables_test.go
@@ -797,8 +797,8 @@ COMMIT
t.Fatalf("%s: Expected success, got %v", protocol, err)
}
- if string(buffer.Bytes()) != ou... | test: Use bytes.Buffer.String
Fix some warnings from go-staticcheck.
"should use buffer.String() instead of string(buffer.Bytes()) (S<I>)"
This warning is explained at this link.
<URL> | kubernetes_kubernetes | train | go |
27cc657cf5ab478065130bbee40a86cecd3b2a52 | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index <HASH>..<HASH> 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -140,8 +140,8 @@ def read_frame(sql, con, index_col=None, coerce_float=True):
index_col: string, optional
column name to use for the returned DataFrame object.
coerce_float : ... | adjusted the indentation of doc of io.sql.read_frame | pandas-dev_pandas | train | py |
7482d8b9f55b8d69b86b7e9f7c7fdc5bf43495a0 | diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php
index <HASH>..<HASH> 100644
--- a/mod/assignment/lib.php
+++ b/mod/assignment/lib.php
@@ -202,7 +202,12 @@ function assignment_get_submission($assignment, $user) {
}
function assignment_get_all_submissions($assignment) {
- return get_records("assignmen... | Small fix to the full list of available assignments | moodle_moodle | train | php |
041d83b0f982f978bfa40a587dd9dd6d7b00a40e | diff --git a/http.go b/http.go
index <HASH>..<HASH> 100644
--- a/http.go
+++ b/http.go
@@ -30,10 +30,16 @@ type HTTPFrontend struct {
etcdPrefix string
- etcd *etcd.Client
+ etcd httpFrontendEtcdClient
discoverd *discoverd.Client
}
+type httpFrontendEtcdClient interface {
+ Create(key string, value... | router: Use interface for etcd client in frontend | flynn_flynn | train | go |
7075eefe6f653a04c74540e24c90c87cfa2233ba | diff --git a/lib/haml.rb b/lib/haml.rb
index <HASH>..<HASH> 100644
--- a/lib/haml.rb
+++ b/lib/haml.rb
@@ -754,7 +754,7 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
#
module Haml
# A string representing the version of Haml
- VERSION = File.read(File.dirname(__FILE__) + '/../VERSION').strip
+ VERSION = Fi... | Guard against VERSION already initialized warning when running rake | sass_ruby-sass | train | rb |
00be799f2679d2fcb2808cfc61e590d598372d92 | diff --git a/pymc/database/ram.py b/pymc/database/ram.py
index <HASH>..<HASH> 100644
--- a/pymc/database/ram.py
+++ b/pymc/database/ram.py
@@ -129,7 +129,7 @@ class Trace(base.Trace):
def __getitem__(self, index):
chain = self._chain
if chain is None:
- return concatenate(self._trace.v... | Dodge segfault from np.concatenate: it can't handle dict_values. | pymc-devs_pymc | train | py |
250d8a248314221d2e3fad104a52962557f2a422 | diff --git a/gsshapy/orm/cmt.py b/gsshapy/orm/cmt.py
index <HASH>..<HASH> 100644
--- a/gsshapy/orm/cmt.py
+++ b/gsshapy/orm/cmt.py
@@ -610,7 +610,7 @@ class MapTableFile(DeclarativeBase, GsshaPyFileObjectBase):
dtype={'id':'int', 'description':'str', 'roughness':'float'},
... | renamed map table to always be ROUGHNESS | CI-WATER_gsshapy | train | py |
364149055ed873512b2f6ab6bbae49487dde79b5 | diff --git a/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.java b/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.java
+++ b/android/src/main/java/com/swmansion/rnscreens/Screen... | Access to PixelUtil.toPixelFromDIP when it is necessary (#<I>)
Instead of assigning PixelUtil.toPixelFromDIP to static variable, use it when it is necessary to fix crash from #<I>. | kmagiera_react-native-screens | train | java |
bd781a347325a1399620b6ab49b52c88ecc4c6f0 | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -79,7 +79,7 @@ module.exports = API = (function() {
method: 'POST',
uri: url,
oauth: self.opts,
- body: JSON.stringify(data)
+ form: data
}, function (err, response, body) {
i... | lib/api#post: send form, not body | ghostbar_twitter-rest-lite | train | js |
2ca7b419a27c7e45d64613048fc9f66c972e10a7 | diff --git a/TYPO3.Flow/Scripts/FLOW3.php b/TYPO3.Flow/Scripts/FLOW3.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Scripts/FLOW3.php
+++ b/TYPO3.Flow/Scripts/FLOW3.php
@@ -30,7 +30,7 @@ declare(ENCODING = 'utf-8');
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser Public License, version 3 or later
*/
... | [~TASK] FLOW3 (Core): Fixed the messed up (r<I>) version compare in FLOW3.php.
Original-Commit-Hash: f2e2e<I>f7b0edf0df<I>e5e<I>d<I>b<I>adc | neos_flow-development-collection | train | php |
40253bee3efcc001cffe26081e20bc86220e3a17 | diff --git a/cmd.go b/cmd.go
index <HASH>..<HASH> 100644
--- a/cmd.go
+++ b/cmd.go
@@ -41,8 +41,13 @@ func (c *monitoredCmd) run() error {
select {
case <-ticker.C:
if c.hasTimedOut() {
- if err := c.cmd.Process.Kill(); err != nil {
- return &killCmdError{err}
+ // On windows it is apparently (?) po... | Try to defend against windows proc weirdness | sdboyer_gps | train | go |
782fc43bd8806028883f366daf64c01f159d20bb | diff --git a/admin/tool/cohortroles/settings.php b/admin/tool/cohortroles/settings.php
index <HASH>..<HASH> 100644
--- a/admin/tool/cohortroles/settings.php
+++ b/admin/tool/cohortroles/settings.php
@@ -23,5 +23,19 @@
*/
defined('MOODLE_INTERNAL') || die;
-$str = get_string('managecohortroles', 'tool_cohortroles')... | MDL-<I> tool_cohortroles: Require 'moodle/cohort:view' capability
tool_cohortroles not just needs the 'moodle/role:manage' capability,
but the 'moodle/cohort:view' capability as well since the cohorts
selector field will not work without it. | moodle_moodle | train | php |
049bd7dbbdc09dd9f7911456fd2b58ec28c94739 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -1691,12 +1691,9 @@ function cleanAttributes2($htmlArray){
$arreach['value'] = preg_replace("/j\s*a\s*v\s*a\s*s\s*c\s*r\s*i\s*p\s*t/i", "Xjavascript", $arreach['value']);
$arre... | fixed cleantext producing two spaces between element attributes instead of one MDL-<I> | moodle_moodle | train | php |
30e01e9bbec9a975aa52abc4affebef16113714c | diff --git a/cogen/core/schedulers.py b/cogen/core/schedulers.py
index <HASH>..<HASH> 100644
--- a/cogen/core/schedulers.py
+++ b/cogen/core/schedulers.py
@@ -132,12 +132,11 @@ class Scheduler(object):
if op.last_update > timo.last_checkpoint:
timo.last_checkpoint = op.las... | add a extracheck for timeouts that get activated after a exception has happened on that op | ionelmc_python-cogen | train | py |
895f308c4fb46e855745f69eebad34411ef4f303 | diff --git a/jpx/src/main/java/io/jenetics/jpx/Degrees.java b/jpx/src/main/java/io/jenetics/jpx/Degrees.java
index <HASH>..<HASH> 100644
--- a/jpx/src/main/java/io/jenetics/jpx/Degrees.java
+++ b/jpx/src/main/java/io/jenetics/jpx/Degrees.java
@@ -20,12 +20,9 @@
package io.jenetics.jpx;
import static java.lang.Strin... | #6: Move 'Degrees' parsing method to 'Parsers' class. | jenetics_jpx | train | java |
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.