Keep the phenotype wire-stable: rate period on the budget, not the phenotype
Foundation / checks (deploy) (push) Successful in 3m28s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (client) (push) Successful in 12m43s
Foundation / checks (network) (push) Successful in 13m32s
Foundation / checks (tsan) (push) Successful in 7m48s
Foundation / checks (checks) (push) Successful in 32m55s
Foundation / checks (postgres) (push) Successful in 46m26s
Foundation / postgres-tools (push) Successful in 1m41s
Foundation / server-image (push) Successful in 4m13s
Foundation / image (push) Successful in 2m35s
Foundation / checks (deploy) (push) Successful in 3m28s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (client) (push) Successful in 12m43s
Foundation / checks (network) (push) Successful in 13m32s
Foundation / checks (tsan) (push) Successful in 7m48s
Foundation / checks (checks) (push) Successful in 32m55s
Foundation / checks (postgres) (push) Successful in 46m26s
Foundation / postgres-tools (push) Successful in 1m41s
Foundation / server-image (push) Successful in 4m13s
Foundation / image (push) Successful in 2m35s
CI run 136 failed network: Phenotype::rate_microseconds (added with development version 2) is not carried by either session protocol, so the organism view no longer re-encoded canonically. The phenotype keeps its replicated shape; the period follows from the development version (development_rate_microseconds) and MetabolicBudget carries it. No protocol change; first-bud times unchanged. Refresh the dev session window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -479,7 +479,7 @@ void development_v2_and_the_first_bud() {
|
||||
const auto budget = metabolic_budget(*founder, {1000, 0}, temperate);
|
||||
CHECK(budget);
|
||||
const auto& p = budget->phenotype;
|
||||
CHECK(p.rate_microseconds == 1'000'000 && p.extent == 20 && p.surface == 2400);
|
||||
CHECK(budget->rate_microseconds == 1'000'000 && p.extent == 20 && p.surface == 2400);
|
||||
CHECK(p.membrane_mass == 2'880'000 && p.total_mass == 10'880'000);
|
||||
CHECK(p.maintenance == 108'800 + 43'200); // 10 and 15 pJ/s per 1000 fg.
|
||||
CHECK(p.movement_speed == 200 && p.ingestion_rate == 22'960); // 574000 * 2400 / 60000.
|
||||
@@ -498,7 +498,7 @@ void development_v2_and_the_first_bud() {
|
||||
CHECK(!at(0) && !at(1001));
|
||||
// Version 1 rates stay per 50 ms tick, and the M2 fixtures accept only version 1.
|
||||
const auto v1 = metabolic_budget(build(capable()), {1000, 0}, temperate);
|
||||
CHECK(v1 && v1->phenotype.rate_microseconds == 50'000);
|
||||
CHECK(v1 && v1->rate_microseconds == 50'000);
|
||||
CHECK(!evo::processes::consumer_for(*founder, {1000, 0}, temperate, {}));
|
||||
CHECK(evo::processes::consumer_for(build(capable()), {1000, 0}, temperate, {}));
|
||||
// Without the reproduction capability there is nothing to fund.
|
||||
|
||||
Reference in New Issue
Block a user