Publish Honkai Impact 3rd events from arustats.com

Sixteen events, from a page whose URL never needs editing: /en-us/hi3/timeline
answers 307 to the live version, so the site names its own current version
server-side and the runner follows it. That is the stable route the
marisaimpact.com page was declined for lacking, and pinning a version here
would publish a finished schedule as current the day the game moves on — a
test asserts the registered URL carries no version.

The boundaries are estimated week-bucket edges rather than announced dates,
which is the objection marisaimpact.com was declined on and is taken here
deliberately: the game had no source at all, and approximate six-week windows
were judged better than an empty lane. Confidence records it in the data.

Verified against the live page rather than only against the expected file:
all sixteen rendered grid-column spans agree with the JSON, which independently
confirms the week mapping and that endWeek is exclusive, and sixteen bars on
the page yield sixteen events with nothing silently dropped. The two 7-Day
Login events get their own test, since collapsing them into one ID is the
failure this parser is most likely to regress into.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
Lucas Winther
2026-08-27 01:27:49 +02:00
co-authored by Claude Opus 5
parent 8735222adc
commit c272d9e93d
5 changed files with 607 additions and 0 deletions
+16
View File
@@ -194,6 +194,22 @@ const SOURCES: SourceSpec[] = [
url: "https://game8.co/games/Umamusume-Pretty-Derby/archives/536311",
parserId: "game8",
},
{
id: "hi3-arustats-events",
game: "hi3",
// **Version-less on purpose.** This path answers `307` to the current
// version — `/en-us/hi3/timeline/9.0` today — so the site names its own
// live version and the runner follows it. Pinning `/9.0` here would publish
// a finished schedule as current the day the game moves on.
//
// **These dates are estimates.** The page schedules by week bucket and heads
// the grid `ESTIMATED WEEK`; this source publishes bucket edges, not
// announced dates, which is the trade `docs/SOURCES.md` § 14 records and
// `ESTIMATE_CONFIDENCE` (0.4) carries into the data. A real Honkai Impact
// 3rd source outranks it on confidence alone if one is ever found.
url: "https://www.arustats.com/en-us/hi3/timeline",
parserId: "arustats",
},
];
function toAdapter(spec: SourceSpec): Adapter {