Skip to content

Conserve biochemical biomass across growth, division, and mechanics - #9

Open
marpaia wants to merge 1 commit into
masterfrom
codex/biomass-accounting
Open

Conserve biochemical biomass across growth, division, and mechanics#9
marpaia wants to merge 1 commit into
masterfrom
codex/biomass-accounting

Conversation

@marpaia

@marpaia marpaia commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Growth, dilution, division, and uptake need one conserved biochemical measure. This PR defines B = pi(length + 2*r), distinguishes it from geometric capsule volume, and exposes the realized per-step change through the native cell_volume_change_rate rate instruction on CPU, Metal, and CUDA. Contact relaxation without an explicit growth increment preserves length.

Division conserves B and intracellular concentration times B. New regressions check asymmetric division, realized nutrient yield, dilution, checkpoint continuation, and mechanical biomass preservation. ADR 0024 states the coarse model and compatibility boundary.

This is the prerequisite for the microfluidics stack. Validation includes CPU/Metal biomass tests and native conformance; the complete revised stack passes 23 native tests and 327 Python tests, plus the five pinned legacy trajectory scenarios on CPU and Metal. CUDA 12.8.1 compilation passes; NVIDIA runtime was unavailable. No biological calibration or CUDA runtime result is claimed.

@marpaia
marpaia added this pull request to stack #10 September 10, 2026 10:35
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