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 |
|---|---|---|---|---|---|
f54e393e81b0d0b8d77b4a9c1e237b9cc776434e | diff --git a/src/AlgorithmKruskal.php b/src/AlgorithmKruskal.php
index <HASH>..<HASH> 100644
--- a/src/AlgorithmKruskal.php
+++ b/src/AlgorithmKruskal.php
@@ -106,10 +106,14 @@ class AlgorithmKruskal{
//=> nichts machen
}
- if(count($colorVertices) !== 1){
- throw new Exception('Graph is not connected'... | changed check for connected vertices
changed check for all connected vertices from color check (don't work
for isolated vertices) to check of definition of spanning tree:
edges = vertices - 1 | graphp_algorithms | train | php |
46a0a147daef3ae33b88b84c00263f1e0556c9d1 | diff --git a/dropwizard-views-freemarker/src/main/java/io/dropwizard/views/freemarker/FreemarkerViewRenderer.java b/dropwizard-views-freemarker/src/main/java/io/dropwizard/views/freemarker/FreemarkerViewRenderer.java
index <HASH>..<HASH> 100644
--- a/dropwizard-views-freemarker/src/main/java/io/dropwizard/views/freemar... | Removed unused import as detected by Checkstyle | dropwizard_dropwizard | train | java |
7ecf0984fd105cdfe7643d501195f4ef5b108c55 | diff --git a/base.php b/base.php
index <HASH>..<HASH> 100644
--- a/base.php
+++ b/base.php
@@ -206,6 +206,8 @@ final class Base {
break;
case 'ENCODING':
$val=ini_set('default_charset',$val);
+ if (extension_loaded('mbstring'))
+ mb_internal_encoding($val);
break;
case 'FALLBACK':
$th... | Enable mbstring mapping of ENCODING | bcosca_fatfree-core | train | php |
61523bff1b6fb5c1f74bae12de3a7d297aaf92cc | diff --git a/tests/test_plugin.py b/tests/test_plugin.py
index <HASH>..<HASH> 100644
--- a/tests/test_plugin.py
+++ b/tests/test_plugin.py
@@ -25,6 +25,12 @@ class Plugin:
self.called_postparsing = 0
self.called_precmd = 0
+ ###
+ #
+ # preloop and postloop hooks
+ # which share the same... | add comment headers to better organize code | python-cmd2_cmd2 | train | py |
bcb6c38b472e4384df77fad7a2497e0c129336c6 | diff --git a/server/server.go b/server/server.go
index <HASH>..<HASH> 100644
--- a/server/server.go
+++ b/server/server.go
@@ -263,6 +263,11 @@ func (server *BgpServer) Serve() {
remoteAddr, _, _ := net.SplitHostPort(conn.RemoteAddr().String())
peer, found := server.neighborMap[remoteAddr]
if found {
+ i... | server: immediately close newly accepted connection for non admin-state-up peer | osrg_gobgp | train | go |
bb92a288a5b579dec7974fb7b87839aba001bf1c | diff --git a/src/WorkerPool.js b/src/WorkerPool.js
index <HASH>..<HASH> 100644
--- a/src/WorkerPool.js
+++ b/src/WorkerPool.js
@@ -131,7 +131,7 @@ class PoolWorker {
const { context, request, questionId } = message;
const { data } = this.jobs[id];
data.resolve(context, request, (error, result... | fix(resolve): fix incorrect method for sending message | webpack-contrib_thread-loader | train | js |
4172483c35c7d5a49135c5b1ed483aeebc73fab8 | diff --git a/tornado/test/iostream_test.py b/tornado/test/iostream_test.py
index <HASH>..<HASH> 100644
--- a/tornado/test/iostream_test.py
+++ b/tornado/test/iostream_test.py
@@ -973,9 +973,16 @@ class WaitForHandshakeTest(AsyncTestCase):
server = server_cls(ssl_options=_server_ssl_options())
... | test: Disable TLS <I> in one test
This test started failing on windows CI with an upgrade to python
<I> (which bundles a newer version of openssl). Disable tls <I> for
now.
Possibly related to #<I> | tornadoweb_tornado | train | py |
8e0855231c6e18336a1cede0a12652b693f2428b | diff --git a/pkg/build/strategies/onbuild/onbuild.go b/pkg/build/strategies/onbuild/onbuild.go
index <HASH>..<HASH> 100644
--- a/pkg/build/strategies/onbuild/onbuild.go
+++ b/pkg/build/strategies/onbuild/onbuild.go
@@ -85,7 +85,7 @@ func (b *OnBuild) Build(request *api.Request) (*api.Result, error) {
}
glog.V(2).... | Remove unnecessary Cleanup() method in onbuild | openshift_source-to-image | train | go |
d70ef7d8dbd868eb1c96622288e8f7d341623051 | diff --git a/src/java/azkaban/webapp/servlet/ScheduleServlet.java b/src/java/azkaban/webapp/servlet/ScheduleServlet.java
index <HASH>..<HASH> 100644
--- a/src/java/azkaban/webapp/servlet/ScheduleServlet.java
+++ b/src/java/azkaban/webapp/servlet/ScheduleServlet.java
@@ -439,10 +439,11 @@ public class ScheduleServlet ex... | fix <I> am was <I> pm problem | azkaban_azkaban | train | java |
72f86258d0f6645c64e7e72e139dc50d3985ca72 | diff --git a/spec/test-utils.js b/spec/test-utils.js
index <HASH>..<HASH> 100644
--- a/spec/test-utils.js
+++ b/spec/test-utils.js
@@ -212,6 +212,9 @@ MockStorageApi.prototype = {
* @returns {Promise} promise which resolves (to `event`) when the event has been decrypted
*/
export function awaitDecryption(event) {
... | Add explainer for awaitDecryption | matrix-org_matrix-js-sdk | train | js |
3eba9d4610ebd001addc732e579764832ad4da8c | diff --git a/jenetics/src/main/java/io/jenetics/util/MSeq.java b/jenetics/src/main/java/io/jenetics/util/MSeq.java
index <HASH>..<HASH> 100644
--- a/jenetics/src/main/java/io/jenetics/util/MSeq.java
+++ b/jenetics/src/main/java/io/jenetics/util/MSeq.java
@@ -539,7 +539,8 @@ public interface MSeq<T> extends Seq<T>, Copy... | Improve Seq.of factory method. | jenetics_jenetics | train | java |
1680ee7653f9ef22b3a9e19e24024a2bce9ae834 | diff --git a/spec/unit/veritas/relation/materialized/class_methods/new_spec.rb b/spec/unit/veritas/relation/materialized/class_methods/new_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/veritas/relation/materialized/class_methods/new_spec.rb
+++ b/spec/unit/veritas/relation/materialized/class_methods/new_spec.rb
@... | Add spec for direction coercion in a materialized relation | dkubb_axiom | train | rb |
aa812dfa68e159082a649a2331ea2b9c91161a6c | diff --git a/lib/hocho/version.rb b/lib/hocho/version.rb
index <HASH>..<HASH> 100644
--- a/lib/hocho/version.rb
+++ b/lib/hocho/version.rb
@@ -1,3 +1,3 @@
module Hocho
- VERSION = "0.2.2"
+ VERSION = "0.3.0"
end | <I>
== Features
* SSH: Now use properties[:alternate_ssh_options] when failed to authenticate or
connect. This is useful for initial hocho apply.
* You may now run hocho apply to multiple servers at once.
`--exclude` options are also added.
== Changes
* Raise error when failed to find a provider
* Support passi... | sorah_hocho | train | rb |
608f62a6597f15052be8fd738085257ec2508de6 | diff --git a/tests/testlib.py b/tests/testlib.py
index <HASH>..<HASH> 100644
--- a/tests/testlib.py
+++ b/tests/testlib.py
@@ -31,7 +31,7 @@ def delete_app(service, name):
apps.delete(name)
restart(service)
-def restart(service, timeout=60):
+def restart(service, timeout=120):
"""Restart the gi... | Increase restart timeout .. still fighting some test stability issues. | splunk_splunk-sdk-python | train | py |
1327ee2df7660671e4691b978d443fbbd098cf15 | diff --git a/lib/peddler/marketplace.rb b/lib/peddler/marketplace.rb
index <HASH>..<HASH> 100644
--- a/lib/peddler/marketplace.rb
+++ b/lib/peddler/marketplace.rb
@@ -39,9 +39,6 @@ module Peddler
end
end
- # Caveat: We use supersets Windows-31J and CP1252 in place of Shift_JIS and
- # ISO 8859-1 res... | Remove obsolete comment
Amazon headers now explicitly advertise these encodings. | hakanensari_peddler | train | rb |
d7d05c51f538f81a9b211d6cf73c75474d2416d7 | diff --git a/query_test.go b/query_test.go
index <HASH>..<HASH> 100644
--- a/query_test.go
+++ b/query_test.go
@@ -60,9 +60,21 @@ func TestXPath(t *testing.T) {
FindEach(doc, "//book", func(i int, n *Node) {
c++
})
- if c != len(Find(doc, "//book")) {
+ l := len(Find(doc, "//book"))
+ if c != l {
t.Fatal("cou... | Update query_test.go
Added FindEachWithBreak test | antchfx_xmlquery | train | go |
0231db1aea08f8353ba0341e07d653eda41c3a74 | diff --git a/lib/pyfrc/sim/ui.py b/lib/pyfrc/sim/ui.py
index <HASH>..<HASH> 100644
--- a/lib/pyfrc/sim/ui.py
+++ b/lib/pyfrc/sim/ui.py
@@ -353,7 +353,10 @@ class SimUI(object):
gamedata = tk.LabelFrame(ctrl_frame, text='Game Data')
self.gamedataval = tk.StringVar()
- self.gamedata... | trace_add is a new tk api, use deprecated trace_variable when not present
- Fixes #<I> | robotpy_pyfrc | train | py |
88187871eb13123dab29ead979d7bb87618abf96 | diff --git a/datatableview/utils.py b/datatableview/utils.py
index <HASH>..<HASH> 100644
--- a/datatableview/utils.py
+++ b/datatableview/utils.py
@@ -65,12 +65,10 @@ def get_model_at_related_field(model, attr):
except FieldDoesNotExist:
raise
- if m2m:
- model = field.field.rel.to
- elif d... | Fixes underlying field access
Most commonly, the caller of resolve_orm_path would detect valid
FieldDoesNotExist errors for the user and silently move along, but
there were false positives, causing several relationships to treated as
invalid. | pivotal-energy-solutions_django-datatable-view | train | py |
e2e45184efc5cd723e4d4a3e97890baa48379c41 | diff --git a/serenata_toolbox/chamber_of_deputies/dataset.py b/serenata_toolbox/chamber_of_deputies/dataset.py
index <HASH>..<HASH> 100644
--- a/serenata_toolbox/chamber_of_deputies/dataset.py
+++ b/serenata_toolbox/chamber_of_deputies/dataset.py
@@ -28,10 +28,6 @@ class Dataset:
urlretrieve('http://www2.camar... | remove unnecesssary method because Rosie do not use this deprecated method anymore | okfn-brasil_serenata-toolbox | train | py |
3a5eb12c1cfe1e906a5620ae26e4216b6c98add9 | diff --git a/src/message/connection-endpoint.js b/src/message/connection-endpoint.js
index <HASH>..<HASH> 100644
--- a/src/message/connection-endpoint.js
+++ b/src/message/connection-endpoint.js
@@ -61,7 +61,8 @@ var ConnectionEndpoint = function( options, readyCallback ) {
this._ws = new uws.Server({
server... | Configure uws with the urlPath | deepstreamIO_deepstream.io | train | js |
190c355482fcf094f9621ab1840105bdd0a0036c | diff --git a/resolwe/flow/executors/docker/run.py b/resolwe/flow/executors/docker/run.py
index <HASH>..<HASH> 100644
--- a/resolwe/flow/executors/docker/run.py
+++ b/resolwe/flow/executors/docker/run.py
@@ -91,7 +91,9 @@ class FlowExecutor(LocalFlowExecutor):
return dict(
[
- self... | Mount data_all volume in init container read/write | genialis_resolwe | train | py |
6b242e301377659d907f615dc358d378202fb3d9 | diff --git a/management/azure_mgmt_stor_simple8000_series/lib/version.rb b/management/azure_mgmt_stor_simple8000_series/lib/version.rb
index <HASH>..<HASH> 100644
--- a/management/azure_mgmt_stor_simple8000_series/lib/version.rb
+++ b/management/azure_mgmt_stor_simple8000_series/lib/version.rb
@@ -3,6 +3,6 @@
# Change... | Correcting storsimple version file | Azure_azure-sdk-for-ruby | train | rb |
64029b2c74d0ceb6c90af7cfbf8afe802512e8cb | diff --git a/src/Psalm/Checker/FileChecker.php b/src/Psalm/Checker/FileChecker.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Checker/FileChecker.php
+++ b/src/Psalm/Checker/FileChecker.php
@@ -212,7 +212,8 @@ class FileChecker implements StatementsSource
if ($stmt instanceof PhpParser\Node\Stmt\Class_
... | Make sure we only checking namespaces with names | vimeo_psalm | train | php |
262375768298f18f4ff057b4bbb6847654df0185 | diff --git a/metanl/wordlist.py b/metanl/wordlist.py
index <HASH>..<HASH> 100644
--- a/metanl/wordlist.py
+++ b/metanl/wordlist.py
@@ -181,9 +181,9 @@ def get_frequency(word, lang, default_freq=0, scale=1e9):
>>> int(get_frequency('the', 'en', scale=42))
42
>>> int(get_frequency('normalization', 'en'))
-... | update the word frequency of 'normalization' in the tests | commonsense_metanl | train | py |
7350dcbb9c1c7a4b443b3d4a8ccbe88c6d53f7fc | diff --git a/requery-android/src/main/java/io/requery/android/EntityParceler.java b/requery-android/src/main/java/io/requery/android/EntityParceler.java
index <HASH>..<HASH> 100644
--- a/requery-android/src/main/java/io/requery/android/EntityParceler.java
+++ b/requery-android/src/main/java/io/requery/android/EntityPar... | Fix unmarshalling of custom Parcelables (#<I>) | requery_requery | train | java |
96ae70b0212bf043a7fcf8960aaa77dde2077937 | diff --git a/lib/ansi.js b/lib/ansi.js
index <HASH>..<HASH> 100644
--- a/lib/ansi.js
+++ b/lib/ansi.js
@@ -123,6 +123,8 @@ exports.exec = function(term, data) {
//TODO
return 2;
+ // ESC [
+ // Control sequence introducer (CSI)
case '[':
term.write('\x9b');
return 2; | added doc on CSR code in ansi.js | Gottox_terminal.js | train | js |
ef6ec870032aadf9e28f555855cd3c8b8851a10d | diff --git a/Lib/ufoProcessor/__init__.py b/Lib/ufoProcessor/__init__.py
index <HASH>..<HASH> 100644
--- a/Lib/ufoProcessor/__init__.py
+++ b/Lib/ufoProcessor/__init__.py
@@ -330,9 +330,6 @@ class DesignSpaceProcessor(DesignSpaceDocument):
return dict(), VariationModelMutator(items, self.axes)
... | This addresses issue #<I>. | LettError_ufoProcessor | train | py |
b0ae9077841dd3c66145f0b501f6b231fe1240ca | diff --git a/adodb.go b/adodb.go
index <HASH>..<HASH> 100644
--- a/adodb.go
+++ b/adodb.go
@@ -1,7 +1,6 @@
package adodb
import (
- "errors"
"database/sql"
"database/sql/driver"
"github.com/mattn/go-ole" | sorry we have to remove import errors as well
rt | denisenkom_go-mssqldb | train | go |
ca6b16d92f79f2f9a26ff8c2035bb28eadd8280d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -45,7 +45,9 @@ function expand(options) {
// if no value was retured from `get` or `render`,
// reset the value to `match`
- val = val || match;
+ if (typeof val == 'undefined') {
+ val = match... | only use match if val is undefined | jonschlinkert_expand | train | js |
62c0e0d26ade3cd6baa75703c5989302e7254a74 | diff --git a/spec/wasabi/integration/authentication_spec.rb b/spec/wasabi/integration/authentication_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/wasabi/integration/authentication_spec.rb
+++ b/spec/wasabi/integration/authentication_spec.rb
@@ -28,7 +28,7 @@ describe Wasabi do
operation = wsdl.operation('authe... | fixed incorrect assertion for #soap_action | savonrb_savon | train | rb |
e92914770529ed63b1d1bdee73625895816e7039 | diff --git a/lib/rubocop/cop/style/yoda_condition.rb b/lib/rubocop/cop/style/yoda_condition.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/style/yoda_condition.rb
+++ b/lib/rubocop/cop/style/yoda_condition.rb
@@ -28,7 +28,7 @@ module RuboCop
'<=' => '>=',
'>' => '<',
'>=' => '<='
... | Freeze constant in `Style/YodaCondition` cop | rubocop-hq_rubocop | train | rb |
a207711c949c18dac8222baaec16ff4beb7aae96 | diff --git a/modules/social_features/social_user/src/ContextProvider/UserRouteContext.php b/modules/social_features/social_user/src/ContextProvider/UserRouteContext.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_user/src/ContextProvider/UserRouteContext.php
+++ b/modules/social_features/social_use... | Revert context id as it was before to fix an issue where the profile hero block disappear after saving
When context had id 'user' some blocks were saved with this context_mapping. After changing id to 'social_user' and saving e.g. profile hero block, it disappears when saved. We revert it to fix this issue. | goalgorilla_open_social | train | php |
e42e5f94781aea7f4b9448149ff7a4794d172907 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -76,8 +76,3 @@ if(!module.parent) {
new MpgPlayer()
.play(process.argv[2]);
}
-
-if(!module.parent) {
- new MpgPlayer()
- .play(process.argv[2]);
-} | Fixed duplicated toplevel code
The toplevel code for this (playing an MPEG by itself) was duplicate, so two streams would be opened instead of one. Thanks @roccomuso ! | dominictarr_mpg123 | train | js |
c98e36270618e0344d8651a1c71919d28e692f00 | diff --git a/mangooio-core/src/main/java/io/mangoo/routing/handlers/RequestHandler.java b/mangooio-core/src/main/java/io/mangoo/routing/handlers/RequestHandler.java
index <HASH>..<HASH> 100644
--- a/mangooio-core/src/main/java/io/mangoo/routing/handlers/RequestHandler.java
+++ b/mangooio-core/src/main/java/io/mangoo/ro... | logout cookie is now http only and optional secure | svenkubiak_mangooio | train | java |
85b78a09974f29672a4787066b00224563a5430a | diff --git a/routes/emails.go b/routes/emails.go
index <HASH>..<HASH> 100644
--- a/routes/emails.go
+++ b/routes/emails.go
@@ -352,7 +352,8 @@ func EmailsCreate(c web.C, w http.ResponseWriter, r *http.Request) {
})
env.Log.WithFields(logrus.Fields{
- "error": err.Error(),
+ "error": err.Error(),
+ "rawer... | Added raw error logging to NATS pushing | lavab_api | train | go |
ba01e1698918cd1c777516a42bac4caa725b1249 | diff --git a/src/AbstractGeotools.php b/src/AbstractGeotools.php
index <HASH>..<HASH> 100644
--- a/src/AbstractGeotools.php
+++ b/src/AbstractGeotools.php
@@ -88,14 +88,14 @@ abstract class AbstractGeotools
/**
* The origin coordinate.
*
- * @var CoordinateInterface
+ * @var \League\Geotools\Co... | fixed from and to phpDoc | thephpleague_geotools | train | php |
675f08b12daef33d0a91409deb0a1bf5e4df0483 | diff --git a/galpy/potential/verticalPotential.py b/galpy/potential/verticalPotential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential/verticalPotential.py
+++ b/galpy/potential/verticalPotential.py
@@ -108,8 +108,10 @@ def RZToverticalPotential(RZPot,R):
for pot in RZPot:
if isinstance(pot,li... | Better testing of inputs in toVertical functions | jobovy_galpy | train | py |
b39786887bdece65dc87f61ef61fc7c20e132442 | diff --git a/testrunner.js b/testrunner.js
index <HASH>..<HASH> 100644
--- a/testrunner.js
+++ b/testrunner.js
@@ -107,14 +107,20 @@ function runTest() {
function test(name, callback, nowait) {
if(_config.currentModule)
name = _config.currentModule + " module: " + name;
-
+ var lifecycle = _config.moduleLifecyc... | qunit: added support for module level setup/teardown callbacks | JamesMGreene_qunit-assert-html | train | js |
b2e0632553b4d559819dbba7655deeb26cd68f3c | diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -391,6 +391,7 @@ class Group(GroupMixin, Command):
yield from self.callback(*ctx.args, **ctx.kwargs)
if ctx.invoked_subcommand... | [commands] Propagate invoked_with to subcommands. | Rapptz_discord.py | train | py |
55a399eec26a837a1a6814103600ba4f197d9ec7 | diff --git a/src/test/java/hex/DeepLearningProstateTest.java b/src/test/java/hex/DeepLearningProstateTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/hex/DeepLearningProstateTest.java
+++ b/src/test/java/hex/DeepLearningProstateTest.java
@@ -118,6 +118,8 @@ public class DeepLearningProstateTest extends TestUti... | Add test for number of processed samples. | h2oai_h2o-2 | train | java |
129926ea6fb6e2fc9dafbaf2014c60f49dbc860a | diff --git a/src/main/java/com/github/phantomthief/util/MoreFunctions.java b/src/main/java/com/github/phantomthief/util/MoreFunctions.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/phantomthief/util/MoreFunctions.java
+++ b/src/main/java/com/github/phantomthief/util/MoreFunctions.java
@@ -28,10 +28,24 ... | add new catching and throwing overrides for runnable (#6) | PhantomThief_more-lambdas-java | train | java |
92c699c33e7959940ddd42e55386d09f25522457 | diff --git a/symphony/assets/js/src/symphony.duplicator.js b/symphony/assets/js/src/symphony.duplicator.js
index <HASH>..<HASH> 100644
--- a/symphony/assets/js/src/symphony.duplicator.js
+++ b/symphony/assets/js/src/symphony.duplicator.js
@@ -310,6 +310,7 @@
duplicator.symphonyCollapsible({
items: '.instance... | Collapsible must ignore destructor clicks
This avoid a conflict where a click on the destructor would make the
collapsible expand the item. | symphonycms_symphony-2 | train | js |
8ff02f24f2e0333ca97c6f3541ea128645fc4d8d | diff --git a/util/randomword/generator.go b/util/randomword/generator.go
index <HASH>..<HASH> 100644
--- a/util/randomword/generator.go
+++ b/util/randomword/generator.go
@@ -156,6 +156,7 @@ oribi
oryx
ostrich
otter
+panda
pangolin
panther
parrot
@@ -175,7 +176,6 @@ sable
serval
shark
sitatunga
-snake
springh... | Replace noun in random word generator list
[Finishes #<I>] | cloudfoundry_cli | train | go |
34169a3512af0d6c7a40f2949a41b91fae64f028 | diff --git a/src/config/createLatestConfig.js b/src/config/createLatestConfig.js
index <HASH>..<HASH> 100644
--- a/src/config/createLatestConfig.js
+++ b/src/config/createLatestConfig.js
@@ -5,15 +5,16 @@ const classicPreset = [ "latest", {
modules: false
}
}]
-
+https://webpack.js.org/configuration/target/#ta... | Added electron target, reduced Chrome to <I> (same as electron <I>), increased node to <I> (same as electron as well) | sebastian-software_preppy | train | js |
76d0eff26261f8a08767d48a6ab25ed727eed942 | diff --git a/mbuild/pattern.py b/mbuild/pattern.py
index <HASH>..<HASH> 100755
--- a/mbuild/pattern.py
+++ b/mbuild/pattern.py
@@ -207,7 +207,7 @@ class DiskPattern(Pattern):
golden_angle = np.pi * (3 - np.sqrt(5))
theta = golden_angle * np.arange(n)
- points = np.zeros((n, 2))
+ point... | DiskPattern was initialized with only 2 coordinate fields, not 3 and was therefore not working with the coordinate transform; this has been fixed | mosdef-hub_mbuild | train | py |
cb51eeaefe7a03197347eb7fb1fb9a8a06edc081 | diff --git a/tests/app/service/FakeTranslator.php b/tests/app/service/FakeTranslator.php
index <HASH>..<HASH> 100644
--- a/tests/app/service/FakeTranslator.php
+++ b/tests/app/service/FakeTranslator.php
@@ -23,7 +23,7 @@ final class FakeTranslator implements Nette\Localization\ITranslator
* @param int|null
* @re... | Update FakeTranslator.php | aleswita_FormRenderer | train | php |
c357633df31e662ed7e22b3fd5731ccfe41dc9e6 | diff --git a/src/utils/vnode.js b/src/utils/vnode.js
index <HASH>..<HASH> 100644
--- a/src/utils/vnode.js
+++ b/src/utils/vnode.js
@@ -15,15 +15,28 @@ export function findModel (vnode) {
return !!(vnode.data.directives) && find(vnode.data.directives, d => d.name === 'model');
}
+function extractChildren (vnode) {... | fix: handle non-existing vnode children | baianat_vee-validate | train | js |
e028aefbc5e552049cbd3e7039d5bf7f8a93aede | diff --git a/lib/motion/project/cocoapods.rb b/lib/motion/project/cocoapods.rb
index <HASH>..<HASH> 100644
--- a/lib/motion/project/cocoapods.rb
+++ b/lib/motion/project/cocoapods.rb
@@ -55,7 +55,7 @@ module Motion::Project
# Install the resource which will be generated after built
if App.config.pods.... | stop build
Because it might cause following error.
```
duplicate symbol _OBJC_IVAR_$_BITHockeyManager._appEnvironment in:
./vendor/Pods/HockeySDK/HockeySDK-iOS/HockeySDK.embeddedframework/HockeySDK.framework/HockeySDK(BITHockeyManager.o)
``` | HipByte_motion-cocoapods | train | rb |
fc93e066e3e9881c1b667e677954ba625db98ca2 | diff --git a/config/webpack.prod.js b/config/webpack.prod.js
index <HASH>..<HASH> 100644
--- a/config/webpack.prod.js
+++ b/config/webpack.prod.js
@@ -127,6 +127,8 @@ module.exports = webpackMerge(commonConfig, {
beautify: false, //prod
// mangle: { screw_ie8 : true }, //prod
+ mangle: false,
+ ... | chore(webpack.prod): mangle false | inchingorg_xdata-web | train | js |
50d4b8be970ab65f00895587aeea4a379cd7a762 | diff --git a/lib/stackup/rake_tasks.rb b/lib/stackup/rake_tasks.rb
index <HASH>..<HASH> 100644
--- a/lib/stackup/rake_tasks.rb
+++ b/lib/stackup/rake_tasks.rb
@@ -61,6 +61,11 @@ module Stackup
stackup "inspect"
end
+ desc "Show #{stack} stack outputs only"
+ task "outputs" do
+ ... | Add stack outputs as a rake task | realestate-com-au_stackup | train | rb |
b1efeb9e0f07bd01b2e54ccc2abd0b4f58a41fcd | diff --git a/lib/db/mysql.js b/lib/db/mysql.js
index <HASH>..<HASH> 100644
--- a/lib/db/mysql.js
+++ b/lib/db/mysql.js
@@ -299,6 +299,10 @@ module.exports = utils.inherit(Object, {
}
}
+ if (!bin.settings) {
+ bin.settings = {};
+ }
+
return bin;
}
});
diff --git a/lib/db/sqlite.js b/l... | Force in default settings value - should really be in DB, but this is the defaults function, right? | jsbin_jsbin | train | js,js |
7272470df5cf43d723936daf392c7e3f21abdb27 | diff --git a/abook.py b/abook.py
index <HASH>..<HASH> 100644
--- a/abook.py
+++ b/abook.py
@@ -252,6 +252,7 @@ class Abook(object):
filename = book.filename
book.filename = None
entries = book.write()
+ entries = [e for e in entries if e is not '']
entries = [e.replace(' = ', ... | Remove empty lines before writing abook file
This fixes 5ee<I>, so the file does not accumulate new lines. | jspricke_python-abook | train | py |
66f0c91153f1fd0457d67743adfbfeee4e5f516d | diff --git a/ykman/cli/__main__.py b/ykman/cli/__main__.py
index <HASH>..<HASH> 100644
--- a/ykman/cli/__main__.py
+++ b/ykman/cli/__main__.py
@@ -251,7 +251,9 @@ def list_keys(ctx, serials, readers):
'Failed to establish CCID context. Is the pcscd service running?')
# List descriptors that failed t... | Make fallback log message in list_keys more correct
If flow passes the `ctx.exit()` on line <I>, it will always reach this
log statement, even if no devices did in fact fail. | Yubico_yubikey-manager | train | py |
694275a715a00e0e880d1199c6adf8a6d6987da0 | diff --git a/config/webpack.core.js b/config/webpack.core.js
index <HASH>..<HASH> 100644
--- a/config/webpack.core.js
+++ b/config/webpack.core.js
@@ -49,7 +49,7 @@ module.exports = {
}, PACKAGE.config.html || {}))
],
resolve: {
- root: [NODE_MODULES, CWD_NODE_MODULES],
+ root: [SRC, NODE_MODULES, CWD_... | Add `src/` directory to webpack's resolve.root
Adding the `src/` directory to resolve.root allows developers to import
modules without having to give the relative path to the current file
imoprting the module. This makes it easier to refactor the code as it's
easier to reason about module paths relative to the projec... | mozilla_neo | train | js |
d94c322b06b0a9d9104676bc9b9d151aad895918 | diff --git a/lib/kafkaClient.js b/lib/kafkaClient.js
index <HASH>..<HASH> 100644
--- a/lib/kafkaClient.js
+++ b/lib/kafkaClient.js
@@ -92,10 +92,13 @@ util.inherits(KafkaClient, Client);
*/
function parseHost (hostString) {
- const piece = hostString.split(':');
+ const ip = hostString.substring(0, hostStrin... | Support for IPv6 (#<I>) | SOHU-Co_kafka-node | train | js |
b9e8c07fbea7f5bb4a39d6c452ab4047e865096a | diff --git a/aws/validators.go b/aws/validators.go
index <HASH>..<HASH> 100644
--- a/aws/validators.go
+++ b/aws/validators.go
@@ -2479,7 +2479,7 @@ var validateCloudWatchEventCustomEventBusName = validation.All(
var validateCloudWatchEventBusName = validation.All(
validation.StringLenBetween(1, 256),
- validation... | Fix validation for CloudWatch event bus name
Now validation matches the pattern described in [AWS docs][1]. Slash
in names allows to create event buses associated with partner event
sources (where names might contain slashes), since both names should match.
[1]: <URL> | terraform-providers_terraform-provider-aws | train | go |
4ec515df5fa7777872032bcd49effff038745d26 | diff --git a/res/middleware/cordova/3.5.0/android/plugins/org.apache.cordova.battery-status/www/battery.js b/res/middleware/cordova/3.5.0/android/plugins/org.apache.cordova.battery-status/www/battery.js
index <HASH>..<HASH> 100644
--- a/res/middleware/cordova/3.5.0/android/plugins/org.apache.cordova.battery-status/www/... | [res] Upgrade to cordova-plugin-battery-status@<I> | phonegap_connect-phonegap | train | js |
a28aa933a6613f480658d5cc61369e3e1efc346a | diff --git a/system/I18n/Time.php b/system/I18n/Time.php
index <HASH>..<HASH> 100644
--- a/system/I18n/Time.php
+++ b/system/I18n/Time.php
@@ -256,7 +256,10 @@ class Time extends DateTime
*/
public static function createFromTimestamp(int $timestamp, $timezone = null, ?string $locale = null)
{
- r... | Update Time.php
previously not updating date even though time zone has been set | codeigniter4_CodeIgniter4 | train | php |
1f34a79373854e36c7bf77ffa70688cda6d27a5c | diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/cache/mem_cache_store.rb
+++ b/activesupport/lib/active_support/cache/mem_cache_store.rb
@@ -31,7 +31,7 @@ module ActiveSu... | Make MemCacheStore work with Ruby <I> and -Ku | rails_rails | train | rb |
766e6ff9442abe05620747ce8fcd64e26e8e88be | diff --git a/core/server/api/authentication.js b/core/server/api/authentication.js
index <HASH>..<HASH> 100644
--- a/core/server/api/authentication.js
+++ b/core/server/api/authentication.js
@@ -189,8 +189,10 @@ authentication = {
if (ownerUser) {
return dataProvider.User.setup(setupUser, ... | Add owner role to setup user
closes #<I>
- added owner role to user that is added if no user is available | TryGhost_Ghost | train | js |
7070927b005529b09b350fc78317bf651eb3acb1 | diff --git a/services/OauthService.php b/services/OauthService.php
index <HASH>..<HASH> 100644
--- a/services/OauthService.php
+++ b/services/OauthService.php
@@ -104,6 +104,15 @@ class OauthService extends BaseApplicationComponent
// --------------------------------------------------------------------
+ pu... | Added providerCallbackUrl | dukt_oauth | train | php,php |
2b8ed80da0b442818a2e3a06e331e149be484bfa | diff --git a/gin.go b/gin.go
index <HASH>..<HASH> 100644
--- a/gin.go
+++ b/gin.go
@@ -294,7 +294,7 @@ func (engine *Engine) handleHTTPRequest(context *Context) {
return
} else if httpMethod != "CONNECT" && path != "/" {
- if tsr && engine.RedirectFixedPath {
+ if tsr && engine.RedirectTrailingSlash {
... | RedirectTrailingSlash has no effect unless RedirectFixedPath is set
Which is not likely the desired behavior.
RedirectTrailingSlash setting is meant to cause a redirect, but the code is never called because the setting wasn't being checked. Instead RedirectFixedPath was being checked. | gin-gonic_gin | train | go |
9c046db42b2abea01f3bb803e213a1586e424b0f | diff --git a/src/GridView.php b/src/GridView.php
index <HASH>..<HASH> 100644
--- a/src/GridView.php
+++ b/src/GridView.php
@@ -36,10 +36,10 @@ class GridView extends \kartik\grid\GridView
public static $detailViewClass = 'hiqdev\higrid\DetailView';
/**
- * Runs DetailWidget based on GridView
+ * Run... | improved doc about 'gridOptions' | hiqdev_yii2-higrid | train | php |
d68514c168bd867db82c6dc824451ec5c74a55bb | diff --git a/railties/lib/rails/generators/migration.rb b/railties/lib/rails/generators/migration.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators/migration.rb
+++ b/railties/lib/rails/generators/migration.rb
@@ -10,22 +10,22 @@ module Rails
extend ActiveSupport::Concern
attr_reader :mig... | migrations Class methods have nodoc, fix it for API [ci skip] | rails_rails | train | rb |
427bf87d39c6098053d14a4722d9f6c399843add | diff --git a/lang/fr/moodle.php b/lang/fr/moodle.php
index <HASH>..<HASH> 100644
--- a/lang/fr/moodle.php
+++ b/lang/fr/moodle.php
@@ -158,7 +158,7 @@ $string['checklanguage'] = 'Tester la langue';
$string['childcoursenotfound'] = 'Le cours enfant n\'a pas �t� trouv� !';
$string['choose'] = 'Choisir';
$string['... | Initial commit for multi enrolment plugin feature | moodle_moodle | train | php |
fdb1cb3c9cb8ec8fb2631439c04771d652bba185 | diff --git a/eventsourcing/tests/test_transcoding.py b/eventsourcing/tests/test_transcoding.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/tests/test_transcoding.py
+++ b/eventsourcing/tests/test_transcoding.py
@@ -1,4 +1,5 @@
import datetime
+from collections import deque
from unittest import TestCase
from uuid... | Added test for transcoding deque. | johnbywater_eventsourcing | train | py |
571ef828e6c8515cd13ed1e9c0ea0330aae5c58c | diff --git a/builder/osc/bsusurrogate/step_snapshop_volumes.go b/builder/osc/bsusurrogate/step_snapshop_volumes.go
index <HASH>..<HASH> 100644
--- a/builder/osc/bsusurrogate/step_snapshop_volumes.go
+++ b/builder/osc/bsusurrogate/step_snapshop_volumes.go
@@ -25,7 +25,7 @@ type StepSnapshotVolumes struct {
func (s *Ste... | fix: remove pointer when vm is getting | hashicorp_packer | train | go |
8e3e7141b1490895caa31d33c40305de452f57f6 | diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -222,8 +222,6 @@
_load: function(properties) {
this._maybeValid = true;
-
- this._id = properties.__id;
},
_validate: funct... | Remove unused instance variable from Client.Resource | splunk_splunk-sdk-javascript | train | js |
968abd0dc0cce3858d3ae45f570bcca5e183e9dc | diff --git a/app/Http/Routes/AdminRoutes.php b/app/Http/Routes/AdminRoutes.php
index <HASH>..<HASH> 100644
--- a/app/Http/Routes/AdminRoutes.php
+++ b/app/Http/Routes/AdminRoutes.php
@@ -198,9 +198,9 @@ class AdminRoutes
// Internal API.
// This should only be used for making requests within t... | controller class names made case sensitive for router | CachetHQ_Cachet | train | php |
2e89a70934e615c4275579a70a1f8a92da3996d9 | diff --git a/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/collector/CollectorJsonUtils.java b/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/collector/CollectorJsonUtils.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/collector/CollectorJsonUtils.java
+++ b/dev/com.ibm.ws.logging/sr... | Issue #<I> change in collectorjsonutil - startsWith | OpenLiberty_open-liberty | train | java |
399d967bfdbf985fa88c7615fcedb1dc7d2fb081 | diff --git a/jquery.bootstrap-growl.js b/jquery.bootstrap-growl.js
index <HASH>..<HASH> 100644
--- a/jquery.bootstrap-growl.js
+++ b/jquery.bootstrap-growl.js
@@ -24,12 +24,13 @@
if (options.top_offset) {
options.offset = {from: 'top', amount: options.top_offset};
}
- var current = $('.bootstrap-g... | Fix stack-up calculation when previous alerts have disappeared before new ones added | ifightcrime_bootstrap-growl | train | js |
e6b312f7d6187d4e0b7641acdf9ac4118b077610 | diff --git a/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemoncontroller.go b/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemoncontroller.go
index <HASH>..<HASH> 100644
--- a/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemoncontroller.go
+++ b/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemoncontroller.... | UPSTREAM: <I>: Fix pod and node names switched around in error message. | openshift_origin | train | go |
2d702dd21457b5b112c8a5eeadd35dab97c168da | diff --git a/src/BootstrapForm.php b/src/BootstrapForm.php
index <HASH>..<HASH> 100644
--- a/src/BootstrapForm.php
+++ b/src/BootstrapForm.php
@@ -77,6 +77,7 @@ class BootstrapForm
if (isset($options['model']))
{
return $this->form->model($options['model'], $options);
+ array_f... | Remove model from the options array (#8) | dwightwatson_bootstrap-form | train | php |
d188056eff208e44f547eb080aff96ec02e37cc1 | diff --git a/c7n/tags.py b/c7n/tags.py
index <HASH>..<HASH> 100644
--- a/c7n/tags.py
+++ b/c7n/tags.py
@@ -1066,10 +1066,12 @@ class CopyRelatedResourceTag(Tag):
if k in tag_keys and resource_tags.get(k) != v}
if not tags:
return
+ if not isinstance(tag_action, Universa... | aws - fix copy-related for universal/resourcegroup tags (#<I>) | cloud-custodian_cloud-custodian | train | py |
fb858eabaafc138c18b4794171f3cee1bd40b3be | diff --git a/lib/structures/Message.js b/lib/structures/Message.js
index <HASH>..<HASH> 100644
--- a/lib/structures/Message.js
+++ b/lib/structures/Message.js
@@ -67,7 +67,7 @@ class Message extends Base {
if(data.author) {
if(data.author.discriminator !== "0000") {
- this.author ... | Update cached user on message create (#<I>) | abalabahaha_eris | train | js |
cab8a444ef2523f02d401b1ecaef3470c505c507 | diff --git a/src/FilesystemRegistry.php b/src/FilesystemRegistry.php
index <HASH>..<HASH> 100644
--- a/src/FilesystemRegistry.php
+++ b/src/FilesystemRegistry.php
@@ -105,7 +105,7 @@ class FilesystemRegistry
protected static function existsAndVarsCount($aliasConfigKey)
{
return Configure::check($alia... | Fix to have MemoryAdapter working
MemoryAdapter does not have constructor.
Instead of counting `vars` elements I propose just to check if `vars` exists as array, because empty `vars` is valid configuration in case of MemoryAdapter. | WyriHaximus_FlyPie | train | php |
d9eb65cd021b9ce5094127c4c5eff08d779124be | diff --git a/daemon/pod/container.go b/daemon/pod/container.go
index <HASH>..<HASH> 100644
--- a/daemon/pod/container.go
+++ b/daemon/pod/container.go
@@ -568,7 +568,13 @@ func (c *Container) describeContainer(cjson *dockertypes.ContainerJSON) (*runv.C
cdesc.StopSignal = "TERM"
}
- if cjson.Config.User != "" {
+... | respect spec user group config
Override image user group config if spec user group config is present. | hyperhq_hyperd | train | go |
4d2ae4536f5c70f5ef21ce9f3387a9c5a5a8358d | diff --git a/src/ActionCreator.js b/src/ActionCreator.js
index <HASH>..<HASH> 100644
--- a/src/ActionCreator.js
+++ b/src/ActionCreator.js
@@ -79,7 +79,7 @@ export default class ActionCreator {
constructor(options) {
const { prefix, actions } = options;
- this.addOnStatus = [];
+ this.asyncSuffixes = []... | [ActionCreator] Rename addOnStatus as asyncSuffixes. | marcosun_redux-action-boilerplate | train | js,js |
24df602a958f3d1b0c8e0642d46ffac05e47b71f | diff --git a/pandas/core/arrays/sparse/array.py b/pandas/core/arrays/sparse/array.py
index <HASH>..<HASH> 100644
--- a/pandas/core/arrays/sparse/array.py
+++ b/pandas/core/arrays/sparse/array.py
@@ -452,7 +452,7 @@ class SparseArray(PandasObject, ExtensionArray, ExtensionOpsMixin):
return cls._simple_new(arr... | CLN: clean up pandas core arrays (#<I>) | pandas-dev_pandas | train | py |
3caa94c10a1a6369ee14dc8131f83afdce4aab62 | diff --git a/tests/test_logging.py b/tests/test_logging.py
index <HASH>..<HASH> 100644
--- a/tests/test_logging.py
+++ b/tests/test_logging.py
@@ -38,9 +38,7 @@ class TestLogging(TestCase):
thread.start()
thread.join()
- self.assertEqual(logs, [
- (av.logging.INFO, 'test', ... | Make logging test more specific.
This was catching extra logs, e.g.:
(<I>, 'AVIOContext', u'Statistics: <I> bytes read, 2 seeks\n') | mikeboers_PyAV | train | py |
895b535bc0f7521995c8a77b1c1ec10d36e15f02 | diff --git a/library/src/main/java/com/mikepenz/materialize/util/UIUtils.java b/library/src/main/java/com/mikepenz/materialize/util/UIUtils.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/mikepenz/materialize/util/UIUtils.java
+++ b/library/src/main/java/com/mikepenz/materialize/util/UIUtils.java
@@ -3... | * fix crash if trying to resolve a simple color from theme
* FIX <URL> | mikepenz_Materialize | train | java |
1f7ab39bc164490ded43df3780762bebd292a31d | diff --git a/ipmag.py b/ipmag.py
index <HASH>..<HASH> 100755
--- a/ipmag.py
+++ b/ipmag.py
@@ -645,7 +645,7 @@ def plot_net(fignum):
Ytick.append(XY[1])
plt.plot(Xtick,Ytick,'k')
plt.axis("equal")
- plt.tight_layout()
+ plt.axis((-1.05,1.05,-1.05,1.05))
def plot_di(dec,inc,color='k... | update plot_net so there isn't wide buffer around equal area plots | PmagPy_PmagPy | train | py |
5cff9bf1548cc0fe45cb0060f86e99d069721d2b | diff --git a/angr/simos/javavm.py b/angr/simos/javavm.py
index <HASH>..<HASH> 100644
--- a/angr/simos/javavm.py
+++ b/angr/simos/javavm.py
@@ -29,6 +29,9 @@ class SimJavaVM(SimOS):
self.native_libs = [obj for obj in self.project.loader.initial_load_objects
if not isinst... | Add more helpful error message, if no native libraries were loaded. | angr_angr | train | py |
6fea05e04ce204ce055e9e09ad5c384b2750733f | diff --git a/lib/fluent/mixin/deis.rb b/lib/fluent/mixin/deis.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/mixin/deis.rb
+++ b/lib/fluent/mixin/deis.rb
@@ -21,7 +21,10 @@ module Fluent
def build_series(message)
metric = parse_router_log(message['log'], message['kubernetes']['host'])
if metri... | Using current nanosecond resolution to avoid replacing points | topfreegames_fluent-plugin-deis-kafka | train | rb |
d692c08ff01718061510796775950a6113fb5b7c | diff --git a/lib/nesta/app.rb b/lib/nesta/app.rb
index <HASH>..<HASH> 100644
--- a/lib/nesta/app.rb
+++ b/lib/nesta/app.rb
@@ -106,11 +106,10 @@ module Nesta
end
def local_stylesheet?
- # Checks for the existence of local/views/local.sass. Useful for
+ # Checks for the existence of views... | Updated references to local/app.rb. | gma_nesta | train | rb,rb |
28a8577f825e541098ada954cbe8d380811b1561 | diff --git a/test/ral/types/host.rb b/test/ral/types/host.rb
index <HASH>..<HASH> 100755
--- a/test/ral/types/host.rb
+++ b/test/ral/types/host.rb
@@ -147,8 +147,15 @@ class TestHost < Test::Unit::TestCase
}
end
+ def test_invalid_hostname
+ host = mkhost()
+
+ assert_raise(Puppet::Erro... | Added hostname test for hosts type | puppetlabs_puppet | train | rb |
fd06b08beece50186e0d09b689dca8b394d0c90e | diff --git a/app/models/concerns/foreman_monitoring/host_extensions.rb b/app/models/concerns/foreman_monitoring/host_extensions.rb
index <HASH>..<HASH> 100644
--- a/app/models/concerns/foreman_monitoring/host_extensions.rb
+++ b/app/models/concerns/foreman_monitoring/host_extensions.rb
@@ -5,7 +5,7 @@ module ForemanMon... | destroy monitoring_results when host is deleted | theforeman_foreman_monitoring | train | rb |
05319d4f0f881be507eeeafe27ae63cfd4b6de7c | diff --git a/lib/fog/rackspace/models/queues/claim.rb b/lib/fog/rackspace/models/queues/claim.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/rackspace/models/queues/claim.rb
+++ b/lib/fog/rackspace/models/queues/claim.rb
@@ -80,12 +80,14 @@ module Fog
})
attributes[:messages] = messages.collect do... | [rackspace|queues] updating set_messages= to populate the claim_id attribute on messages in order for destroy to work properly. | fog_fog | train | rb,rb |
e9f7aa37247fa1daff66f6232c35912de9a66604 | diff --git a/src/TwbBundle/Form/View/Helper/TwbBundleFormCollection.php b/src/TwbBundle/Form/View/Helper/TwbBundleFormCollection.php
index <HASH>..<HASH> 100644
--- a/src/TwbBundle/Form/View/Helper/TwbBundleFormCollection.php
+++ b/src/TwbBundle/Form/View/Helper/TwbBundleFormCollection.php
@@ -33,7 +33,14 @@ class TwbB... | Set twb-layout to child of fieldset/collection | neilime_zf2-twb-bundle | train | php |
268e962a33d1786ded1b8897efcff4672f2f898a | diff --git a/spec/helpers/socializer/application_helper_spec.rb b/spec/helpers/socializer/application_helper_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/helpers/socializer/application_helper_spec.rb
+++ b/spec/helpers/socializer/application_helper_spec.rb
@@ -7,5 +7,24 @@ module Socializer
expect(helper.sig... | test the current_user? helper method | socializer_socializer | train | rb |
53bad4e301c3958183d0ff797f2ab2136a2f155f | diff --git a/aloe_django/steps/models.py b/aloe_django/steps/models.py
index <HASH>..<HASH> 100644
--- a/aloe_django/steps/models.py
+++ b/aloe_django/steps/models.py
@@ -201,10 +201,10 @@ def _dump_model(model, attrs=None):
for field in model._meta.many_to_many:
vals = getattr(model, field.name)
- ... | Fix number of brackets on list.append | aloetesting_aloe_django | train | py |
33fc8dc1a70ec9089e4372efa1604c454f948c6a | diff --git a/test/ja/ja_standard.test.js b/test/ja/ja_standard.test.js
index <HASH>..<HASH> 100644
--- a/test/ja/ja_standard.test.js
+++ b/test/ja/ja_standard.test.js
@@ -99,7 +99,24 @@ test("Test - Single Expression", function() {
expect(expectDate.getTime()).toBeCloseTo(resultDate.getTime())
}
-
... | Added test for 令和元年(Japanese reiwa era 1) (=<I>) | wanasit_chrono | train | js |
cd5bfbb63983e5e7e39f67f3c320618c41095053 | diff --git a/lib/Grid/Basic.php b/lib/Grid/Basic.php
index <HASH>..<HASH> 100644
--- a/lib/Grid/Basic.php
+++ b/lib/Grid/Basic.php
@@ -275,14 +275,14 @@ class Grid_Basic extends CompleteLister
*
* @return $this
*/
- function setFormatter($field, $formatter)
+ function setFormatter($field, $forma... | allow 3rd argument to Grid::setFormatter (options) for consistency | atk4_atk4 | train | php |
10c10b12913d6cb040fb0bfac327ddf1cc80f451 | diff --git a/tests/test_video.py b/tests/test_video.py
index <HASH>..<HASH> 100644
--- a/tests/test_video.py
+++ b/tests/test_video.py
@@ -618,3 +618,17 @@ def test_that_reload_return_the_same_object(plex):
episode_section_get_key = episode_section_get.key
assert episode_library_search_key == episode_library_... | standalone exists test
test for validating reload provided expected results | pkkid_python-plexapi | train | py |
3b34f82d6ca57c8fb913c18e22eaeb649f12eade | diff --git a/actool/validate.go b/actool/validate.go
index <HASH>..<HASH> 100644
--- a/actool/validate.go
+++ b/actool/validate.go
@@ -30,7 +30,7 @@ var (
Usage: "[--type=TYPE] FILE...",
Run: runValidate,
}
- types = []string{
+ validateTypes = []string{
typeAppImage,
typeImageLayout,
typ... | validate: rename variable "types"
Otherwise, the variable name conflicts with the import
github.com/appc/spec/schema/types | appc_spec | train | go |
0611f1b1f3ad9bdbd493623a73fb40cc18eeef3d | diff --git a/cake/console/libs/tasks/model.php b/cake/console/libs/tasks/model.php
index <HASH>..<HASH> 100644
--- a/cake/console/libs/tasks/model.php
+++ b/cake/console/libs/tasks/model.php
@@ -741,6 +741,7 @@ class ModelTask extends Shell {
$filename = $path . Inflector::underscore($name) . '.php';
$this->out("... | Flushing the CR after a model file is created, so a controller can be full baked without the need of restarting an bake session. Fixes #<I>. | cakephp_cakephp | train | php |
7d62430cc849d1f38a7069e518574f3ec04133ec | diff --git a/cqlengine/connection.py b/cqlengine/connection.py
index <HASH>..<HASH> 100644
--- a/cqlengine/connection.py
+++ b/cqlengine/connection.py
@@ -141,6 +141,7 @@ class ConnectionPool(object):
con = self.get()
cur = con.cursor()
cur.execute(query, params)
+ LOG.... | Restore CQL query logging at DEBUG level. | cqlengine_cqlengine | train | py |
683abf097752901d0b76a7fab4ad90c67ec8d864 | diff --git a/src/com/google/javascript/jscomp/SyntacticScopeCreator.java b/src/com/google/javascript/jscomp/SyntacticScopeCreator.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/SyntacticScopeCreator.java
+++ b/src/com/google/javascript/jscomp/SyntacticScopeCreator.java
@@ -164,8 +164,14 @@ publ... | Special case the single name case in SyntaticScopeCreator#declareLHS to avoid the overhead of dealing with destructuring in the most common case.
PiperOrigin-RevId: <I> | google_closure-compiler | train | java |
a9910e0f521b6be43b62c658b4e142072c0690d2 | diff --git a/src/featherlight.gallery.js b/src/featherlight.gallery.js
index <HASH>..<HASH> 100644
--- a/src/featherlight.gallery.js
+++ b/src/featherlight.gallery.js
@@ -25,11 +25,11 @@
},
type: {
image: true
- },
- /* extending the open function */
- open: function(event){
- $.featherligh... | Instead of overriding open, provide a chainable afterOpen for imageGallery | noelboss_featherlight | train | js |
d23706860cbed23291030603b06107185931c323 | diff --git a/lib/hmr/LazyCompilationPlugin.js b/lib/hmr/LazyCompilationPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/hmr/LazyCompilationPlugin.js
+++ b/lib/hmr/LazyCompilationPlugin.js
@@ -32,6 +32,13 @@ const { registerNotSerializable } = require("../util/serialization");
/** @typedef {import("../util/Hash")} Hash ... | allow HMR deps for lazy compilation | webpack_webpack | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.