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 |
|---|---|---|---|---|---|
c839abd380a91a2330c0c08415e134cf72e03f0a | diff --git a/src/core/events.js b/src/core/events.js
index <HASH>..<HASH> 100644
--- a/src/core/events.js
+++ b/src/core/events.js
@@ -1,6 +1,5 @@
import EventEmitter from 'eventemitter2'
import store from '../store/store'
-import { actions } from '../store/actions'
import * as selectors from '../store/selectors'
... | fixed some unconsequential lint errors | onfido_onfido-sdk-core | train | js |
da0ca99c26a7a8511cacec3e6e6b8d78daf317f6 | diff --git a/src/com/googlecode/pngtastic/ant/PngOptimizerTask.java b/src/com/googlecode/pngtastic/ant/PngOptimizerTask.java
index <HASH>..<HASH> 100644
--- a/src/com/googlecode/pngtastic/ant/PngOptimizerTask.java
+++ b/src/com/googlecode/pngtastic/ant/PngOptimizerTask.java
@@ -94,9 +94,11 @@ public class PngOptimizerT... | Fix for Issue#2: [ant] DataUriCss.html file created when not requested. | depsypher_pngtastic | train | java |
09613cc324178f8653c276b5b44531734cd653c6 | diff --git a/code/administrator/components/com_files/views/files/tmpl/default.php b/code/administrator/components/com_files/views/files/tmpl/default.php
index <HASH>..<HASH> 100644
--- a/code/administrator/components/com_files/views/files/tmpl/default.php
+++ b/code/administrator/components/com_files/views/files/tmpl/d... | re #<I> Placeholders we like! | joomlatools_joomlatools-framework | train | php |
b342e64f30f3439ef39d17b91165855786bc0cfb | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -1,6 +1,5 @@
<?php // $Id$
-
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF CO... | MDL-<I> fix bad XHTML in the messaging popup, merged from <I> | moodle_moodle | train | php |
afdc25f729a0a53c652e1dc80f5f7033dd47c89e | diff --git a/grace/zipit.py b/grace/zipit.py
index <HASH>..<HASH> 100644
--- a/grace/zipit.py
+++ b/grace/zipit.py
@@ -29,9 +29,9 @@ class Zip:
def _zip(self, source, name):
try:
- dest = os.path.join(self._config['zip_path'], name + '.zip')
+ dest = os.path.join(self._config['zip_... | Version in ZipPath
Added the version to the zip path, or rather the name of the output:
path/to/zip/ProjectName_<I>.zip | mdiener_grace | train | py |
b24ba5cab7d91855d0757638fb1e790b05aef922 | diff --git a/oxd-node-client/index.js b/oxd-node-client/index.js
index <HASH>..<HASH> 100755
--- a/oxd-node-client/index.js
+++ b/oxd-node-client/index.js
@@ -59,9 +59,10 @@ app.use('/',login);
app.use('/',register_site);
var options = {
- key: fs.readFileSync(__dirname+'//key.pem'),
+ key: fs.readFileSync(__dirn... | minor bug fix, and added info for ssl certificate in client app | GluuFederation_oxd-node | train | js |
17509f9964988016161b54c27b788847c4ac67af | diff --git a/web/src/main/java/uk/ac/ebi/atlas/trader/loader/ExperimentsCacheLoader.java b/web/src/main/java/uk/ac/ebi/atlas/trader/loader/ExperimentsCacheLoader.java
index <HASH>..<HASH> 100644
--- a/web/src/main/java/uk/ac/ebi/atlas/trader/loader/ExperimentsCacheLoader.java
+++ b/web/src/main/java/uk/ac/ebi/atlas/tra... | Fix experiment names missing in /gxa/json/experiments | ebi-gene-expression-group_atlas | train | java |
c820f18f32ebabd676a0ef89bb25b20953f0dc07 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1770,6 +1770,7 @@ function DiscordClient(options) {
if (playingAF) {
streamRef.stdout.end();
streamRef.kill();
+ playingAF = false;
} else {
console.log("Not playing anyth... | Change the playingAF variable
I swore I had this before. | izy521_discord.io | train | js |
7917ae445f3deb1a25efa21971a5dd87253e1c3b | diff --git a/benchexec/model.py b/benchexec/model.py
index <HASH>..<HASH> 100644
--- a/benchexec/model.py
+++ b/benchexec/model.py
@@ -44,6 +44,14 @@ PROPERTY_TAG = "propertyfile"
_BYTE_FACTOR = 1000 # byte in kilobyte
+_ERROR_RESULTS_FOR_TERMINATION_REASON = {
+ "memory": "OUT OF MEMORY",
+ "killed": "KILLE... | If termination reason is set, always overwrite status of result.
Previously this was done only for timeouts and out-of-memory,
now it is also done if another limit is violated. | sosy-lab_benchexec | train | py |
df797b0ab2543735f87a147082a77364264d42b0 | diff --git a/resilience4j-retrofit/src/main/java/io/github/resilience4j/retrofit/RetrofitCircuitBreaker.java b/resilience4j-retrofit/src/main/java/io/github/resilience4j/retrofit/RetrofitCircuitBreaker.java
index <HASH>..<HASH> 100644
--- a/resilience4j-retrofit/src/main/java/io/github/resilience4j/retrofit/RetrofitCir... | Changed the style of the <code> example to avoid javadoc errors | resilience4j_resilience4j | train | java |
9703dd3aa232ad28a15324456f7ae288e446600b | diff --git a/tests/Functional/FunctionalTest.php b/tests/Functional/FunctionalTest.php
index <HASH>..<HASH> 100644
--- a/tests/Functional/FunctionalTest.php
+++ b/tests/Functional/FunctionalTest.php
@@ -21,14 +21,22 @@ use function file_get_contents;
use function implode;
use function in_array;
use function rtrim;
+... | Set locale explicitly
Since PHP 8, it is required. | doctrine_rst-parser | train | php |
fa8525ca48209951f78c1139e433387d2722ff44 | diff --git a/lib/scrolls/log.rb b/lib/scrolls/log.rb
index <HASH>..<HASH> 100644
--- a/lib/scrolls/log.rb
+++ b/lib/scrolls/log.rb
@@ -117,8 +117,9 @@ module Scrolls
return unless block_given?
old = context
self.context = old.merge(prefix)
- yield if block_given?
+ res = yield if block_gi... | Return the result of the block #<I> | asenchi_scrolls | train | rb |
d6bdb18ec790e8d08d399bd880ae11e3666c3a3b | diff --git a/lib/zookeeper.js b/lib/zookeeper.js
index <HASH>..<HASH> 100644
--- a/lib/zookeeper.js
+++ b/lib/zookeeper.js
@@ -51,7 +51,7 @@ function ZooKeeper(config) {
proxyProperty('client_id');
proxyProperty('is_unrecoverable');
- self.encoding = null;
+ self.encoding = 'utf8';
self.setEncoding = f... | default should be 'utf8', not raw Buffer (I got back-compat wrong). Also, aw_get is a data callback too. add encoding logic there | yfinkelstein_node-zookeeper | train | js |
590cb9ff26d5ffd6cb3219cdb193e3e1235d6ea5 | diff --git a/more_itertools/more.py b/more_itertools/more.py
index <HASH>..<HASH> 100644
--- a/more_itertools/more.py
+++ b/more_itertools/more.py
@@ -167,7 +167,7 @@ def collate(*iterables, **kwargs):
while peekables:
_, p = min_or_max((key(p.peek()), p) for p in peekables)
yield p.next()
- ... | Fix: variable `p` overrides previous definition.
In Python 2.x, the loop variable from a list comprehension bleeds into
the calling context, overriding local `p` in this case. | erikrose_more-itertools | train | py |
2bd70961046d0e1696df30ba64fee913f093d03a | diff --git a/lib/eztemplate/classes/eztemplatecompiler.php b/lib/eztemplate/classes/eztemplatecompiler.php
index <HASH>..<HASH> 100644
--- a/lib/eztemplate/classes/eztemplatecompiler.php
+++ b/lib/eztemplate/classes/eztemplatecompiler.php
@@ -1227,6 +1227,10 @@ class eZTemplateCompiler
$new... | - Fixed a bug in processElementTransformationChild() in which
operators without transformation support would be skipped
from the result.
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
4387454a22ad6259c2c354f9abfeec04094bab21 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,8 @@ def configuration():
extension_config_data = {
'sources': ['numexpr/interpreter.c'],
'depends': ['numexpr/interp_body.c',
- 'numexpr/complex_functions.inc'],
+ ... | Added a new dependency of msvc_function_stubs.inc. | pydata_numexpr | train | py |
736161e013cb7de5f67213f0df27c1ce319d6c0a | diff --git a/lib/flash.js b/lib/flash.js
index <HASH>..<HASH> 100644
--- a/lib/flash.js
+++ b/lib/flash.js
@@ -1,6 +1,14 @@
+// System Objects
+// ...
+
+// Third Party Dependencies
var async = require('async');
-var PAGE = 256;
+
+// Internal
var log = require('./log');
+
+// Constants
+var PAGE = 256;
var CHIP_ID ... | Arrange require statements according to project style | tessel_t2-cli | train | js,js |
975155e1ca6718a09c8cb291c17a5932339a13fb | diff --git a/can-react.js b/can-react.js
index <HASH>..<HASH> 100644
--- a/can-react.js
+++ b/can-react.js
@@ -178,14 +178,19 @@ export default {
}
});
- // set Function.name to proto.name, this way the React Dev Tools
- // shows the correct tag name instead of a generic "Component".
- Object.defineProperty... | Workaround Safari TypeError issue.
Closes #7. | canjs_can-react | train | js |
f2c0dbb42482e616d6198d2f43868387c0ef85b6 | diff --git a/lib/model.js b/lib/model.js
index <HASH>..<HASH> 100644
--- a/lib/model.js
+++ b/lib/model.js
@@ -29,8 +29,8 @@ class Model extends Database.Model {
*
* module.exports = Model.register('User', User);
*/
- static register (...args) {
- return Database.model(...args)
+ static register () {... | Remove spread operator for wider node coverage | hello-js_hello | train | js |
a44f8bc59ef0ce8dae5f98cfddfda31e3d1d5b11 | diff --git a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java b/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
index <HASH>..<HASH> 100644
--- a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
+++ b/spri... | Increase SampleIntegrationTests run timeouts
Increase the timeouts to give CI builds more time should dependencies
be missing. | spring-projects_spring-boot | train | java |
8ee7fa52e5ad1d8a717c87857086cbd43e783448 | diff --git a/src/lib/items/Items.js b/src/lib/items/Items.js
index <HASH>..<HASH> 100644
--- a/src/lib/items/Items.js
+++ b/src/lib/items/Items.js
@@ -99,7 +99,7 @@ export default class Items extends Component {
return this.props.selectedItem === _get(item, itemIdKey)
} else {
let target = _get(item,... | isSelected use includes, find will return a string which is no a valid proptype for item selected | namespace-ee_react-calendar-timeline | train | js |
bd540f947e751cd1f25d69c2f7e8492aa23023b4 | diff --git a/tests/test_generator.py b/tests/test_generator.py
index <HASH>..<HASH> 100644
--- a/tests/test_generator.py
+++ b/tests/test_generator.py
@@ -209,7 +209,7 @@ def test_generate_iam():
)
iam_group = PROJECTS[project]['project']
- iam_lambda_role = '{0}_lambda_role'.format(iam_base)... | fixed test as well with lambda roles | foremast_gogo-utils | train | py |
8947bb76736c8fe80a09b58d571feb1a3c207936 | diff --git a/src/cluster/shard.go b/src/cluster/shard.go
index <HASH>..<HASH> 100644
--- a/src/cluster/shard.go
+++ b/src/cluster/shard.go
@@ -256,7 +256,7 @@ func (self *ShardData) ShouldAggregateLocally(querySpec *parser.QuerySpec) bool
if groupByInterval == nil {
return false
}
- if groupByInterval.Seconds()... | Fix bug where group by times that are less than duration of a shard but would require a split would not be calculated properly. | influxdata_influxdb | train | go |
d9df954fac136694065611ab8973fa2812738424 | diff --git a/test/test.main.js b/test/test.main.js
index <HASH>..<HASH> 100644
--- a/test/test.main.js
+++ b/test/test.main.js
@@ -74,7 +74,7 @@ exports['Tile Batch'] = function(beforeExit) {
bbox: [-180.0,-85,180,85],
format: 'png',
minzoom: 0,
- maxzoom: 1,
+ maxzoom: 2,
... | Render zoom levels 0-2 in test. | mapbox_tilelive | train | js |
49cdc1ad2aba0be4c6102619584a664343ceec2d | diff --git a/bokeh/io.py b/bokeh/io.py
index <HASH>..<HASH> 100644
--- a/bokeh/io.py
+++ b/bokeh/io.py
@@ -648,6 +648,7 @@ def export(obj, filename=None):
canvas = driver.find_element_by_tag_name('canvas')
wait_for_canvas_resize(canvas, driver)
+ driver.maximize_window()
driver.save_screenshot(filen... | Maximize window to prevent clipping | bokeh_bokeh | train | py |
87ae98637ac7389f1780c82cab96f343e16d1d50 | diff --git a/src/harvesters/core.py b/src/harvesters/core.py
index <HASH>..<HASH> 100644
--- a/src/harvesters/core.py
+++ b/src/harvesters/core.py
@@ -1787,8 +1787,7 @@ class ImageAcquirer:
@timeout_for_image_acquisition.setter
def timeout_for_image_acquisition(self, ms):
- with self.thread_image_acq... | Resolve issue #<I>
* Fixed some defects that found during the debug session with Marco. | genicam_harvesters | train | py |
16429d48065a58d9b6e35e7957834f806d15f06d | diff --git a/spyder/widgets/tabs.py b/spyder/widgets/tabs.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/tabs.py
+++ b/spyder/widgets/tabs.py
@@ -113,11 +113,13 @@ class EditTabNamePopup(QLineEdit):
# We are editing a valid tab, update name
tab_text = to_text_string(self.text())
... | Tabs: Emit a signal after a name change | spyder-ide_spyder | train | py |
2824bf2e155ab5809ed4018ca8e6175e32d60167 | diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js
index <HASH>..<HASH> 100644
--- a/packages/react-scripts/config/webpack.config.prod.js
+++ b/packages/react-scripts/config/webpack.config.prod.js
@@ -378,8 +378,15 @@ module.exports = {
// Minif... | [next] Revert to use ecma 5 in uglifyOptions (#<I>)
* Revert to use ecma 5 in uglifyOptions
* remove explicit ecma version from uglifyOptions settings
The defaults are already what we want
* be explicit of where we use ecma: 8 and ecma: 5 | facebook_create-react-app | train | js |
9ba3095bdc0a81a1546634160f2a20c3a0196d51 | diff --git a/src/time_slot.js b/src/time_slot.js
index <HASH>..<HASH> 100644
--- a/src/time_slot.js
+++ b/src/time_slot.js
@@ -4,6 +4,7 @@ Occasion.Modules.push(function(library) {
library.TimeSlot.className = 'TimeSlot';
library.TimeSlot.queryName = 'time_slots';
+ library.TimeSlot.belongsTo('order');
libr... | Add TimeSlot belongsTo order relationship | GetOccasion_occasion-sdk-js | train | js |
9159b5787c09acd4235da09528e84fd90eed3a37 | diff --git a/requests_oauthlib/oauth1_session.py b/requests_oauthlib/oauth1_session.py
index <HASH>..<HASH> 100644
--- a/requests_oauthlib/oauth1_session.py
+++ b/requests_oauthlib/oauth1_session.py
@@ -352,7 +352,7 @@ class OAuth1Session(requests.Session):
log.debug('Decoding token from response "%s"', r.te... | Strips new lines in fetch_token response body | requests_requests-oauthlib | train | py |
a1b8df455485716515092359f9c467ae5db08cf9 | diff --git a/aeron-util/src/test/java/uk/co/real_logic/aeron/util/concurrent/ringbuffer/RingBufferTestUtil.java b/aeron-util/src/test/java/uk/co/real_logic/aeron/util/concurrent/ringbuffer/RingBufferTestUtil.java
index <HASH>..<HASH> 100644
--- a/aeron-util/src/test/java/uk/co/real_logic/aeron/util/concurrent/ringbuffe... | [Java:] Removed unused methods. | real-logic_aeron | train | java |
73716a8c71fb743baa7e294b02c809af0f329a07 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,14 +3,13 @@ from setuptools import setup
setup(
name='checkpointer',
packages=['checkpointer', 'checkpointer.storages'],
- version='0.2.0',
+ version='0.3.0',
author='Hampus Hallman',
author_email='me@hampush... | bumped version number to <I> | Reddan_checkpointer | train | py |
3bc57c3b616e78e2ecd3a88455218ce0ca4b3d33 | diff --git a/lib/multirepo/commands/command.rb b/lib/multirepo/commands/command.rb
index <HASH>..<HASH> 100644
--- a/lib/multirepo/commands/command.rb
+++ b/lib/multirepo/commands/command.rb
@@ -39,7 +39,7 @@ module MultiRepo
end
def uninstall_hooks
- File.delete(".git/hooks/pre-commit")
+ Fil... | Uninit does not complain anymore if files are already missing. | fortinmike_git-multirepo | train | rb,rb |
8f856eef06b874890966cf5f64e81a4b02954d01 | diff --git a/catan/boardbuilder.py b/catan/boardbuilder.py
index <HASH>..<HASH> 100644
--- a/catan/boardbuilder.py
+++ b/catan/boardbuilder.py
@@ -178,7 +178,6 @@ def _generate_tiles(terrain_opts, numbers_opts):
catan.board.HexNumber.eleven,
catan.board.HexNumber.four,
... | <I>: preset numbers fixed: number will not be placed on the desert tile | rosshamish_catan-py | train | py,py |
f0d2b8aafd8eb13ecb52e688bf34f846d51a2dab | diff --git a/shinken/daemons/arbiterdaemon.py b/shinken/daemons/arbiterdaemon.py
index <HASH>..<HASH> 100644
--- a/shinken/daemons/arbiterdaemon.py
+++ b/shinken/daemons/arbiterdaemon.py
@@ -398,9 +398,9 @@ class Arbiter(Daemon):
for arb in self.conf.arbiterlinks:
if (arb.address, arb.port) == (se... | fix: bad lambda for is_me + previous commit was missing a bit. | Alignak-monitoring_alignak | train | py,py |
c60152acd16606103349e86ecc0dc7ece2febcc0 | diff --git a/graylog2-server/src/main/java/org/graylog2/periodical/GarbageCollectionWarningThread.java b/graylog2-server/src/main/java/org/graylog2/periodical/GarbageCollectionWarningThread.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/periodical/GarbageCollectionWarningThread.java
+... | skip gc collection notifications for collectors that run mostly in parallel to the application
our defaults ParNew and CMS will run mostly in parallel and can thus often take longer than the default threshold of 1 second
unfortunately the JMX api does not tell us which phase, especially of CMS, took long, so we skip r... | Graylog2_graylog2-server | train | java |
9805fee332617a00b508efae29549394b83af7cd | diff --git a/tests/phactor_tests.php b/tests/phactor_tests.php
index <HASH>..<HASH> 100644
--- a/tests/phactor_tests.php
+++ b/tests/phactor_tests.php
@@ -59,11 +59,24 @@ class PhactorTest extends \PHPUnit_Framework_TestCase
$priv_key = 'e47ff439a14a0756f555c3f695fbb3361befad272ffca3c5d64b76cd31cd9023';
... | Added new getKeypairInfo test
and fixed missing key object in pem encoding test. | ionux_phactor | train | php |
aa8119e30f1d7a51c60ed8a8b381dbeca71e96c9 | diff --git a/kitnirc/contrib/cron.py b/kitnirc/contrib/cron.py
index <HASH>..<HASH> 100644
--- a/kitnirc/contrib/cron.py
+++ b/kitnirc/contrib/cron.py
@@ -175,8 +175,10 @@ class CronModule(Module):
Timespecs are strings in the following formats:
Plain integer - specifies that exact value for the... | Add ?/X to docstring for ADDCRON handler | ayust_kitnirc | train | py |
f4c8d0e8b33fa9c08a2f85c99f64e03219899304 | diff --git a/struct.go b/struct.go
index <HASH>..<HASH> 100644
--- a/struct.go
+++ b/struct.go
@@ -162,7 +162,8 @@ func setWithProperType(t reflect.Type, key *Key, field reflect.Value, delim stri
// byte is an alias for uint8, so supporting uint8 breaks support for byte
case reflect.Uint, reflect.Uint16, reflect.Ui... | #<I> fix value zero (0) of uint cause misjudge as time.Duration | go-ini_ini | train | go |
13af342c34e04a8e526c4bd11bbe4f5270e7f8fa | diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -282,6 +282,10 @@ module ActiveRecord
end
def autosave=(autosave)
... | explain why autosave= disables inverse_of [ci skip] | rails_rails | train | rb |
e34d2a31ab7334cf78acb2d663ac41e435b6b9dc | diff --git a/modelx/core/api.py b/modelx/core/api.py
index <HASH>..<HASH> 100644
--- a/modelx/core/api.py
+++ b/modelx/core/api.py
@@ -15,7 +15,7 @@ from types import FunctionType as _FunctionType
from modelx.core import system as _system
from modelx.core.cells import CellsMaker as _CellsMaker
-from modelx.core.bas... | renamed get_interfaces to _get_interfaces | fumitoh_modelx | train | py |
4aaa86edbe3bf7e5db8b350b2f4f50f5064e6e52 | diff --git a/lib/transforms/buildProduction.js b/lib/transforms/buildProduction.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/buildProduction.js
+++ b/lib/transforms/buildProduction.js
@@ -111,7 +111,7 @@ module.exports = function (options) {
sizeThreshold = inlineByRelationType['*'];
... | buildProduction: Use asset.lastKnownByteLength rather than .rawSrc.length when determining what to inline.
Less accurate, but potentially saves a lot of serializations. | assetgraph_assetgraph-builder | train | js |
5359c33e398fccc9ed25b640f610a66827542852 | diff --git a/allegedb/allegedb/__init__.py b/allegedb/allegedb/__init__.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/__init__.py
+++ b/allegedb/allegedb/__init__.py
@@ -628,6 +628,7 @@ class ORM(object):
self.query.new_branch(v, curbranch, curturn, curtick)
self._branches[v] = curbra... | Prevent time warp to before the start of a branch when you create it
This sets _turn_end even if you're planning, which I think is ok
in the case of a fork in the timestream | LogicalDash_LiSE | train | py |
d6adbe56391f460bab9bfb4ecece4a1de4f96628 | diff --git a/src/Carbon/Lang/nl.php b/src/Carbon/Lang/nl.php
index <HASH>..<HASH> 100644
--- a/src/Carbon/Lang/nl.php
+++ b/src/Carbon/Lang/nl.php
@@ -29,6 +29,7 @@
* - adriaanzon
* - MonkeyPhysics
* - JeroenG
+ * - RikSomers
*/
return [
'year' => ':count jaar|:count jaar', | Fix #<I> mention issue author | briannesbitt_Carbon | train | php |
1d08d5e6131e883829825c5eb0e1916ced83a87d | diff --git a/tests/Balanced/SuiteTest.php b/tests/Balanced/SuiteTest.php
index <HASH>..<HASH> 100644
--- a/tests/Balanced/SuiteTest.php
+++ b/tests/Balanced/SuiteTest.php
@@ -659,6 +659,13 @@ class SuiteTest extends \PHPUnit_Framework_TestCase
$this->assertFalse(property_exists($credit->bank_account, 'id'));
... | should be able to get top level resources by id | balanced_balanced-php | train | php |
b78654238aa5caafeb9bbfda4b001b4fe1837c12 | diff --git a/lib/action_kit_rest/response/raise_error.rb b/lib/action_kit_rest/response/raise_error.rb
index <HASH>..<HASH> 100644
--- a/lib/action_kit_rest/response/raise_error.rb
+++ b/lib/action_kit_rest/response/raise_error.rb
@@ -10,7 +10,7 @@ module ActionKitRest
elsif status_code == 404
r... | NotFound should descend from StandardError | controlshift_action_kit_rest | train | rb |
cda4191d332227ec36743c05b543efbf3d0bbc0c | diff --git a/rollbar/__init__.py b/rollbar/__init__.py
index <HASH>..<HASH> 100644
--- a/rollbar/__init__.py
+++ b/rollbar/__init__.py
@@ -714,7 +714,7 @@ def _build_werkzeug_request_data(request):
}
if request.get_json():
- request_data['body'] = _scrub_request_params(request.json)
+ request_... | non-string requests bodies were causing an api error | rollbar_pyrollbar | train | py |
764a6819d9f515d4d9753e13f29bc7e11e98375d | diff --git a/lib/codecov.js b/lib/codecov.js
index <HASH>..<HASH> 100644
--- a/lib/codecov.js
+++ b/lib/codecov.js
@@ -556,6 +556,9 @@ var upload = function(args, on_success, on_failure) {
}
function sanitizeVar(arg) {
+ if (!arg) {
+ return ''
+ }
return arg.replace(/&/g, '')
}
diff --git a/test/index.t... | Fix broken gcov command
The gcov command can't be generated if none of the gcov options are
given on the command line, since sanitizeVar() will throw an exception
when given 'undefined' as input. This allows sanitizeVar() to accept an
input of 'undefined'. | codecov_codecov-node | train | js,js |
40a06a1de98e91612f9e78e56ccfc63eb009a998 | diff --git a/src/Core_Command.php b/src/Core_Command.php
index <HASH>..<HASH> 100644
--- a/src/Core_Command.php
+++ b/src/Core_Command.php
@@ -685,6 +685,22 @@ EOT;
} else {
WP_CLI::warning( "Multisite constants could not be written to 'wp-config.php'. You may need to add them manually:" . PHP_EOL . $ms_config... | Add code to remove bad data for site_admins after a multisite install | wp-cli_core-command | train | php |
0d0d29f69722ab8b24f6c8be156bbc5a6acd1037 | diff --git a/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php b/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php
index <HASH>..<HASH> 100755
--- a/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php
+++ b/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php
@@ -6... | Added IsFloat Assertion | bullhorn_fast-rest | train | php |
f31fe53e3e6a377eea9a2d033e36401cc5e9cc06 | diff --git a/addon/models/learner-group.js b/addon/models/learner-group.js
index <HASH>..<HASH> 100644
--- a/addon/models/learner-group.js
+++ b/addon/models/learner-group.js
@@ -18,6 +18,14 @@ export default Model.extend({
instructorGroups: hasMany('instructor-group', { async: true }),
users: hasMany('user', { a... | Add ancestor relationship to learner groups | ilios_common | train | js |
b201fd58a1262e130d7196966c440fc271bc0b3c | diff --git a/lib/ca.js b/lib/ca.js
index <HASH>..<HASH> 100644
--- a/lib/ca.js
+++ b/lib/ca.js
@@ -176,7 +176,7 @@ CA.prototype.getInstrumentationValueRaw = function(customer,
return this.client.get(request, function(err, instrumentation) {
if (err) return callback(self._translateError(err));
- return call... | Using instrumentations instead of instrumentation | joyent_node-sdc-clients | train | js |
50fb95e92a3317f57b9e0e270a6baea4cdb63e8e | diff --git a/properties/base.py b/properties/base.py
index <HASH>..<HASH> 100644
--- a/properties/base.py
+++ b/properties/base.py
@@ -209,6 +209,13 @@ class HasProperties(with_metaclass(PropertyMetaclass, object)):
props = {k: v for k, v in kv if v is not None}
return props
+ @classmethod
+ d... | Add a classmethod to filter dicts for relevant properties. | seequent_properties | train | py |
de0abfcc2630064ef252a5192b84033c68a07eb0 | diff --git a/tensorflow_datasets/public_api.py b/tensorflow_datasets/public_api.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/public_api.py
+++ b/tensorflow_datasets/public_api.py
@@ -38,6 +38,7 @@ from tensorflow_datasets.core.load import list_builders
from tensorflow_datasets.core.load import load
from t... | Add `tfds.typing` to the public API
PiperOrigin-RevId: <I> | tensorflow_datasets | train | py |
5e705221004fe78f901cd7461fe59da5dc926706 | diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb
index <HASH>..<HASH> 100644
--- a/activemodel/lib/active_model/dirty.rb
+++ b/activemodel/lib/active_model/dirty.rb
@@ -1,6 +1,7 @@
require 'active_model/attribute_methods'
require 'active_support/hash_with_indifferent_access'
... | Changing active model dirty module helper method to more appropriate method with helper #<I>
Changing active model dirty module helper method to more appropriate method with helper with Active Support Helper #<I>
Changing active model dirty module helper method to more appropriate method with helper with Active Suppo... | rails_rails | train | rb |
b9a164d506a620aa90b22a1b6eb76996f30158e1 | diff --git a/spark/io.go b/spark/io.go
index <HASH>..<HASH> 100644
--- a/spark/io.go
+++ b/spark/io.go
@@ -40,6 +40,30 @@ func Reader(r io.Reader) io.Reader {
})
}
+// ReaderOut wraps the reads of r with a SparkStream. The stream will
+// have Bytes units and refresh every 60ms.
+//
+// It will stop printing when ... | Add a reader that can write its graph to an abritrary writer. | aybabtme_uniplot | train | go |
1655f8944bfb48f7f0d1854886230e7c87fbdac7 | diff --git a/txnserver/validator.py b/txnserver/validator.py
index <HASH>..<HASH> 100644
--- a/txnserver/validator.py
+++ b/txnserver/validator.py
@@ -226,18 +226,15 @@ class Validator(object):
reactor.callLater(2.0, self.initialize_ledger_topology,
disconnect_callback)
- ... | Determine the list of candidate peers in a method
This moves the logic for figuring out which peers to connect to
into it's own method. This is a change in preparation for modifing
the logic of initialize_ledger_connection(). This is not a
functional change. | hyperledger_sawtooth-core | train | py |
885018aa8509a35469df56411abc4c77787e2ca7 | diff --git a/lib/textbringer/commands/windows.rb b/lib/textbringer/commands/windows.rb
index <HASH>..<HASH> 100644
--- a/lib/textbringer/commands/windows.rb
+++ b/lib/textbringer/commands/windows.rb
@@ -113,6 +113,11 @@ module Textbringer
if Buffer.current.nil?
switch_to_buffer(Buffer.other)
end
... | Change Window#buffer when it is killed. | shugo_textbringer | train | rb,rb |
54efc3abecc7ac026e88ecd3ef2bb2d6c0bd9f75 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -140,9 +140,6 @@ module.exports = function (browserify, options) {
browserify.on('bundle', function(bundle) {
bundle.on('end', function() {
- // reset the `tokensByFile` cache
- tokensByFile = {};
-
... | fixed order so token cache isn't reset until after manifest is written | css-modules_css-modulesify | train | js |
66237866f3b99d970fa53e02a96c5ba73cda531a | diff --git a/web/static/test/spec.js b/web/static/test/spec.js
index <HASH>..<HASH> 100644
--- a/web/static/test/spec.js
+++ b/web/static/test/spec.js
@@ -899,6 +899,7 @@ describe('toggleRunning', function() {
toggleRunning(svc, 'restart', servicesService);
expect(svc.DesiredState).toBe(-1);
... | clarified the spec a bit more | control-center_serviced | train | js |
1727f160c999a848f4da21d460dde0ba9fc88773 | diff --git a/concrete/elements/header_required.php b/concrete/elements/header_required.php
index <HASH>..<HASH> 100644
--- a/concrete/elements/header_required.php
+++ b/concrete/elements/header_required.php
@@ -1,5 +1,6 @@
<?php
use Concrete\Core\Url\SeoCanonical;
+use Concrete\Core\Localization\Localization;
use Co... | Let JavaScripts know the current locale | concrete5_concrete5 | train | php |
d4fc4b986b6ee7d4d255a6fdd5886f3eb84cd003 | diff --git a/spec/associations/relationship_spec.rb b/spec/associations/relationship_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/associations/relationship_spec.rb
+++ b/spec/associations/relationship_spec.rb
@@ -56,5 +56,12 @@ describe DataMapper::Associations::Relationship do
has_many.source.should == Vehicle.... | Added a pending spec so I don't forget about this. | datamapper_dm-core | train | rb |
e8b3a2dc2880bc005507e128b1b0f446a1d44eb3 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -48,9 +48,9 @@ copyright = u'2011, Holger Drewes'
# built documents.
#
# The short X.Y version.
-version = '0.2'
+version = '0.3'
# The full version, including alpha/beta/rc tags.
-release = '0.2-alpha'
+re... | Updated version numbers for upcoming <I> release | holgerd77_django-dynamic-scraper | train | py,rst,py |
b21029a0ab63f34428d209646f4d8fd8ad069248 | diff --git a/mockupdb/__init__.py b/mockupdb/__init__.py
index <HASH>..<HASH> 100755
--- a/mockupdb/__init__.py
+++ b/mockupdb/__init__.py
@@ -1803,7 +1803,8 @@ def raise_args_err(message='bad arguments', error_class=TypeError):
raise error_class(message + ': ' + format_call(frame))
-def interactive_server(por... | Add "ssl" param to interactive server. | ajdavis_mongo-mockup-db | train | py |
e7ae39b27d30f1cacf1ba99ea25ee81a0fba5ee8 | diff --git a/src/request/derive-address/DerivedIdenticonSelector.js b/src/request/derive-address/DerivedIdenticonSelector.js
index <HASH>..<HASH> 100644
--- a/src/request/derive-address/DerivedIdenticonSelector.js
+++ b/src/request/derive-address/DerivedIdenticonSelector.js
@@ -86,7 +86,7 @@ class DerivedIdenticonSelec... | Adapt number of pages to number of indicesToDerive | nimiq_keyguard-next | train | js |
8b54cf1ee6607e0dc317c1f1afca2f7403b9791c | diff --git a/kurt/user_objects.py b/kurt/user_objects.py
index <HASH>..<HASH> 100644
--- a/kurt/user_objects.py
+++ b/kurt/user_objects.py
@@ -240,18 +240,11 @@ class ScratchSpriteMorph(ScriptableScratchMorph):
class ScratchStageMorph(ScriptableScratchMorph):
"""The project stage. Also contains project contents... | Removing .sprites property, as it's wrong. | tjvr_kurt | train | py |
27bae5301715e6ae59c7d2490553be7c55183e60 | diff --git a/src/Model/Subsite.php b/src/Model/Subsite.php
index <HASH>..<HASH> 100644
--- a/src/Model/Subsite.php
+++ b/src/Model/Subsite.php
@@ -312,7 +312,7 @@ class Subsite extends DataObject
$subsiteID = $subsiteIDs[0];
} else {
- if ($default = DataObject::get_one(Subsite::class... | Adjusting query used in getSubsiteIDForDomain
Prevent unknow database field error when a new DB field added
to Subsite data object. | silverstripe_silverstripe-subsites | train | php |
26342f6fe1f8b629a2ce1bdb3ef872f84a7e960a | diff --git a/guava/src/com/google/common/collect/Collections2.java b/guava/src/com/google/common/collect/Collections2.java
index <HASH>..<HASH> 100644
--- a/guava/src/com/google/common/collect/Collections2.java
+++ b/guava/src/com/google/common/collect/Collections2.java
@@ -196,12 +196,12 @@ public final class Collecti... | Work around a type inference change in javac
The javac compiler's behavior when handling wildcards and "capture" type
variables has been improved for conformance to the language specification. This
improves type checking behavior in certain unusual circumstances. It is also a
source-incompatible change: certain uses o... | google_guava | train | java |
86c8ac1dd8746b0d412b482867f3c58be608a7e2 | diff --git a/bin/sauce-jasmine.js b/bin/sauce-jasmine.js
index <HASH>..<HASH> 100644
--- a/bin/sauce-jasmine.js
+++ b/bin/sauce-jasmine.js
@@ -72,7 +72,7 @@ var browserFilter = [
"chrome/31..latest/linux",
"safari/5..latest",
"opera/11..latest",
- "android/4.0..latest",
+ "android/4.4..latest",
"iphone/5.... | Remove tests on Android <I> to <I>
These platforms are not available on SauceLabs anymore, meaning we cannot run our tests on these
older versions anymore. | tus_tus-js-client | train | js |
516653115fef21208646e3323079b08398ba050c | diff --git a/test/high_availability/test_motor_ha.py b/test/high_availability/test_motor_ha.py
index <HASH>..<HASH> 100644
--- a/test/high_availability/test_motor_ha.py
+++ b/test/high_availability/test_motor_ha.py
@@ -979,6 +979,8 @@ class MotorTestAlive(unittest.TestCase):
yield AssertFalse(primary_cx.... | Note that test_alive can fail from PYTHON-<I> | mongodb_motor | train | py |
331ce62449dbf138a7ceca803718404ee50ca0f8 | diff --git a/SafeMarkup.php b/SafeMarkup.php
index <HASH>..<HASH> 100644
--- a/SafeMarkup.php
+++ b/SafeMarkup.php
@@ -218,7 +218,7 @@ class SafeMarkup {
*
* @see t()
*/
- public static function format($string, array $args = array()) {
+ public static function format($string, array $args) {
$safe = T... | Issue #<I> by alexpott, joelpittet, dawehner, stefan.r, xjm: SafeMarkup::format() should require arguments without them it is just SafeMarkup::set() in disguise | drupal_core-utility | train | php |
a1e45e8eadb0b6876b0cbf661b4cab6b00848f11 | diff --git a/fastlane_core/lib/fastlane_core/provisioning_profile.rb b/fastlane_core/lib/fastlane_core/provisioning_profile.rb
index <HASH>..<HASH> 100644
--- a/fastlane_core/lib/fastlane_core/provisioning_profile.rb
+++ b/fastlane_core/lib/fastlane_core/provisioning_profile.rb
@@ -24,7 +24,7 @@ module FastlaneCore
... | Reveal underlying error when decoding provisioning profile fails due to broken keychain environment (#<I>) | fastlane_fastlane | train | rb |
94a3ed4899b8ff5dc3887d08ca0edf8aef14a4c8 | diff --git a/ssl-proxies/src/main/java/org/globus/common/CoGProperties.java b/ssl-proxies/src/main/java/org/globus/common/CoGProperties.java
index <HASH>..<HASH> 100644
--- a/ssl-proxies/src/main/java/org/globus/common/CoGProperties.java
+++ b/ssl-proxies/src/main/java/org/globus/common/CoGProperties.java
@@ -650,7 +65... | Use 2 minutes as default timeout. | jglobus_JGlobus | train | java |
5a68c3fda743927ff0fa39e0924af8a5ee5053b6 | diff --git a/conf.js b/conf.js
index <HASH>..<HASH> 100644
--- a/conf.js
+++ b/conf.js
@@ -114,6 +114,6 @@ if (exports.storage === 'mysql'){
exports.database.user = exports.database.user || 'trustnote';
}
else if (exports.storage === 'sqlite'){
- exports.database.max_connections = exports.database.max_connections |... | set max connections to <I> | trustnote_trustnote-pow-common | train | js |
5c32c8e8382d800968225734d06663c1a75d80b2 | diff --git a/lib/puppet/util/fileparsing.rb b/lib/puppet/util/fileparsing.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/fileparsing.rb
+++ b/lib/puppet/util/fileparsing.rb
@@ -268,7 +268,9 @@ module Puppet::Util::FileParsing
# Define a new type of record. These lines get split into hashes. Valid
# ... | Somewhat better documentation of the :absent field feature in fileparsing. | puppetlabs_puppet | train | rb |
3fed64fcf71bcfdba905579eb2a554df2e54d9a3 | diff --git a/hgtools/managers/reentry.py b/hgtools/managers/reentry.py
index <HASH>..<HASH> 100644
--- a/hgtools/managers/reentry.py
+++ b/hgtools/managers/reentry.py
@@ -23,7 +23,7 @@ def capture_stdio():
yield SavedIO(sys.stdout, sys.stderr)
finally:
sys.stdout = sys_stdout
- sys.stderr = sys.stderr
+ sys.s... | Corrected typo in capture_stdio | jaraco_hgtools | train | py |
d556cf2751498c86460202cc8928764404c62269 | diff --git a/packages/xod-project/src/index.js b/packages/xod-project/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/xod-project/src/index.js
+++ b/packages/xod-project/src/index.js
@@ -30,6 +30,7 @@ export {
canBindToOutputs,
renumberNodes,
getTopology,
+ assocInitialPinValues,
} from './patch';
e... | fix(xod-project): add missing exports | xodio_xod | train | js |
b54468b3134169871891f0896b2827152869a24a | diff --git a/demo/demo.js b/demo/demo.js
index <HASH>..<HASH> 100644
--- a/demo/demo.js
+++ b/demo/demo.js
@@ -14,7 +14,8 @@ const demoSchema = new Schema({
let state = EditorState.create({doc: DOMParser.fromSchema(demoSchema).parse(document.querySelector("#content")),
plugins: example... | Set window.view to the actual view in the demo | ProseMirror_prosemirror | train | js |
eb685407ca5ef6139cf2a5a7d9381faa1beac7bf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ def read(fname):
setup(name="sagemaker",
- version="1.10.0",
+ version="1.10.1",
description="Open source library for training and deploying models on Amazon SageMaker.",
packages=fi... | Fix version in setup.py (#<I>) | aws_sagemaker-python-sdk | train | py |
fd6071cfd1fdce41cd74b035cbc2955994fac869 | diff --git a/TurboCommons-Php/src/test/php/model/HashMapObjectTest.php b/TurboCommons-Php/src/test/php/model/HashMapObjectTest.php
index <HASH>..<HASH> 100644
--- a/TurboCommons-Php/src/test/php/model/HashMapObjectTest.php
+++ b/TurboCommons-Php/src/test/php/model/HashMapObjectTest.php
@@ -106,13 +106,13 @@ class HashM... | Php: minor refactor to HashMapObjectTest | edertone_TurboCommons | train | php |
45415d3ba0d80802757751c941d5e8a31f622189 | diff --git a/gwt-material/src/main/java/gwt/material/design/client/ui/MaterialSideNav.java b/gwt-material/src/main/java/gwt/material/design/client/ui/MaterialSideNav.java
index <HASH>..<HASH> 100644
--- a/gwt-material/src/main/java/gwt/material/design/client/ui/MaterialSideNav.java
+++ b/gwt-material/src/main/java/gwt/... | Apply Body Scroll on FIXED type as requested. | GwtMaterialDesign_gwt-material | train | java |
fbcedefccf3001deebad366170bd15e2bd29c27f | diff --git a/src/SwipeDirectionMixin.js b/src/SwipeDirectionMixin.js
index <HASH>..<HASH> 100644
--- a/src/SwipeDirectionMixin.js
+++ b/src/SwipeDirectionMixin.js
@@ -12,6 +12,13 @@ export default function SwipeDirectionMixin(Base) {
return class SwipeDirection extends Base {
/**
+ * Invokes the [symbols.... | SwipeDirectionMixin handles vertical swipes. | elix_elix | train | js |
48a00b507d31e7ffa9ab68e3a92976a398a9a596 | diff --git a/pkg/backend/httpstate/client/api.go b/pkg/backend/httpstate/client/api.go
index <HASH>..<HASH> 100644
--- a/pkg/backend/httpstate/client/api.go
+++ b/pkg/backend/httpstate/client/api.go
@@ -165,7 +165,7 @@ func pulumiAPICall(ctx context.Context, d diag.Sink, cloudAPI, method, path stri
userAgent := fmt.S... | bump api version number to indicate PaC support (#<I>) | pulumi_pulumi | train | go |
a6145b931a7c670044e75f1bda2c468e90fcd52d | diff --git a/app/models/viewable.rb b/app/models/viewable.rb
index <HASH>..<HASH> 100644
--- a/app/models/viewable.rb
+++ b/app/models/viewable.rb
@@ -42,14 +42,6 @@ module Viewable
def viewable_type
name
end
-
- def dashed_name
- @_dashed_name ||= underscored_name.dasherize
- end
-
- def... | moved dashed_name method into the presenter | o2web_rails_admin_cms | train | rb,rb |
9af471116b03fae1f82e5c0d2b7e3666d570d926 | diff --git a/plugins/Morpheus/javascripts/ajaxHelper.js b/plugins/Morpheus/javascripts/ajaxHelper.js
index <HASH>..<HASH> 100644
--- a/plugins/Morpheus/javascripts/ajaxHelper.js
+++ b/plugins/Morpheus/javascripts/ajaxHelper.js
@@ -529,10 +529,16 @@ function ajaxHelper() {
*/
this._mixinDefaultGetParams = fun... | Ensure segment param is used from url if no hash available (#<I>) | matomo-org_matomo | train | js |
f7c268ab093763b13d6e08cf8e088a69b9a8b5db | diff --git a/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java b/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java
index <HASH>..<HASH> 100755
--- a/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java
+++ b/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java
@@ -1184,... | Cosmetics - Fix formatting for % (multiply by <I>). | h2oai_h2o-3 | train | java |
1358024aec76ffbf9f34283eb30d7983cbf16db4 | diff --git a/backend/scrapers/classes/parsers/ellucianCatalogParser.js b/backend/scrapers/classes/parsers/ellucianCatalogParser.js
index <HASH>..<HASH> 100644
--- a/backend/scrapers/classes/parsers/ellucianCatalogParser.js
+++ b/backend/scrapers/classes/parsers/ellucianCatalogParser.js
@@ -243,6 +243,9 @@ class Ellucia... | Fixed a bug where the last updated time of classes with no sections wasent showing up | ryanhugh_searchneu | train | js |
d967ec74d3527ba23f08a752d725865c6139cb98 | diff --git a/django_uwsgi/views.py b/django_uwsgi/views.py
index <HASH>..<HASH> 100644
--- a/django_uwsgi/views.py
+++ b/django_uwsgi/views.py
@@ -17,7 +17,7 @@ class UwsgiStatus(TemplateView):
'''
uWSGI Status View
'''
- if apps.is_installed('wagtail.wagtailadmin'):
+ if apps.is_installed('wagtail... | wagtail.wagtailadmin > wagtail.admin | unbit_django-uwsgi | train | py |
0c341485e38595de1f2946e654a5f763c0d751fd | diff --git a/dpark/utils/frame.py b/dpark/utils/frame.py
index <HASH>..<HASH> 100644
--- a/dpark/utils/frame.py
+++ b/dpark/utils/frame.py
@@ -30,8 +30,11 @@ def frame_tuple(f):
def func_info(f):
- c = f.__code__
- return "{}@{}:{}".format(c.co_name, c.co_filename, c.co_firstlineno)
+ co = getattr(f, "__c... | Fix UI: buitin method has no attr __code__. | douban_dpark | train | py |
969c76486cafe5d6fd1b6f57778725223b5539ad | diff --git a/graphite-watcher/main.go b/graphite-watcher/main.go
index <HASH>..<HASH> 100644
--- a/graphite-watcher/main.go
+++ b/graphite-watcher/main.go
@@ -105,12 +105,16 @@ func main() {
}
test := func(wg *sync.WaitGroup, curTs int64, met stat) {
+ defer wg.Done()
g := graphite.HostHeader{Host: "http://" ... | don't die for measly graphite errors | grafana_metrictank | train | go |
69dae0a5fb4049e045ce0d2424496223d0e2cd0b | diff --git a/reference/reference.go b/reference/reference.go
index <HASH>..<HASH> 100644
--- a/reference/reference.go
+++ b/reference/reference.go
@@ -55,7 +55,7 @@ type Canonical interface {
func ParseNamed(s string) (Named, error) {
named, err := distreference.ParseNamed(s)
if err != nil {
- return nil, fmt.Err... | reference: Do not drop the underlying error message | moby_moby | train | go |
7a675f0ed16776780866be57dcae819f46b4ca9c | diff --git a/core/client/src/main/java/alluxio/client/file/policy/LocalFirstPolicy.java b/core/client/src/main/java/alluxio/client/file/policy/LocalFirstPolicy.java
index <HASH>..<HASH> 100644
--- a/core/client/src/main/java/alluxio/client/file/policy/LocalFirstPolicy.java
+++ b/core/client/src/main/java/alluxio/client... | Remove redundant initialization in LocalFirstPolicy.java | Alluxio_alluxio | train | java |
f35b697f1d1bd2b0a9b71e6c198eb45be2eaf9cc | diff --git a/src/core/core.js b/src/core/core.js
index <HASH>..<HASH> 100644
--- a/src/core/core.js
+++ b/src/core/core.js
@@ -1271,7 +1271,7 @@ Crafty.extend({
stop: function () {
Crafty.trigger("CraftyStopTimer");
- if (typeof tick === "number") clearInterval(tick);
+ ... | Extend setInterval support
* change check on setInterval token to work with implementations returning an object | craftyjs_Crafty | train | js |
2531eeb9a5a3259b1e09c930a0be41014eaa4671 | diff --git a/languagetool-http-client/src/test/java/org/languagetool/remote/MissingCommaEval.java b/languagetool-http-client/src/test/java/org/languagetool/remote/MissingCommaEval.java
index <HASH>..<HASH> 100644
--- a/languagetool-http-client/src/test/java/org/languagetool/remote/MissingCommaEval.java
+++ b/languageto... | [de] avoid clash with WHITESPACE_RULE | languagetool-org_languagetool | train | java |
defceba8902023abfd1e93f62f852dff97716c4c | diff --git a/MongoSession.php b/MongoSession.php
index <HASH>..<HASH> 100644
--- a/MongoSession.php
+++ b/MongoSession.php
@@ -207,7 +207,7 @@ class MongoSession
$this->instConfig['write_options'] = array('w'=>$this->getConfig('write_concern'), 'j'=>$this->getConfig('write_journal'));
}else {
... | simplified line <I> per nicks suggestion | nicktacular_php-mongo-session | train | php |
ed7b435875d65e250bb9cea45c0e47319dde6a6e | diff --git a/datajoint/base_relation.py b/datajoint/base_relation.py
index <HASH>..<HASH> 100644
--- a/datajoint/base_relation.py
+++ b/datajoint/base_relation.py
@@ -177,7 +177,7 @@ class BaseRelation(RelationalOperand):
value = pack(value)
placeholder = '%s'
... | Treat empty string value in numeric field as a nan
Otherwise, empty string values, such as those read from empty cells in a spreadsheet, have to be converted manually ahead of time to None or np.nan, which is a real pain. | datajoint_datajoint-python | train | py |
5457c2d6eff742a47c8c76bc4ce5c46afd2d3b4b | diff --git a/packages/react-atlas-core/src/Card/Card.js b/packages/react-atlas-core/src/Card/Card.js
index <HASH>..<HASH> 100644
--- a/packages/react-atlas-core/src/Card/Card.js
+++ b/packages/react-atlas-core/src/Card/Card.js
@@ -12,9 +12,9 @@ class Card extends React.PureComponent {
render() {
const { childre... | Update Card.js
Remove unnecessary cx() calls | DigitalRiver_react-atlas | train | js |
c753bb50ca0a0e4b2692c0dc65755681252675a2 | diff --git a/lib/pkgcloud/rackspace/storage/client/files.js b/lib/pkgcloud/rackspace/storage/client/files.js
index <HASH>..<HASH> 100644
--- a/lib/pkgcloud/rackspace/storage/client/files.js
+++ b/lib/pkgcloud/rackspace/storage/client/files.js
@@ -123,7 +123,7 @@ exports.getFiles = function (container, callback) {
va... | pass containerName as the path instead of the conatiner instance (fixes issue #<I>) | pkgcloud_pkgcloud | train | js |
299ab2ba28f0bb191ef4e07d3eb872e7e245d401 | diff --git a/src/components/Radio/Radio.js b/src/components/Radio/Radio.js
index <HASH>..<HASH> 100644
--- a/src/components/Radio/Radio.js
+++ b/src/components/Radio/Radio.js
@@ -19,7 +19,7 @@ class Radio extends React.PureComponent {
/**
* The value of the radio; a string that describes what the value shoul... | [BWDB-<I>] Revert some changes | Bandwidth_shared-components | train | js,js |
d366847cdf80e0db0b92e585b384ec11366e403d | diff --git a/src/widgets/Confirmation.php b/src/widgets/Confirmation.php
index <HASH>..<HASH> 100644
--- a/src/widgets/Confirmation.php
+++ b/src/widgets/Confirmation.php
@@ -13,7 +13,6 @@ namespace hipanel\modules\client\widgets;
use Yii;
use yii\base\InvalidConfigException;
-use yii\base\Model;
use yii\base\Widg... | Fixed Confirmation widget to work with multiple instances ont he same page | hiqdev_hipanel-module-client | train | php |
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.