feat(lifecycle): qualify census of funded maturing owners
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m29s
Foundation / checks (network) (push) Successful in 20m54s
Foundation / checks (client) (push) Successful in 22m0s
Foundation / checks (tsan) (push) Successful in 27m5s
Foundation / checks (postgres) (push) Successful in 1h4m20s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 1h12m23s

This commit is contained in:
dingo
2026-10-19 07:56:58 -04:00
parent 463b091056
commit 274f62cb89
14 changed files with 430 additions and 19 deletions
+4 -1
View File
@@ -51,7 +51,10 @@ CellularCensus::observe(const CellularPopulation& population) {
std::expected<CellularCensus, CellularCensusError>
CellularCensus::observe(const CellularLives& state, std::span<const CellularCohortMember> members,
std::uint32_t population) {
if (state.rules_version() != cellular_lives_foraging_rules ||
const bool maturing = state.rules_version() == cellular_lives_maturation_rules &&
state.format_version() == cellular_lives_migration_format &&
(population == 0 || population == 2);
if ((!maturing && state.rules_version() != cellular_lives_foraging_rules) ||
(state.format_version() != cellular_lives_presence_format &&
state.format_version() != cellular_lives_migration_format) ||
(population != 0 && population != 1 && population != 2))