Documentation: parameter conventions that are easy to get wrong
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 44/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp
- Domain
- documentation
Research direction
Start by locating the application and model-library documentation for spinmc, spin, spinmc_evaluate, fulldiag_evaluate, qwl_evaluate, and sparsediag; the issue does not name specific files. Check each stated convention against the relevant documentation, then add explanations for the coupling signs and bond types, observable definitions, per-site quantities, error bars, and degeneracy reporting. Done when the documented behavior covers all six examples and makes the stated caveats clear.
Written by the indexing model from the issue text.
Description
Each of the following produced a plausible-looking but wrong calculation
before the convention was found by comparing with an exact result. None is a
code defect; all deserve a sentence in the application or model-library
documentation.
spinmcreadsJ>0as ferromagnetic (H = -J sum s_i s_j), while the
quantumspinmodel readsJ>0as antiferromagnetic (H = +J sum S_i.S_j).spinmc_evaluatenames: "Binder Cumulant" is the moment ratio
<m^4>/<m^2>^2 (not 1 - <m^4>/3<m^2>^2), "Binder Cumulant U2" is
<m^2>/<|m|>^2, "Susceptibility" is beta N <m^2>, "Connected
Susceptibility" is beta N (<m^2> - <|m|>^2).- In the
spinmodelJsetsJzandJxytogether; an Ising coupling
needsJxy=0explicitly. - Lattices whose unit cell declares several bond types take
J0,J1,
J2:honeycomb latticehas types 0, 1, 2 for its three bond
directions andladderhas legs 0 and rungs 1. A bareJsets only type
0; the honeycomb cluster withJ=1is six isolated dimers (E/N = -3/8
exactly). Documenting the typing, or giving the honeycomb a single default
type, would prevent this. fulldiag_evaluateandqwl_evaluatereport per-site quantities under
"Energy Density", "Specific Heat per Site", "Uniform Susceptibility per
Site";qwl_evaluatewrites no error bars, and a single Wang-Landau pass
with the default 16 refinement steps scatters by 10-20 % in E(T) between
seeds.sparsediag(Lanczos without reorthogonalisation) reports a degenerate
pair as a single level; a degeneracy count needsfulldiag.
Observed on master at 0e2f2915d (Release build, GCC, OpenBLAS, HDF5 1.14, single-threaded), compared with independent reference calculations.
- Dominant language
- C++
- Stars
- 32
- Forks
- 10
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 51
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ALPSim/ALPS
-
area:tutorials bug scientific-correctness
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
area:parapack bug scientific-correctness
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
area:lattice bug
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
area:parapack compatibility-change enhancement
Difficulty 3/5 1-2 days Newbie friendliness 57/100
Maintainers usually reply within 3 days
-
area:ci-tests area:parapack area:tutorials
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Maintainers usually reply within 3 days
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
[XLA] hlo/pass/README.md says passes implement Run; since the NVI change they implement RunImplOpen
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-RTX/NRI#312 ·
Maintainers usually reply within 1 day
-
permute_q_b_proj / permute_wv_proj accept scale factors from another devicePossibly taken @0z5a claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepseek-ai/FlashMLA#247 ·
Maintainers usually reply within 1 day
-
Linux npm packaging leaves workspace files that block subsequent CI checkoutPossibly taken @Spockkk0225 claimed this today. Openci
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
alibaba/neug#1195 · 1 comment ·
Maintainers usually reply within 1 day