Stabilize early battle QA pacing
This commit is contained in:
@@ -67,11 +67,12 @@ function buildAggregateReport(reports) {
|
||||
|
||||
for (const { run, report } of reports) {
|
||||
for (const result of report.results ?? []) {
|
||||
const outcomeKey = `${result.no}:${result.id}:${result.outcome}`;
|
||||
const outcome = result.outcome ?? 'unknown';
|
||||
const outcomeKey = `${result.no}:${result.id}:${outcome}`;
|
||||
battleOutcomes.set(outcomeKey, {
|
||||
battleNo: result.no,
|
||||
battleId: result.id,
|
||||
outcome: result.outcome,
|
||||
outcome,
|
||||
count: (battleOutcomes.get(outcomeKey)?.count ?? 0) + 1
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user