Skip to content

Commit 3f2f20c

Browse files
committed
some plots
1 parent 1f6b450 commit 3f2f20c

12 files changed

Lines changed: 980 additions & 15 deletions

File tree

.DS_Store

10 KB
Binary file not shown.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ results/
1212
data/
1313
.pytest_cache/
1414

15-
.DS_Store
15+
hpc_data/phase4_18735304

docs/HPC_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ scancel <JOBID>
3939
4040
# Monitoring live progress
4141
42-
tail -f logs_18702594.err
42+
tail -f pp_phase4_18735304.err
4343
4444
# Watch task completetion
4545
@@ -48,7 +48,7 @@ watch -n 10 "ls -1 results_JOBID | wc -l"
4848
4949
# Fetching the results once the job is done
5050
51-
scp -r kanagnostopoul@snellius.surf.nl:~/CSS_Project/results/phase3_18698382/ ./results/
51+
scp -r kanagnostopoul@snellius.surf.nl:~/CSS_Project/results/phase3_18743295/ ./results/
5252
```
5353

5454
The jobscript template can be found in ```run_analysis.sh``` (default rome paritition).

docs/kimon_prompts.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,4 +367,9 @@ For parallel simulations, use different seeds per worker (e.g., base_seed + work
367367

368368
## Refactoring Main Experiment Script
369369

370-
Help me create a skeletal version of the updated experiments script for HPC that meets tha phase requirements outlined. The config class has been migrated to config.py.
370+
Help me create a skeletal version of the updated experiments script for HPC that meets tha phase requirements outlined. The config class has been migrated to config.py.
371+
372+
373+
## Data Post-processing
374+
375+
Help me load and parse the data according to job and experimental phase number. The data will be analyzed in a jupyter notebook rather than a py file for usability.

hpc_data/.DS_Store

8 KB
Binary file not shown.

models/.DS_Store

0 Bytes
Binary file not shown.

models/config.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Config:
8080

8181
# Critical point (UPDATE AFTER PHASE 1)
8282
critical_prey_birth: float = 0.20
83-
critical_prey_death: float = 0.0963
83+
critical_prey_death: float = 0.963
8484

8585
# Prey parameter sweep (Phase 1)
8686
prey_death_range: Tuple[float, float] = (0.0, 0.2)
@@ -192,7 +192,7 @@ def estimate_runtime(self, n_cores: int = 32) -> str:
192192
grid_size=1000,
193193
n_prey_death=20,
194194
prey_birth=0.2,
195-
prey_death_range=(0.09, 0.12),
195+
prey_death_range=(0.00, 0.2),
196196
predator_birth=0.8,
197197
predator_death=0.05,
198198
n_replicates=30,
@@ -224,13 +224,14 @@ def estimate_runtime(self, n_cores: int = 32) -> str:
224224

225225
# Phase 3: Finite-size scaling at critical point
226226
PHASE3_CONFIG = Config(
227-
grid_sizes=(50, 100, 250, 500, 1000),
227+
grid_sizes=(50, 100, 250, 500, 1000, 2500),
228228
n_replicates=20,
229229
warmup_steps=1000,
230230
measurement_steps=1000,
231231
critical_prey_birth=0.20, # Add explicitly
232-
critical_prey_death=0.0963, # Add explicitly - verify from Phase 1!
233-
collect_pcf=False,
232+
critical_prey_death=0.116, # Add explicitly - verify from Phase 1!
233+
collect_pcf=True,
234+
pcf_sample_rate=1.0,
234235
save_timeseries=False,
235236
with_evolution=False,
236237
directed_hunting=False,
@@ -264,11 +265,11 @@ def estimate_runtime(self, n_cores: int = 32) -> str:
264265
)
265266

266267
# Phase 6: Model extensions (directed hunting); same config as phase 1 but with directed hunting
267-
PHASE6_CONFIG = Config(
268-
grid_size=1000,
268+
PHASE6_CONFIG = Config(
269+
grid_size=1000, #FIXME: Verify config before running.
269270
n_prey_death=20,
270271
prey_birth=0.2,
271-
prey_death_range=(0.09, 0.12),
272+
prey_death_range=(0.0, 0.2),
272273
predator_birth=0.8,
273274
predator_death=0.05,
274275
n_replicates=30,

notebooks/kimon.ipynb

Lines changed: 954 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)