Cellular balance rules 6 (ADR-0132, schema v41)
Foundation / checks (checks) (push) Successful in 42m33s
Foundation / checks (deploy) (push) Successful in 4m11s
Foundation / checks (ecs) (push) Successful in 2m27s
Foundation / checks (network) (push) Successful in 19m23s
Foundation / checks (postgres) (push) Successful in 44m44s
Foundation / checks (tsan) (push) Successful in 9m53s
Foundation / checks (client) (push) Successful in 16m19s
Foundation / postgres-tools (push) Successful in 30s
Foundation / server-image (push) Successful in 3m14s
Foundation / image (push) Successful in 3m16s
Foundation / checks (checks) (push) Successful in 42m33s
Foundation / checks (deploy) (push) Successful in 4m11s
Foundation / checks (ecs) (push) Successful in 2m27s
Foundation / checks (network) (push) Successful in 19m23s
Foundation / checks (postgres) (push) Successful in 44m44s
Foundation / checks (tsan) (push) Successful in 9m53s
Foundation / checks (client) (push) Successful in 16m19s
Foundation / postgres-tools (push) Successful in 30s
Foundation / server-image (push) Successful in 3m14s
Foundation / image (push) Successful in 3m16s
The playtest found mutation offers the arena could never pay for. A mutation's matter cost is the real body difference (ADR-0118), so it cannot be discounted. Rules 6 cut it honestly: - genome schema 3 steps a third as far (1/300 of the range); - development version 3 charges a third of the construction energy (13 instead of 40 pJ per 1000 fg). Founder 2 uses both. The cellular-v5 opening creates rules-6 regions on bundle v7, which schema v41 admits. Existing lineages, regions and committed history are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -125,7 +125,7 @@ void schema_v2_rates_develop_identically() {
|
||||
old.capabilities.push_back({Capability::movement, 250, 0});
|
||||
old.capabilities.push_back({Capability::ingestion, 120'000, 0});
|
||||
auto now = old;
|
||||
now.schema_version = genome_schema_version;
|
||||
now.schema_version = genome_schema_v2;
|
||||
now.capabilities[3].parameter = 5'000; // 250 per tick, per second.
|
||||
now.capabilities[4].parameter = 2'400'000; // 120000 per tick, per second.
|
||||
for (const std::uint32_t realized : {250U, 500U, 1000U}) {
|
||||
@@ -167,12 +167,19 @@ void thermal_shortfall_is_reported_not_enforced() {
|
||||
|
||||
void rule_versions_and_invalid_growth() {
|
||||
CHECK(rules_for(1) && rules_for(2)); // Version 2: per second (ADR-0099).
|
||||
for (const auto version : {0U, 3U, 99U}) {
|
||||
// Version 3 (rules 6): version 2 with a third of the construction energy.
|
||||
const auto v2 = rules_for(2);
|
||||
const auto v3 = rules_for(3);
|
||||
CHECK(v2 && v3 && v3->construction_per_kilogram == 13 && v2->construction_per_kilogram == 40 &&
|
||||
v3->structure_density == v2->structure_density &&
|
||||
v3->maintenance_per_kilogram == v2->maintenance_per_kilogram &&
|
||||
development_rate_microseconds(3) == development_rate_microseconds(2));
|
||||
for (const auto version : {0U, 4U, 99U}) {
|
||||
const auto missing = rules_for(version);
|
||||
CHECK(!missing && missing.error() == DevelopmentError::unsupported_rules);
|
||||
}
|
||||
auto source = draft();
|
||||
source.development_version = 3;
|
||||
source.development_version = 4;
|
||||
const auto future = build(source);
|
||||
const auto derived = derive_phenotype(future, {1000, 0}, temperate);
|
||||
CHECK(!derived && derived.error() == DevelopmentError::unsupported_rules);
|
||||
|
||||
Reference in New Issue
Block a user