Skip to content

Refactor interfaces built around alternating update #244

Refactor interfaces built around alternating update

Refactor interfaces built around alternating update #244

Triggered via pull request January 17, 2024 23:03
Status Failure
Total duration 2m 50s
Artifacts

format_suggestions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
format
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.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
format
Process completed with exit code 1.
format: src/solvers/eigsolve.jl#L8
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:8:- region_updates, src/solvers/eigsolve.jl:8:+ region_updates,
format: src/solvers/eigsolve.jl#L12
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:12:+) src/solvers/eigsolve.jl:13:+ default_updater_kwargs = (; src/solvers/eigsolve.jl:14:+ solver_which_eigenvalue=:SR, src/solvers/eigsolve.jl:15:+ ishermitian=true, src/solvers/eigsolve.jl:16:+ tol=1e-14, src/solvers/eigsolve.jl:17:+ krylovdim=3, src/solvers/eigsolve.jl:18:+ maxiter=1, src/solvers/eigsolve.jl:19:+ outputlevel=0, src/solvers/eigsolve.jl:20:+ eager=false,
format: src/solvers/eigsolve.jl#L13
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:13:- src/solvers/eigsolve.jl:14:- default_updater_kwargs=(; src/solvers/eigsolve.jl:15:- solver_which_eigenvalue=:SR, src/solvers/eigsolve.jl:16:- ishermitian=true, src/solvers/eigsolve.jl:17:- tol=1e-14, src/solvers/eigsolve.jl:18:- krylovdim=3, src/solvers/eigsolve.jl:19:- maxiter=1, src/solvers/eigsolve.jl:20:- outputlevel=0, src/solvers/eigsolve.jl:21:- eager=false, src/solvers/eigsolve.jl:22:+ updater_kwargs = merge(default_updater_kwargs, updater_kwargs) #last collection has precedence src/solvers/eigsolve.jl:23:+ howmany = 1 src/solvers/eigsolve.jl:24:+ which = updater_kwargs[:solver_which_eigenvalue] src/solvers/eigsolve.jl:25:+ vals, vecs, info = KrylovKit.eigsolve( src/solvers/eigsolve.jl:26:+ PH_ref![], src/solvers/eigsolve.jl:27:+ init, src/solvers/eigsolve.jl:28:+ howmany, src/solvers/eigsolve.jl:29:+ which; src/solvers/eigsolve.jl:30:+ ishermitian=updater_kwargs[:ishermitian], src/solvers/eigsolve.jl:31:+ tol=updater_kwargs[:tol], src/solvers/eigsolve.jl:32:+ krylovdim=updater_kwargs[:krylovdim], src/solvers/eigsolve.jl:33:+ maxiter=updater_kwargs[:maxiter], src/solvers/eigsolve.jl:34:+ verbosity=updater_kwargs[:outputlevel], src/solvers/eigsolve.jl:35:+ eager=updater_kwargs[:eager],
format: src/solvers/eigsolve.jl#L23
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:23:- updater_kwargs=merge(default_updater_kwargs,updater_kwargs) #last collection has precedence src/solvers/eigsolve.jl:24:- howmany=1 src/solvers/eigsolve.jl:25:- which=updater_kwargs[:solver_which_eigenvalue] src/solvers/eigsolve.jl:26:- vals, vecs, info = KrylovKit.eigsolve(PH_ref![], src/solvers/eigsolve.jl:27:- init, src/solvers/eigsolve.jl:28:- howmany, src/solvers/eigsolve.jl:29:- which; src/solvers/eigsolve.jl:30:- ishermitian=updater_kwargs[:ishermitian], src/solvers/eigsolve.jl:31:- tol=updater_kwargs[:tol], src/solvers/eigsolve.jl:32:- krylovdim=updater_kwargs[:krylovdim], src/solvers/eigsolve.jl:33:- maxiter=updater_kwargs[:maxiter], src/solvers/eigsolve.jl:34:- verbosity=updater_kwargs[:outputlevel], src/solvers/eigsolve.jl:35:- eager=updater_kwargs[:eager], src/solvers/eigsolve.jl:36:- )
format: src/solvers/eigsolve.jl#L39
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:39:-
format: src/solvers/exponentiate.jl#L1
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/exponentiate.jl:1:- function exponentiate_updater( src/solvers/exponentiate.jl:2:- init; src/solvers/exponentiate.jl:3:- psi_ref!, src/solvers/exponentiate.jl:4:- PH_ref!, src/solvers/exponentiate.jl:5:- outputlevel, src/solvers/exponentiate.jl:6:- which_sweep, src/solvers/exponentiate.jl:7:- region_updates, src/solvers/exponentiate.jl:8:- which_region_update, src/solvers/exponentiate.jl:9:- region_kwargs, src/solvers/exponentiate.jl:10:- updater_kwargs, src/solvers/exponentiate.jl:11:- ) src/solvers/exponentiate.jl:12:- default_updater_kwargs=(; src/solvers/exponentiate.jl:1:+function exponentiate_updater( src/solvers/exponentiate.jl:2:+ init; src/solvers/exponentiate.jl:3:+ psi_ref!, src/solvers/exponentiate.jl:4:+ PH_ref!, src/solvers/exponentiate.jl:5:+ outputlevel, src/solvers/exponentiate.jl:6:+ which_sweep, src/solvers/exponentiate.jl:7:+ region_updates, src/solvers/exponentiate.jl:8:+ which_region_update, src/solvers/exponentiate.jl:9:+ region_kwargs, src/solvers/exponentiate.jl:10:+ updater_kwargs, src/solvers/exponentiate.jl:11:+) src/solvers/exponentiate.jl:12:+ default_updater_kwargs = (;
format: src/solvers/exponentiate.jl#L19
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/exponentiate.jl:19:- eager=true src/solvers/exponentiate.jl:20:- ) src/solvers/exponentiate.jl:21:- updater_kwargs=merge(default_updater_kwargs,updater_kwargs) #last collection has precedence src/solvers/exponentiate.jl:22:- #H=copy(PH_ref![]) src/solvers/exponentiate.jl:23:- H = PH_ref![] ###since we are not changing H we don't need the copy src/solvers/exponentiate.jl:24:- # let's test whether given region and sweep regions we can find out what the previous and next region were src/solvers/exponentiate.jl:25:- # this will be needed in subspace expansion src/solvers/exponentiate.jl:26:- #@show step_kwargs src/solvers/exponentiate.jl:27:- substep=get(region_kwargs,:substep,nothing) src/solvers/exponentiate.jl:28:- time_step=get(region_kwargs,:time_step,nothing) src/solvers/exponentiate.jl:29:- @Assert !isnothing(time_step) && !isnothing(substep) src/solvers/exponentiate.jl:30:- region_ind = which_region_update src/solvers/exponentiate.jl:31:- next_region = region_ind == length(region_updates) ? nothing : first(region_updates[region_ind + 1]) src/solvers/exponentiate.jl:32:- previous_region = region_ind == 1 ? nothing : first(region_updates[region_ind - 1]) src/solvers/exponentiate.jl:19:+ eager=true, src/solvers/exponentiate.jl:20:+ ) src/solvers/exponentiate.jl:21:+ updater_kwargs = merge(default_updater_kwargs, updater_kwargs) #last collection has precedence src/solvers/exponentiate.jl:22:+ #H=copy(PH_ref![]) src/solvers/exponentiate.jl:23:+ H = PH_ref![] ###since we are not changing H we don't need the copy src/solvers/exponentiate.jl:24:+ # let's test whether given region and sweep regions we can find out what the previous and next region were src/solvers/exponentiate.jl:25:+ # this will be needed in subspace expansion src/solvers/exponentiate.jl:26:+ #@show step_kwargs src/solvers/exponentiate.jl:27:+ substep = get(region_kwargs, :substep, nothing) src/solvers/exponentiate.jl:28:+ time_step = get(region_kwargs, :time_step, nothing) src/solvers/exponentiate.jl:29:+ @Assert !isnothing(time_step) && !isnothing(substep) src/solvers/exponentiate.jl:30:+ region_ind = which_region_update src/solvers/exponentiate.jl:31:+ next_region = src/solvers/exponentiate.jl:32:+ region_ind == length(region_updates) ? nothing : first(region_updates[region_ind + 1]) src/solvers/exponentiate.jl:33:+ previous_region = region_ind == 1 ? nothing : first(region_updates[region_ind - 1])
format: src/solvers/exponentiate.jl#L34
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/exponentiate.jl:34:- phi, exp_info = KrylovKit.exponentiate( src/solvers/exponentiate.jl:35:- H, src/solvers/exponentiate.jl:36:- time_step, src/solvers/exponentiate.jl:37:- init; src/solvers/exponentiate.jl:38:- ishermitian=updater_kwargs[:ishermitian], src/solvers/exponentiate.jl:39:- issymmetric=updater_kwargs[:issymmetric], src/solvers/exponentiate.jl:40:- tol=updater_kwargs[:tol], src/solvers/exponentiate.jl:41:- krylovdim=updater_kwargs[:krylovdim], src/solvers/exponentiate.jl:42:- maxiter=updater_kwargs[:maxiter], src/solvers/exponentiate.jl:43:- verbosity=updater_kwargs[:outputlevel], src/solvers/exponentiate.jl:44:- eager=updater_kwargs[:eager], src/solvers/exponentiate.jl:45:- ) src/solvers/exponentiate.jl:46:- return phi, (; info=exp_info) src/solvers/exponentiate.jl:47:- end src/solvers/exponentiate.jl:35:+ phi, exp_info = KrylovKit.exponentiate( src/solvers/exponentiate.jl:36:+ H, src/solvers/exponentiate.jl:37:+ time_step, src/solvers/exponentiate.jl:38:+ init; src/solvers/exponentiate.jl:39:+ ishermitian=updater_kwargs[:ishermitian], src/solvers/exponentiate.jl:40:+ issymmetric=updater_kwargs[:issymmetric], src/solvers/exponentiate.jl:41:+ tol=updater_kwargs[:tol], src/solvers/exponentiate.jl:42:+ krylovdim=updater_kwargs[:krylovdim], src/solvers/exponentiate.jl:43:+ maxiter=updater_kwargs[:maxiter], src/solvers/exponentiate.jl:44:+ verbosity=updater_kwargs[:outputlevel], src/solvers/exponentiate.jl:45:+ eager=updater_kwargs[:eager], src/solvers/exponentiate.jl:46:+ ) src/solvers/exponentiate.jl:47:+ return phi, (; info=exp_info) src/solvers/exponentiate.jl:48:+end
format: src/treetensornetworks/solvers/alternating_update.jl#L59
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/alternating_update.jl:59:- if !isnothing(write_when_maxdim_exceeds) && maxdim[which_sweep] > write_when_maxdim_exceeds src/treetensornetworks/solvers/alternating_update.jl:59:+ if !isnothing(write_when_maxdim_exceeds) && src/treetensornetworks/solvers/alternating_update.jl:60:+ maxdim[which_sweep] > write_when_maxdim_exceeds
format: src/treetensornetworks/solvers/alternating_update.jl#L67
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/alternating_update.jl:67:- src/treetensornetworks/solvers/alternating_update.jl:68:+