Skip to content

Apply resistance storage layout#13

Merged
gphiIIips merged 1 commit into
mainfrom
apply-resistance-storage-layout
Jun 22, 2026
Merged

Apply resistance storage layout#13
gphiIIips merged 1 commit into
mainfrom
apply-resistance-storage-layout

Conversation

@gphiIIips

Copy link
Copy Markdown
Collaborator

No description provided.

Store the dominant per-individual resistance fields in smaller representations while keeping model math and exported summaries in f64 after load.

Storage changes:

- any_r: exact-zero bounded u16 over 0..1

- microbiome_r: exact-zero bounded u16 over 0..1

- test_r: exact-zero bounded u16 over 0..1

- activity_r: f16

Update resistance access sites to use explicit load/store helpers so production rules, summaries, and journey logging work with decoded f64 values.

Validation:

- cargo check --workspace

- cargo test --workspace --no-run

- late-state remote replay: post-25k checkpoint, 1,000,000 population, 100 measured timesteps, CalibrationMode::None, summary mode All, 72 Rayon threads, numactl --interleave=all

- measured replay window: 22.06s; replay RSS: 36,963,635,200 bytes
@gphiIIips gphiIIips force-pushed the apply-resistance-storage-layout branch from c109f92 to 3e2bd51 Compare June 22, 2026 06:24
@gphiIIips gphiIIips merged commit b1d0c4d into main Jun 22, 2026
@gphiIIips gphiIIips deleted the apply-resistance-storage-layout branch June 22, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant