Skip to content

Refactor interfaces built around alternating update #248

Refactor interfaces built around alternating update

Refactor interfaces built around alternating update #248

Triggered via pull request January 20, 2024 23:21
Status Failure
Total duration 1m 11s
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/contract.jl#L2
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/contract.jl:2:- init; src/solvers/contract.jl:3:- state!, src/solvers/contract.jl:4:- projected_operator!, src/solvers/contract.jl:5:- outputlevel, src/solvers/contract.jl:6:- which_sweep, src/solvers/contract.jl:7:- sweep_plan, src/solvers/contract.jl:8:- which_region_update, src/solvers/contract.jl:9:- region_kwargs, src/solvers/contract.jl:10:- updater_kwargs, src/solvers/contract.jl:11:- ) src/solvers/contract.jl:12:- v = ITensor(1.0) src/solvers/contract.jl:13:- projected_operator = projected_operator![] src/solvers/contract.jl:14:- for j in sites(projected_operator) src/solvers/contract.jl:15:- v *= projected_operator.psi0[j] src/solvers/contract.jl:16:- end src/solvers/contract.jl:17:- Hpsi0 = contract(projected_operator, v) src/solvers/contract.jl:18:- return Hpsi0, (;) src/solvers/contract.jl:19:- end src/solvers/contract.jl:2:+ init; src/solvers/contract.jl:3:+ state!, src/solvers/contract.jl:4:+ projected_operator!, src/solvers/contract.jl:5:+ outputlevel, src/solvers/contract.jl:6:+ which_sweep, src/solvers/contract.jl:7:+ sweep_plan, src/solvers/contract.jl:8:+ which_region_update, src/solvers/contract.jl:9:+ region_kwargs, src/solvers/contract.jl:10:+ updater_kwargs, src/solvers/contract.jl:11:+) src/solvers/contract.jl:12:+ v = ITensor(1.0) src/solvers/contract.jl:13:+ projected_operator = projected_operator![] src/solvers/contract.jl:14:+ for j in sites(projected_operator) src/solvers/contract.jl:15:+ v *= projected_operator.psi0[j] src/solvers/contract.jl:16:+ end src/solvers/contract.jl:17:+ Hpsi0 = contract(projected_operator, v) src/solvers/contract.jl:18:+ return Hpsi0, (;) src/solvers/contract.jl:19:+end
format: src/solvers/dmrg_x.jl#L13
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/dmrg_x.jl:13:- default_updater_kwargs = (; src/solvers/dmrg_x.jl:14:- ) src/solvers/dmrg_x.jl:15:- updater_kwargs = merge(default_updater_kwargs, updater_kwargs) src/solvers/dmrg_x.jl:13:+ default_updater_kwargs = (;) src/solvers/dmrg_x.jl:14:+ updater_kwargs = merge(default_updater_kwargs, updater_kwargs)
format: src/solvers/eigsolve.jl#L23
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:23:- which, updater_kwargs = _pop_which_eigenvalue(;updater_kwargs...) src/solvers/eigsolve.jl:23:+ which, updater_kwargs = _pop_which_eigenvalue(; updater_kwargs...)
format: src/solvers/eigsolve.jl#L29
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:29:- updater_kwargs... #this leaves it src/solvers/eigsolve.jl:29:+ updater_kwargs..., #this leaves it
format: src/solvers/eigsolve.jl#L34
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:34:-function _pop_which_eigenvalue(;which_eigenvalue, kwargs...) src/solvers/eigsolve.jl:34:+function _pop_which_eigenvalue(; which_eigenvalue, kwargs...)
format: src/solvers/eigsolve.jl#L36
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:36:-end src/solvers/eigsolve.jl:36:+end
format: src/solvers/exponentiate.jl#L21
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/exponentiate.jl:21:- src/solvers/exponentiate.jl:21:+
format: src/solvers/exponentiate.jl#L24
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/exponentiate.jl:24:- projected_operator![], src/solvers/exponentiate.jl:25:- region_kwargs.time_step, src/solvers/exponentiate.jl:26:- init; src/solvers/exponentiate.jl:27:- updater_kwargs... src/solvers/exponentiate.jl:24:+ projected_operator![], region_kwargs.time_step, init; updater_kwargs...
format: src/treetensornetworks/solvers/alternating_update.jl#L68
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/alternating_update.jl:68:- sweep_params=(; src/treetensornetworks/solvers/alternating_update.jl:69:- maxdim=maxdim[which_sweep], src/treetensornetworks/solvers/alternating_update.jl:70:- mindim=mindim[which_sweep], src/treetensornetworks/solvers/alternating_update.jl:71:- cutoff=cutoff[which_sweep], src/treetensornetworks/solvers/alternating_update.jl:72:- noise=noise[which_sweep], src/treetensornetworks/solvers/alternating_update.jl:68:+ sweep_params = (; src/treetensornetworks/solvers/alternating_update.jl:69:+ maxdim=maxdim[which_sweep], src/treetensornetworks/solvers/alternating_update.jl:70:+ mindim=mindim[which_sweep], src/treetensornetworks/solvers/alternating_update.jl:71:+ cutoff=cutoff[which_sweep], src/treetensornetworks/solvers/alternating_update.jl:72:+ noise=noise[which_sweep],
format: src/treetensornetworks/solvers/contract.jl#L39
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/contract.jl:39:- psi = alternating_update(contract_updater, PH, init; nsweeps, sweep_plan, updater_kwargs, kwargs...) src/treetensornetworks/solvers/contract.jl:39:+ psi = alternating_update( src/treetensornetworks/solvers/contract.jl:40:+ contract_updater, PH, init; nsweeps, sweep_plan, updater_kwargs, kwargs... src/treetensornetworks/solvers/contract.jl:41:+ )