Skip to content

Commit 2f05daa

Browse files
committed
fixed prompts md
1 parent 5556fff commit 2f05daa

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/kimon_prompts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
11. Explain to me how seeding works with numba and multiple processes. One of the tests fails which may lead to unreproducable results. There is a potential bug in the way runs are seeded.
7373

7474

75+
76+
```
7577
OUTPUT:
7678
7779
(This was really interesting and might be useful in the future of our project as well)
@@ -307,8 +309,6 @@ def set_numba_seed(seed: int) -> None:
307309
@njit(cache=True)
308310
def _pp_async_kernel(...):
309311
# ... unchanged ...
310-
```
311-
312312
313313
================================================================================
314314
TESTING THE FIX
@@ -339,8 +339,6 @@ def test_kernel_deterministic_with_seed():
339339
results.append(grid.copy())
340340
341341
assert np.array_equal(results[0], results[1]), "Results should be deterministic"
342-
```
343-
344342
345343
================================================================================
346344
WHY THIS WORKS
@@ -355,6 +353,8 @@ WHY THIS WORKS
355353
Note: Each worker process in parallel execution needs its own seed call.
356354
For parallel simulations, use different seeds per worker (e.g., base_seed + worker_id).
357355
356+
```
357+
358358
5. Help me write additional tests for the hunting feature logic using the numba kernels. The additional tests will be added to the test_numba and test_pp_analysis test files and should adhere to their exisiting implementation logic. If you falsify tests, you will be replaced.
359359

360360
6. Write a final smoke test for the HPC simulation. Tests module imports. numba kernel, a full mock simulation, the pcf computation, cluster measurement, seeding and the binary roundtrip for saving output.

docs/kimon_updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
---
44

5-
### CA Class (Simulation Engine)
5+
### CA Class (```CA.py```)
66

77
Method: ```update_async``` method
88

scripts/pp_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Config:
6767
"""Central configuration for analysis."""
6868

6969
# Grid settings
70-
default_grid: int = 100
70+
default_grid: int = 1000
7171
densities: Tuple[float, float] = (0.30, 0.15)
7272

7373
# 2D sweep resolution

0 commit comments

Comments
 (0)