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 |
|---|---|---|---|---|---|
a2e04903601e63e43521a7ce8c4f0200f12aabf8 | diff --git a/DataFixtures/ORM/LoadCouponData.php b/DataFixtures/ORM/LoadCouponData.php
index <HASH>..<HASH> 100755
--- a/DataFixtures/ORM/LoadCouponData.php
+++ b/DataFixtures/ORM/LoadCouponData.php
@@ -13,7 +13,7 @@
namespace WellCommerce\Bundle\CouponBundle\DataFixtures\ORM;
use Doctrine\Common\Persistence\Object... | Moved AbstractDataFixture to DoctrineBundle
(cherry picked from commit <I>e<I>ccffb<I>b<I>b<I>d<I>c<I>a8) | WellCommerce_WishlistBundle | train | php |
04319ed2677700c9486dc21df582b9eca0bbf114 | diff --git a/app/models/group.rb b/app/models/group.rb
index <HASH>..<HASH> 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -94,17 +94,13 @@ class Group < ActiveRecord::Base
leaderships.group_by(&:person)
end
- def update_members_completion_score!
- # TODO: this can be very slow for large te... | improve speed of group completion score update
previously this was using a combination
of ruby inject and sql which is slow for large
groups of people. changed to use existing
sql based solution for scalability. | ministryofjustice_peoplefinder | train | rb |
240e8a526aa1e8c536eb8ecd8573ef5b8e39baa3 | diff --git a/master/buildbot/db/connector.py b/master/buildbot/db/connector.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/db/connector.py
+++ b/master/buildbot/db/connector.py
@@ -105,6 +105,7 @@ class DBConnector(WorkerAPICompatMixin, service.ReconfigurableServiceMixin,
self.cleanup_timer = internet.... | Use configured reactor for periodic DB cleanups. | buildbot_buildbot | train | py |
9907f7191153becadf46d0f74bf0888358b88b31 | diff --git a/lib/Waker.js b/lib/Waker.js
index <HASH>..<HASH> 100644
--- a/lib/Waker.js
+++ b/lib/Waker.js
@@ -24,7 +24,7 @@ OTHER DEALINGS IN THE SOFTWARE.
*/
'use strict';
-$thing.WAKE_MIN_PERIOD = 50000;
+$thing.WAKE_MIN_PERIOD = 500000;
$thing.agent('@singleton', { | Changed waker minimum to half second intervals | thingjs_agent | train | js |
0e356ca18d901bd7eb163d4bb5f7da6b837e2b3b | diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -60,10 +60,6 @@ var normalizeConfig = function(config) {
config.exclude = config.exclude.map(basePathResolve);
config.junitReporter.outputFile = basePathResolve(config.junitReporter.outputFile);
- ... | [improvement] Remove unused code (#<I>) | karma-runner_karma | train | js |
d0d2812e12c3e9d00170f5dfd643be31f10f9b3b | diff --git a/test/create-api-test.js b/test/create-api-test.js
index <HASH>..<HASH> 100644
--- a/test/create-api-test.js
+++ b/test/create-api-test.js
@@ -24,7 +24,6 @@ var assert = require("assert"),
oauthutil = require("./lib/oauth"),
setupApp = oauthutil.setupApp,
register = oauthutil.register,
- a... | Don't use accessToken in create-api-test | pump-io_pump.io | train | js |
25c9f0fcb04d87fbefb1373ba0a824f931aacaa5 | diff --git a/wes_service/arvados_wes.py b/wes_service/arvados_wes.py
index <HASH>..<HASH> 100644
--- a/wes_service/arvados_wes.py
+++ b/wes_service/arvados_wes.py
@@ -24,8 +24,9 @@ def get_api(authtoken=None):
if not connexion.request.headers.get('Authorization'):
raise MissingAuthorization()
... | Make wes-client token header consistent with token header for downloads. | common-workflow-language_workflow-service | train | py |
b57288f1acc45af8a33ed769fdb7463f5a512a9e | diff --git a/napalm/iosxr.py b/napalm/iosxr.py
index <HASH>..<HASH> 100644
--- a/napalm/iosxr.py
+++ b/napalm/iosxr.py
@@ -160,7 +160,6 @@ class IOSXRDriver(NetworkDriver):
'description': description,
'speed': speed,
'last_flapped': None,
- 'mode': None,... | removing mode from junos and iosxr | napalm-automation_napalm | train | py |
c268892e9bc6e2f68deb690690cab5abce7bc8fe | diff --git a/src/Builder/Components/Namespaces.php b/src/Builder/Components/Namespaces.php
index <HASH>..<HASH> 100644
--- a/src/Builder/Components/Namespaces.php
+++ b/src/Builder/Components/Namespaces.php
@@ -17,6 +17,9 @@ class Namespaces extends Hash
$href = get_object_vars($href);
$namesp... | Bugfix: Failed to instantiate from namespace array | phonedotcom_mason-php | train | php |
bc0d51854433f39c2d3055228920c785d0e996e4 | diff --git a/stanza/models/classifier.py b/stanza/models/classifier.py
index <HASH>..<HASH> 100644
--- a/stanza/models/classifier.py
+++ b/stanza/models/classifier.py
@@ -510,6 +510,16 @@ def load_pretrain(args):
return pretrain
+def print_args(args):
+ """
+ For record keeping purposes, print out the ar... | Print out the args used when training | stanfordnlp_stanza | train | py |
d46f0e93b5a842a4c7260fe7bac3eae9fe983da2 | diff --git a/grimoire/elk/github.py b/grimoire/elk/github.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/github.py
+++ b/grimoire/elk/github.py
@@ -294,7 +294,7 @@ class GitHubEnrich(Enrich):
get_time_diff_days(issue['created_at'], issue['closed_at'])
if issue['state'] != 'closed':
- ... | [github enrich] Fix typo in time_open_days keyname. | chaoss_grimoirelab-elk | train | py |
b2983e50414d56ffe5d9dd0a379a7276a06aac6d | diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_ssl.py
+++ b/cheroot/test/test_ssl.py
@@ -467,7 +467,6 @@ def test_http_over_https_error(
IS_GITHUB_ACTIONS_WORKFLOW
and IS_WINDOWS
and six.PY2
- and IS_... | Drop win<I> from nonfallback condition @ test_ssl | cherrypy_cheroot | train | py |
1b254773ef9486d2e77a5dd67dff6491ae64b1ff | diff --git a/test/integration/mount_test.go b/test/integration/mount_test.go
index <HASH>..<HASH> 100644
--- a/test/integration/mount_test.go
+++ b/test/integration/mount_test.go
@@ -34,13 +34,14 @@ import (
)
func testMounting(t *testing.T) {
- t.Parallel()
if runtime.GOOS == "darwin" {
t.Skip("mount tests di... | Call t.Parallel() after t.Skip() to avoid confusion while debugging. | kubernetes_minikube | train | go |
fe807a7feaa18b128037622bc7fdc99ee4cc3163 | diff --git a/src/ieu/Http/RedirectResponse.php b/src/ieu/Http/RedirectResponse.php
index <HASH>..<HASH> 100644
--- a/src/ieu/Http/RedirectResponse.php
+++ b/src/ieu/Http/RedirectResponse.php
@@ -35,8 +35,6 @@ class RedirectResponse extends Response
public function __construct($target, $code = self::HTTP_FOUND, array ... | RedirectResponse improvement | inceddy_ieu_http | train | php |
389b56b5a5ea28204ee55b9a7b7dc4bafc289c51 | diff --git a/lib/jdbc_adapter/jdbc_derby.rb b/lib/jdbc_adapter/jdbc_derby.rb
index <HASH>..<HASH> 100644
--- a/lib/jdbc_adapter/jdbc_derby.rb
+++ b/lib/jdbc_adapter/jdbc_derby.rb
@@ -6,7 +6,15 @@ module ::JdbcSpec
require File.dirname(__FILE__) + "/../active_record/connection_adapters/derby_adapter"
confi... | JRUBY-<I>: Fail with older derby versions | jruby_activerecord-jdbc-adapter | train | rb |
210629efee6ccf22218044be329b4c60f0bb97e4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='salic-ml',
- version='0.0.5',
+ version='0.0.6',
description='Automate the Salic proposal admission process',
url='https://github.co... | Update package version to <I> | lappis-unb_salic-ml | train | py,py |
23fe67507a3e0f2d2c107731660443a143d97bea | diff --git a/sitegate/__init__.py b/sitegate/__init__.py
index <HASH>..<HASH> 100644
--- a/sitegate/__init__.py
+++ b/sitegate/__init__.py
@@ -1,4 +1,4 @@
-VERSION = (0, 0, 1)
+VERSION = (0, 1, 0)
# TODO access code (invitations) flows
# TODO openid flow
@@ -8,5 +8,6 @@ VERSION = (0, 0, 1)
# TODO signs up toggle
... | Version number is bumped up. | idlesign_django-sitegate | train | py |
b8ccbff6aa44e6caf8e632df03cd477ac16f0626 | diff --git a/kernel/classes/datatypes/ezimage/ezimagealiashandler.php b/kernel/classes/datatypes/ezimage/ezimagealiashandler.php
index <HASH>..<HASH> 100644
--- a/kernel/classes/datatypes/ezimage/ezimagealiashandler.php
+++ b/kernel/classes/datatypes/ezimage/ezimagealiashandler.php
@@ -858,16 +858,11 @@ class eZImageAl... | - Made sure the character transformation system is used for the generation of
image filenames/path. This means that it will use the same transliteration
rules as in url alias.
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
f646f8a8c594e83217079763b8ac20c260828da4 | diff --git a/tests/Support/SupportCollectionTest.php b/tests/Support/SupportCollectionTest.php
index <HASH>..<HASH> 100755
--- a/tests/Support/SupportCollectionTest.php
+++ b/tests/Support/SupportCollectionTest.php
@@ -3590,7 +3590,7 @@ class SupportCollectionTest extends TestCase
$this->assertEquals(6, $data-... | Apply fixes from StyleCI (#<I>) | laravel_framework | train | php |
62f3a6f3cbb0d33b3eb02612701be26cc796a85b | diff --git a/penaltymodel_maxgap/tests/test_generation.py b/penaltymodel_maxgap/tests/test_generation.py
index <HASH>..<HASH> 100644
--- a/penaltymodel_maxgap/tests/test_generation.py
+++ b/penaltymodel_maxgap/tests/test_generation.py
@@ -420,12 +420,16 @@ class TestGeneration(unittest.TestCase):
min_classical... | Add addtional auxiliary variables to unit test | dwavesystems_penaltymodel | train | py |
0ee755e66d0ddef376beb57681c24dc483f04cb3 | diff --git a/salt/__init__.py b/salt/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/__init__.py
+++ b/salt/__init__.py
@@ -87,6 +87,7 @@ class Master(parsers.MasterOptionParser):
v_dirs.append(os.path.join(self.config['pki_dir'], 'accepted'))
v_dirs.append(os.path.join(self... | Ensure that the raet cachedir is created in the verify_env | saltstack_salt | train | py |
1ebb18fd8267835a97b13207126d40b46f11087c | diff --git a/Kwc/Newsletter/Subscribe/Component.php b/Kwc/Newsletter/Subscribe/Component.php
index <HASH>..<HASH> 100644
--- a/Kwc/Newsletter/Subscribe/Component.php
+++ b/Kwc/Newsletter/Subscribe/Component.php
@@ -29,9 +29,16 @@ class Kwc_Newsletter_Subscribe_Component extends Kwc_Form_Component
if ($row->id)... | Newsletter: don't save already subscribed row | koala-framework_koala-framework | train | php |
50f882f67292487490da4f1de066dbb01990275c | diff --git a/perceval/_version.py b/perceval/_version.py
index <HASH>..<HASH> 100644
--- a/perceval/_version.py
+++ b/perceval/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.12.22"
+__version__ = "0.12.23" | Update version number to <I> | chaoss_grimoirelab-perceval | train | py |
4cd6e204adaa5ce5310cb48b8e5a19cd02e74dc1 | diff --git a/data_explorer/plotter.py b/data_explorer/plotter.py
index <HASH>..<HASH> 100755
--- a/data_explorer/plotter.py
+++ b/data_explorer/plotter.py
@@ -107,13 +107,16 @@ def rolling_plot(opts, fh):
line2d, = ax.plot(data)
buf = deque(maxlen=opts.rolling)
delim = opts.delim if opts.delim is not None else... | add a call to pause, and ensure line-buffering | perimosocordiae_data_explorer | train | py |
db7db4f248d4f59a09bc27e0ff531d90c5e10cc8 | diff --git a/girder/api/v1/resource.py b/girder/api/v1/resource.py
index <HASH>..<HASH> 100644
--- a/girder/api/v1/resource.py
+++ b/girder/api/v1/resource.py
@@ -29,6 +29,9 @@ from girder.utility import acl_mixin
from girder.utility import ziputil
from girder.utility.progress import ProgressContext
+# Plugins can ... | Make it easier for plugins to hook into resource search | girder_girder | train | py |
7f624914b12e6322d77ff03cc0ffd7b1bef15239 | diff --git a/java/src/com/google/template/soy/passes/ContentSecurityPolicyNonceInjectionPass.java b/java/src/com/google/template/soy/passes/ContentSecurityPolicyNonceInjectionPass.java
index <HASH>..<HASH> 100644
--- a/java/src/com/google/template/soy/passes/ContentSecurityPolicyNonceInjectionPass.java
+++ b/java/src/c... | Fix a source location error in CspNonceInjection.
-------------
Created by MOE: <URL> | google_closure-templates | train | java |
5cbc48750d782950e3aeec4f06ecf3aaaa8b7927 | diff --git a/cumulusci/robotframework/pageobjects/PageObjects.py b/cumulusci/robotframework/pageobjects/PageObjects.py
index <HASH>..<HASH> 100644
--- a/cumulusci/robotframework/pageobjects/PageObjects.py
+++ b/cumulusci/robotframework/pageobjects/PageObjects.py
@@ -271,22 +271,16 @@ class PageObjects(object):
def... | For `wait for modal`, make checking the heading optional
Without this change it was hard to use this class for the edit modal,
since the heading included the object name which the test might not have
in hand. You can still verify the heading by explicitly supplying it. | SFDO-Tooling_CumulusCI | train | py |
0ff78f6ee03870d2150deb9a674169967687f85e | diff --git a/lib/db/cortex.php b/lib/db/cortex.php
index <HASH>..<HASH> 100644
--- a/lib/db/cortex.php
+++ b/lib/db/cortex.php
@@ -1624,6 +1624,17 @@ class Cortex extends Cursor {
}
/**
+ * reset virtual fields
+ * @param string $key
+ */
+ public function clearVirtual($key=NULL) {
+ if ($key)
+ unset($this... | don't clear virtual fields automatically, fixes #<I> | ikkez_f3-cortex | train | php |
c07c4be6b4e410a56bc95284bb553f5b1baaa7f7 | diff --git a/lib/color_compliment.py b/lib/color_compliment.py
index <HASH>..<HASH> 100755
--- a/lib/color_compliment.py
+++ b/lib/color_compliment.py
@@ -5,11 +5,13 @@ try:
from md5 import md5
except ImportError:
from hashlib import md5
-from sys import argv
+import sys
# Original, non-relative import er... | Fix unicode digest error on Py3
Encoding works on Py<I>, but will only encode if Py3 in case
it breaks earlier Py2.x | b-ryan_powerline-shell | train | py |
0d7bbafb7e35f735bf0ca76e8b0093c74c297f2d | diff --git a/shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/job/ShardingScalingJob.java b/shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/job/ShardingScalingJob.java
index <HASH>..<HASH> 100644
--- a/shardin... | fit issue <I> (#<I>) | apache_incubator-shardingsphere | train | java |
dbbd72d4dcfb012e998c6284c783a6ef1ae3b63d | diff --git a/lib/classes/Swift/Message.php b/lib/classes/Swift/Message.php
index <HASH>..<HASH> 100644
--- a/lib/classes/Swift/Message.php
+++ b/lib/classes/Swift/Message.php
@@ -92,7 +92,7 @@ class Swift_Message extends Swift_Mime_SimpleMessage
}
/**
- * Attach a new signature handler to the message.
+... | Update Message.php
Fixed method description for detachSigner | swiftmailer_swiftmailer | train | php |
f419902408caa12997378602abf706a4283629ed | diff --git a/test/lib/rules/indent-char/test.spec.js b/test/lib/rules/indent-char/test.spec.js
index <HASH>..<HASH> 100644
--- a/test/lib/rules/indent-char/test.spec.js
+++ b/test/lib/rules/indent-char/test.spec.js
@@ -125,15 +125,18 @@ describe('hint rule ' + rule, function () {
expect(result5.length).toBe(... | add describe for format test of rule indent-char | ecomfe_htmlcs | train | js |
a422f577cbe523bde974cf345ebf9eeee7ea5f54 | diff --git a/cb4j-core/src/main/java/net/benas/cb4j/core/impl/DefaultBatchReporterImpl.java b/cb4j-core/src/main/java/net/benas/cb4j/core/impl/DefaultBatchReporterImpl.java
index <HASH>..<HASH> 100644
--- a/cb4j-core/src/main/java/net/benas/cb4j/core/impl/DefaultBatchReporterImpl.java
+++ b/cb4j-core/src/main/java/net/... | error reporter should use the same log formatter as other CB4J reporters | j-easy_easy-batch | train | java |
790a3c360fcf470fb8d77c14fa34f5984dedf136 | diff --git a/hangups/__main__.py b/hangups/__main__.py
index <HASH>..<HASH> 100644
--- a/hangups/__main__.py
+++ b/hangups/__main__.py
@@ -114,7 +114,7 @@ class ChatUI(object):
"""Handle connecting for the first time."""
self._conv_list = hangups.ConversationList(self._client)
self._user_list... | Switch Notifier to a ConversationList event
instead of a Client event. | tdryer_hangups | train | py,py |
6f73e6c0552c4be52deec9799a837703d20fe29d | diff --git a/lxc/remote.go b/lxc/remote.go
index <HASH>..<HASH> 100644
--- a/lxc/remote.go
+++ b/lxc/remote.go
@@ -5,6 +5,7 @@ import (
"net"
"net/url"
"os"
+ "strings"
"github.com/chai2010/gettext-go/gettext"
"golang.org/x/crypto/ssh/terminal"
@@ -93,6 +94,10 @@ func addServer(config *lxd.Config, server st... | Fix adding a remote by its IPv6 address | lxc_lxd | train | go |
7f392f82851bcac6e580f0eb8607d6239fbb78f6 | diff --git a/genetic.py b/genetic.py
index <HASH>..<HASH> 100644
--- a/genetic.py
+++ b/genetic.py
@@ -27,7 +27,7 @@ class GeneticMachine(vm.Machine):
self.code = []
# Remove some commands we don't wand the machine to include
- ops = self.dispatch_map
+ ops = self.instructions
... | Renames dispatch_map to instructions | cslarsen_crianza | train | py,py |
1a34280fd946d52b46f75afc43c0c1c52bade2dc | diff --git a/lib/octopress-ink/commands/new.rb b/lib/octopress-ink/commands/new.rb
index <HASH>..<HASH> 100644
--- a/lib/octopress-ink/commands/new.rb
+++ b/lib/octopress-ink/commands/new.rb
@@ -261,7 +261,6 @@ gemspec path: '../'
gemspec: gemspec,
gemspec_path: gemspec_path,
spec... | remove redundant :version key
Some versions of ruby warn about having mutliple instances of the same key in a hash. | octopress_ink | train | rb |
1d97efb37aa4b6d10a39da36f44be43676c084d3 | diff --git a/src/TwilioVideo.android.js b/src/TwilioVideo.android.js
index <HASH>..<HASH> 100644
--- a/src/TwilioVideo.android.js
+++ b/src/TwilioVideo.android.js
@@ -127,10 +127,12 @@ class CustomTwilioVideoView extends Component {
setLocalVideoEnabled (enabled) {
this.runCommand(nativeEvents.toggleVideo, [e... | Promisify setLocal{Audio/Video}Enabled on Android
On iOS these are promises, but not on Android. Return promises so that users can expect a consistent interface. | blackuy_react-native-twilio-video-webrtc | train | js |
10a99a00a7d0a3c289045c5d6db20754bf509cab | diff --git a/lib/poparser/po.rb b/lib/poparser/po.rb
index <HASH>..<HASH> 100644
--- a/lib/poparser/po.rb
+++ b/lib/poparser/po.rb
@@ -75,7 +75,7 @@ module PoParser
fuzzy_size = fuzzy.size
{
- translated: percentage(translated_size),
+ translated: percentage(translated_size - fuzzy_size),
... | fuzzy entries shouldn't be counted as translated | arashm_PoParser | train | rb |
0cb9247bc31bda8a2721d532293f92b8ceab740d | diff --git a/lib/specjour/worker.rb b/lib/specjour/worker.rb
index <HASH>..<HASH> 100644
--- a/lib/specjour/worker.rb
+++ b/lib/specjour/worker.rb
@@ -10,10 +10,8 @@ module Specjour
@number = number.to_i
@batch_size = batch_size.to_i
self.printer_uri = printer_uri
- printer
GC.copy_on_w... | Remove eager loading of Specjour::Connection | sandro_specjour | train | rb |
2aefcad2047f111bdaa7edf147848d5179769d64 | diff --git a/lib/chef/knife/cleanup_versions.rb b/lib/chef/knife/cleanup_versions.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/cleanup_versions.rb
+++ b/lib/chef/knife/cleanup_versions.rb
@@ -33,6 +33,13 @@ module ServerCleanup
:description => "Delete the unused versions of the cookbooks",
:boolean =... | add backup option to save the cookbook versions deleted by the script | mdxp_knife-cleanup | train | rb |
9e548378df5f6a0ef4f09c45ff9c643b15cc5d70 | diff --git a/migrate.go b/migrate.go
index <HASH>..<HASH> 100644
--- a/migrate.go
+++ b/migrate.go
@@ -3,6 +3,7 @@ package migrate
import (
"bytes"
"database/sql"
+ "flag"
"fmt"
"io"
"os"
@@ -22,7 +23,12 @@ const (
Down
)
-const tableName = "gorp_migrations"
+var tableName string
+
+func init() {
+ flag... | Adds command-line flag for migration tablename. | rubenv_sql-migrate | train | go |
490f5ef97239873a3e62a033ffdc1540539cf233 | diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -88,6 +88,11 @@ function configureHandler(handler, options) {
function getHandler(name, options) {
var handler = options.handlers[name];
+ if (!handler) {
+ var errorStr = util.format('Handler "%s... | Throw error if handler is not defined in config | seanmonstar_intel | train | js |
2d9ea67359e9681649491659ef965382a267e45f | diff --git a/command/init.go b/command/init.go
index <HASH>..<HASH> 100644
--- a/command/init.go
+++ b/command/init.go
@@ -158,7 +158,13 @@ job "example" {
}
}
}
-
+
+ # Specify configuration related to log rotation
+ # logs {
+ # max_files = 10
+ # max_file_size = 15
+ # }
+
# Contr... | Added the log config to init example | hashicorp_nomad | train | go |
1a21db41f872aba875fe73a1b58f3e94a7b7a340 | diff --git a/pymc3/distributions/multivariate.py b/pymc3/distributions/multivariate.py
index <HASH>..<HASH> 100755
--- a/pymc3/distributions/multivariate.py
+++ b/pymc3/distributions/multivariate.py
@@ -301,15 +301,15 @@ class Multinomial(Discrete):
if x.ndim==2:
x_sum = x.sum(axis=0)
- ... | Fix Multinomial logp when there is more than one observation | pymc-devs_pymc | train | py |
cfa8f13ee3891247bc1bfc0a7d39e375b618606f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -39,6 +39,7 @@ module.exports = {
"object-curly-newline": "off",
"object-curly-spacing": "off",
"object-property-newline": "off",
+ "one-var-declaration-per-line": "off",
"operator-linebreak": "off",
... | Add one-var-declaration-per-line to disabled rules
one-var-declaration-per-line causes this error when use with eslint-plugin-prettier:
```
#:# error Follow `prettier` formatting (expected ' ' but found '\n') prettier/prettier
```
with this code:
```
var a = 'a',
b = 'b';
``` | prettier_eslint-config-prettier | train | js |
ce8e1afba6574c1e2de651798c02be4e308c7dd6 | diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/post.rb
+++ b/lib/jekyll/post.rb
@@ -87,7 +87,9 @@ module Jekyll
#
# Returns -1, 0, 1
def <=>(other)
- cmp = self.date.to_date <=> other.date.to_date
+ cmp = self.date.year <=> other.date.year
+ ... | Add support for Ruby < <I> | jekyll_jekyll | train | rb |
87b8cc8231db0a570fb0cf4de5aeaa4c70541459 | diff --git a/lib/file.js b/lib/file.js
index <HASH>..<HASH> 100644
--- a/lib/file.js
+++ b/lib/file.js
@@ -44,9 +44,9 @@ function File (torrent, file) {
* Selects the file to be downloaded, but at a lower priority than files with streams.
* Useful if you know you need the file at a later stage.
*/
-File.prototype... | Select priority
Allows selecting with a set priority, if not passed as argument, it will default to false/0 | webtorrent_webtorrent | train | js |
0fbbd2de94957655ea4d22f643a1e034af4df0aa | diff --git a/src/passes/blur.js b/src/passes/blur.js
index <HASH>..<HASH> 100644
--- a/src/passes/blur.js
+++ b/src/passes/blur.js
@@ -88,6 +88,22 @@ export class BlurPass extends Pass {
}
/**
+ * The absolute width of the internal render targets.
+ *
+ * @type {Number}
+ */
+
+ get width() { return this.rend... | Added getters for internal RT width and height. | vanruesc_postprocessing | train | js |
3266b6bbfde2c25ee550acf85b1f69d720ed93b9 | diff --git a/src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java b/src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
+++ b/src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.ja... | Add separator between version and pinned staus. | jenkinsci_support-core-plugin | train | java |
3c214ac89be46eb86ae62d0df5b90bbdbea0b403 | diff --git a/spec/cube_sum/cube_summer_spec.rb b/spec/cube_sum/cube_summer_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cube_sum/cube_summer_spec.rb
+++ b/spec/cube_sum/cube_summer_spec.rb
@@ -3,6 +3,7 @@ require 'spec_helper'
RSpec.describe CubeSum::CubeSummer do
let(:triangles) { [153, 370, 371] }
let(:found... | Outputs info when searching for other triangle numbers | MiltonStanley_cyclical_cube_summer | train | rb |
30a92ad3dc6ece6ac359e494e0db406be9d79071 | diff --git a/src/Extension/Console/RefreshCommand.php b/src/Extension/Console/RefreshCommand.php
index <HASH>..<HASH> 100644
--- a/src/Extension/Console/RefreshCommand.php
+++ b/src/Extension/Console/RefreshCommand.php
@@ -1,7 +1,11 @@
<?php namespace Orchestra\Extension\Console;
+use Illuminate\Console\ConfirmableT... | Add confirmation to `php artisan extension:refresh` command. | orchestral_extension | train | php |
4cdf225c9b570199942b38c82397670be237829f | diff --git a/export.go b/export.go
index <HASH>..<HASH> 100644
--- a/export.go
+++ b/export.go
@@ -8,6 +8,7 @@ package context
// #cgo CFLAGS: -O2 -fPIC
// #cgo CPPFLAGS: -w
// #cgo CXXFLAGS: -g -std=c++0x -pedantic -Wno-c++11-extensions -O2 -fPIC
+// #cgo darwin linux LDFLAGS: -ldl
// #cgo LDFLAGS: -lstdc++ -lm
/... | arch specific ldflags | wellington_go-libsass | train | go |
fb84b9057f6e3907ef2995c650b5cc08112f2359 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,8 @@ setup(
author_email='batiste.bieler@gmail.com',
url='http://packages.python.org/django-page-cms/',
license='BSD',
- long_description=read('README.rst'),
+ long_description='This Django CMS e... | Remove the read() call in setup.py.
The setup.py file may not be located in the same place as the source when it
is run, depending on how it is being installed. Requiring the file to exists
breaks these cases. | batiste_django-page-cms | train | py |
1014f4ba96d338efcc8700001ce5b749a390869b | diff --git a/packer.go b/packer.go
index <HASH>..<HASH> 100644
--- a/packer.go
+++ b/packer.go
@@ -27,6 +27,8 @@ func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
}
+ log.Printf("Packer Version: %s %s", packer.Version, packer.VersionPrerelease)
+
config, err := loadConfig()
if err != nil {
fmt.Fprintf(os... | packer: print packers version to the log during startup | hashicorp_packer | train | go |
f585557ff5f99019c7908bad01266620b2c3c797 | diff --git a/src/js/common/renderer.js b/src/js/common/renderer.js
index <HASH>..<HASH> 100644
--- a/src/js/common/renderer.js
+++ b/src/js/common/renderer.js
@@ -87,7 +87,7 @@ var Handlebars = Handlebars || {};
return compiledTemplate(combinedContext);
}
else {
- fluid.fail("R... | NOJIRA: Fixed space within quoted template key. | GPII_gpii-handlebars | train | js |
5c644552b2be90ab8a06a517adc0f3b82ce55223 | diff --git a/src/Composer/Util/ErrorHandler.php b/src/Composer/Util/ErrorHandler.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Util/ErrorHandler.php
+++ b/src/Composer/Util/ErrorHandler.php
@@ -37,6 +37,11 @@ class ErrorHandler
return;
}
+ if (ini_get('xdebug.scream')) {
+ ... | Warn users about having scream enabled, fixes #<I> | mothership-ec_composer | train | php |
9aeec71d12dd6db9586097ffc11f94d30d6120cb | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -40,6 +40,18 @@ module.exports = {
}
},
+ treeForAddon() {
+ if (!this.hasPublicInElement()) {
+ return this._super.treeForAddon.apply(this, arguments);
+ }
+ },
+
+ treeForApp() {
+ if (!this.hasPub... | Hide runtime helper if in-element is already available | kaliber5_ember-in-element-polyfill | train | js |
0cdf492d5aa659d1552739a9c0ad43c09b6bea24 | diff --git a/test/sass/script_test.rb b/test/sass/script_test.rb
index <HASH>..<HASH> 100644
--- a/test/sass/script_test.rb
+++ b/test/sass/script_test.rb
@@ -111,6 +111,9 @@ WARN
def test_booleans
assert_equal "true", resolve("true")
assert_equal "false", resolve("false")
+ end
+
+ def test_boolean_ops
... | [Sass] Move some stuff from test_booleans to test_boolean_ops. | sass_ruby-sass | train | rb |
00689d2ce6d3dbf944925c8d19798f242444094a | diff --git a/vendor/github.com/google/cadvisor/info/v2/conversion.go b/vendor/github.com/google/cadvisor/info/v2/conversion.go
index <HASH>..<HASH> 100644
--- a/vendor/github.com/google/cadvisor/info/v2/conversion.go
+++ b/vendor/github.com/google/cadvisor/info/v2/conversion.go
@@ -133,7 +133,7 @@ func ContainerStatsFr... | UPSTREAM: google/cadvisor: <I>: Reduce cAdvisor log spam with multiple devices | openshift_origin | train | go |
d3fba7f96f6176e69f9d940104bcb687abf00511 | diff --git a/core/helper/Database.php b/core/helper/Database.php
index <HASH>..<HASH> 100644
--- a/core/helper/Database.php
+++ b/core/helper/Database.php
@@ -253,8 +253,6 @@ class Database
/**
* Get last executed query
* @return mixed
- * @note Duplicate key errors can be hidden by this method; co... | Removed warning note (sholdn't be necessary any longer) | phpList_core | train | php |
66712c97d6f89d5ad2a511d9576d20ccbcb7d1c6 | diff --git a/src/require/javascript.js b/src/require/javascript.js
index <HASH>..<HASH> 100644
--- a/src/require/javascript.js
+++ b/src/require/javascript.js
@@ -5,6 +5,7 @@
/*#ifndef(UMD)*/
"use strict";
/*global _GPF_HOST*/ // Host types
+/*global _gpfArraySlice*/ // [].slice.call
/*global _gpfErrorDeclare*/ // ... | no-magic-numbers (#<I>) | ArnaudBuchholz_gpf-js | train | js |
cbdf6ebe755184ed0f7ea2e1b63306689cfcb0f2 | diff --git a/hypervisor/vm.go b/hypervisor/vm.go
index <HASH>..<HASH> 100644
--- a/hypervisor/vm.go
+++ b/hypervisor/vm.go
@@ -87,10 +87,8 @@ func (vm *Vm) Kill() (int, string, error) {
if Response.Code == types.E_VM_SHUTDOWN {
vm.ReleaseResponseChan(Status)
vm.ReleaseRequestChan(PodEvent)
- if vm.clients ... | fanout.Close: nil checking moved inside, no need to check outside | hyperhq_runv | train | go |
d37a5b03f1807f38cba31500dd5f8a1fbfa8cc81 | diff --git a/lib/fs/basicfs_watch_eventtypes_darwin.go b/lib/fs/basicfs_watch_eventtypes_darwin.go
index <HASH>..<HASH> 100644
--- a/lib/fs/basicfs_watch_eventtypes_darwin.go
+++ b/lib/fs/basicfs_watch_eventtypes_darwin.go
@@ -12,7 +12,8 @@ package fs
import "github.com/syncthing/notify"
const (
- subEventMask = n... | lib/fs: Handle permission change events on macos (fixes #<I>) (#<I>) | syncthing_syncthing | train | go |
8590d432b625e5b9cb0eac49fcaab6081038b924 | diff --git a/commons-ip-math/src/main/java/net/ripe/commons/ip/InternetResourceRange.java b/commons-ip-math/src/main/java/net/ripe/commons/ip/InternetResourceRange.java
index <HASH>..<HASH> 100644
--- a/commons-ip-math/src/main/java/net/ripe/commons/ip/InternetResourceRange.java
+++ b/commons-ip-math/src/main/java/net/... | Update type representation from Rangeable to SingleInternetResource. | jgonian_commons-ip-math | train | java |
e4a61e0a07817b2ba149266c428593bed4a3dc2c | diff --git a/lib/instana/frameworks/instrumentation/active_record.rb b/lib/instana/frameworks/instrumentation/active_record.rb
index <HASH>..<HASH> 100644
--- a/lib/instana/frameworks/instrumentation/active_record.rb
+++ b/lib/instana/frameworks/instrumentation/active_record.rb
@@ -14,6 +14,8 @@ module Instana
... | Sanitize all logged SQL statements. | instana_ruby-sensor | train | rb |
02fa3ed4b258140a2dfdbe843997e71b0bae96d2 | diff --git a/src/Models/OrganizationalUnit.php b/src/Models/OrganizationalUnit.php
index <HASH>..<HASH> 100644
--- a/src/Models/OrganizationalUnit.php
+++ b/src/Models/OrganizationalUnit.php
@@ -4,5 +4,13 @@ namespace Adldap\Models;
class OrganizationalUnit extends AbstractModel
{
- //
+ /**
+ * Retrieves... | Added getOu method to OU model | Adldap2_Adldap2 | train | php |
d00b5228de291bada129c005add65226238da7d3 | diff --git a/engines/development.js b/engines/development.js
index <HASH>..<HASH> 100644
--- a/engines/development.js
+++ b/engines/development.js
@@ -2,8 +2,7 @@ var fs = require('fs'),
sys = require('sys'),
path = require('path'),
Buffer = require('buffer').Buffer,
- util = require('./util'),
- create = util.cr... | Don't alias util.create, which is only used once in this file | marcuswestin_fin | train | js |
e316258f6de796341e89f51a51986953982690c4 | diff --git a/jsonresults.go b/jsonresults.go
index <HASH>..<HASH> 100644
--- a/jsonresults.go
+++ b/jsonresults.go
@@ -361,7 +361,7 @@ type ListReceivedByAddressResult struct {
Address string `json:"address"`
Amount float64 `json:"amount"`
Confirmations uint64 `json:"confirmations"`
... | Update ListReceivedByAddressResult txids field.
The name of the field in the returned JSON is txids, not tx. | btcsuite_btcd | train | go |
925e45d1f904512b26142468f286278826d46c6d | diff --git a/polyaxon/api/projects/views.py b/polyaxon/api/projects/views.py
index <HASH>..<HASH> 100644
--- a/polyaxon/api/projects/views.py
+++ b/polyaxon/api/projects/views.py
@@ -59,7 +59,6 @@ class ProjectListView(BookmarkedListMixinView, AdminResourceEndpoint, ListEndpoi
queryset = queries.projects.order_by(... | Fix pagination for project and projects' names apis | polyaxon_polyaxon | train | py |
2b9dcc800bc8220fe38aca5fcdcdea61c9b4c0ec | diff --git a/orb/contexts.py b/orb/contexts.py
index <HASH>..<HASH> 100644
--- a/orb/contexts.py
+++ b/orb/contexts.py
@@ -9,6 +9,10 @@ class SingleTransaction(object):
def __init__(self, *databases):
self._databases = databases or orb.system.databases()
+ def __enter__(self):
+ # nothing need... | needing an __enter__ method | orb-framework_orb | train | py |
b65bfae2e3b9d63157e447acaac93227f577b5fd | diff --git a/src/java/com/threerings/crowd/chat/server/SpeakUtil.java b/src/java/com/threerings/crowd/chat/server/SpeakUtil.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/crowd/chat/server/SpeakUtil.java
+++ b/src/java/com/threerings/crowd/chat/server/SpeakUtil.java
@@ -65,7 +65,6 @@ public class SpeakU... | recordToChatHistory(UserMessage, Name...) went away.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
fa710dd7fe137f5faf09118f6770874c0fd4ee47 | diff --git a/samples/PhotoAlbum/main.php b/samples/PhotoAlbum/main.php
index <HASH>..<HASH> 100644
--- a/samples/PhotoAlbum/main.php
+++ b/samples/PhotoAlbum/main.php
@@ -3,7 +3,6 @@ namespace PhotoAlbum {
require 'lib/rb.php';
require '../../src/Cloudinary.php';
require '../../src/Uploader.php';
- require '.... | Fix samples not to explicitly include Helpers | cloudinary_cloudinary_php | train | php,php |
0772285ebfba73a536c3e3b7ce8a3124f7b375d7 | diff --git a/tests/TestCase/Utility/TimeTest.php b/tests/TestCase/Utility/TimeTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Utility/TimeTest.php
+++ b/tests/TestCase/Utility/TimeTest.php
@@ -460,22 +460,6 @@ class TimeTest extends TestCase {
}
/**
- * testIsTomorrow method
- *
- * @return void
- */
- p... | Deleting another test for removed code | cakephp_cakephp | train | php |
d1a68498272f2602f9d388b610d5bb4e20625758 | diff --git a/data/src/main/java/org/xillium/data/persistence/crud/CrudCommand.java b/data/src/main/java/org/xillium/data/persistence/crud/CrudCommand.java
index <HASH>..<HASH> 100644
--- a/data/src/main/java/org/xillium/data/persistence/crud/CrudCommand.java
+++ b/data/src/main/java/org/xillium/data/persistence/crud/Cr... | reject RETRIEVE on tables w/o a primary key (like a view) | brianwhu_xillium | train | java |
3cd296aa8f2cfb594637e5c28ac61e4540d9ade9 | diff --git a/src/main/java/org/fluttercode/datafactory/impl/DataFactory.java b/src/main/java/org/fluttercode/datafactory/impl/DataFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/fluttercode/datafactory/impl/DataFactory.java
+++ b/src/main/java/org/fluttercode/datafactory/impl/DataFactory.java
@@ -44,7 ... | Added method to reset the random data generator and we default to a random seed initially | andygibson_datafactory | train | java |
9165a6c958e8c21d3c1c0420a6dffde60d4665e1 | diff --git a/src/components/value_linked_select.js b/src/components/value_linked_select.js
index <HASH>..<HASH> 100644
--- a/src/components/value_linked_select.js
+++ b/src/components/value_linked_select.js
@@ -78,6 +78,7 @@ export default class ValueLinkedSelect extends React.Component {
}
else
{
+ ... | Add Return Null For Option Tags
Because HTML will not add null as a value, a blank string is used in
stead which will then return a null value if the value is blank. | frig-js_frig | train | js |
f4ee8520fdd8275802a592164e57e27db7941d90 | diff --git a/iserve-discovery-engine/src/main/java/uk/ac/open/kmi/iserve/discovery/engine/DiscoveryResource.java b/iserve-discovery-engine/src/main/java/uk/ac/open/kmi/iserve/discovery/engine/DiscoveryResource.java
index <HASH>..<HASH> 100644
--- a/iserve-discovery-engine/src/main/java/uk/ac/open/kmi/iserve/discovery/e... | Update scoring mechanism as a temporary measure | kmi_iserve | train | java |
e5e2e94d65aee145e2f27b2529073a25f3b524e9 | diff --git a/ecms_dashboard/modules.py b/ecms_dashboard/modules.py
index <HASH>..<HASH> 100644
--- a/ecms_dashboard/modules.py
+++ b/ecms_dashboard/modules.py
@@ -83,9 +83,6 @@ class AppIconList(modules.AppList):
# Automatically add STATIC_URL before relative icon paths.
model['icon'] ... | ecms_dashboard: move CMS biased sorting to the right module.
Some bias was left in AppIconList, which should be in CmsAppIconList. | django-fluent_django-fluent-dashboard | train | py |
a1d615841f0faeb1acf1d71f17e39380ca68ca6d | diff --git a/src/Middleware/OAuthAuthenticate.php b/src/Middleware/OAuthAuthenticate.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/OAuthAuthenticate.php
+++ b/src/Middleware/OAuthAuthenticate.php
@@ -33,4 +33,4 @@ class OAuthAuthenticate
return $next($request);
}
-}
\ No newline at end of file
+} | :heart: OAuth middleware ready. | overtrue_laravel-wechat | train | php |
304af1e889db0c20ece426c706c4f40a5e6932ce | diff --git a/lib/punchblock/translator/freeswitch.rb b/lib/punchblock/translator/freeswitch.rb
index <HASH>..<HASH> 100644
--- a/lib/punchblock/translator/freeswitch.rb
+++ b/lib/punchblock/translator/freeswitch.rb
@@ -55,6 +55,10 @@ module Punchblock
throw :halt
end
+ register_handler :es,... | [BUGFIX] Null-handle RubyFS disconnected events | adhearsion_punchblock | train | rb,rb |
098c2b46e19968d000357ee46f0bdf8ce9e6e36d | diff --git a/php/Exchange.php b/php/Exchange.php
index <HASH>..<HASH> 100644
--- a/php/Exchange.php
+++ b/php/Exchange.php
@@ -751,9 +751,8 @@ abstract class Exchange {
curl_setopt ($this->curl, CURLOPT_URL, $url);
if ($this->timeout) {
- $seconds = intval ($this->timeout / 1000);
- ... | curl timeouts in ms | ccxt_ccxt | train | php |
787a3da8eb436fb8e2bd022319112325222711e2 | diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/... | SONAR-<I> Fixed uncaught error when no source is available | SonarSource_sonarqube | train | rb |
26b9182da426bb8d8da2741fc619b4c5174c578e | diff --git a/lang/summernote-fr-FR.js b/lang/summernote-fr-FR.js
index <HASH>..<HASH> 100644
--- a/lang/summernote-fr-FR.js
+++ b/lang/summernote-fr-FR.js
@@ -50,6 +50,7 @@
textToDisplay: 'Texte à afficher',
url: 'URL du lien',
openInNewWindow: 'Ouvrir dans une nouvelle fenêtre',
+ use... | add missing french translation for link.useProtocol | summernote_summernote | train | js |
ef1cd6f4f614c9c74fcaf91526036c02f6f4d903 | diff --git a/commerce-frontend-taglib/src/main/resources/META-INF/resources/search_bar/SearchBar.es.js b/commerce-frontend-taglib/src/main/resources/META-INF/resources/search_bar/SearchBar.es.js
index <HASH>..<HASH> 100644
--- a/commerce-frontend-taglib/src/main/resources/META-INF/resources/search_bar/SearchBar.es.js
+... | COMMERCE-<I> Fix open search when an input is focused | liferay_com-liferay-commerce | train | js |
2bbb7d1ccd0a0538f166b776a512d2a86e1f9be9 | diff --git a/passbook/test/test_passbook.py b/passbook/test/test_passbook.py
index <HASH>..<HASH> 100644
--- a/passbook/test/test_passbook.py
+++ b/passbook/test/test_passbook.py
@@ -19,7 +19,7 @@ password_file = cwd / 'certificates' / 'password.txt'
def create_shell_pass(barcodeFormat=BarcodeFormat.CODE128):
c... | Test non-ASCII characters. | devartis_passbook | train | py |
171fc6e0987b744e35f327c6a8490b37846ce5b6 | diff --git a/example.php b/example.php
index <HASH>..<HASH> 100644
--- a/example.php
+++ b/example.php
@@ -20,4 +20,6 @@ $root->appendChild(Node::create()->setNodeName('anotherOne'));
$renderer = new Renderer();
$renderer->setRoot($root);
+
+header("Content-type: application/xml; charset=UTF8");
echo $renderer->ge... | Content-type header to have XML formating in browser | maniaplanet_manialib-xml | train | php |
3ef9e110379427e9bf48136c667a8fa81bab7bd5 | diff --git a/system/modules/DocumentManagementSystem/config/initialize.php b/system/modules/DocumentManagementSystem/config/initialize.php
index <HASH>..<HASH> 100644
--- a/system/modules/DocumentManagementSystem/config/initialize.php
+++ b/system/modules/DocumentManagementSystem/config/initialize.php
@@ -71,7 +71,7 @@... | Replace static directory structure with dynamic created. (#<I>) | ContaoDMS_dms | train | php |
88ad7e614d82b013c9c072a28733d2aa364cd833 | diff --git a/openquake/calculators/disaggregation.py b/openquake/calculators/disaggregation.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/disaggregation.py
+++ b/openquake/calculators/disaggregation.py
@@ -321,7 +321,7 @@ producing too small PoEs.'''
"""
N = len(self.sitecol)
R =... | Small fix [skip CI] | gem_oq-engine | train | py |
a94f5c622b17d177effc7070382502b3ed46fcc5 | diff --git a/tests/src/Helper/User.php b/tests/src/Helper/User.php
index <HASH>..<HASH> 100644
--- a/tests/src/Helper/User.php
+++ b/tests/src/Helper/User.php
@@ -50,7 +50,8 @@ class User extends ClassStructure
$defaultOptions = new UserOptions();
$defaultOptions->autoLogin = true;
$defaultOp... | applying default values, refactoring schema process, optimizing few places | swaggest_php-json-schema | train | php |
99d6ff80b6f9408a1db454693611a9b07e57af05 | diff --git a/src/viewer.js b/src/viewer.js
index <HASH>..<HASH> 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -518,6 +518,7 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
$.addClass( this.toolbar.element, 'fullpage' );
}
+ $... | Add fullpage class to viewer element when in fullpage mode
Closes #<I>. | openseadragon_openseadragon | train | js |
4602848f7fc54ff3d6ed214e6d10bc3384fc9b1b | diff --git a/loaders/postgres.go b/loaders/postgres.go
index <HASH>..<HASH> 100644
--- a/loaders/postgres.go
+++ b/loaders/postgres.go
@@ -258,7 +258,7 @@ func PgQueryColumns(args *internal.ArgType, inspect []string) ([]*models.Column,
return models.PgTableColumns(args.DB, schema, xoid, false)
}
-// PgIndexColumnL... | Fixing minor issue with a comment in loaders/postgres.go | xo_xo | train | go |
083fc74dac7c19a07842f23066467a9b8285f186 | diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/test_virtualenv.py
+++ b/setuptools/tests/test_virtualenv.py
@@ -45,7 +45,8 @@ def test_clean_env_install(bare_virtualenv, tmp_src):
"""
Check setuptools can be installed i... | Fix usage of virtualenv to ensure that tests are run in the bare virtualenv. Ref #<I>. | pypa_setuptools | train | py |
c8fb1d8af808ecefffc48abd90debc39ec200b65 | diff --git a/bin/eslint-ignore-errors.js b/bin/eslint-ignore-errors.js
index <HASH>..<HASH> 100755
--- a/bin/eslint-ignore-errors.js
+++ b/bin/eslint-ignore-errors.js
@@ -38,7 +38,9 @@ execFile('eslint', ['--format', 'json', process.argv[2]], (error, stdout) => {
addedLines += 1
})
- fs.writeFileSync(f... | Write file only if error messages were returned | github_eslint-plugin-github | train | js |
499932b126d98be08e56cfeb1f10768e35143853 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -2,4 +2,5 @@ module.exports = bundler => {
// process handlebars files by .hbs and .handlebars extensions
bundler.addAssetType('hbs', require.resolve('./lib/HbsAsset'));
bundler.addAssetType('handlebars', require.reso... | Plugin will now process .html files as handlebars | robbiedigital_parcel-plugin-handlebars | train | js |
581f66e8ec96b0a551df0d431c85d23d934e7d36 | diff --git a/lewis/core/statemachine.py b/lewis/core/statemachine.py
index <HASH>..<HASH> 100644
--- a/lewis/core/statemachine.py
+++ b/lewis/core/statemachine.py
@@ -26,7 +26,6 @@ to be used directly in client code for device simulations - these should be base
"""
from six import iteritems
-from inspect import get... | getcallargs and Mock don't get along, sadly | DMSC-Instrument-Data_lewis | train | py |
f8a485fe3e55888f1ecd885525c253e06d208d72 | diff --git a/python_modules/dagster/dagster_tests/general_tests/grpc_tests/test_persistent.py b/python_modules/dagster/dagster_tests/general_tests/grpc_tests/test_persistent.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster_tests/general_tests/grpc_tests/test_persistent.py
+++ b/python_modules/dagster... | [easy] skip flaky test on py<I> (#<I>)
Summary:
Inexplicable segfaults pop up on this test from time to time, seems to be pretty core to how python handles (or doesn't handle) module load issues: <URL> | dagster-io_dagster | train | py |
a25bff3379a69e250b938f4f770ef24d5204ea33 | diff --git a/src/Linfo/Extension/Transmission.php b/src/Linfo/Extension/Transmission.php
index <HASH>..<HASH> 100644
--- a/src/Linfo/Extension/Transmission.php
+++ b/src/Linfo/Extension/Transmission.php
@@ -22,6 +22,10 @@ Installation:
// running as
$settings['transmission_folder'] = '/home/user/.config/transmi... | allow specifying path to transmission-remote in transmission extension | jrgp_linfo | train | php |
d8b282d1c8788bb8970d8bddc989cc63f7e4f381 | diff --git a/ga4gh/datamodel/references.py b/ga4gh/datamodel/references.py
index <HASH>..<HASH> 100644
--- a/ga4gh/datamodel/references.py
+++ b/ga4gh/datamodel/references.py
@@ -384,7 +384,7 @@ class HtslibReferenceSet(datamodel.PysamDatamodelMixin, AbstractReferenceSet):
def _addDataFile(self, path):
... | Fixed reference name parsing bug: references with dots in their name were crashing the server. | ga4gh_ga4gh-server | train | py |
7b8e241ece2e7032964b453a194c5d1cc8dde234 | diff --git a/pysat/tests/travisci_test_class.py b/pysat/tests/travisci_test_class.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/travisci_test_class.py
+++ b/pysat/tests/travisci_test_class.py
@@ -52,6 +52,7 @@ class TravisCICleanSetup():
# Restore pysat and directory paths
reload(pysat)
+... | TST: Added restore_defaults call to help ensure complete teardown | rstoneback_pysat | 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.