Skip to main content

Leaderboard

Private leaderboard and its members for one Advent of Code event.

Usage

Source

Leaderboard()

Attributes

num_days: int

Number of puzzle days reported for the event.

event: str

Event year as a string, as supplied by Advent of Code.

day1_ts: int

Unix timestamp for the first puzzle unlock.

owner_id: int

Advent of Code member ID of the board owner.

members: dict[int, Member]
Members keyed by numeric ID. Each member’s completions are keyed by puzzle day and then part.