AetherDb economy: unknown batch names are not echoed; held-cycle rise is relative

Run takes the output writer like Report and Author do. The unknown-batch refusal says how
many names matched no batch and lists the compiled batches. Introduced compares a held
cycle's radius relatively with RiseNoise = 1e-12, replacing the bare absolute 1e-9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-27 04:38:08 +01:00
commit 26bea2cb14
3 changed files with 47 additions and 8 deletions

View file

@ -76,7 +76,7 @@ public static class Program
if (apply) db.Cache.FlushAsync().GetAwaiter().GetResult();
return code;
}
case "economy": return EconomyCommand.Run(args.Skip(1).ToArray());
case "economy": return EconomyCommand.Run(args.Skip(1).ToArray(), Console.Out);
case "auto-guns": return AutoGunsCatalog.Run(AetherDb.Open(catalogWritable: args.Contains("apply")).Cache, args.Contains("apply"), Console.Out);
case "doctrine-catalog": return DoctrineCatalog.Run(AetherDb.Open(catalogWritable: args.Contains("apply")).Cache, args.Contains("apply"), Console.Out);
default: