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 |
|---|---|---|---|---|---|
aa3eb050964b354b0df2dee167c461ca0f635f40 | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -1291,7 +1291,15 @@ function get_list_of_countries() {
$lang = current_language();
if (!file_exists("$CFG->dirroot/lang/$lang/countries.php")) {
- $lang = "en"; // countr... | When getting a list of countries, check the parent language if necessary. | moodle_moodle | train | php |
3a4b50e6baf16b0736a7f7295e3a923d201be44f | diff --git a/custom_utils/custom_utils.py b/custom_utils/custom_utils.py
index <HASH>..<HASH> 100644
--- a/custom_utils/custom_utils.py
+++ b/custom_utils/custom_utils.py
@@ -149,12 +149,17 @@ class CustomUtils:
with open(data['save_path'] + ".json", 'w') as outfile:
json.dump(data, outfile, sort_... | Only redownload a file if told so | xtream1101_cutil | train | py |
744546628cd3fca1297789e8286b9e34da70ec10 | diff --git a/src/Iverberk/Larasearch/Traits/SearchableTrait.php b/src/Iverberk/Larasearch/Traits/SearchableTrait.php
index <HASH>..<HASH> 100644
--- a/src/Iverberk/Larasearch/Traits/SearchableTrait.php
+++ b/src/Iverberk/Larasearch/Traits/SearchableTrait.php
@@ -13,7 +13,7 @@ trait SearchableTrait {
*
* @var \Ive... | Change property visibility in SearchableTrait
Allows you to use trait in different models sharing one base class (in multi-table inheritance in our case). | iverberk_larasearch | train | php |
5fc975eb40952a09527f87829dfc8456778f1385 | diff --git a/lib/install.js b/lib/install.js
index <HASH>..<HASH> 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -56,7 +56,7 @@ function cloneMean(options, done){
// TODO - Possibly remove depdendency of git all together and download and optionally add a remote.
if (!shell.which('git')) return console.log(ch... | typo in https - fixed #<I> | linnovate_mean-cli | train | js |
642480fb6786b9f3af9486894c13e66197ba97e5 | diff --git a/helper/ResultServer.php b/helper/ResultServer.php
index <HASH>..<HASH> 100644
--- a/helper/ResultServer.php
+++ b/helper/ResultServer.php
@@ -39,7 +39,7 @@ class ResultServer
$resultServer = $delivery->getOnePropertyValue(new core_kernel_classes_Property(DeliveryContainerService::PROPERTY_RESULT_S... | TAO-<I>
- keep 'void' in the name of the constant | oat-sa_extension-tao-ltideliveryprovider | train | php |
4590364d044b7d3eb217feb2efb34bbc89e6f3bc | diff --git a/channeldb/db.go b/channeldb/db.go
index <HASH>..<HASH> 100644
--- a/channeldb/db.go
+++ b/channeldb/db.go
@@ -150,8 +150,8 @@ func (d *DB) FetchOpenChannels(nodeID *wire.ShaHash) ([]*OpenChannel, error) {
// Get the bucket dedicated to storing the meta-data for open
// channels.
openChanBucket := ... | channeldb: return nil for error if openChanBucket not created
This avoids an unnecessary panic in the case that the channeldb has
been wiped independently while a new peer connects. | lightningnetwork_lnd | train | go |
52c5e4d78ce0633150291b579c57079fd3c6b752 | diff --git a/wagtailmarkdown/utils.py b/wagtailmarkdown/utils.py
index <HASH>..<HASH> 100755
--- a/wagtailmarkdown/utils.py
+++ b/wagtailmarkdown/utils.py
@@ -9,6 +9,7 @@
#
import warnings
+from django.utils.encoding import smart_text
from django.utils.safestring import mark_safe
import bleach
@@ -30,7 +31,7 @@... | fix #<I>
now you can use cyrillic texts | torchbox_wagtail-markdown | train | py |
743de6866e46ed95e35f2de1f89fc237362d9841 | diff --git a/template.go b/template.go
index <HASH>..<HASH> 100644
--- a/template.go
+++ b/template.go
@@ -9,6 +9,7 @@ import (
"go/token"
"io"
"os"
+ "time"
)
// Template represents an entire Ego template.
@@ -226,6 +227,10 @@ func (p *Package) writeHeader(w io.Writer) error {
// Reset buffer.
buf.Rese... | Add note that template is auto-generated | benbjohnson_ego | train | go |
12589d5fb42eae13547aebb88dc8baefadf0e1cf | diff --git a/src/python/dxpy/bindings/dxfile.py b/src/python/dxpy/bindings/dxfile.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/bindings/dxfile.py
+++ b/src/python/dxpy/bindings/dxfile.py
@@ -36,7 +36,7 @@ DXFILE_HTTP_THREADS = NUM_HTTP_THREADS
if dxpy.JOB_ID:
# Increase HTTP request buffer sizes when we a... | Increase buffer size to <I> MB on workers
With the increase to 8 threads, we have to watch out for OOM. Hopefully this won't crash. | dnanexus_dx-toolkit | train | py |
60a2d68aab8aaeff72c553769a8826d9f4550a04 | diff --git a/invoice/src/main/java/com/ning/billing/invoice/api/user/DefaultNullInvoiceEvent.java b/invoice/src/main/java/com/ning/billing/invoice/api/user/DefaultNullInvoiceEvent.java
index <HASH>..<HASH> 100644
--- a/invoice/src/main/java/com/ning/billing/invoice/api/user/DefaultNullInvoiceEvent.java
+++ b/invoice/sr... | invoice: add toString method to DefaultNullInvoiceEvent
This is useful to print the event in the logs. | killbill_killbill | train | java |
d9063e928f10756af1f89b569c6e86c1ca82eda6 | diff --git a/backup/backuplib.php b/backup/backuplib.php
index <HASH>..<HASH> 100644
--- a/backup/backuplib.php
+++ b/backup/backuplib.php
@@ -624,6 +624,12 @@
} else {
fwrite ($bf,full_tag("MESSAGES",3,false,"false"));
}
+ //The blogs in backup
+ if ($preferences->backup_bl... | Adding some missing course info when backuping blogs. MDL-<I> ; merged from <I>_STABLE | moodle_moodle | train | php |
83856d8f8a84217913a00e184f087f71f64c1342 | diff --git a/erizo_controller/erizoClient/src/Room.js b/erizo_controller/erizoClient/src/Room.js
index <HASH>..<HASH> 100644
--- a/erizo_controller/erizoClient/src/Room.js
+++ b/erizo_controller/erizoClient/src/Room.js
@@ -95,8 +95,7 @@ Erizo.Room = function (spec) {
// It connects to the server through socket.io
... | Merged jnoring changes | lynckia_licode | train | js |
99992f2188988b276d32106a13d5047056066e5b | diff --git a/lib/rubocop/cli.rb b/lib/rubocop/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cli.rb
+++ b/lib/rubocop/cli.rb
@@ -25,14 +25,7 @@ module RuboCop
act_on_options
apply_default_formatter
- runner = Runner.new(@options, @config_store)
- trap_interrupt(runner)
- all_passed ... | Reduce complexity in CLI
Extract `execute_runner` from `RuboCop::CLI#run`. | rubocop-hq_rubocop | train | rb |
bb51720818201b21c022e6ef589054ad558e254d | diff --git a/lib/EventLoop.php b/lib/EventLoop.php
index <HASH>..<HASH> 100644
--- a/lib/EventLoop.php
+++ b/lib/EventLoop.php
@@ -138,14 +138,10 @@ class EventLoop extends Loop {
case Watcher::DELAY:
case Watcher::REPEAT:
- $flags = \Event::TIMEOUT;
- ... | Always use persistent flag for timer
cancel() is called when delay timers are executed anyway, so it doesn't matter what the flags are for the event. | amphp_loop | train | php |
f3aee123ec7fb77091b8df4e3bea4f4da11d7d52 | diff --git a/lib/arel/nodes/extract.rb b/lib/arel/nodes/extract.rb
index <HASH>..<HASH> 100644
--- a/lib/arel/nodes/extract.rb
+++ b/lib/arel/nodes/extract.rb
@@ -12,7 +12,7 @@ module Arel
end
def hash
- super ^ [@field, @alias].hash
+ super ^ @field.hash
end
def eql? other | Remove unused @alias, being referenced in hashing. | rails_rails | train | rb |
ec90c46b9ccb3fef94ad5c7fa52670617a94b1de | diff --git a/pylint_django/augmentations/__init__.py b/pylint_django/augmentations/__init__.py
index <HASH>..<HASH> 100644
--- a/pylint_django/augmentations/__init__.py
+++ b/pylint_django/augmentations/__init__.py
@@ -44,6 +44,7 @@ MANAGER_ATTRS = {
'extra',
'get',
'get_or_create',
+ 'update_or_creat... | Fix for Reverse Manager `update_or_create` calls
This attr list appears to be missing `update_or_create` which means that reverse related managers throw an error when trying to use them like `self.<MANAGER>.update_or_create()`. | PyCQA_pylint-django | train | py |
6c2c29f72468b79bbf8543412b503d7ba44ec883 | diff --git a/src/you_get/extractors/youtube.py b/src/you_get/extractors/youtube.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/youtube.py
+++ b/src/you_get/extractors/youtube.py
@@ -152,8 +152,11 @@ class YouTube(VideoExtractor):
# Parse video page (for DASH)
video_page ... | [youtube] fix for age-restricted videos, which do not contain ytplayer.config (or html5player) on web page | soimort_you-get | train | py |
5e9c9e0e398994d882df3988da7fcf6829201e51 | diff --git a/comment/locallib.php b/comment/locallib.php
index <HASH>..<HASH> 100644
--- a/comment/locallib.php
+++ b/comment/locallib.php
@@ -61,7 +61,8 @@ class comment_manager {
}
$comments = array();
- $sql = "SELECT c.id, c.contextid, c.itemid, c.commentarea, c.userid, c.content, u.first... | MDL-<I> reports: Update to the sql in the comment locallib to include additional name fields. | moodle_moodle | train | php |
d89e64e5eeb20ae388a981df5824baa8db294dee | diff --git a/lib/que/utils/logging.rb b/lib/que/utils/logging.rb
index <HASH>..<HASH> 100644
--- a/lib/que/utils/logging.rb
+++ b/lib/que/utils/logging.rb
@@ -42,8 +42,9 @@ module Que
end
def get_logger(internal: false)
- l = internal ? internal_logger : logger
- l.respond_to?(:call) ? l.c... | In the <I>% case where there is no internal logger, don't bother checking what it responds to. | chanks_que | train | rb |
a023bc18c79ac0f823ca7747b26c8d89f86b5e13 | diff --git a/Model/TokenConfig.php b/Model/TokenConfig.php
index <HASH>..<HASH> 100644
--- a/Model/TokenConfig.php
+++ b/Model/TokenConfig.php
@@ -45,7 +45,7 @@ class TokenConfig
*/
public function getKey($key = null)
{
- if ($key == null) {
+ if ($key === null) {
return $this... | Make sure to do a strict comparison | Happyr_GoogleSiteAuthenticatorBundle | train | php |
7864124c3b1417677cdf4ab02138d505cffc4665 | diff --git a/aeron-client/src/main/java/io/aeron/ClientConductor.java b/aeron-client/src/main/java/io/aeron/ClientConductor.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/io/aeron/ClientConductor.java
+++ b/aeron-client/src/main/java/io/aeron/ClientConductor.java
@@ -31,6 +31,7 @@ import org.agrona.c... | [Java] Park nanos rather than yield in client conductor when awaiting a response to help prevent resource starvation. | real-logic_aeron | train | java |
5f4da41d12be61208263e16c48ce92ef4edfbceb | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -1163,6 +1163,9 @@ const devices = [
],
toZigbee: [],
meta: {configureKey: 1},
+ whiteLabel: [
+ {vendor: 'Samotech', model: 'SM301Z'},
+ ],
configure: async... | Adds Samotech SM<I>Z as Tuya RH<I> white-label (#<I>) | Koenkk_zigbee-shepherd-converters | train | js |
9586332c579ce8ee707837133df0643244755e77 | diff --git a/src/jquery.fancytree.dnd5.js b/src/jquery.fancytree.dnd5.js
index <HASH>..<HASH> 100644
--- a/src/jquery.fancytree.dnd5.js
+++ b/src/jquery.fancytree.dnd5.js
@@ -601,7 +601,12 @@
}
}
// Let user modify above settings
- return dndOpts.dragStart(node, data) !== false;
+ i... | If drag does not start, no drag data should be stored. (#<I>)
* If drag does not start, no drag data should be stored.
* CI fix
* Copied previous commit to dist file
* `grunt prettier`
* Undo changes to /dist | mar10_fancytree | train | js |
d474f9ba831cee82a2e93b7162928c9252780428 | diff --git a/gala/potential/potential/core.py b/gala/potential/potential/core.py
index <HASH>..<HASH> 100644
--- a/gala/potential/potential/core.py
+++ b/gala/potential/potential/core.py
@@ -1,5 +1,6 @@
# Standard library
import abc
+from collections import OrderedDict
import copy as pycopy
import warnings
import ... | subclass composite from ordereddict after all | adrn_gala | train | py |
39420461c8027ea1e47a1b18b0798b73e1fdbf74 | diff --git a/packages/@uppy/companion/src/server/provider/dropbox/index.js b/packages/@uppy/companion/src/server/provider/dropbox/index.js
index <HASH>..<HASH> 100644
--- a/packages/@uppy/companion/src/server/provider/dropbox/index.js
+++ b/packages/@uppy/companion/src/server/provider/dropbox/index.js
@@ -105,7 +105,8 ... | companion: exclude non downloadable files in fetched list for dropbox (#<I>) | transloadit_uppy | train | js |
918df628e32e5ec1909336ff588ef3a299bca572 | diff --git a/yabt/graph.py b/yabt/graph.py
index <HASH>..<HASH> 100644
--- a/yabt/graph.py
+++ b/yabt/graph.py
@@ -334,7 +334,7 @@ def write_dot(build_context, conf: Config, out_f):
"""Write build graph in dot format to `out_f` file-like object."""
buildenvs = set(target.buildenv for target in
... | include buildenvs in buildenv targets | resonai_ybt | train | py |
df0ce0e3899b470c8ca8c1135f356e4eaf388112 | diff --git a/sacred/commandline_options.py b/sacred/commandline_options.py
index <HASH>..<HASH> 100644
--- a/sacred/commandline_options.py
+++ b/sacred/commandline_options.py
@@ -171,8 +171,10 @@ def get_name(option):
return option.__name__
-class HelpOption(CommandLineOption):
+@cli_option("-h", "--help",... | Used the new API for the help. (#<I>) | IDSIA_sacred | train | py,py |
fb92f853fef2d1d12d3fb04883e4c61148c528a1 | diff --git a/lib/Weasel/JsonMarshaller/Config/DoctrineAnnotations/JsonProperty.php b/lib/Weasel/JsonMarshaller/Config/DoctrineAnnotations/JsonProperty.php
index <HASH>..<HASH> 100644
--- a/lib/Weasel/JsonMarshaller/Config/DoctrineAnnotations/JsonProperty.php
+++ b/lib/Weasel/JsonMarshaller/Config/DoctrineAnnotations/Js... | Resolves #<I> - Default JsonProperty "strict" to true
Fix stupid typo. The default was right for the legacy annotations, but not the Doctrine ones. | moodev_php-weasel | train | php |
dca7f6e756a27d04925161315c93b623b4f56bb7 | diff --git a/java/src/com/google/template/soy/types/PrimitiveType.java b/java/src/com/google/template/soy/types/PrimitiveType.java
index <HASH>..<HASH> 100644
--- a/java/src/com/google/template/soy/types/PrimitiveType.java
+++ b/java/src/com/google/template/soy/types/PrimitiveType.java
@@ -26,6 +26,9 @@ abstract class ... | Adds a “null check and return false” code block in equals() method overridden by classes which would’ve otherwise thrown an NPE. See [] for more details.
#equalsbrokenfornull-lsc
Tested:
[]_presubmit: [] Some tests failed; test failures are believed to be unrelated to this CL
-------------
Created by MOE: ... | google_closure-templates | train | java,java |
ac71927eb2e2de59bae1707b31c04a8dbc36b249 | diff --git a/matchers/image.go b/matchers/image.go
index <HASH>..<HASH> 100644
--- a/matchers/image.go
+++ b/matchers/image.go
@@ -83,7 +83,7 @@ func CR2(buf []byte) bool {
}
func Tiff(buf []byte) bool {
- return len(buf) > 3 &&
+ return len(buf) > 9 &&
((buf[0] == 0x49 && buf[1] == 0x49 && buf[2] == 0x2A && buf... | fix(tiff): check min length | h2non_filetype | train | go |
8c4f36f972cd2c5e52404f1ba8d59cfcfe2c9099 | diff --git a/src/Entity/XiboRegion.php b/src/Entity/XiboRegion.php
index <HASH>..<HASH> 100644
--- a/src/Entity/XiboRegion.php
+++ b/src/Entity/XiboRegion.php
@@ -24,6 +24,8 @@ class XiboRegion extends XiboEntity
public $left;
public $zIndex;
+ public $playlists;
+
/**
* Create Region
* @param $l... | Updated region wrapper for playlists id | xibosignage_oauth2-xibo-cms | train | php |
99747a93612c981cf302a626d7903e54c25df08e | diff --git a/billy/importers/names.py b/billy/importers/names.py
index <HASH>..<HASH> 100644
--- a/billy/importers/names.py
+++ b/billy/importers/names.py
@@ -246,7 +246,7 @@ class NameMatcher(object):
return self._names[chamber].get(name, None)
-class CommitteeNameMatcher(NameMatcher):
+class CommitteeNam... | no need to inherit from NameMatcher | openstates_billy | train | py |
7483943984b0abd38c2f9b99f089721faaaadf1d | diff --git a/src/catgen/in/javasrc/CatalogDiffEngine.java b/src/catgen/in/javasrc/CatalogDiffEngine.java
index <HASH>..<HASH> 100644
--- a/src/catgen/in/javasrc/CatalogDiffEngine.java
+++ b/src/catgen/in/javasrc/CatalogDiffEngine.java
@@ -442,8 +442,8 @@ public class CatalogDiffEngine {
retval[0] = table... | ENG-<I>: Take Izzy's feedback. | VoltDB_voltdb | train | java |
1ab2673a36e48fcf9ab5c2dff6045f05287e42f9 | diff --git a/controllers/controllerhelpers/slack.go b/controllers/controllerhelpers/slack.go
index <HASH>..<HASH> 100644
--- a/controllers/controllerhelpers/slack.go
+++ b/controllers/controllerhelpers/slack.go
@@ -3,9 +3,10 @@ package controllerhelpers
import (
"fmt"
"net/http"
- "strings"
+ "bytes"
"sync"
"t... | Update slack messages to their new webhook style | TF2Stadium_Helen | train | go |
5354b03e98d8d6838c423317bcc0616c5e0d0d96 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -30,12 +30,20 @@ describe('getResults(user, key, job)', function () {
function output(name) {
sha.checkSync(__dirname + '/output/' + name, sha.getSync(__dirname + '/fixtures/output/' + n... | Test text files differently to ignore `\r` | jepso-ci_get-sauce-results | train | js |
ad2e18adca12d4c73560ac30669135e1a4806857 | diff --git a/medoo.php b/medoo.php
index <HASH>..<HASH> 100644
--- a/medoo.php
+++ b/medoo.php
@@ -2,7 +2,7 @@
/*!
* Medoo database framework
* http://medoo.in
- * Version 0.9.6
+ * Version 0.9.6.2
*
* Copyright 2014, Angel Lai
* Released under the MIT license | [release] Medoo <I> | catfan_Medoo | train | php |
40b4337c1ea880eed9e04baff33f69ddcca5c88b | diff --git a/serviced/commands.go b/serviced/commands.go
index <HASH>..<HASH> 100644
--- a/serviced/commands.go
+++ b/serviced/commands.go
@@ -716,7 +716,7 @@ func (cli *ServicedCli) CmdShell(args ...string) error {
shellcmd += a + " "
}
proxyCmd := fmt.Sprintf("/serviced/%s -logtostderr=false proxy -autorestart... | Setting COMMAND environment variable to service.Startup in the container | control-center_serviced | train | go |
c42fa6083818ef39dcc014d269a6caee710ba8f8 | diff --git a/lib/main.js b/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -36,6 +36,10 @@ function addBuiltins(store) {
store.add(new Interface('CallbackGame', {
description: 'A placeholder, currently holds no information. Use BotFather to set up your game.',
}))
+ store.add(... | feat: Add InputFile manually | sergeysova_telegram-typings | train | js |
8344dc8e7580364a6ad9ce6f3cf8f050e0a463c7 | diff --git a/src/descriptions/order.php b/src/descriptions/order.php
index <HASH>..<HASH> 100644
--- a/src/descriptions/order.php
+++ b/src/descriptions/order.php
@@ -16,7 +16,7 @@
'required' => false,
'type' => 'integer',
'location' => 'query',
- ... | fix limits in order calls, close #<I> | fillup_walmart-partner-api-sdk-php | train | php |
de6927129dde7c373973c0e9c3baac1e2daffdd1 | diff --git a/components.js b/components.js
index <HASH>..<HASH> 100644
--- a/components.js
+++ b/components.js
@@ -307,7 +307,7 @@ var DrawBuffer = {
var x = (e.x - todraw.x < 0) ? 0 : (e.x - todraw.x),
y = (e.y - todraw.y < 0) ? 0 : (e.y - todraw.y),
w = Math.min(todraw.w - x, e.w, e.w - (todraw.... | * Fixed error in height redraw segment, should choose the highest value... who knows. * Need to optimize, getting sluggish | craftyjs_Crafty | train | js |
9f7fc0808e475d2aff93a548ef7edc5b7ef26fe0 | diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/CustomResource.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/CustomResource.java
index <HASH>..<HASH> 100644
--- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/CustomResource.java
+++ b/kubernetes-client/src/... | refactor: apply toLowerCase to both branches | fabric8io_kubernetes-client | train | java |
6886158f536fd6f09c40ac500c17f361239611df | diff --git a/ella/galleries/models.py b/ella/galleries/models.py
index <HASH>..<HASH> 100644
--- a/ella/galleries/models.py
+++ b/ella/galleries/models.py
@@ -105,13 +105,12 @@ class Gallery(Publishable):
@staticmethod
def _request_finished_signal_receiver(**kwargs):
+ request_finished.disconnect( Ga... | little modification in signal handler. Refs #<I> | ella_ella | train | py |
07bd508a54887ddb0f8f8d8dfc33081e9fbcc9aa | diff --git a/flask_assistant/manager.py b/flask_assistant/manager.py
index <HASH>..<HASH> 100644
--- a/flask_assistant/manager.py
+++ b/flask_assistant/manager.py
@@ -20,7 +20,7 @@ class Context(dict):
self.parameters[param_name] = value
def get(self, param):
- return self.parameters[param]
+ ... | return None if calling get on a context that doesnt exist.
- Fixes an issue where calling get would return a context that
isn't tracked by the ContextManager
update ContextManager with new Context instances, rather than looking
up in cache. | treethought_flask-assistant | train | py |
ecb5add03565775ce9f00a08cdda5496e9a633c3 | diff --git a/app/helpers/no_cms/menus/menu_helper.rb b/app/helpers/no_cms/menus/menu_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/no_cms/menus/menu_helper.rb
+++ b/app/helpers/no_cms/menus/menu_helper.rb
@@ -36,7 +36,11 @@ module NoCms::Menus::MenuHelper
options.reverse_merge! current_class: 'active', w... | Passing an array of classes allow to customize subsubmenus | simplelogica_nocms-menus | train | rb |
52f58adf1ffa8729b78fe42120e29873d4c59642 | diff --git a/luigi/static/visualiser/js/visualiserApp.js b/luigi/static/visualiser/js/visualiserApp.js
index <HASH>..<HASH> 100644
--- a/luigi/static/visualiser/js/visualiserApp.js
+++ b/luigi/static/visualiser/js/visualiserApp.js
@@ -19,7 +19,7 @@ function visualiserApp(luigi) {
}
function taskToDisplayTas... | Fixes visualizer for taskids with _ and numbers in the name | spotify_luigi | train | js |
42ffe3a5d60f606d5b380ce2929432d31ff4b960 | diff --git a/pypika/terms.py b/pypika/terms.py
index <HASH>..<HASH> 100644
--- a/pypika/terms.py
+++ b/pypika/terms.py
@@ -1260,7 +1260,7 @@ class Function(Criterion):
return "{name}({args}{special})".format(
name=self.name,
args=",".join(
- p.get_sql(with_alias=False, ... | get sql string as arg sql | kayak_pypika | train | py |
daebb5418295ff127d68659f1a26296914af7cfe | diff --git a/test/controllers/controller_test.rb b/test/controllers/controller_test.rb
index <HASH>..<HASH> 100644
--- a/test/controllers/controller_test.rb
+++ b/test/controllers/controller_test.rb
@@ -49,6 +49,20 @@ class PostsControllerTest < ActionController::TestCase
assert_equal "All requests must use the '#... | Add test for testing accept all header and non-jsonapi header. May need to change depending on discussion about this | cerebris_jsonapi-resources | train | rb |
0e86ce95c25f2fcc068dcd024218d49750bebcf1 | diff --git a/lib/util.js b/lib/util.js
index <HASH>..<HASH> 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -88,14 +88,14 @@ exports.writeFileIfDiffers = function(path, content, force) {
return QFS.exists(path)
.then(function(exists) {
if (force || !exists) return true;
- return QFS.... | issue #<I>: writeFileIfDiffers shortened | bem-archive_bem-tools | train | js |
3e7bc0341753731c36d8d04f4210072806fab1c9 | diff --git a/src/menus/SidebarMenu.php b/src/menus/SidebarMenu.php
index <HASH>..<HASH> 100644
--- a/src/menus/SidebarMenu.php
+++ b/src/menus/SidebarMenu.php
@@ -13,7 +13,7 @@ namespace hipanel\modules\stock\menus;
use Yii;
-class SidebarMenu extends \hiqdev\menumanager\Menu
+class SidebarMenu extends \hiqdev\yii... | redone yii2-thememanager -> yii2-menus | hiqdev_hipanel-module-stock | train | php |
e56cb950fc99ff6a59b822368421b4f1cd8b43c4 | diff --git a/step/step.go b/step/step.go
index <HASH>..<HASH> 100644
--- a/step/step.go
+++ b/step/step.go
@@ -286,7 +286,8 @@ func (v *Vector) SetRange(start, end int, e Equaler) {
if v.min.val.Equal(v.Zero) {
v.min.pos = end
} else {
- v.t.Insert(&position{pos: end, val: v.Zero})
+ v.min = &position{pos... | Fix range extension logic for SetRange | biogo_store | train | go,go |
49ec0a46a7ae12eae97a5d49c6bb1fbbb2752e2a | diff --git a/rundeckapp/grails-app/assets/javascripts/application.js b/rundeckapp/grails-app/assets/javascripts/application.js
index <HASH>..<HASH> 100644
--- a/rundeckapp/grails-app/assets/javascripts/application.js
+++ b/rundeckapp/grails-app/assets/javascripts/application.js
@@ -495,7 +495,8 @@ function totalPageCou... | add method to get i<I>n messages from javascript | rundeck_rundeck | train | js |
5a014aada69acb9fc5158e75a6a229eff4c71fc4 | diff --git a/src/runtime/runtime.js b/src/runtime/runtime.js
index <HASH>..<HASH> 100644
--- a/src/runtime/runtime.js
+++ b/src/runtime/runtime.js
@@ -340,12 +340,6 @@
return $Object(x);
}
- function assertObject(x) {
- if (!isObject(x))
- throw $TypeError(x + ' is not an Object');
- return x;
- ... | Remove runtime remove assertObject
This could not be included in the last commit due to self hostin
issues. It required a npm push before it was safe to remove. | google_traceur-compiler | train | js |
da12641b7faf3dd7992434a6243ac545a768712a | diff --git a/ocrd/ocrd/workspace.py b/ocrd/ocrd/workspace.py
index <HASH>..<HASH> 100644
--- a/ocrd/ocrd/workspace.py
+++ b/ocrd/ocrd/workspace.py
@@ -186,6 +186,9 @@ class Workspace():
try:
ocrd_file = next(self.mets.find_files(ID=ID))
except StopIteration:
+ i... | Workspace.remove_file: no exception if empty but ID was a regex | OCR-D_core | train | py |
c1639021e51773e7205700ed0ea1be4118fa8c3e | diff --git a/lib/predicates/equal.js b/lib/predicates/equal.js
index <HASH>..<HASH> 100644
--- a/lib/predicates/equal.js
+++ b/lib/predicates/equal.js
@@ -17,10 +17,10 @@ var rQuotes = /"|'/g,
lookupIsNumeric = isNumeric( lookup ),
getIsNumeric = isNumeric( get );
- if ( (lookup !== u... | Account for empty strings in .equal? lookups. | NodeSquarespace_node-squarespace-jsont | train | js |
734027271992124144fd49a6bd7f6d991827c649 | diff --git a/app/mixins/patient-list-route.js b/app/mixins/patient-list-route.js
index <HASH>..<HASH> 100644
--- a/app/mixins/patient-list-route.js
+++ b/app/mixins/patient-list-route.js
@@ -26,6 +26,10 @@ export default Ember.Mixin.create({
returnToPatient: function() {
this.controller.send('returnToPatien... | Fix return to visit from add imaging and lab.
Fixes #<I> | HospitalRun_hospitalrun-frontend | train | js |
b48a40c91f96195e486598a5e06f986e998ad8b5 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -29,7 +29,7 @@ return array(
'label' => 'QTI test model',
'description' => 'TAO QTI test implementation',
'license' => 'GPL-2.0',
- 'version' => '16.2.2',
+ 'version' => '... | Bump patch version (again)
tao-<I> | oat-sa_extension-tao-testqti | train | php,php |
e405e3c8c5c2de2e037008900e2bd0ee03284219 | diff --git a/closer.go b/closer.go
index <HASH>..<HASH> 100644
--- a/closer.go
+++ b/closer.go
@@ -14,11 +14,17 @@ func (errs MultiError) Error() string {
return "multiple errors"
}
-func NewMultiError(errs []error) error {
- if len(errs) == 0 {
+func MergeErrors(errs ...error) error {
+ var nonNilErrs []error
+ f... | rename NewMultiError to MergeErrors | v2pro_plz | train | go |
05be2422a5fec7fc35d90e193ffd0b0e8e2036ad | diff --git a/hazelcast/src/test/java/com/hazelcast/topic/impl/reliable/LossToleranceTest.java b/hazelcast/src/test/java/com/hazelcast/topic/impl/reliable/LossToleranceTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/topic/impl/reliable/LossToleranceTest.java
+++ b/hazelcast/src/test/jav... | Fixes uninitialized partition in LossToleranceTest
whenLossTolerant_andOwnerCrashes_thenContinue test uses partition service to determine the owner of reliable topic's owner. The owner partition is killed during the test. However owner partition may be null because the partition table was not updated yet. This fix add... | hazelcast_hazelcast | train | java |
1617a389fbaaf8c2507cd60c854e685fcd17b717 | diff --git a/shinken/macroresolver.py b/shinken/macroresolver.py
index <HASH>..<HASH> 100644
--- a/shinken/macroresolver.py
+++ b/shinken/macroresolver.py
@@ -68,6 +68,17 @@ class MacroResolver(Borg):
'EVENTSTARTTIME': '_get_events_start_time',
}
+ output_macros = [
+ 'HOSTOUTPUT',
+ ... | fix macroresolver error from eltdetail template
Define output_macros as a class variable instead of an object variable
Fixes problem found in shinken-monitoring/mod-webui#<I> | Alignak-monitoring_alignak | train | py |
06a95bc371129b256e57839c3a5b6543d9babc55 | diff --git a/wal_e/cmd.py b/wal_e/cmd.py
index <HASH>..<HASH> 100755
--- a/wal_e/cmd.py
+++ b/wal_e/cmd.py
@@ -302,8 +302,7 @@ def main(argv=None):
backup_cxt.wal_s3_archive(args.WAL_SEGMENT)
elif subcommand == 'delete':
# Set up pruning precedence, optimizing for *not* deleting data
... | Remove a stray debugging print | wal-e_wal-e | train | py |
167ab9971c73fb671ea1a467e7be90882fafac7a | diff --git a/newsletter-bundle/src/Resources/contao/classes/Newsletter.php b/newsletter-bundle/src/Resources/contao/classes/Newsletter.php
index <HASH>..<HASH> 100644
--- a/newsletter-bundle/src/Resources/contao/classes/Newsletter.php
+++ b/newsletter-bundle/src/Resources/contao/classes/Newsletter.php
@@ -445,7 +445,7 ... | [Newsletter] Adjust the core files to trigger the new `$blnDoNotCreate` option | contao_contao | train | php |
c8373d0b7cf47adf068e44dca7413979567c3463 | diff --git a/dwave/system/package_info.py b/dwave/system/package_info.py
index <HASH>..<HASH> 100644
--- a/dwave/system/package_info.py
+++ b/dwave/system/package_info.py
@@ -15,7 +15,7 @@
# =============================================================================
__all__ = ['__version__', '__author__', '__author... | Release version <I>
Fixes
---
- Doctest | dwavesystems_dwave-system | train | py |
03befeec494ca3db352e0ea367164930cfb0031f | diff --git a/src/ReCaptcha.php b/src/ReCaptcha.php
index <HASH>..<HASH> 100644
--- a/src/ReCaptcha.php
+++ b/src/ReCaptcha.php
@@ -93,6 +93,7 @@ class ReCaptcha extends Base implements \Nails\Captcha\Interfaces\Driver
.execute('$sClientKey', {action: '$sAction'})
... | Submit form when recaptcha token is generated | nails_driver-captcha-recaptcha | train | php |
85413d1764ac0b94e01efd44dd19287aae263691 | diff --git a/lib/xmpp/c2s.js b/lib/xmpp/c2s.js
index <HASH>..<HASH> 100644
--- a/lib/xmpp/c2s.js
+++ b/lib/xmpp/c2s.js
@@ -26,7 +26,7 @@ function C2SServer(options) {
// And now start listening to connections on the port provided as an option.
net.createServer(function (inStream) {
self.acceptConnect... | allow the specification of the interface and the port on which to listen for C2S connections | xmppjs_xmpp.js | train | js |
f21cabf5e03d5b47306383324b9bd3fcc9c8f8e2 | diff --git a/hydpy/core/parametertools.py b/hydpy/core/parametertools.py
index <HASH>..<HASH> 100644
--- a/hydpy/core/parametertools.py
+++ b/hydpy/core/parametertools.py
@@ -571,7 +571,10 @@ class MultiParameter(Parameter):
nested list. If the compression fails, a
:class:`~exceptions.NotImplementedE... | Use "nan" for string representations of MultiParameter instances with None values | hydpy-dev_hydpy | train | py |
84427639afd2a82552c602820a3e4713cf58b685 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -29,12 +29,6 @@ func newOvsdbClient(c *rpc2.Client) *OvsdbClient {
Schema: make(map[string]DatabaseSchema),
handlersMutex: &sync.Mutex{},
}
- connectionsMutex.Lock()
- defer connectionsMutex.Unlock()
- if co... | cleanup the underlying rpc client on erros in newRPC2Client()
currently we don't close the RPC connection on failures and also
don't remove the stale RPC client connection from the `connections`
map | socketplane_libovsdb | train | go |
322d7d65b54033034954d9324d2056b32132ed2d | diff --git a/lib/Sabre/DAV/Server.php b/lib/Sabre/DAV/Server.php
index <HASH>..<HASH> 100644
--- a/lib/Sabre/DAV/Server.php
+++ b/lib/Sabre/DAV/Server.php
@@ -536,11 +536,11 @@ class Sabre_DAV_Server {
$start = $range[0];
$end = $range[1]?$range[1]:$nodeSize-1;
- if($s... | Fixed Content-Range comparison.
Fixes Issue <I>. | sabre-io_dav | train | php |
4f32141667ba551fe42454baef56ba2415a7c36d | diff --git a/app/serializers/stack_serializer.rb b/app/serializers/stack_serializer.rb
index <HASH>..<HASH> 100644
--- a/app/serializers/stack_serializer.rb
+++ b/app/serializers/stack_serializer.rb
@@ -3,7 +3,7 @@ class StackSerializer < ActiveModel::Serializer
has_one :lock_author
attributes :id, :repo_owner,... | Expose Stack#continuous_deployment in the serializer | Shopify_shipit-engine | train | rb |
53de5632c7a6b5b191e3e075899a4f68137aa169 | diff --git a/lib/component.js b/lib/component.js
index <HASH>..<HASH> 100644
--- a/lib/component.js
+++ b/lib/component.js
@@ -189,7 +189,7 @@ function build(string, opts, readFile) {
script = script.replace(/\$PARTIALS\['([-a-zA-Z0-9_\/]+)'\]/g, (m, n) =>
stringify({ v: list[2].v, t: list[2].p[n] || ''... | bin: use parsed partials object for sub rather than string object | ractivejs_ractive | train | js |
98aa3b07911bdcfa6c1d608789a9d01e81037a3a | diff --git a/history/src/main/java/com/groupon/lex/metrics/history/xdr/support/ObjectSequence.java b/history/src/main/java/com/groupon/lex/metrics/history/xdr/support/ObjectSequence.java
index <HASH>..<HASH> 100644
--- a/history/src/main/java/com/groupon/lex/metrics/history/xdr/support/ObjectSequence.java
+++ b/history... | Add toArray functions to ObjectSequence. | groupon_monsoon | train | java |
173117a56e2ff086633204e38500de0fb92c64b4 | diff --git a/activerecord/lib/active_record/relation/spawn_methods.rb b/activerecord/lib/active_record/relation/spawn_methods.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/relation/spawn_methods.rb
+++ b/activerecord/lib/active_record/relation/spawn_methods.rb
@@ -6,7 +6,6 @@ require "active_recor... | Remove outdated comment of ActiveRecord's spawn method. | rails_rails | train | rb |
831d4a2c937a0f3079b8927276c5a797d4573a29 | diff --git a/commands/review/post/command.go b/commands/review/post/command.go
index <HASH>..<HASH> 100644
--- a/commands/review/post/command.go
+++ b/commands/review/post/command.go
@@ -237,8 +237,7 @@ You are about to post review requests for the following commits:
return errs.NewError(task, err, nil)
}
if !co... | review post: Fix the followup message
The followup message was being printed even though the operation was canceled by
inserting N when prompted to confirm the operation. This should be now fixed.
Change-Id: e<I>cd5
Story-Id: unassigned | salsaflow_salsaflow | train | go |
492a3862b63e41bbff085b5034750f4b1b218297 | diff --git a/tests/test_kvstore.py b/tests/test_kvstore.py
index <HASH>..<HASH> 100644
--- a/tests/test_kvstore.py
+++ b/tests/test_kvstore.py
@@ -180,6 +180,7 @@ class TestBsddbStore(unittest.TestCase, KVStoreBase):
def setUpClass(cls):
try:
import bsddb
+ bsddb # reference bsddb... | Reference bsddb after its import, to satisfy pyflakes | pteichman_cobe | train | py |
399399f89e9c60c3ab91841665e1c3ac7895e0eb | diff --git a/salt/modules/localemod.py b/salt/modules/localemod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/localemod.py
+++ b/salt/modules/localemod.py
@@ -274,4 +274,4 @@ def gen_locale(locale):
cmd.append('--generate')
cmd.append(locale)
- return __salt__['cmd.retcode'](cmd, python_shell=Fal... | localemod.gen_locale now always returns a boolean
Related to #<I>, also fixes #<I>. | saltstack_salt | train | py |
433d4523198c0fa764b42c9b1de538c23617dd3f | diff --git a/packages/vaex-core/vaex/dataset.py b/packages/vaex-core/vaex/dataset.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/vaex/dataset.py
+++ b/packages/vaex-core/vaex/dataset.py
@@ -1067,9 +1067,6 @@ class Dataset(object):
arguments = _ensure_strings_from_expressions(arguments)
return lazy_functi... | fix: Dataset.apply removed print statements and dead code | vaexio_vaex | train | py |
b9b1a44c285b50c79220a751b555ed44285db7b4 | diff --git a/lib/6to5/transformation/transformers/es6/block-scoping.js b/lib/6to5/transformation/transformers/es6/block-scoping.js
index <HASH>..<HASH> 100644
--- a/lib/6to5/transformation/transformers/es6/block-scoping.js
+++ b/lib/6to5/transformation/transformers/es6/block-scoping.js
@@ -211,12 +211,20 @@ LetScoping.... | support async await inside of let scoping closure wrapper - fixes #<I> | babel_babel | train | js |
57a49c12b2d1ea348dcee73f9e00f9189fc0906c | diff --git a/lib/dimples/configuration.rb b/lib/dimples/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/dimples/configuration.rb
+++ b/lib/dimples/configuration.rb
@@ -80,7 +80,8 @@ module Dimples
def self.default_file_extensions
{
'pages' => 'html',
- 'posts' => 'html'
+ 'post... | Added a config entry for feed file extensions. | waferbaby_dimples | train | rb |
f72ac7f5e4f2d77a403a0ba79ef9aa6a7c2326c1 | diff --git a/src/Illuminate/Routing/UrlGenerator.php b/src/Illuminate/Routing/UrlGenerator.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Routing/UrlGenerator.php
+++ b/src/Illuminate/Routing/UrlGenerator.php
@@ -163,7 +163,7 @@ class UrlGenerator implements UrlGeneratorContract
if ($url) {
... | Update UrlGenerator.php | laravel_framework | train | php |
8fd09ffe4a985db3da0c4abdb2138f10d2193adb | diff --git a/soco.py b/soco.py
index <HASH>..<HASH> 100644
--- a/soco.py
+++ b/soco.py
@@ -376,6 +376,7 @@ class SoCo(object):
"""
if bass is not False:
+ bass = max(-10, min(bass, 10)) # Coerce in range
body = SET_BASS_BODY_TEMPLATE.format(bass=bass)
response... | Coerce bass and treble input in range | amelchio_pysonos | train | py |
8df0ebd6021729536f82bd4b621f458534179c0f | diff --git a/lib/QueryBuilder/QueryBuilder.php b/lib/QueryBuilder/QueryBuilder.php
index <HASH>..<HASH> 100644
--- a/lib/QueryBuilder/QueryBuilder.php
+++ b/lib/QueryBuilder/QueryBuilder.php
@@ -72,10 +72,16 @@ class QueryBuilder
}
/**
+ * @param bool $new
+ *
* @return WhereBuilder
*/
-... | Updated qb and wb | mautic_api-library | train | php,php |
4e50442eefc561e6f7cb415702f03b6b3d095663 | diff --git a/pyvisa-py/sessions.py b/pyvisa-py/sessions.py
index <HASH>..<HASH> 100644
--- a/pyvisa-py/sessions.py
+++ b/pyvisa-py/sessions.py
@@ -163,8 +163,11 @@ class Session(compat.with_metaclass(abc.ABCMeta)):
:type resource_class: str
"""
# noinspection PyUnusedLocal
- def _inter... | Fix <I> : change _internal from function to class | pyvisa_pyvisa-py | train | py |
5a0c9a51996952787fa7d77dc1635661c4369f0c | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -122,7 +122,8 @@ func (b *Bucket) Do(k string, f func(mc *memcached.Client, vb uint16) error) (er
if i, ok := err.(*gomemcached.MCResponse); ok {
st := i.Status
- retry = st == gomemcached.NOT_MY_VBUCKET
+ ... | MB-<I> Add retry logic to rerun xattr queries when they get NOT_SUPPORTED error from gomemcached. Max number of retries will be twice the number of nodes.
Change-Id: Ic<I>db<I>c<I>bdd<I>e<I>
Reviewed-on: <URL> | couchbase_go-couchbase | train | go |
675f2d1f49a643e53948f17876452fb53a560b12 | diff --git a/app/models/concerns/acts_as_purchasable.rb b/app/models/concerns/acts_as_purchasable.rb
index <HASH>..<HASH> 100644
--- a/app/models/concerns/acts_as_purchasable.rb
+++ b/app/models/concerns/acts_as_purchasable.rb
@@ -27,7 +27,7 @@ module ActsAsPurchasable
scope :sold, -> { purchased() }
scope :s... | Fix for ActsAsPurchasable.not_purchased scope | code-and-effect_effective_orders | train | rb |
8227ddb99e322f7ee69e21a084866cf3411d3aac | diff --git a/src/ContextTypes/Product.php b/src/ContextTypes/Product.php
index <HASH>..<HASH> 100644
--- a/src/ContextTypes/Product.php
+++ b/src/ContextTypes/Product.php
@@ -25,6 +25,9 @@ class Product extends AbstractContext
'category' => null,
'model' => null,
'isSimilarTo' => Product::cla... | Add dimensions and weight to a Product context | Torann_json-ld | train | php |
3d43d866d6629863d91861f29638c1a31750ba57 | diff --git a/lib/puppet/util/classgen.rb b/lib/puppet/util/classgen.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/classgen.rb
+++ b/lib/puppet/util/classgen.rb
@@ -124,11 +124,23 @@ module Puppet::Util::ClassGen
klass
end
+ # const_defined? in Ruby 1.9 behaves differently in terms
+ # of which class ... | (#<I>) Fix constant_defined? | puppetlabs_puppet | train | rb |
2927ad71932c3ded3495935c631ed3ca9100592b | diff --git a/src/Forms.php b/src/Forms.php
index <HASH>..<HASH> 100644
--- a/src/Forms.php
+++ b/src/Forms.php
@@ -175,4 +175,19 @@ class Forms
{
return Tags\Form::close();
}
+
+ /**
+ * @param string $arg
+ * @return string
+ */
+ public function formGroup($arg='')
+ {
+ ... | add formGroup method for bootstrap style form element. | TuumPHP_Form | train | php |
fc579a5a227d2b3b0c6d860a2bd708f6ae1db94e | diff --git a/lib/units/measure.rb b/lib/units/measure.rb
index <HASH>..<HASH> 100644
--- a/lib/units/measure.rb
+++ b/lib/units/measure.rb
@@ -123,6 +123,7 @@ module Units
else
units[dim] = [unit, mult]
end
+ units.delete dim if units[dim].last == 0
factor
end | Fix bug in units combination (failing to simplify nulled units) | jgoizueta_units-system | train | rb |
b86f8f9240125b5b28264c6ab77bb1223140cb8f | diff --git a/files.go b/files.go
index <HASH>..<HASH> 100644
--- a/files.go
+++ b/files.go
@@ -80,6 +80,7 @@ type Metadata struct {
Tag string `json:".tag"`
Name string `json:"name"`
PathLower string `json:"path_lower"`
+ PathDisplay string `jso... | add missing path_display to file metadata | tj_go-dropbox | train | go |
97eddc0d0548ba34976237906e9c09dbf487bc0c | diff --git a/attitude/display/test_hyperbolic_errors.py b/attitude/display/test_hyperbolic_errors.py
index <HASH>..<HASH> 100644
--- a/attitude/display/test_hyperbolic_errors.py
+++ b/attitude/display/test_hyperbolic_errors.py
@@ -6,7 +6,7 @@ expressions.
import numpy as N
from scipy.stats import chi2
-from .plot.c... | Broke out some things in PCA fitting routine | davenquinn_Attitude | train | py |
db4631cc2cb5cc6e716efe4b983c800f415132f9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,9 +1,9 @@
'use strict'
-module.exports = [
+module.exports = {
fromMs,
toMs
-]
+}
const zeroFill = require('zero-fill')
@@ -17,7 +17,7 @@ function fromMs (ms, format = 'hh:mm:ss') {
}
let hours = Math.... | fromMs(): Fix minute extraction | Goldob_hh-mm-ss | train | js |
633265a58312fc8db40c9803b8b875a2c934154b | diff --git a/controllers/notifications-controller.js b/controllers/notifications-controller.js
index <HASH>..<HASH> 100644
--- a/controllers/notifications-controller.js
+++ b/controllers/notifications-controller.js
@@ -17,7 +17,8 @@ module.exports = function(opts) {
type_string = req.query.types,
excl... | [FIX] Fixed notification bug causing server to crash | ripple_ripple-rest | train | js |
c715aacdc24da6d4ce2edde7c96d3fc0424d3451 | diff --git a/cmd/kube-scheduler/app/server.go b/cmd/kube-scheduler/app/server.go
index <HASH>..<HASH> 100644
--- a/cmd/kube-scheduler/app/server.go
+++ b/cmd/kube-scheduler/app/server.go
@@ -81,7 +81,8 @@ and capacity. The scheduler needs to take into account individual and collective
resource requirements, quality of... | Add simple reference to synopsis of kube-scheduler | kubernetes_kubernetes | train | go |
f0e021d7f47fb9b525ce1327dab77ead85bee780 | diff --git a/test/webpack.config.js b/test/webpack.config.js
index <HASH>..<HASH> 100644
--- a/test/webpack.config.js
+++ b/test/webpack.config.js
@@ -1,5 +1,5 @@
const path = require('path');
-var DuplicatePackageCheckerPlugin = require('../');
+var DuplicatePackageCheckerPlugin = require('../index.js');
module.ex... | Use source file when testing, not built | darrenscerri_duplicate-package-checker-webpack-plugin | train | js |
f3b26525f71d54681df5fdbea76d7be0eceb12bd | diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java
index <HASH>..<HASH> 100644
--- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/... | Use System.out rather than err for ignored Class-Path entry message
Closes gh-<I> | spring-projects_spring-boot | train | java |
fd5cdcd6669de3a0c5a6263d242424e66c23d48e | diff --git a/datafilters/specs/builtin.py b/datafilters/specs/builtin.py
index <HASH>..<HASH> 100644
--- a/datafilters/specs/builtin.py
+++ b/datafilters/specs/builtin.py
@@ -29,7 +29,7 @@ class GenericSpec(FilterSpec):
class DateFieldFilterSpec(FilterSpec):
- def __init__(self, field_name, verbose_name, is_dat... | Pass field kwargs to field constructor in DateFieldFilterSpec | freevoid_django-datafilters | train | py |
197decccca8a237e334ee90dfa3bb35161c168df | diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index <HASH>..<HASH> 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -37,12 +37,7 @@ const bs = browserSync.create(),
jsnext: true,
browser: true,
}),
- commonJs({
- exclude: [
- ... | remove exclude in commonjs rollup config | simplajs_simpla | train | js |
4f7be7e203f159a3a7c1426db9511fd0f2dc8692 | diff --git a/src/consumer/__tests__/instrumentationEvents.spec.js b/src/consumer/__tests__/instrumentationEvents.spec.js
index <HASH>..<HASH> 100644
--- a/src/consumer/__tests__/instrumentationEvents.spec.js
+++ b/src/consumer/__tests__/instrumentationEvents.spec.js
@@ -337,7 +337,7 @@ describe('Consumer > Instrumentat... | Don't check for a specific API, just check the shape | tulios_kafkajs | train | js |
1fd852881beb7b30b1365d336ba29829854a7433 | diff --git a/MAVProxy/modules/mavproxy_wp.py b/MAVProxy/modules/mavproxy_wp.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_wp.py
+++ b/MAVProxy/modules/mavproxy_wp.py
@@ -23,7 +23,7 @@ class WPModule(mp_module.MPModule):
self.undo_wp = None
self.undo_type = None
self.undo_wp_i... | wp: fixed expected_count error | ArduPilot_MAVProxy | train | py |
2dd5f5bf8272f49327f444a0aa3f16e3861cb080 | diff --git a/components/interfaces/IQueryLogger.php b/components/interfaces/IQueryLogger.php
index <HASH>..<HASH> 100644
--- a/components/interfaces/IQueryLogger.php
+++ b/components/interfaces/IQueryLogger.php
@@ -2,10 +2,10 @@
namespace directapi\components\interfaces;
+use directapi\DirectApiRequest;
+use direc... | logger should process request and response too | sitkoru_yandex-direct-api | train | php |
fdb774ea339bdd74f6eff2eb41b1f5bca5dc0212 | diff --git a/demo/server.js b/demo/server.js
index <HASH>..<HASH> 100644
--- a/demo/server.js
+++ b/demo/server.js
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// hello!
+// hello world!
const express = require('express');
const path = require('path');
const app = express(); | test for CI -CD with EC2 | FlacheQL_FlacheQL | train | js |
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.