diff --git a/AGENTS.md b/AGENTS.md index 818fc8b..fc1459e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -13,7 +13,9 @@ Instructions for any coding agent. `README.md` has the layout, the contract, the by `GameBehavior.YGOL_Decide`). A new prompt handler asks `YGOL_Decide`, never the GameAI directly. With no decision maker the seam must do nothing but call the GameAI, so the built-in brain plays as before. Request and answer types stay plain, JSON-friendly data; a field that changes meaning bumps `DecisionRequest.version`. - Remote brains (LLM, ML) are decision makers registered by name, never edits to WindBot or the hosts. + Remote brains (LLM, ML) are decision makers registered by name, never edits to WindBot or the hosts. The + built-in brain's `--seed 7` report must stay equal to `tests/fixture/expected/v0.1.0-seed7-n100.json` (a test + checks); a change that alters it changes how the game plays and needs the owner. - **Keep the namespaces the game uses** (`WindBot.*`, `YGOSharp.*`, `YGOLegacy.Bot`, `YGOLegacy.Characters`, `YGOLegacy.Services`) and WindBot's `[YGOL]` markers on fork changes. - **Everything builds in Docker** (`Dockerfile`); there is no `dotnet` on the hosts. `docker build --target test .` diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c9e707..c2b0702 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,17 +3,20 @@ One section per release; the section is the release's body. Each names the engine release it was built and tested against (`bots.json`'s `engine`). -## Unreleased +## v0.2.0 — 2026-10-19 The decision seam. Engine `v1.4.1`. No change to how the bots play: a seat with no decision maker is answered by -its executor exactly as before (same 100-duel report). +its executor exactly as before (the `--seed 7` 100-duel report equals v0.1.0's apart from its clocks). - `YGOLegacy.Bots.Decisions`: `IDecisionMaker.Decide(DecisionRequest) -> Decision`, asked at every prompt of every seat (`GameBehavior.YGOL_Decide`) before the seat's WindBot executor; null, an exception or an illegal answer hands the prompt to the executor. Requests (kind, legal options, what the seat sees as a `DuelView`) and answers (option indices) are plain JSON-friendly data. -- A seat picks a maker with the WindBot token `Decisions=`; `DecisionMakers.Register` names one. Built in: - `builtin` (the executor) and `random` (a random legal answer from the request's JSON). +- A seat picks a maker with the WindBot token `Decisions=`, else gets `BotHost.Decisions` (default none); + `DecisionMakers.Register` names one. Built in: `builtin` (the executor), `first` (the first legal answer, the + test brain) and `random` (a random legal answer), both from the request's JSON alone. +- Every prompt with a choice is asked, including `MSG_SORT_CHAIN` and the "field first" card prompt (their + built-in answers unchanged); only no-choice prompts are not. Seats with a maker log their counts per duel. - `BotArena --decisionsA/--decisionsB `. ## v0.1.0 — 2026-10-19 diff --git a/README.md b/README.md index 9589ab8..a366955 100644 --- a/README.md +++ b/README.md @@ -82,10 +82,12 @@ public interface IDecisionMaker deck executor otherwise. A seat without a decision maker (the default, and every seat today) is answered by it exactly as before: `YGOL_Decide` calls the GameAI and builds nothing else. - **Another decision maker** is chosen per seat by the WindBot token `Decisions=` (the arena: - `--decisionsA/--decisionsB `) and registered by name with `DecisionMakers.Register(name, seat => maker)` - by the host or a plug-in. `builtin` (or no token) is the executor; an unknown name is logged and gets the - executor. Built in: `random`, a uniformly random legal answer that reads only each request's JSON (a baseline, - and the seam's own end-to-end test). + `--decisionsA/--decisionsB `); a seat without the token gets the host's default, `BotHost.Decisions` + (null: the executor). Names are registered with `DecisionMakers.Register(name, seat => maker)` by the host or a + plug-in. `builtin` is the executor (also over a host default); an unknown name is logged and gets the executor. + Built in, both reading only each request's JSON: `first` (the first legal option; sums and counters solved from + the options' values; deterministic, the test brain) and `random` (a uniformly random legal option; a baseline; + leaves sums and counters to the executor). - **The question** is a `DecisionRequest`: `kind` (`DecisionKind`: idle, battle, card, tribute, unselectCard, chain, effectYesNo, yesNo, option, position, place, sum, counter, attribute, race, number, announceCard, sort, rockPaperScissors, turnOrder), the seat, `min`/`max`/`cancelable`, the engine's `hint` and `description`, the @@ -98,10 +100,16 @@ public interface IDecisionMaker a count outside `min`..`max`) gets a `[YGOL decisions]` warning and the executor answers that prompt; the duel goes on. So a maker can take over some kinds and leave the rest (`random` leaves sums and counters). The executor's own plans assume it made the earlier choices; mixing is legal, not necessarily good play. -- **A remote brain** (an LLM through OpenRouter, a model on a GPU box) is an `IDecisionMaker` that sends the request - and waits for the answer: `Decide` is called on the bot's thread and the duel waits for it, the same in all four - places. Its time limit, retries and fallback are its own; returning null hands the prompt back. No remote maker - is built yet. +- **Prompts that are not asked** are the ones with no choice: a chain prompt with nothing to chain, a chain whose + only option is one forced activation, a position prompt with one position, rock-paper-scissors fixed by the + `Hand=` token. Everything else is asked, including the prompts WindBot's AI never decides (the chain order of + `MSG_SORT_CHAIN`, a "field first" card prompt), whose built-in answer stays WindBot's fixed one. A seat with a + decision maker logs, at the end of each duel, `[YGOL decisions] counts : asked=N (kind xN, ...) + handedBack=N unasked=N (kind: reason xN, ...)`. +- **A remote brain** (OpenRouter Jev or Claude through our server, a model on a RunPod box) is an `IDecisionMaker` + that sends the request as JSON and waits for the answer: `Decide` is called on the bot's thread and the duel + waits for it, the same in all four places. Its time limit, retries and fallback are its own; returning null + hands the prompt back. No remote maker is built yet. ## Build and test @@ -118,9 +126,10 @@ The tests: the library through `BotHost` (cards, deck caps and `#ruleset`, the r and its Dovphin fallback, a broken character logged, the game's scan-then-publish), the decision seam (the registry, JSON round trips, the random maker's ranges), and the published Linux arena on the fixture: 100 duels of `AI_OldSchool` against itself (both seats the Smart brain) with 0 errors; the same `--seed` giving the same -report at `--parallel 4` and `--parallel 2` (clocks aside); 100 duels with both seats answered through the seam -by `random` (0 errors, no fallback); `Decisions=builtin` giving the same duels as no token; and the Smart brain -beating `random`. +report at `--parallel 4` and `--parallel 2` (clocks aside); the built-in brain's `--seed 7` report equal to the +v0.1.0 release's (`tests/fixture/expected/v0.1.0-seed7-n100.json`, clocks aside); 100 duels with both seats +answered by `first`, every choice asked (none handed back, only no-choice prompts unasked); the same with `random`; +`Decisions=builtin` giving the same duels as no token; and the Smart brain beating `random`. ## Engine pin diff --git a/src/YGOLegacy.Bots/Decisions/Decisions.cs b/src/YGOLegacy.Bots/Decisions/Decisions.cs index 787c991..197c96e 100644 --- a/src/YGOLegacy.Bots/Decisions/Decisions.cs +++ b/src/YGOLegacy.Bots/Decisions/Decisions.cs @@ -24,8 +24,8 @@ namespace YGOLegacy.Bots.Decisions /// /// Which seats get a maker. A seat names one with the WindBot token Decisions=<name> (the arena: - /// --decisionsA/--decisionsB); the host or a plug-in registers the name. No token, or - /// , is the seat's own executor. + /// --decisionsA/--decisionsB); a seat without the token gets (default + /// none). The host or a plug-in registers the names. is the seat's own executor. /// public static class DecisionMakers { @@ -37,10 +37,15 @@ namespace YGOLegacy.Bots.Decisions /// Program.Rand when the seat is built, so a seeded arena run repeats. public const string Random = "random"; + /// The first legal option at every prompt, read from the request alone (sums and counters solved from the + /// options' values). The test brain: deterministic, never hands a prompt back. + public const string First = "first"; + private static readonly Dictionary> factories = new Dictionary>(StringComparer.OrdinalIgnoreCase) { [Random] = seat => new RandomDecisions(WindBot.Program.Rand?.Next() ?? 0), + [First] = seat => new FirstDecisions(), }; /// Register (or replace) a maker by name. Safe from any thread. @@ -59,7 +64,7 @@ namespace YGOLegacy.Bots.Decisions /// The maker for a seat, or null for its built-in brain. An unknown name is logged and gets the built-in. public static IDecisionMaker For(DecisionSeat seat) { - var name = seat?.decisions; + var name = string.IsNullOrEmpty(seat?.decisions) ? BotHost.Decisions : seat.decisions; if (string.IsNullOrEmpty(name) || string.Equals(name, BuiltIn, StringComparison.OrdinalIgnoreCase)) return null; Func factory; @@ -127,6 +132,8 @@ namespace YGOLegacy.Bots.Decisions public const string AnnounceCard = "announceCard"; /// Order these cards: choose every option, first to last. public const string Sort = "sort"; + /// Order chain links the engine lets this seat order: choose every option, in the new order. + public const string SortChain = "sortChain"; /// Rock-paper-scissors (option value 1 scissors, 2 rock, 3 paper). public const string RockPaperScissors = "rockPaperScissors"; /// Go first (option 0) or second (option 1). diff --git a/src/YGOLegacy.Bots/Decisions/FirstDecisions.cs b/src/YGOLegacy.Bots/Decisions/FirstDecisions.cs new file mode 100644 index 0000000..1d1b016 --- /dev/null +++ b/src/YGOLegacy.Bots/Decisions/FirstDecisions.cs @@ -0,0 +1,94 @@ +using System; +using System.Collections.Generic; +using Newtonsoft.Json; + +namespace YGOLegacy.Bots.Decisions +{ + /// + /// : the first legal answer, from the request's JSON alone. Card prompts take + /// the first `min` options (at least one), yes/no says no, sorts keep the order; sums pick the first options + /// whose values reach the target the way the engine checks it, counters take from the first options first. + /// Deterministic. It hands a prompt back only when it finds no legal answer in the options (a sum with none). + /// + public sealed class FirstDecisions : IDecisionMaker + { + public Decision Decide(DecisionRequest request) + { + var r = JsonConvert.DeserializeObject(JsonConvert.SerializeObject(request)); + var n = r.options.Count; + switch (r.kind) + { + case DecisionKind.Sort: + case DecisionKind.SortChain: + return new Decision { choose = Range(n) }; + case DecisionKind.Counter: + { + var counts = new List(); + var left = r.value; + foreach (var option in r.options) + { + var take = Math.Min(option.value, left); + counts.Add(take); + left -= take; + } + return left == 0 ? new Decision { counts = counts } : null; + } + case DecisionKind.Sum: + { + var chosen = new List(); + return Sum(r, 0, chosen) ? new Decision { choose = chosen } : null; + } + default: + { + var count = Math.Min(Math.Max(r.min, 1), Math.Min(r.max, n)); + if (count == 0 && !r.cancelable) return null; + return new Decision { choose = Range(count) }; + } + } + } + + private static List Range(int n) + { + var list = new List(n); + for (int i = 0; i < n; ++i) list.Add(i); + return list; + } + + // The engine's checks (select_with_sum_limit): with exact, some value of each chosen card adds up to the + // target; without, the chosen cards' larger values reach it and dropping the smallest falls short. + private static bool Sum(DecisionRequest r, int from, List chosen) + { + if (chosen.Count >= Math.Max(r.min, 1) && Fits(r, chosen)) return true; + if (chosen.Count >= r.max) return false; + for (int i = from; i < r.options.Count; ++i) + { + chosen.Add(i); + if (Sum(r, i + 1, chosen)) return true; + chosen.RemoveAt(chosen.Count - 1); + } + return false; + } + + private static bool Fits(DecisionRequest r, List chosen) + { + if (r.exact) return Exact(r, chosen, 0, r.value); + int sum = 0, mx = 0, mn = int.MaxValue; + foreach (var i in chosen) + { + int o1 = r.options[i].value, o2 = r.options[i].value2; + int ms = o2 > 0 && o2 < o1 ? o2 : o1; + sum += ms; + mx += Math.Max(o1, o2); + mn = Math.Min(mn, ms); + } + return mx >= r.value && sum - mn < r.value; + } + + private static bool Exact(DecisionRequest r, List chosen, int at, int left) + { + if (at == chosen.Count) return left == 0; + var o = r.options[chosen[at]]; + return Exact(r, chosen, at + 1, left - o.value) || (o.value2 > 0 && Exact(r, chosen, at + 1, left - o.value2)); + } + } +} diff --git a/src/YGOLegacy.Bots/Decisions/RandomDecisions.cs b/src/YGOLegacy.Bots/Decisions/RandomDecisions.cs index 177c4c8..d1d7c3b 100644 --- a/src/YGOLegacy.Bots/Decisions/RandomDecisions.cs +++ b/src/YGOLegacy.Bots/Decisions/RandomDecisions.cs @@ -31,7 +31,7 @@ namespace YGOLegacy.Bots.Decisions int j = random.Next(i + 1); (order[i], order[j]) = (order[j], order[i]); } - if (copy.kind == DecisionKind.Sort) + if (copy.kind == DecisionKind.Sort || copy.kind == DecisionKind.SortChain) return new Decision { choose = order }; int min = Math.Min(copy.min, n); int max = Math.Min(copy.max, n); diff --git a/src/YGOLegacy.Bots/Host/BotHost.cs b/src/YGOLegacy.Bots/Host/BotHost.cs index 5c02e34..ec6f3a0 100644 --- a/src/YGOLegacy.Bots/Host/BotHost.cs +++ b/src/YGOLegacy.Bots/Host/BotHost.cs @@ -26,6 +26,10 @@ namespace YGOLegacy.Bots /// The active locale's bot.conf. Default: empty (BotRoster then uses its built-in Dovphin command). public static IBotConf BotConf { get; set; } = new EmptyBotConf(); + /// The decision maker (YGOLegacy.Bots.Decisions.DecisionMakers name) for seats whose command has no + /// Decisions= token. Default: null, the seat's own executor (SmartExecutor for character decks). + public static string Decisions { get; set; } + internal static ICardDatabase RequireCards() => Cards ?? throw new InvalidOperationException("YGOLegacy.Bots: BotHost.Cards is not set; the host must set it before the card databases load"); } diff --git a/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.YGOL_Decisions.cs b/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.YGOL_Decisions.cs index a3107d4..e581a68 100644 --- a/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.YGOL_Decisions.cs +++ b/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.YGOL_Decisions.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; using YGOLegacy.Bots; using YGOLegacy.Bots.Decisions; @@ -17,6 +18,12 @@ namespace WindBot.Game { private IDecisionMaker _ygolDecisions; private int _ygolPrompt; + // What the seam did this duel (logged at MSG_WIN when the seat has a decision maker): prompts asked, prompts + // the maker handed back (null, illegal, threw), and prompts answered without asking because they offer no + // choice (nothing to chain, one forced activation, one position, Hand= fixed the hand). + private int _ygolHandedBack; + private readonly Dictionary _ygolAsked = new Dictionary(); + private readonly Dictionary _ygolUnasked = new Dictionary(); private void YGOL_InitDecisions() { @@ -39,6 +46,7 @@ namespace WindBot.Game try { var request = new DecisionRequest { kind = kind, seat = Game.Username, prompt = ++_ygolPrompt }; + YGOL_Count(_ygolAsked, kind); var apply = build(request); for (int i = 0; i < request.options.Count; ++i) request.options[i].index = i; @@ -56,9 +64,72 @@ namespace WindBot.Game { BotHost.Log.Warning("[YGOL decisions] " + Game.Username + " " + kind + ": " + e.GetType().Name + ": " + e.Message + "; its own brain answers"); } + _ygolHandedBack++; return builtIn(); } + /// A prompt answered without asking anyone: it offers no choice. + private void YGOL_Unasked(string kind, string reason) + { + if (_ygolDecisions == null) return; + YGOL_Count(_ygolUnasked, kind + ": " + reason); + } + + private static void YGOL_Count(Dictionary counts, string key) + { + counts.TryGetValue(key, out var n); + counts[key] = n + 1; + } + + private static string YGOL_Counts(Dictionary counts) + => counts.Count == 0 ? string.Empty : " (" + string.Join(", ", counts.OrderBy(p => p.Key, StringComparer.Ordinal).Select(p => p.Key + " x" + p.Value)) + ")"; + + private void YGOL_LogDecisionCounts() + { + if (_ygolDecisions == null) return; + BotHost.Log.Info("[YGOL decisions] counts " + Game.Username + ": asked=" + _ygolPrompt + YGOL_Counts(_ygolAsked) + + " handedBack=" + _ygolHandedBack + " unasked=" + _ygolUnasked.Values.Sum() + YGOL_Counts(_ygolUnasked)); + } + + /// MSG_SORT_CHAIN: the built-in brain keeps the engine's order (-1) and reads nothing; a decision maker may + /// order the chain links. + private void YGOL_SortChain(BinaryReader packet) + { + if (_ygolDecisions == null) + { + Connection.Send(YGOSharp.Network.Enums.CtosMessage.Response, -1); + return; + } + packet.ReadByte(); // player + int count = packet.ReadByte(); + var links = new List(); + for (int i = 0; i < count; ++i) + { + int code = packet.ReadInt32(); + int controller = GetLocalPlayer(packet.ReadByte()); + var location = (CardLocation)packet.ReadByte(); + int sequence = packet.ReadByte(); + links.Add(new CardView { code = code, name = YGOSharp.OCGWrapper.NamedCard.Get(code)?.Name, controller = controller, location = YGOL_Location(location), sequence = sequence }); + } + var order = YGOL_Decide>(DecisionKind.SortChain, r => + { + r.min = r.max = count; + foreach (var link in links) r.options.Add(new DecisionOption { action = "link", card = link }); + return d => d.choose; + }, () => null); + if (order == null) + { + Connection.Send(YGOSharp.Network.Enums.CtosMessage.Response, -1); + return; + } + var result = new byte[count]; + for (int j = 0; j < order.Count; ++j) + result[order[j]] = (byte)j; + var reply = YGOLegacy.Protocol.Codecs.CtosPacket.Begin(YGOLegacy.Protocol.Codecs.DuelCodecs.Response.Id); + YGOLegacy.Protocol.Codecs.DuelCodecs.Response.Write(reply, new YGOLegacy.Protocol.Contracts.Response(result)); + Connection.Send(reply); + } + private static string YGOL_Illegal(DecisionRequest request, Decision answer) { var n = request.options.Count; @@ -77,7 +148,7 @@ namespace WindBot.Game if (chosen.Any(i => i < 0 || i >= n)) return "an index is not an option"; if (chosen.Distinct().Count() != chosen.Count) return "an option is chosen twice"; if (chosen.Count == 0 && request.cancelable) return null; - if (request.kind == DecisionKind.Sort) return chosen.Count == n ? null : "sort orders every option"; + if (request.kind == DecisionKind.Sort || request.kind == DecisionKind.SortChain) return chosen.Count == n ? null : "sort orders every option"; if (chosen.Count < request.min || chosen.Count > request.max) return "chose " + chosen.Count + ", needs " + request.min + "-" + request.max; return null; } diff --git a/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.cs b/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.cs index 5a86046..0af6e67 100644 --- a/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.cs +++ b/src/YGOLegacy.Bots/WindBot/Game/GameBehavior.cs @@ -490,7 +490,10 @@ namespace WindBot.Game { int result; if (_hand > 0) + { result = _hand; + YGOL_Unasked(YGOLegacy.Bots.Decisions.DecisionKind.RockPaperScissors, "fixed by Hand="); // [YGOL] the command decided + } else result = YGOL_RockPaperScissors(); // [YGOL] decision seam Connection.Send(CtosMessage.HandResult, (byte)result); @@ -683,6 +686,7 @@ namespace WindBot.Game Logger.DebugWriteLine("Duel finished against " + otherName + ", result: " + textResult); // [YGOL] see YGOL_DuelResult. try { YGOL_DuelResult?.Invoke(Game.Username, result, _duel.Turn); } catch (Exception) { } + YGOL_LogDecisionCounts(); // [YGOL] decision seam } private void OnDraw(BinaryReader packet) @@ -1146,7 +1150,8 @@ namespace WindBot.Game private void OnChainSorting(BinaryReader packet) { - Connection.Send(CtosMessage.Response, -1); + // [YGOL] decision seam: the built-in brain keeps the default order (-1); a decision maker may order it. + YGOL_SortChain(packet); } private void OnUpdateCard(BinaryReader packet) @@ -1319,14 +1324,21 @@ namespace WindBot.Game cards.Add(card); } + var kind = tribute ? YGOLegacy.Bots.Decisions.DecisionKind.Tribute : YGOLegacy.Bots.Decisions.DecisionKind.Card; // [YGOL] decision seam + IList selected; if (_select_hint == 575 && cancelable) // HINTMSG_FIELD_FIRST { - _select_hint = 0; - Connection.Send(CtosMessage.Response, -1); - return; + // [YGOL] decision seam: the built-in brain always declines here; a decision maker may pick. + selected = YGOL_SelectCards(kind, (c, n, x, h, can) => new List(), cards, min, max, _select_hint, cancelable); + if (selected.Count == 0) + { + _select_hint = 0; + Connection.Send(CtosMessage.Response, -1); + return; + } } - - IList selected = YGOL_SelectCards(tribute ? YGOLegacy.Bots.Decisions.DecisionKind.Tribute : YGOLegacy.Bots.Decisions.DecisionKind.Card, func, cards, min, max, _select_hint, cancelable); // [YGOL] decision seam + else + selected = YGOL_SelectCards(kind, func, cards, min, max, _select_hint, cancelable); // [YGOL] decision seam _select_hint = 0; // [YGOL] a min-0 tribute (the continuation after YESNO 210) is answered by @@ -1487,12 +1499,14 @@ namespace WindBot.Game if (cards.Count == 0) { + YGOL_Unasked(YGOLegacy.Bots.Decisions.DecisionKind.Chain, "nothing to chain"); // [YGOL] no choice Connection.Send(CtosMessage.Response, -1); return; } if (cards.Count == 1 && forces[0]) { + YGOL_Unasked(YGOLegacy.Bots.Decisions.DecisionKind.Chain, "one forced activation"); // [YGOL] one legal answer Connection.Send(CtosMessage.Response, 0); return; } @@ -1657,7 +1671,8 @@ namespace WindBot.Game ClientCard card = _duel.GetCard(player, loc, seq); if (card == null) { - Connection.Send(CtosMessage.Response, 0); + // [YGOL] decision seam: the built-in brain says no to a card it cannot place. + Connection.Send(CtosMessage.Response, YGOL_YesNo(YGOLegacy.Bots.Decisions.DecisionKind.EffectYesNo, null, desc, () => false) ? 1 : 0); return; } @@ -1869,6 +1884,7 @@ namespace WindBot.Game int pos = packet.ReadByte(); if (pos == 0x1 || pos == 0x2 || pos == 0x4 || pos == 0x8) { + YGOL_Unasked(YGOLegacy.Bots.Decisions.DecisionKind.Position, "one position"); // [YGOL] one legal answer Connection.Send(CtosMessage.Response, pos); return; } @@ -2190,7 +2206,10 @@ namespace WindBot.Game packet.ReadByte(); // player int result; if (_hand > 0) + { result = _hand; + YGOL_Unasked(YGOLegacy.Bots.Decisions.DecisionKind.RockPaperScissors, "fixed by Hand="); // [YGOL] the command decided + } else result = YGOL_RockPaperScissors(); // [YGOL] decision seam Connection.Send(CtosMessage.Response, result); diff --git a/tests/YGOLegacy.Bots.Tests/ArenaTests.cs b/tests/YGOLegacy.Bots.Tests/ArenaTests.cs index b922aa8..be714a1 100644 --- a/tests/YGOLegacy.Bots.Tests/ArenaTests.cs +++ b/tests/YGOLegacy.Bots.Tests/ArenaTests.cs @@ -100,9 +100,76 @@ namespace YGOLegacy.Bots.Tests Assert.That(JToken.DeepEquals(a["duels"], other["duels"]), Is.False, "another seed plays other duels"); } - private static string[] SeamWarnings(string root) + private static IEnumerable WorkerLog(string root) => Directory.GetFiles(Path.Combine(root, "Data", "BotArena", "logs"), "worker-*.log", SearchOption.AllDirectories) - .SelectMany(File.ReadLines).Where(l => l.Contains("[YGOL decisions]")).ToArray(); + .SelectMany(File.ReadLines); + + private static string[] SeamWarnings(string root) + => WorkerLog(root).Where(l => l.Contains("[warn] [YGOL decisions]")).ToArray(); + + // "[YGOL decisions] counts : asked=N (kind xN, ...) handedBack=N unasked=N (kind: reason xN, ...)", + // one line per seat with a decision maker, at the end of each duel. + private static (int asked, int handedBack, Dictionary askedKinds, Dictionary unasked) SeamCounts(string root) + { + int asked = 0, handedBack = 0; + var askedKinds = new Dictionary(); + var unasked = new Dictionary(); + var line = new System.Text.RegularExpressions.Regex(@"\[YGOL decisions\] counts .*?: asked=(\d+)(?: \(([^)]*)\))? handedBack=(\d+) unasked=\d+(?: \(([^)]*)\))?$"); + void Add(Dictionary into, string list) + { + if (string.IsNullOrEmpty(list)) return; + foreach (var part in list.Split(", ")) + { + var cut = part.LastIndexOf(" x", StringComparison.Ordinal); + into.TryGetValue(part.Substring(0, cut), out var n); + into[part.Substring(0, cut)] = n + int.Parse(part.Substring(cut + 2)); + } + } + foreach (var l in WorkerLog(root)) + { + var m = line.Match(l); + if (!m.Success) continue; + asked += int.Parse(m.Groups[1].Value); + Add(askedKinds, m.Groups[2].Value); + handedBack += int.Parse(m.Groups[3].Value); + Add(unasked, m.Groups[4].Value); + } + return (asked, handedBack, askedKinds, unasked); + } + + // Prompts the seam answers without asking: they offer no choice at all. + private static readonly HashSet NoChoice = new() + { + "chain: nothing to chain", "chain: one forced activation", "position: one position", "rockPaperScissors: fixed by Hand=", + }; + + [Test] + public void TheBuiltInBrainPlaysExactlyAsInV010() + { + // tests/fixture/expected/v0.1.0-seed7-n100.json is the v0.1.0 release arena's report for this command line. + var root = Fixture.CopyRoot(); + var now = Duel(root, Duels, 4, Seed, Path.Combine(root, "now.json")); + var then = JObject.Parse(File.ReadAllText(Path.Combine(Path.GetDirectoryName(Fixture.Source), "expected", "v0.1.0-seed7-n100.json"))); + Assert.That(JToken.DeepEquals(WithoutClocks(now), WithoutClocks(then)), Is.True, "the report differs from v0.1.0's beyond its clocks"); + } + + [Test] + public void EveryChoiceGoesThroughTheSeam() + { + // Both seats answered by `first`, which reads only each request's JSON. Every prompt with a choice is + // asked; none is handed back; the only prompts not asked are ones with no choice. + var root = Fixture.CopyRoot(); + var report = Duel(root, Duels, 4, Seed, Path.Combine(root, "first.json"), "--decisionsA", "first", "--decisionsB", "first"); + Assert.That((int)report["completed"], Is.EqualTo(Duels)); + Assert.That((int)report["errors"], Is.EqualTo(0)); + Assert.That(SeamWarnings(root), Is.Empty); + var (asked, handedBack, askedKinds, unasked) = SeamCounts(root); + TestContext.Progress.WriteLine("first vs first: asked " + asked + " (" + string.Join(", ", askedKinds.Select(p => p.Key + " " + p.Value)) + "), handed back " + + handedBack + ", not asked " + string.Join(", ", unasked.Select(p => p.Key + " " + p.Value))); + Assert.That(asked, Is.GreaterThan(1000)); + Assert.That(handedBack, Is.EqualTo(0)); + Assert.That(unasked.Keys.Where(k => !NoChoice.Contains(k)), Is.Empty, "a prompt with a choice bypassed the seam"); + } [Test] public void TheDecisionSeamAnswersEveryPromptFromPlainData() @@ -115,6 +182,7 @@ namespace YGOLegacy.Bots.Tests Assert.That((int)report["errors"], Is.EqualTo(0)); Assert.That((string)report["commandA"], Does.EndWith(" Decisions=random")); Assert.That(SeamWarnings(root), Is.Empty, "no prompt fell back to the brain over a bad request or answer"); + Assert.That(SeamCounts(root).unasked.Keys.Where(k => !NoChoice.Contains(k)), Is.Empty); var again = Duel(root, Duels, 2, Seed, Path.Combine(root, "random-2.json"), "--decisionsA", "random", "--decisionsB", "random"); Assert.That(JToken.DeepEquals(WithoutClocks(report), WithoutClocks(again)), Is.True, "a seeded run with makers repeats too"); } diff --git a/tests/YGOLegacy.Bots.Tests/DecisionTests.cs b/tests/YGOLegacy.Bots.Tests/DecisionTests.cs index 39bd6e3..1e17550 100644 --- a/tests/YGOLegacy.Bots.Tests/DecisionTests.cs +++ b/tests/YGOLegacy.Bots.Tests/DecisionTests.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Linq; using Newtonsoft.Json; using NUnit.Framework; using YGOLegacy.Bots.Decisions; @@ -38,14 +39,44 @@ namespace YGOLegacy.Bots.Tests public void ARegisteredMakerIsBuiltPerSeat() { var seats = new List(); - DecisionMakers.Register("first", seat => { seats.Add(seat.name); return new First(); }); + DecisionMakers.Register("test-first", seat => { seats.Add(seat.name); return new First(); }); try { - Assert.That(DecisionMakers.For(new DecisionSeat { name = "A", decisions = "first" }), Is.InstanceOf()); + Assert.That(DecisionMakers.For(new DecisionSeat { name = "A", decisions = "test-first" }), Is.InstanceOf()); Assert.That(seats, Is.EqualTo(new[] { "A" })); Assert.Throws(() => DecisionMakers.Register("builtin", seat => new First())); } - finally { DecisionMakers.Unregister("first"); } + finally { DecisionMakers.Unregister("test-first"); } + } + + [Test] + public void TheHostDefaultAppliesUnlessTheSeatSaysOtherwise() + { + try + { + BotHost.Decisions = DecisionMakers.First; + Assert.That(DecisionMakers.For(new DecisionSeat { name = "A" }), Is.InstanceOf(), "no token: the host default"); + Assert.That(DecisionMakers.For(new DecisionSeat { name = "A", decisions = "random" }), Is.InstanceOf(), "the token wins"); + Assert.That(DecisionMakers.For(new DecisionSeat { name = "A", decisions = "builtin" }), Is.Null, "builtin: the executor despite the default"); + } + finally { BotHost.Decisions = null; } + } + + [Test] + public void FirstSolvesSumsAndCountersFromTheOptions() + { + var first = new FirstDecisions(); + var sum = new DecisionRequest { kind = DecisionKind.Sum, value = 8, exact = true, min = 1, max = 3 }; + foreach (var (v1, v2) in new[] { (4, 0), (3, 0), (2, 6), (4, 0) }) + sum.options.Add(new DecisionOption { index = sum.options.Count, value = v1, value2 = v2 }); + Assert.That(first.Decide(sum).choose, Is.EqualTo(new[] { 0, 3 }), "the first options, in order, that make exactly 8"); + sum.exact = false; + sum.value = 9; + Assert.That(first.Decide(sum).choose, Is.EqualTo(new[] { 0, 1, 2 }), "at least 9, and dropping the smallest falls short"); + var counter = new DecisionRequest { kind = DecisionKind.Counter, value = 3 }; + counter.options.Add(new DecisionOption { index = 0, value = 2 }); + counter.options.Add(new DecisionOption { index = 1, value = 5 }); + Assert.That(first.Decide(counter).counts, Is.EqualTo(new[] { 2, 1 })); } [Test] diff --git a/tests/fixture/expected/v0.1.0-seed7-n100.json b/tests/fixture/expected/v0.1.0-seed7-n100.json new file mode 100644 index 0000000..8910599 --- /dev/null +++ b/tests/fixture/expected/v0.1.0-seed7-n100.json @@ -0,0 +1,2139 @@ +{ + "startedAt": "2026-10-20 01:35:06", + "config": { + "deckA": "AI_OldSchool", + "deckB": "AI_OldSchool", + "executorA": "", + "executorB": "", + "n": 100, + "seed": 7, + "timeoutSeconds": 300, + "verboseBots": false, + "outPath": "/s/report-old.json", + "journalDir": "", + "insightA": "", + "insightB": "", + "hostMode": "local" + }, + "nameA": "Old School A", + "nameB": "Old School B", + "commandA": "Name=\"Old School A\" Deck=Smart DeckFile=\"AI_OldSchool\" Character=\"fixture-oldschool\"", + "commandB": "Name=\"Old School B\" Deck=Smart DeckFile=\"AI_OldSchool\" Character=\"fixture-oldschool\"", + "winsA": 67, + "winsB": 33, + "draws": 0, + "errors": 0, + "completed": 100, + "totalSeconds": 1.156267, + "averageTurns": 18.5, + "done": true, + "cancelled": false, + "reportPath": null, + "summary": "Old School A 67 - 33 Old School B (0 errors, avg 18.5 turns, 0m01s)", + "status": "done", + "duels": [ + { + "index": 1, + "winner": "A", + "winnerName": "Old School A", + "turns": 14, + "durationSeconds": 0.0860804, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 14 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 14 + }, + "seedA": 7000, + "seedB": 7001, + "coreMs": 64 + }, + { + "index": 2, + "winner": "A", + "winnerName": "Old School A", + "turns": 22, + "durationSeconds": 0.0658681, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 22 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 22 + }, + "seedA": 7002, + "seedB": 7003, + "coreMs": 50 + }, + { + "index": 3, + "winner": "B", + "winnerName": "Old School B", + "turns": 27, + "durationSeconds": 0.1051642, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 27 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 27 + }, + "seedA": 7004, + "seedB": 7005, + "coreMs": 83 + }, + { + "index": 4, + "winner": "B", + "winnerName": "Old School B", + "turns": 11, + "durationSeconds": 0.0900576, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 11 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 11 + }, + "seedA": 7006, + "seedB": 7007, + "coreMs": 68 + }, + { + "index": 5, + "winner": "B", + "winnerName": "Old School B", + "turns": 19, + "durationSeconds": 0.0245503, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 19 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 19 + }, + "seedA": 7008, + "seedB": 7009, + "coreMs": 24 + }, + { + "index": 6, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.0251011, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7010, + "seedB": 7011, + "coreMs": 24 + }, + { + "index": 7, + "winner": "A", + "winnerName": "Old School A", + "turns": 16, + "durationSeconds": 0.0254243, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 16 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 16 + }, + "seedA": 7012, + "seedB": 7013, + "coreMs": 24 + }, + { + "index": 8, + "winner": "A", + "winnerName": "Old School A", + "turns": 28, + "durationSeconds": 0.0293296, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 28 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 28 + }, + "seedA": 7014, + "seedB": 7015, + "coreMs": 26 + }, + { + "index": 9, + "winner": "A", + "winnerName": "Old School A", + "turns": 6, + "durationSeconds": 0.0087396, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 6 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 6 + }, + "seedA": 7016, + "seedB": 7017, + "coreMs": 8 + }, + { + "index": 10, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0178618, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7018, + "seedB": 7019, + "coreMs": 17 + }, + { + "index": 11, + "winner": "A", + "winnerName": "Old School A", + "turns": 22, + "durationSeconds": 0.0199921, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 22 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 22 + }, + "seedA": 7020, + "seedB": 7021, + "coreMs": 19 + }, + { + "index": 12, + "winner": "B", + "winnerName": "Old School B", + "turns": 27, + "durationSeconds": 0.0298641, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 27 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 27 + }, + "seedA": 7022, + "seedB": 7023, + "coreMs": 29 + }, + { + "index": 13, + "winner": "B", + "winnerName": "Old School B", + "turns": 23, + "durationSeconds": 0.0294537, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 23 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 23 + }, + "seedA": 7024, + "seedB": 7025, + "coreMs": 29 + }, + { + "index": 14, + "winner": "A", + "winnerName": "Old School A", + "turns": 40, + "durationSeconds": 0.0411394, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 40 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 40 + }, + "seedA": 7026, + "seedB": 7027, + "coreMs": 40 + }, + { + "index": 15, + "winner": "A", + "winnerName": "Old School A", + "turns": 18, + "durationSeconds": 0.0172201, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 18 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 18 + }, + "seedA": 7028, + "seedB": 7029, + "coreMs": 16 + }, + { + "index": 16, + "winner": "A", + "winnerName": "Old School A", + "turns": 8, + "durationSeconds": 0.0168634, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 8 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 8 + }, + "seedA": 7030, + "seedB": 7031, + "coreMs": 16 + }, + { + "index": 17, + "winner": "B", + "winnerName": "Old School B", + "turns": 15, + "durationSeconds": 0.022857, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 15 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 15 + }, + "seedA": 7032, + "seedB": 7033, + "coreMs": 21 + }, + { + "index": 18, + "winner": "A", + "winnerName": "Old School A", + "turns": 36, + "durationSeconds": 0.0269713, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 36 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 36 + }, + "seedA": 7034, + "seedB": 7035, + "coreMs": 26 + }, + { + "index": 19, + "winner": "A", + "winnerName": "Old School A", + "turns": 32, + "durationSeconds": 0.0337486, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 32 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 32 + }, + "seedA": 7036, + "seedB": 7037, + "coreMs": 32 + }, + { + "index": 20, + "winner": "A", + "winnerName": "Old School A", + "turns": 18, + "durationSeconds": 0.0244225, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 18 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 18 + }, + "seedA": 7038, + "seedB": 7039, + "coreMs": 23 + }, + { + "index": 21, + "winner": "A", + "winnerName": "Old School A", + "turns": 20, + "durationSeconds": 0.0212107, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 20 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 20 + }, + "seedA": 7040, + "seedB": 7041, + "coreMs": 20 + }, + { + "index": 22, + "winner": "A", + "winnerName": "Old School A", + "turns": 20, + "durationSeconds": 0.0162413, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 20 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 20 + }, + "seedA": 7042, + "seedB": 7043, + "coreMs": 15 + }, + { + "index": 23, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0157018, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7044, + "seedB": 7045, + "coreMs": 15 + }, + { + "index": 24, + "winner": "B", + "winnerName": "Old School B", + "turns": 15, + "durationSeconds": 0.0180845, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 15 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 15 + }, + "seedA": 7046, + "seedB": 7047, + "coreMs": 17 + }, + { + "index": 25, + "winner": "A", + "winnerName": "Old School A", + "turns": 20, + "durationSeconds": 0.0219789, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 20 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 20 + }, + "seedA": 7048, + "seedB": 7049, + "coreMs": 21 + }, + { + "index": 26, + "winner": "B", + "winnerName": "Old School B", + "turns": 29, + "durationSeconds": 0.0235687, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 29 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 29 + }, + "seedA": 7050, + "seedB": 7051, + "coreMs": 23 + }, + { + "index": 27, + "winner": "B", + "winnerName": "Old School B", + "turns": 21, + "durationSeconds": 0.0245576, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 21 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 21 + }, + "seedA": 7052, + "seedB": 7053, + "coreMs": 24 + }, + { + "index": 28, + "winner": "A", + "winnerName": "Old School A", + "turns": 24, + "durationSeconds": 0.030458, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 24 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 24 + }, + "seedA": 7054, + "seedB": 7055, + "coreMs": 30 + }, + { + "index": 29, + "winner": "B", + "winnerName": "Old School B", + "turns": 11, + "durationSeconds": 0.0156713, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 11 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 11 + }, + "seedA": 7056, + "seedB": 7057, + "coreMs": 15 + }, + { + "index": 30, + "winner": "A", + "winnerName": "Old School A", + "turns": 18, + "durationSeconds": 0.0149233, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 18 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 18 + }, + "seedA": 7058, + "seedB": 7059, + "coreMs": 14 + }, + { + "index": 31, + "winner": "A", + "winnerName": "Old School A", + "turns": 18, + "durationSeconds": 0.0224488, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 18 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 18 + }, + "seedA": 7060, + "seedB": 7061, + "coreMs": 21 + }, + { + "index": 32, + "winner": "B", + "winnerName": "Old School B", + "turns": 25, + "durationSeconds": 0.0242779, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 25 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 25 + }, + "seedA": 7062, + "seedB": 7063, + "coreMs": 23 + }, + { + "index": 33, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0134356, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7064, + "seedB": 7065, + "coreMs": 13 + }, + { + "index": 34, + "winner": "A", + "winnerName": "Old School A", + "turns": 26, + "durationSeconds": 0.0206926, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 26 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 26 + }, + "seedA": 7066, + "seedB": 7067, + "coreMs": 20 + }, + { + "index": 35, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.0161319, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7068, + "seedB": 7069, + "coreMs": 14 + }, + { + "index": 36, + "winner": "B", + "winnerName": "Old School B", + "turns": 11, + "durationSeconds": 0.0171727, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 11 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 11 + }, + "seedA": 7070, + "seedB": 7071, + "coreMs": 16 + }, + { + "index": 37, + "winner": "A", + "winnerName": "Old School A", + "turns": 26, + "durationSeconds": 0.0346746, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 26 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 26 + }, + "seedA": 7072, + "seedB": 7073, + "coreMs": 34 + }, + { + "index": 38, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.0128265, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7074, + "seedB": 7075, + "coreMs": 12 + }, + { + "index": 39, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.018103, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7076, + "seedB": 7077, + "coreMs": 17 + }, + { + "index": 40, + "winner": "B", + "winnerName": "Old School B", + "turns": 11, + "durationSeconds": 0.0168593, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 11 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 11 + }, + "seedA": 7078, + "seedB": 7079, + "coreMs": 16 + }, + { + "index": 41, + "winner": "B", + "winnerName": "Old School B", + "turns": 19, + "durationSeconds": 0.0152194, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 19 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 19 + }, + "seedA": 7080, + "seedB": 7081, + "coreMs": 14 + }, + { + "index": 42, + "winner": "A", + "winnerName": "Old School A", + "turns": 14, + "durationSeconds": 0.0207161, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 14 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 14 + }, + "seedA": 7082, + "seedB": 7083, + "coreMs": 20 + }, + { + "index": 43, + "winner": "A", + "winnerName": "Old School A", + "turns": 4, + "durationSeconds": 0.014959, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 4 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 4 + }, + "seedA": 7084, + "seedB": 7085, + "coreMs": 14 + }, + { + "index": 44, + "winner": "B", + "winnerName": "Old School B", + "turns": 19, + "durationSeconds": 0.0307631, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 19 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 19 + }, + "seedA": 7086, + "seedB": 7087, + "coreMs": 29 + }, + { + "index": 45, + "winner": "B", + "winnerName": "Old School B", + "turns": 25, + "durationSeconds": 0.0218639, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 25 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 25 + }, + "seedA": 7088, + "seedB": 7089, + "coreMs": 21 + }, + { + "index": 46, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0175479, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7090, + "seedB": 7091, + "coreMs": 16 + }, + { + "index": 47, + "winner": "A", + "winnerName": "Old School A", + "turns": 16, + "durationSeconds": 0.0216697, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 16 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 16 + }, + "seedA": 7092, + "seedB": 7093, + "coreMs": 20 + }, + { + "index": 48, + "winner": "A", + "winnerName": "Old School A", + "turns": 14, + "durationSeconds": 0.0218946, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 14 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 14 + }, + "seedA": 7094, + "seedB": 7095, + "coreMs": 21 + }, + { + "index": 49, + "winner": "B", + "winnerName": "Old School B", + "turns": 33, + "durationSeconds": 0.0373186, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 33 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 33 + }, + "seedA": 7096, + "seedB": 7097, + "coreMs": 36 + }, + { + "index": 50, + "winner": "A", + "winnerName": "Old School A", + "turns": 16, + "durationSeconds": 0.0186949, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 16 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 16 + }, + "seedA": 7098, + "seedB": 7099, + "coreMs": 18 + }, + { + "index": 51, + "winner": "B", + "winnerName": "Old School B", + "turns": 17, + "durationSeconds": 0.0272611, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 17 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 17 + }, + "seedA": 7100, + "seedB": 7101, + "coreMs": 26 + }, + { + "index": 52, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0145935, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7102, + "seedB": 7103, + "coreMs": 14 + }, + { + "index": 53, + "winner": "A", + "winnerName": "Old School A", + "turns": 16, + "durationSeconds": 0.0209765, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 16 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 16 + }, + "seedA": 7104, + "seedB": 7105, + "coreMs": 20 + }, + { + "index": 54, + "winner": "B", + "winnerName": "Old School B", + "turns": 29, + "durationSeconds": 0.0314881, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 29 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 29 + }, + "seedA": 7106, + "seedB": 7107, + "coreMs": 30 + }, + { + "index": 55, + "winner": "A", + "winnerName": "Old School A", + "turns": 44, + "durationSeconds": 0.0432743, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 44 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 44 + }, + "seedA": 7108, + "seedB": 7109, + "coreMs": 42 + }, + { + "index": 56, + "winner": "A", + "winnerName": "Old School A", + "turns": 28, + "durationSeconds": 0.0311275, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 28 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 28 + }, + "seedA": 7110, + "seedB": 7111, + "coreMs": 30 + }, + { + "index": 57, + "winner": "A", + "winnerName": "Old School A", + "turns": 28, + "durationSeconds": 0.0303379, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 28 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 28 + }, + "seedA": 7112, + "seedB": 7113, + "coreMs": 29 + }, + { + "index": 58, + "winner": "B", + "winnerName": "Old School B", + "turns": 19, + "durationSeconds": 0.0179167, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 19 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 19 + }, + "seedA": 7114, + "seedB": 7115, + "coreMs": 17 + }, + { + "index": 59, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.0167103, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7116, + "seedB": 7117, + "coreMs": 16 + }, + { + "index": 60, + "winner": "A", + "winnerName": "Old School A", + "turns": 22, + "durationSeconds": 0.0258481, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 22 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 22 + }, + "seedA": 7118, + "seedB": 7119, + "coreMs": 24 + }, + { + "index": 61, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0127904, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7120, + "seedB": 7121, + "coreMs": 12 + }, + { + "index": 62, + "winner": "B", + "winnerName": "Old School B", + "turns": 11, + "durationSeconds": 0.0165654, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 11 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 11 + }, + "seedA": 7122, + "seedB": 7123, + "coreMs": 16 + }, + { + "index": 63, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0188615, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7124, + "seedB": 7125, + "coreMs": 17 + }, + { + "index": 64, + "winner": "A", + "winnerName": "Old School A", + "turns": 20, + "durationSeconds": 0.0206071, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 20 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 20 + }, + "seedA": 7126, + "seedB": 7127, + "coreMs": 19 + }, + { + "index": 65, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0169201, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7128, + "seedB": 7129, + "coreMs": 16 + }, + { + "index": 66, + "winner": "A", + "winnerName": "Old School A", + "turns": 11, + "durationSeconds": 0.0198329, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 11 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 11 + }, + "seedA": 7130, + "seedB": 7131, + "coreMs": 18 + }, + { + "index": 67, + "winner": "A", + "winnerName": "Old School A", + "turns": 28, + "durationSeconds": 0.028752, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 28 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 28 + }, + "seedA": 7132, + "seedB": 7133, + "coreMs": 28 + }, + { + "index": 68, + "winner": "B", + "winnerName": "Old School B", + "turns": 13, + "durationSeconds": 0.0134744, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 13 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 13 + }, + "seedA": 7134, + "seedB": 7135, + "coreMs": 13 + }, + { + "index": 69, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.0163988, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7136, + "seedB": 7137, + "coreMs": 15 + }, + { + "index": 70, + "winner": "A", + "winnerName": "Old School A", + "turns": 40, + "durationSeconds": 0.0471639, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 40 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 40 + }, + "seedA": 7138, + "seedB": 7139, + "coreMs": 46 + }, + { + "index": 71, + "winner": "B", + "winnerName": "Old School B", + "turns": 17, + "durationSeconds": 0.0179189, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 17 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 17 + }, + "seedA": 7140, + "seedB": 7141, + "coreMs": 17 + }, + { + "index": 72, + "winner": "B", + "winnerName": "Old School B", + "turns": 15, + "durationSeconds": 0.0203982, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 15 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 15 + }, + "seedA": 7142, + "seedB": 7143, + "coreMs": 19 + }, + { + "index": 73, + "winner": "A", + "winnerName": "Old School A", + "turns": 38, + "durationSeconds": 0.0387529, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 38 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 38 + }, + "seedA": 7144, + "seedB": 7145, + "coreMs": 37 + }, + { + "index": 74, + "winner": "A", + "winnerName": "Old School A", + "turns": 40, + "durationSeconds": 0.033234, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 40 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 40 + }, + "seedA": 7146, + "seedB": 7147, + "coreMs": 32 + }, + { + "index": 75, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.0163437, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7148, + "seedB": 7149, + "coreMs": 15 + }, + { + "index": 76, + "winner": "A", + "winnerName": "Old School A", + "turns": 16, + "durationSeconds": 0.0253162, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 16 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 16 + }, + "seedA": 7150, + "seedB": 7151, + "coreMs": 24 + }, + { + "index": 77, + "winner": "B", + "winnerName": "Old School B", + "turns": 21, + "durationSeconds": 0.0209108, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 21 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 21 + }, + "seedA": 7152, + "seedB": 7153, + "coreMs": 19 + }, + { + "index": 78, + "winner": "A", + "winnerName": "Old School A", + "turns": 34, + "durationSeconds": 0.0281771, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 34 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 34 + }, + "seedA": 7154, + "seedB": 7155, + "coreMs": 27 + }, + { + "index": 79, + "winner": "B", + "winnerName": "Old School B", + "turns": 11, + "durationSeconds": 0.0165816, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 11 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 11 + }, + "seedA": 7156, + "seedB": 7157, + "coreMs": 16 + }, + { + "index": 80, + "winner": "A", + "winnerName": "Old School A", + "turns": 14, + "durationSeconds": 0.0171271, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 14 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 14 + }, + "seedA": 7158, + "seedB": 7159, + "coreMs": 16 + }, + { + "index": 81, + "winner": "B", + "winnerName": "Old School B", + "turns": 13, + "durationSeconds": 0.0222355, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 13 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 13 + }, + "seedA": 7160, + "seedB": 7161, + "coreMs": 21 + }, + { + "index": 82, + "winner": "B", + "winnerName": "Old School B", + "turns": 21, + "durationSeconds": 0.0194207, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 21 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 21 + }, + "seedA": 7162, + "seedB": 7163, + "coreMs": 19 + }, + { + "index": 83, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0146905, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7164, + "seedB": 7165, + "coreMs": 14 + }, + { + "index": 84, + "winner": "B", + "winnerName": "Old School B", + "turns": 25, + "durationSeconds": 0.0270142, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 25 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 25 + }, + "seedA": 7166, + "seedB": 7167, + "coreMs": 26 + }, + { + "index": 85, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0173905, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7168, + "seedB": 7169, + "coreMs": 16 + }, + { + "index": 86, + "winner": "A", + "winnerName": "Old School A", + "turns": 14, + "durationSeconds": 0.0170264, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 14 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 14 + }, + "seedA": 7170, + "seedB": 7171, + "coreMs": 16 + }, + { + "index": 87, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0110151, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7172, + "seedB": 7173, + "coreMs": 10 + }, + { + "index": 88, + "winner": "B", + "winnerName": "Old School B", + "turns": 23, + "durationSeconds": 0.0291978, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 23 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 23 + }, + "seedA": 7174, + "seedB": 7175, + "coreMs": 28 + }, + { + "index": 89, + "winner": "B", + "winnerName": "Old School B", + "turns": 5, + "durationSeconds": 0.0113842, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 5 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 5 + }, + "seedA": 7176, + "seedB": 7177, + "coreMs": 10 + }, + { + "index": 90, + "winner": "A", + "winnerName": "Old School A", + "turns": 24, + "durationSeconds": 0.0276029, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 24 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 24 + }, + "seedA": 7178, + "seedB": 7179, + "coreMs": 26 + }, + { + "index": 91, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0115422, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7180, + "seedB": 7181, + "coreMs": 11 + }, + { + "index": 92, + "winner": "B", + "winnerName": "Old School B", + "turns": 15, + "durationSeconds": 0.0244482, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 15 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 15 + }, + "seedA": 7182, + "seedB": 7183, + "coreMs": 23 + }, + { + "index": 93, + "winner": "A", + "winnerName": "Old School A", + "turns": 20, + "durationSeconds": 0.0195551, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 20 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 20 + }, + "seedA": 7184, + "seedB": 7185, + "coreMs": 19 + }, + { + "index": 94, + "winner": "A", + "winnerName": "Old School A", + "turns": 12, + "durationSeconds": 0.0183913, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 12 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 12 + }, + "seedA": 7186, + "seedB": 7187, + "coreMs": 17 + }, + { + "index": 95, + "winner": "B", + "winnerName": "Old School B", + "turns": 31, + "durationSeconds": 0.030028, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "lose", + "turn": 31 + }, + "verdictB": { + "username": "Old School B", + "result": "win", + "turn": 31 + }, + "seedA": 7188, + "seedB": 7189, + "coreMs": 29 + }, + { + "index": 96, + "winner": "A", + "winnerName": "Old School A", + "turns": 10, + "durationSeconds": 0.0127109, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 10 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 10 + }, + "seedA": 7190, + "seedB": 7191, + "coreMs": 12 + }, + { + "index": 97, + "winner": "A", + "winnerName": "Old School A", + "turns": 8, + "durationSeconds": 0.0153514, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 8 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 8 + }, + "seedA": 7192, + "seedB": 7193, + "coreMs": 14 + }, + { + "index": 98, + "winner": "A", + "winnerName": "Old School A", + "turns": 34, + "durationSeconds": 0.043013, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 34 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 34 + }, + "seedA": 7194, + "seedB": 7195, + "coreMs": 42 + }, + { + "index": 99, + "winner": "A", + "winnerName": "Old School A", + "turns": 8, + "durationSeconds": 0.011743, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 8 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 8 + }, + "seedA": 7196, + "seedB": 7197, + "coreMs": 11 + }, + { + "index": 100, + "winner": "A", + "winnerName": "Old School A", + "turns": 14, + "durationSeconds": 0.0181903, + "error": null, + "verdictA": { + "username": "Old School A", + "result": "win", + "turn": 14 + }, + "verdictB": { + "username": "Old School B", + "result": "lose", + "turn": 14 + }, + "seedA": 7198, + "seedB": 7199, + "coreMs": 16 + } + ], + "Played": 100, + "workers": 4, + "wallClockSeconds": 1.156267 +} \ No newline at end of file