Skip to content

Commit 3ff87ef

Browse files
committed
added update outline. will be done by the end of the day
1 parent eaadd57 commit 3ff87ef

4 files changed

Lines changed: 14 additions & 7 deletions

File tree

docs/kimon_updates.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Refactoring and Optimization Update
2+
3+
### CA Class
4+
5+
6+
### Numba Optimization
7+
8+
9+
### HPC Script Functionality
10+
11+
12+
### Tests

scripts/numba_optimized.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ def prange(*args):
4848
def set_numba_seed(seed: int) -> None:
4949
"""
5050
Seed Numba's internal RNG from within a JIT context.
51-
52-
IMPORTANT: This must be called to get reproducible results from
53-
Numba-accelerated functions. Calling np.random.seed() from Python
54-
only affects NumPy's RNG, not Numba's internal Xoshiro128++ RNG.
55-
5651
Args:
5752
seed: Integer seed value
5853
"""

scripts/pp_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
python pp_analysis.py --mode fss # Only finite-size scaling
1919
python pp_analysis.py --mode plot # Only generate plots from saved data
2020
python pp_analysis.py --mode debug # Interactive visualization (local only)
21-
python pp_analysis.py --dry-run # Estimate runtime without running
21+
python scripts/pp_analysis.py --dry-run # Estimate runtime without running
2222
"""
2323

2424
import argparse

scripts/visualize_pp_evolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Creates a 250x250 grid, enables per-cell evolution for `prey_death`, and
44
visualizes the grid every 5 iterations while running for 2500 steps.
55
"""
6-
from models.CA import PP
76

7+
from models.CA import PP
88

99
def main():
1010
params = {

0 commit comments

Comments
 (0)