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 |
|---|---|---|---|---|---|
5ad750d4593def201687dd301c7a6be4cc68bd61 | diff --git a/core/src/ashley/core/Family.java b/core/src/ashley/core/Family.java
index <HASH>..<HASH> 100644
--- a/core/src/ashley/core/Family.java
+++ b/core/src/ashley/core/Family.java
@@ -67,8 +67,9 @@ public class Family {
public static Family getFamilyFor(Class<? extends Component> ...componentTypes){
BitSet ... | revert foreach into for | libgdx_ashley | train | java |
1d95d5bb29bf5d5319820c41308d732bba81ae20 | diff --git a/src/libtcod.py b/src/libtcod.py
index <HASH>..<HASH> 100644
--- a/src/libtcod.py
+++ b/src/libtcod.py
@@ -44,11 +44,9 @@ _lib_ctypes = _ctypes.CDLL(
# add Mac dylib's to DYLD_LIBRARY_PATH
if 'darwin' in _sys.platform:
if 'DYLD_LIBRARY_PATH' in _os.environ:
- _os.environ['DYLD_LIBRARY_PATH'] +... | try using realpath for dyld path | libtcod_python-tcod | train | py |
d16e6026e93790367ae1790f995bd7e5daef7139 | diff --git a/client_test.go b/client_test.go
index <HASH>..<HASH> 100644
--- a/client_test.go
+++ b/client_test.go
@@ -147,7 +147,13 @@ var _ = Describe("Aerospike", func() {
defaultTTL, err := strconv.Atoi(nsInfo(ns, "default-ttl"))
Expect(err).ToNot(HaveOccurred())
- Expect(rec.Expiration).To(Equal(... | fix TTL tests for when the server is set to 0 | aerospike_aerospike-client-go | train | go |
92d2b74c0d4b86a3cb5e21e8dec4258439aad6cd | diff --git a/cmd/dht-announce/main.go b/cmd/dht-announce/main.go
index <HASH>..<HASH> 100644
--- a/cmd/dht-announce/main.go
+++ b/cmd/dht-announce/main.go
@@ -28,6 +28,7 @@ func mainErr() int {
Port int
Debug bool
Scrape bool
+ Addr string
tagflag.StartPos
Infohash [][20]byte
}{}
@@ -37,6 +38,13 ... | cmd/dht-announce: Add addr flag | anacrolix_dht | train | go |
7f79a9281d25b57827bfbca0249c55eed90d69c9 | diff --git a/snippets/activityindicator.js b/snippets/activityindicator.js
index <HASH>..<HASH> 100644
--- a/snippets/activityindicator.js
+++ b/snippets/activityindicator.js
@@ -13,7 +13,7 @@ var reloadButton = new tabris.Button({
}).appendTo(tabris.ui.contentView);
function executeLongRunningTask() {
- // Toggle... | Fix comment typo in snippet activityindicator.js | eclipsesource_tabris-js | train | js |
febd1a1d33a42f06453b11bdbece94cdadff5b53 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -105,15 +105,13 @@ async function convertGltf(asset, configDir, destPath) {
switch (ext) {
case ".fbx":
const fbxDestPath = await fbx2gltf(srcPath, destGltfPath);
-
+ // TODO: Hack for FBX2g... | Remove .fbm directory after moving. | MozillaReality_gltf-bundle | train | js |
05ab7b7dc765e62ebd8d0431536348324a7ea9c8 | diff --git a/pagoda/physics.py b/pagoda/physics.py
index <HASH>..<HASH> 100644
--- a/pagoda/physics.py
+++ b/pagoda/physics.py
@@ -284,6 +284,14 @@ class Motor(object):
return self.ode_motor.getNumAxes()
@property
+ def positions(self):
+ return [self.ode_motor.getPosition(i) for i in range(se... | Add linear properties to parent motor class. | EmbodiedCognition_pagoda | train | py |
1b240e430d533a03f8d70a21935a9169d28c0362 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -48,6 +48,7 @@ module.exports = function SumoLogger( opts ) {
const collectorEndpoint = endpoint + opts.collector;
const syncInterval = opts.syncInterval || 1000;
const maxLines = opts.maxLines || 100;
+ let ... | Adding 'end' method to stream
This is required in order to safely exit an application after all logs have been transmitted | TonyFNZ_bunyan-sumologic | train | js |
8a17453adda5e30e9bdfb4d40565cf6ac39febcb | diff --git a/reana_db/models.py b/reana_db/models.py
index <HASH>..<HASH> 100644
--- a/reana_db/models.py
+++ b/reana_db/models.py
@@ -81,6 +81,7 @@ class Workflow(Base, Timestamp):
logs = Column(String)
run_started_at = Column(DateTime)
run_finished_at = Column(DateTime)
+ run_stopped_at = Column(Dat... | models: add missing time stamp for stop workflow | reanahub_reana-db | train | py |
f50715b4961453b8ea043dc23577dfadc481dcec | diff --git a/webview/platforms/winforms.py b/webview/platforms/winforms.py
index <HASH>..<HASH> 100644
--- a/webview/platforms/winforms.py
+++ b/webview/platforms/winforms.py
@@ -48,8 +48,6 @@ def use_cef():
def _is_edge():
- windows_version = Environment.OSVersion.Version.Major, Environment.OSVersion.Version.M... | [WinForms] Fix Windows version detection | r0x0r_pywebview | train | py |
e3c5a8c6be1ce2f19eeab42b9359e83e84db0fbd | diff --git a/job.go b/job.go
index <HASH>..<HASH> 100644
--- a/job.go
+++ b/job.go
@@ -169,14 +169,14 @@ func (a *Job) AddNamedPorts(names ...string) *Job {
}
// Adds a request for a number of ports to the job configuration. The names chosen for these ports
-// will be org.apache.aurora.portX, where X is the curren... | Changing prefix of un-named ports | paypal_gorealis | train | go |
6aaa0bd0b856af19198fadd09554e107e9ce68e4 | diff --git a/src/discovery/worker/inside/index.js b/src/discovery/worker/inside/index.js
index <HASH>..<HASH> 100644
--- a/src/discovery/worker/inside/index.js
+++ b/src/discovery/worker/inside/index.js
@@ -94,17 +94,8 @@ channel.startDiscoveryPromise.then(() => {
defaultInfo :
initialState;
... | Old state always has lastConfirmedMain/Change | trezor_hd-wallet | train | js |
290688f230999872bb680d1b8bf513c8f2070390 | diff --git a/node.js b/node.js
index <HASH>..<HASH> 100644
--- a/node.js
+++ b/node.js
@@ -31,10 +31,10 @@ class Node extends EventEmitter {
return { address, pubKey, urls, timestamp };
}
- generate () {
+ async generate () {
assert(!this.running, 'Cannot generate identity on running node');
- thi... | Change generate method to be async | twlv_twlv-core | train | js |
32eee31825ae72653bfed7853baeb9ca04e40702 | diff --git a/lib/effective_resources/engine.rb b/lib/effective_resources/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/effective_resources/engine.rb
+++ b/lib/effective_resources/engine.rb
@@ -40,9 +40,11 @@ module EffectiveResources
# Register the acts_as_archived routes concern
# resources :things, concer... | think i'm including the route acts_as_archived concern properly | code-and-effect_effective_resources | train | rb |
950332adc3400e8ebfddc6f3f9adec612ae3c092 | diff --git a/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/services/task/impl/model/xml/JaxbTask.java b/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/services/task/impl/model/xml/JaxbTask.java
index <HASH>..<HASH> 100644
--- a/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/servi... | BZ-<I> - TaskData object not storing Comments, CreatedOn, ExpirationTime
(cherry picked from commit 4ebd<I>a1b4feff8d<I>badb<I>fed<I>ced4d<I>dfb) | kiegroup_jbpm | train | java |
5bc0c40a060a72dee33b08e9ce4e34c845af704d | diff --git a/lib/slurper.rb b/lib/slurper.rb
index <HASH>..<HASH> 100644
--- a/lib/slurper.rb
+++ b/lib/slurper.rb
@@ -1,6 +1,6 @@
require 'yaml'
require 'story'
-YAML::ENGINE.yamler='syck'
+YAML::ENGINE.yamler='syck' if RUBY_VERSION > '1.9'
class Slurper | Set yaml engine only if ruby is greater than <I> | hashrocket_slurper | train | rb |
57b8333d335fd8c53f9c82a9ea18eb3fb3af5269 | diff --git a/src/Asset/Widget/Queue.php b/src/Asset/Widget/Queue.php
index <HASH>..<HASH> 100644
--- a/src/Asset/Widget/Queue.php
+++ b/src/Asset/Widget/Queue.php
@@ -4,6 +4,7 @@ namespace Bolt\Asset\Widget;
use Bolt\Asset\QueueInterface;
use Silex\Application;
use Bolt\Asset\Target;
+use Bolt\Asset\Snippet\Snippet;... | Inject deferred JavaScript as a Snippet | bolt_bolt | train | php |
f2aaf85257d195cb921be865b36d10c2a026a595 | diff --git a/src/geometry/PointBufferGeometry.js b/src/geometry/PointBufferGeometry.js
index <HASH>..<HASH> 100644
--- a/src/geometry/PointBufferGeometry.js
+++ b/src/geometry/PointBufferGeometry.js
@@ -28,7 +28,7 @@ PointBufferGeometry.prototype.bufferPositions = function() {
*
* @param {String} name Name of the a... | fixes misleading comment
looks like this file was based on a copy of [PrefabBufferGeometry](<URL>) and contains a comment that isn't correct in this case | zadvorsky_three.bas | train | js |
0a431ba645f5f1495be439aed9ffaa4906f9068a | diff --git a/growler/core/application.py b/growler/core/application.py
index <HASH>..<HASH> 100644
--- a/growler/core/application.py
+++ b/growler/core/application.py
@@ -31,14 +31,15 @@ import types
import inspect
import logging
-from growler.utils.event_manager import Events
-from growler.http import (
+from ..ut... | growler.core.application: Reorganized imports & fixed bug in print-middleware-tree | pyGrowler_Growler | train | py |
82e27552fb47c17da9ffe794f5a42e78a9dc823f | diff --git a/lib/glynn/ftp.rb b/lib/glynn/ftp.rb
index <HASH>..<HASH> 100644
--- a/lib/glynn/ftp.rb
+++ b/lib/glynn/ftp.rb
@@ -24,14 +24,18 @@ module Glynn
end
def send_dir(ftp, local, distant)
- ftp.mkdir(distant)
+ begin
+ ftp.mkdir(distant)
+ end
Dir.foreach(local) do |fi... | we ignore errors when the directory already exists | dmathieu_glynn | train | rb |
6299212ce1da054509ea8399883e64ec197cd677 | diff --git a/flink-libraries/flink-streaming-python/src/test/java/org/apache/flink/streaming/python/api/PythonStreamBinderTest.java b/flink-libraries/flink-streaming-python/src/test/java/org/apache/flink/streaming/python/api/PythonStreamBinderTest.java
index <HASH>..<HASH> 100644
--- a/flink-libraries/flink-streaming-p... | [hotfix][python][tests] Activate remaining tests | apache_flink | train | java |
b6961a54ec6bfe6feddd68215cc226faa5597b1d | diff --git a/app/models/stream.rb b/app/models/stream.rb
index <HASH>..<HASH> 100644
--- a/app/models/stream.rb
+++ b/app/models/stream.rb
@@ -106,24 +106,15 @@ class Stream
end
def all_users_with_alarm
- uids = AlertedStream.where(:stream_id => id)
-
- users = Array.new
- uids.each do |uid|
- use... | - just some minor refactoring | Graylog2_graylog2-server | train | rb |
8aca99a09a9cc77f2ce89ad4f6d62a60f026a6ba | diff --git a/aiohue/v2/models/feature.py b/aiohue/v2/models/feature.py
index <HASH>..<HASH> 100644
--- a/aiohue/v2/models/feature.py
+++ b/aiohue/v2/models/feature.py
@@ -340,8 +340,8 @@ class TimedEffectsFeature:
https://developers.meethue.com/develop/hue-api-v2/api-reference/#resource_light_get
"""
- s... | Fix typo in timed effects feature (#<I>) | balloob_aiohue | train | py |
19b96c8ebfbc9baa89b977dadce53aa1e52aea62 | diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -1644,14 +1644,17 @@ class EditorStack(QWidget):
def revert(self):
"""Revert file from disk"""
index = self.get_stack_index()... | Editor: revert option was prompting for user input even on an unmodified buffer
Update Issue <I>
Status: Fixed | spyder-ide_spyder | train | py |
7d67651a3b78d8fc5e70db9ebbadcaa76cd0de52 | diff --git a/middleware/proxy.go b/middleware/proxy.go
index <HASH>..<HASH> 100644
--- a/middleware/proxy.go
+++ b/middleware/proxy.go
@@ -142,6 +142,10 @@ func ProxyWithConfig(config ProxyConfig) echo.MiddlewareFunc {
return func(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) (err error) ... | check proxy skipper before proceeding (#<I>) | labstack_echo | train | go |
e89f416b63d354201b4bc241b3e458bb85681bbe | diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -117,6 +117,8 @@ class FileListDialog(QDialog):
self.listwidget.setResizeMode(QListWidget.Adjust)
self.connect(self.listwidget, SIG... | Editor/File list management dialog (Ctrl+E): double-clicking/pressing Return on a listwidget item will switch to the associated file | spyder-ide_spyder | train | py |
61b512849bbd80e9aa584287afd412592ef7a063 | diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/svtplay.py
+++ b/lib/svtplay_dl/service/svtplay.py
@@ -176,7 +176,7 @@ class Svtplay(Service, OpenGraphThumbMixin):
return videos
res = self.http.get("http:... | svtplay: they started to use single quotes instead of double.
fixes #<I>
fixes #<I> | spaam_svtplay-dl | train | py |
ae9139a5820b73e2b10d7f745b45d4affed11f4e | diff --git a/payment/src/main/java/com/ning/billing/payment/glue/PaymentModule.java b/payment/src/main/java/com/ning/billing/payment/glue/PaymentModule.java
index <HASH>..<HASH> 100644
--- a/payment/src/main/java/com/ning/billing/payment/glue/PaymentModule.java
+++ b/payment/src/main/java/com/ning/billing/payment/glue/... | Increment number of threads fir plugin | killbill_killbill | train | java |
d474a41804105a3e3b72dd17fe21d7c94b01ec63 | diff --git a/src/Trappar/AliceGenerator/Faker/FakerGenerator.php b/src/Trappar/AliceGenerator/Faker/FakerGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Trappar/AliceGenerator/Faker/FakerGenerator.php
+++ b/src/Trappar/AliceGenerator/Faker/FakerGenerator.php
@@ -7,8 +7,9 @@ class FakerGenerator
public static f... | FakerGenerator shouldn't return parenthesis when no arguments are supplied | trappar_AliceGenerator | train | php |
dd8b99537272bb80daabdc0ee3426f316e1528de | diff --git a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java b/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java
index <HASH>..<HASH> 100644
--- a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java
+++ ... | remove unsed var "pattern" | languagetool-org_languagetool | train | java |
16417649e97769c4afc0048cc189e1ea093db07a | diff --git a/lib/Server.js b/lib/Server.js
index <HASH>..<HASH> 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -111,6 +111,15 @@ function Server(compiler, options) {
app.use(this.middleware);
}
+ if (options.proxy) {
+ var paths = Object.keys(options.proxy);
+ paths.forEach(function (path) {
+ app.all(pat... | added option to have the dev server proxy a path to another server | webpack_webpack-dev-server | train | js |
a9c35b31f8d295d311bac50cee57df46ebd12d1e | diff --git a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/settings/dev.py b/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/settings/dev.py
index <HASH>..<HASH> 100644
--- a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecu... | add <I> to dev allowed hosts | praekeltfoundation_molo | train | py |
1087b0be9db28bfd936266f666aec8004703b168 | diff --git a/src/Resolver/NotificationResolver.php b/src/Resolver/NotificationResolver.php
index <HASH>..<HASH> 100644
--- a/src/Resolver/NotificationResolver.php
+++ b/src/Resolver/NotificationResolver.php
@@ -147,6 +147,11 @@ class NotificationResolver implements ResolverInterface
->setAllowedValues('url... | Merge pull request #<I> from simcen/master
Added missing web_url OneSignal option | norkunas_onesignal-php-api | train | php |
4a57c0e0c855b4afd2599e739a76ec6a4306f905 | diff --git a/cluster/calcium/create.go b/cluster/calcium/create.go
index <HASH>..<HASH> 100644
--- a/cluster/calcium/create.go
+++ b/cluster/calcium/create.go
@@ -262,6 +262,7 @@ func (c *Calcium) doMakeContainerOptions(index int, cpumap types.CPUMap, opts *t
config.Storage = opts.Storage
config.NUMANode = node.Get... | minor fix: compose create container opts properly | projecteru2_core | train | go |
a62c681a12c6df9824da4d1876e2bfaf5c157220 | diff --git a/qiskit/visualization/gate_map.py b/qiskit/visualization/gate_map.py
index <HASH>..<HASH> 100644
--- a/qiskit/visualization/gate_map.py
+++ b/qiskit/visualization/gate_map.py
@@ -128,6 +128,21 @@ def plot_gate_map(backend, figsize=None,
mpl_data[5] = [[1, 0], [0, 1], [1, 1], [1, 2], [2, 1]]
+ mp... | rochester_layout (#<I>) | Qiskit_qiskit-terra | train | py |
68431f8c9b825c9b5783d05b3e69e4e665974f04 | diff --git a/actors/lib/agent_manager.rb b/actors/lib/agent_manager.rb
index <HASH>..<HASH> 100644
--- a/actors/lib/agent_manager.rb
+++ b/actors/lib/agent_manager.rb
@@ -24,7 +24,7 @@ class AgentManager
include Nanite::Actor
- expose :ping, :set_log_level
+ expose :ping, :set_log_level, :execute
# Valid ... | Add 'execute' method to agent manager actor. | rightscale_right_link | train | rb |
183f9cc99c1f805b39e17df2958f4c9aeeb43c96 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -4862,7 +4862,7 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v
if ($usehtmleditor) {
if (!empty($courseid) and has_capability('moodle/course:... | MDL-<I> HTML editor is loaded as non-secure on the secure "Add new user" form, patch by Steve Bond; merged from MOOODLE_<I>_SATBLE | moodle_moodle | train | php |
003ee46fb4832a779b9b0e406d2f9468bf859bc9 | diff --git a/WellCommerceCouponBundle.php b/WellCommerceCouponBundle.php
index <HASH>..<HASH> 100755
--- a/WellCommerceCouponBundle.php
+++ b/WellCommerceCouponBundle.php
@@ -22,7 +22,7 @@ use WellCommerce\Bundle\CoreBundle\HttpKernel\AbstractWellCommerceBundle;
*/
final class WellCommerceCouponBundle extends Abstra... | Prepared StandardEditionBundle | WellCommerce_CouponBundle | train | php |
8dac72b1733174751c9fa40b6a8312eb0a71aaa7 | diff --git a/test_project/settings.py b/test_project/settings.py
index <HASH>..<HASH> 100644
--- a/test_project/settings.py
+++ b/test_project/settings.py
@@ -46,10 +46,16 @@ INSTALLED_APPS = (
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
+ 'filters': {
+ 'require_debug_false': {
+ ... | improve settings.py a bit | uploadcare_pyuploadcare | train | py |
673d850fa19ecb292e81771ccbfc295a776be981 | diff --git a/chalice/deployer.py b/chalice/deployer.py
index <HASH>..<HASH> 100644
--- a/chalice/deployer.py
+++ b/chalice/deployer.py
@@ -656,7 +656,7 @@ class LambdaDeployer(object):
policy_file = os.path.join(config.project_dir,
'.chalice', 'policy.json')
with op... | Prevent trailing whitespace in policy.json.
Python's `json.dumps` function places trailing whitespace on some lines when
`indent` is specified. Among other things, this can cause spurious diffs
when a correctly formatted, non-autogen policy is processed for deployment.
Adding an appropriate `seperators` argument supp... | aws_chalice | train | py |
78f7c29ce0ede4603d915ea9e4bdfda53e7b6f6a | diff --git a/lib/ruote/exp/fe_inc.rb b/lib/ruote/exp/fe_inc.rb
index <HASH>..<HASH> 100644
--- a/lib/ruote/exp/fe_inc.rb
+++ b/lib/ruote/exp/fe_inc.rb
@@ -23,9 +23,6 @@
#++
-require 'ruote/exp/fe_set'
-
-
module Ruote::Exp
#
diff --git a/lib/ruote/exp/fe_set.rb b/lib/ruote/exp/fe_set.rb
index <HASH>..<HASH> ... | "set" vs "sequence" load order fix | jmettraux_ruote | train | rb,rb |
743b71a2fa0ca60194caa3a92ec708fe9828e0d4 | diff --git a/server/api.js b/server/api.js
index <HASH>..<HASH> 100644
--- a/server/api.js
+++ b/server/api.js
@@ -10,7 +10,7 @@ var options = {
? ':memory:' : config.get('db_path'),
logger: logger,
mock: config.get('NODE_ENV') === 'test',
- trace: config.get('debug')
+ trace: config.get('debug') || false
... | [FIX] Tests can run without a config.json | ripple_ripple-rest | train | js |
80cbed9d0281b994081f7d842420cede281f6b41 | diff --git a/ardy/core/triggers/cloudwatchevent/__init__.py b/ardy/core/triggers/cloudwatchevent/__init__.py
index <HASH>..<HASH> 100644
--- a/ardy/core/triggers/cloudwatchevent/__init__.py
+++ b/ardy/core/triggers/cloudwatchevent/__init__.py
@@ -20,7 +20,7 @@ class Driver(Trigger):
for trigger_conf in trigger... | Added new params to cloudwatch | avara1986_ardy | train | py |
d47b82883ae2ec7d1a9454928ceac7f489952258 | diff --git a/python/ray/tests/test_actor_resources.py b/python/ray/tests/test_actor_resources.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_actor_resources.py
+++ b/python/ray/tests/test_actor_resources.py
@@ -229,7 +229,6 @@ def test_actor_different_numbers_of_gpus(ray_start_cluster):
assert ready_id... | Unskipped non-cluster tests in test_actor_resources.py (#<I>) | ray-project_ray | train | py |
c1fe8da81d0775892220e88143dcd6d2302178e2 | diff --git a/code/tasks/ShopMigrationTask.php b/code/tasks/ShopMigrationTask.php
index <HASH>..<HASH> 100644
--- a/code/tasks/ShopMigrationTask.php
+++ b/code/tasks/ShopMigrationTask.php
@@ -116,8 +116,9 @@ class ShopMigrationTask extends BuildTask{
* Performs calculation function on un-calculated orders.
*/
fu... | BUGFIX: orders now calculate during migration task, if they don't have a Total | silvershop_silvershop-core | train | php |
83e9885efa4092f490ea05adc233832f79b20c77 | diff --git a/test/test_module_hot_dependencies_arbiter.py b/test/test_module_hot_dependencies_arbiter.py
index <HASH>..<HASH> 100755
--- a/test/test_module_hot_dependencies_arbiter.py
+++ b/test/test_module_hot_dependencies_arbiter.py
@@ -190,6 +190,11 @@ class TestModuleHotDep(ShinkenTest):
# and so launch th... | Fix : still fixing hot dep module under windows. | Alignak-monitoring_alignak | train | py |
22d34533ac07a344982499d977b2bf628037885e | diff --git a/lib/Minify/Env.php b/lib/Minify/Env.php
index <HASH>..<HASH> 100644
--- a/lib/Minify/Env.php
+++ b/lib/Minify/Env.php
@@ -78,8 +78,7 @@ class Minify_Env {
*/
protected function computeDocRoot(array $server)
{
- if (empty($server['SERVER_SOFTWARE'])
- || 0 !== strpos($s... | do not require SERVER_SOFTWARE being present in $server | mrclay_minify | train | php |
381257a11f9762306b10b2b48810124f0b8fb30b | diff --git a/Source/classes/Select.js b/Source/classes/Select.js
index <HASH>..<HASH> 100644
--- a/Source/classes/Select.js
+++ b/Source/classes/Select.js
@@ -526,6 +526,7 @@ Garnish.Select = Garnish.Base.extend({
{
this._deinitItem(item);
this.$items.splice(index, 1);
+ this.$selectedItems = this.$sel... | Keep $selectedItems updated when items are removed/reordered | pixelandtonic_garnishjs | train | js |
ab05609a5aa291a6f91b38dbb2800e3ac80a4f97 | diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php
+++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php
@@ -192,7 +19... | [<I>] Null Morph Map ErrorException (#<I>)
* [<I>] Null Morph Map ErrorException
Currently, if you call `getActualClassNameForMorph` without the morph map set, it will through an error because `Relation::morphMap()` returns `null` instead of (what I would expect) `[]`.
Is this expected behaviour? If so, why is t... | laravel_framework | train | php |
2aa593395865baab06383d648e091c9960a50fc2 | diff --git a/src/coordinator/protobuf_client.go b/src/coordinator/protobuf_client.go
index <HASH>..<HASH> 100644
--- a/src/coordinator/protobuf_client.go
+++ b/src/coordinator/protobuf_client.go
@@ -172,7 +172,7 @@ func (self *ProtobufClient) sendResponse(response *protocol.Response) {
req, ok := self.requestBuffer[*... | Fix #<I>. Update protobuf client to clear out heartbeat requests after they've completed | influxdata_influxdb | train | go |
55d819494a6950f5b8e8b6e7d9df204aca421a08 | diff --git a/dvc/remote/local.py b/dvc/remote/local.py
index <HASH>..<HASH> 100644
--- a/dvc/remote/local.py
+++ b/dvc/remote/local.py
@@ -264,7 +264,7 @@ class RemoteLOCAL(RemoteBASE):
# This is a performance optimization. We can safely assume that,
# if the resources that we want to fetch are alre... | typo changed for existance->existaence | iterative_dvc | train | py |
3026ba89a923735db4ad1f9990aa6b6827fb8b90 | diff --git a/presto-main/src/main/java/com/facebook/presto/operator/Driver.java b/presto-main/src/main/java/com/facebook/presto/operator/Driver.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/operator/Driver.java
+++ b/presto-main/src/main/java/com/facebook/presto/operator/Driver.ja... | Short circuit Driver.firstFinishedFuture with one future | prestodb_presto | train | java |
9aa9ae252691687ce5a856f9f60b1088e63783f6 | diff --git a/testproject/settings.py b/testproject/settings.py
index <HASH>..<HASH> 100644
--- a/testproject/settings.py
+++ b/testproject/settings.py
@@ -50,3 +50,4 @@ ROOT_URLCONF = 'testproject.urls'
DEBUG = True
TEMPLATE_DEBUG = True
+STATIC_URL = '/static/' | something out there needs STATIC_URL, cant really remember what | mbi_django-rosetta | train | py |
aa94d3dd502df8f2bd34cc3e170f3b67b05c75f6 | diff --git a/python/ray/autoscaler/autoscaler.py b/python/ray/autoscaler/autoscaler.py
index <HASH>..<HASH> 100644
--- a/python/ray/autoscaler/autoscaler.py
+++ b/python/ray/autoscaler/autoscaler.py
@@ -491,8 +491,10 @@ class StandardAutoscaler(object):
def recover_if_needed(self, node_id):
if not self.ca... | [autoscaler] Allow more than 5s from node creation to first heartbeat (#<I>) | ray-project_ray | train | py |
fe45c38c90665c9fa42d8bde7e01e7f76e70d1b1 | diff --git a/code/view/abstract.php b/code/view/abstract.php
index <HASH>..<HASH> 100644
--- a/code/view/abstract.php
+++ b/code/view/abstract.php
@@ -377,11 +377,12 @@ abstract class ViewAbstract extends Object implements ViewInterface, CommandCall
/**
* Get the view context
*
+ * @param ViewCon... | Issue #<I>: Add 'context' method param to getContext() to allow context to be casted | timble_kodekit | train | php |
d156c1a693ba28f091f7264bf20587c7482851d1 | diff --git a/azurerm/internal/services/eventhub/eventhub_resource.go b/azurerm/internal/services/eventhub/eventhub_resource.go
index <HASH>..<HASH> 100644
--- a/azurerm/internal/services/eventhub/eventhub_resource.go
+++ b/azurerm/internal/services/eventhub/eventhub_resource.go
@@ -273,7 +273,7 @@ func resourceArmEvent... | Fix eventhub validations along the way | terraform-providers_terraform-provider-azurerm | train | go |
cb27732fea702416ab0b809e0ecfa92e8dc36485 | diff --git a/lib/saga/document.rb b/lib/saga/document.rb
index <HASH>..<HASH> 100644
--- a/lib/saga/document.rb
+++ b/lib/saga/document.rb
@@ -20,6 +20,10 @@ module Saga
end; stories_as_flat_list
end
+ def _binding
+ binding
+ end
+
def used_ids
@stories.values.inject([]) do... | Fix a problem with the binding on <I>. | Fingertips_saga | train | rb,rb,rb |
a4ab055fbd65f74562eefbac72403242c5d05292 | diff --git a/terraform/transform_attach_state.go b/terraform/transform_attach_state.go
index <HASH>..<HASH> 100644
--- a/terraform/transform_attach_state.go
+++ b/terraform/transform_attach_state.go
@@ -59,7 +59,9 @@ func (t *AttachStateTransformer) Transform(g *Graph) error {
continue
}
- an.AttachResourceSt... | attach a deep copy of ResourceState | hashicorp_terraform | train | go |
c089acb054bf77473a086720530021eba3dc099d | diff --git a/src/Reflection/ReflectionClass.php b/src/Reflection/ReflectionClass.php
index <HASH>..<HASH> 100644
--- a/src/Reflection/ReflectionClass.php
+++ b/src/Reflection/ReflectionClass.php
@@ -689,7 +689,7 @@ class ReflectionClass implements Reflection
}
/**
- * Checks whether the given object is ... | Minor docblock correction/clarification | Roave_BetterReflection | train | php |
0269587ea3b197d6f2d1d18b27b7ce9a612f2e3a | diff --git a/lib/srv/sess.go b/lib/srv/sess.go
index <HASH>..<HASH> 100644
--- a/lib/srv/sess.go
+++ b/lib/srv/sess.go
@@ -42,6 +42,7 @@ import (
rsession "github.com/gravitational/teleport/lib/session"
"github.com/gravitational/teleport/lib/sshutils"
"github.com/gravitational/teleport/lib/utils"
+ "github.com/gr... | Improve error message when node cannot find moderated sessions RPC (#<I>) | gravitational_teleport | train | go |
b08401ddb051631ca41a349fbb566f1715cb9cf7 | diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -475,10 +475,6 @@ class TestInstallRequires:
'--install-platlib', str(install_root),
]
... | No need to set PYTHONPATH in test_setup_install_includes_dependencies at all | pypa_setuptools | train | py |
87b50f02c21b3c156ffea83c75df2e0c2e913ff2 | diff --git a/noseprogressive/result.py b/noseprogressive/result.py
index <HASH>..<HASH> 100644
--- a/noseprogressive/result.py
+++ b/noseprogressive/result.py
@@ -61,7 +61,6 @@ class ProgressiveResult(TextTestResult):
(self._term.normal if isFailure else '')) # end bold
if i... | Remove some out-of-date comments. | erikrose_nose-progressive | train | py,py |
bb37ecd895a1bcb6abf0f76534c4b6fb9030256a | diff --git a/lib/reek/source/source_code.rb b/lib/reek/source/source_code.rb
index <HASH>..<HASH> 100644
--- a/lib/reek/source/source_code.rb
+++ b/lib/reek/source/source_code.rb
@@ -1,7 +1,8 @@
# frozen_string_literal: true
require_relative '../cli/silencer'
-Reek::CLI::Silencer.without_warnings { require 'parser/... | Use current ruby for parsing | troessner_reek | train | rb |
7f02dcc58fec926bd59c10fdb6f31afffc2658bb | diff --git a/controller/api/models.py b/controller/api/models.py
index <HASH>..<HASH> 100644
--- a/controller/api/models.py
+++ b/controller/api/models.py
@@ -381,7 +381,7 @@ class App(UuidAuditedModel):
# HACK (bacongobbler): we need to wait until publisher has a chance to publish each
# service to e... | ref(controller): switch to xrange
`range` returns a copy of the list in-memory at the first iteration, whereas `xrange` lazily evaluates, causing only one value present during runtime. Ergo, it is faster and more efficient. | deis_deis | train | py |
f122ca58745f6218cb531fb683b97686254fea5d | diff --git a/activesupport/lib/active_support/vendor/memcache-client-1.5.0/memcache.rb b/activesupport/lib/active_support/vendor/memcache-client-1.5.0/memcache.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/vendor/memcache-client-1.5.0/memcache.rb
+++ b/activesupport/lib/active_support/vendor/mem... | Ruby <I> compat: don't shadow local with block var | rails_rails | train | rb |
7298c8f758938ecd333bca77319367ee75b1ac8e | diff --git a/screamshot/utils.py b/screamshot/utils.py
index <HASH>..<HASH> 100644
--- a/screamshot/utils.py
+++ b/screamshot/utils.py
@@ -5,7 +5,11 @@ import subprocess
from tempfile import NamedTemporaryFile
import json
from mimetypes import guess_type, guess_all_extensions
-from django.utils.six.moves.urllib.pars... | Django <I> is old | makinacorpus_django-screamshot | train | py |
2b8316cb62214551fafa6cdda06f39c827ade54e | diff --git a/nipap/nipap/nipap.py b/nipap/nipap/nipap.py
index <HASH>..<HASH> 100644
--- a/nipap/nipap/nipap.py
+++ b/nipap/nipap/nipap.py
@@ -405,6 +405,22 @@ class Nipap:
raise NipapError(str(e))
+ except psycopg2.DataError, e:
+ self._con_pg.rollback()
+
+ m = re.search(... | Add some error handling to database routine
Handle invalid values for CIDRs, such as bits set to right of mask or
just plain invalid addresses.
Fixes #<I> | SpriteLink_NIPAP | train | py |
f37833e81915670ddf6a690934cfaca5357fd6d6 | diff --git a/lib/runcible/base.rb b/lib/runcible/base.rb
index <HASH>..<HASH> 100644
--- a/lib/runcible/base.rb
+++ b/lib/runcible/base.rb
@@ -137,7 +137,7 @@ module Runcible
def process_response(response)
begin
- body = JSON.parse(response.body)
+ body = response.body == "null" ? nil : JSON... | Fixes #<I>: Don't try to parse "null" responses. | Katello_runcible | train | rb |
8f380597d8614055a530bdf616e8deae04a797e1 | diff --git a/state.go b/state.go
index <HASH>..<HASH> 100644
--- a/state.go
+++ b/state.go
@@ -444,7 +444,11 @@ func (m *Memberlist) suspectNode(s *suspect) {
// Setup a timeout for this
timeout := suspicionTimeout(m.config.SuspicionMult, len(m.nodes), m.config.ProbeInterval)
time.AfterFunc(timeout, func() {
- i... | Make the suspicion timer a bit more robust | hashicorp_memberlist | train | go |
dfacb1650f991f89fdf30d2892a3c1c8b80ffc65 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,3 @@
-// set sonar.genericcoverage.unitTestReportPaths to reports/TEST-xunit.xml
var os = require('os')
var path = require('path')
var fs = require('fs')
@@ -41,11 +40,11 @@ var SonarQubeUnitReporter = function (bas... | Support SonarQube <I>: 'unitTest' as root element of the report is deprecated. Changed to 'testExecutions' | tornaia_karma-sonarqube-unit-reporter | train | js |
8fbd64d8ecc7bed002793f63f83ddd25525006e9 | diff --git a/detect.js b/detect.js
index <HASH>..<HASH> 100644
--- a/detect.js
+++ b/detect.js
@@ -4,6 +4,12 @@
'use strict';
+var browsers = {
+ chrome: /Chrom(?:e|ium)\/([0-9]+)\./,
+ firefox: /Firefox\/([0-9]+)\./,
+ opera: /Opera\/([0-9]+)\./
+};
+
/**
## rtc-core/detect
@@ -64,5 +70,17 @@ var detect = ... | Adding browser version sniffing - see #1 | rtc-io_rtc-core | train | js |
9eb1d043018eb8804c07ffc08564937b012437a1 | diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py
index <HASH>..<HASH> 100644
--- a/benchexec/tablegenerator/__init__.py
+++ b/benchexec/tablegenerator/__init__.py
@@ -523,7 +523,7 @@ class RunSetResult(object):
# Add system information if present
for systemTag i... | Rename a variable to avoid name reuse
Avoids a warning from flake8
although in this case there should be no problem. | sosy-lab_benchexec | train | py |
2bd02091b4b225bec2820682d0782ba5858dd918 | diff --git a/src/main/java/com/zaxxer/hikari/pool/PoolBase.java b/src/main/java/com/zaxxer/hikari/pool/PoolBase.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/zaxxer/hikari/pool/PoolBase.java
+++ b/src/main/java/com/zaxxer/hikari/pool/PoolBase.java
@@ -313,6 +313,7 @@ abstract class PoolBase
conne... | reverted: setting lastConnectionFailure to null | brettwooldridge_HikariCP | train | java |
b0e861be92781ad5f59b5476379e4e28cacf5d20 | diff --git a/Integration/FourleafIntegration.php b/Integration/FourleafIntegration.php
index <HASH>..<HASH> 100644
--- a/Integration/FourleafIntegration.php
+++ b/Integration/FourleafIntegration.php
@@ -138,9 +138,9 @@ class FourleafIntegration extends AbstractEnhancerIntegration implements NonFree
... | Ensure a four-leaf cost is logged on the contact even if the API results in no data.. | TheDMSGroup_mautic-enhancer | train | php |
97dfb269e3292f55bf775cad7b2758995516f1d9 | diff --git a/androguard/cli/main.py b/androguard/cli/main.py
index <HASH>..<HASH> 100644
--- a/androguard/cli/main.py
+++ b/androguard/cli/main.py
@@ -399,12 +399,16 @@ def androlyze_main(session, filename):
if not s.isOpen():
return
- res = input("Do you want to save the session? (y/[n])... | small fix for pressing Ctrl+D/C when closing session | androguard_androguard | train | py |
6c7bf8f7fa5268f6e053eb941ab5fce9d9417b40 | diff --git a/bot examples/update.php b/bot examples/update.php
index <HASH>..<HASH> 100644
--- a/bot examples/update.php
+++ b/bot examples/update.php
@@ -49,7 +49,7 @@ if ($text == "/img") {
//Download the file just sended
$file_id = $message["photo"][0]["file_id"];
$file = $telegram->getFile($file_id... | Compliant with the September <I>, <I> Telegram Bot API update. Download function | Eleirbag89_TelegramBotPHP | train | php |
67f7c62108186784d9ea7e9b4d7b570e295f2b01 | diff --git a/odl/tomo/operators/ray_trafo.py b/odl/tomo/operators/ray_trafo.py
index <HASH>..<HASH> 100644
--- a/odl/tomo/operators/ray_trafo.py
+++ b/odl/tomo/operators/ray_trafo.py
@@ -250,7 +250,8 @@ class RayBackProjection(Operator):
if impl == 'astra_cuda' and not ASTRA_CUDA_AVAILABLE:
... | BUG: Fix bug with astra cubic voxel check. Closes #<I> | odlgroup_odl | train | py |
39e0a99eead6f8868e03b56799778f4d11d7eafd | diff --git a/src/main/java/com/github/bingoohuang/blackcat/sdk/utils/Blackcats.java b/src/main/java/com/github/bingoohuang/blackcat/sdk/utils/Blackcats.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/bingoohuang/blackcat/sdk/utils/Blackcats.java
+++ b/src/main/java/com/github/bingoohuang/blackcat/sdk/ut... | log debug on ClassNotFoundException | bingoohuang_blackcat-sdk | train | java |
ab2e6d6efd8ea5eb19a675603ba0abcb916a2753 | diff --git a/scripts/update-to-3.4.php b/scripts/update-to-3.4.php
index <HASH>..<HASH> 100644
--- a/scripts/update-to-3.4.php
+++ b/scripts/update-to-3.4.php
@@ -1,7 +1,4 @@
<?
-require_once dirname(__FILE__) . '/../Kwf/Setup.php';
-Kwf_Setup::setUp();
-
$file = is_file('vkwf_branch') ? 'vkwf_branch' : 'kwf_branch';... | remove setup, not required as we don't use any kwf code here | koala-framework_koala-framework | train | php |
771104eae419a10854a764c798add0cab9d723c4 | diff --git a/src/Query/AggregationQuery.php b/src/Query/AggregationQuery.php
index <HASH>..<HASH> 100644
--- a/src/Query/AggregationQuery.php
+++ b/src/Query/AggregationQuery.php
@@ -23,7 +23,7 @@ class AggregationQuery extends Query
*/
public function setOperations(array $operations)
{
- $this->... | bugfix: corrected property name typo in AggregationQuery | lexide_reposition | train | php |
6c6e3c76fb43de6519e16c68a7bf6e59c661c5b8 | diff --git a/test/test_client.py b/test/test_client.py
index <HASH>..<HASH> 100644
--- a/test/test_client.py
+++ b/test/test_client.py
@@ -20,6 +20,12 @@ def client_fixture(monkeypatch):
)
mocked_response.content = TEST_CONTENT
mocked_response.status_code = TEST_STATUS_CODE
+ mocked_response.iter_cont... | Update client fixture to stub in the image iterable and a content-type header. | nefarioustim_parker | train | py |
5f20bec17a8615f32414173f702ac80f46fbba78 | diff --git a/src/main/java/com/sdl/selenium/utils/config/WebDriverConfig.java b/src/main/java/com/sdl/selenium/utils/config/WebDriverConfig.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/sdl/selenium/utils/config/WebDriverConfig.java
+++ b/src/main/java/com/sdl/selenium/utils/config/WebDriverConfig.java
@@ -2... | improvement switchToLastTab | sdl_Testy | train | java |
fde870a5f9c0bed59f865b6f9580ded5891dab15 | diff --git a/cassandra/cluster.py b/cassandra/cluster.py
index <HASH>..<HASH> 100644
--- a/cassandra/cluster.py
+++ b/cassandra/cluster.py
@@ -2596,6 +2596,11 @@ class Session(object):
object which callbacks may be attached to for asynchronous response delivery. You may also call ``ResponseFuture.result()`` to... | Executing graph queries required Execution Profiles | datastax_python-driver | train | py,py |
cbf4d27f36e1869ccb4cf64548e5ee3c488aaabe | diff --git a/notario/engine.py b/notario/engine.py
index <HASH>..<HASH> 100644
--- a/notario/engine.py
+++ b/notario/engine.py
@@ -107,7 +107,10 @@ class IterableValidator(BaseItemValidator):
raise Invalid(e.schema_item, tree, pair='value')
else:
try:
- assert data[... | fix bug where an IterableValidator's schema may be a callable | alfredodeza_notario | train | py |
8da1d5ed6168738b9e872a629117d67411c0ebc6 | diff --git a/simanneal/anneal.py b/simanneal/anneal.py
index <HASH>..<HASH> 100644
--- a/simanneal/anneal.py
+++ b/simanneal/anneal.py
@@ -110,6 +110,10 @@ class Annealer(object):
return state[:]
elif self.copy_strategy == 'method':
return state.copy()
+ else:
+ rais... | Throw an exception instead of returning None when self.copy_strategy is invalid
to show more useful error messages. | perrygeo_simanneal | train | py |
5d288e5454ba74033f7c743832ff8887ed24a69a | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,8 +16,6 @@ import sys
import os
-import sphinx_rtd_theme
-
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory i... | Remove superfluous sphinx_rtd_theme import from sphinx conf.py | willprice_python-omxplayer-wrapper | train | py |
3411f1b9944fc3e9ef79db09fab68a65c0641d3e | diff --git a/theme/custom_corners/js/jquery.php b/theme/custom_corners/js/jquery.php
index <HASH>..<HASH> 100644
--- a/theme/custom_corners/js/jquery.php
+++ b/theme/custom_corners/js/jquery.php
@@ -14,6 +14,15 @@
$('div.bb div,div.bt div').css('left','13px');
}
}
+ ... | merged from <I> :: MDL-<I> :: workaround with JavaScript to add "haslayouttabel" class to body. | moodle_moodle | train | php |
1476207de8a107a29bb8e98eae3672c78743a807 | diff --git a/src/canmatrix/formats/json.py b/src/canmatrix/formats/json.py
index <HASH>..<HASH> 100644
--- a/src/canmatrix/formats/json.py
+++ b/src/canmatrix/formats/json.py
@@ -141,6 +141,11 @@ def dump(db, f, **options):
symbolic_signal["multiplex"] = signal.multiplex
if signal.... | Improve multiplexer JSON output (#<I>) | ebroecker_canmatrix | train | py |
84928bc9d72ea8000ad578a71c0ddf16a29cc4e9 | diff --git a/core/common/src/test/java/alluxio/PropertyKeyTest.java b/core/common/src/test/java/alluxio/PropertyKeyTest.java
index <HASH>..<HASH> 100644
--- a/core/common/src/test/java/alluxio/PropertyKeyTest.java
+++ b/core/common/src/test/java/alluxio/PropertyKeyTest.java
@@ -16,6 +16,9 @@ import alluxio.exception.Ex... | [ALLUXIO-<I>] Added tests for isDeprecated method. | Alluxio_alluxio | train | java |
f5b6c63c9e68616046aa41c4b857dd609724e49b | diff --git a/malcolm/modules/pmac/parts/pmactrajectorypart.py b/malcolm/modules/pmac/parts/pmactrajectorypart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/pmac/parts/pmactrajectorypart.py
+++ b/malcolm/modules/pmac/parts/pmactrajectorypart.py
@@ -115,7 +115,7 @@ class PmacTrajectoryPart(builtin.parts.ChildPart)... | Disable the validate of CS in validate of pmactrajectorypart
This is because load/save of CS assignments will break this validate | dls-controls_pymalcolm | train | py |
0ef9f097c55fb39be1aa7961c9406ad8fb55ac41 | diff --git a/exo.jcr.component.webdav/src/main/java/org/exoplatform/services/jcr/webdav/util/NodeTypeUtil.java b/exo.jcr.component.webdav/src/main/java/org/exoplatform/services/jcr/webdav/util/NodeTypeUtil.java
index <HASH>..<HASH> 100644
--- a/exo.jcr.component.webdav/src/main/java/org/exoplatform/services/jcr/webdav/... | EXOJCR-<I> changes reverted (causes tests failures) | exoplatform_jcr | train | java |
d592250317f0072d885526197450cd3b133530be | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,9 +1,12 @@
module.exports = function preventDefault(handler){
return function(){
- var last = arguments[arguments.length - 1];
- if(last && last.preventDefault){
- last.preventDefault();
+ ... | It turns out that React sends additional parameters after the event! | BJTerry_react-prevent-default | train | js,js |
2fd6949be98885662ab0cc4d444c69f6a74fb972 | diff --git a/tests/webvtt_parser.py b/tests/webvtt_parser.py
index <HASH>..<HASH> 100644
--- a/tests/webvtt_parser.py
+++ b/tests/webvtt_parser.py
@@ -1,7 +1,7 @@
from .generic import GenericParserTestCase
from webvtt import WebVTT
-from webvtt.generic import GenericParser, Caption
+from webvtt.generic import Capti... | Add test to parse a file not found. | glut23_webvtt-py | train | py |
b077fb7a69e020a34ce239febd68baa9bcc625c3 | diff --git a/cypress/support/commands.js b/cypress/support/commands.js
index <HASH>..<HASH> 100644
--- a/cypress/support/commands.js
+++ b/cypress/support/commands.js
@@ -100,7 +100,7 @@ Cypress.Commands.add('navigateToStory', (kind, name) => {
if (name !== 'page') {
// Section might be collapsed
cy.get(`#... | Try with the 'attr' method. | storybooks_storybook | train | js |
06f25d30c01eecf0a5d82d63e7d39059698a6a89 | diff --git a/regserv/regserv/main.go b/regserv/regserv/main.go
index <HASH>..<HASH> 100644
--- a/regserv/regserv/main.go
+++ b/regserv/regserv/main.go
@@ -22,7 +22,7 @@ func main() {
// Registration options
var (
- registerSelf = flag.Bool("register-self", false, "create a new kite.key")
+ init = fl... | rename register-self to init | koding_kite | train | go |
1f4936e5b5ef96b218a19463d3e606bfabc7512a | diff --git a/fermipy/diffuse/source_factory.py b/fermipy/diffuse/source_factory.py
index <HASH>..<HASH> 100644
--- a/fermipy/diffuse/source_factory.py
+++ b/fermipy/diffuse/source_factory.py
@@ -187,6 +187,8 @@ class SourceFactory(object):
return catalog.Catalog4FGLP(fitsfile=catalog_file, extdir=catalog_e... | Add 4FGL-DR2 in one more spot (#<I>) | fermiPy_fermipy | train | py |
a6d696268e1cf7fed52d52c5c01e60d1c0327976 | diff --git a/oz/bandit/__init__.py b/oz/bandit/__init__.py
index <HASH>..<HASH> 100644
--- a/oz/bandit/__init__.py
+++ b/oz/bandit/__init__.py
@@ -3,6 +3,7 @@
from __future__ import absolute_import, division, print_function, with_statement, unicode_literals
from tornado import escape, util
+from tornado.log import ... | Remove exception raise on missing experiment
This change will use tornado.log.app_log.warning to notify of missing
experiment data and prevent sites from going down. | dailymuse_oz | train | py |
c9cd4a75e87db3b5c1b9318f7e6c66726ebc46eb | diff --git a/python/ray/ml/preprocessors/encoder.py b/python/ray/ml/preprocessors/encoder.py
index <HASH>..<HASH> 100644
--- a/python/ray/ml/preprocessors/encoder.py
+++ b/python/ray/ml/preprocessors/encoder.py
@@ -168,7 +168,8 @@ class Categorizer(Preprocessor):
return df
def __repr__(self):
- r... | [AIR] Fix Categorizer.__repr__ attribute error (#<I>)
__repr__ fails because stats_ attribute is not assigned until _fit is called. | ray-project_ray | train | py |
f6a6368d6ed23bb5067d7d0502371d0f76bc9604 | diff --git a/djangoql/admin.py b/djangoql/admin.py
index <HASH>..<HASH> 100644
--- a/djangoql/admin.py
+++ b/djangoql/admin.py
@@ -23,10 +23,10 @@ except ImportError: # Django 2.0
from django.urls import reverse
try:
- from django.conf.urls import re_path
+ from django.urls import re_path # Django >= 4.... | prioritize the latest Django version in imports order | ivelum_djangoql | train | py |
b8ccc4c3089b8e7962e4b7b4f14494c4835e652e | diff --git a/lib/plotpanel.py b/lib/plotpanel.py
index <HASH>..<HASH> 100644
--- a/lib/plotpanel.py
+++ b/lib/plotpanel.py
@@ -3,7 +3,7 @@
wxmplot PlotPanel: a wx.Panel for 2D line plotting, using matplotlib
"""
import wx
-from numpy import nonzero, where
+from numpy import nonzero, where, ma
import matplotlib
fro... | changed masking of data<0 for ylog_scale | newville_wxmplot | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.