Stabilize early battle QA pacing

This commit is contained in:
2026-07-06 10:41:40 +09:00
parent 71a09c67d9
commit 948f3c0832
3 changed files with 50 additions and 49 deletions

View File

@@ -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
});