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 |
|---|---|---|---|---|---|
0a0bef5cadab5f2ccda66471c83b35ba112be484 | diff --git a/gntp/__init__.py b/gntp/__init__.py
index <HASH>..<HASH> 100644
--- a/gntp/__init__.py
+++ b/gntp/__init__.py
@@ -178,7 +178,10 @@ class _GNTPBase(object):
#print key,'\t\t\t',val
return dict
def add_header(self,key,value):
- self.headers[key] = unicode('%s'%value,'utf8','replace')
+ if isinstan... | If it's already unicode, leave it, otherwise try to decode it using utf8 | kfdm_gntp | train | py |
634cdf52dedc1fe57407ef0ca42ba6817aac81a7 | diff --git a/database/migrations/2014_04_02_193005_create_translations_table.php b/database/migrations/2014_04_02_193005_create_translations_table.php
index <HASH>..<HASH> 100644
--- a/database/migrations/2014_04_02_193005_create_translations_table.php
+++ b/database/migrations/2014_04_02_193005_create_translations_tab... | Change from string to text-column (#<I>)
Allow key-column to store more than <I> characters (for example, when translating large strings via `{{ __('very long string') }}`. | barryvdh_laravel-translation-manager | train | php |
7c6cf637bb01d74dbecf7496020dfa2324b77773 | diff --git a/test/unit/rules/no-invalid-aria-attributes-test.js b/test/unit/rules/no-invalid-aria-attributes-test.js
index <HASH>..<HASH> 100644
--- a/test/unit/rules/no-invalid-aria-attributes-test.js
+++ b/test/unit/rules/no-invalid-aria-attributes-test.js
@@ -13,7 +13,6 @@ generateRuleTests({
'<div role="checkb... | Removed extraneous test case | ember-template-lint_ember-template-lint | train | js |
dbdae3cd252076f5b80d2302572d020b753a03fb | diff --git a/app/controllers/neighborly/balanced/creditcard/payments_controller.rb b/app/controllers/neighborly/balanced/creditcard/payments_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/neighborly/balanced/creditcard/payments_controller.rb
+++ b/app/controllers/neighborly/balanced/creditcard/payments... | Remove PaymentsController#prepare_new_method
The variable assignments can be inside #new method, since we're not
rendering it in other actions anymore. | FromUte_dune-balanced-creditcard | train | rb |
4140f81116947d0d6c99bd451b3e5fd8913a370c | diff --git a/player_js.go b/player_js.go
index <HASH>..<HASH> 100644
--- a/player_js.go
+++ b/player_js.go
@@ -33,7 +33,7 @@ type player struct {
context *js.Object
}
-func isIOS() bool {
+func isIOSSafari() bool {
ua := js.Global.Get("navigator").Get("userAgent").String()
if !strings.Contains(ua, "iP... | js: Rename isIOS to isIOSSafari for consistency | hajimehoshi_oto | train | go |
07ee5937564bc40e2b3929146df2ccb822daeda8 | diff --git a/src/Adapter/Phpunit.php b/src/Adapter/Phpunit.php
index <HASH>..<HASH> 100644
--- a/src/Adapter/Phpunit.php
+++ b/src/Adapter/Phpunit.php
@@ -206,11 +206,7 @@ class Phpunit extends AdapterAbstract
$xmlConfiguration = $xmlConfigurationBuilder->getConfiguration();
if ($xmlConfiguration->h... | Replaced logic involved with searchin for original absolute bootstrap file as it is now always absolute | humbug_humbug | train | php |
d9245e3578bd4ffed94215dfdd4c5d5cf89ea7ce | diff --git a/src/core/AttributeMarshallingMixin.js b/src/core/AttributeMarshallingMixin.js
index <HASH>..<HASH> 100644
--- a/src/core/AttributeMarshallingMixin.js
+++ b/src/core/AttributeMarshallingMixin.js
@@ -93,6 +93,17 @@ export default function AttributeMarshallingMixin(Base) {
}
}
+ // Because ma... | Docs, clean out old treatment of "style" as a special case attribute name as it's no longer necessary. | elix_elix | train | js |
7bfcf945e97a7e4c5f0a44bcb36a6adfd7b7c2d3 | diff --git a/src/lib/I18n/index.js b/src/lib/I18n/index.js
index <HASH>..<HASH> 100644
--- a/src/lib/I18n/index.js
+++ b/src/lib/I18n/index.js
@@ -39,6 +39,7 @@ export default class I18n {
this._loadLocale = loadLocale;
this._cache = {};
RUNTIME.instances.add(this);
+ this.load();
}
async _load(... | fix bug where I<I>n object no longer load it self when created (#<I>) | u9520107_locale-loader | train | js |
aa93157e01086d677329175e5ff9ff735d787c63 | diff --git a/pyads/ads.py b/pyads/ads.py
index <HASH>..<HASH> 100644
--- a/pyads/ads.py
+++ b/pyads/ads.py
@@ -959,11 +959,14 @@ class Connection(object):
for i in data_names_and_values.keys()
}
+ if structure_defs is None:
+ structure_defs = {}
+
for name, str... | Create empty dict if structure_defs is None | stlehmann_pyads | train | py |
c58b098194df59268d9de930496836013043e550 | diff --git a/km3pipe/pumps/ch.py b/km3pipe/pumps/ch.py
index <HASH>..<HASH> 100644
--- a/km3pipe/pumps/ch.py
+++ b/km3pipe/pumps/ch.py
@@ -13,7 +13,6 @@ import socket
from km3pipe import Pump
from km3pipe.logger import logging
-from controlhost import Client
log = logging.getLogger(__name__) # pylint: disable=C... | Lazy loading of controlhost to allow dev usage of km3pipe without installing controlhost | tamasgal_km3pipe | train | py |
bab952773701a59d4178a8f7a6a9e82fb08cd0c3 | diff --git a/ActiveRecord.php b/ActiveRecord.php
index <HASH>..<HASH> 100644
--- a/ActiveRecord.php
+++ b/ActiveRecord.php
@@ -268,6 +268,10 @@ abstract class ActiveRecord extends BaseActiveRecord
throw new StaleObjectException('The object being updated is outdated.');
}
+ if (isset($valu... | Fixed `ActiveRecord` does not updates attribute specified at `optimisticLock()` after save | yiisoft_yii2-mongodb | train | php |
41c1e279a46f4bfdd8fd9174d65e710c5d98e470 | diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php
index <HASH>..<HASH> 100644
--- a/tests/ConnectionTest.php
+++ b/tests/ConnectionTest.php
@@ -170,7 +170,7 @@ class ConnectionTest extends BaseTest
$username = 'foo';
$client = new Client(['username' => $username]);
- $this->ass... | Fix wrong method argument / signature (#<I>) | ruflin_Elastica | train | php |
ab5be945ff54d2f7d64ce1dacee2439c1173b00d | diff --git a/galpy/df/quasiisothermaldf.py b/galpy/df/quasiisothermaldf.py
index <HASH>..<HASH> 100644
--- a/galpy/df/quasiisothermaldf.py
+++ b/galpy/df/quasiisothermaldf.py
@@ -1734,8 +1734,23 @@ class quasiisothermaldf(df):
std_R= numpy.std(R)
mean_z= numpy.mean(z)
std_z= numpy.std(z)
+ ... | modify sampleV_interpolate so that outliers include points outside of user-specified grid as well as those too far from mean | jobovy_galpy | train | py |
a5b3b5d1f3f94a40b49db197c04767e5657878c7 | diff --git a/src/config/build.js b/src/config/build.js
index <HASH>..<HASH> 100644
--- a/src/config/build.js
+++ b/src/config/build.js
@@ -6,8 +6,11 @@ const { BUILD_DIRECTORY_NAME } = require('../constants');
const { combine } = require('../utils/structures');
const { getProjectConfig } = require('./project');
+co... | Prepare build config for project type-based modification | abcnews_aunty | train | js |
d1bc29262db82bc5c2affa3d329aa483f32c2784 | diff --git a/lib/copy.js b/lib/copy.js
index <HASH>..<HASH> 100644
--- a/lib/copy.js
+++ b/lib/copy.js
@@ -14,17 +14,31 @@ var isCallable = require('es5-ext/lib/Object/is-callable')
, copy;
copy = function (source, dest, options) {
- var def = deferred(), stream, writeStream;
+ var def = deferred(), read, write;
... | Improve error and stream handling in fs.copy | medikoo_fs2 | train | js |
ab09f9fe6b498fa4a53ee39ee64035e66bb5ea0f | diff --git a/example/turbine_cluster_modelchain_example.py b/example/turbine_cluster_modelchain_example.py
index <HASH>..<HASH> 100644
--- a/example/turbine_cluster_modelchain_example.py
+++ b/example/turbine_cluster_modelchain_example.py
@@ -212,7 +212,7 @@ def run_example():
"""
weather = mc_e.get_weather... | React to FutureWarning of pandas
FutureWarning: Sorting because non-concatenation axis is not aligned. A
future version
of pandas will change to not sort by default.
To accept the future behavior, pass 'sort=False'.
To retain the current behavior and silence the warning, pass
'sort=True'. | wind-python_windpowerlib | train | py |
826451601d7e3a5070663f33bca67e8a09ea41c5 | diff --git a/src/main/java/com/netflix/governator/lifecycle/warmup/DAGManager.java b/src/main/java/com/netflix/governator/lifecycle/warmup/DAGManager.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/netflix/governator/lifecycle/warmup/DAGManager.java
+++ b/src/main/java/com/netflix/governator/lifecycle/warmup/D... | Iterate over dependencies.keySet()
Fixing memory leak described in issue #<I> | Netflix_governator | train | java |
97401dd04dde1d2217af0577d7240e336b4dce0f | diff --git a/src/scene.js b/src/scene.js
index <HASH>..<HASH> 100755
--- a/src/scene.js
+++ b/src/scene.js
@@ -542,6 +542,12 @@ export default class Scene {
}
}
+ // Skip proxy tiles if new tiles have finished loading this style
+ if (!tile.shouldProxyForStyle(style... | tiles: skip rendering proxy tile's style if tiles it is proxying for have all finished loading that style | tangrams_tangram | train | js,js |
7dc2989780ba184768215cf8bb796d6d5b4abbc6 | diff --git a/src/main/java/io/vlingo/actors/Returns.java b/src/main/java/io/vlingo/actors/Returns.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/actors/Returns.java
+++ b/src/main/java/io/vlingo/actors/Returns.java
@@ -1,3 +1,10 @@
+// Copyright © 2012-2018 Vaughn Vernon. All rights reserved.
+//
+// Th... | Added copyright notices to Returns.java | vlingo_vlingo-actors | train | java |
962b9c2937b10b50f9231006ef58a16b6887a815 | diff --git a/lib/logstasher/log_subscriber.rb b/lib/logstasher/log_subscriber.rb
index <HASH>..<HASH> 100644
--- a/lib/logstasher/log_subscriber.rb
+++ b/lib/logstasher/log_subscriber.rb
@@ -13,7 +13,8 @@ module LogStasher
data.merge! extract_exception(payload)
data.merge! extract_custom_fields(payload)
... | Prevent error when seeing an exception thrown by Rails. | shadabahmed_logstasher | train | rb |
89f025b0e33ad73dc2d0144b1f6f9986e7798a5b | diff --git a/containerSlayer.go b/containerSlayer.go
index <HASH>..<HASH> 100644
--- a/containerSlayer.go
+++ b/containerSlayer.go
@@ -85,6 +85,10 @@ func (s *containerSlayer) closeObject(obj interface{}, def Def) (err error) {
}
}()
+ if _, isBuilding := obj.(buildingChan); isBuilding {
+ return nil
+ }
+
if... | Fix Close call on buildingChan (#<I>)
The Close function could be called with a buildingChan. It could happen if the Build function was taking too long and if the container was suddenly deleted by another goroutine. | sarulabs_di | train | go |
3cdbc63316409ed8ad5847bb2c7a1220ba6e4672 | diff --git a/src/meta/UIDMeta.java b/src/meta/UIDMeta.java
index <HASH>..<HASH> 100644
--- a/src/meta/UIDMeta.java
+++ b/src/meta/UIDMeta.java
@@ -506,7 +506,7 @@ public final class UIDMeta {
if (custom == null) {
json.writeNullField("custom");
} else {
- json.writeStartObject();
+ ... | #<I>: Fix for UIDMeta.getStorageJSON() which fails when custom is not null. | OpenTSDB_opentsdb | train | java |
4238ba16674644c1a615a7a45780c15e941df9ab | diff --git a/sandboxapi/fireeye.py b/sandboxapi/fireeye.py
index <HASH>..<HASH> 100644
--- a/sandboxapi/fireeye.py
+++ b/sandboxapi/fireeye.py
@@ -196,7 +196,6 @@ class FireEyeAPI(sandboxapi.SandboxAPI):
# otherwise, return the raw content.
return response.content
-
def score(self, report):
... | issue/3-fireeye_logout_fix
Added logout() to FireEyeAPI.
Added a call to logout() at the end of the FireEye CLI. | InQuest_python-sandboxapi | train | py |
25d08ad45c4aed514480944beeff390d9e5985a8 | diff --git a/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php b/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php
index <HASH>..<HASH> 100644
--- a/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php
+++ b/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php
@@ -53,7 +53,7 @@ class FunctionRetur... | Fix bug parsing shorthand list operator with missing index.
Fixes #<I> | bobthecow_psysh | train | php |
bc39a05c8d5822435ebdb2985c1671a53f4cbc7a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ tests_require = [
]
-version = (0, 0, 1, 'final')
+version = (1, 0, 0, 'alpha')
def get_version(): | master nows is at <I>-alpha | fusionbox_django-pyscss | train | py |
0b7d9a3cc5728a83db410933f15e501b3fe2cb3c | diff --git a/models/DeliveryMethod.php b/models/DeliveryMethod.php
index <HASH>..<HASH> 100644
--- a/models/DeliveryMethod.php
+++ b/models/DeliveryMethod.php
@@ -23,6 +23,9 @@ class DeliveryMethod extends ActiveRecord
public $logo;
+ const DO_NOT_SHOW_ADDRESS_OR_POST_OFFICE_FIELDS = 0;
+ const SHOW_ADDR... | Field for selecting which fileds will be displayed: address or post office. | black-lamp_blcms-cart | train | php |
17397bf30ff94e5fda0c1bcdaca75bdcac458641 | diff --git a/tests/rules/test_python_command.py b/tests/rules/test_python_command.py
index <HASH>..<HASH> 100644
--- a/tests/rules/test_python_command.py
+++ b/tests/rules/test_python_command.py
@@ -1,5 +1,5 @@
from thefuck.main import Command
-from thefuck.rules.sudo import match, get_new_command
+from thefuck.rules.... | A special case for 'Permission denied' error msg when trying to execute a
python scripy.
The script does not have execute permission and/or does not start with !#/usr/...
In that case, pre-pend the command with 'python' keyword.
Change-Id: Idf<I>ee9cf0a<I>f<I>c<I>a<I>b2fcedc1e6 | nvbn_thefuck | train | py |
9481cb7544c477eca32563d5ae8e7cabce17fd95 | diff --git a/napalm_logs/listener/tcp.py b/napalm_logs/listener/tcp.py
index <HASH>..<HASH> 100644
--- a/napalm_logs/listener/tcp.py
+++ b/napalm_logs/listener/tcp.py
@@ -95,8 +95,7 @@ class TCPListener(ListenerBase):
except socket.timeout:
if not self.__up:
return
- lo... | TCP Listener: do not raise on socket timeout, logging is sufficient
When serving multiple clients, it's entirely normal for them to timeout,
and eventually try to connect later due to inactivity. There's no reason
to raise hard error, and kill the entire application just because a peer
is no longer active. | napalm-automation_napalm-logs | train | py |
dfad06c27b8039fef1cb341e81bc396281ce5281 | diff --git a/lib/serverspec/commands/solaris10.rb b/lib/serverspec/commands/solaris10.rb
index <HASH>..<HASH> 100644
--- a/lib/serverspec/commands/solaris10.rb
+++ b/lib/serverspec/commands/solaris10.rb
@@ -32,6 +32,10 @@ module Serverspec
"ls -l #{escape(file)} | awk '{print $3}' | grep -- #{escape(regexp)}"
... | added numerous override methods for solaris <I> | mizzy_serverspec | train | rb |
7759022bbcca709fea3d7e62aa04e2059287d782 | diff --git a/discord_webhook/webhook.py b/discord_webhook/webhook.py
index <HASH>..<HASH> 100644
--- a/discord_webhook/webhook.py
+++ b/discord_webhook/webhook.py
@@ -39,6 +39,13 @@ class DiscordWebhook:
"""
self.embeds.pop(index)
+ def get_embeds(self):
+ """
+ get all `self.embeds... | get list of embeds and embed fields | lovvskillz_python-discord-webhook | train | py |
a88142621fbcfa98f38d5fb23fec8274b69c824b | diff --git a/test/unexpected.spec.js b/test/unexpected.spec.js
index <HASH>..<HASH> 100644
--- a/test/unexpected.spec.js
+++ b/test/unexpected.spec.js
@@ -177,7 +177,13 @@ describe('unexpected', function () {
it('throws when the assertion fails', function () {
expect(function () {
... | Fixed two cases where the tests were actually wrong | unexpectedjs_unexpected | train | js |
e8526aa837bb1e0944201e386d23c3a0963ed823 | diff --git a/packages/reporters/cli/src/bundleReport.js b/packages/reporters/cli/src/bundleReport.js
index <HASH>..<HASH> 100644
--- a/packages/reporters/cli/src/bundleReport.js
+++ b/packages/reporters/cli/src/bundleReport.js
@@ -32,9 +32,9 @@ export default function bundleReport(bundleGraph: BundleGraph) {
for (... | Fixup bundlereport's assetlist (#<I>) | parcel-bundler_parcel | train | js |
add13fd3adb8b2bcee828c0bc2b00965b5053a37 | diff --git a/src/Subscriber/DefaultSubscriber.php b/src/Subscriber/DefaultSubscriber.php
index <HASH>..<HASH> 100644
--- a/src/Subscriber/DefaultSubscriber.php
+++ b/src/Subscriber/DefaultSubscriber.php
@@ -72,8 +72,16 @@ class DefaultSubscriber implements EventSubscriberInterface
{
$config = $event->getConfig()... | provide fallback to former icon sets setter | contao-bootstrap_core | train | php |
991cacd372f36628515f68d337193de379021606 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-import setuptools
+from setuptools import setup
import sys
from flatdict import __version__ | Fix the setup.py for wheel | gmr_flatdict | train | py |
a8751b857d77e7a20e570bf483ba5ed1e023ba1f | diff --git a/lib/rails_api_doc/controller/request/dsl.rb b/lib/rails_api_doc/controller/request/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_api_doc/controller/request/dsl.rb
+++ b/lib/rails_api_doc/controller/request/dsl.rb
@@ -106,7 +106,7 @@ module RailsApiDoc
end
def second_argument_is_typ... | Fix & to_sym failure | vshaveyko_rails_api_doc | train | rb |
c5763f4e9d6206d5aa5d6e4be8e38458db066944 | diff --git a/src/flapjack/transcoders.py b/src/flapjack/transcoders.py
index <HASH>..<HASH> 100644
--- a/src/flapjack/transcoders.py
+++ b/src/flapjack/transcoders.py
@@ -111,6 +111,17 @@ class Json(object):
'text/x-json',
)
+class Xml(object):
+
+ #! Applicable mimetypes for this transcoder.
+ mi... | created MIME types for XML | armet_python-armet | train | py |
9f6f01d44aae66060b2f5f0b9a24eeb2b14bcb8c | diff --git a/core/server/apps/private-blogging/lib/middleware.js b/core/server/apps/private-blogging/lib/middleware.js
index <HASH>..<HASH> 100644
--- a/core/server/apps/private-blogging/lib/middleware.js
+++ b/core/server/apps/private-blogging/lib/middleware.js
@@ -99,7 +99,7 @@ const privateBlogging = {
... | :bug: Fixed redirect to /undefined after authorization for private blog (#<I>)
no-issue | TryGhost_Ghost | train | js |
e97ed60600c7fd2e7aa42c451ac6b8b74759b39e | diff --git a/Container.php b/Container.php
index <HASH>..<HASH> 100644
--- a/Container.php
+++ b/Container.php
@@ -213,7 +213,7 @@ class Container implements IContainer, ArrayAccess
}
$result = [];
- $instance = ( array ) $this->groups[$group];
+ $instance = (array) $this->groups[$grou... | redirectresponse is done | hunzhiwange_framework | train | php |
630dc5db66bedbe1e54b4fad97b48fbdbc5d7bdf | diff --git a/slickqa/data.py b/slickqa/data.py
index <HASH>..<HASH> 100644
--- a/slickqa/data.py
+++ b/slickqa/data.py
@@ -148,6 +148,7 @@ class TestrunSummary(micromodels.Model):
class Testrun(micromodels.Model):
id = micromodels.StringField()
+ name = micromodels.StringField()
testplanid = micromodels... | forgot the name field on the testrun | slickqa_python-client | train | py |
9e068622c1cdd3f2d00432ffcf02453784692421 | diff --git a/src/AdminPlugin.php b/src/AdminPlugin.php
index <HASH>..<HASH> 100644
--- a/src/AdminPlugin.php
+++ b/src/AdminPlugin.php
@@ -38,6 +38,11 @@ class AdminPlugin extends BasePlugin
'sort' => 100,
];
+ $categories['content'] = [
+ 'name' => '内容',
+ 'sort' =>... | refactor(article): 增加内容菜单 | miaoxing_admin | train | php |
f7e921266590b1458eee4f93bd71f1adde55b2a1 | diff --git a/holoviews/core/ndmapping.py b/holoviews/core/ndmapping.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/ndmapping.py
+++ b/holoviews/core/ndmapping.py
@@ -817,7 +817,7 @@ class UniformNdMapping(NdMapping):
dframes = []
for key, view in self.data.items():
view_frame = view.... | Minor fix for NdMapping.drame method | pyviz_holoviews | train | py |
c3f0025814b21167162c7c30f4f3e6deb693c84e | diff --git a/symphony/assets/admin.js b/symphony/assets/admin.js
index <HASH>..<HASH> 100644
--- a/symphony/assets/admin.js
+++ b/symphony/assets/admin.js
@@ -395,11 +395,6 @@ var Symphony = {};
old_sorting = orderable.find('input').map(function(e, i) { return this.name + '=' + (e + 1); }).get().join('&');
});
... | admin.js changes by Nils | symphonycms_symphony-2 | train | js |
ecdcbce1f36e8c7e53060725b64e1e1701ac0d08 | diff --git a/satpy/readers/olci_nc.py b/satpy/readers/olci_nc.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/olci_nc.py
+++ b/satpy/readers/olci_nc.py
@@ -110,7 +110,7 @@ class NCOLCIBase(BaseFileHandler):
self.open_file = None
@property
- @lru_cache
+ @lru_cache(max_size=2)
def nc(self):... | Fix lru_cache call for python <I> | pytroll_satpy | train | py |
8dd2f5cbaa9cc430fb76fc71e5c57844cb74a973 | diff --git a/meshio/_mesh.py b/meshio/_mesh.py
index <HASH>..<HASH> 100644
--- a/meshio/_mesh.py
+++ b/meshio/_mesh.py
@@ -24,10 +24,11 @@ class Mesh:
return
def __repr__(self):
- lines = []
- lines.append("<meshio mesh object>")
- lines.append(" Number of points: {}".format(len(se... | Avoid append and construct list elements inplace | nschloe_meshio | train | py |
0656ca76edb1b331d8bfba6f7f9f3462da0168d5 | diff --git a/ginga/ImageView.py b/ginga/ImageView.py
index <HASH>..<HASH> 100644
--- a/ginga/ImageView.py
+++ b/ginga/ImageView.py
@@ -1373,6 +1373,9 @@ class ImageViewBase(Callback.Callbacks):
"""
outarr = self.getwin_array(order=order)
+ if not hasattr(outarr, 'tobytes'):
+ # old... | Fix for older versions of numpy with a couple of API methods
- for versions of numpy without the tobytes() method | ejeschke_ginga | train | py |
c23c240e3b54ca07f16c68a3bdbc919d702c413d | diff --git a/referral/models.py b/referral/models.py
index <HASH>..<HASH> 100644
--- a/referral/models.py
+++ b/referral/models.py
@@ -31,6 +31,10 @@ class Referrer(models.Model):
def __unicode__(self):
return self.name
+ def count_users(self):
+ return self.users.count()
+ count_users.shor... | add count_users method to Referrer model | byteweaver_django-referral | train | py |
2cec7296b34d3a3715923a2405b718662c7d7c9a | diff --git a/parser_test.go b/parser_test.go
index <HASH>..<HASH> 100644
--- a/parser_test.go
+++ b/parser_test.go
@@ -94,6 +94,12 @@ func TestParseWithNilVals(t *testing.T) {
if rs.Counts["parser.parseValue.invalid"] != 1 {
t.Fatalf("unexpected stats with invalid value")
}
+
+ gp.Strict = true
+ _, err = gp.Par... | test turning parser Strict mode on | pilosa_pdk | train | go |
2997e3201643e1030ae97ac78e18f13b2238de7f | diff --git a/lib/buildbox/agent.rb b/lib/buildbox/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/buildbox/agent.rb
+++ b/lib/buildbox/agent.rb
@@ -19,10 +19,10 @@ module Buildbox
@api.update_build(build, :agent_accepted => @access_token)
end
- # Then do some stuff...
+ # Run the builds one a... | Only run 1 build at a time. | buildkite_buildbox-agent-ruby | train | rb |
bbb0b503bc91670c0d7a33ecefde4d4b62483e28 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -153,7 +153,7 @@ module.exports = function( grunt ) {
} );
grunt.registerTask( 'compile', [ 'browserify', 'uglify' ] );
- grunt.registerTask( 'test', [ 'jsbeautifier:test', 'jshint', 'compile', '... | added: css build to test task | enketo_enketo-core | train | js |
3569930e2333f80b32954e72592a02ed2e934fe2 | diff --git a/public/config.php b/public/config.php
index <HASH>..<HASH> 100644
--- a/public/config.php
+++ b/public/config.php
@@ -45,5 +45,8 @@ define('ROOT', ($url['ssl'] ? 'https' : 'http') . '://' . HOST . PATH);
// wishing PHP were more like JavaScript...wishing I was able to use Node.js they way I had wanted...
... | Add SECRET_KEY constant to PHP app | jsbin_jsbin | train | php |
b9746b3a1923bc39cc3aff450e8cf01337af287c | diff --git a/pymatgen/analysis/defects/core.py b/pymatgen/analysis/defects/core.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/defects/core.py
+++ b/pymatgen/analysis/defects/core.py
@@ -341,6 +341,12 @@ class DefectEntry(MSONable):
defect_planar_averages )
entry_id (obj): An id to... | update corrections to set up their own supercell sizes | materialsproject_pymatgen | train | py |
785ed5a5f54e0973dbc0b4eb7afcdccda25c880c | diff --git a/daemon/config/prefs.go b/daemon/config/prefs.go
index <HASH>..<HASH> 100644
--- a/daemon/config/prefs.go
+++ b/daemon/config/prefs.go
@@ -7,6 +7,7 @@ import (
"path"
"github.com/go-ini/ini"
+ "github.com/kardianos/osext"
)
const (
@@ -27,13 +28,14 @@ type core struct {
}
func newPreferences()... | Fix lookup location for keys and certs
closes #<I> | manifoldco_torus-cli | train | go |
b99836ed49d2e8b408a86aa79e2cc9543d192775 | diff --git a/app/models/year_in_review_music.rb b/app/models/year_in_review_music.rb
index <HASH>..<HASH> 100644
--- a/app/models/year_in_review_music.rb
+++ b/app/models/year_in_review_music.rb
@@ -3,8 +3,8 @@ class YearInReviewMusic < ActiveRecord::Base
belongs_to :user
- has_many :year_in_review_music_re... | refs #<I> #<I> Renames 2 year in review music associations. | volontariat_voluntary_music_metadata_enrichment | train | rb |
dfc783733e36e19ce4c0684c2109b7bda2138b0c | diff --git a/src/BibliographicRecord.php b/src/BibliographicRecord.php
index <HASH>..<HASH> 100644
--- a/src/BibliographicRecord.php
+++ b/src/BibliographicRecord.php
@@ -713,6 +713,7 @@ class BibliographicRecord extends Record {
$title .= ' : ' . $subtitle;
}
... | My first "missing break" bug
Yup, switch is generally a bad idea… | scriptotek_simplemarcparser | train | php |
be88433c7e5781e5041550fb851dc85f8b2b34f4 | diff --git a/rss/file.php b/rss/file.php
index <HASH>..<HASH> 100644
--- a/rss/file.php
+++ b/rss/file.php
@@ -31,7 +31,7 @@
// extract relative path components
$args = explode('/', trim($relativepath, '/'));
- if (count($args) < 4) {
+ if (count($args) < 5) {
not_found();
}
@@ -39... | filename is the 5th parameter. Now it's cleaned and used
by the send_file() function. | moodle_moodle | train | php |
eb1d55e393541c3052e6ff2940fca411896dfa7b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,5 @@
# Copyright 2009 Shikhar Bhushan
+# Copyright 2011 Leonidas Poulopoulos
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@... | Added contact info in setup.py file | ncclient_ncclient | train | py |
ce6d16f9f2831907261c9cb8acb99c36935c71d4 | diff --git a/test/utils.py b/test/utils.py
index <HASH>..<HASH> 100644
--- a/test/utils.py
+++ b/test/utils.py
@@ -127,8 +127,8 @@ def assertReadFromAll(testcase, rsc, members, *args, **kwargs):
- `rsc`: A ReplicaSetConnection
- `members`: Sequence of replica_set_connection.Member expected to be used
... | Improve assertReadFromAll docstring | mongodb_mongo-python-driver | train | py |
f7a45eb7478f0eb621064cc127e0d9d003c22177 | diff --git a/parse_this/__init__.py b/parse_this/__init__.py
index <HASH>..<HASH> 100644
--- a/parse_this/__init__.py
+++ b/parse_this/__init__.py
@@ -51,7 +51,7 @@ def parse_this(func, types, args=None, delimiter_chars=":"):
return _call(func, func_args, arguments)
-class create_parser(object):
+class MethodP... | Use file level variable to export so we can rename classes properly | bertrandvidal_parse_this | train | py |
ac9cb6ce6794f9a16f4865458eeb12c427f2d191 | diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -59,6 +59,9 @@ end
Specinfra.configuration.env = bundler_env.dup
RSpec.configure do |c|
+ # If testing a package, set serverspec path... | (maint) Set serverspec path when testing against packages
If testing against a package, serverspec's path should be set to find pdk in the install directory.
This avoids invoking the working copy of pdk instead of the installed version. | puppetlabs_pdk | train | rb |
db6a40ef9d5d813b2d5a3a35dbcf34e93cfa15cb | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ extras["test"] = (
extras["all"],
"tox",
"flake8",
- "pytest",
+ "pytest<6.1.0",
"pytest-cov",
"pytest-rerunfailures",
"pytest-xdist", | fix: pin pytest version <<I> to avoid pytest-rerunfailures breaking changes (#<I>) | aws_sagemaker-python-sdk | train | py |
39f236577d88cf712a0677c825197fddc1dcf80d | diff --git a/route.go b/route.go
index <HASH>..<HASH> 100644
--- a/route.go
+++ b/route.go
@@ -10,7 +10,7 @@ import (
var cmdRouteAddHTTP = &Command{
Run: runRouteAddHTTP,
Usage: "route-add-http [-s <service>] <domain>",
- Short: "Add a HTTP route",
+ Short: "add a HTTP route",
Long: `Add a HTTP route to an a... | cli: Make route-add-http short help consistent | flynn_flynn | train | go |
5a20620eb850144924ef05c40577504291a82f49 | diff --git a/javasphinx/compiler.py b/javasphinx/compiler.py
index <HASH>..<HASH> 100644
--- a/javasphinx/compiler.py
+++ b/javasphinx/compiler.py
@@ -263,10 +263,10 @@ class JavadocRestCompiler(object):
f.add_option('outertype', name)
document.add_object(f)
- constructors = f... | Compiler: List copies were sorted instead of the original lists. Fixed. | bronto_javasphinx | train | py |
551c9827d5e4fe7013febc8a7fd19c20382adaab | diff --git a/dumper/invalidation.py b/dumper/invalidation.py
index <HASH>..<HASH> 100644
--- a/dumper/invalidation.py
+++ b/dumper/invalidation.py
@@ -1,5 +1,4 @@
import hashlib
-from django.utils.encoding import iri_to_uri, force_bytes
from django.core.cache import get_cache
from django.conf import settings
@@ -2... | dont try to mess with path when getting invalidation key | saulshanabrook_django-dumper | train | py |
f700f9b14fead7ca6c3bed67005a7d5ea16ce1b8 | diff --git a/src/main/java/org/jboss/netty/handler/codec/replay/ReplayingDecoder.java b/src/main/java/org/jboss/netty/handler/codec/replay/ReplayingDecoder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/netty/handler/codec/replay/ReplayingDecoder.java
+++ b/src/main/java/org/jboss/netty/handler/codec/re... | Fixed misleading Javadoc in ReplayingDecoder | netty_netty | train | java |
a9aee32f1df6aefe7caa0715c5f806b4f3193ae2 | diff --git a/asn1crypto/core.py b/asn1crypto/core.py
index <HASH>..<HASH> 100644
--- a/asn1crypto/core.py
+++ b/asn1crypto/core.py
@@ -1948,13 +1948,25 @@ class Sequence(Asn1Value):
if 'optional' in field_params or 'default' in field_params:
id_ = (parts[0], parts[2])
- ... | Properly handle Choice fields that are optional | wbond_asn1crypto | train | py |
35d204b24696525aa946a61cb982667cf27dd69b | diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/test/TestHazelcastFactory.java b/hazelcast-client/src/test/java/com/hazelcast/client/test/TestHazelcastFactory.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/test/java/com/hazelcast/client/test/TestHazelcastFactory.java
+++ b/hazelcast-client... | Add constructor to TestHazelcastFactory (#<I>)
Needed in Jet's test instance factory | hazelcast_hazelcast | train | java |
f6bf730d824c0eed3f27bea23b113eb5e8b3c929 | diff --git a/package.php b/package.php
index <HASH>..<HASH> 100644
--- a/package.php
+++ b/package.php
@@ -4,7 +4,7 @@
require_once 'PEAR/PackageFileManager2.php';
-$version = '1.4.52';
+$version = '1.4.53';
$notes = <<<EOT
No release notes for you!
EOT; | prepare for release of <I>
svn commit r<I> | silverorange_swat | train | php |
1a2648a4e82e9fb45079b41c5c9ef15d420ce15f | diff --git a/includes/mappers/class.leagues_mapper.php b/includes/mappers/class.leagues_mapper.php
index <HASH>..<HASH> 100644
--- a/includes/mappers/class.leagues_mapper.php
+++ b/includes/mappers/class.leagues_mapper.php
@@ -44,6 +44,9 @@ class leagues_mapper {
$leagues = array();
foreach($leagues_i... | Update class.leagues_mapper.php | kronusme_dota2-api | train | php |
9124af224228fd3bf3c41967f9bc6b2baa6f9e53 | diff --git a/vendor/ember-component-attributes/index.js b/vendor/ember-component-attributes/index.js
index <HASH>..<HASH> 100644
--- a/vendor/ember-component-attributes/index.js
+++ b/vendor/ember-component-attributes/index.js
@@ -13,9 +13,11 @@
customBindings.push(`__HTML_ATTRIBUTES__.${attribute}:${attribu... | Make work with and without pre-existing attributeBindings.
When a component has no attribute bindings, `this.attributeBindings` is undefined.
This updates the computed setter to handle that scenario. | mmun_ember-component-attributes | train | js |
8a518006936e543c2b639b4726db62512c0f4d8b | diff --git a/indexing-service/src/main/java/io/druid/indexing/overlord/PortFinder.java b/indexing-service/src/main/java/io/druid/indexing/overlord/PortFinder.java
index <HASH>..<HASH> 100644
--- a/indexing-service/src/main/java/io/druid/indexing/overlord/PortFinder.java
+++ b/indexing-service/src/main/java/io/druid/ind... | fix PortFinder issue #<I> (#<I>) | apache_incubator-druid | train | java |
01ceea13edf6dc707b2b2a5f9d07fe4f17c374b8 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -57,6 +57,7 @@ gulp.task('coverage', function (cb) {
gulp.task('coveralls', ['coverage'], function () {
if (!process.env.CI) {
+ console.log("process.env.CI === {" + process.env.CI + "}. Skipping coveralls... | log CI env var during build | approvals_Approvals.NodeJS | train | js |
eb256718c3c1a0640f69861587239f1e6cde2820 | diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/integration.rb
+++ b/actionpack/lib/action_controller/integration.rb
@@ -507,7 +507,7 @@ EOF
# Delegate unhandled messages to the curre... | Remove send! usage, relic of reverted <I> behavior | rails_rails | train | rb |
05cc3c3dbb15ecb9da7c16b69ae6807e90255924 | diff --git a/wal/file_pipeline.go b/wal/file_pipeline.go
index <HASH>..<HASH> 100644
--- a/wal/file_pipeline.go
+++ b/wal/file_pipeline.go
@@ -48,7 +48,8 @@ func newFilePipeline(dir string, fileSize int64) *filePipeline {
return fp
}
-// Open returns a fresh file for writing
+// Open returns a fresh file for writi... | wal: limit number of tmp file names
This fixes a space leak if the etcd server is restarted in shorter and shorter
intervals causing the tmp files to stack up. | etcd-io_etcd | train | go |
0a2bd30cdb62e6a3ee3362ecf0c6c2221ea7e16b | diff --git a/src/main/java/graphql/schema/GraphQLCodeRegistry.java b/src/main/java/graphql/schema/GraphQLCodeRegistry.java
index <HASH>..<HASH> 100644
--- a/src/main/java/graphql/schema/GraphQLCodeRegistry.java
+++ b/src/main/java/graphql/schema/GraphQLCodeRegistry.java
@@ -339,6 +339,11 @@ public class GraphQLCodeRegi... | Ability to merge GraphQLCodeRegistries
Closes #<I> | graphql-java_graphql-java | train | java |
226f52d19a4e66fe85a96ed463ba7bd4ef3e1dac | diff --git a/lib/inventory_refresh/inventory_collection/scanner.rb b/lib/inventory_refresh/inventory_collection/scanner.rb
index <HASH>..<HASH> 100644
--- a/lib/inventory_refresh/inventory_collection/scanner.rb
+++ b/lib/inventory_refresh/inventory_collection/scanner.rb
@@ -107,10 +107,7 @@ module InventoryRefresh
... | Simplify build_parent_inventory_collection! based on code climate | ManageIQ_inventory_refresh | train | rb |
5596e50bf3378be11867777c6e87922d3d44ac05 | diff --git a/framework/yii/bootstrap/Nav.php b/framework/yii/bootstrap/Nav.php
index <HASH>..<HASH> 100644
--- a/framework/yii/bootstrap/Nav.php
+++ b/framework/yii/bootstrap/Nav.php
@@ -128,8 +128,10 @@ class Nav extends Widget
$this->addCssClass($urlOptions, 'dropdown-toggle');
$label .= ' ' . Html::tag('b', ... | Fixes issue #<I>. | yiisoft_yii2-debug | train | php |
a877d872d057e52c47923ada37a9dcdc2b1fba36 | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/projects/projectEditor.js b/bundles/org.eclipse.orion.client.ui/web/orion/projects/projectEditor.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/projects/projectEditor.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/pro... | [nobug] View app links should not use the application name but the URL itself | eclipse_orion.client | train | js |
95408013f2af96681f1a1c20c7284d11b71efafc | diff --git a/Kwf/Assets/Dependency/Decorator/StringReplace.php b/Kwf/Assets/Dependency/Decorator/StringReplace.php
index <HASH>..<HASH> 100644
--- a/Kwf/Assets/Dependency/Decorator/StringReplace.php
+++ b/Kwf/Assets/Dependency/Decorator/StringReplace.php
@@ -3,10 +3,11 @@ class Kwf_Assets_Dependency_Decorator_StringRep... | Decorator: take dependency identifier as own identifier by default | koala-framework_koala-framework | train | php |
b4b5504f8e96ec4461f4b2b6386517e311f0ced4 | diff --git a/js/viewport.js b/js/viewport.js
index <HASH>..<HASH> 100644
--- a/js/viewport.js
+++ b/js/viewport.js
@@ -487,12 +487,12 @@ ViewPort.prototype.toSVG = async function (tile) {
function draw(drawConfiguration, features, roiFeatures) {
- if (features) {
+ if (features && features.length > 0) {
... | Git Issue <I>. SVG Rendering bug fix. (#<I>)
Fixes #<I> | igvteam_igv.js | train | js |
ae994b924213532834e237226658d561ae33c081 | diff --git a/src/ui_components/jfrog_modal/jfrog_modal.js b/src/ui_components/jfrog_modal/jfrog_modal.js
index <HASH>..<HASH> 100644
--- a/src/ui_components/jfrog_modal/jfrog_modal.js
+++ b/src/ui_components/jfrog_modal/jfrog_modal.js
@@ -99,7 +99,7 @@ export class JFrogModal {
this._clickFirstFoun... | JFrogModal: Add option to ignore primary button when enter key is pressed | jfrog_jfrog-ui-essentials | train | js |
c71bf52786ed1711128f432c6347497cc2d7d1ca | diff --git a/wire.py b/wire.py
index <HASH>..<HASH> 100755
--- a/wire.py
+++ b/wire.py
@@ -739,6 +739,11 @@ should switch to the page's default content.''').
AddError('NoSuchFrame', 'If the frame specified by `id` cannot be found.'))
resources.append(
+ SessionResource('/session/:sessionId/frame/parent... | Adding swicth to parent frame command to the wire protocol | SeleniumHQ_selenium | train | py |
651ae24445a9486fdea1707e45309b28fee35cfa | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,5 @@
'use strict'
+var Buffer = require('buffer').Buffer
var inherits = require('inherits')
var HashBase = require('hash-base') | Explicitly require 'buffer'
This seems to help some enviroments to pull in
the 'buffer' module from npm when needed. | crypto-browserify_ripemd160 | train | js |
0a868729490813cabb7770675d1bdf87d084eb4c | diff --git a/lib/review/latexbuilder.rb b/lib/review/latexbuilder.rb
index <HASH>..<HASH> 100644
--- a/lib/review/latexbuilder.rb
+++ b/lib/review/latexbuilder.rb
@@ -52,7 +52,11 @@ module ReVIEW
end
return true unless @book.config['pdfmaker']['makeindex_mecab']
begin
- require 'MeCab'
+ ... | find mecab again when MeCab is missing. Closes: #<I> | kmuto_review | train | rb |
fa66e239485195625dcecee34242db34f83e12af | diff --git a/webgl-obj-loader.js b/webgl-obj-loader.js
index <HASH>..<HASH> 100644
--- a/webgl-obj-loader.js
+++ b/webgl-obj-loader.js
@@ -1,4 +1,4 @@
-(function (window, document, undefined) {
+(function (window, undefined) {
'use strict';
// Thanks to CMS for the startsWith function
// http://stackoverfl... | remove unused reference to document so you can use this lib in a worker | frenchtoast747_webgl-obj-loader | train | js |
d66de666343853eefe3de8a9fe45d65dea303521 | diff --git a/lib/simplecov/version.rb b/lib/simplecov/version.rb
index <HASH>..<HASH> 100644
--- a/lib/simplecov/version.rb
+++ b/lib/simplecov/version.rb
@@ -1,3 +1,22 @@
module SimpleCov
VERSION = "0.9.2"
+ def VERSION.to_a
+ split('.').map { |part| part.to_i }
+ end
+
+ def VERSION.major
+ to_a[0]
+ en... | Add some helpful singleton methods to the version string | colszowka_simplecov | train | rb |
b512f39b3ef3a5534e716db1d9f7e091b952a9b0 | diff --git a/js/kkex.js b/js/kkex.js
index <HASH>..<HASH> 100644
--- a/js/kkex.js
+++ b/js/kkex.js
@@ -259,19 +259,32 @@ module.exports = class kkex extends Exchange {
let datetime = this.iso8601 (timestamp);
let price = this.safeFloat (trade, 'price');
let amount = this.safeFloat (trade, 'am... | kkex parseTrade edits | ccxt_ccxt | train | js |
dbc389af20abe6f31a33cc0a5564669ae726231c | diff --git a/src/link-handler.js b/src/link-handler.js
index <HASH>..<HASH> 100644
--- a/src/link-handler.js
+++ b/src/link-handler.js
@@ -92,6 +92,10 @@ export class DefaultLinkHandler extends LinkHandler {
return info;
}
+ if (target.hasAttribute('download') || target.hasAttribute('router-ignore')) {... | ignore download links and add router-ignore attribute | aurelia_history-browser | train | js |
9b7f4b110c3ece08bf322fc0846254923e93081c | diff --git a/libstempo/toasim.py b/libstempo/toasim.py
index <HASH>..<HASH> 100644
--- a/libstempo/toasim.py
+++ b/libstempo/toasim.py
@@ -6,7 +6,7 @@ import math, os
import numpy as N, scipy.interpolate as interp
import libstempo
-import libstempo.spharmORFbasis as anis
+import spharmORFbasis as anis
try:
... | FIXED: mudule spharmORFbasis did not get installed. | vallis_libstempo | train | py,py |
ecaaaa6e26ac76f69da47e36ab52217fa83223f9 | diff --git a/seqcluster/libs/classes.py b/seqcluster/libs/classes.py
index <HASH>..<HASH> 100644
--- a/seqcluster/libs/classes.py
+++ b/seqcluster/libs/classes.py
@@ -137,7 +137,7 @@ class cluster:
self.ref = r
def add_id_member(self, ids, idl):
for s in ids:
- self.idmembers[s] = 0
+ ... | set to 1 to multiple by values and get same numbers
I will implement bayes approach to determine the % of expression a sequence gives to a region when maps to multiple regions. This number will be from 0 to 1. So I init to 1 at the beginning. | lpantano_seqcluster | train | py |
adf7149838cbcff90e11cf317594735eff5792f3 | diff --git a/blockmanager.go b/blockmanager.go
index <HASH>..<HASH> 100644
--- a/blockmanager.go
+++ b/blockmanager.go
@@ -271,8 +271,9 @@ func (b *blockManager) handleNotifyMsg(notification *btcchain.Notification) {
switch notification.Type {
// An orphan block has been accepted by the block chain.
case btcchain... | Update for recent btcchain orphan notify change. | btcsuite_btcd | train | go |
851842b8f2b8c4e6e883a91fb01229c9b08a1378 | diff --git a/safe/postprocessors/building_type_postprocessor.py b/safe/postprocessors/building_type_postprocessor.py
index <HASH>..<HASH> 100644
--- a/safe/postprocessors/building_type_postprocessor.py
+++ b/safe/postprocessors/building_type_postprocessor.py
@@ -165,7 +165,12 @@ class BuildingTypePostprocessor(Abstract... | Improving building type post processor to allow non integer affected states. | inasafe_inasafe | train | py |
23cb5cbacaf86fd9e32368b1531e281607b32d13 | diff --git a/src/shellingham/_core.py b/src/shellingham/_core.py
index <HASH>..<HASH> 100644
--- a/src/shellingham/_core.py
+++ b/src/shellingham/_core.py
@@ -3,7 +3,7 @@ SHELL_NAMES = (
| {"csh", "tcsh"} # C.
| {"ksh", "zsh", "fish"} # Common alternatives.
| {"cmd", "powershell", "pwsh"} # Microsoft.... | Add "nu" to _core.py to support detect NuShell (#<I>) | sarugaku_shellingham | train | py |
6f9ba620a82f3a1d734c52c126c6db0f3215f84f | diff --git a/wallet/wallet.go b/wallet/wallet.go
index <HASH>..<HASH> 100644
--- a/wallet/wallet.go
+++ b/wallet/wallet.go
@@ -381,8 +381,15 @@ func (l *LightningWallet) handleFundingReserveRequest(req *initFundingReserveMsg
req.resp <- nil
return
}
- changeAddrScript := addrs[0].AddrHash()
- // TODO(roasb... | grab the full script instead of just the hash for the change addr | lightningnetwork_lnd | train | go |
98e8a16100ae2acbd5a57b2f8a7ef353e94ce8f8 | diff --git a/lib/beta_builder/deployment_strategies/testflight.rb b/lib/beta_builder/deployment_strategies/testflight.rb
index <HASH>..<HASH> 100644
--- a/lib/beta_builder/deployment_strategies/testflight.rb
+++ b/lib/beta_builder/deployment_strategies/testflight.rb
@@ -43,21 +43,27 @@ module BetaBuilder
private... | Still fall back to using the prompt if no EDITOR is set | olarivain_xcodebuilder | train | rb |
3862fb8049b3fdfa545c33169f19f07619949ed2 | diff --git a/jre_emul/android/libcore/luni/src/main/java/libcore/io/Posix.java b/jre_emul/android/libcore/luni/src/main/java/libcore/io/Posix.java
index <HASH>..<HASH> 100644
--- a/jre_emul/android/libcore/luni/src/main/java/libcore/io/Posix.java
+++ b/jre_emul/android/libcore/luni/src/main/java/libcore/io/Posix.java
@... | Removed internal bug id that was causing native code comment to be stripped. | google_j2objc | train | java |
98895da4d684b8c53a55217e96192d2693d8f55a | diff --git a/guake/guake_app.py b/guake/guake_app.py
index <HASH>..<HASH> 100644
--- a/guake/guake_app.py
+++ b/guake/guake_app.py
@@ -1441,7 +1441,7 @@ class Guake(SimpleGladeApp):
for index, tab in enumerate(tabs):
if tab.get("panes", False):
... | Fix custom label not working, #<I> | Guake_guake | train | py |
a185f23414339d4f7235ca52efb96143df8c78a3 | diff --git a/src/lokijs.js b/src/lokijs.js
index <HASH>..<HASH> 100644
--- a/src/lokijs.js
+++ b/src/lokijs.js
@@ -1882,7 +1882,7 @@ var loki = (function () {
copyColl.cloneObjects = coll.cloneObjects;
}
- copyColl.maxId = (coll.data.length === 0) ? 0 : coll.data.maxId;
+ copyColl.maxId = (c... | maxId fix for sissbruecker's issue #<I>
collection.maxId was not being restored properly in from
serialized/saved database | techfort_LokiJS | train | js |
34fb475aceaf0e0bae2be3a9b31ae958db5a1455 | diff --git a/src/Model/Behavior/SortableBehavior.php b/src/Model/Behavior/SortableBehavior.php
index <HASH>..<HASH> 100644
--- a/src/Model/Behavior/SortableBehavior.php
+++ b/src/Model/Behavior/SortableBehavior.php
@@ -44,14 +44,26 @@ class SortableBehavior extends Behavior
public function restoreSorting(array $sc... | Fix restoreSorting to take columnScope into consideration | scherersoftware_cake-cktools | train | php |
dd8559ab54b4e995a9a7257bfabbd5cba6c43791 | diff --git a/tornadis/client.py b/tornadis/client.py
index <HASH>..<HASH> 100644
--- a/tornadis/client.py
+++ b/tornadis/client.py
@@ -245,3 +245,6 @@ class Client(object):
tmp_buf = format_args_in_redis_protocol(*args)
buf.append(tmp_buf)
self.__connection.write(buf)
+
+ def get_l... | add a method to get the last state change age | thefab_tornadis | train | py |
c66f3e185d8e266d34e0fcec26bf89141b3c21c7 | diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/ServiceProvider.php
+++ b/src/ServiceProvider.php
@@ -32,7 +32,7 @@ class ServiceProvider extends IlluminateServiceProvider
// so exceptions will be reported to Bugsnag.
if (in_array($this->app->enviro... | Using app() to generate BugsnagHandler, for <I> support | nodes-php_bugsnag | train | php |
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.