DemoLoopTests: re-pin the buy anchor, V/buy 0.11286 -> 0.035269
Old reading: cheapest authored price at Zenith 2500, so V/buy 282.149/2500 = 0.11286. New reading: 8000, V/buy 0.035269. The deal removed the zone's count draw, which moved Zenith's stock draw. The band stays 1/sqrt(10) to sqrt(10) around the new anchor; repair reads 45703 on both sides, unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f159acf1bb
commit
3d76ae42a8
1 changed files with 2 additions and 2 deletions
|
|
@ -115,14 +115,14 @@ public sealed partial class RunStartTests
|
|||
// with all its armour lost and against the authored Price of the cheapest piece Zenith stocks (ruling demo-loop-reads-authored-price:
|
||||
// the rolled BuyPrice moves with any catalog change that shifts the stock draw, 47053 against 36806 for the same Ring Station Reactor
|
||||
// across design-bills, which is not what this test is about). Margin rule: the anchors are the readings the shipped catalog gives at
|
||||
// design-bills (V 282.149, repair 55404, cheapest authored price 15500; the price re-read at station-sale-by-wants as 2500, since generated stock stops at half the bay and the smaller, cheaper pieces then fit where the full bay refused them), and the band is 1/sqrt(10) to sqrt(10) of each, the
|
||||
// design-bills (V 282.149, repair 55404, cheapest authored price 15500; the price re-read at station-sale-by-wants as 2500, since generated stock stops at half the bay and the smaller, cheaper pieces then fit where the full bay refused them, and at region-chain-deck as 8000, the deal's removal of the zone's count draw having moved Zenith's stock draw), and the band is 1/sqrt(10) to sqrt(10) of each, the
|
||||
// geometric midpoint between the shipped reading and the least mutant this test claims to catch (a divisor of ten on either side, a
|
||||
// ratio of 10 or 0.1): the shipped reading and that mutant each sit 3.16x from a bound.
|
||||
// The one station of a kind in the arena: the demo's two stations are told apart by what they are for, never by hull.
|
||||
private static OrbitalEntity StationOfKind(Zone arena, string kind) =>
|
||||
arena.Entities.OfType<OrbitalEntity>().Single(entity => entity.Kind.Key.Equals(StationKindData.KeyOf(kind)));
|
||||
|
||||
private const double BaseRepairRatio = 0.0050925, BaseBuyRatio = 0.11286;
|
||||
private const double BaseRepairRatio = 0.0050925, BaseBuyRatio = 0.035269;
|
||||
private static readonly double Margin = Math.Sqrt(10);
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Reference in a new issue