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 |
|---|---|---|---|---|---|
11561dfef312a888d9f57f960c46f1854f7527f7 | diff --git a/src/de/lmu/ifi/dbs/index/metrical/mtree/Split.java b/src/de/lmu/ifi/dbs/index/metrical/mtree/Split.java
index <HASH>..<HASH> 100644
--- a/src/de/lmu/ifi/dbs/index/metrical/mtree/Split.java
+++ b/src/de/lmu/ifi/dbs/index/metrical/mtree/Split.java
@@ -132,14 +132,14 @@ public class Split<O extends MetricalOb... | refactoring MTree | elki-project_elki | train | java |
c6fca9b5af0c647afc8aac27a615ec4ce18bd1f7 | diff --git a/sim/shared.py b/sim/shared.py
index <HASH>..<HASH> 100644
--- a/sim/shared.py
+++ b/sim/shared.py
@@ -18,7 +18,8 @@ from nsloc import nsloc # NetStim with location unit type
import server # Server for plexon interface
from time import time
from math import radians
-def id32(obj): return 0#hash(obj) & 0x... | testing seed consistency local vs hpc | Neurosim-lab_netpyne | train | py |
d535ef39de361face2130d2903ffba2c3ced63d3 | diff --git a/cephfs/statx_test.go b/cephfs/statx_test.go
index <HASH>..<HASH> 100644
--- a/cephfs/statx_test.go
+++ b/cephfs/statx_test.go
@@ -18,7 +18,10 @@ func TestStatxFieldsRootDir(t *testing.T) {
assert.NotNil(t, st)
assert.Equal(t, StatxBasicStats, st.Mask&StatxBasicStats)
- assert.Equal(t, uint32(2), st.N... | cephfs: make statx test more robust
The TestStatxFieldsRootDir test was assuming that the nlink count
returned by statx would be exactly 2. Make the test more robust against
varying content the root dir of the volume might have by only asserting
that the nlink be 2 or more. | ceph_go-ceph | train | go |
3fffcfae9c3fc29cacb250402ec0d227d5b43c6f | diff --git a/tests/server/fileSystem.js b/tests/server/fileSystem.js
index <HASH>..<HASH> 100644
--- a/tests/server/fileSystem.js
+++ b/tests/server/fileSystem.js
@@ -2,7 +2,6 @@
// Module dependencies
var path = require('path');
-var fs = require('fs');
var assert = require('chai').assert;
// fileSystem.js
@@ ... | Test copying a file to a missing directory
Copy function is capable of dynamically creating the directory if it does not exist yet. This functionality wasn't tested. | veo-labs_openveo-api | train | js |
ae0ea0f674fdbfa032b29062b7a631fd01dc8e25 | diff --git a/timepiece/views.py b/timepiece/views.py
index <HASH>..<HASH> 100644
--- a/timepiece/views.py
+++ b/timepiece/views.py
@@ -604,16 +604,17 @@ def change_person_time_sheet(request, action, user_id, from_date):
}
entries = entries.filter(status=filter_status[action])
- if active_entries:
- ... | refs #<I> - User redirected if there are active entries | caktus_django-timepiece | train | py |
2440efc8003d0e69227cc720c09973c22c9b789b | diff --git a/torchtext/data.py b/torchtext/data.py
index <HASH>..<HASH> 100644
--- a/torchtext/data.py
+++ b/torchtext/data.py
@@ -86,8 +86,8 @@ class Field(object):
answer in a QA dataset), then they will have a shared vocabulary.
Attributes:
- sequential: Whether the datatype represents sequential ... | Add missing doc for include_lengths Field param, clarify sequential Field param | pytorch_text | train | py |
319d73a478f340e7854428bf53d4013f6962fb2a | diff --git a/lib/socket-mgr.js b/lib/socket-mgr.js
index <HASH>..<HASH> 100644
--- a/lib/socket-mgr.js
+++ b/lib/socket-mgr.js
@@ -101,6 +101,13 @@ function initStatus(ctx, enable) {
}
}
+function removePending(reqId) {
+ var index = pendingReqList.indexOf(reqId);
+ if (index !== -1) {
+ pendingReqList.splic... | fix: delayed response auto-close in custom parser | avwo_whistle | train | js |
7c077465b8df6898d1415d00fc10a49011266573 | diff --git a/lib/capistrano/version.rb b/lib/capistrano/version.rb
index <HASH>..<HASH> 100644
--- a/lib/capistrano/version.rb
+++ b/lib/capistrano/version.rb
@@ -1,3 +1,3 @@
module Capistrano
- VERSION = "3.0.0.pre"
+ VERSION = "3.0.0.pre2"
end | Bulm version for a second pre-release for screencasting | capistrano_capistrano | train | rb |
66e70fda98958737790383259e09a874bb0c652b | diff --git a/spec/lib/lapine/consumer/dispatcher_spec.rb b/spec/lib/lapine/consumer/dispatcher_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/lapine/consumer/dispatcher_spec.rb
+++ b/spec/lib/lapine/consumer/dispatcher_spec.rb
@@ -46,7 +46,7 @@ RSpec.describe Lapine::Consumer::Dispatcher do
context 'with inv... | dispatcher spec correctly labels what it does | messagebus_lapine | train | rb |
32b61553d29a6bdda40cf20982d63c08ed8712e2 | diff --git a/avatar/models.py b/avatar/models.py
index <HASH>..<HASH> 100644
--- a/avatar/models.py
+++ b/avatar/models.py
@@ -99,9 +99,9 @@ class Avatar(models.Model):
else:
diff = (h - w) / 2
image = image.crop((0, diff, w, h - diff))
- image = image.resize((s... | Fix for issue #<I> on ericflo/django-avatar, proposed by fakeempire | GeoNode_geonode-avatar | train | py |
194f48774992644257bf7cf0878e47e9834d40e1 | diff --git a/server_test.go b/server_test.go
index <HASH>..<HASH> 100644
--- a/server_test.go
+++ b/server_test.go
@@ -85,6 +85,7 @@ func TestCreateStartRestartStopStartKillRm(t *testing.T) {
t.Fatal(err)
}
+ // FIXME: this failed once with a race condition ("Unable to remove filesystem for xxx: directory not em... | Added FIXME about possible race condition in a unit test | moby_moby | train | go |
f445937ec3affde899407a7832c912c3b0cb8ae0 | diff --git a/lib/hwloc/Obj.rb b/lib/hwloc/Obj.rb
index <HASH>..<HASH> 100644
--- a/lib/hwloc/Obj.rb
+++ b/lib/hwloc/Obj.rb
@@ -332,6 +332,9 @@ module Hwloc
return each_parent.to_a
end
+ alias ancestors parents
+ alias each_ancestor each_parent
+
def each_obj(&block)
if block then
... | Added accessors to ancestors and descendants. | Nanosim-LIG_hwloc-ruby | train | rb |
4386ae6473485980412af3895d11e3c40bc3e2c8 | diff --git a/salt/modules/apt.py b/salt/modules/apt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/apt.py
+++ b/salt/modules/apt.py
@@ -853,7 +853,7 @@ def mod_repo(repo, refresh=False, **kwargs):
else:
kwargs['comps'] = list(full_comp_list)
- if 'architecturess' in kwargs:... | Fix obvious typo lurker (architecturess) | saltstack_salt | train | py |
104c804e472fbd0e349013b2ab3e0c5f93f9800c | diff --git a/invenio_deposit/api.py b/invenio_deposit/api.py
index <HASH>..<HASH> 100644
--- a/invenio_deposit/api.py
+++ b/invenio_deposit/api.py
@@ -142,9 +142,13 @@ class Deposit(Record):
deposit_minter(id_, data)
data['_deposit'].setdefault('owners', list())
- owner = getattr(current_... | deposit: created_by population on create
* Stores the ID of a deposit's creator to the created_by field.
(addresses #<I>) | inveniosoftware_invenio-deposit | train | py |
be1fbe3139d32eb39e88cff93f847154bb6a8cb2 | diff --git a/src/SimplePhoto.php b/src/SimplePhoto.php
index <HASH>..<HASH> 100644
--- a/src/SimplePhoto.php
+++ b/src/SimplePhoto.php
@@ -404,7 +404,7 @@ class SimplePhoto
* </pre>
* @return bool|PhotoResult
*/
- public function build(array $photo, array $options = array())
+ public function bu... | Removed array type-check in build() | morrelinko_simple-photo | train | php |
7e37371e4a1a7b24e2222c05bd483a24be5ccacb | diff --git a/lib/pwned/password.rb b/lib/pwned/password.rb
index <HASH>..<HASH> 100644
--- a/lib/pwned/password.rb
+++ b/lib/pwned/password.rb
@@ -35,14 +35,16 @@ module Pwned
end
def get_hashes
- open("#{API_URL}#{hashed_password[0..(HASH_PREFIX_LENGTH-1)]}", @request_options) do |io|
- @hashes... | I prefer begin/rescue/end syntax | philnash_pwned | train | rb |
1553a51e6efb943652ea29cba72c970be2b4f83d | diff --git a/src/main/java/com/wiley/autotest/services/SeleniumMethodsInvoker.java b/src/main/java/com/wiley/autotest/services/SeleniumMethodsInvoker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/wiley/autotest/services/SeleniumMethodsInvoker.java
+++ b/src/main/java/com/wiley/autotest/services/SeleniumMetho... | hotfix for #<I>. Now before method should be executed for safari | WileyLabs_teasy | train | java |
c1d837297e531e97ab356503e76abb29a74ccff1 | diff --git a/airtest/core/android/minicap.py b/airtest/core/android/minicap.py
index <HASH>..<HASH> 100644
--- a/airtest/core/android/minicap.py
+++ b/airtest/core/android/minicap.py
@@ -94,7 +94,7 @@ class Minicap(object):
None
"""
- self.adb.raw_shell("rm /data/local/tmp/minicap*")
+ ... | Delete the entire folder when deleting minicap
(cherry picked from commit 8fdeb<I>b<I>eca<I>d4b2a<I>a<I>e7ed<I>b) | AirtestProject_Airtest | train | py |
a8821593a38acd3139f55d2bb339972bf21e9337 | diff --git a/src/MetaModels/Filter/Setting/Perimetersearch.php b/src/MetaModels/Filter/Setting/Perimetersearch.php
index <HASH>..<HASH> 100644
--- a/src/MetaModels/Filter/Setting/Perimetersearch.php
+++ b/src/MetaModels/Filter/Setting/Perimetersearch.php
@@ -433,7 +433,7 @@ class Perimetersearch extends SimpleLookup
... | Change the static id list from null to an empty array. | MetaModels_filter_perimetersearch | train | php |
e1ded4e9915ab8b3ff235f0801de30dd7573394e | diff --git a/examples/custom-nodes/custom-node-program.js b/examples/custom-nodes/custom-node-program.js
index <HASH>..<HASH> 100644
--- a/examples/custom-nodes/custom-node-program.js
+++ b/examples/custom-nodes/custom-node-program.js
@@ -3,8 +3,8 @@
* a custom fragment shader (./custom-node-fragment-shader.glsl) tha... | WebGL: Fixes broken paths in custom node program example | jacomyal_sigma.js | train | js |
45feeb6a1f19ac6368e0f9e001568c05d42b5cd5 | diff --git a/extensions/mentions/js/forum/src/addPostReplyAction.js b/extensions/mentions/js/forum/src/addPostReplyAction.js
index <HASH>..<HASH> 100644
--- a/extensions/mentions/js/forum/src/addPostReplyAction.js
+++ b/extensions/mentions/js/forum/src/addPostReplyAction.js
@@ -29,7 +29,7 @@ export default function() {... | Change button class for new post controls location | flarum_core | train | js |
f31ebdb9df65a833e158f731fb4f962ec26c01a8 | diff --git a/src/assets/combo.js b/src/assets/combo.js
index <HASH>..<HASH> 100644
--- a/src/assets/combo.js
+++ b/src/assets/combo.js
@@ -418,6 +418,7 @@ $.fn.select2.amd.define('select2/combo/field', [
function (e) {
if (!$(e.target).data('field').isMultiple()) {
... | Fixed bug when it was impossiblt to clear input inside Grid | hiqdev_yii2-combo | train | js |
a5c3662bbfe2df4046220d33a62b1bf8eeb0b564 | diff --git a/src/consumer/runner.js b/src/consumer/runner.js
index <HASH>..<HASH> 100644
--- a/src/consumer/runner.js
+++ b/src/consumer/runner.js
@@ -331,7 +331,7 @@ module.exports = class Runner {
})
await this.join()
- this.scheduleFetch()
+ setImmediate(() => this.scheduleF... | #<I> all recursive calls to scheduleFetch scheduled with setImmedate() | tulios_kafkajs | train | js |
5d663a712297f0c62ea948cbe2765e6acac839ab | diff --git a/activerecord/lib/active_record/associations/join_dependency.rb b/activerecord/lib/active_record/associations/join_dependency.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/join_dependency.rb
+++ b/activerecord/lib/active_record/associations/join_dependency.rb
@@ -220,17 +2... | reflections know if they are collections, so ask
We don't need to poke at the macro to figure out if we should look for a
cached record or not | rails_rails | train | rb |
289128b96cd60d8a29a08df3d301c20e64ca89b8 | diff --git a/script/lint.js b/script/lint.js
index <HASH>..<HASH> 100755
--- a/script/lint.js
+++ b/script/lint.js
@@ -44,7 +44,7 @@ function spawnAndCheckExitCode (cmd, args, opts) {
}
function cpplint (args) {
- args.unshift(`--project_root=${SOURCE_ROOT}`);
+ args.unshift(`--root=${SOURCE_ROOT}`);
const res... | chore: use --root instead of --project_root for cpplint (#<I>)
--root has been improved upstream in depot_tools to better handle Windows:
<URL> | electron_electron | train | js |
77179caedb830fbe7d23d0f0bc5386a0807e4e0e | diff --git a/src/stream/nodejs.js b/src/stream/nodejs.js
index <HASH>..<HASH> 100644
--- a/src/stream/nodejs.js
+++ b/src/stream/nodejs.js
@@ -14,7 +14,7 @@
/*#endif*/
var
- _GpfNodeBaseStream = _gpfDefine(/** @lends gpf.node.BaseStream.prototype */ {
+ _GpfNodeBaseStream = _gpfDefine({
$class: "gpf.... | Removes @lends (#<I>) | ArnaudBuchholz_gpf-js | train | js |
e5a663b3cad7236d465da0ef371dc311853aa9ba | diff --git a/common/animation.go b/common/animation.go
index <HASH>..<HASH> 100644
--- a/common/animation.go
+++ b/common/animation.go
@@ -96,7 +96,7 @@ func (ac *AnimationComponent) NextFrame() {
// AnimationSystem tracks AnimationComponents, advancing their current animation.
type AnimationSystem struct {
- entit... | animation map has to be uint<I> since basicentity can't be used anymore due to parenting | EngoEngine_engo | train | go |
2ae2ef8843c74251234eed4e271485ebfdd7e17d | diff --git a/src/main/java/com/jakewharton/DiskLruCache.java b/src/main/java/com/jakewharton/DiskLruCache.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/jakewharton/DiskLruCache.java
+++ b/src/main/java/com/jakewharton/DiskLruCache.java
@@ -771,6 +771,7 @@ public final class DiskLruCache implements Closeable ... | Add `abortUnlessCommitted` method for use in `finally` blocks. | JakeWharton_DiskLruCache | train | java |
986002a94b7761f08488cca3f19f80cb425eb77d | diff --git a/sos/policies/suse.py b/sos/policies/suse.py
index <HASH>..<HASH> 100644
--- a/sos/policies/suse.py
+++ b/sos/policies/suse.py
@@ -20,6 +20,7 @@ class SuSEPolicy(LinuxPolicy):
vendor = "SuSE"
vendor_url = "https://www.suse.com/"
_tmp_dir = "/var/tmp"
+ _rpmq_cmd = 'rpm -qa --queryformat "%... | [policy] Fix the passing of 'query_command' argument for SUSE.
RPM query string was passing to chroot argument insted of query_command.
Resolves: #<I> | sosreport_sos | train | py |
ad6bb0ebcd8c78f8d2e0e4076118f68baf8b1781 | diff --git a/library/rpi_ws281x/rpi_ws281x.py b/library/rpi_ws281x/rpi_ws281x.py
index <HASH>..<HASH> 100644
--- a/library/rpi_ws281x/rpi_ws281x.py
+++ b/library/rpi_ws281x/rpi_ws281x.py
@@ -178,6 +178,14 @@ class PixelStrip(object):
setattr(c, 'g', self._led_data[n] >> 8 & 0xff)
setattr(c, 'b', self... | Added getPixelColorRGBW to include White
Hi,
I would live to retrieve the white color aswell in the same clean way instead of doing it manually with the getPixelColor().
Ty for this amazing code, I was able to do an awesome led project with rpi, bluetooth and a phone app. | rpi-ws281x_rpi-ws281x-python | train | py |
ce2c62e2b4a7e17eaa518f58ad0bf590367b3ab2 | diff --git a/quad/value.go b/quad/value.go
index <HASH>..<HASH> 100644
--- a/quad/value.go
+++ b/quad/value.go
@@ -4,6 +4,7 @@ import (
"crypto/sha1"
"hash"
"strconv"
+ "strings"
"sync"
"time"
)
@@ -63,9 +64,17 @@ func (s Raw) String() string { return string(s) }
// String is an RDF string value (ex: "name"... | quad: at least try to escape string values | cayleygraph_cayley | train | go |
adb32068dc396db73177553adcd24833ff7f2208 | diff --git a/src/graph.js b/src/graph.js
index <HASH>..<HASH> 100644
--- a/src/graph.js
+++ b/src/graph.js
@@ -42,7 +42,7 @@ module.exports = function(grafine) {
* Retrieves a shard from the specified uuid
*/
graph.prototype.shard = function(uuid) {
- var id = uuid % this.hash;
+ var id =... | avoid points dispersion between shards | glayzzle_grafine | train | js,js |
6988ac3a89f0f90a8bcd5db3febd47caa5d49383 | diff --git a/src/Propel/Generator/Behavior/Archivable/ArchivableBehavior.php b/src/Propel/Generator/Behavior/Archivable/ArchivableBehavior.php
index <HASH>..<HASH> 100644
--- a/src/Propel/Generator/Behavior/Archivable/ArchivableBehavior.php
+++ b/src/Propel/Generator/Behavior/Archivable/ArchivableBehavior.php
@@ -78,6 ... | Add identifierQuoting to archive behavior tables | propelorm_Propel2 | train | php |
514d4cc11fb5bd98878d342fa2f9c4c38374ff10 | diff --git a/src/fkooman/Rest/Redirect.php b/src/fkooman/Rest/Redirect.php
index <HASH>..<HASH> 100644
--- a/src/fkooman/Rest/Redirect.php
+++ b/src/fkooman/Rest/Redirect.php
@@ -23,13 +23,22 @@ class Redirect
/** @var string */
private $redirectUri;
- public function __construct($redirectUri)
+ /** @... | also make it possible to specify the redirect method | fkooman_php-lib-rest | train | php |
d4fef4d0282cc93e954a30efa3e3ea1c85d51407 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -13,7 +13,7 @@ const styles = [
'Postcss'
];
-styles.forEach(style => {
+function doTest(style) {
describe(style, () => {
tests.forEach(test => {
it(test.name, done => {
@@ -35,4 +35,8 @@ s... | test.js: move to a function. | twbs_rfs | train | js |
d5b467dfcaddec13eb4a7b1393af4198c455355f | diff --git a/grp.js b/grp.js
index <HASH>..<HASH> 100644
--- a/grp.js
+++ b/grp.js
@@ -87,8 +87,8 @@ export class Grp {
}
let w = Math.floor(img.w * scaleX)
let h = Math.floor(img.h * scaleY)
- let x = Math.floor(surfX + (img.x - img.w / 2) * scaleX)
- let y = Math.floor(surfY + (img.y - img.h / 2)... | Use more accurate sprite coordinates
Apparently frame's x/y values aren't important?? | ShieldBattery_bw-chk | train | js |
062deb88144e1e4b532e1bd98c78093ca48a570a | diff --git a/openquake/server/views.py b/openquake/server/views.py
index <HASH>..<HASH> 100644
--- a/openquake/server/views.py
+++ b/openquake/server/views.py
@@ -358,8 +358,7 @@ def run_calc(request):
user = utils.get_user_data(request)
try:
- job_id = cmdserver.cmd.start(
- 'submit_job',... | Used the CmdServer as a library in the web UI | gem_oq-engine | train | py |
bd1acf5c4bfe79fa581488186e36e3908361d329 | diff --git a/create-window.js b/create-window.js
index <HASH>..<HASH> 100644
--- a/create-window.js
+++ b/create-window.js
@@ -4,6 +4,7 @@ const BrowserWindow = require('electron').BrowserWindow
const ipc = require('electron').ipcMain
const chokidar = require('chokidar')
const assign = require('object-assign')
+cons... | set focused window ID in shared state when focus changes | yoshuawuyts_vmd | train | js |
8f28d2f4e793b1cd38df7aa85a6cb4593cd1711f | diff --git a/pkg/synthetictests/duplicated_events.go b/pkg/synthetictests/duplicated_events.go
index <HASH>..<HASH> 100644
--- a/pkg/synthetictests/duplicated_events.go
+++ b/pkg/synthetictests/duplicated_events.go
@@ -87,6 +87,9 @@ var allowedRepeatedEventPatterns = []*regexp.Regexp{
// promtail crashlooping as its ... | Ignore loki NetworkNotReady repeating events.
Known issue below, but no need to special case loki which we tend to
ignore in situations like these. | openshift_origin | train | go |
de46ddb84c2b45a7c79194dc853292925524c1f1 | diff --git a/packages/react-server/core/ClientController.js b/packages/react-server/core/ClientController.js
index <HASH>..<HASH> 100644
--- a/packages/react-server/core/ClientController.js
+++ b/packages/react-server/core/ClientController.js
@@ -279,6 +279,11 @@ class ClientController extends EventEmitter {
reus... | Keep `document.location` up-to-date in frameback frame (#<I>)
Important for tracking page views, etc. | redfin_react-server | train | js |
a93e1fea54ce069b94cb92d437801440cffbd0dd | diff --git a/openquake/signalling.py b/openquake/signalling.py
index <HASH>..<HASH> 100644
--- a/openquake/signalling.py
+++ b/openquake/signalling.py
@@ -42,7 +42,8 @@ def generate_routing_key(job_id, type_):
:return: the routing key
:rtype: string
"""
- assert type_ in ('*', 'failed', 'succeeded', '... | Completed the list of logging levels
Former-commit-id: <I>b9ed9c<I>f<I>c<I>a1fc7fad<I>a8ff<I> | gem_oq-engine | train | py |
85a73e63384d9a7be5eb9dda9b19a735ee9cb009 | diff --git a/gwpy/tests/test_frequencyseries.py b/gwpy/tests/test_frequencyseries.py
index <HASH>..<HASH> 100644
--- a/gwpy/tests/test_frequencyseries.py
+++ b/gwpy/tests/test_frequencyseries.py
@@ -134,6 +134,13 @@ class TestFrequencySeries(TestSeries):
with tempfile.NamedTemporaryFile(suffix='.png') as f... | Adding a unit test for FrequencySeries.ifft() | gwpy_gwpy | train | py |
ebfaab8f327ceed1fcd27f0a8212f024a741c79f | diff --git a/pysc2/lib/features.py b/pysc2/lib/features.py
index <HASH>..<HASH> 100644
--- a/pysc2/lib/features.py
+++ b/pysc2/lib/features.py
@@ -1549,17 +1549,22 @@ class Features(object):
if a.ability_id not in actions.ABILITY_IDS:
logging.warning("Unknown ability %s seen as available.", a.ability_id... | Add sanity check to decoding of obs.abilities into available_actions. All known abilities should map to a PySC2 function.
PiperOrigin-RevId: <I> | deepmind_pysc2 | train | py |
aa50640231b78c278fc8f32cd3b5d6f3b9417619 | diff --git a/response.go b/response.go
index <HASH>..<HASH> 100644
--- a/response.go
+++ b/response.go
@@ -64,10 +64,11 @@ type AmazonItem struct {
EditorialReviews []AmazonEditorialReview `xml:"EditorialReviews>EditorialReview"`
BrowseNodes []AmazonBrowseNode `xml:"BrowseNodes>BrowseNode"`
}
+
type Ama... | Changing type for Ancestors field on AmazonBrowseNode struct | dominicphillips_amazing | train | go |
868d441dcdf00691fb4bded90a69a386749e12f6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
module.exports = function chain(next/*, task, task, ...*/) {
- var next = next || function (err) { err && console.error(err) };
+ var next = next || function (err) { err && console.error(err.stack || err) }... | when called as chain(null, ...) the default done() now displays the error stack | mhmeadows63_scope-chain | train | js |
6ef5767482e05a7145d2f30d6d48009f30b610c5 | diff --git a/lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb b/lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb
index <HASH>..<HASH> 100644
--- a/lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb
+++ b/lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb
@@ -1... | Fixes #<I> - Pass the runner's logger into the playbook runner | theforeman_foreman_ansible | train | rb |
f743da09351debb3c6ab68d72ce8b3f12e1cfa7a | diff --git a/h2o-algos/src/main/java/hex/deeplearning/DeepLearningTask.java b/h2o-algos/src/main/java/hex/deeplearning/DeepLearningTask.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/deeplearning/DeepLearningTask.java
+++ b/h2o-algos/src/main/java/hex/deeplearning/DeepLearningTask.java
@@ -112,8 +11... | PUBDEV-<I>: Fix prior commit for DL AE. | h2oai_h2o-3 | train | java |
d7be211726652935816b5e148a53877263a9620d | diff --git a/src/make-dialog.js b/src/make-dialog.js
index <HASH>..<HASH> 100644
--- a/src/make-dialog.js
+++ b/src/make-dialog.js
@@ -48,7 +48,7 @@ export default function makeDialog (options, ...props) {
// Inject a `$close` function and pre-defined props into dialog component
component: {
extends: c... | fix: props are overwritten when using class component definition | hjkcai_vue-modal-dialogs | train | js |
1df48e23a22b0deaa5a5877b1932672153881e50 | diff --git a/spring-autoconfigure/src/main/java/org/springframework/autoconfigure/reactor/ReactorAutoConfiguration.java b/spring-autoconfigure/src/main/java/org/springframework/autoconfigure/reactor/ReactorAutoConfiguration.java
index <HASH>..<HASH> 100644
--- a/spring-autoconfigure/src/main/java/org/springframework/au... | Change @Conditional for reactor auto config | spring-projects_spring-boot | train | java |
b276132e214677b88864ec396e2bbf232621359a | diff --git a/pkg/client/record/event.go b/pkg/client/record/event.go
index <HASH>..<HASH> 100644
--- a/pkg/client/record/event.go
+++ b/pkg/client/record/event.go
@@ -155,24 +155,20 @@ func recordEvent(sink EventSink, event *api.Event, updateExistingEvent bool) boo
// If we can't contact the server, then hold every... | event: improve logging on recording failure | kubernetes_kubernetes | train | go |
b20b73e087eda80168378317306804d80bb10768 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,7 +12,7 @@
#
import os
import sys
-sys.path.insert(0, os.path.abspath('../src'))
+sys.path.insert(0, os.path.abspath('../src/cltkv1/'))
# -- Project information -------------------------------------... | try abspath again for rtd | cltk_cltk | train | py |
7cd703ed19763985be3756f3bdb70879dbf31ed7 | diff --git a/astrocats/supernovae/tasks/crts.py b/astrocats/supernovae/tasks/crts.py
index <HASH>..<HASH> 100644
--- a/astrocats/supernovae/tasks/crts.py
+++ b/astrocats/supernovae/tasks/crts.py
@@ -127,8 +127,10 @@ def do_crts(catalog):
teles = 'Catalina Schmidt'
for line in lines:
... | BUG: handle munged showx in crts | astrocatalogs_astrocats | train | py |
59ca4b279e8ee6fe29b4707ef077c2f3e3235b23 | diff --git a/js/ui/ItemsView.js b/js/ui/ItemsView.js
index <HASH>..<HASH> 100644
--- a/js/ui/ItemsView.js
+++ b/js/ui/ItemsView.js
@@ -110,6 +110,17 @@ define(
}
this.$renderedItems = [];
this.$renderedItemsMap = {};
+ this.$indexOffset = 0;
+ ... | added index offset to prepend elements in itemsview | rappid_rAppid.js | train | js |
eea77a503bb5d48ac96c4ca7abe29df79d0cad21 | diff --git a/source/org/jasig/portal/Logger.java b/source/org/jasig/portal/Logger.java
index <HASH>..<HASH> 100644
--- a/source/org/jasig/portal/Logger.java
+++ b/source/org/jasig/portal/Logger.java
@@ -237,9 +237,15 @@ public class Logger extends GenericPortalBean
String sLogFile, sLogBase, sOldPath, sNewPath;
... | Added code to create a 'logs' directory in the portal base directory if it wasn't already there.
git-svn-id: <URL> | Jasig_uPortal | train | java |
850b12b88ef1cdd33d4be81d63366ff2995c708f | diff --git a/platform/nativescript/runtime/index.js b/platform/nativescript/runtime/index.js
index <HASH>..<HASH> 100644
--- a/platform/nativescript/runtime/index.js
+++ b/platform/nativescript/runtime/index.js
@@ -57,13 +57,14 @@ Vue.prototype.$mount = function(el, hydrating) {
}
Vue.prototype.$start = function() ... | fix(bootstrap): re-mount when activity is re-created | nativescript-vue_nativescript-vue | train | js |
bb09af3e4ac15f15524668d8bc86ea2c7a809526 | diff --git a/lib/chef/dsl/reader_helpers.rb b/lib/chef/dsl/reader_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/dsl/reader_helpers.rb
+++ b/lib/chef/dsl/reader_helpers.rb
@@ -16,7 +16,7 @@
autoload :TOML, "tomlrb"
require_relative "../json_compat"
-autoload :Psych, "psych"
+autoload :YAML, "yaml"
class C... | Revert back to using YAML
I was chasing shadows | chef_chef | train | rb |
bd3cc57c78f05276afe7fdb8d6f04c477f8f07df | diff --git a/cmd/juju/commands/run_test.go b/cmd/juju/commands/run_test.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/commands/run_test.go
+++ b/cmd/juju/commands/run_test.go
@@ -90,7 +90,7 @@ func (*RunSuite) TestTargetArgParsing(c *gc.C) {
services: []string{"wordpress", "mysql"},
}, {
message: "command to a... | "Fixed format issue" | juju_juju | train | go |
472fe92475bf5a3a4b4f07961861a37c7698d819 | diff --git a/code/plugins/system/koowa/document/default.php b/code/plugins/system/koowa/document/default.php
index <HASH>..<HASH> 100644
--- a/code/plugins/system/koowa/document/default.php
+++ b/code/plugins/system/koowa/document/default.php
@@ -29,6 +29,21 @@ class KDocumentDefault extends KDocumentAbstract
// Set... | Added getHeadData and setHeadData to KDocument | joomlatools_joomlatools-framework | train | php |
94acb9cc605c7e8ff8a3e7ea52b42a5d972872e8 | diff --git a/lib/gitenv/controller.rb b/lib/gitenv/controller.rb
index <HASH>..<HASH> 100644
--- a/lib/gitenv/controller.rb
+++ b/lib/gitenv/controller.rb
@@ -26,11 +26,11 @@ module Gitenv
#check_repository!
# load dot files by default
- if @config.actions.empty?
- @config.symlink @config.do... | Disabled file checks for now. | AlphaHydrae_gitenv | train | rb |
b27f46f2b3b960817609322cba80f4a6a37fea2a | diff --git a/admin/delete.php b/admin/delete.php
index <HASH>..<HASH> 100644
--- a/admin/delete.php
+++ b/admin/delete.php
@@ -17,12 +17,12 @@
$deletedir = $CFG->dataroot; // The directory to delete!
if (empty($sure)) {
- notice_yesno ('Are you completely sure you want to delete everything inside t... | Merged from MOODLE_<I>_STABLE - Fixed calls to set_user_sesskey(). | moodle_moodle | train | php |
a6dbbae2a6d35416ee16c12d482af094f732ab64 | diff --git a/timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js b/timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js
index <HASH>..<HASH> 100644
--- a/timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js
+++ b/timeside/player/static/timeside2/app/... | Server: Update Backbone model for Analysis | Parisson_TimeSide | train | js |
39448f0f307a765ca3195f212f81c46e7f4e7336 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,11 +1,13 @@
export default function (opts = {}) {
const isJsonFile = opts.filter || /\.json$/;
return (override, transform) => {
- transform("readSource", function (source, [module]) {
+ transfo... | Bring `readSource` transform up-to-date with Interlock API. | interlockjs_plugins | train | js |
672257462763dd54f53fe7cef966137be905f963 | diff --git a/bin/cmd.js b/bin/cmd.js
index <HASH>..<HASH> 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -74,7 +74,7 @@ if (command === 'help' || argv.help) {
runInfo(/* torrentId */ argv._[1])
} else if (command === 'create') {
runCreate(/* input */ argv._[1])
-} else if (command === 'download') {
+} else if (comm... | command line: "add" is alias to "download" | webtorrent_webtorrent | train | js |
4252809f73f513c3b5203f6cc2d7709ac2330189 | diff --git a/db.php b/db.php
index <HASH>..<HASH> 100644
--- a/db.php
+++ b/db.php
@@ -21,12 +21,13 @@
class Db {
- const EXCEPTIONS = true;
+ const EXCEPTIONS = true;
const NO_EXCEPTIONS = false;
- const FLATTEN = true;
- const NO_FLATTEN = false;
- const IS_NULL = 'IS NULL';
- const IS_NOT_NULL = 'IS NOT NULL... | added new brands manager added currency support added in clause suport to prepwhere cleaned up tax logic cleaned up database for new subtotal item logic added new item presonalities | nullivex_lib-db | train | php |
d182a59ef1440ab57ac4e8cfe3d05ecc47253edf | diff --git a/faker/providers/internet/it_IT/__init__.py b/faker/providers/internet/it_IT/__init__.py
index <HASH>..<HASH> 100644
--- a/faker/providers/internet/it_IT/__init__.py
+++ b/faker/providers/internet/it_IT/__init__.py
@@ -21,7 +21,7 @@ class Provider(InternetProvider):
'hotmail.com',
'hotmail... | Fixed trailing space and comma for tuple | joke2k_faker | train | py |
bf3496a07512df292553ae09c12e5d15cedce071 | diff --git a/tests/test_plot.py b/tests/test_plot.py
index <HASH>..<HASH> 100644
--- a/tests/test_plot.py
+++ b/tests/test_plot.py
@@ -83,29 +83,15 @@ class TestPlot:
svg = g.burn()
assert 'text="(1.00, 0.00)"' in svg
- def test_issue_19(self):
- graph = Plot()
- options = dict(
- area_fill=True,
- key=Tr... | Distill test to its essential cause. Ref #<I>. | jaraco_svg.charts | train | py |
453533d81c7b206b1435e981a23993a344fdf9f8 | diff --git a/services/language_translation/v1.js b/services/language_translation/v1.js
index <HASH>..<HASH> 100644
--- a/services/language_translation/v1.js
+++ b/services/language_translation/v1.js
@@ -120,7 +120,8 @@ module.exports = function (RED) {
if (!err) {
fs.write(info.fd, msg.payload);
... | refreshing code to comply with codacy rules 2 | watson-developer-cloud_node-red-node-watson | train | js |
1cc5c5492f65ab2a1d15732a370fb123548e0da0 | diff --git a/app/mixins/hospitalrun-version.js b/app/mixins/hospitalrun-version.js
index <HASH>..<HASH> 100644
--- a/app/mixins/hospitalrun-version.js
+++ b/app/mixins/hospitalrun-version.js
@@ -1,4 +1,4 @@
import Ember from 'ember';
export default Ember.Mixin.create({
- version: '0.9.6'
+ version: '0.9.7'
}); | Forgot to bump up version number. | HospitalRun_hospitalrun-frontend | train | js |
51aeb717a4564571207e895f75dd3be362f63007 | diff --git a/pkg/middleware/request_tracing.go b/pkg/middleware/request_tracing.go
index <HASH>..<HASH> 100644
--- a/pkg/middleware/request_tracing.go
+++ b/pkg/middleware/request_tracing.go
@@ -52,6 +52,7 @@ func RequestTracing() macaron.Handler {
ctx := opentracing.ContextWithSpan(req.Context(), span)
c.Req =... | inject modified request into context (#<I>) | grafana_grafana | train | go |
0b56e99431372f470f5c54050afb83082e8d6696 | diff --git a/mod/data/edit.php b/mod/data/edit.php
index <HASH>..<HASH> 100644
--- a/mod/data/edit.php
+++ b/mod/data/edit.php
@@ -295,6 +295,8 @@ if (!$rid){
******************************************/
if ($data->addtemplate){
$possiblefields = $DB->get_records('data_fields', array('dataid'=>$data->id), 'id');... | MDL-<I> data: Init 2 arrays (global scope) that may conflict with other global scope code | moodle_moodle | train | php |
fc30a49922295d1cf58ed69eb2d8caa8a8b7fb59 | diff --git a/src/Sulu/Bundle/CoreBundle/DependencyInjection/Compiler/RequestAnalyzerCompilerPass.php b/src/Sulu/Bundle/CoreBundle/DependencyInjection/Compiler/RequestAnalyzerCompilerPass.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/CoreBundle/DependencyInjection/Compiler/RequestAnalyzerCompilerPass.php
+++ b/s... | changed getDefinition to findDefinition | sulu_sulu | train | php |
9e9fe9914cbbd2505846e8c2de8799496ab7185d | diff --git a/lib/level.js b/lib/level.js
index <HASH>..<HASH> 100644
--- a/lib/level.js
+++ b/lib/level.js
@@ -973,6 +973,7 @@ var Level = exports.Level = INHERIT(/** @lends Level.prototype */{
dirs.forEach(function(dir) {
if (_this.isElemDir(dir)) return _this.scanElem(path, block, dir, items);
... | level scanner: filter out block/somedir and block/elem/somedir dirs not qualifying as block content | bem-archive_bem-tools | train | js |
72f249afcf998b091b7a6ca06e223e6d81985aa1 | diff --git a/device.js b/device.js
index <HASH>..<HASH> 100644
--- a/device.js
+++ b/device.js
@@ -27,9 +27,11 @@ var Device = module.exports = function Device() {
this.emit = this._emitter.emit.bind(this._emitter);
};
-Device.prototype.log = function(message, data) {
- this._log.emit('log', (this.name || this.t... | Updated device to include all avialable log levels | zettajs_zetta-device | train | js |
f9d1a10cde90a4b36c63665336035e6b56449ff8 | diff --git a/src/ExtendedRelations/BelongsToMany.php b/src/ExtendedRelations/BelongsToMany.php
index <HASH>..<HASH> 100644
--- a/src/ExtendedRelations/BelongsToMany.php
+++ b/src/ExtendedRelations/BelongsToMany.php
@@ -1,21 +1,10 @@
<?php
-/**
- * Created by PhpStorm.
- * User: Raj Kumar
- * Date: 2/12/19
- * Time: 5:... | Update BelongsToMany.php | Froiden_laravel-rest-api | train | php |
682cb75984e89c0c845812bb0a6c67dc15318121 | diff --git a/lib/specinfra/helper/detect_os/aix.rb b/lib/specinfra/helper/detect_os/aix.rb
index <HASH>..<HASH> 100644
--- a/lib/specinfra/helper/detect_os/aix.rb
+++ b/lib/specinfra/helper/detect_os/aix.rb
@@ -1,7 +1,10 @@
class Specinfra::Helper::DetectOs::Aix < Specinfra::Helper::DetectOs
def detect
if run_... | Modifying the AIX detect_os code to include the release and architecture | mizzy_specinfra | train | rb |
c1437b004cfe84ede7d03fe5ae79632c5cb7b082 | diff --git a/routes/list.js b/routes/list.js
index <HASH>..<HASH> 100644
--- a/routes/list.js
+++ b/routes/list.js
@@ -1,6 +1,6 @@
module.exports = function list(bole, level, request, response) {
var keyCount = 0
- level.createKeyStream()
+ level.createKeyStream({ fillCache: false })
.on('data', function(key... | Do not fill LevelDB LRU cache when listing forms | commonform-archive_commonform-serve | train | js |
979f4c59c5e976c1386b422ff52f1c1e37b0c4cc | diff --git a/packages/react-split-grid/src/index.js b/packages/react-split-grid/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/react-split-grid/src/index.js
+++ b/packages/react-split-grid/src/index.js
@@ -194,8 +194,8 @@ ReactSplitGrid.propTypes = {
children: PropTypes.element,
gridTemplateColumns: ... | Swap arrayOf with objectOf | nathancahill_split | train | js |
0feaa158f0f01957da6be02ac6fa940a5c645093 | diff --git a/tests/Datagrid/ListMapperTest.php b/tests/Datagrid/ListMapperTest.php
index <HASH>..<HASH> 100644
--- a/tests/Datagrid/ListMapperTest.php
+++ b/tests/Datagrid/ListMapperTest.php
@@ -208,8 +208,11 @@ class ListMapperTest extends TestCase
$this->listMapper->add('_'.$type, $type);
}
- ... | Actually traverse the array
Traversing that object creates no iteration. This was not tested. | sonata-project_SonataAdminBundle | train | php |
c2b23264c2ac2363553f10bf6a82238c5e88cfe2 | diff --git a/filer/__init__.py b/filer/__init__.py
index <HASH>..<HASH> 100644
--- a/filer/__init__.py
+++ b/filer/__init__.py
@@ -1,3 +1,3 @@
#-*- coding: utf-8 -*-
# version string following pep-0396 and pep-0386
-__version__ = '0.9a4.dev1' # pragma: nocover
+__version__ = '0.9b1' # pragma: nocover | version bump to <I>b1 | divio_django-filer | train | py |
e052d0611142c990b02c5f2ab370f995cf48e73c | diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js
index <HASH>..<HASH> 100644
--- a/src/playbacks/hls/hls.js
+++ b/src/playbacks/hls/hls.js
@@ -40,7 +40,7 @@ class HLS extends UIPlugin {
addListeners() {
Mediator.on(this.uniqueId + ':flashready', () => this.bootstrap())
- Mediator.on(this.un... | hls: fix jshint complaints | clappr_clappr | train | js |
82cae6edc4dbb9cf4582f483adaa4e00e500291a | diff --git a/go/chat/uithreadloader.go b/go/chat/uithreadloader.go
index <HASH>..<HASH> 100644
--- a/go/chat/uithreadloader.go
+++ b/go/chat/uithreadloader.go
@@ -238,6 +238,13 @@ func (t *UIThreadLoader) mergeLocalRemoteThread(ctx context.Context, remoteThrea
newMsg.GetMessageID())
return true
}
+ // If t... | include exploded by messages in local/remote merge (#<I>) | keybase_client | train | go |
63fa92c4139d2bb5e7c90c12441575eddb064b4f | diff --git a/examples/multi_script_CLI.py b/examples/multi_script_CLI.py
index <HASH>..<HASH> 100644
--- a/examples/multi_script_CLI.py
+++ b/examples/multi_script_CLI.py
@@ -9,6 +9,7 @@ from tqdm import tqdm
sys.path.append(os.path.join(sys.path[0], '../'))
from instabot import Bot
+
# initial
def initial_chec... | Fix 'pycodestyle' issue | instagrambot_instabot | train | py |
3eb4dc1cab64adfe95c03fa4e0e5b4761e7fec27 | diff --git a/site-unavailable.php b/site-unavailable.php
index <HASH>..<HASH> 100644
--- a/site-unavailable.php
+++ b/site-unavailable.php
@@ -32,9 +32,10 @@ define('WT_WEBTREES', true);
define('WT_ROOT', '');
define('WT_GED_ID', 0);
define('WT_USER_ID', 0);
-set_include_path('library'.PATH_SEPARATOR.get_include_pat... | Update site-unavailable.php script to work with new auto-loading framework | fisharebest_webtrees | train | php |
b4f90ad59055a18bf56d3884074dafd934049957 | diff --git a/lib/base/catalog_manager_v2.rb b/lib/base/catalog_manager_v2.rb
index <HASH>..<HASH> 100644
--- a/lib/base/catalog_manager_v2.rb
+++ b/lib/base/catalog_manager_v2.rb
@@ -177,14 +177,14 @@ module VCAP
:body => Yajl::Encoder.encode(cc_handle)) do |http|
if ! http.error
... | State correct version in CatalogManagerV2 logging. | cloudfoundry-attic_vcap-services-base | train | rb |
beb4ee2f44fc4f4f5882735abc2cc56a8e2b8769 | diff --git a/src/AssetsManager/Loader.php b/src/AssetsManager/Loader.php
index <HASH>..<HASH> 100755
--- a/src/AssetsManager/Loader.php
+++ b/src/AssetsManager/Loader.php
@@ -249,7 +249,7 @@ class Loader extends AbstractAssetsPackage
public function setAssetsDb(array $db)
{
foreach ($db as $package_n... | Correction in the "setAssetsDb" | atelierspierrot_assets-manager | train | php |
63d685eff315b5b84d3fb18ffd356c0fef2b2824 | diff --git a/lib/Record.php b/lib/Record.php
index <HASH>..<HASH> 100644
--- a/lib/Record.php
+++ b/lib/Record.php
@@ -21,12 +21,13 @@ class Record extends Resource
*/
public function offsetExists($index)
{
- if (!$exists = parent::offsetExists($index)) {
- if ($this->links && (isset($... | Fix offsetExists for isset | schemaio_schema-php-client | train | php |
1d13bca80657e5d4fa64924e0ac706903a53b8c9 | diff --git a/core/scratch_block_comment.js b/core/scratch_block_comment.js
index <HASH>..<HASH> 100644
--- a/core/scratch_block_comment.js
+++ b/core/scratch_block_comment.js
@@ -324,7 +324,8 @@ Blockly.ScratchBlockComment.prototype.setMinimized = function(minimize) {
Blockly.ScratchBlockComment.prototype.setBubbleSiz... | Minimized comments should get imported with minimize width instead of provided full size width. | LLK_scratch-blocks | train | js |
53b2146a0c956212a5a0d70e89f039688852ae74 | diff --git a/drools-compiler/src/main/java/org/kie/builder/impl/FormatsManager.java b/drools-compiler/src/main/java/org/kie/builder/impl/FormatsManager.java
index <HASH>..<HASH> 100644
--- a/drools-compiler/src/main/java/org/kie/builder/impl/FormatsManager.java
+++ b/drools-compiler/src/main/java/org/kie/builder/impl/F... | Fix FQCN and add other Converters | kiegroup_drools | train | java |
710312a17aa8b818da9f0d217e2767f82110c4de | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -89,6 +89,7 @@ class TestCommand(Command):
def run(self):
# Do not include current directory, validate using installed pythran
current_dir = _exclude_current_dir_from_import()
+ os.chdir("pythran/... | Exclude current directory from import by changing directory
The issue is that with multi-processing, new process are spawn and
`import pythran` resolve in the current directory. The solution
is then to change the current directory so that the new processes
won't find pythran here but will use the PYTHONPATH | serge-sans-paille_pythran | train | py |
3b9874c1f7f2c612284ba25806805ac26d79d878 | diff --git a/lib/WebSocket.js b/lib/WebSocket.js
index <HASH>..<HASH> 100644
--- a/lib/WebSocket.js
+++ b/lib/WebSocket.js
@@ -641,20 +641,12 @@ function establishConnection(ReceiverClass, SenderClass, socket, upgradeHead) {
self._receiver.add(data);
}
var dataHandler = firstHandler;
- process.nextTick(func... | another approach for fixing the race condition. moved data listener to the end of the function | websockets_ws | train | js |
1a735cb79a492a81d788fe3fde6b79b62e5e1db1 | diff --git a/singularity/package.py b/singularity/package.py
index <HASH>..<HASH> 100644
--- a/singularity/package.py
+++ b/singularity/package.py
@@ -183,7 +183,10 @@ def load_package(package_path,get=None):
filename,ext = os.path.splitext(g)
if ext in [".img"]:
- print("Found image %s, ... | modified: singularity/package.py | singularityhub_singularity-python | train | py |
23fc7c3cf34966af7318926d777975304db00462 | diff --git a/src/elements/picker/Picker.js b/src/elements/picker/Picker.js
index <HASH>..<HASH> 100644
--- a/src/elements/picker/Picker.js
+++ b/src/elements/picker/Picker.js
@@ -200,11 +200,16 @@ export class Picker extends OutsideClick {
writeValue(value) {
if (typeof value === 'string') {
... | fix(picker): Fixing the initial value being [Object object] | bullhorn_novo-elements | train | js |
03ca4b1fd3beddd7b810ed0078e2ca0628db1a2b | diff --git a/tests/pipelines/stepping.py b/tests/pipelines/stepping.py
index <HASH>..<HASH> 100644
--- a/tests/pipelines/stepping.py
+++ b/tests/pipelines/stepping.py
@@ -106,7 +106,7 @@ class MultipipesStepper:
for item in items:
if type(item) != tuple:
item = (item,)
- ... | make stepping pipeline queue items mutable | bigchaindb_bigchaindb | train | py |
307917505bbc1ef9f8e3b9442c92bbbf79cafa45 | diff --git a/src/Illuminate/Foundation/Console/ListenerMakeCommand.php b/src/Illuminate/Foundation/Console/ListenerMakeCommand.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Console/ListenerMakeCommand.php
+++ b/src/Illuminate/Foundation/Console/ListenerMakeCommand.php
@@ -85,6 +85,17 @@ class Listener... | Fix bug in listener generation.
This prevents the framework from generating listeners for listeners
that are defined in packages outside of the App namespace. | laravel_framework | train | php |
57bb9f39c099624d20cf1695fe354b4b42f68d7a | diff --git a/test/functional/test_dirty.rb b/test/functional/test_dirty.rb
index <HASH>..<HASH> 100644
--- a/test/functional/test_dirty.rb
+++ b/test/functional/test_dirty.rb
@@ -106,6 +106,15 @@ class DirtyTest < Test::Unit::TestCase
doc = @document.new
doc.value_changed?.should be_false
end
+
+ ... | added test: changed? should be false if the same ObjectId was assigned in String format | mongomapper_mongomapper | train | rb |
49c8a4c63315429d512384e67acdab657a843d6f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,6 @@
'''
from distutils.core import setup
-import numpy as np
from setuptools import find_packages
CLASSIFIERS = [
@@ -31,7 +30,7 @@ with open('README.md') as fp:
setup(
name = 'galoshes',
- version ... | Remove unnecessary numpy setup dependency. | bsmithyman_galoshes | train | py |
e23c85b3bd282255a61ab049b06ef29e0b1114f5 | diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java
index <HASH>..<HASH> 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplication... | fixed project type to community after merge with telscale branch | RestComm_sip-servlets | train | java |
587ab9bbbf6f9f1970e5371bd0600b0b796317fd | diff --git a/test/compressor.js b/test/compressor.js
index <HASH>..<HASH> 100644
--- a/test/compressor.js
+++ b/test/compressor.js
@@ -181,4 +181,22 @@ describe('compressor.js', function() {
});
});
});
+
+ describe('invariant', function() {
+ describe('decompressor.decompress(compressor.compress(hea... | New test case for compressor.js | molnarg_node-http2-protocol | train | js |
2ef879991d4c823ecf38248a2b59124bf7276a3a | diff --git a/lib/ancestry/instance_methods.rb b/lib/ancestry/instance_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/ancestry/instance_methods.rb
+++ b/lib/ancestry/instance_methods.rb
@@ -295,7 +295,7 @@ module Ancestry
end
def ancestry_callbacks_disabled?
- !!@disable_ancestry_callbacks
+ defi... | remove warnings for @disable_ancestry_callbacks
The variable was accessed without being defined | stefankroes_ancestry | train | rb |
41684b757873ee70d5195ae377d9236baa79d570 | diff --git a/modules/testrunner/app/controllers/testrunner.go b/modules/testrunner/app/controllers/testrunner.go
index <HASH>..<HASH> 100644
--- a/modules/testrunner/app/controllers/testrunner.go
+++ b/modules/testrunner/app/controllers/testrunner.go
@@ -81,11 +81,13 @@ func (c TestRunner) Run(suite, test string) revel... | Fix After not being run on failed test in testrunner | revel_revel | train | go |
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.