Add 2D Ising model Monte Carlo simulation #16151
Annotations
10 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (NPY002):
modelling_simulation/ising_model.py#L61
modelling_simulation/ising_model.py:61:27: NPY002 Replace legacy `np.random.rand` call with `np.random.Generator`
|
|
Ruff (N806):
modelling_simulation/ising_model.py#L58
modelling_simulation/ising_model.py:58:13: N806 Variable `dE` in function should be lowercase
|
|
Ruff (NPY002):
modelling_simulation/ising_model.py#L57
modelling_simulation/ising_model.py:57:20: NPY002 Replace legacy `np.random.randint` call with `np.random.Generator`
|
|
Ruff (NPY002):
modelling_simulation/ising_model.py#L53
modelling_simulation/ising_model.py:53:18: NPY002 Replace legacy `np.random.randint` call with `np.random.Generator`
|
|
Ruff (N803):
modelling_simulation/ising_model.py#L36
modelling_simulation/ising_model.py:36:5: N803 Argument name `kB` should be lowercase
|
|
Ruff (N803):
modelling_simulation/ising_model.py#L35
modelling_simulation/ising_model.py:35:5: N803 Argument name `J` should be lowercase
|
|
Ruff (N803):
modelling_simulation/ising_model.py#L19
modelling_simulation/ising_model.py:19:54: N803 Argument name `J` should be lowercase
|
|
Ruff (I001):
modelling_simulation/ising_model.py#L15
modelling_simulation/ising_model.py:15:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (INP001):
modelling_simulation/ising_model.py#L1
modelling_simulation/ising_model.py:1:1: INP001 File `modelling_simulation/ising_model.py` is part of an implicit namespace package. Add an `__init__.py`.
|