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 |
|---|---|---|---|---|---|
d00cfe4d9a61f89c2f5a2cb3a2046aec53d1f7cf | diff --git a/examples/fisher_stats.py b/examples/fisher_stats.py
index <HASH>..<HASH> 100644
--- a/examples/fisher_stats.py
+++ b/examples/fisher_stats.py
@@ -29,7 +29,7 @@ lbl = "Mean Vector: {}/{}\nConfidence: {} %\nFisher Angle: {}°\nR-Value {}\nK-V
round(stats[1], 2), round(stats[0], 3), round(stat... | more explicit kwarg for small circle coloring | joferkington_mplstereonet | train | py |
cfc785a7b394b5a0e5288ef442d369bbb4aa7ea3 | diff --git a/src/Extensions.php b/src/Extensions.php
index <HASH>..<HASH> 100644
--- a/src/Extensions.php
+++ b/src/Extensions.php
@@ -251,7 +251,7 @@ class Extensions
*/
public function getComposerConfig($extensionName)
{
- return $this->composer[$extensionName];
+ return isset($this->com... | Handle empty composer config, e.g. themes | bolt_bolt | train | php |
fe1befd72b06de1076092fc10cbf20e4da80c09c | diff --git a/googleanalytics/columns.py b/googleanalytics/columns.py
index <HASH>..<HASH> 100644
--- a/googleanalytics/columns.py
+++ b/googleanalytics/columns.py
@@ -25,9 +25,15 @@ DIMENSIONS = {
def escape_chars(value, chars=',;'):
+ if value is True:
+ return 'Yes'
+ elif value is False:
+ r... | Serialize True and False query arguments into Yes and No. | debrouwere_google-analytics | train | py,py |
c73f6025b2f447843e41ff61f789d434a24e0348 | diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py
index <HASH>..<HASH> 100644
--- a/salt/modules/iptables.py
+++ b/salt/modules/iptables.py
@@ -22,7 +22,7 @@ def __virtual__():
Only load the module if iptables is installed
'''
global HAS_CHECK
- if salt_cmd.run('iptables --help', quiet=... | Fix condition, avoid deprecation warning.
Find returns -1 if string not found which results in True. | saltstack_salt | train | py |
9e033c677fb1daa160bca76688d830215afed0ea | diff --git a/src/main/java/org/gaul/s3proxy/Main.java b/src/main/java/org/gaul/s3proxy/Main.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/gaul/s3proxy/Main.java
+++ b/src/main/java/org/gaul/s3proxy/Main.java
@@ -105,6 +105,13 @@ public final class Main {
S3ProxyConstants.PROPERTY_IDENTIT... | Require credentials for aws-v2 authentication | gaul_s3proxy | train | java |
dd531997a3afdefdd465d4348fdd59428cc5e2d8 | diff --git a/container/src/main/java/org/wildfly/swarm/container/runtime/RuntimeServer.java b/container/src/main/java/org/wildfly/swarm/container/runtime/RuntimeServer.java
index <HASH>..<HASH> 100644
--- a/container/src/main/java/org/wildfly/swarm/container/runtime/RuntimeServer.java
+++ b/container/src/main/java/org/... | Removed unneeded code in RuntimeServer | thorntail_thorntail | train | java |
95bed5830f7e88406e724ecb8a4776e20884faf8 | diff --git a/src/Pygmentize/Pygmentize.php b/src/Pygmentize/Pygmentize.php
index <HASH>..<HASH> 100644
--- a/src/Pygmentize/Pygmentize.php
+++ b/src/Pygmentize/Pygmentize.php
@@ -8,7 +8,6 @@
*/
-
//! Global namespace for the Pygmentize class.
namespace Pygmentize;
@@ -25,11 +24,11 @@ class Pygmentize {
/... | removed [in] from the paramateres | dedalozzo_pygmentize | train | php |
a02b8a5854980d8389b6d5da9a0134d8f5e86bab | diff --git a/cmd/pilosactl/main.go b/cmd/pilosactl/main.go
index <HASH>..<HASH> 100644
--- a/cmd/pilosactl/main.go
+++ b/cmd/pilosactl/main.go
@@ -1012,9 +1012,9 @@ type CreateCommand struct {
FinalHosts []string `json:"final-hosts"`
// Standard input/output
- Stdin io.Reader
- Stdout io.Writer
- Stderr io.Write... | dont' include stdin/out/err in create output | pilosa_pilosa | train | go |
25d2a230835d5558b0f77ddc29b2f7e1da1d94cc | diff --git a/marshmallow/fields.py b/marshmallow/fields.py
index <HASH>..<HASH> 100644
--- a/marshmallow/fields.py
+++ b/marshmallow/fields.py
@@ -48,7 +48,8 @@ class Marshaller(object):
item = (key, field_obj.output(attr_name, data))
except TypeError:
... | Prevent TypeError from being raised from issubclass | marshmallow-code_marshmallow | train | py |
505112ba943544a971cccfe776ab608181cf7c82 | diff --git a/km3pipe/db.py b/km3pipe/db.py
index <HASH>..<HASH> 100644
--- a/km3pipe/db.py
+++ b/km3pipe/db.py
@@ -316,6 +316,10 @@ class DOMContainer(object):
"""Return Floor ID for given CLB UPI and detector"""
return self._json_list_lookup('CLBUPI', clb_upi, 'Floor', det_id)
+ def domid2floor(... | Adds lookup for DOM ID -> Floor ID | tamasgal_km3pipe | train | py |
b438bce9498321d67b02307c3f831dd9a01afc8e | diff --git a/lib/datalib.php b/lib/datalib.php
index <HASH>..<HASH> 100644
--- a/lib/datalib.php
+++ b/lib/datalib.php
@@ -717,7 +717,7 @@ function get_courses_search($searchterms, $sort='fullname ASC', $page=0, $record
$params = array();
$i = 0;
- $concat = $DB->sql_concat('c.summary', "' '", 'c.ful... | MDL-<I> Search, Course - Code applied from patch to allow courses with a blank summary to be found in searchs - Thanks to Andrew Nicols for the patch | moodle_moodle | train | php |
08297dab8985cbb7884979a1aacd60c3866861a6 | diff --git a/concrete/blocks/gallery/edit.php b/concrete/blocks/gallery/edit.php
index <HASH>..<HASH> 100644
--- a/concrete/blocks/gallery/edit.php
+++ b/concrete/blocks/gallery/edit.php
@@ -5,6 +5,10 @@ defined('C5_EXECUTE') or die('Access Denied.');
$images = $images ?? [];
+if (!isset($bID)) {
+ $bID = 0;
+}... | fixing gallery fatal on php8+ | concrete5_concrete5 | train | php |
630bcac923ecfc7c806f1df1640e0ecbeb00344e | diff --git a/TODO.rst b/TODO.rst
index <HASH>..<HASH> 100644
--- a/TODO.rst
+++ b/TODO.rst
@@ -1,3 +1,4 @@
+* Remove performance.egg-info when running tests?
* pybench: calibrate once in the main process, then pass the number of loops
to workers? Or rewrite pybench as N subenchmarks?
* Warning or error if two perf... | post release: set version to <I>dev | python_performance | train | rst,py,py |
c9d1739a310209d0e905a4487b22fd133126f129 | diff --git a/library/src/main/java/com/github/pwittchen/reactivenetwork/library/rx2/network/observing/strategy/PreLollipopNetworkObservingStrategy.java b/library/src/main/java/com/github/pwittchen/reactivenetwork/library/rx2/network/observing/strategy/PreLollipopNetworkObservingStrategy.java
index <HASH>..<HASH> 100644... | fix issue Possible memory leak #<I> | pwittchen_ReactiveNetwork | train | java |
b1a0b5638ec33276de4cb2c99e011966789d9380 | diff --git a/src/Record.php b/src/Record.php
index <HASH>..<HASH> 100644
--- a/src/Record.php
+++ b/src/Record.php
@@ -189,12 +189,12 @@ class Record
*/
public function getSubjects($vocabulary = null, $tag = null)
{
- return array_filter(Subject::get($this), function (Subject $field) use ($vocabu... | Fix indices in the array returned by Record::getSubjects
Unfortunately `array_filter()` preserves indices. Wrapping it in `array_values()` to prevent this. | scriptotek_php-marc | train | php |
8d3b2d69d5881c2af3cc90e5238226a200017d28 | diff --git a/src/test/java/com/googlecode/objectify/test/ValueTranslationTests.java b/src/test/java/com/googlecode/objectify/test/ValueTranslationTests.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/googlecode/objectify/test/ValueTranslationTests.java
+++ b/src/test/java/com/googlecode/objectify/test/ValueTra... | Big strings are now allowed in embedded collections | objectify_objectify | train | java |
f638e7953e6f02e1421ff63cb91dc260f947a1fd | diff --git a/sdl/surface.go b/sdl/surface.go
index <HASH>..<HASH> 100644
--- a/sdl/surface.go
+++ b/sdl/surface.go
@@ -196,8 +196,11 @@ func (surface *Surface) FillRect(rect *Rect, color uint32) error {
}
// Surface (https://wiki.libsdl.org/SDL_FillRects)
-func (surface *Surface) FillRects(rects []Rect, color uint3... | Make FillRects idiomatic with respect to errors | veandco_go-sdl2 | train | go |
9ee98907a7992d9391c2d2b321833a2639aec1ab | diff --git a/model/SharedStimulusPackageImporter.php b/model/SharedStimulusPackageImporter.php
index <HASH>..<HASH> 100644
--- a/model/SharedStimulusPackageImporter.php
+++ b/model/SharedStimulusPackageImporter.php
@@ -120,7 +120,7 @@ class SharedStimulusPackageImporter extends ZipImporter
$base64 = 'd... | do not throw exception if the file is an online resource | oat-sa_extension-tao-mediamanager | train | php |
3503885aaa8cff9a17f66a7f56b156a3238024e1 | diff --git a/openquake/calculators/tests/event_based_risk_test.py b/openquake/calculators/tests/event_based_risk_test.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/tests/event_based_risk_test.py
+++ b/openquake/calculators/tests/event_based_risk_test.py
@@ -163,8 +163,8 @@ class EventBasedRiskTestCase(Calc... | Commented test [skip hazardlib] | gem_oq-engine | train | py |
4ccd09a764dcc1906390283b5ea6e5b8dfe2e72e | diff --git a/lib/cli/test.js b/lib/cli/test.js
index <HASH>..<HASH> 100644
--- a/lib/cli/test.js
+++ b/lib/cli/test.js
@@ -83,6 +83,9 @@ module.exports = function test(options, callback) {
}
function normalizeWhitespace(str) {
- return str.replace(/\s+/g, " ").trim()
+ return str
+ .replace(/\s+/g, "... | Ignore whitespace between closing parens in tests
Fixes tree-sitter/tree-sitter#<I> | tree-sitter_tree-sitter-cli | train | js |
0ef75c5c7631df5c4ff3cb0042c95eef68092709 | diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index <HASH>..<HASH> 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -319,7 +319,6 @@ class OpenBufferlistCommand(Command):
else:
bl = buffers.BufferlistBuffer(ui, self.filtfun)
ui.buffer_open(bl)... | fix issue #<I>
apparently, this rebuild is obsolete | pazz_alot | train | py |
be528ae3651124da571ace2449e5a253d74bc28c | diff --git a/core/src/main/java/com/github/ukase/service/XlsxRenderer.java b/core/src/main/java/com/github/ukase/service/XlsxRenderer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/github/ukase/service/XlsxRenderer.java
+++ b/core/src/main/java/com/github/ukase/service/XlsxRenderer.java
@@ -24,6 +24,7 @@... | xlsx files - keep rendering possible | ukase_ukase | train | java |
38d7bcc51f47da2653e751e7fdd96cda0924b9ae | diff --git a/plugins/commands/serve/service/synced_folder_service.rb b/plugins/commands/serve/service/synced_folder_service.rb
index <HASH>..<HASH> 100644
--- a/plugins/commands/serve/service/synced_folder_service.rb
+++ b/plugins/commands/serve/service/synced_folder_service.rb
@@ -11,7 +11,7 @@ module VagrantPlugins
... | Use machine as default argument for synced folder caps | hashicorp_vagrant | train | rb |
e7b8f2fcc85bc002b766385affc392b10dc9439d | diff --git a/lib/register/register_reference.rb b/lib/register/register_reference.rb
index <HASH>..<HASH> 100644
--- a/lib/register/register_reference.rb
+++ b/lib/register/register_reference.rb
@@ -100,7 +100,7 @@ module Register
raise "Class name not given #{real_name}" unless clazz
index = clazz.object_lay... | critical bug from array/list mix up | ruby-x_rubyx | train | rb |
11302b9b75f79e1c9d3f9efa9aac6693a3b3b725 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -802,6 +802,7 @@ function DiscordClient(options) {
sendAudio(audioChannels, opusEncoder, stream, udpClient, vWS, 1);
};
+ if (!incoming) return;
udpClient.on('message', function(msg) {
... | Ability to opt-out of incoming audio data events | izy521_discord.io | train | js |
3dfa1cdb35e9d831a9ac4d773b65777d8ef8bad4 | diff --git a/lib/puppet/version.rb b/lib/puppet/version.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/version.rb
+++ b/lib/puppet/version.rb
@@ -6,7 +6,7 @@
# Raketasks and such to set the version based on the output of `git describe`
module Puppet
- PUPPETVERSION = '4.10.2'
+ PUPPETVERSION = '4.10.3'
##
... | (PUP-<I>) Update puppet version to <I>
Update the puppet reported version to <I> for agent <I> release | puppetlabs_puppet | train | rb |
3481e09aae43103b7b30bf198775f86e4b2ec62b | diff --git a/pipenv/core.py b/pipenv/core.py
index <HASH>..<HASH> 100644
--- a/pipenv/core.py
+++ b/pipenv/core.py
@@ -510,11 +510,6 @@ def ensure_project(
):
"""Ensures both Pipfile and virtualenv exist for the project."""
- # Clear the caches, if appropriate.
- if clear:
- print("clearing")
- ... | do not react to `--clear` flag | pypa_pipenv | train | py |
824f4ab4fc48e5154dd9e266394e4522b0a89ae0 | diff --git a/classes/Gems/Default/RespondentExportAction.php b/classes/Gems/Default/RespondentExportAction.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/Default/RespondentExportAction.php
+++ b/classes/Gems/Default/RespondentExportAction.php
@@ -142,6 +142,21 @@ class Gems_Default_RespondentExportAction extends Ge... | RespondentExport: Moved decision to display a token or skip it to a helper method to allow projects to have their own logic | GemsTracker_gemstracker-library | train | php |
3828877d8675234ea6423caa835ebddc4e36dec0 | diff --git a/src/view/items/element/ElementEvents.js b/src/view/items/element/ElementEvents.js
index <HASH>..<HASH> 100755
--- a/src/view/items/element/ElementEvents.js
+++ b/src/view/items/element/ElementEvents.js
@@ -2,6 +2,17 @@ import { fatal } from 'utils/log';
import runloop from 'src/global/runloop';
import { ... | attempt to work around IE weirdness with transition and animation events - refs #<I> | ractivejs_ractive | train | js |
d6a7370d555ce4778fb26ced915920cb59e42305 | diff --git a/lib/webmock/http_lib_adapters/http_rb/streamer.rb b/lib/webmock/http_lib_adapters/http_rb/streamer.rb
index <HASH>..<HASH> 100644
--- a/lib/webmock/http_lib_adapters/http_rb/streamer.rb
+++ b/lib/webmock/http_lib_adapters/http_rb/streamer.rb
@@ -17,6 +17,10 @@ module HTTP
@io.read size
end
... | Implement #close on HTTP::Response::Streamer
Since HTTP::Response::Streamer is returned instead of a
HTTP::Connection, and HTTP::Connection responds to #close,
HTTP::Response::Streamer should then also respond to #close. | bblimke_webmock | train | rb,rb |
47aa6aea97008229320a6a3179a8f5d1220c88e6 | diff --git a/src/jquery.fancytree.js b/src/jquery.fancytree.js
index <HASH>..<HASH> 100644
--- a/src/jquery.fancytree.js
+++ b/src/jquery.fancytree.js
@@ -3011,7 +3011,7 @@ $.extend(Fancytree.prototype,
// Trigger expand/collapse after expanding
dfd.done(function(){
ctx.tree._triggerNodeEvent(flag ? "expand" ... | lazy load throws error if autoscroll: true and result is empty
closed #<I> | mar10_fancytree | train | js |
e70e9ad0452c697ae2ed87101a31c5a67a7e1667 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -56,6 +56,7 @@ module.exports = function (grunt) {
'src/service/default-interpolation.js',
'src/service/storage-key.js',
'src/directive/translate.js',
+ 'src/directive/translat... | fix(build): Add missing translate-attr directive to Gruntfile.js
Resolves #<I> | angular-translate_angular-translate | train | js |
61eb9286fbf4e02e3a58282fd965fc4928b95986 | diff --git a/src/DocBlox/Core/Abstract.php b/src/DocBlox/Core/Abstract.php
index <HASH>..<HASH> 100644
--- a/src/DocBlox/Core/Abstract.php
+++ b/src/DocBlox/Core/Abstract.php
@@ -27,7 +27,7 @@
abstract class DocBlox_Core_Abstract
{
/** @var string The actual version number of DocBlox. */
- const VERSION = '0.... | RELEASE: Updated version number to <I> | phpDocumentor_phpDocumentor2 | train | php |
25ccacc88b09051296cfe7c57760326e108a0aeb | diff --git a/grimoire_elk/elk/meetup.py b/grimoire_elk/elk/meetup.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/elk/meetup.py
+++ b/grimoire_elk/elk/meetup.py
@@ -219,7 +219,7 @@ class MeetupEnrich(Enrich):
eitem['type'] = "meetup"
# time_date is when the meetup will take place, the needed one in ... | [enrich][meetup] Fix typo in grimoire_creation_date compute | chaoss_grimoirelab-elk | train | py |
7f760af8b8f25a791ddeee2c85a79174a01b584b | diff --git a/query/query.go b/query/query.go
index <HASH>..<HASH> 100644
--- a/query/query.go
+++ b/query/query.go
@@ -115,7 +115,7 @@ var Debug bool = false
func Fingerprint(q string) string {
q += " " // need range to run off end of original query
prevWord := ""
- f := make([]byte, len(q)+2)
+ f := make([]byte, ... | Panic challenge accpeted ;) | percona_go-mysql | train | go,go |
cf0eafc2644ab8769053df049fabde0b79c6e0e4 | diff --git a/test/vips_test.rb b/test/vips_test.rb
index <HASH>..<HASH> 100644
--- a/test/vips_test.rb
+++ b/test/vips_test.rb
@@ -54,6 +54,9 @@ describe "ImageProcessing::Vips" do
result = ImageProcessing::Vips.call(fixture_image("rotated.jpg"))
assert_dimensions [600, 800], result
+ result = ImageProce... | [vips] Verify that resize-on-load autorotates | janko_image_processing | train | rb |
afc97ba0993d5cb8e1f76244f07bba22a5f1efeb | diff --git a/jquery.flot.threshold.js b/jquery.flot.threshold.js
index <HASH>..<HASH> 100644
--- a/jquery.flot.threshold.js
+++ b/jquery.flot.threshold.js
@@ -61,7 +61,7 @@ events.
var m;
for (i = 0; i < origpoints.length; i += ps) {
- x = origpoints[i]
+ x = or... | Added a missing semicolon. | ni-kismet_engineering-flot | train | js |
de80fb0a0733938a1ec1667cd98a4fc42512bb41 | diff --git a/lib/tml/application.rb b/lib/tml/application.rb
index <HASH>..<HASH> 100644
--- a/lib/tml/application.rb
+++ b/lib/tml/application.rb
@@ -311,7 +311,7 @@ class Tml::Application < Tml::Base
end
def api_client
- @api_client ||= Tml::Api::Client.new(application: self)
+ @api_client ||= Tml.confi... | add ability to configure a custom API client | translationexchange_tml-ruby | train | rb,rb |
e2aa618b773db2f083b4c4475b733f6efcb00205 | diff --git a/calendar/lib.php b/calendar/lib.php
index <HASH>..<HASH> 100644
--- a/calendar/lib.php
+++ b/calendar/lib.php
@@ -178,11 +178,11 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
$cell = '';
if(CALENDAR_WEEKEND & (1 << ($dayweek % 7))) {
// W... | Fix for bug <I>. I 'm not sure if it makes any difference, but it cannot hurt. | moodle_moodle | train | php |
6551ede6d71fff7f2e29d0d1e0ded372da2f1047 | diff --git a/peyotl/phylesystem/git_actions.py b/peyotl/phylesystem/git_actions.py
index <HASH>..<HASH> 100644
--- a/peyotl/phylesystem/git_actions.py
+++ b/peyotl/phylesystem/git_actions.py
@@ -58,12 +58,12 @@ class GitAction(object):
def newest_study_id(self):
"Return the numeric part of the newest st... | Fixed relative paths in newest_study_id | OpenTreeOfLife_peyotl | train | py |
8ee1f3a889a0b5343b89661727e3fe39a29756f7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,17 +1,19 @@
# Copyright 2013-2014 Simon Jagoe
+from __future__ import unicode_literals
+
import os
from setuptools import setup
-VERSION = u'0.0.1dev1'
+VERSION = '0.0.1dev1'
def write_version_py(filename=None... | Fix python <I> compatibility in setup.py | scalative_haas | train | py |
6df4ea3851e78a64446cbd863fac8d39c6feef2b | diff --git a/src/main/java/io/reactivex/Maybe.java b/src/main/java/io/reactivex/Maybe.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/reactivex/Maybe.java
+++ b/src/main/java/io/reactivex/Maybe.java
@@ -2919,7 +2919,7 @@ public abstract class Maybe<T> implements MaybeSource<T> {
/**
* Converts this... | fix typo in javadoc of Maybe::toSingle (#<I>) | ReactiveX_RxJava | train | java |
e6e84798b73e29476d9e841960bb4c1043bedadb | diff --git a/test/test_pending_migrations.py b/test/test_pending_migrations.py
index <HASH>..<HASH> 100644
--- a/test/test_pending_migrations.py
+++ b/test/test_pending_migrations.py
@@ -15,7 +15,7 @@ class TestPendingMigrations(TestCase):
management.call_command('makemigrations', '--dry-run', stdout=output)
... | test_pending_migrations: temporarily disable this test
This tests fails because SQUAD no longer uses the name column
for Metric and Django detects that it needs removal.
Due to how SQUAD can be deployed and multiple instances can be
running at the same time, we want to allow this migration to be pending
until we get ... | Linaro_squad | train | py |
eb20f45738c550243eaf58275293430ac3b214f0 | diff --git a/src/select2.js b/src/select2.js
index <HASH>..<HASH> 100644
--- a/src/select2.js
+++ b/src/select2.js
@@ -78,13 +78,15 @@ function init(Survey, $) {
if ($el.find("option[value='" + question.value + "']").length) {
$el.val(question.value).trigger("change");
} else {
- v... | On clearing value in select2 the null value is adding into choices #<I> | surveyjs_widgets | train | js |
a3a2c698fe8ff38499109a51ff4363e1726c88dd | diff --git a/gcs/conn.go b/gcs/conn.go
index <HASH>..<HASH> 100644
--- a/gcs/conn.go
+++ b/gcs/conn.go
@@ -47,9 +47,11 @@ type ConnConfig struct {
// empty, a default will be used.
UserAgent string
- // The maximum amount of time to spend sleeping in exponential backoff for
- // failed requests. The default of ze... | Added a warning about idempotency. | jacobsa_gcloud | train | go |
7f30e0906ec4784076486dcbde445497867d3af8 | diff --git a/python_modules/dagit/dagit/app.py b/python_modules/dagit/dagit/app.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagit/dagit/app.py
+++ b/python_modules/dagit/dagit/app.py
@@ -99,7 +99,7 @@ def notebook_view(request_args):
if not path.endswith(".ipynb"):
return "Invalid Path", 400
- ... | Use os.path.abspath
Summary: Be robust to OS differences and to absolute paths.
Test Plan: Unit tests
Reviewers: schrockn, natekupp, alangenfeld
Reviewed By: natekupp
Differential Revision: <URL> | dagster-io_dagster | train | py |
9b71026d4b38234d9b4133ebf5cd904985f84503 | diff --git a/bigchaindb/tendermint/event_stream.py b/bigchaindb/tendermint/event_stream.py
index <HASH>..<HASH> 100644
--- a/bigchaindb/tendermint/event_stream.py
+++ b/bigchaindb/tendermint/event_stream.py
@@ -67,22 +67,19 @@ def subscribe_events(ws, stream_id):
@asyncio.coroutine
-def try_connect_and_recv(event_... | Problem: Arbitrary max_tries in bigchaindb when connecting to tendermint ws (#<I>)
* remove max_tries while connecting to tendermint ws | bigchaindb_bigchaindb | train | py |
3c60fb429d9e4271bce3a71b0f5fb4bb2f7fbe2d | diff --git a/actionpack/lib/action_dispatch/middleware/flash.rb b/actionpack/lib/action_dispatch/middleware/flash.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/middleware/flash.rb
+++ b/actionpack/lib/action_dispatch/middleware/flash.rb
@@ -132,7 +132,7 @@ module ActionDispatch
end
... | Make FlashHash#key? work with symbol and string
Closes #<I> | rails_rails | train | rb,rb |
7cca54a8a7c9f46c958fa01e5d83f1b3fc01fd35 | diff --git a/ramses/generators.py b/ramses/generators.py
index <HASH>..<HASH> 100644
--- a/ramses/generators.py
+++ b/ramses/generators.py
@@ -157,7 +157,6 @@ def generate_models(config, raml_resources):
from .models import handle_model_generation
if not raml_resources:
return
-
for raml_resourc... | Change user db to artem | ramses-tech_ramses | train | py |
9bc0c7afb614a68d1716f302230dc358b334f082 | diff --git a/commons-ip-math/src/main/java/net/ripe/commons/ip/StartAndSizeComparator.java b/commons-ip-math/src/main/java/net/ripe/commons/ip/StartAndSizeComparator.java
index <HASH>..<HASH> 100644
--- a/commons-ip-math/src/main/java/net/ripe/commons/ip/StartAndSizeComparator.java
+++ b/commons-ip-math/src/main/java/n... | Serial version uid added to match speed test... | jgonian_commons-ip-math | train | java |
85b1f12a76fbe3d899a71e0e5c1fb397d8730f0e | diff --git a/test/core/both/test-bitswap.js b/test/core/both/test-bitswap.js
index <HASH>..<HASH> 100644
--- a/test/core/both/test-bitswap.js
+++ b/test/core/both/test-bitswap.js
@@ -66,7 +66,7 @@ describe('bitswap', () => {
// cause browser nodes don't have a websockets addrs
// TODO, what we rea... | test(core): fix address to connect to | ipfs_js-ipfs | train | js |
899609986c193b89b5cea740fbfb9743e6b79a01 | diff --git a/dataviews/ipython.py b/dataviews/ipython.py
index <HASH>..<HASH> 100644
--- a/dataviews/ipython.py
+++ b/dataviews/ipython.py
@@ -921,8 +921,10 @@ def update_matplotlib_rc():
matplotlib.rcParams.update(rc)
-
-message = """Welcome to the Imagen IPython extension! (http://ioam.github.io/imagen/)"""
... | Updated the extension's welcome message with list of available magics | pyviz_holoviews | train | py |
53a0dbe112afb255a28a74094668d88537fd0d46 | diff --git a/lib/taskrabbit/proxy.rb b/lib/taskrabbit/proxy.rb
index <HASH>..<HASH> 100644
--- a/lib/taskrabbit/proxy.rb
+++ b/lib/taskrabbit/proxy.rb
@@ -1,9 +1,9 @@
-class BasicObject #:nodoc:
+class BaseObject #:nodoc:
instance_methods.each { |m| undef_method m unless m =~ /(^__|^nil\?$|^send$|instance_eval|proxy... | Fix Taskrabbit::Proxy for ruby <I>. | jrichardlai_taskrabbit | train | rb |
dd1685c3b0bd4a509eac07799c889583ee966e21 | diff --git a/src/Request.php b/src/Request.php
index <HASH>..<HASH> 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -17,6 +17,9 @@ class Request
public $teamDomain;
/** @var string */
+ public $channelId;
+
+ /** @var string */
public $channelName;
/** @var string */ | Add channelId property in Request (#<I>) | spatie_laravel-slack-slash-command | train | php |
05af646e52e8837beba8288aede846786d8c170d | diff --git a/lib/active_admin/views/index_as_grid.rb b/lib/active_admin/views/index_as_grid.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/views/index_as_grid.rb
+++ b/lib/active_admin/views/index_as_grid.rb
@@ -29,7 +29,7 @@ module ActiveAdmin
def build(page_presenter, collection)
@page_presen... | don't call an enumerable method directly on a query object | activeadmin_activeadmin | train | rb |
19a158650b046d06e8f5704bb07d0096227be6fb | diff --git a/railties/configs/initializers/backtrace_silencers.rb b/railties/configs/initializers/backtrace_silencers.rb
index <HASH>..<HASH> 100644
--- a/railties/configs/initializers/backtrace_silencers.rb
+++ b/railties/configs/initializers/backtrace_silencers.rb
@@ -3,5 +3,5 @@
# You can add backtrace silencers fo... | Fix two typos in a comment in config/initializers/backtrace_silencers.rb | rails_rails | train | rb |
0a006dc9811e9b7008189169d2e4ce45de29b5fa | diff --git a/src/engine/runtime.js b/src/engine/runtime.js
index <HASH>..<HASH> 100644
--- a/src/engine/runtime.js
+++ b/src/engine/runtime.js
@@ -1018,6 +1018,19 @@ class Runtime extends EventEmitter {
}
/**
+ * Return whether a thread is waiting for more information or done.
+ * @param {?Thread} t... | add Runtime.isWaitingThread
Add a Runtime Thread helper to check if a thread is in a state where it
will not change at least until next frame. This includes any state
where the thread is done, as that will not change either. | LLK_scratch-vm | train | js |
a1100f7c44ae2af4336307d0613a7d44fd705167 | diff --git a/instana/version.py b/instana/version.py
index <HASH>..<HASH> 100644
--- a/instana/version.py
+++ b/instana/version.py
@@ -1,3 +1,3 @@
# Module version file. Used by setup.py and snapshot reporting.
-VERSION = '1.25.7'
+VERSION = '1.26.0' | Bump package version to <I> | instana_python-sensor | train | py |
39df4028a2816b96de3127d68d9c42687da4178e | diff --git a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
+++ b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
@@ -33,7 ... | Refactored scrub to keep_node? instead of scrub_node calling it. Also added ability to stop traversing by returning STOP from scrub_node. | rails_rails | train | rb |
a82036547887421133d705e313ccbc885a9c0f89 | diff --git a/shoebot/data/bezier.py b/shoebot/data/bezier.py
index <HASH>..<HASH> 100644
--- a/shoebot/data/bezier.py
+++ b/shoebot/data/bezier.py
@@ -196,7 +196,7 @@ class BezierPath(Grob, ColorMixin):
if self._bounds:
return self._bounds
- record_surface = cairo.RecordingSurface(cairo.C... | Fix #<I>
Had missed this in port to Gtk3 | shoebot_shoebot | train | py |
5a277b009f592a0c3fa1dbcf52b91d5ba3c7ac48 | diff --git a/src/main/java/com/google/devtools/j2objc/types/ImportCollector.java b/src/main/java/com/google/devtools/j2objc/types/ImportCollector.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/google/devtools/j2objc/types/ImportCollector.java
+++ b/src/main/java/com/google/devtools/j2objc/types/ImportCollecto... | Added junit headers to list of imports that always use package directories,
since they are included with the j2objc distribution (but <I>). | google_j2objc | train | java |
b28e4bc565d9d04a2a6421d0d7c17edd2a7c770b | diff --git a/lib/rgc/arg_parser.rb b/lib/rgc/arg_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/rgc/arg_parser.rb
+++ b/lib/rgc/arg_parser.rb
@@ -25,8 +25,7 @@ module Rgc
on_error do |exception|
# Error logic here
# return false to skip default error handling
- puts exception.backtrace
... | Smudge should abort when file not encrypted | JiriChara_rgc | train | rb,rb |
86fcb9ff18b360f2f45f14b32cec6abc108ed2e5 | diff --git a/src/Sulu/Bundle/DocumentManagerBundle/Command/InitializeCommand.php b/src/Sulu/Bundle/DocumentManagerBundle/Command/InitializeCommand.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/DocumentManagerBundle/Command/InitializeCommand.php
+++ b/src/Sulu/Bundle/DocumentManagerBundle/Command/InitializeComma... | Typo in InitializeCommand.php (#<I>)
Typo is "confiration" | sulu_sulu | train | php |
61747738c2b13267b9313e6c60e2e330ccba5706 | diff --git a/Controller/HelperController.php b/Controller/HelperController.php
index <HASH>..<HASH> 100644
--- a/Controller/HelperController.php
+++ b/Controller/HelperController.php
@@ -134,7 +134,7 @@ class HelperController extends Controller
}
$description = 'no description available';
- f... | Fix bug when no related admin is defined | sonata-project_SonataAdminBundle | train | php,php |
2390acf12004919c44e607c82aad57109b6cc1a2 | diff --git a/lib/es8/chrome/TabDriver.js b/lib/es8/chrome/TabDriver.js
index <HASH>..<HASH> 100644
--- a/lib/es8/chrome/TabDriver.js
+++ b/lib/es8/chrome/TabDriver.js
@@ -289,7 +289,7 @@ class TabDriver {
}
}
const requestWillBeSent = (e) => {
- if (e.documentURL === url) { // TODO this will miss some user-... | fix open() method not knowing which URL is being opened in some cases | phantombuster_nickjs | train | js |
31096d936179c2d66dad5850aeafb960abbec023 | diff --git a/src/Psalm/Internal/Codebase/Functions.php b/src/Psalm/Internal/Codebase/Functions.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Codebase/Functions.php
+++ b/src/Psalm/Internal/Codebase/Functions.php
@@ -472,7 +472,7 @@ class Functions
'ldap_set_option',
// iterators
-... | Marked iterator_to_array as an impure function (#<I>) | vimeo_psalm | train | php,php |
7c1d5443de078352319eebea0813a6f847e528aa | diff --git a/datapackage/resource.py b/datapackage/resource.py
index <HASH>..<HASH> 100644
--- a/datapackage/resource.py
+++ b/datapackage/resource.py
@@ -105,7 +105,7 @@ class Resource(object):
if url:
return url
else:
- path = self._absolute_path(self.descriptor.get('path'))
... | Fix wrong usage of os.path.join for remote URLS (#<I>) | frictionlessdata_datapackage-py | train | py |
b5d418ae0395dded962cfb102dd6e447806e6906 | diff --git a/ella/core/cache/redis.py b/ella/core/cache/redis.py
index <HASH>..<HASH> 100644
--- a/ella/core/cache/redis.py
+++ b/ella/core/cache/redis.py
@@ -139,7 +139,21 @@ class RedisListingHandler(ListingHandler):
return pipe
@classmethod
- def remove_publishable(cls, category, publishable, ... | add utility method to just increment score in existing zsets | ella_ella | train | py |
023ea9f34ef87d0103a1122aacfc94d27c003ed8 | diff --git a/middleman-more/lib/middleman-more/extensions/asset_hash.rb b/middleman-more/lib/middleman-more/extensions/asset_hash.rb
index <HASH>..<HASH> 100644
--- a/middleman-more/lib/middleman-more/extensions/asset_hash.rb
+++ b/middleman-more/lib/middleman-more/extensions/asset_hash.rb
@@ -35,7 +35,18 @@ module Mid... | Process resources for asset_hash extension in a specific order. This makes sure static assets (images, fonts) get their paths modified before assets that include them (css, js). | middleman_middleman | train | rb |
95ac8c204558c40edea2a9e52ff301eece8e29ff | diff --git a/src/WorkerPool.php b/src/WorkerPool.php
index <HASH>..<HASH> 100644
--- a/src/WorkerPool.php
+++ b/src/WorkerPool.php
@@ -420,13 +420,13 @@ class WorkerPool implements \Iterator, \Countable {
// kill all remaining processes
$this->processes->killAllProcesses();
- unset($this->processes);
-
... | Bugfix: Unset processes after reaper. | qxsch_WorkerPool | train | php |
600c94a53244711de76cd23e24863b9efe0098b7 | diff --git a/salt/modules/parted.py b/salt/modules/parted.py
index <HASH>..<HASH> 100644
--- a/salt/modules/parted.py
+++ b/salt/modules/parted.py
@@ -481,7 +481,7 @@ def mkpart(device, part_type, fs_type=None, start=None, end=None):
)
if fs_type and fs_type not in set(['ext2', 'fat32', 'fat16', 'linux-... | Allow zfs as fs_type for mkpart | saltstack_salt | train | py |
7ab741ba021e2f551302c99dc1ad0e8b66f978f6 | diff --git a/xigt/importers/toolbox.py b/xigt/importers/toolbox.py
index <HASH>..<HASH> 100755
--- a/xigt/importers/toolbox.py
+++ b/xigt/importers/toolbox.py
@@ -53,7 +53,7 @@ from xigt.codecs import xigtxml
from xigt.errors import XigtImportError
try:
- import toolboxT as toolbox
+ import toolbox
except Im... | Restored toolbox import to global | xigt_xigt | train | py |
95381062941afba2e910e4f6723c59e32f0eb4e4 | diff --git a/fireplace/cards/classic/hunter.py b/fireplace/cards/classic/hunter.py
index <HASH>..<HASH> 100644
--- a/fireplace/cards/classic/hunter.py
+++ b/fireplace/cards/classic/hunter.py
@@ -158,7 +158,7 @@ class EX1_554:
class EX1_609:
"""Snipe"""
- secret = Play(OPPONENT, MINION | HERO).after(
+ secret = Pla... | Fix Lord Jaraxxus and Snipe interaction | jleclanche_fireplace | train | py,py |
81dcdefb2ae23d56f5535d85b072e3e73baebe0b | diff --git a/s2/cap.go b/s2/cap.go
index <HASH>..<HASH> 100644
--- a/s2/cap.go
+++ b/s2/cap.go
@@ -77,9 +77,10 @@ func CapFromCenterAngle(center Point, angle s1.Angle) Cap {
// CapFromCenterHeight constructs a cap with the given center and height. A
// negative height yields an empty cap; a height of 2 or more yiel... | s2: Fix CapFromCenterHeight.
Renormalizing the center point was unnecessary and caused some
Cap-related tests to fail. | golang_geo | train | go |
8fac290120b31c04c8c4059b34bc109bb4639a37 | diff --git a/rider-core/src/main/java/com/github/database/rider/core/dataset/DataSetExecutorImpl.java b/rider-core/src/main/java/com/github/database/rider/core/dataset/DataSetExecutorImpl.java
index <HASH>..<HASH> 100644
--- a/rider-core/src/main/java/com/github/database/rider/core/dataset/DataSetExecutorImpl.java
+++ ... | #<I> - Enabling constraints only if `disableConstraints == false` | database-rider_database-rider | train | java |
2dd8215b794854f13cda060c20db09fed6b70dd9 | diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -42,6 +42,7 @@ function Connection (options) {
ca: null,
gateway: 'gateway.push.apple.com',
port: 2195,
+ rejectUnauthorized: true,
enhanced: true,
errorCallback: undefined,
... | Add support for rejectUnauthorized in socket options. | node-apn_node-apn | train | js |
c5a3443d7b377c3e457de1b1b678f93063998929 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,5 @@
+import os
+
from setuptools import setup, find_packages | Missing import in setup.py. | mbr_tinyrpc | train | py |
dc0a1cd4ff32cb8fce6fa995c0f387fba7be5691 | diff --git a/app/controllers/api/templates_controller.rb b/app/controllers/api/templates_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/api/templates_controller.rb
+++ b/app/controllers/api/templates_controller.rb
@@ -18,7 +18,20 @@ class Api::TemplatesController < Api::ApiController
before_filter :... | added optional functionality for org and environment inclusion in template viewing | Katello_katello | train | rb |
02eca29cd1f0ef15393fb30464867704317f4b86 | diff --git a/backup/moodle2/backup_stepslib.php b/backup/moodle2/backup_stepslib.php
index <HASH>..<HASH> 100644
--- a/backup/moodle2/backup_stepslib.php
+++ b/backup/moodle2/backup_stepslib.php
@@ -372,6 +372,7 @@ class backup_enrolments_structure_step extends backup_structure_step {
// User enrolments only a... | MDL-<I> course enrolment backup - we may actually have users enrolled but without roles such as in LDAP plugin | moodle_moodle | train | php |
7824de9217d478a04eccaa259012d0514186a408 | diff --git a/http.go b/http.go
index <HASH>..<HASH> 100644
--- a/http.go
+++ b/http.go
@@ -58,11 +58,11 @@ func (s *Server) HTTPHandler(w http.ResponseWriter, r *http.Request) {
sub := stream.addSubscriber(eventid)
defer sub.close()
- notify := w.(http.CloseNotifier).CloseNotify()
go func() {
- <-notify
+ <-r... | replace depreciated use of CloseNotify with Context Done | r3labs_sse | train | go |
61573b1394c8835e8dccc91db44eeb2f7e843bd0 | diff --git a/salt/modules/hosts.py b/salt/modules/hosts.py
index <HASH>..<HASH> 100644
--- a/salt/modules/hosts.py
+++ b/salt/modules/hosts.py
@@ -215,10 +215,10 @@ def add_host(ip, alias):
def _write_hosts(hosts):
lines = []
for ip, aliases in hosts.iteritems():
+ line = '{0}\t'.format(ip)
f... | when an ip has more than 1 aliases they will be written at the same line in the hosts file | saltstack_salt | train | py |
620a19093f38540d80d1a6824aa255e5ce35191d | diff --git a/benchmarks/test_bench.py b/benchmarks/test_bench.py
index <HASH>..<HASH> 100644
--- a/benchmarks/test_bench.py
+++ b/benchmarks/test_bench.py
@@ -3,6 +3,7 @@ from __future__ import absolute_import
import json
import pkg_resources
import random
+import statistics
import string
from collections import d... | Refactor `get_average` method to use `statistics` library | AltSchool_dynamic-rest | train | py |
8862c5dcef3d18637b98cb6487da607a3886c785 | diff --git a/client/cli/src/test/java/it/unibz/inf/ontop/cli/SimpleMaterializerTest.java b/client/cli/src/test/java/it/unibz/inf/ontop/cli/SimpleMaterializerTest.java
index <HASH>..<HASH> 100644
--- a/client/cli/src/test/java/it/unibz/inf/ontop/cli/SimpleMaterializerTest.java
+++ b/client/cli/src/test/java/it/unibz/inf... | testing separate files option for quads materialization | ontop_ontop | train | java |
4139f8f61b4fe9807c7fc143ddb0b29f368034e8 | diff --git a/src/transformer.js b/src/transformer.js
index <HASH>..<HASH> 100644
--- a/src/transformer.js
+++ b/src/transformer.js
@@ -183,7 +183,8 @@ function convertStatements(ast) {
if(node instanceof nodes.FilterAsync ||
node instanceof nodes.IfAsync ||
node instanceof n... | CallExtensionAsync nodes should trigger async transformation as well | mozilla_nunjucks | train | js |
cae022fb136cecbe39ba7e1cd50a0a6ed6071ee9 | diff --git a/lib/api-client/resources/history.js b/lib/api-client/resources/history.js
index <HASH>..<HASH> 100644
--- a/lib/api-client/resources/history.js
+++ b/lib/api-client/resources/history.js
@@ -883,7 +883,7 @@ History.cleanupConfiguration = function(params,done) {
* Delete the history of a single variable
... | chore(history): make linter happy | camunda_camunda-bpm-sdk-js | train | js |
6cb4d8df313a5b18ccda3fe3bc8e65d8e123238a | diff --git a/src/sap.ui.core/src/sap/ui/model/analytics/AnalyticalBinding.js b/src/sap.ui.core/src/sap/ui/model/analytics/AnalyticalBinding.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/model/analytics/AnalyticalBinding.js
+++ b/src/sap.ui.core/src/sap/ui/model/analytics/AnalyticalBinding.js
@@ -4069,... | [FIX] AnalyticalBinding: make "getDownloadUrl" method public
- Method is now public and should show up in the JSDoc
Change-Id: I3c<I>fce<I>b<I>fa<I>f<I>ffe<I>e | SAP_openui5 | train | js |
1625cddf3fdf8248c5ccb0ee0f29016fa948924e | diff --git a/src/main/java/com/imsweb/naaccrxml/gui/pages/AbstractProcessingPage.java b/src/main/java/com/imsweb/naaccrxml/gui/pages/AbstractProcessingPage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/imsweb/naaccrxml/gui/pages/AbstractProcessingPage.java
+++ b/src/main/java/com/imsweb/naaccrxml/gui/pages/A... | Oops, forgot to deal with a TODO... | imsweb_naaccr-xml | train | java |
999345c0ff769420753663c60a84f31146896468 | diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/version.rb
+++ b/lib/appsignal/version.rb
@@ -1,5 +1,5 @@
require 'yaml'
module Appsignal
- VERSION = '0.12.beta.35'
+ VERSION = '0.12.beta.36'
end | Bump to <I>.beta<I> [ci skip] | appsignal_appsignal-ruby | train | rb |
3ba20e0108802aeef8044cd149f1d5438121dd80 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -2,7 +2,7 @@ import assert from 'assert';
import democase from '../lib';
describe('democase', function () {
- it('should have unit test!', function () {
- assert(false, 'we expected this package aut... | make the dummy test case pass | lyweiwei_democase | train | js |
761af136fb633407c69786e8376f40cf92aa3e18 | diff --git a/pymatgen/electronic_structure/bandstructure.py b/pymatgen/electronic_structure/bandstructure.py
index <HASH>..<HASH> 100644
--- a/pymatgen/electronic_structure/bandstructure.py
+++ b/pymatgen/electronic_structure/bandstructure.py
@@ -879,7 +879,7 @@ class BandStructureSymmLine(BandStructure, MSONable):
... | fix bug in BS -> make variable numpy array instead of list, for fixing as_dict method | materialsproject_pymatgen | train | py |
086b289f0ea63e10893cb878e46dce20c98e6d38 | diff --git a/system/View/View.php b/system/View/View.php
index <HASH>..<HASH> 100644
--- a/system/View/View.php
+++ b/system/View/View.php
@@ -206,6 +206,8 @@ class View implements RendererInterface
$output = ob_get_contents();
@ob_end_clean();
+ $this->logPerformance($start, microtime(true), $view);
+
if (... | Logs view performance data before render the view hints | codeigniter4_CodeIgniter4 | train | php |
3b6549c7992fe81ee3dfc3e03672918da0116f70 | diff --git a/lib/veewee/util/shell.rb b/lib/veewee/util/shell.rb
index <HASH>..<HASH> 100644
--- a/lib/veewee/util/shell.rb
+++ b/lib/veewee/util/shell.rb
@@ -19,6 +19,7 @@ module Veewee
# http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/185404
# This should work on windows too now
+ # T... | added more doc to Shell.execute | jedi4ever_veewee | train | rb |
4ae3911f0143c2e31e4559a0ae263e069d83afe0 | diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -2433,12 +2433,16 @@ def managed(name,
if sfn and os.path.isfile(sfn):
os.remove(sfn)
return ret
+
+ if sfn and os.p... | Fix file.managed check_cmd file not found - Issue #<I> | saltstack_salt | train | py |
e419ef32bc90bd5331b9d7015e603556ed10fc0f | diff --git a/selenium_test/steps/context_menu.py b/selenium_test/steps/context_menu.py
index <HASH>..<HASH> 100644
--- a/selenium_test/steps/context_menu.py
+++ b/selenium_test/steps/context_menu.py
@@ -368,18 +368,17 @@ def step_impl(context):
driver = context.driver
util = context.util
- pos = wedutil.... | Prevent an unnecessary server round-trip. | mangalam-research_wed | train | py |
5d9c117f01b74c2c374c89a61451ddaba84a6e68 | diff --git a/packages/node_modules/@webex/plugin-memberships/src/memberships.js b/packages/node_modules/@webex/plugin-memberships/src/memberships.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/plugin-memberships/src/memberships.js
+++ b/packages/node_modules/@webex/plugin-memberships/src/memberships.... | test(p-memberships): fix "created" property | webex_spark-js-sdk | train | js,js |
0a1123fe021a2a078ab36b2186a55b9943e551ba | diff --git a/lib/rake/dsl_definition.rb b/lib/rake/dsl_definition.rb
index <HASH>..<HASH> 100644
--- a/lib/rake/dsl_definition.rb
+++ b/lib/rake/dsl_definition.rb
@@ -144,8 +144,8 @@ module Rake
DSL.private_instance_methods(false).each do |name|
define_method name do |*args, &block|
unless @dsl_war... | Tweeked deprecated DSL method warning. | ruby_rake | train | rb |
32a89300a4e8cabf4e0b65c2b13078297c1cd217 | diff --git a/lib/commands.js b/lib/commands.js
index <HASH>..<HASH> 100644
--- a/lib/commands.js
+++ b/lib/commands.js
@@ -82,7 +82,7 @@ exports.get = function (key, callback) {
}
else if (typeof value === 'object') {
cliConfig.app.log.data(key.yellow);
- app.inspect.putObject(value);
+ cliConfig.app.i... | [fix] Fixed error accessing app while getting object | flatiron_cli-config | train | js |
df8e9af7e76378f03dc9be4a74aa81c511897816 | diff --git a/phy/cluster/supervisor.py b/phy/cluster/supervisor.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/supervisor.py
+++ b/phy/cluster/supervisor.py
@@ -529,7 +529,7 @@ class Supervisor(object):
self.context.save('new_cluster_id',
dict(new_cluster_id=new_cluster_id)... | Fix _save_gui_state when closing GUI | kwikteam_phy | train | py |
05d46ea0b32421a7874ef8b5db728f9338eeebf7 | diff --git a/lib/flip/cookie_strategy.rb b/lib/flip/cookie_strategy.rb
index <HASH>..<HASH> 100644
--- a/lib/flip/cookie_strategy.rb
+++ b/lib/flip/cookie_strategy.rb
@@ -38,7 +38,7 @@ module Flip
private
def cookies
- @@cookies || raise("Cookies not loaded")
+ @@cookies || {}
end
# In... | CookieStrategy gracefully handles absence of cookie data. | voormedia_flipflop | train | rb |
209fa4c45f14797ab692b9c111af267c5c454521 | diff --git a/widgets.py b/widgets.py
index <HASH>..<HASH> 100644
--- a/widgets.py
+++ b/widgets.py
@@ -359,6 +359,12 @@ class WTextEntry(Editor):
return super().handle_edit_key(key)
+ def handle_mouse(self, x, y):
+ if self.just_started:
+ self.just_started = False
+ self.re... | widgets: WTextEntry: Reset just_started status on mouse click. | pfalcon_picotui | 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.