Skip to content

Stochsystem overhaul #1

Stochsystem overhaul

Stochsystem overhaul #1

Triggered via pull request June 30, 2024 14:39
Status Failure
Total duration 1m 16s
Artifacts

Format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
code-style
Process completed with exit code 1.
code-style
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
code-style
Process completed with exit code 1.
code-style: docs/make.jl#L22
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: docs/make.jl:22:- pages=Any[ docs/make.jl:23:- "Home" => "index.md", docs/make.jl:24:- "Quickstart" => "quickstart.md", docs/make.jl:25:- "Tutorial" => "tutorial.md", docs/make.jl:26:- "Manual" => Any[ docs/make.jl:27:- "Define a CoupledSDE" => "man/CoupledSDEs.md", docs/make.jl:28:- "Stability analysis" => "man/systemanalysis.md", docs/make.jl:29:- "Simulating the system" => "man/simulation.md", docs/make.jl:30:- "Sampling transitions" => "man/sampling.md", docs/make.jl:31:- "Large deviation theory" => "man/largedeviations.md", docs/make.jl:32:- "Noise processes" => "man/noise.md", docs/make.jl:33:- "Utilities" => "man/utils.md" docs/make.jl:19:+ pages = Any[ docs/make.jl:20:+ "Home"=>"index.md", docs/make.jl:21:+ "Quickstart"=>"quickstart.md", docs/make.jl:22:+ "Tutorial"=>"tutorial.md", docs/make.jl:23:+ "Manual"=>Any[ docs/make.jl:24:+ "Define a CoupledSDE"=>"man/CoupledSDEs.md", docs/make.jl:25:+ "Stability analysis"=>"man/systemanalysis.md", docs/make.jl:26:+ "Simulating the system"=>"man/simulation.md", docs/make.jl:27:+ "Sampling transitions"=>"man/sampling.md", docs/make.jl:28:+ "Large deviation theory"=>"man/largedeviations.md", docs/make.jl:29:+ "Noise processes"=>"man/noise.md", docs/make.jl:30:+ "Utilities"=>"man/utils.md",
code-style: ext/basin/basinboundary.jl#L12
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/basinboundary.jl:12:-function CriticalTransitions.basinboundary(X, Y, h; coords::String = "plane", A::Vector = [], B::Vector = [], C::Vector = []) ext/basin/basinboundary.jl:13:- ext/basin/basinboundary.jl:14:- bb = []; ext/basin/basinboundary.jl:15:- ext/basin/basinboundary.jl:16:- for ii ∈ 1:size(h,2) ext/basin/basinboundary.jl:17:- for jj ∈ 1:size(h,1)-1 # traversing through each column of the basins of attraction ext/basin/basinboundary.jl:18:- if h[jj,ii] != h[jj+1,ii] # if two points on top of each other are not in the same boa ext/basin/basinboundary.jl:19:- if !any(v->v==-1, [h[jj,ii], h[jj+1, ii]]) # each of these points go to detected attractor ext/basin/basinboundary.jl:20:- np = [X[ii], (Y[jj]+Y[jj+1])/2]; # the value ext/basin/basinboundary.jl:21:- bb = push!(bb,np); ext/basin/basinboundary.jl:12:+function CriticalTransitions.basinboundary( ext/basin/basinboundary.jl:13:+ X, ext/basin/basinboundary.jl:14:+ Y, ext/basin/basinboundary.jl:15:+ h; ext/basin/basinboundary.jl:16:+ coords::String = "plane", ext/basin/basinboundary.jl:17:+ A::Vector = [], ext/basin/basinboundary.jl:18:+ B::Vector = [], ext/basin/basinboundary.jl:19:+ C::Vector = [], ext/basin/basinboundary.jl:20:+) ext/basin/basinboundary.jl:21:+ ext/basin/basinboundary.jl:22:+ bb = [] ext/basin/basinboundary.jl:23:+ ext/basin/basinboundary.jl:24:+ for ii ∈ 1:size(h, 2) ext/basin/basinboundary.jl:25:+ for jj ∈ 1:size(h, 1)-1 # traversing through each column of the basins of attraction ext/basin/basinboundary.jl:26:+ if h[jj, ii] != h[jj+1, ii] # if two points on top of each other are not in the same boa ext/basin/basinboundary.jl:27:+ if !any(v -> v == -1, [h[jj, ii], h[jj+1, ii]]) # each of these points go to detected attractor ext/basin/basinboundary.jl:28:+ np = [X[ii], (Y[jj] + Y[jj+1]) / 2] # the value ext/basin/basinboundary.jl:29:+ bb = push!(bb, np)
code-style: ext/basin/basinboundary.jl#L50
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/basinboundary.jl:50:-function CriticalTransitions.basboundary(sys::CoupledSDEs, xrange::Vector, yrange::Vector, xspacing::Float64, attractors::Vector; ext/basin/basinboundary.jl:51:- eps1=1e-4, ext/basin/basinboundary.jl:52:- ϵ_mapper=0.1, ext/basin/basinboundary.jl:53:- dt_mapper=1.0e-3, ext/basin/basinboundary.jl:54:- solver=Vern9(), ext/basin/basinboundary.jl:55:- maxit=1e+5) ext/basin/basinboundary.jl:58:+function CriticalTransitions.basboundary( ext/basin/basinboundary.jl:59:+ sys::CoupledSDEs, ext/basin/basinboundary.jl:60:+ xrange::Vector, ext/basin/basinboundary.jl:61:+ yrange::Vector, ext/basin/basinboundary.jl:62:+ xspacing::Float64, ext/basin/basinboundary.jl:63:+ attractors::Vector; ext/basin/basinboundary.jl:64:+ eps1 = 1e-4, ext/basin/basinboundary.jl:65:+ ϵ_mapper = 0.1, ext/basin/basinboundary.jl:66:+ dt_mapper = 1.0e-3, ext/basin/basinboundary.jl:67:+ solver = Vern9(), ext/basin/basinboundary.jl:68:+ maxit = 1e+5, ext/basin/basinboundary.jl:69:+)
code-style: ext/basin/basinboundary.jl#L58
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/basinboundary.jl:58:- N = round(Int64,(xrange[2]-xrange[1])/xspacing) ext/basin/basinboundary.jl:59:- bby = zeros(N+1) ext/basin/basinboundary.jl:60:- xx = range(xrange[1], xrange[2], length=N+1) ext/basin/basinboundary.jl:72:+ N = round(Int64, (xrange[2] - xrange[1]) / xspacing) ext/basin/basinboundary.jl:73:+ bby = zeros(N + 1) ext/basin/basinboundary.jl:74:+ xx = range(xrange[1], xrange[2], length = N + 1)
code-style: ext/basin/basinboundary.jl#L64
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/basinboundary.jl:64:- u1,u2 = bisect_to_edge(sys, [xx[i],yrange[1]], [xx[i],yrange[2]], attractors, ext/basin/basinboundary.jl:65:- eps1=eps1, ext/basin/basinboundary.jl:66:- ϵ_mapper=ϵ_mapper, ext/basin/basinboundary.jl:67:- dt_mapper=dt_mapper, ext/basin/basinboundary.jl:68:- solver=solver, ext/basin/basinboundary.jl:69:- maxit=maxit) ext/basin/basinboundary.jl:70:- ext/basin/basinboundary.jl:71:- bby[i] = ((u1 + u2)/2)[2] ext/basin/basinboundary.jl:78:+ u1, u2 = bisect_to_edge( ext/basin/basinboundary.jl:79:+ sys, ext/basin/basinboundary.jl:80:+ [xx[i], yrange[1]], ext/basin/basinboundary.jl:81:+ [xx[i], yrange[2]], ext/basin/basinboundary.jl:82:+ attractors, ext/basin/basinboundary.jl:83:+ eps1 = eps1, ext/basin/basinboundary.jl:84:+ ϵ_mapper = ϵ_mapper, ext/basin/basinboundary.jl:85:+ dt_mapper = dt_mapper, ext/basin/basinboundary.jl:86:+ solver = solver, ext/basin/basinboundary.jl:87:+ maxit = maxit, ext/basin/basinboundary.jl:88:+ ) ext/basin/basinboundary.jl:89:+ ext/basin/basinboundary.jl:90:+ bby[i] = ((u1+u2)/2)[2]
code-style: ext/basin/basinsofattraction.jl#L26
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/basinsofattraction.jl:26:- ϵ_mapper=0.01, ext/basin/basinsofattraction.jl:27:- showprogress=false, ext/basin/basinsofattraction.jl:28:- kwargs...) ext/basin/basinsofattraction.jl:31:+ ϵ_mapper = 0.01, ext/basin/basinsofattraction.jl:32:+ showprogress = false, ext/basin/basinsofattraction.jl:33:+ kwargs..., ext/basin/basinsofattraction.jl:34:+)
code-style: ext/basin/basinsofattraction.jl#L32
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/basinsofattraction.jl:32:- X = range(U[1], U[2]; step = bstep[1]); # the range of projections along the B-A direction ext/basin/basinsofattraction.jl:33:- Y = range(V[1], V[2]; step = bstep[2]); # the range of projections along the C-A direction ext/basin/basinsofattraction.jl:34:- h = zeros(length(Y),length(X)); # an array to store the attractors for each initial condition ext/basin/basinsofattraction.jl:38:+ X = range(U[1], U[2]; step = bstep[1]) # the range of projections along the B-A direction ext/basin/basinsofattraction.jl:39:+ Y = range(V[1], V[2]; step = bstep[2]) # the range of projections along the C-A direction ext/basin/basinsofattraction.jl:40:+ h = zeros(length(Y), length(X)) # an array to store the attractors for each initial condition
code-style: ext/basin/edgetrack.jl#L35
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/edgetrack.jl:35:-function edgetracking(sys::CoupledSDEs, u1, u2, attractors::Vector; ext/basin/edgetrack.jl:36:- eps1=1e-9, ext/basin/edgetrack.jl:37:- eps2=1e-8, ext/basin/edgetrack.jl:38:- converge=1e-5, ext/basin/edgetrack.jl:39:- dt=0.01, ext/basin/edgetrack.jl:40:- tmax=Inf, ext/basin/edgetrack.jl:41:- ϵ_mapper=0.1, ext/basin/edgetrack.jl:42:- dt_mapper=0.01, ext/basin/edgetrack.jl:43:- solver=Vern9(), ext/basin/edgetrack.jl:44:- maxit=100, ext/basin/edgetrack.jl:45:- verbose=true, ext/basin/edgetrack.jl:46:- output_all=false, ext/basin/edgetrack.jl:47:- kwargs...) ext/basin/edgetrack.jl:48:- ext/basin/edgetrack.jl:49:- diffeq = (;alg = solver) ext/basin/edgetrack.jl:35:+function edgetracking( ext/basin/edgetrack.jl:36:+ sys::CoupledSDEs, ext/basin/edgetrack.jl:37:+ u1, ext/basin/edgetrack.jl:38:+ u2, ext/basin/edgetrack.jl:39:+ attractors::Vector; ext/basin/edgetrack.jl:40:+ eps1 = 1e-9, ext/basin/edgetrack.jl:41:+ eps2 = 1e-8, ext/basin/edgetrack.jl:42:+ converge = 1e-5, ext/basin/edgetrack.jl:43:+ dt = 0.01, ext/basin/edgetrack.jl:44:+ tmax = Inf, ext/basin/edgetrack.jl:45:+ ϵ_mapper = 0.1, ext/basin/edgetrack.jl:46:+ dt_mapper = 0.01, ext/basin/edgetrack.jl:47:+ solver = Vern9(), ext/basin/edgetrack.jl:48:+ maxit = 100, ext/basin/edgetrack.jl:49:+ verbose = true, ext/basin/edgetrack.jl:50:+ output_all = false, ext/basin/edgetrack.jl:51:+ kwargs..., ext/basin/edgetrack.jl:52:+) ext/basin/edgetrack.jl:53:+ ext/basin/edgetrack.jl:54:+ diffeq = (; alg = solver)
code-style: ext/basin/edgetrack.jl#L74
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: ext/basin/edgetrack.jl:74:-function bisect_to_edge(sys::CoupledSDEs, u1, u2, attractors::Vector; ext/basin/edgetrack.jl:75:- eps1=1e-5, ext/basin/edgetrack.jl:76:- ϵ_mapper=0.1, ext/basin/edgetrack.jl:77:- dt_mapper=1.0e-3, ext/basin/edgetrack.jl:78:- solver=Vern9(), ext/basin/edgetrack.jl:79:- maxit=1e+5, ext/basin/edgetrack.jl:80:- absto=1e-16, ext/basin/edgetrack.jl:81:- relto=1e-16, ext/basin/edgetrack.jl:82:- kwargs...) ext/basin/edgetrack.jl:83:- ext/basin/edgetrack.jl:84:- diffeq = (;alg = solver,abstol=absto,reltol=relto) ext/basin/edgetrack.jl:88:+function bisect_to_edge( ext/basin/edgetrack.jl:89:+ sys::CoupledSDEs, ext/basin/edgetrack.jl:90:+ u1, ext/basin/edgetrack.jl:91:+ u2, ext/basin/edgetrack.jl:92:+ attractors::Vector; ext/basin/edgetrack.jl:93:+ eps1 = 1e-5, ext/basin/edgetrack.jl:94:+ ϵ_mapper = 0.1, ext/basin/edgetrack.jl:95:+ dt_mapper = 1.0e-3, ext/basin/edgetrack.jl:96:+ solver = Vern9(), ext/basin/edgetrack.jl:97:+ maxit = 1e+5, ext/basin/edgetrack.jl:98:+ absto = 1e-16, ext/basin/edgetrack.jl:99:+ relto = 1e-16, ext/basin/edgetrack.jl:100:+ kwargs..., ext/basin/edgetrack.jl:101:+) ext/basin/edgetrack.jl:102:+ ext/basin/edgetrack.jl:103:+ diffeq = (; alg = solver, abstol = absto, reltol = relto)
code-style: systems/fitzhughnagumo.jl#L37
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: systems/fitzhughnagumo.jl:37:-FitzHughNagumo(u,p,t) = fitzhugh_nagumo(u,p,t) systems/fitzhughnagumo.jl:38:-FitzHughNagumo!(u,p,t) = fitzhugh_nagumo!(u,p,t) systems/fitzhughnagumo.jl:37:+FitzHughNagumo(u, p, t) = fitzhugh_nagumo(u, p, t) systems/fitzhughnagumo.jl:38:+FitzHughNagumo!(u, p, t) = fitzhugh_nagumo!(u, p, t)