Commit graph Aetheria/tests/Aetheria.Shared.Tests/ProductChoiceTests.cs
Author SHA1 Message Date
129e5ff4dc ProductWeight is the one weight of every design-only draw; a line's bin shares are read once per pass
The all-weights-zero branch of ChooseProduct and the required-item fallback of RandomProducts weighed
every product 1, so a bin doubled its maker's presence there. Both now weigh by Share alone (the
preference drops out, the bins' shares do not). The sum of a line's bins' pass fractions is computed
once per weighting pass instead of scanning the product table per candidate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 21:08:09 +02:00
fb7b95fb06 ProductChoiceTests: a bin takes nothing from another maker's product
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 18:19:00 +02:00
7f09b05725 ProductWeight: a bin takes its pass fraction of its maker's preference and its line the rest (ruling bin-share-by-floor)
Phi comes from CultMath's math.erf.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 18:04:08 +02:00
Meta Vens
7444f4a0c9 ProductChoiceTests: the nearer-maker bounds tight enough to fail a doubled distance penalty
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 03:30:50 +02:00
Meta Vens
94570ca0be Tests: zone-weighted and zero-weight product draws pinned; every scenario brand pin guarded under eight seeds
ProductChoiceTests adopts Soul's probes: a nearer maker is favored (non-null zone), an allegiance weighs the draw, and an all-zero
weight draws uniformly. RigBrandTests becomes a theory over every scenario whose fits name products: each pinned design must come
out as exactly its brand on every fitted ship under eight stage seeds.

Not yet run: the commit is unverified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 02:41:44 +02:00
Meta Vens
66aee3cf0e ProductChoiceTests: an outfitter that reaches no maker gets no product
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 00:04:35 +02:00
Meta Vens
00956ce329 Tests: a loadout may reference products; the unavailable-product test fails one design; distribution tests spread their seeds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:34:34 +02:00
Meta Vens
94ab2d3f50 ProductChoiceTests: the draw follows the outfitter's preference
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:17:35 +02:00
Meta Vens
4609f148a2 Tests: product choice (outfitter, seed, pin, key shuffle, capture, wrong-design chooser, wire keys); rigs keep brands; key-order test removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:16:15 +02:00