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 |
|---|---|---|---|---|---|
9f47b96a69faba35b653d59b45a5f724a859faf3 | diff --git a/packages/core/src/textures/resources/CanvasResource.js b/packages/core/src/textures/resources/CanvasResource.js
index <HASH>..<HASH> 100644
--- a/packages/core/src/textures/resources/CanvasResource.js
+++ b/packages/core/src/textures/resources/CanvasResource.js
@@ -1,6 +1,10 @@
import BaseImageResource fr... | Compatibility with older typescript OffscreenCanvas type (#<I>) | pixijs_pixi.js | train | js |
f8b4056ed8dad5905b5499fb1dede0640a89390c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,15 +16,9 @@ try:
from Cython.Build import cythonize
except ImportError:
import os
- try:
- pyx_time = os.path.getmtime('cyflann/index.pyx')
- pxd_time = os.path.getmtime('cyflann/flann.pxd')
- ... | meh; don't be clever about mod-times for .c when cython isn't available | dougalsutherland_cyflann | train | py |
ec72568733828a0c1c821d2b29cd37d71e06fd08 | diff --git a/sinatra-contrib/lib/sinatra/reloader.rb b/sinatra-contrib/lib/sinatra/reloader.rb
index <HASH>..<HASH> 100644
--- a/sinatra-contrib/lib/sinatra/reloader.rb
+++ b/sinatra-contrib/lib/sinatra/reloader.rb
@@ -232,6 +232,15 @@ module Sinatra
# Contains the methods defined in Sinatra::Base that are overr... | don't run if we are already running, closes #<I> | sinatra_sinatra | train | rb |
c5d0c499bdb878a47e295f3cc507166f1e5e00e7 | diff --git a/pull_into_place/pipeline.py b/pull_into_place/pipeline.py
index <HASH>..<HASH> 100644
--- a/pull_into_place/pipeline.py
+++ b/pull_into_place/pipeline.py
@@ -102,7 +102,7 @@ class Workspace(object):
@property
def rosetta_dir(self):
- return self.find_path('rosetta')
+ return self.... | Install the rosetta symlink into the root dir.
This removes the need for creating a basically empty project_params dir
in remote workspaces. | Kortemme-Lab_pull_into_place | train | py |
2e9726a5338c6f7d9c514d23fb60a9454dd32e16 | diff --git a/lib/fabrication/schematic/manager.rb b/lib/fabrication/schematic/manager.rb
index <HASH>..<HASH> 100644
--- a/lib/fabrication/schematic/manager.rb
+++ b/lib/fabrication/schematic/manager.rb
@@ -8,16 +8,13 @@ class Fabrication::Schematic::Manager
def initializing?; @initializing end
- def freeze
- ... | Delegate clear and empty? to schematics | paulelliott_fabrication | train | rb |
5c10af46256a96a71df21496c1b8c1e19681c004 | diff --git a/app/controllers/tuttle/ruby_controller.rb b/app/controllers/tuttle/ruby_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/tuttle/ruby_controller.rb
+++ b/app/controllers/tuttle/ruby_controller.rb
@@ -7,7 +7,7 @@ module Tuttle
def index
# TODO: need better filter for sensitive va... | filter *_AUTHENTICATION environment variables | dgynn_tuttle | train | rb |
32f13d972eac3ae48de697dacca1dba28dc423cf | diff --git a/test/unit/list_test.rb b/test/unit/list_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/list_test.rb
+++ b/test/unit/list_test.rb
@@ -158,7 +158,8 @@ EOS
def test_self_default_getter
- assert_equal nil, PublicSuffix::List.class_eval { @default }
+ PublicSuffix::List.default = nil
+ asse... | As we don't know test_self_default_getter will run, it must be set to nil | weppos_publicsuffix-ruby | train | rb |
caae48701583f8baedb78ba5678457d67a569982 | diff --git a/app/controllers/concerns/paginated.rb b/app/controllers/concerns/paginated.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/concerns/paginated.rb
+++ b/app/controllers/concerns/paginated.rb
@@ -6,7 +6,7 @@ module Paginated
end
def per_page
- @per_page ||= params[:per_page].to_i == 0 ? AppSet... | Fixed per_page assignment booboo | cortex-cms_cortex | train | rb |
1a64226c29ccdb4fb3b9775f7e32bbdea5e32fd5 | diff --git a/Helper/PasswordHelper.php b/Helper/PasswordHelper.php
index <HASH>..<HASH> 100644
--- a/Helper/PasswordHelper.php
+++ b/Helper/PasswordHelper.php
@@ -12,7 +12,7 @@
namespace Orkestra\Bundle\ApplicationBundle\Helper;
use Orkestra\Bundle\ApplicationBundle\Entity\HashedEntity;
-use Orkestra\Bundle\Applica... | PasswordHelper now only needs a UserInterface | orkestra_OrkestraApplicationBundle | train | php |
3e0932c6c86f1eb2f48ab71a77b849e5978c2465 | diff --git a/firetv/__init__.py b/firetv/__init__.py
index <HASH>..<HASH> 100644
--- a/firetv/__init__.py
+++ b/firetv/__init__.py
@@ -9,6 +9,7 @@ ADB Debugging must be enabled.
import errno
from socket import error as socket_error
from adb import adb_commands
+from adb.adb_protocol import InvalidChecksumError
# ... | Worked around bug with Checksum error dropping connection | happyleavesaoc_python-firetv | train | py |
fd1b74f6360f01fd9800ea8d24284d682a8f38ba | diff --git a/bypy.py b/bypy.py
index <HASH>..<HASH> 100755
--- a/bypy.py
+++ b/bypy.py
@@ -1500,13 +1500,15 @@ class ByPy(object):
return EFileWrite
def __store_json(self, r):
+ j = {}
try:
- r.json()
+ j = r.json()
except Exception:
perr("Failed to decode JSON:\n" \
"Exception:\n{}".format(... | Print auth/refresh web response on error | houtianze_bypy | train | py |
77f9cff99b3d2bfc9e81e5439c025be8a9900f21 | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -1,7 +1,8 @@
/**
* Helper "class" for accessing MediaWiki API and handling cookie-based session
*/
- var VERSION = '0.3.5';
+module.exports = (function() {
+ var VERSION = '0.3.6';
// @see https://github.com/m... | api.js:
* fix for huge POST requests (make sure data is POSTed, not encoded in URL)
* wrap module in immediate function
* <I> | macbre_nodemw | train | js |
766d7c1e968477f0be9b517bb1dd31daa99456b5 | diff --git a/src/main/java/org/java_websocket/WebSocket.java b/src/main/java/org/java_websocket/WebSocket.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/java_websocket/WebSocket.java
+++ b/src/main/java/org/java_websocket/WebSocket.java
@@ -137,17 +137,18 @@ public interface WebSocket {
boolean hasBuffered... | Update documentation comments for member methods
Update documentation comments for methods getRemoteSocketAddress and getLocalSocketAddress in WebSocket.java. | TooTallNate_Java-WebSocket | train | java |
06f7b1a80fefe952665aae996e380f8798812287 | diff --git a/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py b/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py
index <HASH>..<HASH> 100644
--- a/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py
+++ b/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py
@@ -26,8 +26,8 @@ import pycuda.gpuarray as gpuarray
import montblan... | Cease passing weight vector flags in v5. | ska-sa_montblanc | train | py |
4fd14159cedc96bb2676ba371d9e0da5c3bb3ab7 | diff --git a/js/sia.js b/js/sia.js
index <HASH>..<HASH> 100644
--- a/js/sia.js
+++ b/js/sia.js
@@ -18,7 +18,6 @@ function SiadWrapper () {
var settings = {
fileName: process.platform === 'win32' ? 'siad.exe' : 'siad',
detached: false,
- agent: 'Sia-Agent',
address: 'localhost:9980',
rpcAddress... | User agent option prevented siad from starting
Somehow I thought I already fixed this. | NebulousLabs_Nodejs-Sia | train | js |
2146a4b5937b044e96e5760c88258982495dbc1a | diff --git a/lib/sensu/api/routes/silenced.rb b/lib/sensu/api/routes/silenced.rb
index <HASH>..<HASH> 100644
--- a/lib/sensu/api/routes/silenced.rb
+++ b/lib/sensu/api/routes/silenced.rb
@@ -77,7 +77,7 @@ module Sensu
if data[:expire]
expire = data[:expire]
e... | [maitenance] fixed minor indentation issue | sensu_sensu | train | rb |
0dd2fe692190d9cb67b714fda6a5147204b6bce6 | diff --git a/jsx.js b/jsx.js
index <HASH>..<HASH> 100644
--- a/jsx.js
+++ b/jsx.js
@@ -43,12 +43,9 @@
acornJSXWalk(walk.base);
// Allow renaming variables used in JSX.
- infer.searchVisitor.JSXIdentifier = function () {
- // Identifier is defined ad-hoc, so call the latest instance. Using
- //... | Use typical "forwarding" technique. | jacksonrayhamilton_tern-jsx | train | js |
a1a8ca4814dc35766b897f2d825212faf088621a | diff --git a/src/util/Constants.js b/src/util/Constants.js
index <HASH>..<HASH> 100644
--- a/src/util/Constants.js
+++ b/src/util/Constants.js
@@ -723,7 +723,7 @@ exports.VerificationLevels = createEnum(['NONE', 'LOW', 'MEDIUM', 'HIGH', 'VERY_
* * MESSAGE_ALREADY_HAS_THREAD
* * THREAD_LOCKED
* * MAXIMUM_ACTIVE_TH... | docs(Constants): fix typo "announcement" (#<I>) | discordjs_discord.js | train | js |
ded67bd62442c72a95df84c474a38c10152c2029 | diff --git a/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java b/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java
index <HASH>..<HASH> 100644
--- a/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java
+++ b/wayback-core/src/main/java/org/archive/wayback/webap... | FIX: self-redirect check accounts for relative urls | iipc_openwayback | train | java |
2862e55085434c849de9d4f979a31a896a914f66 | diff --git a/consumer_test.go b/consumer_test.go
index <HASH>..<HASH> 100644
--- a/consumer_test.go
+++ b/consumer_test.go
@@ -243,7 +243,7 @@ func TestConsumerRebalancingMultiplePartitions(t *testing.T) {
seedBroker.Close()
}
-func ExampleConsumer_usingSelect() {
+func ExampleConsumer_select() {
master, err := ... | Tweaks to consumer_test.rb | Shopify_sarama | train | go |
87fab1a5c1494b359234cb568a816e64bffe2285 | diff --git a/tests/class-wp-cli-test-case.php b/tests/class-wp-cli-test-case.php
index <HASH>..<HASH> 100644
--- a/tests/class-wp-cli-test-case.php
+++ b/tests/class-wp-cli-test-case.php
@@ -43,12 +43,13 @@ abstract class Wp_Cli_Test_Case extends PHPUnit_Framework_TestCase {
}
class Wordpress_Installer {
+
privat... | don't require passing a runner to Wordpress_Installer | wp-cli_export-command | train | php |
3e40dc1c43b76e0d7543780820f413a9edd030b3 | diff --git a/closure/goog/locale/timezonefingerprint.js b/closure/goog/locale/timezonefingerprint.js
index <HASH>..<HASH> 100644
--- a/closure/goog/locale/timezonefingerprint.js
+++ b/closure/goog/locale/timezonefingerprint.js
@@ -201,7 +201,7 @@ goog.locale.TimeZoneFingerprint = {
680176266: ['RU-Asia/Krasnoyarsk']... | Avoid mystifying certain DownUnder users. Hobart is a far bigger place than Currie. Note that goog.locale.timeZoneDetection.detectTimeZone() looks at the 0'th string in the array.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
bda772578d0dc970360ba9d8302b34839a5f512c | diff --git a/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py b/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py
index <HASH>..<HASH> 100644
--- a/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py
+++ b/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py
@@ -44,7 +44,... | Refactored BatchProcessingWebTagger: now join_layers_while_reusing_spans is used for joining | estnltk_estnltk | train | py |
967cc1a76d765378644b6bea8006878a74d38d34 | diff --git a/pyphi/labels.py b/pyphi/labels.py
index <HASH>..<HASH> 100644
--- a/pyphi/labels.py
+++ b/pyphi/labels.py
@@ -12,18 +12,26 @@ def default_labels(indices):
class NodeLabels:
- '''
- TODO: validate labels for duplicates
- TODO: pass in indices if defaults are generated here
+ '''Text labels ... | Cast string of labels to a tuple | wmayner_pyphi | train | py |
a6340c69aa762500bc0db2ceae9b91bdbab325d9 | diff --git a/lib/axiom/relation/operation/sorted/direction_set.rb b/lib/axiom/relation/operation/sorted/direction_set.rb
index <HASH>..<HASH> 100644
--- a/lib/axiom/relation/operation/sorted/direction_set.rb
+++ b/lib/axiom/relation/operation/sorted/direction_set.rb
@@ -90,7 +90,7 @@ module Axiom
# @api priv... | Refactor comparison to return early when it is nonzero | dkubb_axiom | train | rb |
bd9f3ced15339a3800a3184daed1508014c94738 | diff --git a/km3pipe/io/aanet.py b/km3pipe/io/aanet.py
index <HASH>..<HASH> 100644
--- a/km3pipe/io/aanet.py
+++ b/km3pipe/io/aanet.py
@@ -327,7 +327,7 @@ class AanetPump(Pump):
tab_dict['parameter'].append(parameter)
tab_dict['field_names'].append(' '.join(fields))
tab_dict['fiel... | Don't use commas for splitting char in the dtype field | tamasgal_km3pipe | train | py |
080f9bb63e79fd8cdc6e841be04835ad5d66dd8a | diff --git a/Tests/Logger/LoggerFactoryTest.php b/Tests/Logger/LoggerFactoryTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Logger/LoggerFactoryTest.php
+++ b/Tests/Logger/LoggerFactoryTest.php
@@ -48,14 +48,16 @@ class LoggerFactoryTest extends \PHPUnit_Framework_TestCase {
{
$this->initiateContainerWit... | Assert for check if logger is being added or not | xiidea_EasyAuditBundle | train | php |
aecf2a62d5e6a13dbe906d0d8cd3a2ddd554a21c | diff --git a/disposable_email_checker/__init__.py b/disposable_email_checker/__init__.py
index <HASH>..<HASH> 100644
--- a/disposable_email_checker/__init__.py
+++ b/disposable_email_checker/__init__.py
@@ -1 +1 @@
-__version__ = '1.0.0'
+__version__ = '1.1.0' | version bump <I> - Increase number of blacklisted domains | aaronbassett_DisposableEmailChecker | train | py |
ef65851c42b11b498a3829b93378565467542f5d | diff --git a/limpyd/__init__.py b/limpyd/__init__.py
index <HASH>..<HASH> 100644
--- a/limpyd/__init__.py
+++ b/limpyd/__init__.py
@@ -2,7 +2,7 @@
power and the control of the Redis API, in a limpid way, with just as
abstraction as needed."""
-VERSION = (0, 1, 0)
+VERSION = (0, 1, 1)
__author__ = 'Yohan Boniface... | Include only the "limpyd" package in setup.py (no tests) | limpyd_redis-limpyd | train | py,py |
712bb76528f88e7b217ee053450c00dc66c8b11b | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -23,7 +23,7 @@ module.exports = function createServePlaceholder (_options) {
}
// In case of no handler guessed
- if (handler === undefined) {
+ if (typeof handler === 'undefined') {
if... | refactor: use typeof for undefined check | nuxt_serve-placeholder | train | js |
92ee210549292e559905b7b43cfd437aefa90c48 | diff --git a/lib/fog/rackspace/models/auto_scale/policy.rb b/lib/fog/rackspace/models/auto_scale/policy.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/rackspace/models/auto_scale/policy.rb
+++ b/lib/fog/rackspace/models/auto_scale/policy.rb
@@ -154,6 +154,18 @@ module Fog
true
end
+ # Saves t... | [rackspace|auto_scale] added a save method to policy | fog_fog | train | rb |
de3ae768a715f408cc3e361bcf46e6bd98402885 | diff --git a/Example/bouncing/index.js b/Example/bouncing/index.js
index <HASH>..<HASH> 100644
--- a/Example/bouncing/index.js
+++ b/Example/bouncing/index.js
@@ -43,6 +43,7 @@ class Snappable extends Component {
return (
<PanGestureHandler
{...this.props}
+ maxPointers={1}
onGestur... | Make it easier to twist view in twist & bounce example. | kmagiera_react-native-gesture-handler | train | js |
038a60128da4d0196cf89eee5abfd673834923c3 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -3,6 +3,7 @@
var fs = require('fs');
var url = require('url');
+var pathlib = require('path');
var co = require('co');
var maybe = require('call-me-maybe');
@@ -10,7 +11,7 @@ var fetch = require('node-fetch');
var yam... | Make statusCodes.json findable when loaded as module | wework_speccy | train | js |
38ad7a8efa38049d5f219943fc8ab2406c14b0b3 | diff --git a/agrona/src/main/java/org/agrona/DeadlineTimerWheel.java b/agrona/src/main/java/org/agrona/DeadlineTimerWheel.java
index <HASH>..<HASH> 100644
--- a/agrona/src/main/java/org/agrona/DeadlineTimerWheel.java
+++ b/agrona/src/main/java/org/agrona/DeadlineTimerWheel.java
@@ -244,7 +244,7 @@ public class Deadline... | fix handling of timers that get shceduled to expire in the current tick by always perfoming one loop in the poll. If breaking out due to max expirations, don't advance the tick. | real-logic_agrona | train | java |
2b6baa2d7f48a5c507a3e72ec8eaafa2b84f1d0b | diff --git a/parsedatetime/pdt_locales/base.py b/parsedatetime/pdt_locales/base.py
index <HASH>..<HASH> 100644
--- a/parsedatetime/pdt_locales/base.py
+++ b/parsedatetime/pdt_locales/base.py
@@ -86,8 +86,8 @@ decimal_mark = '.'
# this will be added to re_values later
units = {
- 'seconds': ['second', 'seconds', ... | Add 'secs' and 'mins' into base units | bear_parsedatetime | train | py |
311b70a7c013805dfaaf878060a3633dc17770c1 | diff --git a/src/Model/AssociationsAwareTrait.php b/src/Model/AssociationsAwareTrait.php
index <HASH>..<HASH> 100644
--- a/src/Model/AssociationsAwareTrait.php
+++ b/src/Model/AssociationsAwareTrait.php
@@ -244,6 +244,12 @@ trait AssociationsAwareTrait
*/
if ($field->getAssocCsvModule() === $module) ... | Add self related associations (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
8125808f2216666b8ca3ae7d1baac43a9bb7edae | diff --git a/blockstack_client/cli.py b/blockstack_client/cli.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/cli.py
+++ b/blockstack_client/cli.py
@@ -214,7 +214,7 @@ def run_cli(argv=None, config_path=CONFIG_PATH):
sys.exit(1)
argv = new_argv
- if cli_password or os.environ.get('BLOCKSTACK_C... | don't set to boolean | blockstack_blockstack-core | train | py |
9750caa215bc745066f691c208410669af5ec73d | diff --git a/client/html/src/Client/Html/Catalog/Lists/Standard.php b/client/html/src/Client/Html/Catalog/Lists/Standard.php
index <HASH>..<HASH> 100644
--- a/client/html/src/Client/Html/Catalog/Lists/Standard.php
+++ b/client/html/src/Client/Html/Catalog/Lists/Standard.php
@@ -646,13 +646,15 @@ class Standard
$page... | Sort by parameter before category position (#<I>)
Sort by the parameter `f_sort` with higher priority then the position of the item in the category. | aimeos_ai-client-html | train | php |
31839c44808d17c9d13ea78134f8f431a36a8ffe | diff --git a/SoftLayer/CLI/modules/subnet.py b/SoftLayer/CLI/modules/subnet.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/CLI/modules/subnet.py
+++ b/SoftLayer/CLI/modules/subnet.py
@@ -93,11 +93,12 @@ Options:
table.align['cost'] = 'r'
total = 0.0
- for price in result['prices']:
- ... | Make sure the 'prices' key exists in the dictionary before trying to use it | softlayer_softlayer-python | train | py |
cad70a2d06043cf1e3f6ba628ca28d6fccd6be04 | diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/app.blade.php
+++ b/resources/views/app.blade.php
@@ -43,7 +43,7 @@
@endforeach
</head>
-<body>
+<body class="page-{{\Str::slug(\Route::currentRouteName())}}">
<div class="container-... | Added routeprefixed class to body (#<I>)
* Added routeprefixed class to body
Added a class to body, that will always use a slugified version of the current path as basic.
This allows to style subpages (login, template, ...) differently easily using a custom css file.
* Added slugified route name as body class | orchidsoftware_platform | train | php |
9d6418aa4ba49c531dfd0b8940eba32c605c67f0 | diff --git a/grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/cfg/GrailsDomainBinder.java b/grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/cfg/GrailsDomainBinder.java
index <HASH>..<HASH> 100644
--- a/grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hib... | fix for #<I> (#<I>) | grails_gorm-hibernate5 | train | java |
9a76f8e52127688404ae2c1c2979718c70b54cfe | diff --git a/tests/unit/Gateway/SeemeGatewayTest.php b/tests/unit/Gateway/SeemeGatewayTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/Gateway/SeemeGatewayTest.php
+++ b/tests/unit/Gateway/SeemeGatewayTest.php
@@ -2,6 +2,7 @@
namespace Indigo\Sms\Test\Gateway;
+use Indigo\Sms\Message;
use Indigo\Sms\Gateway\... | Removes Message mocking for now, error thrown because of serializable | indigophp-archive_sms | train | php |
56cd57872cd5f6f7198b38201428845ae8b554ba | diff --git a/lib/browser/api/browser-window.js b/lib/browser/api/browser-window.js
index <HASH>..<HASH> 100644
--- a/lib/browser/api/browser-window.js
+++ b/lib/browser/api/browser-window.js
@@ -95,17 +95,6 @@ BrowserWindow.prototype._init = function () {
// Notify the creation of the window.
app.emit('browser-wi... | Remove BrowserWindow events now on WebContents | electron_electron | train | js |
44680ec4f3d71b0064e3a416525d176cf613a92b | diff --git a/src/Illuminate/Routing/Router.php b/src/Illuminate/Routing/Router.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Routing/Router.php
+++ b/src/Illuminate/Routing/Router.php
@@ -305,7 +305,20 @@ class Router implements RegistrarContract, BindingRegistrar
}
/**
- * Route an api resource ... | [<I>] Add apiResources function to Router (#<I>)
* Add apiResources function to Router
Mimick the functionality of resources in routes with apiResources
* Update Router.php | laravel_framework | train | php |
8bec318b5d55910a602c5e46c414e2cd3e1431b4 | diff --git a/cmd/kube-scheduler/app/options/configfile.go b/cmd/kube-scheduler/app/options/configfile.go
index <HASH>..<HASH> 100644
--- a/cmd/kube-scheduler/app/options/configfile.go
+++ b/cmd/kube-scheduler/app/options/configfile.go
@@ -53,7 +53,7 @@ func loadConfig(data []byte) (*config.KubeSchedulerConfiguration, e... | Switch klog call to use structured logging | kubernetes_kubernetes | train | go |
9cd062ff99c4ef00d0eeb011ec91e64972ebed47 | diff --git a/client/my-sites/pages/page/index.js b/client/my-sites/pages/page/index.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/pages/page/index.js
+++ b/client/my-sites/pages/page/index.js
@@ -211,7 +211,11 @@ class Page extends Component {
}
return (
- <PopoverMenuItem onClick={ this.editPage } onM... | Resolve a<I>y warnings | Automattic_wp-calypso | train | js |
c2d9dc45bd1a75475043b6796fac7c7d4d368b60 | diff --git a/lib/health-data-standards/import/bundle/importer.rb b/lib/health-data-standards/import/bundle/importer.rb
index <HASH>..<HASH> 100644
--- a/lib/health-data-standards/import/bundle/importer.rb
+++ b/lib/health-data-standards/import/bundle/importer.rb
@@ -64,8 +64,11 @@ module HealthDataStandards
... | Do not save the bundle if it did not successfully import
Currently if you import a bundle and it fails because the same version already exists in the database, then the ensure block is still run and the bundle is still saved, leaving 2 records for the same bundle in the database. This adds a check to see if the bundle... | projectcypress_health-data-standards | train | rb |
b87ae89e8610f76c9902c46644bdca6fd4e83607 | diff --git a/sqlparse/filters/reindent.py b/sqlparse/filters/reindent.py
index <HASH>..<HASH> 100644
--- a/sqlparse/filters/reindent.py
+++ b/sqlparse/filters/reindent.py
@@ -168,7 +168,8 @@ class ReindentFilter(object):
def _process_default(self, tlist, stmts=True):
self._split_statements(tlist) if stmts... | Make reindent more robust regarding max recursion errors. | andialbrecht_sqlparse | train | py |
e1f2168b7ce5a54f5128d64ceaec08f8355d7d4a | diff --git a/lib/discordrb/voice/voice_bot.rb b/lib/discordrb/voice/voice_bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/voice/voice_bot.rb
+++ b/lib/discordrb/voice/voice_bot.rb
@@ -99,6 +99,12 @@ module Discordrb::Voice
@encoder.filter_volume = value
end
+ # @see #filter_volume=
+ # @retur... | Add a reader for filter_volume | meew0_discordrb | train | rb |
fbf7d8e92cc34e2012b386a78d0fb0ac89aa7177 | diff --git a/tls.go b/tls.go
index <HASH>..<HASH> 100644
--- a/tls.go
+++ b/tls.go
@@ -10,8 +10,9 @@
package gramework
import (
+ "crypto/ecdsa"
+ "crypto/elliptic"
"crypto/rand"
- "crypto/rsa"
"crypto/tls"
"crypto/x509"
"crypto/x509/pkix"
@@ -27,7 +28,7 @@ func selfSignedCertificate(clientHello *tls.Client... | Using ECDSA for self-signed certificat | gramework_gramework | train | go |
b0dbd5f595cdd6acfa7e9147189ff3dfbfccbb51 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -41,6 +41,6 @@ module.exports = function createGenerator(pattern, options) {
var genericName = interpolateName(loaderContext, name, loaderOptions);
return genericName
.replace(new RegExp('[^a-zA-Z0-9\\-_\u00A0... | Prefix hashes with underscores based on CSS spec
To match with <URL> | css-modules_generic-names | train | js |
d47c0ae4228a59fcf731f626d650bb55c4e34609 | diff --git a/src/attributes.js b/src/attributes.js
index <HASH>..<HASH> 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -153,15 +153,15 @@ jQuery.fn.extend({
},
val: function( value ) {
- var hooks, val,
+ var hooks, ret,
elem = this[0];
if ( !arguments.length ) {
if ( elem ) {
hoo... | Performance testing: localize val to each block and only set val to value when not a function | jquery_jquery | train | js |
6f6d65e29ab443056000c332d2cd4b01bfb73231 | diff --git a/__pkginfo__.py b/__pkginfo__.py
index <HASH>..<HASH> 100644
--- a/__pkginfo__.py
+++ b/__pkginfo__.py
@@ -23,10 +23,10 @@ numversion = (1, 2, 1)
version = '.'.join([str(num) for num in numversion])
if sys.version_info < (2, 6):
- install_requires = ['logilab-common >= 0.53.0', 'astroid >= 1.2',
+ ... | go back to dependency on astroid <I> since it breaks tox tests, even when configured to grab astroid from hg :( | PyCQA_pylint | train | py |
f087c68e01c7aed492457beeb2bb40ca30d2c1fa | diff --git a/lib/frameit/editor.rb b/lib/frameit/editor.rb
index <HASH>..<HASH> 100644
--- a/lib/frameit/editor.rb
+++ b/lib/frameit/editor.rb
@@ -20,7 +20,7 @@ module Frameit
def run(path, color = Color::BLACK)
@color = color
- Dir["#{path}/**/*.png"].each do |screenshot|
+ Dir.glob("#{path}/**... | Added support for PNG files (upper case) | fastlane_fastlane | train | rb |
1f7724a1ab5a883f6dbe55e8c82abb7b0acffa0d | diff --git a/lib/audited/auditor.rb b/lib/audited/auditor.rb
index <HASH>..<HASH> 100644
--- a/lib/audited/auditor.rb
+++ b/lib/audited/auditor.rb
@@ -43,7 +43,7 @@ module Audited
class_attribute :audit_associated_with, instance_writer: false
if options[:only]
- except = column_names - opti... | Fix bug when only: is a single field. | collectiveidea_audited | train | rb |
8ff0ca106207458ce462f796ab05b1d370cfde27 | diff --git a/tofu/version.py b/tofu/version.py
index <HASH>..<HASH> 100644
--- a/tofu/version.py
+++ b/tofu/version.py
@@ -1,2 +1,2 @@
# Do not edit, pipeline versioning governed by git tags!
-__version__ = '1.4.3b4-44-g38061c12'
\ No newline at end of file
+__version__ = '1.4.3b4-44-g38061c12' | Added new line at end of file | ToFuProject_tofu | train | py |
518fab9bf8bbfd2e3f21471feb69b9c17791a934 | diff --git a/drip/models.py b/drip/models.py
index <HASH>..<HASH> 100644
--- a/drip/models.py
+++ b/drip/models.py
@@ -1,9 +1,14 @@
from datetime import datetime, timedelta
from django.db import models
-from django.contrib.auth.models import User
from django.core.exceptions import ValidationError
+try:
+ from... | support for django <I>'s custom user model | zapier_django-drip | train | py |
e86b995a1f628cb4192fdd6c5f34bf98057b33c9 | diff --git a/src/scripts/directives/fa-input.js b/src/scripts/directives/fa-input.js
index <HASH>..<HASH> 100644
--- a/src/scripts/directives/fa-input.js
+++ b/src/scripts/directives/fa-input.js
@@ -37,7 +37,7 @@
*
**/
angular.module('famous.angular')
-.config(function ($provide) {
+.config(['$provide', function ... | =BG= minor: explicit directive name for minifcation
one more yet! | Famous_famous-angular | train | js |
4fde82994326ebce1a328b4f188d2a8a3cfce72e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -98,7 +98,7 @@ var latencyReport = function() {
max: latencyData.max,
avg: latencyData.total / latencyData.count,
};
- exports.emit('eventloop', { time: Date.now(), latency: latency });
+ module.exports.emit('ev... | Make use of module.exports/exports consistent (#<I>) | RuntimeTools_appmetrics | train | js |
28e81db545e0dfbac31091034d101ab3a2a29557 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -371,6 +371,7 @@ gulp.task('bundle-framework', function bundleBoot() {
.external('reducer-register')
.external('redux-thunk')
.external('redux')
+ .external('silverstripe-backend')
.external(... | Require silverstripe-backend to avoid double include | silverstripe_silverstripe-framework | train | js |
742ac63eea6b9b80d558d52d9e2ce0367d84819b | diff --git a/lib/bmc-daemon-lib/conf.rb b/lib/bmc-daemon-lib/conf.rb
index <HASH>..<HASH> 100644
--- a/lib/bmc-daemon-lib/conf.rb
+++ b/lib/bmc-daemon-lib/conf.rb
@@ -85,7 +85,7 @@ module BmcDaemonLib
Encoding.default_external = "utf-8"
# Try to access any key to force parsing of the files
- self[:... | conf: avoid key collision in prepare method | bmedici_bmc-daemon-lib | train | rb |
b1a9c663e2e7fc66c5d74d9b41d89bd4e526b782 | diff --git a/src/main/java/water/TypeMap.java b/src/main/java/water/TypeMap.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/TypeMap.java
+++ b/src/main/java/water/TypeMap.java
@@ -133,7 +133,9 @@ public class TypeMap {
Freezable f = GOLD[id];
if( f == null ) {
try { GOLD[id] = f = (Freezable... | Rearrange code to make it possible to set a breakpoint on the exception. | h2oai_h2o-2 | train | java |
98881874987c28adc65df7c1c89b6e8be6cc6245 | diff --git a/src/lewis/adapters/stream.py b/src/lewis/adapters/stream.py
index <HASH>..<HASH> 100644
--- a/src/lewis/adapters/stream.py
+++ b/src/lewis/adapters/stream.py
@@ -675,6 +675,8 @@ class StreamInterface(InterfaceBase):
in_terminator = '\r'
out_terminator = '\r'
+ readtimeout = 100
+
comman... | ReadTimeout attribute, analogous but opposite direction of ReadTimeout in protocol files | DMSC-Instrument-Data_lewis | train | py |
bfa9a4375b4f883238a355f74bd9bc2411a3dab0 | diff --git a/less.js b/less.js
index <HASH>..<HASH> 100644
--- a/less.js
+++ b/less.js
@@ -9,7 +9,10 @@ var options = loader.lessOptions || {};
// default optimization value.
options.optimization |= lessEngine.optimization;
-lessEngine.options.async = true;
+if(lessEngine.options) {
+ lessEngine.options.async = tru... | Make sure lessEngine.options exist
Only exists in the browser, it seems. | stealjs_steal-less | train | js |
43bc2602069168a3906d22d244d163f385a8cb9a | diff --git a/specs/spec-reporter.spec.php b/specs/spec-reporter.spec.php
index <HASH>..<HASH> 100644
--- a/specs/spec-reporter.spec.php
+++ b/specs/spec-reporter.spec.php
@@ -8,11 +8,10 @@ use Symfony\Component\Console\Output\BufferedOutput;
describe('SpecReporter', function() {
beforeEach(function() {
- ... | cover SpecReporter::color | peridot-php_peridot | train | php |
4766605b08d527b9b195d0d03f10de67054fd046 | diff --git a/resource/crud.go b/resource/crud.go
index <HASH>..<HASH> 100644
--- a/resource/crud.go
+++ b/resource/crud.go
@@ -58,17 +58,7 @@ func (res *Resource) saveHandler(result interface{}, context *qor.Context) error
if (context.GetDB().NewScope(result).PrimaryKeyZero() &&
res.HasPermission(roles.Create, con... | Remove unnecessary create operation if failed to save | qor_qor | train | go |
17259ff8b9943fbbaf7ee3a8f312a73381d7c09e | diff --git a/source/Application/Model/PaymentList.php b/source/Application/Model/PaymentList.php
index <HASH>..<HASH> 100644
--- a/source/Application/Model/PaymentList.php
+++ b/source/Application/Model/PaymentList.php
@@ -62,7 +62,6 @@ class PaymentList extends \OxidEsales\Eshop\Core\Model\ListModel
$tableVie... | perf optimization payment list.
question in slack by aurimas urbonas. would it be faster with this small change without any break? | OXID-eSales_oxideshop_ce | train | php |
ed7bb56c662ea9ab9cf5d3102d1bc84c6ac32935 | diff --git a/tests/TestCase/Integration/JsonApi/SparseFieldsetsIntegrationTest.php b/tests/TestCase/Integration/JsonApi/SparseFieldsetsIntegrationTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Integration/JsonApi/SparseFieldsetsIntegrationTest.php
+++ b/tests/TestCase/Integration/JsonApi/SparseFieldsetsInteg... | Small difference in url to ensure that correct association is still used | FriendsOfCake_crud-json-api | train | php |
9b10319d473f7e74875b62ff35171800ee1234c8 | diff --git a/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java b/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java
index <HASH>..<HASH> 100644
--- a/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java
+++ b/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java
@@ -123,11 +1... | Add additional checks for the try-with-resources test for a Timer | dropwizard_metrics | train | java |
dea95bad694d30595a21f5d925720e6d8eb8c40e | diff --git a/lib/FieldType/Mapper/RelationListFormMapper.php b/lib/FieldType/Mapper/RelationListFormMapper.php
index <HASH>..<HASH> 100644
--- a/lib/FieldType/Mapper/RelationListFormMapper.php
+++ b/lib/FieldType/Mapper/RelationListFormMapper.php
@@ -48,7 +48,7 @@ class RelationListFormMapper implements FieldTypeFormMa... | Fix EZP-<I>: "Allowed content types" selected item, from ezobjectrelationlist, changes under certain conditions | ezsystems_repository-forms | train | php |
df09b773c50ca3200503f2be25a1c5f69d0666be | diff --git a/src/connection.js b/src/connection.js
index <HASH>..<HASH> 100644
--- a/src/connection.js
+++ b/src/connection.js
@@ -149,6 +149,9 @@ Connection.prototype.send = function(message) {
if (this._options['apisecret']) {
message.apisecret = this._options['apisecret'];
}
+ if (!message['transaction']... | Always add transaction on connection.send if it's not present | cargomedia_janus-gateway-js | train | js |
47dc91581c9c0da0691a1861ab76b72bfd74313d | diff --git a/MEA_package/ProgramFiles/regression_tests.py b/MEA_package/ProgramFiles/regression_tests.py
index <HASH>..<HASH> 100755
--- a/MEA_package/ProgramFiles/regression_tests.py
+++ b/MEA_package/ProgramFiles/regression_tests.py
@@ -28,9 +28,6 @@ def create_options_parser():
# install it
if os.p... | removed the /usr/share sundials loc as we dont need it | theosysbio_means | train | py |
b9af9bf0185a47ed25d3b1c8de03f872cf42dfb1 | diff --git a/manticore/platforms/linux.py b/manticore/platforms/linux.py
index <HASH>..<HASH> 100644
--- a/manticore/platforms/linux.py
+++ b/manticore/platforms/linux.py
@@ -868,7 +868,7 @@ class Linux(Platform):
for mpath in env['LD_LIBRARY_PATH'].split(":"):
interpreter_path_fil... | Fixed variable name typo. Issue #<I>. (#<I>) | trailofbits_manticore | train | py |
bac4ccead7048486fea4c92115e6b97a9ade7eee | diff --git a/src/client/websocket/packets/WebSocketPacketManager.js b/src/client/websocket/packets/WebSocketPacketManager.js
index <HASH>..<HASH> 100644
--- a/src/client/websocket/packets/WebSocketPacketManager.js
+++ b/src/client/websocket/packets/WebSocketPacketManager.js
@@ -95,6 +95,11 @@ class WebSocketPacketManag... | "knock, knock. who's there. discord, lol" (#<I>) | discordjs_discord.js | train | js |
717067833c72ce49fa6b0481760b3a352471ad31 | diff --git a/src/main/java/com/microsoft/aad/adal4j/AuthenticationAuthority.java b/src/main/java/com/microsoft/aad/adal4j/AuthenticationAuthority.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/microsoft/aad/adal4j/AuthenticationAuthority.java
+++ b/src/main/java/com/microsoft/aad/adal4j/AuthenticationAuthorit... | adding login.microsoftonline.us to Authority trusted hosts list | AzureAD_azure-activedirectory-library-for-java | train | java |
4a4de777488feb49e9da13eb26bf9f46ee2c5e3a | diff --git a/src/Watson/Sitemap/Sitemap.php b/src/Watson/Sitemap/Sitemap.php
index <HASH>..<HASH> 100644
--- a/src/Watson/Sitemap/Sitemap.php
+++ b/src/Watson/Sitemap/Sitemap.php
@@ -136,7 +136,17 @@ class Sitemap
*/
public function xml()
{
- return $this->renderSitemap()->getOriginalContent();
+... | Add method to get original content from index (#<I>) | dwightwatson_sitemap | train | php |
3a4049a9d2d384c1c4738041edc34c530f69ace9 | diff --git a/lib/faker/business.rb b/lib/faker/business.rb
index <HASH>..<HASH> 100644
--- a/lib/faker/business.rb
+++ b/lib/faker/business.rb
@@ -10,7 +10,7 @@ module Faker
end
def credit_card_expiry_date
- ::Date.today + (365 * rand(1..4))
+ ::Date.today + (365 * (rand(4) + 1))
en... | fixed for compatibility with ruby <I> | stympy_faker | train | rb |
7435be55394d7b1c4cbadae8574976455eae19a9 | diff --git a/library/src/com/johnliu/swipefinish/core/SwipeFinishActivity.java b/library/src/com/johnliu/swipefinish/core/SwipeFinishActivity.java
index <HASH>..<HASH> 100644
--- a/library/src/com/johnliu/swipefinish/core/SwipeFinishActivity.java
+++ b/library/src/com/johnliu/swipefinish/core/SwipeFinishActivity.java
@... | Add some comments for SwipeFinshActivity. | liuguangqiang_SwipeBack | train | java |
61a55720a4942efea39333994d8ad0422eae445a | diff --git a/controllers/FrontController.php b/controllers/FrontController.php
index <HASH>..<HASH> 100644
--- a/controllers/FrontController.php
+++ b/controllers/FrontController.php
@@ -221,9 +221,9 @@ class FrontController
$video = $this->download->getJSON($url, $format);
$client = new \GuzzleHttp\C... | Don't include Content-Length for now | Rudloff_alltube | train | php |
71d6fa1793e4c9e4a81b67c59a6bd2207337f01d | diff --git a/telegram_handler/formatters.py b/telegram_handler/formatters.py
index <HASH>..<HASH> 100644
--- a/telegram_handler/formatters.py
+++ b/telegram_handler/formatters.py
@@ -32,7 +32,7 @@ class StyledFormatter(TelegramFormatter):
def __init__(self, *args, **kwargs):
if 'escape_message' in kwarg... | Setting escape_message field missed | sashgorokhov_python-telegram-handler | train | py |
94f9bec937f233b6b3177525b35022931accb5fd | diff --git a/web/concrete/core/models/file.php b/web/concrete/core/models/file.php
index <HASH>..<HASH> 100644
--- a/web/concrete/core/models/file.php
+++ b/web/concrete/core/models/file.php
@@ -443,11 +443,14 @@ class Concrete5_Model_File extends Object {
if ($fvID == null) {
$fvID = $this->fvID; // approved ve... | Fix Version Display in Dashboard
Fix version display in dashboard view.
`$this->fv` was storing on file version and caching that. This caused
the same version as the first one to always be returned.
Change to `CacheLocal::set()` `CacheLocal::getEntry()`
Former-commit-id: 4fd6fa<I>b2e<I>deeb<I>ff3cbb8c<I>cbf<I>fe0f | concrete5_concrete5 | train | php |
5fe9ec692529c9d00e429a968f1624e4efda828c | diff --git a/verisure/session.py b/verisure/session.py
index <HASH>..<HASH> 100644
--- a/verisure/session.py
+++ b/verisure/session.py
@@ -91,6 +91,7 @@ class Session(object):
self._request_cookies = None
# The login with stored cookies failed, try to get a new one
+ last_exception = None... | Raise on login error, after all attempts are exhausted (#<I>) | persandstrom_python-verisure | train | py |
9ab03e40859234839a6ceace4ba1230fe155efbc | diff --git a/lib/nucleon/action/node/provision.rb b/lib/nucleon/action/node/provision.rb
index <HASH>..<HASH> 100644
--- a/lib/nucleon/action/node/provision.rb
+++ b/lib/nucleon/action/node/provision.rb
@@ -69,7 +69,7 @@ class Provision < Nucleon.plugin_class(:nucleon, :cloud_action)
end
... | Adding time output variable to the provision node action provider. | coralnexus_corl | train | rb |
c50276f1d0c2ddd6c83cbb59f36ca3d3e3de5fdb | diff --git a/lib/iso/iban.rb b/lib/iso/iban.rb
index <HASH>..<HASH> 100644
--- a/lib/iso/iban.rb
+++ b/lib/iso/iban.rb
@@ -2,6 +2,7 @@
require 'iso/iban/specification'
require 'iso/iban/version'
+require 'yaml'
module ISO | Require yaml. | apeiros_iso-iban | train | rb |
5621228c38d7bec3e7540ae6ba126f7a6f3a394d | diff --git a/django_jenkins/runner.py b/django_jenkins/runner.py
index <HASH>..<HASH> 100644
--- a/django_jenkins/runner.py
+++ b/django_jenkins/runner.py
@@ -136,10 +136,11 @@ class CITestSuiteRunner(DiscoverRunner):
"""
Continuous integration test runner
"""
- def __init__(self, output_dir, with_rep... | Allow to use pdb under jenkins Close #<I> | kmmbvnr_django-jenkins | train | py |
3bc1ae248e64c758a09a70d6d1188b7651052323 | diff --git a/great_expectations/data_context/datasource/databricks_generator.py b/great_expectations/data_context/datasource/databricks_generator.py
index <HASH>..<HASH> 100644
--- a/great_expectations/data_context/datasource/databricks_generator.py
+++ b/great_expectations/data_context/datasource/databricks_generator.... | Update timestamp generation for databricks_generator | great-expectations_great_expectations | train | py |
6928dbfd6568a9cbea97cfa654e2d9a022ffd4d9 | diff --git a/lib/fog/ibm/models/compute/server.rb b/lib/fog/ibm/models/compute/server.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/ibm/models/compute/server.rb
+++ b/lib/fog/ibm/models/compute/server.rb
@@ -150,7 +150,7 @@ module Fog
# Expires the instance immediately
def expire!
- expire_a... | [ibm] Set expire a few seconds in the future since it takes a while to process | fog_fog | train | rb |
941d63e6edd792f85ee2ef2d7b2d926aceda70fb | diff --git a/ssllabs-scan.go b/ssllabs-scan.go
index <HASH>..<HASH> 100644
--- a/ssllabs-scan.go
+++ b/ssllabs-scan.go
@@ -391,19 +391,19 @@ func invokeGetRepeatedly(url string) (*http.Response, []byte, error) {
return resp, body, nil
} else {
- if err.Error() == "EOF" {
+ if strings.Contains(err.Error(), ... | Fix retry on HTTP EOF. | ssllabs_ssllabs-scan | train | go |
f2791286b5769572a7f313ec54052ad6440f6c8f | diff --git a/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrSession.java b/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrSession.java
index <HASH>..<HASH> 100644
--- a/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrSession.java
+++ b/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrSession.java
@@ -1256,14 +1256... | MODE-<I>: Add permission checking using ACM within authorizer block | ModeShape_modeshape | train | java |
14a4303a547dc0c91db4f8427e3f14b66125d8a3 | diff --git a/src/Response/Status.php b/src/Response/Status.php
index <HASH>..<HASH> 100644
--- a/src/Response/Status.php
+++ b/src/Response/Status.php
@@ -65,11 +65,11 @@ class Status implements ResponseInterface
switch ($payload) {
case 'OK':
case 'QUEUED':
- if (!isse... | Apply easy micro-optimization. | imcj_predis | train | php |
baf4a63c33dca4cc4a836abda2826abe9a5425c3 | diff --git a/router/routes.go b/router/routes.go
index <HASH>..<HASH> 100644
--- a/router/routes.go
+++ b/router/routes.go
@@ -150,11 +150,12 @@ func (rm *RouteManager) Route(route *Route, logstream chan *Message) {
}
func (rm *RouteManager) RoutingFrom(containerID string) bool {
- routing := false
for _, router ... | Simplify and add early exit to RoutingFrom | gliderlabs_logspout | train | go |
7bdfe2bfe7208c81a16513642c8081917976ebcc | diff --git a/xerox/darwin.py b/xerox/darwin.py
index <HASH>..<HASH> 100644
--- a/xerox/darwin.py
+++ b/xerox/darwin.py
@@ -14,7 +14,7 @@ def copy(string):
"""Copy given string into system clipboard."""
try:
subprocess.Popen(['pbcopy'], stdin=subprocess.PIPE).communicate(str(unicode(string)))
- exc... | Use `except Exception as why` syntax rather than `except Exception, why` | kennethreitz_xerox | train | py,py |
7ebd3967299606094c7cdc62a6b7c965f0b7376c | diff --git a/src/array.js b/src/array.js
index <HASH>..<HASH> 100644
--- a/src/array.js
+++ b/src/array.js
@@ -69,6 +69,9 @@ class RynoArray extends RynoObject {
// Public: Returns the current length of the array.
get length() { return this.__elements__.length; }
+ // Public: Returns the backing native array.
... | Adds Array#native property. | centro_transis | train | js |
160ad19ea6bff9fa15346c04087e5b4b864b7065 | diff --git a/test/actions/pulp3/orchestration/file_delete_test.rb b/test/actions/pulp3/orchestration/file_delete_test.rb
index <HASH>..<HASH> 100644
--- a/test/actions/pulp3/orchestration/file_delete_test.rb
+++ b/test/actions/pulp3/orchestration/file_delete_test.rb
@@ -9,7 +9,7 @@ class FileDeleteTest < ActiveSupport:... | Fixes #<I> - repairs file delete test setup | Katello_katello | train | rb |
6ac34a483604895a787106485dadcf19f84b9bdc | diff --git a/lib/ways.js b/lib/ways.js
index <HASH>..<HASH> 100644
--- a/lib/ways.js
+++ b/lib/ways.js
@@ -35,11 +35,15 @@ module.exports = function(pattern, runner, destroyer, dependency){
exports = module.exports;
+exports.init = function() {
+ dispatch(this.pathname());
+};
+
exports.mode = function (m){
r... | adding `init` method to keep state clean | arboleya_ways | train | js |
e0bd24f8e5b91acc009c8f0f5d304efa4671ed61 | diff --git a/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java b/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java
index <HASH>..<HASH> 100755
--- a/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java
+++ b/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java
@@ -181,7 +181,7 ... | make an envy class have to dominate other enviors | mebigfatguy_fb-contrib | train | java |
45bf925ef04b97bfc7bdf7b39f1f5f481a261ec8 | diff --git a/release/golden_notebook_tests/workloads/torch_tune_serve_test.py b/release/golden_notebook_tests/workloads/torch_tune_serve_test.py
index <HASH>..<HASH> 100644
--- a/release/golden_notebook_tests/workloads/torch_tune_serve_test.py
+++ b/release/golden_notebook_tests/workloads/torch_tune_serve_test.py
@@ -1... | [train/serve] Fix torch tune serve test (#<I>)
#<I> broke the smoke test as it was not run on CI - this PR hotfixes this | ray-project_ray | train | py |
bcf61f1e98b3433ff683f862bb3706d02c153300 | diff --git a/rest-provider/src/main/java/org/jboss/pressgang/ccms/wrapper/RESTTranslatedCSNodeV1Wrapper.java b/rest-provider/src/main/java/org/jboss/pressgang/ccms/wrapper/RESTTranslatedCSNodeV1Wrapper.java
index <HASH>..<HASH> 100644
--- a/rest-provider/src/main/java/org/jboss/pressgang/ccms/wrapper/RESTTranslatedCSNo... | Fixed a bug where the Translated CSNode Revision attribute wasn't being set to be saved. | pressgang-ccms_PressGangCCMSDatasourceProviders | train | java |
54c7ae9d1f6c0cdc318d80d284d8c654435d7d51 | diff --git a/web/opensubmit/admin/submission.py b/web/opensubmit/admin/submission.py
index <HASH>..<HASH> 100644
--- a/web/opensubmit/admin/submission.py
+++ b/web/opensubmit/admin/submission.py
@@ -233,11 +233,8 @@ class SubmissionAdmin(ModelAdmin):
'''
if db_field.name == "grading":
sub... | Show only assignment grading options, fixes regression of #<I> | troeger_opensubmit | train | py |
06988f6e0638e088137fe2b55368bdfe41f97184 | diff --git a/emit/router.py b/emit/router.py
index <HASH>..<HASH> 100644
--- a/emit/router.py
+++ b/emit/router.py
@@ -278,9 +278,12 @@ class Router(object):
pass
for origin in resolved:
- self.routes.setdefault(origin, set())
- self.routes[origin].add(desti... | fix too much logging in regenerate_routes | BrianHicks_emit | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.