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 |
|---|---|---|---|---|---|
89e20c74d58ca5788b13ad2432ab9ccec6bef4eb | diff --git a/course/tests/courselib_test.php b/course/tests/courselib_test.php
index <HASH>..<HASH> 100644
--- a/course/tests/courselib_test.php
+++ b/course/tests/courselib_test.php
@@ -3582,7 +3582,8 @@ class core_course_courselib_testcase extends advanced_testcase {
$count = 0;
while (!empty($event... | MDL-<I> core_course: Fixed event type checks in adhoc deletion tests | moodle_moodle | train | php |
4ef9e7ec70cf76385071d8896635398c68aa4433 | diff --git a/Tests/Controller/PreviewControllerTest.php b/Tests/Controller/PreviewControllerTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Controller/PreviewControllerTest.php
+++ b/Tests/Controller/PreviewControllerTest.php
@@ -37,6 +37,7 @@ class PreviewControllerTest extends BasePreviewControllerTest
... | Fix EZP-<I>: provide a default (null) locationId for the internal _ezpublishLocation route | ezsystems_LegacyBridge | train | php |
41f971dde0bdb57acf922ffe56ac126e73ce62cb | diff --git a/Swat/exceptions/SwatException.php b/Swat/exceptions/SwatException.php
index <HASH>..<HASH> 100644
--- a/Swat/exceptions/SwatException.php
+++ b/Swat/exceptions/SwatException.php
@@ -268,7 +268,7 @@ class SwatException extends Exception
protected function displayStyleSheet()
{
echo '<style>';
- echo... | Some brute-force styles to make sure SwatExceptions are readable even when mixed in with partial other HTML/styles
svn commit r<I> | silverorange_swat | train | php |
22f6c24f9ba0ee111b3597c75fb0a5e8ad4b0cf5 | diff --git a/guacamole-common-js/src/main/resources/guacamole.js b/guacamole-common-js/src/main/resources/guacamole.js
index <HASH>..<HASH> 100644
--- a/guacamole-common-js/src/main/resources/guacamole.js
+++ b/guacamole-common-js/src/main/resources/guacamole.js
@@ -302,7 +302,7 @@ function GuacamoleClient(display, tun... | Fixed error in call to redrawCursor() and layer | glyptodon_guacamole-client | train | js,js |
e8952c8f200efaab47df12b4ef71aad7970cb002 | diff --git a/lib/main.js b/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -486,14 +486,16 @@ function ConfigureMathJax() {
//
// Set up None output jax (for when only MathML output is needed)
//
- MathJax.OutputJax.None = MathJax.OutputJax({
- id: "None"... | Define the None output jax after the other jax are loaded (so SVG will be loaded initially, so its configuration can be set by hand). Resolves issue #<I>. | mathjax_MathJax-node | train | js |
7b157f140987162f74f8cfa794b4f66eb4038db7 | diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionview/lib/action_view/helpers/form_tag_helper.rb
@@ -166,6 +166,8 @@ module ActionView
# * ... | Add doc about I<I>n support for :placeholder option [ci skip]
The :placeholder option accepts true, so it should be mentioned in the documentation.
Ref: <URL> | rails_rails | train | rb |
f267afb76e1a8c7ac00846242143a6da9665827a | diff --git a/aiobotocore/waiter.py b/aiobotocore/waiter.py
index <HASH>..<HASH> 100644
--- a/aiobotocore/waiter.py
+++ b/aiobotocore/waiter.py
@@ -1,13 +1,25 @@
import asyncio
# WaiterModel is required for client.py import
+from botocore.exceptions import ClientError
from botocore.waiter import WaiterModel # noqa... | Fixed NormalizedOperationMethod | aio-libs_aiobotocore | train | py |
336548d710c968f045c5591a9c1c5a967ebc195c | diff --git a/flask_assistant/core.py b/flask_assistant/core.py
index <HASH>..<HASH> 100644
--- a/flask_assistant/core.py
+++ b/flask_assistant/core.py
@@ -102,9 +102,13 @@ class Assistant(object):
if app is not None:
self.init_app(app)
+
elif blueprint is not None:
self.ini... | only get aog client id from app config if app is set | treethought_flask-assistant | train | py |
42f43f93d87f39eda34e6ed80990a9d07d93a8b1 | diff --git a/functional2/rs_mocks/all_servers_close_tests.js b/functional2/rs_mocks/all_servers_close_tests.js
index <HASH>..<HASH> 100644
--- a/functional2/rs_mocks/all_servers_close_tests.js
+++ b/functional2/rs_mocks/all_servers_close_tests.js
@@ -144,7 +144,7 @@ exports['Successful reconnect when driver looses touc... | fixes to ensure only replicaset itself handles monitoring and to quickly fail monitoring thread when no connection available | mongodb_node-mongodb-native | train | js |
4bf102970cc78ca9dd93721e2ae6e850730c275e | diff --git a/shutit_srv.py b/shutit_srv.py
index <HASH>..<HASH> 100644
--- a/shutit_srv.py
+++ b/shutit_srv.py
@@ -72,10 +72,6 @@ def update_modules(to_build, cfg):
shutit.cfg[module_id]['build'] = ORIG_MOD_CFG[module_id]['build']
if module_id in selected:
shutit.cfg[module_id]['build... | bug fixed with gui and implicit builds with configs | ianmiell_shutit | train | py |
dfc82c538b5cdd82ede73df6c2e3c8c59869e568 | diff --git a/web/concrete/core/libraries/database_item_list.php b/web/concrete/core/libraries/database_item_list.php
index <HASH>..<HASH> 100644
--- a/web/concrete/core/libraries/database_item_list.php
+++ b/web/concrete/core/libraries/database_item_list.php
@@ -169,7 +169,7 @@ class Concrete5_Library_DatabaseItemList ... | adds a default value to sortBy() as defined in the base ItemList class
Former-commit-id: <I>f<I>f<I>cdeb<I>ce<I>b1de<I>ec<I>ef | concrete5_concrete5 | train | php |
b0557f5a5a172243268442ccf2db7575e4fcaf89 | diff --git a/repairbox/coverage.py b/repairbox/coverage.py
index <HASH>..<HASH> 100644
--- a/repairbox/coverage.py
+++ b/repairbox/coverage.py
@@ -90,13 +90,13 @@ class CoverageReport(object):
return list(self.__files.keys())
- def file(self, name: str) -> FileCoverageReport:
+ def file(self, filenam... | tweaked variable naming in CoverageReport | squaresLab_BugZoo | train | py |
bd63ba6ec8a606de59b7f30efd134f912c539bca | diff --git a/cmd/juju/gui/upgradegui_test.go b/cmd/juju/gui/upgradegui_test.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/gui/upgradegui_test.go
+++ b/cmd/juju/gui/upgradegui_test.go
@@ -328,7 +328,7 @@ func (s *upgradeGUISuite) TestUpgradeGUIIntegration(c *gc.C) {
// Check that the uploaded version has been set as t... | Fix leftover in upgrade-gui tests. | juju_juju | train | go |
559bf9a3802860f4e6d82df5a66169176365d5af | diff --git a/grunt.js b/grunt.js
index <HASH>..<HASH> 100644
--- a/grunt.js
+++ b/grunt.js
@@ -34,6 +34,16 @@ module.exports = function(grunt) {
, dest: 'dist/<%= pkg.name %>.min.js'
}
}
+ , compress : {
+ gzip : {
+ options : {
+ mode : 'gzip'
+ ... | the compress task in grunt-contrib is pretty cool so i am going to include it. | geowa4_pajamas | train | js |
32218ccfc3a8775b8cb157cd9d75d9b8beefd83e | diff --git a/utils/log-to-scs.py b/utils/log-to-scs.py
index <HASH>..<HASH> 100644
--- a/utils/log-to-scs.py
+++ b/utils/log-to-scs.py
@@ -58,7 +58,7 @@ def _parse_stream_bytes(b):
if not b.strip():
return
try:
- tree = etree.fromstring(b"<root>"+b+b"</root>")
+ tree = etree.fromstring(... | Make log-to-scs usable for ejabberd | horazont_aioxmpp | train | py |
ac107f8402bff597d20243540d67262f02f77ab0 | diff --git a/hdf5storage/utilities.py b/hdf5storage/utilities.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/utilities.py
+++ b/hdf5storage/utilities.py
@@ -664,7 +664,7 @@ def convert_to_numpy_str(data, length=None):
# needs to be have the dtype essentially changed by having its
# bytes read into n... | Removed unneeded copy via tostring in utilities.convert_to_numpy_str. | frejanordsiek_hdf5storage | train | py |
5ab3164121e3f76c5476d6e21451d305d2c1958f | diff --git a/src/Console/Arguments.php b/src/Console/Arguments.php
index <HASH>..<HASH> 100644
--- a/src/Console/Arguments.php
+++ b/src/Console/Arguments.php
@@ -117,7 +117,7 @@ class Arguments
public function getArgument($name)
{
$offset = array_search($name, $this->argNames, true);
- if ($o... | Fix notice error on missing argument
If an argument was defined by had no value a notice error would be
emitted. | cakephp_cakephp | train | php,php |
8840bbfa163e26eb4c2fc308a9e1e8e71d954727 | diff --git a/statsd_metrics/metrics.py b/statsd_metrics/metrics.py
index <HASH>..<HASH> 100644
--- a/statsd_metrics/metrics.py
+++ b/statsd_metrics/metrics.py
@@ -8,7 +8,7 @@ from types import StringTypes, IntType, FloatType
class AbstractMetric(object):
def __init__(self, name):
- self._set_name(name)
+... | Remove extra method to set metrics names in abstract metric
Using the property in the constructor is enough, no need for an extra
method. | farzadghanei_statsd-metrics | train | py |
f946333420bc95caa1f38e16f34c46e2ba2f57e0 | diff --git a/lib/jets/aws_services/s3_bucket.rb b/lib/jets/aws_services/s3_bucket.rb
index <HASH>..<HASH> 100644
--- a/lib/jets/aws_services/s3_bucket.rb
+++ b/lib/jets/aws_services/s3_bucket.rb
@@ -12,6 +12,10 @@ module Jets::AwsServices
def ensure_exists
s3.create_bucket(bucket: @name) unless exists?
+ ... | user friendly error message when s3 bucket name has already been taken | tongueroo_jets | train | rb |
a2267cbf359b96ff81da6c36f9d5ddf53aeba163 | diff --git a/code/extensions/QuickFeedbackExtension.php b/code/extensions/QuickFeedbackExtension.php
index <HASH>..<HASH> 100644
--- a/code/extensions/QuickFeedbackExtension.php
+++ b/code/extensions/QuickFeedbackExtension.php
@@ -32,7 +32,7 @@ class QuickFeedbackExtension extends DataExtension {
'1' => _t('QuickF... | added updated comment text to sound nicer | mandrew_silverstripe-quickfeedback | train | php |
f90b55a9d2fbc7f69369d7a457ea512caf4c878e | diff --git a/sportsreference/mlb/constants.py b/sportsreference/mlb/constants.py
index <HASH>..<HASH> 100644
--- a/sportsreference/mlb/constants.py
+++ b/sportsreference/mlb/constants.py
@@ -479,6 +479,7 @@ NATIONALITY = {
'ni': 'Nicaragua',
'no': 'Norway',
'pa': 'Panama',
+ 'pe': 'Peru',
'ph': '... | Add support for Peru in MLB
Jesus Luzardo becomes the first MLB player from Peru. As a result,
support should be added for Peru in the list of nationalities. | roclark_sportsreference | train | py |
709220c29b82e5a8751ce2cb7c1dd3e296e5463d | diff --git a/albumentations/augmentations/functional.py b/albumentations/augmentations/functional.py
index <HASH>..<HASH> 100644
--- a/albumentations/augmentations/functional.py
+++ b/albumentations/augmentations/functional.py
@@ -57,21 +57,20 @@ def shift_scale_rotate(img, angle, scale, dx, dy, interpolation=cv2.INTER... | Raise an exception if crop size for center_crop is larger than the image size | albu_albumentations | train | py |
d04876da662e0382ff28714d2bdee5de8bcd6dec | diff --git a/universe/envs/vnc_env.py b/universe/envs/vnc_env.py
index <HASH>..<HASH> 100644
--- a/universe/envs/vnc_env.py
+++ b/universe/envs/vnc_env.py
@@ -332,6 +332,8 @@ class VNCEnv(vectorized.Env):
if self.rewarder_session:
self.rewarder_session.reset()
+ else:
+ logger.... | Log information about silent failures to reset | openai_universe | train | py,py |
8d256390a1215540bcba0186796e15265168a62d | diff --git a/thefuck/shells.py b/thefuck/shells.py
index <HASH>..<HASH> 100644
--- a/thefuck/shells.py
+++ b/thefuck/shells.py
@@ -136,7 +136,7 @@ def _get_shell():
shell = Process(os.getpid()).parent().cmdline()[0]
except TypeError:
shell = Process(os.getpid()).parent.cmdline[0]
- return shel... | refact(shells): use os.path.basename to get the name of the shell | nvbn_thefuck | train | py |
04c139b7e46ea00621a871260760f8571b98d020 | diff --git a/test/2-objects.js b/test/2-objects.js
index <HASH>..<HASH> 100644
--- a/test/2-objects.js
+++ b/test/2-objects.js
@@ -117,17 +117,33 @@ describe("Lists", function(){
]`);
});
- it("Shows custom properties in data buffers", () => {
- binary.customValue = "Something important";
- expect(binary).to.... | Add specs to list named properties in arrays | Alhadis_Print | train | js |
d77d6e4b99a0d8b6be6f70c623c86ba777110cbd | diff --git a/lib/version.go b/lib/version.go
index <HASH>..<HASH> 100644
--- a/lib/version.go
+++ b/lib/version.go
@@ -16,5 +16,5 @@ package docker2aci
import "github.com/appc/spec/schema"
-var Version = "0.12.0+git"
+var Version = "0.12.1"
var AppcVersion = schema.AppContainerVersion | version: bump to <I> | appc_docker2aci | train | go |
c18ba6977c39bef5db5347e5bb0bbab24e6ff713 | diff --git a/flink-tests/src/test/java/org/apache/flink/test/checkpointing/UnalignedCheckpointITCase.java b/flink-tests/src/test/java/org/apache/flink/test/checkpointing/UnalignedCheckpointITCase.java
index <HASH>..<HASH> 100644
--- a/flink-tests/src/test/java/org/apache/flink/test/checkpointing/UnalignedCheckpointITCa... | [FLINK-<I>][tests] Increased timeouts of UnalignedCheckpointITCase. | apache_flink | train | java |
6161a64cc22c25df7846ea679af6380e7e5de7ce | diff --git a/salt/modules/img.py b/salt/modules/img.py
index <HASH>..<HASH> 100644
--- a/salt/modules/img.py
+++ b/salt/modules/img.py
@@ -58,6 +58,8 @@ def seed(location, id_='', config=None):
if config is None:
config = {}
mpt = mount_image(location)
+ if not mpt:
+ return False
mpt_... | img.seed: check result from mount_image | saltstack_salt | train | py |
b6689c115bc1aaa5f56482bf592201fc963b8c37 | diff --git a/lib/drink-socially/api.rb b/lib/drink-socially/api.rb
index <HASH>..<HASH> 100644
--- a/lib/drink-socially/api.rb
+++ b/lib/drink-socially/api.rb
@@ -105,7 +105,7 @@ module NRB
def get_config(endpoint)
- config = @endpoints[endpoint]
+ config = @credential.merge(@endpoints[endpoint... | missed credentials merge
(should write a test for that) | DeanBeer_drink-socially | train | rb |
5a9dbf502b1d838ac7114444215adeea9ce7b6d0 | diff --git a/Facades/Queue.php b/Facades/Queue.php
index <HASH>..<HASH> 100755
--- a/Facades/Queue.php
+++ b/Facades/Queue.php
@@ -16,10 +16,10 @@ use Illuminate\Support\Testing\Fakes\QueueFake;
* @method static string getConnectionName()
* @method static \Illuminate\Contracts\Queue\Queue setConnectionName(string $... | Fix QueueFake docblocks on Queue facade (#<I>)
The `@method` docblocks on the Queue facade introduced in #<I> are a bit different than the method signatures on the QueueFake. | illuminate_support | train | php |
b054b264c99b6ce6bd0c46843f4d2530af14aac8 | diff --git a/activity_stream/views.py b/activity_stream/views.py
index <HASH>..<HASH> 100644
--- a/activity_stream/views.py
+++ b/activity_stream/views.py
@@ -10,8 +10,6 @@ from django.contrib.auth.decorators import login_required
from django.views.generic import date_based
from django.conf import settings
from acti... | Remove unused references to blog app classes | philippWassibauer_django-activity-stream | train | py |
d9363d551fd23b41bd2774fd9f3b7b79cebea461 | diff --git a/src/main/java/com/github/mlk/junit/rules/LocalDynamoDbRule.java b/src/main/java/com/github/mlk/junit/rules/LocalDynamoDbRule.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/mlk/junit/rules/LocalDynamoDbRule.java
+++ b/src/main/java/com/github/mlk/junit/rules/LocalDynamoDbRule.java
@@ -7,6 +... | Docs: Heavily inspired by the answers here: <URL> | mlk_AssortmentOfJUnitRules | train | java |
3a1029a262a6446574e826c38690a366ab873621 | diff --git a/registry/handlers/app.go b/registry/handlers/app.go
index <HASH>..<HASH> 100644
--- a/registry/handlers/app.go
+++ b/registry/handlers/app.go
@@ -365,11 +365,25 @@ func (app *App) dispatcher(dispatch dispatchFunc) http.Handler {
// future refactoring.
w.WriteHeader(http.StatusBadRequest)
}
+ ... | Add logging for generic handler errors. | docker_distribution | train | go |
85e28d40f2e70c8f12b1d30465c835be4bede5de | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,6 @@ setup(name='servicemanager',
author='vaughansharman',
license='Apache Licence 2.0',
packages=['servicemanager', 'servicemanager.actions', 'servicemanager.server', 'servicemanager.service', 'se... | Correct pymongo version in setup | hmrc_service-manager | train | py |
2b979069e3603631640a92a37f72f8c9cc2376f9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -45,9 +45,9 @@ module.exports = function fixUrl(options) {
}
newPath = path.resolve(from, newPath)
newPath = path.relative(to, newPath)
- if (path.sep == "\\") {
- newPath = ne... | Fix code style errors from previous commit. | sebastian-software_postcss-smart-asset | train | js |
34e3db4146076c735bedd2eeb6b0f02431083307 | diff --git a/spec/notifier_spec.rb b/spec/notifier_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/notifier_spec.rb
+++ b/spec/notifier_spec.rb
@@ -94,22 +94,18 @@ describe INotify::Notifier do
@notifier.stop
dir.join("three.txt").write("hello world")
- barriers.shift.wait(1)
-
- dir.jo... | Clean up tests
This prevents a hang in the case of a regression, and reduces the test
suite running time by 1 second. | guard_rb-inotify | train | rb |
0b097b46f02bc3a2a6067d2247dd54797d4d78ce | diff --git a/charms/reactive/endpoints.py b/charms/reactive/endpoints.py
index <HASH>..<HASH> 100644
--- a/charms/reactive/endpoints.py
+++ b/charms/reactive/endpoints.py
@@ -451,8 +451,8 @@ class RelatedUnit:
"""
def __init__(self, relation, unit_name, data=None):
self._relation = relation
- ... | Fix documentation of unit_name and application_name on RelatedUnit (#<I>)
Make them properties so that they're immutable and show up in the docs. | juju-solutions_charms.reactive | train | py |
4f2e5f11e598471474954f87d5aed16af35ad7a9 | diff --git a/bdns/dns.go b/bdns/dns.go
index <HASH>..<HASH> 100644
--- a/bdns/dns.go
+++ b/bdns/dns.go
@@ -254,6 +254,10 @@ func (dnsClient *DNSClientImpl) exchangeOne(ctx context.Context, hostname string
// metrics about the percentage of responses that are secured with
// DNSSEC.
m.AuthenticatedData = true
+ //... | Accept large responses from the resolver. (#<I>)
This fixes some use cases where a domain being validated has a very
large number of CAA records. | letsencrypt_boulder | train | go |
32418e69235669518b1028610825ad624b60dbf3 | diff --git a/spec/access_lint/cli_spec.rb b/spec/access_lint/cli_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/access_lint/cli_spec.rb
+++ b/spec/access_lint/cli_spec.rb
@@ -4,7 +4,7 @@ require 'access_lint/cli'
module AccessLint
describe CLI do
it 'creates an audit' do
- expect { CLI.start }.to_not rais... | Pass correct arguments to CLI.start in spec. | AccessLint_accesslint.rb | train | rb |
320909eda7d7837bb12e6c2f2542d0fecb99ea90 | diff --git a/engine/etcdng/v3/etcd.go b/engine/etcdng/v3/etcd.go
index <HASH>..<HASH> 100644
--- a/engine/etcdng/v3/etcd.go
+++ b/engine/etcdng/v3/etcd.go
@@ -615,11 +615,18 @@ func (n *ng) Subscribe(changes chan interface{}, afterIdx uint64, cancelC chan s
for response := range watchChan {
if response.Canceled ... | SRE-<I>: Return error when watcher channel closes unexpectedly | vulcand_vulcand | train | go |
f40e46d7d35ec5559af38fb5baee24ef86b0a95c | diff --git a/src/Phinx/Db/Adapter/SQLiteAdapter.php b/src/Phinx/Db/Adapter/SQLiteAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Phinx/Db/Adapter/SQLiteAdapter.php
+++ b/src/Phinx/Db/Adapter/SQLiteAdapter.php
@@ -770,7 +770,11 @@ class SQLiteAdapter extends PdoAdapter implements AdapterInterface
$this->execu... | Fix the regex replacement to support "ON" definition to foreign key constraints using SQLite
The regex has had two modifications :
- it takes into account the fact that constraints can be define with "ON UPDATE" and "ON DELETE" columns definitions
- it also takes into account composite foreign key constraints. This me... | cakephp_phinx | train | php |
541faac70c0d3d31bca90caf7470230aa4763614 | diff --git a/src/tailwindcss-stubs/resources/js/bootstrap.js b/src/tailwindcss-stubs/resources/js/bootstrap.js
index <HASH>..<HASH> 100644
--- a/src/tailwindcss-stubs/resources/js/bootstrap.js
+++ b/src/tailwindcss-stubs/resources/js/bootstrap.js
@@ -37,5 +37,5 @@ window.axios.defaults.headers.common['X-Requested-With'... | Replace deprecated encrypted param | laravel-frontend-presets_tailwindcss | train | js |
87af96e7308c1fd4b8f7201a2c1a9edecdff01a2 | diff --git a/lib/tzinfo/local_time.rb b/lib/tzinfo/local_time.rb
index <HASH>..<HASH> 100644
--- a/lib/tzinfo/local_time.rb
+++ b/lib/tzinfo/local_time.rb
@@ -75,7 +75,7 @@ module TZInfo
def to_a
if_period(super) do |p,a|
a[8] = p.dst?
- a[9] = p.abbreviation.to_s
+ a[9] = p.abbreviat... | Remove a no longer needed to_s call on the abbreviation. | tzinfo_tzinfo | train | rb,rb |
0827146516936c67863106c7bc71b6fb2c638fb2 | diff --git a/xchange-kucoin/src/main/java/org/knowm/xchange/kucoin/KucoinAdapters.java b/xchange-kucoin/src/main/java/org/knowm/xchange/kucoin/KucoinAdapters.java
index <HASH>..<HASH> 100644
--- a/xchange-kucoin/src/main/java/org/knowm/xchange/kucoin/KucoinAdapters.java
+++ b/xchange-kucoin/src/main/java/org/knowm/xcha... | On Kucoin XChange, USDN has null values for getWithdrawalMinFee() and getWithdrawalMinSize() and it creates a NullPointerException. I added a "if" to set ZERO instead of null | knowm_XChange | train | java |
82cca97bcc612939d6d05629c20784db3b3ec6b3 | diff --git a/sox/transform.py b/sox/transform.py
index <HASH>..<HASH> 100644
--- a/sox/transform.py
+++ b/sox/transform.py
@@ -8,6 +8,7 @@ This module requires that SoX is installed.
from __future__ import print_function
import logging
import random
+import os
from .core import ENCODING_VALS
from .core import en... | import os for prof file checkf | rabitt_pysox | train | py |
0530a8062829d2cec9c3604ae97eba1525a0e437 | diff --git a/src/Client/Client.php b/src/Client/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client/Client.php
+++ b/src/Client/Client.php
@@ -13,4 +13,25 @@ class Client extends AbstractClient implements ClientInterface
const API_RESPONSE_FORMAT_JSON = 'json';
const API_RESPONSE_FORMAT_XML = 'xml';
+
+... | The class Client now manage the AuthToken parameter. | humantech_zoho-recruit-api | train | php |
b91ef970831c0ba05b0a62cb4efdcdccd807c605 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,7 +1,7 @@
var loaderUtils = require("loader-utils");
var path = require("path");
var glob = require('glob');
-var slash = require('slash')
+var slash = require('slash');
/**
* @param {string} source
@@ -44,8 +44,6 ... | Removed a stray console.log | shanhaichik_webpack-require-loader | train | js |
5a5a45a42f65147976c4c10f88563bcd2c448cfa | diff --git a/image.go b/image.go
index <HASH>..<HASH> 100644
--- a/image.go
+++ b/image.go
@@ -107,7 +107,7 @@ func canSkipMipmap(geom GeoM, filter driver.Filter) bool {
// DrawImageOptions represents options for DrawImage.
type DrawImageOptions struct {
// GeoM is a geometry matrix to draw.
- // The default (zero)... | ebiten: Correct a typo (#<I>) | hajimehoshi_ebiten | train | go |
77b29162f0b19eef3707c21095532aa4c799d6ec | diff --git a/remind.py b/remind.py
index <HASH>..<HASH> 100644
--- a/remind.py
+++ b/remind.py
@@ -255,7 +255,7 @@ class Remind(object):
"""
self._update()
- return self._vobject_etag(filename, uid)
+ return self._vobject_etag(filename, uid)[1:3]
def to_vobjects(self, filename, ... | Fix to_vobjects_etag to not return the uid | jspricke_python-remind | train | py |
8b114305351e5a2a7d6ae009487050ad7f57056f | diff --git a/lib/pghero.rb b/lib/pghero.rb
index <HASH>..<HASH> 100644
--- a/lib/pghero.rb
+++ b/lib/pghero.rb
@@ -217,14 +217,14 @@ module PgHero
end
# private
- # Rails 6.1 deprecate `spec_name` and use `name` for configurations
+ # Rails 6.1 deprecates `spec_name` for `name`
# https://github.c... | Updated comments [skip ci] | ankane_pghero | train | rb |
502f2ed1a0391dc406a33e3c713bff3d64bd81c4 | diff --git a/c7n/policy.py b/c7n/policy.py
index <HASH>..<HASH> 100644
--- a/c7n/policy.py
+++ b/c7n/policy.py
@@ -32,6 +32,7 @@ from c7n.ctx import ExecutionContext
from c7n.credentials import SessionFactory
from c7n.manager import resources
from c7n.output import DEFAULT_NAMESPACE
+from c7n.resources import load_r... | cli - add warning when policies malformed (rather than a stacktrace) #<I> (#<I>) | cloud-custodian_cloud-custodian | train | py |
f05bd7190007cc22c74b86f40089b5a300b6723a | diff --git a/bin/filter-hits-to-fasta.py b/bin/filter-hits-to-fasta.py
index <HASH>..<HASH> 100755
--- a/bin/filter-hits-to-fasta.py
+++ b/bin/filter-hits-to-fasta.py
@@ -23,11 +23,11 @@ if __name__ == '__main__':
# Args for the JSON BLAST and FASTA files.
parser.add_argument(
- 'json', metavar='BLAS... | filter-hits-to-fasta to take many json files | acorg_dark-matter | train | py |
873355aeea4459ee2c073095a4cd83100387deda | diff --git a/src/Headzoo/Core/Arrays.php b/src/Headzoo/Core/Arrays.php
index <HASH>..<HASH> 100644
--- a/src/Headzoo/Core/Arrays.php
+++ b/src/Headzoo/Core/Arrays.php
@@ -93,10 +93,9 @@ class Arrays
* ]
*
* $ret = Arrays::column($arr, "username");
- * ```
*
- * Returns:
- * `["... | Updated Arrays phpdoc | headzoo_core | train | php |
08115c0742024426cd7570742868915694eea61a | diff --git a/spec/unit/type/exec_spec.rb b/spec/unit/type/exec_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/type/exec_spec.rb
+++ b/spec/unit/type/exec_spec.rb
@@ -35,7 +35,7 @@ describe Puppet::Type.type(:exec) do
describe "when not stubbing the provider" do
before do
- @executable = Puppet.featu... | (#<I>) Remove typo from spec test
One of the stubs was accidentally stubbing for /bin/foo instead of
/bin/true.
Reviewed-by:Nick Lewis | puppetlabs_puppet | train | rb |
b6c00fb9bc9445098568392a28166be88b403b0f | diff --git a/packages/create-razzle-app/lib/index.js b/packages/create-razzle-app/lib/index.js
index <HASH>..<HASH> 100644
--- a/packages/create-razzle-app/lib/index.js
+++ b/packages/create-razzle-app/lib/index.js
@@ -21,9 +21,6 @@ const razzlePkg = `razzle${branch == 'master' ? '' : '@' + branch}`;
const officialExa... | fix(create-razzle-app): fixed a merge conflict | jaredpalmer_razzle | train | js |
231bd42b87ab30c9742f693aff9d0c6fe9b6cdb3 | diff --git a/packages/avatar/src/react/styles.js b/packages/avatar/src/react/styles.js
index <HASH>..<HASH> 100644
--- a/packages/avatar/src/react/styles.js
+++ b/packages/avatar/src/react/styles.js
@@ -63,7 +63,7 @@ const initials = ({ name }) =>
flexDirection: 'column',
justifyContent: 'center',
color:... | feat(avatar): change initials font-weight to book | pluralsight_design-system | train | js |
186f6ab549a61cc6a0c8d83a5ddd3aaef3542bad | diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole.py
+++ b/spyder/plugins/ipythonconsole.py
@@ -78,6 +78,10 @@ IPYTHON_REQVER = ">=4.0;<6.0" if PY2 else ">=4.0"
dependencies.add("IPython", _("IPython interactive python envir... | Add Matplotlib as optional dependency for the IPython Console. | spyder-ide_spyder | train | py |
85aa3e1af8e671ba42235339204ba3baf5bc76ba | diff --git a/library/Theme/Enqueue.php b/library/Theme/Enqueue.php
index <HASH>..<HASH> 100644
--- a/library/Theme/Enqueue.php
+++ b/library/Theme/Enqueue.php
@@ -96,12 +96,6 @@ class Enqueue
wp_register_script('municipio', get_template_directory_uri() . '/assets/dist/js/packaged.min.js', '', '1.0.0', true);
... | Removed loading of google translate code
This is now loaded from main file on demand. | helsingborg-stad_Municipio | train | php |
a203f410201164891eef3c7f274a1bf37f62f862 | diff --git a/library/Helper/Cache.php b/library/Helper/Cache.php
index <HASH>..<HASH> 100644
--- a/library/Helper/Cache.php
+++ b/library/Helper/Cache.php
@@ -59,7 +59,9 @@ class Cache
return false;
}
+ wp_cache_delete($post->post_type, $this->keyGroup);
wp_cache_delete($postId, ... | Cache: Clear post-type cache key when saving a post | helsingborg-stad_Municipio | train | php |
5918ef9b1ad998c762e0bb1abb8e0988c836ab5d | diff --git a/lib/timerizer.rb b/lib/timerizer.rb
index <HASH>..<HASH> 100644
--- a/lib/timerizer.rb
+++ b/lib/timerizer.rb
@@ -586,11 +586,17 @@ class WallClock
# @raise ArgumentError Argument isn't a proper system
def to_s(system = :twelve_hour)
pad = "%02d"
- if(system == :twelve_hour)
- meridiem =... | refactor WallClock#to_s | kylewlacy_timerizer | train | rb |
2bd814bec4f345747117b88f2e820153141d67b6 | diff --git a/php/commands/package.php b/php/commands/package.php
index <HASH>..<HASH> 100644
--- a/php/commands/package.php
+++ b/php/commands/package.php
@@ -228,7 +228,8 @@ class Package_Command extends WP_CLI_Command {
* /home/person/.wp-cli/packages/
*
* # Change directory to package path
- * ... | Example wp package path, #<I> | wp-cli_export-command | train | php |
434200b5a7ee4321b47c1b7b6d225789143ba20e | diff --git a/aospy/calc.py b/aospy/calc.py
index <HASH>..<HASH> 100644
--- a/aospy/calc.py
+++ b/aospy/calc.py
@@ -1091,7 +1091,10 @@ class Calc(object):
if archive:
self._save_to_archive(dtype_out_time,
dtype_out_vert=dtype_out_vert)
- print('\t%s' % self... | Fixed print statements for saving files in `xray` mode so that they have the correct .nc extension. | spencerahill_aospy | train | py |
c387ba540e12869b4b33b863d308dee53fda84f7 | diff --git a/src/sortable.js b/src/sortable.js
index <HASH>..<HASH> 100644
--- a/src/sortable.js
+++ b/src/sortable.js
@@ -322,6 +322,10 @@ angular.module('ui.sortable', [])
// Save current drop position but only if this is not a second
// update that happens when moving between lists beca... | notify parent when was moved (performance refactor) fix | angular-ui_ui-sortable | train | js |
a0a8f6edadcf73486fa6485e89951355eaca217f | diff --git a/packages/card/src/styledComponents/Card.js b/packages/card/src/styledComponents/Card.js
index <HASH>..<HASH> 100644
--- a/packages/card/src/styledComponents/Card.js
+++ b/packages/card/src/styledComponents/Card.js
@@ -25,6 +25,7 @@ const Card = styled.div`
padding: ${padding};
box-sizing: border-box;... | feat(Card): add a CSS property to prevent children component to overflow its background
affects: @crave/farmblocks-card | CraveFood_farmblocks | train | js |
6c82511ba41bfb7afd0c5e317e47d9a271840023 | diff --git a/lib/rubocop/cop/avoid_global_vars.rb b/lib/rubocop/cop/avoid_global_vars.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/avoid_global_vars.rb
+++ b/lib/rubocop/cop/avoid_global_vars.rb
@@ -5,6 +5,8 @@ module Rubocop
class AvoidGlobalVars < Cop
ERROR_MESSAGE = 'Do not introduce global varia... | Add a few more built-in global variables | rubocop-hq_rubocop | train | rb |
ff744f3f2f286d8224edc37fdcad3bced1d52f8b | diff --git a/jwt/internal/cmd/gentoken/main.go b/jwt/internal/cmd/gentoken/main.go
index <HASH>..<HASH> 100644
--- a/jwt/internal/cmd/gentoken/main.go
+++ b/jwt/internal/cmd/gentoken/main.go
@@ -185,7 +185,6 @@ func init() {
tokens = []tokenType{
{
- prefix: "std",
pkg: "jwt",
filename: "t... | jwt: this time expunge the use of unsued field for real | lestrrat-go_jwx | train | go |
747cc053685dddac59235b00c0cb93e526cea9de | diff --git a/rest_framework_jsonp/__init__.py b/rest_framework_jsonp/__init__.py
index <HASH>..<HASH> 100644
--- a/rest_framework_jsonp/__init__.py
+++ b/rest_framework_jsonp/__init__.py
@@ -1 +1 @@
-__version__ = '0.1.0'
+__version__ = '1.0.0'
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py... | Bump up version to <I> | jpadilla_django-rest-framework-jsonp | train | py,py |
d1e6cbaf331ab1cec5c3fa13a6e30202f8b5313e | diff --git a/src/Response.php b/src/Response.php
index <HASH>..<HASH> 100644
--- a/src/Response.php
+++ b/src/Response.php
@@ -31,7 +31,7 @@ class Response {
$section = 'Reference';
}
// array_values reindexes the array here, otherwise we have gaps from non-matching array keys
- return new FilterableList(arr... | add type hinting in Response::where | beheh_sulphur | train | php |
70997e7292c5292c3b7038617e341e85d79d1481 | diff --git a/example/index.js b/example/index.js
index <HASH>..<HASH> 100644
--- a/example/index.js
+++ b/example/index.js
@@ -35,7 +35,8 @@ db.installUsersBehavior().then(function () {
server.register({
register: hapiAccount,
options: {
- usersDb: db
+ usersDb: db,
+ secret: 'NOT SO SECRET'... | test: add secret so signIn will work | hoodiehq-archive_hoodie-account | train | js |
f3d0f161c5e07988ab58dbe89b86ce09a5a357fc | diff --git a/src/vivarium/framework/time.py b/src/vivarium/framework/time.py
index <HASH>..<HASH> 100644
--- a/src/vivarium/framework/time.py
+++ b/src/vivarium/framework/time.py
@@ -17,8 +17,8 @@ from datetime import datetime, timedelta
import pandas as pd
-Time = Union[datetime, Number]
-Timedelta = Union[timede... | Update typing information in simulation time subsystem to include pandas dtypes | ihmeuw_vivarium | train | py |
717f8a4e8f768e2c3a34067f4a55f9c8e3267f3f | diff --git a/core/rawdb/freezer_reinit.go b/core/rawdb/freezer_reinit.go
index <HASH>..<HASH> 100644
--- a/core/rawdb/freezer_reinit.go
+++ b/core/rawdb/freezer_reinit.go
@@ -55,10 +55,10 @@ func InitDatabaseFromFreezer(db ethdb.Database) error {
if n >= frozen {
return
}
- // Retrieve the block from... | core/rawdb: fix reinit regression caused by the hash check PR | ethereum_go-ethereum | train | go |
73cd5b59ee77ccdb64e7b8790a37b9538056b675 | diff --git a/angr/analyses/sse.py b/angr/analyses/sse.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/sse.py
+++ b/angr/analyses/sse.py
@@ -394,12 +394,12 @@ class SSE(Analysis):
# FIXME: cfg._nodes should also be updated when calling cfg.normalize()
size_of_next_irs... | Removed unnecessary exception outputs. Keep calm | angr_angr | train | py |
07637aeab11569c35adb87bb83f479a7a310ba5f | diff --git a/src/shims/range-ui.js b/src/shims/range-ui.js
index <HASH>..<HASH> 100644
--- a/src/shims/range-ui.js
+++ b/src/shims/range-ui.js
@@ -456,6 +456,12 @@
}
};
+ var oCreate = function (o) {
+ function F() {}
+ F.prototype = o;
+ return new F();
+ };
+
$.fn.rangeUI = function(opts){
opts = $.e... | don't use object.create in range ui for old browsers | aFarkas_webshim | train | js |
6c6ae1c66d3a70009b7de88c6ba0cf6e4f5e1ffc | diff --git a/db/seeds/main.go b/db/seeds/main.go
index <HASH>..<HASH> 100644
--- a/db/seeds/main.go
+++ b/db/seeds/main.go
@@ -19,6 +19,7 @@ import (
"github.com/qor/qor-example/db"
"github.com/qor/qor-example/db/seeds"
"github.com/qor/qor/admin"
+ "github.com/qor/qor/i18n"
"github.com/qor/qor/publish"
"githu... | reset the translations in the deploy script | qor_qor-example | train | go |
f27056750ced15ec3f1ff88bf7de597ca95967bb | diff --git a/sievelib/tests/parser.py b/sievelib/tests/parser.py
index <HASH>..<HASH> 100644
--- a/sievelib/tests/parser.py
+++ b/sievelib/tests/parser.py
@@ -49,13 +49,13 @@ class SieveTest(unittest.TestCase):
class AdditionalCommands(SieveTest):
def test_add_command(self):
+ self.assertRaises(sievelib.... | changed test_add_command to check for UnknownCommand before injection | tonioo_sievelib | train | py |
1db25472b04d4a35844ce8f66c4bb23317ffb2d0 | diff --git a/openquake/commonlib/calc.py b/openquake/commonlib/calc.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/calc.py
+++ b/openquake/commonlib/calc.py
@@ -621,8 +621,8 @@ class EBRupture(object):
class RuptureSerializer(object):
"""
- Serialize event based ruptures on an HDF5 files. Populates... | Added some docstring [skip CI] | gem_oq-engine | train | py |
317854168b7bde38e52f5a2677470667115b6eaa | diff --git a/lib/sugarcrm/attributes/attribute_methods.rb b/lib/sugarcrm/attributes/attribute_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/sugarcrm/attributes/attribute_methods.rb
+++ b/lib/sugarcrm/attributes/attribute_methods.rb
@@ -32,7 +32,12 @@ module SugarCRM; module AttributeMethods
# Default to = i... | typecast boolean attributes to string
enables users to do (e.g.) SugarCRM::Note.all(:conditions => {:complaint_c => true}), where complaint_c is a checkbox field | chicks_sugarcrm | train | rb |
639d2317edb3d6c9ec7c4c383dcfd3d856a3e371 | diff --git a/src/client.js b/src/client.js
index <HASH>..<HASH> 100644
--- a/src/client.js
+++ b/src/client.js
@@ -5231,7 +5231,11 @@ function setupCallEventHandler(client) {
// This call has previously been answered or hung up: ignore it
return;
}
- ... | Catch exception from call event handler
Otherwise they leak out ot the sync loop. It's unfortunate that
exceptions from event handlers leak out to the emitter, and this
seems a bit clumsy, but having to wrap eveery event emit in a try
block seems worse. | matrix-org_matrix-js-sdk | train | js |
ac4b3d9e2df3d3a17bd88756aeeac58aca6c4ef3 | diff --git a/RAPIDpy/dataset.py b/RAPIDpy/dataset.py
index <HASH>..<HASH> 100644
--- a/RAPIDpy/dataset.py
+++ b/RAPIDpy/dataset.py
@@ -617,6 +617,8 @@ class RAPIDDataset(object):
mode="mean"):
"""
Write out RAPID output to GSSHA time series ihg file
+ ... | added metadata fore ihg file in function description | erdc_RAPIDpy | train | py |
55d31bbd66831f9b161282047b8a83498a7948d3 | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueImmutableFields.java b/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueImmutableFields.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueImmutableFields.java
+++ b/core/src/main/ja... | Remove an unnecessary indefinite article.
As it stands, this produces messages like this:
"AutoValue instances should be deeply immutable. Therefore, we recommend returning a ImmutableMap instead." Saying "...return ImmutableMap" reads just as well in addition to being grammatically correct.
-------------
Created by ... | google_error-prone | train | java |
e069556eb8f4e108e0788678528e464a6a485d2d | diff --git a/requirements.txt b/requirements.txt
index <HASH>..<HASH> 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,6 +2,7 @@ matplotlib>=2.0.2
numpy==1.14.2
pyrddl>=0.1.0
rddlgym>=0.2.8
+rddl2tf>=0.2.0
Sphinx==1.7.6
tensorflow==1.5.0
tensorflow-tensorboard==1.5.1
diff --git a/setup.py b/setup.py
ind... | Add rddl2tf as a dependency in requirements.txt and setup.py | thiagopbueno_tf-rddlsim | train | txt,py,py |
2c4a225d5d289127134010e06ba5b417178e361d | diff --git a/code/libraries/koowa/database/table/abstract.php b/code/libraries/koowa/database/table/abstract.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/database/table/abstract.php
+++ b/code/libraries/koowa/database/table/abstract.php
@@ -580,13 +580,16 @@ abstract class KDatabaseTableAbstract extends K... | Don't map columns if we are selecting a field or a field list. | joomlatools_joomlatools-framework | train | php |
82a9a6cca21fd7286e7b6211a1606af034a3a859 | diff --git a/src/type/definition.js b/src/type/definition.js
index <HASH>..<HASH> 100644
--- a/src/type/definition.js
+++ b/src/type/definition.js
@@ -903,9 +903,6 @@ type GraphQLObjectTypeNormalizedConfig = {
extensionASTNodes: $ReadOnlyArray<ObjectTypeExtensionNode>,
};
-/**
- * Note: returning GraphQLObjectTyp... | definition: Remove deprecation comment (#<I>) | graphql_graphql-js | train | js |
c29212279126d58e88baacfaccc4719d4c52c723 | diff --git a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
index <HASH>..<HASH> 100644
--- a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
+++ b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
@@ -216,7 +216,8 @@ JSON;
ar... | it looks like php <I> might not have openssl extension? | composer_composer | train | php |
4858665fc45fe9580f021807c6e43e802e71be31 | diff --git a/lib/topics/topic.js b/lib/topics/topic.js
index <HASH>..<HASH> 100644
--- a/lib/topics/topic.js
+++ b/lib/topics/topic.js
@@ -251,9 +251,10 @@ module.exports = function (mongoose) {
// Private function to score the topics by TF-IDF
var _score = function (msg) {
var docs = [];
-
+ var tas = ms... | Add a little more debugging to TF-IDF score | superscriptjs_superscript | train | js |
549797ced3eac460ab56627dd4cbedc473953f6c | diff --git a/ccmlib/cmds/node_cmds.py b/ccmlib/cmds/node_cmds.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cmds/node_cmds.py
+++ b/ccmlib/cmds/node_cmds.py
@@ -222,7 +222,7 @@ class _NodeToolCmd(Cmd):
Cmd.validate(self, parser, options, args, node_name=True, load_cluster=True)
def run(self):
- sel... | options of nodetool commands are now taken into account
before this commit:
ccm node1 ring myKS
=> myKS is not used (see the Note, on the beginning of the output of the
command)
after this commit:
ccm node1 ring myKS
=> myKS is used (no Note, and ownership is correct) | riptano_ccm | train | py |
c5d13b689f39ccd32b184b551da6835fb33f5b21 | diff --git a/lib/datalib.php b/lib/datalib.php
index <HASH>..<HASH> 100644
--- a/lib/datalib.php
+++ b/lib/datalib.php
@@ -1237,8 +1237,12 @@ function fix_course_sortorder($categoryid=0, $n=0, $safe=0, $depth=0, $path='')
$path = $path . '/' . $categoryid;
$depth = $depth + 1;
- set_field('... | datalib: fix_course_sortorder() - minor optimisation
Don't update fields unnecessarily. Cuts 3 DB queries per category
on course/index page (<I> in a <I> category setup).
fix_course_sortorder() should be fixed to avoid recursion. | moodle_moodle | train | php |
a81f24ac174010e70f4e764b8b4a1e4a4c94ed56 | diff --git a/tests/Drivers/FacebookDriverTest.php b/tests/Drivers/FacebookDriverTest.php
index <HASH>..<HASH> 100644
--- a/tests/Drivers/FacebookDriverTest.php
+++ b/tests/Drivers/FacebookDriverTest.php
@@ -25,7 +25,6 @@ use Mpociot\BotMan\DriverEvents\Facebook\MessagingCheckoutUpdates;
class FacebookDriverTest exte... | Apply fixes from StyleCI (#<I>) | botman_botman | train | php |
68e60503a1a450df048b20f5bcc99a993b2eb4c3 | diff --git a/js/binance.js b/js/binance.js
index <HASH>..<HASH> 100644
--- a/js/binance.js
+++ b/js/binance.js
@@ -492,7 +492,12 @@ module.exports = class binance extends Exchange {
async fetchTime (params = {}) {
const type = this.safeString2 (this.options, 'fetchTime', 'defaultType', 'spot');
- ... | Use api matching type for binance fetchTime
- Adds support for the coin-margined delivery api (dapi).
- Uses publicGetTime for type = margin (rather than fapi_). | ccxt_ccxt | train | js |
7729d88f333e1dedc5731fb84a2c84496423851f | diff --git a/src/PSolr/Request/SolrRequest.php b/src/PSolr/Request/SolrRequest.php
index <HASH>..<HASH> 100644
--- a/src/PSolr/Request/SolrRequest.php
+++ b/src/PSolr/Request/SolrRequest.php
@@ -134,9 +134,17 @@ class SolrRequest extends QueryString
* @param array $options
*
* @return \PSolr\Response\... | Added exception if component has no handler [skip ci] | cpliakas_psolr | train | php |
9a99cc7a5234c0216c65a2fce20b882472eab13d | diff --git a/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java b/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java
index <HASH>..<HASH> 100644
--- a/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java
+++ b/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java
@... | Good merge of: Don’t include the default HTTP port in the server URL | ebi-gene-expression-group_atlas | train | java |
c21c5c28325071bd2cf460f9d627b49971196b00 | diff --git a/pymc/tests/test_distributions.py b/pymc/tests/test_distributions.py
index <HASH>..<HASH> 100644
--- a/pymc/tests/test_distributions.py
+++ b/pymc/tests/test_distributions.py
@@ -161,8 +161,10 @@ def test_constantdist():
def test_zeroinflatedpoisson():
checkd(ZeroInflatedPoisson, Nat, {'theta': Rplus,... | Split up test in hopes that travis does not timeout. | pymc-devs_pymc | train | py |
8cc217eac3c49515b8aff591a9a5a7e304f6e597 | diff --git a/grunt.js b/grunt.js
index <HASH>..<HASH> 100644
--- a/grunt.js
+++ b/grunt.js
@@ -1,3 +1,6 @@
+// Resources
+// https://gist.github.com/2489540
+
/*global config:true, task:true*/
module.exports = function( grunt ) { | Add resource by @mikesherov to gruntfile | jquery_jquery | train | js |
ea7153ad1072fa62d40b5e5d66993edbbb4d34dc | diff --git a/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java b/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java
+++ b/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java
@@ -9... | Bug fix: Avoid NPE in public mode if shadow page is not visible to public users (which is the default). | structr_structr | train | java |
5982970e21d9bab7ea2bd507b360317f40628260 | diff --git a/java/src/main/java/org/msgpack/UnpackerImpl.java b/java/src/main/java/org/msgpack/UnpackerImpl.java
index <HASH>..<HASH> 100644
--- a/java/src/main/java/org/msgpack/UnpackerImpl.java
+++ b/java/src/main/java/org/msgpack/UnpackerImpl.java
@@ -157,7 +157,10 @@ public class UnpackerImpl {
count = b & 0... | java: fixed problem that empty array and empty map don't check Schema | msgpack_msgpack-ruby | train | java |
752999d3384daf0c3f38b442f792e73373416835 | diff --git a/tools/c7n_mailer/c7n_mailer/record.py b/tools/c7n_mailer/c7n_mailer/record.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_mailer/c7n_mailer/record.py
+++ b/tools/c7n_mailer/c7n_mailer/record.py
@@ -131,6 +131,14 @@ def resource_format(resource, resource_type):
return "name: %s date: %s" % (
... | Added subnet resource type for record format (#<I>)
* Added subnet resource type for record format | cloud-custodian_cloud-custodian | train | py |
6e4307458691573a1c3f7c9da8ebc4901b204dd4 | diff --git a/script/upload.py b/script/upload.py
index <HASH>..<HASH> 100755
--- a/script/upload.py
+++ b/script/upload.py
@@ -130,6 +130,10 @@ def publish_release(github, release_id):
def upload_node(bucket, access_key, secret_key, version):
os.chdir(DIST_DIR)
+ # TODO(zcbenz): Remove me when Atom starts to use... | Still upload distribution file to S3 since Atom hasn't used Releases API yet. | electron_electron | train | py |
5ac5352e33ca4e53b97b17a4cd60fc42327f1d26 | diff --git a/lib/response.js b/lib/response.js
index <HASH>..<HASH> 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -70,7 +70,7 @@ res.send = function(body, status){
}
// populate Content-Length
- if (!this.header('Content-Length')) {
+ if (undefined !== body && !this.header('Content-Length')) {
th... | Fixed [<I>]<I> support | expressjs_express | train | js |
3e554e13b3f8a8bfca211df4dca52ad886feede3 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -149,4 +149,4 @@ module.exports = {
}
);
}
-};
\ No newline at end of file
+}; | added an extra line at EOF | softlayer_sl-ember-components | train | js |
fcf74a0efd8a90c2912667f79425c99918b9af8b | diff --git a/cloudfoundry-client-lib/src/test/java/org/cloudfoundry/client/lib/AbstractCloudFoundryClientTest.java b/cloudfoundry-client-lib/src/test/java/org/cloudfoundry/client/lib/AbstractCloudFoundryClientTest.java
index <HASH>..<HASH> 100644
--- a/cloudfoundry-client-lib/src/test/java/org/cloudfoundry/client/lib/A... | Wait for application to start before trying to pull logs | cloudfoundry_cf-java-client | train | java |
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.